:root {
  --paper: #f2efe5;
  --paper-soft: #faf8f0;
  --ink: #11120f;
  --gray: #74756f;
  --acid: #78f238;
  --acid-deep: #59cf22;
  --blue: #245cff;
  --rule: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --panel-x: clamp(20px, 5vw, 76px);
  --ease-snap: cubic-bezier(.78, 0, .17, 1);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
html { background: var(--ink); }
body {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  cursor: auto;
}

button, a, input { font: inherit; }
button, a { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.paper-grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .17;
  background-image:
    radial-gradient(circle at 10% 20%, #000 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, #000 0 .7px, transparent 1.2px),
    radial-gradient(circle at 30% 80%, #000 0 .8px, transparent 1.3px);
  background-size: 8px 8px, 11px 11px, 13px 13px;
  mix-blend-mode: multiply;
}

.static-canvas { position: fixed; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; opacity: .13; }
.cursor { position: fixed; z-index: 500; left: -50px; top: -50px; width: 24px; height: 24px; border: 2px solid var(--paper-soft); border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--paper-soft), 0 0 18px rgba(120,242,56,.55); pointer-events: none; opacity: 0; transform: translate(-50%, -50%); transition: width .18s, height .18s, background .18s, border-color .18s, opacity .15s; }
.cursor span { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; background: var(--ink); border-radius: 50%; transform: translate(-50%,-50%); }
.cursor.is-hover { width: 54px; height: 54px; border-color: var(--acid); background: rgba(120,242,56,.3); }
.cursor.is-outside { opacity: 0 !important; }

@media (pointer: fine) {
  html.has-custom-cursor body,
  html.has-custom-cursor button,
  html.has-custom-cursor a,
  html.has-custom-cursor input { cursor: none; }
  html.has-custom-cursor .cursor { opacity: 1; }
}

.boot { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: opacity .7s var(--ease-snap), visibility .7s; }
.boot.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__noise { position: absolute; inset: 0; opacity: .25; background: repeating-linear-gradient(0deg, transparent 0 3px, #fff 4px 5px); animation: scan .2s steps(2) infinite; }
.boot__card { position: relative; width: min(430px, calc(100vw - 40px)); text-align: center; padding: 24px 28px 30px; border: 3px solid var(--paper); transform: rotate(-1deg); box-shadow: 10px 10px 0 var(--blue); background: #151613; }
.boot__stamp { display: block; font: 700 12px/1 "Courier New", monospace; letter-spacing: .16em; text-align: left; color: var(--acid); }
.boot__face { width: 170px; aspect-ratio: 1; margin: 22px auto 16px; border-radius: 50%; overflow: hidden; border: 3px solid var(--paper); }
.boot__face img { width: 100%; height: 100%; object-fit: cover; }
.boot__readout { font: 700 16px/1.3 "Courier New", monospace; min-height: 21px; }
.boot__meter { display: flex; align-items: end; justify-content: center; gap: 5px; height: 35px; margin: 17px 0; }
.boot__meter i { display: block; width: 10px; height: 20%; background: var(--acid); animation: meter .8s ease-in-out infinite alternate; }
.boot__meter i:nth-child(2n) { animation-delay: -.45s; }.boot__meter i:nth-child(3n) { animation-delay: -.2s; }
.boot small { display: block; margin-top: 15px; color: #aaa; font: 11px/1.4 "Courier New", monospace; }

.topbar { position: fixed; z-index: 100; inset: 0 0 auto 0; height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; border-bottom: var(--rule); background: rgba(242,239,229,.92); backdrop-filter: blur(7px); }
.brand { height: 100%; display: flex; gap: 10px; align-items: center; border: 0; border-right: var(--rule); padding: 7px 22px 7px 12px; background: transparent; text-align: left; font-weight: 1000; letter-spacing: -.06em; }
.brand img { width: 52px; height: 52px; object-fit: cover; border: 2px solid var(--ink); border-radius: 50%; }
.brand > span { font-size: 20px; line-height: .8; }
.brand small { display: block; margin-top: 7px; font: 8px/1 "Courier New", monospace; letter-spacing: .1em; }
.ticker { overflow: hidden; white-space: nowrap; font: 700 12px/1 "Courier New", monospace; letter-spacing: .13em; }
.ticker span { display: inline-block; padding-left: 100%; animation: ticker 18s linear infinite; }
.topbar__actions { height: 100%; display: flex; align-items: stretch; border-left: var(--rule); }
.sound-toggle, .mini-link { display: grid; place-items: center; border: 0; border-right: var(--rule); padding: 0 18px; background: transparent; font: 800 11px/1 "Courier New", monospace; }
.mini-link--green { background: var(--acid); font-size: 13px; }

.experience { position: fixed; inset: 0; overflow: hidden; }
.track { height: 100%; display: flex; will-change: transform; transition: transform .95s var(--ease-snap); }
.panel { position: relative; flex: 0 0 100vw; width: 100vw; height: 100dvh; overflow: hidden; padding: 98px var(--panel-x) 90px; isolation: isolate; }
.panel h2 { margin: 0; font-family: Impact, "Arial Black", sans-serif; font-size: clamp(62px, 8vw, 142px); line-height: .78; letter-spacing: -.045em; font-weight: 900; }
.panel h2 span { color: var(--blue); -webkit-text-stroke: 2px var(--ink); text-shadow: 5px 5px 0 var(--ink); }
.kicker { margin: 0 0 17px; font: 700 clamp(10px, 1vw, 13px)/1.2 "Courier New", monospace; letter-spacing: .16em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(120,242,56,.22); animation: pulse 1.2s infinite; }
.chapter-label { position: absolute; z-index: 5; right: var(--panel-x); top: 92px; padding: 8px 12px; border: 2px solid var(--ink); background: var(--paper); transform: rotate(1deg); font: 700 10px/1 "Courier New", monospace; letter-spacing: .1em; }

.panel--hero { background: var(--paper); }
.world-bg { position: absolute; inset: 72px 0 0; z-index: -3; width: 100%; height: calc(100% - 72px); object-fit: cover; filter: contrast(.98) saturate(1.1); transform: scale(1.04); transition: transform .2s linear, filter .25s; }
.world-wash { position: absolute; inset: 72px 0 0; z-index: -2; background: linear-gradient(90deg, var(--paper) 0%, rgba(242,239,229,.94) 24%, rgba(242,239,229,.28) 55%, rgba(242,239,229,.08) 100%); }
.hero-copy { position: relative; z-index: 5; width: min(610px, 44vw); top: 50%; transform: translateY(-53%); }
.hero-copy h1 { display: flex; flex-direction: column; margin: 0; font: 900 clamp(88px, 10.6vw, 190px)/.67 Impact, "Arial Black", sans-serif; letter-spacing: -.06em; text-transform: uppercase; }
.hero-copy h1 span:last-child { color: var(--acid); -webkit-text-stroke: 3px var(--ink); text-shadow: 7px 7px 0 var(--blue), 11px 11px 0 var(--ink); margin-left: .14em; transform: rotate(-2deg); }
.hero-line { margin: 28px 0 22px; max-width: 450px; font: 900 clamp(19px, 1.8vw, 28px)/1.05 "Arial Black", Arial, sans-serif; }
.hero-line em { color: var(--blue); font-style: normal; }
.hero-actions, .final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ink-button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 49px; border: var(--rule); padding: 0 19px; background: var(--blue); color: white; box-shadow: 5px 5px 0 var(--ink); font: 900 12px/1 "Arial Black", Arial, sans-serif; letter-spacing: .04em; transform: rotate(-.4deg); transition: transform .18s, box-shadow .18s, background .18s; }
.ink-button:hover, .ink-button:focus-visible { transform: translate(4px,4px) rotate(.5deg); box-shadow: 1px 1px 0 var(--ink); outline: none; }
.ink-button--green { background: var(--acid); color: var(--ink); }
.ink-button--paper { background: var(--paper-soft); color: var(--ink); }
.microcopy { margin: 16px 0 0; font: 10px/1.3 "Courier New", monospace; }

.hero-portrait { position: absolute; z-index: 2; right: 6vw; top: 17vh; width: min(42vw, 570px); aspect-ratio: 1; transform: rotate(2deg); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; border: 5px solid var(--ink); border-radius: 48% 45% 47% 42%; box-shadow: 16px 16px 0 rgba(36,92,255,.94); mix-blend-mode: multiply; }
.portrait-ring { position: absolute; z-index: -1; inset: -6%; border: 4px dashed var(--ink); border-radius: 50%; animation: spin 20s linear infinite; }
.portrait-note { position: absolute; right: -4%; bottom: -6%; padding: 10px 13px; background: var(--acid); border: 2px solid var(--ink); font: 700 10px/1.2 "Courier New", monospace; transform: rotate(-6deg); }
.lens-glow { position: absolute; z-index: 3; left: 24%; top: 39%; width: 56%; height: 20%; border-radius: 50%; opacity: .0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.95), rgba(120,242,56,.26) 18%, transparent 58%); transition: opacity .2s; mix-blend-mode: screen; pointer-events: none; }
.hero-portrait:hover .lens-glow { opacity: .85; }

.relic { position: absolute; z-index: 6; border: 2px solid var(--ink); padding: 7px 9px; background: var(--paper); font: 700 9px/1 "Courier New", monospace; box-shadow: 3px 3px 0 var(--ink); animation: float 3s ease-in-out infinite alternate; }
.relic span { color: var(--blue); }
.relic:hover { background: var(--acid); transform: rotate(-3deg) scale(1.08); }
.relic.is-found { color: var(--gray); background: var(--acid); text-decoration: line-through; animation: none; }
.relic--phone { right: 3%; bottom: 20%; transform: rotate(4deg); }
.relic--cross { right: 18%; top: 17%; transform: rotate(-3deg); animation-delay: -.9s; }
.relic--phones { left: 53%; top: 26%; transform: rotate(2deg); animation-delay: -1.7s; }
.relic--beanie { right: 7%; top: 47%; transform: rotate(-2deg); animation-delay: -.3s; }

.tuner-wrap { position: absolute; z-index: 7; left: var(--panel-x); right: calc(50% + 20px); bottom: 103px; max-width: 590px; }
.tuner-wrap label { display: flex; justify-content: space-between; margin-bottom: 8px; font: 700 10px/1 "Courier New", monospace; }
.tuner-wrap output { color: var(--blue); font-size: 14px; }
.tuner-wrap input { appearance: none; width: 100%; height: 8px; border: 2px solid var(--ink); background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 14px); }
.tuner-wrap input::-webkit-slider-thumb { appearance: none; width: 25px; height: 32px; border: 3px solid var(--ink); background: var(--acid); box-shadow: 4px 3px 0 var(--ink); }
.tuner-scale { display: flex; justify-content: space-between; margin-top: 7px; font: 9px/1 "Courier New", monospace; }

.next-chapter { position: absolute; z-index: 12; right: var(--panel-x); bottom: 30px; display: flex; gap: 35px; align-items: center; border: 0; border-bottom: 3px solid var(--ink); padding: 8px 0; background: transparent; font: 10px/1 "Courier New", monospace; }
.next-chapter b { font-family: "Arial Black", Arial, sans-serif; font-size: 13px; }
.next-chapter:hover b { color: var(--blue); }

.panel--story { background: var(--acid); background-image: radial-gradient(var(--ink) .7px, transparent .7px); background-size: 9px 9px; }
.story-heading { position: absolute; left: var(--panel-x); top: 15%; z-index: 3; width: 42%; }
.story-heading h2 span { color: var(--paper); }
.story-scroll { position: absolute; inset: 23% 7% 14% 45%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; overflow: auto; padding: 12px 20px 34px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.scrap { position: relative; min-height: 240px; padding: 28px 30px 23px; border: var(--rule); background: var(--paper); box-shadow: var(--shadow); transform: rotate(-1.5deg); transition: transform .25s; }
.scrap:nth-child(even) { transform: rotate(1.5deg); }
.scrap:hover { transform: rotate(0) translateY(-6px); }
.scrap__no { position: absolute; right: 16px; top: 12px; font: 900 44px/1 Impact, sans-serif; color: var(--blue); opacity: .75; }
.scrap h3 { margin: 0 0 14px; padding-right: 30px; font: 900 24px/1 "Arial Black", Arial, sans-serif; }
.scrap p { margin: 0; font: 600 clamp(13px, 1vw, 16px)/1.4 "Courier New", monospace; }
.scribble-trigger { margin-top: 18px; padding: 0 0 3px; border: 0; border-bottom: 2px dashed var(--ink); background: transparent; font: 700 10px/1 "Courier New", monospace; }
.story-aside { position: absolute; left: var(--panel-x); bottom: 8%; width: 34%; transform: rotate(-2deg); }
.story-aside p { margin: 0 0 15px; font: 700 clamp(13px,1.2vw,18px)/1.25 "Courier New", monospace; }
.next-chapter--inline { position: static; }

.panel--anatomy { background: var(--paper); }
.panel--anatomy::before { content: ""; position: absolute; z-index: -2; right: -10vw; top: -20vh; width: 68vw; height: 140vh; border: 4px solid var(--ink); border-radius: 50%; background: var(--blue); transform: rotate(-12deg); }
.anatomy-copy { position: absolute; left: var(--panel-x); top: 18%; width: 31%; }
.anatomy-copy p:last-child { max-width: 370px; font: 700 clamp(13px,1.15vw,18px)/1.4 "Courier New", monospace; }
.anatomy-figure { position: absolute; left: 36%; top: 16%; width: min(44vw, calc(100vh - 230px), 610px); aspect-ratio: 1; }
.anatomy-figure > img { width: 100%; height: 100%; object-fit: cover; border: 5px solid var(--ink); border-radius: 49% 45% 50% 44%; box-shadow: 12px 12px 0 var(--acid); mix-blend-mode: multiply; }
.anatomy-orbit { position: absolute; inset: -5%; border: 3px dashed var(--ink); border-radius: 50%; animation: spin 28s linear infinite reverse; }
.hotspot { position: absolute; display: flex; align-items: center; gap: 7px; border: 0; background: transparent; font: 900 10px/1 "Courier New", monospace; white-space: nowrap; }
.hotspot i { display: block; width: 19px; height: 19px; border: 3px solid var(--ink); border-radius: 50%; background: var(--acid); animation: pulseDot 1.4s infinite; }
.hotspot span { padding: 6px 8px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.hotspot:hover span, .hotspot.is-active span { background: var(--acid); }
.hotspot--hat { left: 6%; top: 7%; }.hotspot--lens { right: -10%; top: 40%; }.hotspot--bridge { left: 38%; top: 48%; }.hotspot--lines { left: -10%; top: 60%; }.hotspot--stubble { right: -8%; bottom: 18%; }
.dossier { position: absolute; right: var(--panel-x); bottom: 14%; z-index: 5; width: min(310px, 23vw); min-height: 225px; padding: 23px; border: var(--rule); background: var(--paper); box-shadow: 9px 9px 0 var(--ink); transform: rotate(1deg); }
.dossier > span { color: var(--blue); font: 700 10px/1 "Courier New", monospace; }
.dossier h3 { margin: 15px 0 10px; font: 900 24px/1 "Arial Black", Arial, sans-serif; }
.dossier p { margin: 0; font: 700 12px/1.45 "Courier New", monospace; }
.dossier-wave { height: 25px; margin-top: 18px; display: flex; gap: 5px; align-items: center; }
.dossier-wave i { width: 4px; height: 30%; background: var(--blue); animation: meter .6s infinite alternate; }

.panel--map { background: var(--ink); color: var(--paper); }
.panel--map .chapter-label { color: var(--ink); }
.map-copy { position: absolute; left: var(--panel-x); top: 15%; width: 34%; z-index: 5; }
.map-copy h2 { font-size: clamp(60px,7vw,124px); }
.map-copy h2 span { -webkit-text-stroke-color: var(--paper); text-shadow: 5px 5px 0 var(--paper); }
.map-copy > p:last-child { max-width: 370px; color: #c7c5bd; font: 700 13px/1.4 "Courier New", monospace; }
.map-stage { position: absolute; left: 38%; right: 5%; top: 16%; bottom: 15%; border: 3px solid var(--paper); background: #191a16; overflow: hidden; transform: rotate(-.4deg); }
.map-stage::before { content: ""; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(0deg, transparent 0 10px, var(--paper) 11px 12px); }
.map-stage canvas { position: relative; z-index: 2; width: 100%; height: 100%; touch-action: none; }
.map-stamp { position: absolute; z-index: 3; left: 14px; bottom: 12px; border: 2px solid var(--acid); padding: 7px; color: var(--acid); transform: rotate(-2deg); font: 700 9px/1 "Courier New", monospace; pointer-events: none; }
.map-card { position: absolute; z-index: 6; left: 28%; bottom: 8%; width: 330px; padding: 18px 21px; border: 3px solid var(--paper); background: var(--blue); color: var(--paper); box-shadow: 7px 7px 0 var(--acid); transform: rotate(-1deg); }
.map-card > span { font: 700 9px/1 "Courier New", monospace; color: var(--acid); }
.map-card h3 { margin: 10px 0 7px; font: 900 22px/1 "Arial Black", Arial, sans-serif; }
.map-card p { margin: 0; font: 700 11px/1.35 "Courier New", monospace; }
.map-card__status { display: flex; align-items: center; gap: 7px; margin-top: 12px; font: 700 8px/1 "Courier New", monospace; }
.map-card__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); animation: pulse 1s infinite; }
.panel--map .next-chapter { border-color: var(--paper); }

.panel--receiver { background: var(--paper); }
.receiver-bg { position: absolute; inset: 72px 0 0; z-index: -2; width: 100%; height: calc(100% - 72px); object-fit: cover; opacity: .18; filter: grayscale(1) contrast(1.3); mix-blend-mode: multiply; }
.receiver-copy { position: absolute; left: var(--panel-x); top: 18%; width: 43%; }
.receiver-copy h2 span { color: var(--acid); }
.receiver-copy > p:last-child { max-width: 520px; padding: 12px; border-left: 5px solid var(--blue); background: rgba(242,239,229,.8); font: 700 14px/1.4 "Courier New", monospace; }
.phone { position: absolute; left: 50%; top: 14%; width: min(310px, 24vw); height: min(650px, 70vh); border: 5px solid var(--ink); border-radius: 40px; padding: 13px; background: var(--ink); box-shadow: 16px 16px 0 var(--blue); transform: rotate(2deg); }
.phone__speaker { position: absolute; z-index: 3; top: 19px; left: 50%; width: 30%; height: 9px; border-radius: 10px; background: var(--ink); transform: translateX(-50%); }
.phone__screen { height: 100%; border-radius: 27px; padding: 26px 20px 20px; background: var(--acid); text-align: center; overflow: hidden; }
.phone__time { display: block; font: 700 11px/1 "Courier New", monospace; text-align: left; }
.phone__screen img { display: block; width: 112px; height: 112px; margin: 28px auto 9px; object-fit: cover; border: 4px solid var(--ink); border-radius: 50%; mix-blend-mode: multiply; }
.phone__screen small { display: block; font: 700 9px/1 "Courier New", monospace; }
.phone__screen strong { display: block; margin-top: 6px; font: 900 28px/1 Impact, sans-serif; letter-spacing: .04em; }
.waveform { height: 62px; margin: 20px 0 12px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.waveform i { display: block; width: 3px; min-height: 5px; background: var(--ink); }
.waveform.is-live i { animation: phoneWave .42s ease-in-out infinite alternate; }
.phone__screen p { min-height: 40px; font: 700 10px/1.35 "Courier New", monospace; }
.phone__screen button { width: 98px; height: 98px; margin-top: 10px; border: 4px solid var(--paper); border-radius: 50%; background: var(--blue); color: white; box-shadow: 5px 5px 0 var(--ink); font: 900 11px/1 "Arial Black", Arial, sans-serif; }
.phone__screen button span { display: block; font-size: 26px; transform: rotate(-45deg); transition: transform .3s; }
.phone__screen button:hover span { transform: rotate(315deg); }
.receiver-side { position: absolute; right: var(--panel-x); top: 27%; width: min(300px, 22vw); }
.relic-score { border: var(--rule); padding: 20px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(-2deg); }
.relic-score span { font: 700 9px/1 "Courier New", monospace; color: var(--blue); }
.relic-score strong { display: block; margin: 11px 0; font: 900 19px/1 "Arial Black", Arial, sans-serif; }
.relic-score strong b { color: var(--blue); }
.relic-score p { margin: 0; font: 700 10px/1.4 "Courier New", monospace; }
.receiver-side .final-actions { flex-direction: column; margin-top: 28px; }
.restart { display: block; margin: 20px auto 0; border: 0; border-bottom: 2px dashed var(--ink); background: transparent; font: 700 10px/1 "Courier New", monospace; }
.panel--receiver footer { position: absolute; left: var(--panel-x); right: var(--panel-x); bottom: 23px; display: flex; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: 10px; font: 700 8px/1 "Courier New", monospace; }

.freq-nav { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0; height: 67px; display: flex; justify-content: center; background: var(--paper); border-top: var(--rule); }
.freq-nav__line { position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: transparent; }
.freq-nav__line i { display: block; width: 0; height: 100%; background: var(--blue); transition: width .9s var(--ease-snap); }
.freq-nav button { min-width: 115px; padding: 8px 23px; border: 0; border-right: 1px dashed var(--gray); background: transparent; font: 700 9px/1 "Courier New", monospace; transition: background .2s; }
.freq-nav button:first-of-type { border-left: 1px dashed var(--gray); }
.freq-nav button span { display: block; margin-bottom: 6px; color: var(--gray); }
.freq-nav button b { letter-spacing: .08em; }
.freq-nav button.is-active { background: var(--ink); color: var(--paper); transform: translateY(-8px) rotate(-1deg); border: 2px solid var(--paper); box-shadow: 4px 4px 0 var(--acid); }
.freq-nav button.is-active span { color: var(--acid); }

.signal-toast { position: fixed; z-index: 180; right: 25px; top: 92px; width: min(330px, calc(100vw - 40px)); padding: 18px 20px; border: var(--rule); background: var(--acid); box-shadow: var(--shadow); transform: translateX(calc(100% + 50px)) rotate(2deg); transition: transform .5s var(--ease-snap); }
.signal-toast.is-visible { transform: translateX(0) rotate(-1deg); }
.signal-toast span { font: 700 9px/1 "Courier New", monospace; color: var(--blue); }
.signal-toast strong { display: block; margin: 8px 0 5px; font: 900 17px/1 "Arial Black", Arial, sans-serif; }
.signal-toast p { margin: 0; font: 700 10px/1.35 "Courier New", monospace; }
.scribble-pop { position: fixed; z-index: 190; max-width: 260px; padding: 12px 15px; border: 2px solid var(--ink); background: var(--blue); color: white; box-shadow: 4px 4px 0 var(--ink); font: 700 11px/1.35 "Courier New", monospace; opacity: 0; pointer-events: none; transform: translate(-50%,-100%) rotate(-3deg) scale(.8); transition: opacity .2s, transform .2s; }
.scribble-pop.is-visible { opacity: 1; transform: translate(-50%,-110%) rotate(2deg) scale(1); }

@keyframes meter { to { height: 100%; } }
@keyframes scan { to { transform: translateY(4px); } }
@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 9px rgba(120,242,56,.25); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { to { margin-top: -10px; } }
@keyframes phoneWave { to { transform: scaleY(.18); opacity: .55; } }

@media (max-width: 1050px) {
  :root { --panel-x: 28px; }
  .sound-toggle { display: none; }
  .hero-copy { width: 49vw; }
  .hero-portrait { right: 2vw; width: 46vw; }
  .relic--phones { left: 49%; }
  .story-scroll { left: 39%; right: 3%; }
  .story-heading { width: 35%; }
  .anatomy-copy { width: 27%; }
  .anatomy-figure { left: 28%; width: 49vw; }
  .dossier { right: 2%; width: 25vw; }
  .map-copy { width: 31%; }
  .map-stage { left: 33%; right: 2%; }
  .phone { left: 45%; width: 28vw; }
  .receiver-side { width: 25vw; }
}

@media (min-width: 761px) and (max-height: 720px) {
  .hero-copy h1 { font-size: 115px; }
  .hero-line { margin: 18px 0 15px; font-size: 20px; }
  .hero-portrait { top: 15vh; width: min(39vw, calc(100vh - 210px)); }
  .story-heading { top: 17%; }
  .story-heading h2, .anatomy-copy h2 { font-size: 78px; }
  .scrap { min-height: 205px; padding: 22px; }
  .scrap h3 { font-size: 20px; }
  .scrap p { font-size: 12px; }
  .phone { height: 530px; }
}

@media (max-width: 760px) {
  body, button, a { cursor: auto; }
  .cursor { display: none; }
  .topbar { height: 58px; grid-template-columns: auto 1fr auto; }
  .brand { padding: 4px 10px; }
  .brand img { width: 42px; height: 42px; }
  .brand > span { font-size: 16px; }
  .brand small, .ticker { display: none; }
  .mini-link { padding: 0 11px; }
  .panel { padding: 79px 18px 83px; overflow-y: auto; }
  .chapter-label { position: relative; top: auto; right: auto; display: inline-block; margin-bottom: 23px; }
  .world-bg, .receiver-bg { top: 58px; height: calc(100% - 58px); }
  .world-wash { inset: 58px 0 0; background: linear-gradient(180deg, rgba(242,239,229,.96), rgba(242,239,229,.56) 55%, rgba(242,239,229,.85)); }
  .hero-copy { position: relative; width: 100%; top: 0; transform: none; padding-top: 4vh; }
  .hero-copy h1 { font-size: clamp(82px, 26vw, 124px); }
  .hero-copy h1 span:last-child { margin-left: .05em; }
  .hero-line { margin-top: 20px; font-size: 18px; }
  .hero-actions { gap: 9px; }
  .ink-button { min-height: 44px; font-size: 10px; padding: 0 13px; gap: 12px; }
  .hero-portrait { right: -15vw; top: 41vh; width: 76vw; opacity: .62; z-index: -1; }
  .portrait-note, .relic--cross, .relic--phones, .relic--beanie { display: none; }
  .relic--phone { right: 15px; bottom: 165px; }
  .tuner-wrap { left: 18px; right: 18px; bottom: 97px; }
  .next-chapter { display: none; }
  .story-heading, .anatomy-copy, .map-copy, .receiver-copy { position: relative; left: auto; top: auto; width: 100%; }
  .panel h2 { font-size: clamp(58px, 17vw, 90px); }
  .story-scroll { position: relative; inset: auto; display: flex; width: calc(100vw - 36px); overflow-x: auto; overflow-y: hidden; padding: 20px 9px 28px; scroll-snap-type: x mandatory; }
  .scrap { flex: 0 0 82vw; min-height: 270px; scroll-snap-align: center; }
  .story-aside { position: relative; left: auto; bottom: auto; width: 100%; margin: 20px 0 30px; }
  .anatomy-copy p:last-child { font-size: 12px; }
  .panel--anatomy::before { right: -40vw; width: 100vw; }
  .anatomy-figure { position: relative; left: auto; top: auto; width: 86vw; margin: 25px auto 45px; }
  .hotspot span { font-size: 7px; padding: 5px; }
  .hotspot--lens { right: -2%; }.hotspot--lines { left: -2%; }.hotspot--stubble { right: -2%; }
  .dossier { position: relative; right: auto; bottom: auto; width: calc(100% - 12px); margin: 0 0 40px; }
  .map-copy > p:last-child { color: #ddd; }
  .map-stage { position: relative; inset: auto; width: 100%; height: 48vh; margin: 22px 0 18px; }
  .map-card { position: relative; left: auto; bottom: auto; width: calc(100% - 12px); margin-bottom: 35px; }
  .receiver-copy > p:last-child { font-size: 11px; }
  .phone { position: relative; left: auto; top: auto; width: min(76vw, 300px); height: 560px; margin: 24px auto 40px; }
  .receiver-side { position: relative; right: auto; top: auto; width: 100%; padding-bottom: 70px; }
  .panel--receiver footer { position: relative; left: auto; right: auto; bottom: auto; gap: 10px; flex-wrap: wrap; }
  .freq-nav { height: 61px; justify-content: stretch; }
  .freq-nav button { flex: 1; min-width: 0; padding: 7px 2px; }
  .freq-nav button b { font-size: 7px; }
  .freq-nav button.is-active { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
