.hero {
  overflow: hidden;
}

.hero > img {
  animation: hero-pan 18s ease-in-out infinite alternate;
  transform: scale(1.12) translateX(2.5%);
  will-change: transform;
}

@keyframes hero-pan {
  to {
    transform: scale(1.12) translateX(-2.5%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero > img {
    animation: none;
    transform: scale(1.04);
  }
}
