:root {
  --ink: #2a211d;
  --ink-2: #49372e;
  --paper: #d9af7c;
  --paper-light: #ead1ab;
  --cream: #eee4d4;
  --blue: #8299a8;
  --blue-dark: #435c6c;
  --sea: #668797;
  --coral: #cc7661;
  --silver: #c7c4ba;
  --shadow: 0 24px 70px rgba(33, 24, 20, .22);
  --radius: 28px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); overflow-x: hidden; }
body.gate-open { overflow: hidden; }
button, a, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; }
::selection { color: var(--cream); background: var(--blue-dark); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 16px; background: var(--cream); transform: translateY(-160%); transition: .2s; }
.skip-link:focus { transform: translateY(0); }

.page-grain, .gate-grain { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .15; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }

.tuning-gate { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; color: var(--cream); background: radial-gradient(circle at 50% 38%, #587385 0, #324854 31%, #201d1c 76%); transition: opacity .8s ease, visibility .8s ease, transform .8s ease; }
.tuning-gate.tuned { opacity: 0; visibility: hidden; transform: scale(1.05); }
.gate-card { width: min(560px, calc(100vw - 34px)); position: relative; text-align: center; padding: 44px 48px 34px; border: 1px solid rgba(238,228,212,.25); border-radius: 38px; background: rgba(31, 29, 27, .58); box-shadow: 0 28px 120px rgba(0,0,0,.38), inset 0 0 40px rgba(255,255,255,.03); backdrop-filter: blur(18px); }
.gate-card::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgba(238,228,212,.14); border-radius: 30px; pointer-events: none; }
.gate-kicker, .gate-label, .gate-foot { font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.gate-kicker { opacity: .66; }
.gate-icon { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; margin: 22px auto 18px; display: block; border: 4px solid rgba(255,255,255,.12); box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.gate-label { margin: 0; opacity: .55; }
.frequency { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 0 0 12px; font-family: var(--serif); font-style: italic; }
.frequency span { font-size: clamp(64px, 12vw, 104px); line-height: 1; letter-spacing: -.07em; }
.frequency small { font-size: 14px; letter-spacing: .15em; }
.gate-dial { width: 100%; height: 42px; appearance: none; background: transparent; cursor: ew-resize; }
.gate-dial::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: repeating-linear-gradient(90deg, rgba(238,228,212,.25) 0 1px, transparent 1px 10px), rgba(238,228,212,.08); }
.gate-dial::-webkit-slider-thumb { appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; border: 5px solid var(--cream); background: var(--coral); box-shadow: 0 0 0 8px rgba(204,118,97,.15), 0 0 30px rgba(204,118,97,.4); }
.gate-status { min-height: 20px; margin: 12px 0 20px; opacity: .66; font-family: var(--serif); font-style: italic; }
.enter-button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border: 0; border-radius: 100px; color: var(--ink); background: var(--paper-light); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; transition: .25s; }
.enter-button:disabled { opacity: .2; cursor: not-allowed; }
.enter-button:not(:disabled):hover { background: white; transform: translateY(-2px); }
.enter-button b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--cream); }
.skip-tune { margin-top: 18px; color: var(--cream); border: 0; background: none; font-size: 10px; letter-spacing: .14em; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; opacity: .6; }
.gate-foot { position: absolute; bottom: 22px; opacity: .42; }
.receiver { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.receiver span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(238,228,212,.22); animation: receiver 7s linear infinite; }
.receiver span:nth-child(1) { left: 10%; animation-delay: -1s; }.receiver span:nth-child(2) { left: 25%; animation-delay: -4s;}.receiver span:nth-child(3) { left: 72%; animation-delay: -2s;}.receiver span:nth-child(4) { left: 88%; animation-delay: -6s;}.receiver span:nth-child(5) { left: 58%; animation-delay: -3s;}
@keyframes receiver { from { top: 110%; transform: scale(.6); } to { top: -10%; transform: scale(2); } }

