/* ════════════════════════════════════════════════════════════════════════
   stations.css — MUSIC ("ARTASY") and ABOUT ("Origin story").
   ════════════════════════════════════════════════════════════════════════ */

/* ═════════════ MUSIC · ARTASY ═════════════ */
.signal { position: relative; z-index: 3; min-height: 100svh; padding: calc(var(--hud-h) + 7vh) var(--gutter) 150px; }
.signal__head { margin-bottom: clamp(28px, 5vh, 60px); }
.signal__intro { color: var(--ink-2); max-width: 46ch; font-size: 1.02rem; }
.signal__grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: "record scope" "record tx";
  gap: clamp(22px, 3.4vw, 56px); align-items: start;
}

.record { grid-area: record; position: sticky; top: calc(var(--hud-h) + 24px); width: 100%; max-width: min(100%, 74vh); aspect-ratio: 1; justify-self: center; touch-action: none; -webkit-user-select: none; user-select: none; }
.record canvas { width: 100%; height: 100%; border-radius: 50%; filter: drop-shadow(0 50px 80px rgba(217, 165, 69, .25)); }
.record__play {
  position: absolute; left: 50%; top: 50%; width: 15%; min-width: 64px; aspect-ratio: 1; transform: translate3d(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px)), 0);
  border-radius: 50%; display: grid; place-items: center;
  background: #050505; border: 1px solid var(--gold); color: var(--gold);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, .6), inset 0 0 20px rgba(217, 165, 69, .25);
  transition: background-color .3s, color .3s;
}
.record__play:hover { background: var(--gold); color: #000; }
.record__play svg { width: 38%; height: 38%; fill: currentColor; }
.record__rpm { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font: 400 .56rem/1 var(--font-mono); letter-spacing: .16em; color: var(--ink-3); }

.scope { grid-area: scope; padding: 16px 18px 12px; display: grid; gap: 10px; }
.scope__bar, .scope__axis { display: flex; justify-content: space-between; font: 400 .56rem/1 var(--font-mono); letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
.scope__state {
  color: var(--lox); font: inherit; letter-spacing: inherit; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; margin: -6px -10px -6px 0;
  border: 1px solid rgba(143, 211, 255, .28); border-radius: 999px; background: rgba(143, 211, 255, .05);
  transition: background-color .25s, border-color .25s, color .25s;
}
.scope__state::after { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.scope__state.is-playing::after { width: 7px; height: 9px; border: 0; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.scope__state:hover { background: var(--lox); border-color: var(--lox); color: #000; }
.scope canvas { width: 100%; height: clamp(220px, 34vh, 360px); touch-action: none; cursor: crosshair; }
.scope__axis { position: relative; }
.scope__hi { position: absolute; top: -14px; transform: translateX(-50%); font-style: normal; font-size: .5rem; letter-spacing: .1em; color: rgba(169, 228, 255, .35); pointer-events: none; transition: color .3s, text-shadow .3s; }
.scope__hi::before { content: ""; position: absolute; left: 50%; bottom: 14px; width: 1px; height: 7px; background: currentColor; }
.scope__hi.is-hold { color: #e3261c; text-shadow: 0 0 8px rgba(227, 38, 28, .8); }
.scope__hint { font: 400 .56rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--thermal, #ff5a1f); opacity: .8; animation: hintPulse 2.6s ease-in-out infinite; }
.scope__hint.is-done { animation: none; opacity: .45; color: var(--ink-3); }
@keyframes hintPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .scope__hint { animation: none; } }

.tx { grid-area: tx; }
.tx__title { font: 500 .62rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.tx-row {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto auto 34px; gap: clamp(10px, 1.6vw, 22px); align-items: center;
  width: 100%; padding: 18px 8px; text-align: left; border-top: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .3s, padding .5s var(--ease-out);
}
.tx__list li:last-child .tx-row { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tx-row:hover { background: rgba(255, 255, 255, .04); padding-left: 16px; }
.tx-row__id, .tx-row__num { font: 400 .62rem/1 var(--font-mono); letter-spacing: .1em; color: var(--ink-3); white-space: nowrap; }
.tx-row__main { display: grid; gap: 5px; min-width: 0; }
.tx-row__title { font: 660 clamp(1.15rem, 1.9vw, 1.7rem)/1 var(--font-display); font-stretch: 110%; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tx-row__mood { font-family: var(--font-serif); font-style: italic; font-size: .92rem; color: var(--ink-2); }
.tx-row__bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.tx-row__bars i { width: 3px; height: 30%; background: var(--ink-3); border-radius: 1px; }
.tx-row[aria-current="true"] .tx-row__title { color: var(--gold); }
.tx-row[aria-current="true"] .tx-row__id { color: var(--gold); }
.tx-row[aria-current="true"].is-playing .tx-row__bars i { background: var(--gold); animation: bars .9s ease-in-out infinite alternate; }
.tx-row__bars i:nth-child(2) { animation-delay: -.3s !important; height: 60%; }
.tx-row__bars i:nth-child(3) { animation-delay: -.55s !important; height: 45%; }
.tx-row__bars i:nth-child(4) { animation-delay: -.1s !important; height: 80%; }
@keyframes bars { from { height: 20%; } to { height: 100%; } }

/* Spotify uplink: the official embed, framed like an instrument panel */
.tx-row__sp { color: #1ed760; font: 500 .56rem/1 var(--font-mono); letter-spacing: .12em; }
.uplink { margin-top: 26px; padding: 14px 16px 16px; display: grid; gap: 12px; }
.uplink__bar { display: flex; justify-content: space-between; font: 400 .56rem/1 var(--font-mono); letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
#uplink-state { color: #1ed760; }
.uplink__embed { border-radius: 12px; overflow: hidden; min-height: 152px; background: rgba(255, 255, 255, .03); }
.uplink__embed iframe { display: block; width: 100%; border: 0; }
.uplink__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.uplink__note { font: 400 .6rem/1.5 var(--font-mono); letter-spacing: .06em; color: var(--ink-3); max-width: 38ch; }
.uplink__follow { font-size: .8rem; }
.uplink--off .uplink__embed, .uplink--off .uplink__note { display: none; }

/* ═════════════ ABOUT · ORIGIN STORY ═════════════ */
.kicker { font: 500 .62rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--thermal); margin-bottom: 18px; }
.origin-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(32px, 6vw, 110px); align-items: center; min-height: 100svh; }
.origin-hero__text { display: grid; gap: 22px; justify-items: start; }
.origin-hero__intro { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }

.portrait { position: relative; margin: 0; display: grid; gap: 14px; }
.portrait__frame { position: relative; aspect-ratio: 1; border-radius: 50%; isolation: isolate; }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
  clip-path: circle(0% at 50% 50%); transform: scale(1.08); filter: saturate(.85) contrast(1.04);
  transition: clip-path 1.6s var(--ease-out), transform 2.2s var(--ease-out);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 120px -30px rgba(255, 90, 31, .35); }
.portrait.is-in .portrait__frame img { clip-path: circle(50% at 50% 50%); transform: none; }
.portrait__frame::before { content: ""; position: absolute; inset: -10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .28), rgba(255, 90, 31, 0) 70%); filter: blur(10px); }
.portrait__orbit { position: absolute; inset: -6% -14%; width: 128%; height: 112%; overflow: visible; transform: rotate(-16deg); pointer-events: none; }
.portrait__orbit ellipse { fill: none; stroke: rgba(169, 228, 255, .55); stroke-width: .5; stroke-dasharray: 1.5 3; }
.portrait__sat { fill: var(--lox); filter: drop-shadow(0 0 3px var(--lox)); }
.portrait__sathit { fill: transparent; pointer-events: all; cursor: pointer; }
.portrait__satg:hover .portrait__sat { fill: #fff; filter: drop-shadow(0 0 6px var(--lox)); }
.doodle { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 2; pointer-events: none; opacity: 0;
  clip-path: circle(0% at 30% 20%); transform: rotate(-6deg) scale(.96); transition: clip-path .9s var(--ease-out), opacity .3s, transform 1s var(--ease-out); }
.doodle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doodle.is-on { opacity: 1; clip-path: circle(75% at 50% 50%); transform: none; }
.doodle.is-on img { animation: doodleFloat 4s ease-in-out infinite alternate; }
@keyframes doodleFloat { from { transform: scale(1.04) rotate(-1deg); } to { transform: scale(1.08) rotate(1.5deg) translateY(-6px); } }

/* egg: Mars flag */
.origin__planet canvas.is-landable { cursor: crosshair; }
.mars-flag { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; }
.mars-flag__pole { position: absolute; left: 0; bottom: 0; width: 2px; height: 0; background: #e8e2d6; box-shadow: 0 0 4px rgba(255, 255, 255, .6); }
.mars-flag__cloth { position: absolute; left: 2px; top: 0; width: 18px; height: 12px; background: linear-gradient(90deg, var(--thermal), #ff8a4a); transform-origin: 0 50%; transform: scaleX(0); animation: flagWave 1.6s ease-in-out infinite alternate paused; }
.mars-flag__label { position: absolute; left: 10px; bottom: 34px; white-space: nowrap; font: 500 .62rem/1 var(--font-mono); letter-spacing: .1em; color: #fff; text-shadow: 0 1px 6px #000, 0 0 10px #000; opacity: 0; transform: translateY(6px); transition: opacity .6s .9s, transform .6s .9s; }
.mars-flag.is-planted .mars-flag__pole { animation: plant .7s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.mars-flag.is-planted .mars-flag__cloth { animation: unfurl .5s .55s ease-out forwards, flagWave 1.6s 1.1s ease-in-out infinite alternate; }
.mars-flag.is-planted .mars-flag__label { opacity: 1; transform: none; }
@keyframes plant { from { height: 0; } to { height: 28px; } }
@keyframes unfurl { to { transform: scaleX(1); } }
@keyframes flagWave { from { transform: scaleX(1) skewY(0deg); } to { transform: scaleX(.86) skewY(-6deg); } }

/* egg: prime signal */
.contact-art .ca-hit { fill: transparent; cursor: pointer; pointer-events: all; }
.contact-art .ca-count { font: 600 12px var(--font-mono); letter-spacing: .14em; fill: var(--lox); }
.contact-art .ca-horn { transition: fill .05s; }
.contact-art svg.is-beep .ca-horn { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.contact-art svg.is-beep .ca-src { r: 5px; }
.contact-art svg.is-rx .ca-head { animation: none; transform: rotate(32deg); transition: transform .8s var(--ease-out); }
.chapter__hint a { font: 400 .62rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(169, 228, 255, .6); text-decoration: none; border-bottom: 1px dashed rgba(169, 228, 255, .3); }
.chapter__hint a:hover { color: var(--lox); }
.portrait__tick { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink-3); }
.portrait__tick--tl { left: -4px; top: -4px; border-left-width: 1px; border-top-width: 1px; }
.portrait__tick--br { right: -4px; bottom: -4px; border-right-width: 1px; border-bottom-width: 1px; }
.portrait figcaption { font: 400 .58rem/1.5 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: center; }

/* story + terraforming planet */
.origin { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 var(--gutter); }
.origin__planet { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.origin__planet canvas { width: min(100%, 92svh); aspect-ratio: 1; }
.origin__fallback { display: none; }
.origin__planet.is-flat canvas { display: none; }
.origin__planet.is-flat .origin__fallback { display: block; width: min(70%, 60svh); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, #c96b3a calc((1 - var(--tf, 0)) * 100%), #2f7bb8), #1a0b06 75%);
  box-shadow: 0 0 80px color-mix(in srgb, #ff7a4a calc((1 - var(--tf, 0)) * 100%), #6fb4ff); }
.tf { position: absolute; left: 0; top: clamp(92px, 13vh, 130px); display: grid; grid-template-columns: auto auto; gap: 6px 18px; align-items: end; width: min(320px, 80%); }
.tf__k { font: 400 .56rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.tf__v { font: 400 .56rem/1 var(--font-mono); color: var(--ink-3); justify-self: end; }
.tf__v b { font: 700 1.9rem/1 var(--font-display); font-stretch: 112%; color: color-mix(in srgb, var(--thermal) calc((1 - var(--tf, 0)) * 100%), var(--lox)); font-variant-numeric: tabular-nums; }
.tf__stage { grid-column: 1 / -1; font-family: var(--font-serif); font-style: italic; color: var(--ink-2); font-size: .95rem; }
.tf__bar { grid-column: 1 / -1; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.tf__mtc { grid-column: 1 / -1; font: 400 .56rem/1 var(--font-mono); letter-spacing: .12em; color: rgba(169, 228, 255, .7); font-variant-numeric: tabular-nums; }
.tf__bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--thermal), var(--gold) 50%, var(--lox)); }

.origin__chapters { list-style: none; margin: 0; padding: 22vh 0 18vh; display: grid; gap: 0; }
.chapter { min-height: 92svh; display: grid; align-content: center; gap: 20px; padding: 6vh 0; opacity: .32; transition: opacity .8s var(--ease-out); }
.chapter.is-active { opacity: 1; }
.chapter__when { font: 500 .62rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--thermal); display: flex; gap: 14px; align-items: center; }
.chapter__when span { color: var(--ink-3); }
.chapter__when::after { content: ""; flex: 0 0 60px; height: 1px; background: currentColor; opacity: .5; }
.chapter__title { font: 700 clamp(2rem, 3.6vw, 3.6rem)/1.02 var(--font-display); font-stretch: 112%; letter-spacing: -.02em; max-width: 16ch; }
.chapter__body { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.7; color: var(--ink-2); max-width: 52ch; }

/* beacons: lines for the kid reading this */
.beacon { margin: 26px 0 6px; font: 760 clamp(1.9rem, 3.7vw, 3.8rem)/1.08 var(--font-display); font-stretch: 116%; letter-spacing: -.025em; max-width: 18ch; position: relative; padding-left: 26px; }
.beacon::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 3px; border-radius: 2px; background: linear-gradient(var(--thermal), var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-out) .2s; }
.beacon.is-in::before { transform: scaleY(1); }
.beacon__w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(10px);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.beacon.is-in .beacon__w { opacity: 1; transform: none; filter: none; }
.beacon__key { background: linear-gradient(100deg, var(--thermal) 0%, var(--gold) 30%, #fff3d6 45%, var(--gold) 60%, var(--thermal) 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.beacon.is-in .beacon__key { animation: keyShimmer 5s linear infinite calc(var(--i) * 70ms + .8s); filter: drop-shadow(0 0 18px rgba(255, 140, 60, .45)); }
@keyframes keyShimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.beacon--final { max-width: 20ch; margin: 0 auto; text-align: center; padding-left: 0; font-size: clamp(2.4rem, 6vw, 6rem); }
.beacon--final::before { display: none; }

/* Contact (1997) tribute illustration */
.contact-art { margin: 8px 0 0; display: grid; gap: 10px; max-width: 560px; }
.contact-art__img { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.contact-art svg { display: block; width: 100%; height: auto; }
.contact-art .ca-star { fill: #fff; opacity: .7; }
.contact-art.is-on .ca-star { animation: caTw 3.6s ease-in-out infinite var(--d); }
@keyframes caTw { 50% { opacity: .15; } }
.contact-art .ca-src { fill: var(--lox); filter: drop-shadow(0 0 4px var(--lox)); }
.contact-art .ca-wave { fill: none; stroke: var(--lox); stroke-width: 1; opacity: 0; transform-origin: 430px 26px; }
.contact-art.is-on .ca-wave { animation: caWave 3.3s ease-out infinite var(--d); }
@keyframes caWave { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(9); opacity: 0; } }
.contact-art .ca-ground { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.contact-art .ca-mount { fill: none; stroke: #b9b3a6; stroke-width: 2; stroke-linejoin: round; }
.contact-art .ca-dish { fill: #e8e2d6; stroke: #fff; stroke-width: .8; }
.contact-art .ca-feed { fill: none; stroke: #d8d2c5; stroke-width: 1.2; }
.contact-art .ca-horn { fill: var(--thermal); }
.contact-art .ca-head { transform-box: fill-box; transform-origin: 50% 80%; transform: rotate(18deg); }
.contact-art.is-on .ca-head { animation: caAim 7s ease-in-out infinite alternate var(--d); }
@keyframes caAim { from { transform: rotate(14deg); } to { transform: rotate(24deg); } }
.contact-art figcaption { font: 400 .62rem/1.6 var(--font-mono); letter-spacing: .06em; color: var(--ink-3); }
.contact-art figcaption b { color: var(--ink-2); font-weight: 600; }
.contact-art figcaption a { color: var(--lox); }
.contact-art__note { display: block; margin-top: 2px; opacity: .8; }

/* "Keep Reaching For the Stars" */
.reach { margin: -40px auto 0; text-align: center; font: 700 clamp(1.6rem, 4vw, 3.6rem)/1.15 var(--font-serif); font-style: italic; letter-spacing: -.01em;
  background: linear-gradient(100deg, #8a5a12 0%, #f6d98a 28%, #fff1c9 42%, #d9a545 58%, #8a5a12 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldSweep 7s linear infinite; }
@keyframes goldSweep { from { background-position: 100% 0; } to { background-position: -120% 0; } }
.reach__lead { color: transparent; }
.reach__stars { position: relative; display: inline-grid; place-items: center; font: inherit; letter-spacing: inherit; padding: 0 .08em; border: 0; background: none; cursor: pointer; isolation: isolate; }
.reach__word { position: relative; z-index: 2; background: linear-gradient(100deg, #f6d98a, #fff6dc 45%, #e8b64c); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 214, 120, .55)); animation: starGlow 3.2s ease-in-out infinite; transition: filter .6s; }
@keyframes starGlow { 50% { filter: drop-shadow(0 0 14px rgba(255, 220, 140, .9)) drop-shadow(0 0 2px #fff); } }
.reach__rays { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; z-index: 1; opacity: 0; pointer-events: none;
  background:
    radial-gradient(circle, #fff 0 6%, rgba(255, 236, 180, .9) 12%, rgba(255, 200, 90, .35) 30%, transparent 60%),
    conic-gradient(from 0deg, transparent 0 20deg, rgba(255, 240, 200, .95) 22deg 23deg, transparent 25deg 65deg, rgba(255, 240, 200, .95) 67deg 68deg, transparent 70deg 110deg, rgba(255, 240, 200, .95) 112deg 113deg, transparent 115deg 155deg, rgba(255, 240, 200, .95) 157deg 158deg, transparent 160deg 200deg, rgba(255, 240, 200, .95) 202deg 203deg, transparent 205deg 245deg, rgba(255, 240, 200, .95) 247deg 248deg, transparent 250deg 290deg, rgba(255, 240, 200, .95) 292deg 293deg, transparent 295deg 335deg, rgba(255, 240, 200, .95) 337deg 338deg, transparent 340deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 30%, transparent 70%); mask-image: radial-gradient(circle, #000 0 30%, transparent 70%); border-radius: 50%; }
.reach__stars.is-flare .reach__rays { animation: flare 5s cubic-bezier(.2, .7, .2, 1) forwards; }
.reach__stars.is-flare .reach__word { animation: wordFlare 5s ease-out forwards; }
@keyframes flare {
  0% { opacity: 0; transform: scale(.2) rotate(0deg); }
  8% { opacity: 1; transform: scale(9) rotate(25deg); }
  20% { opacity: .95; transform: scale(6.5) rotate(45deg); }
  70% { opacity: .75; transform: scale(5.5) rotate(110deg); }
  100% { opacity: 0; transform: scale(1) rotate(160deg); }
}
@keyframes wordFlare {
  0% { filter: drop-shadow(0 0 6px rgba(255, 214, 120, .55)); }
  8% { filter: brightness(1.8) drop-shadow(0 0 30px #fff) drop-shadow(0 0 60px rgba(255, 200, 90, 1)); }
  70% { filter: brightness(1.3) drop-shadow(0 0 22px rgba(255, 230, 160, .95)); }
  100% { filter: drop-shadow(0 0 6px rgba(255, 214, 120, .55)); }
}
.reach__spark { position: absolute; left: 50%; top: 50%; z-index: 3; font-style: normal; font-size: calc(18px * var(--s)); line-height: 1; color: #fff1c9; -webkit-text-fill-color: #fff1c9;
  text-shadow: 0 0 10px #ffd27a; pointer-events: none; opacity: 0; animation: spark 2.4s cubic-bezier(.15, .8, .3, 1) forwards var(--dl); }
@keyframes spark { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .reach, .reach__word { animation: none; }
  .reach__stars.is-flare .reach__rays { animation: none; opacity: .8; transform: scale(5); }
}

.origin-end { display: grid; gap: clamp(60px, 12vh, 140px); justify-items: center; text-align: center; }
.thanks { max-width: 680px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; }
.thanks h2 { font: 700 1.6rem/1.1 var(--font-display); font-stretch: 112%; }
.thanks p { color: var(--ink-2); line-height: 1.7; }
.origin-end__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .beacon__w { opacity: 1; transform: none; filter: none; transition: none; }
  .beacon__key { animation: none !important; }
  .portrait__frame img { clip-path: none; transform: none; transition: none; }
  .chapter { opacity: 1; }
}

/* ═════════════ SMALL SCREENS ═════════════ */
@media (max-width: 860px) {
  .signal { padding-bottom: 170px; }
  .signal__grid { grid-template-columns: 1fr; grid-template-areas: "record" "scope" "tx"; gap: 54px 0; }
  .record { position: relative; top: auto; max-width: 88vw; }
  .scope { margin-top: -8px; }
  .tx-row { grid-template-columns: 46px minmax(0, 1fr) auto 26px; }
  .tx-row__num--year { display: none; }

  .origin-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 120px; }
  .portrait { max-width: 78vw; justify-self: center; grid-row: 1; }
  .origin { grid-template-columns: minmax(0, 1fr); }
  .origin__planet { grid-area: 1 / 1; height: 100svh; z-index: 0; }
  .origin__planet { overflow: hidden; margin: 0 calc(var(--gutter) * -1); }
  .origin__planet canvas { width: 100%; max-width: none; opacity: .5; }
  .origin__chapters { grid-area: 1 / 1; z-index: 1; padding-top: 12vh; }
  .chapter { min-height: 0; padding: 14vh 0; opacity: 1; }
  .chapter { pointer-events: none; }
  .chapter a, .chapter button, .chapter .contact-art { pointer-events: auto; }
  .tf { position: fixed; top: auto; left: var(--gutter); right: var(--gutter); bottom: 18px; width: auto; z-index: 4; padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .1); }
  html:not([data-world="about"]) .tf { display: none; }
  .tf__v b { font-size: 1.3rem; }
  .beacon { font-size: clamp(1.8rem, 8.4vw, 2.6rem); }
}

