/* ============================================
   SYNAPTRIX — "The Manifesto"
   Editorial Brutalism + Cinematic Motion
   ============================================ */

/* === DESIGN TOKENS === */
:root {
    /* Palette — Dual: Dark Drama + Warm Cream Editorial */

    /* Light sections */
    --cream:        #F5F0EA;
    --cream-alt:    #EDE8E1;
    --white:        #FFFFFF;
    --light-border: rgba(26, 26, 30, 0.09);
    --light-border-hover: rgba(26, 26, 30, 0.16);
    --dark-text:    #1A1A1E;
    --dark-muted:   #6B6B76;
    --dark-dim:     #B5B0A8;

    /* Dark sections */
    --ink:          #0A0A0F;
    --ink-elevated: #111118;
    --ink-surface:  #1A1A22;
    --dark-border:  rgba(255, 255, 255, 0.08);
    --dark-border-hover: rgba(255, 255, 255, 0.15);
    --light-text:   #F0ECE6;
    --light-muted:  #8A8A94;
    --light-dim:    #3D3D47;

    /* Shared accent */
    --accent:       #C8FF00;
    --accent-fill:  #C8FF00;
    --accent-dim:   rgba(200, 255, 0, 0.08);
    --accent-glow:  rgba(200, 255, 0, 0.15);
    --accent-strong: rgba(200, 255, 0, 0.4);

    /* Context defaults (overridden per section) */
    --bg:           var(--cream);
    --bg-elevated:  var(--cream-alt);
    --surface:      var(--white);
    --border:       var(--light-border);
    --border-hover: var(--light-border-hover);
    --text:         var(--dark-text);
    --text-muted:   var(--dark-muted);
    --text-dim:     var(--dark-dim);

    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body:    'DM Sans', -apple-system, sans-serif;
    --font-mono:    'DM Mono', 'Courier New', monospace;

    --text-hero:    clamp(4rem, 12vw, 13rem);
    --text-h2:      clamp(2.2rem, 5vw, 5rem);
    --text-h3:      clamp(1.3rem, 2vw, 1.75rem);
    --text-body:    clamp(1rem, 1.15vw, 1.125rem);
    --text-body-lg: clamp(1.125rem, 1.4vw, 1.3rem);
    --text-small:   0.875rem;
    --text-label:   0.6875rem;

    /* Spacing */
    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   2rem;
    --space-lg:   4rem;
    --space-xl:   8rem;
    --space-section: clamp(6rem, 15vh, 12rem);

    /* Layout */
    --container-width: 1400px;
    --container-padding: clamp(1.5rem, 4vw, 4rem);

    /* Easing */
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out:    cubic-bezier(0.76, 0, 0.24, 1);
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Lenis handles scrolling */
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
}

::selection {
    background: var(--accent-fill);
    color: #1A1A1E;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* === LAYOUT === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--space-section) 0;
    position: relative;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* === DARK SECTION CONTEXT === */
.s-dark {
    --bg:           var(--ink);
    --bg-elevated:  var(--ink-elevated);
    --surface:      var(--ink-surface);
    --border:       var(--dark-border);
    --border-hover: var(--dark-border-hover);
    --text:         var(--light-text);
    --text-muted:   var(--light-muted);
    --text-dim:     var(--light-dim);
    background: var(--ink);
    color: var(--light-text);
}

.s-dark .label-chip {
    color: var(--accent);
    border-color: rgba(200, 255, 0, 0.25);
}

.s-dark .principle-card {
    background: var(--ink-surface);
}

.s-dark .stepper__number,
.s-dark .model__item-number {
    color: var(--accent);
}

.s-dark .case-card {
    background: var(--ink-surface);
    border-color: var(--dark-border);
}

.s-dark .case-card:hover {
    border-color: var(--dark-border-hover);
}

.s-dark .case-card__tag {
    color: var(--accent);
    border-color: rgba(200, 255, 0, 0.25);
}

.s-dark .case-card__metric-value {
    color: var(--accent);
}

.s-dark .case-card__result {
    border-top-color: var(--dark-border);
}

.s-dark .audience__dot {
    background: var(--accent);
}

.s-dark .audience__statement {
    border-left-color: var(--accent);
}

.s-dark .model__item {
    border-bottom-color: var(--dark-border);
}

.s-dark .model__accordion {
    border-top-color: var(--dark-border);
}

.s-dark .divider {
    border-top-color: var(--dark-border);
}

.s-dark .impact__metric-number,
.s-dark .impact__metric-suffix {
    color: var(--accent);
}

.s-dark .btn-magnetic {
    border-color: var(--accent);
    color: var(--accent);
}

.s-dark .btn-magnetic:hover {
    color: var(--ink);
    border-color: var(--accent);
}

.s-dark .btn-magnetic::before {
    background: var(--accent-fill);
}

.s-dark .cta__email {
    color: var(--light-muted);
}

.s-dark .cta__email:hover {
    color: var(--accent);
}

.s-dark .case-card__solution li::before {
    background: var(--accent);
}

.s-dark .case-card__label {
    color: var(--accent);
}

.s-dark .case-card__number {
    color: var(--light-dim);
}

.s-dark .footer__links a:hover {
    color: var(--accent);
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.preloader__logo {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    color: var(--light-text);
    letter-spacing: -0.02em;
}

/* === GRAIN OVERLAY === */
.grain {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 300%;
    height: 300%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    animation: grain 0.4s steps(4) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-5%, -10%); }
    50% { transform: translate(7%, -15%); }
    75% { transform: translate(-3%, 8%); }
}