.cursor-orbit { position: fixed; z-index: 450; width: 28px; height: 28px; border: 1px solid rgba(238,228,212,.7); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); transition: width .18s, height .18s, background .18s; mix-blend-mode: difference; }
.cursor-orbit i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--cream); top: 11px; left: 11px; }
.cursor-orbit.hover { width: 58px; height: 58px; background: rgba(238,228,212,.12); }
.bubble-field { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.bubble { position: absolute; bottom: -30px; width: var(--s); height: var(--s); left: var(--x); border: 1px solid rgba(238,228,212,.36); border-radius: 50%; animation: floatBubble var(--d) linear forwards; box-shadow: inset 2px 2px 4px rgba(255,255,255,.25); }
@keyframes floatBubble { to { transform: translate(var(--drift), -110vh) scale(.35); opacity: 0; } }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 210; background: rgba(255,255,255,.08); }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--coral); }

.topbar { position: fixed; z-index: 200; top: 16px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100vw - 32px)); height: 68px; padding: 8px 10px 8px 14px; border-radius: 100px; display: flex; align-items: center; gap: 24px; color: var(--cream); background: rgba(42,33,29,.72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(20px); box-shadow: 0 12px 50px rgba(0,0,0,.14); transition: .4s; }
.topbar.scrolled { top: 8px; background: rgba(42,33,29,.91); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.brand b { display: block; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { position: relative; padding: 10px 0; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .74; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: .25s; }
.nav a:hover::after { right: 0; }
.header-actions { display: flex; gap: 7px; align-items: center; }
.sound-pill, .round-link, .buy-mini { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: var(--cream); height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sound-pill { border-radius: 100px; padding: 0 15px; gap: 9px; }
.sound-label { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sound-bars { display: flex; height: 14px; gap: 2px; align-items: center; }
.sound-bars i { width: 2px; height: 4px; background: currentColor; }
.sound-pill[aria-pressed="true"] .sound-bars i { animation: bars .7s ease infinite alternate; }.sound-pill[aria-pressed="true"] .sound-bars i:nth-child(2){animation-delay:-.2s}.sound-pill[aria-pressed="true"] .sound-bars i:nth-child(3){animation-delay:-.4s}
@keyframes bars { to { height: 14px; } }
.round-link { width: 46px; border-radius: 50%; font-weight: 800; }
.buy-mini { padding: 0 18px; border: 0; border-radius: 100px; background: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .1em; }

.hero { position: relative; min-height: 100svh; color: var(--cream); overflow: hidden; background: #263b45; }
.hero-world { position: absolute; inset: -4%; background: url('assets/anonymous-whale-world.png') center center / cover no-repeat; transform: scale(1.04); will-change: transform; transition: transform .18s ease-out; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,27,25,.72) 0%, rgba(28,27,25,.35) 36%, transparent 65%), linear-gradient(0deg, rgba(26,23,21,.63), transparent 45%); }
.hero-copy { position: relative; z-index: 3; width: min(1180px, calc(100% - 42px)); margin: auto; padding-top: clamp(160px, 20vh, 230px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--blue-dark); }
h1, h2 { margin: 0; font-family: var(--sans); font-weight: 900; letter-spacing: -.075em; text-transform: uppercase; line-height: .83; }
h1 { font-size: clamp(74px, 11.2vw, 172px); max-width: 910px; text-shadow: 0 10px 40px rgba(0,0,0,.18); }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; text-transform: none; }
h1 em { color: var(--paper-light); }
.ticker-row { display: flex; align-items: center; gap: 25px; margin-top: 26px; }
.ticker { transform: rotate(-2deg); padding: 9px 13px; color: var(--ink); background: var(--paper-light); box-shadow: 4px 5px 0 var(--coral); font-size: 16px; font-weight: 900; letter-spacing: .12em; }
.ticker-row p { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.35; font-style: italic; }
.hero-actions, .finale-actions { display: flex; gap: 10px; align-items: center; margin-top: 40px; }
.primary-button, .paper-button { position: relative; height: 62px; display: inline-flex; align-items: center; justify-content: space-between; border-radius: 100px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; transition: transform .2s, background .2s; }
.primary-button { width: 218px; padding: 0 9px 0 24px; background: var(--coral); color: var(--cream); box-shadow: 0 16px 40px rgba(91,48,37,.28); }
.primary-button b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--paper-light); font-size: 18px; }
.paper-button { padding: 0 26px; border: 1px solid rgba(255,255,255,.36); }
.paper-button:hover { background: rgba(255,255,255,.1); }
.signal-stamp { position: absolute; z-index: 3; right: 4.5vw; bottom: 11vh; width: 146px; height: 146px; border-radius: 50%; border: 1px dashed rgba(238,228,212,.58); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; transform: rotate(8deg); backdrop-filter: blur(3px); animation: stampSpin 24s linear infinite; }
.signal-stamp span, .signal-stamp small { font-size: 8px; letter-spacing: .12em; }.signal-stamp b { margin: 8px 0; font-family: var(--serif); font-size: 24px; }
@keyframes stampSpin { to { transform: rotate(368deg); } }
.hero-hotspot { position: absolute; z-index: 5; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: var(--cream); background: rgba(42,33,29,.28); backdrop-filter: blur(4px); cursor: pointer; animation: pulse 2s ease-in-out infinite; }
.hero-hotspot::after { content: ''; position: absolute; inset: -8px; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; }
.hotspot-one { top: 17%; right: 41%; }.hotspot-two { bottom: 11%; right: 17%; }.hotspot-three { top: 28%; right: 31%; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.whisper { position: absolute; z-index: 6; right: 4vw; top: 49%; max-width: 270px; padding: 16px 18px; border-radius: 3px; color: var(--ink); background: var(--paper-light); font-family: var(--serif); font-size: 13px; font-style: italic; opacity: 0; transform: translateY(10px) rotate(1deg); transition: .3s; box-shadow: var(--shadow); }
.whisper.show { opacity: 1; transform: translateY(0) rotate(-1deg); }
.down-link { position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.down-link i { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-style: normal; animation: bounce 1.8s infinite; }
@keyframes bounce { 50% { transform: translateY(5px); } }

.section-pad { position: relative; padding: 130px max(24px, calc((100vw - 1180px)/2)); }
.section-mark { position: absolute; top: 48px; right: max(24px, calc((100vw - 1180px)/2)); font-size: 9px; font-weight: 800; letter-spacing: .2em; opacity: .42; }
.section-mark.light { color: var(--cream); }
.story { background: var(--cream); }
.story::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 20px; background: repeating-linear-gradient(135deg, var(--ink) 0 9px, var(--paper) 9px 18px); opacity: .14; }
.story-head h2, .room-intro h2, .route-head h2, .secret-copy h2, .finale h2 { font-size: clamp(58px, 8vw, 118px); }
.story-head h2 em { color: var(--blue-dark); }
.story-layout { display: grid; grid-template-columns: minmax(300px, .78fr) 1.22fr; gap: 74px; align-items: center; margin-top: 80px; }
.portrait-card { position: relative; margin: 0; padding: 18px 18px 48px; background: #f5eee2; box-shadow: 0 24px 70px rgba(62,44,34,.22); transform: rotate(-2deg); }
.portrait-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.78) contrast(.96); }
.portrait-card figcaption { padding-top: 17px; font-family: var(--serif); font-size: 12px; font-style: italic; text-align: center; }
.tape { position: absolute; z-index: 3; top: -12px; left: 38%; width: 106px; height: 28px; background: rgba(205,174,132,.68); transform: rotate(3deg); box-shadow: inset 0 0 8px rgba(92,64,42,.08); }
.photo-eye { position: absolute; top: 50%; left: 50%; width: 110px; height: 54px; transform: translate(-50%, -50%); border: 0; background: transparent; color: transparent; cursor: pointer; }
.portrait-card.blink img { animation: photoBlink .45s ease; }
@keyframes photoBlink { 50% { filter: brightness(.35) saturate(.2); transform: scale(.992); } }
.memory-console { display: grid; grid-template-columns: 190px 1fr; gap: 0; }
.memory-tabs { padding-top: 34px; }
.memory-tab { display: block; width: 100%; text-align: left; padding: 17px 14px; border: 0; border-bottom: 1px solid rgba(42,33,29,.16); background: transparent; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; opacity: .42; transition: .25s; }
.memory-tab:hover, .memory-tab.active { padding-left: 3px; opacity: 1; color: var(--blue-dark); }
.memory-tab.active::before { content: '●'; margin-right: 8px; color: var(--coral); }
.memory-paper { position: relative; min-height: 455px; padding: 46px 48px; background: var(--paper-light); box-shadow: var(--shadow); transform: rotate(.6deg); overflow: hidden; }
.memory-paper::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(70,47,34,.07) 1px, transparent 1px); background-size: 100% 29px; pointer-events: none; }
.memory-number { position: absolute; right: 24px; top: 10px; font-family: var(--serif); font-size: 92px; line-height: 1; opacity: .09; }
.memory-kicker, .route-overline { position: relative; font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); }
.memory-paper h3 { position: relative; margin: 10px 0 24px; max-width: 500px; font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 400; line-height: 1.03; }
.memory-paper p:not(.memory-kicker) { position: relative; font-family: var(--serif); font-size: 16px; line-height: 1.62; }
.memory-meta { position: absolute; left: 48px; right: 48px; bottom: 24px; display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .18em; opacity: .42; }
.memory-paper.change { animation: paperChange .4s ease; }
@keyframes paperChange { 50% { transform: rotate(-.5deg) translateY(6px); opacity: .35; } }
.why-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(42,33,29,.24); border-bottom: 1px solid rgba(42,33,29,.24); margin-top: 110px; }
.why-strip article { min-height: 220px; padding: 26px 28px 32px; border-right: 1px solid rgba(42,33,29,.24); }
.why-strip article:last-child { border-right: 0; }
.why-strip article > span { display: block; margin-bottom: 42px; font-family: var(--serif); font-style: italic; color: var(--coral); }
.why-strip b { font-size: 11px; letter-spacing: .13em; }
.why-strip p { margin: 12px 0 0; font-family: var(--serif); font-size: 13px; line-height: 1.5; opacity: .7; }

