/* ========================================================================
   animations.css - reveal system, keyframes, reduced-motion
   ======================================================================== */

/* Scroll reveals.
   Content is visible by default so the page is fully readable without
   JavaScript. The inline <script> in each page's <head> adds `.js` to
   <html>; only then does the entrance animation apply. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .status-dot::after { animation: none; }
  .hero-glow { display: none; }
  .timeline-progress { transition: none; }
}
