/* Site-wide reduced-motion honouring.
   Loaded last so it wins over the Velzon template's own transitions, which
   nothing else in this app can reach.

   Durations collapse to 0.01ms rather than `none`: several template components
   and Bootstrap itself wait on `transitionend` / `animationend` to finish
   showing or hiding an element, and killing the transition outright would leave
   those callbacks unfired. Near-zero gives the same visual result -- an instant
   change -- while still firing the event.

   Scroll behaviour is included because a smooth scroll is motion too. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    /* Delays matter as much as durations: several staggered sequences here run
       0 / 0.2 / 0.4s, so without this the motion is gone but the wait is not. */
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
