:root {
  --navy: #0F1B2D;
  --navy-2: #16253B;
  --cream: #F2EEE6;
  --paper: #FBFAF6;
  --ink: #0B1420;
  --amber: #E8A33D;
  --gray: #8A8A8A;
  --line: rgba(15, 27, 45, .14);
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 6vw, 96px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--navy);
  font-family: var(--sans); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 700; margin: 0; }
h3 { margin: 0; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; line-height: 1.6; margin: 0; text-decoration: none; }
.amber { color: var(--amber); }

/* grain */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--ink); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.intro.done { opacity: 0; visibility: hidden; }
.intro-inner { text-align: left; padding: var(--pad); }
.intro-name { font-family: var(--mono); color: var(--cream); font-size: clamp(22px, 4.5vw, 56px); letter-spacing: .08em; margin: 0; white-space: pre; }
.intro-status { font-family: var(--mono); color: var(--amber); font-size: 12px; letter-spacing: .14em; margin: 18px 0 0; }
.intro-status::after { content: '_'; animation: blink 1s steps(1) infinite; }
.intro-status.ok { color: #9FD6A6; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: -14px; top: -14px; width: 28px; height: 28px; border: 1px solid var(--amber); border-radius: 50%; pointer-events: none; z-index: 250; opacity: 0; transition: width .25s var(--ease), height .25s var(--ease), left .25s var(--ease), top .25s var(--ease), opacity .3s, background .25s; mix-blend-mode: difference; }
.cursor.on { opacity: 1; }
.cursor.big { width: 64px; height: 64px; left: -32px; top: -32px; background: rgba(232,163,61,.25); }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) { body, a, button { cursor: none; } }

