/* ==========================================================================
   animations.css — light, purposeful motion only
   ========================================================================== */

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

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

.reveal { animation: reveal 0.7s ease-out both; }

.mobile-menu:not([hidden]),
.lightbox:not([hidden]) { animation: fade-in 0.25s ease-out both; }

.lightbox__img { animation: fade-in 0.35s ease-out both; }

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