/* ========================================
   DESIGN SYSTEM
   Cleaned-up, systematic approach
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: light;

    /* --- Colors --- */
    --dark-jungle: #122B1D;
    --hooker-green: #537E72;
    --pistachio: #9CC97F;
    --light-gray: #CDDECB;
    --white: #FFFFFF;
    --off-white: #FAFAF9;

    /* RGB triplets for rgba() usage */
    --rgb-dark: 18, 43, 29;
    --rgb-pistachio: 156, 201, 127;
    --rgb-white: 255, 255, 255;

    /* Elevated surface (dark sections: About, CTA, Footer) */
    --surface-elevated: #122B1D;
    --on-surface-elevated: #FFFFFF;

    /* --- Typography --- */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* --- Spacing System (3 section sizes) --- */
    --section-sm: 80px;
    --section-md: 120px;
    --section-lg: 160px;

    /* --- Opacity System (3 levels) --- */
    --text-primary: 0.9;
    --text-secondary: 0.7;
    --text-tertiary: 0.5;

    /* --- Animation Tokens --- */
    --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-micro: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --duration-reveal: 0.8s;
    --duration-fast: 0.4s;
    --duration-hero: 1.0s;
    --translate-small: 16px;
    --stagger-unit: 80ms;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-color: var(--off-white);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-jungle);
    background: var(--white);
    position: relative;
}

/* ========================================
   STICKY HEADER — Floating Pill
   ======================================== */

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
    transition: opacity 0.4s var(--ease-reveal),
                visibility 0.4s var(--ease-reveal),
                transform 0.4s var(--ease-reveal);
    pointer-events: none;
}

.site-header.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 20px;
    background: rgba(var(--rgb-dark), 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 100px;
    border: 1px solid rgba(var(--rgb-white), 0.08);
    box-shadow: 0 4px 24px rgba(var(--rgb-dark), 0.15),
                0 1px 4px rgba(var(--rgb-dark), 0.1);
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 8px;
    line-height: 1;
}

.header-logo-img {
    height: 44px;
    max-height: 44px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(var(--rgb-white), 0.6);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 100px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-link:hover {
    color: rgba(var(--rgb-white), 0.95);
    background: rgba(var(--rgb-white), 0.08);
}

.nav-cta {
    background: var(--pistachio);
    color: var(--dark-jungle);
    padding: 8px 20px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--dark-jungle);
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .site-header { top: 12px; }

    .header-inner {
        padding: 5px 6px 5px 16px;
        gap: 4px;
    }

    .header-logo { margin-right: 4px; }
    .header-logo-img { height: 36px; }

    .nav-link:not(.nav-cta) {
        display: none;
    }

    .nav-cta {
        padding: 7px 16px;
        font-size: 12px;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    overflow: hidden;
}

.hero-inner {
    max-width: 720px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--hooker-green);
    margin-bottom: 40px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.1;
    color: var(--dark-jungle);
    margin-bottom: 0;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
}

.hero-divider {
    width: 48px;
    height: 1px;
    background: var(--pistachio);
    margin: 36px 0;
}

.hero-text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--hooker-green);
    max-width: 460px;
    margin-bottom: 44px;
}

/* ---- CTA Button ---- */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 44px;
    background: var(--surface-elevated);
    color: var(--on-surface-elevated);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.4s var(--ease-reveal);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--pistachio);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.hero-cta:hover::before {
    width: 400px;
    height: 400px;
}

.hero-cta:hover {
    color: var(--dark-jungle);
}

.cta-text,
.cta-arrow {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    font-size: 20px;
    transition: transform 0.4s ease;
}

.hero-cta:hover .cta-arrow {
    transform: translateX(8px);
}

/* ---- Scroll hint ---- */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--hooker-green);
    opacity: 0.4;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- Hero staggered animation ---- */
.hero-anim {
    opacity: 0;
    transform: translateY(var(--translate-small));
    transition: opacity var(--duration-hero) var(--ease-reveal),
                transform var(--duration-hero) var(--ease-reveal);
    transition-delay: calc(var(--reveal-delay, 0) * var(--stagger-unit));
}

.hero-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-label.hero-anim {
    transform: none;
}
.hero-label.hero-anim.is-visible { transform: none; }

.hero-title.hero-anim {
    transform: scale(0.95);
}
.hero-title.hero-anim.is-visible { transform: scale(1); }

.hero-divider.hero-anim {
    transform: scaleX(0);
}
.hero-divider.hero-anim.is-visible { transform: scaleX(1); }

.hero-scroll-hint.hero-anim {
    transform: translateX(-50%);
}
.hero-scroll-hint.hero-anim.is-visible {
    opacity: 0.4;
    transform: translateX(-50%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-scroll-hint {
        animation: none;
    }
}

@media (min-width: 768px) {
    .hero { padding: 100px 60px; }
    .hero-title { font-size: clamp(56px, 6vw, 88px); }
    .hero-text { font-size: 17px; }
}

@media (min-width: 1024px) {
    .hero-inner { max-width: 800px; }
    .hero-label { margin-bottom: 48px; }
    .hero-text { font-size: 18px; }
}

@media (min-width: 1400px) {
    .hero-title { font-size: 92px; }
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */

.philosophy {
    padding: var(--section-md) 40px;
    background: var(--off-white);
}

.philosophy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.statement-block {
    border-left: 4px solid var(--pistachio);
    padding-left: 60px;
}

.statement-text {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 48px;
    line-height: 1.4;
    color: var(--dark-jungle);
}

/* Word Wipe Reveal */
.statement-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease-reveal),
                transform 0.5s var(--ease-reveal);
    transition-delay: calc(var(--word-i, 0) * 40ms);
}

.statement-block.is-revealed .word {
    opacity: 1;
    transform: translateY(0);
}

/* Border grows from top */
.statement-block {
    position: relative;
}

.statement-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--pistachio);
    transition: height 1.2s var(--ease-reveal);
}

.statement-block.is-revealed::before {
    height: 100%;
}

/* Hide original static border when JS is active */
.statement-block.word-split {
    border-left-color: transparent;
}

