/* The photographic still remains the complete fallback, including without JS. */
.hero > .hero-image {
  animation: none;
}

.hero[data-hero-motion] > .hero-image {
  transform:
    translate3d(var(--hero-camera-x, 0px), var(--hero-camera-y, 0px), 0)
    scale(var(--hero-camera-scale, 1.035))
    rotate(var(--hero-camera-roll, 0deg));
  transform-origin: 74% 48%;
  backface-visibility: hidden;
}

.hero[data-hero-motion='running'] > .hero-image {
  will-change: transform;
}

.hero[data-hero-motion='reduced'] > .hero-image {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero[data-hero-motion] > .hero-image { transform: none !important; }
}

/* Preserve the three-car composition and reserve the dark left side for copy. */
.hero-cars > .hero-image {
  object-position: right center;
  opacity: 1;
}
.hero-cars .hero-shade {
  background: linear-gradient(90deg, #080a09ed 0%, #080a09bc 27%, #080a0940 49%, transparent 70%),
    linear-gradient(0deg, #080a09 0%, transparent 30%, transparent 72%, #080a0960 100%);
}
.hero-cars .hero-image-note { writing-mode: horizontal-tb; bottom: 86px; }
.gold-visual > img { object-position: 76% center; }

@media (max-width: 900px) {
  .hero-cars {
    height: auto;
    min-height: 0;
    padding-bottom: calc(56.25vw + 100px);
  }
  .hero-cars > .hero-image,
  .hero-cars[data-hero-motion] > .hero-image {
    inset: auto 0 70px;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    transform: none;
  }
  .hero-cars .hero-content { padding-top: 145px; }
  .hero-cars .hero-shade {
    inset: auto 0 69px;
    height: 56.25vw;
    background: linear-gradient(180deg, #080a09 0%, transparent 22%, transparent 85%, #080a09 100%);
  }
  .hero-cars .hero-image-note { bottom: 73px; right: 22px; font-size: 9px; }
  .hero-cars .hero-bottom { bottom: 22px; }
}
@media (max-width: 640px) {
  .hero-cars .hero-content { padding-top: 132px; }
}
