/* Scoped enhancement: the site's layout, links and dialog styles stay intact. */
.campaign.hero-motion {
  aspect-ratio: 16 / 9;
  overflow: visible;
  perspective: 1100px;
  background: transparent;
  box-shadow: none;
}

.hero-motion .hero-motion__stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #ede4d9;
  box-shadow: 0 22px 44px -28px #603d2380;
  transform-origin: 50% 50%;
  transform: none;
}

.hero-motion .hero-motion__video {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: inherit;
  animation: none;
  filter: none;
}

/* Without JS the native video controls remain available. */
.hero-motion .hero-motion__toggle {
  display: none;
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #ffffffa6;
  border-radius: 999px;
  background: #fff8eef2;
  color: #3e2c1e;
  box-shadow: 0 3px 12px #201b1626;
  font: 600 12px/1.4 var(--sans, Manrope, Arial, sans-serif);
  letter-spacing: .01em;
}

.hero-motion.is-enhanced .hero-motion__toggle:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-motion .hero-motion__toggle:hover { background: #fffaf3; }
.hero-motion .hero-motion__toggle:disabled { cursor: default; opacity: .8; }
.hero-motion .hero-motion__toggle:focus-visible {
  outline: 3px solid #075bb8;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .campaign.hero-motion { perspective: 1400px; }
  .hero-motion .hero-motion__toggle {
    right: 9px;
    bottom: 9px;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-motion .hero-motion__stage {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
