.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: #111;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video { opacity: 0; transition: opacity .45s ease; }
.hero-stage.is-video-ready .hero-video { opacity: 1; }

.hero-video-toggle {
  position: absolute;
  inset-block-start: 19px;
  inset-inline-end: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  background: #09090970;
  color: #fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.hero-video-toggle:hover { background: #090909bb; border-color: #ffffffa0; }
.hero-video-toggle:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.hero-video-toggle svg { width: 17px; height: 17px; }
.hero-stage .hero-number { right: 90px; left: auto; }
html[dir="rtl"] .hero-stage .hero-number { right: auto; left: 90px; }

@media (max-width: 700px) {
  .hero-video-toggle { inset-block-start: auto; inset-block-end: 106px; inset-inline-end: 20px; }
  .hero-stage .hero-number { right: 80px; }
  html[dir="rtl"] .hero-stage .hero-number { right: auto; left: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { transition: none; }
}
