/* Full-height scenes keep ordinary document scrolling and native video controls. */
.about-films { --film-viewport:calc(100svh - var(--ip-header-bottom,76px)); background:var(--paper); overflow:clip; }
.about-films__reel { background:#242426; }
.about-films .about-film-anchor { height:0; scroll-margin-top:var(--ip-header-bottom,76px); }
.about-film { position:relative; min-width:0; }
.about-films__reel.is-scroll-ready .about-film { position:sticky; top:var(--ip-header-bottom,76px); }
.about-film__surface { position:relative; min-height:var(--film-viewport); padding:20px 4% 22px; background:var(--paper); transform-origin:50% 30%; transform:scale(var(--film-scale,1)); opacity:var(--film-opacity,1); }
.about-film__heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:18px; min-height:44px; }
.about-film__heading h1,.about-film__page-label { margin:0!important; color:var(--graphite); font-size:32px!important; line-height:1.2; font-weight:400; letter-spacing:-.04em; }
.about-film__steps { display:flex; align-items:center; gap:12px; font-size:13px; font-variant-numeric:tabular-nums; }
.about-film__steps a { display:grid; place-items:center; min-width:44px; min-height:44px; position:relative; color:#737377; }
.about-film__steps a[aria-current] { color:var(--graphite); }
.about-film__steps a[aria-current]::after { content:''; position:absolute; bottom:3px; left:12px; right:12px; height:1px; background:currentColor; }
.about-film__steps>span { color:#737377; }
.about-film__screen { position:relative; height:max(220px,calc(var(--film-viewport) - 166px)); overflow:hidden; background:#242426; color:var(--paper); }
.about-film__video,.about-film__poster { display:block; width:100%; height:100%; object-fit:contain; }
.about-film__poster { position:absolute; inset:0; object-fit:cover; opacity:.5; }
.about-film__play { position:absolute; inset:0 0 48px; width:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:18px; padding:48px 16px 0; color:var(--paper); background:transparent; border:0; font-size:15px; cursor:pointer; }
.about-film__play-icon { display:grid; place-items:center; width:88px; height:88px; border:1px solid rgb(251 251 250 / .65); border-radius:50%; background:rgb(36 36 38 / .25); backdrop-filter:blur(4px); transition:transform .25s,background .25s; }
.about-film__play svg { width:28px; height:28px; fill:currentColor; }
.about-film__play:hover .about-film__play-icon { transform:scale(1.08); background:rgb(251 251 250 / .12); }
.about-film__play:focus-visible { outline:2px solid var(--paper); outline-offset:-6px; }
.about-film__screen--empty { display:grid; place-items:center; }
.about-film__placeholder-number { color:rgb(251 251 250 / .06); font-size:clamp(150px,30vw,480px); font-weight:400; line-height:1; letter-spacing:-.08em; user-select:none; }
.about-film__pending { position:absolute; inset:auto 0 30px; margin:0!important; text-align:center; color:rgb(251 251 250 / .65); font-size:14px; }
.about-film__footer { display:flex; align-items:center; justify-content:space-between; gap:32px; padding-top:18px; min-height:62px; }
.about-film__caption { min-width:0; max-width:65%; }
.about-film__caption h2 { font-size:clamp(22px,2vw,30px); line-height:1.2; font-weight:400; margin:0; overflow-wrap:anywhere; }
.about-film__caption p { max-width:65ch; margin:8px 0 0; font-size:14px; line-height:1.55; color:#737377; overflow-wrap:anywhere; }
.about-film__next { display:inline-flex; align-items:center; justify-content:space-between; gap:28px; flex-shrink:0; min-height:44px; font-size:14px; }
.about-film__next>span { font-size:26px; transition:transform .25s; }
.about-film__next:hover>span { transform:translateY(3px); }
.about-film__error { margin:12px 0 0!important; font-size:14px; line-height:1.6; }
.about-film [hidden] { display:none!important; }
html.ws-films-smooth { scroll-behavior:auto!important; }
/* Keep the preview toolbar from changing scene height halfway through a link jump. */
@media(max-width:600px) {
 body.admin-bar:has(.about-films) #wpadminbar { position:fixed; }
 body.admin-bar.ws-internal:has(.about-films) .site-header { top:46px; }
}
@media(max-width:700px) {
 .about-film__surface { padding:14px 20px 18px; }
 .about-film__heading { margin-bottom:14px; }
 .about-film__heading h1,.about-film__page-label { font-size:27px!important; }
 .about-film__steps { gap:2px; }
 .about-film__screen { height:max(260px,calc(var(--film-viewport) - 148px)); }
 .about-film__placeholder-number { font-size:clamp(160px,56vw,280px); }
 .about-film__footer { gap:18px; padding-top:14px; min-height:58px; }
 .about-film__caption { max-width:55%; }
 .about-film__caption h2 { font-size:22px; }
 .about-film__caption p { font-size:13px; }
 .about-film__next { max-width:45%; gap:12px; font-size:12px; line-height:1.5; }
 .about-film__play-icon { width:72px; height:72px; }
 .about-film__play { gap:12px; font-size:14px; }
 .about-film__pending { bottom:24px; font-size:13px; }
}
@media(max-height:600px) { .about-films__reel .about-film { position:relative; top:auto; } .about-film__screen { height:65svh; min-height:220px; } }
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto!important; }
 .about-films__reel .about-film { position:relative; top:auto; }
 .about-film__surface { transform:none!important; opacity:1!important; }
 .about-film__play-icon,.about-film__next>span { transition:none; }
 .about-film__play:hover .about-film__play-icon,.about-film__next:hover>span { transform:none; }
}
