
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ff-ink: #080A0C;
  --ff-garnet: #85052C;
  --ff-garnet-hi: #B71943;
  --ff-gold: #D5AD52;
  --ff-silver: #D7DBDE;
  --void: #050607;
  --text: var(--ff-silver);
  --text-2: #C9CFD4;
  --dim: #9AA2A9;
  --faint: rgba(215, 219, 222, 0.14);
  --eye: #FF1F4B;
  --gutter: clamp(16px, 4vw, 48px);
  --lay: 1000px;
  --head-w: min(86vw, calc(52svh * 1.205), 620px);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

html.js:not(.css-ready) *, html.js:not(.css-ready) *::before, html.js:not(.css-ready) *::after { transition: none !important; }

@view-transition { navigation: auto; }
html { scrollbar-gutter: stable both-edges; }
html.sb-classic { scrollbar-gutter: stable; }
*, *::before, *::after { box-sizing: border-box; }
body { isolation: isolate; }
main { position: relative; }
html { background: var(--void); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--void);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--ff-gold); outline-offset: 4px; border-radius: 3px; }
button { font: inherit; color: inherit; }
main:focus, body:focus { outline: none; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 30; padding: 10px 14px;
  background: var(--ff-gold); color: var(--ff-ink); font-weight: 600;
}
.skip:focus { top: 12px; }

.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
  background: rgba(5, 6, 7, 0.92);
  pointer-events: none;
}
.bar::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px;
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.88), transparent);
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar-name { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; letter-spacing: 0.01em; color: var(--dim); text-decoration: none; }
.bar-icon { width: 26px; height: 26px; flex: none; border-radius: 5px; }
.bar-name:hover { color: var(--text); }
.bar-links { display: flex; align-items: center; gap: 4px; }
.bar-links a, .bar-links button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  background: none; border: 0; border-radius: 6px; color: var(--text);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.bar-links a:hover, .bar-links button:hover { background: rgba(215, 219, 222, 0.07); }
.bar-links [hidden] { display: none; }
@media (width < 40em) {
  .bar-name span { display: none; }
  .bar-links { gap: 0; }
  .bar-links a, .bar-links button { padding: 0 8px; font-size: 0.875rem; }
}
@media (width < 22.5em) {
  .bar { gap: 4px; }
  .bar-links a, .bar-links button { padding: 0 3px; }
}

.stage {
  position: relative; overflow: clip;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px var(--gutter) 56px;
  isolation: isolate;
  view-timeline-name: --stage;
}
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(215, 219, 222, 0.022) 0 1px, transparent 1px 3px);
}
.bay { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.corner { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(215, 219, 222, 0.28); }
.corner.tl { top: 64px; left: var(--gutter); border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 64px; right: var(--gutter); border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 20px; left: var(--gutter); border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 20px; right: var(--gutter); border-bottom-width: 1px; border-right-width: 1px; }
.hud {
  position: absolute; margin: 0; font: 400 0.8125rem/1 var(--mono); letter-spacing: 0.04em; color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.hud-tl { top: 98px; left: calc(var(--gutter) + 2px); }
.hud-br { bottom: 30px; right: calc(var(--gutter) + 36px); }
.duty { display: flex; align-items: center; gap: 8px; transition: opacity 0.6s ease; }
.powering .duty { opacity: 0; }
.duty-light { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #E0325F; box-shadow: 0 0 6px rgba(224, 50, 95, 0.75); }
@keyframes duty-pulse { 50% { opacity: 0.35; box-shadow: 0 0 2px rgba(224, 50, 95, 0.4); } }
@media (prefers-reduced-motion: no-preference) {
  .revealed .duty-light { animation: duty-pulse 2.8s ease-in-out infinite; }
  .still .duty-light { animation-play-state: paused; }
}
@media (width < 40em) {
  .hud-tl { display: none; }
  .duty { top: 72px; bottom: auto; left: calc(var(--gutter) + 36px); right: auto; }
}

.rig-wrap { position: relative; z-index: 2; width: var(--head-w); }
html:not(.b3d) .rig-wrap { display: none; }
@media (width >= 60em) {
  :root { --head-w: min(86vw, calc(52svh * 1.205), 620px, calc((98svh - 224px) * 0.9073)); }
}
.rig { transform-origin: 50% 66.4%; will-change: transform; }
.head { position: relative; margin: 0; aspect-ratio: 900 / 747; }
@keyframes float { from { transform: translateY(-1.5%); } to { transform: translateY(1.5%); } }
.revealed .float { animation: float 6.5s ease-in-out infinite alternate; }
.still .float { animation-play-state: paused; }
.still *, .still *::before, .still *::after { transition: none !important; }

.mark { position: relative; z-index: 3; margin: calc(var(--head-w) * -0.02) 0 0; width: min(90vw, calc(var(--head-w) * 1.3)); }
html:not(.b3d) .mark { margin-top: 0; }
h1.tagline { line-height: 1.3; }
:root { --mark-nudge: 10px; }
.stage .mark img { translate: var(--mark-nudge) 0; }
.tagline {
  position: relative; z-index: 6; margin: clamp(10px, 2svh, 22px) 0 0;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem); font-weight: 600; letter-spacing: 0.02em; color: #E8EAED;
  text-align: center;
}
.tagline > span { white-space: nowrap; }
.tagline .tg-fierce { color: #E0325F; }
.tagline::before {
  content: ""; position: absolute; inset: -0.2em -0.6em; z-index: -1; border-radius: 0.6em; pointer-events: none;
  background: #000; box-shadow: 0 0 14px 10px #000;
}
.sub {
  position: relative; z-index: 3; margin: 8px 0 0; max-width: 34em; text-align: center;
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.0625rem); color: var(--dim);
}
.down {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; translate: -50% 0;
  width: 44px; height: 44px; display: grid; place-items: center; color: var(--dim); text-decoration: none;
}
.down span { width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; }
:root { --fade-dur: 1.2s; --fade-drift: 10px; --ghost-blur: 6px; }
.mark, .tagline, .sub, .down, .bay, .bar { transition: opacity var(--fade-dur) ease, translate var(--fade-dur) cubic-bezier(.2, .7, .2, 1); }
.fade-ghost { position: absolute; margin: 0; pointer-events: none; opacity: 0; filter: blur(var(--ghost-blur)); }
.fade-ghost.go { animation: ghost-fade var(--fade-dur) ease both; }
@keyframes ghost-fade { from { opacity: 0; translate: 0 var(--fade-drift); } 30% { opacity: 1; } to { opacity: 0; translate: 0 0; } }
.cut :is(.mark, .tagline, .sub, .down, .bay, .bar, .duty) { transition: none !important; }

.sighting {
  position: absolute; left: var(--sighting-x); top: var(--sighting-y);
  width: 0; height: 0; z-index: 3; pointer-events: none;
  opacity: 0; transition: none;
}
.sighting.s1 { --separation: max(19px, 3vmin); }
.sighting.s2 { --separation: max(43px, 6.8vmin); }
.sighting.s3 { --separation: max(70px, 11vmin); }
.sighting-art {
  position: absolute; width: var(--separation); height: var(--separation); max-width: none;
  left: 0; top: 0; transform: translate(-50%, -50%); overflow: visible;
}
html.no-js .sighting, html.static .sighting { display: none; }
@media (prefers-reduced-motion: reduce) { .sighting { display: none; } }

.caption {
  position: absolute; inset: 0; z-index: 4; margin: 0;
  display: grid; place-items: center; padding: 0 var(--gutter);
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); font-weight: 300; letter-spacing: 0.01em; color: var(--text);
  text-align: center; opacity: 0; pointer-events: none;
}
.no-js .caption, .static .caption { display: none; }

.skip-intro {
  position: fixed; right: var(--gutter); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 20;
  min-height: 44px; padding: 0 16px; border-radius: 22px;
  background: rgba(215, 219, 222, 0.06); border: 1px solid var(--faint); color: var(--dim);
  font-size: 0.875rem; cursor: pointer; display: none;
}
.intro .skip-intro { display: inline-flex; align-items: center; }

.feed {
  position: fixed; left: var(--gutter); top: max(14px, env(safe-area-inset-top)); z-index: 20; margin: 0;
  display: none; align-items: center; gap: 8px;
  font: 400 0.8125rem/1 var(--mono); letter-spacing: 0.04em; color: var(--dim);
}
.intro:not(.revealed) .feed { display: flex; animation: feed-in 0.25s ease-out both; }
.feed-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--eye); box-shadow: 0 0 8px var(--eye); animation: feed-blink 1.1s steps(1) infinite; }
.feed-cursor { display: inline-block; width: 7px; height: 12px; margin-left: 2px; background: var(--dim); animation: feed-blink 0.9s steps(1) infinite; }
@keyframes feed-blink { 50% { opacity: 0.15; } }
@keyframes feed-in { from { opacity: 0; } }

