/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

/* Base state: hidden, shifted down */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger > .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger > .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.stagger > .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.stagger > .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.stagger > .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }

/* Fade in from left variant */
.animate-from-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-from-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-from-left {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
