:root {
    --deep: #071c2c;
    --deep2: #0b3f4e;
    --teal: #0b6c78;
    --cyan: #20d7df;
    --mint: #a6f1e4;
    --paper: #f4faf8;
    --paper2: #e2f2ef;
    --ink: #092c40;
    --muted: #57717b;
    --line: rgba(20, 117, 130, .18);
    --white: #f8fffd;
    --shadow: 0 24px 60px rgba(3, 43, 57, .14);
    --radius: 26px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--deep);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

.site {
    overflow: hidden;
    background: var(--paper)
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 900
}

.eyebrow:before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .7
}

.title {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2.45rem, 5vw, 5.25rem);
    line-height: .94;
    letter-spacing: -.065em
}

.sub {
    max-width: 680px;
    margin: 1.25rem 0 0;
    color: var(--muted);
    line-height: 1.72;
    font-size: 1rem
}

.accent {
    color: #0b9aa2
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 1.18rem;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 900;
    border: 1px solid transparent;
    transition: .25s ease;
    cursor: pointer
}

.button:hover {
    transform: translateY(-3px)
}

.primary {
    background: #e8fffb;
    color: #073747;
    box-shadow: 0 14px 30px rgba(32, 215, 223, .18)
}

.primary:hover {
    background: #bdf5ec
}

.outline {
    color: white;
    border-color: rgba(220, 255, 250, .3);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px)
}

/* HEADER / HERO */
.hero {
    position: relative;
    min-height: 790px;
    overflow: hidden;
    color: white;
    background: radial-gradient(ellipse 70% 62% at 82% 4%, rgba(36, 174, 204, .25), transparent 60%), radial-gradient(ellipse 74% 82% at 11% 96%, rgba(13, 149, 167, .35), transparent 68%), linear-gradient(180deg, #08243d 0%, #0b3a56 27%, #0c5b72 61%, #0b6175 100%)
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .34;
    background-image: linear-gradient(180deg, rgba(2, 13, 29, .3), transparent 60%), url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.78'/%3E%3C/svg%3E");
    background-size: 100% 100%, 160px 160px;
    pointer-events: none;
    z-index: 1
}

.nav {
    position: relative;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    min-height: 58px;
}

.brand {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    font-weight: 850;
    letter-spacing: -0.04em;
    font-size: 1rem;
}

.brandmark-image {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex: 0 0 auto;
}

.brandmark-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.brand-word {
    display: flex;
    align-items: baseline;
    gap: 0.32rem;
    line-height: 1;
}

.brand-word strong {
    font-size: 1.12rem;
    letter-spacing: -0.04em;
    color: #fff;
}

.brand-word small {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: #a5f2e4;
    font-weight: 850;
}

.footer .brand-word strong,
.final-brand .brand-word strong {
    color: #fff;
}

.footer .brand-word small,
.final-brand .brand-word small {
    color: #a5f2e4;
}

.nav-cta {
    padding: 0.58rem 1.15rem;
    font-size: 0.76rem;
    font-weight: 850;
    border-radius: 999px;
    white-space: nowrap;
    margin-left: 12px;
}

@media (max-width: 1050px) {
    .nav-cta {
        display: none !important;
    }
}

@media (max-width: 760px) {
    .nav {
        padding: 8px 0;
        min-height: 52px;
    }

    .brandmark-image {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    .brand-word strong {
        font-size: 1.02rem !important;
    }

    .brand-word small {
        font-size: 0.56rem !important;
    }
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #e4f3f5;
    font-size: .74rem;
    font-weight: 650;
    white-space: nowrap !important;
}

.navlinks a {
    opacity: .84;
    transition: opacity .2s ease, color .2s ease;
    white-space: nowrap !important;
}

.navlinks a:hover {
    opacity: 1;
    color: white;
}

.hero-copy {
    position: relative;
    z-index: 5;
    padding: 78px 0 330px;
    max-width: 980px
}

.hero .eyebrow {
    color: #bdf7ef
}

.hero h1 {
    margin: 1.2rem 0 0;
    max-width: 940px;
    font-size: clamp(3.05rem, 6.2vw, 6.5rem);
    line-height: .91;
    letter-spacing: -.078em
}

.hero h1 span {
    display: block;
    color: #9ef1e6
}

.hero p {
    max-width: 730px;
    margin: 1.5rem 0 0;
    color: #d2e8e8;
    font-size: 1.02rem;
    line-height: 1.75
}

.actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.7rem
}

.mountain {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    height: 590px;
    pointer-events: none
}

.mountain svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible
}

.mountain .line {
    filter: drop-shadow(0 0 8px rgba(54, 235, 255, .65));
    stroke-linecap: round;
    stroke-linejoin: round
}

/* CREDIBILITY */
.cred {
    position: relative;
    padding: 100px 0 92px;
    background: linear-gradient(180deg, #f8fdfb, #e5f3ef);
    overflow: hidden
}


.cred-head {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: auto
}

.cred-head .eyebrow {
    color: #0c7785
}

.cred-head .title {
    margin: .8rem auto 0;
    max-width: 880px
}

.cred-head .sub {
    margin: 1.1rem auto 0
}

.logo-marquee {
    position: relative;
    z-index: 2;
    margin-top: 54px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: rgba(255, 255, 255, .38);
    backdrop-filter: blur(10px)
}

.logo-row {
    display: flex;
    width: max-content;
    gap: 52px;
    align-items: center;
    white-space: nowrap;
    margin: 12px 0
}

.logo-row span {
    font-weight: 950;
    letter-spacing: -.045em;
    font-size: clamp(1rem, 1.55vw, 1.48rem);
    color: #113e4b;
    display: inline-flex;
    align-items: center;
    gap: 18px
}

.logo-row span:after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(32, 215, 223, .65)
}

.row1 {
    animation: logos-left 30s linear infinite
}

.row2 {
    animation: logos-right 35s linear infinite
}

.row3 {
    animation: logos-left 38s linear infinite
}

@keyframes logos-left {
    to {
        transform: translateX(-50%)
    }
}

@keyframes logos-right {
    from {
        transform: translateX(-50%)
    }

    to {
        transform: translateX(0)
    }
}

/* PROBLEM */
.problem {
    position: relative;
    padding: 128px 0;
    background: #f7fcfa
}

.problem-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 45px
}

.problem-head .sub {
    margin: 0;
    max-width: 490px
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
    margin-top: 56px
}

.problem-card {
    position: relative;
    min-height: 315px;
    padding: 22px;
    border: 1px solid rgba(74, 170, 171, .34);
    border-radius: 22px;
    background: linear-gradient(150deg, #ffffff, #e6f5f1);
    box-shadow: 0 17px 35px rgba(8, 72, 84, .07);
    overflow: hidden;
    transition: .3s ease
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 48px rgba(8, 72, 84, .13)
}

.problem-card:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32, 215, 223, .25), transparent 68%)
}

.card-num {
    font-size: .67rem;
    font-weight: 950;
    letter-spacing: .1em;
    color: #0c8994
}

.problem-card h3 {
    margin: 62px 0 0;
    font-size: 1.12rem;
    line-height: 1.03;
    letter-spacing: -.045em;
    color: #0a3547
}

.problem-card p {
    margin: .8rem 0 0;
    font-size: .79rem;
    line-height: 1.62;
    color: #5a747d
}

/* APPROACH */
.approach {
    position: relative;
    padding: 130px 0;
    background: linear-gradient(135deg, #06283d, #0a5b68 52%, #082e45);
    color: white;
    overflow: hidden
}

.approach:before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 75px);
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}


.approach-head {
    position: relative;
    z-index: 2;
    max-width: 840px
}

.approach .eyebrow {
    color: #bdf7ef
}

.approach .title {
    margin-top: .8rem;
    color: white
}

.approach .sub {
    color: #c6e8e3
}

.growth-map {
    position: relative;
    z-index: 2;
    margin-top: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch
}

.map-card {
    position: relative;
    padding: 27px;
    border: 1px solid rgba(176, 246, 238, .28);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045));
    min-height: 270px;
    backdrop-filter: blur(12px)
}

.map-card:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dffff9;
    color: #0b5969;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18)
}

.map-num {
    font-size: .66rem;
    color: var(--mint);
    font-weight: 900;
    letter-spacing: .12em
}

.map-card h3 {
    margin: 60px 0 0;
    font-size: 1.5rem;
    letter-spacing: -.05em
}

.map-card p {
    margin: .65rem 0 0;
    color: #c4e4df;
    font-size: .84rem;
    line-height: 1.62
}

/* CASE */
.case {
    position: relative;
    padding: 132px 0;
    background: linear-gradient(180deg, #f7fcfa, #e5f3ef);
    overflow: hidden
}

.case-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px
}

.case-head .sub {
    margin: 0;
    max-width: 500px
}

.case-story {
    margin-top: 58px;
    border-radius: 30px;
    background: linear-gradient(145deg, #092f43, #0a6671 55%, #0b4152);
    color: white;
    padding: 32px;
    box-shadow: 0 30px 70px rgba(3, 56, 70, .2);
    border: 1px solid rgba(183, 247, 239, .22);
    overflow: hidden;
    position: relative
}

.case-story:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 84% 14%, rgba(157, 247, 237, .28), transparent 23%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 82px);
    pointer-events: none;
}

.case-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(211, 255, 249, .18)
}

.case-top strong {
    font-size: 1.1rem
}

.case-tag {
    border: 1px solid rgba(215, 255, 249, .3);
    border-radius: 999px;
    padding: .48rem .68rem;
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c8fbf3
}

.case-metrics {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1.05fr .9fr;
    gap: 16px;
    margin-top: 24px
}

.metric {
    padding: 25px;
    border: 1px solid rgba(212, 255, 250, .16);
    border-radius: 21px;
    background: rgba(255, 255, 255, .065);
    min-height: 255px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.metric-label {
    font-size: .67rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #bcebe5;
    font-weight: 900
}

.metric-values {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap
}

.metric-value {
    font-size: clamp(3.3rem, 6.1vw, 6.8rem);
    font-weight: 950;
    line-height: .85;
    letter-spacing: -.09em;
    color: #fff;
    white-space: nowrap
}

.metric-value .suffix {
    font-size: .58em;
    letter-spacing: -.06em
}

.metric-arrow {
    font-size: 1.4rem;
    color: var(--mint);
    padding-bottom: 4px
}

.metric-value {
    animation: metricCountPulse 1.7s ease-out both
}

@keyframes metricCountPulse {
    0% {
        opacity: .35;
        transform: translateY(7px) scale(.97)
    }

    55% {
        opacity: 1;
        transform: translateY(-1px) scale(1.01)
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.metric-note {
    font-size: .76rem;
    color: #c4e5df;
    line-height: 1.5
}

.case-foot {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 22px
}

.case-foot p {
    margin: 0;
    color: #c5e6e1;
    font-size: .83rem;
    max-width: 680px;
    line-height: 1.6
}

.case-foot a {
    flex: none
}

/* SYSTEM */
.system {
    padding: 130px 0;
    background: #f8fcfb
}

.system-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px
}

.system-head .sub {
    margin: 0;
    max-width: 490px
}

.system-rail {
    position: relative;
    margin-top: 65px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.system-rail:before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 32px;
    height: 2px;
    background: linear-gradient(90deg, #36bfc7, #8ceee3, #36bfc7);
    box-shadow: 0 0 13px rgba(49, 217, 225, .35)
}

.stage {
    position: relative;
    z-index: 2;
    padding: 20px 17px;
    border: 1px solid rgba(89, 184, 186, .36);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #e3f4ef);
    min-height: 240px;
    box-shadow: 0 16px 32px rgba(7, 76, 88, .07);
    transition: .28s ease
}

.stage:hover {
    transform: translateY(-7px);
    border-color: #56d3d0
}

.stage-num {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0a5867;
    color: #dffff9;
    border: 1px solid rgba(166, 245, 236, .5);
    font-size: .72rem;
    font-weight: 950;
    box-shadow: 0 9px 20px rgba(8, 87, 101, .18)
}

.stage h3 {
    margin: 27px 0 0;
    font-size: 1rem;
    letter-spacing: -.04em
}

.stage p {
    margin: .6rem 0 0;
    color: #60777e;
    font-size: .75rem;
    line-height: 1.55
}

/* CAPABILITIES */
.capabilities {
    padding: 128px 0;
    background: linear-gradient(180deg, #e6f4f0, #f8fcfb)
}

.cap-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px
}

.cap-head .sub {
    margin: 0;
    max-width: 480px
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 55px
}

.cap {
    position: relative;
    min-height: 245px;
    padding: 25px;
    border: 1px solid rgba(83, 175, 178, .36);
    border-radius: 23px;
    background: linear-gradient(145deg, #ffffff, #e1f3ee);
    box-shadow: 0 18px 38px rgba(8, 74, 85, .07);
    overflow: hidden;
    transition: .3s ease
}

.cap:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 48px rgba(8, 74, 85, .13)
}

.cap:after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -85px;
    bottom: -85px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 210, 211, .25), transparent 68%)
}

.cap-num {
    color: #0d8790;
    font-weight: 950;
    font-size: .67rem;
    letter-spacing: .12em
}

.cap h3 {
    margin: 48px 0 0;
    font-size: 1.28rem;
    letter-spacing: -.05em
}

.cap p {
    margin: .65rem 0 0;
    color: #5b747c;
    font-size: .8rem;
    line-height: 1.58
}

.cap-cta {
    margin-top: 40px
}

/* FINAL CTA */
.final {
    position: relative;
    padding: 128px 0 110px;
    background: radial-gradient(circle at 12% 8%, rgba(103, 240, 231, .27), transparent 22%), radial-gradient(circle at 88% 78%, rgba(23, 143, 159, .31), transparent 31%), linear-gradient(135deg, #06253e, #0b5260 48%, #07263e);
    color: white;
    overflow: hidden
}

.final:before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 80px);
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}


.final-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start
}

.final .eyebrow {
    color: #bdf8ef
}

.final .title {
    color: white;
    margin-top: .8rem
}

.final .sub {
    color: #c9e9e4
}

.form {
    padding: 26px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(245, 255, 252, .16), rgba(84, 191, 189, .13));
    border: 1px solid rgba(214, 253, 247, .32);
    box-shadow: 0 30px 65px rgba(2, 36, 55, .26);
    backdrop-filter: blur(14px)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px
}

.field {
    display: grid;
    gap: 6px;
    margin-top: 11px
}

.field label {
    font-size: .64rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 900;
    color: #d5f7f1
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .78rem .85rem;
    border: 1px solid rgba(218, 253, 247, .27);
    border-radius: 11px;
    background: rgba(4, 47, 63, .34);
    color: white;
    outline: none
}

.field textarea {
    min-height: 110px;
    resize: vertical
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a8cfca
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #7ae8de;
    box-shadow: 0 0 0 3px rgba(92, 232, 222, .12)
}

.field input.error,
.field select.error,
.field textarea.error,
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
    border-color: #ff6b7a !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 122, .18) !important;
}

.field input.error:focus,
.field select.error:focus,
.field textarea.error:focus,
.field input.invalid:focus,
.field select.invalid:focus,
.field textarea.invalid:focus {
    border-color: #ff8593 !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 122, .28) !important;
}

.field-error {
    display: none;
    font-size: .68rem;
    color: #ff9da8;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .01em;
}

.field-error.show {
    display: block;
    animation: fieldErrorIn .18s ease-out;
}

@keyframes fieldErrorIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit {
    width: 100%;
    margin-top: 17px;
    border: 0;
    background: #eafff9;
    color: #093d4d
}

.form-status {
    display: none;
    margin: 12px 0 0;
    color: #d8f9f3;
    font-size: .76rem
}

.form-status.show {
    display: block
}

/* ABSOLUTE BOTTOM LOGO TREATMENT */
.bottom-logos {
    position: relative;
    background: #061b2b;
    color: white;
    padding: 38px 0 44px;
    overflow: hidden;
    border-top: 1px solid rgba(166, 241, 228, .16)
}

.bottom-label {
    text-align: center;
    color: #a9d9d2;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 17px
}

.bottom-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent)
}

.bottom-row {
    display: flex;
    width: max-content;
    gap: 54px;
    margin: 10px 0;
    align-items: center;
    white-space: nowrap
}

.bottom-row span {
    font-size: clamp(.92rem, 1.45vw, 1.35rem);
    font-weight: 950;
    letter-spacing: -.04em;
    color: #e8fffb;
    display: inline-flex;
    align-items: center;
    gap: 18px
}

.bottom-row span:after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25d7df;
    box-shadow: 0 0 12px rgba(37, 215, 223, .7)
}

.bottom-row.a {
    animation: logos-left 32s linear infinite
}

.bottom-row.b {
    animation: logos-right 36s linear infinite
}

.bottom-row.c {
    animation: logos-left 40s linear infinite
}

.footer {
    background: #020f1a;
    color: #7d9a9c;
    padding: 14px 0;
    font-size: .62rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer .brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer .brand strong {
    font-size: .88rem;
}

.footer .brand-word small {
    font-size: .56rem;
}

.footer-links {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #7b9899;
    font-size: .64rem;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #eefefb;
}

.footer span {
    font-size: .62rem;
    color: #5d7879;
}

.final-intro {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center
}

.final-intro .sub {
    max-width: 760px;
    margin: 1.2rem auto 0
}

.final-intro .actions {
    justify-content: center
}

.final-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.final-brand .brand {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    transition: transform .25s ease, opacity .25s ease;
}

.final-brand .brand:hover {
    transform: translateY(-2px);
    opacity: .95;
}

.final-brand .brand img {
    width: 44px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(49, 217, 225, .3));
}

.final .bottom-logos {
    position: relative;
    z-index: 2;
    margin: 90px 0 0;
    background: rgba(3, 24, 39, .62);
    border-top: 1px solid rgba(166, 241, 228, .16);
    border-bottom: 1px solid rgba(166, 241, 228, .16);
    padding: 38px 0 44px
}

.work-together-wrap {
    position: relative;
    z-index: 2;
    margin-top: 70px
}

.work-together-form {
    max-width: 1000px;
    margin: 0 auto
}

.work-together-form h3 {
    margin: 0 0 18px;
    font-size: 1.7rem;
    letter-spacing: -.05em;
    color: white
}

.final .bottom-label {
    color: #a9d9d2
}

.final .bottom-row span {
    color: #e8fffb
}

.final .bottom-row span:after {
    background: #25d7df
}

.final .work-together-form {
    background: linear-gradient(145deg, rgba(245, 255, 252, .16), rgba(84, 191, 189, .13))
}

.cred .cred-head {
    max-width: 850px
}

@media(max-width:1050px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .growth-map {
        grid-template-columns: repeat(2, 1fr)
    }

    .map-card:not(:last-child):after {
        display: none
    }

    .case-metrics {
        grid-template-columns: 1fr 1fr
    }

    .metric:last-child {
        grid-column: 1/-1
    }

    .system-rail {
        grid-template-columns: repeat(3, 1fr)
    }

    .system-rail:before {
        display: none
    }

    .cap-grid {
        grid-template-columns: 1fr 1fr
    }

    .final-grid {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .navlinks {
        display: none
    }
}

@media(max-width:700px) {
    .container {
        width: calc(100% - 34px)
    }

    .hero {
        min-height: 820px
    }

    .nav {
        padding: 17px 0
    }

    .hero-copy {
        padding: 54px 0 325px
    }

    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.4rem)
    }

    .hero p {
        font-size: .93rem
    }

    .mountain {
        height: 470px
    }

    .cred,
    .problem,
    .approach,
    .case,
    .system,
    .capabilities,
    .final {
        padding: 88px 0
    }

    .problem-head,
    .case-head,
    .system-head,
    .cap-head {
        align-items: flex-start;
        flex-direction: column
    }

    .problem-grid,
    .growth-map,
    .case-metrics,
    .system-rail,
    .cap-grid {
        grid-template-columns: 1fr
    }

    .problem-card {
        min-height: 245px
    }

    .problem-card h3 {
        margin-top: 42px
    }

    .map-card {
        min-height: 220px
    }

    .map-card h3 {
        margin-top: 42px
    }

    .case-story {
        padding: 19px
    }

    .case-metrics {
        margin-top: 16px
    }

    .metric {
        min-height: 205px
    }

    .metric:last-child {
        grid-column: auto
    }

    .metric-value {
        font-size: clamp(3.2rem, 17vw, 5.3rem)
    }

    .case-foot {
        align-items: flex-start;
        flex-direction: column
    }

    .system-rail {
        gap: 12px
    }

    .stage {
        min-height: 200px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .bottom-logos {
        padding: 28px 0
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }
}