.intro .bar, .intro .mark, .intro .tagline, .intro .sub, .intro .down, .intro .bay { opacity: 0; }
.intro .mark, .intro .tagline, .intro .sub { translate: 0 var(--fade-drift); }
.intro .bay2, .intro .lab, .intro .ask, .intro .foot { visibility: hidden; }
.intro:not(.stage-live) .rig { visibility: hidden; }
.intro body { overflow: hidden; }
.intro.revealed .bar, .intro.revealed .mark, .intro.revealed .tagline, .intro.revealed .sub, .intro.revealed .down, .intro.revealed .bay { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes recede { to { scale: 0.86; opacity: 0.2; } }
    .revealed:not(.intro) .rig-wrap, .revealed:not(.intro) .mark {
      animation: recede linear both;
      animation-timeline: --stage;
      animation-range: exit 0% exit 90%;
    }
  }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.cam { position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(215, 219, 222, 0.07) 48%, rgba(215, 219, 222, 0.12) 50%, transparent 52%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0 2px, transparent 2px 5px);
  background-size: 100% 320%, 100% 100%; background-position: 0 -110%, 0 0; }
.cam.on { animation: cam-flicker 0.9s steps(12) 1; }
@keyframes cam-flicker {
  0%   { opacity: 0;   background-position: 0 -110%, 0 0; }
  8%   { opacity: 0.9; background-position: 0 -80%, 0 1px; }
  20%  { opacity: 0.3; background-position: 0 -40%, 0 3px; }
  35%  { opacity: 1;   background-position: 0 10%, 0 0; }
  55%  { opacity: 0.2; background-position: 0 60%, 0 2px; }
  70%  { opacity: 0.8; background-position: 0 100%, 0 1px; }
  100% { opacity: 0;   background-position: 0 210%, 0 0; }
}
.still .cam, .static .cam { display: none; }

