#series-grid{display:block}
.series-story{border-top:1px solid var(--line)}
.series-screen{min-height:calc(100svh - var(--nav-height));padding:28px 0 40px;box-sizing:border-box}
.series-screen h3{font-size:28px;margin:0 0 18px}
.series-phase{font-size:12px;color:#999;margin:0 0 24px}
.series-phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.series-cell{min-width:0}
.series-cell h5{font:12px Consolas,monospace;color:#aaa;margin:0 0 12px}
.series-stills img{display:block;width:100%;height:auto;aspect-ratio:1;max-height:55svh;object-fit:contain;background:#080808}
.series-motion{border-top:1px solid var(--line)}
.series-motion .video-card{margin:0}
.series-motion video,.series-motion .series-cell>img{display:block;width:100%;height:60svh;max-height:600px;object-fit:contain;background:#080808}
@media(max-width:650px){.series-screen h3{font-size:23px}.series-phase-grid{gap:10px}.series-cell h5{font-size:10px}.series-stills img{max-height:45svh}.series-motion video,.series-motion .series-cell>img{height:42svh;max-height:420px}.series-motion figcaption{overflow-wrap:anywhere}}
#waterfall video{cursor:zoom-in}
#waterfall video:focus-visible{outline:2px solid white;outline-offset:3px}
#video-viewer{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:20px;background:#080808;border:0;color:#eee;overflow:hidden}
#video-viewer[open]{display:flex;flex-direction:column}
#video-viewer>video{display:block;flex:1;min-height:0;width:100%;object-fit:contain;margin-top:14px}
.series-story{display:block;position:relative;isolation:isolate}.series-screen{position:sticky;top:var(--screen-top,var(--nav-height));background:var(--bg)}
.series-screen-content{transform-origin:center bottom;will-change:transform,opacity}
@media(prefers-reduced-motion:reduce){.series-screen{position:relative;top:auto}.series-screen-content{transform:none!important;opacity:1!important;will-change:auto}}


.suite-jump-nav{position:sticky;top:var(--nav-height);z-index:100;display:flex;flex-wrap:nowrap;gap:8px;max-width:none;overflow-x:auto;overscroll-behavior-x:contain;padding:12px 0;background:var(--bg);border-block:1px solid var(--line);scrollbar-width:thin}
.suite-jump-nav button{flex:0 0 auto;white-space:nowrap;padding:9px 14px;border:1px solid #444;background:#181818;color:#bbb;font-size:13px;border-radius:4px}
.suite-jump-nav button:hover{border-color:#aaa;color:#fff}
.suite-jump-nav button[aria-current="true"]{background:#eee;border-color:#eee;color:#111}
#series .series-screen{min-height:calc(100svh - var(--nav-height) - var(--suite-bar-height,62px))}
@media(max-width:650px){.suite-jump-nav{gap:6px;padding:8px 0}.suite-jump-nav button{padding:10px 12px;min-height:44px}}
/* Selected four-level suites share a single image / motion screen. */
.series-phase-grid[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.series-combined .series-phase-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;max-width:920px;margin-inline:auto}
.series-combined .series-cell>img,.series-combined video{display:block;width:100%;height:55svh;max-height:600px;aspect-ratio:auto;object-fit:contain}
.series-combined .video-card{margin:0}
@media(max-width:650px){.series-phase-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.series-phase-grid[data-count="4"] img{max-height:27svh}.series-phase-grid[data-count="4"] video{height:30svh}.series-combined .series-cell>img,.series-combined video{height:42svh}}
