/* A short cinematic hold keeps the whole frame on screen before the next chapter enters. */
.immersive-page .cinematic-film{
 --film-frame-height:100vh;
 --film-hold-height:40vh;
 height:calc(var(--film-frame-height) + var(--film-hold-height));
 min-height:0;
 max-height:none;
 overflow:visible;
 background:var(--base);
}
.immersive-page .film-frame{
 position:sticky;
 top:0;
 width:100%;
 height:var(--film-frame-height);
 overflow:hidden;
 overflow:clip;
 isolation:isolate;
 background:var(--base);
}
.immersive-page .film-caption h2{font-size:clamp(72px,7.8vw,132px)}
@supports(height:100svh){
 .immersive-page .cinematic-film{--film-frame-height:100svh;--film-hold-height:40svh}
}
/* Stable viewport units avoid resizing the sticky chapter as browser chrome hides. */
/* A shorter hold suits a direct swipe while preserving the full-screen frame. */
@media(max-width:760px){
 .immersive-page .film-caption h2{font-size:clamp(44px,14vw,96px)}
 .immersive-page .film-caption .eyebrow{font-size:11px;letter-spacing:.08em;gap:10px}
 .immersive-page .film-caption .text-link{min-height:44px;align-items:center;font-size:14px}
 .immersive-page .cinematic-film{--film-hold-height:30vh}
 @supports(height:100svh){.immersive-page .cinematic-film{--film-hold-height:30svh}}
}
@media(max-height:540px){
 .immersive-page .film-caption h2{font-size:clamp(40px,12svh,64px)}
 .immersive-page .film-caption .eyebrow{margin-bottom:14px}
 .immersive-page .film-caption .text-link{min-height:40px;font-size:13px}
}
/* On phones and portrait tablets the complete 16:9 shot sits above the copy.
   Matching the footage ratio preserves it; cover only crops the wider poster. */
@media(orientation:portrait){
 .immersive-page .film-frame{display:flex;flex-direction:column;justify-content:center;gap:clamp(18px,3svh,28px);padding:clamp(20px,4svh,40px) 0 max(88px,env(safe-area-inset-bottom))}
 .immersive-page .cinematic-film .hero-video{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/9;flex:0 0 auto;object-fit:cover;object-position:35% center;z-index:0}
 .immersive-page .film-shade{display:none}
 .immersive-page .film-caption{position:relative;inset:auto;left:auto;bottom:auto;width:calc(100% - 2*var(--pad));max-width:none;margin:0 var(--pad);flex:0 0 auto}
 .immersive-page .film-caption .eyebrow{font-size:11px;letter-spacing:.08em;gap:10px;margin-bottom:18px}
 .immersive-page .film-caption h2{font-size:clamp(38px,min(14vw,8svh),72px);margin-bottom:20px}
 .immersive-page .film-caption .text-link{min-height:44px;align-items:center;font-size:14px}
 .scroll-choreography.immersive-page .film-frame .film-caption,
 .scroll-choreography.immersive-page .film-frame .film-caption h2>span{transform:none;opacity:1}
}
/* No snap, scroll lock or new animated property is introduced. */
@media(prefers-reduced-motion:reduce){
 .immersive-page .cinematic-film{--film-hold-height:20vh}
 @supports(height:100svh){.immersive-page .cinematic-film{--film-hold-height:20svh}}
}
