/* motion.css — Primitive Motion (durations, easings, reveal choreography)
   Source: Coherence/libs/tokens/foundations-modern/ (generated from Figma AFI-FOUNDATIONS-MODERN).
   Values copied verbatim, except the Laboral Kutxa motion layer added 2026-11-05 (Dive Club easing
   family: the move reads as done in ~200 ms and the rest is a cushion). Four LK tokens with their
   duration partners; hover / select / switch / card / chevron motion (fast, base, standard) and
   the spring now follow them. Reveal, enter, exit and slow/slower are unchanged.
   Exit layer (2026-11-05): --mo-dur-exit 300 ms on --mo-ease-exit (ease-in-out) for everything that closes or leaves (select list, menu, popover,
   dialog + scrim, drawer, toast, tooltip); --mo-dur-fold 450 ms on --mo-ease-in-out for a Reveal folding its height. Enter keeps ease-out / spring. 
   2026-11-13: every Coherence motion token now points at this layer: enter = --mo-ease-out, exit = --mo-ease-exit,
   slow = --mo-dur-out (was 300ms), slower = --mo-dur-in-out (was 500ms), reveal light = --mo-dur-out. Reveal normal / heavy
   (500 / 600 ms), stagger, rise and blur stay as the reveal choreography and run on --mo-ease-out. New: --mo-dur-press
   (80 ms press feedback) and --mo-dur-spin (600 ms spinner turn). */
:root{
  --motion-duration-fast:var(--mo-dur-out); /* @kind other */--motion-duration-base:var(--mo-dur-out); /* @kind other */--motion-duration-slow:var(--mo-dur-out); /* @kind other */--motion-duration-slower:var(--mo-dur-in-out); /* @kind other */--motion-duration-ambient-loop:10000ms; /* @kind other */
  --motion-easing-standard:var(--mo-ease-out); /* @kind other */--motion-easing-enter:var(--mo-ease-out); /* @kind other */--motion-easing-exit:var(--mo-ease-exit); /* @kind other */--motion-easing-spring:var(--mo-ease-out-spring); /* @kind other */--motion-easing-ambient:cubic-bezier(0.2, 0.8, 0.2, 1); /* @kind other */
  --motion-reveal-duration-light:var(--mo-dur-out); /* @kind other */--motion-reveal-duration-normal:500ms; /* @kind other */--motion-reveal-duration-heavy:600ms; /* @kind other */
  --motion-reveal-stagger-light:40ms; /* @kind other */--motion-reveal-stagger-normal:70ms; /* @kind other */--motion-reveal-stagger-heavy:100ms; /* @kind other */
  --motion-reveal-rise-light:6px; /* @kind other */--motion-reveal-rise-normal:10px; /* @kind other */--motion-reveal-rise-heavy:14px; /* @kind other */
  --motion-reveal-blur-light:4px; /* @kind other */--motion-reveal-blur-normal:8px; /* @kind other */--motion-reveal-blur-heavy:14px; /* @kind other */
  --mo-ease-out:cubic-bezier(.16, 1, .3, 1); /* @kind other */--mo-dur-out:400ms; /* @kind other */
  --mo-ease-out-spring:cubic-bezier(.34, 1.35, .5, 1); /* @kind other */--mo-dur-out-spring:1000ms; /* @kind other */
  --mo-ease-in-out:cubic-bezier(.7, 0, .15, 1); /* @kind other */--mo-dur-in-out:800ms; /* @kind other */
  --mo-ease-in-out-spring:cubic-bezier(.7, 0, .2, 1.3); /* @kind other */--mo-dur-in-out-spring:1500ms; /* @kind other */
  --mo-ease-exit:cubic-bezier(.7, 0, .15, 1); /* @kind other */--mo-dur-exit:300ms; /* @kind other */--mo-dur-fold:450ms; /* @kind other */
  /* semantic names for the LK motion layer (v76): components and pages use these; the --mo-* primitives above stay the single source */
  --motion-duration-spring:var(--mo-dur-out-spring); /* @kind other */--motion-duration-move:var(--mo-dur-in-out); /* @kind other */--motion-easing-move:var(--mo-ease-in-out); /* @kind other */--motion-duration-move-spring:var(--mo-dur-in-out-spring); /* @kind other */--motion-easing-move-spring:var(--mo-ease-in-out-spring); /* @kind other */
  --motion-duration-close:var(--mo-dur-exit); /* @kind other */--motion-easing-close:var(--mo-ease-exit); /* @kind other */--motion-duration-fold:var(--mo-dur-fold); /* @kind other */
  --motion-decode-duration:1150ms; /* @kind other */--motion-decode-blur:2.5px; /* @kind other */
  --mo-dur-grow:720ms; /* PropertyModel trees: grow with a pronounced bounce (Sarevi) */ --mo-ease-grow:cubic-bezier(.34, 1.7, .5, 1); --mo-dur-shrink:200ms; /* and drop back quickly */ --mo-ease-shrink:cubic-bezier(.4, 0, 1, 1); --mo-dur-press:80ms; /* press feedback on buttons and cards: deliberately instant */ --mo-dur-spin:800ms; /* one turn of a loading spinner */
}
/* Spring as a real damped spring (linear() sampling), cubic-bezier above is the fallback. */
@supports (transition-timing-function:linear(0,1)){
  :root{--mo-ease-out-spring:linear(0, .048, .1653, .318, .4804, .6345, .7694, .8794, .9631, 1.0218, 1.0587, 1.0778, 1.0835, 1.0798, 1.0701, 1.0575, 1.0439, 1.031, 1.0196, 1.0104, 1.0033, .9983, .9952, .9935, .993, .9933, .9941, .9952, .9963, .9974, .9983, .9991, .9997, 1.0001, 1.0004, 1.0005, 1.0006, 1.0006, 1.0005, 1)}
}