.signal-room { color: var(--cream); background: #324954; overflow: hidden; }
.room-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(39,55,62,.94), rgba(39,55,62,.69)), url('assets/anonymous-whale-world.png') center / cover fixed; opacity: .62; }
.signal-room::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 20%, rgba(213,173,123,.22), transparent 28%), repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 80px); }
.room-intro, .room-grid, .note-desk { position: relative; z-index: 2; }
.room-intro { max-width: 920px; }
.room-intro h2 em { color: var(--paper-light); }
.room-intro > p:last-child { max-width: 590px; margin: 30px 0 0 auto; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.room-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; margin-top: 80px; }
.phone-shell { max-width: 410px; margin: auto; padding: 15px; border: 2px solid rgba(255,255,255,.2); border-radius: 42px; background: #1f292d; box-shadow: 0 35px 90px rgba(0,0,0,.32), inset 0 0 20px rgba(255,255,255,.03); }
.phone-top { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 8px; letter-spacing: .15em; opacity: .66; }
.phone-top i { font-style: normal; letter-spacing: 2px; }
.message-list { display: grid; gap: 6px; }
.message-list button { width: 100%; display: grid; grid-template-columns: 40px 1fr 15px; gap: 11px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; color: var(--cream); background: rgba(255,255,255,.04); text-align: left; cursor: pointer; transition: .2s; }
.message-list button:hover, .message-list button.active { background: rgba(217,175,124,.16); transform: translateX(5px); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--paper); font-family: var(--serif); font-style: italic; }
.message-list b, .message-list small { display: block; }.message-list b { margin-bottom: 4px; font-size: 8px; letter-spacing: .12em; }.message-list small { font-family: var(--serif); opacity: .7; }
.phone-reply { min-height: 137px; margin-top: 9px; padding: 22px 20px; border-radius: 18px; color: var(--ink); background: var(--paper-light); }
.phone-reply span { font-size: 8px; font-weight: 900; letter-spacing: .16em; color: var(--coral); }.phone-reply p { margin: 12px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.4; }
.phone-reply.replying p { animation: replyIn .38s ease; }
@keyframes replyIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.shuffle-message { width: 100%; margin-top: 9px; padding: 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px 16px 28px 28px; color: var(--cream); background: transparent; font-size: 8px; font-weight: 900; letter-spacing: .14em; cursor: pointer; }
.broadcast-board { min-height: 430px; padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(28,34,36,.66); backdrop-filter: blur(14px); box-shadow: 0 30px 90px rgba(0,0,0,.18); }
.broadcast-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.broadcast-top button { display: flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 100px; color: var(--cream); background: transparent; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.broadcast-top button i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }.broadcast-top button[aria-pressed="true"] i { box-shadow: 0 0 0 6px rgba(204,118,97,.13); animation: pulseDot .8s infinite alternate; }
@keyframes pulseDot { to { opacity: .3; } }
#waveCanvas { width: 100%; height: 210px; display: block; margin: 22px 0 10px; border-radius: 14px; background: rgba(0,0,0,.15); }
.frequency-readout { display: flex; align-items: baseline; gap: 15px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 15px; }
.frequency-readout span { font-family: var(--serif); font-size: 58px; font-style: italic; letter-spacing: -.05em; }.frequency-readout small { font-size: 8px; letter-spacing: .15em; opacity: .56; }
.broadcast-board > p { margin: 12px 0 0; font-family: var(--serif); font-size: 12px; font-style: italic; opacity: .54; }
.note-desk { height: 390px; margin-top: 120px; border: 1px solid rgba(255,255,255,.13); border-radius: 38px; background: rgba(37,31,27,.42); overflow: hidden; box-shadow: inset 0 0 60px rgba(0,0,0,.16); }
.note-desk::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.04) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(255,255,255,.04) 50%, transparent 50.2%); background-size: 50px 50px; }
.desk-copy { position: absolute; left: 38px; bottom: 34px; max-width: 330px; }.desk-copy span { font-size: 8px; font-weight: 900; letter-spacing: .2em; color: var(--paper); }.desk-copy h3 { margin: 8px 0; font-family: var(--serif); font-size: 30px; font-weight: 400; }.desk-copy p { margin: 0; font-family: var(--serif); font-size: 13px; line-height: 1.5; opacity: .68; }
.drag-note { position: absolute; width: 118px; height: 102px; padding: 10px; border: 0; color: var(--ink); background: var(--paper-light); box-shadow: 7px 12px 24px rgba(0,0,0,.18); font-family: var(--serif); font-size: 18px; font-style: italic; cursor: grab; touch-action: none; transform: rotate(var(--r)); user-select: none; }
.drag-note:active { cursor: grabbing; z-index: 10; }.drag-note::before { content: ''; position: absolute; top: -8px; left: 34px; width: 50px; height: 18px; background: rgba(210,178,133,.55); }
.note-a { left: 47%; top: 48px; --r:-5deg; }.note-b { left: 60%; top: 192px; --r:3deg; }.note-c { left: 72%; top: 62px; --r:7deg; }.note-d { right: 6%; top: 205px; --r:-4deg; }.note-e { left: 39%; top: 220px; --r:2deg; }