/* === CUSTOM CURSOR === */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    mix-blend-mode: difference;
    transition: width 0.4s var(--ease-out-expo),
                height 0.4s var(--ease-out-expo),
                opacity 0.3s;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.cursor.is-visible {
    opacity: 0.5;
}

.cursor.is-hovering {
    width: 60px;
    height: 60px;
    opacity: 0.7;
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    opacity: 0;
    mix-blend-mode: difference;
    transition: opacity 0.3s;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.cursor-dot.is-visible {
    opacity: 1;
}

/* Cursor label state (case cards) */
.cursor__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.cursor.has-label {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-color: var(--accent);
    mix-blend-mode: normal;
    opacity: 1 !important;
}

.cursor.has-label .cursor__label {
    opacity: 1;
}

.cursor.has-label + .cursor-dot {
    opacity: 0 !important;
}

@media (hover: none) and (pointer: coarse) {
    .cursor, .cursor-dot { display: none !important; }
}

/* === LABEL CHIP (monospace accent) === */
.label-chip {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-label);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-hover);
    border-radius: 100px;
    margin-bottom: var(--space-md);
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.5s var(--ease-out-expo),
                background 0.3s;
}

.nav--scrolled {
    background: rgba(245, 240, 234, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav--hidden {
    transform: translateY(-100%);
}

.nav__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.25rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    text-decoration: none;
    display: inline-block;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--light-text);
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.nav--scrolled .nav__logo-text {
    color: var(--dark-text);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    font-weight: 400;
    color: var(--light-muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    display: inline-block;
}

.nav__link:hover {
    color: var(--light-text);
}

.nav--scrolled .nav__link {
    color: var(--dark-muted);
}

.nav--scrolled .nav__link:hover {
    color: var(--dark-text);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--dark-text);
    background: var(--accent-fill);
    padding: 0.625rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.3s;
}

.nav__cta:hover {
    opacity: 0.85;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--light-text);
    transition: transform 0.4s var(--ease-out-expo),
                opacity 0.3s,
                background 0.3s;
    transform-origin: center;
}

.nav--scrolled .nav__hamburger span {
    background: var(--dark-text);
}

body.menu-open .nav__hamburger span {
    background: var(--dark-text);
}

body.menu-open .nav__hamburger span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

body.menu-open .nav__hamburger span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile overlay */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: var(--accent-fill);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-in-out);
}

body.menu-open .nav__overlay {
    opacity: 1;
    pointer-events: auto;
}

.nav__overlay-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.nav__overlay-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 4rem);
    font-style: italic;
    color: var(--dark-text);
    text-decoration: none;
    line-height: 1.2;
    transition: opacity 0.3s;
}

.nav__overlay-link:hover {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
}

/* === HERO === */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) var(--container-padding) var(--space-lg);
    background: var(--ink);
    color: var(--light-text);
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    text-align: center;
    opacity: 0;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-lg);
}

