/* =========================================================
   College Corridor — animations.css
   Slate & Warm Bronze Animations & Keyframes
   ========================================================= */

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

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

/* ── Scroll Reveal (Content 100% Visible Default) ───── */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Stagger delays */
.stagger > *:nth-child(1)  { transition-delay: 0ms; }
.stagger > *:nth-child(2)  { transition-delay: 70ms; }
.stagger > *:nth-child(3)  { transition-delay: 140ms; }
.stagger > *:nth-child(4)  { transition-delay: 210ms; }
.stagger > *:nth-child(5)  { transition-delay: 280ms; }
.stagger > *:nth-child(6)  { transition-delay: 350ms; }

/* Canvas hero particles */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
