/* ═══════════════════════════════════════════════════════════
   ANIMATIONS.CSS
═══════════════════════════════════════════════════════════ */

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

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

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

@keyframes band-drop {
  from { transform: translateY(-40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── Scroll-triggered reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ── Hero stagger ── */
.hero-greeting { animation: fade-up .6s ease both; animation-delay: .05s; }
.hero-name     { animation: fade-up .6s ease both; animation-delay: .15s; }
.hero-role     { animation: fade-up .6s ease both; animation-delay: .25s; }
.hero-desc     { animation: fade-up .6s ease both; animation-delay: .35s; }
.hero-buttons  { animation: fade-up .6s ease both; animation-delay: .45s; }
.hero-stats    { animation: fade-up .6s ease both; animation-delay: .55s; }
.hero-band     { animation: band-drop .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: .1s; }
.profile-frame,
.hero-tags     { animation: fade-in .9s ease both; animation-delay: .35s; }

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