:root {
  --navy: #062f4f;
  --deep: #021f35;
  --blue: #075b78;
  --turq: #17c3b2;
  --mint: #9ef0d7;
  --green: #1e5b3a;
  --yellow: #f8d45b;
  --coral: #ff6b5e;
  --sand: #f4d9a6;
  --ink: #032238;
  --white: #fff9ed;
  --line: rgba(244, 217, 166, .32);
  --chapter: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--deep);
  font-family: "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
button, a, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--coral); color: var(--deep); }

.noise {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .075; mix-blend-mode: soft-light;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.cursor { position: fixed; width: 34px; height: 34px; border: 1px solid var(--sand); border-radius: 50%; z-index: 100; pointer-events: none; transform: translate(-50%, -50%); transition: width .2s, height .2s, background .2s; mix-blend-mode: difference; }
.cursor span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: white; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cursor.hover { width: 58px; height: 58px; background: rgba(255,255,255,.12); }

.topbar {
  position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 3vw; border-bottom: 1px solid rgba(255,255,255,.14); transition: background .35s, backdrop-filter .35s;
}
.topbar.scrolled { background: rgba(2,31,53,.74); backdrop-filter: blur(14px); }
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; border: 0; background: none; color: var(--white); font-weight: 900; letter-spacing: .07em; cursor: pointer; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--deep); background: var(--yellow); border: 2px solid var(--deep); border-radius: 48% 52% 45% 55%; box-shadow: 2px 2px 0 var(--coral); transform: rotate(-7deg); font-family: Georgia, serif; font-size: 25px; }
.topbar nav { display: flex; align-items: center; gap: 28px; }
.topbar nav button { border: 0; padding: 12px 0; background: none; color: var(--white); cursor: pointer; font-size: .78rem; font-weight: 800; letter-spacing: .1em; opacity: .76; transition: opacity .2s, transform .2s; }
.topbar nav button:hover { opacity: 1; transform: translateY(-2px); }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.sound-toggle { display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.sound-bars { display: flex; align-items: center; gap: 2px; height: 16px; }
.sound-bars i { width: 2px; height: 6px; background: var(--turq); transition: height .2s; }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: equalize .7s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.32s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.51s; }
@keyframes equalize { to { height: 16px; } }

.pill { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 2px solid var(--deep); border-radius: 999px; box-shadow: 3px 3px 0 var(--deep); font-size: .78rem; font-weight: 950; letter-spacing: .07em; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.pill:hover { transform: translate(-1px,-2px); box-shadow: 5px 6px 0 var(--deep); }
.pill-coral { background: var(--coral); color: var(--deep); }
.pill-sand { background: var(--sand); color: var(--deep); }
.pill-ghost { width: 45px; padding: 0; color: var(--white); background: rgba(6,47,79,.4); border-color: rgba(255,255,255,.5); box-shadow: none; }

.snap-section { position: relative; min-height: 100svh; overflow: hidden; }
.hero { background: var(--navy); }
.hero-art { position: absolute; inset: 0; background: url("assets/paid-island-world.png") 50% 50% / cover no-repeat; transform: scale(1.025); transition: filter .8s; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,25,43,.93) 0%, rgba(1,25,43,.68) 28%, rgba(1,25,43,.04) 61%), linear-gradient(0deg, rgba(1,25,43,.44), transparent 48%); }
.hero-copy { position: absolute; z-index: 3; left: 7vw; top: 20%; width: min(610px, 47vw); }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 16px; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.eyebrow span:first-child, .section-kicker span:first-child { color: var(--yellow); }
.eyebrow span + span::before, .section-kicker span + span::before { content: ""; display: inline-block; width: 36px; margin: 0 15px 3px 0; border-top: 1px solid currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 25px 0 18px; color: var(--sand); font-family: Georgia, "Times New Roman", serif; font-size: clamp(5rem, 10vw, 9.3rem); line-height: .72; letter-spacing: -.075em; text-shadow: 5px 6px 0 rgba(2,31,53,.8); }
h1 em { position: relative; left: .08em; color: var(--turq); font-weight: inherit; }
.hero-lede { max-width: 490px; font-family: Georgia, serif; font-size: clamp(1.1rem, 1.6vw, 1.42rem); line-height: 1.5; }
.hero-cta { display: flex; align-items: center; gap: 25px; margin-top: 32px; }
.text-button { border: 0; background: none; padding: 12px 0; color: var(--white); font-weight: 900; font-size: .78rem; letter-spacing: .1em; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.5); }
.blink { color: var(--coral); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .18; } }

