/*! motion-engine tokens v0.1.0 (prototype). Shared foundations for both sites.
   Brand files set colour and type; this file sets rhythm, grid, motion and strokes. */
:root {
  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --section: clamp(4.5rem, 9vw, 8rem);

  /* Grid */
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 38rem;

  /* Type scale: same rhythm on both sites */
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.6rem);
  --step-hero: clamp(3.1rem, 2rem + 5.4vw, 6rem);
  --leading-tight: 1.02;
  --leading-snug: 1.2;
  --leading-body: 1.6;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
  --t-slow: 700ms;
  --orbit: 9s;

  /* Drawing kit */
  --stroke: 2px;
  --stroke-bold: 6px;
  --node: 7px;
}
