/* ============================================================================
   ThreatTape — Cinematic homepage (2026-07)
   Concept: "This is who I am." Phosphor-green + caution-yellow, oil-black深,
   WebGL particle field, scroll-driven storytelling. Show-off, with attitude.
   Self-contained: this file styles the new index.html top to bottom so the
   dossier pages stay untouched during the homepage-first pass.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Newsreader:opsz,ital,wght@6..72,0,400;6..72,0,500;6..72,0,600;6..72,1,400&family=Space+Mono:wght@400;700&family=VT323&display=swap');

/* ---------------------------------------------------------------- tokens -- */
:root {
    --ink-0: #0a0908;      /* oil-black background */
    --ink-1: #15120e;      /* warm surface */
    --ink-2: #1f1b16;      /* elevated card */
    --ink-3: #2a241d;      /* hover surface */
    --edge:  #3d3528;      /* subtle border */

    --bone-0: #f2e9d8;     /* primary text */
    --bone-1: #c7b89c;     /* secondary text */
    --bone-2: #8a7c64;     /* muted text */

    --phosphor: #3ff080;
    --phosphor-dim: #1a8f3f;
    --phosphor-glow: rgba(63, 240, 128, 0.22);

    --caution: #fac638;
    --caution-dim: #b88e1c;
    --caution-glow: rgba(250, 198, 56, 0.25);

    --threat: #d5414e;

    --f-display: 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
    --f-display-weight: 600;   /* Chakra Petch needs weight; Bebas rode on 400 */
    --f-body: 'Newsreader', 'Iowan Old Style', Georgia, serif;
    --f-mono: 'Space Mono', ui-monospace, monospace;
    --f-term: 'VT323', 'Space Mono', monospace;

    --maxw: 1200px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
}

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

html { scroll-behavior: smooth; }
html.reduce-motion { scroll-behavior: auto; }

body {
    margin: 0;
    background: var(--ink-0);
    color: var(--bone-0);
    font-family: var(--f-body);
    font-size: 1.05rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /* atmosphere: grain + warm vignette */
    background-image:
        radial-gradient(ellipse at 50% -10%, rgba(250, 198, 56, 0.05), transparent 55%),
        radial-gradient(ellipse at 80% 110%, rgba(63, 240, 128, 0.05), transparent 55%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--ink-0), #0c0a08 100%);
    /* NOTE: no background-attachment:fixed — it forces a full repaint every scroll frame */
}

/* thin CRT scanline — static overlay, own compositor layer, no blend mode (cheap) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 60;
    background: repeating-linear-gradient(0deg,
        transparent 0, transparent 2px,
        rgba(0, 0, 0, 0.13) 3px, rgba(0, 0, 0, 0.13) 4px);
    opacity: 0.5;
    transform: translateZ(0);
}

::selection { background: var(--caution); color: var(--ink-0); }

a { color: var(--phosphor); text-decoration: none; }

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

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--caution); color: var(--ink-0);
    padding: 0.6rem 1rem; font-family: var(--f-mono); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* shared eyebrow */
.eyebrow {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--caution);
    margin: 0 0 1.1rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before {
    content: '';
    width: 34px; height: 8px;
    background-image: repeating-linear-gradient(-45deg,
        var(--caution) 0, var(--caution) 5px, var(--ink-0) 5px, var(--ink-0) 10px);
    border-radius: 1px;
}

.section {
    position: relative;
    padding: clamp(4.5rem, 11vw, 9rem) var(--gutter);
    max-width: var(--maxw);
    margin: 0 auto;
}

.section__title {
    font-family: var(--f-display);
    font-weight: var(--f-display-weight);
    font-size: clamp(2.4rem, 6.5vw, 5rem);
    line-height: 1.0;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
    color: var(--bone-0);
}
.section__lead {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    color: var(--bone-1);
    max-width: 60ch;
    margin: 0 0 3rem;
}
.section__lead em { color: var(--caution); font-style: italic; }
.accent { color: var(--caution); }
.accent-green { color: var(--phosphor); }