.signal-card { position: absolute; z-index: 3; right: 4vw; bottom: 7vh; width: 320px; padding: 16px; background: rgba(244,217,166,.93); color: var(--deep); border: 2px solid var(--deep); box-shadow: 8px 9px 0 rgba(2,31,53,.85); transform: rotate(1.4deg); }
.signal-card-head { display: flex; justify-content: space-between; gap: 10px; font-size: .68rem; font-weight: 950; letter-spacing: .07em; }
.waveform { height: 42px; display: flex; gap: 4px; align-items: center; margin: 12px 0 7px; border-block: 1px dashed rgba(2,31,53,.36); overflow: hidden; }
.waveform i { flex: 1; height: 25%; background: var(--coral); animation: wave .9s ease-in-out infinite alternate; }
.waveform i:nth-child(2n) { animation-duration: .6s; }.waveform i:nth-child(3n) { animation-duration: 1.2s; }.waveform i:nth-child(4n) { animation-delay: -.7s; }
@keyframes wave { to { height: 86%; } }
.signal-card p { min-height: 42px; margin: 0 0 12px; font-family: Georgia, serif; font-weight: 700; line-height: 1.25; }
.signal-card label { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 900; }
.signal-card input { width: 100%; accent-color: var(--coral); cursor: ew-resize; }
.float-tag { position: absolute; z-index: 4; border: 1px solid rgba(255,255,255,.58); padding: 8px 10px; background: rgba(2,31,53,.62); backdrop-filter: blur(5px); color: white; font-size: .63rem; font-weight: 900; letter-spacing: .08em; cursor: pointer; animation: float 3.4s ease-in-out infinite; }
.tag-phone { top: 18%; right: 34%; transform: rotate(-3deg); }
.tag-cross { top: 27%; right: 13%; animation-delay: -1.7s; transform: rotate(3deg); }
@keyframes float { 50% { translate: 0 -10px; } }
.scroll-cue { position: absolute; z-index: 3; bottom: 26px; left: 3vw; display: flex; align-items: center; gap: 12px; font-size: .62rem; font-weight: 900; letter-spacing: .14em; writing-mode: vertical-rl; }
.scroll-cue i { height: 48px; border-left: 1px solid white; position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; width: 3px; height: 12px; background: var(--yellow); left: -2px; top: -14px; animation: drift 1.8s linear infinite; }
@keyframes drift { to { top: 52px; } }