@media (max-width: 768px) {
    .statement-text .word {
        transition-delay: calc(var(--word-i, 0) * 30ms);
    }
}

@media (prefers-reduced-motion: reduce) {
    .statement-text .word {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .statement-block::before {
        height: 100%;
        transition: none;
    }
}

@media (max-width: 768px) {
    .philosophy { padding: var(--section-sm) 24px; }
    .statement-text { font-size: 32px; }
    .statement-block { padding-left: 30px; }
}

/* ========================================
   JOURNEY SECTION - Animated Vertical Timeline
   ======================================== */

.journey {
    padding: var(--section-lg) 24px;
    background: var(--white);
}

.journey-header {
    text-align: center;
    margin-bottom: 64px;
}

.journey-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    color: var(--dark-jungle);
    margin-bottom: 16px;
}

.journey-subtitle {
    font-size: 16px;
    color: var(--hooker-green);
    opacity: var(--text-secondary);
}

/* --- Timeline Container --- */
.journey-timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    /* Left padding for line + dot on mobile */
    padding-left: 48px;
}

/* --- SVG Progress Line --- */
.journey-line-wrap {
    position: absolute;
    top: 0;
    left: 18px;
    width: 4px;
    height: 100%;
    z-index: 1;
}

.journey-line-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.journey-line-bg {
    stroke: rgba(var(--rgb-dark), 0.08);
    stroke-width: 4;
}

.journey-line-progress {
    stroke: var(--pistachio);
    stroke-width: 4;
    stroke-linecap: round;
    /* Full dash = hidden initially, JS animates dashoffset */
    stroke-dasharray: var(--line-length, 1000);
    stroke-dashoffset: var(--line-length, 1000);
    transition: none; /* JS controls this directly */
}

/* --- Step (dot + card row) --- */
.journey-step {
    position: relative;
    padding-bottom: 48px;
}

.journey-step:last-child {
    padding-bottom: 0;
}

/* --- Dot --- */
.journey-dot {
    position: absolute;
    left: -48px;
    top: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.journey-dot-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--rgb-pistachio), 0);
    transition: background 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal);
    transform: scale(0.5);
}

.journey-dot-core {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(var(--rgb-dark), 0.12);
    transition: background 0.5s var(--ease-reveal), transform 0.5s var(--ease-reveal),
                box-shadow 0.5s var(--ease-reveal);
    z-index: 1;
}

/* Dot activated state */
.journey-step.is-active .journey-dot-ring {
    background: rgba(var(--rgb-pistachio), 0.15);
    transform: scale(1);
}

.journey-step.is-active .journey-dot-core {
    background: var(--pistachio);
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(var(--rgb-pistachio), 0.25),
                0 0 20px rgba(var(--rgb-pistachio), 0.15);
}

/* --- Card --- */
.journey-card {
    position: relative;
    background: var(--white);
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid rgba(var(--rgb-dark), 0.08);
    transition: box-shadow 0.4s var(--ease-micro),
                border-color 0.4s var(--ease-micro),
                opacity 0.7s var(--ease-reveal),
                transform 0.7s var(--ease-reveal);
    /* Hidden by default — revealed by JS */
    opacity: 0;
    transform: translateY(24px);
}

.journey-step.is-active .journey-card {
    opacity: 1;
    transform: translateY(0);
}

.journey-step.is-active .journey-card:hover {
    box-shadow: 0 8px 32px rgba(var(--rgb-dark), 0.08);
    border-color: rgba(var(--rgb-pistachio), 0.2);
}

/* --- Card Children: staggered build-up --- */
.journey-card-number {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: rgba(var(--rgb-dark), 0.06);
    line-height: 1;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.5s var(--ease-reveal), transform 0.5s var(--ease-reveal);
    transition-delay: 0s;
}
.journey-step.is-active .journey-card-number {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.journey-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--pistachio) 0%, var(--hooker-green) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.4s var(--ease-reveal), transform 0.5s var(--ease-out-back);
    transition-delay: 0s;
}
.journey-step.is-active .journey-card-icon {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.25s;
}

.journey-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.journey-card-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-jungle);
    margin-bottom: 6px;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.4s var(--ease-reveal), transform 0.4s var(--ease-reveal);
    transition-delay: 0s;
}
.journey-step.is-active .journey-card-title {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.35s;
}

.journey-card-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--pistachio);
    margin-bottom: 16px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-reveal);
    transition-delay: 0s;
}
.journey-step.is-active .journey-card-subtitle {
    opacity: 1;
    transition-delay: 0.40s;
}

.journey-card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-jungle);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease-reveal), transform 0.5s var(--ease-reveal);
    transition-delay: 0s;
}
.journey-step.is-active .journey-card-text {
    opacity: var(--text-secondary);
    transform: translateY(0);
    transition-delay: 0.45s;
}

/* will-change for animated elements */
.journey-line-progress { will-change: stroke-dashoffset; }
.journey-step .journey-card { will-change: opacity, transform; }
.journey-step.is-active .journey-card { will-change: auto; }
.journey-dot-ring, .journey-dot-core { will-change: transform, background; }
.journey-step.is-active .journey-dot-ring,
.journey-step.is-active .journey-dot-core { will-change: auto; }

/* --- Tablet --- */
@media (min-width: 768px) {
    .journey { padding: var(--section-lg) 40px; }
    .journey-timeline {
        max-width: 720px;
        padding-left: 64px;
    }
    .journey-line-wrap { left: 22px; }
    .journey-dot { left: -64px; width: 48px; height: 48px; }
    .journey-dot-ring { width: 48px; height: 48px; }
    .journey-dot-core { width: 16px; height: 16px; }
    .journey-step { padding-bottom: 56px; }
    .journey-card { padding: 44px 36px; }
}

/* --- Desktop --- */
@media (min-width: 1024px) {
    .journey { padding: var(--section-lg) 80px; }
    .journey-header { margin-bottom: 80px; }
    .journey-timeline { max-width: 780px; padding-left: 72px; }
    .journey-line-wrap { left: 24px; }
    .journey-dot { left: -72px; width: 52px; height: 52px; }
    .journey-dot-ring { width: 52px; height: 52px; }
    .journey-dot-core { width: 18px; height: 18px; }
    .journey-step { padding-bottom: 64px; }
    .journey-card { padding: 48px 40px; }
    .journey-card-text { font-size: 16px; }
}

