/* =========================================================
   HUBITBRIDGE — SELECTED WORK
========================================================= */

.work-section {
    position: relative;
    padding: 110px 0 100px;
    background: #ffffff;
    overflow: hidden;
}

.work-container {
    width: min(1200px, calc(100% - 50px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.work-header {
    margin-bottom: 58px;
}

.work-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    color: #64748b;
    text-transform: uppercase;
}

.work-number {
    color: #2563eb;
}

.work-eyebrow-line {
    width: 105px;
    height: 1px;
    background: #94a3b8;
}


.work-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;

    margin-top: 26px;
}


.work-title {
    margin: 0;

    font-size: clamp(52px, 7vw, 82px);
    line-height: .94;
    letter-spacing: -.065em;
    font-weight: 700;

    color: #0f172a;

    perspective: 1000px;
}


.work-title-line {
    display: block;
    overflow: hidden;
}


.work-word {
    display: inline-block;

    opacity: 1;
    transform: translateY(0) rotateX(0);

    will-change: transform, opacity;
}


.work-title-accent {
    color: #2563eb;
}


.work-intro {
    max-width: 540px;

    margin: 25px 0 0;

    font-size: 18px;
    line-height: 1.65;

    color: #64748b;
}


.work-side-note {
    display: flex;
    flex-direction: column;

    padding-top: 5px;

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    line-height: 1.65;

    letter-spacing: .16em;
    color: #94a3b8;
    text-transform: uppercase;
}


/* =========================================================
   BROWSER FRAME
========================================================= */

.work-browser {
    width: 100%;

    background: #ffffff;

    border: 1px solid #dbe3ee;
    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, .07);

    transition:
        transform .5s cubic-bezier(.22, 1, .36, 1),
        box-shadow .5s ease;
}


.work-browser-bar {
    position: relative;

    height: 32px;

    display: flex;
    align-items: center;

    gap: 6px;

    padding: 0 12px;

    background: #f8fafc;

    border-bottom: 1px solid #e5eaf0;
}


.work-browser-bar>span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #cbd5e1;
}


.work-browser-url {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    max-width: 55%;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    font-family: "JetBrains Mono", monospace;
    font-size: 8px;

    color: #94a3b8;
}


.work-browser-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #f1f5f9;
}


.work-browser-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    transition:
        transform .7s cubic-bezier(.22, 1, .36, 1);
}


/* Hover */

.work-project-image:hover .work-browser,
.work-card-image:hover .work-browser {
    transform: translateY(-5px);

    box-shadow:
        0 28px 60px rgba(15, 23, 42, .11);
}


.work-project-image:hover .work-browser-image img,
.work-card-image:hover .work-browser-image img {
    transform: scale(1.025);
}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.work-featured {
    display: grid;

    grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);

    gap: 58px;

    padding: 26px;

    background:
        linear-gradient(135deg,
            #f8fbff 0%,
            #ffffff 55%,
            #faf8ff 100%);

    border: 1px solid #e4eaf2;
    border-radius: 20px;
}


.work-project-image {
    min-width: 0;
}


.work-featured-info {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 18px 15px 12px 5px;
}


.work-project-number {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 27px;

    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: .08em;

    color: #64748b;
}


.work-small-line {
    width: 38px;
    height: 1px;

    background: #94a3b8;
}


.work-category {
    display: block;

    margin-bottom: 11px;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .13em;

    color: #2563eb;
}


.work-project-title,
.work-card-title {
    margin: 0;

    color: #0f172a;

    font-size: 42px;
    line-height: 1;

    letter-spacing: -.055em;
    font-weight: 700;
}


.work-project-description {
    max-width: 400px;

    margin: 19px 0 0;

    font-size: 16px;
    line-height: 1.65;

    color: #64748b;
}


.work-project-divider {
    width: 100%;
    height: 1px;

    margin: 27px 0 21px;

    background: #dce3ec;
}


.work-tech-label {
    display: block;

    margin-bottom: 8px;

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: .14em;

    color: #94a3b8;
}


.work-tech-list {
    display: flex;
    flex-wrap: wrap;

    gap: 7px 18px;

    font-size: 13px;

    color: #475569;
}


.work-tech-list span {
    position: relative;
}


.work-tech-list span+span::before {
    content: "•";

    position: absolute;

    left: -12px;

    color: #94a3b8;
}


.work-project-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-top: 30px;

    color: #0f172a;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: color .25s ease;
}


.work-link-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0f172a;
    color: #ffffff;

    transition:
        transform .3s ease,
        background .3s ease;
}


.work-link-icon svg {
    width: 17px;
    height: 17px;
}


.work-project-link:hover {
    color: #2563eb;
}


.work-project-link:hover .work-link-icon {
    background: #2563eb;
    transform: translate(3px, -3px);
}


.work-hand-note {
    position: absolute;

    right: 0;
    bottom: 4px;

    max-width: 125px;

    font-family: "Caveat", cursive;

    font-size: 17px;
    line-height: 1.15;

    color: #7c3aed;

    transform: rotate(-7deg);
}


/* =========================================================
   TWO PROJECT GRID
========================================================= */

.work-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 18px;
}


.work-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4eaf2;
    border-radius: 18px;

    transition:
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}


.work-card:hover {
    border-color: #cbd5e1;

    box-shadow:
        0 22px 55px rgba(15, 23, 42, .07);

    transform: translateY(-3px);
}


.work-card-image {
    padding: 18px 18px 0;
}


.work-card-info {
    padding: 27px 26px 30px;
}


.work-card-title {
    font-size: 34px;
}


.work-card-description {
    max-width: 480px;

    margin: 15px 0 0;

    font-size: 15px;
    line-height: 1.65;

    color: #64748b;
}


.work-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-top: 24px;

    padding-top: 20px;

    border-top: 1px solid #e5eaf0;
}


.work-card-bottom .work-project-link {
    margin-top: 0;

    flex-shrink: 0;
}


.work-card-bottom .work-link-icon {
    width: 38px;
    height: 38px;
}


/* =========================================================
   BOTTOM
========================================================= */

.work-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    margin-top: 48px;

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;

    letter-spacing: .16em;

    color: #94a3b8;
}


.work-bottom-line {
    width: 70px;
    height: 1px;

    background: #cbd5e1;
}


/* =========================================================
   REVEAL STATES
========================================================= */

.work-reveal {
    opacity: 0;
    transform: translateY(30px);
}


