/* =========================================================
   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;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes ripple {
  to { transform: scale(3); opacity: 0; }
}

@keyframes dashScroll {
  to { background-position: 72px 0; }
}

.hero-eyebrow { animation: slideUp 0.7s ease both; }
.hero h1 { animation: slideUp 0.7s ease 0.08s both; }
.hero p.lead { animation: slideUp 0.7s ease 0.16s both; }
.hero-ctas { animation: slideUp 0.7s ease 0.24s both; }
.hero-stats { animation: slideUp 0.7s ease 0.32s both; }
.hero-visual { animation: zoomIn 0.8s ease 0.2s both; }

.float-el { animation: float 5s ease-in-out infinite; }
.float-el.delay-1 { animation-delay: 1s; }
.float-el.delay-2 { animation-delay: 2s; }

.hazard-divider.animated {
  background-size: 72px 10px;
  animation: dashScroll 6s linear infinite;
}
