/* DECOMMISSIONED · Glass Box, on the Downstage design system (brand/site/DESIGN.md, pack of 15 Nov 2026).
   Ground #0A0A0B, tonal surfaces, white-alpha hairlines. Electric blue only on what can be pressed or is live.
   Funnel Display for headlines and numerals, Funnel Sans for everything else. Pills for controls, 18px panels.
   One warm-white light from above. The game's own frames and log lines keep the game's colours inside panels. */
@font-face { font-family: "Funnel Display"; font-weight: 400 700; font-display: swap; src: url("assets/fonts/funnel-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Funnel Display"; font-weight: 400 700; font-display: swap; src: url("assets/fonts/funnel-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Funnel Sans"; font-weight: 400 700; font-display: swap; src: url("assets/fonts/funnel-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Funnel Sans"; font-weight: 400 700; font-display: swap; src: url("assets/fonts/funnel-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0A0A0B; --bg-1: #111113; --bg-2: #17171A; --bg-3: #1F1F23;
  --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .14);
  --fg: #F5F5F4; --fg-2: #A3A3A8; --fg-3: #8A8A90;
  --accent: #2F6BFF; --accent-hi: #1F59EC; --accent-ink: #F5F5F4;
  --warm: rgb(255 250 240);
  --c-g: #CFF3FF; --c-p: #F2A945;                 /* only inside log panels */
  --display: "Funnel Display", "Segoe UI", system-ui, sans-serif;
  --sans: "Funnel Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: 20px; --header: 64px;
}
@media (min-width: 700px) { :root { --gut: 32px; } }
@media (min-width: 1100px) { :root { --gut: 48px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg-2); font: 400 1.0625rem/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--fg); text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; color: var(--fg); }
i, em { font-style: normal; color: var(--fg); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--fg); text-wrap: balance; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
code { font: 500 .92em var(--sans); color: var(--fg); background: var(--bg-2); border-radius: 7px; padding: .1em .45em; overflow-wrap: anywhere; }
.wrap { max-width: calc(1180px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.wrap.wide { max-width: calc(1320px + 2 * var(--gut)); }
.fine { font-size: .9rem; color: var(--fg-3); }

/* ---------- controls: every one a full pill ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 500 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .16s var(--ease); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn--blue { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: rgb(255 255 255 / .03); border-color: var(--line-2); color: var(--fg); }
.btn--sm { height: 36px; padding: 0 15px; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--blue:hover { background: var(--accent-hi); }
  .btn--ghost:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .22); }
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.st { display: inline-flex; align-items: center; gap: 7px; font: 500 .8rem/1 var(--sans); color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px 6px 10px; white-space: nowrap; margin: 0; }
.st i { width: 7px; height: 7px; border-radius: 50%; flex: none; border: 1.5px solid var(--fg-3); }
.st i.live { border: 0; }
.st i.done { border: 0; background: var(--warm); }

/* ---------- header, with one dot per section: relit in warm white as you reach it ---------- */
.top { position: sticky; top: 0; z-index: 40; height: var(--header); display: flex; align-items: center; gap: 20px; padding: 0 var(--gut); background: rgb(10 10 11 / .74); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); }
.top .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.top .brand img { height: 26px; width: auto; }
.dots { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; }
.dots a { position: relative; display: block; width: 26px; height: 44px; }
.dots a::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; border: 1.5px solid var(--fg-3); transition: background-color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease); }
.dots li.lit a::before { background: var(--warm); border-color: var(--warm); }
.dots a span { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--fg); color: var(--bg); font: 500 .8rem/1 var(--sans); padding: 7px 11px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; }
.top .count { font-size: .9rem; color: var(--fg-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.top .count b { font-weight: 500; color: var(--fg-2); margin-left: 6px; }
.top .count #where { color: var(--fg); }

/* ---------- the overhead light ---------- */
.light { position: absolute; left: 50%; top: 0; width: min(1100px, 100%); height: 720px; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.light::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 34% 100% at 50% 0%, rgb(255 250 240 / .10), rgb(255 250 240 / .045) 45%, transparent 100%); -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); mask-image: linear-gradient(#000 30%, transparent 92%); }
.light::after { content: ""; position: absolute; left: 50%; top: -60px; width: 340px; height: 120px; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(255 250 240 / .22), transparent); }

/* ---------- hero: centred and lit, then the stage ---------- */
.hero { position: relative; overflow: hidden; }
.hero__in { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.04em; max-width: 15ch; margin-top: 26px; }
.stop { position: relative; display: inline-block; width: .15em; height: .15em; margin-left: .035em; border-radius: 50%; }
.stop::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.4); opacity: 0; } }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--fg-2); max-width: 56ch; }
.hero .lede { margin: 26px auto 0; }
.hero .btns { justify-content: center; margin-top: 34px; }
.hero .fine { margin: 22px 0 0; }

