/* Reviewed palette: blue for actions, yellow for time/discovery, neutral text. */
:root[data-theme=dark]{--bg:#080f1d;--card:#101b2d;--ink:#edf3ff;--muted:#abbad1;--line:#2c3b53;--accent:#8eb5ff;--soft:#152742;--hover:#1a3151;--up:#ffc3ad;--down:#b6cceb}
.shell>.toolbar{margin-bottom:0;border-bottom:0;padding:32px 28px 20px;border-radius:16px 16px 0 0}.shell>main{padding:0 28px 32px}.shell>footer{padding:28px}.orbit-copy em{color:#edf3ff}.orbit-copy h2{font-size:clamp(30px,3.4vw,48px)}.orbit-copy>p:not(.orbit-kicker){max-width:600px;margin-bottom:28px}.orbit-experience{padding:56px 0 40px}.orbit-time{background:#0c1728;border:1px solid #2c3b53;border-radius:12px;padding:20px 24px;margin:28px 0 16px}.orbit-time-heading{font-size:14px}.orbit-slider{margin:8px 0}.orbit-time small{display:block;color:#aebed5}.orbit-scene{margin:0}.orbit-keywords{gap:0 28px}.orbit-keyword{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;padding:17px 8px;box-shadow:none!important}.orbit-rank{font-size:13px;color:#8da7cc;font-variant-numeric:tabular-nums}.orbit-name{font-size:18px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}.orbit-change{font-size:11px;color:#b6c7df;white-space:nowrap}.orbit-link{margin:20px 0 0;padding:12px 0;color:#9fc5ff;min-height:44px}.moon-credit{color:var(--muted)}.moon-intro,.moon-chapter{max-width:calc(100% - 48px)}.moon-stage>#moon-motion{font-size:12px}.moon-overline{line-height:1.7}.moon-chapter{max-width:45%;text-shadow:0 2px 18px #000}.moon-chapter>p:last-child{background:#030913c9;width:fit-content;padding:6px 9px;border-radius:4px}.dialog-head{position:sticky;top:-26px;z-index:4;background:var(--card);padding:10px 0;border-bottom:1px solid var(--line)}
@media(max-width:700px){.moon-intro{top:88px;left:24px;right:24px;max-width:none}.moon-intro h1{font-size:clamp(37px,9vw,60px);margin-bottom:20px}.moon-overline{font-size:9px;letter-spacing:.2em;margin-bottom:18px}.moon-description{font-size:13px}.moon-enter{margin-top:8px}.moon-chapter{top:100px;left:24px;right:24px;max-width:none}.moon-stage>#moon-motion{top:16px;right:24px}.orbit-experience{padding:40px 0 32px}.orbit-time{padding:16px;margin:20px 0 12px}.orbit-time-heading{font-size:13px}.orbit-time p,.orbit-time small{font-size:11px}.orbit-keywords{grid-template-columns:1fr}.orbit-keyword{grid-template-columns:28px minmax(0,1fr) auto;min-height:62px;padding:12px 4px;gap:9px}.orbit-name{font-size:16px}.orbit-change{font-size:11px}.orbit-copy>p:not(.orbit-kicker){margin-bottom:18px}.shell>.toolbar{padding:22px 14px 16px}.shell>main{padding:0 14px 24px}.shell>footer{padding:20px 14px}.signal-heading h2{font-size:22px}.dialog-head{top:-20px}.orbit-copy h2{font-size:30px}}
@media(max-width:360px){.orbit-keyword{grid-template-columns:24px minmax(0,1fr)}.orbit-change{grid-column:2;font-size:11px;margin-top:-5px}.orbit-name{font-size:16px}.moon-intro h1{font-size:36px}.moon-intro .moon-description{font-size:12px}.moon-overline{font-size:8px}.moon-stage{min-height:700px}.shell>.toolbar{padding-left:10px;padding-right:10px}.shell>main{padding-left:10px;padding-right:10px}}
@media(max-height:600px) and (min-width:701px){.moon-intro{top:70px;max-width:60%}.moon-intro h1{font-size:38px;margin-bottom:12px}.moon-overline{margin-bottom:10px}.moon-enter{margin-top:0}.moon-chapter{top:90px}}

/* Keep the full-bleed scene on the header's content axis. */
@media(min-width:1000px){.moon-intro{left:max(48px,calc((100vw - 1184px)/2))}}
.moon-enter,.moon-enter:hover,.orbit-link,.orbit-link:hover{text-decoration:none}

/* One content frame for copy, controls and scroll indication. */
.moon-stage{--scene-gutter:max(48px,calc((100vw - 1184px)/2))}
.moon-stage>#moon-motion{right:var(--scene-gutter);top:24px}
.moon-chapter{left:calc(50% + 40px);right:var(--scene-gutter);top:26%;max-width:none}
.moon-chapter h2{font-size:clamp(32px,3.2vw,52px);line-height:1.35;text-wrap:initial;word-break:keep-all}
.moon-chapter>p:last-child{margin-top:20px;line-height:1.8;background:transparent;padding:0}
.moon-bottom{left:var(--scene-gutter);right:var(--scene-gutter);bottom:28px}
.moon-shade{background:linear-gradient(90deg,#02050c55,transparent 45%,#02050c22)}
.moon-fallback{width:90vw;right:-22%;top:4%}
@media(min-width:701px) and (max-width:999px){.moon-stage{--scene-gutter:28px}.moon-intro{left:28px}.moon-chapter{left:52%;top:24%}.moon-chapter h2{font-size:32px}}
@media(max-width:700px){.moon-stage{--scene-gutter:24px}.moon-stage>#moon-motion{right:24px;top:16px}.moon-chapter{left:24px;right:24px;top:100px;max-width:none}.moon-chapter h2{font-size:clamp(28px,7vw,42px)}.moon-chapter>p:last-child{font-size:12px;background:#030913b3;padding:6px 8px}.moon-shade{background:linear-gradient(#02050c88,transparent 75%)}.moon-fallback{width:160vw;right:-50%;top:40%}.moon-bottom{bottom:20px}}
@media(max-height:600px) and (min-width:701px){.moon-chapter{top:90px}.moon-chapter h2{font-size:30px}.moon-chapter>p:last-child{margin-top:12px}}
/* Longer camera travel, with room to settle before the next section. */
.moon-journey{height:320vh}
@media(max-width:700px){.moon-journey{height:250vh}}
@media(prefers-reduced-motion:reduce){.moon-journey{height:auto}}

/* Earth foreground / lunar approach: keep both copy chapters on the right. */
@media(min-width:701px){.moon-intro{left:calc(50% + 40px);right:var(--scene-gutter);max-width:none;top:20%}.moon-intro h1{font-size:clamp(36px,4.2vw,64px)}.moon-description{font-size:14px}.moon-overline{letter-spacing:.2em}.moon-shade{background:linear-gradient(90deg,transparent 35%,#02050c55 70%)}}
.moon-fallback{width:100vw;left:-40%;right:auto;top:48%}
@media(max-width:700px){.moon-fallback{width:180vw;left:-90%;top:65%}}
@media(max-height:600px) and (min-width:701px){.moon-intro{top:85px}.moon-intro h1{font-size:36px}.moon-description{font-size:12px}}

/* A single screen introduction: no pinned journey before the data. */
.moon-journey{height:auto}
.moon-stage{position:relative;height:calc(100svh - 98px);min-height:560px;max-height:1000px}
.moon-intro{left:24px;right:24px;top:50%;max-width:760px;margin:auto;text-align:center;transform:translateY(-50%)!important;opacity:1!important;text-shadow:0 2px 24px #02050c}
.moon-intro h1{font-size:clamp(42px,4.7vw,68px)}
.moon-description{font-size:15px}.moon-enter{margin-top:16px}
.moon-chapter,.moon-bottom{display:none}
.moon-shade{background:radial-gradient(ellipse at center,#02050c99,transparent 65%)}
.moon-fallback{width:140vw;left:-75%;top:42%}
@media(max-width:700px){.moon-stage{height:calc(100svh - 80px);min-height:580px}.moon-intro{top:48%;left:24px;right:24px}.moon-intro h1{font-size:clamp(36px,9vw,48px)}.moon-description{font-size:12px}.moon-overline{font-size:8px}.moon-fallback{width:240vw;left:-160%;top:55%}}
@media(max-height:600px) and (min-width:701px){.moon-stage{min-height:380px;height:calc(100svh - 70px)}.moon-intro{top:50%;max-width:520px}.moon-intro h1{font-size:36px}.moon-description{font-size:12px}.moon-overline{margin-bottom:12px}.moon-enter{margin-top:0}}
