/* ADVOCATE — motion, face and scale tokens v1.0
   Structure global, values local — the same split as the colour
   tokens next to this file. Durations and easings are the global
   design-system values verbatim (MTN-02, MTN-03); the faces are the
   ones named in CLAUDE.md; the scale stops are TYP-02.

   Every component in src/ consumes these and declares none of its
   own. Load after primitives.css and the division's token file.

   Previously lived in src/rail.css as a marked TEMPORARY HOME. Moved
   here once intake became the second consumer — a component that
   needed none of the rail's styles was importing rail.css purely to
   reach these. */
:root {
  /* ---- MTN-02 durations: five speeds, no arbitrary numbers ---- */
  --t-instant: 75ms;   /* press, toggle, focus rings              */
  --t-fast: 150ms;     /* hovers, tooltips, small fades, ALL exits */
  --t-base: 250ms;     /* dropdowns, tab switches, entrances       */
  --t-slow: 400ms;     /* modals, side panels, drawers             */
  --t-choreo: 600ms;   /* full-view entrance budget, never one el  */

  /* ---- MTN-03 easings: direction carries meaning ---- */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);      /* entrances       */
  --e-in: cubic-bezier(0.7, 0, 0.84, 0);       /* exits only      */
  --e-inout: cubic-bezier(0.65, 0, 0.35, 1);   /* on-screen moves */
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* confirmations */

  /* ---- Faces (CLAUDE.md). System fallbacks stand in until the
     woff2 files are self-hosted (site-plan §12). ---- */
  --face-display: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --face-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --face-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* ---- TYP-02 scale stops ---- */
  --fs-display-lg: 1.75rem;    /* 28 / 1.15 */
  --fs-display-md: 1.1875rem;  /* 19 / 1.25 */
  --fs-body: 0.9375rem;        /* 15 / 1.6  */
  --fs-body-sm: 0.8125rem;     /* 13 / 1.5  */
  --fs-label: 0.6875rem;       /* 11 / 1.3  */
}