.stage { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 84px); }
.tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 22px; background: var(--bg-2); border-radius: 999px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: none; color: var(--fg-2); font: 500 .92rem/1 var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.frame { position: relative; background: var(--bg-1); border: 1px solid var(--line-2); border-top-color: rgb(255 255 255 / .24); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 120px -50px rgb(0 0 0 / .95), 0 1px 0 rgb(255 255 255 / .10) inset; aspect-ratio: 16 / 9; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.frame img.on { opacity: 1; }
.frame img.gamelogo { inset: auto auto 7% 4%; width: min(38%, 440px); height: auto; object-fit: contain; z-index: 2; }
.frame::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgb(10 10 11 / .78)); pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s var(--ease); }
.frame.keyart::after { opacity: 1; }
.stage .cap { text-align: center; margin: 18px auto 0; max-width: 70ch; min-height: 3.2em; }

/* ---------- slots: what only Thendo can supply ---------- */
.slot { border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-1); color: var(--fg-3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 22px; font-size: .9rem; line-height: 1.5; }
.slot b { font: 600 1.08rem/1.3 var(--sans); color: var(--fg-2); }
.slot small { font-size: .9rem; max-width: 46ch; }
.slot.video { aspect-ratio: 16 / 9; }
.slot.wide { min-height: 96px; margin: 14px 0 0; }

