/* ==========================================================================
   Animations
   The animations themselves live in assets/js/animations.js (GSAP ScrollTrigger).
   CSS only prevents a flash of content before the start states are set.
   ========================================================================== */

/* Until animations.js is ready, elements that fade up stay invisible.
   html.js is set in <head>; a timeout there adds .anim-ready as a safety net. */
html.js:not(.anim-ready) [data-reveal] {
	visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
