/* =====================================================================
   INTERROGATOR · $INTERROGATOR
   film noir case file. dark precinct, yellow tape, red candles.
   ===================================================================== */

@font-face { font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bungee-latin.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plexmono-400-latin.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plexmono-500-latin.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plexmono-600-latin.woff2") format("woff2"); }
@font-face { font-family: 'Permanent Marker'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/marker-latin.woff2") format("woff2"); }

:root {
  --bg0: #050608; --bg1: #0c0e12; --bg2: #12151b; --bg3: #191d25;
  --line: rgba(239, 232, 216, .1); --line2: rgba(239, 232, 216, .26);
  --cream: #efe8d8; --muted: #a9a294; --dim: #77715f;
  --yellow: #f2d230; --yellow-d: #8a7410; --green: #7fd04b; --green-d: #2d5a1c;
  --red: #e5483b; --red-d: #8e2219; --paper: #e8dbb9; --paper-d: #b9a77c; --ink: #0c0e12;
  --f-display: 'Bungee', Impact, 'Arial Black', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-marker: 'Permanent Marker', 'Comic Sans MS', cursive;
  --nav-h: 80px;
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg0); }
body { margin: 0; background: var(--bg1); color: var(--cream); font: 400 15px/1.6 var(--f-mono); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
main { display: block; overflow-x: hidden; overflow-x: clip; }
a { color: var(--green); }
a:hover { color: var(--yellow); }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--yellow); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------- shared atoms ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); position: relative; }
.sec { position: relative; padding-block: clamp(80px, 11vw, 140px); overflow: hidden; overflow: clip; }
.eyebrow { font: 500 11px/1.4 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin: 0 0 18px; }
.eyebrow--red { color: var(--red); }
.h2 { font: 400 clamp(44px, 7.4vw, 96px)/.9 var(--f-display); color: var(--cream); text-transform: uppercase; letter-spacing: -.01em; }
.h2--xl { font-size: clamp(64px, 11vw, 150px); }
.h2--sm { font-size: clamp(36px, 5vw, 60px); }
.red { color: var(--red); font-style: normal; }
.green { color: var(--green); font-style: normal; }
.lead { max-width: 52ch; margin-top: 22px; color: var(--cream); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.kicker { color: var(--yellow); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 4px; font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s; }
.btn--ghost { background: rgba(8, 9, 12, .55); color: var(--cream); border: 1px solid var(--line2); }
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--yellow-d); }
.btn--yellow:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--yellow-d); }
.btn--red { background: var(--red); color: var(--ink); font: 400 15px/1 var(--f-display); letter-spacing: .02em; box-shadow: 3px 3px 0 var(--red-d); }
.btn--red:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--red-d); }
.btn--buy { background: var(--green); color: var(--ink); font: 400 17px/1 var(--f-display); letter-spacing: .01em; min-height: 54px; padding: 0 26px; box-shadow: 4px 4px 0 var(--green-d); }
.btn--buy:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--green-d); }
.btn--redline { border-color: rgba(229, 72, 59, .7); color: var(--cream); }
.btn--redline:hover { border-color: var(--red); }
.btn--ghost.is-pending, .nav__sq.is-pending { opacity: .5; }