/* ---------- topbar + rail ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: rgba(11, 20, 32, .92); backdrop-filter: blur(8px); color: var(--cream); }
.mono-mark { font-weight: 800; letter-spacing: -.04em; text-decoration: none; font-size: 18px; }
.topbar-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; margin: 0; display: flex; align-items: center; gap: 8px; opacity: .85; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6FCF83; box-shadow: 0 0 0 0 rgba(111,207,131,.6); animation: ping 2.4s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(111,207,131,0); } 100% { box-shadow: 0 0 0 0 rgba(111,207,131,0); } }
.signout { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid currentColor; }

.rail { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.rail a { display: block; width: 18px; height: 2px; background: currentColor; opacity: .3; position: relative; transition: width .3s var(--ease), opacity .3s; color: var(--navy); }
body.dark-zone .rail a { color: var(--cream); }
.rail a span { position: absolute; left: 28px; top: -7px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.rail a:hover, .rail a.active { width: 34px; opacity: 1; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 1100px) { .rail { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--navy); color: var(--cream); overflow: hidden; display: flex; align-items: flex-end; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: relative; width: 100%; padding: 120px var(--pad) 40px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; pointer-events: none; }
.hero-grid a { pointer-events: auto; }
.hero-right { justify-self: end; opacity: .7; }
.hero-name { grid-column: 1 / -1; margin: 9vh 0 0; font-size: clamp(70px, 15vw, 240px); line-height: .84; letter-spacing: -.055em; font-weight: 800; }
.hero-name .line { display: block; overflow: hidden; padding-bottom: .04em; }
.ch { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
body.ready .ch { transform: none; }
.hero-tag { grid-column: 1 / -1; max-width: 34ch; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.35; margin: 28px 0 0; opacity: .9; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(242,238,230,.25); padding-top: 14px; margin-top: 7vh; opacity: .75; }
.scroll-cue { color: var(--amber); }
.seal { position: absolute; right: var(--pad); bottom: 120px; width: clamp(110px, 13vw, 180px); fill: var(--cream); }
.seal text { font-family: var(--mono); font-size: 12px; letter-spacing: 1.55px; }
.seal circle { fill: none; stroke: var(--amber); stroke-width: 1; }
.seal .seal-core { font-family: var(--sans); font-weight: 800; font-size: 30px; letter-spacing: -1px; fill: var(--amber); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal { animation: none; } .ch { transform: none; transition: none; } }
@media (max-width: 700px) { .hero-grid { grid-template-columns: 1fr; } .hero-right { justify-self: start; } .seal { bottom: auto; top: 84px; width: 92px; } }

/* ---------- ticker ---------- */
.ticker { background: var(--amber); color: var(--ink); overflow: hidden; border-block: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker span { font-family: var(--mono); font-size: 13px; font-weight: 500; padding: 12px 22px; white-space: nowrap; }
.ticker span::after { content: '✦'; margin-left: 44px; font-size: 10px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- briefing ---------- */
.briefing { position: relative; padding: 160px var(--pad); }
.brief-body { max-width: 840px; margin-top: 36px; }
.brief-body p { font-size: clamp(21px, 2.7vw, 36px); line-height: 1.3; letter-spacing: -.02em; margin: 0 0 .9em; font-weight: 500; }
.peek { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--amber); transition: color .2s; }
.peek:hover, .peek[aria-expanded="true"] { color: #B8771C; }
.hint { color: var(--gray); margin-top: 24px; }
/* ---------- manifesto ---------- */
.manifesto { background: var(--ink); color: var(--cream); padding: 160px var(--pad) 200px; }
.man-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 72px; }
.skip { color: var(--cream); opacity: .6; }
.skip:hover { opacity: 1; color: var(--amber); }
.md { list-style: none; margin: 0; padding: 0; counter-reset: ln; font-family: var(--mono); font-size: clamp(17px, 2.1vw, 28px); line-height: 1.5; max-width: 60ch; }
.md li::before { content: counter(ln); position: absolute; left: 0; width: 2em; text-align: right; color: rgba(242,238,230,.25); font-size: .6em; top: .45em; }
.md li.gap { min-height: .5em; }
.md li[data-k="h"] { font-weight: 700; font-size: 1.15em; }
.md li[data-k="q"] { color: rgba(242,238,230,.7); }
.md .sym { color: var(--amber); margin-right: .4em; }
.md .cont { display: inline-block; padding-left: 1.05em; color: rgba(242,238,230,.62); }
.md li:last-child::after { content: '▍'; color: var(--amber); animation: blink 1s steps(1) infinite; margin-left: .2em; }

/* ---------- evidence board ---------- */
.evidence { position: relative; height: 320vh; background: var(--cream); background-image: radial-gradient(rgba(15,27,45,.12) 1px, transparent 1.2px); background-size: 26px 26px; }
.board-sticky { position: sticky; top: 0; height: 100vh; padding: 92px var(--pad) 28px; display: flex; flex-direction: column; overflow: hidden; }
.board-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 40px; }
.board-head .label { grid-column: 1 / -1; }
.board-head h2 { font-size: clamp(32px, 4vw, 56px); }
.board-sub { max-width: 34ch; margin: 0; color: #4A5566; font-size: 16px; justify-self: end; }
.board { position: relative; flex: 1; margin-top: 24px; }
.strings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; overflow: visible; }
.strings path { fill: none; stroke: #C2410C; stroke-width: 1.4; opacity: .75; }
.card { position: absolute; left: 0; top: 0; width: clamp(150px, 15.5vw, 230px); background: var(--paper); padding: 10px 10px 0; text-align: left; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 30px -14px rgba(15,27,45,.45); will-change: transform; transition: box-shadow .3s; }
.card:hover { box-shadow: 0 30px 50px -18px rgba(15,27,45,.6); }
.card .photo { display: block; aspect-ratio: 5/4; overflow: hidden; background: var(--navy); }
.card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transition: filter .4s, transform .6s var(--ease); }
.card:hover img, .card:focus-visible img { filter: none; transform: scale(1.06); }
.card .tag { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #B8771C; margin-top: 12px; }
.card .cap { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; padding: 4px 0 16px; }
.card .pin { position: absolute; left: 50%; top: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F7C977, var(--amber) 55%, #9A5E12); box-shadow: 0 2px 3px rgba(0,0,0,.35); z-index: 2; }
.card.pending { cursor: default; }
.sealed { display: grid !important; place-items: center; background: repeating-linear-gradient(135deg, #E7E1D4 0 10px, #DED7C7 10px 20px) !important; }
.sealed span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; border: 1px solid var(--navy); padding: 6px 10px; transform: rotate(-8deg); }

/* ---------- process ---------- */
.process { padding: 160px var(--pad); background: var(--cream); }
.process h2 { margin-top: 18px; max-width: 18ch; }
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: var(--line); }
.steps li { position: relative; padding: 52px 24px 0 0; opacity: calc(.12 + .88 * var(--p, 0)); transform: translateY(calc((1 - var(--p, 0)) * 34px)); }
.steps li::after { content: ''; position: absolute; left: 0; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2px solid var(--navy); transform: scale(calc(.6 + .4 * var(--p, 0))); }
.steps li { --dot: var(--p, 0); }
.steps .n { font-family: var(--mono); font-size: 12px; color: #B8771C; }
.steps h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.1; margin: 10px 0 12px; }
.steps p { margin: 0; color: #4A5566; font-size: 16px; max-width: 24ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps li { padding: 0 0 40px 40px; }
  .steps li::after { top: 4px; }
}

/* ---------- secured ---------- */
.secured { background: var(--navy); color: var(--cream); padding: 160px var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.sec-head { position: sticky; top: 120px; }
.sec-head h2 { margin-top: 18px; }
.sec-sub { opacity: .75; max-width: 38ch; margin: 24px 0 0; }
.layers { position: relative; padding-left: 44px; }
.layers::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px; background: rgba(242,238,230,.2); }
.packet { position: absolute; left: 3px; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(232,163,61,.18), 0 0 24px var(--amber); transition: top .15s linear; }
.layer { border: 1px solid rgba(242,238,230,.16); padding: 28px 28px 30px; margin-bottom: 18px; opacity: calc(.18 + .82 * var(--p, 1)); transform: translateX(calc((1 - var(--p, 1)) * 60px)) scale(calc(.93 + .07 * var(--p, 1))); transform-origin: left center; transition: border-color .6s, background .6s; }
.layer.lit { opacity: 1; border-color: rgba(232,163,61,.55); background: rgba(232,163,61,.05); }
.layer h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.layer p { margin: 0; opacity: .8; font-size: 16px; }
@media (max-width: 900px) { .secured { grid-template-columns: 1fr; } .sec-head { position: static; } }

/* ---------- footer ---------- */
.closed { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; }
.closed-inner { position: relative; padding: 160px var(--pad) 40px; }
.closed h2 { margin-top: 18px; font-size: clamp(44px, 8vw, 120px); max-width: 12ch; }
.contact { list-style: none; padding: 0; margin: 64px 0 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.contact li { border-top: 1px solid rgba(242,238,230,.2); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.contact .label { opacity: .55; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--amber); }
.closed-foot { display: flex; justify-content: space-between; opacity: .6; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(11,20,32,.55); opacity: 0; transition: opacity .45s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(760px, 100%); background: var(--paper); overflow-y: auto; padding: 28px clamp(22px, 5vw, 56px) 64px; transform: translateX(100%); transition: transform .5s var(--ease); outline: none; overscroll-behavior: contain; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.d-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: -28px; background: var(--paper); padding: 16px 0; margin-top: -16px; z-index: 2; }
.d-close { font-family: var(--mono); font-size: 12px; border-bottom: 1px solid currentColor; }
.drawer h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 18px; }
.d-src { color: var(--gray); margin-top: 14px; }
.d-shot { margin: 32px 0; background: var(--navy); padding: 10px; }
.d-shot img { width: 100%; }
.d-shot figcaption { font-family: var(--mono); font-size: 11px; color: var(--cream); opacity: .75; padding: 10px 2px 2px; }
.d-shot.small { max-width: 70%; }
.d-body section { margin-bottom: 36px; }
.d-body h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: #B8771C; margin-bottom: 12px; }
.d-body p { margin: 0; max-width: 62ch; }
.finds { margin: 0; padding-left: 1.3em; }
.finds li { position: relative; margin-bottom: 14px; max-width: 62ch; }
.finds li::marker { font-family: var(--mono); font-size: 13px; color: var(--gray); }
.redact { position: absolute; left: -2px; right: 0; top: 0; bottom: 0; background: var(--navy); transform-origin: right; transition: transform .7s var(--ease); z-index: 1; }
.finds li.open .redact { transform: scaleX(0); }
code { font-family: var(--mono); font-size: .86em; background: rgba(15,27,45,.07); padding: 1px 5px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--mono); font-size: 12px; border: 1px solid var(--navy); padding: 6px 10px; }
.next { margin: 0; padding-left: 1.1em; }
.next li { margin-bottom: 10px; max-width: 62ch; }
.d-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.d-nav button:disabled { opacity: .25; cursor: default; }
@media (prefers-reduced-motion: reduce) { .redact { display: none; } .drawer-panel, .drawer-scrim { transition: none; } }

/* ===================== scroll-scrubbed motion ===================== */
.sc { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 40px)); }
h2.sc { clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0); transform: translateY(calc((1 - var(--p, 1)) * 60px)); opacity: 1; }
.hero-name .line { will-change: transform; }
.brief-body .w { transition: opacity .12s linear; }
.inl-unused { display: inline-block; height: .95em; width: 1.5em; object-fit: cover; vertical-align: -.1em; margin-right: .22em; border-radius: 3px; transform: scale(calc(.4 + .6 * var(--v, 1))) rotate(calc((1 - var(--v, 1)) * -12deg)); }

