/* Round two: retained art direction, one coordinate system per 16:9 stage. */
section{width:100%;min-width:0}
.stage{width:min(100%,calc(100dvh * 16 / 9));height:auto;aspect-ratio:16/9;padding:0;container-type:size;flex:none;max-width:100%;box-sizing:border-box}
.stage .content,.stage .words{margin:0;position:absolute;left:18%;right:5%;top:13%;max-width:none;width:auto;z-index:2}
.stage h1{font-size:5.6cqw;line-height:1.15;letter-spacing:-.04em;overflow-wrap:anywhere}
.stage p{font-size:1.35cqw;line-height:1.8;max-width:85%;margin-top:3%;color:#bdc9ce}
.stage .eyebrow{font-size:1cqw;letter-spacing:.22em;margin-bottom:2.7%;color:#b0c1c7}
.stage .tag{left:18%;bottom:12%;font-size:1cqw;color:#c6d9db}
.cover .stage,.ending .stage{display:block}
.cover .stage .content{top:28%}.cover .stage h1{font-size:9cqw}.cover .stage p{font-size:1.6cqw}
.ending .stage .content{top:26%}.ending .stage h1{font-size:5.8cqw}
.stage .orb{z-index:1;opacity:.5;pointer-events:none}
.stage .rivers{z-index:1;opacity:.12;pointer-events:none}
.cinematic{position:absolute;inset:0;z-index:0;background:linear-gradient(135deg,#0a1620,#203e48)}
.cinematic img,.cinematic video,.contrast-media img,.contrast-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cinematic:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#050c12e6 0%,#050c1288 48%,#050c1222),linear-gradient(0deg,#050c12b3,transparent 70%)}
.flow .cinematic{opacity:.45}.flow .stage .content{top:8%}.flow .stage h1{font-size:4cqw;padding:0}.flow .stage p{font-size:1.2cqw;margin-top:1.5%;max-width:100%}.flow .stage .eyebrow{margin-bottom:1.5%}
.contrast-grid{position:absolute;left:18%;right:5%;top:43%;bottom:12%;display:grid;grid-template-columns:1fr 1fr;gap:2%;z-index:2}
.contrast-grid article{position:relative;overflow:hidden;border-radius:1cqw;border:1px solid #d2e4e526;background:#0c1720;min-width:0}
.contrast-media{position:absolute;inset:0}.contrast-media:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#060c13f5,transparent 95%)}
.contrast-copy{position:absolute;left:6%;right:6%;bottom:9%}.contrast-copy h2{font-size:2.4cqw;font-weight:600;margin:0}.contrast-copy p{font-size:1.1cqw;margin:2% 0 0;max-width:100%;color:#d3dcdb}
/* Local container units prevent wide windows from enlarging content past the stage. */
.matrix .stage .content{top:8%;left:18%;right:5%}.matrix .stage h1{font-size:3cqw}.matrix .stage .eyebrow{margin-bottom:2%}
.matrix .cards{inset:0;width:100%;height:100%}
.matrix .cards .media,.matrix.active .cards .media{left:var(--final-x,19%);top:var(--final-y,31%);width:23.5%;height:auto;aspect-ratio:16/9;border-radius:.6cqw;transform-origin:center}
.matrix .cards .media.spotlight{left:var(--final-x);top:var(--final-y);width:23.5%;transform:scale(1.04)}
.matrix .cards .media.docked,.matrix.matrix-complete .cards .media.docked{left:var(--final-x);top:var(--final-y);width:23.5%;transform:none}
.media video,.matrix .cards .media video{object-fit:contain;width:100%;height:100%;background:#060b11}
.matrix .cards .media .label,.matrix .cards .media.spotlight .label{font-size:.85cqw;padding:.5cqw 0;white-space:normal;line-height:1.3;overflow:visible;max-height:3cqw}
.matrix .cards .media .play{font-size:.7cqw;width:1.8cqw;height:1.8cqw}
/* Case heading, evidence prompts, and full-frame video each have a reserved area. */
.case .stage .words{top:8%;left:18%;right:5%;width:auto}.case .stage .words h1{font-size:3cqw;white-space:normal}.case .stage .words .eyebrow{margin-bottom:1.3%}
.case .stage>.media{left:49%;right:auto;top:30%;width:46%;height:auto;aspect-ratio:16/9;overflow:hidden;border-radius:.7cqw}
.case .media .label{display:none}.case .media .play{width:2.8cqw;height:2.8cqw;font-size:1cqw}
.value-panel{position:absolute;left:18%;top:28%;width:27%;bottom:12%;margin:0;display:grid;grid-template-rows:repeat(4,1fr);gap:2%;z-index:2}
.value-panel>div{padding:0 0 5%;border-bottom:1px solid #a9d4d522;min-width:0}
.value-panel dt{font-size:1.08cqw;color:#c6e7e0;font-weight:550;letter-spacing:.08em;margin-bottom:2%}
.value-panel dd{margin:0;font-size:1.05cqw;line-height:1.75;color:#a6b8c0;overflow-wrap:anywhere}
/***** Ink: ample breathing room, independently positioned text and naturally tapered ends. *****/
.ink .stage{display:block;background:#f8f5ec}.ink .stage .content{inset:0 0 0 18%;width:auto;margin:0;display:flex;align-items:center;justify-content:center;mix-blend-mode:difference;pointer-events:none}
.ink .stage .content h1{font-size:4.4cqw;white-space:nowrap;color:#fff;letter-spacing:.06em;text-shadow:none;line-height:1.2}
.ink .stage .content .eyebrow{position:absolute;top:10%;left:0;right:0;color:#fff;font-size:1cqw;margin:0}
.ink .stage .content p{position:absolute;bottom:13%;left:4%;right:4%;max-width:none;font-size:1.2cqw;color:#fff;margin:0}
.ink img.inkArt{inset:0;width:100%;height:100%;object-fit:contain;z-index:0}
.ink.active .content h1{animation:reveal 3s 1.8s both}.ink.active .content p{animation:reveal 2s 3s both}
/***** A five-step action sequence, leaving the heading intact. *****/
.copy .stage .content{top:10%}.copy .stage h1{font-size:3.7cqw}.copy .stage p{font-size:1.2cqw;margin-top:2%}
.action-steps{position:absolute;left:18%;right:5%;top:56%;bottom:15%;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:2%}
.action-steps li{position:relative;border-top:1px solid #99d7d666;padding-top:10%}.action-steps li:not(:last-child):after{content:'→';position:absolute;right:-10%;top:25%;font-size:1.3cqw;color:#688a91}
.action-steps span{font-size:.9cqw;letter-spacing:.1em;color:#76afa9}.action-steps h2{font-size:2.1cqw;margin:10% 0;color:#e8eeea;font-weight:550}.action-steps p{font-size:1.05cqw;margin:0;max-width:100%;line-height:1.6}
#toc{gap:min(1.25vw,2.22dvh)}
nav{left:2%;right:2%;bottom:1.5%;gap:6px;font-size:clamp(9px,.8vw,13px)}
nav button{padding:6px 9px}#tips{inset:auto;left:25%;right:15%;top:30%;font-size:16px}
@media(max-width:700px){nav{font-size:9px;gap:3px}nav button{padding:5px 6px}#brand{display:none}#counter{margin-right:auto}#toc a{font-size:max(5px,min(.85vw,1.51dvh))}#tips{left:10%;right:10%;font-size:13px;padding:20px}}
@media(prefers-reduced-motion:reduce){.active *{animation-duration:.01ms!important;animation-delay:0s!important;transition:none!important}}

/* Delivered footage: only the selected shot plays, crossfading at sequence cuts. */
.ambient-video{opacity:0;transition:opacity .65s ease;pointer-events:none}.ambient-video.is-current{opacity:1}.ambient-video[hidden]{display:none!important}
.contrast-media video{object-fit:contain;background:#080f16}.contrast-copy small{display:block;font-size:.67cqw;line-height:1.4;color:#a8b7bc;margin-top:2%;max-width:100%}
.matrix-mode-toggle{position:absolute;z-index:6;right:5%;top:21%;background:transparent;border-color:#718f9544;font-size:.85cqw;padding:.45cqw .9cqw;color:#a9c4c7}
.matrix-film{position:absolute;left:25%;top:23%;width:68%;aspect-ratio:16/9}.matrix-film>.media{width:100%;height:100%}.matrix-film video{object-fit:contain}.matrix-film .label{display:none}.matrix-film .play{width:2.7cqw;height:2.7cqw;font-size:1cqw}
.matrix .cards[hidden],.matrix-film[hidden]{display:none!important}
.matrix-mode-toggle{top:19%}