.ca { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 6px 0 16px; background: rgba(8, 9, 12, .82); border: 1px solid var(--line2); border-radius: 4px; min-width: 0; }
.ca__k { font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.ca__v { flex: 1; min-width: 0; font-size: 13px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca__copy { flex: none; height: 40px; padding: 0 12px; border: 0; border-radius: 3px; background: var(--cream); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; cursor: pointer; }
.ca__copy:hover { background: var(--yellow); }
.ca__copy.is-done { background: var(--green); }
.cta { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.cta .ca { flex: 1 1 280px; max-width: 420px; }

/* ---------- intro ---------- */
#intro { display: none; }
.intro-on #intro { display: block; position: fixed; inset: 0; z-index: 1000; overflow: hidden; background: var(--bg0); touch-action: none; user-select: none; -webkit-user-select: none; }
.intro__hole { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 160vmax var(--bg0); }
.intro__lamp { position: absolute; inset: 0; opacity: 0; background: radial-gradient(55% 62% at 50% -8%, rgba(255, 226, 140, .2), rgba(255, 226, 140, .05) 55%, transparent 78%), radial-gradient(36% 28% at 50% 50%, rgba(242, 210, 48, .09), transparent 72%); animation: introLamp .9s steps(1) forwards; }
.intro__scan { position: absolute; inset: 0; opacity: .6; background: repeating-linear-gradient(0deg, rgba(239, 232, 216, .03) 0 1px, transparent 1px 3px); }
.intro__stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 26px); padding: 24px; }
.intro__word { display: flex; font: 400 clamp(30px, 9.4vw, 124px)/.92 var(--f-display); color: var(--cream); white-space: nowrap; }
.intro__word span { opacity: .07; text-shadow: 0 0 22px rgba(242, 210, 48, .32), 0 0 2px rgba(255, 244, 214, .55); animation: introLetter .34s steps(1) forwards; }
.intro__word span:nth-child(1) { animation-delay: .12s; } .intro__word span:nth-child(2) { animation-delay: .38s; } .intro__word span:nth-child(3) { animation-delay: .2s; }
.intro__word span:nth-child(4) { animation-delay: .46s; } .intro__word span:nth-child(5) { animation-delay: .08s; } .intro__word span:nth-child(6) { animation-delay: .3s; }
.intro__word span:nth-child(7) { animation-delay: .52s; } .intro__word span:nth-child(8) { animation-delay: .16s; } .intro__word span:nth-child(9) { animation-delay: .42s; }
.intro__word span:nth-child(10) { animation-delay: .26s; } .intro__word span:nth-child(11) { animation-delay: .5s; } .intro__word span:nth-child(12) { animation-delay: .34s; }
.intro__line { font: 500 clamp(10px, 1.05vw, 13px)/1.4 var(--f-mono); letter-spacing: .18em; color: var(--yellow); white-space: nowrap; clip-path: inset(0 100% 0 0); animation: introType .9s steps(36) .3s forwards; }
.intro__bar { position: relative; width: min(220px, 56vw); height: 2px; background: rgba(239, 232, 216, .14); overflow: hidden; }
.intro__bar i { position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); animation: introBar 1.6s cubic-bezier(.2, .7, .3, 1) forwards; }
.intro__rec { position: absolute; left: max(18px, env(safe-area-inset-left)); top: max(16px, env(safe-area-inset-top)); display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .18em; color: rgba(239, 232, 216, .72); }
.intro__rec b { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(229, 72, 59, .85); animation: blink 1s steps(1) infinite; }
#intro.is-open { background: transparent; }
#intro.is-open .intro__stage { opacity: 0; transform: scale(1.07); transition: opacity .42s cubic-bezier(.4, 0, .2, 1), transform .42s cubic-bezier(.4, 0, .2, 1); }
#intro.is-open .intro__lamp, #intro.is-open .intro__scan, #intro.is-open .intro__rec { opacity: 0; transition: opacity .4s; animation: none; }
#intro.is-open .intro__hole { width: calc(150vmax + 260px); height: calc(150vmax + 260px); box-shadow: 0 0 70px 26px rgba(242, 210, 48, .2), 0 0 0 160vmax var(--bg0), inset 0 0 60px 34px var(--bg0); transition: width .82s cubic-bezier(.66, 0, .3, 1) .09s, height .82s cubic-bezier(.66, 0, .3, 1) .09s; }
@keyframes introLamp { 0% { opacity: 0; } 14% { opacity: .7; } 22% { opacity: .1; } 36% { opacity: 1; } 44% { opacity: .35; } 52%, 100% { opacity: 1; } }
@keyframes introLetter { 0% { opacity: 1; } 30% { opacity: .18; } 60%, 100% { opacity: 1; } }
@keyframes introType { to { clip-path: inset(0 0 0 0); } }
@keyframes introBar { to { transform: scaleX(.92); } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- nav ---------- */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: var(--nav-h); padding: 0 40px; padding-top: env(safe-area-inset-top); display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: background .3s, height .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { height: 64px; background: rgba(5, 6, 8, .88); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__logo { font: 400 20px/1 var(--f-display); color: var(--cream); text-decoration: none; white-space: nowrap; }
.nav__logo span { color: var(--green); }
.nav__logo:hover { color: var(--cream); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.nav__links a:hover, .nav__links a.is-on { color: var(--green); }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.nav__sq { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 4px; color: var(--cream); font-weight: 600; font-size: 13px; text-decoration: none; }
.nav__sq:hover { border-color: var(--cream); color: var(--cream); }
.nav__badge { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.nav__badge svg { width: 15px; height: 15px; fill: var(--yellow); }
.nav__badge:hover { border-color: var(--yellow); }
.nav__badge.is-bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.15); border-color: var(--yellow); } }
.nav__sound { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.nav__sound i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(127, 208, 75, .7); }
.nav__sound[aria-pressed="false"] i { background: rgba(239, 232, 216, .35); box-shadow: none; }
.nav__buy { height: 38px; display: grid; place-items: center; padding: 0 16px; border-radius: 4px; background: var(--green); color: var(--ink); font: 400 14px/1 var(--f-display); text-decoration: none; box-shadow: 3px 3px 0 var(--green-d); }
.nav__buy:hover { color: var(--ink); }
.nav__menu { display: none; height: 40px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; font-size: 11px; font-weight: 600; letter-spacing: .14em; cursor: pointer; }

.menu { position: fixed; inset: 0; z-index: 90; background: rgba(5, 6, 8, .97); overflow-y: auto; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; gap: 4px; padding: calc(28px + env(safe-area-inset-top)) var(--gut) 40px; }
.menu__kicker { font-size: 11px; letter-spacing: .18em; color: var(--yellow); text-transform: uppercase; margin-bottom: 14px; }
.menu__in > a { font: 400 30px/1.25 var(--f-display); color: var(--cream); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu__in > a:hover { color: var(--green); }
.menu__row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.menu__row a { flex: 1; min-width: 90px; min-height: 46px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 4px; color: var(--cream); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.menu__close { margin-top: 18px; }

/* ---------- the alley (hero) ---------- */
.alley { --heroH: max(min(62.5vw, 100vh), 43.75vw); position: relative; height: var(--heroH); background: var(--bg0); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.stage { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform: translate(var(--stX, 0px), var(--stY, 0px)) scale(var(--s, 1)); transform-origin: 0 0; overflow: hidden; cursor: none; box-shadow: 0 0 80px 40px var(--bg0); }
.stage__bg { position: absolute; left: -77.75px; top: 0; width: 1595.5px; height: 900px; max-width: none; }
.graffiti { position: absolute; left: 1108px; top: 66px; transform: rotate(-7deg); font: 400 50px/.95 var(--f-marker); color: #d9473b; opacity: .85; white-space: nowrap; pointer-events: none; }
.graffiti span { display: block; font-size: 20px; margin-top: 6px; }
.receipt { position: absolute; left: 150px; top: 792px; width: 124px; padding: 8px 9px; background: #d9d2c1; transform: rotate(14deg); font-size: 8.5px; line-height: 1.4; color: #2a2620; letter-spacing: .04em; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); pointer-events: none; display: flex; flex-direction: column; }
.receipt b { font-weight: 600; }
.prints { position: absolute; inset: 0; pointer-events: none; }
.prints i { position: absolute; border: 2px solid rgba(229, 72, 59, .75); border-radius: 50%; }
.stage__dark, .stage__rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stage__dark { background: rgba(3, 4, 7, .95); }
.stage__dark.is-live { background: none; }
.kb-search:not(.sr-only) { position: absolute; left: 56px; top: 64px; z-index: 20; padding: 10px 14px; background: var(--yellow); color: var(--ink); border: 0; border-radius: 3px; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.markers { position: absolute; inset: 0; pointer-events: none; z-index: 8; }
.marker { position: absolute; width: 38px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); transform: translate(-50%, -50%) scale(var(--ms, 1)); }
.marker::before { content: ""; position: absolute; inset: -10px; }
.marker span { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 3px; background: var(--yellow); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); font: 400 15px/1 var(--f-display); color: var(--ink); }
.marker.is-found { opacity: 1; pointer-events: auto; animation: markerIn .42s ease-out; }
@keyframes markerIn { 0% { opacity: 0; transform: translate(-50%, calc(-50% - 30px)) scale(calc(var(--ms, 1) * .6)); } 60% { opacity: 1; transform: translate(-50%, -50%) scale(calc(var(--ms, 1) * 1.1)); } }
.glint { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; pointer-events: none; background: radial-gradient(circle, rgba(255, 246, 200, .95) 0, rgba(242, 210, 48, .5) 18%, transparent 60%); mix-blend-mode: screen; animation: glint .5s ease-out forwards; z-index: 7; }
@keyframes glint { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(.8); } }

.alley__ui { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform: translate(var(--stX, 0px), var(--stY, 0px)) scale(var(--s, 1)); transform-origin: 0 0; pointer-events: none; z-index: 10; transition: opacity .2s; }
.alley__ui > * { pointer-events: auto; }
.alley__ui.is-off { opacity: 0; }
.alley__ui.is-off > * { pointer-events: none; }
.alley__meta { position: absolute; left: 56px; top: 104px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.status { color: var(--muted); }
.alley__title { position: absolute; left: 56px; top: 162px; font: 400 124px/.88 var(--f-display); color: var(--cream); text-shadow: 0 6px 40px rgba(0, 0, 0, .8); }
.alley__title span { display: block; color: var(--green); }
.alley__lead { position: absolute; left: 56px; top: 412px; width: 480px; font-size: 19px; line-height: 1.5; text-wrap: pretty; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.slots { position: absolute; left: 56px; top: 532px; display: flex; align-items: center; gap: 6px; }
.slots > span:not(.slots__label) { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 3px; background: rgba(239, 232, 216, .14); color: var(--muted); font-size: 12px; font-weight: 600; transition: background .3s, color .3s; }
.slots > span.is-on { background: var(--yellow); color: var(--ink); }
.slots__label { margin-left: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.slots__reopen { margin-left: 8px; padding: 6px 10px; border: 1px solid var(--line2); border-radius: 3px; background: transparent; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.alley__ui .cta { position: absolute; left: 56px; top: 588px; width: 640px; }
.alley__down { position: absolute; right: 40px; bottom: 54px; z-index: 10; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.alley__down:hover { color: var(--cream); }
.alley__hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); opacity: 0; transition: opacity .4s; pointer-events: none; white-space: nowrap; text-shadow: 0 2px 10px #000; }
.alley__hint.is-on { opacity: .9; }

.clue { position: absolute; z-index: 15; width: 290px; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; background: rgba(8, 9, 12, .95); border: 1px solid var(--yellow); border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); animation: clueIn .3s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes clueIn { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.clue__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.clue__tag { font-size: 10px; letter-spacing: .18em; color: var(--yellow); }
.clue__x { width: 32px; height: 32px; margin: -8px -10px -8px 0; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.clue__x:hover { color: var(--cream); }
.clue__name { font: 400 22px/1 var(--f-display); color: var(--cream); text-transform: uppercase; }
.clue__desc { font-size: 14px; line-height: 1.45; text-wrap: pretty; }
.clue__go { margin-top: 6px; height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; background: var(--yellow); color: var(--ink); border: 0; border-radius: 3px; font: 400 14px/1 var(--f-display); cursor: pointer; box-shadow: 3px 3px 0 var(--yellow-d); transition: transform .15s, box-shadow .15s; }
.clue__go:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--yellow-d); }

.police { position: absolute; inset: 0; z-index: 12; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
.police i { position: absolute; top: -20%; bottom: -20%; width: 60%; filter: blur(30px); }
.police i:first-child { left: -10%; background: radial-gradient(closest-side, rgba(229, 40, 40, .55), transparent); }
.police i:last-child { right: -10%; background: radial-gradient(closest-side, rgba(40, 90, 255, .55), transparent); }
.police.is-on { animation: policeFade 6s ease-out forwards; }
.police.is-on i:first-child { animation: polRed .5s steps(1) infinite; }
.police.is-on i:last-child { animation: polBlue .5s steps(1) infinite; }
@keyframes policeFade { 0% { opacity: 0; } 6% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes polRed { 50% { opacity: .15; } }
@keyframes polBlue { 0% { opacity: .15; } 50% { opacity: 1; } }

/* ---------- crime scene tape ---------- */
.tape { position: relative; z-index: 5; margin: -26px -40px; padding: 11px 0 9px; background: var(--yellow); color: var(--ink); transform: rotate(-1.4deg); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font: 400 15px/1 var(--f-display); white-space: nowrap; }
.tape--alt { transform: rotate(1.2deg); }
.tape__run { display: inline-flex; animation: tape 34s linear infinite; }
.tape__run--rev { animation-direction: reverse; }
.is-paused .tape__run, .tape__run.is-paused { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- the case ---------- */
.case { background: var(--bg1); }
.case__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); margin-top: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.timeline time { font: 400 14px/1.6 var(--f-display); color: var(--green); }
.timeline .is-red time { color: var(--red); }
.timeline .is-now time { color: var(--yellow); }
.timeline p { font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.timeline p .tw-rest { color: transparent; }
.timeline .is-now p { color: var(--cream); }
.timeline .lamp-word { color: var(--yellow); }
.case__side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.cctv { margin: 0; position: relative; }
.cctv__view { position: relative; overflow: hidden; border-radius: 3px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); background: #000; aspect-ratio: 3 / 2; }
.cctv__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.06); transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .7s cubic-bezier(.3, .8, .3, 1), filter .7s; }
.cctv.is-z1 .cctv__img { transform: scale(1.8); filter: saturate(.7) contrast(1.15) blur(.4px); }
.cctv.is-z2 .cctv__img { transform: scale(3.2); filter: saturate(.65) contrast(1.3) blur(.9px); }
.cctv__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.cctv__scan::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(239, 232, 216, .06), transparent); animation: roll 5s linear infinite; }
@keyframes roll { to { top: 100%; } }
.cctv__hud { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; justify-content: space-between; gap: 10px; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; color: rgba(239, 232, 216, .9); text-shadow: 0 1px 2px #000; }
.cctv__rec { display: flex; align-items: center; gap: 6px; color: var(--red); }
.cctv__rec b { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1s steps(1) infinite; }
.cctv__zoom { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 400 26px/1 var(--f-display); color: var(--yellow); text-shadow: 0 2px 10px #000; opacity: 0; pointer-events: none; text-align: center; white-space: nowrap; }
.cctv__zoom.is-on { animation: zoomTxt 1.4s ease-out; }
@keyframes zoomTxt { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
.cctv figcaption { margin-top: 14px; font-size: 11px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cctv figcaption span { display: inline-block; margin-right: 8px; padding: 3px 8px; background: var(--yellow); color: var(--ink); font: 400 11px/1 var(--f-display); letter-spacing: .02em; }
.cctv__btn { position: absolute; right: 12px; bottom: 12px; z-index: 2; min-height: 36px; padding: 0 12px; font-size: 11px; background: rgba(8, 9, 12, .78); }

.radio { position: relative; padding: 20px 22px 22px; background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 8px 18px; align-items: start; }
.radio__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.radio__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.radio.is-live .radio__dot { background: var(--green); animation: blink 1.4s steps(1) infinite; }
.radio__lamp { grid-column: 2; grid-row: 2 / span 2; width: 76px; height: 76px; position: relative; }
.radio__lamp::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 18px; background: #3a3f4a; transform: translateX(-50%); }
.radio__lamp i { position: absolute; left: 50%; top: 18px; width: 54px; height: 26px; transform: translateX(-50%); background: #2c313b; border-radius: 27px 27px 4px 4px; }
.radio__lamp i::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 10px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #4a4f5a; transition: background .4s, box-shadow .4s; }
.radio.is-red .radio__lamp i::after { background: #fff4c8; box-shadow: 0 6px 30px 12px rgba(255, 226, 150, .45), 0 0 4px #fff; animation: lampFlick 4s infinite; }
@keyframes lampFlick { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .3; } 49% { opacity: 1; } 71% { opacity: .85; } }
.radio__state { font: 400 22px/1.1 var(--f-display); color: var(--cream); text-transform: uppercase; }
.radio.is-red .radio__state { color: var(--red); }
.radio.is-green .radio__state { color: var(--green); }
.radio__sub { font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.radio__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.radio__stats div { min-width: 0; }
.radio__stats dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.radio__stats dd { margin: 4px 0 0; font: 600 15px/1.2 var(--f-mono); font-variant-numeric: tabular-nums; }
.radio__stats dd.is-up { color: var(--green); }
.radio__stats dd.is-down { color: var(--red); }

/* ---------- persons of interest ---------- */
.persons { background: var(--bg1); padding-top: 0; }
.dossiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.dossier { position: relative; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.dossier::before { content: ""; position: absolute; right: 22px; top: -8px; width: 16px; height: 46px; border: 3px solid #8d95a3; border-radius: 10px; z-index: 2; box-shadow: 1px 1px 0 rgba(0, 0, 0, .4); }
.dossier__img { position: relative; min-height: 240px; background: radial-gradient(120% 90% at 30% 20%, #23415a, #0e1622 70%); overflow: hidden; }
.dossier__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; }
.dossier--red .dossier__img { background: radial-gradient(110% 80% at 50% 30%, #8a2a22, #3a0f0c 75%); }
.dossier--red .dossier__img img { object-fit: contain; object-position: 50% 0; height: 128%; top: 6%; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.dossier__body { padding: 26px 24px 24px; min-width: 0; }
.dossier__file { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.dossier--red .dossier__file { color: var(--red); }
.dossier__name { margin: 8px 0 18px; font: 400 26px/1 var(--f-display); color: var(--cream); }
.dossier__dl { margin: 0; display: grid; gap: 10px; }
.dossier__dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 1.5; }
.dossier__dl dt { color: var(--muted); }
.dossier__dl dd { margin: 0; color: var(--cream); }
.redact { padding: 0 4px; border: 0; background: transparent; color: var(--red); font: inherit; letter-spacing: .06em; cursor: pointer; }
.redact.is-scr { background: var(--cream); color: var(--ink); }

/* ---------- the evidence board ---------- */
.board { background: linear-gradient(180deg, #080a0d, var(--bg1)); }
.board__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 28px; margin-top: 50px; align-items: start; }
.board__pic { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); container-type: inline-size; }
.board__pic img { width: 100%; height: auto; }
.board__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.board__svg .spot { fill: rgba(5, 6, 8, .62); }
.board__svg .str { stroke: #ff5a4a; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 4px rgba(255, 90, 74, .6)); }
.board__svg .box { fill: none; stroke: var(--yellow); }
.board__tags { position: absolute; inset: 0; }
.btag { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 400 14px/1 var(--f-display); display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, .6); transform: scale(var(--bt, 1)); transition: background .2s; }
.btag::before { content: ""; position: absolute; inset: -12px; }
.btag::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--yellow); animation: ring 1.7s ease-out infinite; animation-delay: var(--d, 0s); }
.btag.is-seen::after { display: none; }
.btag.is-sel { background: var(--cream); }
@keyframes ring { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.notes { position: relative; padding: 22px; background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.notes__who { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.notes__who img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); }
.notes__who b { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); font-weight: 500; }
.notes__who span { font-size: 12px; color: var(--muted); }
.notes__label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.notes__title { font: 400 24px/1.05 var(--f-display); text-transform: uppercase; }
.notes__text { min-height: 7.4em; font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.notes__slots { display: flex; gap: 6px; margin-top: 6px; }
.notes__slots span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 3px; background: rgba(239, 232, 216, .14); color: var(--muted); font-size: 10px; font-weight: 600; }
.notes__slots span.is-on { background: var(--yellow); color: var(--ink); }
.notes__count { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.notes__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.notes__stamp { position: absolute; right: 16px; top: 18px; padding: 6px 12px 4px; border: 3px solid var(--red); border-radius: 5px; color: var(--red); font: 400 16px/1 var(--f-display); transform: rotate(-6deg); opacity: 0; pointer-events: none; }
.notes__stamp.is-on { animation: stamp .7s ease-out forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-6deg) scale(2.2); } 25% { opacity: 1; transform: rotate(-6deg) scale(.95); } 100% { opacity: 1; transform: rotate(-6deg) scale(1); } }

/* ---------- wanted ---------- */
.wanted { background: #0a0c0f; }
.wanted__bg { position: absolute; inset: 0; background: #0a0c0f center / cover no-repeat; opacity: .32; }
.wanted.is-near .wanted__bg { background-image: linear-gradient(180deg, rgba(10, 12, 15, .55), rgba(10, 12, 15, .82) 55%, #0a0c0f), url("../img/stakeout-md.webp"); }
.wanted__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.wanted__head .lead { margin: 0 0 12px; max-width: 34ch; color: var(--muted); }
.posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 50px; }
.poster { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 16px 20px; border: 0; border-radius: 2px; background: linear-gradient(180deg, #ece0bf, #dccb9e); color: #2b241a; text-align: center; cursor: pointer; box-shadow: 0 18px 40px rgba(0, 0, 0, .55), inset 0 0 40px rgba(120, 90, 40, .25); transform: rotate(var(--r, -1.5deg)); transition: transform .25s; }
.poster:nth-child(2) { --r: 1.2deg; } .poster:nth-child(3) { --r: -.6deg; } .poster:nth-child(4) { --r: 1.8deg; }
.poster:hover { transform: rotate(0deg) translateY(-4px); }
.poster__pin { position: absolute; top: 8px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, #c3271c 60%); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.poster__h { font: 400 30px/1 var(--f-display); color: #2b241a; margin-top: 6px; }
.poster--most .poster__h { font-size: 22px; padding: 4px 0; }
.poster__pd { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }
.poster__photo { width: 100%; aspect-ratio: 1.06; margin-top: 12px; border: 2px solid #2b241a; background: radial-gradient(circle at 50% 40%, #e7d6a8, #c9b480); overflow: hidden; position: relative; }
.poster__photo img { position: absolute; left: 50%; top: 6%; width: 52%; height: auto; transform: translateX(-50%) rotate(-4deg); filter: sepia(.9) saturate(.85) contrast(1.05) brightness(.9); }
.poster__name { margin-top: 12px; font: 400 15px/1.1 var(--f-display); }
.poster__crime { margin-top: 4px; font-size: 11px; line-height: 1.35; }
.poster__rw { margin-top: 10px; padding-top: 8px; width: 100%; border-top: 1.5px solid #2b241a; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.poster__reward { font: 400 14px/1.15 var(--f-display); margin-top: 2px; }
.poster__caught { position: absolute; left: 50%; top: 42%; padding: 6px 14px 4px; border: 4px solid var(--red); border-radius: 6px; color: var(--red); background: rgba(232, 219, 185, .5); font: 400 26px/1 var(--f-display); transform: translate(-50%, -50%) rotate(-14deg) scale(1.6); opacity: 0; transition: opacity .2s, transform .35s cubic-bezier(.3, 1.5, .5, 1); pointer-events: none; }
.poster.is-caught .poster__caught { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
.poster.is-caught .poster__photo img { filter: sepia(.9) saturate(.6) contrast(1.05) brightness(.75); }
.wanted__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.booking { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(70px, 9vw, 110px); align-items: start; scroll-margin-top: 90px; }
.booking .lead { color: var(--muted); }
.booking form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span, .charges legend { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.field input { height: 52px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 4px; background: rgba(8, 9, 12, .8); color: var(--cream); font: 500 16px/1 var(--f-mono); }
.field input:focus { outline: none; border-color: var(--yellow); }
.charges { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.charges legend { margin-bottom: 10px; padding: 0; }
.charge { position: relative; }
.charge input { position: absolute; opacity: 0; pointer-events: none; }
.charge span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 4px; background: rgba(8, 9, 12, .6); font-size: 13px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.charge input:checked + span { background: rgba(229, 72, 59, .16); border-color: var(--red); color: #ffd5cf; }
.charge input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.booking__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.booking__btns .btn--ghost.is-off { opacity: .6; pointer-events: none; }
.booking__tip { font-size: 12px; color: var(--muted); }
.booking__out { position: relative; }
.booking__img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 3px; background: var(--bg2); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transform: rotate(1deg); }
.booking__note { margin-top: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- close the case ---------- */
.close { background: var(--bg0); }
.close__bg { position: absolute; right: -6%; top: 0; width: min(62vw, 860px); aspect-ratio: 1; background: none center / cover no-repeat; opacity: .22; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); }
.close.is-near .close__bg { background-image: url("../img/gator-lg.webp"); }
.close__cta { position: relative; max-width: 800px; }
.close__cta .h2--xl { font-size: clamp(52px, 7.6vw, 108px); }
.close__cta .cta { margin-top: 34px; }
.links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.links .btn { min-height: 42px; font-size: 11px; }
.academy { margin-top: clamp(80px, 10vw, 130px); scroll-margin-top: 90px; }
.academy .lead { color: var(--muted); }
.steps { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.steps li { position: relative; padding: 52px 18px 20px; background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; counter-increment: st; min-width: 0; }
.steps li::before { content: counter(st); position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 400 13px/1 var(--f-display); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); padding-top: 3px; }
.steps b { display: block; font: 400 15px/1.15 var(--f-display); text-transform: uppercase; color: var(--cream); }
.steps p { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.academy__nfa { margin-top: 20px; font-size: 12px; color: var(--muted); }

.sealed { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); margin-top: clamp(80px, 10vw, 120px); background: linear-gradient(180deg, #0f1115, #090a0d); border: 1px solid rgba(229, 72, 59, .3); border-radius: 4px; overflow: hidden; }
.sealed__img { position: relative; min-height: 280px; }
.sealed__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 14% 50%; }
.sealed__body { position: relative; padding: 46px 34px 34px; min-width: 0; }
.sealed__stamp { position: absolute; right: 18px; top: 18px; padding: 6px 12px 4px; border: 3px solid var(--red); border-radius: 5px; color: var(--red); font: 400 13px/1 var(--f-display); transform: rotate(6deg); }
.sealed__intro { font-size: 12px; color: var(--muted); }
.sealed__quote { margin-top: 10px; font: 400 clamp(22px, 2.6vw, 30px)/1.25 var(--f-display); color: var(--cream); }
.sealed__name { white-space: nowrap; }
/* fixed width: the scrambled name never moves the line around it */
.sealed__bar { display: inline-block; width: 5.2em; padding: 0 .2em; background: #000; color: #000; letter-spacing: .04em; text-align: center; white-space: nowrap; clip-path: inset(0); vertical-align: baseline; transition: color .1s; }
.sealed__bar.is-scr { color: var(--red); }
.sealed__cut { margin-top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.sealed__cut.is-cut { animation: cutFlash .6s steps(2) 2; }
@keyframes cutFlash { 50% { opacity: .2; } }
.sealed__text { margin-top: 14px; font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.sealed__count { margin-top: 18px; display: flex; gap: 10px; }
.sealed__count div { min-width: 64px; padding: 10px 8px 8px; border: 1px solid var(--line2); border-radius: 3px; text-align: center; }
.sealed__count b { display: block; font: 400 26px/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--cream); }
.sealed__count span { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sealed__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.sealed.is-playing .sealed__img img { animation: tapeShake .12s steps(2) infinite; }
@keyframes tapeShake { 50% { transform: translate(.6px, -.4px); } }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--bg0); border-top: 1px solid var(--line); }
.foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 30px calc(30px + env(safe-area-inset-bottom)); font-size: 11px; line-height: 1.6; color: var(--muted); }
.foot__in p { max-width: 70ch; }

/* ---------- interrogation room ---------- */
.room { position: fixed; inset: 0; z-index: 80; background: var(--bg0); display: grid; place-items: center; overflow: hidden; }
.room__frame { position: relative; width: min(100vw, 160vh); aspect-ratio: 1440 / 900; container-type: inline-size; }
.room__scene { position: absolute; inset: 0; overflow: hidden; }
.room__art { position: absolute; left: -5.399%; top: 0; width: 110.8%; height: 100%; }
.room__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.room__squid, .room__eyes { position: absolute; left: 10.47%; top: 29.735%; width: 14.209%; height: 64.583%; max-width: none; }
.room__eyes { opacity: 0; transform-origin: 78.8% 38.9%; filter: grayscale(1) contrast(5) brightness(1.05); mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse 18% 6.5% at 78.8% 38.9%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 18% 6.5% at 78.8% 38.9%, #000 55%, transparent 100%); z-index: 3; }
.room__sweat { position: absolute; inset: 0; pointer-events: none; }
.room__sweat i { position: absolute; width: .7cqw; height: .7cqw; border-radius: 0 50% 50% 50%; background: linear-gradient(135deg, #fff 0%, #c4e8fb 40%, #79c2ea 100%); box-shadow: 0 0 0 .1cqw rgba(20, 40, 60, .55); opacity: 0; }
.room__glow { position: absolute; left: 48.5%; top: 12.5%; width: 35.1%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 238, 196, .5) 0%, rgba(255, 228, 170, .16) 22%, rgba(255, 220, 160, 0) 60%); mix-blend-mode: screen; pointer-events: none; transform-origin: 50% 0; }
.room__ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.room__dim { position: absolute; inset: 0; background: #020203; opacity: 0; pointer-events: none; z-index: 3; }
.room__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 6, .7) 0%, rgba(3, 4, 6, 0) 16%, rgba(3, 4, 6, 0) 62%, rgba(3, 4, 6, .85) 86%, rgba(3, 4, 6, .95) 100%); z-index: 3; }
.room__label { position: absolute; left: 3.9%; top: 11.5%; z-index: 5; display: flex; flex-direction: column; gap: .4em; font-size: max(10px, .84cqw); letter-spacing: .16em; text-transform: uppercase; }
.room__label span:first-child { color: var(--yellow); }
.room__label span:last-child { color: var(--muted); }
.room__label b { font-weight: inherit; }
.pol { position: absolute; left: 62.5%; top: 62.2%; width: 14.86%; margin: 0; padding: .83cqw .83cqw 2.8cqw; background: #f1ece0; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); transform: rotate(-6deg); z-index: 4; opacity: 0; }
.pol.is-in { animation: polIn .52s cubic-bezier(.2, .9, .3, 1.15) forwards; }
@keyframes polIn { from { opacity: 0; transform: translate(-4cqw, 11cqw) rotate(-24deg); } to { opacity: 1; transform: translate(0, 0) rotate(-6deg); } }
.pol__img { position: relative; width: 100%; aspect-ratio: 190 / 140; overflow: hidden; background-color: #111; background-image: url("../img/alley-lg.webp"); background-repeat: no-repeat; filter: sepia(.3) contrast(1.1) brightness(1.7); }
.pol__img .pg { position: absolute; inset: 0; display: grid; place-items: center; font: 400 2.2cqw/.95 var(--f-marker); color: #d9473b; text-align: center; transform: rotate(-7deg); }
.pol__img .pr { position: absolute; left: 17%; top: 21%; width: 65%; padding: .55cqw .6cqw; background: #d9d2c1; transform: rotate(14deg) scale(1.15); font-size: .59cqw; line-height: 1.4; color: #2a2620; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); display: flex; flex-direction: column; }
.pol__img .pp { position: absolute; border: .14cqw solid rgba(229, 72, 59, .85); border-radius: 50%; }
.pol figcaption { position: absolute; left: 0; right: 0; bottom: .55cqw; text-align: center; font: 400 1.25cqw/1 var(--f-marker); color: #1b1d21; }
.room__stamp { position: absolute; left: 6.67%; top: 62.2%; z-index: 6; padding: .55cqw 1.1cqw .4cqw; border: .28cqw solid var(--red); border-radius: .42cqw; color: var(--red); font: 400 2.36cqw/1 var(--f-display); background: rgba(10, 4, 4, .4); opacity: 0; pointer-events: none; transform: rotate(-10deg); }
.room__stamp.is-on { animation: roomStamp 2.4s ease-out forwards; }
@keyframes roomStamp { 0% { opacity: 0; transform: rotate(-10deg) scale(2.2); } 18% { opacity: 1; transform: rotate(-10deg) scale(.95); } 24%, 100% { opacity: 1; transform: rotate(-10deg) scale(1); } }
.room__black { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 40; }
.room.is-entering { background: transparent; }
.room.is-entering .room__frame { visibility: hidden; }

.room__hud { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.room__hud > * { pointer-events: auto; }
.poly { position: absolute; left: 3.9%; top: 17.2%; width: 20.5%; padding: .55cqw .7cqw .7cqw; background: rgba(14, 16, 20, .92); border: 1px solid rgba(239, 232, 216, .18); border-radius: .3cqw; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.poly__head { display: flex; justify-content: space-between; gap: 8px; font-size: max(9px, .62cqw); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4cqw; white-space: nowrap; }
.poly__state { color: var(--green); }
.poly__state.is-lie { color: var(--red); }
.poly__cv { display: block; width: 100%; height: auto; aspect-ratio: 560 / 150; border-radius: 2px; background: #efe6cf; }
.poly__verdict { position: absolute; right: 1cqw; bottom: 1.1cqw; padding: .25cqw .6cqw .15cqw; border: .2cqw solid var(--red); border-radius: .3cqw; color: var(--red); background: rgba(239, 230, 207, .85); font: 400 max(12px, 1.25cqw)/1 var(--f-display); transform: rotate(-8deg); opacity: 0; pointer-events: none; }
.poly__verdict.is-on { animation: verdict 1.6s ease-out forwards; }
@keyframes verdict { 0% { opacity: 0; transform: rotate(-8deg) scale(1.8); } 15% { opacity: 1; transform: rotate(-8deg) scale(.95); } 75% { opacity: 1; transform: rotate(-8deg) scale(1); } 100% { opacity: 0; } }

.bub { position: absolute; opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .22s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.bub.is-on { opacity: 1; transform: none; }
.bub b { display: block; font: 400 max(10px, .76cqw)/1 var(--f-display); letter-spacing: .06em; }
.bub p { margin-top: .3cqw; min-height: 1.4em; font-size: max(13px, 1.18cqw); line-height: 1.38; font-weight: 500; color: var(--ink); }
.bub p .tw-rest { color: transparent; }
.bub--g, .bub--s { background: #f3eddf; border: 2.5px solid var(--ink); border-radius: 16px; padding: .83cqw 1.25cqw 1cqw; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }
.bub--g { left: 32.5%; top: 27.8%; width: 24.4%; transform-origin: 100% 100%; }
.bub--g b { color: #3f7a22; }
.bub--g::after { content: ""; position: absolute; right: -10px; bottom: 22px; width: 16px; height: 16px; background: #f3eddf; border-top: 2.5px solid var(--ink); border-right: 2.5px solid var(--ink); transform: rotate(45deg); }
.bub--s { left: 23.5%; top: 48.4%; width: 22.9%; transform-origin: 0 0; }
.bub--s b { color: #c2382c; }
.bub--s::after { content: ""; position: absolute; left: -10px; top: 26px; width: 16px; height: 16px; background: #f3eddf; border-bottom: 2.5px solid var(--ink); border-left: 2.5px solid var(--ink); transform: rotate(45deg); }
.ask { position: absolute; left: 23.6%; top: 64.6%; width: 37.5%; display: flex; flex-direction: column; align-items: flex-start; gap: .6cqw; }
.ask__label { font-size: max(10px, .76cqw); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.ask__chips { display: flex; flex-direction: column; align-items: flex-start; gap: .55cqw; min-height: 42px; }
.chip { min-height: max(40px, 2.9cqw); padding: 0 max(14px, 1.25cqw); background: rgba(8, 9, 12, .82); border: 1px solid var(--line2); border-radius: 4px; color: var(--cream); font-size: max(13px, .97cqw); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.chip:hover { background: rgba(127, 208, 75, .16); border-color: var(--green); }
.chip--done { font-size: max(12px, .9cqw); color: var(--muted); }
.btn--book { min-height: max(44px, 3.2cqw); background: var(--red); color: var(--ink); font: 400 max(15px, 1.1cqw)/1 var(--f-display); box-shadow: 3px 3px 0 var(--red-d); animation: bookPulse 1.6s ease-in-out infinite; }
@keyframes bookPulse { 50% { box-shadow: 3px 3px 0 var(--red-d), 0 0 0 6px rgba(229, 72, 59, .25); } }
.ask__back { margin-top: .4cqw; min-height: max(40px, 2.9cqw); font-size: max(11px, .83cqw); }

/* ---------- commendations drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .6); display: flex; justify-content: flex-end; }
.drawer__panel { width: min(420px, 100%); height: 100%; overflow-y: auto; background: var(--bg1); border-left: 1px solid var(--line); padding: calc(22px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom)); animation: drawerIn .3s cubic-bezier(.2, .8, .3, 1); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top h2 { font: 400 22px/1 var(--f-display); text-transform: uppercase; }
.drawer__x { width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; font-size: 22px; cursor: pointer; }
.drawer__badge { display: flex; align-items: center; gap: 18px; margin: 24px 0 20px; padding: 18px; background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; }
.shield { position: relative; flex: none; width: 74px; height: 86px; display: grid; place-items: center; background: linear-gradient(160deg, #f8e27a, #c79a1c 60%, #8a6a10); clip-path: polygon(50% 0, 100% 14%, 92% 62%, 50% 100%, 8% 62%, 0 14%); }
.shield span { font: 400 14px/1 var(--f-display); color: #3a2a06; margin-top: 6px; }
.drawer__rank { font: 400 20px/1.1 var(--f-display); text-transform: uppercase; color: var(--yellow); }
.drawer__sub { margin-top: 4px; font-size: 12px; color: var(--muted); }
.drawer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.drawer__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); }
.drawer__list li i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px dashed var(--line2); font-style: normal; font-size: 14px; }
.drawer__list li b { display: block; font-weight: 600; font-size: 13px; color: var(--muted); }
.drawer__list li span { font-size: 12px; line-height: 1.4; }
.drawer__list li.is-on { color: var(--muted); border-color: rgba(242, 210, 48, .35); }
.drawer__list li.is-on i { border: 0; background: var(--yellow); color: var(--ink); }
.drawer__list li.is-on b { color: var(--cream); }
.drawer__foot { margin-top: 18px; font-size: 11px; color: var(--dim); }

/* ---------- mobile bar, toast, grain ---------- */
.bar { display: none; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 120; transform: translate(-50%, 20px); width: max-content; max-width: calc(100vw - 32px); padding: 12px 16px; background: rgba(8, 9, 12, .95); border: 1px solid var(--yellow); border-radius: 4px; color: var(--cream); font-size: 13px; line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--yellow); font-weight: 600; }
.grain { position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .05; background-image: var(--grain, none); background-size: 180px 180px; animation: grain .9s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(4%, -7%); } 60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
  .nav__badge-n { display: none; }
}
@media (max-width: 1100px) {
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dossiers { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
}
@media (max-width: 1023px) {
  :root { --nav-h: 56px; }
  html { scroll-padding-top: 60px; }
  .nav, .nav.is-solid { height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0 16px; background: var(--bg0); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__logo { font-size: 18px; }
  .nav__links, .nav__sq, .nav__buy { display: none; }
  .nav__menu { display: block; }
  .nav__sound { height: 40px; }
  .nav__badge { height: 40px; }

  .alley { --heroH: clamp(460px, calc(100svh - 132px - env(safe-area-inset-top)), 860px); margin-top: calc(56px + env(safe-area-inset-top)); }
  .graffiti { left: 450px; top: 380px; font-size: 30px; transform: perspective(500px) rotateY(32deg) rotate(-2deg); transform-origin: 0 50%; }
  .graffiti span { font-size: 13px; }
  .receipt { left: 452px; top: 640px; }
  .stage { box-shadow: none; }
  .alley__ui { position: absolute; inset: 0; width: auto; height: auto; transform: none; display: flex; flex-direction: column; padding: 16px 16px 0; pointer-events: none; }
  .alley__ui > * { position: static; }
  .alley__meta { order: 1; gap: 4px; font-size: 10px; }
  .alley__title { order: 2; margin-top: 8px; width: max-content; font-size: clamp(40px, 13vw, 64px); }
  .alley__lead { display: none; }
  .slots { position: absolute; left: auto; right: 16px; top: 16px; }
  .slots > span:not(.slots__label) { width: 22px; height: 22px; font-size: 10px; }
  .slots__label { display: none; }
  .slots__reopen { position: absolute; right: 0; top: 30px; white-space: nowrap; }
  .alley__ui .cta { display: none; }
  .kb-search:not(.sr-only) { left: 16px; top: auto; bottom: 16px; }
  .alley__down { display: none; }
  .alley__hint { bottom: 76px; }
  .clue { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); top: auto !important; width: auto; z-index: 70; }
  .clue__go { height: 52px; }

  .case__grid, .board__grid, .booking, .sealed { grid-template-columns: minmax(0, 1fr); }
  .case__grid { margin-top: 40px; }
  .notes__text { min-height: 0; }
  .sealed__img { min-height: 0; aspect-ratio: 3 / 1; }

  .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 6, 8, .94); border-top: 1px solid var(--line); transform: translateY(0); transition: transform .3s; }
  .bar.is-off { transform: translateY(115%); }
  .bar .ca { flex: 1; min-height: 48px; }
  .btn--bar { flex: none; min-height: 48px; padding: 0 18px; font-size: 15px; box-shadow: none; }
  .foot__in { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .toast { bottom: auto; top: calc(66px + env(safe-area-inset-top)); transform: translate(-50%, -12px); }
  .toast.is-on { transform: translate(-50%, 0); }

  /* room becomes a scrolling sheet */
  .room { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .room__frame { width: 100%; aspect-ratio: auto; padding-top: env(safe-area-inset-top); }
  .room__scene { position: relative; aspect-ratio: 1440 / 900; }
  .room__label { left: 4%; top: 6%; font-size: 10px; }
  .pol { display: none; }
  .room__stamp { font-size: 22px; padding: 6px 12px 4px; border-width: 3px; left: 8%; top: 56%; }
  .room__hud { position: relative; inset: auto; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px calc(28px + env(safe-area-inset-bottom)); }
  .room__hud > * { position: relative; left: auto; top: auto; width: auto; }
  .poly { order: 1; padding: 8px 10px 10px; }
  .poly__head { font-size: 9px; margin-bottom: 6px; }
  .poly__verdict { right: 14px; bottom: 16px; font-size: 13px; padding: 4px 8px 2px; border-width: 2px; }
  .bub { order: 2; }
  .bub--g, .bub--s { padding: 10px 14px 12px; }
  .bub--g { margin-left: 18%; }
  .bub--s { margin-right: 18%; order: 3; }
  .bub--g::after { bottom: auto; top: -10px; right: 30px; transform: rotate(-45deg); }
  .bub--s::after { left: 30px; top: -10px; transform: rotate(45deg); border-left: 2.5px solid var(--ink); border-bottom: 0; border-top: 2.5px solid var(--ink); }
  .bub b { font-size: 10px; }
  .bub p { font-size: 15px; margin-top: 4px; }
  .ask { order: 4; margin-top: 4px; }
  .ask__label { font-size: 10px; }
  .ask__chips { width: 100%; gap: 8px; }
  .chip { width: 100%; min-height: 46px; font-size: 14px; padding: 8px 14px; }
  .btn--book { width: 100%; min-height: 50px; font-size: 16px; }
  .ask__back { width: 100%; min-height: 46px; font-size: 12px; }
}
@media (max-width: 700px) {
  .posters { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(76%, 290px); gap: 20px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 28px var(--gut) 44px; scrollbar-width: none; }
  .posters::-webkit-scrollbar { display: none; }
  .poster { scroll-snap-align: center; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  /* phones: photo next to the name, the file underneath at full width */
  .dossier { grid-template-columns: clamp(96px, 28vw, 136px) minmax(0, 1fr); grid-template-areas: "img head" "dl dl"; }
  .dossier__body { display: contents; }
  .dossier__img { grid-area: img; min-height: 0; aspect-ratio: 4 / 5; }
  .dossier__img img { object-position: 22% 50%; }
  .dossier__head { grid-area: head; align-self: center; min-width: 0; padding: 14px 40px 14px 16px; }
  .dossier__name { margin-bottom: 0; font-size: 20px; }
  .dossier__dl { grid-area: dl; padding: 16px 16px 18px; }
  .dossier__dl div { font-size: 12px; }
  .radio { grid-template-columns: minmax(0, 1fr) 60px; }
  .radio__lamp { width: 60px; height: 60px; }
  .sealed__body { padding: 40px 20px 26px; }
  .wanted__head { gap: 10px; }
  .cta .ca { max-width: none; }
  .tape { font-size: 13px; }
}
@media (max-width: 480px) {
  .nav__sound span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__sound { width: 40px; padding: 0; justify-content: center; }
  .nav__badge { width: 40px; padding: 0; justify-content: center; }
  .nav__tools { gap: 6px; }
}
@media (hover: none) {
  .stage { cursor: auto; }
  .grain { animation: none; inset: 0; }
}
.low-fx .grain { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape__run, .grain, .cctv__scan::after, .btag::after, .btn--book, .radio.is-red .radio__lamp i::after { animation: none !important; }
  .intro-on #intro { display: none; }
}