.manifesto { height: 300vh; padding: 0; }
.man-sticky { position: sticky; top: 0; height: 100svh; padding: 96px var(--pad) 32px; display: flex; flex-direction: column; overflow: hidden; }
.man-head { margin-bottom: 28px; }
.md-window { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); }
.md { will-change: transform; padding-top: 8vh; }
.md li { counter-increment: ln; position: relative; padding-left: 3.4em; margin-bottom: 1.2em; opacity: 0; will-change: opacity, transform, filter; }

.board-head { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 30px)); }
.board-head > .sc { opacity: 1; transform: none; clip-path: none; }

.steps-wrap { position: relative; margin-top: 72px; }
.steps-wrap .steps { margin-top: 0; }
.steps-fill { position: absolute; left: 0; top: 14px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--amber); z-index: 1; }

.closed h2 { transform: translateY(calc((1 - var(--p, 1)) * 120px)) scale(calc(.9 + .1 * var(--p, 1))); transform-origin: left bottom; opacity: calc(var(--p, 1) * 1.2); }
.closed .net { opacity: var(--p, 1); }
.closed-inner { clip-path: inset(calc((1 - var(--p, 1)) * 18%) 0 0 0); }

@media (max-width: 819px) {
  .evidence { height: 360vh; }
  .board-sticky { padding: 76px 16px 16px; }
  .board-head { grid-template-columns: 1fr; gap: 4px; }
  .board-head h2 { font-size: 30px; }
  .board-sub { justify-self: start; font-size: 14px; }
  .board { margin-top: 14px; }
  .card { width: 40vw; padding: 7px 7px 0; }
  .card .tag { font-size: 9.5px; margin-top: 7px; }
  .card .cap { font-size: 12.5px; padding-bottom: 9px; }
  .strings path { stroke-width: 1; }
}
@media (max-width: 900px) {
  .steps-fill { left: 5px; top: 0; width: 2px; height: calc(var(--p, 0) * 100%); }
}

