/*----------------------------------------
VELOX Motion Mode styles
Controls ambient animation based on the document root attributes:
  data-motion-mode = full | auto | off  (author/generator intent)
  data-motion      = full | off         (resolved by js/motion-mode.js)
----------------------------------------*/

/* OFF: explicit static presentation. Stop ambient template motion while
   keeping layout intact. Short non-zero durations preserve animationend
   events (e.g. the page loader) without visible movement. */
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation-duration: 0.001ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* Hide the blinking typed cursor when motion is off */
html[data-motion="off"] .typed-cursor {
  display: none !important;
}

/* AUTO: follow the operating-system reduced-motion preference. Scoped to
   auto mode only, so full mode is never silently disabled. */
@media (prefers-reduced-motion: reduce) {
  html[data-motion-mode="auto"] *,
  html[data-motion-mode="auto"] *::before,
  html[data-motion-mode="auto"] *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html[data-motion-mode="auto"] .typed-cursor {
    display: none !important;
  }
}
