.studio-sequence { position:relative; height:500svh; background:#000; }
.studio-sequence-stage { position:sticky; top:0; height:100svh; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#000; }
.sound-lab .studio-sequence-frame { position:relative; width:min(100%,133.333svh); aspect-ratio:4/3; margin:0; overflow:hidden; background:#000; }
.sound-lab .studio-sequence-image { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; display:block; opacity:0; }
.sound-lab .studio-room-base { z-index:0;opacity:1;filter:brightness(var(--room-light,.16)); }
.sound-lab .studio-room-clear { z-index:1;opacity:var(--room-clear,0);clip-path:inset(39% 8.5% 25% 12.2%);filter:brightness(var(--room-light,.16)); }
.sound-lab .studio-sequence-singer { z-index:2;opacity:var(--singer-opacity,0); }
.sound-lab .studio-sequence-singer { inset:0;width:100%;height:100%;clip-path:none;mask-image:linear-gradient(to bottom,transparent 39%,#000 42%); }
.sound-lab .studio-singer-repair { z-index:2;opacity:var(--singer-opacity,0);mask-image:radial-gradient(ellipse 13% 6% at 37% 69.5%,#000 72%,transparent 100%); }
.sound-lab .studio-sequence-live { z-index:3;opacity:var(--band-opacity,0); }
.sound-lab .studio-sequence-live { inset:auto;left:.2%;top:.3%;width:96.4%;height:96.4%;clip-path:none;mask-image:linear-gradient(to bottom,transparent 39%,#000 43%); }
/* Locked original pixels protect all architecture during the subject changes. */
.sound-lab .studio-room-ceiling { z-index:4;opacity:1;clip-path:inset(0 0 61% 0);filter:brightness(var(--room-light,.16)); }
.sound-lab .studio-room-foreground { z-index:5;opacity:calc(1 - max(var(--singer-opacity,0),var(--band-opacity,0)));clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 0,12.2% 14%,12.2% 75%,91.5% 75%,91.5% 14%,12.2% 14%,0 0);filter:brightness(var(--room-light,.16)); }
.sound-lab .studio-room-monitors { z-index:5;opacity:calc(1 - var(--room-clear,0));clip-path:polygon(33% 65%,38% 65%,38% 55%,52% 55%,52% 52%,78% 52%,78% 74%,81% 74%,81% 79%,33% 79%);filter:brightness(var(--room-light,.16)); }
/* Photographic unlit glass replaces only the fixture pixels. No black shading. */
.sound-lab .studio-room-lamp-off { z-index:6;filter:brightness(var(--room-light,.08)); }
.sound-lab .studio-room-lamp-one { opacity:calc(1 - var(--lamp-one,0));clip-path:polygon(27.1% 25.5%,40.9% 25.5%,41.4% 27.8%,27.8% 27.8%); }
.sound-lab .studio-room-lamp-two { opacity:calc(1 - var(--lamp-two,0));clip-path:polygon(47.4% 25.5%,60.5% 25.5%,60.5% 28%,47.4% 28%); }
.sound-lab .studio-room-lamp-three { opacity:calc(1 - var(--lamp-three,0));clip-path:polygon(36% 31%,46.8% 31%,46.8% 33.7%,36% 33.7%); }
.sound-lab .studio-room-lamp-four { opacity:calc(1 - var(--lamp-three,0));clip-path:polygon(49% 31%,60.5% 31%,60.5% 33.7%,49% 33.7%); }
.sound-lab .studio-room-spill { z-index:7;opacity:var(--control-spill,1);filter:brightness(.34);mask-image:radial-gradient(ellipse 65% 38% at 49% 91%,#000 12%,#0008 48%,transparent 100%); }
.sound-lab .studio-room-sill { z-index:8;opacity:calc(var(--room-clear,0) * (1 - max(var(--singer-opacity,0),var(--band-opacity,0))));clip-path:inset(73.5% 0 0 0);filter:brightness(var(--room-light,.08)); }
@media(prefers-reduced-motion:reduce) {
  .studio-sequence { height:auto; }
  .studio-sequence-stage { position:relative; height:auto; }
}