.work-title-hidden .work-word {
    opacity: 0;
    transform: translateY(105%) rotateX(-80deg);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .work-featured {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .work-featured-info {
        padding: 5px 10px 20px;
    }

    .work-hand-note {
        right: 10px;
        bottom: 15px;
    }

}


@media (max-width: 760px) {

    .work-section {
        padding: 80px 0 75px;
    }

    .work-container {
        width: min(100% - 32px, 600px);
    }

    .work-header {
        margin-bottom: 40px;
    }

    .work-heading-row {
        display: block;
    }

    .work-title {
        font-size: clamp(48px, 15vw, 68px);
    }

    .work-side-note {
        display: none;
    }

    .work-intro {
        max-width: 500px;

        margin-top: 20px;

        font-size: 16px;
    }

    .work-featured {
        padding: 14px;

        border-radius: 16px;
    }

    .work-featured-info {
        padding: 8px 7px 18px;
    }

    .work-project-title {
        font-size: 36px;
    }

    .work-project-description {
        font-size: 15px;
    }

    .work-hand-note {
        display: none;
    }

    .work-grid {
        grid-template-columns: 1fr;

        gap: 16px;

        margin-top: 16px;
    }

    .work-card-image {
        padding: 13px 13px 0;
    }

    .work-card-info {
        padding: 23px 20px 24px;
    }

    .work-card-title {
        font-size: 31px;
    }

    .work-card-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;
    }

    .work-card-bottom .work-project-link {
        margin-top: 0;
    }

    .work-bottom {
        margin-top: 35px;
    }

}


@media (max-width: 480px) {

    .work-section {
        padding: 65px 0;
    }

    .work-eyebrow {
        font-size: 9px;
        gap: 10px;
    }

    .work-eyebrow-line {
        width: 55px;
    }

    .work-title {
        font-size: 46px;
    }

    .work-intro {
        font-size: 15px;
        line-height: 1.6;
    }

    .work-browser-bar {
        height: 27px;
    }

    .work-browser-url {
        font-size: 7px;
    }

    .work-project-number {
        margin-bottom: 20px;
    }

    .work-project-title {
        font-size: 34px;
    }

    .work-card-title {
        font-size: 29px;
    }

    .work-card-description,
    .work-project-description {
        font-size: 14px;
    }

    .work-tech-list {
        font-size: 12px;
    }

    .work-bottom {
        font-size: 7px;
    }

    .work-bottom-line {
        width: 35px;
    }

}

/* =========================================
   HUBITBRIDGE WORK HERO
========================================= */

:root {
    --work-blue: #2563EB;
    --work-purple: #7C3AED;
    --work-dark: #111A30;
    --work-muted: #70809C;
    --work-border: #E5ECF8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--work-dark);
}

.work-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 45px 0 28px;
    background:
        radial-gradient(ellipse at 71% 40%, #e5efff 0%, transparent 39%),
        linear-gradient(115deg, #fff 0%, #f9fbff 55%, #f0f5ff 100%);
}

.work-hero a {
    text-decoration: none;
}

.work-hero-container {
    width: min(1380px, calc(100% - 100px));
    min-height: 570px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 25px;
}

/* BACKGROUND */

.work-background-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: .24;
    pointer-events: none;
    background-image:
        linear-gradient(#dbe7fa50 1px, transparent 1px),
        linear-gradient(90deg, #dbe7fa50 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.work-background-glow {
    position: absolute;
    z-index: -1;
    width: 500px;
    height: 500px;
    top: 10%;
    right: 13%;
    border-radius: 50%;
    background: #a7c5ff2b;
    filter: blur(90px);
    pointer-events: none;
}

/* LEFT CONTENT */

.work-content {
    position: relative;
    z-index: 10;
    min-width: 0;
    padding-top: 12px;
}

.work-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
    color: #6486ff;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.eyebrow-line {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, var(--work-blue), var(--work-purple));
}

.work-title {
    margin: 0;
    font-size: clamp(48px, 4.1vw, 72px);
    line-height: 1.04;
    letter-spacing: -3.5px;
    font-weight: 800;
}

.title-line {
    display: block;
    white-space: nowrap;
}

.title-gradient {
    margin-top: 3px;
    background: linear-gradient(100deg, #2875ff 0%, #5650f4 58%, #843cf4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.work-description {
    max-width: 510px;
    margin: 24px 0 0;
    color: var(--work-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

/* CTA BUTTONS */

.work-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 29px;
}

.work-primary-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 0 20px 0 25px;
    border-radius: 50px;
    background: linear-gradient(105deg, #3075ff, #6549f4 65%, #853cf5);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 12px 28px #526cf333;
    transition: transform .25s ease, box-shadow .25s ease;
}

.work-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 34px #526cf344;
}

.work-primary-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s ease;
}

.work-primary-btn:hover svg {
    transform: translate(2px, -2px);
}

.work-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #26334d;
    font-size: 12px;
    font-weight: 700;
}

.work-play-circle {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border: 1px solid #dce6fa;
    border-radius: 50%;
    background: #ffffffd9;
    transition: transform .25s ease, border-color .25s ease;
}

.work-play-circle svg {
    width: 14px;
    height: 14px;
    fill: #172033;
    stroke: #172033;
    stroke-width: 1;
}

.work-secondary-btn:hover .work-play-circle {
    transform: scale(1.07);
    border-color: #9ab8ff;
}

/* INDUSTRY STRIP */

.work-industries {
    margin-top: 53px;
}

.industries-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #94a2b8;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.1px;
    white-space: nowrap;
}

.industries-heading-line {
    flex: 1;
    height: 1px;
    background: #dfe8f7;
}

.industry-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 23px;
    margin-top: 19px;
}

.industry-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8190a8;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.industry-item svg {
    width: 18px;
    height: 18px;
    fill: #8798b2;
    stroke: #8798b2;
    stroke-width: 1.7;
}

/* RIGHT VISUAL */

.work-visual {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 550px;
    min-width: 0;
}

.visual-glow {
    position: absolute;
    z-index: -3;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(12px);
}

.visual-glow-one {
    width: 270px;
    height: 270px;
    top: 30px;
    left: 22%;
    background: #c5dcff55;
}

.visual-glow-two {
    width: 300px;
    height: 250px;
    right: -10%;
    bottom: 20px;
    background: #ddd5ff55;
}

