/* Desktop landing-page loop: the still hero remains the resilient fallback. */
.home-page .hero {
  background-image:
    linear-gradient(180deg, rgba(6, 5, 4, .12) 0%, rgba(6, 5, 4, .08) 55%, rgba(6, 5, 4, .38) 100%),
    url('/assets/home-hero-untitled-design.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-page .hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #080706 url('/assets/home-hero-untitled-design.png') center / cover no-repeat;
}

.home-page .hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 10, .88) 0%, rgba(8, 7, 10, .72) 34%, rgba(10, 7, 18, .34) 62%, rgba(8, 5, 18, .14) 100%),
    linear-gradient(180deg, rgba(6, 5, 4, .16) 0%, rgba(6, 5, 4, .1) 54%, rgba(6, 5, 4, .54) 100%);
}

.home-page .hero-video__media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-page .hero-copy {
  position: relative;
  z-index: 3;
}

@media (min-width: 851px) {
  .home-page .hero-video__media { object-position: center; }
}

/* Keep the moving focal point centred in the narrower hero crop. */
@media (max-width: 850px) {
  .home-page .hero-video__media { object-position: 56% center; }
}

/* Respect visitors who request less motion. */
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-video { display: none; }
}