.hero__eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero__eyebrow-text {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-style: italic;
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: var(--light-text);
    margin-bottom: var(--space-lg);
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    font-optical-sizing: auto;
}

/* Clip overflow for split-char reveal */
.hero__title .word {
    overflow: hidden;
    display: inline-flex;
}

.hero__manifesto {
    margin-bottom: var(--space-md);
}

.hero__manifesto p {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    color: var(--light-muted);
    line-height: 1.8;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    color: var(--light-text);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    font-weight: 500;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero__scroll span {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-dim);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--light-dim), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* === MAGNETIC BUTTON === */
/* Default magnetic button — adapts to context */
.btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: transparent;
    border: 1.5px solid var(--dark-text);
    border-radius: 100px;
    color: var(--dark-text);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--text-small);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.4s var(--ease-out-expo),
                border-color 0.4s var(--ease-out-expo);
}

.btn-magnetic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-fill);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-in-out);
    z-index: -1;
}

.btn-magnetic:hover {
    color: var(--dark-text);
    border-color: var(--accent-fill);
}

.btn-magnetic:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Button in hero/dark sections */
.hero .btn-magnetic,
.s-dark .btn-magnetic {
    border-color: var(--accent);
    color: var(--accent);
}

.hero .btn-magnetic:hover,
.s-dark .btn-magnetic:hover {
    color: var(--ink);
    border-color: var(--accent);
}

.btn-magnetic__arrow {
    transition: transform 0.3s var(--ease-out-expo);
    font-style: normal;
}

.btn-magnetic:hover .btn-magnetic__arrow {
    transform: translateX(4px);
}

/* === POSITIONING === */
.positioning {
    background: var(--bg);
}

.positioning__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(3rem, 6vw, 8rem);
    align-items: start;
}

.positioning__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: var(--space-sm);
}

.positioning__right {
    padding-top: 1rem;
}

.positioning__point {
    padding: var(--space-md) 0;
}

.positioning__point p {
    font-size: var(--text-body-lg);
    color: var(--text-muted);
    line-height: 1.7;
}

.positioning__point:last-child p {
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .positioning__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* === DIFFERENTIATOR === */
.differentiator {
    background: var(--bg);
    overflow: hidden;
}

.differentiator__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.differentiator__subtitle {
    font-size: var(--text-body-lg);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* Stepper — pinned editorial split layout */
.stepper {
    position: relative;
}

.stepper__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 8rem);
    align-items: center;
    min-height: 80vh;
}

/* --- Left: persistent headline column --- */
.stepper__headline {
    position: relative;
}

.stepper__headline .differentiator__title {
    margin-bottom: var(--space-md);
}

.stepper__headline .differentiator__subtitle {
    margin-bottom: var(--space-lg);
}

.stepper__counter {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    margin-top: var(--space-sm);
}

.stepper__counter-current {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stepper__counter-sep {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--light-dim);
    margin: 0 0.35rem;
}

.stepper__counter-total {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--light-dim);
    letter-spacing: -0.02em;
}

/* --- Right: rail + step content --- */
.stepper__right {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
    position: relative;
}

/* Vertical rail */
.stepper__rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.25rem;
}

.stepper__rail-track {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--dark-border);
}

.stepper__rail-fill {
    width: 100%;
    height: 0%;
    background: var(--accent);
    will-change: height;
}

.stepper__rail-dots {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vh, 3.5rem);
}

.stepper__dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink-surface);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-out-expo);
    cursor: default;
    padding: 0;
}

.stepper__dot span {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--light-dim);
    transition: color 0.5s var(--ease-out-expo);
}

.stepper__dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(200, 255, 0, 0.3),
                0 0 32px rgba(200, 255, 0, 0.1);
}

.stepper__dot.is-active span {
    color: var(--ink);
}

.stepper__dot.is-passed {
    background: transparent;
    border-color: var(--accent);
}

.stepper__dot.is-passed span {
    color: var(--accent);
}

/* Step content area */
.stepper__content {
    position: relative;
}

.stepper__viewport {
    position: relative;
    min-height: clamp(300px, 40vh, 380px);
}

