/* motion.css: the one motion language for the wow pass. Director-owned; specialists read, never edit.
   Rule of thumb: hands overshoot, machines don't, the camera never does, light eases out. */
:root {
  /* easing */
  --ease-hand: cubic-bezier(.2, .9, .3, 1.15);      /* things a person moves: slight overshoot, lands with weight */
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);     /* small plastic snaps and clicks only, <= 240ms */
  --ease-lift: cubic-bezier(.5, 0, .75, 0);         /* picking something up / leaving: slow start */
  --ease-machine: cubic-bezier(.45, .05, .55, .95); /* motors: near-constant speed, abrupt start/stop, then a clunk */
  --ease-camera: cubic-bezier(.65, 0, .35, 1);      /* dolly: slow in, slow out, never overshoots */
  --ease-light: cubic-bezier(.16, 1, .3, 1);        /* light coming on / dimming: fast bloom, long tail */
  /* durations */
  --t-tap: 90ms;      /* press feedback */
  --t-snap: 200ms;    /* clicks, flap, latch */
  --t-move: 460ms;    /* an object travelling in the hand */
  --t-machine: 700ms; /* VCR pulls a tape in / pushes it out */
  --t-camera: 1400ms; /* room -> theater */
  --t-camera-back: 900ms;
  --t-light: 1200ms;  /* movie-mode dim, lamp warm-up tail */
  --t-stagger: 70ms;  /* between items in a sweep (bulbs, letters) */
}
@media (prefers-reduced-motion: reduce) {
  :root { --t-move: 150ms; --t-machine: 250ms; --t-camera: 250ms; --t-camera-back: 250ms; --t-light: 300ms; --t-stagger: 0ms; }
}
