/* One continuous studio: the film is scenery, never a framed media card. */
/* Preserve the browser's restored scroll position as the sticky span starts. */
.site-home{overflow-anchor:none}
.video-story,.video-story.is-animated{height:auto;background:#eeede8}
.video-story .pavilion-stage{position:relative;top:auto;height:100svh;min-height:680px;background:#eeede8;overflow:visible;isolation:auto}
.video-story.is-scroll-driven,html[data-construction-scroll] .video-story{height:500svh}
/* Keep the returning sticky scene on one composited layer. Only the inner
   media holder clips content; clipping the sticky layer can blank its paint. */
.video-story.is-scroll-driven .pavilion-stage,html[data-construction-scroll] .video-story .pavilion-stage{position:sticky;top:0;height:100svh;min-height:0;transform:translateZ(0)}
.video-story .studio-halo{background:#eeede8}
.video-story #pavilion-view{inset:0;transform:none;aspect-ratio:auto;height:100%;border-radius:0;overflow:hidden;mask-image:none;background:transparent}
.video-story #construction-video,.video-story .pavilion-poster{position:absolute;left:25%;top:50%;width:80%;max-width:none;height:auto;aspect-ratio:16/9;transform:translateY(-48%);display:block;object-fit:contain;mix-blend-mode:normal;mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 96%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 2%,#000 98%,transparent 100%);mask-composite:intersect}
.video-story #construction-video{opacity:0}
.video-story.has-video #construction-video{opacity:1}
.video-story.has-video .pavilion-poster{display:none}
.video-story .story-glass{left:4.4vw;top:50%;transform:translateY(-46%);width:min(28vw,410px);padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
.video-story .story-chapter h1,.video-story .story-chapter h2{font-size:clamp(40px,4.1vw,66px);text-wrap:balance}
.video-story .story-chapter p{font-size:16px;line-height:1.65}
.video-story .story-projects{border-color:#31584c40}
.video-story .story-caption{right:4.4vw;bottom:32px}
.story-scroll-hint{position:absolute;left:4.4vw;bottom:32px;display:none;align-items:center;gap:14px;margin:0;color:#365a4e;font-size:12px}
.is-scroll-driven .story-scroll-hint{display:flex}
.story-scroll-hint svg{width:18px;height:18px}
.story-media-status[hidden]{display:none}
.story-media-status{position:absolute;left:4.4vw;bottom:32px;max-width:38ch;margin:0;font-size:13px;line-height:1.5;color:#245044;z-index:4}
.story-direct-video{position:absolute;left:4.4vw;bottom:32px;min-height:44px;display:flex;align-items:center;color:#174739;text-decoration:underline;text-underline-offset:4px}
@media(min-width:801px) and (max-width:1100px){
 .video-story .story-glass{width:28%}
 .video-story .story-chapter h1,.video-story .story-chapter h2{font-size:40px}
 .video-story .story-chapter p{font-size:15px}
}
@media(max-width:800px){
 .video-story .pavilion-stage{display:flex;flex-direction:column;justify-content:center;height:auto;min-height:max(667px,100svh);padding:calc(92px + 54vw) 24px 66px}
 .video-story #construction-video,.video-story .pavilion-poster{left:-4%;top:84px;transform:none;width:108%;height:auto}
 .video-story .story-glass{position:relative;inset:auto;transform:none;width:100%;padding:0}
 .video-story .story-chapter h1,.video-story .story-chapter h2{font-size:clamp(32px,8.6vw,48px);margin-bottom:12px}
 .video-story .story-chapter p{font-size:14px;line-height:1.55}
 .video-story .story-service{margin-top:12px}
 .video-story .story-projects{margin-top:14px;padding-top:10px}
 .video-story .story-caption{display:none}
 .story-scroll-hint{left:24px;bottom:22px;font-size:11px}
 .story-media-status{left:24px;right:24px;bottom:22px;font-size:11px;max-width:none}
 .story-direct-video{left:24px;bottom:28px}
}
@media(min-width:600px) and (max-height:600px){
 .video-story .pavilion-stage{display:block;height:100svh;min-height:430px;padding:0}
 .video-story #construction-video,.video-story .pavilion-poster{left:34%;top:54%;width:70%;transform:translateY(-50%)}
 .video-story .story-glass{position:absolute;left:24px;right:auto;top:102px;bottom:auto;transform:none;width:35%;padding:0}
 .video-story .story-chapter h1,.video-story .story-chapter h2{font-size:30px;margin-bottom:10px}
 .video-story .story-chapter p{font-size:13px;line-height:1.5}
 .video-story .story-service{margin-top:10px;font-size:11px}
 .video-story .story-projects{margin-top:10px;padding-top:8px;font-size:13px}
 .video-story .story-caption{display:none}
 .story-scroll-hint{left:auto;right:24px;bottom:22px}
 .story-media-status{left:auto;right:24px;bottom:22px;max-width:42%}
}
@media(min-width:801px) and (min-height:601px) and (max-height:740px){
 .video-story .pavilion-stage{min-height:640px}
 .video-story .story-glass{top:48%}
 .video-story .story-chapter h1,.video-story .story-chapter h2{font-size:44px;margin-bottom:18px}
}
@media(prefers-reduced-motion:reduce){
 .video-story.is-scroll-driven{height:auto}
 .video-story.is-scroll-driven .pavilion-stage{position:relative;height:auto;min-height:100svh}
 .story-scroll-hint{display:none!important}
 .video-story #construction-video{transition:none}
}
@media(max-width:599px) and (max-height:740px){
 .video-story .pavilion-stage{padding-top:calc(84px + 49vw);padding-bottom:56px}
 .video-story #construction-video,.video-story .pavilion-poster{top:74px;width:100%;left:0}
 .video-story .story-chapter h1,.video-story .story-chapter h2{font-size:30px;margin-bottom:10px}
 .video-story .story-chapter p{font-size:13px;line-height:1.5}
 .video-story .story-service{margin-top:10px}
}
@media(max-width:700px){.site-home .process-film .film-frame{margin-inline:-24px}}
