/* The image remains available when playback or motion is disabled. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  opacity: 0;
  pointer-events: none;
}
.hero-video.is-playing { opacity: 1; }
.hero-video-toggle {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-width: 44px;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 0;
  background: rgba(16, 40, 61, .84);
  color: #fff;
  font: 500 .7rem/1.3 Montserrat, Arial, sans-serif;
  cursor: pointer;
}
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:hover { background: #19324a; }
.hero-video-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hero-video-toggle svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 767px) {
  .hero-video { object-position: 52% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-video-toggle { display: none; }
}

.hero .hero-image { object-position: 52% center; }