.story { padding: 130px 7vw 70px; color: var(--deep); background: var(--sand); }
.story::before { content: ""; position: absolute; width: 450px; height: 450px; border: 90px solid rgba(23,195,178,.15); border-radius: 50%; right: -170px; top: -190px; }
.story .section-kicker span:first-child { color: var(--coral); }
.story-stage { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(340px, .7fr); gap: 3vw; align-items: center; min-height: 70vh; }
.story-index { align-self: start; margin-top: 80px; display: flex; align-items: flex-end; gap: 5px; color: var(--coral); }
.story-index span { font-family: Georgia, serif; font-size: 4rem; line-height: 1; }
.story-index b { margin-bottom: 6px; font-size: .8rem; }
.story-copy-wrap { position: relative; min-height: 470px; display: flex; flex-direction: column; justify-content: center; }
.story-panel { position: absolute; inset-inline: 0; top: 44%; transform: translateY(-44%) translateX(45px); opacity: 0; visibility: hidden; transition: opacity .45s, transform .55s, visibility .55s; }
.story-panel.active { transform: translateY(-44%) translateX(0); opacity: 1; visibility: visible; }
.chapter-label { color: var(--blue); font-size: .72rem; font-weight: 950; letter-spacing: .12em; }
.story h2, .relics h2, .route h2, .offering h2, .finale h2 { margin: 12px 0 24px; font-family: Georgia, serif; font-size: clamp(3.2rem, 6vw, 6.7rem); line-height: .9; letter-spacing: -.055em; }
.story-panel > p:last-child { max-width: 680px; font-family: Georgia, serif; font-size: clamp(1.05rem, 1.6vw, 1.34rem); line-height: 1.62; }
.story-panel strong { padding: 0 .16em; background: var(--yellow); }
.story-controls { position: absolute; bottom: 0; left: 0; right: 2vw; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.round-button { width: 52px; height: 52px; border: 2px solid var(--deep); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.25rem; transition: background .2s, transform .2s; }
.round-button:hover { background: var(--yellow); transform: rotate(-8deg); }
.story-progress { height: 6px; background: rgba(2,31,53,.16); overflow: hidden; }
.story-progress i { display: block; width: 25%; height: 100%; background: var(--coral); transition: width .45s; }
.archive-card { margin: 0; padding: 12px 12px 16px; background: var(--white); border: 2px solid var(--deep); box-shadow: 11px 13px 0 var(--turq); transform: rotate(1.8deg); }
.archive-window { aspect-ratio: 1/1; overflow: hidden; background: var(--navy); filter: saturate(.2) contrast(1.18); transition: filter 1.8s; }
.archive-window img { display: block; width: 100%; height: 100%; object-fit: cover; }
.archive-card.developed .archive-window { filter: saturate(1) contrast(1); }
.archive-card figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; font-size: .58rem; font-weight: 900; letter-spacing: .07em; }
.scrub-photo { width: 100%; margin-top: 12px; padding: 11px; border: 1px dashed var(--deep); background: var(--yellow); color: var(--deep); font-size: .68rem; font-weight: 900; letter-spacing: .08em; cursor: pointer; }