.stepper__step {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

.stepper__step.is-active {
    opacity: 1;
    visibility: visible;
}

/* Watermark number behind step content */
.stepper__watermark {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: clamp(10rem, 18vw, 16rem);
    font-weight: 500;
    color: var(--accent);
    opacity: 0.04;
    line-height: 1;
    letter-spacing: -0.06em;
    user-select: none;
    pointer-events: none;
}

.stepper__step-inner {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.stepper__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-label);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.stepper__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.stepper__divider {
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin-bottom: var(--space-md);
    opacity: 0.6;
}

.stepper__desc {
    font-size: var(--text-body);
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .stepper__layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        min-height: auto;
    }

    .stepper__headline {
        text-align: center;
    }

    .stepper__headline .differentiator__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .stepper__counter {
        justify-content: center;
    }

    .stepper__right {
        grid-template-columns: 40px 1fr;
    }
}

@media (max-width: 640px) {
    .stepper__right {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .stepper__rail {
        flex-direction: row;
        padding-top: 0;
        justify-content: center;
    }

    .stepper__rail-track {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 100%;
        height: 1px;
    }

    .stepper__rail-fill {
        height: 100%;
        width: 0%;
    }

    .stepper__rail-dots {
        flex-direction: row;
        gap: var(--space-sm);
    }

    .stepper__dot {
        width: 28px;
        height: 28px;
    }

    .stepper__viewport {
        min-height: 340px;
    }

    .stepper__watermark {
        font-size: 8rem;
        right: -2%;
    }
}

/* === CASE STUDIES === */
.cases {
    background: var(--bg);
}

.cases__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-xl);
}

.cases__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.case-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.case-card:hover {
    border-color: var(--border-hover);
}

.case-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem) 0;
}

.case-card__tag {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-hover);
    border-radius: 100px;
}

.case-card__number {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.case-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    line-height: 1.15;
    padding: var(--space-md) clamp(1.5rem, 3vw, 3rem) 0;
}

