/* Only decorative layers move; the hero's content and layout stay fixed. */
.asv-hero-motion-ready .asv-hero-media picture {
  transform-origin: 70% 55%;
  animation: asv-hero-camera 18s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.asv-hero-motion-ready .asv-hero-ribbons span {
  animation: asv-hero-ribbon-flow 9s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.asv-hero-motion-ready .asv-hero-ribbons span:nth-child(2) { animation-delay: -2s; }
.asv-hero-motion-ready .asv-hero-ribbons span:nth-child(3) { animation-delay: -4s; }
.asv-hero-motion-ready .asv-hero-ribbons span:nth-child(4) { animation-delay: -6s; }

.asv-hero-motion-running .asv-hero-media picture,
.asv-hero-motion-running .asv-hero-ribbons span { animation-play-state: running; }

@keyframes asv-hero-camera {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.085) translate3d(-1%, -.5%, 0); }
}

@keyframes asv-hero-ribbon-flow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-38px, -6px, 0); }
}

.asv-hero-motion-toggle {
  position: absolute;
  top: 108px;
  right: max(24px, calc((100% - 1320px) / 2));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(7, 11, 26, .82);
  color: #fff;
  cursor: pointer;
}

.asv-hero-motion-toggle[hidden] { display: none; }
.asv-hero-motion-toggle img { display: block; width: 20px; height: 20px; filter: invert(1); }
.asv-hero-motion-toggle:hover { background: #0d1328; border-color: #fff; }
.asv-hero-motion-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.asv-hero-motion-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  background: #070b1a;
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.asv-hero-motion-toggle:hover .asv-hero-motion-tooltip,
.asv-hero-motion-toggle:focus-visible .asv-hero-motion-tooltip { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
  .asv-hero-motion-ready .asv-hero-media picture {
    transform-origin: 50% 50%;
    animation-name: asv-hero-camera-mobile;
    animation-duration: 22s;
  }
  .asv-hero-motion-toggle { top: 88px; right: 16px; }
}

@keyframes asv-hero-camera-mobile {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@media (prefers-reduced-motion: reduce) {
  .asv-hero-motion-ready .asv-hero-media picture,
  .asv-hero-motion-ready .asv-hero-ribbons span { animation: none; transform: none; }
  .asv-hero-motion-toggle { display: none; }
}