/* ---------------------------------------------------------- smooth scroll -- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ----------------------------------------------------------- custom cursor -- */
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button,
body.has-cursor [data-cursor], body.has-cursor .path, body.has-cursor .rail { cursor: none; }
.cursor-cross, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none; mix-blend-mode: difference; will-change: transform;
}
/* crosshair reticle sitting exactly on the pointer (center gap = scope look) */
.cursor-cross { width: 22px; height: 22px; }
.cursor-cross::before, .cursor-cross::after { content: ''; position: absolute; }
.cursor-cross::before {
    left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%);
    background: linear-gradient(180deg, #fff 0 34%, transparent 34% 66%, #fff 66% 100%);
}
.cursor-cross::after {
    top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%);
    background: linear-gradient(90deg, #fff 0 34%, transparent 34% 66%, #fff 66% 100%);
}
/* over a link (or any interactive target): the reticle lights up phosphor.
   difference-blending has to come off or the green reads as its inverse. */
.cursor-cross { transition: filter 0.18s ease; }
.cursor-cross::before, .cursor-cross::after { transition: background 0.18s ease; }
.cursor-cross.is-hover {
    mix-blend-mode: normal;
    filter: drop-shadow(0 0 5px var(--phosphor-glow));
}
.cursor-cross.is-hover::before {
    background: linear-gradient(180deg, var(--phosphor) 0 34%, transparent 34% 66%, var(--phosphor) 66% 100%);
}
.cursor-cross.is-hover::after {
    background: linear-gradient(90deg, var(--phosphor) 0 34%, transparent 34% 66%, var(--phosphor) 66% 100%);
}
.cursor-ring {
    width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #fff; background: transparent;
    display: grid; place-items: center;
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.cursor-ring.is-hover { width: 62px; height: 62px; }
.cursor-ring.is-down { width: 34px; height: 34px; }
.cursor-ring.is-label { width: 92px; height: 92px; background: #fff; mix-blend-mode: normal; border-color: transparent; }
.cursor-ring__label {
    font-family: var(--f-mono); font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-0);
    opacity: 0; transition: opacity 0.2s ease;
}
.cursor-ring.is-label .cursor-ring__label { opacity: 1; }

/* ------------------------------------------------------ motion toggle -- */
.motion-toggle {
    position: fixed; right: var(--gutter); bottom: 1.3rem; z-index: 130;
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    background: rgba(21, 18, 14, 0.85); backdrop-filter: blur(8px);
    border: 1px solid var(--edge); border-radius: 999px;
    color: var(--bone-1); cursor: pointer;
    font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.motion-toggle:hover { border-color: var(--caution); color: var(--bone-0); transform: translateY(-2px); }
.motion-toggle__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--phosphor); box-shadow: 0 0 8px var(--phosphor-glow);
}
.motion-toggle[aria-pressed="false"] .motion-toggle__dot { background: var(--bone-2); box-shadow: none; }
.motion-toggle--hint {
    border-color: var(--caution); color: var(--caution);
    animation: mt-pulse 1.8s ease-in-out infinite;
}
.motion-toggle--hint .motion-toggle__dot { background: var(--caution); box-shadow: 0 0 8px var(--caution-glow); }
@keyframes mt-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(250, 198, 56, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(250, 198, 56, 0); }
}
@media (max-width: 620px) { .motion-toggle__label { display: none; } .motion-toggle { padding: 0.55rem; } }

/* -------------------------------------------------- scroll progress + HUD -- */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
    background: rgba(61, 53, 40, 0.4);
    pointer-events: none;
}
.scroll-progress span {
    display: block; height: 100%; width: 100%;
    transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, var(--caution), var(--phosphor));
    box-shadow: 0 0 12px var(--phosphor-glow);
}
.hud {
    position: fixed; left: var(--gutter); bottom: 1.4rem; z-index: 90;
    display: flex; align-items: baseline; gap: 0.55rem;
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--bone-2);
    pointer-events: none; mix-blend-mode: difference;
}
.hud__index { color: var(--caution); font-weight: 700; font-size: 0.9rem; }
.hud__total { color: var(--bone-2); }
.hud__sep { color: var(--bone-2); }
.hud__label { color: var(--bone-1); margin-left: 0.4rem;
    max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 620px) { .hud { font-size: 0.62rem; } .hud__label { max-width: 40vw; } }