body { timeline-scope: --stage; }
.brim-layer { position: fixed; inset: 0; z-index: 6; overflow: clip; pointer-events: none; }
.brim-layer:has(> .ins-front) { z-index: 12; }
.brim-layer:has(> .ins-back) { z-index: -1; }
.foot { overflow-x: clip; }
.inspector { display: none; visibility: hidden; }
.r3d-on:not(.r3d-wait).revealed:not(.intro) .inspector:not(.ins-gone):not(.ins-away) { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .revealed:not(.intro) .inspector {
      --ins-w: clamp(72px, 7vw, 110px);
      --ins-r: calc((100vw - max(var(--lay), 44rem)) / 2 - var(--ins-w) - 40px);
      display: block; position: absolute; z-index: 6; pointer-events: none;
      right: var(--ins-r); top: 50%;
      width: var(--ins-w); translate: 0 -50%;
    }
    .ins-track, .ins-act { will-change: transform; }
    .revealed:not(.intro) .inspector.ins-front { z-index: 12; }
    .revealed:not(.intro) .inspector.ins-back { z-index: -1; }
    .sb-classic.revealed:not(.intro) .inspector { --ins-r: calc((100% - max(var(--lay), 44rem)) / 2 - var(--ins-w) - 40px); }
    .inspector.ins-gone { visibility: hidden; }
    .ins-compact.revealed:not(.intro) .inspector { --ins-r: max(12px, calc((100% - max(var(--lay), 44rem)) / 2 - var(--ins-w) - 40px)); }
    .inspector.ins-away { visibility: hidden; }
  }
}
@keyframes ins-bob { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
.revealed:not(.still) .ins-bob { animation: ins-bob 4.8s ease-in-out infinite alternate; }
.mini { position: relative; margin: 0; aspect-ratio: 900 / 747; }
@media (width < 85.5em) {
  :not(.ins-compact).revealed:not(.intro) .inspector { position: static; width: 84px; margin: 22px auto 0; translate: 0 0; opacity: 1; scale: 1; }
  :not(.ins-compact).revealed:not(.intro) .ins-act { scale: 1; translate: none; }
  html:not(.ins-compact) .ins-track { transform: none !important; }
  html:not(.ins-compact) .inspector.ins-front { position: relative; z-index: 12; }
}
.ins-narrow:not(.ins-compact).revealed:not(.intro) .inspector { position: static; width: 84px; margin: 22px auto 0; translate: 0 0; opacity: 1; scale: 1; }
.ins-narrow:not(.ins-compact).revealed:not(.intro) .ins-act { scale: 1; translate: none; }
.ins-narrow:not(.ins-compact) .ins-track { transform: none !important; }
.ins-narrow:not(.ins-compact) .inspector.ins-front { position: relative; z-index: 12; }
.ins-slot:empty { display: none; }
@media (width >= 45em) and (height >= 30em) { .ins-slot { display: none; } }
@media (width < 60em) { :not(.ins-compact).revealed:not(.intro) .ins-slot > .inspector { margin-bottom: 17px; } }

:root { --pad-t: 100px; --pad-b: 64px; }
@media (width >= 40em) { :root { --pad-t: 120px; } }
.bay2 { position: relative; }
.std, .bench, .lab, .ask {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-t) max(var(--gutter), calc((100% - 44rem) / 2 + var(--gutter))) var(--pad-b);
}
.ask { min-height: calc(100svh - var(--foot-h, 0px)); padding-bottom: 40px; justify-content: flex-start; }
.kicker { margin: 0 0 10px; font: 500 0.8125rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ff-gold); }
h2 { margin: 0 0 22px; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
h3 { margin: 6px 0 8px; font-size: 1.35rem; font-weight: 600; }
.std p, .bench p, .lab p, .ask p { color: var(--dim); font-size: 1.0625rem; margin: 0 0 18px; }

.frame { position: absolute; inset: 0; pointer-events: none; }
.frame > .hud { margin: 0; font-size: 0.8125rem; }
@media (width < 40em) { .frame .hud { display: none; } }
@media (width >= 60em) { .frame-split { display: none; } }

@media (width >= 60em) {
  .bay2, .lab { padding: var(--pad-t) max(var(--gutter), calc((100% - var(--lay)) / 2)) 56px; }
  .bay2 {
    min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px;
    align-content: center; align-items: start;
  }
  .bay2 > .std, .bay2 > .bench { position: static; min-height: 0; display: block; padding: 0; }
  .bay2 .crates { grid-template-columns: 1fr; }
  .bay2 h2, .lab h2 { font-size: clamp(1.6rem, 0.9rem + 1.2vw, 2.125rem); }
  .bay2 .checklist li { font-size: 1.125rem; padding: 14px 0; }
  .bay2 h2, .lab h2 { margin-bottom: 18px; }
  .bay2 .crate { padding: 18px 18px 16px; }
  .bay2 .crate-go, .bay2 .crate-foot { margin-top: 12px !important; }
  .lab-cols {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px;
    grid-template-rows: auto 1fr; grid-template-areas: "intro body" "go body";
  }
  .lab-intro { grid-area: intro; }
  .lab-body { grid-area: body; }
  .lab-go { grid-area: go; }
  .lab .motto { margin-top: 0 !important; font-size: clamp(1.8rem, 0.9rem + 1.9vw, 2.6rem) !important; }
  .lab .motto span { display: block; }
}

.checklist { list-style: none; margin: 8px 0 0; padding: 0; }
.checklist li {
  position: relative; display: grid; grid-template-columns: 5.375rem 1fr; align-items: center; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--faint); font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.35rem); font-weight: 500;
}
.checklist li:last-child { border-bottom: 1px solid var(--faint); }
.stamp {
  justify-self: start; padding: 0.25em 0.5833em; border: 2px solid var(--ff-gold); border-radius: 6px; rotate: -6deg;
  font: 700 1.125rem/1 var(--mono); letter-spacing: 0.1em; color: var(--ff-gold);
}
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes stamp-in { from { opacity: 0; scale: 1.9; rotate: -20deg; } 60% { opacity: 1; scale: 0.92; } to { opacity: 1; scale: 1; rotate: -6deg; } }
    .stamp { animation: stamp-in linear both; animation-timeline: view(); animation-range: entry 30% entry 85%; }
    @keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
    .crate { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise-glow { from { translate: 0 28px; } to { translate: 0 0; } }
    .crate-breath { animation: rise-glow linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

.crates { display: grid; gap: 14px; margin-top: 8px; }
@media (width >= 44em) { .crates { grid-template-columns: repeat(2, 1fr); } }
.crate {
  position: relative; padding: 22px 20px 18px; border: 1px solid var(--faint); border-radius: 10px;
  background: linear-gradient(180deg, rgba(215, 219, 222, 0.04), transparent 60%);
  overflow: hidden; isolation: isolate;
  transition: border-color 0.2s ease;
}
.crate-shell { position: relative; min-width: 0; }
.crate-shell > .crate { height: 100%; }
.crate-breath, .crate-wake, .crate-glow { position: absolute; inset: 0; border-radius: 10px; pointer-events: none; }
.crate-breath { z-index: -1; transition: opacity 0.3s linear; }
.crate-glow {
  opacity: 0.7;
  box-shadow: 0 0 11px 1.1px rgb(213 173 82 / 0.7), 0 0 30.8px 4.4px rgb(213 173 82 / 0.38), 0 0 66px 11px rgb(213 173 82 / 0.18);
}
.crate[data-status="in-progress"] .crate-tag { color: var(--ff-gold); }
.crate-shell:has(.crate:hover, :focus-visible) > .crate-breath { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .crate-breath { transition: none; } }
.crate::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 240px at var(--glow-at, var(--mx, 50%) var(--my, 50%)),
    rgba(183, 25, 67, 0.3), rgba(133, 5, 44, 0.12) 50%, transparent 75%);
  transition: opacity 0.25s ease;
}
.crate:hover, .crate:has(:focus-visible) { border-color: rgba(224, 50, 95, 0.7); }
.crate:hover::after, .crate:has(:focus-visible)::after { opacity: 1; }
.crate:has(:focus-visible)::after { --glow-at: 50% 50%; }
@media (prefers-reduced-motion: reduce) {
  .crate, .crate::after { transition: none; }
  .crate::after { --glow-at: 50% 50%; }
}
.crate::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--ff-garnet), var(--ff-garnet-hi)); }
.crate-tag { margin: 0 0 4px !important; font: 500 0.8125rem/1 var(--mono); letter-spacing: 0.04em; color: var(--dim); white-space: nowrap; }
.crate p:last-child { margin-bottom: 0; }
.crate-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--faint); }
.crate .crate-foot .crate-go { margin: 0 !important; padding-top: 0; border-top: 0; }
#crate-bibim {
  --mark-col: 40%; --mark-h: 0.85; --text-reach: 12.25rem;
  padding-right: var(--mark-pr, min(calc(var(--mark-col) + 16px), calc(100% - 1px - var(--text-reach))));
}
.crate-mark {
  position: absolute; right: 16px; top: 50%;
  height: round(calc((100% + 2px) * var(--mark-h) * 1.452482), 1px); width: auto; aspect-ratio: 1;
  max-width: round(down, calc((var(--mark-pr, min(var(--mark-col) + 16px, 100% - var(--text-reach))) - 32px) * 1.398907), 1px);
  object-fit: contain; object-position: 50% 50%; translate: 14.453125% -50%;
  mask-image: linear-gradient(to right, rgb(0 0 0 / 0.4) 14.0625%, #000 85.546875%);
  pointer-events: none; -webkit-user-drag: none; user-select: none;
}
@media (width < 40em) {
  .crate-mark { --mark-h: 0.45; top: 22px; object-position: 50% 15.625%; translate: 14.453125% -15.625%; }
}
@media (width < 22.5em) { .crate-mark { display: none; } }
.crate-link h3 a { color: inherit; text-decoration: none; }
.crate-link h3 a::after { content: ""; position: absolute; inset: 0; }
.crate-link:has(a:focus-visible) { outline: 2px solid var(--ff-gold); outline-offset: 3px; }
.crate-go { display: flex !important; align-items: center; gap: 8px; margin: 16px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--faint);
  font: 500 0.8125rem/1 var(--mono); letter-spacing: 0.06em; color: var(--ff-gold) !important; }