/* MODIVA VISUAL REFINEMENT — larger editorial type + reference-inspired layouts */
.title {
    font-size: clamp(3.15rem, 6.1vw, 6.45rem);
    line-height: .9;
    letter-spacing: -.075em
}

.sub {
    font-size: 1.06rem;
    line-height: 1.75
}

.cred {
    padding: 118px 0 112px
}

.cred-head {
    max-width: 1050px
}

.cred-head .title {
    max-width: 1020px
}

.problem {
    padding: 145px 0 138px
}

.problem-head {
    align-items: start
}

.problem-head>div {
    flex: 1.1
}

.problem-head>.sub {
    flex: .75;
    padding-top: 70px;
    font-size: 1.05rem
}

.problem-grid {
    gap: 14px;
    margin-top: 72px
}

.problem-card {
    min-height: 360px;
    padding: 25px 23px;
    border-radius: 24px
}

.problem-card h3 {
    margin-top: 70px;
    font-size: clamp(1.32rem, 1.7vw, 1.7rem);
    line-height: .98;
    letter-spacing: -.055em
}

.problem-card p {
    margin-top: 1rem;
    font-size: .92rem;
    line-height: 1.62
}

.approach {
    padding: 145px 0 155px
}

.approach-head {
    max-width: 1080px
}

.approach .title {
    max-width: 1050px
}

.approach .sub {
    max-width: 900px;
    font-size: 1.05rem
}

.growth-map {
    height: 610px;
    margin-top: 62px;
    display: block;
    position: relative;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto
}

.map-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 480px;
    height: 480px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(146, 245, 237, .42);
    border-radius: 50%;
    box-shadow: 0 0 70px rgba(32, 215, 223, .08), inset 0 0 60px rgba(32, 215, 223, .04)
}

.map-orbit:before,
.map-orbit:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(139, 239, 232, .25);
    transform: translate(-50%, -50%)
}

.map-orbit:before {
    width: 1px;
    height: 100%
}

.map-orbit:after {
    width: 100%;
    height: 1px
}

.map-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 185px;
    height: 185px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 35% 30%, #0d6c7b, #062d43 72%);
    border: 1px solid rgba(171, 250, 241, .55);
    box-shadow: 0 0 55px rgba(30, 216, 220, .18);
    z-index: 5
}

.map-center span {
    font-size: .62rem;
    letter-spacing: .17em;
    font-weight: 900;
    color: #bdf7ef
}

.map-center strong {
    margin-top: 8px;
    font-size: 1.15rem;
    line-height: .98;
    letter-spacing: -.04em
}

.map-center i {
    margin-top: 10px;
    font-style: normal;
    color: #5fe1db;
    font-size: 1rem
}

.map-card {
    position: absolute;
    width: 320px;
    min-height: 205px;
    padding: 27px 29px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .045));
    border: 1px solid rgba(176, 246, 238, .32);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .16);
    backdrop-filter: blur(15px);
    z-index: 4
}

.map-card h3 {
    margin: 24px 0 0;
    font-size: 1.55rem;
    letter-spacing: -.05em
}

.map-card p {
    margin: .55rem 0 0;
    color: #c4e4df;
    font-size: .92rem;
    line-height: 1.55
}

.map-card small {
    display: block;
    margin-top: .75rem;
    color: #80c9c2;
    font-size: .68rem;
    letter-spacing: .04em
}

.map-card.demand {
    left: 0;
    top: 58px
}

.map-card.conversion {
    right: 0;
    top: 58px
}

.map-card.economics {
    left: 0;
    bottom: 42px
}

.map-card.scale {
    right: 0;
    bottom: 42px
}

.map-card.demand:after,
.map-card.economics:after,
.map-card.conversion:after,
.map-card.scale:after {
    content: "";
    position: absolute;
    width: 105px;
    height: 1px;
    background: rgba(125, 240, 232, .42);
    top: 50%;
    z-index: -1
}

.map-card.demand:after,
.map-card.economics:after {
    right: -105px
}

.map-card.conversion:after,
.map-card.scale:after {
    left: -105px
}

.case {
    padding: 145px 0
}

.case-head {
    align-items: start
}

.case-head .title {
    max-width: 900px
}

.case-head>.sub {
    padding-top: 55px;
    font-size: 1.04rem
}

.case-story {
    margin-top: 68px;
    padding: 38px
}

.metric {
    min-height: 310px;
    padding: 30px
}

.metric-label {
    font-size: .78rem
}

.metric-value {
    font-size: clamp(4.5rem, 8.2vw, 8.6rem)
}

.metric-note {
    font-size: .88rem
}

.case-foot p {
    font-size: .94rem
}

.system {
    padding: 145px 0
}

.system-head {
    align-items: start
}

.system-head>div {
    flex: 1
}

.system-head>.sub {
    padding-top: 55px;
    font-size: 1.04rem
}

.system-rail {
    margin-top: 78px;
    gap: 10px
}

.stage {
    min-height: 300px;
    padding: 24px 20px;
    border-radius: 22px
}

.stage-num {
    width: 68px;
    height: 68px;
    font-size: .8rem
}

.stage h3 {
    margin-top: 32px;
    font-size: 1.22rem
}

.stage p {
    font-size: .9rem;
    line-height: 1.62
}

.capabilities {
    padding: 145px 0
}

.cap-head {
    align-items: start
}

.cap-head>div {
    flex: 1
}

.cap-head>.sub {
    padding-top: 55px;
    font-size: 1.04rem
}

.cap-grid {
    gap: 18px;
    margin-top: 70px
}

.cap {
    min-height: 315px;
    padding: 28px;
    border-radius: 25px
}

.cap-num {
    font-size: .75rem
}

.cap h3 {
    margin-top: 62px;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -.055em
}

.cap p {
    font-size: .9rem;
    line-height: 1.62
}

.cap p strong {
    display: block;
    margin-bottom: .35rem;
    color: #173f4e;
    font-size: .92rem
}

.final {
    padding-top: 145px
}

.final-intro .title {
    font-size: clamp(3.4rem, 6.5vw, 6.6rem)
}

/* Stronger mobile hierarchy */
@media(max-width:1050px) {

    .problem-head,
    .case-head,
    .system-head,
    .cap-head {
        flex-direction: column;
        align-items: flex-start
    }

    .problem-head>.sub,
    .case-head>.sub,
    .system-head>.sub,
    .cap-head>.sub {
        padding-top: 0;
        max-width: 760px
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .growth-map {
        height: 720px
    }

    .map-card {
        width: 42%
    }

    .map-card.demand,
    .map-card.conversion {
        top: 30px
    }

    .map-card.economics,
    .map-card.scale {
        bottom: 30px
    }

    .system-rail {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:700px) {
    .title {
        font-size: clamp(2.9rem, 12vw, 4.7rem)
    }

    .cred,
    .problem,
    .approach,
    .case,
    .system,
    .capabilities,
    .final {
        padding: 90px 0
    }

    .problem-head>.sub,
    .case-head>.sub,
    .system-head>.sub,
    .cap-head>.sub {
        font-size: .98rem
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .problem-card {
        min-height: 285px
    }

    .problem-card h3 {
        margin-top: 48px;
        font-size: 1.55rem
    }

    .problem-card p {
        font-size: .9rem
    }

    .growth-map {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 45px
    }

    .map-orbit,
    .map-center {
        display: none
    }

    .map-card {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
        width: 100%;
        min-height: 210px
    }

    .map-card:after {
        display: none
    }

    .map-card h3 {
        font-size: 1.65rem;
        margin-top: 25px
    }

    .case-story {
        padding: 20px;
        margin-top: 45px
    }

    .metric {
        min-height: 240px
    }

    .metric-value {
        font-size: clamp(3.1rem, 15vw, 5.1rem);
        max-width: 100%
    }

    .system-rail {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .stage {
        min-height: 220px
    }

    .stage h3 {
        font-size: 1.3rem
    }

    .cap-grid {
        grid-template-columns: 1fr;
        margin-top: 45px
    }

    .cap {
        min-height: 280px
    }

    .cap h3 {
        font-size: 1.7rem
    }

    .cap p {
        font-size: .9rem
    }

    .final-intro .title {
        font-size: clamp(3rem, 12vw, 5rem)
    }
}



/* FINAL REFERENCE-LED REFINEMENT
   Large editorial hierarchy + continuous motion.
   The motion is CSS-driven, so it keeps running independently of scroll position. */
:root {
    --display: clamp(3.7rem, 7.2vw, 7.6rem);
    --display-tight: clamp(3.25rem, 6.4vw, 6.9rem);
}

.title {
    font-size: var(--display-tight);
    line-height: .86;
    letter-spacing: -.082em;
    text-wrap: balance;
}

.hero h1 {
    font-size: clamp(4.2rem, 8.3vw, 8.8rem);
    line-height: .82;
    letter-spacing: -.09em;
    max-width: 1120px;
}

.hero p {
    font-size: 1.12rem;
    max-width: 780px
}

.cred {
    padding: 150px 0 135px
}

.cred-head {
    max-width: 1120px
}

.cred-head .title {
    font-size: clamp(2.2rem, 3.4vw, 3.4rem);
    max-width: 920px
}

.cred-head .sub {
    font-size: 1.1rem;
    max-width: 850px
}

.problem {
    padding: 155px 0 150px
}

.problem-head .title {
    max-width: 900px
}

.problem-card {
    min-height: 390px;
    padding: 28px 26px;
    border-radius: 27px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.problem-card h3 {
    font-size: clamp(1.65rem, 2.25vw, 2.35rem);
    line-height: .9;
    margin-top: 86px;
    max-width: 240px;
}

.problem-card p {
    font-size: .98rem;
    max-width: 280px
}

.problem-card:hover {
    transform: translateY(-12px) scale(1.015)
}

.approach {
    padding: 155px 0 165px
}

.approach .title {
    font-size: clamp(3.8rem, 7vw, 7.3rem);
    max-width: 1120px
}

.approach .sub {
    font-size: 1.1rem;
    max-width: 980px
}

.growth-map {
    height: 680px;
    max-width: 1160px
}

.map-orbit {
    width: 540px;
    height: 540px
}

.map-center {
    width: 205px;
    height: 205px
}

.map-center strong {
    font-size: 1.35rem
}

.map-card {
    width: 350px;
    min-height: 225px;
    padding: 30px 31px
}

.map-card h3 {
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    margin-top: 28px
}

.map-card p {
    font-size: .98rem
}

.case {
    padding: 155px 0
}

.case-head .title {
    font-size: clamp(3.7rem, 7vw, 7.1rem)
}

.case-head>.sub {
    font-size: 1.08rem
}

.system {
    padding: 155px 0 170px
}

.system-head .title {
    font-size: clamp(3.7rem, 7vw, 7.1rem)
}

.system-head>.sub {
    font-size: 1.08rem
}

/* Reference 01: vertical process / flowchart */
.flow-system {
    position: relative;
    width: min(650px, 100%);
    margin: 82px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-line {
    position: absolute;
    z-index: 0;
    top: 31px;
    bottom: 31px;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(to bottom, rgba(13, 119, 133, .42) 0 7px, transparent 7px 15px);
    overflow: hidden;
}

.flow-line:after {
    content: "";
    position: absolute;
    left: 0;
    top: -20%;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(32, 215, 223, .95), transparent);
    animation: flowPulse 2.8s linear infinite;
}

@keyframes flowPulse {
    from {
        transform: translateY(-130px)
    }

    to {
        transform: translateY(750px)
    }
}

.flow-step {
    position: relative;
    z-index: 2;
    width: min(430px, calc(100% - 70px));
    min-height: 112px;
    padding: 22px 28px 22px 82px;
    border: 1px solid rgba(70, 166, 172, .42);
    border-radius: 17px;
    background: linear-gradient(145deg, #fff, #e3f3ef);
    box-shadow: 0 18px 40px rgba(7, 76, 88, .10);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    animation: flowFloat 4.5s ease-in-out infinite;
}

.flow-step:hover {
    transform: translateY(-7px) scale(1.025);
    box-shadow: 0 28px 58px rgba(7, 76, 88, .17);
    border-color: #57cfd0;
}

.flow-step:nth-of-type(2) {
    animation-delay: -.55s
}

.flow-step:nth-of-type(3) {
    animation-delay: -1.1s
}

.flow-step:nth-of-type(4) {
    animation-delay: -1.65s
}

@keyframes flowFloat {

    0%,
    100% {
        translate: 0 0
    }

    50% {
        translate: 0 -5px
    }
}

.flow-number {
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #073e54;
    color: #bff8ef;
    border: 1px solid rgba(166, 245, 236, .45);
    font-size: .72rem;
    font-weight: 950;
    box-shadow: 0 9px 22px rgba(8, 87, 101, .16);
}

.flow-step h3 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -.05em;
}

.flow-step p {
    margin: .48rem 0 0;
    color: #60777e;
    font-size: .82rem;
    line-height: 1.5;
}

.flow-arrow {
    position: relative;
    z-index: 3;
    width: 28px;
    height: 30px;
    margin: 4px 0;
    display: grid;
    place-items: center;
    color: #0a7884;
    font-weight: 950;
    font-size: 1.05rem;
    animation: arrowBob 1.8s ease-in-out infinite;
}

@keyframes arrowBob {

    0%,
    100% {
        transform: translateY(0);
        opacity: .65
    }

    50% {
        transform: translateY(4px);
        opacity: 1
    }
}

.flow-branch,
.proven-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center
}

.refine-loop {
    position: absolute;
    right: 0;
    top: 50%;
    width: 112px;
    height: 92px;
    transform: translateY(-50%);
    border: 1px solid rgba(11, 108, 120, .5);
    border-left: 0;
    border-radius: 0 15px 15px 0;
}

.refine-loop:before {
    content: "";
    position: absolute;
    left: -9px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%) rotate(45deg);
    border-left: 1px solid rgba(11, 108, 120, .5);
    border-bottom: 1px solid rgba(11, 108, 120, .5);
    background: #f8fcfb;
}

.refine-loop span {
    position: absolute;
    right: -27px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 9px;
    border-radius: 999px;
    background: #0a5969;
    color: #e7fffb;
    font-size: .54rem;
    font-weight: 950;
    letter-spacing: .08em;
    box-shadow: 0 5px 14px rgba(7, 72, 84, .15);
}

.proven-pill {
    position: absolute;
    left: calc(50% + 34px);
    bottom: -18px;
    z-index: 4;
    padding: 5px 10px;
    border-radius: 999px;
    background: #0a5969;
    color: #e7fffb;
    font-size: .53rem;
    font-weight: 950;
    letter-spacing: .09em;
    box-shadow: 0 5px 14px rgba(7, 72, 84, .15);
    animation: provenGlow 2.2s ease-in-out infinite;
}

@keyframes provenGlow {

    0%,
    100% {
        box-shadow: 0 5px 14px rgba(7, 72, 84, .15)
    }

    50% {
        box-shadow: 0 5px 24px rgba(32, 215, 223, .42)
    }
}

.capabilities {
    padding: 155px 0
}

.cap-head .title {
    font-size: clamp(3.7rem, 7vw, 7.1rem)
}

.cap h3 {
    font-size: clamp(1.7rem, 2.35vw, 2.4rem)
}

.final {
    padding: 155px 0 125px
}

.final-intro .title {
    font-size: clamp(4rem, 7.5vw, 7.7rem)
}

/* FULL REFERENCE-STYLE MOTION */
.map-connectors {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: visible;
    pointer-events: none
}

.connector {
    fill: none;
    stroke: url(#connectorGlow);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 7 8;
    filter: drop-shadow(0 0 5px rgba(32, 215, 223, .18));
    opacity: .9;
    animation: connectorFlow 3.8s linear infinite, connectorBreath 2.8s ease-in-out infinite
}

.connector-tr {
    animation-delay: -.95s, -.7s
}

.connector-bl {
    animation-delay: -1.9s, -1.4s
}

.connector-br {
    animation-delay: -2.85s, -2.1s
}

@keyframes connectorFlow {
    to {
        stroke-dashoffset: -60
    }
}

@keyframes connectorBreath {

    0%,
    100% {
        opacity: .52
    }

    50% {
        opacity: 1
    }
}

.map-center i {
    font-size: 1.55rem;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin-top: 13px;
    animation: centerArrow 1.8s ease-in-out infinite
}

@keyframes centerArrow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: .65
    }

    50% {
        transform: translate(4px, -4px) rotate(4deg);
        opacity: 1
    }
}

/* Assemble the process one box at a time, then keep each step subtly moving. */
.flow-step {
    opacity: 0;
    animation: flowSequence 5.6s cubic-bezier(.2, .8, .2, 1) infinite
}

.flow-step.step-1 {
    animation-delay: .15s
}

.flow-step.step-2 {
    animation-delay: .55s
}

.flow-step.step-3 {
    animation-delay: .95s
}

.flow-step.step-4 {
    animation-delay: 1.35s
}

.flow-step.step-5 {
    animation-delay: 1.75s
}

.flow-step.step-6 {
    animation-delay: 2.15s
}

@keyframes flowSequence {
    0% {
        opacity: 0;
        transform: translateY(-24px) scale(.9);
        filter: blur(3px)
    }

    12% {
        opacity: 1;
        transform: translateY(4px) scale(1.015);
        filter: blur(0)
    }

    18% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }

    52% {
        opacity: 1;
        transform: translateY(-5px) scale(1.008)
    }

    72% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.flow-arrow {
    opacity: 0;
    animation: arrowSequence 5.6s ease-in-out infinite
}

.flow-arrow:nth-of-type(3) {
    animation-delay: .38s
}

.flow-arrow:nth-of-type(5) {
    animation-delay: .78s
}

.flow-arrow:nth-of-type(7) {
    animation-delay: 1.18s
}

.flow-arrow:nth-of-type(9) {
    animation-delay: 1.58s
}

.flow-arrow:nth-of-type(11) {
    animation-delay: 1.98s
}

@keyframes arrowSequence {

    0%,
    8% {
        opacity: 0;
        transform: translateY(-8px)
    }

    16%,
    70% {
        opacity: 1;
        transform: translateY(0)
    }

    80%,
    100% {
        opacity: .72;
        transform: translateY(2px)
    }
}

.refine-loop {
    animation: refinePulse 2.8s ease-in-out infinite
}

.refine-loop span {
    animation: refineTag 2.8s ease-in-out infinite
}

@keyframes refinePulse {

    0%,
    100% {
        opacity: .7;
        box-shadow: 0 0 0 rgba(32, 215, 223, 0)
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 22px rgba(32, 215, 223, .12)
    }
}

@keyframes refineTag {

    0%,
    100% {
        transform: translateY(-50%) scale(1)
    }

    50% {
        transform: translateY(-50%) scale(1.06)
    }
}

/* Continuous ambient motion in the reference-inspired growth map */
.map-orbit {
    animation: orbitBreath 7s ease-in-out infinite
}

@keyframes orbitBreath {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .82
    }

    50% {
        transform: translate(-50%, -50%) scale(1.035);
        opacity: 1
    }
}

.map-center {
    animation: centerPulse 4s ease-in-out infinite
}

@keyframes centerPulse {

    0%,
    100% {
        box-shadow: 0 0 55px rgba(30, 216, 220, .18);
        transform: translate(-50%, -50%) scale(1)
    }

    50% {
        box-shadow: 0 0 85px rgba(30, 216, 220, .3);
        transform: translate(-50%, -50%) scale(1.035)
    }
}

.map-card {
    animation: mapCardFloat 5.5s ease-in-out infinite
}

.map-card.conversion {
    animation-delay: -1.4s
}

.map-card.economics {
    animation-delay: -2.8s
}

.map-card.scale {
    animation-delay: -4.2s
}

@keyframes mapCardFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

/* Sequential entrance for the four growth-map cards */
.map-card {
    opacity: 0;
    animation: mapCardEnter .9s cubic-bezier(.2, .8, .2, 1) forwards, mapCardFloat 5.5s ease-in-out 1.1s infinite
}

.map-card.demand {
    animation-delay: .2s, 1.3s
}

.map-card.conversion {
    animation-delay: .55s, 1.8s
}

.map-card.economics {
    animation-delay: .9s, 2.3s
}

.map-card.scale {
    animation-delay: 1.25s, 2.8s
}

@keyframes mapCardEnter {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(.94)
    }

    70% {
        opacity: 1;
        transform: translateY(-3px) scale(1.01)
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.map-center {
    animation: centerPulse 4s ease-in-out infinite, centerEnter 1s cubic-bezier(.2, .8, .2, 1) both
}

@keyframes centerEnter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.7)
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1)
    }
}