/* ------------------------------------------------------- intro / preloader -- */
.intro {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--ink-0);
    display: grid; place-items: center;
    will-change: transform;
    animation: intro-out 0.95s cubic-bezier(0.76, 0, 0.24, 1) 1.75s forwards;
}
.intro::after { /* trailing caution-tape band on the wipe */
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
    background-image: repeating-linear-gradient(-45deg,
        var(--caution) 0, var(--caution) 16px, var(--ink-0) 16px, var(--ink-0) 32px);
}
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }
.intro__inner { position: relative; text-align: center; padding: 0 var(--gutter); }
.intro__word {
    display: block; font-family: var(--f-display); font-weight: var(--f-display-weight); text-transform: uppercase;
    font-size: clamp(2.5rem, 9vw, 7rem); line-height: 1; letter-spacing: 0.02em;
    color: var(--bone-0);
    opacity: 0; transform: translateY(38px); will-change: transform, opacity;
    animation: intro-word 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
@keyframes intro-word { to { opacity: 1; transform: translateY(0); } }
.intro__count {
    position: absolute; bottom: -3.2rem; right: 0;
    font-family: var(--f-mono); font-size: 0.9rem; letter-spacing: 0.2em; color: var(--caution);
}

/* ------------------------------------------------------- 3D tilt + spotlight -- */
.paths__grid { perspective: 1100px; }
.path { transform-style: preserve-3d; will-change: transform; }
.path__glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0; transition: opacity 0.35s ease;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
        rgba(250, 198, 56, 0.16), transparent 62%);
}
.path:hover .path__glow { opacity: 1; }
.path > * { position: relative; z-index: 1; }

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem var(--gutter);
    background: rgba(10, 9, 8, 0);
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-stuck {
    background: rgba(10, 9, 8, 0.9);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-bottom-color: var(--edge);
}
.nav__logo {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--bone-0);
    font-family: var(--f-mono); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.9rem;
}
.nav__logo img { width: 30px; height: 30px; }
.nav__links {
    display: flex; align-items: center; gap: 1.6rem;
    list-style: none; margin: 0; padding: 0;
}
.nav__links a {
    color: var(--bone-1);
    font-family: var(--f-mono); font-size: 0.74rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    position: relative; padding: 0.3rem 0;
    transition: color 0.2s ease;
}
.nav__links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    height: 2px; width: 0; background: var(--caution);
    transition: width 0.25s ease;
}
.nav__links a:hover { color: var(--bone-0); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
    font-family: var(--f-mono); font-weight: 700; font-size: 0.74rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-0); background: var(--caution);
    padding: 0.6rem 1.1rem; border-radius: 2px;
    box-shadow: 0 2px 0 var(--caution-dim);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--caution-dim); }

.nav__toggle {
    display: none;
    background: transparent; border: 1px solid var(--edge);
    color: var(--bone-0); border-radius: 2px;
    font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em;
    text-transform: uppercase; padding: 0.5rem 0.75rem; cursor: pointer;
    align-items: center; gap: 0.5rem;
}
.nav__toggle-bars { display: inline-flex; flex-direction: column; gap: 3px; }
.nav__toggle-bars span { width: 18px; height: 2px; background: var(--caution); }

@media (max-width: 920px) {
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; }
}