/* ---------- sections ---------- */
.street { position: relative; padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.hero.street { border-top: 0; padding: clamp(64px, 11vh, 120px) 0 clamp(64px, 8vw, 110px); }
/* a section is relit by the light itself: the cone over its head fades up when you reach it, and stays */
.street > .wrap { position: relative; }
.shead { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.shead h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.shead .lede { margin: 0; }
.g2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.g2.even { grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
figure { margin: 0; }
figure img, .ba { border-radius: 18px; border: 1px solid var(--line); background: var(--bg-1); }
figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figure img.free { aspect-ratio: auto; }
figcaption { font-size: .9rem; line-height: 1.5; color: var(--fg-3); margin-top: 12px; }
.note { font-size: .9rem; color: var(--fg-3); }

/* a person's words; a log's words */
.memo { margin: 0 0 16px; padding: 22px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; color: var(--fg); font: 500 1.12rem/1.4 var(--sans); }
.memo .who { display: block; font: 400 .9rem/1.4 var(--sans); color: var(--fg-3); margin-bottom: 10px; }
.memo.agent { font: 400 1rem/1.55 var(--sans); color: var(--fg-2); }
.term { margin: 0 0 16px; padding: 16px 18px; background: var(--bg-2); border-radius: 12px; color: var(--fg-2); font: 400 .8rem/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.term .f { color: var(--c-p); } .term .p { color: var(--c-g); }

/* the game */
.loop { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.loop li { background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; padding: 22px; font-size: 1rem; line-height: 1.5; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.loop li:first-child, .loop li:nth-child(4) { grid-column: span 2; }
#director .slot.video { position: sticky; top: 110px; }
.loop li b { display: block; font: 600 1.5rem/1.1 var(--display); letter-spacing: -.025em; margin-bottom: 8px; }

/* the nights: hairline rows */
.night { display: grid; grid-template-columns: 160px 1fr 1fr; gap: clamp(18px, 3vw, 40px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); align-items: start; }
.night:first-of-type { border-top: 0; padding-top: 0; }
.night .when { font-size: .9rem; color: var(--fg-3); }
.night .when b { display: block; font: 600 1.08rem/1.3 var(--sans); color: var(--fg); margin-bottom: 2px; }
.night h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 14px; }

/* same camera, before and after */
.ba { position: relative; --pos: 50%; aspect-ratio: 16 / 9; overflow: hidden; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--fg); pointer-events: none; }
.ba .bar::after { content: ""; position: absolute; left: 50%; top: 22%; width: 34px; height: 34px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--fg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230A0A0B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6l-4 4 4 4M12 6l4 4-4 4'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 0 0 4px rgb(10 10 11 / .35); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input:focus-visible + .bar::after { outline: 2px solid var(--fg); outline-offset: 3px; }
.ba .lab { position: absolute; top: 12px; font: 500 .8rem/1 var(--sans); color: var(--fg); background: rgb(10 10 11 / .74); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 11px; pointer-events: none; }
.ba .lab.l { left: 12px; } .ba .lab.r { right: 12px; }
.ba + p { margin-top: 16px; }

/* cases and builds: disclosure rows */
.tools { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-bottom: 18px; }
.tools .tabs { margin: 0; }
.tools .sp { flex: 1; }
.tally { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.pips { display: flex; gap: 4px; }
.pips i { width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--fg-3); opacity: .6; transition: background-color .5s var(--ease), border-color .5s var(--ease), opacity .5s var(--ease); }
.pips i.on { background: var(--warm); border-color: var(--warm); opacity: 1; }
.cases, .builds { border-bottom: 1px solid var(--line); }
.case { display: grid; grid-template-columns: 180px 1fr auto; column-gap: 24px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.case[hidden] { display: none; }
.case header { grid-row: span 2; display: grid; gap: 10px; justify-items: start; }
.case .ref { font-size: .9rem; color: var(--fg-3); }
.case h3 { font: 500 1.12rem/1.3 var(--sans); letter-spacing: 0; color: var(--fg); }
.case .claim { grid-column: 2; font-size: 1rem; margin-top: 4px; }
.case .claim p { margin: 0; max-width: 62ch; }
.case .tag { display: block; font: 500 .8rem/1 var(--sans); color: var(--fg-3); margin-bottom: 10px; }
.case .claim .tag { display: none; }
.case .look { grid-column: 3; grid-row: 1 / span 2; align-self: center; min-width: 76px; }
.case .found { grid-column: 2 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; align-items: start; }
.case .ev, .case .chg { background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; padding: 22px; font-size: 1rem; }
.case .ev > :last-child, .case .chg > :last-child { margin-bottom: 0; }
.case .found figure { grid-column: 1 / -1; }
.case .found .memo { background: var(--bg-2); border: 0; border-radius: 12px; }
.js .case:not(.open) .found { display: none; }

.build { border-top: 1px solid var(--line); }
.build > button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 190px 150px 1.2fr 1fr 110px 24px; gap: 16px; align-items: baseline; width: 100%; padding: 22px 0; }
.build > button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.build .nm { font: 500 1.12rem/1.3 var(--sans); color: var(--fg); }
.build .nm small { display: block; font: 400 .9rem/1.5 var(--sans); color: var(--fg-3); }
.build .v { font-size: .98rem; line-height: 1.45; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.build .v i { display: block; font-size: .8rem; color: var(--fg-3); margin-bottom: 2px; }
.build .score { font: 600 1.9rem/1 var(--display); letter-spacing: -.03em; color: var(--fg); }
.build .score small { display: block; font: 400 .8rem/1.4 var(--sans); letter-spacing: 0; color: var(--fg-3); }
.build .score.none { font: 400 .9rem/1.4 var(--sans); letter-spacing: 0; color: var(--fg-3); }
.build .tog { position: relative; width: 14px; height: 14px; align-self: center; justify-self: end; font-size: 0; }
.build .tog::before, .build .tog::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: var(--fg-2); transition: transform .35s var(--ease); }
.build .tog::after { transform: rotate(90deg); }
.build.open .tog::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .build > button:hover .nm { text-decoration: underline; text-underline-offset: .2em; } }
.build .more { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 0 26px 206px; font-size: 1rem; }
.build .more > div { background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.build .more h4 { font: 500 .8rem/1 var(--sans); color: var(--fg-3); margin-bottom: 12px; }
.build .more ul { margin: 0; padding-left: 1.1em; } .build .more li { margin-bottom: .4em; }
.js .build:not(.open) .more { display: none; }
.build.slotrow { border-top: 0; }
.foot { font-size: .9rem; color: var(--fg-3); max-width: 86ch; margin-top: 22px; }

/* crew */
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th { text-align: left; font: 500 .8rem/1.3 var(--sans); color: var(--fg-3); border-bottom: 1px solid var(--line-2); padding: 0 16px 12px 0; }
td { border-bottom: 1px solid var(--line); padding: 14px 16px 14px 0; vertical-align: top; }
td:first-child { color: var(--fg); }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.crew li { background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; padding: 22px; font-size: .98rem; line-height: 1.5; }
.crew li b { display: block; font: 600 1.08rem/1.3 var(--sans); margin-bottom: 8px; }
.crew li:first-child, .crew li:nth-child(4) { grid-column: span 2; }
h4.lbl { font: 600 1.08rem/1.3 var(--sans); color: var(--fg); margin: 56px 0 18px; }
ul.plain { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
ul.plain li { padding: 16px 0; border-top: 1px solid var(--line); }
.sources { font-size: .9rem; line-height: 1.7; color: var(--fg-3); overflow-wrap: anywhere; max-width: 100ch; }

/* close and footer */
.close { position: relative; text-align: center; padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.close::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 100%); height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse 50% 100% at 50% 0%, rgb(255 250 240 / .07), transparent 70%); pointer-events: none; }
.close .apron { width: 112px; height: 112px; margin: 0 auto 10px; position: relative; }
.close h2 { position: relative; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -.04em; max-width: 13ch; margin: 0 auto; }
.close .lede { margin: 24px auto 0; position: relative; }
.close .btns { justify-content: center; margin-top: 34px; position: relative; }
footer { border-top: 1px solid var(--line); padding: 48px 0 64px; font-size: .9rem; color: var(--fg-3); }
footer .row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; }
footer img { height: 20px; width: auto; margin-bottom: 16px; }
footer h4 { font: 500 .9rem/1.3 var(--sans); color: var(--fg-3); margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; } footer li { margin-bottom: 8px; }
footer a { color: var(--fg-2); text-decoration: none; } footer a:hover { color: var(--fg); }
footer p { margin: 0 0 8px; max-width: 44ch; }

/* reveal: rise 16px on the house ease */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .top { gap: 12px; }
  .top .btn { display: none; }
  .dots a { width: 20px; } .dots a span { display: none; }
  .g2, .g2.even, .g3, .case .found, .build .more, footer .row, .shead { grid-template-columns: 1fr; }
  .shead { row-gap: 18px; }
  #director .slot.video { position: relative; top: auto; }
  .tabs { flex-wrap: wrap; justify-content: center; border-radius: 22px; width: auto; }
  .tools .tabs { width: 100%; }
  .tabs button { padding: 12px 14px; }
  .frame img.gamelogo { display: none; } .frame::after { content: none; }
  .loop { grid-template-columns: 1fr 1fr; } .loop li:first-child, .loop li:nth-child(4) { grid-column: auto; } .loop li { min-height: 0; }
  .crew { grid-template-columns: 1fr; } .crew li:first-child, .crew li:nth-child(4) { grid-column: auto; }
  .night { grid-template-columns: 1fr; gap: 14px; }
  .night .when b { display: inline; margin-right: 8px; }
  .case { grid-template-columns: 1fr auto; column-gap: 16px; }
  .case header { grid-row: auto; grid-column: 1; }
  .case .claim { grid-column: 1 / -1; margin-top: 10px; }
  .case .look { grid-column: 2; grid-row: 1; align-self: start; }
  .case .found { grid-column: 1 / -1; }
  .build > button { grid-template-columns: 1fr auto 20px; gap: 6px 14px; }
  .build .nm { grid-column: 1; } .build .score { grid-column: 2; grid-row: 1; text-align: right; } .build .tog { grid-column: 3; grid-row: 1; }
  .build .v { grid-column: 1 / -1; }
  .build .more { padding-left: 0; }
  table.resp, table.resp tbody, table.resp tr, table.resp td { display: block; } table.resp th { display: none; }
  table.resp td { border: 0; padding: 2px 0; } table.resp tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  table.resp td::before { display: block; font-size: .8rem; color: var(--fg-3); }
  table.resp td:first-child::before { content: "Thendo decided"; }
  table.resp td:last-child::before { content: "Agents decided, and logged it"; margin-top: 8px; }
}
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } .top .count #where { display: none; } .top .brand img { height: 24px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .stop::after { animation: none; }
  .js .rise { opacity: 1; transform: none; }
}
@media print { .top { display: none; } .js .case:not(.open) .found, .js .build:not(.open) .more { display: grid; } }