.crate-go svg { transition: translate 0.2s ease; }
.crate-link:hover .crate-go svg { translate: 2px -2px; }
.crate-held { color: #FFB547 !important; }
.crate-held .decode { white-space: pre; font-variant-ligatures: none; }
.crate-status { color: var(--dim) !important; }
.crate-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 12px; margin: 6px 0 8px; }
.crate-head h3 { margin: 0; }
.crate .crate-head .crate-go { margin: 0 !important; padding-top: 0; border-top: 0; }
.crate h3 { text-transform: uppercase; }

.motto {
  margin: 30px 0 30px !important; padding: 18px 0; border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint);
  font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.2rem) !important; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance;
}
.m-fury { color: #E0325F; }
.m-calm { color: var(--text); }
.brim { position: relative; color: #E0325F; font-weight: 600; white-space: nowrap; }
.brim::before {
  content: ""; position: absolute; inset: -0.15em -0.3em; z-index: -1; border-radius: 6px; pointer-events: none;
  background: rgb(5 6 7 / 0.95); box-shadow: 0 0 10px 6px rgb(5 6 7 / 0.95);
}
@media (width < 40em) { .motto span { display: block; } }
.lab-go { margin: 6px 0 0 !important; }
.std-lede { margin-top: -8px !important; }
.cti { color: var(--ff-gold); font-weight: 700; }
.button {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 6px;
  background: var(--ff-gold) linear-gradient(100deg, var(--ff-gold) 38%, var(--ff-garnet-hi) 62%, var(--ff-garnet) 100%) 0 0 / 260% 100% no-repeat;
  color: var(--ff-ink); font-weight: 600; text-decoration: none;
  transition: background-position 0.5s cubic-bezier(.2, .7, .2, 1), color 0.3s ease;
}
.button:hover, .button:focus-visible { background-position: 100% 0; color: #fff; }
.button::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16) 50%, transparent);
  translate: -110% 0;
}
@keyframes sheen { to { translate: 260% 0; } }
@media (prefers-reduced-motion: no-preference) {
  .button:hover::after, .button:focus-visible::after { animation: sheen 0.9s ease-out 0.12s both; }
}
@media (prefers-reduced-motion: reduce) {
  .button { background: var(--ff-gold); transition: none; }
  .button:hover, .button:focus-visible { background: var(--ff-garnet-hi); }
}

.foot {
  position: relative;
  padding: 0 max(var(--gutter), calc((100% - var(--lay)) / 2)) max(64px, env(safe-area-inset-bottom));
  color: var(--dim); font-size: 0.875rem;
}
.foot-in { padding-top: 40px; border-top: 1px solid var(--faint); }
.dismissed { margin: 0 0 22px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.foot-row { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
.notice { font-size: 0.8125rem; line-height: 1.5; }
.notice > span { display: block; }
.notice-name { color: var(--ff-gold); }
.foot .notice { max-width: 52rem; }
.last { margin-top: 0 !important; font: 400 0.8125rem/1 var(--mono); letter-spacing: 0.06em; color: var(--dim); }
@media (width >= 60em) {
  .ask { padding-bottom: 12px; }
  .foot-in { padding-top: 22px; }
  .dismissed { margin-bottom: 10px; }
  .foot-row { margin-top: 12px; }
}
@media (width >= 64em) { .ask { padding-top: 88px; } }
@media (width >= 73em) { .foot { padding-bottom: max(22px, env(safe-area-inset-bottom)); } }

.room {
  position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  --veil: 0.7; --shade: 0.86; --band: 0.6; --band-low: 130px; --core: 62%; --shade-at: 50% 50%; --shade-size: 100% 100%;
}
.room img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.room::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgb(5 6 7 / var(--band)) 120px, rgb(5 6 7 / 0) 200px, rgb(5 6 7 / 0) calc(100% - var(--band-low)), rgb(5 6 7 / var(--band)) calc(100% - 70px)),
    radial-gradient(ellipse var(--shade-size) at var(--shade-at), rgb(5 6 7 / var(--shade)) var(--core), rgb(5 6 7 / var(--veil)) 100%);
}
body.rooms {
  background: var(--void) url("/assets/rooms/hero-960.webp") no-repeat;
  background-image: linear-gradient(transparent 100svh, var(--void) 100svh), url("/assets/rooms/hero-960.webp");
  background-image: linear-gradient(transparent 100svh, var(--void) 100svh), image-set(url("/assets/rooms/hero-960.avif") type("image/avif"), url("/assets/rooms/hero-960.webp") type("image/webp"));
  background-repeat: no-repeat;
  background-size: 100% 100%, max(100%, 179.17svh) auto;
  background-position: 0 0, 50% calc((100svh - max(100vw, 179.17svh) * 24 / 43) / 2);
}
@media (width > 960px), (height > 536px), (resolution >= 1.5x) {
  body.rooms {
    background-image: linear-gradient(transparent 100svh, var(--void) 100svh), url("/assets/rooms/hero-1600.webp");
    background-image: linear-gradient(transparent 100svh, var(--void) 100svh), image-set(url("/assets/rooms/hero-1600.avif") type("image/avif"), url("/assets/rooms/hero-1600.webp") type("image/webp"));
  }
}
@media (width > 1600px), (height > 893px), (resolution >= 1.5x) and ((width > 800px) or (height > 447px)) {
  body.rooms {
    background-image: linear-gradient(transparent 100svh, var(--void) 100svh), url("/assets/rooms/hero-full.webp");
    background-image: linear-gradient(transparent 100svh, var(--void) 100svh), image-set(url("/assets/rooms/hero-full.avif") type("image/avif"), url("/assets/rooms/hero-full.webp") type("image/webp"));
  }
}
.room-hero { --veil: 0.62; --shade: 0.94; --band-low: max(260px, 32%); --core: 30%; --shade-at: 50% 37%; --shade-size: calc(var(--head-w) * 0.95) calc(var(--head-w) * 0.75); }
html:not(.b3d) .room-hero { --shade-at: 50% 52%; --shade-size: calc(var(--head-w) * 1.2) calc(var(--head-w) * 0.85); }
.room-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--void); opacity: 0; }
.intro .room-hero::before { opacity: 1; }
.intro.revealed .room-hero::before { opacity: 0; transition: opacity 1.2s ease; }
.room-chamber { --veil: 0.76; --shade: 0.9; bottom: calc(-1 * var(--foot-h, 0px)); }
@media (width >= 60em) {
  .room-split { display: none; }
  .room-dorms, .room-lab, .room-chamber { --shade-size: calc(var(--lay) * 0.9) 100%; --core: 60%; }
}
@media print { .room, .tagline::before { display: none; } body.rooms { background: none; } }

@media (width >= 60em) and (height >= 720px) {
  html { scroll-snap-type: y mandatory; }
  .stage, .bay2, .lab, .ask { scroll-snap-align: start; }
  .foot { scroll-snap-align: end; }
}

.mark img { -webkit-user-drag: none; }

