/* desingularity · design tokens v0.1
   Spacing, type, motion, geometry — fibonacci everywhere.
   Color tokens are imported from the palette, so a single import
   of this file gives any project the full canon. */
@import url("../04-palette/ds-palette.css");

:root {
  /* Spacing — fibonacci */
  --s-0:  3px;
  --s-1:  8px;
  --s-2: 13px;
  --s-3: 21px;
  --s-4: 34px;
  --s-5: 55px;
  --s-6: 89px;
  --s-7: 144px;
  --s-8: 233px;

  /* Type scale */
  --t-min:    10px;
  --t-cap:    12px;
  --t-body:   14px;
  --t-body-lg:16px;
  --t-lead:   21px;
  --t-h3:     34px;
  --t-h2:     55px;
  --t-h1:     89px;
  --t-display:144px;

  /* Geometry · φ */
  --phi:     61.8%;
  --phi-inv: 38.2%;

  /* Motion */
  --ease-phi:       cubic-bezier(0.382, 0, 0.618, 1);
  --ease-phi-out:   cubic-bezier(0.382, 0, 0.382, 1);
  --ease-phi-in:    cubic-bezier(0.618, 0, 1, 0.618);
  --ease-phi-snap:  cubic-bezier(0.5, 1.6, 0.5, 1);
  --ease-phi-glide: cubic-bezier(0.2, 0.8, 0.2, 1);

  --d-1: 240ms;
  --d-2: 382ms;
  --d-3: 618ms;
  --d-4: 1000ms;
  --d-5: 1618ms;

  /* Radii — intentionally near-zero */
  --r-0: 0;
  --r-1: 2px;
}