.route { min-height: 1100px; background: #d9c9af; overflow: hidden; }
.route::before { content: ''; position: absolute; width: 700px; height: 700px; right: -220px; top: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(104,134,150,.38), transparent 68%); }
.route-head { position: relative; z-index: 2; max-width: 970px; }
.route-head h2 em { color: var(--blue-dark); }
.route-head > p:last-child { max-width: 530px; margin: 28px 0 0 auto; font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.route-machine { position: relative; width: min(1000px, 100%); height: 650px; margin: 75px auto 0; }
.orbit-lines { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit-lines i { position: absolute; width: 84%; height: 70%; border: 1px dashed rgba(42,33,29,.25); border-radius: 50%; transform: rotate(-8deg); }.orbit-lines i:nth-child(2){ width:65%;height:91%;transform:rotate(34deg);border-style:solid;opacity:.33}.orbit-lines i:nth-child(3){width:96%;height:42%;transform:rotate(17deg)}
.route-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 42px; }
.route-dial { position: relative; flex: 0 0 210px; height: 210px; border-radius: 50%; outline: none; cursor: grab; touch-action: none; transform: rotate(var(--dial-rotation, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.route-dial:active { cursor: grabbing; }.route-dial:focus-visible { box-shadow: 0 0 0 4px var(--coral); }
.dial-teeth { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(var(--ink) 0 2deg, transparent 2deg 10deg); mask: radial-gradient(transparent 62%, #000 63%); opacity: .34; }
.dial-face { position: absolute; inset: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 9px rgba(255,255,255,.06), 0 20px 45px rgba(42,33,29,.24); }
.dial-face img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }.dial-face span { position: absolute; bottom: 21px; color: var(--cream); text-align: center; font-size: 7px; font-weight: 800; letter-spacing: .15em; }
.route-card { width: min(420px, 43vw); min-height: 310px; padding: 34px 38px; background: var(--cream); box-shadow: var(--shadow); transform: rotate(1deg); }
.route-card.route-change { animation: routeChange .4s ease; }
@keyframes routeChange { 50% { opacity: .3; transform: translateX(12px) rotate(2deg); } }
.route-time { font-family: var(--serif); font-size: 54px; font-style: italic; color: var(--blue-dark); }.route-overline { display: block; margin-top: 4px; }
.route-card h3 { margin: 12px 0 13px; font-size: 23px; letter-spacing: -.03em; }.route-card > p:last-of-type { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.5; }
.route-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; border-top: 1px solid rgba(42,33,29,.14); padding-top: 14px; }.route-controls button { width: 38px; height: 38px; border: 1px solid rgba(42,33,29,.2); border-radius: 50%; background: transparent; cursor: pointer; }.route-controls span { font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.route-node { position: absolute; z-index: 5; width: 118px; height: 118px; padding: 15px; border: 1px solid rgba(42,33,29,.34); border-radius: 50%; background: rgba(234,209,171,.52); backdrop-filter: blur(6px); cursor: pointer; transition: .3s; }.route-node::after { content: ''; position: absolute; inset: 7px; border: 1px dashed rgba(42,33,29,.18); border-radius: 50%; }.route-node span, .route-node b { position: relative; z-index: 2; display: block; }.route-node span { margin-bottom: 7px; font-family: var(--serif); font-style: italic; color: var(--coral); }.route-node b { font-size: 8px; letter-spacing: .12em; }.route-node:hover, .route-node.active { color: var(--cream); background: var(--blue-dark); transform: scale(1.08) rotate(-3deg); box-shadow: 0 15px 35px rgba(67,92,108,.28); }
.node-0 { left: 3%; top: 23%; }.node-1 { left: 19%; bottom: 3%; }.node-2 { right: 14%; bottom: 2%; }.node-3 { right: 1%; top: 22%; }.node-4 { left: 46%; top: 0; }

.box-secret { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; color: var(--cream); background: var(--ink); overflow: hidden; }
.box-secret::before { content: ''; position: absolute; width: 640px; height: 640px; right: -90px; border: 1px dashed rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.02), 0 0 0 180px rgba(255,255,255,.015); }
.secret-copy { position: relative; z-index: 2; }.secret-copy h2 em { color: var(--paper); }.secret-copy > p:last-of-type { max-width: 520px; margin: 28px 0; font-family: var(--serif); font-size: 17px; line-height: 1.55; opacity: .72; }
.secret-choice { display: flex; flex-wrap: wrap; gap: 7px; }.secret-choice button { padding: 12px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; color: var(--cream); background: transparent; font-size: 9px; font-weight: 800; letter-spacing: .13em; cursor: pointer; }.secret-choice button.active { color: var(--ink); background: var(--paper); }
.paper-box { position: relative; z-index: 2; width: min(450px, 41vw); aspect-ratio: 1.08; border: 0; background: transparent; cursor: pointer; perspective: 1000px; }
.box-face { position: absolute; inset: 19% 2% 0; display: block; background: linear-gradient(105deg, #d1a36f, #e2ba86 48%, #bb8958); box-shadow: 0 34px 70px rgba(0,0,0,.3); clip-path: polygon(7% 0, 92% 2%, 100% 88%, 11% 100%, 0 15%); }
.box-flap { position: absolute; z-index: 3; top: 4%; left: 6%; width: 88%; height: 33%; transform-origin: 50% 100%; background: linear-gradient(#e1b985, #c99863); clip-path: polygon(0 47%, 45% 0, 100% 45%, 93% 100%, 7% 96%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.paper-box.open .box-flap { transform: rotateX(150deg); }
.box-face i { position: absolute; top: 33%; width: 19%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 62% 28%, white 0 5%, #7b8e99 7% 15%, #211a19 18% 55%, #0e0b0a 58%); box-shadow: inset 0 0 0 8px rgba(42,33,29,.12); }.box-face i:first-child{left:24%}.box-face i:nth-child(2){right:22%}
.box-face b { position: absolute; left: 45%; top: 61%; width: 13%; height: 7%; border-bottom: 5px solid var(--ink); border-radius: 50%; }.box-face em { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%) rotate(-2deg); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .18em; opacity: .42; }
.box-message { position: absolute; z-index: 1; left: 12%; right: 12%; top: 23%; min-height: 150px; padding: 34px 24px; color: var(--ink); background: var(--cream); font-family: var(--serif); font-size: clamp(18px, 2.1vw, 27px); font-style: italic; line-height: 1.25; box-shadow: 0 20px 40px rgba(0,0,0,.25); transition: transform .75s .1s, opacity .4s; opacity: 0; }.paper-box.open .box-message { opacity: 1; transform: translateY(-85%); }

.finale { position: relative; height: 100svh; min-height: 650px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--cream); overflow: hidden; }
.finale-image { position: absolute; inset: 0; background: url('assets/anonymous-whale-world.png') center / cover; transform: scale(1.03); }.finale-cover { position: absolute; inset: 0; background: rgba(30,29,26,.58); backdrop-filter: blur(3px); }.finale-copy { position: relative; z-index: 2; }.finale-copy > p { font-size: 9px; font-weight: 800; letter-spacing: .22em; }.finale h2 { text-shadow: 0 10px 40px rgba(0,0,0,.3); }.finale h2 em { color: var(--paper-light); }.finale-actions { justify-content: center; }.paper-button.light { border-color: rgba(255,255,255,.4); }
footer { position: absolute; z-index: 3; bottom: 24px; left: 28px; right: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 8px; font-weight: 800; letter-spacing: .16em; }footer button { color: inherit; border: 0; background: transparent; font-size: inherit; font-weight: inherit; letter-spacing: inherit; cursor: pointer; opacity: .62; }

.toast { position: fixed; z-index: 300; left: 50%; bottom: 30px; max-width: min(480px, calc(100vw - 32px)); padding: 14px 20px; border-radius: 100px; color: var(--cream); background: rgba(42,33,29,.92); border: 1px solid rgba(255,255,255,.14); font-family: var(--serif); font-size: 13px; text-align: center; opacity: 0; transform: translate(-50%, 18px); transition: .3s; pointer-events: none; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.click-ripple { position: fixed; z-index: 290; width: 10px; height: 10px; border: 1px solid rgba(238,228,212,.72); border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); animation: clickRipple .65s ease-out forwards; }@keyframes clickRipple { to { width: 110px; height: 110px; opacity: 0; } }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }.reveal.visible { opacity: 1; transform: none; }

body.deep-mode { --coral: #9acbd6; --paper: #93b1bf; --paper-light: #c5dde0; background: #111b20; }.deep-mode .hero-world, .deep-mode .finale-image { filter: hue-rotate(20deg) saturate(.8) brightness(.66); }.deep-mode .page-grain { opacity: .3; }.deep-mode .topbar { box-shadow: 0 0 35px rgba(145,196,209,.22); }

@media (max-width: 960px) {
  .cursor-orbit { display: none; }
  .nav { display: none; }
  .topbar { gap: 8px; }.header-actions { margin-left: auto; }.sound-label { display: none; }.sound-pill { width: 46px; padding: 0; }
  .hero-wash { background: linear-gradient(0deg, rgba(28,27,25,.82), rgba(28,27,25,.05) 78%), linear-gradient(90deg, rgba(28,27,25,.4), transparent); }
  .hero-copy { padding-top: 52vh; }.signal-stamp { top: 17%; bottom: auto; right: 5vw; width: 112px; height: 112px; }.hero-hotspot { display: none; }
  .story-layout { grid-template-columns: 1fr; gap: 50px; }.portrait-card { width: min(560px, 100%); margin: auto; }.memory-console { grid-template-columns: 1fr; }.memory-tabs { display: flex; overflow-x: auto; padding: 0; }.memory-tab { min-width: 175px; }.why-strip { grid-template-columns: 1fr 1fr; }.why-strip article:nth-child(2){border-right:0}.why-strip article:nth-child(-n+2){border-bottom:1px solid rgba(42,33,29,.24)}
  .room-grid { grid-template-columns: 1fr; }.phone-shell { width: 100%; }.note-desk { height: 500px; }.note-a{left:10%}.note-b{left:55%}.note-c{right:8%;left:auto}.note-d{right:10%;top:310px}.note-e{left:39%;top:300px}
  .route-machine { height: 820px; }.route-center { flex-direction: column; gap: 24px; }.route-card { width: min(470px, 86vw); }.node-0{left:0;top:14%}.node-1{left:4%;bottom:4%}.node-2{right:4%;bottom:2%}.node-3{right:0;top:15%}.node-4{left:calc(50% - 59px);top:0}
  .box-secret { grid-template-columns: 1fr; gap: 30px; }.paper-box { width: min(480px, 85vw); margin: auto; }
}

@media (max-width: 620px) {
  .gate-card { padding: 32px 24px 25px; }.gate-foot { display:none; }
  .topbar { width: calc(100vw - 18px); top: 9px; }.brand span { display: none; }.buy-mini { padding: 0 13px; }.round-link { display: none; }
  .hero { min-height: 790px; }.hero-world { background-position: 63% center; }.hero-copy { width: calc(100% - 28px); padding-top: 420px; }.hero-actions, .finale-actions { align-items: stretch; flex-direction: column; }.primary-button, .paper-button { width: 100%; }.paper-button { justify-content: center; }.ticker-row { align-items: flex-start; }.signal-stamp { width: 88px; height: 88px; top: 13%; }.signal-stamp b { font-size:16px;margin:4px}.signal-stamp span,.signal-stamp small{font-size:6px}.down-link { display: none; }
  .section-pad { padding: 100px 16px; }.section-mark { top: 34px; right: 16px; }.story-head h2, .room-intro h2, .route-head h2, .secret-copy h2, .finale h2 { font-size: clamp(46px, 15vw, 70px); }.story-layout { margin-top: 50px; }.portrait-card { padding: 12px 12px 40px; }.memory-paper { min-height: 590px; padding: 34px 25px; }.memory-meta { left: 25px; right: 25px; }.why-strip { grid-template-columns: 1fr; margin-top:70px}.why-strip article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(42,33,29,.24); }.why-strip article:last-child{border-bottom:0}.why-strip article > span{margin-bottom:20px}
  .room-intro > p:last-child, .route-head > p:last-child { margin-left: 0; }.room-grid { margin-top: 50px; gap: 35px; }.phone-shell { padding: 9px; border-radius: 30px; }.broadcast-board { padding: 18px; min-height: 390px; }.frequency-readout span { font-size: 46px; }.note-desk { margin-top: 70px; height: 560px; }.desk-copy { left: 24px; right: 24px; bottom: 20px; }.drag-note{width:96px;height:82px;font-size:15px}.note-a{left:7%;top:45px}.note-b{left:37%;top:150px}.note-c{right:5%;top:40px}.note-d{right:7%;top:255px}.note-e{left:8%;top:270px}
  .route { min-height: 1130px; }.route-machine { margin-top: 55px; height: 760px; }.route-dial { flex-basis: 160px; width:160px;height:160px}.dial-face{inset:19px}.dial-face img{width:60px;height:60px}.route-card { padding: 28px 25px; }.route-node { width: 92px; height: 92px; padding: 9px; }.route-node b{font-size:6px}.node-0{top:5%}.node-1{left:0;bottom:7%}.node-2{right:0;bottom:3%}.node-3{top:7%}.node-4{left:calc(50% - 46px);top:-6%}.orbit-lines i { width: 98%; height: 74%; }
  .box-secret { min-height: 880px; }.secret-choice button { flex: 1; padding: 12px 8px; }.paper-box { width: 96vw; margin-left: -12px; }.box-message { font-size: 18px; }.paper-box.open .box-message { transform: translateY(-72%); }
  .finale { min-height: 720px; }.finale-image { background-position: 65% center; }.finale-copy { width: calc(100% - 28px); }footer { left: 16px; right: 16px; flex-wrap: wrap; gap: 10px; }footer span:nth-child(2){display:none}
}

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