/* ==========================================================================
   ALTUS — ANIMATIONS & MOTION SYSTEM
   Cinematic Reveals, Smooth Physics & Accessibility
   ========================================================================== */

@keyframes fadeUpIn {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 8px var(--accent-emerald);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 16px var(--accent-emerald);
    opacity: 0.6;
  }
}

.animate-pulse {
  animation: pulseGlow 2.4s infinite ease-in-out;
}

/* Reveal on Scroll Trigger Classes */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Accessible Fallbacks for Reduced Motion */
@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-init {
    opacity: 1 !important;
    transform: none !important;
  }

  .backdrop-video {
    display: none !important;
  }

  .backdrop-overlay {
    background: #050507 !important;
  }

  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}
