/* ==========================================================================
   animations.css — keyframes + motion utilities
   ========================================================================== */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Apply on hero / section entrances */
.animate-fade-up { animation: fade-up 0.5s ease both; }
.animate-fade-in { animation: fade-in 0.6s ease both; }

/* Staggered delays (used by main.js on [data-animate] groups) */
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.10s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.20s; }

/* Logo marquee track (slider.js duplicates the row, CSS scrolls it) */
.marquee { overflow: hidden; }
.marquee__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up,
  .animate-fade-in,
  .marquee__track { animation: none !important; }
}
