@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #050505;
  --ink-soft: #0c0c0c;
  --paper: #d7d7d2;
  --paper-bright: #f0f0eb;
  --silver: #949792;
  --smoke: #5c5f5b;
  --line: rgba(221, 222, 216, .24);
  --mx: 50vw;
  --my: 50vh;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
  cursor: none;
}
body.is-locked { overflow: hidden; }
button, a { color: inherit; font: inherit; }
button { cursor: none; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--paper); color: var(--ink); }

.grain {
  position: fixed;
  inset: -80%;
  z-index: 90;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain 1.8s steps(2) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0,0,0); }
  20% { transform: translate3d(4%, -3%, 0); }
  40% { transform: translate3d(-2%, 5%, 0); }
  60% { transform: translate3d(5%, 2%, 0); }
  80% { transform: translate3d(-4%, -4%, 0); }
  100% { transform: translate3d(0,0,0); }
}

.cursor-dot, .cursor-ring {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring { width: 42px; height: 42px; border: 1px solid #fff; transform: translate(-50%, -50%); transition: width .2s, height .2s, background .2s; }
body.cursor-active .cursor-ring { width: 68px; height: 68px; background: rgba(255,255,255,.15); }

.boot {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: #020202;
  transition: opacity .8s var(--ease), visibility .8s;
}
.boot.is-gone { opacity: 0; visibility: hidden; }
.boot__static {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 11%, rgba(216,216,210,.04) 11.3% 11.7%, transparent 12%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255,255,255,.025) 5px 6px);
  animation: bootflicker .16s infinite alternate;
}
@keyframes bootflicker { to { opacity: .66; } }
.boot__panel {
  position: relative;
  width: min(620px, calc(100vw - 40px));
  padding: 44px;
  border: 1px solid var(--paper);
  background: rgba(3,3,3,.88);
  box-shadow: 15px 15px 0 rgba(218,218,212,.09);
}
.boot__panel h2 { font-size: clamp(2rem, 6vw, 4.7rem); line-height: .92; letter-spacing: -.065em; margin: 34px 0 22px; text-transform: uppercase; }
.boot__panel > p:not(.eyebrow) { max-width: 430px; color: #aaa; line-height: 1.6; }
.boot__panel small { display: block; margin-top: 20px; font: 11px DM Mono, monospace; color: #7b7b77; }

.eyebrow {
  margin: 0;
  font: 500 12px/1.3 DM Mono, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver);
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 82px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,.66);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 13px; letter-spacing: -.02em; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--paper); border-radius: 50%; font: 700 11px DM Mono, monospace; }
.brand small { display: block; color: var(--silver); margin-top: 2px; font: 10px DM Mono, monospace; }
.top-nav { display: flex; gap: 32px; margin: 0 auto; }
.top-nav button, footer button { border: 0; background: transparent; font: 500 11px DM Mono, monospace; letter-spacing: .1em; }
.top-nav button::after { content: ''; display: block; width: 0; height: 1px; background: var(--paper); margin-top: 5px; transition: width .25s; }
.top-nav button:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.x-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--paper); font-weight: 800; }
.buy-button { display: inline-flex; align-items: center; gap: 18px; min-height: 40px; padding: 0 16px; background: var(--paper); color: var(--ink); font: 800 12px DM Mono, monospace; transition: background .2s, color .2s, transform .2s; }
.buy-button span { font-weight: 400; opacity: .6; }
.buy-button:hover { background: #fff; transform: translateY(-2px); }

.signal-dial {
  position: fixed;
  z-index: 75;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.signal-dial > p { writing-mode: vertical-rl; margin: 0 0 6px; font: 10px DM Mono, monospace; color: var(--smoke); }
.signal-dial button { width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--smoke); font: 10px DM Mono, monospace; transition: .25s; }
.signal-dial button:hover, .signal-dial button.active { border-color: var(--paper); color: var(--paper); transform: rotate(45deg); }
.signal-dial button span { display: block; transform: rotate(0); transition: transform .25s; }
.signal-dial button:hover span, .signal-dial button.active span { transform: rotate(-45deg); }
.signal-dial__line { width: 1px; height: 70px; background: #242424; overflow: hidden; }
.signal-dial__line i { display: block; width: 100%; height: 0; background: var(--paper); transition: height .45s var(--ease); }

.scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.scene::before {
  content: attr(data-scene);
  position: absolute;
  z-index: 4;
  left: 32px;
  bottom: 26px;
  font: 11px DM Mono, monospace;
  color: #696965;
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 118px 9vw 62px 8vw; isolation: isolate; }
.hero__world { position: absolute; z-index: -3; inset: 0; background: url('assets/thin-neet-nightworld.png') center/cover no-repeat; opacity: .3; filter: contrast(1.25) brightness(.75); transform: scale(1.08); }
.hero::after { content: ''; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 43% 50%, rgba(5,5,5,.15), #050505 70%); }
.ticker { position: absolute; z-index: 1; left: 0; width: 100%; overflow: hidden; white-space: nowrap; font: 10px DM Mono, monospace; color: #6a6a66; border-block: 1px solid rgba(255,255,255,.07); padding: 7px 0; }
.ticker--top { top: 82px; }
.ticker span { display: inline-block; min-width: 200%; animation: marquee 18s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero__copy { position: relative; z-index: 3; max-width: 660px; }
.hero h1 { margin: 22px 0 24px; font-size: clamp(6rem, 14vw, 13.2rem); line-height: .69; letter-spacing: -.095em; font-weight: 900; }
.hero h1 em { display: inline-block; margin-left: .36em; color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--paper); filter: drop-shadow(5px 5px 0 rgba(255,255,255,.09)); }
.hero__dek { max-width: 500px; margin-left: 13%; font: 400 clamp(1rem, 1.4vw, 1.25rem)/1.55 DM Mono, monospace; color: #afafaa; }
.hero__links { display: flex; align-items: center; gap: 24px; margin: 34px 0 0 13%; }
.wire-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 0 18px; border: 1px solid var(--paper); background: rgba(5,5,5,.6); font: 600 12px DM Mono, monospace; letter-spacing: .06em; transition: .25s; }
.wire-button:hover { background: var(--paper); color: var(--ink); }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px dashed var(--smoke); background: transparent; color: var(--silver); font: 11px DM Mono, monospace; }
.portrait-wrap { position: relative; z-index: 2; justify-self: center; width: min(38vw, 590px); aspect-ratio: 1; padding: 0; border: 0; background: transparent; border-radius: 50%; transition-delay: .18s; }
.portrait-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: contrast(1.16) grayscale(1); box-shadow: 0 0 0 1px #e0e0dc, 0 0 80px rgba(215,215,210,.11); transition: transform .7s var(--ease), filter .3s; }
.portrait-wrap:hover img { transform: scale(.975) rotate(-1deg); filter: contrast(1.3) grayscale(1); }
.portrait-wrap.is-glitching img { animation: portraitglitch .24s steps(2) 5; }
@keyframes portraitglitch { 0% { transform: translate(0); } 35% { transform: translate(9px,-3px) skewX(2deg); } 70% { transform: translate(-8px,3px) skewX(-2deg); } }
.portrait-wrap__orbit { position: absolute; inset: -38px; border: 1px dashed rgba(255,255,255,.26); border-radius: 50%; animation: spin 22s linear infinite; pointer-events: none; font: 10px DM Mono, monospace; letter-spacing: .2em; padding: 8px; color: #777; }
.orbit-b { inset: -13px; border-style: solid; animation-duration: 13s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(1turn); } }
.portrait-wrap__scan { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; pointer-events: none; background: linear-gradient(transparent 0 47%, rgba(255,255,255,.22) 49%, transparent 52%); background-size: 100% 32px; opacity: .28; animation: scan 7s linear infinite; }
@keyframes scan { to { background-position-y: 320px; } }
.portrait-wrap__status { position: absolute; right: -1.2rem; bottom: 10%; padding: 9px 11px; background: var(--paper); color: var(--ink); font: 10px DM Mono, monospace; transform: rotate(-4deg); }
.portrait-wrap__status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #0a0a0a; animation: blink 1.7s infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero__note { position: absolute; z-index: 4; right: 7%; bottom: 7%; padding: 16px 18px; border-left: 1px solid var(--paper); background: rgba(5,5,5,.7); transform: rotate(2deg); }
.hero__note span { color: var(--smoke); font: 10px DM Mono, monospace; }
.hero__note p { margin: 8px 0 0; font: italic 15px/1.45 DM Mono, monospace; }
.vertical-label { position: absolute; left: 24px; top: 50%; margin: 0; writing-mode: vertical-rl; transform: rotate(180deg) translateY(30%); color: #4d4d49; font: 9px DM Mono, monospace; letter-spacing: .15em; }

.section-heading { position: relative; z-index: 3; }
.section-heading h2 { max-width: 900px; margin: 17px 0 0; font-size: clamp(3rem, 7.2vw, 7.8rem); line-height: .9; letter-spacing: -.072em; text-transform: uppercase; }
.section-heading h2 em { color: transparent; -webkit-text-stroke: 1px var(--paper); font-style: normal; }
.section-heading > p:last-child:not(.eyebrow) { color: var(--silver); font: 15px/1.5 DM Mono, monospace; }

.story { min-height: 1120px; padding: 150px 10vw 120px; background: linear-gradient(135deg,#080808,#020202 60%); }
.story::after { content: ''; position: absolute; inset: 0; opacity: .13; pointer-events: none; background: repeating-linear-gradient(97deg, transparent 0 82px, rgba(255,255,255,.12) 83px, transparent 84px); }
.cassette { position: absolute; z-index: 3; left: 10vw; bottom: 142px; width: min(39vw, 560px); aspect-ratio: 1.56; padding: 28px; border: 1px solid var(--paper); border-radius: 18px; background: #101010; box-shadow: 14px 14px 0 #1b1b1b, inset 0 0 0 7px #070707; transform: rotate(-2deg); }
.cassette::before, .cassette::after { content: ''; position: absolute; width: 9px; height: 9px; border: 1px solid #858580; border-radius: 50%; top: 12px; left: 12px; }
.cassette::after { left: auto; right: 12px; }
.cassette__meta { display: flex; justify-content: space-between; font: 10px DM Mono, monospace; color: #9b9b95; }
.cassette__window { display: flex; align-items: center; justify-content: center; gap: 45px; height: 54%; margin-top: 24px; border: 1px solid #51514e; background: #050505; border-radius: 50px; overflow: hidden; }
.reel { position: relative; z-index: 2; width: 76px; aspect-ratio: 1; border: 2px dotted var(--paper); border-radius: 50%; animation: spin 9s linear infinite; }
.reel i { position: absolute; inset: 29%; border: 1px solid var(--paper); border-radius: 50%; }
.tape-line { position: absolute; width: 150px; height: 38px; border: 1px solid #73736f; transform: perspective(40px) rotateX(-11deg); }
.cassette__controls { position: absolute; display: flex; gap: 8px; left: 28px; right: 28px; bottom: 24px; }
.cassette__controls button { flex: 1; height: 38px; border: 1px solid #494946; background: #090909; font: 11px DM Mono, monospace; transition: .2s; }
.cassette__controls button:hover, .cassette__controls button.active { background: var(--paper); color: var(--ink); }
.story-card { position: absolute; z-index: 4; width: min(42vw, 620px); min-height: 470px; right: 9vw; bottom: 102px; padding: 42px 48px; background: var(--paper); color: var(--ink); box-shadow: 22px 22px 0 rgba(255,255,255,.08); transform: rotate(1.2deg); }
.story-card::before { content: ''; position: absolute; left: 25px; right: 25px; top: 13px; height: 1px; background: #7d7d78; }
.story-card__stamp { margin: 0 0 38px; font: 600 11px DM Mono, monospace; letter-spacing: .16em; }
.story-card h3 { margin: 0 0 26px; font-size: clamp(2rem, 3vw, 3.6rem); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.story-card #story-copy { min-height: 166px; }
.story-card #story-copy p { font: 14px/1.65 DM Mono, monospace; }
.next-chapter { display: flex; width: 100%; justify-content: space-between; padding: 14px 0; margin-top: 28px; border: 0; border-top: 1px solid var(--ink); background: transparent; font: 700 11px DM Mono, monospace; }
.margin-scribble { position: absolute; top: 31%; right: 3%; color: #50504d; font: italic 12px/1.8 DM Mono, monospace; transform: rotate(7deg); }

.room { min-height: 1150px; padding: 138px 8vw 90px; isolation: isolate; }
.room__backdrop { position: absolute; z-index: -3; inset: 0; background: url('assets/thin-neet-nightworld.png') center/cover no-repeat; filter: grayscale(1) contrast(1.18); transform: scale(1.06); }
.room__veil { position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.68), rgba(5,5,5,.08) 37%, rgba(5,5,5,.68) 80%, #050505); }
.section-heading--room { max-width: 560px; text-shadow: 0 2px 15px #000; }
.section-heading--room h2 { font-size: clamp(3.2rem, 7.7vw, 8rem); }
.hotspot { position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 7px; border: 0; background: rgba(3,3,3,.72); font: 9px DM Mono, monospace; letter-spacing: .08em; text-align: left; transition: .25s; }
.hotspot span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--paper); border-radius: 50%; font-size: 10px; }
.hotspot b { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .35s, opacity .25s; }
.hotspot:hover, .hotspot.active { transform: scale(1.06); }
.hotspot:hover b, .hotspot.active b { max-width: 120px; opacity: 1; }
.hotspot--phone { left: 9%; top: 55%; }
.hotspot--headphones { left: 20%; top: 34%; }
.hotspot--cross { left: 35%; top: 44%; }
.hotspot--beanie { left: 5%; top: 27%; }
.hotspot--mirror { right: 17%; top: 38%; }
.object-card { position: absolute; z-index: 8; right: 8vw; top: 44%; width: min(390px, 80vw); padding: 28px; border: 1px solid var(--paper); background: rgba(5,5,5,.91); backdrop-filter: blur(12px); transform: translateX(130%); transition: transform .55s var(--ease); box-shadow: 13px 13px 0 rgba(255,255,255,.08); }
.object-card.open { transform: none; }
.object-card > button { position: absolute; right: 12px; top: 9px; border: 0; background: transparent; font-size: 23px; }
.object-card small { font: 10px DM Mono, monospace; color: var(--silver); }
.object-card h3 { margin: 18px 0 12px; font-size: 2rem; text-transform: uppercase; letter-spacing: -.04em; }
.object-card p { margin: 0; color: #aaa; font: 14px/1.6 DM Mono, monospace; }
.pocket-game { position: absolute; z-index: 7; display: grid; grid-template-columns: 1.2fr 1fr .6fr; align-items: center; gap: 30px; left: 8vw; right: 8vw; bottom: 70px; min-height: 130px; padding: 22px 26px; border-block: 1px solid rgba(255,255,255,.36); background: rgba(3,3,3,.78); backdrop-filter: blur(13px); }
.pocket-game p { margin: 8px 0 0; font: 12px/1.5 DM Mono, monospace; }
.pocket-game small { color: var(--smoke); }
.charms { display: flex; flex-wrap: wrap; gap: 8px; }
.charms button { border: 1px dashed var(--paper); border-radius: 50%; background: #0a0a0a; height: 72px; min-width: 72px; padding: 0 12px; font: 9px DM Mono, monospace; transform: rotate(var(--tilt, -3deg)); transition: opacity .25s, transform .25s; }
.charms button:nth-child(2) { --tilt: 4deg; }
.charms button:nth-child(3) { --tilt: -7deg; }
.charms button:hover { transform: rotate(0) translateY(-5px); }
.charms button.used { opacity: .16; pointer-events: none; }
.pocket { display: flex; min-height: 90px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--paper); border-radius: 5px 5px 42% 42%; background: #111; font: 10px DM Mono, monospace; transition: background .2s, transform .2s; }
.pocket.drag-over { background: var(--paper); color: var(--ink); transform: scale(1.05); }
.pocket b { margin-top: 8px; color: var(--silver); }

.loop { min-height: 1120px; padding: 136px 8vw 80px; background: radial-gradient(circle at 67% 60%, #171717 0, #080808 28%, #030303 63%); }
.loop .section-heading { max-width: 670px; }
.loop .section-heading h2 { font-size: clamp(4.2rem, 8vw, 9rem); }
.orbit-map { position: absolute; width: min(59vw, 740px); aspect-ratio: 1; right: 4vw; bottom: 45px; }
.orbit-map__rings, .orbit-map__rings i { position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.orbit-map__rings::before, .orbit-map__rings::after { content: ''; position: absolute; left: 50%; top: 50%; width: 140%; height: 1px; background: rgba(255,255,255,.1); transform: translate(-50%,-50%) rotate(31deg); }
.orbit-map__rings::after { transform: translate(-50%,-50%) rotate(-31deg); }
.orbit-map__rings i:nth-child(1) { inset: 12%; border-style: dashed; animation: spin 29s linear infinite; }
.orbit-map__rings i:nth-child(2) { inset: 26%; border-color: rgba(255,255,255,.14); }
.orbit-map__rings i:nth-child(3) { inset: -9%; border-style: dotted; animation: spin 50s linear infinite reverse; }
.orbit-map__center { position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; width: 42%; aspect-ratio: 1; left: 29%; top: 29%; border: 1px solid var(--paper); border-radius: 50%; background: rgba(5,5,5,.94); padding: 34px; box-shadow: 0 0 60px rgba(255,255,255,.09); transition: transform .45s var(--ease); }
.orbit-map__center.pulse { animation: phasepulse .5s var(--ease); }
@keyframes phasepulse { 50% { transform: scale(.92); } }
.orbit-map__center small { font: 9px DM Mono, monospace; color: var(--silver); }
.orbit-map__center strong { margin: 10px 0 2px; font: 300 4rem DM Mono, monospace; }
.orbit-map__center h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 2rem); }
.orbit-map__center p { margin: 14px 0 0; color: #aaa; font: 11px/1.5 DM Mono, monospace; }
.phase { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1px solid #555; border-radius: 50px; background: #070707; font: 9px DM Mono, monospace; letter-spacing: .07em; transition: .25s; }
.phase span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #1d1d1c; }
.phase:hover, .phase.active { background: var(--paper); color: var(--ink); transform: scale(1.06); }
.phase--0 { left: 43%; top: 0; }
.phase--1 { right: 1%; top: 29%; }
.phase--2 { right: 9%; bottom: 16%; }
.phase--3 { left: 5%; bottom: 12%; }
.phase--4 { left: 0; top: 27%; }
.orbit-map__satellite { position: absolute; z-index: 2; left: 3%; top: 48%; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--paper); border-radius: 50%; animation: satellite 18s linear infinite; transform-origin: 340px 12px; }
@keyframes satellite { to { transform: rotate(1turn); } }
.loop__instruction { position: absolute; left: 8vw; bottom: 320px; padding-top: 12px; border-top: 1px solid var(--line); font: 10px DM Mono, monospace; color: var(--smoke); }
.loop__footnote { position: absolute; left: 8vw; bottom: 150px; max-width: 380px; font: italic 1.25rem/1.7 DM Mono, monospace; color: #a3a39f; }

.exit { min-height: 1000px; display: grid; grid-template-columns: .76fr 1.24fr; align-items: center; padding: 110px 8vw 140px; background: #d8d8d3; color: #050505; }
.exit::before { color: #61615d; }
.exit__portrait { position: relative; width: min(38vw, 530px); justify-self: center; filter: contrast(1.2); }
.exit__portrait::before { content: ''; position: absolute; inset: -4%; border: 2px solid #050505; border-radius: 50%; transform: rotate(-7deg); }
.exit__portrait img { border-radius: 50%; mix-blend-mode: multiply; }
.exit__copy { padding-left: 6vw; }
.exit__copy .eyebrow { color: #555; }
.exit__copy h2 { margin: 22px 0 28px; font-size: clamp(3.1rem, 6.2vw, 7rem); line-height: .88; letter-spacing: -.075em; text-transform: uppercase; }
.exit__copy h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px #050505; }
.exit__copy > p:not(.eyebrow) { max-width: 600px; font: 15px/1.7 DM Mono, monospace; }
.exit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.exit .wire-button { border-color: #050505; background: transparent; color: #050505; }
.exit .wire-button:hover { background: #050505; color: #d8d8d3; }
.buy-button--large { min-height: 54px; background: #050505; color: #eee; }
.exit__marquee { position: absolute; left: 0; right: 0; bottom: 68px; overflow: hidden; border-block: 1px solid #8b8b86; font: 800 42px/1.35 Inter, sans-serif; white-space: nowrap; }
.exit__marquee span { display: inline-block; min-width: 150%; animation: marquee 14s linear infinite reverse; }
footer { position: absolute; left: 8vw; right: 8vw; bottom: 22px; display: flex; justify-content: space-between; font: 9px DM Mono, monospace; }

.toast { position: fixed; z-index: 130; left: 50%; bottom: 30px; padding: 13px 18px; border: 1px solid var(--paper); background: rgba(5,5,5,.9); font: 11px DM Mono, monospace; transform: translate(-50%, 130px); transition: transform .4s var(--ease); }
.toast.show { transform: translate(-50%, 0); }
.secret-note { position: fixed; z-index: 120; left: 50%; top: 50%; width: min(390px, calc(100vw - 40px)); padding: 34px; background: var(--paper); color: var(--ink); transform: translate(-50%, -50%) rotate(-3deg) scale(.7); opacity: 0; visibility: hidden; box-shadow: 22px 22px 0 rgba(255,255,255,.1); transition: .45s var(--ease); }
.secret-note.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) rotate(-3deg) scale(1); }
.secret-note button { position: absolute; right: 10px; top: 7px; border: 0; background: transparent; font-size: 22px; }
.secret-note span { font: 10px DM Mono, monospace; }
.secret-note p { margin: 25px 0 4px; font: 700 1.6rem/1.15 Inter, sans-serif; text-transform: uppercase; }
body.mirror-mode { filter: invert(1); }

@media (max-width: 900px) {
  body { cursor: auto; }
  button { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none; }
  .site-header { height: 70px; padding: 0 16px; }
  .top-nav { display: none; }
  .brand { margin-right: auto; }
  .brand > span:last-child { display: none; }
  .signal-dial { right: 6px; transform: translateY(-50%) scale(.86); transform-origin: right center; }
  .scene::before { left: 14px; }
  .hero { grid-template-columns: 1fr; padding: 110px 44px 70px 26px; text-align: left; align-content: center; }
  .ticker--top { top: 70px; }
  .hero__copy { padding-top: 55vh; }
  .hero h1 { font-size: clamp(5rem, 25vw, 9rem); }
  .hero__dek, .hero__links { margin-left: 0; }
  .portrait-wrap { position: absolute; top: 110px; right: 13%; width: min(70vw, 430px); }
  .hero__note, .vertical-label { display: none; }
  .story { min-height: 1450px; padding: 120px 52px 80px 24px; }
  .cassette { left: 24px; top: 500px; bottom: auto; width: calc(100vw - 80px); }
  .story-card { left: 24px; right: 52px; bottom: 100px; width: auto; min-height: 530px; padding: 34px 28px; }
  .margin-scribble { display: none; }
  .room { min-height: 1180px; padding: 120px 50px 70px 24px; }
  .room__backdrop { background-position: 65% center; }
  .hotspot--phone { left: 10%; top: 49%; }
  .hotspot--headphones { left: 18%; top: 35%; }
  .hotspot--cross { left: 45%; top: 45%; }
  .hotspot--beanie { left: 7%; top: 28%; }
  .hotspot--mirror { right: 18%; top: 37%; }
  .object-card { right: 48px; top: 54%; }
  .pocket-game { grid-template-columns: 1fr; gap: 18px; left: 24px; right: 52px; bottom: 45px; }
  .charms button { height: 54px; min-width: 54px; }
  .pocket { min-height: 70px; }
  .loop { min-height: 1230px; padding: 120px 50px 80px 24px; }
  .orbit-map { width: calc(100vw - 58px); right: 34px; bottom: 120px; }
  .orbit-map__center { padding: 20px; }
  .orbit-map__center strong { font-size: 2.5rem; }
  .orbit-map__center p { font-size: 9px; }
  .phase b { display: none; }
  .phase { padding-right: 6px; }
  .loop__instruction { left: 24px; bottom: 610px; }
  .loop__footnote { left: 24px; bottom: 40px; font-size: 1rem; }
  .exit { min-height: 1100px; grid-template-columns: 1fr; align-content: center; gap: 55px; padding: 110px 50px 150px 24px; }
  .exit__portrait { width: min(68vw, 430px); }
  .exit__copy { padding-left: 0; }
  footer span:last-child { display: none; }
}

@media (max-width: 520px) {
  .boot__panel { padding: 28px; }
  .header-actions .buy-button span { display: none; }
  .hero__links { align-items: flex-start; flex-direction: column; }
  .portrait-wrap__orbit { display: none; }
  .story { min-height: 1370px; }
  .cassette { top: 440px; aspect-ratio: 1.38; }
  .cassette__window { gap: 28px; }
  .reel { width: 54px; }
  .story-card { min-height: 570px; }
  .object-card { right: 42px; }
  .pocket-game { bottom: 30px; }
  .loop { min-height: 1130px; }
  .orbit-map { bottom: 170px; }
  .orbit-map__center { width: 48%; left: 26%; top: 26%; }
  .orbit-map__center p { display: none; }
  .phase--1 { right: -4%; }
  .phase--4 { left: -4%; }
}

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