/* mobile drawer (driven by mobile-nav.js: #cc-mobile-nav, .cc-hamburger) */
.cc-mobile-nav {
    position: fixed; inset: 0; z-index: 150;
    background: rgba(10, 9, 8, 0.97);
    backdrop-filter: blur(6px);
    display: flex; flex-direction: column; justify-content: center;
    padding: 2rem var(--gutter);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cc-mobile-nav.is-open { transform: translateY(0); }
.cc-mobile-nav__close {
    position: absolute; top: 1rem; right: 1.25rem;
    background: transparent; border: none; color: var(--bone-1);
    font-size: 2.5rem; cursor: pointer; line-height: 1;
}
.cc-mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.cc-mobile-nav__list li { margin: 0.35rem 0; }
.cc-mobile-nav__tab {
    display: block; padding: 0.6rem 0;
    font-family: var(--f-display); font-weight: var(--f-display-weight); text-transform: uppercase;
    font-size: 2rem; color: var(--bone-0);
    border-left: 4px solid var(--tape, var(--caution)); padding-left: 1rem;
}
.cc-mobile-nav__tab:hover { color: var(--caution); }
.cc-mobile-nav__break { height: 1px; background: var(--edge); margin: 1rem 0; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 7rem var(--gutter) 5rem;
    isolation: isolate;
    /* static brand gradient — no WebGL, near-zero cost */
    background:
        radial-gradient(circle at 28% 38%, rgba(63, 240, 128, 0.13), transparent 46%),
        radial-gradient(circle at 74% 64%, rgba(250, 198, 56, 0.11), transparent 46%),
        var(--ink-0);
}
/* soft glow that slowly drifts — one promoted layer, composite-only (cheap) */
.hero__glow {
    position: absolute; z-index: -2; pointer-events: none;
    width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
    top: 50%; left: 50%; margin: -30vw 0 0 -30vw;
    background: radial-gradient(circle, rgba(63, 240, 128, 0.16), rgba(250, 198, 56, 0.06) 40%, transparent 66%);
    filter: blur(30px);
    will-change: transform;
    animation: hero-glow 18s ease-in-out infinite;
}
@keyframes hero-glow {
    0%, 100% { transform: translate(-8%, -6%) scale(1); }
    50%      { transform: translate(10%, 8%) scale(1.15); }
}
.hero::before {
    /* vignette so the type stays legible */
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(10, 9, 8, 0.72) 100%),
        linear-gradient(180deg, rgba(10,9,8,0.55) 0%, transparent 25%, transparent 70%, var(--ink-0) 100%);
    pointer-events: none;
}
/* diagonal hazard bands — the hero's signature now the field is gone */
.hero__tape {
    position: absolute; z-index: -1; pointer-events: none;
    height: 26px; width: 200%; left: -50%;
    background-image: repeating-linear-gradient(-45deg,
        var(--caution) 0, var(--caution) 16px, transparent 16px, transparent 34px);
    opacity: 0.13;
    will-change: transform;
}
.hero__tape--1 { top: 20%; transform: rotate(-4deg); animation: tape-drift 26s linear infinite; }
.hero__tape--2 { bottom: 15%; transform: rotate(-4deg); animation: tape-drift 34s linear infinite reverse; }
.hero__tape--3 { top: 52%; opacity: 0.07; transform: rotate(-4deg); animation: tape-drift 44s linear infinite; }
@keyframes tape-drift { to { transform: rotate(-4deg) translateX(48px); } }

.hero__inner {
    position: relative; z-index: 1;
    max-width: 980px; width: 100%;
    text-align: center;
}
.hero__eyebrow {
    justify-content: center;
    font-size: 0.8rem; letter-spacing: 0.32em;
}
.hero__title {
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(2.8rem, 8.5vw, 6rem);
    line-height: 0.94;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    margin: 0.5rem 0 0;
    color: var(--bone-0);
    text-shadow: 0 0 40px rgba(10, 9, 8, 0.9);
}
.hero__title .line { display: block; }
.hero__title .fill { color: var(--caution); }
.hero__title .fill--green { color: var(--phosphor); }
.hero__sub {
    font-family: var(--f-body);
    font-size: clamp(1.15rem, 2.4vw, 1.7rem);
    color: var(--bone-0);
    max-width: 44ch; margin: 1.6rem auto 0;
    line-height: 1.5;
}
.hero__sub em { color: var(--caution); font-style: italic; }
/* Short viewports (~768px laptops): the three-line headline pushes the CTAs
   past the fold. Keep all three lines but tighten the vertical rhythm and cap
   the display size. Tall screens (>=800px) keep the full 9rem treatment. */
@media (max-height: 800px) {
    .hero { padding-top: 5rem; padding-bottom: 3rem; }
    .hero__title { font-size: clamp(2.6rem, 6.6vw, 4.6rem); }
    .hero__sub { margin-top: 1.1rem; }
}
.hero__cta {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-top: 2.4rem;
}
.hero__meta {
    margin-top: 2.6rem;
    display: flex; gap: 1.4rem 2.2rem; justify-content: center; flex-wrap: wrap;
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--bone-2);
}
.hero__meta span { color: var(--bone-1); }
.hero__meta b { color: var(--caution); font-weight: 700; }

