/* ============================================================
   SuroyWear · Motion
   Tide easing only. The sea does not stutter: no bounces,
   spins, zoom-punches, or glitch. Honor prefers-reduced-motion.
   ============================================================ */

:root {
  /* --- Easing --- */
  /* rise: entrances (ease-out) · tide: moves & dissolves (in-out) · drift: ambient */
  --sw-ease-rise:  cubic-bezier(0.16, 1, 0.3, 1);   /* @kind other */
  --sw-ease-tide:  cubic-bezier(0.45, 0, 0.25, 1);  /* @kind other */
  --sw-ease-drift: linear;                          /* @kind other */

  /* --- Durations --- */
  /* ui 150-300 · overlay 400-600 · dissolve <=500 */
  --sw-dur-ui:       200ms;  /* @kind other */
  --sw-dur-overlay:  500ms;  /* @kind other */
  --sw-dur-dissolve: 500ms;  /* @kind other */
}

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