/* --- Reduced motion: show everything immediately --- */
@media (prefers-reduced-motion: reduce) {
    .journey-card,
    .journey-card-number,
    .journey-card-icon,
    .journey-card-title,
    .journey-card-subtitle,
    .journey-card-text {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .journey-card-text { opacity: var(--text-secondary); }
    .journey-dot-core { background: var(--pistachio); }
    .journey-line-progress { stroke-dashoffset: 0 !important; }
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats {
    padding: var(--section-sm) 24px;
    background: var(--off-white);
}

.stats-title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hooker-green);
    opacity: var(--text-tertiary);
    text-align: center;
    margin: 0 0 40px;
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(64px, 12vw, 96px);
    font-weight: 300;
    color: var(--hooker-green);
    line-height: 1;
    display: inline-block;
}

.stat-plus,
.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 52px);
    font-weight: 300;
    color: var(--pistachio);
    display: inline-block;
    margin-left: 2px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hooker-green);
    opacity: var(--text-secondary);
}

.stat-label::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--pistachio);
    margin: 14px auto 0;
    border-radius: 1px;
}

.stat-divider {
    width: 40px;
    height: 1px;
    background: var(--light-gray);
}

@media (min-width: 768px) {
    .stats { padding: var(--section-md) 60px; }
    .stats-grid { flex-direction: row; justify-content: center; }
    .stat-card { flex: 1; padding: 48px 32px; }
    .stat-divider { width: 1px; height: 80px; align-self: center; }
}

@media (min-width: 1024px) {
    .stats { padding: var(--section-md) 80px; }
    .stat-card { padding: 56px 48px; }
    .stat-number { font-size: 96px; }
    .stat-plus, .stat-suffix { font-size: 52px; }
    .stat-label { font-size: 13px; }
    .stat-divider { height: 100px; }
}

/* ========================================
   REVEAL SYSTEM (Final CTA only)
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-reveal) var(--ease-reveal),
                transform var(--duration-reveal) var(--ease-reveal);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-child {
    opacity: 0;
    transform: translateY(var(--translate-small));
    transition: opacity var(--duration-reveal) var(--ease-reveal),
                transform var(--duration-reveal) var(--ease-reveal);
    transition-delay: calc(var(--reveal-delay, 0) * var(--stagger-unit));
}

.reveal-child.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.final-cta .cta-title.reveal-child { transform: scale(0.9); }
.final-cta .cta-title.reveal-child.is-visible { transform: scale(1); }

.final-cta .cta-divider.reveal-child { transform: scaleX(0); }
.final-cta .cta-divider.reveal-child.is-visible { transform: scaleX(1); }

.final-cta .cta-subtitle.reveal-child { transform: none; }
.final-cta .cta-subtitle.reveal-child.is-visible { transform: none; }

/* --- About Section: Spotlight Entrance --- */

/* Photo: scale-up with glow bloom */
.about .about-photo-wrap.reveal-child {
    transform: scale(0.85);
    transition: opacity 1s var(--ease-reveal),
                transform 1s var(--ease-reveal),
                box-shadow 1s var(--ease-reveal);
}
.about .about-photo-wrap.reveal-child.is-visible {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(var(--rgb-pistachio), 0.2),
                0 0 80px rgba(var(--rgb-pistachio), 0.08);
}

/* Label/Name/Lead: staggered fadeUp (uses default reveal-child — no override needed) */

/* Story blocks: alternating slide from left/right on desktop */
.about .about-block.reveal-child {
    transition: opacity 0.9s var(--ease-reveal),
                transform 0.9s var(--ease-reveal);
}
.about .about-block:nth-child(odd).reveal-child {
    transform: translateX(-24px);
}
.about .about-block:nth-child(even).reveal-child {
    transform: translateX(24px);
}
.about .about-block.reveal-child.is-visible {
    transform: translateX(0);
}

/* Credentials: spring-pop from scale */
.about .about-credential.reveal-child {
    transform: scale(0.92);
    transition: opacity 0.6s var(--ease-spring),
                transform 0.6s var(--ease-spring);
}
.about .about-credential.reveal-child.is-visible {
    transform: scale(1);
}

/* CTA wrap: scale-up entrance */
.about .about-cta-wrap.reveal-child {
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease-reveal),
                transform 0.8s var(--ease-out-back);
}
.about .about-cta-wrap.reveal-child.is-visible {
    transform: scale(1);
}

/* Photo border glow transition */
.about .about-photo-wrap {
    transition: border-color 1.2s var(--ease-reveal);
}
.about .about-photo-wrap.reveal-child.is-visible {
    border-color: var(--pistachio);
}

/* Mobile: story blocks use fadeUp instead of slide L/R */
@media (max-width: 768px) {
    .about .about-block:nth-child(odd).reveal-child,
    .about .about-block:nth-child(even).reveal-child {
        transform: translateY(var(--translate-small));
    }
    .about .about-block.reveal-child.is-visible {
        transform: translateY(0);
    }
    .about .about-photo-wrap.reveal-child {
        transform: scale(0.9);
    }
    .about .about-photo-wrap.reveal-child.is-visible {
        box-shadow: 0 0 24px rgba(var(--rgb-pistachio), 0.15),
                    0 0 48px rgba(var(--rgb-pistachio), 0.06);
    }
}

/* --- Stats Section: Card Pop --- */

.stats .stat-card.reveal-child {
    transform: scale(0.92);
    transition: opacity 0.6s var(--ease-spring),
                transform 0.6s var(--ease-spring);
}
.stats .stat-card.reveal-child.is-visible {
    transform: scale(1);
}

.stats .stat-divider.reveal-child {
    transform: scaleY(0);
    transition: opacity 0.4s var(--ease-reveal),
                transform 0.4s var(--ease-reveal);
}
.stats .stat-divider.reveal-child.is-visible {
    transform: scaleY(1);
}