.hero__scroll {
    position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
    z-index: 1; color: var(--bone-2);
    font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.3em;
    text-transform: uppercase; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scroll .dot {
    width: 22px; height: 34px; border: 1.5px solid var(--bone-2);
    border-radius: 12px; position: relative;
}
.hero__scroll .dot::after {
    content: ''; position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
    width: 3px; height: 7px; background: var(--caution); border-radius: 2px;
    animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ============================================================================
   BUTTONS — stamped
   ============================================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--f-mono); font-weight: 700; font-size: 0.82rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 0.9rem 1.5rem; border-radius: 2px; cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn--primary {
    background: var(--phosphor); color: var(--ink-0);
    border-color: var(--phosphor); box-shadow: 0 3px 0 var(--phosphor-dim);
}
.btn--primary:hover {
    background: var(--caution); border-color: var(--caution);
    box-shadow: 0 5px 0 var(--caution-dim); transform: translateY(-2px);
}
.btn--ghost {
    background: transparent; color: var(--bone-0); border-color: var(--edge);
}
.btn--ghost:hover { border-color: var(--caution); color: var(--caution); transform: translateY(-2px); }

/* ============================================================================
   STATEMENT — "this is who I am"
   ============================================================================ */
.statement { max-width: 1000px; }
.statement__quote {
    font-family: var(--f-body);
    font-size: clamp(1.5rem, 3.6vw, 2.8rem);
    line-height: 1.28;
    color: var(--bone-0);
    margin: 0; padding: 0;
    border: none;
}
.statement__quote .word { color: var(--bone-2); transition: color 0.4s ease; }
.statement__quote .word.lit { color: var(--bone-0); }
.statement__quote .word.em,
.statement__quote .word.em.lit,
.statement__quote strong { color: var(--caution); font-weight: 600; }
.statement__cite {
    display: block; margin-top: 2rem;
    font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--caution);
}

/* -------------------------------------------------- declassified stamp -- */
.declass {
    position: absolute; top: 1.5rem; right: 0;
    width: clamp(150px, 22vw, 240px); height: auto;
    color: var(--threat);
    opacity: 0; transform: rotate(-16deg) scale(2.4);
    transform-origin: center; pointer-events: none;
    filter: drop-shadow(0 0 1px rgba(213, 65, 78, 0.4));
    mix-blend-mode: screen;
}
.declass.is-stamped { animation: stamp-slam 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) forwards; }
@keyframes stamp-slam {
    0%   { opacity: 0; transform: rotate(-32deg) scale(2.6); }
    60%  { opacity: 0.92; transform: rotate(-14deg) scale(0.94); }
    75%  { transform: rotate(-14deg) scale(1.04); }
    100% { opacity: 0.9; transform: rotate(-14deg) scale(1); }
}
@media (max-width: 760px) {
    .declass { position: static; display: block; margin: 2.5rem auto 0; opacity: 0.9;
        transform: rotate(-6deg) scale(1); width: 200px; }
    .declass.is-stamped { animation: none; }
}