.case-card__body {
    padding: var(--space-md) clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.case-card__challenge,
.case-card__solution {
    grid-column: span 1;
}

.case-card__result {
    grid-column: 1 / -1;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.case-card__label {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.case-card__challenge p,
.case-card__solution p {
    font-size: var(--text-small);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.case-card__solution ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-card__solution li {
    font-size: var(--text-small);
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.case-card__solution li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text);
}

.case-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.case-card__metric {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.case-card__metric-value {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-style: italic;
    color: var(--text);
    line-height: 1.2;
}

.case-card__metric-label {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .case-card__body {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .case-card__challenge,
    .case-card__solution {
        grid-column: 1;
    }

    .case-card__result {
        grid-column: 1;
    }

    .case-card__metrics {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* === AI-FIRST MARQUEE + PRINCIPLES === */
.ai-first {
    background: var(--bg);
    overflow: hidden;
    padding-top: var(--space-lg);
}

.ai-first__marquee {
    position: relative;
    overflow: hidden;
    padding: var(--space-md) 0;
    margin-bottom: var(--space-md);
}

.ai-first__marquee-track {
    display: flex;
    gap: 0.5em;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.ai-first__marquee-track span {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 14rem);
    font-style: italic;
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(26, 26, 30, 0.12);
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ai-first__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.ai-first__subtitle {
    font-size: var(--text-body-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 550px;
}

.ai-first__principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.principle-card {
    position: relative;
    padding: clamp(2rem, 3.5vw, 3rem);
    background: #2E2E38;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 2px solid var(--accent);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s ease, box-shadow 0.4s ease;
}

.principle-card:hover {
    border-color: var(--dark-border-hover);
    border-top-color: var(--accent);
    transform: translateY(-6px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(200, 255, 0, 0.06),
        0 0 60px rgba(200, 255, 0, 0.05);
}

.principle-card__number {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-label);
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: var(--space-md);
}

.principle-card__icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: var(--space-md);
    transition: background 0.3s, box-shadow 0.3s;
}

.principle-card:hover .principle-card__icon {
    background: rgba(200, 255, 0, 0.12);
    box-shadow: 0 0 24px rgba(200, 255, 0, 0.15);
}

.principle-card__icon svg {
    width: 100%;
    height: 100%;
}

.principle-card__title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 400;
    color: var(--light-text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.principle-card__desc {
    font-size: var(--text-small);
    color: var(--light-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ai-first__principles {
        grid-template-columns: 1fr;
    }
}

/* === IMPACT === */
.impact {
    background: var(--bg);
}

.impact__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-xl);
}

.impact__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.impact__metric {
    text-align: left;
}

.impact__metric-top {
    display: flex;
    align-items: baseline;
    gap: 0.1em;
    margin-bottom: var(--space-sm);
}

.impact__metric-number {
    font-family: var(--font-mono);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text);
}

.impact__metric-suffix {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1;
}

.impact__metric-label {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-label);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.impact__metric-desc {
    font-size: var(--text-small);
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .impact__metrics {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* === MODEL (Accordion) === */
.model {
    background: var(--bg);
}

.model__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.model__subtitle {
    font-size: var(--text-body-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.model__accordion {
    border-top: 1px solid var(--border);
}

.model__item {
    border-bottom: 1px solid var(--border);
}

.model__item-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
    text-align: left;
    cursor: pointer;
    transition: opacity 0.3s;
}

.model__item-header:hover {
    opacity: 0.7;
}

.model__item-number {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    color: var(--text-muted);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    width: 2.5rem;
}

.model__item-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: var(--text);
    flex-grow: 1;
    line-height: 1.2;
}

.model__item-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model__item-icon span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--text-muted);
    position: relative;
    transition: transform 0.4s var(--ease-out-expo);
}

.model__item-icon span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-muted);
    transform: rotate(90deg);
    transition: transform 0.4s var(--ease-out-expo);
}

.model__item.is-open .model__item-icon span::after {
    transform: rotate(0deg);
}

.model__item-content {
    height: 0;
    overflow: hidden;
}

.model__item-content p {
    padding: 0 0 var(--space-md) calc(2.5rem + clamp(1rem, 2vw, 2rem));
    font-size: var(--text-body);
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
}

/* === AUDIENCE === */
.audience {
    background: var(--bg);
}

.audience__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.audience__subtitle {
    font-size: var(--text-body-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.audience__grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-xl);
}

.audience__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audience__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text);
    flex-shrink: 0;
}

.audience__label {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--text);
    letter-spacing: 0.02em;
}

.audience__statement {
    max-width: 700px;
    border-left: 2px solid var(--text);
    padding-left: var(--space-md);
}

.audience__statement p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--text);
    line-height: 1.5;
}

/* === CTA === */
.cta {
    background: var(--bg);
    text-align: center;
    padding: var(--space-xl) 0 var(--space-section);
}

.cta__title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-style: italic;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.cta__subtitle {
    font-size: var(--text-body-lg);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto var(--space-sm);
}

.cta__tagline {
    font-family: var(--font-display);
    font-size: var(--text-body-lg);
    font-style: italic;
    color: var(--text);
    margin-bottom: var(--space-lg);
}

.cta__button {
    margin-bottom: var(--space-lg);
}

.cta__contact {
    margin-top: var(--space-md);
}

.cta__email {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.cta__email:hover {
    color: var(--text);
}

/* === FOOTER === */
.footer {
    background: var(--bg);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: var(--space-lg);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text);
    display: block;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer__right {
    text-align: right;
}

.footer__links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.footer__links a {
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--text);
}

.footer__copy {
    font-size: var(--text-label);
    color: var(--text-dim);
}

@media (max-width: 640px) {
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .footer__right {
        text-align: left;
    }

    .footer__links {
        justify-content: flex-start;
    }
}

/* === LEGAL PAGES === */
.legal-page {
    padding-top: 6rem;
}

.legal-content {
    padding: var(--space-lg) 0 var(--space-section);
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.last-updated {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: var(--text-small);
    margin-bottom: var(--space-lg);
}

.legal-text {
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-text h2 {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 400;
    color: var(--text);
    margin: var(--space-lg) 0 var(--space-sm);
}

.legal-text p {
    margin-bottom: 1.5rem;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

/* === GLOBAL RESPONSIVE === */
@media (max-width: 640px) {
    .hero {
        padding-top: 6rem;
    }

    .hero__eyebrow {
        margin-bottom: var(--space-md);
    }

    .hero__title {
        line-height: 0.95;
    }
}