/* --- Testimonial Section: Card Depth Entrance --- */

/* Desktop: stories container slides from right with subtle 3D */
.testimonial .stories-container.reveal-child {
    transform: translateX(40px) rotateY(-4deg);
    transition: opacity 1s var(--ease-reveal),
                transform 1s var(--ease-reveal);
}
.testimonial .stories-container.reveal-child.is-visible {
    transform: translateX(0) rotateY(0deg);
}

/* Mobile: simpler translateY instead of 3D */
@media (max-width: 768px) {
    .testimonial .stories-container.reveal-child {
        transform: translateY(20px);
    }
    .testimonial .stories-container.reveal-child.is-visible {
        transform: translateY(0);
    }
}

.reveal, .reveal-child, .hero-anim { will-change: opacity, transform; }
.reveal.is-visible, .reveal-child.is-visible, .hero-anim.is-visible { will-change: auto; }

@media (max-width: 768px) {
    :root {
        --translate-small: 12px;
        --stagger-unit: 60ms;
        --duration-reveal: 0.6s;
        --duration-hero: 0.7s;
    }
}

/* ========================================
   RESULTS SECTION - Before/After
   ======================================== */

.results {
    padding: var(--section-md) 20px;
    background: var(--white);
}

.results-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.results-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    color: var(--dark-jungle);
    margin-bottom: 14px;
}

.results-subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hooker-green);
    opacity: var(--text-secondary);
}

.reveal-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
}

.reveal-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(var(--rgb-dark), 0.08),
                0 1px 4px rgba(var(--rgb-dark), 0.04);
    transition: box-shadow var(--duration-fast) var(--ease-micro);
}

.reveal-card:hover {
    box-shadow: 0 12px 48px rgba(var(--rgb-dark), 0.12),
                0 2px 8px rgba(var(--rgb-dark), 0.06);
}

.reveal-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.reveal-before, .reveal-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: translateZ(0);
}