/* Keep the page feeling alive while scrolling; marquees remain continuously animated. */
.logo-row,
.bottom-row {
    will-change: transform
}

@media(max-width:1050px) {
    .hero h1 {
        font-size: clamp(3.8rem, 8vw, 7rem)
    }

    .problem-card h3 {
        font-size: 1.8rem
    }

    .map-card {
        width: 42%
    }

    .refine-loop {
        right: 2px
    }
}

@media(max-width:700px) {
    .hero h1 {
        font-size: clamp(3.25rem, 14vw, 5.2rem)
    }

    .cred-head .title,
    .final-intro .title {
        font-size: clamp(3.15rem, 13vw, 5.2rem)
    }

    .problem-card {
        min-height: 300px
    }

    .problem-card h3 {
        font-size: 1.75rem;
        margin-top: 55px
    }

    .growth-map {
        height: auto
    }

    .map-orbit,
    .map-center {
        display: none
    }

    .map-card {
        width: 100%
    }

    .flow-system {
        margin-top: 52px
    }

    .flow-step {
        width: calc(100% - 34px);
        padding: 21px 20px 21px 72px
    }

    .flow-number {
        left: 15px;
        width: 44px;
        height: 44px
    }

    .refine-loop {
        right: -2px;
        width: 62px;
        height: 72px
    }

    .refine-loop span {
        right: -30px
    }

    .proven-pill {
        left: calc(50% + 25px)
    }

    .flow-step p {
        font-size: .78rem
    }
}

@media(max-width:700px) {
    .map-connectors {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {

    .flow-step,
    .flow-arrow,
    .connector,
    .map-card,
    .map-center,
    .map-orbit,
    .refine-loop,
    .refine-loop span,
    .proven-pill,
    .map-center i {
        animation: none !important;
        opacity: 1 !important
    }
}


/* FINAL POLISH — match the supplied reference proportions */
/* 01 — Growth Map: connectors begin at the card-side bend, with no horizontal segments. */
.map-connectors .connector {
    stroke-dasharray: 7 8;
    stroke-width: 1.25
}

/* 02 — Featured case: widen the presentation and keep all three metrics visible. */
.case-story {
    width: calc(100% + 100px);
    margin-left: -50px
}

.case-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.metric {
    min-width: 0;
    overflow: hidden
}

.metric-value {
    font-size: clamp(3rem, 5.2vw, 5.65rem);
    min-width: 0;
    max-width: 100%;
    overflow: hidden
}

/* 03 — Problem cards: slightly smaller headlines so every word remains readable. */
.problem-card h3 {
    font-size: clamp(1.42rem, 1.9vw, 1.9rem);
    max-width: 100%;
    line-height: .94
}

/* 04 — Hero: use the wider, left-aligned editorial composition from the reference. */
.hero-copy {
    max-width: 1120px;
    padding-top: 78px
}

.hero h1 {
    max-width: 940px;
    font-size: clamp(3.7rem, 6.2vw, 6.6rem);
    line-height: .88;
    letter-spacing: -.082em
}

.hero p {
    max-width: 760px
}

@media(max-width:1250px) {
    .case-story {
        width: 100%;
        margin-left: 0
    }
}

@media(max-width:1050px) {
    .hero h1 {
        font-size: clamp(3.7rem, 8vw, 7rem);
        max-width: 900px
    }

    .case-metrics {
        grid-template-columns: 1fr 1fr
    }

    .metric:last-child {
        grid-column: 1/-1
    }
}

@media(max-width:700px) {
    .hero-copy {
        padding-top: 54px
    }

    .hero h1 {
        font-size: clamp(3.1rem, 13vw, 4.8rem);
        line-height: .9
    }

    .case-story {
        width: 100%;
        margin-left: 0
    }

    .case-metrics {
        grid-template-columns: 1fr
    }

    .metric:last-child {
        grid-column: auto
    }

    .problem-card h3 {
        font-size: 1.55rem
    }
}


/* PROBLEM CARDS — keep all headlines fully inside their frames */
.problem-card h3 {
    font-size: clamp(1.2rem, 1.55vw, 1.55rem);
    line-height: .98;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

@media(max-width:1050px) {
    .problem-card h3 {
        font-size: 1.45rem;
    }
}

@media(max-width:700px) {
    .problem-card h3 {
        font-size: 1.4rem;
        line-height: 1;
    }
}



/* Requested brand-section update: no eyebrow above the credibility headline; two continuously moving brand strips. */
.cred-head .title {
    margin: 0 auto
}

.final .bottom-logos {
    padding: 34px 0 38px
}

.bottom-row {
    margin: 8px 0
}

.bottom-row.a {
    animation: logos-left 32s linear infinite
}

.bottom-row.b {
    animation: logos-right 36s linear infinite
}



/* =========================================================
   USER REQUESTED UPDATE — animated hero + compact process
   ========================================================= */

/* FIRST PAGE: reference-inspired growth graph composition */
.hero {
    min-height: 820px;
    background: radial-gradient(ellipse 58% 54% at 88% 8%, rgba(32, 215, 223, .18), transparent 66%), linear-gradient(135deg, #061a32 0%, #082845 50%, #0a4161 100%)
}

.hero-copy {
    position: relative;
    z-index: 7;
    max-width: 760px;
    padding: 92px 0 345px
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(3.5rem, 5.7vw, 6rem);
    line-height: .88
}

.hero p {
    max-width: 700px
}

.hero .mountain {
    z-index: 2;
    height: 520px;
    opacity: .88
}

.hero-performance {
    position: absolute;
    z-index: 4;
    inset: 98px 0 0;
    pointer-events: none;
    overflow: hidden
}

.hero-gridlines {
    display: none !important;
}

.hero-graph {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    width: 100%;
    height: 520px;
    overflow: visible
}

.hero-graph-shadow {
    fill: none;
    stroke: rgba(32, 215, 223, .28);
    stroke-width: 15;
    filter: url(#heroGlow);
    opacity: .72
}

.hero-graph-line {
    fill: none;
    stroke: url(#heroLine);
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: url(#heroGlow);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: heroGraphDraw 8.5s cubic-bezier(.18, .72, .18, 1) forwards
}

.hero-graph-spark {
    fill: none;
    stroke: #d8fffb;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 1 12;
    stroke-dashoffset: 0;
    opacity: .78;
    animation: heroSparkTravel 8s linear infinite
}

.hero-points circle {
    fill: #b8fff6;
    stroke: #44e8ec;
    stroke-width: 2;
    filter: url(#heroGlow);
    opacity: 0;
    animation: heroPointIn .7s ease forwards
}

.hero-points circle:nth-child(1) {
    animation-delay: 2.3s
}

.hero-points circle:nth-child(2) {
    animation-delay: 3.7s
}

.hero-points circle:nth-child(3) {
    animation-delay: 5s
}

.hero-points circle:nth-child(4) {
    animation-delay: 6.3s
}

.hero-points circle:nth-child(5) {
    animation-delay: 7.7s
}

@keyframes heroGraphDraw {
    0% {
        stroke-dashoffset: 100
    }

    100% {
        stroke-dashoffset: 0
    }
}

@keyframes heroSparkTravel {
    to {
        stroke-dashoffset: -100
    }
}

@keyframes heroPointIn {
    from {
        opacity: 0;
        transform: scale(.4);
        transform-origin: center
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.hero-kpi {
    position: absolute;
    z-index: 8;
    min-width: 138px;
    padding: 14px 17px 13px;
    border: 1px solid rgba(170, 244, 239, .22);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(12, 58, 89, .82), rgba(26, 100, 126, .58));
    box-shadow: 0 16px 40px rgba(0, 0, 0, .2), inset 0 0 22px rgba(75, 221, 226, .06);
    backdrop-filter: blur(12px);
    color: #eaffff;
    animation: kpiFloat 5.5s ease-in-out infinite
}

.hero-kpi .kpi-top {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1
}

.hero-kpi strong {
    font-size: 1.18rem;
    letter-spacing: -.035em
}

.hero-kpi>span {
    display: block;
    margin-top: 7px;
    color: #a8ced5;
    font-size: .78rem
}

.kpi-triangle {
    font-size: .68rem;
    color: #64edf0;
    filter: drop-shadow(0 0 7px rgba(82, 237, 240, .6))
}

.kpi-conversions {
    left: 50%;
    bottom: 270px;
    animation-delay: -.7s
}

.kpi-revenue {
    right: 22%;
    bottom: 380px;
    animation-delay: -2.4s
}

.kpi-roas {
    right: calc(14.375% - 71px);
    bottom: 520px;
    animation-delay: -4.1s
}

@keyframes kpiFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

/* FEATURED CASE: keep each arrow immediately beside its number. */
.case-metrics .metric-values {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 0
}

.case-metrics .metric-value {
    display: inline-block;
    flex: 0 1 auto;
    overflow: visible !important;
    min-width: 0;
    max-width: calc(100% - 34px)
}

.case-metrics .metric-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 0 .05em;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--mint)
}

.case-metrics .metric:first-child .metric-value {
    font-size: clamp(2.85rem, 4.65vw, 5.05rem)
}

/* MODIVA GROWTH SYSTEM: compact 3x2 desktop snake instead of a tall column. */
.system {
    padding: 145px 0 150px
}

.process-board {
    position: relative;
    margin: 70px auto 0;
    max-width: 1160px;
    height: 500px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 78px 54px;
    align-items: center
}

.process-path {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none
}

.process-path svg {
    width: 100%;
    height: 100%;
    overflow: visible
}

.process-route {
    fill: none;
    stroke: rgba(13, 119, 133, .22);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 5 8
}

.process-route-glow {
    fill: none;
    stroke: url(#processGlow);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 8 12;
    animation: processDash 7s linear infinite
}

@keyframes processDash {
    to {
        stroke-dashoffset: -120
    }
}

.process-card {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 152px;
    padding: 26px 24px 24px 86px;
    border: 1px solid rgba(70, 166, 172, .42);
    border-radius: 22px;
    background: linear-gradient(145deg, #fff, #e3f3ef);
    box-shadow: 0 18px 40px rgba(7, 76, 88, .1);
    display: flex;
    align-items: center;
    animation: processFloat 5.5s ease-in-out infinite
}

.process-card:nth-of-type(2) {
    animation-delay: -.8s
}

.process-card:nth-of-type(3) {
    animation-delay: -1.6s
}

.process-card:nth-of-type(4) {
    animation-delay: -2.4s
}

.process-card:nth-of-type(5) {
    animation-delay: -3.2s
}

.process-card:nth-of-type(6) {
    animation-delay: -4s
}

@keyframes processFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

.process-num {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #073e54;
    color: #bff8ef;
    border: 1px solid rgba(166, 245, 236, .45);
    font-size: .72rem;
    font-weight: 950;
    box-shadow: 0 9px 22px rgba(8, 87, 101, .16)
}

.process-card h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -.045em;
    color: #0b3345
}

.process-card p {
    margin: .48rem 0 0;
    color: #60777e;
    font-size: .82rem;
    line-height: 1.5
}

.process-card.p1 {
    grid-column: 1;
    grid-row: 1
}

.process-card.p2 {
    grid-column: 2;
    grid-row: 1
}

.process-card.p3 {
    grid-column: 3;
    grid-row: 1
}

.process-card.p4 {
    grid-column: 3;
    grid-row: 2
}

.process-card.p5 {
    grid-column: 2;
    grid-row: 2
}

.process-card.p6 {
    grid-column: 1;
    grid-row: 2
}

.process-tag {
    position: absolute;
    right: 18px;
    top: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #0a5969;
    color: #e7fffb;
    font-size: .53rem;
    font-weight: 950;
    letter-spacing: .09em;
    box-shadow: 0 5px 14px rgba(7, 72, 84, .15)
}

.process-tag.proven {
    background: #0a5969
}

@media(max-width:1050px) {
    .hero-copy {
        max-width: 690px
    }

    .kpi-conversions {
        left: 43%;
        top: auto;
        bottom: 260px;
    }

    .kpi-revenue {
        right: 14%;
        top: auto;
        bottom: 370px;
    }

    .kpi-roas {
        right: 4%;
        top: auto;
        bottom: 460px;
    }

    .process-board {
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 18px
    }

    .process-path {
        display: none
    }

    .process-card.p1,
    .process-card.p2,
    .process-card.p3,
    .process-card.p4,
    .process-card.p5,
    .process-card.p6 {
        grid-column: auto;
        grid-row: auto
    }
}

@media(max-width:700px) {
    .hero {
        min-height: 900px
    }

    .hero-copy {
        padding: 54px 0 430px;
        max-width: none
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 4.65rem)
    }

    .hero-performance {
        inset: 120px 0 0
    }

    .hero-gridlines {
        inset: 390px 0 0;
        background-size: 58px 58px
    }

    .hero-graph {
        height: 360px;
        bottom: 44px;
        left: -28%;
        width: 145%
    }

    .hero-kpi {
        min-width: 112px;
        padding: 11px 13px
    }

    .hero-kpi strong {
        font-size: 1rem
    }

    .hero-kpi>span {
        font-size: .7rem
    }

    .kpi-conversions {
        left: 7%;
        bottom: 178px
    }

    .kpi-revenue {
        right: 8%;
        top: auto;
        bottom: 260px
    }

    .kpi-roas {
        right: 6%;
        top: auto;
        bottom: 370px
    }

    .process-board {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 45px
    }

    .process-card {
        min-height: 132px;
        padding: 22px 20px 22px 76px
    }

    .process-num {
        left: 18px;
        width: 43px;
        height: 43px
    }

    .case-metrics .metric:first-child .metric-value {
        font-size: clamp(3rem, 14.2vw, 4.85rem)
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-graph-line {
        stroke-dashoffset: 0;
        animation: none
    }

    .hero-graph-spark,
    .hero-kpi,
    .process-route-glow,
    .process-card {
        animation: none
    }

    .hero-points circle {
        opacity: 1;
        animation: none
    }
}




/* =========================================================
   HERO REFERENCE MATCH — KPI placement + actual mountain-line animation
   ========================================================= */

/* Containerize the hero section neatly on wide screens matching orig-modiva */
.hero>.container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 7;
}

.hero {
    min-height: 830px;
}

.hero-copy {
    max-width: 980px;
    padding: 92px 0 320px;
}

.hero h1 {
    max-width: 960px;
    font-size: clamp(3.2rem, 5.6vw, 5.8rem);
    line-height: .92;
    letter-spacing: -.072em;
}

.hero p {
    max-width: 740px;
    font-size: 1.05rem;
    line-height: 1.74;
    color: #d2e8e8;
    text-shadow: 0 2px 16px rgba(0, 19, 35, .7);
}

/* Keep the subtle reference-style chart grid, but use the REAL abstract mountain
   top edge as the animated graph instead of a separate floating line. */
.hero-performance {
    inset: 92px 0 0;
    overflow: visible;
}

.hero-gridlines {
    inset: 145px 0 0;
    opacity: .18;
    background-size: 86px 86px;
    mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 20%, rgba(0, 0, 0, .72) 47%, black 100%),
        linear-gradient(180deg, transparent 0%, black 22%, black 100%);
}

.hero-graph {
    display: none;
}

/* KPI cards: match the supplied reference placement and keep each card close
   to the rising abstract line instead of floating far above it. */
.hero-kpi {
    min-width: 142px;
    padding: 14px 18px 13px;
    border-radius: 12px;
    border: 1px solid rgba(166, 241, 228, .24);
    background:
        linear-gradient(145deg, rgba(13, 49, 83, .88), rgba(20, 82, 119, .66));
    box-shadow:
        0 15px 34px rgba(1, 17, 37, .22),
        inset 0 0 24px rgba(70, 224, 232, .07);
    backdrop-filter: blur(13px);
}

.hero-kpi .kpi-top {
    gap: 8px
}

.hero-kpi strong {
    font-size: 1.2rem
}

.hero-kpi>span {
    margin-top: 7px;
    font-size: .79rem;
    color: #a9c8d4
}

/* Optimized desktop positions:
   - kpi-conversions: moved rightward to left: 50% with bottom: 270px to provide generous breathing room from hero buttons and paragraph copy.
   - kpi-revenue: sitting right above the mountain crest at bottom: 380px.
   - kpi-roas: lifted to bottom: 520px at right: calc(14.375% - 71px), positioned precisely at the summit tip of the mountain. */
.kpi-conversions {
    left: 50%;
    top: auto;
    bottom: 270px;
}

.kpi-revenue {
    left: auto;
    right: 22%;
    top: auto;
    bottom: 380px;
}

.kpi-roas {
    left: auto;
    right: calc(14.375% - 71px);
    top: auto;
    bottom: 520px;
}

/* Float only a few pixels so the cards remain visually attached to the graph. */
.hero-kpi {
    animation: kpiFloatReference 7.5s ease-in-out infinite
}

.kpi-conversions {
    animation-delay: -1.1s
}

.kpi-revenue {
    animation-delay: -3.5s
}

.kpi-roas {
    animation-delay: -5.6s
}

@keyframes kpiFloatReference {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-4px)
    }
}

/* Animate the exact cyan top edge of the abstract mountains slowly from left
   to right. It stays visible after the first draw. */
.mountain .line {
    stroke-width: 2.45;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation:
        mountainLineDraw 14.5s cubic-bezier(.2, .72, .2, 1) forwards,
        mountainLineBreath 4.8s ease-in-out 14.5s infinite;
    filter: drop-shadow(0 0 7px rgba(54, 235, 255, .72));
}

@keyframes mountainLineDraw {
    from {
        stroke-dashoffset: 100
    }

    to {
        stroke-dashoffset: 0
    }
}

@keyframes mountainLineBreath {

    0%,
    100% {
        opacity: .86;
        filter: drop-shadow(0 0 6px rgba(54, 235, 255, .58))
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 11px rgba(54, 235, 255, .9))
    }
}

/* A restrained moving highlight follows the same exact mountain contour. */
.mountain .line-spark {
    fill: none;
    stroke: #dffffb;
    stroke-width: 3.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    path-length: 100;
    stroke-dasharray: 1.15 98.85;
    stroke-dashoffset: 100;
    opacity: .9;
    filter: drop-shadow(0 0 8px rgba(111, 248, 245, .9));
    animation: mountainSparkTravel 18s linear 2.2s infinite;
}

@keyframes mountainSparkTravel {
    to {
        stroke-dashoffset: 0
    }
}

/* Desktop refinements to keep the boxes near the actual graph at common widths. */
@media(max-width:1200px) {
    .hero>.container {
        width: min(1180px, calc(100% - 48px));
    }

    .hero-copy {
        max-width: 860px;
    }

    .hero h1 {
        max-width: 860px;
    }

    .kpi-conversions {
        left: 50%;
        top: auto;
        bottom: 265px;
    }

    .kpi-revenue {
        right: 17%;
        top: auto;
        bottom: 375px;
    }

    .kpi-roas {
        right: calc(14.375% - 71px);
        top: auto;
        bottom: 520px;
    }
}

@media(max-width:900px) {
    .hero-copy {
        max-width: 720px;
    }

    .hero h1 {
        max-width: 720px;
    }

    .kpi-conversions {
        left: 40%;
        top: auto;
        bottom: 250px;
    }

    .kpi-revenue {
        right: 10%;
        top: auto;
        bottom: 360px;
    }

    .kpi-roas {
        right: 3%;
        top: auto;
        bottom: 450px;
    }
}

@media(max-width:700px) {
    .hero>.container {
        width: calc(100% - 34px)
    }

    .hero {
        min-height: 920px
    }

    .hero-copy {
        padding: 54px 0 455px;
        max-width: none
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 4.65rem)
    }

    .hero-gridlines {
        inset: 410px 0 0;
        background-size: 58px 58px
    }

    .hero-kpi {
        min-width: 112px;
        padding: 11px 13px
    }

    .hero-kpi strong {
        font-size: 1rem
    }

    .hero-kpi>span {
        font-size: .7rem
    }

    .kpi-conversions {
        left: 7%;
        bottom: 192px
    }

    .kpi-revenue {
        right: 7%;
        top: auto;
        bottom: 285px
    }

    .kpi-roas {
        right: 5%;
        top: auto;
        bottom: 390px
    }
}

/* Respect reduced motion with a complete static hero. */
@media(prefers-reduced-motion:reduce) {
    .mountain .line {
        stroke-dashoffset: 0;
        animation: none !important;
    }

    .mountain .line-spark {
        display: none;
    }

    .hero-kpi {
        animation: none !important;
    }
}




/* Third problem card: keep DISCONNECTED together on one line. */
.problem-card:nth-child(3) h3 .keep-word {
    display: block;
    white-space: nowrap;
}

.problem-card:nth-child(3) h3 {
    font-size: clamp(1.12rem, 1.42vw, 1.42rem);
    letter-spacing: -.05em;
}

@media(max-width:1050px) {
    .problem-card:nth-child(3) h3 {
        font-size: 1.36rem;
    }
}

@media(max-width:700px) {
    .problem-card:nth-child(3) h3 {
        font-size: 1.34rem;
    }
}




/* =========================================================
   SPACING + RESPONSIVE OPTIMIZATION
   Tightens oversized empty gaps while preserving breathing room.
   Applied to the three sections shown in the latest references.
   ========================================================= */

/* ---------- EXPERIENCE / CREDIBILITY ---------- */
.cred {
    padding: 15px 0 0px;
}

.cred-head {
    max-width: 960px;
}

.section-title.title,
.cred-head .title,
.growth-copy .section-title {
    max-width: 840px !important;
    font-size: clamp(1.65rem, 2.35vw, 2.35rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -.03em !important;
    text-wrap: balance !important;
}

.cred-head .sub {
    max-width: 820px;
    margin: 1.35rem auto 0;
    font-size: 1.02rem;
    line-height: 1.68;
}

/* ---------- REAL GROWTH PROBLEM ---------- */
.problem {
    padding: 108px 0 112px;
}

.problem-head {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .72fr);
    align-items: start;
    gap: 68px;
}

.problem-head>div {
    min-width: 0;
}

.problem-head .title {
    max-width: 720px;
    font-size: clamp(3.9rem, 5.85vw, 6.15rem);
    line-height: .89;
    letter-spacing: -.075em;
}

.problem-head>.sub {
    max-width: 485px;
    margin: 0;
    padding-top: 48px;
    font-size: 1rem;
    line-height: 1.68;
}

.problem-grid {
    margin-top: 46px;
    gap: 14px;
}

.problem-card {
    min-height: 340px;
    padding: 25px 23px;
}

.problem-card h3 {
    margin-top: 58px;
    font-size: clamp(1.18rem, 1.47vw, 1.48rem);
    line-height: .98;
}

.problem-card p {
    margin-top: .9rem;
    font-size: .88rem;
    line-height: 1.58;
}

.problem-card:nth-child(3) h3 {
    font-size: clamp(1.08rem, 1.36vw, 1.36rem);
}

.problem-card:nth-child(3) h3 .keep-word {
    white-space: nowrap;
}

/* ---------- CAPABILITIES ---------- */
.capabilities {
    padding: 108px 0 116px;
}

.cap-head {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .72fr);
    align-items: start;
    gap: 68px;
}

.cap-head>div {
    min-width: 0;
}

.cap-head .title {
    max-width: 720px;
    font-size: clamp(3.9rem, 5.85vw, 6.15rem);
    line-height: .89;
    letter-spacing: -.075em;
}

.cap-head>.sub {
    max-width: 485px;
    margin: 0;
    padding-top: 48px;
    font-size: 1rem;
    line-height: 1.68;
}

.cap-grid {
    margin-top: 48px;
    gap: 16px;
}

.cap {
    min-height: 292px;
    padding: 25px;
}

.cap h3 {
    margin-top: 48px;
    font-size: clamp(1.42rem, 1.8vw, 1.8rem);
    line-height: 1;
}

.cap p {
    font-size: .86rem;
    line-height: 1.58;
}

.cap p strong {
    font-size: .88rem;
}

/* ---------- TABLET ---------- */
@media(max-width:1050px) {
    .cred {
        padding: 15px 0 0px;
    }

    .section-title.title,
    .cred-head .title {
        font-size: clamp(1.95rem, 4.8vw, 2.75rem);
        line-height: 1.14;
        letter-spacing: -.035em;
        max-width: 760px;
    }

    .problem,
    .capabilities {
        padding: 92px 0 96px;
    }

    .problem-head,
    .cap-head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .problem-head .title,
    .cap-head .title {
        max-width: 820px;
        font-size: clamp(3.45rem, 7vw, 5.35rem);
    }

    .problem-head>.sub,
    .cap-head>.sub {
        max-width: 760px;
        padding-top: 0;
        margin: 0;
    }

    .problem-grid,
    .cap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 40px;
    }

    .problem-card {
        min-height: 300px;
    }

    .problem-card h3 {
        margin-top: 48px;
        font-size: 1.4rem;
    }

    .problem-card:nth-child(3) h3 {
        font-size: 1.3rem;
    }

    .cap {
        min-height: 275px;
    }
}

