/* ============================================================
   LANDING PAGE STYLES
   All sections of indexv4.html. Loaded once per page.
   Depends on shared.css (palette tokens) + site.css (chrome).
   ============================================================ */


/* ------------------------------------------------------------
   GLOBALS — scroll-snap, blink-pattern, section-eyebrow, section-h2
   ------------------------------------------------------------ */


        @media (min-width: 768px) {
            html {
                scroll-snap-type: y proximity;
                scroll-padding-top: 80px;
            }
            #hero,
            #testimonials,
            #solutions,
            #values,
            #meet-the-cfo,
            #contact-us,
            .panel-wrapper {
                scroll-snap-align: start;
                scroll-snap-stop: normal;
            }
        }

        .bg-blink-pattern {
            position: relative;
        }
        .bg-blink-pattern::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: 0.04;
            background-image: url('../../elements/bg-pattern.svg');
            background-size: 60px 60px;
            background-repeat: repeat;
            z-index: 0;
        }
        .bg-blink-pattern > * {
            position: relative;
            z-index: 1;
        }

        .section-eyebrow {
            display: inline-block;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 16px;
        }
        .section-eyebrow--light { color: var(--deep-aqua); }
        .section-eyebrow--dark  { color: var(--bright-cyan); }

        /* Section heading used by solutions + testimonials sec-heads. */
        .section-h2 {
            font-family: 'Host Grotesk', 'Inter', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--midnight);
            line-height: 1.25;
        }
        @media (min-width: 768px) {
            .section-h2 { font-size: 40px; }
        }

        /* Section head wrapper (eyebrow + h2) — used by testimonials + solutions. */
        .section-head {
            text-align: center;
            margin-bottom: 64px;
        }
        @media (min-width: 768px) {
            .section-head { margin-bottom: 80px; }
        }

        /* Accent fragment inside a section heading. */
        .section-h2-accent {
            color: var(--deep-aqua);
        }

        /* Wide content wrapper used by testimonials. */
        .section-container {
            max-width: 72rem;
            margin: 0 auto;
            padding: 0 24px;
        }

/* ------------------------------------------------------------
   REVEAL ANIMATION SYSTEM — data-reveal, panel-wrapper, mobile breakpoints
   ------------------------------------------------------------ */

        [data-reveal] {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }

        [data-reveal].revealed {
            opacity: 1;
            transform: translateY(0);
        }

        [data-reveal-delay="1"] { transition-delay: 120ms; }
        [data-reveal-delay="2"] { transition-delay: 240ms; }
        [data-reveal-delay="3"] { transition-delay: 360ms; }
        [data-reveal-delay="4"] { transition-delay: 480ms; }
        [data-reveal-delay="5"] { transition-delay: 600ms; }
        [data-reveal-delay="6"] { transition-delay: 720ms; }

        @media (prefers-reduced-motion: reduce) {
            [data-reveal] {
                opacity: 1;
                transform: translateY(0);
                transition: none;
            }
            .testimonial-card {
                opacity: 1;
                translate: 0 0;
            }
        }

        @media (min-width: 768px) {
            .panel-wrapper {
                position: relative;
                z-index: var(--panel-z, 1);
            }

            .panel-frame {
                position: sticky;
                top: 0;
                height: 100vh;
                overflow: hidden;
                border-radius: 20px 20px 0 0;
            }

            .panel-frame--mint     { background-color: var(--mint-white); }
            .panel-frame--midnight { background-color: var(--midnight); }
            .panel-frame--darkteal { background-color: var(--dark-teal); }

            .panel-frame--mint .services-section,
            .panel-frame--mint #testimonials {
                background-color: transparent;
            }

            .panel-frame--midnight .manifesto-section,
            .panel-frame--midnight .final-cta-section {
                background-color: transparent;
            }

            .panel-frame--darkteal .values-section {
                background-color: transparent;
            }

            .panel-wrapper.panel-active .panel-frame {
                will-change: transform;
            }

            .panel-scroll-content {
                will-change: transform;
            }

            /* Services follows testimonials with the same mint bg — drop the rounded
               corners so the boundary doesn't show notches against the page bg. */
            .panel-wrapper--services .panel-frame {
                border-radius: 0;
            }

            /* Sticky-pin hold for the static panels (manifesto, values, cta) is
               unified in the PAGE-LEVEL OVERRIDES block at the bottom of this
               file to calc(100vh + 50px). No per-panel base value here — the
               override is the single source of truth. */
        }

        @media (max-width: 767px) {
            .panel-wrapper {
                position: static;
                z-index: auto;
                height: auto !important; 
            }

            .panel-frame {
                position: static;
                height: auto;
                overflow: visible;
                border-radius: 0;
            }

            .panel-scroll-content {
                transform: none !important; 
            }
        }

        @media (min-width: 768px) {

            .panel-frame--midnight .manifesto-section {
                height: 100vh;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 0;
            }

        }