/* review pass 2 */
.case .found figure { max-width: 640px; }
.crew li:last-child { grid-column: span 2; }
@media (max-width: 899px) { .crew li:last-child { grid-column: auto; } }

/* break-ui pass, phone width (320 and 390, 200% text, long strings, failed images) */
body { overflow-wrap: anywhere; }
.st { white-space: normal; }
.btn { white-space: normal; height: auto; min-height: 46px; padding-block: 10px; text-align: center; }
.btn--sm { min-height: 44px; }
.tabs button { min-height: 44px; }
.top .brand { min-height: 44px; }
footer li a { display: inline-block; padding: 11px 0; } footer li { margin-bottom: 0; }
.ba .lab { max-width: calc(50% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba img { color: transparent; }
.none-found { padding: 22px 0; border-top: 1px solid var(--line); color: var(--fg-3); }
@media (max-width: 360px) { .top { padding: 0 16px; gap: 8px; } .top .brand img { height: 20px; } .top .count { display: none; } }

/* brand pass 3 */
.brand { display: flex; align-items: center; gap: 8px; }
.brand img, .top .brand img, footer .brand img { width: 38px; height: 38px; margin: 0; }
.wm { font: 600 1.3rem/1 var(--display); letter-spacing: -.03em; color: var(--fg); }
footer .brand { margin-bottom: 14px; }
.dots li.now a::before { background: var(--fg); border-color: var(--fg); box-shadow: none; transform: scale(1.5); }
.case .st { display: none; }
.case.open .st, .case[data-seen] .st { display: inline-flex; }
.top .count b { display: none; }
@media (max-width: 899px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; border-radius: 999px; width: fit-content; max-width: 100%; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 28px; }
  .tools .tabs { width: fit-content; }
  .top .count b { display: inline; }
}
@media (max-width: 360px) { .brand img, .top .brand img { width: 34px; height: 34px; } .wm { font-size: 1.1rem; } }
@media (max-width: 520px) { .top { gap: 8px; } .brand img, .top .brand img { width: 30px; height: 30px; } .top .wm { font-size: 1.05rem; } .top .brand { gap: 6px; } .dots a { width: 17px; } .top .count b { margin-left: 0; } }

/* candidate 6 pass */
.more li.sha { font-size: .78em; color: var(--fg-3, #8A8A90); word-break: break-all; font-variant-numeric: tabular-nums; }

/* brand pass 4: the laptop's brand check, 15 Nov */
/* one light at the top and one at the close; none on the sections between */
@media (max-width: 899px) { .close::before { width: 150%; height: 340px; } }
/* the kit's outlined lockup, never mark plus live text */
.brand img, .top .brand img, footer .brand img { width: auto; height: 44px; margin: 0 0 0 -9px; display: block; }
.top .here { font-size: .92rem; color: var(--fg-3); padding-left: 12px; border-left: 1px solid var(--line-2); flex: none; }
footer a.brand { display: inline-block; margin-bottom: 8px; }
footer .bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
footer .bot p { margin: 0; max-width: none; }
/* phones: a named section menu in place of nine dots */
.jump { display: none; position: relative; margin-left: auto; }
.jump > button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 .9rem/1 var(--sans); color: var(--fg); background: rgb(255 255 255 / .03); white-space: nowrap; }
.jump > button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.jump > button b { font-weight: 500; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.jump ol { position: absolute; right: 0; top: 52px; margin: 0; padding: 8px; list-style: none; min-width: 230px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; }
.jump ol a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--fg-2); text-decoration: none; font-size: 1rem; }
.jump ol a b { font-weight: 400; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.jump ol a[aria-current] { color: var(--fg); background: rgb(255 255 255 / .05); }
@media (max-width: 899px) { .dots, .top .count, .top .here { display: none; } .jump { display: block; } }
@media (max-width: 520px) { .brand img, .top .brand img { width: auto; height: 38px; margin-left: -8px; } }
@media (max-width: 360px) { .brand img, .top .brand img { width: auto; height: 34px; } .jump > button { padding: 0 12px; } }
/* waiting panels: solid hairline, a dimmed still, a status pill */
.slot { position: relative; overflow: hidden; border: 1px solid var(--line-2); align-items: flex-start; justify-content: flex-end; text-align: left; gap: 10px; }
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .24; filter: saturate(.6); }
.slot > :not(img) { position: relative; }
.slot .st { background: rgb(10 10 11 / .6); }
.slot small { max-width: 52ch; }
.slot.wide { min-height: 0; margin-top: 28px; }
.waitline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; margin-top: 22px; position: relative; }
.build.wait { display: grid; grid-template-columns: 190px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; }
.build.wait .v { max-width: 62ch; }
/* the loop: four frames from the game */
.loop { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.loop li, .loop li:first-child, .loop li:nth-child(4) { grid-column: auto; display: block; background: none; border: 0; border-radius: 0; padding: 0; min-height: 0; }
.loop li img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 14px; }
.loop li b { font: 600 1.25rem/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.loop li span { font-size: .98rem; }
@media (max-width: 899px) { .loop { grid-template-columns: 1fr 1fr; gap: 22px 14px; } }
/* controls */
.tblwrap { overflow-x: auto; }
table.keys td { padding-top: 11px; padding-bottom: 11px; }
table.keys td + td { color: var(--fg-2); }
/* the crew: hairline rows, like the decisions table */
.crew { display: block; border-bottom: 1px solid var(--line); }
.crew li, .crew li:first-child, .crew li:nth-child(4), .crew li:last-child { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0; font-size: 1rem; }
.crew li b { margin: 0; font: 500 1rem/1.5 var(--sans); }
@media (max-width: 899px) { .crew li, .crew li:first-child, .crew li:nth-child(4), .crew li:last-child { grid-template-columns: 1fr; gap: 2px; } }
/* every build: four columns that mean the same thing in every row */
.build > button { grid-template-columns: 190px 150px 1.35fr 1fr 104px 24px; align-items: start; }
.build .score.none { font: 600 1.9rem/1 var(--display); letter-spacing: -.03em; color: var(--fg-3); }
.build .score small { margin-top: 6px; }
.build .tog { align-self: start; margin-top: 9px; }
.foot { max-width: 72ch; } .sources { max-width: 84ch; }
@media (max-width: 899px) {
  .build > button { grid-template-columns: 1fr auto 20px; }
  .build.wait { grid-template-columns: 1fr auto; } .build.wait .v { grid-column: 1 / -1; grid-row: 2; }
  /* case titles get the full width; Look sits under the claim */
  .case { grid-template-columns: 1fr; }
  .case header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .case .claim, .case .found { grid-column: 1; }
  .case .look { grid-column: 1; grid-row: auto; justify-self: start; align-self: start; margin-top: 14px; }
}
.case:target { scroll-margin-top: calc(var(--header) + 12px); }
.case { scroll-margin-top: calc(var(--header) + 12px); }
/* the handle sits mid-frame, clear of the game's subtitles and HUD */
/* hover from tokens only */
.slot > img { opacity: .16; }
.slot.video::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(rgb(17 17 19 / 0), rgb(17 17 19 / .92)); }
.slot.video > :not(img) { z-index: 1; }

