/* Only the background layer changes; the hero, content and overlays keep their layout. */
.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background: url('./assets/hero-watercolor-matched.webp') right center / cover no-repeat;
  filter: none;
}
.hero::before { display: none; }
.hero-sunlight { display: none; }
.hero-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
}
.hero-video.is-playing { opacity: 1; }
@media (max-width: 760px) {
  /* Portrait footage fills the hero; the original mobile artwork remains underneath. */
  .hero::before { display: block; }
  .hero-media { background: none; }
  .hero-media::before {
    content: '';
    position: absolute;
    inset: auto -10% 0 auto;
    width: 190%;
    height: auto;
    aspect-ratio: 1672 / 941;
    background: url('./assets/hero-watercolor-matched.webp') right center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
  }
  .hero-video { z-index: 1; object-position: center bottom; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