/* ------------------------------------------------------------
   WORD-LEVEL ANIMATIONS — focus-pull + hero-entrance
   ------------------------------------------------------------ */

        /* ============================================
           FOCUS PULL: blur-to-sharp word reveal
        ============================================ */
        .focus-pull-word {
            display: inline-block;
            filter: blur(12px);
            opacity: 0;
            transition: filter 0.5s ease-out, opacity 0.4s ease-out;
            will-change: filter, opacity;
        }

        .focus-pull-word.sharp {
            filter: blur(0px);
            opacity: 1;
        }

        /* ============================================
           HERO STAGGERED ENTRANCE
           Pure CSS — no JS class-flip needed. animation: ... both
           keeps the start state applied during the initial delay,
           so there's no flash of fully-rendered hero before the
           animation runs.
        ============================================ */
        @keyframes hero-in {
            from { opacity: 0; transform: translateY(40px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .hero-entrance {
            animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .hero-entrance--delay-1 { animation-delay: 200ms; }
        .hero-entrance--delay-2 { animation-delay: 500ms; }
        .hero-entrance--delay-3 { animation-delay: 800ms; }

        @media (prefers-reduced-motion: reduce) {
            .focus-pull-word {
                filter: none !important;
                opacity: 1 !important;
                transition: none !important;
            }
            .hero-entrance {
                animation: none !important;
            }
        }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */


        #hero {
            min-height: 100vh;
            min-height: 100svh;
            position: relative;
            overflow: hidden;  /* clips the typewriter cursor + ambient blobs */
            background-color: var(--midnight);
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 80px;
        }

        /* Hero inner content stack — sits above the ambient/grid layers (z-index 0). */
        .hero-content {
            position: relative;
            z-index: 1;
            overflow: hidden;
            max-width: 42rem;
            margin: 0 auto;
            padding: 64px 24px;
            text-align: center;
        }
        @media (min-width: 768px) {
            .hero-content { padding: 64px 48px; }
        }

        /* Hero h1 (Fractional/Strategic/Proactive + "Startup CFO" stack) */
        .hero-title {
            font-family: 'Host Grotesk', 'Inter', sans-serif;
            font-weight: 600;
            line-height: 1.0;
            color: var(--mint-white);
            margin-bottom: 32px;
        }
        @media (min-width: 768px) {
            .hero-title { margin-bottom: 64px; }
        }

        /* The "Startup CFO" sub-line inside the hero title. */
        .hero-title-sub {
            display: block;
            font-size: 48px;
        }
        @media (min-width: 768px) {
            .hero-title-sub { font-size: 88px; }
        }

        /* Hero tagline below the title: "You build. You sell..." */
        .hero-tagline {
            font-family: 'Host Grotesk', 'Inter', sans-serif;
            font-weight: 500;
            font-size: 24px;
            line-height: 1.2;
            color: var(--light-aqua);
            margin-bottom: 32px;
        }
        @media (min-width: 768px) {
            .hero-tagline {
                font-size: 40px;
                margin-bottom: 64px;
            }
        }

        .typewriter {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            line-height: 1.0;
            min-height: 1.3em;
            margin-bottom: 0px;
            letter-spacing: -1px;
        }

        @media (min-width: 768px) {
            .typewriter {
                font-size: 88px;
            }
        }
        .typewriter-text {
            display: inline;
        }
        .typewriter-cursor {
            display: inline-block;
            width: 2px;
            height: 1em;
            background-color: var(--mint-white);
            margin-left: 6px;
            vertical-align: text-bottom;
            animation: cursor-blink 1s step-end infinite;
        }
        @keyframes cursor-blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        @media (prefers-reduced-motion: reduce) {
            .typewriter-cursor {
                display: none;
            }
        }

        .hero-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(to right, var(--mint-white-05) 1px, transparent 1px),
                linear-gradient(to bottom, var(--mint-white-05) 1px, transparent 1px);
            background-size: 64px 64px;
            mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
            opacity: 0.7;
            pointer-events: none;
            z-index: 0;
        }

        .hero-ambient {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        .hero-ambient::before,
        .hero-ambient::after {
            content: '';
            position: absolute;
            width: 520px;
            height: 520px;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.35;
        }

        .hero-ambient::before {
            background: var(--deep-aqua);
            top: -180px;
            right: -140px;
            animation: heroDrift1 22s ease-in-out infinite alternate;
        }

        .hero-ambient::after {
            background: var(--dark-teal);
            bottom: -200px;
            left: -120px;
            animation: heroDrift2 26s ease-in-out infinite alternate;
        }

        @keyframes heroDrift1 {
            from { transform: translate(0, 0) scale(1); }
            to   { transform: translate(-60px, 40px) scale(1.15); }
        }

        @keyframes heroDrift2 {
            from { transform: translate(0, 0) scale(1); }
            to   { transform: translate(80px, -30px) scale(1.1); }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-ambient::before,
            .hero-ambient::after {
                animation: none !important;
            }
        }

        @media (max-width: 767px) {
            .hero-grid {
                background-size: 48px 48px;
            }
            .hero-ambient::before,
            .hero-ambient::after {
                width: 320px;
                height: 320px;
                filter: blur(60px);
            }
        }

/* ------------------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------------------ */

        #testimonials {
            background-color: var(--mint-white);
            padding: 80px 0;
            padding-top: 200px;  /* extra space for the scattered-card stack */
        }
        @media (min-width: 768px) {
            #testimonials { padding-bottom: 96px; }
        }

        .testimonial-card {
            width: 260px;
            height: fit-content;
            position: relative;
            cursor: pointer;
            opacity: 0;
            translate: 0 80px;
            transition: transform 300ms ease, z-index 100ms, opacity 0.7s ease, translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .testimonial-card.card-revealed {
            opacity: 1;
            translate: 0 0;
        }

        @media (min-width: 768px) {
            .testimonial-card:hover {
                transform: translateX(-5px) translateY(-30px) rotate(0deg) scale(1.1);
                z-index: 10;
            }

            .testimonial-card:hover .testimonial-card-inner {
                box-shadow: 0 0 0 7px var(--light-aqua), 
                            0 20px 30px var(--shadow-40);
            }
        }        
        
        .testimonial-card.expanded {
            height: fit-content;
        }        

        .testimonial-card-inner {
            width: 100%;
            height: 100%;
            background-color: var(--midnight);
            border-radius: 20px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 20px;
            box-shadow: 0 0 0 5px var(--light-aqua-70);
            transition: box-shadow 250ms ease, height 500ms ease;            
        }

        .testimonial-card.expanded .testimonial-card-inner {
            height: 100%;
        }        

        .testimonial-photo-container {
            width: 100%;
            overflow: hidden;
            border-radius: 10px;
        }

        .testimonial-photo {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .testimonial-logo-container {
            width: 100%;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: left;
            margin-top: 12px;
            object-fit: scale-down;
        }

        .testimonial-logo {
            max-height: 40px;
            max-width: 100%;
            padding-left: 10px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .testimonial-info {
            width: 100%;
            padding-left: 10px;
            margin-top: 5px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            color: var(--mint-white);
        }

        .testimonial-quote {
            width: 100%;
            padding: 15px 0px 5px 5px;
            margin-bottom: 15px;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            line-height: 1.2;
            color: var(--light-aqua-80);
            font-style: italic;
            overflow: hidden;
            max-height: 44px;
            transition: max-height 500ms ease, margin-bottom 300ms ease;
        }

        .testimonial-card.expanded .testimonial-quote {
            max-height: 175px;
        }

        .testimonial-quote {
            position: relative;
        }

        .testimonial-quote::after {
            content: '...';
            position: absolute;
            bottom: 0px;
            right: 0px;
            background: var(--midnight);
            padding-left: 3px;
            padding-right: 45px;
            color: var(--light-aqua-80);
            font-style: italic;
            opacity: 1;
            transition: opacity 500ms ease-in;
        }

        .testimonial-card.expanded .testimonial-quote::after {
            opacity: 0;
            transition: opacity 0ms ease;
        }

        .click-hint {
            position: absolute;
            bottom: 12px;
            right: 12px;
            font-size: 11px;
            color: var(--light-aqua-80);
            opacity: 1;
            transition: opacity 200ms ease;
        }

        .testimonial-card.expanded .click-hint {
            opacity: 0;
        }

        .click-hint::after {
            content: ' ↓ ';
        }

        .testimonial-scattered {
            position: relative;
            height: 480px;
        }

        @media (min-width: 768px) {
            .testimonial-card-1 {
                position: absolute;
                left: 8%;
                top: 10%;
                transform: rotate(-5deg);
                z-index: 1;
            }
            .testimonial-card-2 {
                position: absolute;
                left: 29%;
                top: 25%;
                transform: rotate(3deg);
                z-index: 2;
            }
            .testimonial-card-3 {
                position: absolute;
                left: 52%;
                top: 5%;
                transform: rotate(6deg);
                z-index: 1;
            }
            .testimonial-card-4 {
                position: absolute;
                left: 72%;
                top: 18%;
                transform: rotate(-4deg);
                z-index: 2;
            }
        }
        
        .testimonial-cta {
            margin-top: 200px;
        }

        @media (max-width: 767px) {
            #testimonials {
                padding-top: 80px;
            }

            .testimonial-cta {
                margin-top: 20px;
            }

            .testimonial-scattered {
                height: auto;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 0;
            }

            .testimonial-card {
                position: sticky;
                left: auto;
                transform: none !important;
                width: 100%;
                max-width: 300px;
                margin-bottom: 0; 
                cursor: default;
                pointer-events: none; 
            }

            .testimonial-card-1 { top: 100px; z-index: 1; }
            .testimonial-card-2 { top: 120px; z-index: 2; }
            .testimonial-card-3 { top: 140px; z-index: 3; }
            .testimonial-card-4 { top: 160px; z-index: 4; }

            .testimonial-quote {
                max-height: none;
                overflow: visible;
            }

            .testimonial-quote::after {
                display: none;
            }

            .click-hint {
                display: none;
            }

            .testimonial-card .testimonial-card-inner {
                box-shadow: 0 0 0 5px var(--light-aqua-70),
                            0 12px 30px var(--shadow-40);
            }

            .testimonial-scroll-spacer {
                height: calc(100vh - 160px);
                flex-shrink: 0;
                pointer-events: none;
            }
        }

        @media (min-width: 768px) {
            .testimonial-scroll-spacer {
                display: none;
            }
        }


/* ------------------------------------------------------------
   SOLUTIONS / SERVICES
   ------------------------------------------------------------ */

       
        .services-section {
            background-color: var(--mint-white);
            padding: 80px 0 40px;
        }

        .services-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .services-heading {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 600;
            font-size: 40px;
            color: var(--midnight);
            text-align: center;
            margin-bottom: 70px;
        }

        .services-category-card {
            background-color: var(--mint-shade);
            border-radius: 24px;
            padding: 40px 40px 16px;
            margin-bottom: 32px;
        }

        .services-category-card:last-of-type {
            margin-bottom: 0;
        }

        .services-lead-in {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 16px;
            color: var(--midnight-70);
            line-height: 1.5;
            margin: -12px 0 28px;
            padding-left: 20px;
            max-width: 80%;
        }

        .services-subheading {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 18px;
            color: var(--midnight-70);
            text-align: center;
            max-width: 640px;
            margin: 16px auto 0;
            line-height: 1.5;
        }

        .services-pricing-signal {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 15px;
            color: var(--midnight-50);
            text-align: center;
            margin: 0 auto 12px;
            line-height: 1.5;
        }

        .category-title {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 600;
            font-size: 28px;
            color: var(--midnight);
            text-align: left;
            margin-bottom: 28px;
            margin-top: 0px;
            padding-left: 20px;
        }

        .service-row {
            border-bottom: 1px solid var(--midnight-10);
        }

        .service-row:last-child {
            border-bottom: none;
        }

        .service-row:first-of-type {
            border-top: 1px solid var(--midnight-10);
        }

        .service-toggle {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 22px 0;
            background: none;
            border: none;
            cursor: pointer;
            text-align: left;
        }

        .service-toggle:focus {
            outline: none;
        }

        .service-toggle:focus-visible .service-title {
            text-decoration: underline;
            text-underline-offset: 4px;
        }

        .service-title {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 500;
            font-size: 20px;
            color: var(--midnight);
            padding-left: 20px;
        }

        .service-icon {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 400;
            font-size: 24px;
            color: var(--midnight);
            line-height: 1;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            border-radius: 50%;
            background-color: transparent;
            flex-shrink: 0;
            transition: transform 400ms ease, background-color 300ms ease;
        }

        .service-row:hover .service-icon {
            transform: scale(1.2);
            background-color: var(--midnight-05);
        }

        .service-row.expanded .service-icon {
            transform: rotate(135deg);
            background-color: var(--midnight-05);
        }

        .service-row.expanded:hover .service-icon {
            transform: scale(1.2) rotate(135deg);
        }

        .service-content {
            max-height: 0;
            overflow: hidden;
            padding-left: 20px;
            transition: max-height 700ms ease;
        }

        .service-row.expanded .service-content {
            max-height: 200px;
        }

        .service-description {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 16px;
            line-height: 1.5;
            color: var(--midnight-70);
            max-width: 80%;
            padding: 0 0 24px 0;
        }

        @media (max-width: 767px) {
            .services-section {
                padding: 60px 0 20px;
            }

            .services-heading {
                font-size: 28px;
                margin-bottom: 50px;
            }

            .services-category-card {
                padding: 24px 20px 8px;
                border-radius: 18px;
                margin-bottom: 24px;
            }

            .services-lead-in {
                font-size: 15px;
                margin: -8px 0 24px;
                padding-left: 20px;
                max-width: 100%;
            }

            .services-subheading {
                font-size: 16px;
                margin: 12px auto 0;
            }

            .services-pricing-signal {
                font-size: 13px;
                margin: 0 auto 8px;
            }

            .category-title {
                font-size: 22px;
                margin-bottom: 24px;
            }

            .service-toggle {
                padding: 18px 0;
            }

            .service-title {
                font-size: 18px;
                padding-right: 16px;
            }

            .service-description {
                font-size: 15px;
                max-width: 100%;
            }
        }

/* ------------------------------------------------------------
   MANIFESTO
   ------------------------------------------------------------ */

        .manifesto-section {
            background-color: var(--midnight);
            position: relative;
            padding: 160px 0 140px;
        }

        .manifesto-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 800px;
            height: 600px;
            background: radial-gradient(ellipse, var(--deep-aqua-15) 0%, transparent 70%);
            pointer-events: none;
            opacity: 0.47;
        }

        .manifesto-inner {
            position: relative;
            z-index: 1;
            max-width: 720px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .manifesto-word {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 600;
            font-size: 88px;
            line-height: 1.0;
            color: var(--mint-white);
            text-align: center;
            margin-bottom: 12px;
            letter-spacing: -1px;
        }

        .manifesto-subline {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 500;
            font-size: 36px;
            line-height: 1.25;
            color: var(--light-aqua);
            text-align: center;
            margin-bottom: 72px;
        }

        .manifesto-statements {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .manifesto-statement {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 20px;
            line-height: 1.5;
            color: var(--light-aqua-70);
            text-align: center;
        }

        .manifesto-statement .conf {
            color: var(--teal);
            font-weight: 500;
        }

        @media (max-width: 767px) {
            .manifesto-section {
                min-height: 100vh;
                min-height: 100svh;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 80px 20px;
            }

            .manifesto-section::before {
                width: 400px;
                height: 300px;
            }

            .manifesto-inner   { padding: 0 20px; }
            .manifesto-word    { font-size: 48px; }
            .manifesto-subline { font-size: 24px; margin-bottom: 44px; }
            .manifesto-statement { font-size: 18px; text-align: left; }
        }

/* ------------------------------------------------------------
   VALUES
   ------------------------------------------------------------ */

        .values-section {
            padding: 100px 0;
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .values-inner {
            max-width: 960px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        .values-head {
            text-align: center;
            margin-bottom: 56px;
        }

        .values-head h2 {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 600;
            font-size: clamp(28px, 4vw, 44px);
            line-height: 1.1;
            color: var(--mint-white);
            margin: 8px 0 0;
            letter-spacing: -0.015em;
        }

        .values-head h2 em {
            font-style: normal;
            color: var(--teal);
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .value-card {
            padding: 36px;
            background: var(--mint-white-05);
            border: 1px solid var(--mint-white-10);
            border-radius: 16px;
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease;
        }

        .value-card:hover {
            transform: translateY(-3px);
            background: var(--mint-white-10);
            border-color: var(--light-aqua);
        }

        .value-card-num {
            font-family: 'Host Grotesk', sans-serif;
            font-size: 48px;
            font-weight: 600;
            color: var(--teal);
            line-height: 1;
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }

        .value-card-title {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 500;
            font-size: 22px;
            color: var(--mint-white);
            margin: 0 0 10px;
        }

        .value-card-desc {
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            color: var(--light-aqua);
            margin: 0;
            line-height: 1.55;
        }

        @media (max-width: 720px) {
            .values-section { padding: 70px 0; min-height: auto; }
            .values-grid { grid-template-columns: 1fr; gap: 16px; }
            .value-card { padding: 28px; }
            .value-card-num { font-size: 40px; margin-bottom: 16px; }
            .value-card-title { font-size: 20px; }
            .values-head { margin-bottom: 40px; }
        }

/* ------------------------------------------------------------
   MEET THE CFO
   ------------------------------------------------------------ */

        .meet-section {
            background-color: var(--dark-teal);
            padding: 100px 0;
            position: relative;
        }

        .meet-inner {
            max-width: 1080px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .meet-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 64px;
            align-items: center;
        }

        .meet-portrait {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            aspect-ratio: 4 / 5;
            background: var(--midnight);
        }

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

        .meet-portrait::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, var(--midnight-50), transparent 50%);
            pointer-events: none;
        }

        .meet-card {
            position: absolute;
            left: 20px;
            bottom: 20px;
            padding: 14px 18px;
            background: var(--midnight-80);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--mint-white-10);
            border-radius: 14px;
        }

        .meet-card-name {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 500;
            font-size: 16px;
            color: var(--mint-white);
            margin: 0;
        }

        .meet-card-role {
            font-size: 12px;
            color: var(--light-aqua);
            margin: 2px 0 0;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .meet-content h3 {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 600;
            font-size: clamp(28px, 3.2vw, 40px);
            line-height: 1.1;
            margin: 12px 0 24px;
            color: var(--mint-white);
            letter-spacing: -0.01em;
        }

        .meet-content p {
            font-family: 'Inter', sans-serif;
            font-size: 17px;
            line-height: 1.6;
            color: var(--light-aqua);
            margin: 0 0 18px;
        }

        .meet-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin: 32px 0;
            padding: 22px 0;
            border-top: 1px solid var(--mint-white-10);
            border-bottom: 1px solid var(--mint-white-10);
        }

        .meet-stat-value {
            font-family: 'Host Grotesk', sans-serif;
            font-weight: 600;
            font-size: 28px;
            color: var(--mint-white);
            line-height: 1;
            letter-spacing: -0.01em;
        }

        .meet-stat-label {
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--light-aqua);
            margin-top: 6px;
        }

        .meet-cta-row {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

        @media (max-width: 840px) {
            .meet-section { padding: 70px 0; }
            .meet-grid { grid-template-columns: 1fr; gap: 40px; }
            .meet-portrait { max-width: 380px; margin: 0 auto; width: 100%; }
            .meet-content h3 { font-size: 28px; margin-top: 8px; }
            .meet-content p { font-size: 16px; }
            .meet-stat-value { font-size: 24px; }
        }

/* ------------------------------------------------------------
   FINAL CTA
   ------------------------------------------------------------ */

        .final-cta-section {
            background-color: var(--midnight);
            min-height: 100vh;
            min-height: 100svh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .final-cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 50%, var(--teal-15) 0%, transparent 60%);
            pointer-events: none;
        }

        .final-cta-inner {
            position: relative;
            z-index: 1;
            text-align: center;
            padding: 0 24px 40px;
        }

        /* CTA headline pair — "You build. You Sell. / Let us own your finance." */
        .cta-title {
            font-family: 'Host Grotesk', 'Inter', sans-serif;
            font-weight: 500;
            font-size: 48px;
            line-height: 1.1;
            color: var(--light-aqua);
            margin: 0;
        }
        .cta-title--light {
            color: var(--mint-white);
            margin-bottom: 32px;
        }
        @media (min-width: 768px) {
            .cta-title { font-size: 60px; }
            .cta-title--light { margin-bottom: 40px; }
        }

        /* Sub-headline paragraph below the headline pair. */
        .cta-subtitle {
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            line-height: 1.5;
            color: var(--light-aqua-80);
            max-width: 36rem;
            margin: 0 auto 40px;
        }
        @media (min-width: 768px) {
            .cta-subtitle {
                font-size: 18px;
                margin-bottom: 56px;
            }
        }

        @media (min-width: 768px) {
            .panel-frame--midnight .final-cta-section {
                height: 100vh;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 0;
            }
        }

        @media (max-width: 767px) {
            .final-cta-section {
                min-height: 100vh;
                min-height: 100svh;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 80px 20px;
            }
        }

/* ------------------------------------------------------------
   PAGE-LEVEL OVERRIDES & TUNING
   Snap-padding reset, sticky-pin hold values, Meet-the-CFO layout.
   Was inline in index.html during the wip2 iteration; moved here
   once wip2 became canonical.
   ------------------------------------------------------------ */

        @media (min-width: 768px) {
            html { scroll-padding-top: 0; }

            /* Consistent 50px hold across all three sticky-pin sections. */
            .panel-wrapper--manifesto,
            .panel-wrapper--values,
            .panel-wrapper--cta {
                min-height: calc(100vh + 50px);
            }

            /* CTA-only snap exemption: CTA is last before footer, so its snap target
               would proximity-trap users from reaching the footer. Inner section also
               exempt to avoid duplicate snap targets at the same doc position. */
            #contact-us,
            .panel-wrapper--cta {
                scroll-snap-align: none;
            }
        }

        @media (min-width: 841px) {
            .meet-section {
                min-height: 100vh;
                min-height: 100svh;
                display: flex;
                align-items: center;
            }
            .meet-inner { width: 100%; }
            .meet-cta-row { margin-top: 32px; }
        }

        @media (max-width: 840px) {
            .meet-grid { gap: 28px; }
            .meet-portrait { order: 2; max-width: 280px; }
            .meet-content { order: 1; }
            .meet-cta-row { margin-top: 24px; }
        }

