/* Content remains visible until a one-time entrance is actually triggered. */
.bt-motion-enter {
  animation: bt-home-enter 560ms cubic-bezier(.22, .61, .36, 1) var(--bt-motion-delay, 0ms) both;
  will-change: opacity, translate;
}

.home-hero .hero-photo.bt-motion-photo {
  animation: bt-home-photo 1100ms cubic-bezier(.22, .61, .36, 1) both;
  will-change: transform;
}

/* Individual translate leaves existing product-card hover transforms intact. */
@keyframes bt-home-enter {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes bt-home-photo {
  from { transform: scale(1.028); }
  to { transform: scale(1); }
}

.bt-motion-target:focus-within {
  animation: none !important;
  opacity: 1 !important;
  translate: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .bt-motion-enter,
  .home-hero .hero-photo.bt-motion-photo {
    animation: none !important;
    opacity: 1 !important;
    translate: none !important;
    will-change: auto;
  }
  .home-hero .hero-photo.bt-motion-photo { transform: none !important; }
}
