/* Continuum: one journey from terrestrial systems to mission reliability. */
.landscape-story{height:1080svh;min-height:6000px}.land-world,.orbit-world{position:absolute;inset:0;overflow:hidden}.orbit-world{pointer-events:none}.orbit-world canvas,.land-world canvas{width:100%;height:100%;display:block}.scene-nav{gap:11px}.scene-nav button{width:62px}.scroll-cue,.ambient-toggle{min-width:155px}.orbit-graphic{display:none}.landscape-story[data-chapter="5"] .view-graphic>svg:first-child,.landscape-story[data-chapter="6"] .view-graphic>svg:first-child{display:none}.landscape-story[data-chapter="5"] .orbit-graphic,.landscape-story[data-chapter="6"] .orbit-graphic{display:block}.landscape-story[data-chapter="4"] .view-graphic{opacity:.35}.story-panel[data-scene="5"],.story-panel[data-scene="6"]{bottom:23%;max-width:580px;width:39%}.story-panel[data-scene="4"]{bottom:27%}.story-panel[data-scene="5"] h2,.story-panel[data-scene="6"] h2{font-size:clamp(48px,5.2vw,88px)}.story-panel[data-scene="6"] .text-link{font-size:11px;max-width:340px;line-height:1.5}.landscape-story[data-chapter="5"] .scene-shade,.landscape-story[data-chapter="6"] .scene-shade{background:linear-gradient(90deg,#020810a6,transparent 53%),linear-gradient(180deg,#02081088,transparent 30%,transparent 77%,#020810aa)}.landscape-story[data-chapter="4"] .scene-shade{background:linear-gradient(90deg,#081821b0,transparent 60%),linear-gradient(180deg,#080f1477,transparent 50%,#080f1455)}.story-panel[data-scene="4"] .story-description{color:#d3e0e3}.story-panel[data-scene="4"] em{color:#d8e5e8}.landscape-story[data-chapter="5"] .site-header{background:transparent}.scene-anchor{transition:opacity .2s}#space-anchor strong{max-width:145px}.scene-readout{pointer-events:none}
@media(max-width:1050px){.scene-nav button{width:57px}.scroll-cue,.ambient-toggle{min-width:130px}.scene-nav small{display:none}}
@media(max-width:760px){.landscape-story{height:1020svh;min-height:5600px}.scene-nav{gap:9px}.scene-nav button{width:auto;min-width:0}.scene-nav small{display:none}.scene-nav button span{font-size:8px}.story-panel[data-scene="4"],.story-panel[data-scene="5"],.story-panel[data-scene="6"]{top:145px;bottom:auto;width:auto;left:24px;right:24px}.story-panel[data-scene="5"] h2,.story-panel[data-scene="6"] h2{font-size:42px}.story-panel[data-scene="6"] .story-description{max-width:285px}.story-panel[data-scene="6"] .text-link{font-size:10px;max-width:280px}.scroll-cue,.ambient-toggle{min-width:0}.landscape-story[data-chapter="5"] .scene-shade,.landscape-story[data-chapter="6"] .scene-shade{background:linear-gradient(180deg,#020810eb, #020810a0 35%,transparent 64%,#020810aa)} }

.landscape-story[data-chapter="4"] .scene-bottom{filter:drop-shadow(0 1px 8px #05111c)}.landscape-story[data-chapter="4"] .scene-nav button span,.landscape-story[data-chapter="4"] .scene-nav small,.landscape-story[data-chapter="4"] .scroll-cue,.landscape-story[data-chapter="4"] .ambient-toggle{color:#d0dfe6}.landscape-story[data-chapter="4"] .scene-readout{background:linear-gradient(135deg,#081b2a80,transparent)}

/* Physical detail carries the orbital close-up; leave its silhouette unobstructed. */
#space-anchor{display:none}

.landscape-story[data-chapter="6"] .scene-readout{background:linear-gradient(120deg,#07121cd9,#07121c85 70%,#07121c00);padding:12px 14px;margin:-12px -14px 0 0}

.opening-poster{position:absolute;inset:0;display:block;opacity:1;transition:opacity .4s;pointer-events:none}.opening-poster img{display:block;width:100%;height:100%;object-fit:cover}.land-world{opacity:0;transition:opacity .4s}.land-world.is-painted{opacity:1}#world.interactive-ready .opening-poster{opacity:0}.loading-note{display:none}@media(prefers-reduced-motion:reduce){.opening-poster,.land-world{transition:none}}

/* The fire study stays inside the same world and shares its scroll clock. */
.story-panel[data-scene="3"]{bottom:25%;width:41%;max-width:530px;text-shadow:0 2px 35px #03090e}
.story-panel[data-scene="3"] h2{font-size:clamp(48px,4.6vw,78px)}
.landscape-story[data-chapter="3"] .scene-shade{background:linear-gradient(90deg,#030b13dc, #030b1370 30%,transparent 60%),linear-gradient(180deg,#080f14a6,transparent 35%,transparent 76%,#080f14a6)}
.fire-readout{position:absolute;right:var(--side);bottom:17%;width:310px;opacity:0;pointer-events:none;color:#d8e2e5;background:linear-gradient(120deg,#07121cdd,#07121c66);border-left:1px solid #9bb6c34d;padding:17px 20px;font-size:7px}
.fire-caption{display:flex;justify-content:space-between;gap:15px;align-items:center;text-transform:uppercase;letter-spacing:.08em}.fire-caption>span{color:#91abb8;font-size:6px}.fire-caption strong{font-size:12px;font-weight:400;color:#e6ddd4}.fire-legend{display:flex;gap:24px;margin:17px 0 12px;font-size:6px;color:#b8c9d2}.fire-legend span{display:flex;align-items:center;gap:7px}.fire-legend i{display:inline-block;width:15px;height:1px}.spread-key{background:#ff7862}.wind-key{background:#7bcef4}.fire-track{height:1px;background:#80929d44}.fire-track span{height:1px;display:block;background:#e6a38d;transform:scaleX(0);transform-origin:left}.fire-readout small{display:block;font-size:5px;color:#879da9;margin-top:11px;line-height:1.6}
@media(max-width:760px){.story-panel[data-scene="3"]{top:145px;bottom:auto;width:auto;max-width:none}.story-panel[data-scene="3"] h2{font-size:42px}.fire-readout{left:24px;right:24px;width:auto;bottom:125px;padding:10px 15px}.fire-caption strong{font-size:10px}.fire-legend{margin:12px 0 8px}.landscape-story[data-chapter="3"] .scene-shade{background:linear-gradient(180deg,#030b13ed,#030b1380 34%,transparent 60%,transparent 70%,#080f14aa)}}

@media(max-width:760px){.fire-readout{bottom:112px}.fire-caption>span{font-size:7px}.fire-legend{font-size:8px}.fire-readout small{font-size:7px}}

/* Forecast perimeter remains primary; sparse vectors clarify wind direction. */
.story-panel[data-scene="3"]{width:43%;max-width:650px}.story-panel[data-scene="3"] h2{font-size:clamp(44px,4.2vw,74px)}
.wind-key{background:#bfd1da}.fire-readout{width:355px}.fire-legend{gap:18px}.case-compass{position:absolute;right:var(--side);bottom:34%;width:30px;opacity:0;pointer-events:none;color:#c1d1d9;text-align:center}.case-compass>span{display:block;font-size:25px;line-height:1.2;transform-origin:center}.case-compass small{font-size:7px;display:block;margin-top:4px}
.landscape-story[data-chapter="4"] .scene-shade{background:linear-gradient(90deg,#07131bb5,transparent 60%),linear-gradient(180deg,#07131b77,transparent 40%,#07131b33)}
@media(max-width:760px){.story-panel[data-scene="3"]{width:auto;max-width:none}.story-panel[data-scene="3"] h2{font-size:39px}.fire-readout{width:auto}.fire-legend{font-size:7px;gap:12px}.case-compass{bottom:35%;right:24px;width:24px}}

/* A vector head explains direction even when ambient motion is paused. */
.fire-legend .wind-key{width:19px;height:1px;background:#8fc5d5;position:relative}.wind-key:after{content:"";position:absolute;right:0;top:-3px;width:5px;height:5px;border-right:1px solid #8fc5d5;border-top:1px solid #8fc5d5;transform:rotate(45deg)}

/* Percentile controls leave the mapped extent unobstructed. */
.story-panel[data-scene="3"]{bottom:43%;width:43%;max-width:650px}
.fire-readout{position:absolute;left:var(--side);right:auto;bottom:16%;width:350px;padding:16px 18px;background:linear-gradient(120deg,#07121cf2,#07121cc4);border:1px solid #9bb6c32b;border-left:1px solid #9bb6c37a;backdrop-filter:blur(8px);text-shadow:none}
.fire-caption>span{font-size:8px}
.forecast-heading{display:flex;justify-content:space-between;gap:15px;margin-top:18px;color:#a9bec9;font-size:9px;letter-spacing:.06em;text-transform:uppercase}
.forecast-heading>span:last-child{color:#f4cd77}
.forecast-options{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:8px;padding:3px;border:1px solid #8eabb735;background:#07111970}
.forecast-options button{min-height:36px;border:1px solid transparent;background:transparent;color:#a7bdc8;cursor:pointer;font:inherit;font-size:11px;letter-spacing:.04em;transition:background .18s,color .18s,border-color .18s}
.forecast-options button:hover{background:#9abac514;color:#eef6fa}
.forecast-options button[aria-checked="true"]{background:#d7ab4b1a;border-color:#eacb7e70;color:#ffe1a0}
.forecast-options button:focus-visible{outline:2px solid #e5ce98;outline-offset:3px}
.forecast-description{font-size:8px;color:#a5bac6;margin:9px 0 0;line-height:1.5}
.fire-legend{font-size:8px;margin:14px 0 12px}
.fire-legend .spread-key{height:7px;width:17px;background:linear-gradient(90deg,#ef3b10,#ffce25);border:1px solid #161b1e}
.fire-readout small{font-size:7px;line-height:1.5}
@media(min-width:761px) and (max-height:820px){
  .story-panel[data-scene="3"]{bottom:45%}
  .story-panel[data-scene="3"] h2{font-size:40px}
  .story-panel[data-scene="3"] .story-description{font-size:12px;margin-top:15px}
  .story-panel[data-scene="3"] .chapter-kicker{margin-bottom:14px}
  .fire-readout{padding:11px 14px}.forecast-heading{margin-top:10px}
  .forecast-options button{min-height:30px}.fire-legend{margin:10px 0}
}
@media(max-width:760px){
  .story-panel[data-scene="3"]{width:auto;top:125px;bottom:auto}
  .story-panel[data-scene="3"] h2{font-size:33px}
  .story-panel[data-scene="3"] .story-description{font-size:12px;line-height:1.6;max-width:315px}
  .fire-readout{left:24px;right:24px;bottom:112px;width:auto;padding:9px 12px}
  .fire-caption>span{font-size:7px}.forecast-heading,.forecast-description{display:none}
  .forecast-options{margin-top:7px;padding:2px}.forecast-options button{min-height:40px}
  .fire-legend{margin:7px 0;font-size:7px}.fire-readout small{font-size:6px;margin-top:7px}
  .case-compass{bottom:43%}
}
@media(prefers-reduced-motion:reduce){.forecast-options button{transition:none}}

/* Verified live totals occupy the SWIM chapter's upper-right readout. */
.landscape-story[data-chapter="3"] .scene-readout{opacity:0;pointer-events:none}
.swim-live-stats{position:absolute;top:110px;right:var(--side);width:278px;padding:16px 17px;background:linear-gradient(135deg,#07121ce8,#07121c66);border-top:1px solid #a8bec451;opacity:0;pointer-events:none;transition:opacity .3s;color:#c9d9df}
.swim-live-stats.is-active{opacity:1;pointer-events:auto}.swim-stats-heading{display:flex;justify-content:space-between;gap:10px;font-size:7px;letter-spacing:.05em;text-transform:uppercase;color:#a0b7c2}
.swim-stats-heading [data-stat-status]{color:#91a6af}.swim-live-stats[data-state="live"] [data-stat-status]{color:#a5cabc}
.swim-stats-body{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:18px}.swim-stat-primary strong{display:block;font-family:Barlow,sans-serif;font-size:47px;font-weight:400;line-height:1;letter-spacing:-.04em;color:#ecf3f4;font-variant-numeric:tabular-nums}
.swim-stat-primary>span{display:block;margin-top:8px;font-size:8px;color:#9eb4bf}.swim-stat-counts{margin:0;display:grid;gap:10px}.swim-stat-counts div{display:flex;flex-direction:column-reverse;gap:3px}.swim-stat-counts dt{font-size:6px;color:#90a7b1}.swim-stat-counts dd{margin:0;font-size:14px;color:#d7e6ea;font-variant-numeric:tabular-nums}
.swim-live-stats>p{font-size:8px;color:#9cb0bb;line-height:1.6;margin:16px 0 12px}.swim-stats-foot{border-top:1px solid #91aab527;padding-top:10px;font-size:6px;color:#8da3ae;display:flex;flex-direction:column;gap:4px}.swim-stats-foot time{color:#becfd7}
.swim-live-stats>a{display:block;color:#b7ccd5;text-decoration:none;font-size:7px;margin-top:12px}.swim-live-stats>a:hover{color:#f5e4b9}
@media(max-width:760px){.landscape-story[data-chapter="3"] .story-eyebrow{opacity:0}.swim-live-stats{left:24px;right:24px;top:85px;width:auto;padding:9px 12px}.swim-stats-heading{font-size:6px}.swim-stats-body{margin-top:8px;gap:12px;align-items:center}.swim-stat-primary strong{font-size:26px}.swim-stat-primary>span{margin-top:3px;font-size:6px}.swim-stat-counts{display:flex;gap:15px}.swim-stat-counts dd{font-size:12px}.swim-stat-counts dt{font-size:6px}.swim-live-stats>p,.swim-stats-foot,.swim-live-stats>a{display:none}.story-panel[data-scene="3"]{top:185px}}
@media(prefers-reduced-motion:reduce){.swim-live-stats{transition:none}}

.landscape-story[data-chapter="5"] .view-graphic,.landscape-story[data-chapter="6"] .view-graphic{display:none}