.visual-orbit {
    position: absolute;
    z-index: -2;
    border: 1px solid #8fb2ff3b;
    border-radius: 50%;
    pointer-events: none;
}

.visual-orbit-one {
    width: 455px;
    height: 455px;
    top: 40px;
    left: 4%;
    background: #ffffff1c;
}

.visual-orbit-two {
    width: 345px;
    height: 345px;
    top: 95px;
    left: 16%;
    background: #c9dcff16;
    border-color: #a7a1ff22;
}

/* IMAGE FRAMES */

.visual-image {
    position: absolute;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, .97);
    background: #eaf1ff;
    box-shadow: 0 20px 48px #4366a01c;
    will-change: transform;
}

.visual-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main building image */

.visual-building {
    z-index: 1;
    width: 60%;
    height: 420px;
    top: 54px;
    left: 21%;
    border-radius: 21px;
    transform: rotate(-3deg);
    box-shadow: 0 25px 55px #2563eb22;
}

.visual-building img {
    object-position: center;
}

/* Laptop/dashboard image */

.visual-dashboard {
    z-index: 4;
    width: 46%;
    height: 195px;
    top: 83px;
    right: 1%;
    border-radius: 19px;
    transform: rotate(3deg);
    box-shadow: 0 20px 42px #0f172a20;
}

/* WHITE INFO CARDS */

.visual-card {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e5ebf6ed;
    border-radius: 14px;
    background: #fffffff0;
    box-shadow: 0 15px 34px #405d941c;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    will-change: transform;
}

.visual-card-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #3475ff;
    background: linear-gradient(140deg, #eff5ff, #f5f0ff);
}

.visual-card-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.visual-card-copy h2 {
    margin: 0;
    color: #172033;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
}

.visual-card-copy p {
    margin: 6px 0 0;
    color: #8190a8;
    font-size: 8px;
    font-weight: 500;
    line-height: 1.55;
}

/* Exact card placements */

.card-challenges {
    top: 145px;
    left: 1%;
    transform: rotate(-3deg);
}

.card-solutions {
    bottom: 65px;
    left: 0;
    transform: rotate(2deg);
}

.card-results {
    right: -1%;
    bottom: 155px;
    transform: rotate(2deg);
}

/* DOT PATTERN */