.reveal-before img, .reveal-after img {
    width: 100%; height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.reveal-before { z-index: 1; }

.reveal-after {
    z-index: 2;
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.reveal-divider {
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: rgba(var(--rgb-white), 0.85);
    z-index: 3;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reveal-card.is-revealing .reveal-divider { opacity: 1; }

.reveal-label {
    position: absolute;
    top: 16px; z-index: 5;
    font-family: var(--font-body);
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    padding: 6px 14px;
    border-radius: 100px;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-label--before {
    left: 14px;
    background: rgba(var(--rgb-dark), 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.reveal-card.is-revealed .reveal-label--before {
    opacity: 0;
    transform: translateX(-8px);
}

.reveal-label--after {
    left: 14px;
    background: rgba(var(--rgb-pistachio), 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateX(8px);
}

.reveal-card.is-revealing .reveal-label--after,
.reveal-card.is-revealed .reveal-label--after {
    opacity: 1;
    transform: translateX(0);
}

.reveal-progress {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: rgba(var(--rgb-dark), 0.1);
    z-index: 5;
}

.reveal-progress-bar {
    height: 100%; width: 0%;
    background: var(--pistachio);
    border-radius: 0 2px 2px 0;
    transition: width 0.05s linear;
}

.reveal-info { padding: 18px 22px 22px; }

.reveal-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pistachio);
    background: rgba(var(--rgb-pistachio), 0.12);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.reveal-caption {
    font-size: 15px; line-height: 1.6;
    color: var(--dark-jungle);
    opacity: var(--text-secondary);
}

@media (min-width: 768px) {
    .results { padding: var(--section-lg) 40px; }
    .results-header { margin-bottom: 64px; }
    .reveal-grid { flex-direction: row; gap: 24px; max-width: 1100px; }
    .reveal-card { flex: 1; }
}

@media (min-width: 1024px) {
    .results { padding: var(--section-lg) 40px; }
    .results-header { margin-bottom: 80px; }
    .reveal-grid { gap: 28px; max-width: 1200px; }
    .reveal-card { border-radius: 20px; }
    .reveal-info { padding: 24px 28px 28px; }
}

@media (min-width: 1400px) {
    .reveal-grid { gap: 36px; max-width: 1320px; }
}

@media (max-width: 768px) {
    .results { padding: var(--section-sm) 16px; }
    .results-header { margin-bottom: 32px; }
    .reveal-grid { gap: 28px; max-width: 480px; }
    .reveal-info { padding: 16px 18px 18px; }
    .reveal-caption { font-size: 14px; }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--section-lg) 24px;
    background: var(--surface-elevated);
    overflow: hidden;
}

.about-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 80px;
    gap: 40px;
}

.about-photo-wrap {
    width: 180px; height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(var(--rgb-pistachio), 0.3);
}

.about-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-label {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pistachio);
    display: block;
    margin-bottom: 16px;
}

.about-name {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--on-surface-elevated);
    margin-bottom: 20px;
}

.about-lead {
    font-family: var(--font-body);
    font-size: 16px; line-height: 1.8;
    color: rgba(var(--rgb-white), var(--text-secondary));
}

.about-story {
    max-width: 600px;
    margin: 0 auto 80px;
    display: flex;
    flex-direction: column;
}

.about-block {
    padding: 32px 0;
    border-top: 1px solid rgba(var(--rgb-white), 0.08);
}

.about-block:last-child {
    border-bottom: 1px solid rgba(var(--rgb-white), 0.08);
}

.about-block p {
    font-family: var(--font-body);
    font-size: 16px; line-height: 1.85;
    color: rgba(var(--rgb-white), var(--text-secondary));
}

.about-credentials {
    max-width: 600px;
    margin: 0 auto 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-credential {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(var(--rgb-white), 0.04);
    border-radius: 8px;
    border: 1px solid rgba(var(--rgb-white), 0.06);
}

.credential-icon {
    color: var(--pistachio);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.credential-text {
    font-family: var(--font-body);
    font-size: 14px; font-weight: 500;
    color: rgba(var(--rgb-white), 0.8);
    letter-spacing: 0.2px;
}

.about-cta-wrap {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.about-cta-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: rgba(var(--rgb-white), var(--text-primary));
    margin-bottom: 36px;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 44px;
    background: var(--pistachio);
    color: var(--dark-jungle);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.4s var(--ease-reveal);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: var(--hooker-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.about-cta:hover::before { width: 400px; height: 400px; }
.about-cta:hover { color: var(--on-surface-elevated); }

.about-cta .cta-text,
.about-cta .cta-arrow { position: relative; z-index: 1; }

.about-cta .cta-arrow {
    font-size: 20px;
    transition: transform 0.4s ease;
}

.about-cta:hover .cta-arrow { transform: translateX(8px); }

@media (min-width: 768px) {
    .about { padding: var(--section-lg) 60px; }
    .about-intro {
        flex-direction: row; text-align: left;
        max-width: 800px; gap: 56px; margin-bottom: 100px;
    }
    .about-photo-wrap { width: 220px; height: 220px; }
    .about-lead { font-size: 17px; }
    .about-story { max-width: 700px; margin-bottom: 100px; }
    .about-block p { font-size: 17px; }
    .about-credentials { max-width: 700px; flex-direction: row; }
    .about-credential { flex: 1; }
}

@media (min-width: 1024px) {
    .about { padding: var(--section-lg) 80px; }
    .about-intro { max-width: 900px; gap: 72px; }
    .about-photo-wrap { width: 260px; height: 260px; }
    .about-name { font-size: 56px; }
    .about-lead { font-size: 18px; }
    .about-story { max-width: 760px; }
    .about-block { padding: 40px 0; }
    .about-block p { font-size: 18px; }
    .about-credentials { max-width: 760px; margin-bottom: 100px; }
    .credential-text { font-size: 15px; }
}

@media (max-width: 768px) {
    .about { padding: var(--section-sm) 20px; }
}

/* ========================================
   TESTIMONIAL
   ======================================== */

.testimonial {
    padding: var(--section-lg) 24px;
    background: var(--off-white);
}

.testimonial-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.testimonial-intro {
    text-align: center;
    max-width: 480px;
}

.testimonial-label {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--hooker-green);
    display: block;
    margin-bottom: 20px;
    opacity: var(--text-secondary);
}

.testimonial-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--dark-jungle);
    margin-bottom: 20px;
}

.testimonial-subtitle {
    font-family: var(--font-body);
    font-size: 15px; line-height: 1.7;
    color: var(--hooker-green);
    opacity: var(--text-secondary);
    margin-bottom: 32px;
}

.testimonial-stat {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.testimonial-stat-number {
    font-family: var(--font-display);
    font-size: 48px; font-weight: 300;
    color: var(--hooker-green);
    line-height: 1;
}

.testimonial-stat-text {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hooker-green);
    opacity: var(--text-tertiary);
}

.stories-container {
    max-width: 480px;
    width: 100%;
    position: relative;
}

.stories-progress {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(var(--rgb-dark), 0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: var(--pistachio);
    transition: width 0.1s linear;
}

.progress-bar.active::before { animation: progressFill 7s linear forwards; }
.progress-bar.completed::before { width: 100%; }

@keyframes progressFill {
    from { width: 0; }
    to { width: 100%; }
}

/* Stories Wrapper — 3:4 aspect ratio */
.stories-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 560px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(var(--rgb-dark), 0.1),
        0 8px 24px rgba(var(--rgb-dark), 0.06);
}

.story-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s var(--ease-reveal);
    pointer-events: none;
}

.story-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.avatar-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pistachio) 0%, var(--hooker-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 18px; font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.author-name {
    font-family: var(--font-body);
    font-size: 16px; font-weight: 600;
    color: var(--dark-jungle);
    margin-bottom: 4px;
}

.author-location {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--hooker-green);
    opacity: var(--text-secondary);
}

.story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.story-quote-mark {
    font-family: var(--font-display);
    font-size: 120px; font-weight: 300;
    color: var(--light-gray);
    line-height: 0;
    position: absolute;
    top: -40px; left: -16px;
    opacity: 0.3;
}

.story-text {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 300;
    line-height: 1.5;
    color: var(--dark-jungle);
    position: relative;
    z-index: 1;
}

.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border: none;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--rgb-dark), 0.15);
    transition: all 0.3s ease;
    z-index: 100;
    color: var(--dark-jungle);
}

.story-nav:hover {
    background: var(--pistachio);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.story-nav:active { transform: translateY(-50%) scale(0.95); }
.story-prev { left: -24px; }
.story-next { right: -24px; }

@media (max-width: 768px) {
    .testimonial { padding: var(--section-md) 24px; }
    .stories-container { max-width: 100%; }
    .stories-wrapper { max-height: 480px; }
    .story-card { padding: 32px 24px; }
    .story-text { font-size: 20px; }
    .story-nav { width: 40px; height: 40px; }
    .story-prev { left: -20px; }
    .story-next { right: -20px; }
}

@media (min-width: 768px) {
    .testimonial { padding: var(--section-lg) 60px; }
}

@media (min-width: 1024px) {
    .testimonial { padding: var(--section-lg) 80px; }
    .testimonial-layout { flex-direction: row; align-items: center; gap: 80px; }
    .testimonial-intro { text-align: left; flex: 1; max-width: 400px; }
    .testimonial-stat { justify-content: flex-start; }
    .stories-container { flex-shrink: 0; width: 420px; }
}

@media (min-width: 1400px) {
    .testimonial-layout { gap: 120px; }
    .testimonial-intro { max-width: 440px; }
    .stories-container { width: 460px; }
}

/* ========================================
   FINAL CTA
   ======================================== */

.final-cta {
    padding: var(--section-lg) 40px;
    background: var(--surface-elevated);
    text-align: center;
}

.cta-container { max-width: 700px; margin: 0 auto; }

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-surface-elevated);
    margin-bottom: 40px;
}

.cta-divider {
    width: 80px; height: 1px;
    background: var(--pistachio);
    margin: 0 auto 40px;
}