/* ---------- MOBILE ---------- */
@media(max-width:700px) {
    .cred {
        padding: 15px 0 0px;
    }

    .cred-head {
        max-width: none;
    }

    .section-title.title,
    .cred-head .title {
        max-width: 100%;
        font-size: clamp(1.65rem, 6.8vw, 2.25rem);
        line-height: 1.18;
        letter-spacing: -.03em;
        text-wrap: balance;
    }

    .cred-head .sub {
        max-width: 100%;
        margin-top: 18px;
        font-size: .94rem;
        line-height: 1.65;
    }

    .problem,
    .capabilities {
        padding: 72px 0 78px;
    }

    .problem-head,
    .cap-head {
        display: block;
    }

    .problem-head .title,
    .cap-head .title {
        max-width: 100%;
        font-size: clamp(2.7rem, 12vw, 4.05rem);
        line-height: .92;
        letter-spacing: -.066em;
        text-wrap: balance;
    }

    .problem-head>.sub,
    .cap-head>.sub {
        max-width: 100%;
        margin-top: 22px;
        padding-top: 0;
        font-size: .94rem;
        line-height: 1.65;
    }

    .problem-grid,
    .cap-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 34px;
    }

    .problem-card {
        min-height: 0;
        padding: 22px 21px 24px;
        border-radius: 22px;
    }

    .problem-card h3 {
        margin-top: 34px;
        max-width: 100%;
        font-size: 1.32rem;
        line-height: 1;
    }

    .problem-card:nth-child(3) h3 {
        font-size: 1.24rem;
    }

    .problem-card p {
        margin-top: .8rem;
        max-width: 100%;
        font-size: .89rem;
        line-height: 1.58;
    }

    .cap {
        min-height: 0;
        padding: 23px 21px 25px;
        border-radius: 22px;
    }

    .cap h3 {
        margin-top: 36px;
        font-size: 1.5rem;
        line-height: 1.02;
    }

    .cap p {
        font-size: .89rem;
        line-height: 1.58;
    }

    .cap p strong {
        font-size: .9rem;
    }

    .cap-cta {
        margin-top: 30px;
    }
}

/* Extra-small phones: prevent oversized editorial headlines from crowding. */
@media(max-width:390px) {

    .section-title.title,
    .cred-head .title {
        font-size: clamp(1.48rem, 6.5vw, 1.85rem);
        line-height: 1.2;
    }

    .problem-head .title,
    .cap-head .title {
        font-size: clamp(2.45rem, 11.8vw, 3.3rem);
    }

    .problem-card:nth-child(3) h3 {
        font-size: 1.16rem;
    }
}




/* =========================================================
   SEQUENTIAL CARD ASSEMBLY
   Problem cards, Growth System cards, and Capability cards
   appear one-by-one when their section enters the viewport.
   ========================================================= */

.problem-card.seq-card,
.cap.seq-card,
.process-card.seq-card {
    opacity: 0;
    transform: translateY(30px) scale(.94);
    filter: blur(3px);
    will-change: transform, opacity, filter;
}

/* Temporarily stop existing transform-based ambient animation while assembling. */
.process-card.seq-card:not(.seq-ready) {
    animation: none !important;
}

/* One clean "placed into position" motion. */
.problem-card.seq-card.seq-in,
.cap.seq-card.seq-in,
.process-card.seq-card.seq-in {
    animation: cardPlaceIn .72s cubic-bezier(.2, .85, .2, 1) forwards !important;
}

