/* The 1920px art stage stays centred on wider displays. */
.hero.hero--idle { overflow: hidden; background: #0d1217; }
.hero--idle .hero-art {
  left: 50%;
  right: auto;
  width: min(100%, 1920px);
  height: 100%;
  transform: translateX(-50%);
  z-index: -3;
}
.hero--idle:after {
  left: 50%;
  right: auto;
  width: min(100%, 1920px);
  transform: translateX(-50%);
}
.hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: max(0px, calc((100% - 1920px) / 2));
  left: auto;
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  z-index: -2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.hero-idle-poster, .hero-idle-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 87% top;
}
.hero-idle-video { opacity: 0; }
.hero-media.is-video-ready .hero-idle-video { opacity: 1; }
.hero--idle:after { pointer-events: none; }
.hero-idle-toggle {
  position: absolute;
  right: max(20px, calc((100% - 1920px) / 2 + 20px));
  bottom: 20px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #a1afba45;
  border-radius: 50%;
  background: #0d1217c9;
  color: #ccd6de;
  pointer-events: auto;
}
.hero-idle-toggle[hidden] { display: none; }
.hero-idle-toggle:hover { color: #e2c396; border-color: #bfa172; background: #131e28; }
.hero-idle-toggle svg { width: 14px; height: 14px; }
@media (min-width: 1921px) {
  .hero--idle:before {
    left: calc((100% - 1920px) / 2 + 20px);
    right: calc((100% - 1920px) / 2 + 20px);
  }
  .hero--idle .hero-art {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 150px, #000 calc(100% - 70px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 150px, #000 calc(100% - 70px), transparent);
  }
  .hero-media {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 calc(100% - 42px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24%, #000 calc(100% - 42px), transparent);
  }
}
@media (max-width: 600px) {
  .hero-media { inset: 28px 0 0; width: 100%; height: calc(100% - 28px); aspect-ratio: auto; -webkit-mask-image: linear-gradient(#0000, #000 8px); mask-image: linear-gradient(#0000, #000 8px); }
  .hero-idle-toggle { right: 16px; bottom: 16px; }
}
