/* The film handles vertical drags; the browser retains native pinch zoom. */
.enhanced .stage {touch-action:pan-x pinch-zoom}
.stage[data-bay-cut="true"] .color-cut {overflow:hidden}
.stage[data-bay-cut="true"] .color-cut::before,
.stage[data-bay-cut="true"] .color-cut::after {
  content:"";position:absolute;left:0;right:0;height:51%;
  background:repeating-linear-gradient(0deg,#213f4b 0 19px,#284957 20px,#203b46 22px);
}
.stage[data-bay-cut="true"] .color-cut::before {
  top:0;border-bottom:3px double #dab88b;
  transform:translateY(calc(-1 * var(--bay-open,100%)));
}
.stage[data-bay-cut="true"] .color-cut::after {
  bottom:0;border-top:2px solid #c7a983;
  transform:translateY(var(--bay-open,100%));
}
@media(prefers-reduced-motion:reduce){
  .stage[data-bay-cut="true"] .color-cut {display:none}
}

/* Let the title read against black, then bring up the practical lights even
   when a reader lands here from the chapter index and pauses. */
@property --early-light {
  syntax:"<number>";
  inherits:true;
  initial-value:0;
}
@keyframes showroom-lights {
  0%,18% {--early-light:0}
  80%,100% {--early-light:1}
}
@media(prefers-reduced-motion:no-preference){
  .stage[data-beat="2"] {animation:showroom-lights 2.25s ease-in-out both}
}