@keyframes cardPlaceIn {
    0% {
        opacity: 0;
        transform: translateY(32px) scale(.92);
        filter: blur(4px);
    }

    68% {
        opacity: 1;
        transform: translateY(-4px) scale(1.012);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* After each process card is placed, restore its subtle existing float. */
.process-card.seq-card.seq-ready {
    opacity: 1;
    filter: none;
    animation: processFloat 5.5s ease-in-out infinite !important;
}

.process-card.seq-card.seq-ready:nth-of-type(2) {
    animation-delay: -.8s !important
}

.process-card.seq-card.seq-ready:nth-of-type(3) {
    animation-delay: -1.6s !important
}

.process-card.seq-card.seq-ready:nth-of-type(4) {
    animation-delay: -2.4s !important
}

.process-card.seq-card.seq-ready:nth-of-type(5) {
    animation-delay: -3.2s !important
}

.process-card.seq-card.seq-ready:nth-of-type(6) {
    animation-delay: -4s !important
}

/* Once placed, problem/capability cards keep their normal hover behavior. */
.problem-card.seq-card.seq-ready,
.cap.seq-card.seq-ready {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
}

/* Mobile: same sequence, slightly shorter travel so it feels snappier. */
@media(max-width:768px) {

    .problem-card.seq-card,
    .cap.seq-card,
    .process-card.seq-card {
        transform: translateY(22px) scale(.965);
        filter: blur(2px);
    }

    @keyframes cardPlaceIn {
        0% {
            opacity: 0;
            transform: translateY(22px) scale(.955);
            filter: blur(2px);
        }

        70% {
            opacity: 1;
            transform: translateY(-3px) scale(1.006);
            filter: blur(0);
        }

        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
    }

    .process-card.seq-card.seq-ready {
        animation: none !important;
        transform: none !important;
    }
}

/* Reduced motion: show everything immediately. */
@media(prefers-reduced-motion:reduce) {

    .problem-card.seq-card,
    .cap.seq-card,
    .process-card.seq-card {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }
}




/* =========================================================
   COMPACT AGENCY-STYLE RHYTHM — FINAL OVERRIDES
   Reference direction: smaller editorial hierarchy, compact proof,
   shorter sections, fewer vertically repeated cards on mobile.
   ========================================================= */

/* NAV — hero already has its CTA, so keep the header clean. */
.nav {
    position: relative
}

.navlinks {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap !important;
}

@media(max-width:1240px) and (min-width:1051px) {
    .navlinks {
        gap: 1rem;
        font-size: 0.71rem;
    }
}

@media(max-width:1050px) {
    .navlinks {
        display: none;
    }
}

/* GLOBAL TYPE SCALE — intentionally smaller and more readable. */
.title {
    font-size: clamp(2.65rem, 4.35vw, 4.55rem) !important;
    line-height: .94 !important;
    letter-spacing: -.065em !important;
    max-width: 780px;
}

.sub {
    font-size: .94rem !important;
    line-height: 1.62 !important;
}

.eyebrow {
    font-size: .64rem;
    letter-spacing: .14em;
}

/* HERO — optimized typography and spacing inspired by orig-modiva */
.hero {
    min-height: 780px !important;
}

.hero-copy {
    max-width: 980px !important;
    padding: 82px 0 295px !important;
}

.hero h1 {
    max-width: 960px !important;
    font-size: clamp(3.15rem, 5.5vw, 5.65rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.072em !important;
}

.hero p {
    max-width: 740px !important;
    font-size: 1.05rem !important;
    line-height: 1.74 !important;
    margin-top: 1.4rem !important;
    color: #d2e8e8 !important;
    text-shadow: 0 2px 16px rgba(0, 19, 35, 0.7) !important;
}

.hero .actions {
    margin-top: 1.65rem !important;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.hero .button {
    padding: 0.82rem 1.15rem;
    font-size: 0.82rem;
}

/* CREDIBILITY / CLIENT BRAND LOGO MARQUEE STRIP */
.cred-strip {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-top: 1px solid rgba(20, 117, 130, .14);
    border-bottom: 1px solid rgba(20, 117, 130, .14);
    position: relative;
    z-index: 4;
    overflow: hidden;
}

.cred-strip:before {
    display: none !important;
}

.cred-marquee {
    position: relative;
    overflow: hidden;
    padding: 24px 0;
    background: transparent;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    display: flex;
    align-items: center;
}

.cred .cred-marquee {
    margin-top: 52px;
    border-top: 1px solid rgba(20, 117, 130, .14);
    border-bottom: 1px solid rgba(20, 117, 130, .14);
    background: rgba(255, 255, 255, .42);
    backdrop-filter: blur(10px);
}

.dark-emphasis {
    color: #0b9aa2;
}

.growth-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.growth-copy .eyebrow {
    color: #0c7785;
}

.growth-copy .section-title {
    margin: .8rem auto 0;
    max-width: 880px;
}

.growth-copy .section-subtitle {
    margin: 1.1rem auto 0;
}

.cred-marquee .brand-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: brand-marquee-flow 36s linear infinite;
    will-change: transform;
}

.cred-marquee .brand-group {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3.2vw, 30px);
    padding-right: clamp(28px, 3.2vw, 42px);
    flex-shrink: 0;
}

.cred-marquee .brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    flex-shrink: 0;
}

.cred-marquee .brand-logo-img {
    height: clamp(30px, 3.2vw, 42px);
    max-height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.cred-marquee .brand-logo:hover .brand-logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

@keyframes brand-marquee-flow {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ---------- CLIENT TESTIMONIALS (MOVING MARQUEE) ---------- */
.testimonials-moving {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background:
        radial-gradient(circle at 50% 0%, rgba(82, 221, 215, 0.18), transparent 30%),
        linear-gradient(180deg, #e6f4f1, #fbfefd);
    border-bottom: 1px solid rgba(20, 117, 130, 0.12);
}

.testimonial-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.testimonial-head .eyebrow {
    color: #0b7785;
    margin-bottom: 0.85rem;
}

.testimonial-head .section-title {
    margin: 0 auto;
    color: #08243b;
    font-size: clamp(2.35rem, 4vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.testimonial-head .dark-emphasis {
    color: #0c7785;
}

.testimonial-marquee {
    margin-top: 52px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonial-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: quote-flow 60s linear infinite;
    will-change: transform;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.quote-moving {
    width: 360px;
    flex: 0 0 360px;
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(222, 244, 239, 0.88));
    border: 1px solid rgba(101, 194, 191, 0.45);
    box-shadow: 0 18px 36px rgba(9, 79, 90, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quote-moving:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(9, 79, 90, 0.12);
}

.quote-moving .stars {
    letter-spacing: 0.14em;
    color: #f6c945;
    font-size: 0.88rem;
}

.quote-moving blockquote {
    min-height: 128px;
    margin: 17px 0 22px;
    padding: 0;
    color: #143d4f;
    line-height: 1.68;
    font-size: 0.9rem;
}

.quote-moving .person {
    padding-top: 17px;
    border-top: 1px solid rgba(20, 125, 138, 0.15);
}

.quote-moving .person strong {
    display: block;
    color: #123646;
    font-size: 0.85rem;
    font-weight: 700;
}

.quote-moving .person span {
    display: block;
    margin-top: 4px;
    color: #5c7b84;
    font-size: 0.73rem;
}

@keyframes quote-flow {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* TIGHTER SECTION RHYTHM. */
.problem,
.approach,
.case,
.system,
.capabilities {
    padding: 92px 0 !important;
}

.final {
    padding: 96px 0 88px !important;
}

.problem-grid,
.cap-grid {
    margin-top: 38px !important;
}

.case-story {
    margin-top: 38px !important;
}

.process-board {
    margin-top: 42px !important;
}

.growth-map {
    margin-top: 44px !important;
}

/* HEAD + COPY ALIGNMENT. */
.problem-head,
.case-head,
.system-head,
.cap-head {
    gap: 48px !important;
    align-items: start !important;
}

.problem-head>.sub,
.case-head>.sub,
.system-head>.sub,
.cap-head>.sub {
    padding-top: 34px !important;
    max-width: 470px !important;
    font-size: .9rem !important;
}

.approach .title {
    max-width: 820px !important
}

.approach .sub {
    max-width: 780px !important;
    font-size: .91rem !important
}

/* PROBLEM CARDS — much smaller and faster to scan. */
.problem-grid {
    gap: 11px !important;
}

.problem-card {
    min-height: 260px !important;
    padding: 19px 18px !important;
    border-radius: 19px !important;
}

.problem-card h3 {
    margin-top: 38px !important;
    font-size: clamp(1rem, 1.23vw, 1.2rem) !important;
    line-height: 1 !important;
}

.problem-card:nth-child(3) h3 {
    font-size: clamp(.94rem, 1.13vw, 1.1rem) !important;
}

.problem-card p {
    margin-top: .7rem !important;
    font-size: .76rem !important;
    line-height: 1.52 !important;
}

.card-num {
    font-size: .59rem
}

/* APPROACH — retain visual identity but reduce card bulk. */
.growth-map {
    height: 540px !important;
    max-width: 1060px !important;
}

.map-orbit {
    width: 420px !important;
    height: 420px !important
}

.map-center {
    width: 165px !important;
    height: 165px !important
}

.map-center strong {
    font-size: 1.02rem !important
}

.map-card {
    width: 292px !important;
    min-height: 178px !important;
    padding: 21px 22px !important;
    border-radius: 19px !important;
}

.map-card h3 {
    margin-top: 18px !important;
    font-size: 1.35rem !important;
}

.map-card p {
    font-size: .8rem !important;
    line-height: 1.5 !important;
}

.map-card small {
    font-size: .61rem !important
}

.map-card.demand,
.map-card.conversion {
    top: 42px !important
}

.map-card.economics,
.map-card.scale {
    bottom: 36px !important
}

/* CASE STUDY — smaller proof block + clear company context. */
.case-story {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 25px !important;
    border-radius: 24px !important;
}

.case-top {
    padding-bottom: 18px !important;
}

.case-company {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.case-company>span {
    color: #bcebe5;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.case-company strong {
    font-size: .92rem !important
}

.case-tag {
    font-size: .56rem !important;
    padding: .4rem .56rem !important;
}

.case-metrics {
    gap: 11px !important;
    margin-top: 18px !important;
}

.metric {
    min-height: 205px !important;
    padding: 20px !important;
    border-radius: 17px !important;
}

.metric-label {
    font-size: .61rem !important
}

.metric-value {
    font-size: clamp(2.8rem, 4.4vw, 4.65rem) !important;
}

.case-metrics .metric:first-child .metric-value {
    font-size: clamp(2.65rem, 4.1vw, 4.35rem) !important;
}

.metric-arrow {
    font-size: 1.1rem !important
}

.metric-note {
    font-size: .68rem !important
}

.case-foot {
    margin-top: 17px !important
}

.case-foot p {
    font-size: .76rem !important;
    line-height: 1.52 !important
}

.case-foot .button {
    padding: .75rem .95rem;
    font-size: .74rem
}

/* GROWTH SYSTEM — turn the 3x2 board into a compact horizontal process on desktop. */
.system {
    padding-bottom: 88px !important
}

.process-board {
    height: auto !important;
    max-width: 1180px !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-template-rows: 1fr !important;
    gap: 9px !important;
    align-items: stretch !important;
    position: relative;
}

.process-path {
    display: none !important
}

.process-board:before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 30px;
    height: 1px;
    background: linear-gradient(90deg, rgba(11, 119, 133, .22), rgba(32, 215, 223, .65), rgba(11, 119, 133, .22));
    z-index: 0;
}

.process-card,
.process-card.p1,
.process-card.p2,
.process-card.p3,
.process-card.p4,
.process-card.p5,
.process-card.p6 {
    grid-column: auto !important;
    grid-row: auto !important;
}

.process-card {
    min-height: 178px !important;
    padding: 54px 15px 16px !important;
    border-radius: 17px !important;
    display: block !important;
}

.process-num {
    left: 15px !important;
    top: 13px !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    font-size: .62rem !important;
}

.process-card h3 {
    font-size: .84rem !important;
    line-height: 1 !important;
}

.process-card p {
    margin-top: .52rem !important;
    font-size: .68rem !important;
    line-height: 1.45 !important;
}

.process-tag {
    top: 12px !important;
    right: 10px !important;
    font-size: .45rem !important;
    padding: 4px 6px !important;
}

/* CAPABILITIES — keep information, reduce visual card repetition and bulk. */
.cap-grid {
    gap: 12px !important;
}

.cap {
    min-height: 228px !important;
    padding: 19px 20px !important;
    border-radius: 19px !important;
}

.cap h3 {
    margin-top: 34px !important;
    font-size: 1.3rem !important;
    line-height: 1 !important;
}

.cap p {
    font-size: .74rem !important;
    line-height: 1.5 !important;
}

.cap p strong {
    font-size: .76rem !important;
    margin-bottom: .25rem !important;
}

.cap-num {
    font-size: .6rem !important
}

.cap-cta {
    margin-top: 28px !important
}

.cap-cta .button {
    padding: .75rem .95rem;
    font-size: .74rem
}

/* FINAL CTA — smaller, faster close. */
.final-intro {
    max-width: 760px !important;
}

.final-intro .title {
    font-size: clamp(2.7rem, 4.5vw, 4.6rem) !important;
}

.final-intro .sub {
    max-width: 650px !important;
    font-size: .9rem !important;
}

.final .bottom-logos {
    display: none !important
}

.work-together-wrap {
    margin-top: 50px !important
}

/* TABLET */
@media(max-width:1050px) {
    .title {
        font-size: clamp(2.55rem, 5.8vw, 4rem) !important;
    }

    .problem-head,
    .case-head,
    .system-head,
    .cap-head {
        flex-direction: column !important;
        gap: 18px !important;
    }

    .problem-head>.sub,
    .case-head>.sub,
    .system-head>.sub,
    .cap-head>.sub {
        padding-top: 0 !important;
        max-width: 720px !important;
    }

    .process-board {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .process-board:before {
        display: none
    }

    .process-card {
        min-height: 155px !important
    }
}

/* MOBILE — compact typography + vertical card stacks strictly for mobile viewports. */
@media(max-width:768px) {
    .container {
        width: calc(100% - 32px) !important
    }

    .hero {
        min-height: 760px !important;
    }

    .nav {
        padding: 16px 0 !important
    }

    .brand img {
        width: 46px !important;
        height: 34px !important
    }

    .brand strong {
        font-size: .98rem !important
    }

    .hero-copy {
        padding: 48px 0 330px !important;
        max-width: none !important;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 11.4vw, 3.55rem) !important;
        line-height: .94 !important;
        letter-spacing: -.06em !important;
    }

    .hero p {
        font-size: .86rem !important;
        line-height: 1.58 !important;
        margin-top: 1rem !important;
    }

    .hero .actions {
        gap: .55rem !important;
        margin-top: 1.1rem !important;
    }

    .hero .button {
        padding: .68rem .82rem !important;
        font-size: .7rem !important;
    }

    /* keep KPI count boxes usable on small screens */
    .hero-kpi {
        min-width: 96px !important;
        padding: 9px 10px !important;
    }

    .hero-kpi strong {
        font-size: .86rem !important
    }

    .hero-kpi>span {
        font-size: .61rem !important;
        margin-top: 5px !important
    }

    .kpi-conversions {
        left: 5% !important;
        bottom: 156px !important
    }

    .kpi-revenue {
        right: 7% !important;
        top: auto !important;
        bottom: 240px !important
    }

    .kpi-roas {
        right: 5% !important;
        top: auto !important;
        bottom: 330px !important
    }

    /* compact credibility marquee */
    .cred-strip {
        padding: 0 !important;
    }

    .cred-marquee {
        padding: 16px 0 !important;
    }

    .cred .cred-marquee {
        margin-top: 36px !important;
    }

    .cred-marquee .brand-group {
        gap: 22px !important;
        padding-right: 22px !important;
    }

    .cred-marquee .brand-logo-img {
        height: 26px !important;
        max-width: 120px !important;
    }

    /* mobile testimonials marquee */
    .testimonials-moving {
        padding: 58px 0 64px !important;
    }

    .testimonial-head .section-title {
        font-size: clamp(2rem, 8.5vw, 2.75rem) !important;
        line-height: 1.05 !important;
    }

    .testimonial-marquee {
        margin-top: 32px !important;
    }

    .quote-moving {
        width: 300px !important;
        flex: 0 0 300px !important;
        padding: 20px !important;
    }

    .quote-moving blockquote {
        min-height: 136px !important;
        font-size: 0.84rem !important;
    }

    /* global section rhythm — tight 32px padding for fast mobile scanning */
    .problem,
    .approach,
    .case,
    .system,
    .capabilities {
        padding: 32px 0 !important;
    }

    .final {
        padding: 32px 0 !important;
    }

    .title {
        font-size: clamp(2.15rem, 9.6vw, 2.85rem) !important;
        line-height: .96 !important;
        letter-spacing: -.055em !important;
    }

    .sub {
        font-size: .82rem !important;
        line-height: 1.58 !important;
    }

    .problem-head>.sub,
    .case-head>.sub,
    .system-head>.sub,
    .cap-head>.sub {
        margin-top: 10px !important;
        font-size: .8rem !important;
        line-height: 1.5 !important;
    }

    .problem-grid,
    .cap-grid,
    .case-metrics,
    .process-board,
    .growth-map {
        margin-top: 18px !important;
    }

    /* Problem Cards & Capabilities Cards: clean single-column vertical stack */
    .problem-grid,
    .cap-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
        padding: 0 !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
    }

    .problem-card,
    .cap,
    .metric,
    .process-card,
    .map-card {
        scroll-snap-align: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .problem-card,
    .cap {
        min-height: unset !important;
        height: auto !important;
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .problem-card .card-num,
    .cap .cap-num {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: var(--teal) !important;
        letter-spacing: .08em !important;
        line-height: 1 !important;
    }

    .problem-card h3,
    .cap h3 {
        margin-top: 8px !important;
        margin-bottom: 6px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--ink) !important;
        line-height: 1.3 !important;
        letter-spacing: -.02em !important;
        word-break: break-word !important;
    }

    .problem-card p,
    .cap p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #4b5563 !important;
        line-height: 1.45 !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        text-overflow: clip !important;
        height: auto !important;
        max-height: none !important;
    }

    .problem-card p strong {
        font-weight: 400 !important;
        color: inherit !important;
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .cap p strong {
        display: block !important;
        font-weight: 700 !important;
        color: #173f4e !important;
        font-size: inherit !important;
        line-height: inherit !important;
        margin-bottom: .25rem !important;
    }

    /* Process & Approach: flattened compact horizontal rows */
    .process-board,
    .growth-map {
        height: auto !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
    }

    .map-orbit,
    .map-center,
    .map-connectors,
    .process-path,
    .process-board:before {
        display: none !important;
    }

    .map-card,
    .map-card.demand,
    .map-card.conversion,
    .map-card.economics,
    .map-card.scale {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 2px 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        scroll-snap-align: none !important;
    }

    .map-card h3 {
        font-size: 15px !important;
        margin-top: 0 !important;
    }

    .map-card p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .map-card small {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    /* Case metrics remain horizontal and counters animate as the section enters. */
    .case-story {
        padding: 17px !important;
        margin-top: 26px !important;
    }

    .case-top {
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .case-company>span {
        font-size: .55rem !important
    }

    .case-company strong {
        font-size: .78rem !important
    }

    .case-tag {
        font-size: .48rem !important
    }

    .case-metrics {
        width: calc(100% + 17px);
    }

    .metric {
        min-height: 176px !important;
        padding: 16px !important;
    }

    .metric-value,
    .case-metrics .metric:first-child .metric-value {
        font-size: 2.75rem !important;
    }

    .metric-note {
        font-size: .62rem !important
    }

    .case-foot {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .case-foot p {
        font-size: .7rem !important
    }

    /* Horizontal process: six compact steps, swipe instead of tall stacking. */
    .process-board {
        height: auto !important;
        grid-auto-columns: min(78vw, 270px) !important;
    }

    .process-board:before {
        display: none !important
    }

    .process-card,
    .process-card.p1,
    .process-card.p2,
    .process-card.p3,
    .process-card.p4,
    .process-card.p5,
    .process-card.p6 {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .process-card {
        min-height: 145px !important;
        padding: 50px 16px 15px !important;
    }

    .process-card h3 {
        font-size: .84rem !important
    }

    .process-card p {
        font-size: .67rem !important
    }

    .problem-card,
    .cap {
        min-height: unset !important;
        height: auto !important;
        padding: 16px !important;
    }

    .problem-card h3,
    .cap h3 {
        margin-top: 8px !important;
        margin-bottom: 6px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--ink) !important;
        line-height: 1.3 !important;
    }

    .problem-card p,
    .problem-card p strong,
    .cap p {
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #4b5563 !important;
        line-height: 1.45 !important;
    }

    .cap p strong {
        display: block !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #173f4e !important;
        line-height: 1.45 !important;
        margin-bottom: .25rem !important;
    }

    .cap-cta {
        margin-top: 20px !important
    }

    .final-intro .title {
        font-size: clamp(2.2rem, 9.7vw, 2.95rem) !important;
    }

    .final-intro .sub {
        font-size: .8rem !important;
    }

    .work-together-wrap {
        margin-top: 34px !important
    }

    .work-together-form {
        padding: 18px !important
    }

    .work-together-form h3 {
        font-size: 1.35rem !important
    }
}

/* very small phones */
@media(max-width:390px) {
    .hero h1 {
        font-size: 2.45rem !important
    }

    .title {
        font-size: 2.08rem !important
    }

    .cred-strip-title {
        font-size: 1.42rem !important
    }
}




/* =========================================================
   MOBILE-ONLY CLEANUP
   Desktop/tablet layout is intentionally left unchanged.
   Fixes hero overlap + keeps every swipe card fully intact.
   ========================================================= */

@media(max-width:768px) {

    /* ---------- HERO: keep text/CTA clear of the graph ---------- */
    .hero {
        min-height: unset !important;
        height: auto !important;
        background:
            radial-gradient(ellipse 68% 42% at 88% 10%, rgba(32, 215, 223, .13), transparent 70%),
            linear-gradient(180deg, #071d35 0%, #092b47 48%, #0a3b56 100%) !important;
    }

    .hero>.container {
        width: calc(100% - 32px) !important;
        position: relative;
        z-index: 10;
    }

    .hero-copy {
        position: relative !important;
        z-index: 10 !important;
        padding: 32px 0 0 !important;
        max-width: none !important;
    }

    .hero .eyebrow {
        font-size: .56rem !important;
        line-height: 1.35 !important;
        letter-spacing: .13em !important;
        gap: .45rem !important;
    }

    .hero .eyebrow:before {
        width: 22px !important;
        flex: 0 0 22px;
    }

    .hero h1 {
        max-width: 100% !important;
        margin-top: 1rem !important;
        font-size: clamp(2.42rem, 10.7vw, 3.18rem) !important;
        line-height: .95 !important;
        letter-spacing: -.058em !important;
    }

    .hero p {
        max-width: 100% !important;
        margin-top: 1rem !important;
        font-size: .82rem !important;
        line-height: 1.56 !important;
    }

    .hero .actions {
        position: relative;
        z-index: 11;
        display: grid !important;
        grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important;
        gap: 8px !important;
        width: 100%;
        margin-top: 1.05rem !important;
    }

    .hero .button {
        width: 100%;
        min-width: 0;
        padding: .7rem .65rem !important;
        font-size: .66rem !important;
        white-space: nowrap;
    }

    /* The graph/mountain now begins safely below the content. */
    .hero .mountain {
        z-index: 2 !important;
        height: 320px !important;
        bottom: 0 !important;
        opacity: .92 !important;
    }

    .hero-performance {
        inset: 0 !important;
        z-index: 4 !important;
        overflow: hidden !important;
    }

    .hero-gridlines {
        inset: 535px 0 0 !important;
        opacity: .11 !important;
        background-size: 56px 56px !important;
        mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 100%) !important;
    }

    /* Three KPI boxes follow the rising line without touching the copy/CTA. */
    .hero-kpi {
        z-index: 6 !important;
        min-width: 94px !important;
        max-width: 106px !important;
        padding: 9px 10px 8px !important;
        border-radius: 11px !important;
        box-shadow:
            0 10px 24px rgba(0, 0, 0, .2),
            inset 0 0 18px rgba(75, 221, 226, .05) !important;
    }

    .hero-kpi .kpi-top {
        gap: 5px !important
    }

    .hero-kpi strong {
        font-size: .82rem !important
    }

    .hero-kpi>span {
        margin-top: 4px !important;
        font-size: .58rem !important;
    }

    .kpi-triangle {
        font-size: .5rem !important
    }

    .kpi-conversions {
        left: 7% !important;
        right: auto !important;
        top: auto !important;
        bottom: 74px !important;
    }

    .kpi-revenue {
        left: auto !important;
        right: 8% !important;
        top: auto !important;
        bottom: 158px !important;
    }

    .kpi-roas {
        left: auto !important;
        right: 5% !important;
        top: auto !important;
        bottom: 244px !important;
    }

    /* Keep the mobile mountain line crisp, intact, and slower. */
    .mountain .line {
        stroke-width: 2.2 !important;
        animation:
            mountainLineDraw 16s cubic-bezier(.2, .72, .2, 1) forwards,
            mountainLineBreath 5.6s ease-in-out 16s infinite !important;
    }

    .mountain .line-spark {
        stroke-width: 2.7 !important;
        animation: mountainSparkTravel 20s linear 2.5s infinite !important;
    }

    /* ---------- MOBILE SECTION HEADINGS ---------- */
    .system-head .title,
    .cap-head .title,
    .problem-head .title,
    .case-head .title {
        font-size: clamp(2rem, 8.6vw, 2.55rem) !important;
        line-height: .98 !important;
        letter-spacing: -.05em !important;
    }

    .system-head>.sub,
    .cap-head>.sub,
    .problem-head>.sub,
    .case-head>.sub {
        margin-top: 13px !important;
        font-size: .77rem !important;
        line-height: 1.52 !important;
    }

    /* ---------- GENERAL MOBILE SECTION SPACING (py-8 / 32px 0) ---------- */
    .problem,
    .approach,
    .case,
    .system,
    .capabilities,
    .final {
        padding: 32px 0 !important;
    }

    /* ---------- 1. PROBLEM CARDS & CAPABILITIES CARDS (CLEAN SINGLE-COLUMN VERTICAL STACKS) ---------- */
    .problem-grid,
    .cap-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 18px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        gap: 14px !important;

        display: flex !important;
        flex-direction: column !important;

        overflow-x: visible !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
    }

    .problem-card,
    .cap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: unset !important;
        height: auto !important;
        box-sizing: border-box !important;
        scroll-snap-align: none !important;
        padding: 16px !important;
        border: 1px solid rgba(72, 169, 172, .32) !important;
        border-radius: 14px !important;
        background: linear-gradient(150deg, #fff, #f2f9f6) !important;
        box-shadow: 0 4px 14px rgba(7, 76, 88, .05) !important;
        overflow: hidden;
    }

    .problem-card .card-num,
    .cap .cap-num {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: var(--teal) !important;
        letter-spacing: .08em !important;
        line-height: 1 !important;
    }

    .problem-card h3,
    .cap h3,
    .problem-card:nth-child(3) h3 {
        margin-top: 8px !important;
        margin-bottom: 6px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--ink) !important;
        line-height: 1.3 !important;
        letter-spacing: -.02em !important;
        word-break: break-word !important;
        white-space: normal !important;
    }

    .problem-card p,
    .cap p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #4b5563 !important;
        line-height: 1.45 !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        text-overflow: clip !important;
        height: auto !important;
        max-height: none !important;
    }

    .problem-card p strong {
        font-weight: 400 !important;
        color: inherit !important;
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .cap p strong {
        display: block !important;
        font-weight: 700 !important;
        color: #173f4e !important;
        font-size: inherit !important;
        line-height: inherit !important;
        margin-bottom: .25rem !important;
    }

    .cap-cta {
        margin-top: 18px !important;
    }

    /* ---------- 2. PROCESS & APPROACH CARDS (FLATTENED COMPACT ROWS) ----------
       Removed borders/backgrounds/shadows; restructured into horizontal rows with
       icon/step number on the left and title + description on the right; 12px vertical gap */
    .process-board,
    .growth-map {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 18px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        gap: 12px !important;

        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;

        overflow-x: visible !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
    }

    .map-orbit,
    .map-center,
    .map-connectors,
    .process-path,
    .process-board:before {
        display: none !important;
    }

    /* Process Row Item */
    .process-card,
    .process-card.p1,
    .process-card.p2,
    .process-card.p3,
    .process-card.p4,
    .process-card.p5,
    .process-card.p6 {
        grid-column: auto !important;
        grid-row: auto !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: auto !important;
        padding: 2px 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        scroll-snap-align: none !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .process-num {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        flex-shrink: 0 !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 8px !important;
        display: grid !important;
        place-items: center !important;
        font-size: .72rem !important;
        font-weight: 900 !important;
        margin: 0 !important;
        background: rgba(11, 108, 120, .12) !important;
        color: var(--teal) !important;
        border: 1px solid rgba(11, 108, 120, .22) !important;
    }

    .process-card>div {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .process-card h3 {
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
        letter-spacing: -.03em !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .process-card p {
        margin-top: 3px !important;
        margin-bottom: 0 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        color: #3f606a !important;
    }

    .process-tag {
        position: static !important;
        font-size: .5rem !important;
        padding: 2px 6px !important;
        letter-spacing: .08em !important;
        border-radius: 6px !important;
    }

    /* Approach Row Item */
    .map-card,
    .map-card.demand,
    .map-card.conversion,
    .map-card.economics,
    .map-card.scale {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: auto !important;
        padding: 2px 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        box-sizing: border-box !important;
        scroll-snap-align: none !important;

        display: grid !important;
        grid-template-columns: 34px 1fr !important;
        column-gap: 12px !important;
        row-gap: 0 !important;
        align-items: start !important;
    }

    .map-card:after,
    .map-card.demand:after,
    .map-card.conversion:after,
    .map-card.economics:after,
    .map-card.scale:after {
        content: none !important;
        display: none !important;
    }

    .map-card .map-num {
        grid-column: 1 !important;
        grid-row: 1 / span 3 !important;
        font-size: 0 !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 8px !important;
        background: rgba(32, 215, 223, .12) !important;
        border: 1px solid rgba(32, 215, 223, .25) !important;
        color: var(--mint) !important;
        display: grid !important;
        place-items: center !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .map-card.demand .map-num::before {
        content: "01";
        font-size: .72rem;
        font-weight: 900;
    }

    .map-card.conversion .map-num::before {
        content: "02";
        font-size: .72rem;
        font-weight: 900;
    }

    .map-card.economics .map-num::before {
        content: "03";
        font-size: .72rem;
        font-weight: 900;
    }

    .map-card.scale .map-num::before {
        content: "04";
        font-size: .72rem;
        font-weight: 900;
    }

    .map-card h3 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
        letter-spacing: -.03em !important;
        color: white !important;
    }

    .map-card p {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 3px !important;
        margin-bottom: 0 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        color: #c4e4df !important;
    }

    .map-card small {
        grid-column: 2 !important;
        grid-row: 3 !important;
        display: block !important;
        margin-top: 3px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        color: var(--mint) !important;
        opacity: .85 !important;
    }

    /* Case metrics: compact vertical stack */
    .case-metrics {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 16px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        gap: 12px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .metric {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 140px !important;
        padding: 14px 16px !important;
        border: 1px solid rgba(212, 255, 250, .18) !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
        scroll-snap-align: none !important;
    }
}

/* Narrow iPhones: ensure clean scaling */
@media(max-width:380px) {
    .hero {
        min-height: unset !important;
        height: auto !important;
    }

    .hero-copy {
        padding-bottom: 0 !important;
    }

    .hero h1 {
        font-size: 2.32rem !important;
    }
}




/* =========================================================
   TARGETED FIXES
   - Mobile DISCONNECTED EXECUTION stays on one line
   - Desktop approach connector lines extend fully to each card
   - Counting values get a subtle active state
   ========================================================= */

/* Desktop/tablet approach connectors: a little clearer while remaining subtle. */
@media(min-width:769px) {
    .map-connectors .connector {
        stroke-width: 1.35 !important;
        stroke-dasharray: 7 8 !important;
        opacity: .95 !important;
        filter: drop-shadow(0 0 6px rgba(32, 215, 223, .22)) !important;
    }
}

/* Mobile card 03 headline: uniform with all cards */
@media(max-width:768px) {
    #problem .problem-card:nth-child(3) h3 {
        display: block !important;
        white-space: normal !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        letter-spacing: 0.04em !important;
        margin: 0 !important;
    }

    #problem .problem-card:nth-child(3) h3 .keep-word {
        display: inline !important;
        font: inherit !important;
        letter-spacing: inherit !important;
    }
}

/* Visual feedback while case-study values are actively counting. */
#results .metric {
    transition: border-color .25s ease, box-shadow .25s ease;
}

#results .metric.metric-counting {
    border-color: rgba(166, 241, 228, .34) !important;
    box-shadow:
        inset 0 0 22px rgba(98, 235, 228, .045),
        0 10px 28px rgba(1, 31, 43, .08) !important;
}

#results .metric.metric-counting .metric-value {
    text-shadow: 0 0 14px rgba(166, 241, 228, .12);
}

.case-head-count {
    display: inline-block;
    min-width: 2.55ch;
    font-variant-numeric: tabular-nums;
}




/* =========================================================
   APPROACH CONNECTOR CLEANUP
   Keep only the animated dashed/invisible SVG connector paths.
   Remove the extra solid horizontal card-to-center lines.
   ========================================================= */
@media(min-width:769px) {

    .growth-map .map-card:after,
    .growth-map .map-card.demand:after,
    .growth-map .map-card.conversion:after,
    .growth-map .map-card.economics:after,
    .growth-map .map-card.scale:after {
        content: none !important;
        display: none !important;
    }

    .map-connectors .connector {
        display: block !important;
        stroke-width: 1.35 !important;
        stroke-dasharray: 7 8 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        opacity: .9 !important;
        animation: connectorFlow 3.8s linear infinite, connectorBreath 2.8s ease-in-out infinite !important;
    }
}




/* =========================================================
   MOBILE-ONLY HERO KPI POSITION FIX
   Move the Revenue card down and left so it follows the graph
   cleanly instead of floating awkwardly on the far-right peak.
   Desktop/tablet are unchanged.
   ========================================================= */
@media(max-width:768px) {
    .kpi-conversions {
        left: 8% !important;
        right: auto !important;
        top: auto !important;
        bottom: 112px !important;
    }

    .kpi-revenue {
        left: 40% !important;
        right: auto !important;
        top: auto !important;
        bottom: 118px !important;
    }

    .kpi-roas {
        left: auto !important;
        right: 5% !important;
        top: auto !important;
        bottom: 202px !important;
    }
}

@media(max-width:380px) {
    .kpi-conversions {
        left: 6% !important;
        bottom: 106px !important;
    }

    .kpi-revenue {
        left: 38% !important;
        right: auto !important;
        top: auto !important;
        bottom: 112px !important;
    }

    .kpi-roas {
        right: 5% !important;
        bottom: 196px !important;
    }
}

/* Ensure capabilities card highlights retain their signature color and emphasis on all screen sizes */
.cap p strong {
    color: #173f4e !important;
    font-weight: 700 !important;
}

/* =========================================================
   FEATURED GROWTH STORY: DASHBOARD & BOUNDARY ALIGNMENT
   Aligns header text (headline and paragraph) with the exact
   outer boundaries of the MODIVA GROWTH DASHBOARD card.
   ========================================================= */
.case-wrap {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.case-head {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 36px !important;
    box-sizing: border-box !important;
}

.case-head>div:first-child {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.case-head .eyebrow {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    align-self: flex-start !important;
}

.case-head .title {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    font-size: clamp(2.1rem, 3.4vw, 3.1rem) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    text-align: left !important;
}

.case-head .sub.desktop-only {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: flex-end !important;
    font-size: .95rem !important;
    line-height: 1.65 !important;
    color: var(--muted) !important;
}

.case-story {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 22px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
}

.case-top {
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(211, 255, 249, .14) !important;
    gap: 12px !important;
}

.case-dash-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-dash-left .dash-icon {
    color: var(--mint);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.case-dash-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.case-dash-meta strong {
    font-size: .82rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}

.case-dash-sub {
    font-size: .64rem;
    color: #bcebe5;
    font-weight: 600;
    letter-spacing: .02em;
}

.case-dash-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.case-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    font-weight: 700;
    color: #39e58c;
    letter-spacing: .02em;
}

.live-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39e58c;
    box-shadow: 0 0 0 0 rgba(57, 229, 140, .7);
    animation: livePulseGlow 2s infinite cubic-bezier(.4, 0, .2, 1);
}

@keyframes livePulseGlow {
    0% {
        transform: scale(.95);
        box-shadow: 0 0 0 0 rgba(57, 229, 140, .7), 0 0 6px #39e58c;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(57, 229, 140, 0), 0 0 10px #39e58c;
    }

    100% {
        transform: scale(.95);
        box-shadow: 0 0 0 0 rgba(57, 229, 140, 0), 0 0 6px #39e58c;
    }
}

/* Triangle Grid — optimized compact gaps and margins */
.case-metrics-triangle {
    position: relative;
    z-index: 2;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Top of triangle: ROAS centered */
.case-metrics-triangle .metric-roas {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 380px !important;
}

/* Bottom left: Revenue */
.case-metrics-triangle .metric-revenue {
    grid-column: 1 !important;
    width: 100% !important;
}

/* Bottom right: Ad Spend */
.case-metrics-triangle .metric-spend {
    grid-column: 2 !important;
    width: 100% !important;
}

/* Card aesthetics — compact padding and balanced display typography */
.case-metrics-triangle .metric {
    min-height: 145px !important;
    padding: 18px 20px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .065) !important;
    border: 1px solid rgba(212, 255, 250, .18) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.case-metrics-triangle .metric:hover {
    background: rgba(255, 255, 255, .1) !important;
    border-color: rgba(212, 255, 250, .36) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(3, 48, 62, .25) !important;
}

.case-metrics-triangle .metric-label {
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #bcebe5 !important;
    text-align: center !important;
    margin: 0 !important;
}

.case-metrics-triangle .metric-values {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 3px !important;
    margin: 8px 0 10px !important;
    width: 100% !important;
}

.case-metrics-triangle .metric-value {
    font-size: clamp(2rem, 3.2vw, 2.75rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -.035em !important;
    color: #ffffff !important;
    white-space: nowrap !important;
}

.case-metrics-triangle .metric-value .suffix {
    font-size: .62em !important;
    letter-spacing: -.03em !important;
    color: rgba(255, 255, 255, .9) !important;
}

.case-metrics-triangle .metric-trend {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-top: auto !important;
}

.case-metrics-triangle .trend-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.case-metrics-triangle .trend-pill.positive {
    color: #39e58c;
}

.case-metrics-triangle .trend-pill.saving {
    color: #36e5ff;
}

.case-metrics-triangle .trend-arrow {
    font-size: .72rem;
}

.case-metrics-triangle .trend-detail {
    font-size: .72rem;
    font-weight: 500;
    color: rgba(212, 255, 250, .8);
}

.case-foot {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(211, 255, 249, .12) !important;
    gap: 16px !important;
}

.case-foot p {
    font-size: .78rem !important;
    line-height: 1.5 !important;
}

.case-foot .button {
    padding: .65rem 1.15rem !important;
    font-size: .8rem !important;
}

@media(max-width: 768px) {
    .case-story {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 14px !important;
        margin-top: 0 !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }

    .case-top {
        padding-bottom: 10px !important;
        gap: 8px !important;
    }

    /* Retain triangle/pyramid format on tablet & mobile */
    .case-metrics-triangle {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 12px !important;
        width: 100% !important;
    }

    /* Top of triangle: ROAS centered */
    .case-metrics-triangle .metric-roas {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: 100% !important;
        max-width: 320px !important;
        padding: 14px 16px !important;
        min-height: unset !important;
    }

    /* Bottom left: Revenue */
    .case-metrics-triangle .metric-revenue {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 13px 12px !important;
        min-height: unset !important;
    }

    /* Bottom right: Ad Spend */
    .case-metrics-triangle .metric-spend {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 13px 12px !important;
        min-height: unset !important;
    }

    .case-metrics-triangle .metric-value {
        font-size: clamp(1.65rem, 4.2vw, 2.2rem) !important;
    }

    .case-metrics-triangle .metric-roas .metric-value {
        font-size: clamp(1.85rem, 4.8vw, 2.4rem) !important;
    }

    .case-foot {
        margin-top: 14px !important;
        padding-top: 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .case-foot p {
        font-size: .74rem !important;
        line-height: 1.45 !important;
    }

    .case-foot .button {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: .65rem 1rem !important;
        font-size: .78rem !important;
    }
}

@media(max-width: 480px) {
    .case-story {
        padding: 12px 10px !important;
        border-radius: 15px !important;
        margin-top: 16px !important;
    }

    .case-top {
        padding-bottom: 8px !important;
    }

    .case-dash-left {
        gap: 8px !important;
    }

    .case-dash-left .dash-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .case-dash-meta strong {
        font-size: .72rem !important;
    }

    .case-dash-sub {
        font-size: .56rem !important;
    }

    /* Retain triangle/pyramid layout on small mobile screens */
    .case-metrics-triangle {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    /* Top apex: ROAS centered */
    .case-metrics-triangle .metric-roas {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: 100% !important;
        max-width: 250px !important;
        padding: 11px 10px !important;
        min-height: unset !important;
    }

    /* Bottom left base: Revenue */
    .case-metrics-triangle .metric-revenue {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 10px 6px !important;
        min-height: unset !important;
    }

    /* Bottom right base: Ad Spend */
    .case-metrics-triangle .metric-spend {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 10px 6px !important;
        min-height: unset !important;
    }

    .case-metrics-triangle .metric-label {
        font-size: .65rem !important;
        letter-spacing: .05em !important;
    }

    .case-metrics-triangle .metric-values {
        margin: 4px 0 6px !important;
    }

    .case-metrics-triangle .metric-value {
        font-size: 1.45rem !important;
    }

    .case-metrics-triangle .metric-roas .metric-value {
        font-size: 1.85rem !important;
    }

    .case-metrics-triangle .metric-value .suffix {
        font-size: .6em !important;
    }

    .case-metrics-triangle .metric-trend {
        gap: 2px 4px !important;
    }

    .case-metrics-triangle .trend-pill {
        font-size: .7rem !important;
        gap: 2px !important;
    }

    .case-metrics-triangle .trend-arrow {
        font-size: .65rem !important;
    }

    .case-metrics-triangle .trend-detail {
        font-size: .6rem !important;
        letter-spacing: -.02em !important;
    }

    .case-foot {
        margin-top: 10px !important;
        padding-top: 10px !important;
        gap: 10px !important;
    }

    .case-foot p {
        font-size: .7rem !important;
        line-height: 1.4 !important;
    }

    .case-foot .button {
        font-size: .72rem !important;
        padding: .55rem .85rem !important;
    }
}

@media(max-width: 360px) {
    .case-story {
        padding: 10px 8px !important;
    }

    .case-metrics-triangle {
        gap: 6px !important;
    }

    .case-metrics-triangle .metric-roas {
        max-width: 220px !important;
        padding: 10px 8px !important;
    }

    .case-metrics-triangle .metric-revenue,
    .case-metrics-triangle .metric-spend {
        padding: 8px 4px !important;
    }

    .case-metrics-triangle .metric-value {
        font-size: 1.3rem !important;
    }

    .case-metrics-triangle .metric-roas .metric-value {
        font-size: 1.65rem !important;
    }

    .case-metrics-triangle .trend-detail {
        font-size: .54rem !important;
    }
}

/* =========================================================
   MOBILE NAVIGATION HAMBURGER MENU & DRAWER
   Visible on viewports <= 1050px.
   ========================================================= */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(183, 247, 239, .24);
    color: var(--mint);
    cursor: pointer;
    box-sizing: border-box;
    transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.nav-toggle * {
    pointer-events: none;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(183, 247, 239, .45);
    box-shadow: 0 0 16px rgba(32, 215, 223, .22);
}

.nav-toggle:active {
    transform: scale(.96);
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--mint);
    border-radius: 2px;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), opacity .2s ease, background .25s ease;
    pointer-events: none;
}

body.nav-open .nav-toggle .nav-toggle-bar:nth-child(1),
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1),
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #36e5ff;
}

body.nav-open .nav-toggle .nav-toggle-bar:nth-child(2),
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2),
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.nav-open .nav-toggle .nav-toggle-bar:nth-child(3),
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3),
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #36e5ff;
}

.mobile-nav-drawer {
    display: none;
}

@media(max-width: 1050px) {
    .nav-toggle {
        display: inline-flex;
    }

    .mobile-nav-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: radial-gradient(ellipse 90% 65% at 85% 8%, rgba(12, 91, 114, .45), transparent 68%), linear-gradient(180deg, #071c2c 0%, #061928 100%);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        padding: 16px 20px 28px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .24s cubic-bezier(.16, 1, .3, 1), transform .24s cubic-bezier(.16, 1, .3, 1), visibility .24s ease;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.nav-open .mobile-nav-drawer,
    .mobile-nav-drawer.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    body.nav-open {
        overflow: hidden !important;
        touch-action: none;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(183, 247, 239, .14);
        width: 100%;
        flex-shrink: 0;
    }

    .nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(183, 247, 239, .22);
        color: var(--mint);
        cursor: pointer;
        padding: 0;
        transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-close * {
        pointer-events: none;
    }

    .nav-close:hover {
        background: rgba(255, 255, 255, .16);
        border-color: rgba(183, 247, 239, .45);
        color: #ffffff;
        transform: rotate(90deg);
    }

    .mobile-nav-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        justify-content: space-between;
        padding-top: 20px;
        gap: 20px;
        min-height: min-content;
        box-sizing: border-box;
    }

    .mobile-navlinks {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-navlinks a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 12px;
        color: #e4f3f5;
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: -.01em;
        text-decoration: none;
        border: 1px solid transparent;
        transition: background .2s ease, color .2s ease, border-color .2s ease, padding-left .2s ease;
    }

    .mobile-navlinks a:hover,
    .mobile-navlinks a:active {
        background: rgba(32, 215, 223, .09);
        border-color: rgba(32, 215, 223, .2);
        color: #36e5ff;
        padding-left: 18px;
    }

    .mobile-navlinks a .nav-arrow {
        font-size: .95rem;
        color: var(--mint);
        opacity: .7;
        transition: transform .2s ease, opacity .2s ease;
    }

    .mobile-navlinks a:hover .nav-arrow {
        opacity: 1;
        transform: translate(2px, -2px);
    }

    .mobile-nav-cta {
        margin-top: 10px;
    }

    .mobile-nav-cta .button {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: .85rem 1.2rem !important;
        font-size: .88rem !important;
        box-sizing: border-box !important;
    }

    .mobile-nav-footer {
        margin-top: 12px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, .06);
        text-align: center;
        font-size: .68rem;
        color: #7d9ba6;
        letter-spacing: .03em;
        font-weight: 500;
    }
}

/* =========================================================
   SITE-WIDE MOBILE TEXT OPTIMIZATION & DECLUTTERING
   Scoped strictly to max-width: 768px (Desktop/Tablet > 768px untouched)
   ========================================================= */

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block;
}

span.desktop-only {
    display: inline;
}

.cap-desc {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* 1. HERO SECTION: Whitespace Reduction & Alignment
       - Keep main H1 punchy; hide secondary intro paragraph.
       - Reduce bottom margin/padding of hero CTA buttons to 16px-20px max.
       - Pull chart/graph container upward on mobile (negative margin -12px)
         so the graph sits immediately beneath the buttons without a blank void.
       - Compact floating metric badges (+203% ROAS, +118% Revenue, +52% Conversions)
         within the graph area without stretching the hero container height. */
    .hero {
        min-height: unset !important;
        height: auto !important;
        padding-bottom: 24px !important;
    }

    .hero-copy {
        padding: 28px 0 0 !important;
    }

    .hero-copy p {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-copy .actions {
        margin-top: 14px !important;
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }

    .hero-performance {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: 275px !important;
        margin-top: -20px !important;
        padding-top: 0 !important;
        z-index: 4 !important;
        overflow: visible !important;
    }

    .hero-gridlines {
        position: absolute !important;
        inset: 0 !important;
        opacity: .12 !important;
        background-size: 48px 48px !important;
        mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 100%) !important;
    }

    .hero-graph {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 265px !important;
    }

    .hero .mountain {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 240px !important;
        z-index: 2 !important;
    }

    .hero-kpi {
        z-index: 6 !important;
        min-width: 86px !important;
        max-width: 98px !important;
        padding: 7px 9px !important;
        border-radius: 10px !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .22), inset 0 0 16px rgba(75, 221, 226, .05) !important;
    }

    .hero-kpi .kpi-top {
        gap: 4px !important;
    }

    .hero-kpi strong {
        font-size: .80rem !important;
    }

    .hero-kpi>span {
        margin-top: 3px !important;
        font-size: .56rem !important;
    }

    .kpi-conversions {
        left: 8% !important;
        right: auto !important;
        top: auto !important;
        bottom: 112px !important;
    }

    .kpi-revenue {
        left: 40% !important;
        right: auto !important;
        top: auto !important;
        bottom: 118px !important;
    }

    .kpi-roas {
        left: auto !important;
        right: 5% !important;
        top: auto !important;
        bottom: 202px !important;
    }

    /* 2. GROWTH PROBLEM SECTION: Mobile Typography Optimization
       - Optimized section eyebrow and headline line-height & letter-spacing to prevent text collisions.
       - Elevated list card typography:
         • Number Prefix (01-05): sharp 0.96rem (15.4px), font-weight 800, #0b7785
         • Item Title: bold, legible 1.04rem (16.6px), font-weight 700, line-height 1.32, modern -0.015em letter-spacing */
    .problem-head .eyebrow {
        font-size: .72rem !important;
        letter-spacing: .12em !important;
        font-weight: 800 !important;
        color: #0b7785 !important;
        margin-bottom: 8px !important;
    }

    .problem-head .title {
        font-size: clamp(1.95rem, 8.2vw, 2.5rem) !important;
        line-height: 1.12 !important;
        letter-spacing: -.035em !important;
        font-weight: 800 !important;
    }

    .problem-head .sub.mobile-only {
        margin-top: 14px !important;
        font-size: .95rem !important;
        line-height: 1.55 !important;
        color: var(--muted) !important;
    }

    #problem .problem-card,
    .problem-card {
        padding: 16px 18px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 14px rgba(3, 43, 57, .06) !important;
        border: 1px solid rgba(20, 117, 130, .14) !important;
        border-radius: 12px !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        min-height: unset !important;
    }

    #problem .problem-card .card-num,
    .problem-card .card-num {
        margin: 0 !important;
        flex-shrink: 0 !important;
        font-size: 0.96rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        color: #0b7785 !important;
        letter-spacing: .02em !important;
    }

    #problem .problem-card h3,
    #problem .problem-card:nth-child(3) h3,
    .problem-card h3 {
        margin: 0 !important;
        font-size: 1.04rem !important;
        font-weight: 700 !important;
        line-height: 1.32 !important;
        letter-spacing: -.015em !important;
        color: var(--ink) !important;
        opacity: 1 !important;
        white-space: normal !important;
        word-break: normal !important;
        display: block !important;
    }

    #problem .problem-card:nth-child(3) h3 .keep-word {
        display: inline !important;
        font: inherit !important;
        letter-spacing: inherit !important;
    }

    #problem .problem-card p,
    .problem-card p {
        display: none !important;
    }

    /* 3. APPROACH & SYSTEM SECTIONS:
       Hide extended descriptive body text under each pillar/step on mobile.
       Display only the step title and a single summary line so users can scan
       the methodology without endless scrolling. */
    .approach-head .sub.mobile-only,
    .system-head .sub.mobile-only {
        margin-top: 12px !important;
        font-size: .9rem !important;
        line-height: 1.5 !important;
        color: var(--muted) !important;
    }

    .map-card small {
        display: none !important;
    }

    .map-card p {
        margin-bottom: 0 !important;
        font-size: .86rem !important;
        line-height: 1.4 !important;
    }

    .process-card {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    .process-card p {
        font-size: .82rem !important;
        line-height: 1.4 !important;
    }

    /* 4. RESULTS & CASE STUDIES SECTION:
       Prioritize primary numbers/metrics & client titles.
       Display lean mobile takeaway subheading; hide lengthy narrative and redundant summary paragraphs. */
    .case-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .case-head {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        gap: 10px !important;
    }

    .case-head>div:first-child {
        width: 100% !important;
    }

    .case-head .title {
        font-size: clamp(1.9rem, 8.2vw, 2.45rem) !important;
        line-height: 1 !important;
        letter-spacing: -.05em !important;
        text-align: left !important;
    }

    .case-head .sub.desktop-only {
        display: none !important;
    }

    .case-head .sub.mobile-only {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: .88rem !important;
        line-height: 1.5 !important;
        color: var(--muted) !important;
        text-align: left !important;
    }

    .case-foot p {
        display: none !important;
    }

    .case-foot {
        margin-top: 16px !important;
        padding-top: 14px !important;
    }

    .case-foot .button {
        width: 100% !important;
        margin-top: 0 !important;
    }

    /* 5. CAPABILITIES / SERVICES SECTION:
       Condense service offering blurbs to clean, concise feature tags or one-line summaries. */
    .cap-head .sub.mobile-only {
        margin-top: 12px !important;
        font-size: .9rem !important;
        line-height: 1.5 !important;
        color: var(--muted) !important;
    }

    .cap-desc {
        display: none !important;
    }

    .cap {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    .cap p {
        margin-top: 6px !important;
        font-size: .86rem !important;
        line-height: 1.42 !important;
    }

    .cap p strong {
        font-weight: 600 !important;
        color: #134e5e !important;
    }

    /* 6. CONTACT & INQUIRY SECTION:
       Hide secondary helper text, sub-labels, and extended descriptive guidance.
       Keep section intro copy down to a single headline.
       Ensure clear/descriptive placeholders.
       Compact vertical margins between form rows to 12px-14px, and submit button width: 100%. */
    .final-intro .sub,
    .final-intro .actions {
        display: none !important;
    }

    .final-intro {
        margin-bottom: 22px !important;
    }

    .final-brand {
        margin-bottom: 14px !important;
    }

    .final-brand .brand img {
        width: 38px !important;
        height: 33px !important;
    }

    .field-helper {
        display: none !important;
    }

    .field-error:empty {
        display: none !important;
    }

    .work-together-form .form-row {
        margin-bottom: 12px !important;
        gap: 12px !important;
    }

    .work-together-form .field {
        margin-bottom: 12px !important;
    }

    .work-together-form .field input,
    .work-together-form .field select,
    .work-together-form .field textarea {
        font-size: .88rem !important;
        padding: .75rem 1rem !important;
    }

    .work-together-form .button.submit {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 14px !important;
        padding: .85rem 1.2rem !important;
    }
}

/* ==========================================================================
   Portfolio Section (Static Ads & Motion Graphics Showcase)
   ========================================================================== */
.portfolio-static {
    position: relative;
    padding: 110px 0 120px;
    background-color: #021822;
    background-image:
        linear-gradient(to right, rgba(46, 196, 182, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(46, 196, 182, 0.08) 1px, transparent 1px),
        radial-gradient(ellipse 65% 50% at 15% 15%, rgba(53, 218, 203, 0.16), transparent 60%),
        radial-gradient(ellipse 65% 50% at 85% 85%, rgba(20, 160, 175, 0.14), transparent 60%),
        linear-gradient(180deg, #011620 0%, #032431 50%, #01141d 100%);
    background-size: 76px 76px, 76px 76px, 100% 100%, 100% 100%, 100% 100%;
    color: #eefefb;
    overflow: hidden;
}

.portfolio-static:before {
    display: none;
}

.portfolio-static .container {
    position: relative;
    z-index: 2;
}

.portfolio-head.portfolio-main-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    padding-bottom: 52px;
    border-bottom: none;
}

.portfolio-static .eyebrow {
    color: #4ce3d4;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.portfolio-static .section-title {
    color: #ffffff;
    margin: 0;
    font-size: clamp(2.35rem, 4.2vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
    max-width: 680px;
}

.portfolio-static .accent-cyan {
    color: #4ce3d4;
}

.portfolio-static .section-subtitle {
    color: #92b8b5;
    margin: 0;
    max-width: 440px;
    line-height: 1.65;
    font-size: 0.95rem;
    font-weight: 400;
}

/* 4-Column Showcase Rows */
.portfolio-showcase {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    padding: 0;
    border: none;
    margin-bottom: 28px;
}

.portfolio-showcase.motion-showcase {
    margin-top: 28px;
    margin-bottom: 0;
    padding: 0;
    border: none;
}

/* Smartphone Mockup Frame */
.portfolio-phone {
    position: relative;
    aspect-ratio: 9 / 18.2;
    padding: 6px;
    border: 2px solid rgba(76, 227, 212, 0.48);
    border-radius: 28px;
    background: #021422;
    box-shadow:
        0 18px 40px rgba(0, 17, 31, 0.42),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-phone:hover {
    transform: translateY(-8px);
    border-color: #5eead4;
    box-shadow:
        0 26px 52px rgba(0, 17, 31, 0.55),
        0 0 24px rgba(76, 227, 212, 0.25);
}

.portfolio-phone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    background: #020f1b;
}

.portfolio-phone .phone-speaker {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 11px;
    transform: translateX(-50%);
    width: 32%;
    height: 6px;
    border-radius: 999px;
    background: #020e18;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-phone>span {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: rgba(3, 19, 29, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 750;
    text-align: center;
    letter-spacing: 0.02em;
    border: 1px solid rgba(76, 227, 212, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    width: max-content;
    max-width: 86%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

/* Motion Video Container */
.motion-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    background: #020f1b;
    overflow: hidden;
}

.motion-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-phone:hover .motion-screen video {
    transform: scale(1.035);
}

/* Side Copy Card */
.portfolio-side-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 14px 18px;
    border-radius: 20px;
}

.portfolio-side-copy .side-copy-top {
    display: flex;
    flex-direction: column;
}

.portfolio-index {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 3.4rem;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #17545e;
}

.portfolio-side-copy .eyebrow {
    color: #4ce3d4;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.portfolio-side-copy h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 2.1vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: #ffffff;
}

.portfolio-side-copy p {
    margin: 0;
    color: #92b8b5;
    line-height: 1.6;
    font-size: 0.86rem;
}

.portfolio-side-copy .portfolio-order {
    margin-top: 1.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #427c84;
    line-height: 1.7;
}

/* Responsive Media Queries */
@media (max-width: 1050px) {
    .portfolio-head.portfolio-main-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-bottom: 36px;
    }

    .portfolio-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-bottom: 36px;
    }

    .portfolio-showcase.motion-showcase {
        margin-top: 0;
    }

    .static-showcase .portfolio-side-copy {
        grid-column: 1 / -1;
        order: -1;
        padding: 12px 0 16px;
    }

    .motion-showcase .portfolio-side-copy {
        grid-column: 1 / -1;
        order: -1;
        padding: 12px 0 16px;
    }

    .portfolio-phone {
        aspect-ratio: 9 / 17.5;
    }
}

@media (max-width: 760px) {
    .portfolio-static {
        padding: 42px 0 48px;
    }

    .portfolio-head.portfolio-main-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 18px;
    }

    .portfolio-static .eyebrow {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .portfolio-static .section-title {
        font-size: clamp(2rem, 6.2vw, 2.6rem);
        line-height: 1.1;
        letter-spacing: -0.035em;
    }

    .portfolio-static .section-subtitle {
        font-size: 0.88rem;
        line-height: 1.55;
        max-width: 100%;
        margin-top: 2px;
    }

    .portfolio-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 22px;
    }

    .portfolio-showcase.motion-showcase {
        margin-top: 0;
        margin-bottom: 0;
    }

    .static-showcase .portfolio-side-copy,
    .motion-showcase .portfolio-side-copy {
        grid-column: 1 / -1;
        order: -1;
        padding: 0 0 10px;
    }

    .portfolio-side-copy .side-copy-top {
        display: flex;
        flex-direction: column;
    }

    .portfolio-index {
        font-size: 1.65rem;
        font-weight: 900;
        line-height: 1;
        letter-spacing: -0.04em;
        color: #35dacb;
        margin-bottom: 0.35rem;
        display: inline-block;
    }

    .portfolio-side-copy .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
        margin-bottom: 0.4rem;
    }

    .portfolio-side-copy h3 {
        font-size: clamp(1.35rem, 4.4vw, 1.65rem);
        line-height: 1.2;
        letter-spacing: -0.025em;
        margin: 0 0 0.45rem;
    }

    .portfolio-side-copy h3 br,
    .portfolio-side-copy h3 .desktop-br {
        display: none;
    }

    .portfolio-side-copy p {
        font-size: 0.84rem;
        line-height: 1.52;
        color: #92b8b5;
        margin: 0;
    }

    .portfolio-side-copy .portfolio-order {
        margin-top: 0.55rem;
        font-size: 0.58rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.45;
        color: #4da6ab;
        opacity: 0.9;
    }

    .portfolio-phone {
        aspect-ratio: 9 / 17;
        padding: 3.5px;
        border-radius: 17px;
        border-width: 1.5px;
        box-shadow: 0 10px 24px rgba(0, 15, 26, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .portfolio-phone img,
    .motion-screen {
        border-radius: 13px;
    }

    .portfolio-phone .phone-speaker {
        top: 6px;
        width: 28%;
        height: 3.5px;
    }

    .portfolio-phone>span {
        bottom: 7px;
        padding: 0.26rem 0.5rem;
        font-size: 0.52rem;
        font-weight: 750;
        max-width: 90%;
        background: rgba(2, 18, 28, 0.92);
        border: 1px solid rgba(76, 227, 212, 0.35);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        border-radius: 999px;
    }

    .portfolio-action {
        margin-top: 24px;
    }

    .portfolio-action .button.primary {
        padding: 0.82rem 2rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .portfolio-static {
        padding: 34px 0 38px;
    }

    .portfolio-head.portfolio-main-head {
        gap: 10px;
        padding-bottom: 14px;
    }

    .portfolio-static .section-title {
        font-size: 1.95rem;
    }

    .portfolio-showcase {
        gap: 6px;
        margin-bottom: 18px;
    }

    .static-showcase .portfolio-side-copy,
    .motion-showcase .portfolio-side-copy {
        padding: 0 0 8px;
    }

    .portfolio-index {
        font-size: 1.45rem;
        margin-bottom: 0.25rem;
    }

    .portfolio-side-copy .eyebrow {
        margin-bottom: 0.3rem;
    }

    .portfolio-side-copy h3 {
        font-size: 1.3rem;
        margin-bottom: 0.35rem;
    }

    .portfolio-side-copy p {
        font-size: 0.8rem;
        line-height: 1.48;
    }

    .portfolio-side-copy .portfolio-order {
        margin-top: 0.45rem;
        font-size: 0.54rem;
        line-height: 1.4;
    }

    .portfolio-phone {
        aspect-ratio: 9 / 16.8;
        padding: 3px;
        border-radius: 15px;
        border-width: 1.5px;
    }

    .portfolio-phone img,
    .motion-screen {
        border-radius: 11px;
    }

    .portfolio-phone .phone-speaker {
        top: 5px;
        height: 3px;
    }

    .portfolio-phone>span {
        font-size: 0.48rem;
        padding: 0.22rem 0.42rem;
        bottom: 6px;
        letter-spacing: 0.01em;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .portfolio-action {
        margin-top: 20px;
    }

    .portfolio-action .button.primary {
        padding: 0.75rem 1.6rem;
        font-size: 0.84rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Portfolio Action Button (Centered at bottom of #portfolio on home page) */
.portfolio-action {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 52px;
    position: relative;
    z-index: 5;
}

.portfolio-action .button.primary {
    padding: 0.95rem 2.4rem;
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    background: #e8fffb;
    color: #073747;
    border: 1px solid rgba(76, 227, 212, 0.45);
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(76, 227, 212, 0.22);
    transition: all 0.28s ease;
    text-decoration: none;
}

.portfolio-action .button.primary:hover {
    background: #bdf5ec;
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 0 32px rgba(76, 227, 212, 0.4);
}

/* ==========================================================================
   Dedicated Creatives Archive Page Styles (Modern & Spacious Overhaul)
   ========================================================================== */
.archive-page {
    background: #01141f;
    color: #eefefb;
    min-height: 100vh;
}

.archive-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(1, 18, 28, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.mobile-nav-highlight {
    color: #4ce3d4 !important;
    font-weight: 800 !important;
}

/* Archive Container */
.archive-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Archive Main Section */
.archive-section {
    position: relative;
    padding: 64px 0 110px;
    background-color: #021722;
    background-image:
        linear-gradient(to right, rgba(46, 196, 182, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(46, 196, 182, 0.07) 1px, transparent 1px),
        radial-gradient(ellipse 70% 45% at 20% 8%, rgba(53, 218, 203, 0.13), transparent 60%),
        radial-gradient(ellipse 70% 45% at 80% 85%, rgba(20, 160, 175, 0.12), transparent 60%),
        linear-gradient(180deg, #01141f 0%, #03212d 50%, #01121c 100%);
    background-size: 76px 76px, 76px 76px, 100% 100%, 100% 100%, 100% 100%;
    overflow: hidden;
}

/* Hero / Header */
.archive-intro {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.archive-intro .eyebrow {
    color: #4ce3d4;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.archive-title {
    color: #ffffff;
    font-size: clamp(2.3rem, 3.8vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
    margin: 0 0 1rem;
}

.archive-subtitle {
    color: #8faea8;
    font-size: 0.98rem;
    line-height: 1.68;
    max-width: 620px;
    margin: 0 auto 20px;
}

.archive-meta-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.74rem;
    color: #69928e;
    background: rgba(3, 23, 35, 0.65);
    border: 1px solid rgba(76, 227, 212, 0.16);
    padding: 6px 18px;
    border-radius: 999px;
}

.archive-meta-strip strong {
    color: #d6f7f3;
}

.meta-dot {
    opacity: 0.4;
    font-size: 0.6rem;
}

/* Dual-Layer Filter System */
.archive-filter-system {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}

/* Primary Layer: Category Tabs */
.filter-layer-primary {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 20, 31, 0.85);
    border: 1px solid rgba(76, 227, 212, 0.22);
    padding: 5px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cat-tab {
    background: transparent;
    border: none;
    color: #87aba6;
    font-size: 0.82rem;
    font-weight: 750;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cat-tab:hover {
    color: #ffffff;
}

.cat-tab.active {
    background: #4ce3d4;
    color: #021a24;
    font-weight: 850;
    box-shadow: 0 0 20px rgba(76, 227, 212, 0.4);
}

.cat-tab .tab-count {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.15);
}

.cat-tab.active .tab-count {
    background: rgba(2, 26, 36, 0.2);
    color: #021a24;
}

/* Secondary Layer: Brand/Company Tags */
.filter-layer-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 900px;
}

.brand-tag {
    background: rgba(3, 19, 29, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #729693;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.36rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.22s ease;
    letter-spacing: 0.02em;
}

.brand-tag:hover {
    color: #ffffff;
    border-color: rgba(76, 227, 212, 0.35);
    background: rgba(4, 28, 42, 0.75);
}

.brand-tag.active {
    color: #4ce3d4;
    border-color: #4ce3d4;
    background: rgba(76, 227, 212, 0.12);
    box-shadow: 0 0 14px rgba(76, 227, 212, 0.22);
}

/* Spacious Card Grid */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 72px;
}

@media (min-width: 1360px) {
    .archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 44px;
    }
}

/* Modern Card Architecture */
.creative-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(160deg, rgba(3, 24, 38, 0.78) 0%, rgba(2, 16, 26, 0.9) 100%);
    border: 1px solid rgba(76, 227, 212, 0.18);
    border-radius: 24px;
    padding: 26px 24px 22px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.creative-card:hover {
    transform: translateY(-7px);
    border-color: rgba(76, 227, 212, 0.48);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.52), 0 0 26px rgba(76, 227, 212, 0.18);
}

.creative-card.hidden {
    display: none !important;
}

/* Card Header */
.card-header {
    margin-bottom: 18px;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.015em;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.64rem;
    font-weight: 750;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-badge.static {
    background: rgba(76, 227, 212, 0.12);
    color: #4ce3d4;
    border: 1px solid rgba(76, 227, 212, 0.25);
}

.card-badge.motion {
    background: rgba(255, 178, 107, 0.12);
    color: #ffb875;
    border: 1px solid rgba(255, 178, 107, 0.25);
}

.card-badge.top-ad {
    background: rgba(45, 212, 191, 0.14);
    color: #38e1cf;
    border: 1px solid rgba(45, 212, 191, 0.32);
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.card-sub {
    margin: 5px 0 0;
    font-size: 0.74rem;
    color: #729693;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Phone Presentation Inside Card */
.card-phone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 18px;
}

.creative-card .portfolio-phone {
    width: 100%;
    max-width: 275px;
    aspect-ratio: 9 / 18.2;
    border-radius: 26px;
}

/* Square Ad Banner Presentation Inside Card */
.card-ad-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 18px;
    width: 100%;
}

.ad-banner-frame {
    position: relative;
    width: 100%;
    max-width: 285px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #02121e;
    border: 2px solid rgba(76, 227, 212, 0.38);
    box-shadow: 0 16px 36px rgba(0, 17, 31, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.creative-card:hover .ad-banner-frame {
    transform: translateY(-4px);
    border-color: #5eead4;
    box-shadow: 0 22px 46px rgba(0, 17, 31, 0.55), 0 0 24px rgba(76, 227, 212, 0.25);
}

.ad-banner-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-card:hover .ad-banner-frame img {
    transform: scale(1.035);
}

/* Card Footer */
.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #628886;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Empty Filter State */
.archive-empty-state {
    display: none;
    text-align: center;
    padding: 80px 20px;
    color: #729693;
    font-size: 1rem;
}

.archive-empty-state.visible {
    display: block;
}

.archive-empty-state p {
    margin-top: 8px;
    color: #557976;
    font-size: 0.85rem;
}

/* Archive Bottom CTA Banner */
.archive-cta-banner {
    margin-top: 64px;
    padding: 44px 38px;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 0%, rgba(76, 227, 212, 0.12), transparent 70%),
        rgba(2, 22, 34, 0.85);
    border: 1px solid rgba(76, 227, 212, 0.28);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.archive-cta-copy h3 {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.archive-cta-copy p {
    margin: 0;
    color: #92b8b5;
    font-size: 0.94rem;
    line-height: 1.6;
    max-width: 540px;
}

.archive-cta-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .archive-container {
        padding: 0 24px;
    }

    .archive-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .archive-section {
        padding: 48px 0 80px;
    }

    .archive-container {
        padding: 0 18px;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .archive-filter-system {
        gap: 12px;
        margin-bottom: 40px;
    }

    .filter-layer-primary {
        max-width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px;
        border-radius: 999px;
    }

    .filter-layer-primary::-webkit-scrollbar {
        display: none;
    }

    .cat-tab {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.76rem;
        padding: 0.45rem 1rem;
    }

    .brand-tag {
        font-size: 0.68rem;
        padding: 0.3rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .archive-title {
        font-size: 2.1rem;
    }

    .archive-cta-buttons {
        width: 100%;
    }

    .archive-cta-buttons .button {
        width: 100%;
    }
}

/* =========================================================
   STICKY BACK TO TOP BUTTON (Mobile Responsive)
   Displays on viewports <= 1050px once scrolled past 300px
   ========================================================= */
.back-to-top {
    display: none;
}

@media (max-width: 1050px) {
    .back-to-top {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: calc(18px + env(safe-area-inset-right, 0px));
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(6, 26, 40, 0.88);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(76, 227, 212, 0.32);
        color: var(--mint, #a6f1e4);
        padding: 0;
        cursor: pointer;
        z-index: 900;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(16px) scale(0.88);
        transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.28s ease,
            background 0.2s ease,
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            color 0.2s ease;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(32, 215, 223, 0.18);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .back-to-top:hover,
    .back-to-top:active {
        background: rgba(10, 42, 64, 0.95);
        border-color: rgba(76, 227, 212, 0.65);
        color: #ffffff;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 22px rgba(54, 229, 255, 0.35);
        transform: translateY(-2px) scale(1.04);
    }

    .back-to-top:active {
        transform: translateY(0) scale(0.94);
    }

    .back-to-top-progress {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: rotate(-90deg);
        pointer-events: none;
    }

    .back-to-top-track {
        fill: none;
        stroke: rgba(255, 255, 255, 0.08);
        stroke-width: 2.2;
    }

    .back-to-top-bar {
        fill: none;
        stroke: var(--cyan, #20d7df);
        stroke-width: 2.4;
        stroke-linecap: round;
        stroke-dasharray: 125.66;
        stroke-dashoffset: 125.66;
        transition: stroke-dashoffset 0.1s linear;
    }

    .back-to-top-icon {
        position: relative;
        z-index: 2;
        width: 18px;
        height: 18px;
        pointer-events: none;
        transition: transform 0.2s ease;
    }

    .back-to-top:hover .back-to-top-icon {
        transform: translateY(-2px);
    }

    /* Suppress back-to-top button while the mobile nav drawer is open */
    body.nav-open .back-to-top {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(16px) scale(0.88) !important;
    }
}

/* =========================================================
   CASE STUDY PAGE: TUTORING UNIT ECONOMICS & PAID MEDIA
   Modiva-themed dedicated page with glassmorphism & tables
   ========================================================= */
.case-study-page {
    background: #01141f;
    color: #eefefb;
    min-height: 100vh;
}

/* Container */
.case-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Hero Section */
.case-hero-section {
    position: relative;
    padding: 68px 0 54px;
    background-color: #021722;
    background-image:
        radial-gradient(ellipse 70% 50% at 20% 8%, rgba(53, 218, 203, 0.15), transparent 60%),
        radial-gradient(ellipse 65% 50% at 85% 75%, rgba(20, 160, 175, 0.12), transparent 60%),
        linear-gradient(165deg, #06283d, #0a5b68 52%, #082e45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.case-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 82px);
    pointer-events: none;
}


.case-hero-header {
    max-width: 980px;
    margin-bottom: 40px;
}

.case-breadcrumb-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(76, 227, 212, 0.1);
    border: 1px solid rgba(76, 227, 212, 0.32);
    color: #4ce3d4;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.case-breadcrumb-tag svg {
    color: var(--mint, #a6f1e4);
}

.case-hero-title {
    font-size: clamp(2.35rem, 4.8vw, 3.85rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #ffffff;
    font-weight: 900;
    margin: 0 0 20px;
}

.case-hero-title .title-accent {
    color: #0b9aa2;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: currentColor;
}

.case-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #9cb5be;
}

.case-meta-item strong {
    color: #e6faf7;
    font-weight: 700;
}

.case-meta-item svg {
    color: #4ce3d4;
    flex-shrink: 0;
}

.case-exec-summary {
    position: relative;
    background: rgba(7, 31, 48, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(76, 227, 212, 0.22);
    border-left: 4px solid #4ce3d4;
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.case-exec-summary h3 {
    margin: 0 0 8px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4ce3d4;
    font-weight: 800;
}

.case-exec-summary p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #d1ecf1;
}

/* 4 Glassmorphic KPI Cards */
.case-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.case-kpi-card {
    background: radial-gradient(ellipse 110% 100% at 50% -20%, rgba(32, 215, 223, 0.12), transparent 70%),
        rgba(5, 23, 36, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(76, 227, 212, 0.22);
    border-radius: 20px;
    padding: 24px 22px;
    box-sizing: border-box;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-kpi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 227, 212, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(32, 215, 223, 0.18);
}

.case-kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.case-kpi-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8cb6c1;
}

.case-kpi-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
}

.case-kpi-badge.positive {
    background: rgba(76, 227, 212, 0.15);
    color: #4ce3d4;
    border: 1px solid rgba(76, 227, 212, 0.35);
}

.case-kpi-badge.saving {
    background: rgba(32, 215, 223, 0.15);
    color: #36e5ff;
    border: 1px solid rgba(32, 215, 223, 0.35);
}

.case-kpi-value {
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.case-kpi-desc {
    font-size: 0.82rem;
    color: #9cb5be;
    margin: 0;
    line-height: 1.45;
}

/* Strategic Narrative Section (Light Section) */
.case-narrative-section {
    padding: 82px 0 74px;
    background: linear-gradient(180deg, #f8fcfb 0%, #e6f4f0 100%);
    border-bottom: 1px solid rgba(12, 119, 133, 0.12);
}

.case-section-intro {
    max-width: 820px;
    margin-bottom: 40px;
}

.case-narrative-section .case-section-tag {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0c7785;
    font-weight: 800;
    margin-bottom: 10px;
}

.case-narrative-section .case-section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0c2635;
    margin: 0 0 14px;
    line-height: 1.15;
}

.case-narrative-section .case-section-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #42636e;
    margin: 0;
}

/* Challenge Box */
.case-challenge-box {
    background: #ffffff;
    border: 1px solid rgba(220, 100, 30, 0.22);
    border-left: 4px solid #f97316;
    border-radius: 20px;
    padding: 30px 32px;
    margin-bottom: 48px;
    box-shadow: 0 14px 34px rgba(11, 70, 84, 0.06);
}

.case-challenge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.case-challenge-header svg {
    color: #ea580c;
    flex-shrink: 0;
}

.case-challenge-header h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #9a3412;
    letter-spacing: -0.01em;
}

.case-challenge-content {
    font-size: 0.96rem;
    line-height: 1.68;
    color: #3f5e6a;
    margin: 0 0 18px;
}

.case-challenge-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #fbf6f2;
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(234, 88, 12, 0.15);
}

.challenge-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.challenge-stat-item .stat-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: #c2410c;
    font-variant-numeric: tabular-nums;
}

.challenge-stat-item .stat-lbl {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7c584a;
    font-weight: 700;
}

/* 3-Pillar Solution Grid */
.case-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-pillar-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(12, 119, 133, 0.16);
    border-radius: 20px;
    padding: 30px 26px;
    box-sizing: border-box;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(11, 70, 84, 0.06);
}

.case-pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 119, 133, 0.38);
    box-shadow: 0 20px 42px rgba(11, 70, 84, 0.12);
}

.pillar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.pillar-number {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #0c7785;
    background: #e5f6f4;
    border: 1px solid rgba(12, 119, 133, 0.25);
    padding: 4px 10px;
    border-radius: 5px;
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e3f5f3;
    border: 1px solid rgba(12, 119, 133, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c7785;
}

.case-pillar-card h4 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    font-weight: 800;
    color: #0c2635;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.case-pillar-card p {
    font-size: 0.92rem;
    line-height: 1.62;
    color: #42636e;
    margin: 0 0 18px;
    flex-grow: 1;
}

.pillar-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(12, 119, 133, 0.12);
    padding-top: 16px;
}

.pillar-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #2b4955;
    line-height: 1.4;
}

.pillar-checklist li svg {
    color: #0c7785;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Performance Data Showcase Section */
.case-data-section {
    padding: 72px 0 80px;
    background-color: #ffffff;
    background-image: none;
    border-top: 1px solid rgba(12, 119, 133, 0.12);
    border-bottom: 1px solid rgba(12, 119, 133, 0.12);
}

.case-data-section .case-section-tag {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0c7785;
    font-weight: 800;
    margin-bottom: 10px;
}

.case-data-section .case-section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0c2635;
    margin: 0 0 14px;
    line-height: 1.15;
}

.case-data-section .case-section-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #42636e;
    margin: 0;
}

.case-data-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

/* Segmented Tab Buttons */
.case-tabs-nav {
    display: inline-flex;
    flex-wrap: nowrap;
    background: rgba(5, 23, 36, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(76, 227, 212, 0.22);
    border-radius: 999px;
    padding: 5px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.case-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #8cb6c1;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.case-tab-btn .tab-btn-title {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.case-tab-btn .tab-btn-sub {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    opacity: 0.85;
}

.case-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.case-tab-btn.active {
    background: #e8fffb;
    color: #073747;
    box-shadow: 0 4px 18px rgba(32, 215, 223, 0.3);
}

.case-tab-btn.active:hover {
    background: #cbfbf2;
    color: #073747;
}

/* Table Block & Header */
.case-table-block {
    margin-bottom: 42px;
}

.case-table-block:last-child {
    margin-bottom: 0;
}

.case-table-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 14px;
    padding: 0 4px;
}

.case-table-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-table-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #eef7f8;
    color: #0c7785;
    border: 1px solid rgba(12, 119, 133, 0.22);
}

.case-table-badge.accent {
    background: rgba(12, 119, 133, 0.12);
    color: #0c7785;
    border-color: rgba(12, 119, 133, 0.35);
}

.case-table-badge.comparison {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.35);
}

.case-table-heading {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0c2635;
    letter-spacing: -0.01em;
}

.case-table-heading .case-table-year {
    color: #537581;
    font-weight: 600;
    font-size: 0.92em;
}

.case-table-summary-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: #537581;
}

.case-table-summary-tag.scaled {
    color: #0c7785;
    font-weight: 700;
}

.case-table-summary-tag.comparison {
    color: #0284c7;
    font-weight: 700;
}

/* Table Wrapper */
.case-table-wrapper {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    border: 1px solid rgba(76, 227, 212, 0.24);
    background-color: #021722;
    background-image:
        radial-gradient(ellipse 65% 45% at 50% 0%, rgba(32, 215, 223, 0.1), transparent 60%),
        linear-gradient(165deg, #06283d, #0a5b68 52%, #082e45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(11, 70, 84, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.table-scroll-hint {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0c7785;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(12, 119, 133, 0.1);
}

/* Data Table */
.case-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-variant-numeric: tabular-nums;
    min-width: 820px;
}

.case-data-table th {
    background: rgba(7, 34, 52, 0.85);
    color: #8cb6c1;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(76, 227, 212, 0.22);
    white-space: nowrap;
}

.case-data-table th.num-col,
.case-data-table td.num-col {
    text-align: right;
}

.case-data-table td {
    padding: 15px 18px;
    font-size: 0.88rem;
    color: #d1ecf1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s ease;
    white-space: nowrap;
    vertical-align: middle;
}

.case-data-table tbody tr:hover td {
    background: rgba(32, 215, 223, 0.05);
    color: #ffffff;
}

.case-data-table td.quarter-cell {
    font-weight: 800;
    color: #ffffff;
    vertical-align: middle;
}

.case-data-table td.quarter-cell .case-kpi-badge {
    margin-left: 8px;
    vertical-align: middle;
}

.case-data-table td.revenue-cell {
    font-weight: 800;
    color: #a6f1e4;
}

.case-data-table td.total-spend-cell {
    font-weight: 700;
    color: #e2f5f7;
}

/* Total / Summary Row */
.case-data-table tr.total-row td {
    background: rgba(32, 215, 223, 0.08);
    border-top: 2px solid rgba(76, 227, 212, 0.35);
    border-bottom: none;
    font-weight: 900;
    color: #ffffff;
    font-size: 0.94rem;
}

.case-data-table tr.total-row td.quarter-cell {
    color: #4ce3d4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.case-data-table tr.total-row td.revenue-cell {
    color: #36e5ff;
    font-size: 1.02rem;
}

/* ROAS Badges */
.roas-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    min-width: 60px;
    font-variant-numeric: tabular-nums;
}

.roas-badge.high {
    background: rgba(76, 227, 212, 0.18);
    color: #4ce3d4;
    border: 1px solid rgba(76, 227, 212, 0.45);
    box-shadow: 0 0 10px rgba(76, 227, 212, 0.2);
}

.roas-badge.peak {
    background: linear-gradient(135deg, rgba(76, 227, 212, 0.25), rgba(32, 215, 223, 0.35));
    color: #ffffff;
    border: 1px solid rgba(54, 229, 255, 0.65);
    box-shadow: 0 0 14px rgba(54, 229, 255, 0.35);
}

.roas-badge.med {
    background: rgba(32, 215, 223, 0.12);
    color: #8ee9f7;
    border: 1px solid rgba(32, 215, 223, 0.3);
}

.roas-badge.low {
    background: rgba(255, 140, 50, 0.14);
    color: #ffaa6e;
    border: 1px solid rgba(255, 140, 50, 0.35);
}

/* Quote Callout Banner */
.case-quote-banner {
    position: relative;
    background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(32, 215, 223, 0.14), transparent 70%),
        rgba(6, 28, 44, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(76, 227, 212, 0.32);
    border-radius: 22px;
    padding: 38px 42px;
    margin: 48px 0 0;
    box-shadow: 0 16px 40px rgba(11, 70, 84, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.case-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(76, 227, 212, 0.12);
    border: 1px solid rgba(76, 227, 212, 0.3);
    color: #4ce3d4;
    margin-bottom: 18px;
}

.case-quote-text {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 800;
    line-height: 1.4;
    color: #ffffff;
    max-width: 880px;
    margin: 0 auto 16px;
    letter-spacing: -0.02em;
}

.case-quote-author {
    font-size: 0.84rem;
    font-weight: 700;
    color: #8cb6c1;
    letter-spacing: 0.06em;

}

/* Footer CTA Module (Light Section) */
.case-cta-section {
    padding: 86px 0 96px;
    background: linear-gradient(180deg, #f8fcfb 0%, #e6f4f0 100%);
    border-top: 1px solid rgba(12, 119, 133, 0.12);
    border-bottom: 1px solid rgba(12, 119, 133, 0.12);
    text-align: center;
}

.case-cta-box {
    max-width: 780px;
    margin: 0 auto;
}

.case-cta-box .case-section-tag {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0c7785;
    font-weight: 800;
    margin-bottom: 12px;
}

.case-cta-box h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    color: #0c2635;
    margin: 0 0 16px;
    line-height: 1.15;
}

.case-cta-box p {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #42636e;
    margin: 0 auto 32px;
    max-width: 620px;
}

.case-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.case-cta-buttons .button.outline {
    border-color: rgba(12, 119, 133, 0.35);
    color: #0c7785;
    background: #ffffff;
}

.case-cta-buttons .button.outline:hover {
    border-color: #0c7785;
    background: #0c7785;
    color: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 1200px) and (min-width: 901px) {
    .case-tabs-nav {
        padding: 4px;
        gap: 3px;
    }

    .case-tab-btn {
        padding: 8px 14px;
        font-size: 0.76rem;
        gap: 5px;
    }
}

@media (max-width: 1050px) {
    .case-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .case-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .case-challenge-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .table-scroll-hint {
        display: flex;
    }
}

@media (max-width: 900px) {
    .case-data-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .case-tabs-nav {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
        padding: 6px !important;
        gap: 6px !important;
        background: rgba(4, 20, 32, 0.94) !important;
        border: 1px solid rgba(76, 227, 212, 0.25) !important;
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45) !important;
        box-sizing: border-box !important;
    }

    .case-tab-btn {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 10px 8px !important;
        min-height: 52px !important;
        border-radius: 11px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-sizing: border-box !important;
        transition: all 0.22s ease !important;
        white-space: normal !important;
    }

    .case-tab-btn:hover {
        background: rgba(76, 227, 212, 0.09) !important;
        border-color: rgba(76, 227, 212, 0.3) !important;
        color: #ffffff !important;
    }

    .case-tab-btn.active {
        background: #e8fffb !important;
        color: #073747 !important;
        border-color: #4ce3d4 !important;
        box-shadow: 0 4px 18px rgba(32, 215, 223, 0.35) !important;
    }

    .case-tab-btn .tab-btn-title {
        font-size: 0.77rem !important;
        font-weight: 850 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        color: inherit !important;
        letter-spacing: -0.01em;
    }

    .case-tab-btn .tab-btn-sub {
        font-size: 0.67rem !important;
        font-weight: 700 !important;
        opacity: 0.8 !important;
        margin-top: 3px !important;
        white-space: nowrap !important;
        color: inherit !important;
        letter-spacing: 0.01em;
    }

    .case-tab-btn.active .tab-btn-sub {
        opacity: 0.95 !important;
        font-weight: 800 !important;
        color: #0c4d5a !important;
    }
}

@media (max-width: 768px) {
    .case-hero-section {
        padding: 48px 0 40px;
    }

    .case-container {
        padding: 0 18px;
    }

    .case-kpi-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .case-quote-banner {
        padding: 28px 20px;
    }

    .case-cta-section {
        padding: 56px 0 70px;
    }

    .case-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .case-cta-buttons .button {
        width: 100% !important;
    }
}

@media (max-width: 440px) {
    .case-tabs-nav {
        padding: 5px !important;
        gap: 5px !important;
        border-radius: 14px !important;
    }

    .case-tab-btn {
        padding: 9px 4px !important;
        min-height: 48px !important;
        border-radius: 9px !important;
    }

    .case-tab-btn .tab-btn-title {
        font-size: 0.72rem !important;
    }

    .case-tab-btn .tab-btn-sub {
        font-size: 0.62rem !important;
    }
}

@media (max-width: 340px) {
    .case-tabs-nav {
        grid-template-columns: 1fr !important;
    }

    .case-tab-btn {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        min-height: 44px !important;
    }

    .case-tab-btn .tab-btn-sub {
        margin-top: 0 !important;
    }
}