/* All four exports share the same registered 16:9 camera space. */
.home-scene-layer{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:51% 50%;pointer-events:none;user-select:none;-webkit-user-drag:none}
.home-scene-layer{visibility:hidden}
.home-layers-ready .home-scene-layer{visibility:visible}
/* The low-cost fallback must not paint over the registered high-resolution planes. */
.home-layers-ready .comet-image{visibility:hidden}
.home-fireflies-behind{position:absolute;inset:0;overflow:hidden;pointer-events:none}
/* Rear emitters are below both opaque foreground planes. Gaps stay transparent. */
.home-fireflies-behind .home-firefly{z-index:auto}
.home-fireflies-behind .home-firefly-trail{z-index:auto}
@media(max-width:800px) and (orientation:portrait){
 .home-scene-layer{top:22%;height:70%;object-position:60% 68%;mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent)}
}
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape){
 .home-scene-layer{top:0;height:100%;object-fit:contain;object-position:50% 50%;mask-image:none;-webkit-mask-image:none}
}

/* Reflected flight light stops precisely at the supplied chair silhouette. */
.home-firefly-bounce{mask-image:url('../generated/home-layers-588/chairs-1280.webp');-webkit-mask-image:url('../generated/home-layers-588/chairs-1280.webp');mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}

/* The video shares the still layers' crop, below the rock, chairs and fireflies. */
.home-scene-video{visibility:hidden!important}
.home-layers-ready.home-video-ready .home-scene-video{visibility:visible!important}
@media(prefers-reduced-motion:reduce){.home-scene-video{display:none}}