/* evidence pop-up */
.pop { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; }
.pop-scrim { position: absolute; inset: 0; background: rgba(11,20,32,.6); opacity: 0; transition: opacity .3s; }
.pop-card { position: relative; margin: 0; width: min(620px, 100%); background: var(--paper); padding: 12px 12px 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); opacity: 0; transform: translateY(30px) rotate(-3deg) scale(.92); transition: opacity .3s, transform .45s var(--ease); }
.pop.show .pop-scrim { opacity: 1; }
.pop.show .pop-card { opacity: 1; transform: rotate(-1deg); }
.pop-card img { width: 100%; max-height: 62vh; object-fit: contain; background: var(--navy); }
.pop-card figcaption { font-family: var(--mono); font-size: 12px; line-height: 1.5; margin-top: 12px; color: var(--navy); padding-right: 4px; }
.pop-close { position: absolute; top: -16px; right: -8px; background: var(--amber); color: var(--ink); font-family: var(--mono); font-size: 12px; padding: 8px 12px; min-height: 36px; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.pop-close:hover { background: #F2B65A; }
@media (prefers-reduced-motion: reduce) { .pop-card, .pop-scrim { transition: none; } }

/* manifesto typing */
.md li { filter: none !important; transform: none !important; transition: opacity .2s; }
.md .t, .md .cont, .md .sym { white-space: pre-wrap; }
.md .caret { display: inline-block; width: .6em; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: var(--amber); animation: blink 1s steps(1) infinite; }
.md li:last-child::after { content: none; }
.pop[hidden], .drawer[hidden] { display: none; }
.md li.gap { counter-increment: none; } .md li.gap::before { content: none; }

/* ===================== process: dark room + spotlight ===================== */
.process { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; }
.process::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(232,163,61,.16), rgba(232,163,61,.05) 45%, transparent 70%); }
.process.lit-on::before { opacity: 1; }
.process > * { position: relative; }
.process .label { color: var(--amber); }
.lw { opacity: calc(.08 + .92 * var(--l, 0)); text-shadow: 0 0 calc(var(--l, 0) * 18px) rgba(232,163,61, calc(.35 * (1 - var(--l, 0)) + .05)); transition: opacity .25s linear; }
.steps li { opacity: 1; }
.steps::before { background: rgba(242,238,230,.14); }
.steps li::after { background: var(--ink); border-color: var(--cream); }
.steps .n { color: var(--amber); }
.steps p { color: rgba(242,238,230,.75); }
.cursor.spot { width: 300px; height: 300px; left: -150px; top: -150px; mix-blend-mode: normal; border-color: rgba(232,163,61,.35); background: radial-gradient(circle, rgba(232,163,61,.10), transparent 65%); }
@media (prefers-reduced-motion: reduce) { .lw { opacity: 1; text-shadow: none; } }