/* -------------------------------------------------- footer terminal egg -- */
.foot__term {
    max-width: var(--maxw); margin: 0 auto 1.5rem; padding: 0 0 1.25rem;
    border-bottom: 1px solid var(--edge);
    font-family: var(--f-term); font-size: 1.2rem; line-height: 1.3;
    color: var(--phosphor); letter-spacing: 0.02em;
}
.foot__prompt { color: var(--phosphor-dim); }
.foot__caret { color: var(--phosphor); animation: caret-blink 1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* ============================================================================
   STATS — count-up band
   ============================================================================ */
.stats {
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
    background: linear-gradient(180deg, rgba(31,27,22,0.5), rgba(10,9,8,0.5));
    max-width: none; margin: 0;
}
.stats__grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--edge);
    border-left: 1px solid var(--edge); border-right: 1px solid var(--edge);
}
.stat {
    background: var(--ink-0);
    padding: clamp(1.8rem, 4vw, 3rem) 1.5rem;
    text-align: center;
    position: relative; overflow: hidden;
}
.stat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background-image: repeating-linear-gradient(-45deg,
        var(--caution) 0, var(--caution) 8px, var(--ink-0) 8px, var(--ink-0) 16px);
    transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease;
}
.stat.is-in::before { transform: scaleX(1); }
.stat__num {
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1;
    letter-spacing: 0.01em;
    color: var(--phosphor);
    text-shadow: 0 0 30px var(--phosphor-glow);
}
.stat__num .unit { color: var(--caution); margin: 0 0.09em; } /* space $ / B off the digits */
.stat__label {
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--bone-1); margin-top: 0.6rem;
}
@media (max-width: 720px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================================
   RECEIPTS — draggable horizontal rail ("drag or scroll")
   ============================================================================ */
.receipts { max-width: none; }
.receipts > .eyebrow,
.receipts > .section__title,
.receipts > .section__lead,
.receipts > .receipts__more { padding-left: var(--gutter); padding-right: var(--gutter); max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.receipts > .section__title, .receipts > .eyebrow, .receipts > .section__lead { display: block; }

.rail-wrap { position: relative; margin-top: 1.5rem; }
.rail {
    display: flex; gap: 1.25rem;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 0.5rem var(--gutter) 1.75rem;
    scrollbar-width: none;
    cursor: grab;
    overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail__card {
    flex: 0 0 min(84vw, 400px);
    scroll-snap-align: start;
    background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
    border: 1px solid var(--edge); border-radius: 4px;
    padding: 2rem; position: relative; overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.rail__card::after {
    content: ''; position: absolute; inset: 0 auto 0 0; width: 4px;
    background: var(--caution); opacity: 0.85;
}
.rail__card:hover { border-color: var(--caution-dim); }
.rail__num {
    font-family: var(--f-display); font-weight: var(--f-display-weight); font-size: 3.4rem; line-height: 0.8;
    color: var(--ink-3); -webkit-text-stroke: 1px var(--edge);
    margin-bottom: 1rem;
}
.rail__where {
    font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--phosphor); margin: 0 0 0.6rem;
}
.rail__what {
    font-family: var(--f-body); font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.45; color: var(--bone-0); margin: 0;
}
.rail__what b { color: var(--caution); font-weight: 600; }

.rail-foot {
    display: flex; align-items: center; gap: 1.5rem;
    max-width: var(--maxw); margin: 0.5rem auto 0;
    padding: 0 var(--gutter);
}
.rail-progress {
    flex: 1; height: 2px; background: var(--edge); border-radius: 2px; overflow: hidden;
}
.rail-progress span {
    display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, var(--caution), var(--phosphor));
    transition: transform 0.05s linear;
}
.rail-nav { display: flex; gap: 0.5rem; }
.rail-nav button {
    width: 46px; height: 46px; border-radius: 50%;
    background: transparent; border: 1px solid var(--edge); color: var(--bone-0);
    font-size: 1.1rem; cursor: pointer; display: grid; place-items: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.rail-nav button:hover { border-color: var(--caution); color: var(--caution); }
.rail-drag-cue {
    position: absolute; top: -2.6rem; right: var(--gutter);
    font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--bone-2);
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.rail-drag-cue::before { content: '⇄'; color: var(--caution); font-size: 1rem; }
.receipts__more {
    margin-top: 2.5rem;
    font-family: var(--f-body); color: var(--bone-1); font-style: italic;
}
.receipts__more a { color: var(--caution); border-bottom: 1px solid var(--caution-dim); }

/* -------------------------------------------------- masked kinetic reveal -- */
.mask-reveal { display: block; overflow: hidden; }
.mask-reveal > span {
    display: block; transform: translateY(105%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in .mask-reveal > span,
.mask-reveal.is-in > span { transform: translateY(0); }

/* ============================================================================
   MARQUEE — in good company
   ============================================================================ */
.company {
    max-width: none; margin: 0;
    border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
    padding: clamp(3rem, 7vw, 5rem) 0;
    overflow: hidden;
}
.company__head { text-align: center; padding: 0 var(--gutter); margin-bottom: 2.5rem; }
.company__head .eyebrow { justify-content: center; }
.company__head h2 {
    font-family: var(--f-display); text-transform: uppercase; font-weight: var(--f-display-weight);
    font-size: clamp(1.8rem, 4vw, 3rem); margin: 0; color: var(--bone-0);
}
.marquee { position: relative; display: flex; overflow: hidden; will-change: transform; }
.marquee::before, .marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink-0), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink-0), transparent); }
.marquee__track {
    display: flex; flex-shrink: 0; align-items: center; gap: 3rem;
    padding-right: 3rem;
    animation: marquee 34s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
    font-family: var(--f-display); text-transform: uppercase; font-weight: var(--f-display-weight);
    font-size: clamp(1.4rem, 3vw, 2.4rem); white-space: nowrap;
    color: var(--bone-2); transition: color 0.25s ease;
    display: inline-flex; align-items: center; gap: 3rem;
}
.marquee__item:hover { color: var(--caution); }
.marquee__item::after { content: '//'; color: var(--phosphor-dim); font-family: var(--f-mono); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================================
   WHAT I DO — cards
   ============================================================================ */
.paths__grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem; margin-top: 1rem;
}
.path {
    position: relative; display: block;
    background: var(--ink-1); border: 1px solid var(--edge);
    border-radius: 3px; padding: 2rem;
    overflow: hidden;
    color: var(--bone-0);
    transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.path::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background-image: repeating-linear-gradient(-45deg,
        var(--tape, var(--caution)) 0, var(--tape, var(--caution)) 8px, var(--ink-0) 8px, var(--ink-0) 16px);
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.path:hover {
    transform: translateY(-5px);
    border-color: var(--tape, var(--caution-dim));
    box-shadow: 0 16px 44px rgba(0,0,0,0.5), 0 0 0 1px var(--phosphor-glow);
}
.path:hover::after { transform: scaleX(1); }
.path__index {
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.2em;
    color: var(--tape, var(--caution));
}
.path__title {
    font-family: var(--f-display); text-transform: uppercase; font-weight: var(--f-display-weight);
    font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.5rem 0 0.6rem; color: var(--bone-0);
}
.path__desc { color: var(--bone-1); font-size: 1rem; margin: 0 0 1rem; }
.path__go {
    font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--tape, var(--caution));
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.path__go .arrow { transition: transform 0.25s ease; }
.path:hover .path__go .arrow { transform: translateX(5px); }
@media (max-width: 720px) { .paths__grid { grid-template-columns: 1fr; } }

/* ============================================================================
   CTA CLOSER
   ============================================================================ */
.closer {
    text-align: center; max-width: 900px;
    padding-top: clamp(5rem, 12vw, 10rem); padding-bottom: clamp(5rem, 12vw, 10rem);
}
.closer__big {
    font-family: var(--f-display); text-transform: uppercase; font-weight: 700;
    font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: 1.0;
    margin: 0.5rem 0 1.5rem; color: var(--bone-0);
}
.closer__big .fill { color: var(--caution); }
.closer__sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--bone-1); margin: 0 auto 2.4rem; max-width: 52ch; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.foot {
    border-top: 1px solid var(--edge);
    background: var(--ink-0);
    padding: 2.5rem var(--gutter);
}
.foot::before {
    content: ''; display: block; height: 6px; margin-bottom: 2rem;
    background-image: repeating-linear-gradient(-45deg,
        var(--caution) 0, var(--caution) 8px, var(--ink-0) 8px, var(--ink-0) 16px);
}
.foot__row {
    max-width: var(--maxw); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; flex-wrap: wrap;
    font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em;
    color: var(--bone-2);
}
.foot__row a { color: var(--bone-1); }
.foot__row a:hover { color: var(--caution); }

/* ============================================================================
   SCROLL REVEAL (JS toggles .is-in)
   ============================================================================ */
[data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.2,0.7,0.2,1), transform 0.8s cubic-bezier(0.2,0.7,0.2,1);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ============================================================================
   REDUCED MOTION — driven by the JS-controlled .reduce-motion class (via the
   motion toggle / localStorage), NOT the OS media query. This page defaults to
   full motion; a visitor opts into calm explicitly. See cinematic.js.
   ============================================================================ */
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
}
.reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
.reduce-motion .mask-reveal > span { transform: none !important; }
.reduce-motion .marquee__track { animation: none !important; }
.reduce-motion .intro { display: none !important; }
.reduce-motion .intro__word { clip-path: none !important; animation: none !important; }
.reduce-motion .declass { opacity: 0.9 !important; transform: rotate(-14deg) scale(1) !important; animation: none !important; }
.reduce-motion .foot__caret { animation: none !important; }
.reduce-motion .hero__scroll .dot::after { animation: none !important; }
.reduce-motion body::after { display: none; }
.reduce-motion .statement__quote .word { color: var(--bone-0) !important; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 620px) {
    .hero__meta { gap: 0.8rem 1.4rem; }
    .hero__cta .btn { width: 100%; justify-content: center; }
    .foot__row { flex-direction: column; text-align: center; }
}
