/* Homepage enhancement only. Content remains readable if a library fails to load. */
body[data-home-motion] [data-parallax] { transform: none; }
body[data-home-motion] :is(.hero-eyebrow, .hero h1, .hero-copy, .hero-actions) {
  animation: none;
  opacity: 1;
}
html.home-motion-ready body[data-home-motion] .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
/* Let GSAP own these properties during a reveal; restore card hover transitions after it. */
html.home-motion-ready body[data-home-motion] .motion-reveal { transition: none; }
html.lenis { scroll-behavior: auto; }
/* A faint gold light on photographs only; the image and its contrast scrim remain intact. */
body[data-home-motion] .home-detail-light {
  position: absolute; left: 0; top: 0; width: 360px; height: 360px;
  z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(203, 164, 92, .22), rgba(203, 164, 92, .06) 42%, transparent 70%);
}
body[data-home-motion] .home-detail-card > :is(.category-number, div) { position: relative; z-index: 1; }
body[data-home-motion] .home-detail-card > b { z-index: 1; }
/* Replace the old arrow rotation, without moving the CTA's text or hit area. */
body[data-home-motion] .hero .primary-cta .home-detail-arrow { transition: none; }
@media (hover: none), (pointer: coarse), (max-width: 899px), (prefers-reduced-motion: reduce) {
  body[data-home-motion] .home-detail-light { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-home-motion] [data-parallax] { transform: none !important; will-change: auto; }
  body[data-home-motion] .reveal { opacity: 1 !important; transform: none !important; }
}
