/* Live hero scene layer drawn by hero-scene.js (brand/DESIGN_BRIEF.md section 3).
   The photo below stays the LCP element and the no-JS view; this layer only adds light on top.
   :where() keeps specificity at zero, so site.css can still position the wrapper as it likes. */
:where([data-hero-scene]) {
  position: relative;
  isolation: isolate;       /* the canvas z-index stays inside the wrapper, never above the headline */
}

.bs-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--bs-dur-reveal) var(--bs-ease-enter);
}

.bs-scene.is-on {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce), (forced-colors: active), print {
  .bs-scene {
    display: none;
  }
}