/* ===================== landing gate ===================== */
.intro-status.warn { color: var(--amber); }
.dot.locked { background: var(--amber); animation: none; box-shadow: none; }

.file { position: relative; height: 260vh; background: var(--ink); color: var(--cream); }
.file-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 48px; padding: 90px var(--pad) 40px; overflow: hidden; }
.file-copy h2 { margin-top: 18px; font-size: clamp(34px, 4.4vw, 60px); max-width: 15ch; }
.file-sub { opacity: .75; max-width: 36ch; margin: 22px 0 30px; }
.cta { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: -.01em; transition: background .2s, transform .2s; }
.cta::after { content: ''; width: 16px; height: 16px; background: currentColor; clip-path: polygon(0 40%, 60% 40%, 60% 15%, 100% 50%, 60% 85%, 60% 60%, 0 60%); }
.cta:hover { background: #F2B65A; transform: translateY(-2px); }
.file-note { opacity: .5; margin-top: 18px; }
.file-copy .sc { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 40px)); clip-path: none; }

.folder-stage { position: relative; display: grid; place-items: center; height: 100%; }
.folder { position: relative; width: min(520px, 100%); aspect-ratio: 4 / 5; will-change: transform; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }
.folder-tab { position: absolute; left: 22px; top: -30px; height: 34px; padding: 0 18px; display: flex; align-items: center; background: #D9C9A3; color: var(--navy); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; border-radius: 6px 6px 0 0; }
.folder-body { position: absolute; inset: 0; background: linear-gradient(180deg, #E4D6B4, #D9C9A3); padding: 40px 36px; color: var(--navy); border-radius: 0 4px 4px 4px; overflow: hidden; }
.folder-body::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(15,27,45,.18); pointer-events: none; }
.folder-head { opacity: .6; margin-bottom: 16px; }
.contents { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.contents li { position: relative; counter-increment: c; display: grid; grid-template-columns: 2.2em 1fr; padding: 11px 0; border-bottom: 1px dashed rgba(15,27,45,.25); }
.contents li::before { content: counter(c, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 11px; color: #8A6A2A; padding-top: 4px; }
.contents .t { font-weight: 700; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: -.01em; }
.contents .d { font-size: 13px; opacity: .7; }
.contents .bar { position: absolute; left: 2.2em; right: 0; top: 9px; bottom: 9px; background: var(--ink); transform-origin: right; transform: scaleX(calc(1 - var(--v, 0))); }
.redacted-lines { margin-top: 22px; display: grid; gap: 10px; }
.redacted-lines i { display: block; height: 11px; background: var(--ink); opacity: .9; }
.redacted-lines i:nth-child(1) { width: 92%; } .redacted-lines i:nth-child(2) { width: 74%; } .redacted-lines i:nth-child(3) { width: 85%; } .redacted-lines i:nth-child(4) { width: 46%; }
.stamp { position: absolute; left: 50%; top: 56%; padding: 10px 22px; border: 4px solid #C2410C; color: #C2410C; font-family: var(--mono); font-weight: 700; font-size: clamp(30px, 4vw, 52px); letter-spacing: .1em; opacity: 0; mix-blend-mode: multiply; pointer-events: none; border-radius: 6px; }
.folder.stamped .stamp { animation: thud .25s ease-out; }
@keyframes thud { 50% { filter: blur(.5px); } }
.clip { position: absolute; top: -14px; right: 60px; width: 26px; height: 64px; border: 4px solid #9AA3AE; border-radius: 14px; border-bottom-color: transparent; }

.gate-foot .closed-inner { padding: 72px var(--pad) 36px; }
.gate-foot .contact { margin: 0 0 56px; }
.gate-foot .closed-inner { clip-path: none; }

@media (max-width: 860px) {
  .file { height: 240vh; }
  .file-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; padding: 76px 22px 20px; align-items: start; }
  .file-copy h2 { font-size: 30px; margin-top: 10px; }
  .file-sub { margin: 12px 0 16px; font-size: 15px; }
  .cta { width: 100%; justify-content: center; }
  .file-note { margin-top: 10px; }
  .folder-stage { align-items: start; padding-top: 34px; }
  .folder { width: min(300px, 78vw); }
  .folder-body { padding: 24px 20px; }
  .contents li { padding: 6px 0; }
  .contents .d { display: none; }
  .redacted-lines { display: none; }
}
.classified { display: inline-block; font-family: var(--mono); font-size: .92em; letter-spacing: .12em; color: var(--ink); background: var(--amber); padding: 1px 8px; }
.hero-right .classified { font-size: 1em; padding: 0 6px; }
.gate-foot .contact li .classified { align-self: flex-start; font-size: 13px; padding: 4px 10px; }
.avail { font-size: 14px; opacity: .6; }
.avail a { border-bottom: 1px solid currentColor; }