.cta-subtitle {
    font-size: 18px; line-height: 1.7;
    color: rgba(var(--rgb-white), var(--text-secondary));
    margin-bottom: 60px;
}

.main-cta-button {
    display: inline-block;
    padding: 24px 60px;
    background: var(--pistachio);
    color: var(--dark-jungle);
    text-decoration: none;
    font-weight: 600; font-size: 16px;
    border-radius: 2px;
    transition: all 0.4s var(--ease-reveal);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.main-cta-button::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: var(--hooker-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.main-cta-button:hover::before { width: 400px; height: 400px; }

.main-cta-button:hover {
    color: var(--on-surface-elevated);
    transform: scale(1.05);
}

.contact-info {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-label {
    font-size: 13px;
    color: rgba(var(--rgb-white), var(--text-tertiary));
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--pistachio);
    text-decoration: none;
    font-weight: 500; font-size: 16px;
    padding: 12px 24px;
    border: 1px solid var(--pistachio);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
}

.contact-social svg { width: 24px; height: 24px; stroke: currentColor; }

.contact-social:hover {
    background: var(--pistachio);
    color: var(--dark-jungle);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .final-cta { padding: var(--section-md) 24px; }
    .main-cta-button { width: 100%; padding: 20px 40px; }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 60px 40px 40px;
    background: var(--surface-elevated);
    text-align: center;
    border-top: 1px solid rgba(var(--rgb-white), 0.05);
}

.footer-logo {
    height: 60px;
    max-height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 20px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    object-fit: contain;
}

.footer-text {
    font-size: 13px;
    color: rgba(var(--rgb-white), var(--text-tertiary));
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(var(--rgb-white), 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--pistachio);
    background: rgba(var(--rgb-pistachio), 0.1);
}

.footer-separator {
    font-size: 14px;
    color: rgba(var(--rgb-white), 0.3);
}

@media (max-width: 768px) {
    .footer { padding: 48px 24px 32px; }
    .footer-text { font-size: 12px; margin-bottom: 24px; }
    .footer-links { flex-direction: column; gap: 8px; }
    .footer-link {
        font-size: 15px; padding: 12px 24px;
        width: 100%; max-width: 280px;
        justify-content: center;
        background: rgba(var(--rgb-white), 0.05);
        border: 1px solid rgba(var(--rgb-white), 0.1);
    }
    .footer-link:active { background: rgba(var(--rgb-pistachio), 0.2); transform: scale(0.98); }
    .footer-separator { display: none; }
}

/* ========================================
   CONTACT FORM MODAL
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(var(--rgb-dark), 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
    background: var(--white);
    border-radius: 20px;
    max-width: 580px; width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 48px 40px 40px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -8px 40px rgba(var(--rgb-dark), 0.15);
}

.modal-overlay.active .modal-container { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border: none;
    background: rgba(var(--rgb-dark), 0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-jungle);
    z-index: 10;
}

.modal-close:hover { background: rgba(var(--rgb-dark), 0.1); transform: rotate(90deg); }

.funnel-progress {
    width: 100%; height: 3px;
    background: rgba(var(--rgb-dark), 0.08);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.funnel-progress-bar {
    height: 100%; width: 25%;
    background: var(--pistachio);
    border-radius: 3px;
    transition: width 0.5s var(--ease-reveal);
}

.funnel-step-count {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hooker-green);
    opacity: var(--text-tertiary);
    margin-bottom: 32px;
}

.contact-form { position: relative; overflow: hidden; }

.funnel-step {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.funnel-step.active { display: flex; }

/* Directional step transitions */
@keyframes stepSlideInRight {
    from { opacity: 0; transform: translateX(30px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes stepSlideInLeft {
    from { opacity: 0; transform: translateX(-30px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes stepSlideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-30px); }
}
@keyframes stepSlideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(30px); }
}

.funnel-step.step-enter-right { animation: stepSlideInRight 0.35s cubic-bezier(0.32, 0.72, 0, 1) both; }
.funnel-step.step-enter-left { animation: stepSlideInLeft 0.35s cubic-bezier(0.32, 0.72, 0, 1) both; }
.funnel-step.step-exit-left { animation: stepSlideOutLeft 0.25s ease both; pointer-events: none; }
.funnel-step.step-exit-right { animation: stepSlideOutRight 0.25s ease both; pointer-events: none; }

@media (max-width: 768px) {
    @keyframes stepSlideInRight {
        from { opacity: 0; transform: translateX(20px) scale(0.97); }
        to { opacity: 1; transform: translateX(0) scale(1); }
    }
    @keyframes stepSlideInLeft {
        from { opacity: 0; transform: translateX(-20px) scale(0.97); }
        to { opacity: 1; transform: translateX(0) scale(1); }
    }
    @keyframes stepSlideOutLeft {
        from { opacity: 1; transform: translateX(0); }
        to { opacity: 0; transform: translateX(-20px); }
    }
    @keyframes stepSlideOutRight {
        from { opacity: 1; transform: translateX(0); }
        to { opacity: 0; transform: translateX(20px); }
    }
}

.step-header { margin-bottom: 8px; }

.step-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    line-height: 1.25;
    color: var(--dark-jungle);
    margin-bottom: 8px;
}

.step-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--hooker-green);
    line-height: 1.6;
}

.step-question {
    font-family: var(--font-body);
    font-size: 15px; font-weight: 600;
    color: var(--dark-jungle);
    margin-bottom: 4px;
}

.form-radio-group { display: flex; flex-direction: column; gap: 10px; }

.radio-label {
    display: flex; align-items: center; gap: 14px;
    cursor: pointer;
    padding: 16px 18px;
    border-radius: 10px;
    border: 2px solid rgba(var(--rgb-dark), 0.08);
    transition: all 0.25s ease;
    background: var(--white);
}

.radio-label:hover {
    border-color: rgba(var(--rgb-pistachio), 0.4);
    background: rgba(var(--rgb-pistachio), 0.04);
}

.radio-label input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.radio-label input:checked ~ .radio-text { color: var(--dark-jungle); font-weight: 500; }