/* brand pass 5 */
kbd { display: inline-block; min-width: 1.9em; text-align: center; font: 500 .82rem/1 var(--mono); color: var(--fg); background: var(--bg-2); border-radius: 7px; padding: 6px 8px; }
table.keys td { vertical-align: middle; }
@media (max-width: 899px) { .slot.video { aspect-ratio: auto; min-height: 210px; } }
@media (max-width: 699px) {
  table.keys, table.keys tbody { display: block; }
  table.keys tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.keys td:first-child { grid-column: 1 / -1; }
  table.keys tr:first-child { padding: 0 0 10px; }
  table.keys tr:first-child th { border: 0; padding: 0; }
  table.keys tr:first-child th:first-child { display: none; }
  table.keys td { border: 0; padding: 0; }
  table.keys td:nth-child(3) { color: var(--fg-3); }
}
#game .g2 > .rise:first-child { display: flex; flex-direction: column; }
#game .g2 { align-items: stretch; }
#game .g2 > .rise:first-child .facts { margin: auto 0 0; }
@media (min-width: 900px) { #sealed .g2 > .rise:last-child { position: sticky; top: 110px; align-self: start; } }

/* brand pass 6 */
.facts { font: 500 clamp(1.25rem, 1.9vw, 1.6rem)/1.3 var(--display); letter-spacing: -.02em; color: var(--fg-3); padding-top: 28px; }
.facts b { color: var(--fg); font-weight: 600; }
.slot > img { filter: blur(7px) saturate(.6); transform: scale(1.06); opacity: .22; }
.ctl { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.ctlside .foot { margin-top: 0; }
@media (min-width: 900px) { .ctlside { position: sticky; top: 110px; } }
@media (max-width: 899px) { .ctl { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 699px) { .ba .bar::after { width: 26px; height: 26px; top: 26px; background-size: 14px; } }
code { font: 400 .85em var(--mono); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- game pass, Sun 15 Nov 19:45 ----------
   Thendo: less Downstage, more of the game. Downstage keeps the structure, the type, the hairline panels and the pills,
   and its blue stays on links and buttons only. The game brings the atmosphere: lamp amber for anything lit,
   cyan-white for the machines, violet for Zee, the HUD's slate plates with their cut corner, its condensed caps
   for labels, the night rain, bigger frames and the painted panels. */
@font-face { font-family: "Saira HUD"; font-weight: 700; font-display: swap; src: url("assets/fonts/saira-condensed-bold.ttf") format("truetype"); }
:root {
  --lamp: #F2A945; --lamp-lo: rgb(242 169 69 / .18);
  --machine: #CFF3FF; --zee: #A57CFF;
  --plate: rgb(44 62 82 / .84); --plate-line: rgb(170 205 230 / .26);
  --ink: #0A0F14; --night: #0D1620;
  --hud: "Saira HUD", "Arial Narrow", "Funnel Sans", sans-serif;
  --warm: #F2A945;                 /* relit means a lamp now, not white */
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
body { background: linear-gradient(var(--night), var(--bg) 1100px) no-repeat, var(--bg); }

/* the HUD plate: slate, condensed caps, one corner cut */
.plate, .shead::before, .top .count b.hud { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font: 700 .9rem/1 var(--hud); letter-spacing: .09em; text-transform: uppercase; color: var(--fg); background: var(--plate); border-top: 1px solid var(--plate-line); padding: 8px 14px 7px 12px; clip-path: var(--cut); }

/* rain over the street, and the lamp overhead */
.hero::before, .close::after { content: ""; position: absolute; inset: 0; background: url("assets/img/rain_tile.png") 0 0 / 480px repeat; opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(#000 20%, transparent 85%); mask-image: linear-gradient(#000 20%, transparent 85%); }
.close::after { -webkit-mask-image: linear-gradient(transparent, #000 40%, transparent); mask-image: linear-gradient(transparent, #000 40%, transparent); }
.light::before { background: radial-gradient(ellipse 34% 100% at 50% 0%, rgb(242 169 69 / .15), rgb(242 169 69 / .055) 45%, transparent 100%); }
.light::after { background: radial-gradient(closest-side, rgb(255 205 130 / .38), transparent); }
.close::before { background: radial-gradient(ellipse 50% 100% at 50% 0%, rgb(242 169 69 / .10), transparent 70%); }
.stop, .stop::after { background: var(--lamp); }
.st i.live { background: var(--lamp); box-shadow: 0 0 0 3px var(--lamp-lo); }

/* the header: one lamp per street, relit as you reach it; the count reads like the game's LAMPS plate */
.dots li.lit a::before { background: var(--lamp); border-color: var(--lamp); }
.dots li.now a::before { background: var(--lamp); border-color: var(--lamp); box-shadow: 0 0 0 3px var(--lamp-lo), 0 0 14px rgb(242 169 69 / .7); }
.top .count b.hud { margin-left: 12px; padding: 7px 12px 6px; font-size: .95rem; }
.top .count b.hud em { color: var(--fg-3); font-style: normal; font-size: .78rem; }
.top .count b.hud #relit { color: var(--lamp); }
@media (min-width: 900px) { .top .count b.hud { display: inline-flex; } }

/* every street is numbered like a district, and says so when it is relit */
body { counter-reset: street; }
.street { counter-increment: street; }
.shead::before { content: "Street " counter(street, decimal-leading-zero) " / 09"; grid-column: 1 / -1; margin-bottom: 26px; color: var(--fg-2); }
.street.lit .shead::before { content: "Street " counter(street, decimal-leading-zero) " / 09 \00B7  relit"; color: var(--lamp); }

/* the stage: wider, Zee's violet under it, the caption as the game's subtitle plate */
.hero .wrap.wide { max-width: calc(1560px + 2 * var(--gut)); }
.stage .frame { box-shadow: 0 50px 120px -50px rgb(0 0 0 / .95), 0 40px 90px -60px rgb(165 124 255 / .45), 0 1px 0 rgb(255 255 255 / .10) inset; }
.stage .cap { width: fit-content; max-width: min(70ch, 100%); min-height: 0; margin: -34px auto 0; position: relative; z-index: 3; color: var(--fg); font-size: 1rem; line-height: 1.45; background: var(--plate); border-top: 1px solid var(--plate-line); padding: 12px 20px; clip-path: var(--cut); }
.stage .cap:empty { display: none; }

/* the loop: four big frames, each labelled with a HUD plate */
.loop { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; margin-top: 44px; }
.loop li { position: relative; }
.loop li b { position: absolute; left: 0; top: 0; margin: 0; font: 700 1.05rem/1 var(--hud); letter-spacing: .09em; text-transform: uppercase; color: var(--lamp); background: var(--plate); border-top: 1px solid var(--plate-line); padding: 9px 16px 8px 14px; clip-path: var(--cut); border-top-left-radius: 18px; }
.loop li span { display: block; max-width: 52ch; }

/* the painted panels: ink gutters, amber narration boxes */
.comic { margin-top: 64px; }
.comic .lbl { margin-top: 0; }
.panels { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: var(--ink); border: 1px solid var(--line); border-radius: 18px; }
.panels li { position: relative; }
.panels img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid #040507; border-radius: 4px; }
.panels li:first-child img { border-top-left-radius: 11px; } .panels li:last-child img { border-top-right-radius: 11px; }
.panels span { display: block; margin: -16px 10px 6px; position: relative; width: fit-content; max-width: calc(100% - 20px); font: 700 .86rem/1.25 var(--hud); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); background: var(--lamp); padding: 6px 9px 5px; clip-path: var(--cut); }
.comic .fine { margin-top: 14px; }

/* a frame across the whole width between streets */
.band { position: relative; margin: 0; border-top: 1px solid var(--line); }
.band img { width: 100%; height: clamp(300px, 52vw, 820px); object-fit: cover; object-position: 50% 40%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), transparent 14%, transparent 70%, var(--bg)); pointer-events: none; }
.band figcaption { position: absolute; z-index: 1; left: var(--gut); bottom: clamp(20px, 4vw, 56px); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: calc(100% - 2 * var(--gut)); color: var(--fg-2); font-size: .95rem; }
.band .plate { color: var(--lamp); }

/* who is talking: a person in lamp light, an agent in machine light */
.memo { box-shadow: inset 3px 0 0 var(--lamp); }
.memo.agent { box-shadow: inset 3px 0 0 var(--machine); }

/* before and after: Zee's violet on the line you drag */
.ba .bar { background: var(--zee); width: 2px; }
.ba .bar::after { box-shadow: 0 0 0 4px rgb(165 124 255 / .35); }

@media (max-width: 899px) {
  .panels { grid-template-columns: 1fr 1fr; }
  .panels li img { border-radius: 4px !important; }
  .stage .cap { margin-top: 12px; }
}
@media (max-width: 699px) {
  .loop { grid-template-columns: 1fr; }
  .band figcaption { position: relative; left: auto; bottom: auto; padding: 14px var(--gut) 0; max-width: none; }
  .band::after { background: linear-gradient(var(--bg), transparent 14%, transparent 80%, var(--bg)); }
}
@media (prefers-reduced-motion: reduce) { .stop::after { animation: none; } }
/* game pass 2: the hero opens on the street itself; the band crops out the HUD so its plate has the corner to itself */
.hero { background: linear-gradient(rgb(13 22 32 / .80), rgb(11 14 18 / .90) 55%, var(--bg) 92%), url("assets/img/p_relight.jpg") 50% 0 / max(100%, 1440px) auto no-repeat, var(--bg); }
.band img { height: clamp(280px, 38vw, 640px); object-position: 50% 46%; }
@media (max-width: 520px) { .panels span { font-size: .74rem; margin: -12px 6px 4px; padding: 5px 7px 4px; } }

/* game pass 3: the brand check's fixes (7.4 -> ?) */
/* the game on the first screen: its own title, and the painting reads through */
.hero-logo { width: min(420px, 72vw); height: auto; margin: 0 auto 22px; }
.hero { background: linear-gradient(rgb(13 22 32 / .62), rgb(11 14 18 / .84) 55%, var(--bg) 92%), url("assets/img/p_relight.jpg") 50% 0 / max(100%, 1440px) auto no-repeat, var(--bg); }
.frame.keyart::after { opacity: 0; }
/* plates carry the game's amber underline, not a pale top line */
.plate, .shead::before, .stage .cap, .loop li b, .top .count b.hud { border-top: 0; box-shadow: inset 0 -2px 0 rgb(242 169 69 / .6); }
/* quotes are the game's subtitle plate with a speaker tag on its corner */
.memo { box-shadow: none; position: relative; margin-top: 30px; background: var(--plate); border: 0; border-radius: 0; clip-path: none; }
.memo .who { position: absolute; top: -13px; left: 16px; margin: 0; font: 700 .78rem/1 var(--hud); letter-spacing: .08em; text-transform: uppercase; background: var(--lamp); color: var(--ink); padding: 6px 10px 5px; clip-path: var(--cut); }
.memo.agent .who { background: var(--machine); }
.memo .when { display: block; font: 400 .85rem/1.4 var(--sans); color: var(--fg-3); margin: 4px 0 8px; }
.case .found .memo { background: var(--plate); border-radius: 0; }
/* keys read like the game's key hints */
kbd, table.keys kbd { font: 700 .86rem/1 var(--hud); letter-spacing: .06em; text-transform: uppercase; color: var(--fg); background: var(--plate); border: 0; border-radius: 0; clip-path: var(--cut); padding: 6px 9px 5px; }
/* waiting slots: a real still, darkened at the foot, and a plate */
.slot > img { filter: none; transform: none; opacity: .5; }
.slot::after { content: ""; position: absolute; inset: 35% 0 0 0; background: linear-gradient(rgb(17 17 19 / 0), rgb(10 12 16 / .94)); }
.slot > :not(img) { z-index: 1; }
.slot .plate { color: var(--lamp); }
/* scores like the LAMPS counter */
.build .score, .build .score.none { font: 700 2rem/1 var(--hud); letter-spacing: .02em; }
.build .score small { font: 400 .8rem/1.4 var(--sans); }
/* labels are plates; prose stays Funnel */
h4.lbl { display: inline-flex; font: 700 .95rem/1 var(--hud); letter-spacing: .09em; text-transform: uppercase; color: var(--fg); background: var(--plate); box-shadow: inset 0 -2px 0 rgb(242 169 69 / .6); padding: 9px 14px 8px 12px; clip-path: var(--cut); }
/* the loop breaks out wider than the text column */
@media (min-width: 1100px) { .loop { width: min(1320px, calc(100vw - 2 * var(--gut))); margin-left: 50%; transform: translateX(-50%); } }
.js .loop.rise { transform: translateY(16px); } .js .loop.rise.in { transform: none; }
@media (min-width: 1100px) { .js .loop.rise { transform: translate(-50%, 16px); } .js .loop.rise.in { transform: translateX(-50%); } }
/* the band: the HUD stays under the fade */
.band::after { background: linear-gradient(var(--bg), transparent 14%, transparent 60%, var(--bg) 94%); }
/* comparing is the machines' job; violet stays with Zee */
.ba .bar { background: var(--machine); }
.ba .bar::after { box-shadow: 0 0 0 4px rgb(207 243 255 / .25); }
@media (max-width: 520px) { .panels { grid-template-columns: 1fr; } .panels span { font-size: .84rem; } }
/* game pass 4: the brand check's second list (8.3 -> ?) */
body { background: var(--bg); }
.hero { background: linear-gradient(rgb(13 22 32 / .62), rgb(11 14 18 / .84) 50%, var(--bg) 80%), url("assets/img/p_relight.jpg") 50% 0 / max(100%, 1440px) auto no-repeat, var(--bg); }
.slot.video > img { object-position: 50% 30%; }
.slot::after { inset: 15% 0 0 0; background: linear-gradient(rgb(10 12 16 / 0), rgb(10 12 16 / .97) 55%); }
/* quotes: the game's see-through plate with its underline */
.memo { background: rgb(44 62 82 / .6); box-shadow: inset 0 -1px 0 rgb(242 169 69 / .55); }
.memo.agent { box-shadow: inset 0 -1px 0 rgb(207 243 255 / .5); }
.case .found .memo { background: rgb(44 62 82 / .6); }
/* the cases read like the game's FILE cards */
.case .ref { font: 700 .8rem/1 var(--hud); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.case header .st { border: 1.5px solid var(--lamp); border-radius: 0; color: var(--lamp); background: none; font: 700 .72rem/1 var(--hud); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; }
.case header .st i { display: none; }
.case .tag { font: 700 .74rem/1 var(--hud); letter-spacing: .08em; text-transform: uppercase; color: var(--lamp); }
.build .st { border: 1.5px solid var(--fg-3); border-radius: 0; color: var(--fg-3); background: none; font: 700 .72rem/1 var(--hud); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; }
.build .st i { display: none; }
.band::after { background: linear-gradient(var(--bg), transparent 20%, transparent 50%, var(--bg) 86%); }
.close::before { background: radial-gradient(ellipse 50% 100% at 50% 0%, rgb(242 169 69 / .2), transparent 70%); }
#game .g2 > .rise:first-child .facts { margin-top: 28px; }
/* game pass 5: last three from the brand check (8.6) */
#director .slot.video > img { object-position: 50% 0; }
#director .slot::after { inset: 20% 0 0 0; background: linear-gradient(rgb(10 12 16 / 0), rgb(10 12 16 / .97) 50%); }
.hero { background: linear-gradient(rgb(13 22 32 / .62), rgb(11 14 18 / .84) 55%, var(--bg) 96%) 50% 0 / max(100%, 1440px) calc(max(100vw, 1440px) * 9 / 16) no-repeat, url("assets/img/p_relight.jpg") 50% 0 / max(100%, 1440px) auto no-repeat, var(--bg); }