body.lost {
  --lost-img: url("/assets/rooms/lost-lab-full.avif"); --lost-x: 50%; --lost-size: cover;
}
html[data-scene="outside"] body.lost {
  --lost-img: url("/assets/rooms/lost-outside-full.avif"); --lost-x: 17%; --lost-size: auto 150%;
}
html[data-scene="caught"] body.lost {
  --lost-img: url("/assets/rooms/lost-caught-full.avif"); --lost-x: 20%; --lost-size: cover;
}
body.lost {
  background:
    radial-gradient(ellipse 30% 70% at 50% 58%, rgb(5 6 7 / 0.92) 0%, rgb(5 6 7 / 0.86) 60%, rgb(5 6 7 / 0) 100%) fixed,
    linear-gradient(rgb(5 6 7 / 0.3), rgb(5 6 7 / 0.3)) fixed,
    var(--lost-img) var(--lost-x) 50% / var(--lost-size) no-repeat fixed, var(--void);
}
html.lost-page { scrollbar-gutter: auto; }
body.lost { min-height: 100svh; display: flex; flex-direction: column; }
.lost-main { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(12px, 3svh, 40px) var(--gutter) 0; }
.lost-head { margin: 0 0 clamp(8px, 2svh, 24px); height: min(46svh, 520px, (100vw - 2 * var(--gutter)) * 747 / 900); width: auto; aspect-ratio: 900 / 747; }
.lost h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); font-weight: 600; letter-spacing: -0.015em; }
.lost h1 + .said { margin: -4px 0 14px; font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem); font-weight: 600; color: #fff; }
.lost .sub { margin-bottom: 26px; }
.lost-foot { position: relative; isolation: isolate; padding: 4px var(--gutter) max(8px, env(safe-area-inset-bottom)); text-align: center; color: var(--dim); }
.lost-foot::before { content: ""; position: absolute; inset: -28px 0 0; z-index: -1; pointer-events: none; background: linear-gradient(rgb(0 0 0 / 0), rgb(0 0 0 / 0.92) 28px); }
.lost-foot p, .lost-main > :last-child { margin-bottom: 0; }
.lost-foot p { margin: 0; }
.lost .brim::before { background: #000; box-shadow: 0 0 10px 6px #000; }
.lost-head { position: relative; }
.lost-pause {
  position: fixed; right: 12px; top: 12px; min-height: 44px; padding: 0 12px;
  background: rgb(5 6 7 / 0.85); border: 1px solid rgba(215, 219, 222, 0.18); border-radius: 6px; color: var(--text);
  font-size: 0.9375rem; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.lost-pause:hover { background: #14171a; }
@media print { .lost-pause { display: none; } }
@media (width < 60em) {
  body.lost {
    background:
      radial-gradient(ellipse 82% 30% at 50% 75%, rgb(5 6 7 / 0.92) 0%, rgb(5 6 7 / 0.86) 60%, rgb(5 6 7 / 0) 100%) fixed,
      linear-gradient(rgb(5 6 7 / 0.3), rgb(5 6 7 / 0.3)) fixed,
      var(--lost-img) var(--lost-x) 50% / var(--lost-size) no-repeat fixed, var(--void);
  }
  body.lost .lost-main { justify-content: flex-start; padding-top: 28svh; padding-bottom: 8px; }
  .lost .kicker { margin-bottom: 6px; }
  .lost h1 { margin-bottom: 6px; }
  .lost h1 + .said { margin: 0 0 8px; }
  .lost .sub { margin-bottom: 12px; }
  body.lost .lost-head { margin-bottom: 6px; height: min(32svh, 300px, (100vw - 2 * var(--gutter)) * 747 / 900); }
}
@media (width < 60em) and (orientation: portrait) {
  body.lost { --lost-img: url("/assets/rooms/lost-lab-phone-full.avif"); --lost-x: 50%; --lost-size: cover; }
  html[data-scene="outside"] body.lost { --lost-img: url("/assets/rooms/lost-outside-phone-full.avif"); --lost-x: 50%; --lost-size: cover; }
  html[data-scene="caught"] body.lost { --lost-x: 33%; --lost-size: cover; }
}

.no-js #btn-replay, .no-js #btn-motion, .static #btn-replay { display: none; }

@media (prefers-reduced-motion: reduce) {
  .float { animation: none !important; }
  .mark, .tagline, .bay, .bar, .duty { transition: none; }
}

@media (width > 1600px) {
  :root {
    --k: clamp(0px, min((100vw - 1600px) / 8.97, (100svh - 778px) / 14.71, (71.5vw - 1000px) / 10), 60px);
    --u: calc(1px + var(--k) / 100);
    --lay: calc(1000 * var(--u));
    --head-w: min(86vw, calc(52svh * 1.205), calc(620 * var(--u)), calc((98svh - 224px - var(--k) * 0.9) * 0.9073));
    --pad-t: calc(120px + var(--k) * 0.3);
  }
  html { font-size: calc(100% + var(--k) * 0.16); }
  .bay2, .lab-cols { column-gap: calc(56 * var(--u)); }
  .bay2 h2, .lab h2 { font-size: 2.125rem; margin-bottom: calc(18 * var(--u)); }
  .kicker { margin-bottom: calc(10 * var(--u)); }
  .std p, .bench p, .lab p, .ask p { margin-bottom: calc(18 * var(--u)); }
  .std-lede { margin-top: calc(-8 * var(--u)) !important; }
  .checklist { margin-top: calc(8 * var(--u)); }
  .checklist li { gap: calc(16 * var(--u)); }
  .bay2 .checklist li { padding: calc(14 * var(--u)) 0; }
  .crates { gap: calc(14 * var(--u)); margin-top: calc(8 * var(--u)); }
  .bay2 .crate { padding: calc(18 * var(--u)) calc(18 * var(--u)) calc(16 * var(--u)); }
  .bay2 .crate-go, .bay2 .crate-foot { margin-top: calc(12 * var(--u)) !important; padding-top: calc(12 * var(--u)); }
  .lab .motto { font-size: 2.6rem !important; margin-bottom: calc(30 * var(--u)) !important; padding: calc(18 * var(--u)) 0; }
  .lab-go { margin-top: calc(6 * var(--u)) !important; }
  .button { min-height: calc(52 * var(--u)); padding: 0 calc(28 * var(--u)); }
  .foot-in { padding-top: calc(22 * var(--u)); }
  .dismissed { margin-bottom: calc(10 * var(--u)); }
  .foot-row { margin-top: calc(12 * var(--u)); }
  .foot { padding-bottom: max(calc(22 * var(--u)), env(safe-area-inset-bottom)); }
  .revealed:not(.intro) .inspector { --ins-w: calc(110 * var(--u)); }
  .bay2 { grid-template-rows: minmax(56svh, auto); align-items: stretch; }
  .bay2 > .std, .bay2 > .bench { display: flex; flex-direction: column; }
  .bay2 .checklist { flex: 1; display: flex; flex-direction: column; margin-top: 0; }
  .bay2 .checklist li { flex: 1 1 auto; }
  .bay2 .crates { flex: 1; display: flex; flex-direction: column; margin-top: 0; }
  .bay2 .crate-tag { margin-bottom: 0 !important; }
  .bay2 .crate { flex: 1 1 auto; display: flex; flex-direction: column; }
  .bay2 .crate-go, .bay2 .crate-foot { margin-top: auto !important; }
  .lab-cols { min-height: 56svh; }
  .lab-body { display: flex; flex-direction: column; }
  .lab .motto { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
  .lab-body p:last-child { margin-bottom: 0; }
  #ask .ask-in { width: min(calc(1100 * var(--u)), 71.5vw); min-height: calc(56svh + 88 * var(--u)); padding-top: calc(78 * var(--u)); padding-bottom: calc(10 * var(--u)); column-gap: calc(40 * var(--u)); align-items: stretch; }
  #ask .ask-dogtag { min-height: calc(44 * var(--u)); }
}

@media (width < 40em) {
  .std p, .bench p, .lab p, .ask p { font-size: 1.125rem; color: var(--text-2); }
  .sub { font-size: 1rem; color: var(--text-2); }
  .ask-note { font-size: 1rem !important; }
  .bench .crate-tag { font-size: 0.8125rem; }
  .foot, .last { font-size: 0.875rem; color: var(--text-2); }
  .notice { font-size: 0.8125rem; color: var(--text-2); }
  .bar-name { min-width: 44px; }
}

#ask {
  --panel: #0C0F12; --garnet: #85052C; --garnet-hi: #B71943;
  --gold: #D5AD52; --gold-hi: #E7C66F; --silver: #D7DBDE; --warm: #FFF3DA; --amber: #FFB547; --violet: #9D7BFF;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 0;
}
#ask h2 { margin: 0 0 10px; line-height: 1.08; color: var(--text); }
#ask .kicker { margin: 0 0 8px; }
#ask .room::after { background:
  linear-gradient(to bottom, rgb(5 6 7 / var(--band)) 120px, rgb(5 6 7 / 0) 200px, rgb(5 6 7 / 0) calc(100% - var(--band-low)), rgb(5 6 7 / var(--band)) calc(100% - 70px)),
  radial-gradient(55% 62% at 62% 46%, rgb(5 6 7 / .88), rgb(5 6 7 / .6) 70%, rgb(5 6 7 / .4)),
  linear-gradient(90deg, rgb(5 6 7 / .85), rgb(5 6 7 / .45) 40%, transparent 70%),
  linear-gradient(180deg, transparent 66%, rgb(5 6 7 / .92) 78%, rgb(5 6 7 / .95)); }
@media (width < 89em) { #ask .hud-tl { display: none; } }
@media (width < 60em) { #ask .room::after { background:
  linear-gradient(to bottom, rgb(5 6 7 / var(--band)) 120px, rgb(5 6 7 / 0) 200px, rgb(5 6 7 / 0) calc(100% - var(--band-low)), rgb(5 6 7 / var(--band)) calc(100% - 70px)),
  radial-gradient(ellipse 62% 100% at 50% 46%, rgb(5 6 7 / .9) 0%, rgb(5 6 7 / .88) 58%, rgb(5 6 7 / .7) 100%); } }
.ask-in { width: min(1100px, 100%); margin: 0 auto; padding: 78px max(var(--gutter), env(safe-area-inset-right, 0px)) 10px max(var(--gutter), env(safe-area-inset-left, 0px)); display: grid; gap: 22px 40px; grid-template-columns: minmax(0, 1fr); }
@media (width >= 60em) { .ask-in { grid-template-columns: 19rem minmax(0, 1fr); align-items: start; } }
.ask-note { margin: 0 !important; font-size: 0.9375rem !important; }
@media (width < 40em) { .ask-note { font-size: 1rem !important; } }
.docket { margin: 18px 0 0; }
.docket-head { display: flex; justify-content: space-between; margin: 0 0 8px !important; padding-bottom: 6px; border-bottom: 1px solid rgba(213,173,82,.3);
  font: 500 .8125rem/1 var(--mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold) !important; }
.docket-head span:last-child { color: var(--text-2); }
.ask-quick { display: grid; gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
@media (width >= 60em) { .ask-quick { grid-template-columns: minmax(0, 1fr); } }
.cell { display: grid; min-width: 0; }
.ask-dogtag { position: relative; width: 100%; min-height: 44px; display: grid; grid-template-columns: 3px 3.1rem minmax(0,1fr) 12px; align-items: center; gap: 10px; padding: 4px 12px 4px 0;
  border: 0; border-radius: 0; cursor: pointer; text-align: left; color: var(--text); font: 600 .875rem/1.25 var(--body); background: rgba(8,10,12,.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(215,219,222,.1); transition: background .2s, box-shadow .2s, color .2s; }
.ask-dogtag .led { align-self: stretch; background: rgba(183,25,67,.55); box-shadow: 0 0 6px rgba(183,25,67,.5); transition: background .2s, box-shadow .2s; }
.ask-dogtag .n { font: 500 .8125rem var(--mono); letter-spacing: .08em; color: var(--dim); }
.ask-dogtag .t { overflow-wrap: anywhere; }
.ask-dogtag .go { width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; rotate: 45deg; opacity: .35; justify-self: end; }
.ask-dogtag:hover, .ask-dogtag:focus-visible { outline: none; background: rgba(255,181,71,.07); box-shadow: inset 0 0 0 1px rgba(255,181,71,.5); }
.ask-dogtag:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
.ask-dogtag[aria-expanded="true"] { color: var(--warm); background: linear-gradient(90deg, rgba(255,181,71,.16), rgba(8,10,12,.62) 70%); box-shadow: inset 0 0 0 1px rgba(255,181,71,.6); }
.ask-dogtag[aria-expanded="true"] .led { background: var(--amber); box-shadow: 0 0 10px 1px var(--amber); }
.ask-dogtag[aria-expanded="true"] .n { color: var(--amber); }
.ask-dogtag[aria-expanded="true"] .go { opacity: 1; color: var(--amber); }
@media (width < 30em) {
  .ask-dogtag { grid-template-columns: 3px minmax(0,1fr); font-size: .8125rem; }
  .ask-dogtag .n, .ask-dogtag .go { display: none; }
}
.projector-wrap { min-width: 0; display: flex; flex-direction: column; }
.projector-wrap[hidden] { display: none; }
.projector { position: relative; min-width: 0; flex: 1; display: flex; flex-direction: column; }
.holo { position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,181,71,.07), rgba(133,5,44,.06) 60%, rgba(255,181,71,.10)), rgba(6,7,9,.66);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255,181,71,.32), inset 0 1px 0 rgba(255,243,218,.18), 0 0 60px rgba(255,181,71,.06);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.holo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,243,218,.035) 0 1px, transparent 1px 4px),
              linear-gradient(90deg, rgba(255,181,71,.05) 1px, transparent 1px) 0 0 / 48px 100%; }
