/* =========================================================
   Animations
   ========================================================= */

@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;
  }
}

/* Visible by default (no-JS / no-CSS-support safe). JS "arms" elements by
   adding .reveal-armed right before observing them, then reveals them by
   adding .is-visible once they scroll into view (see animations.js). */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal-armed {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float { animation: floatSlow 6s ease-in-out infinite; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in { animation: fadeIn 0.5s ease both; }

.count-up { display: inline-block; }