.radio-label:has(input:checked) {
    border-color: var(--pistachio);
    background: rgba(var(--rgb-pistachio), 0.08);
    animation: radioPop 0.3s var(--ease-out-back);
}

@keyframes radioPop {
    0% { transform: scale(1); }
    40% { transform: scale(0.97); }
    100% { transform: scale(1); }
}

.radio-custom {
    width: 20px; height: 20px;
    border: 2px solid rgba(var(--rgb-dark), 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.radio-label input:checked ~ .radio-custom { background: var(--pistachio); border-color: var(--pistachio); }

.radio-custom::after {
    content: '';
    width: 8px; height: 8px;
    background: var(--white);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.radio-label input:checked ~ .radio-custom::after { transform: scale(1); }

.radio-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark-jungle);
    line-height: 1.4;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-family: var(--font-body);
    font-size: 13px; font-weight: 600;
    color: var(--dark-jungle);
    letter-spacing: 0.3px;
}

.form-input {
    font-family: var(--font-body);
    font-size: 16px;
    padding: 16px 18px;
    border: 2px solid rgba(var(--rgb-dark), 0.1);
    border-radius: 10px;
    background: var(--white);
    color: var(--dark-jungle);
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--pistachio);
    box-shadow: 0 0 0 4px rgba(var(--rgb-pistachio), 0.1),
                0 0 16px rgba(var(--rgb-pistachio), 0.06);
}

.form-input::placeholder { color: rgba(var(--rgb-dark), 0.3); }

.form-micro {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--hooker-green);
    opacity: var(--text-tertiary);
}

.form-trust {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--hooker-green);
    opacity: var(--text-tertiary);
    text-align: center;
    margin-top: 8px;
}

/* Summary Cards (Step 5) */
.summary-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(var(--rgb-dark), 0.08);
    border-left: 3px solid var(--pistachio);
    background: rgba(var(--rgb-pistachio), 0.03);
    cursor: pointer;
    transition: all 0.25s ease;
    animation: summaryCardIn 0.4s cubic-bezier(0.32, 0.72, 0, 1) both;
}

.summary-card:nth-child(1) { animation-delay: 0ms; }
.summary-card:nth-child(2) { animation-delay: 60ms; }
.summary-card:nth-child(3) { animation-delay: 120ms; }
.summary-card:nth-child(4) { animation-delay: 180ms; }

@keyframes summaryCardIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.summary-card:hover {
    border-color: rgba(var(--rgb-pistachio), 0.4);
    background: rgba(var(--rgb-pistachio), 0.06);
}

.summary-card-icon {
    color: var(--pistachio);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.summary-card-content {
    flex: 1;
    min-width: 0;
}

.summary-card-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--hooker-green);
    margin-bottom: 2px;
}

.summary-card-value {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-jungle);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-card-edit {
    color: var(--hooker-green);
    opacity: 0.3;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.summary-card:hover .summary-card-edit {
    opacity: 0.7;
}

.step-actions {
    display: flex; align-items: center; gap: 16px; margin-top: 12px;
}

.step-next-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 18px 32px;
    background: var(--surface-elevated);
    color: var(--on-surface-elevated);
    border: none; border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-reveal);
}

.step-next-btn:hover { background: var(--hooker-green); transform: translateY(-1px); }
.step-next-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.step-next-btn .cta-arrow { font-size: 18px; transition: transform 0.3s ease; }
.step-next-btn:hover .cta-arrow { transform: translateX(4px); }

.step-back-btn {
    background: none; border: none;
    font-family: var(--font-body);
    font-size: 14px; font-weight: 500;
    color: var(--hooker-green);
    cursor: pointer;
    padding: 12px 16px;
    transition: color 0.2s ease;
}

.step-back-btn:hover { color: var(--dark-jungle); }

.form-submit {
    flex: 1;
    padding: 18px 32px;
    background: var(--pistachio);
    color: var(--dark-jungle);
    border: none; border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px; font-weight: 600;
    cursor: pointer;
    transition: all 0.4s var(--ease-reveal);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}

.form-submit:hover {
    background: var(--hooker-green);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(var(--rgb-pistachio), 0.3);
}

.submit-text, .submit-arrow, .submit-spinner { position: relative; z-index: 1; }
.submit-spinner { display: none; }

.form-submit.loading .submit-text,
.form-submit.loading .submit-arrow { display: none; }

.form-submit.loading .submit-spinner {
    display: block;
    width: 20px; height: 20px;
    border: 3px solid rgba(var(--rgb-dark), 0.15);
    border-top-color: var(--dark-jungle);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
    text-align: center;
    padding: 60px 24px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.form-success.active { display: flex; animation: successPop 0.6s var(--ease-reveal); }

@keyframes successPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 80px; height: 80px;
    background: rgba(var(--rgb-pistachio), 0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--pistachio);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 400;
    color: var(--dark-jungle); line-height: 1.3;
}

.form-success p { font-size: 15px; color: var(--hooker-green); line-height: 1.6; }

.success-redirect {
    font-size: 12px; color: var(--hooker-green);
    opacity: var(--text-tertiary); margin-top: 8px;
}

.confetti-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 20;
}

@media (max-width: 768px) {
    .modal-overlay { padding: 0; }
    .modal-container {
        border-radius: 0;
        max-width: 100%; max-height: 100%; height: 100%;
        padding: 20px 24px 24px;
        display: flex; flex-direction: column;
        box-shadow: none;
    }
    .modal-close { top: 12px; right: 12px; }
    .funnel-progress { margin-top: 8px; }
    .funnel-step-count { margin-bottom: 20px; }
    .step-title { font-size: 24px; }
    .contact-form { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .radio-label { padding: 14px 16px; }
    .radio-text { font-size: 14px; }
    .step-actions {
        position: sticky; bottom: 0;
        background: var(--white);
        padding: 16px 0 0; margin-top: 16px;
        border-top: 1px solid rgba(var(--rgb-dark), 0.06);
    }
    .form-success { padding: 40px 16px; }
    .form-success h3 { font-size: 24px; }
}

/* ========================================
   MICRO-DETAILS — Polish Animations
   ======================================== */

/* Dot Pulse: sonar ring on active journey dot */
@keyframes dotSonar {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.2); opacity: 0; }
}

