/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.anim-fade-up { opacity: 0; animation: fadeUp 0.9s var(--transition-slow, ease) forwards; }
.anim-scale-in { opacity: 0; animation: scaleIn 1s ease forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.26s; }
.delay-3 { animation-delay: 0.40s; }
.delay-4 { animation-delay: 0.54s; }

.float { animation: floaty 6s ease-in-out infinite; }

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .anim-fade-up, .anim-scale-in { opacity: 1; animation: none; }
  .float { animation: none; }
}