.holo::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; pointer-events: none; z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(255,181,71,.10), transparent); transform: translateY(-100%); animation: holo-sweep 6s linear infinite; }
@keyframes holo-sweep { from { transform: translateY(-100%); } to { transform: translateY(334%); } }
.visor { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 22px 10px 18px; border-bottom: 1px solid rgba(255,181,71,.2);
  font: 500 .8125rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.visor-who { color: var(--gold); }
.ask-status { justify-self: end; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.meter { display: flex; align-items: flex-end; gap: 3px; height: 16px; padding: 0 2px; }
.meter i { width: 4px; height: 100%; transform-origin: 50% 100%; transform: scaleY(.35); background: rgba(255,181,71,.28); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.meter i:nth-child(3n+1) { transform: scaleY(.55); } .meter i:nth-child(4n+2) { transform: scaleY(.45); }
[data-signal="listening"] .meter i { background: rgba(255,181,71,.7); animation: meter-level 1.1s ease-in-out infinite alternate; }
[data-signal="listening"] .meter i:nth-child(odd) { animation-delay: -.4s; }
[data-signal="listening"] .meter i:nth-child(3n) { animation-delay: -.8s; }
@keyframes meter-level { from { transform: scaleY(.3); } to { transform: scaleY(.9); } }
[data-signal="busy"] .meter i { transform: none; background: rgba(255,181,71,.25); }
[data-signal="busy"] .meter i::after { content: ""; display: block; height: 100%; background: #FFF3DA; box-shadow: 0 0 8px rgba(255,181,71,.9); opacity: 0; animation: meter-pulse .9s linear infinite; }
[data-signal="busy"] .meter i:nth-child(1)::after { animation-delay: .06s; }
[data-signal="busy"] .meter i:nth-child(2)::after { animation-delay: .12s; }
[data-signal="busy"] .meter i:nth-child(3)::after { animation-delay: .18s; }
[data-signal="busy"] .meter i:nth-child(4)::after { animation-delay: .24s; }
[data-signal="busy"] .meter i:nth-child(5)::after { animation-delay: .30s; }
[data-signal="busy"] .meter i:nth-child(6)::after { animation-delay: .36s; }
[data-signal="busy"] .meter i:nth-child(7)::after { animation-delay: .42s; }
[data-signal="busy"] .meter i:nth-child(8)::after { animation-delay: .48s; }
[data-signal="busy"] .meter i:nth-child(9)::after { animation-delay: .54s; }
[data-signal="busy"] .meter i:nth-child(10)::after { animation-delay: .60s; }
[data-signal="busy"] .meter i:nth-child(11)::after { animation-delay: .66s; }
[data-signal="busy"] .meter i:nth-child(12)::after { animation-delay: .72s; }
[data-signal="busy"] .meter i:nth-child(13)::after { animation-delay: .78s; }
[data-signal="busy"] .meter i:nth-child(14)::after { animation-delay: .84s; }
@keyframes meter-pulse { 0%, 70%, 100% { opacity: 0; } 10% { opacity: 1; } }
[data-signal="ruled"] .meter i { transform: scaleY(.6); background: var(--amber); box-shadow: 0 0 6px rgba(255,181,71,.6); animation: meter-settle .6s ease-out 1 both; }
@keyframes meter-settle { from { transform: none; } to { transform: scaleY(.6); } }
.ruling-slot { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 10rem; padding: 14px 22px 16px; }
#ruling { flex: 1; min-height: 0; margin: 0; padding: 0; }
.ruling-measure { position: absolute; inset: 14px 22px auto; visibility: hidden; pointer-events: none; }
.ask-idle { position: absolute; inset: 14px 22px 16px; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; pointer-events: none;
  font: 400 .8125rem/1.5 var(--mono); letter-spacing: .06em; color: var(--dim); }
.ask-idle b { font-weight: 500; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
#ruling:has(.ruling-slip) ~ .ask-idle { display: none; }
@media (width < 40em) {
  .ruling-slot { min-height: 7rem; padding: 12px 16px 14px; }
  .ruling-measure { inset: 12px 16px auto; }
  .ask-idle { inset: 12px 16px 14px; }
}
.ruling-slip { position: relative; display: flow-root; }
.ruling-slip.open { animation: slip-flicker .45s steps(1, end) 1, slip-rise .45s ease-out 1; }
@keyframes slip-flicker { 0% { opacity: .2; } 20% { opacity: .9; } 30% { opacity: .35; } 45% { opacity: 1; } 55% { opacity: .6; } 70%, 100% { opacity: 1; } }
@keyframes slip-rise { from { transform: translateY(6px); } to { transform: none; } }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255,181,71,.28);
  font: 500 .8125rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.slip-head .no { color: var(--amber); font-variant-numeric: tabular-nums; }
#ask .ruling-slip h3 { margin: 0 0 6px; font: 600 1.0625rem/1.3 var(--body); color: var(--warm); }
#ask .ruling-slip p { margin: 0; color: var(--silver); font-size: 1rem; line-height: 1.6; max-width: 44rem; }
.ruling-slip p a { color: var(--amber); text-underline-offset: 3px; }
#ask .ruling-slip.off p { color: var(--warm); }
.ask-stamp { position: relative; float: right; margin: 0 0 8px 14px; max-width: 100%; overflow-wrap: anywhere; padding: 4px 10px; border: 2px solid var(--gold-hi); color: var(--gold-hi); font: 800 .8125rem/1 var(--mono); letter-spacing: .18em;
  outline: 1px solid rgba(231,198,111,.45); outline-offset: 2px; text-shadow: 0 0 8px rgba(231,198,111,.45); transform: rotate(-8deg); opacity: .9; mix-blend-mode: screen; }
.ruling-slip.off .ask-stamp { border: 2px dashed var(--warm); color: var(--warm); outline: 0; text-shadow: 0 0 8px rgba(255,243,218,.35); }
.ask-stamp.wait { opacity: 0; }
.ask-stamp.land { animation: land .38s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes land { from { transform: rotate(-8deg) scale(1.7); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: .85; } }
.ask-etch .c { opacity: 0; white-space: pre-wrap; }
.ask-etch .c.on { opacity: 1; animation: cool .95s ease-out both; }
@keyframes cool {
  0% { color: #FFFFFF; text-shadow: 0 0 4px #FFFFFF, 0 0 12px var(--amber), 0 0 22px rgba(183,25,67,.7); }
  35% { color: #FFE2A8; text-shadow: 0 0 6px rgba(255,181,71,.85), 0 0 14px rgba(183,25,67,.45); }
  100% { color: inherit; text-shadow: none; }
}
.ask-laser { position: absolute; z-index: 4; width: 7px; height: 7px; border-radius: 50%; translate: -50% -50%; pointer-events: none; background: #FFFFFF;
  box-shadow: 0 0 6px 2px #FFFFFF, 0 0 16px 6px rgba(255,181,71,.9), 0 0 34px 12px rgba(183,25,67,.5); }
.ask-laser::before { content: ""; position: absolute; right: 4px; top: 50%; width: 54px; height: 2px; translate: 0 -50%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(183,25,67,.55) 40%, rgba(255,181,71,.95)); filter: blur(.4px); }
.ask-laser::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 1px; height: 140px; translate: -50% 0;
  background: linear-gradient(to top, rgba(255,243,218,.85), rgba(255,181,71,.25) 40%, transparent); }
.ask-spark { position: absolute; z-index: 3; width: 3px; height: 3px; border-radius: 50%; pointer-events: none; background: var(--amber); box-shadow: 0 0 4px var(--amber); animation: spark .6s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.4); opacity: 0; background: var(--violet); box-shadow: 0 0 4px var(--violet); } }
.ruling-slip.scan::before { content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(255,181,71,.10), transparent) 0 -100% / 100% 60% no-repeat; animation: scan .5s ease-out forwards; }
@keyframes scan { to { background-position: 0 220%; } }
.ask-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ask-opt { min-height: 44px; padding: 8px 14px; cursor: pointer; text-align: left; color: var(--warm); background: rgba(8,10,12,.7); border: 1px solid rgba(213,173,82,.55);
  font: 500 .8125rem/1.25 var(--mono); letter-spacing: .04em; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.ask-opt:hover, .ask-opt:focus-visible { background: rgba(213,173,82,.2); outline: none; }
.ask-opt:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
.ask-sub { display: block; margin: 10px 0 6px; font: 500 .8125rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.emitter { position: relative; height: 26px; }
.emitter::before { content: ""; position: absolute; inset: 0 8%; background: linear-gradient(0deg, rgba(255,181,71,.28), rgba(255,181,71,.04)); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }
.emitter::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), #FFF3DA, var(--amber), transparent); box-shadow: 0 0 12px 2px rgba(255,181,71,.6); }
.deck-wrap { position: relative; }
.deck { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: end; gap: 12px; padding: 12px 12px 12px 16px;
  background: linear-gradient(180deg, #121519, #08090B); box-shadow: inset 0 0 0 1px rgba(215,219,222,.18), inset 0 1px 0 rgba(255,243,218,.08), 0 18px 30px rgba(0,0,0,.6);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px); }
.deck::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 5px; pointer-events: none;
  background: linear-gradient(90deg, rgba(215,219,222,.3) 0 1px, transparent 1px) 0 0 / 12px 3px repeat-x, linear-gradient(90deg, rgba(215,219,222,.45) 0 1px, transparent 1px) 0 0 / 60px 5px repeat-x; }
.deck:focus-within { box-shadow: inset 0 0 0 1px rgba(255,181,71,.65), inset 0 1px 0 rgba(255,243,218,.08), 0 18px 30px rgba(0,0,0,.6), 0 0 24px rgba(255,181,71,.12); }
.prompt { align-self: start; padding-top: 3px; font: 600 .8125rem/1.9 var(--mono); letter-spacing: .14em; color: var(--gold); white-space: nowrap; }
.prompt b { color: var(--amber); font-weight: 600; text-shadow: 0 0 8px rgba(255,181,71,.7); }
.deck textarea { --lines: 2; min-width: 0; height: calc(var(--lines) * 1.5em); max-height: calc(4 * 1.5em); resize: none; overflow-y: auto; scrollbar-width: thin;
  border: 0; padding: 0; margin: 0; background: transparent; color: var(--warm); font: 400 1.0625rem/1.5 var(--body); caret-color: var(--amber); overflow-wrap: anywhere; }
.deck textarea::placeholder { color: var(--dim); opacity: 1; }
.deck textarea:focus { outline: none; }
.deck textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.ask-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; font-size: .8125rem; line-height: 1.45; color: var(--text-2); }
.ask-count { font: 400 .8125rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text-2); }
.ask-key { position: relative; isolation: isolate; align-self: end; min-height: 48px; padding: 12px 18px; cursor: pointer; border: 1px solid rgba(255,181,71,.55); border-radius: 3px;
  color: #D9B57C; background: linear-gradient(180deg, #2F353B, #15181B); font: 700 .8125rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  text-shadow: 0 0 4px rgba(255,181,71,.25); box-shadow: 0 0 6px rgba(255,181,71,.2), inset 0 1px 0 rgba(255,243,218,.12); transition: border-color .2s, color .2s; }
.ask-key:hover, .ask-key:focus-visible { outline: none; border-color: var(--amber); }
.ask-key:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
.ask-key-bright { position: absolute; inset: 0; display: grid; place-items: center; padding: inherit; pointer-events: none;
  color: #FFF3DA; text-shadow: 0 0 12px rgba(255,181,71,.85); opacity: 0; animation: halo 3s ease-in-out infinite; }
.ask-key::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 3px; pointer-events: none;
  box-shadow: 0 0 0 1px var(--amber), 0 0 18px 4px rgba(255,181,71,.6), 0 0 42px 10px rgba(255,181,71,.25), inset 0 0 16px rgba(255,181,71,.25);
  opacity: 0; animation: halo 3s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.deck:has(textarea:not(:placeholder-shown)) .ask-key-bright, .deck:has(textarea:not(:placeholder-shown)) .ask-key::after { animation-duration: 2.4s; }
@media (width < 40em) {
  .deck { grid-template-columns: auto minmax(0,1fr); }
  .deck .ask-key { grid-column: 1 / -1; width: 100%; }
}
.ask-suggest { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 6; margin: 0; padding: 4px; list-style: none;
  background: rgba(10,12,14,.96); border: 1px solid rgba(255,181,71,.5); box-shadow: 0 -10px 30px rgba(0,0,0,.7), 0 0 24px rgba(255,181,71,.12); }
.ask-suggest[hidden] { display: none; }
.ask-suggest li { display: grid; grid-template-columns: 3.4rem minmax(0,1fr); align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; cursor: pointer; color: var(--text); }
.ask-suggest .n { font: 500 .8125rem var(--mono); letter-spacing: .06em; color: var(--dim); }
.ask-suggest mark { background: none; color: var(--amber); font-weight: 600; }
.ask-suggest li[aria-selected="true"], .ask-suggest li:hover { background: rgba(255,181,71,.12); box-shadow: inset 2px 0 0 var(--amber); }
#ask .ask-suggest .hint { display: block; min-height: 0; padding: 6px 10px 4px; font: 400 .8125rem var(--mono); color: var(--dim); cursor: default; background: none; box-shadow: none; }
@media (width < 60em) {
  .ask-in { row-gap: 0; }
  .ask-intro { display: contents; }
  .ask-note { margin-bottom: 18px !important; }
  .projector-wrap { order: 1; }
  .docket { order: 2; margin-top: 22px; }
  .visor { grid-template-columns: auto 1fr; }
  .visor-who { display: none; }
}
#ask[data-motion="paused"] *, #ask[data-motion="paused"] *::before, #ask[data-motion="paused"] *::after { animation-play-state: paused !important; }
html.still #ask *, html.still #ask *::before, html.still #ask *::after { animation: none !important; transition: none !important; }
html.still #ask .ask-laser, html.still #ask .ask-spark { display: none; }
html.still #ask .ask-key::after { opacity: .7; }
html.still #ask .holo::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  #ask *, #ask *::before, #ask *::after { animation: none !important; transition: none !important; }
  #ask .ask-laser, #ask .ask-spark { display: none; }
  #ask .ask-key::after { opacity: .7; }
  #ask .holo::after { opacity: 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
