/* Public demo UI: clear entry, paired views, visible control and progressive detail. */
.story-page{padding-top:20px;--demo-ink:#183f51;--demo-muted:#4f6c7b;--demo-line:#c5dae3;--demo-accent:#176575}
.story-page :where(section,nav){scroll-margin-top:20px}
.story-page :where(button,select,summary,a):focus-visible{outline:3px solid #39a397;outline-offset:4px}
.story-page :where(button,select){font-family:inherit}
.story-page button{transition:background-color .16s,border-color .16s,box-shadow .16s}
.story-page button:disabled{cursor:not-allowed}
body[data-experience] .story-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.8fr);align-items:center;gap:40px;padding:30px;margin:0 0 18px;border:1px solid #ffffffde;border-radius:24px;background:linear-gradient(125deg,#f5ffffb8,#eef3ffb5);box-shadow:0 12px 35px #123c4a0b}
.story-intro>div{display:block;width:auto;min-width:0}
.story-intro h1 br{display:block}
.story-intro .audience-actions{grid-column:auto;grid-row:auto;align-self:auto}
.story-intro .resource-kicker{margin:0;color:#426c7d;font-size:.62rem;letter-spacing:.09em;line-height:1.6;background:none;border:0;padding:0}
body[data-experience] .story-intro h1{font-family:Fraunces,Georgia,serif;font-size:clamp(2rem,4.1vw,3rem);font-weight:700;line-height:1.08;letter-spacing:-.04em;margin:12px 0 14px;color:#173e50}
.story-intro h1 span{color:#24727b}
body[data-experience] .story-intro p:not(.resource-kicker){font-size:.93rem;color:#486777;line-height:1.7;max-width:570px;margin:0}
.demo-intro-note{display:flex;align-items:center;gap:8px;color:#597b83;font-size:.67rem;margin-top:16px}
.demo-intro-note>span{color:#3c9b8b}
.demo-entry{padding:22px;border:1px solid #d0e1e8;border-radius:18px;background:#ffffff80}
body[data-experience] .demo-entry .demo-entry-kicker{font-size:.65rem;font-weight:700;letter-spacing:.06em;margin-bottom:14px;color:#426778}
body[data-experience] .story-intro .audience-actions{display:grid;gap:8px;margin:0}
body[data-experience] .story-intro .audience-actions button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 15px;border-radius:10px;border:1px solid #c3d8e1;font-size:.84rem;line-height:1.4;box-shadow:none;background:#f6fbfc;color:#244d60;text-align:left}
body[data-experience] .story-intro #quick-drive{background:linear-gradient(120deg,#206f7b,#18526d);color:#fff;border-color:#236c7a;box-shadow:0 6px 15px #19556820;font-weight:750}
body[data-experience] .story-intro #quick-drive:hover{background:#174f60}
body[data-experience] .story-intro #watch-story{background:#fff;color:#244d60;border-color:#bfd5df}
body[data-experience] .story-intro #explore-research{background:transparent;border-color:transparent;color:#426679;min-height:44px}
body[data-experience] .story-intro #watch-story span{font-size:.67rem;background:#e6f0f4;color:#517083;border-radius:5px;padding:4px 7px;opacity:1;white-space:nowrap}
body[data-experience] .demo-entry .demo-entry-help{font-size:.65rem;line-height:1.65;margin-top:10px;color:#66808d}
.demo-page-nav{display:flex;align-items:center;gap:22px;padding:0 6px 18px;margin-bottom:2px;flex-wrap:wrap}
.demo-page-nav a{color:#3d6579;font-size:.73rem;text-decoration:none;min-height:40px;display:inline-flex;align-items:center;gap:10px;border-bottom:1px solid transparent}
.demo-page-nav a:hover{color:#155b68;border-color:#5fa89e}
body[data-mission=true] .demo-page-nav{display:none}
body[data-experience] .guide-narration{border-radius:18px;padding:20px 24px;border:1px solid #b7d4d9;background:#e1f0efb8;box-shadow:none;margin:0 0 18px}
.guide-chapter{gap:12px;align-items:center;color:#376b72;font-size:.68rem}
#guide-chapter{background:#fff9;border:1px solid #bedbdc;border-radius:6px;padding:4px 8px}
body[data-experience] .guide-narration h2{font:700 clamp(1.15rem,2.1vw,1.55rem)/1.3 Manrope,'Segoe UI',sans-serif;letter-spacing:-.025em;margin:10px 0;color:#1d4b5c}
body[data-experience] .guide-narration>p{font-size:.85rem;line-height:1.7;color:#3e6675;max-width:1000px;margin:7px 0}
.guide-playback{gap:8px;flex-wrap:wrap;margin-top:14px}
body[data-experience] .guide-playback button{min-height:44px;border-radius:8px;font-size:.78rem;padding:9px 15px}
#guide-play{background:#215b6c;color:#fff;border-color:#215b6c}
#story-track{accent-color:#248c80;height:5px;border:0;margin-top:14px}
.story-navigation{font-size:.74rem}.story-navigation summary{min-height:44px;padding:11px}
#guide-progress{margin-left:auto;font-size:.7rem;color:#4a737c}
.story-lab{border-radius:22px;border:1px solid #3c6172;box-shadow:0 18px 45px #183e5420;background:#102b3b}
.story-top{padding:16px 20px;letter-spacing:.1em;background:#0d2635;font-size:.66rem}
.story-tag{font-size:.6rem;padding:5px 9px}
body[data-experience=guided]:not([data-mission=true]) .experience-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}
body[data-experience=guided]:not([data-mission=true]) .story-panel{padding:20px;gap:16px;background:#133141;border-left-color:#3a5c6b}
body[data-experience=guided]:not([data-mission=true]) .scene{height:440px}
.guide-yard-title{left:16px;right:16px;top:16px;padding:11px 14px;border-radius:10px;background:#0c2737e6;border-color:#5e8999}
.guide-yard-title span,.guide-operator-title>span{font-size:.62rem;letter-spacing:.09em;color:#aed0dd}
.guide-yard-title strong{font-size:.87rem;line-height:1.5;margin-top:4px}
.guide-operator-title h3{font-size:1.05rem;margin:7px 0 0;line-height:1.4;color:#ecf8ff}
.yard-caption{padding:20px 22px;border-top:1px solid #2e5264}
.yard-caption>span{font-size:.61rem;color:#92bfce;letter-spacing:.1em}
.yard-caption h3{font-size:1.12rem;line-height:1.35;margin:8px 0;color:#e3f2f6}
.yard-caption p{font-size:.81rem;line-height:1.7;color:#bdd4de}
.guide-consequence{padding:0 20px 20px}
.story-takeaway{border-radius:0 9px 9px 0;font-size:.84rem;padding:14px;background:#1d4050}
.guide-feedback{font-size:.75rem;line-height:1.7}
.observation-card{border:1px solid #446b7b;border-radius:12px;padding:15px;background:#173646}
.observation-card>span{font-size:.62rem;color:#a6c8d5}.observation-card strong{font-size:.92rem}
.story-page .operator-cockpit{border:1px solid #547d90;border-radius:16px;box-shadow:0 8px 24px #0003}
.operator-cockpit :where(button),.map-legend button{border-radius:7px;min-height:40px}
.cockpit-view-label{border-radius:0 7px 7px 0;background:#0c293ae8;padding:9px 11px}
.cockpit-view-label span{font-size:.59rem;letter-spacing:.09em}.cockpit-view-label strong{font-size:.72rem;line-height:1.5}
.cockpit-dashboard{border-radius:18px}.cockpit-console{border-radius:9px}
.cockpit-console>span{font-size:.58rem}.cockpit-console>small{font-size:.61rem}
.cockpit-console>strong{font-size:1.1rem}.cockpit-look button{min-height:40px}
.cockpit-pan-tools span{font-size:.63rem;line-height:1.5}
.story-page .cockpit-stop{position:absolute;top:77px;right:18px;z-index:6;min-height:44px;padding:9px 14px;border:1px solid #efad94;border-radius:9px;background:#983d34;color:#fff5ef;font-size:.8rem;font-weight:800;box-shadow:0 3px 10px #0004;cursor:pointer}
.story-page .cockpit-stop:hover{background:#b14d40}
/* Mission: the panorama and commands share the same row on wide screens. */
body[data-mission=true] .story-panel{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:18px;padding:18px;align-items:start}
body[data-mission=true] .story-panel>.mission-console{grid-column:2;grid-row:1;margin:0}
body[data-mission=true] .story-panel>.operator-cockpit{grid-column:1;grid-row:1;width:100%;margin:0}
body[data-mission=true] .story-panel>:not(.mission-console):not(.operator-cockpit){grid-column:1 / -1}
.mission-console{padding:16px;border-radius:14px;border-color:#567d8b;background:linear-gradient(145deg,#1d4251,#14323f)}
.mission-controls-title{margin:0 0 12px;color:#dbf0f5;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em}
.mission-next-action{background:#254f58;border-left:2px solid #9be3cf;padding:11px;font-size:.87rem;line-height:1.5;border-radius:0 8px 8px 0;margin-bottom:12px}
.mission-console button,.mission-console select{font-size:.73rem;border-radius:8px;min-height:44px;padding:9px 11px;border-color:#628894}
.mission-console #show-yard{float:none;display:inline-flex;align-items:center;margin:0 0 10px;font-size:.68rem}
.mission-console .mission-setup{display:flex;flex-wrap:wrap;gap:8px}
.mission-views{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}
.mission-console .mission-views button{font-size:.68rem;min-height:44px}
.mission-console .mission-views button[aria-pressed=true]{background:#b6e5da;border-color:#b6e5da;color:#143d3e}
#worker-challenge,#mission-exit{font-size:.66rem;background:transparent}
.loading-guide{margin-top:12px;padding:11px;border-radius:9px;background:#0f2c39;border:1px solid #436775}
.loading-guide strong{font-size:.75rem}.loading-guide span{font-size:.65rem;line-height:1.5}
.drive-help{font-size:.67rem;line-height:1.7;color:#b8d0da;margin:12px 0}
.steering-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.steering-controls button{font-size:.64rem;padding-inline:3px}
.steering-controls>span{font-size:.65rem}.wheel-feedback{grid-column:1}.steering-controls #drive-heading{grid-column:2 / -1}
.mission-console .mission-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px}
.mission-console .mission-actions button{padding:10px 6px;min-height:46px;font-size:.78rem}
.mission-console #mission-stop{background:#983d34;color:#fff5ef;border-color:#e8ab94}
.mission-console .mission-trust{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.mission-console .mission-trust button{font-size:.69rem;min-height:44px}
.mission-console .mission-trust strong{font-size:.7rem;line-height:1.6;margin:0}
.mission-more{padding-top:10px}.mission-more summary{font-size:.71rem;line-height:1.6;min-height:44px;padding:7px 0}
.mission-extra{display:grid;grid-template-columns:1fr;gap:10px}.mission-extra select{max-width:100%;width:100%}
.mission-extra label{font-size:.7rem}.mission-time{flex-wrap:wrap}
/* The explainer and research keep one consistent visual rhythm. */
.plain-explanation,.story-recap{margin:26px 0;padding:26px;border:1px solid #c0d8e1;border-radius:20px;background:#f9fdff99;box-shadow:0 8px 25px #173e4c08}
.plain-explanation .resource-kicker{background:none;border:0;padding:0;font-size:.65rem;letter-spacing:.06em;color:#467581}
.plain-explanation h2,.story-recap h2{font-size:clamp(1.4rem,2.5vw,1.9rem);line-height:1.25;letter-spacing:-.025em;color:#1c4f62}
.plain-explanation>p:not(.resource-kicker){font-size:.89rem;line-height:1.85;color:#496c7e}
.explanation-options{gap:14px;margin:22px 0}
.explanation-options article{padding:22px;border-radius:14px;box-shadow:none;background:#ffffffbd;border-color:#cadde6}
.explanation-options article:last-child{background:#e2f1edb8;border-color:#9fcabe}
.explanation-options span{font-size:.6rem;letter-spacing:.09em}.explanation-options h3{font-size:1.08rem;line-height:1.4;margin:10px 0}
.explanation-options p{font-size:.79rem;line-height:1.75}
.explanation-balance{padding:12px 15px;border-left:2px solid #7dbbb1;border-radius:0 7px 7px 0;background:#e6f2f580}
.mission-panel{border-radius:16px;padding:22px;background:#eef8f7b3;border-color:#b7d8d4;margin:22px 0}
.mission-heading h3{font-size:1.1rem;line-height:1.4;color:#204f5b}.mission-heading p{font-size:.85rem;line-height:1.7;color:#4b6b74}
#mission-start,#recap-try-again{min-height:46px;border-radius:9px;padding:12px 17px;background:#205f6c;color:#fff;border:1px solid #205f6c;font-size:.8rem}
.comparison-results{margin:26px 0;padding:24px;border:1px solid #c5d9e3;border-radius:18px;background:#f7fcffb0}
.comparison-cards{gap:14px}.mode-result{border-radius:12px;border-color:#bdd4df;padding:18px}
.mode-result h3{font-size:.94rem}.mode-result dl{font-size:.74rem;line-height:1.65}
.simulation-details,.sensing-architecture{border-radius:10px;border:1px solid #6b8d9d55;padding:13px;margin-top:14px}
.simulation-details summary,.sensing-architecture summary{min-height:44px;font-size:.79rem;cursor:pointer;line-height:1.6;padding:8px 0}
.simulation-details p,.sensing-architecture p{font-size:.77rem;line-height:1.8}
.semantic-funding{margin:26px 0;border-radius:20px;box-shadow:0 8px 25px #173e4c08}
.semantic-funding-copy a{min-height:44px;text-decoration:underline}
.story-disclaimer{font-size:.7rem;line-height:1.85;color:#5e798a;margin:22px 4px 28px;padding-top:18px;border-top:1px solid #c3d8e1}
.story-page :where(.comparison-selectors,.comparison-cards,.recap-facts,.challenge-facts,.fusion-build)>*{min-width:0}
@media(max-width:950px){
 body[data-mission=true] .story-panel{grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);padding:14px;gap:12px}
 .mission-console{padding:12px}.mission-console .mission-actions button{font-size:.72rem}
}
@media(max-width:800px){
 body[data-experience] .story-intro{grid-template-columns:1fr;gap:22px;padding:24px}.demo-entry{padding:18px}
 body[data-experience] .story-intro h1{font-size:2.4rem}.story-intro .demo-entry-help{max-width:none}
 body[data-experience=guided]:not([data-mission=true]) .experience-layout{grid-template-columns:1fr}
 body[data-experience=guided]:not([data-mission=true]) .story-panel{border-left:0;border-top:1px solid #426777;padding:18px}
 body[data-mission=true] .story-panel{display:flex;flex-direction:column;padding:12px;gap:14px}
 body[data-mission=true] .story-panel>.operator-cockpit{order:0}body[data-mission=true] .story-panel>.mission-console{order:1;width:100%}
 body[data-mission=true] .story-panel>:not(.mission-console):not(.operator-cockpit){order:2;width:100%}
 .mission-console .mission-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.steering-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
 .demo-page-nav{gap:6px 18px;padding:0 4px 14px}.demo-page-nav a{font-size:.68rem}
 .plain-explanation,.story-recap,.comparison-results{padding:22px}.explanation-options{grid-template-columns:1fr}
 .public-relevance{grid-template-columns:1fr;padding:20px;gap:20px}.recap-facts{grid-template-columns:1fr}
}
@media(max-width:480px){
 .story-page{padding-top:14px}body[data-experience] .story-intro{padding:20px 17px;border-radius:18px;gap:20px}
 body[data-experience] .story-intro h1{font-size:2rem}.story-intro .resource-kicker{font-size:.56rem}
 body[data-experience] .story-intro p:not(.resource-kicker){font-size:.85rem}.demo-intro-note{font-size:.6rem}
 .demo-entry{padding:14px;border-radius:12px}.demo-page-nav{gap:0 15px;margin:0}
 body[data-experience] .guide-narration{padding:17px;border-radius:14px}.guide-playback{gap:6px}#guide-progress{width:100%;margin:2px 0}
 .story-top{padding:14px;font-size:.6rem;gap:7px}.story-tag{font-size:.5rem}
 .story-lab{border-radius:16px}body[data-experience=guided]:not([data-mission=true]) .scene{height:330px}
 body[data-experience=guided]:not([data-mission=true]) .story-panel{padding:12px}.guide-yard-title{left:12px;right:12px;top:12px}
 .guide-yard-title strong{font-size:.78rem}.yard-caption{padding:18px}.guide-consequence{padding:0 16px 16px}
 .mission-console .mission-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.mission-console .mission-actions button{font-size:.8rem}
 .mission-console button{font-size:.72rem}.mission-console .mission-views button{font-size:.66rem}
 .plain-explanation,.story-recap,.comparison-results{padding:20px 16px;border-radius:16px;margin:20px 0}
 .plain-explanation h2,.story-recap h2{font-size:1.4rem}.explanation-options article{padding:18px}
 .semantic-funding{padding:20px 16px;border-radius:16px}.semantic-funding-copy p{font-size:.83rem}
 .story-page .cockpit-stop{right:12px;top:84px;min-height:44px;font-size:.72rem;padding:8px 12px}
}
@media(prefers-reduced-motion:reduce){.story-page button{transition:none}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
 body[data-experience] .story-intro,.demo-entry,.plain-explanation,.story-recap,.comparison-results{background:#f5fbfd}
 body[data-experience] .guide-narration{background:#e5f2ef}.story-page :where(button,summary,a):focus-visible{outline-color:#006d62}
}

/* Panorama provenance sits above the dashboard without obscuring its map. */
body[data-experience=guided]:not([data-mission=true]) .cockpit-caption{bottom:auto;top:44%;padding:4px 9px;background:#102d3cbd;font-size:.55rem}
body[data-mission=true] .story-intro{display:none}
body[data-mission=true] .story-panel>:not(.mission-console):not(.operator-cockpit){grid-row:auto}
body[data-experience] .story-intro .demo-entry-kicker{font-size:.7rem;margin-bottom:12px}
body[data-experience] .story-intro .demo-entry-help{font-size:.7rem;line-height:1.6;margin-top:10px}
body[data-experience=guided]:not([data-mission=true]) .surround-caption{top:45%;bottom:auto;background:#102d3cbd;padding:4px 8px;border-radius:4px;font-size:.55rem}
body[data-mission=true] .cockpit-pan-tools{top:216px;left:18px;right:18px;padding:4px;background:#102b3bd9;border-radius:8px}
@media(max-width:480px){body[data-mission=true] .cockpit-pan-tools{top:210px;left:14px;right:auto}body[data-mission=true] .cockpit-pan-tools span{display:none}}
body[data-experience] .story-intro .demo-entry p.demo-entry-help{font-size:.7rem;line-height:1.6;margin-top:10px}
body[data-experience] .story-intro .demo-entry p.demo-entry-kicker{font-size:.7rem;margin-bottom:12px}

/* Funding is part of the introduction, with one compact project acknowledgement. */
.story-intro>.semantic-funding{grid-column:1 / -1;display:flex;align-items:center;gap:22px;margin:0;padding:20px 0 0;border:0;border-top:1px solid #bfd7df;border-radius:0;background:none;box-shadow:none}
.story-intro .semantic-funding-logo{flex:0 0 156px;min-height:80px;padding:12px;border-radius:10px}
.story-intro .semantic-funding-logo img{width:132px;height:auto}
.story-intro .semantic-funding-copy{flex:1}
body[data-experience] .story-intro .semantic-funding-copy .resource-kicker{font-size:.59rem;letter-spacing:.07em;margin:0 0 5px}
.story-intro .semantic-funding-copy h2{font-family:Manrope,'Segoe UI',sans-serif;font-size:.95rem;margin:0 0 5px}
body[data-experience] .story-intro .semantic-funding-copy p:not(.resource-kicker){font-size:.72rem;line-height:1.65;max-width:none;margin:0}
.story-intro .semantic-funding-copy p span{font-size:.65rem}
.story-intro .semantic-funding-copy a{font-size:.68rem;min-height:36px}
@media(max-width:480px){.story-intro>.semantic-funding{align-items:flex-start;gap:14px;flex-direction:column}.story-intro .semantic-funding-logo{flex:auto;min-height:62px;padding:10px}.story-intro .semantic-funding-logo img{width:116px}}
/* A focused introduction: purpose, one primary action, then project provenance. */
body[data-experience] .story-intro{gap:24px 42px;padding:30px;border-radius:24px;grid-template-columns:minmax(0,1.45fr) minmax(280px,.85fr);background:linear-gradient(120deg,#f5ffffdc,#f4f7ffcd)}
body[data-experience] .story-intro h1{font-size:clamp(2.2rem,4.3vw,3.2rem);margin:14px 0 16px;line-height:1.04}
body[data-experience] .story-intro .demo-intro-copy>p:not(.resource-kicker){font-size:.92rem;line-height:1.75;max-width:540px}
.story-intro .demo-intro-note{margin-top:18px}
.story-intro>.demo-entry{border:0;border-left:1px solid #c5dbe2;border-radius:0;padding:8px 0 8px 28px;background:none}
body[data-experience] .story-intro .demo-entry p.demo-entry-kicker{font-size:.82rem;letter-spacing:0;color:#224f61;margin-bottom:14px}
body[data-experience] .story-intro .audience-actions{gap:10px}
body[data-experience] .story-intro .audience-actions button{min-height:52px;border-radius:11px;font-size:.82rem}
body[data-experience] .story-intro #quick-drive{min-height:58px;font-size:.94rem;box-shadow:0 8px 16px #18576d20}
body[data-experience] .story-intro #explore-research{justify-content:flex-start;min-height:40px;padding:5px 2px;text-decoration:underline;text-underline-offset:4px;font-size:.73rem}
body[data-experience] .story-intro .demo-entry p.demo-entry-help{font-size:.65rem;margin-top:6px;color:#607d89}
.story-intro>.semantic-funding{gap:18px;padding-top:20px;align-items:center}
.story-intro .semantic-funding-logo{flex:0 0 124px;min-height:64px;padding:10px;background:#ffffffc4}
.story-intro .semantic-funding-logo img{width:104px}
.story-intro .semantic-funding-copy h2{font-size:.77rem;color:#315d6d;margin-bottom:4px}
body[data-experience] .story-intro .semantic-funding-copy p:not(.resource-kicker){font-size:.65rem;line-height:1.65}
.story-intro .semantic-funding-copy p span{font-size:.59rem;color:#5e7987}
.story-intro .funding-project-link{flex-shrink:0;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border-radius:8px;border:1px solid #c4dbe2;font-size:.67rem;color:#275b6b;text-decoration:none;background:#ffffff70}
.story-intro .funding-project-link:hover{background:#fff}
@media(max-width:800px){body[data-experience] .story-intro{grid-template-columns:1fr;gap:24px;padding:24px}.story-intro>.demo-entry{padding:20px 0 0;border-left:0;border-top:1px solid #c5dbe2}.story-intro>.semantic-funding{flex-wrap:wrap}.story-intro .semantic-funding-copy{flex-basis:60%}}
@media(max-width:480px){body[data-experience] .story-intro{padding:22px 18px;gap:20px}body[data-experience] .story-intro h1{font-size:2.3rem}.story-intro>.semantic-funding{flex-direction:row;gap:12px}.story-intro .semantic-funding-logo{flex:0 0 104px;min-height:60px}.story-intro .semantic-funding-logo img{width:84px}.story-intro .semantic-funding-copy{flex:1;min-width:140px}.story-intro .funding-project-link{margin-left:116px}}
body[data-mission=true] .story-intro{display:none}
body[data-experience] .story-intro .semantic-funding-copy p:not(.resource-kicker){font-size:.73rem}
.story-intro .semantic-funding-copy p span{font-size:.67rem}
.story-intro .semantic-funding-copy h2{font-size:.82rem}
/* Give the funder mark a more visible presence. */
.story-intro .semantic-funding-logo{flex-basis:180px;min-height:88px;padding:12px}
.story-intro .semantic-funding-logo img{width:154px}
@media(max-width:480px){.story-intro .semantic-funding-logo{flex-basis:140px;min-height:78px;padding:10px}.story-intro .semantic-funding-logo img{width:118px}.story-intro .funding-project-link{margin-left:152px}}
/* Readable section navigator, kept in document flow for unobstructed annotation. */
.demo-page-nav{display:flex;gap:20px;align-items:center;padding:10px 12px;margin:0 0 18px;border:1px solid #c7dde5;border-radius:15px;background:#ffffff70;flex-wrap:nowrap}
.demo-nav-label{font-size:.67rem;font-weight:700;color:#587586;padding:0 8px;white-space:nowrap}
.demo-nav-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;flex:1;min-width:0}
.demo-page-nav a{display:flex;gap:10px;min-height:48px;padding:10px 12px;font-size:.76rem;font-weight:650;border:1px solid transparent;border-radius:9px;color:#345f73;line-height:1.4;background:#f5fbff60}
.demo-nav-number{font-size:.59rem;color:#6a8995;font-weight:600;font-variant-numeric:tabular-nums}
.demo-nav-arrow{margin-left:auto;color:#528194}
.demo-page-nav a:hover{background:#fff;border-color:#bfd8e1;color:#1c5263}
.demo-page-nav a[aria-current=location]{background:#d6ebeccc;border-color:#98c2c8;color:#184e5e;box-shadow:0 2px 5px #17465708}
.demo-page-nav a[aria-current=location] .demo-nav-number{color:#2e6a75}
@media(max-width:800px){.demo-page-nav{gap:8px;padding:10px;flex-direction:column;align-items:stretch}.demo-nav-label{padding:2px 3px;font-size:.64rem}.demo-page-nav a{font-size:.7rem;padding:9px;gap:7px}}
@media(max-width:480px){.demo-page-nav{margin:0 0 16px;border-radius:12px}.demo-nav-links{grid-template-columns:1fr;gap:4px}.demo-page-nav a{min-height:44px;padding:10px 12px;font-size:.78rem}.demo-nav-number{font-size:.64rem}}
/* Two persistent views, with keyboard-accessible tabs. */
#experience-panel[hidden],#semantic-explained[hidden]{display:none!important}
.demo-page-nav .demo-nav-links{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px}
.demo-page-nav [role=tab]{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 18px;border:1px solid transparent;border-radius:9px;background:transparent;color:#416779;font:650 .8rem/1.4 Manrope,'Segoe UI',sans-serif;text-align:left;cursor:pointer}
.demo-page-nav [role=tab]:hover{background:#ffffffa6;border-color:#c2dbe2}
.demo-page-nav [role=tab][aria-selected=true]{background:#235f70;color:#fff;border-color:#235f70;box-shadow:0 3px 9px #1b536319}
.demo-page-nav [role=tab][aria-selected=true] .demo-nav-number{color:#b9dce1}
#semantic-explained{margin-top:0}
@media(max-width:480px){.demo-page-nav .demo-nav-links{grid-template-columns:1fr 1fr;gap:5px}.demo-page-nav [role=tab]{font-size:.73rem;padding:10px;gap:7px;min-height:48px}}
/* Inline presentation: one caption, paired views, and explicit exit. */
body:not([data-presentation=true]) .presentation-only{display:none}
body[data-presentation=true] .story-intro,body[data-presentation=true] .demo-page-nav{display:none}
body[data-presentation=true] .presentation-shell{border:1px solid #729aa9;border-radius:20px;overflow:clip;background:#102b3b;box-shadow:0 16px 40px #1c46541c}
body[data-presentation=true] .guide-narration{border:0;border-radius:0;margin:0;padding:18px 22px;background:#edf7f8}
body[data-presentation=true] .guide-narration h2{font-size:1.4rem;margin:8px 0}
body[data-presentation=true] .guide-narration>p{font-size:.82rem;line-height:1.65;margin:4px 0;max-width:1000px}
body[data-presentation=true] .guide-playback{display:flex!important;margin-top:12px;gap:7px;align-items:center}
body[data-presentation=true] #story-track{display:block!important;margin:12px 0 0;width:100%}
body[data-presentation=true] #presentation-exit{margin-left:auto;background:transparent;border-color:#9dbdc8;color:#315969}
body[data-presentation=true] #guide-progress{margin-left:8px}
body[data-presentation=true] .story-navigation{display:none}
body[data-presentation=true] .story-lab{border:0;border-radius:0;box-shadow:none}
body[data-presentation=true] .story-top{padding:10px 18px;font-size:.58rem}
body[data-presentation=true] .yard-pane .yard-caption,body[data-presentation=true] .yard-pane .guide-consequence,body[data-presentation=true] .meaning-card{display:none}
body[data-presentation=true][data-experience=guided] .experience-layout .scene{height:480px;min-height:0}
body[data-presentation=true][data-experience=guided] .story-panel{padding:14px;gap:10px}
body[data-presentation=true] .guide-operator-title h3{font-size:.92rem;margin-top:3px}
body[data-presentation=true] .operator-cockpit{height:400px;min-height:0}
body[data-presentation=true] .operator-cockpit #operator-frame{height:220px}
body[data-presentation=true] .cockpit-dashboard{bottom:10px;padding:10px;gap:9px;left:10px;right:10px}
body[data-presentation=true] .operator-map-canvas{height:82px}
body[data-presentation=true] .cockpit-console{padding:8px}
body[data-presentation=true] .cockpit-confirmation{margin:5px 0;font-size:.5rem;padding:5px}
body[data-presentation=true] .cockpit-console>strong{font-size:.94rem}
body[data-presentation=true] .cockpit-view-label{top:12px;left:14px;padding:7px 9px}
body[data-presentation=true] .cockpit-compass{top:76px}
body[data-presentation=true][data-experience=guided] .surround-caption{top:190px;padding:4px 8px}
body[data-presentation=true][data-experience=guided] .cockpit-alert{top:147px;font-size:.65rem;padding:8px}
@media(max-width:800px){body[data-presentation=true][data-experience=guided] .experience-layout{grid-template-columns:1fr 1fr}body[data-presentation=true] .guide-playback{flex-wrap:wrap}body[data-presentation=true] #guide-progress{width:auto}body[data-presentation=true] .cockpit-dashboard{grid-template-columns:1fr}body[data-presentation=true] .cockpit-console{display:none}}
@media(max-width:560px){body[data-presentation=true][data-experience=guided] .experience-layout{grid-template-columns:1fr}body[data-presentation=true][data-experience=guided] .experience-layout .scene{height:270px}body[data-presentation=true] .guide-narration{padding:16px}body[data-presentation=true] .guide-narration h2{font-size:1.15rem}body[data-presentation=true] #presentation-exit{margin-left:0}body[data-presentation=true] .operator-cockpit{height:400px}body[data-presentation=true] .cockpit-dashboard{grid-template-columns:minmax(0,1fr) 90px}body[data-presentation=true] .cockpit-console{display:block}}
body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .operator-cockpit{height:410px;min-height:0}
body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .cockpit-dashboard{bottom:10px;padding:9px;gap:8px}
body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .operator-map-canvas{height:68px}
body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .experience-layout .scene{height:465px;min-height:0}
body[data-presentation=true] .map-heading{font-size:.5rem}
@media(max-width:560px){body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .experience-layout .scene{height:270px}}
body[data-presentation=true][data-story-chapter="1"] .cockpit-view-label,body[data-presentation=true][data-story-chapter="4"] .guide-yard-title{border-left:3px solid #efbd6a;background:#354339}
body[data-presentation=true][data-story-chapter="5"] .cockpit-console{border-color:#86ddc2;box-shadow:0 0 0 2px #86ddc22e}
body[data-presentation=true] .surround-caption{display:none}
body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .cockpit-console{display:flex;flex-direction:column;gap:4px;padding:8px}
body[data-presentation=true] .cockpit-console>*{margin:0;line-height:1.35}
body[data-presentation=true] .cockpit-console>span{font-size:.5rem}
body[data-presentation=true] .cockpit-console>small{font-size:.52rem}
body[data-presentation=true] .cockpit-console>small:last-child{display:none}
body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .cockpit-alert{top:142px}
@media(min-width:561px) and (max-width:800px){body[data-presentation=true][data-experience=guided]:not([data-mission=true]) .cockpit-console{display:none}}
/* Landing view stays concise; load the visual experience through its entry actions. */
body[data-experience=guided]:not([data-presentation=true]):not([data-mission=true]) .presentation-shell,
body[data-experience=guided]:not([data-presentation=true]):not([data-mission=true]) #story-recap{display:none}
/* Landing composition: editorial copy, clear experience cards and project provenance. */
body[data-experience] .story-intro{padding:34px;gap:28px 42px;background:linear-gradient(125deg,#f8ffffe8,#f3f7ffe3);box-shadow:0 14px 44px #224b6110;border-color:#fff;border-radius:26px}
.story-intro .demo-intro-copy{padding:8px 0}
.story-intro .resource-kicker{display:flex;gap:10px;align-items:center;letter-spacing:.04em}
.project-badge{display:inline-flex;padding:6px 9px;border-radius:6px;background:#d7eeec;color:#235c65;font-size:.61rem;letter-spacing:.08em;border:1px solid #afd2d2}
body[data-experience] .story-intro h1{font-size:clamp(2.35rem,4.65vw,3.45rem);line-height:1.05;margin:20px 0 18px;letter-spacing:-.04em}
body[data-experience] .story-intro .demo-intro-copy>p:not(.resource-kicker){font-size:.95rem;line-height:1.8;max-width:525px}
.story-intro .demo-intro-note{font-size:.66rem;margin-top:23px;color:#5c7c85}
.story-intro>.demo-entry{padding:22px;border:1px solid #3d6e7b;border-radius:18px;background:linear-gradient(145deg,#224e60,#123747);box-shadow:0 12px 24px #204f6020}
body[data-experience] .story-intro .demo-entry p.demo-entry-kicker{color:#cce3ea;font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px}
body[data-experience] .story-intro .audience-actions button{position:relative;display:block;text-align:left;padding:16px;min-height:78px;border-radius:10px;font-size:.88rem;font-weight:750;line-height:1.4}
body[data-experience] .story-intro #quick-drive{background:#d5f1e6;color:#154a49;border-color:#d5f1e6;min-height:84px;font-size:.95rem;box-shadow:none;padding-right:32px}
body[data-experience] .story-intro #quick-drive:hover{background:#e9fff5}
body[data-experience] .story-intro #watch-story{background:#ffffff0c;color:#f2fbff;border-color:#6b929f;box-shadow:none;padding-right:67px}
body[data-experience] .story-intro #watch-story:hover{background:#ffffff16}
body[data-experience] .story-intro .audience-actions .entry-detail{display:block;font-size:.67rem;line-height:1.6;font-weight:400;letter-spacing:0;background:none;padding:0;margin-top:5px;color:#bcd6df;white-space:normal;border-radius:0}
body[data-experience] .story-intro #quick-drive .entry-detail{color:#396e68}
.entry-arrow{position:absolute;right:16px;top:16px;font-size:1.05rem}
body[data-experience] .story-intro #watch-story .entry-duration{position:absolute;right:12px;top:16px;font-size:.54rem;padding:4px 6px;background:#385f70;color:#d1e7ef;border-radius:5px;white-space:nowrap}
body[data-experience] .story-intro #explore-research{min-height:40px;padding:7px 1px;font-size:.72rem;color:#c8e5e9;text-decoration:none}
body[data-experience] .story-intro #explore-research:hover{color:#fff;text-decoration:underline}
body[data-experience] .story-intro .demo-entry p.demo-entry-help{color:#a8c8d4;font-size:.61rem;margin-top:6px}
.story-intro>.semantic-funding{padding-top:22px;border-color:#c7dde5;gap:20px}
.story-intro .semantic-funding-copy h2{font-size:.84rem;color:#2f5969}
.story-intro .semantic-funding-copy .funding-project-link{min-height:44px}
.demo-page-nav{border-radius:14px;background:#f5fbff9c;margin:0 0 22px;padding:8px 12px;border-color:#cbdee7;box-shadow:none}
.demo-page-nav .demo-nav-links{max-width:none;grid-template-columns:1fr 1fr}
.demo-nav-label{flex:0 0 150px;font-size:.7rem;color:#5b7686}
.demo-page-nav [role=tab]{justify-content:center;font-size:.79rem;min-height:46px}
.demo-page-nav [role=tab][aria-selected=true]{background:#e1eeef;color:#245668;border-color:#b1d0d7;box-shadow:none}
.demo-page-nav [role=tab][aria-selected=true] .demo-nav-number{color:#658692}
@media(max-width:800px){body[data-experience] .story-intro{padding:26px;gap:24px}.story-intro .demo-intro-copy{padding:0}.story-intro>.demo-entry{padding:20px}.demo-nav-label{flex:auto}.demo-page-nav .demo-nav-links{max-width:none}}
@media(max-width:480px){body[data-experience] .story-intro{padding:22px 18px;gap:24px;border-radius:20px}body[data-experience] .story-intro h1{font-size:2.4rem}.story-intro .resource-kicker{font-size:.54rem;gap:8px}.project-badge{font-size:.55rem;padding:5px 7px}.story-intro>.demo-entry{padding:18px}.story-intro .demo-intro-note{font-size:.59rem}.demo-page-nav [role=tab]{font-size:.74rem;padding:10px}.story-intro .funding-project-link{margin-left:0}.story-intro>.semantic-funding{gap:14px}}
body[data-mission=true] .story-intro,body[data-presentation=true] .story-intro{display:none}
body[data-experience] .story-intro #quick-drive,body[data-experience] .story-intro #watch-story{display:block;width:100%;min-width:0;box-sizing:border-box;white-space:normal}
body[data-experience] .story-intro #watch-story span.entry-detail{display:block;font-size:.67rem;line-height:1.6;font-weight:400;background:none;padding:0;margin-top:5px;color:#bcd6df;white-space:normal;border-radius:0}
/* The explanation is directly available on the landing page. */
#semantic-explained{margin:24px 0}
body[data-presentation=true] #semantic-explained{display:none}
/* Explanation leads; driving is the secondary action. */
body[data-experience] .story-intro #watch-story{background:#d5f1e6;color:#154a49;border-color:#d5f1e6;min-height:88px;font-size:.95rem}
body[data-experience] .story-intro #watch-story:hover{background:#e9fff5}
body[data-experience] .story-intro #watch-story span.entry-detail{color:#396e68}
body[data-experience] .story-intro #watch-story .entry-duration{background:#b4dcd1;color:#245b58}
body[data-experience] .story-intro #quick-drive{background:#ffffff0c;color:#f2fbff;border-color:#6b929f;min-height:78px;font-size:.88rem}
body[data-experience] .story-intro #quick-drive:hover{background:#ffffff16}
body[data-experience] .story-intro #quick-drive .entry-detail{color:#bcd6df}
body[data-experience] .story-intro #explore-research{display:none}
/* Real presentation preview; the entire card remains one accessible button. */
body[data-experience] .story-intro #watch-story{padding:158px 16px 16px;overflow:hidden;border-radius:11px;text-align:left}
body[data-experience] .story-intro #watch-story span.explanation-thumbnail{position:absolute;display:block;inset:0 0 auto;height:140px;padding:0;margin:0;border-radius:0;background:#102b3b;overflow:hidden;white-space:normal}
.explanation-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 72%;opacity:.92;transition:transform .2s}
body[data-experience] .story-intro #watch-story:hover .explanation-thumbnail img{transform:scale(1.025)}
body[data-experience] .story-intro #watch-story span.thumbnail-play{position:absolute;display:grid;place-items:center;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;border:1px solid #ffffffb8;border-radius:50%;padding:0;background:#f4fffae8;color:#1c5660;font-size:1rem;box-shadow:0 4px 18px #00192340}
body[data-experience] .story-intro #watch-story .entry-duration{top:12px;right:12px;z-index:1;background:#102e3ce6;color:#f0fcff;padding:5px 7px;font-size:.57rem}
body[data-experience] .story-intro #watch-story span.entry-detail{margin-top:4px}
@media(prefers-reduced-motion:reduce){.explanation-thumbnail img{transition:none}}