.visual-dot-pattern {
    position: absolute;
    z-index: -1;
    top: 17px;
    right: -3%;
    width: 100px;
    height: 100px;
    opacity: .65;
    background-image: radial-gradient(#92b2ff 1.3px, transparent 1.3px);
    background-size: 13px 13px;
}

/* CONNECTING LINES */

.visual-connectors {
    position: absolute;
    z-index: 5;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.visual-connectors path {
    fill: none;
    stroke: #83a6ff;
    stroke-width: 1.2;
    stroke-dasharray: 3 5;
}

.visual-connectors circle {
    fill: #4783ff;
}

/* HANDWRITTEN ANNOTATIONS */

.visual-note {
    position: absolute;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #526789;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}

.note-arrow {
    color: #85a6ff;
    font-size: 25px;
    font-weight: 400;
}

.note-implementation {
    top: 12px;
    right: 13%;
    transform: rotate(-7deg);
}

.note-partnerships {
    right: 8%;
    bottom: -1px;
    transform: rotate(7deg);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .work-hero-container {
        width: calc(100% - 56px);
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        gap: 10px;
    }

    .work-title {
        font-size: clamp(43px, 4.7vw, 57px);
        letter-spacing: -2.7px;
    }

    .work-description {
        font-size: 13px;
    }

    .work-actions {
        gap: 15px;
    }

    .work-primary-btn {
        gap: 12px;
        padding-inline: 17px;
        font-size: 11px;
    }

    .work-visual {
        transform: scale(.94);
        transform-origin: center right;
        width: 106%;
        margin-left: -6%;
    }

    .industry-list {
        gap: 14px;
    }
}

@media (max-width: 850px) {
    .work-hero {
        padding: 65px 0 35px;
    }

    .work-hero-container {
        width: min(680px, calc(100% - 40px));
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .work-title {
        font-size: clamp(48px, 7vw, 65px);
    }

    .work-description {
        max-width: 520px;
        font-size: 14px;
    }

    .work-industries {
        margin-top: 36px;
    }

    .work-visual {
        width: 100%;
        max-width: 600px;
        height: 480px;
        margin: 0 auto;
        transform: none;
    }

    .visual-building {
        height: 370px;
    }

    .visual-dashboard {
        height: 175px;
    }

    .visual-orbit-one {
        width: 390px;
        height: 390px;
    }
}

@media (max-width: 560px) {
    .work-hero {
        padding: 55px 0 28px;
    }

    .work-hero-container {
        width: calc(100% - 34px);
        gap: 20px;
        padding-top: 50px;
    }

    .work-eyebrow {
        margin-bottom: 19px;
        font-size: 9px;
    }

    .work-title {
        font-size: clamp(35px, 9.4vw, 48px);
        letter-spacing: -1.8px;
    }

    .title-line {
        white-space: normal;
    }

    .work-description {
        margin-top: 17px;
        font-size: 13px;
        line-height: 1.7;
    }

    .work-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 23px;
    }

    .work-primary-btn {
        width: 100%;
        min-height: 47px;
        font-size: 11px;
    }

    .work-industries {
        margin-top: 28px;
    }

    .industries-heading {
        gap: 8px;
        font-size: 7px;
        letter-spacing: .3px;
    }

    .industry-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px 10px;
        margin-top: 16px;
    }

    .industry-item {
        font-size: 10px;
    }

    .industry-item svg {
        width: 17px;
        height: 17px;
    }

    .work-visual {
        height: 350px;
    }

    .visual-orbit-one {
        width: 300px;
        height: 300px;
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
    }

    .visual-orbit-two {
        width: 230px;
        height: 230px;
        top: 55px;
        left: 50%;
        transform: translateX(-50%);
    }

    .visual-building {
        width: 63%;
        height: 250px;
        top: 40px;
        left: 12%;
        border-width: 4px;
        border-radius: 16px;
    }

    .visual-dashboard {
        width: 48%;
        height: 112px;
        top: 42px;
        right: 0;
        border-width: 4px;
        border-radius: 14px;
    }

    .visual-card {
        gap: 6px;
        padding: 8px;
        border-radius: 9px;
    }

    .visual-card-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        border-radius: 8px;
    }

    .visual-card-icon svg {
        width: 15px;
        height: 15px;
    }

    .visual-card-copy h2 {
        font-size: 7px;
    }

    .visual-card-copy p {
        margin-top: 4px;
        font-size: 6px;
    }

    .card-challenges {
        top: 110px;
        left: 0;
    }

    .card-solutions {
        bottom: 23px;
        left: 0;
    }

    .card-results {
        right: -2px;
        bottom: 125px;
    }

    .visual-dot-pattern {
        width: 75px;
        height: 70px;
        background-size: 10px 10px;
    }

    .visual-note {
        font-size: 7px;
    }

    .note-implementation {
        top: 5px;
        right: 14%;
    }

    .note-partnerships {
        bottom: -2px;
        right: 8%;
    }

    .note-arrow {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .work-title {
        font-size: 35px;
    }

    .work-visual {
        height: 325px;
    }

    .visual-building {
        height: 235px;
    }

    .visual-dashboard {
        height: 98px;
    }

    .visual-card-copy p {
        display: none;
    }

    .card-challenges {
        top: 105px;
    }

    .card-solutions {
        bottom: 20px;
    }

    .card-results {
        bottom: 115px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================
   SECTION 02 — HOW WE APPROACH WORK
========================================= */

.hb-approach {
    --approach-blue: #2875ff;
    --approach-purple: #843cf4;
    --approach-green: #27c779;
    --approach-ink: #101a32;
    --approach-muted: #71809d;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 100px 0 75px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 20%,
            rgba(255, 255, 255, 0.98),
            rgba(248, 251, 255, 0.92) 55%,
            rgba(244, 248, 255, 0.96));
    color: var(--approach-ink);
    font-family: "Manrope", sans-serif;
}

.hb-approach *,
.hb-approach *::before,
.hb-approach *::after {
    box-sizing: border-box;
}

.hb-approach-container {
    position: relative;
    width: min(1380px, calc(100% - 100px));
    margin: 0 auto;
}

/* BACKGROUND */

.hb-approach-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hb-approach-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
}

.hb-approach-glow-left {
    width: 500px;
    height: 500px;
    top: 70px;
    left: -300px;
    background: rgba(193, 216, 255, 0.28);
}

.hb-approach-glow-right {
    width: 600px;
    height: 600px;
    top: 15px;
    right: -300px;
    background: rgba(205, 202, 255, 0.24);
}

.hb-approach-dots {
    position: absolute;
    width: 240px;
    height: 170px;
    opacity: .55;
    background-image: radial-gradient(#8bb0ff 1.5px,
            transparent 1.5px);
    background-size: 24px 24px;
}

.hb-approach-dots-left {
    top: 60px;
    left: 15px;
}

/* SECTION HEADER */

.hb-approach-header {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.hb-approach-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 27px;
    color: #82a7ff;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hb-approach-eyebrow-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg,
            var(--approach-blue),
            var(--approach-purple));
}

.hb-approach-title {
    margin: 0;
    font-size: clamp(42px, 4.3vw, 72px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -3.5px;
}

.hb-approach-title>span {
    display: block;
    background: linear-gradient(100deg,
            #2875ff 5%,
            #5c4df5 55%,
            #873cf4 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hb-approach-description {
    margin: 25px auto 0;
    max-width: 710px;
    color: var(--approach-muted);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.hb-approach-description-break {
    display: block;
}

/* PROCESS JOURNEY */

.hb-approach-journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    margin-top: 65px;
    padding-top: 0;
}

/* CURVED CONNECTING LINE */

.hb-approach-connector {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 155px;
    overflow: visible;
    pointer-events: none;
}

.hb-approach-line-base,
.hb-approach-line-progress {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hb-approach-line-base {
    stroke: rgba(132, 169, 255, 0.22);
    stroke-width: 2;
}

.hb-approach-line-progress {
    stroke: url(#approachLineGradient);
    stroke-width: 2.5;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    transition: stroke-dashoffset 2s ease;
}

.hb-approach.is-visible .hb-approach-line-progress {
    stroke-dashoffset: 0;
}

/* INDIVIDUAL STEP */

.hb-approach-step {
    position: relative;
    min-width: 0;
    opacity: 1;
}

.hb-approach-step-visual {
    position: relative;
    height: 155px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* ICON BOX */

.hb-approach-icon-box {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    background: linear-gradient(145deg,
            rgba(225, 237, 255, 0.94),
            rgba(244, 247, 255, 0.96));
    box-shadow:
        0 10px 28px rgba(55, 106, 207, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.75);
    color: var(--approach-blue);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.hb-approach-icon-box svg {
    width: 43px;
    height: 43px;
    stroke-width: 2.1;
    transition: transform .35s ease;
}

/* Step-specific icon colors */

.hb-approach-step:nth-of-type(2) .hb-approach-icon-box {
    background: linear-gradient(145deg, #f0e7ff, #faf6ff);
    color: #9b54ef;
}

.hb-approach-step:nth-of-type(3) .hb-approach-icon-box {
    background: linear-gradient(145deg, #e0f9eb, #f3fff7);
    color: #25b96d;
}

.hb-approach-step:nth-of-type(4) .hb-approach-icon-box {
    background: linear-gradient(145deg, #e5efff, #f5f8ff);
    color: #2875ff;
}

.hb-approach-step:nth-of-type(5) .hb-approach-icon-box {
    background: linear-gradient(145deg, #f0e7ff, #faf6ff);
    color: #873cf4;
}

.hb-approach-step:hover .hb-approach-icon-box {
    transform: translateY(-5px);
    box-shadow:
        0 18px 36px rgba(55, 106, 207, 0.13),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.hb-approach-step:hover .hb-approach-icon-box svg {
    transform: scale(1.08);
}

/* NODES */

.hb-approach-node {
    position: absolute;
    z-index: 3;
    top: 105px;
    left: 50%;
    width: 19px;
    height: 19px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #5d9aff;
    box-shadow: 0 3px 9px rgba(37, 99, 235, 0.18);
    transform: translateX(-50%);
}

.hb-approach-step:nth-of-type(2) .hb-approach-node {
    background: #9651f5;
}

.hb-approach-step:nth-of-type(3) .hb-approach-node {
    background: #29c779;
}

.hb-approach-step:nth-of-type(4) .hb-approach-node {
    background: #347aff;
}

.hb-approach-step:nth-of-type(5) .hb-approach-node {
    background: #8a42f2;
}

/* STEP TEXT */

.hb-approach-step-content {
    padding: 0 4px;
}

.hb-approach-step-number {
    display: block;
    margin-bottom: 0;
    color: #c5d9ff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hb-approach-step h3 {
    margin: 5px 0 0;
    color: #101a32;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.8px;
}

.hb-approach-step-label {
    display: inline-block;
    margin-top: 9px;
    color: #79a5ff;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hb-approach-step:nth-of-type(2) .hb-approach-step-label,
.hb-approach-step:nth-of-type(5) .hb-approach-step-label {
    color: #9145f4;
}

.hb-approach-step:nth-of-type(3) .hb-approach-step-label {
    color: #25bd70;
}

.hb-approach-step p {
    max-width: 235px;
    margin: 14px 0 0;
    color: #71809d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

/* FINISH ICON */

.hb-approach-finish {
    position: absolute;
    z-index: 4;
    top: -44px;
    right: -8px;
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(140deg, #9272ff, #563cff);
    color: #fff;
    box-shadow: 0 12px 30px rgba(98, 70, 242, 0.25);
}

.hb-approach-finish svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.7;
}

/* BOTTOM ANNOTATIONS */

.hb-approach-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    margin-top: 27px;
}

.hb-approach-annotation {
    position: absolute;
    left: -45px;
    top: -5px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7183a4;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transform: rotate(-8deg);
}

.hb-approach-annotation-arrow {
    color: #79a4ff;
    font-size: 32px;
}

.hb-approach-annotation-right {
    left: auto;
    right: -30px;
    top: -20px;
    transform: rotate(7deg);
}

.hb-approach-bottom-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8a98ae;
    font-size: 12px;
    font-weight: 600;
}

.hb-approach-bottom-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2875ff, #873cf4);
}

/* TABLET */

@media (max-width: 1100px) {
    .hb-approach {
        padding: 85px 0 60px;
    }

    .hb-approach-container {
        width: calc(100% - 56px);
    }

    .hb-approach-title {
        font-size: clamp(40px, 5.2vw, 58px);
        letter-spacing: -2.5px;
    }

    .hb-approach-description {
        font-size: 16px;
    }

    .hb-approach-journey {
        gap: 16px;
        margin-top: 55px;
    }

    .hb-approach-icon-box {
        width: 88px;
        height: 88px;
        border-radius: 23px;
    }

    .hb-approach-icon-box svg {
        width: 35px;
        height: 35px;
    }

    .hb-approach-step-visual {
        height: 130px;
    }

    .hb-approach-node {
        top: 82px;
    }

    .hb-approach-connector {
        height: 130px;
    }

    .hb-approach-step-number {
        font-size: 39px;
    }

    .hb-approach-step h3 {
        font-size: 18px;
    }

    .hb-approach-step-label {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .hb-approach-step p {
        font-size: 13px;
    }

    .hb-approach-annotation {
        left: -15px;
    }

    .hb-approach-annotation-right {
        right: -10px;
    }
}



/* =========================================
   HUBITBRIDGE — SECTION 03
   WHAT WE BUILD
========================================= */

.hb-capabilities {
    --cap-blue: #2563eb;
    --cap-purple: #7c3aed;
    --cap-ink: #111b32;
    --cap-muted: #697993;
    --cap-border: #e2eaf7;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 115px 0 75px;
    overflow: hidden;
    background: #f8faff;
    color: var(--cap-ink);
    font-family: "Manrope", sans-serif;
}

.hb-capabilities,
.hb-capabilities * {
    box-sizing: border-box;
}

.hb-capabilities a {
    text-decoration: none;
}

.hb-capabilities-container {
    position: relative;
    width: min(1380px, calc(100% - 100px));
    margin: 0 auto;
}

/* Background */

.hb-capabilities-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hb-capabilities-glow {
    position: absolute;
    top: 70px;
    right: -230px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(125, 115, 255, 0.08);
    filter: blur(80px);
}

.hb-capabilities-dots {
    position: absolute;
    bottom: 30px;
    left: -75px;
    width: 180px;
    height: 180px;
    opacity: 0.4;
    background-image: radial-gradient(#8fb1ff 1.2px,
            transparent 1.2px);
    background-size: 16px 16px;
}

/* Header */

.hb-capabilities-header {
    margin-bottom: 48px;
}

.hb-capabilities-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
    color: #7296f5;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
}

.hb-capabilities-eyebrow-line {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg,
            var(--cap-blue),
            var(--cap-purple));
}

.hb-capabilities-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: end;
    gap: 60px;
}

.hb-capabilities-heading h2 {
    max-width: 790px;
    margin: 0;
    color: var(--cap-ink);
    font-size: clamp(42px, 4.3vw, 66px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -3px;
}

.hb-capabilities-title {
    perspective: 1000px;
}

.hb-title-line {
    display: block;
    overflow: hidden;
    perspective: 1000px;
}

.hb-title-line-inner {
    display: block;
    transform-origin: 50% 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hb-title-gradient {
    background: linear-gradient(100deg,
            #2875ff 0%,
            #6250f4 65%,
            #843cf4 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hb-capabilities-intro {
    max-width: 440px;
    justify-self: end;
    padding-bottom: 5px;
}

.hb-capabilities-intro p {
    margin: 0;
    color: var(--cap-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

/* View all link */

.hb-capabilities-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 19px;
    color: #263c66;
    font-size: 12px;
    font-weight: 800;
    transition: color 0.25s ease;
}

.hb-capabilities-view-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #dce6f7;
    border-radius: 50%;
    background: #fff;
    color: var(--cap-blue);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.hb-capabilities-view-arrow svg {
    width: 16px;
    height: 16px;
}

.hb-capabilities-view-all:hover {
    color: var(--cap-blue);
}

.hb-capabilities-view-all:hover .hb-capabilities-view-arrow {
    transform: translate(2px, -2px);
    border-color: #b7caff;
    background: #edf3ff;
}

/* Grid */

.hb-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* Cards */

.hb-capability-card {
    position: relative;
    min-width: 0;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    padding: 27px 26px 24px;
    overflow: hidden;
    border: 1px solid var(--cap-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(28, 51, 93, 0.025);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.hb-capability-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    opacity: 0;
    background: linear-gradient(90deg,
            var(--cap-blue),
            var(--cap-purple));
    transition: opacity 0.3s ease;
}

.hb-capability-card:hover {
    transform: translateY(-5px);
    border-color: #d1def7;
    box-shadow: 0 18px 42px rgba(32, 62, 115, 0.075);
}

.hb-capability-card:hover::before {
    opacity: 1;
}

/* Card top: number left, icon left below, arrow right */

.hb-capability-card-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 110px;
}

.hb-capability-number {
    position: relative;
    z-index: 3;
    color: #a3b6d9;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
}

/* LEFT-ALIGNED ICON */

.hb-capability-icon {
    position: absolute;
    top: 39px;
    left: 0;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 17px;
    transform: translateY(0);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hb-capability-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.9;
}

.hb-capability-card:hover .hb-capability-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.09);
}

/* Icon colors */

.hb-icon-blue {
    color: #2563eb;
    background: #eaf1ff;
    border-color: #e0eaff;
}

.hb-icon-purple {
    color: #7c3aed;
    background: #f0eafe;
    border-color: #e9ddff;
}

.hb-icon-green {
    color: #169b58;
    background: #e6f8ee;
    border-color: #d5f2e1;
}

.hb-icon-cyan {
    color: #0784bd;
    background: #e5f5ff;
    border-color: #d4efff;
}

.hb-icon-orange {
    color: #c77715;
    background: #fff2df;
    border-color: #ffe9c7;
}

.hb-icon-pink {
    color: #c62c81;
    background: #fce9f4;
    border-color: #f9d8eb;
}

/* Arrow */

.hb-capability-card-arrow {
    position: relative;
    z-index: 3;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #e6ecf6;
    border-radius: 50%;
    background: #fff;
    color: #9aa8bd;
    pointer-events: none;
    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.hb-capability-card-arrow svg {
    width: 15px;
    height: 15px;
}

.hb-capability-card:hover .hb-capability-card-arrow {
    transform: translate(2px, -2px);
    border-color: #d8e4ff;
    background: #edf3ff;
    color: var(--cap-blue);
}

/* Card content */

.hb-capability-card-content {
    position: relative;
    z-index: 1;
    flex: 1;
    padding-top: 7px;
    padding-bottom: 22px;
}

.hb-capability-card-content h3 {
    margin: 0;
    color: var(--cap-ink);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.55px;
}

.hb-capability-card-content p {
    margin: 12px 0 0;
    color: var(--cap-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.75;
}

/* Tags */

.hb-capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.hb-capability-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid #e9eef7;
    border-radius: 6px;
    background: #f8faff;
    color: #71809a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.hb-capability-card:hover .hb-capability-tags span {
    border-color: #e0e9fc;
    background: #f3f6ff;
    color: #536b99;
}

/* Clickable card overlay */

.hb-capability-link {
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: inherit;
    outline-offset: 4px;
}

.hb-capability-link:focus-visible {
    outline: 2px solid var(--cap-blue);
}

/* Footer */

.hb-capabilities-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    padding-top: 19px;
    border-top: 1px solid #e4eaf4;
}

.hb-capabilities-footer-left {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8493ab;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hb-capabilities-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #2bc47d;
    box-shadow: 0 0 0 4px rgba(43, 196, 125, 0.1);
}

.hb-capabilities-footer p {
    margin: 0;
    color: #8a97ac;
    font-size: 11px;
    font-weight: 500;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
    .hb-capabilities {
        padding: 90px 0 60px;
    }

    .hb-capabilities-container {
        width: calc(100% - 56px);
    }

    .hb-capabilities-heading-row {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.75fr);
        gap: 35px;
    }

    .hb-capabilities-heading h2 {
        font-size: clamp(38px, 4.5vw, 52px);
        letter-spacing: -2px;
    }

    .hb-capabilities-intro p {
        font-size: 13px;
    }

    .hb-capabilities-grid {
        gap: 13px;
    }

    .hb-capability-card {
        min-height: 295px;
        padding: 23px 19px 20px;
    }

    .hb-capability-card-content h3 {
        font-size: 17px;
    }

    .hb-capability-card-content p {
        font-size: 12px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
    .hb-capabilities {
        padding: 72px 0 45px;
    }

    .hb-capabilities-container {
        width: calc(100% - 36px);
    }

    .hb-capabilities-header {
        margin-bottom: 30px;
    }

    .hb-capabilities-eyebrow {
        margin-bottom: 20px;
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .hb-capabilities-heading-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hb-capabilities-heading h2 {
        font-size: clamp(34px, 8vw, 46px);
        line-height: 1.12;
        letter-spacing: -1.8px;
    }

    .hb-capabilities-heading h2 span {
        display: block;
    }

    .hb-capabilities-intro {
        justify-self: start;
        max-width: 500px;
    }

    .hb-capabilities-intro p {
        font-size: 13px;
        line-height: 1.75;
    }

    .hb-capabilities-view-all {
        margin-top: 14px;
        font-size: 11px;
    }

    .hb-capabilities-view-arrow {
        width: 30px;
        height: 30px;
    }

    .hb-capabilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hb-capability-card {
        min-height: 275px;
        padding: 19px 15px 17px;
        border-radius: 14px;
    }

    .hb-capability-card-top {
        min-height: 94px;
    }

    .hb-capability-icon {
        top: 37px;
        left: 0;
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .hb-capability-icon svg {
        width: 23px;
        height: 23px;
    }

    .hb-capability-number {
        font-size: 10px;
    }

    .hb-capability-card-arrow {
        width: 27px;
        height: 27px;
    }

    .hb-capability-card-arrow svg {
        width: 13px;
        height: 13px;
    }

    .hb-capability-card-content {
        padding-top: 8px;
        padding-bottom: 15px;
    }

    .hb-capability-card-content h3 {
        font-size: 15px;
        line-height: 1.45;
        letter-spacing: -0.3px;
    }

    .hb-capability-card-content p {
        margin-top: 9px;
        font-size: 11px;
        line-height: 1.7;
    }

    .hb-capability-tags {
        gap: 5px;
        margin-top: 13px;
    }

    .hb-capability-tags span {
        min-height: 22px;
        padding: 3px 6px;
        font-size: 9px;
    }

    .hb-capabilities-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .hb-capabilities-footer-left {
        font-size: 8px;
    }

    .hb-capabilities-footer p {
        font-size: 11px;
    }
}

/* Small mobile */

@media (max-width: 390px) {
    .hb-capabilities-container {
        width: calc(100% - 28px);
    }

    .hb-capabilities-heading h2 {
        font-size: 32px;
    }

    .hb-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hb-capability-card {
        min-height: auto;
        padding: 21px 20px;
    }

    .hb-capability-card-top {
        min-height: 92px;
    }

    .hb-capability-icon {
        top: 36px;
        left: 0;
        width: 48px;
        height: 48px;
    }

    .hb-capability-card-content {
        padding-bottom: 7px;
    }

    .hb-capability-card-content h3 {
        font-size: 17px;
    }

    .hb-capability-card-content p {
        max-width: 300px;
        font-size: 12px;
    }

    .hb-capability-tags {
        margin-top: 13px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .hb-capabilities *,
    .hb-capabilities *::before,
    .hb-capabilities *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================
   HUBITBRIDGE — SECTION 04
   BUSINESS CHALLENGES WE SOLVE
========================================= */

.hb-challenges {
    --challenge-blue: #2563eb;
    --challenge-purple: #7c3aed;
    --challenge-ink: #111b32;
    --challenge-muted: #697993;
    --challenge-border: #e3eaf5;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 115px 0 100px;
    overflow: hidden;
    background: #ffffff;
    color: var(--challenge-ink);
    font-family: "Manrope", sans-serif;
}

.hb-challenges,
.hb-challenges * {
    box-sizing: border-box;
}

.hb-challenges a {
    text-decoration: none;
}

.hb-challenges-container {
    position: relative;
    width: min(1380px, calc(100% - 100px));
    margin: 0 auto;
}

/* =========================================
   BACKGROUND
========================================= */

.hb-challenges-background {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hb-challenges-glow {
    position: absolute;
    top: 0;
    right: -250px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(104, 95, 255, 0.055);
    filter: blur(100px);
}

.hb-challenges-grid-pattern {
    position: absolute;
    top: 90px;
    left: -100px;
    width: 250px;
    height: 300px;
    opacity: 0.28;
    background-image: radial-gradient(#a8bbec 1px,
            transparent 1px);
    background-size: 17px 17px;
}

/* =========================================
   HEADER
========================================= */

.hb-challenges-header {
    margin-bottom: 48px;
}

.hb-challenges-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
    color: #7296f5;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
}

.hb-challenges-number {
    color: #507bf0;
}

.hb-challenges-eyebrow-line {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg,
            var(--challenge-blue),
            var(--challenge-purple));
}

.hb-challenges-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: end;
    gap: 60px;
}

.hb-challenges-title {
    margin: 0;
    color: var(--challenge-ink);
    font-size: clamp(42px, 4.5vw, 67px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -3px;
}

.hb-challenges-title-line {
    display: block;
}

.hb-challenges-gradient {
    background: linear-gradient(100deg,
            #2875ff 0%,
            #6250f4 62%,
            #843cf4 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hb-challenges-intro {
    max-width: 430px;
    justify-self: end;
    padding-bottom: 4px;
}

.hb-challenges-intro>p {
    margin: 0;
    color: var(--challenge-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

.hb-challenges-intro-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: #8493ab;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.1px;
}

.hb-challenges-note-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #4f79f4;
    box-shadow: 0 0 0 4px rgba(79, 121, 244, 0.1);
}

/* =========================================
   CHALLENGE GRID
========================================= */

.hb-challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* =========================================
   CHALLENGE CARD
========================================= */

.hb-challenge-card {
    position: relative;
    min-width: 0;
    min-height: 345px;
    display: flex;
    flex-direction: column;
    padding: 27px 28px 20px;
    overflow: hidden;
    border: 1px solid var(--challenge-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(28, 51, 93, 0.025);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.hb-challenge-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 2px;
    opacity: 0;
    background: linear-gradient(90deg,
            var(--challenge-blue),
            var(--challenge-purple));
    transition: opacity 0.3s ease;
}

.hb-challenge-card:hover {
    transform: translateY(-5px);
    border-color: #d4e0f6;
    box-shadow: 0 18px 40px rgba(32, 62, 115, 0.07);
}

.hb-challenge-card:hover::before {
    opacity: 1;
}

/* Card top row */

.hb-challenge-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 61px;
}

.hb-challenge-number {
    color: #9bafd3;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Icon */

.hb-challenge-icon {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    margin-left: auto;
    margin-right: 18px;
    border: 1px solid transparent;
    border-radius: 15px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hb-challenge-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.hb-challenge-card:hover .hb-challenge-icon {
    transform: translateY(-3px);
    box-shadow: 0 7px 17px rgba(37, 99, 235, 0.08);
}

.hb-challenge-blue {
    color: #2563eb;
    background: #eaf1ff;
    border-color: #e0eaff;
}

.hb-challenge-purple {
    color: #7c3aed;
    background: #f0eafe;
    border-color: #e9ddff;
}

.hb-challenge-cyan {
    color: #0784bd;
    background: #e5f5ff;
    border-color: #d4efff;
}

.hb-challenge-green {
    color: #169b58;
    background: #e6f8ee;
    border-color: #d5f2e1;
}

/* Arrow */

.hb-challenge-arrow {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border: 1px solid #e5ebf5;
    border-radius: 50%;
    color: #93a2ba;
    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.hb-challenge-arrow svg {
    width: 15px;
    height: 15px;
}

.hb-challenge-card:hover .hb-challenge-arrow {
    transform: translate(2px, -2px);
    border-color: #d7e4ff;
    background: #edf3ff;
    color: var(--challenge-blue);
}

/* Card content */

.hb-challenge-content {
    flex: 1;
    padding-top: 5px;
}

.hb-challenge-category {
    display: inline-block;
    margin-bottom: 12px;
    color: #8292ae;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.1px;
}

.hb-challenge-content h3 {
    margin: 0;
    color: var(--challenge-ink);
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.8px;
}

.hb-challenge-content>p {
    max-width: 480px;
    margin: 12px 0 0;
    color: var(--challenge-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
}

/* Solution row */

.hb-challenge-solution {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 21px;
    padding: 14px 15px;
    border: 1px solid #eaf0fa;
    border-radius: 11px;
    background: #f8faff;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.hb-challenge-card:hover .hb-challenge-solution {
    border-color: #dce7fb;
    background: #f4f7ff;
}

.hb-challenge-solution-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #e1f7eb;
    color: #159653;
}

.hb-challenge-solution-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.5;
}

.hb-challenge-solution p {
    margin: 0;
    color: #465875;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7;
}

/* Card footer */

.hb-challenge-card-footer {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid #edf1f7;
    color: #98a5ba;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hb-challenge-footer-line {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg,
            #b3c8ff,
            #d8c4ff);
}

/* =========================================
   DARK CTA STRIP
========================================= */

.hb-challenges-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 250px;
    margin-top: 28px;
    padding: 42px 46px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: #111b32;
    color: #fff;
}

.hb-challenges-cta-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hb-challenges-cta-orb {
    position: absolute;
    top: -170px;
    right: 15%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(69, 101, 255, 0.24);
    filter: blur(85px);
}

.hb-challenges-cta-ring {
    position: absolute;
    top: -125px;
    right: 18%;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(157, 177, 255, 0.12);
    border-radius: 50%;
}

.hb-challenges-cta-content {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.hb-challenges-cta-eyebrow {
    display: inline-block;
    margin-bottom: 17px;
    color: #a9bcff;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.hb-challenges-cta-content h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 3.1vw, 43px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.hb-challenges-cta-content h3 span {
    display: block;
    background: linear-gradient(95deg,
            #9bbcff,
            #c2a9ff);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hb-challenges-cta-content>p {
    max-width: 500px;
    margin: 15px 0 0;
    color: #b7c3d8;
    font-size: 13px;
    line-height: 1.8;
}

.hb-challenges-cta-button {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 7px 8px 7px 21px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    background: #fff;
    color: #17213a;
    font-size: 12px;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.hb-challenges-cta-button:hover {
    transform: translateY(-2px);
    background: #f1f5ff;
    box-shadow: 0 9px 28px rgba(0, 0, 0, 0.18);
}

.hb-challenges-cta-button-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg,
            var(--challenge-blue),
            var(--challenge-purple));
    color: #fff;
    transition: transform 0.25s ease;
}

.hb-challenges-cta-button:hover .hb-challenges-cta-button-icon {
    transform: translate(2px, -2px);
}

.hb-challenges-cta-button-icon svg {
    width: 17px;
    height: 17px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
    .hb-challenges {
        padding: 90px 0 75px;
    }

    .hb-challenges-container {
        width: calc(100% - 56px);
    }

    .hb-challenges-heading-row {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
        gap: 35px;
    }

    .hb-challenges-title {
        font-size: clamp(38px, 4.5vw, 52px);
        letter-spacing: -2px;
    }

    .hb-challenge-card {
        min-height: 365px;
        padding: 23px 21px 19px;
    }

    .hb-challenge-content h3 {
        font-size: 21px;
    }

    .hb-challenge-content>p {
        font-size: 12px;
    }

    .hb-challenges-cta {
        padding: 35px 30px;
        gap: 25px;
    }

    .hb-challenges-cta-content h3 {
        font-size: 32px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
    .hb-challenges {
        padding: 72px 0 55px;
    }

    .hb-challenges-container {
        width: calc(100% - 36px);
    }

    .hb-challenges-header {
        margin-bottom: 30px;
    }

    .hb-challenges-eyebrow {
        margin-bottom: 20px;
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .hb-challenges-heading-row {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .hb-challenges-title {
        font-size: clamp(35px, 8vw, 47px);
        line-height: 1.13;
        letter-spacing: -1.8px;
    }

    .hb-challenges-title-line {
        display: block;
    }

    .hb-challenges-intro {
        justify-self: start;
        max-width: 520px;
    }

    .hb-challenges-intro>p {
        font-size: 13px;
        line-height: 1.8;
    }

    .hb-challenges-intro-note {
        margin-top: 16px;
        font-size: 8px;
    }

    .hb-challenges-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .hb-challenge-card {
        min-height: 0;
        padding: 22px 21px 18px;
        border-radius: 15px;
    }

    .hb-challenge-top {
        min-height: 57px;
    }

    .hb-challenge-icon {
        width: 46px;
        height: 46px;
        margin-right: 12px;
        border-radius: 13px;
    }

    .hb-challenge-icon svg {
        width: 22px;
        height: 22px;
    }

    .hb-challenge-arrow {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .hb-challenge-content {
        padding-top: 6px;
    }

    .hb-challenge-category {
        margin-bottom: 9px;
        font-size: 8px;
    }

    .hb-challenge-content h3 {
        font-size: 21px;
        letter-spacing: -0.5px;
    }

    .hb-challenge-content>p {
        margin-top: 9px;
        font-size: 12px;
        line-height: 1.8;
    }

    .hb-challenge-solution {
        gap: 9px;
        margin-top: 16px;
        padding: 12px;
    }

    .hb-challenge-solution p {
        font-size: 11px;
    }

    .hb-challenge-card-footer {
        margin-top: 17px;
        padding-top: 13px;
    }

    .hb-challenges-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
        min-height: 0;
        margin-top: 20px;
        padding: 30px 23px;
        border-radius: 17px;
    }

    .hb-challenges-cta-content {
        max-width: 100%;
    }

    .hb-challenges-cta-eyebrow {
        margin-bottom: 13px;
        font-size: 8px;
    }

    .hb-challenges-cta-content h3 {
        font-size: clamp(27px, 6.7vw, 36px);
        line-height: 1.22;
        letter-spacing: -1px;
    }

    .hb-challenges-cta-content h3 span {
        display: block;
    }

    .hb-challenges-cta-content>p {
        margin-top: 12px;
        font-size: 12px;
    }

    .hb-challenges-cta-button {
        width: 100%;
        justify-content: space-between;
        min-height: 53px;
        padding-left: 17px;
        font-size: 11px;
    }

    .hb-challenges-cta-button-icon {
        width: 37px;
        height: 37px;
    }

    .hb-challenges-cta-orb {
        top: 30px;
        right: -170px;
        width: 300px;
        height: 300px;
    }

    .hb-challenges-cta-ring {
        top: 30px;
        right: -125px;
        width: 250px;
        height: 250px;
    }
}

/* SMALL MOBILE */

@media (max-width: 390px) {
    .hb-challenges-container {
        width: calc(100% - 28px);
    }

    .hb-challenges-title {
        font-size: 33px;
    }

    .hb-challenge-card {
        padding: 20px 17px 17px;
    }

    .hb-challenge-content h3 {
        font-size: 20px;
    }

    .hb-challenges-cta {
        padding: 27px 19px;
    }

    .hb-challenges-cta-content h3 {
        font-size: 27px;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .hb-challenges *,
    .hb-challenges *::before,
    .hb-challenges *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}