.journey-step.is-active .journey-dot-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--pistachio);
    animation: dotSonar 1.5s var(--ease-reveal) 0.6s 1 forwards;
}

/* CTA Glow: pulsating radial glow behind hero CTA */
@keyframes ctaGlow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-cta {
    position: relative;
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 120%; height: 200%;
    background: radial-gradient(ellipse, rgba(var(--rgb-pistachio), 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(1);
    animation: ctaGlow 3s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Story Swipe Hint: nav arrow bounces on mobile entry */
@keyframes swipeHint {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    30% { transform: translateY(-50%) translateX(5px); }
    60% { transform: translateY(-50%) translateX(-3px); }
    80% { transform: translateY(-50%) translateX(2px); }
}

@media (max-width: 768px) {
    .testimonial.reveal.is-visible .story-nav {
        animation: swipeHint 0.8s var(--ease-reveal) 1s 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-step.is-active .journey-dot-ring::after { animation: none; display: none; }
    .hero-cta::after { animation: none; display: none; }
    .story-nav { animation: none !important; }
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--pistachio);
    z-index: 9999;
    pointer-events: none;
    transition: none;
    will-change: width;
}

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


/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

/* Scroll-lock: applied to <html> while cookie banner is active */
html.cookie-lock,
html.cookie-lock body {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

/* Scroll-lock overlay behind cookie banner */
.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.5s ease,
                backdrop-filter 0.5s ease,
                -webkit-backdrop-filter 0.5s ease;
    pointer-events: none;
    opacity: 0;
}

.cookie-overlay.is-visible {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: auto;
    opacity: 1;
}

.cookie-overlay.is-hiding {
    background: rgba(0, 0, 0, 0) !important;
    backdrop-filter: blur(0px) !important;
    -webkit-backdrop-filter: blur(0px) !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 0 20px 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.4s ease;
    pointer-events: none;
}

.cookie-banner.is-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.cookie-banner-inner {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface-elevated);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--rgb-white), 0.08);
}

.cookie-banner-text {
    flex: 1;
    min-width: 0;
}

.cookie-banner-text p {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--on-surface-elevated);
    opacity: 0.8;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--pistachio);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    opacity: 0.8;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cookie-btn--decline {
    background: rgba(var(--rgb-white), 0.1);
    color: var(--on-surface-elevated);
}

.cookie-btn--decline:hover {
    background: rgba(var(--rgb-white), 0.18);
}

.cookie-btn--accept {
    background: var(--pistachio);
    color: var(--surface-elevated);
}

.cookie-btn--accept:hover {
    background: var(--hooker-green);
    color: var(--on-surface-elevated);
    transform: translateY(-1px);
}

/* Cookie banner closing animation */
.cookie-banner.is-hiding {
    transform: translateY(100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 0 12px 12px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        gap: 14px;
        padding: 18px 20px;
        border-radius: 14px;
        text-align: center;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        padding: 12px 16px;
    }
}

/* ========================================
   DARK MODE
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --dark-jungle: #E8EDE9;
        --hooker-green: #7FA898;
        --light-gray: #1E3A2A;
        --white: #0F1F16;
        --off-white: #152A1F;
        --rgb-dark: 232, 237, 233;
        --surface-elevated: #1E3E2C;
        --on-surface-elevated: #E8EDE9;
    }

    .header-inner {
        background: rgba(15, 31, 22, 0.9);
        border-color: rgba(var(--rgb-white), 0.1);
        box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
    }
    .nav-cta:hover { background: rgba(var(--rgb-white), 0.95); }

    .stories-wrapper {
        box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.2);
    }
    .reveal-card {
        box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 4px rgba(0,0,0,0.15);
    }
    .reveal-card:hover {
        box-shadow: 0 12px 48px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
    }
    .journey-card { box-shadow: none; border-color: rgba(var(--rgb-white), 0.08); }
    .journey-step.is-active .journey-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); border-color: rgba(var(--rgb-pistachio), 0.25); }
    .journey-line-bg { stroke: rgba(var(--rgb-white), 0.08); }
    .journey-dot-core { background: rgba(var(--rgb-white), 0.12); }
    .story-nav { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
    .modal-container { box-shadow: 0 40px 100px rgba(0,0,0,0.5); }
    .modal-overlay { background: rgba(5, 15, 10, 0.4); }

    .about-photo, .reveal-before img, .reveal-after img { filter: brightness(0.9); }

    .hero-cta:hover { color: var(--surface-elevated); }
    .about-cta { background: var(--pistachio); color: var(--surface-elevated); }
    .about-cta::before { background: var(--hooker-green); }
    .about-cta:hover { color: var(--off-white); }
    .main-cta-button { background: var(--pistachio); color: var(--surface-elevated); }
    .main-cta-button::before { background: var(--hooker-green); }
    .main-cta-button:hover { color: var(--off-white); }
    .contact-social { color: var(--pistachio); border-color: rgba(var(--rgb-pistachio), 0.4); }
    .contact-social:hover { background: var(--pistachio); color: var(--surface-elevated); }
    .step-next-btn { background: var(--pistachio); color: var(--surface-elevated); }
    .step-next-btn:hover { background: var(--hooker-green); color: var(--off-white); }
    .form-submit { background: var(--pistachio); color: var(--surface-elevated); }
    .form-submit:hover { background: var(--hooker-green); color: var(--off-white); box-shadow: none; }
    .step-back-btn { color: rgba(var(--rgb-dark), 0.6); }

    /* Tone down glow effects in dark mode */
    .scroll-progress { opacity: 0.7; }
    .hero-cta::after { opacity: 0.5; }
    .about .about-photo-wrap.reveal-child.is-visible {
        box-shadow: 0 0 30px rgba(var(--rgb-pistachio), 0.12),
                    0 0 60px rgba(var(--rgb-pistachio), 0.05);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus, button:focus {
    outline: 2px solid var(--pistachio);
    outline-offset: 4px;
}
