/* ===========================================================================
   FLASHMAC — MOTION TOKENS
   Snappy and confident. Quick, slightly over-eager easing (a touch of
   "flash"), never bouncy-cute. Hover lifts + glow; press shrinks.
   =========================================================================== */

:root {
  --dur-instant: 80ms;  /* @kind other */
  --dur-fast:    140ms; /* @kind other */
  --dur-base:    220ms; /* @kind other */
  --dur-slow:    360ms; /* @kind other */
  --dur-slower:  600ms; /* @kind other */

  /* Easings */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);     /* @kind other */ /* decelerate — default */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);     /* @kind other */
  --ease-snap:   cubic-bezier(0.34, 1.56, 0.64, 1);  /* @kind other */ /* slight overshoot — flash */
  --ease-in:     cubic-bezier(0.5, 0, 0.75, 0);      /* @kind other */

  /* Interaction primitives */
  --press-scale: 0.97;  /* @kind other */
  /* What replaces hover on touch, where no hover exists. Paired with
     --press-scale by the storefront's `@media (hover: none)` rules. */
  --press-opacity: 0.92; /* @kind other */
  --hover-lift:  -2px;  /* @kind spacing */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-instant: 0ms; /* @kind other */
    --dur-fast: 0ms;    /* @kind other */
    --dur-base: 0ms;    /* @kind other */
    --dur-slow: 0ms;    /* @kind other */
    --dur-slower: 0ms;  /* @kind other */
  }
}
