/**
 * Homepage hero video. The footage sits under a carbon wash
 * so the porcelain headline stays readable.
 */

body.home .mmp-story-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #121113;
}

body.home .az-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body.home .az-hero-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.82;
  filter: saturate(0.92) contrast(1.06) brightness(1.05) sepia(0.06) hue-rotate(6deg);
  transform: scale(1.04);
}

body.home .az-hero-video__grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 17, 19, 0.78) 0%, rgba(18, 17, 19, 0.4) 38%, rgba(18, 17, 19, 0.08) 72%),
    linear-gradient(180deg, rgba(18, 17, 19, 0.12) 0%, rgba(137, 152, 120, 0.1) 48%, rgba(18, 17, 19, 0.28) 100%);
}

body.home .mmp-story-hero .container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.home .az-hero-video__media {
    display: none;
  }

  body.home .az-hero-video {
    background: #121113 url("../video/sod-hero-poster.jpg") center 40% / cover no-repeat;
    opacity: 0.82;
    filter: saturate(0.92) contrast(1.06) brightness(1.05) sepia(0.06) hue-rotate(6deg);
  }
}