.relics { padding: 125px 7vw 80px; color: var(--white); background: var(--green); }
.relics::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background: repeating-linear-gradient(14deg, transparent 0 45px, rgba(158,240,215,.45) 46px 47px); }
.relics-head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.relics-head p { max-width: 330px; font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.45; }
.relic-deck { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 35px; }
.relic-card { position: relative; min-height: 280px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; border: 2px solid var(--deep); color: var(--deep); text-align: left; cursor: pointer; box-shadow: 6px 7px 0 var(--deep); transition: transform .25s, box-shadow .25s, filter .25s; }
.relic-card:hover, .relic-card.active { transform: translateY(-13px) rotate(-1deg); box-shadow: 10px 15px 0 var(--deep); filter: saturate(1.18); }
.relic-card.coral { background: var(--coral); }.relic-card.seafoam { background: var(--mint); }.relic-card.yellow { background: var(--yellow); }.relic-card.blue { background: #78c8e5; }
.relic-icon { position: absolute; top: 22px; right: 22px; font-family: Georgia, serif; font-size: 6.5rem; font-weight: 700; line-height: .7; opacity: .7; transform: rotate(7deg); }
.relic-no { position: absolute; top: 22px; left: 22px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.relic-card b { font-family: Georgia, serif; font-size: 1.5rem; }
.relic-card small { margin-top: 9px; font-size: .75rem; font-weight: 800; line-height: 1.35; }
.memory-console { position: relative; margin-top: 28px; min-height: 86px; display: grid; grid-template-columns: 145px 1fr 180px; align-items: center; gap: 20px; padding: 15px 20px; border: 1px solid rgba(255,255,255,.48); background: rgba(2,31,53,.36); }
.console-stamp, .memory-console > span:last-child { font-size: .68rem; font-weight: 950; letter-spacing: .1em; }
.memory-console p { margin: 0; font-family: Georgia, serif; font-size: 1.08rem; }
.memory-meter { position: absolute; left: 165px; right: 200px; bottom: 8px; height: 2px; background: rgba(255,255,255,.22); }
.memory-meter i { display: block; width: 0; height: 100%; background: var(--yellow); transition: width .8s; }

.route { padding: 125px 7vw 70px; color: var(--deep); background: var(--mint); }
.route .section-kicker span:first-child { color: var(--blue); }
.route-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.route-title p { max-width: 390px; font-family: Georgia, serif; font-size: 1.16rem; line-height: 1.45; }
.map-shell { position: relative; height: 480px; margin-top: -25px; border-block: 2px solid var(--deep); background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.42), transparent 54%); }
.current-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.current-lines path { fill: none; }
.route-shadow { stroke: rgba(2,31,53,.13); stroke-width: 26; stroke-linecap: round; }
.route-line { stroke: var(--blue); stroke-width: 4; }
.route-dash { stroke: var(--white); stroke-width: 2; stroke-dasharray: 7 14; animation: currentFlow 8s linear infinite; }
@keyframes currentFlow { to { stroke-dashoffset: -210; } }
.map-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: start; min-width: 140px; border: 0; background: none; color: var(--deep); text-align: left; cursor: pointer; z-index: 2; }
.map-node i { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 6px; border: 2px solid var(--deep); border-radius: 50%; background: var(--sand); box-shadow: 3px 3px 0 var(--deep); font-style: normal; font-size: .7rem; font-weight: 950; transition: background .2s, transform .2s; }
.map-node:hover i, .map-node.active i { background: var(--coral); transform: scale(1.12) rotate(-8deg); }
.map-node b { font-family: Georgia, serif; font-size: .95rem; }.map-node small { font-weight: 800; font-size: .65rem; }
.skiff { position: absolute; left: 7%; top: 77%; z-index: 3; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: 2px solid var(--deep); box-shadow: 3px 3px 0 var(--coral); transition: left .8s cubic-bezier(.22,.9,.32,1.18), top .8s cubic-bezier(.22,.9,.32,1.18); pointer-events: none; }
.skiff span { transform: rotate(-18deg); }
.map-readout { position: absolute; z-index: 4; right: 2%; bottom: 4%; width: min(360px, 34%); padding: 18px; color: var(--white); background: var(--deep); border: 2px solid var(--deep); box-shadow: 7px 8px 0 var(--coral); }
.map-readout > span { color: var(--yellow); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.map-readout h3 { margin: 8px 0; font-family: Georgia, serif; font-size: 2rem; }
.map-readout p { margin-bottom: 15px; line-height: 1.4; }
.coordinates { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); font-size: .6rem; font-weight: 900; }

