/* A stable camera preserves the framing; the scroll supplies the motion. */
.motion-enabled .chapter .scene-media img{animation:none!important;transform:none!important}
.motion-enabled [data-chapter]>.scene-media img{opacity:var(--scene-opacity,1);transition:opacity .18s linear}
[data-atmosphere-scene]>.scene-media,.room-panorama>picture{filter:brightness(var(--scene-power,1));transition:filter .18s ease,opacity 1.4s ease}
.office-glow{animation-duration:16s;opacity:var(--lamp-level,.64);transition:opacity .18s ease;background:radial-gradient(ellipse at 78% 8%,#62bfff70,transparent 54%),radial-gradient(ellipse at 18% 14%,#569fff3d,transparent 40%)}
.scene-media:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 53% 42%,transparent 42%,#0107114d 100%)}
.chapter--hero .scene-media:before{background:radial-gradient(ellipse at 65% 35%,transparent 48%,#01071145)}
.chapter-copy>.punchline{font:500 clamp(18px,1.65vw,25px)/1.55 var(--sans);color:#cedfeb;margin-top:24px;max-width:540px}
.chapter--liquidity .chapter-copy>.punchline{font-size:clamp(23px,2.1vw,32px);line-height:1.45;color:#e0f0fa;max-width:590px;margin-top:28px}
.chapter--liquidity .chapter-copy{max-width:750px}
.evidence-chapter{position:relative;isolation:isolate;overflow:hidden;background:#06111c}
.evidence-chapter>.scene-media{position:relative;inset:auto;display:block;width:100%;height:auto;z-index:-3}
.evidence-chapter>.scene-media img{display:block;width:100%;height:auto;object-fit:contain}
.evidence-chapter>.scene-media:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:10%;background:linear-gradient(transparent,#06111c);pointer-events:none}
.evidence-chapter>.scene-atmosphere{bottom:auto;height:56.28vw}
.board-caption{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr 1fr;gap:100px;padding-block:75px 105px;transition:opacity 1s ease,transform 1s ease}
.board-caption:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 80% 0%,#5baeff0f,transparent 65%);opacity:var(--lamp-level,.64);transition:opacity .18s}
.motion-enabled .evidence-chapter:not(.is-seen) .board-caption{opacity:0;transform:translateY(20px)}
.board-story h2{font-size:clamp(76px,7.7vw,122px);margin-top:25px;line-height:.88}
.board-story>p{font-size:14px;line-height:1.9;color:#a5bfd1;max-width:470px;margin-top:28px}
.board-story>.board-aside{font-size:15px;color:#d0e3ef;margin-top:21px;max-width:430px}
.board-discovery{align-self:center;min-width:0}
.board-discovery>.button{min-width:225px}
.coded-notes{margin-top:30px;border-top:1px solid #83bad340;border-bottom:1px solid #83bad330}
.coded-notes summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:21px 0;list-style:none;cursor:pointer;color:#c2dce9;font-size:14px}
.coded-notes summary::-webkit-details-marker{display:none}.coded-notes summary>span{font-size:22px;color:var(--blue)}.coded-notes[open] summary>span{transform:rotate(45deg)}
.coded-notes>p{font-size:12px;color:#7799b3;line-height:1.9;margin-bottom:19px}
.coded-notes dl{margin:0 0 20px}.coded-notes dl>div{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:13px 0;border-top:1px solid #83bad31f;font-size:11px}.coded-notes dt{color:#88bad9}.coded-notes code{font:10px/1.8 var(--mono);overflow-wrap:anywhere}.coded-notes dd{margin:0;color:#d3e8f5;font:11px/1.8 var(--mono);white-space:nowrap}
.light-switch{margin-top:23px;font-size:11px}.light-switch:disabled{opacity:.35;cursor:default}
.evidence-chapter>.chapter-bottom{bottom:25px}
.evidence-viewer{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;padding:0;margin:0;overflow:hidden;background:#030a12;color:var(--text);font:400 16px/1.7 var(--sans)}.evidence-viewer::backdrop{background:#02070c}
.evidence-toolbar{position:absolute;inset:0 0 auto;z-index:5;min-height:80px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 30px;background:#030a12f0;border-bottom:1px solid #9acbe324}
.evidence-toolbar h2{font:500 10px/1.6 var(--mono);letter-spacing:.07em}.evidence-toolbar h2>span{color:#577c99;font-size:8px;margin-left:12px}
.evidence-toolbar>div{display:flex;align-items:center;gap:15px}.evidence-zoom{display:flex;align-items:center;gap:25px;min-height:42px;border:1px solid #7db6d650;background:#0a1b2b;padding:8px 15px;font-size:11px}.evidence-zoom span{font-size:18px;color:var(--blue)}
.evidence-pan{position:absolute;top:80px;bottom:70px;left:0;right:0;display:flex;overflow:auto;padding:20px;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-color:#416b8b #030a12}
.evidence-pan img{display:block;flex:0 0 auto;width:100%;height:100%;max-width:none;object-fit:contain;user-select:none}
.evidence-pan.is-zoomed{cursor:grab}.evidence-pan.is-zoomed img{width:1672px;height:941px;object-fit:fill}.evidence-pan.is-dragging{cursor:grabbing}
.evidence-hint{position:absolute;left:30px;bottom:22px;right:280px;color:#7b9db4;font:9px/1.7 var(--mono)}.evidence-clue{position:absolute;right:30px;bottom:14px;font-size:10px;min-height:38px}
.motion-enabled .evidence-viewer[open]{animation:room-enter .4s ease both}.motion-enabled .evidence-viewer.is-closing[open]{animation:dialog-leave .22s ease both}
.case-count{font:10px var(--mono)!important;color:var(--blue)}
.clue-spot{position:absolute;z-index:5;transform:translate(-50%,-50%);display:none;place-items:center;width:48px;height:48px;padding:0;border:0;background:none;cursor:pointer;opacity:var(--scene-opacity,.8)}
.clue-spot.is-positioned{display:grid}.clue-spot>span{width:7px;height:7px;border-radius:50%;background:#d5d5ab;box-shadow:0 0 6px #ffe2a18c,0 0 20px #fff3b33b;outline:1px solid #c0d8d040;outline-offset:5px;transition:transform .25s,outline-color .25s}
.clue-spot:hover>span,.clue-spot:focus-visible>span{transform:scale(1.55);outline-color:#ecfaffcc}.clue-spot:after{content:'Examine';position:absolute;top:100%;padding:4px 8px;background:#06111ced;border:1px solid #658caa50;color:#b5cddd;font:7px/1.7 var(--mono);letter-spacing:.05em;opacity:0;pointer-events:none}.clue-spot:hover:after,.clue-spot:focus-visible:after{opacity:1}
.clue-spot.is-found>span{background:#8fd0eb;box-shadow:0 0 15px #8edcff55}.clue-spot.is-solved>span{width:5px;height:5px;background:#6c9ab1;outline-color:#799bb526;box-shadow:none}
.motion-enabled .clue-spot:not(.is-found)>span{animation:clue-glint 7s ease-in-out infinite}.motion-enabled .clue-spot[data-clue=fans]>span{animation-delay:-2s}.motion-enabled .clue-spot[data-clue=hex]>span{animation-delay:-4s}.motion-enabled .clue-spot[data-clue=author]>span{animation-delay:-6s}@keyframes clue-glint{0%,60%,100%{opacity:.5;box-shadow:0 0 5px #ffe2a130}72%{opacity:1;box-shadow:0 0 12px #ffe2a178}}
.case-dialog{width:min(680px,calc(100% - 32px));padding:40px}.case-dialog h2{font-size:70px;line-height:.92}.case-dialog>p{font-size:13px}.case-dialog>.eyebrow,.riddle-dialog>.eyebrow{font-size:8px}.case-dialog>.case-progress{font:10px/1.8 var(--mono);color:#82b7d7;margin-top:20px;padding-bottom:17px;border-bottom:1px solid #8ec9e733}
.case-list{margin-top:4px}.case-row{display:flex;gap:17px;align-items:start;padding:17px 0;border-bottom:1px solid #83bad329}.case-row>span{font:9px/1.8 var(--mono);color:#78aac8;padding-top:3px}.case-row>div{flex:1;min-width:0}.case-row h3{font-size:15px;font-weight:500;line-height:1.5;color:#d6e8f4}.case-row small{display:block;font:7px/1.9 var(--mono);letter-spacing:.07em;color:#5f8aa8;margin-top:4px}.case-row .text-link{font-size:10px;padding:8px 0;margin-top:4px;min-height:36px}.case-row>b{font:15px var(--mono);color:#4c7795;padding-top:4px}.case-row.is-solved>b{color:#91c9b3}.case-row.is-solved small{color:#7fb7a2}
.case-final{margin-top:25px}.case-final[hidden],.case-ending[hidden],.riddle-hint[hidden]{display:none!important}.case-final h3,.case-ending h3{font:800 42px/1 var(--display);margin-bottom:14px}.case-final>p,.case-ending>p{font-size:12px;color:#92b3ca;line-height:1.9}.case-final form{margin-top:24px}.answer-row{display:flex;gap:12px;flex-wrap:wrap}.answer-row>input{flex:1;min-width:150px}.answer-row>.button{font-size:10px;gap:15px}.case-dialog label,.riddle-dialog label{display:block;font-size:11px;color:#b4d0e3;margin-bottom:10px}.case-dialog input,.riddle-dialog input{width:100%;border:1px solid #6495b66b;border-radius:2px;background:#030d18;color:#e1f0fa;font:500 16px/1.4 var(--sans);padding:13px 15px;min-height:49px}.case-dialog input:focus,.riddle-dialog input:focus{outline:2px solid #81d9ff;outline-offset:2px}.case-dialog input::placeholder,.riddle-dialog input::placeholder{color:#4b708c}.answer-feedback{min-height:20px;margin-top:15px;color:#d8b0a2;font-size:12px;line-height:1.8}.answer-feedback.is-correct{color:#9acdb7}
.case-ending{margin-top:27px;border-top:1px solid #80b6d740;padding-top:25px}.case-stamp{display:inline-block;transform:rotate(-3deg);border:2px solid #af8b79;color:#d8ae94;letter-spacing:.08em;font:700 13px/1.5 var(--mono);padding:9px 12px;margin:8px 0 28px}.case-ending>p>strong{color:#d9e8f2;font-weight:500}.case-ending>.button{margin-top:24px;width:100%}.case-device-note{display:block;margin-top:23px;font-size:8px;color:#507b98;line-height:1.8}.case-close-bottom{margin-top:15px;font-size:10px}
.riddle-dialog{width:min(530px,calc(100% - 32px));padding:40px}.riddle-dialog h2{font-size:62px;white-space:pre-line;line-height:.93}.riddle-dialog>[data-riddle-question]{font-size:14px;line-height:1.85;white-space:pre-line;color:#adcadb}.riddle-dialog form{margin-top:27px}.riddle-dialog form>.button{width:100%;margin-top:15px;font-size:11px}.riddle-dialog form>.button:disabled{opacity:.6}.riddle-dialog input:disabled{color:#84b4c6;background:#071828}.riddle-dialog>.text-link{font-size:11px}.riddle-dialog>.riddle-back{display:flex;width:max-content;margin-top:20px}.riddle-hint{padding:14px 16px;background:#12304a55;border-left:2px solid #588fb0;color:#9fc1d8!important;font-size:12px!important;margin-top:15px}.motion-enabled dialog.is-closing{pointer-events:none}
@media(max-width:1100px){.board-caption{gap:60px}.board-story h2{font-size:95px}.board-story>p{font-size:13px}.board-story>.board-aside{font-size:14px}.chapter--liquidity .chapter-copy>.punchline{font-size:27px;max-width:500px}}
@media(max-width:800px){.board-caption{grid-template-columns:1fr;gap:40px;padding-block:55px 100px}.board-story h2{font-size:92px}.board-story>p{max-width:590px;font-size:14px}.board-discovery{max-width:600px;width:100%}.board-discovery>.button{min-width:240px}.evidence-toolbar{padding-inline:20px}.evidence-toolbar h2>span{display:none}.evidence-hint{left:20px;font-size:8px;right:260px}.evidence-clue{right:20px}.chapter-copy>.punchline{font-size:20px}}
@media(max-width:650px){.chapter-copy>.punchline{font-size:19px;line-height:1.5;max-width:335px;margin-top:22px}.chapter--liquidity .chapter-copy>.punchline{font-size:22px;max-width:335px;line-height:1.45;margin-top:25px}.board-caption{padding-block:40px 93px;gap:34px}.board-story>.eyebrow{font-size:7px}.board-story h2{font-size:clamp(74px,21vw,105px);margin-top:20px}.board-story>p{font-size:13px;margin-top:23px}.board-story>.board-aside{font-size:14px;margin-top:20px}.coded-notes summary{font-size:12px;padding-block:19px}.coded-notes>p{font-size:11px}.coded-notes code{font-size:9px}.coded-notes dd{font-size:10px}.coded-notes dl>div{gap:15px}.board-discovery>.button{min-width:225px}.light-switch{font-size:10px}.evidence-chapter>.fiction-label{top:16px;left:16px;right:auto;font-size:5px;padding:5px 6px}.evidence-toolbar{min-height:70px;padding:12px 14px;gap:12px}.evidence-toolbar h2{font-size:7px;letter-spacing:0;max-width:110px}.evidence-toolbar>div{gap:10px}.evidence-zoom{font-size:9px;padding:7px 10px;gap:14px;min-height:40px}.evidence-zoom span{font-size:16px}.evidence-toolbar .room-close{font-size:9px;gap:10px}.evidence-pan{top:70px;bottom:100px;padding:12px}.evidence-hint{bottom:56px;left:18px;right:18px;font-size:7px;text-align:center}.evidence-clue{bottom:10px;right:auto;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px}.case-dialog,.riddle-dialog{padding:36px 25px}.case-dialog h2{font-size:57px}.case-dialog>.eyebrow,.riddle-dialog>.eyebrow{font-size:6px}.case-dialog>p{font-size:12px}.case-dialog>.case-progress{font-size:8px}.case-row h3{font-size:13px}.case-row{gap:13px;padding-block:16px}.case-row .text-link{font-size:9px}.case-row small{font-size:6px}.case-final h3,.case-ending h3{font-size:37px}.case-final>p,.case-ending>p{font-size:11px}.answer-row>.button{width:100%}.case-stamp{font-size:11px}.case-device-note{font-size:7px}.riddle-dialog h2{font-size:55px}.riddle-dialog>[data-riddle-question]{font-size:13px}.riddle-dialog .answer-feedback{font-size:11px}.riddle-dialog .riddle-hint{font-size:11px!important}.riddle-dialog form{margin-top:23px}.clue-spot:after{font-size:6px}}
@media(max-width:375px){.chapter--liquidity .chapter-copy>.punchline{font-size:20px}.board-story h2{font-size:74px}.case-dialog h2{font-size:52px}.riddle-dialog h2{font-size:49px}.evidence-toolbar h2{font-size:6px;max-width:96px}.evidence-toolbar>div{gap:8px}.evidence-zoom{font-size:8px;gap:12px;padding-inline:8px}.case-stamp{font-size:9px}}
@media(prefers-reduced-motion:reduce){[data-atmosphere-scene]>.scene-media,.room-panorama>picture{filter:none!important;transition:none}.motion-enabled [data-chapter]>.scene-media img{opacity:1!important;transition:none}.clue-spot>span{animation:none!important}.evidence-viewer[open],.evidence-viewer.is-closing[open]{animation:none!important}}

.case-ending>[data-reset-case]{margin-top:17px;font-size:10px}.case-ending h3:focus{outline:none}

.chapter-transition.is-covering{pointer-events:auto}

/* Keep the complete supervision shot visible, with the story below the frame. */
.chapter--watching{height:auto;min-height:0;background:#06111c}
.chapter--watching>.scene-media{position:relative;inset:auto;display:block;height:auto;width:100%}
.chapter--watching>.scene-media img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}
.chapter--watching>.scene-media:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:10%;background:linear-gradient(transparent,#06111c);pointer-events:none}
.chapter--watching>.scene-shade{display:none}
.chapter--watching>.scene-atmosphere{bottom:auto;height:56.28vw}
.chapter--watching .chapter-body{height:auto;align-items:start;padding-block:48px 112px}
.chapter--watching .chapter-copy{display:grid;grid-template-columns:1.15fr 1fr;column-gap:70px;max-width:none;width:100%}
.chapter--watching .chapter-copy>.eyebrow{grid-column:1/-1;margin-bottom:28px}
.chapter--watching h2{grid-column:1;grid-row:2/4;font-size:clamp(80px,8.8vw,140px)}
.chapter--watching .chapter-copy>p{grid-column:2;margin-top:0;max-width:470px;align-self:end}
.chapter--watching .chapter-copy>.punchline{align-self:start;margin-top:24px;max-width:470px}
@media(max-width:900px){.chapter--watching .chapter-copy{column-gap:40px}.chapter--watching h2{font-size:clamp(72px,10vw,100px)}.chapter--watching .chapter-copy>.punchline{font-size:19px}}
@media(max-width:650px){.chapter--watching .chapter-body{padding-block:28px 94px}.chapter--watching .chapter-copy{display:block}.chapter--watching .chapter-copy>.eyebrow{margin-bottom:21px;font-size:7px}.chapter--watching h2{font-size:clamp(68px,20.5vw,112px)}.chapter--watching .chapter-copy>p{margin-top:23px;font-size:13px;max-width:440px}.chapter--watching .chapter-copy>.punchline{font-size:20px;line-height:1.5;margin-top:24px}.chapter--watching:before{height:18px}}
