:root {
  color-scheme: dark;
  --ink: #151b1b;
  --panel: #202726;
  --paper: #f5ecda;
  --brass: #e6b87b;
  --muted: #c7c3b8;
  --border: #57574a;
  --condensed: Impact, "Arial Narrow", sans-serif;
  --ordinary: system-ui, sans-serif;
  --type: "Courier New", monospace;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--ordinary);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--brass); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid #ffc492; outline-offset: .3rem; }
button, summary { cursor: pointer; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { top: 1rem; left: 1rem; width: auto; height: auto; margin: 0; padding: .7rem 1rem; clip-path: none; z-index: 10; background: var(--ink); }
.station-width { width: min(1400px, calc(100% - 104px)); margin-inline: auto; }
.station-head { position: relative; z-index: 4; background: #141a1a; border-bottom: 1px solid #7e6b48; }
.station-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.4rem; min-height: 78px; }
.station-name { display: inline-flex; flex-direction: column; align-items: start; justify-self: start; line-height: .9; width: max-content; text-decoration: none; }
.station-name em { font-style: normal; font: 1.6rem/.9 var(--condensed); letter-spacing: .065em; text-transform: uppercase; }
.station-name span { font: bold .64rem/1 var(--type); letter-spacing: .19em; text-transform: uppercase; color: var(--brass); margin-top: .42rem; }
.station-nav nav { display: flex; flex-wrap: wrap; gap: clamp(.7rem, 3.5vw, 3.1rem); }
.station-nav nav a { text-decoration: none; font-size: .88rem; font-weight: 750; }
.station-nav nav a:hover { text-decoration: underline; }
.desk-link { justify-self: end; text-decoration: none; border: 1px solid #a98757; color: var(--brass); padding: .62rem .82rem; font-weight: 750; font-size: .88rem; width: max-content; display: inline-block; }
.desk-link:hover { background: var(--brass); color: #261e17; }
.opening { display: grid; grid-template-columns: 1fr; position: relative; isolation: isolate; overflow: hidden; min-height: 670px; background: #19211f; }
.opening-shot { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.opening-shot img { display: block; min-height: 100%; height: 100%; object-position: center 55%; }
.opening-shot::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #141a19ed 0, #151a19a8 33%, #141a1940 65%, #141a193f), linear-gradient(0deg, #1115135c, transparent 48%); }
.opening-content { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(325px, .74fr); align-items: center; gap: 4vw; padding-block: 4.6rem 4rem; }
.opening-copy { align-self: end; padding-bottom: 1rem; }
.descriptor { display: flex; align-items: center; gap: .56rem; font: bold .82rem/1.1 var(--type); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.descriptor > span, .dispatch-label > span { display: inline-block; background: var(--brass); width: .55rem; height: .55rem; border-radius: 50%; box-shadow: 0 0 0 .22rem #ddae7442; }
.opening-copy h1 { font-family: var(--condensed); font-weight: 400; text-transform: uppercase; font-size: clamp(3.1rem, 6.5vw, 7.5rem); letter-spacing: .012em; line-height: .98; margin: 1rem 0 1.12rem; max-width: 11.5ch; text-wrap: balance; color: #fff4e2; text-shadow: 0 3px 17px #101412ae; }
.opening-copy > p:not(.descriptor) { max-width: 16rem; font-size: 1.05rem; color: #fff4e2; }
.hero-jump { display: inline-flex; align-items: center; gap: .6rem; width: max-content; font-size: .9rem; color: #201c15; background: var(--brass); font-weight: 800; padding: .7rem 1rem; margin-top: 1.15rem; text-decoration: none; }
.hero-jump:hover { color: #201c15; background: #f8d29e; }
.dispatch { background: #1c2523f5; border: 1px solid #ae8755; box-shadow: inset 0 0 0 4px #141a18, 0 17px 48px #11191680; min-width: 0; padding: clamp(1.1rem, 2.5vw, 2.2rem); align-self: center; justify-self: end; width: min(100%, 465px); }
.dispatch-label { color: var(--brass); font: bold .74rem/1.1 var(--type); letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: .65rem; }
.dispatch h2 { font: 400 clamp(1.85rem, 3vw, 3rem)/1.05 var(--condensed); text-transform: uppercase; letter-spacing: .028em; color: var(--paper); margin: .8rem 0 .55rem; }
.dispatch > p:nth-child(3) { font-size: .9rem; color: var(--muted); }
.clue-list { margin: .9rem 0 .86rem; display: grid; gap: .42rem; }
.clue-list details { background: #171f1d; border: 1px solid #72624d; line-height: 1.4; }
.clue-list summary { padding: .65rem .72rem; font-size: .91rem; font-weight: 760; color: #f6d3a3; }
.clue-list summary:hover { background: #302d21; }
.clue-list details p, .clue-list table { font-size: .85rem; color: var(--paper); margin: 0 .72rem .7rem; }
.clue-list table { width: calc(100% - 1.44rem); border-collapse: collapse; }
.clue-list th, .clue-list td { border-bottom: 1px solid #55574a; padding: .17rem .25rem; text-align: start; }
.clue-list th { color: var(--brass); }
.dispatch fieldset { padding: 0; margin: 0; border: 0; }
.dispatch legend { padding: 0; margin-bottom: .48rem; color: var(--muted); font-size: .82rem; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.keypad button { border: 1px solid #ab885a; background: #3b3427; color: #ffe2b8; font: bold 1.18rem/1 var(--type); padding: .72rem .35rem; }
.keypad button:hover { background: #d5a46a; color: #1b211c; }
.dispatch-result { border-top: 1px solid #6e5d43; margin-top: .95rem; padding-top: .65rem; min-height: 2.3rem; color: var(--muted); font: bold .81rem/1.35 var(--type); }
.dispatch-result.cleared { color: #c3e6ab; }
.station-band { background: #332b20; color: #f4d5a8; border-block: 1px solid #6c563b; }
.station-band > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 1.25rem; padding: 1rem 0; font: bold .83rem/1.3 var(--type); text-transform: uppercase; letter-spacing: .055em; }
.room-section { padding-block: clamp(3.6rem, 8vw, 7rem); }
.section-line { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.5rem; align-items: end; margin-bottom: 2.1rem; }
.section-line h2, .arrival h2, .visitor-guide h2, .final-call h2 { font: 400 clamp(2.5rem, 5vw, 5.4rem)/.99 var(--condensed); text-transform: uppercase; max-width: 16ch; }
.section-line p { max-width: 23rem; color: var(--muted); }
.room-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3.5rem); }
.room { position: relative; border-top: 1px solid #957957; }
.room-shot { display: block; overflow: hidden; position: relative; background: #372b21; }
.room-shot::after { position: absolute; inset: 0; content: ''; background: linear-gradient(106deg, transparent 21%, #ffdfa255 46%, transparent 68%); mix-blend-mode: screen; transform: translateX(-112%); pointer-events: none; }
.room.light-sweep .room-shot::after { animation: sweep 1.15s cubic-bezier(.35,.55,.5,1) both; }
@keyframes sweep { to { transform: translateX(112%); } }
.room-shot img { aspect-ratio: 1.8; object-position: center 55%; }
.room-copy { border-bottom: 1px solid #716445; padding: 1rem 0 1.2rem; }
.room-copy > span, .room-fact { color: var(--brass); font: bold .78rem/1.1 var(--type); text-transform: uppercase; letter-spacing: .1em; }
.room-copy h3 { font: 400 clamp(1.5rem, 3.6vw, 3.1rem)/1.02 var(--condensed); text-transform: uppercase; margin: .55rem 0 .48rem; letter-spacing: .025em; }
.room-copy p { color: var(--muted); }
.arrival { background: #2b3028; border-block: 1px solid #6a624b; padding-block: clamp(2.2rem, 5vw, 4.8rem); }
.arrival-inner { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 6vw; }
.arrival h2 { margin-top: .78rem; }
.arrival p:not(.descriptor), .visitor-guide p, .final-call p { max-width: 26rem; margin: .8rem 0 1.1rem; color: var(--muted); }
.arrival a, .visitor-guide a { font-weight: 720; color: var(--brass); }
.arrival img { aspect-ratio: 1.68; object-position: center 48%; }
.visitor-guide { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(1rem, 4vw, 4rem); padding-block: clamp(2.6rem, 6vw, 6rem); }
.visitor-guide h3 { font: 400 clamp(1.35rem, 2.6vw, 2.3rem)/1.05 var(--condensed); text-transform: uppercase; letter-spacing: .02em; }
.visitor-guide > div { border-top: 1px solid var(--border); padding-top: .85rem; }
.final-call { border-top: 1px solid #7c6a50; display: flex; justify-content: space-between; align-items: end; gap: 1.4rem; padding-block: 2rem 3rem; }
.final-call > a { color: var(--brass); }
.page-heading { padding-top: clamp(2.7rem, 7vw, 6rem); }
.page-heading > a:first-child { color: var(--brass); font-weight: 700; }
.page-heading h1 { font: 400 clamp(2.9rem, 7vw, 7rem)/.99 var(--condensed); text-transform: uppercase; letter-spacing: .023em; margin: .75rem 0 .7rem; }
.page-heading p { color: var(--muted); max-width: 41rem; font-size: 1.12rem; margin-bottom: .75rem; }
.clue-page, .information { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: start; gap: clamp(1.6rem, 6vw, 7rem); padding-block: 1.5rem clamp(3rem, 7vw, 6.5rem); }
.clue-page .dispatch { justify-self: start; }
.clue-page img, .information img { aspect-ratio: 1.5; }
.information.no-still { grid-template-columns: minmax(0, 52rem); }
.information h2 { font: 400 clamp(1.65rem, 3vw, 2.75rem)/1.07 var(--condensed); text-transform: uppercase; margin-bottom: .55rem; }
.information section, .information p, .information address { margin: 0 0 1.45rem; color: var(--muted); }
.information address { font-style: normal; }
.archive { padding-block: 1.4rem clamp(3rem, 7vw, 6rem); }
.missing { min-height: 55vh; }
.missing .desk-link { margin-top: .65rem; }
.station-foot { background: #0e1211; border-top: 1px solid #67563c; }
.foot-rail { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; padding-block: 2.2rem; }
.foot-rail > span { font-family: var(--type); color: var(--muted); font-size: .86rem; }
.foot-rail nav { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; font-size: .87rem; }

@media (max-width: 980px) {
  .station-width { width: min(1400px, calc(100% - 52px)); }
  .opening { min-height: 570px; }
  .opening-content { padding-block: 3.5rem 3rem; }
  .opening-copy h1 { font-size: clamp(3rem, 7vw, 5.65rem); }
}
@media (max-width: 690px) {
  .station-width { width: calc(100% - 34px); }
  .station-nav { grid-template-columns: 1fr auto; min-height: 68px; gap: .6rem; }
  .station-nav .desk-link { display: none; }
  .station-nav nav { gap: .8rem; }
  .station-nav nav a { font-size: .85rem; padding-block: .5rem; }
  .opening { min-height: 0; }
  .opening-content { grid-template-columns: 1fr; align-items: start; padding-block: 2.75rem 1.85rem; gap: 1rem; }
  .opening-copy { padding-bottom: .4rem; }
  .opening-copy h1 { margin: .65rem 0 .55rem; font-size: clamp(2.7rem, 11.3vw, 4.75rem); }
  .opening-copy > p:not(.descriptor) { font-size: .94rem; }
  .opening-shot::after { background: linear-gradient(110deg,#161a18e6, #151b198a 80%), linear-gradient(0deg,#1c2622d9 0,#171e1c18 90%); }
  .dispatch { justify-self: start; }
  .hero-jump { margin-top: .65rem; padding: .55rem .75rem; }
  .section-line, .arrival-inner, .visitor-guide, .clue-page, .information, .room-list { grid-template-columns: minmax(0, 1fr); }
  .room-list { gap: 2rem; }
  .final-call { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .room.light-sweep .room-shot::after { animation: none; }
}
