/* The film stays behind the photographs, never over their colour or detail. */
body{isolation:isolate}
.scene-background{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#181818;contain:layout paint}
.scene-poster,.scene-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 65%;transform:scale(1.015);filter:saturate(.75)}
.scene-video{opacity:0;transition:opacity .65s ease}
.scene-background.is-ready .scene-video{opacity:1}
/* Fade the complete backdrop, including the poster, without dimming photos.
   The curtain also covers decoder latency at the dark join between laps. */
.scene-background.is-scrubbing:after{content:"";position:absolute;inset:0;background:#181818;opacity:calc(1 - var(--scene-reveal,0));pointer-events:none}
.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,15,18,.88) 0%,rgba(13,15,18,.68) 28%,rgba(13,15,18,.68) 50%,rgba(13,15,18,.80) 76%,rgba(13,15,18,.94) 100%)}
.scene-shade:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 25%,rgba(12,14,17,.24) 100%)}
.scene-background[data-context="detail"] .scene-shade{background:rgba(13,15,18,.92)}
/* Native modal top layers need their own backdrop beneath their contents. */
.viewer,.about{isolation:isolate}
.gallery-shade{opacity:.3}
@media(max-width:760px){
  .scene-shade{background:linear-gradient(180deg,rgba(13,15,18,.88),rgba(13,15,18,.68) 30%,rgba(13,15,18,.78) 65%,rgba(13,15,18,.94))}
}
@media(max-aspect-ratio:4/3){.scene-poster,.scene-video{object-position:72% 65%}}
@media(prefers-reduced-motion:reduce){.scene-video{display:none}}
