/* Big Shoulders Stencil, Archivo, Special Elite (SIL OFL), self-hosted by scripts/fonts.mjs */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url(/assets/archivo-latin-ext.a75c792f98.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url(/assets/archivo-latin.4c98b9d490.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Stencil'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/assets/big-shoulders-stencil-latin-ext.4bce40e1c1.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Stencil'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/assets/big-shoulders-stencil-latin.ed76085b55.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Special Elite'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/special-elite-latin-ext.491120b4e1.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Special Elite'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/special-elite-latin.3cf0677184.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* LOCKED IN's landing page: a noir institution (docs/CONCEPT.md, The brand). Black lacquer, sealing-wax red, brass,
   case-file paper and institution steel. Motion is heavy and mechanical (bolts slide, dials click, wax stamps); nothing
   glows except the Warden's light. Type: Big Shoulders Stencil (marks and numbers), Archivo (condensed for headings),
   Special Elite (the Warden's typewriter). */
:root {
  --lacquer: #0B0A0A; --lacquer-2: #131111; --lacquer-3: #1B1817;
  --wax: #C1121F; --wax-hi: #E5383B; --wax-lo: #7A0A12;
  --brass: #A8875A; --brass-hi: #CDAE7C;
  --paper: #E9E2D0; --paper-2: #B9B2A3; --steel: #8C9097;
  --ink: #1D1A17; --ink-2: #5E574D;
  --line: rgba(233, 226, 208, .13); --line-2: rgba(233, 226, 208, .3);
  --display: 'Big Shoulders Stencil', 'Archivo', Impact, sans-serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --type: 'Special Elite', 'Courier New', Courier, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --heavy: cubic-bezier(.7, 0, .15, 1);
  --gut: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { background: var(--lacquer); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; overflow-x: hidden; background: var(--lacquer); color: var(--paper-2); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* the film's grain, over everything */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E"); }
img, svg { max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
picture { display: contents; }
a { color: var(--paper); }
button { font: inherit; }
::selection { background: var(--wax); color: var(--paper); }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -64px; z-index: 100; padding: 10px 14px; background: var(--lacquer-3); border: 1px solid var(--line-2); color: var(--paper); font: 14px var(--type); text-decoration: none; transition: top .25s var(--ease); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* ───────── shared pieces ───────── */
.kicker { margin: 0 0 16px; color: var(--wax-hi); font: 800 15px/1.1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.sec { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.sec__head { max-width: 760px; }
.sec__head--c { margin-inline: auto; text-align: center; }
.sec__title { margin: 0; color: var(--paper); font: 760 clamp(36px, 5.4vw, 70px)/.98 var(--sans); font-stretch: 70%; letter-spacing: -.005em; text-wrap: balance; }
.sec__lead { margin: 22px 0 0; max-width: 62ch; font-size: clamp(17px, 1.35vw, 19px); text-wrap: pretty; }
.sec__head--c .sec__lead { margin-inline: auto; }
.rule { display: flex; align-items: center; gap: 14px; width: min(100% - 2 * var(--gut), var(--wrap)); margin: 0 auto clamp(44px, 6vw, 76px); color: var(--steel); font: 13px/1 var(--type); letter-spacing: .14em; }
.rule i { flex: 1; height: 1px; background: var(--line); }
.rule b { width: 9px; height: 9px; background: var(--wax); }

/* the Warden's light: one slow red point */
.light { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--wax-hi); box-shadow: 0 0 6px 1px rgba(229, 56, 59, .9), 0 0 18px 4px rgba(229, 56, 59, .3); animation: breathe 4.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .5; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.06); } }

/* keys: the wax-red button, and the outlined one */
.key { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 3px; cursor: pointer; color: #FBF4E6; text-decoration: none; white-space: nowrap; background: linear-gradient(180deg, #D4192A, #A30E1A); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -2px 0 rgba(0, 0, 0, .3), 0 10px 26px -10px rgba(193, 18, 31, .7); font: 700 14px/1 var(--sans); font-stretch: 82%; letter-spacing: .14em; text-transform: uppercase; transition: transform .15s, filter .2s, box-shadow .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.key:hover { filter: brightness(1.1); }
.key:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .3); }
.key .kh { width: 10px; height: 15px; flex: none; fill: currentColor; }
.key--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.key--line:hover { filter: none; color: var(--brass-hi); box-shadow: inset 0 0 0 1px var(--brass); }
.key--sm { min-height: 38px; padding: 0 15px; font-size: 12px; }
.key[disabled] { opacity: .6; cursor: progress; }

/* corner brackets: the camera's frame */
.cb { position: absolute; z-index: 4; width: 22px; height: 22px; border: 2px solid var(--brass); pointer-events: none; }
.cb--tl { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.cb--tr { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.cb--bl { left: 10px; bottom: 10px; border-right: 0; border-top: 0; }
.cb--br { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }

/* a typed line's cursor */
.status__vis::after, .voice__line span::after { content: ''; display: inline-block; width: .55em; height: 1.05em; margin-left: .12em; vertical-align: -.16em; background: currentColor; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* the reveals: things arrive with weight, then stop */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ───────── nav ───────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 var(--gut); padding-top: env(safe-area-inset-top); background: linear-gradient(rgba(11, 10, 10, .9), rgba(11, 10, 10, .66)); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav__brand { display: block; flex: none; }
.nav__brand img { display: block; width: auto; height: 22px; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 0; color: var(--steel); text-decoration: none; font: 600 12px/1 var(--sans); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--paper); }
.nav__links a[aria-current]::before { content: ''; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -3px; border-radius: 50%; background: var(--wax-hi); box-shadow: 0 0 8px var(--wax-hi); }
.nav__tools { display: flex; align-items: center; gap: 16px; }
.nav__lang { color: var(--steel); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-decoration: none; padding: 8px 2px; }
.nav__lang:hover { color: var(--paper); }
.nav__sound { display: inline-flex; align-items: center; gap: 9px; padding: 8px 2px; border: 0; background: none; color: var(--steel); cursor: pointer; font: 600 12px/1 var(--sans); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.nav__sound:hover { color: var(--paper); }
.nav__sound[aria-pressed="true"] { color: var(--paper); }
/* the sound switch's equalizer: flat and grey while silent, moving in wax red while the score plays */
.eq { display: inline-flex; flex: none; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 12px; border-radius: 1px; background: currentColor; opacity: .6; transform: scaleY(.25); transform-origin: 50% 100%; }
[aria-pressed="true"] .eq i { opacity: 1; background: var(--wax-hi); animation: eq 1.1s ease-in-out infinite; }
[aria-pressed="true"] .eq i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
[aria-pressed="true"] .eq i:nth-child(3) { animation-duration: 1.3s; animation-delay: -.6s; }
[aria-pressed="true"] .eq i:nth-child(4) { animation-duration: .95s; animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.nav__cta { min-height: 36px; }
@media (max-width: 1060px) { .nav__links { display: none; } .nav__tools { margin-left: auto; } }
@media (max-width: 520px) { .nav { gap: 12px; } .nav__brand img { height: 17px; } .nav__tools { gap: 12px; } .nav__cta { padding: 0 12px; } .nav__cta .kh { display: none; } }

/* ───────── hero: the Warden's camera ───────── */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 112px 0 72px; }
/* moonlight through venetian blinds */
.hero::before { content: ''; position: absolute; inset: -10% -20%; z-index: -1; background: repeating-linear-gradient(172deg, rgba(196, 208, 226, .06) 0 15px, transparent 15px 36px); -webkit-mask-image: radial-gradient(48% 52% at 28% 40%, #000, transparent 75%); mask-image: radial-gradient(48% 52% at 28% 40%, #000, transparent 75%); transform: skewX(-14deg); }
/* the lamp's warm pool behind the feed */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(46% 56% at 72% 46%, rgba(168, 135, 90, .12), transparent 70%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head scan" "body scan"; column-gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.hero__head { grid-area: head; align-self: end; }
.hero__body { grid-area: body; align-self: start; }
.hero__scan { grid-area: scan; }
.hero__file { margin: 0 0 22px; color: var(--steel); font: 14px/1.3 var(--type); letter-spacing: .12em; }
.hero__mark { margin: 0; }
.hero__mark img { display: block; width: min(100%, 560px); height: auto; }
.status { margin: 22px 0 0; min-height: 1.5em; color: var(--wax-hi); font: 17px/1.45 var(--type); letter-spacing: .06em; }
.hero__tag { margin: 26px 0 0; color: var(--paper); font: 760 clamp(30px, 3.3vw, 46px)/1.02 var(--sans); font-stretch: 70%; text-wrap: balance; }
.hero__lead { margin: 16px 0 0; max-width: 46ch; }
.hero__keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__sound { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(233, 226, 208, .03); color: var(--paper); cursor: pointer; font: 13px/1 var(--type); letter-spacing: .05em; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.hero__sound small { color: var(--steel); font-size: 12px; letter-spacing: .03em; }
.hero__sound:hover { border-color: var(--brass); }
.hero__sound[aria-pressed="true"] { border-color: rgba(229, 56, 59, .55); background: rgba(193, 18, 31, .08); }
.hero__meta { margin: 22px 0 0; color: var(--steel); font: 13px/1.5 var(--type); letter-spacing: .04em; }
.hero__scan { min-width: 0; }
.tag__n.tag__n--tr { left: auto; right: -1px; }

.feed { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 2; container-type: inline-size; background: #050505; box-shadow: 0 0 0 1px var(--line), 0 40px 90px -20px rgba(0, 0, 0, .8); }
.feed__pic { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.14) contrast(1.04); transition: filter 1.4s var(--ease); }
.feed.locked .feed__pic { filter: brightness(.8) contrast(1.12) saturate(.8); }
.feed::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55)); }
.feed__tags { position: absolute; inset: 0; z-index: 3; }
/* an evidence box: a faint frame, bright corners, a numbered tab */
.tag { position: absolute; --c: rgba(233, 226, 208, .92); border: 1px solid rgba(233, 226, 208, .26); }
.tag::before { content: ''; position: absolute; inset: -1px; --k: 11px; background: linear-gradient(var(--c) 0 0) 0 0 / var(--k) 2px, linear-gradient(var(--c) 0 0) 0 0 / 2px var(--k), linear-gradient(var(--c) 0 0) 100% 0 / var(--k) 2px, linear-gradient(var(--c) 0 0) 100% 0 / 2px var(--k), linear-gradient(var(--c) 0 0) 0 100% / var(--k) 2px, linear-gradient(var(--c) 0 0) 0 100% / 2px var(--k), linear-gradient(var(--c) 0 0) 100% 100% / var(--k) 2px, linear-gradient(var(--c) 0 0) 100% 100% / 2px var(--k); background-repeat: no-repeat; }
.tag__n { position: absolute; left: -1px; top: -1px; min-width: 2.2em; padding: .28em .3em .22em; background: var(--paper); color: var(--lacquer); font: 900 11px/1 var(--display); font-size: clamp(9px, 1.55cqw, 13px); font-style: normal; letter-spacing: .05em; text-align: center; }
.tag--door { --c: var(--wax-hi); border-color: rgba(229, 56, 59, .4); }
.tag--door .tag__n { background: var(--wax); color: var(--paper); }
.js .feed:not(.feed--static) .tag { opacity: 0; transform: scale(1.08); }
.js .feed:not(.feed--static) .tag.on { opacity: 1; transform: none; transition: opacity .2s, transform .45s var(--ease); }
.feed.locked .tag:not(.tag--door) { --c: rgba(233, 226, 208, .5); border-color: rgba(233, 226, 208, .14); }
/* the sweep */
.feed__scan { position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 2px; opacity: 0; background: var(--wax-hi); box-shadow: 0 0 10px 1px rgba(229, 56, 59, .8), 0 0 50px 10px rgba(229, 56, 59, .16); }
.feed__scan::before { content: ''; position: absolute; top: 0; bottom: 0; right: 2px; width: 90px; background: linear-gradient(90deg, transparent, rgba(229, 56, 59, .14)); }
.feed.scanning .feed__scan { animation: sweep var(--scan-ms, 3200ms) linear both; }
@keyframes sweep { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 97% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
/* the seal: stamped on the door's edge */
.feed__seal { position: absolute; z-index: 5; aspect-ratio: 1; opacity: 0; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .65)); }
.seal__img { display: block; width: 100%; height: auto; }
.feed__seal .seal__img { height: 100%; object-fit: contain; }
.feed.locked .feed__seal { animation: stamp .5s cubic-bezier(.6, 0, .9, .45) both; }
.feed--static .feed__seal { opacity: 1; transform: rotate(-6deg); }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.1) rotate(-22deg); } 62% { opacity: 1; transform: scale(.94) rotate(-6deg); } 100% { opacity: 1; transform: scale(1) rotate(-6deg); } }
.feed.locked { animation: jolt .38s .3s linear; }
@keyframes jolt { 20% { transform: translate(2px, -1px); } 40% { transform: translate(-2px, 1px); } 60% { transform: translate(1px, 1px); } 80% { transform: translate(-1px, 0); } }
/* the HUD */
.hud { position: absolute; inset: 0; z-index: 6; pointer-events: none; color: var(--paper); font: 12px/1 var(--type); font-size: clamp(9px, 1.45cqw, 13px); letter-spacing: .1em; text-shadow: 0 1px 2px #000, 0 0 8px rgba(0, 0, 0, .8); }
.hud > span { position: absolute; display: flex; align-items: center; gap: .7em; }
.hud b { font-weight: 400; }
.hud__tl { left: 44px; top: 18px; }
.hud__tr { right: 44px; top: 18px; }
.hud__bl { left: 44px; bottom: 18px; }
.hud__br { right: 44px; bottom: 18px; }
.hud__locked { display: none; color: var(--wax-hi); }
.feed.locked .hud__count { display: none; }
.feed.locked .hud__locked { display: inline; }
.light--sm { display: none; }
/* a phone-sized camera: the light moves to the bottom row, the numbers shrink, the mug loses its number */
@container (max-width: 559px) {
  .hud .hud__tl, .hud .hud__tr { display: none; }
  .light--sm { display: inline-block; width: 7px; height: 7px; }
  .tag__n { min-width: 1.9em; padding: .3em .25em .2em; font-size: 7.5px; }
  .tag--minor .tag__n { display: none; }
  .tag::before { --k: 7px; }
}
@container (min-width: 560px) { .hud__tl, .hud__bl { left: 50px; } .hud__tr, .hud__br { right: 50px; } .hud__tl, .hud__tr { top: 21px; } .hud__bl, .hud__br { bottom: 21px; } }
.hero__inv { margin-top: 22px; }
.inv__head { margin: 0 0 12px; color: var(--brass); font: 800 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.inv { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; color: var(--paper-2); font: 13px/1.45 var(--type); }
.inv__i { display: flex; gap: .85em; padding: 3px 0; break-inside: avoid; }
.inv__n { flex: none; min-width: 1.6em; color: var(--brass); font: 900 13px/1.45 var(--display); letter-spacing: .05em; }
.inv__i--door { color: var(--wax-hi); }
.inv__i--door .inv__n { color: var(--wax-hi); }
.js .hero .inv__i.wait { opacity: .4; }
.js .hero .inv__i.wait .inv__t { display: none; }
.js .hero .inv__i.wait::after { content: '· · · · · · · · ·'; color: var(--steel); letter-spacing: .08em; }
.hero__inv .key { margin-top: 16px; }

/* ───────── I · the scan ───────── */
.scan__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.scan__art { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.scan__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.scan__sweep { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent 0 46%, rgba(229, 56, 59, .1) 49.4%, rgba(255, 130, 130, .7) 49.85%, transparent 50.1%); background-size: 250% 100%; animation: pan 7s linear infinite; }
@keyframes pan { from { background-position: 100% 0; } to { background-position: 0 0; } }
.facts { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 18px 0 19px; border-bottom: 1px solid var(--line); }
.fact__n { grid-row: span 2; color: var(--brass); font: 900 24px/1 var(--display); }
.fact h3 { margin: 0; color: var(--paper); font: 700 19px/1.2 var(--sans); font-stretch: 80%; letter-spacing: .02em; }
.fact p { margin: 6px 0 0; font-size: 16px; }

/* ───────── II · the Warden ───────── */
.warden { padding-bottom: 0; }
.corridor { position: relative; overflow: hidden; height: clamp(360px, 62vw, 860px); margin-top: clamp(36px, 5vw, 64px); }
.corridor__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 49.089% 33.398%; }
.corridor::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--lacquer) 0, rgba(11, 10, 10, 0) 16%, rgba(11, 10, 10, 0) 52%, rgba(11, 10, 10, .82) 80%, var(--lacquer) 100%), linear-gradient(90deg, rgba(11, 10, 10, .7), transparent 22%, transparent 78%, rgba(11, 10, 10, .7)); }
.corridor__light { position: absolute; z-index: 2; width: 0; height: 0; }
.corridor__light::before, .corridor__light::after { content: ''; position: absolute; border-radius: 50%; }
.corridor__light::before { --s: clamp(70px, 9vw, 150px); left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); background: radial-gradient(circle, rgba(255, 120, 110, .95) 0 5%, rgba(229, 56, 59, .5) 12%, rgba(229, 56, 59, .12) 36%, transparent 68%); animation: breathe 4.2s ease-in-out infinite; }
.corridor__light::after { --s: clamp(160px, 22vw, 380px); left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); background: radial-gradient(circle, rgba(229, 56, 59, .2), transparent 62%); opacity: 0; transition: opacity .5s; }
.warden.speaking .corridor__light::after { opacity: 1; }
.voice { position: absolute; z-index: 3; left: 50%; bottom: 10%; width: min(92%, 940px); transform: translateX(-50%); text-align: center; }
.voice__who { margin: 0 0 14px; color: var(--wax-hi); font: 800 13px/1 var(--display); letter-spacing: .32em; }
.voice__line { margin: 0; min-height: 2.6em; color: var(--paper); font: clamp(19px, 2.2vw, 30px)/1.3 var(--type); text-shadow: 0 2px 14px #000, 0 0 2px #000; text-wrap: balance; }
@media (max-width: 700px) {
  .corridor { height: auto; overflow: visible; }
  .corridor__img { position: relative; height: 300px; }
  .corridor__light { top: 33.398% !important; }
  .corridor::after { height: 300px; }
  .voice { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: -36px var(--gut) 0; }
}

/* ───────── III · seven locks ───────── */
.plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.plate { position: relative; min-height: 210px; padding: 26px 24px 30px; background: var(--lacquer); }
.plate__n { display: block; color: var(--brass); font: 900 46px/1 var(--display); letter-spacing: .02em; }
.plate__k { margin: 20px 0 0; color: var(--paper); font: 700 15px/1.2 var(--sans); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.plate__q { margin: 10px 0 0; color: var(--paper-2); font: 16px/1.45 var(--type); }
.plate--last { grid-column: span 2; background: radial-gradient(120% 140% at 0 0, rgba(193, 18, 31, .2), transparent 60%), var(--lacquer); }
.plate--last .plate__n { color: var(--wax-hi); }
@media (max-width: 1000px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plates { grid-template-columns: 1fr; } .plate--last { grid-column: auto; } .plate { min-height: 0; } }

.try { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 4vw, 60px); align-items: start; margin-top: clamp(64px, 9vw, 120px); scroll-margin-top: 90px; }
.try__photo { position: relative; }
.try__stamp { position: absolute; z-index: 8; left: 50%; top: 50%; width: 54%; color: var(--wax-hi); opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(1.8); pointer-events: none; }
.try.open .try__stamp { animation: stamp-c .5s .35s cubic-bezier(.6, 0, .9, .45) both; }
@keyframes stamp-c { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-24deg) scale(1.9); } 62% { opacity: .95; transform: translate(-50%, -50%) rotate(-11deg) scale(.95); } 100% { opacity: .95; transform: translate(-50%, -50%) rotate(-11deg) scale(1); } }
.try.open .feed__seal { opacity: 0; transform: translate(30%, 160%) rotate(70deg); transition: transform .9s cubic-bezier(.55, 0, 1, .45), opacity .4s .5s; }
.try.open .tag--door { --c: var(--paper); border-color: rgba(233, 226, 208, .5); }
.try.open .tag--door .tag__n { background: var(--paper); color: var(--lacquer); }
.try__q { margin: 0; color: var(--paper); font: clamp(23px, 2.4vw, 31px)/1.25 var(--type); text-wrap: balance; }
.try__lead { margin: 12px 0 0; }
.try__inv { margin-top: 18px; padding: 14px 16px; background: var(--lacquer-2); box-shadow: inset 0 0 0 1px var(--line); }
.inv--try .inv__i--legs .inv__t { color: var(--paper); }
.combo { display: flex; align-items: flex-start; gap: 14px; margin-top: 26px; }
.dial { display: grid; justify-items: center; gap: 6px; }
.dial__btn { display: grid; place-items: center; width: 52px; height: 32px; padding: 0; border: 0; border-radius: 3px; background: none; color: var(--steel); cursor: pointer; transition: color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.dial__btn:hover { color: var(--paper); background: rgba(233, 226, 208, .06); }
.dial__btn svg { width: 14px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dial__win { position: relative; width: 86px; height: 116px; overflow: hidden; border-radius: 6px; cursor: ns-resize; touch-action: none; user-select: none; -webkit-user-select: none; background: linear-gradient(180deg, #030303, #1C1918 24%, #2B2725 50%, #1C1918 76%, #030303); box-shadow: inset 0 0 0 1px rgba(168, 135, 90, .65), inset 0 12px 14px rgba(0, 0, 0, .75), inset 0 -12px 14px rgba(0, 0, 0, .75), 0 8px 20px rgba(0, 0, 0, .5); }
.dial__win::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 46px; margin-top: -23px; border-block: 1px solid rgba(168, 135, 90, .35); pointer-events: none; }
.dial__drum { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1.4fr 1fr; place-items: center; }
.dial__drum span { color: rgba(233, 226, 208, .22); font: 900 26px/1 var(--display); }
.dial__drum span.cur { color: var(--paper); font-size: 54px; }
.dial__drum.roll-up { animation: roll-up .22s var(--heavy); }
.dial__drum.roll-down { animation: roll-down .22s var(--heavy); }
@keyframes roll-up { from { transform: translateY(30%); } }
@keyframes roll-down { from { transform: translateY(-30%); } }
.dial__k { color: var(--steel); font: 11px/1 var(--type); letter-spacing: .12em; text-transform: uppercase; }
.combo.shake { animation: shake .42s linear; }
@keyframes shake { 15% { transform: translateX(-7px); } 35% { transform: translateX(6px); } 55% { transform: translateX(-4px); } 75% { transform: translateX(2px); } }
.bolt { position: relative; flex: none; width: 128px; height: 40px; margin: 70px 0 0 8px; }
.bolt__case { position: absolute; right: 0; top: 0; width: 48px; height: 40px; border-radius: 4px; background: linear-gradient(180deg, #D4B582, #8A6C42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 6px 14px rgba(0, 0, 0, .5); }
.bolt__case::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 13px; margin: -7px 0 0 -4px; background: #3A2C1A; clip-path: polygon(50% 0, 100% 30%, 70% 40%, 85% 100%, 15% 100%, 30% 40%, 0 30%); border-radius: 2px; }
.bolt__bar { position: absolute; left: 0; top: 12px; width: 108px; height: 16px; border-radius: 3px; background: linear-gradient(180deg, #E1DCD3, #8C9097 55%, #565A61); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 3px 8px rgba(0, 0, 0, .6); transition: transform .55s var(--heavy); }
.try.open .bolt__bar { transform: translateX(58px); }
.try__hint { margin: 14px 0 0; color: var(--steel); font: 13px/1.4 var(--type); }
.try__keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.try__msg { min-height: 3em; margin: 16px 0 0; color: var(--paper); font: 16px/1.5 var(--type); }
.try__msg.bad { color: var(--wax-hi); }

/* ───────── IV · the escape ───────── */
.escape__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.desk { position: relative; margin-bottom: 70px; }
.desk__art { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.desk__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.file { position: absolute; right: -3%; bottom: -70px; width: min(54%, 380px); padding: 26px 26px 24px; color: var(--ink); background: var(--paper); background-image: linear-gradient(rgba(29, 26, 23, .05) 1px, transparent 1px); background-size: 100% 26px; background-position: 0 13px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 2px 0 rgba(0, 0, 0, .25); transform: rotate(2deg); }
.file__no { margin: 0 0 12px; color: var(--wax); font: 900 15px/1 var(--display); letter-spacing: .24em; }
.file__rows { margin: 0; font: 15px/1.5 var(--type); }
.file__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed rgba(29, 26, 23, .3); }
.file__rows dt { color: var(--ink-2); }
.file__rows dd { margin: 0; }
.file__verdict { margin: 16px 0 0; font: 15px/1.5 var(--type); }
.file__stamp { position: absolute; right: -4%; top: -11%; width: 50%; color: var(--wax); opacity: 0; pointer-events: none; transform: rotate(-12deg) scale(1.8); }
.desk.in .file__stamp { animation: stamp-f .5s .7s cubic-bezier(.6, 0, .9, .45) both; }
html:not(.js) .file__stamp { opacity: .9; transform: rotate(-12deg); }
html:not(.js) .feed .feed__seal { opacity: 1; transform: rotate(-6deg); }
@keyframes stamp-f { 0% { opacity: 0; transform: rotate(-24deg) scale(1.9); } 62% { opacity: .9; transform: rotate(-12deg) scale(.95); } 100% { opacity: .9; transform: rotate(-12deg) scale(1); } }

/* ───────── V · lock a friend in ───────── */
.friends__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.friends__art { position: relative; justify-self: center; width: min(100%, 440px); margin: 0; overflow: hidden; aspect-ratio: 2 / 3; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.friends__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* the light under the door; now and then, someone walks past outside */
.under { position: absolute; z-index: 2; height: 3px; margin-top: -2px; overflow: hidden; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 196, 128, .9) 12%, rgba(255, 224, 170, 1) 50%, rgba(255, 196, 128, .9) 88%, transparent); box-shadow: 0 0 18px 4px rgba(255, 170, 90, .35); mix-blend-mode: screen; animation: flicker 9s infinite; }
.under::after { content: ''; position: absolute; top: -4px; bottom: -4px; left: -30%; width: 22%; background: linear-gradient(90deg, transparent, #000 25%, #000 40%, transparent 50%, #000 60%, #000 75%, transparent); animation: steps-past 9s infinite; }
@keyframes steps-past { 0%, 62% { transform: translateX(0); } 86%, 100% { transform: translateX(620%); } }
@keyframes flicker { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.ticket { position: relative; max-width: min(440px, calc(100% - 26px)); margin-top: 36px; }
.ticket__body { padding: 22px 26px 24px 30px; color: var(--ink); background: var(--paper); transform: rotate(-1.5deg); box-shadow: 0 20px 44px rgba(0, 0, 0, .55); -webkit-mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket__k { margin: 0 0 8px; color: var(--wax); font: 800 12px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; }
.ticket__t { margin: 0; font: 760 32px/1.02 var(--sans); font-stretch: 70%; }
.ticket__m { display: flex; flex-wrap: wrap; gap: 0 .6em; margin: 10px 0 0; color: var(--ink-2); font: 13px/1.5 var(--type); letter-spacing: .04em; }
.ticket__m i { font-style: normal; color: var(--wax); }
.ticket__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 10px 15px; border-radius: 3px; color: #FBF4E6; background: linear-gradient(180deg, #D4192A, #A30E1A); font: 700 12px/1 var(--sans); font-stretch: 82%; letter-spacing: .14em; text-transform: uppercase; }
.ticket__cta .kh { width: 8px; height: 12px; fill: currentColor; }
.ticket__seal { position: absolute; right: -14px; top: -26px; width: 88px; transform: rotate(14deg); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }

/* ───────── join ───────── */
.join { overflow: hidden; text-align: center; padding-bottom: clamp(100px, 13vw, 170px); }
.join__in { max-width: 760px; }
.join__seal { width: 112px; margin: 0 auto 30px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)); }
.join.done .join__seal { animation: stamp .5s cubic-bezier(.6, 0, .9, .45) both; }
.joinf { max-width: 580px; margin: 36px auto 0; }
.joinf__row { display: flex; gap: 10px; }
.joinf input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(233, 226, 208, .04); color: var(--paper); font: 16px/1 var(--type); transition: border-color .2s, box-shadow .2s; }
.joinf input::placeholder { color: rgba(185, 178, 163, .55); }
.joinf input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(168, 135, 90, .22); }
.joinf__msg { min-height: 1.6em; margin: 16px 0 0; color: var(--paper); font: 15px/1.5 var(--type); }
.joinf__msg.bad { color: var(--wax-hi); }
.joinf__fine { margin: 8px 0 0; color: var(--steel); font-size: 14px; }
.joinf__fine a { color: var(--paper-2); }
.join__light { position: absolute; left: 50%; bottom: 0; width: min(92%, 960px); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255, 184, 107, .85) 18%, rgba(255, 220, 165, 1) 50%, rgba(255, 184, 107, .85) 82%, transparent); box-shadow: 0 0 22px 5px rgba(255, 170, 90, .3), 0 -40px 90px 14px rgba(255, 170, 90, .08); }
@media (max-width: 560px) { .joinf__row { flex-direction: column; } .joinf input { flex: none; width: 100%; } }

/* ───────── footer, privacy, 404 ───────── */
.foot { padding: 56px 0 calc(64px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot__in { display: grid; justify-items: center; gap: 12px; text-align: center; }
.foot__icon { width: 56px; height: 56px; }
.foot__by { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; color: var(--steel); font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.foot__by img { display: block; width: 120px; height: auto; }
.foot__tag { margin: 0; color: var(--steel); font: 12px/1 var(--type); letter-spacing: .16em; text-transform: uppercase; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 8px; }
.foot__links a { color: var(--paper-2); font-size: 14px; }
.foot__fine { max-width: 62ch; margin: 0; color: var(--steel); font-size: 13px; }
.doc { padding: 130px var(--gut) 90px; }
.doc__in { max-width: 720px; margin: 0 auto; }
.doc h1 { margin: 0; color: var(--paper); font: 760 clamp(40px, 6vw, 64px)/1 var(--sans); font-stretch: 70%; }
.doc__date { color: var(--steel); font: 14px var(--type); }
.doc p { margin: 18px 0 0; }
.nf { display: grid; place-items: center; min-height: 100vh; padding: 100px var(--gut); text-align: center; }
.nf h1 { margin: 22px 0 0; color: var(--paper); font: 760 clamp(40px, 6vw, 64px)/1 var(--sans); font-stretch: 70%; }
.nf__icon { width: 96px; height: 96px; }

/* ───────── narrow screens ───────── */
@media (max-width: 1000px) {
  .hero { min-height: 0; padding-top: 92px; }
  .hero__in { grid-template-columns: 1fr; grid-template-areas: "head" "scan" "body"; }
  .hero__scan { margin-top: 26px; }
  .hero__tag { margin-top: 34px; }
  .scan__grid, .escape__grid, .friends__grid { grid-template-columns: 1fr; }
  .try { grid-template-columns: 1fr; }
  .hero__mark img { width: min(100%, 480px); }
}
@media (max-width: 760px) {
  .file { position: relative; right: auto; bottom: auto; width: 90%; margin: -40px auto 0; }
  .desk { margin-bottom: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .inv { column-gap: 14px; font-size: 11.5px; }
  .inv__n { font-size: 11.5px; }
  .try__inv { padding: 12px; }
  .hud__tl, .hud__bl { left: 38px; } .hud__tr, .hud__br { right: 38px; }
  .cb { width: 16px; height: 16px; }
  .combo { gap: 8px; }
  .dial__win { width: 74px; height: 104px; }
  .bolt { width: 96px; margin-left: 2px; }
  .bolt__bar { width: 82px; }
  .try.open .bolt__bar { transform: translateX(40px); }
  .hero__keys .key { flex: 1 1 auto; }
}

/* ───────── reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { transform: none; transition: opacity .6s; }
  .light, .corridor__light::before, .scan__sweep, .under, .under::after { animation: none; }
  .scan__sweep { display: none; }
  .feed.locked, .combo.shake { animation: none; }
  .feed.locked .feed__seal, .join.done .join__seal { animation: none; opacity: 1; transform: rotate(-6deg); }
  .desk.in .file__stamp { animation: none; opacity: .9; transform: rotate(-12deg); }
  .try.open .try__stamp { animation: none; opacity: .95; transform: translate(-50%, -50%) rotate(-11deg); }
  .status__vis::after, .voice__line span::after { animation: none; }
  [aria-pressed="true"] .eq i { animation: none; transform: scaleY(.7); }
}