.offering { display: grid; grid-template-columns: .85fr 1.15fr; color: var(--deep); background: var(--yellow); }
.offering-copy { padding: 130px 6vw 70px 7vw; display: flex; flex-direction: column; justify-content: center; }
.offering .section-kicker span:first-child { color: var(--coral); }
.offering-copy > p { max-width: 510px; font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.5; }
.offering-machine { display: flex; flex-direction: column; justify-content: center; padding: 120px 7vw 70px 6vw; background: var(--blue); color: var(--white); clip-path: polygon(8% 0,100% 0,100% 100%,0 100%); }
.offering-machine > p { font-size: .78rem; font-weight: 950; letter-spacing: .12em; }
.offering-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offering-options button { min-height: 58px; border: 1px solid var(--sand); background: transparent; color: var(--sand); cursor: pointer; font-size: .75rem; font-weight: 900; letter-spacing: .07em; transition: background .2s, color .2s, transform .2s; }
.offering-options button:hover, .offering-options button.active { background: var(--sand); color: var(--deep); transform: rotate(-1deg); }
.receipt { position: relative; min-height: 220px; margin-top: 24px; padding: 26px; overflow: hidden; background: var(--white); color: var(--deep); clip-path: polygon(0 0, 100% 0, 100% 95%, 96% 100%, 92% 95%, 88% 100%, 84% 95%, 80% 100%, 76% 95%, 72% 100%, 68% 95%, 64% 100%, 60% 95%, 56% 100%, 52% 95%, 48% 100%, 44% 95%, 40% 100%, 36% 95%, 32% 100%, 28% 95%, 24% 100%, 20% 95%, 16% 100%, 12% 95%, 8% 100%, 4% 95%, 0 100%); }
.receipt-top { font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.receipt strong { display: block; max-width: 70%; margin: 28px 0 8px; font-family: Georgia, serif; font-size: 1.75rem; text-transform: uppercase; }
.receipt p { max-width: 70%; line-height: 1.4; }
.paid-stamp { position: absolute; right: 20px; bottom: 38px; padding: 6px 10px; color: var(--coral); border: 4px solid var(--coral); border-radius: 5px; font-family: Georgia, serif; font-size: 2.2rem; transform: rotate(-13deg) scale(1.8); opacity: 0; transition: transform .5s cubic-bezier(.2,1.6,.4,1), opacity .2s; }
.receipt.done .paid-stamp { transform: rotate(-13deg) scale(1); opacity: .8; }

.finale { display: grid; place-items: center; background: var(--deep); text-align: center; }
.finale-bg { position: absolute; inset: 0; background: linear-gradient(rgba(2,31,53,.38),rgba(2,31,53,.72)), url("assets/paid-island-world.png") 50% 52% / cover; filter: saturate(.9); transform: scale(1.08); }
.finale-copy { position: relative; z-index: 2; }
.finale-copy > p { color: var(--yellow); font-size: .75rem; font-weight: 900; letter-spacing: .15em; }
.finale h2 { font-size: clamp(4rem, 8vw, 9rem); text-shadow: 6px 7px 0 var(--deep); }
.finale-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.marquee { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 52px; display: flex; align-items: center; overflow: hidden; color: var(--deep); background: var(--turq); border-block: 2px solid var(--deep); font-family: Georgia, serif; font-weight: 900; white-space: nowrap; }
.marquee div { animation: marquee 20s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }

.section-rail { position: fixed; z-index: 70; right: 12px; top: 50%; display: grid; gap: 8px; transform: translateY(-50%); }
.section-rail button { width: 36px; height: 30px; border: 0; border-right: 2px solid rgba(255,255,255,.35); background: none; color: white; cursor: pointer; opacity: .55; font-size: .6rem; font-weight: 900; transition: opacity .2s, border-color .2s, width .2s; }
.section-rail button.active { width: 44px; border-color: var(--yellow); opacity: 1; }

.transmission { width: min(680px, calc(100vw - 30px)); padding: 50px; color: var(--white); background: var(--deep); border: 2px solid var(--sand); box-shadow: 14px 16px 0 var(--coral); }
.transmission::backdrop { background: rgba(2,31,53,.76); backdrop-filter: blur(9px); }
.transmission-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: var(--sand); font-size: 2rem; cursor: pointer; }
.transmission-label { color: var(--turq); font-size: .7rem; font-weight: 900; letter-spacing: .13em; }
.transmission h2 { margin: 20px 0; font-family: Georgia, serif; font-size: clamp(2.3rem,5vw,4.6rem); line-height: .92; }
.transmission p { font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.55; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translate(-50%, 30px); padding: 12px 18px; color: var(--deep); background: var(--yellow); border: 2px solid var(--deep); box-shadow: 4px 5px 0 var(--coral); font-size: .72rem; font-weight: 900; letter-spacing: .08em; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.bubble { position: fixed; z-index: 60; width: 9px; height: 9px; border: 1px solid var(--mint); border-radius: 50%; pointer-events: none; animation: bubbleUp .9s ease-out forwards; }
@keyframes bubbleUp { to { transform: translateY(-45px) scale(.15); opacity: 0; } }
.confetti { position: fixed; z-index: 110; width: 8px; height: 14px; pointer-events: none; animation: confetti .9s ease-out forwards; }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(360deg); opacity: 0; } }

