/* Only JavaScript-prepared, off-screen elements wait for a reveal. */
main [data-scroll-reveal="pending"] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

main [data-scroll-reveal="pending"]:focus-within {
  opacity: 1;
  transform: none;
}

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

  main [data-scroll-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .interior-track { animation: none !important; }
  .carousel-track, .hero-profile-wrap, .desktop-nav a::after { transition: none !important; }
  .timeline-list::after { transform: scaleY(1); transition: none; }
}

@media print {
  main [data-scroll-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