body[data-tide="dusk"] .hero-art { filter: hue-rotate(10deg) saturate(.8) brightness(.68); }
body[data-tide="dawn"] .hero-art { filter: saturate(.86) brightness(.9) sepia(.1); }
body.storm .hero-art { animation: storm 1.2s steps(2) infinite; filter: hue-rotate(150deg) contrast(1.4); }
@keyframes storm { 50% { transform: scale(1.04) translate(-8px,5px); } }

.reveal { opacity: 0; transform: translateY(25px); animation: reveal .8s .15s ease forwards; }
.signal-card.reveal { animation-delay: .4s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; }.topbar nav { display: none; }
  .sound-label { display: none; }
  .hero-copy { width: 58vw; left: 5vw; }.signal-card { right: 3vw; width: 280px; }
  .story-stage { grid-template-columns: 70px minmax(0,1fr) minmax(300px,.65fr); }
  .relic-deck { grid-template-columns: 1fr 1fr; }.relic-card { min-height: 230px; }
}

@media (max-width: 760px) {
  .cursor { display: none; }
  .topbar { height: 68px; padding: 0 14px; }.brand { font-size: .75rem; }.brand-mark { width: 32px; height: 32px; }.sound-toggle { display: none; }.pill { min-height: 40px; padding: 0 14px; }.top-actions .pill-coral { font-size: 0; }.top-actions .pill-coral::after { content: "BUY"; font-size: .72rem; }.pill-ghost { width: 40px; }
  .section-rail, .float-tag, .scroll-cue { display: none; }
  .hero { min-height: 1040px; }.hero-art { inset: 0 0 auto; height: 46svh; min-height: 360px; max-height: 430px; background-position: 68% 50%; }.hero-shade { background: linear-gradient(0deg,var(--deep) 38%,rgba(2,31,53,.06) 72%); }
  .hero-copy { top: 400px; left: 20px; width: calc(100% - 40px); }.eyebrow span + span { display: none; }h1 { font-size: clamp(4.5rem,24vw,7rem); }.hero-lede { font-size: 1.05rem; }.hero-cta { flex-wrap: wrap; margin-top: 22px; gap: 12px 20px; }
  .signal-card { left: 20px; right: 20px; top: 790px; bottom: auto; width: auto; transform: none; }
  .story, .relics, .route { padding: 96px 20px 60px; }.section-kicker span + span { display: none; }
  .story-stage { display: block; min-height: 1060px; }.story-index { margin: 34px 0 10px; }.story-copy-wrap { min-height: 540px; }.story-panel { top: 37%; }.story-controls { bottom: 18px; right: 0; }.archive-card { width: 92%; margin: 26px auto 0; }
  .relics-head, .route-title { display: block; }.relics h2, .route h2, .offering h2 { font-size: 3.6rem; }.relic-deck { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 8px 18px 0; }.relic-card { min-width: 82vw; scroll-snap-align: center; }.memory-console { grid-template-columns: 1fr; gap: 9px; }.memory-meter { left: 20px; right: 20px; }.memory-console > span:last-child { justify-self: end; }
  .route { min-height: 980px; }.map-shell { height: 570px; margin-top: 10px; }.current-lines { display: none; }.map-node { left: calc(10% + (var(--x) * .75)); top: var(--y); }.map-node:nth-of-type(1) { top: 9%; }.map-node:nth-of-type(2) { top: 25%; }.map-node:nth-of-type(3) { top: 41%; }.map-node:nth-of-type(4) { top: 57%; }.map-node:nth-of-type(5) { top: 73%; }.map-node { left: 16%; }.skiff { display: none; }.map-readout { left: 5%; right: 5%; bottom: 1%; width: auto; }
  .offering { display: block; }.offering-copy { padding: 96px 20px 55px; }.offering-machine { min-height: 680px; padding: 70px 20px 80px; clip-path: polygon(0 4%,100% 0,100% 100%,0 100%); }.offering-options { grid-template-columns: 1fr; }.receipt strong, .receipt p { max-width: 63%; }
  .finale { min-height: 780px; }.finale-copy { padding: 20px; }.finale h2 { font-size: 4.5rem; }.transmission { padding: 46px 24px 28px; }
}

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