/* HolonomiX - Spacing & layout tokens
   ==================================================================
   Strict 4px lattice. Everything snaps to the grid - the layout IS
   the structure. Containers and gutters are fixed so columns align
   across surfaces like a coordinate system.
*/

:root {
  --space-0:  0px;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ---- Layout ---- */
  --gutter:        24px;
  --container-max: 1280px;
  --container-pad: 32px;
  --section-y:     96px;   /* vertical rhythm between major sections */

  /* ---- Grid module (the lattice) ---- */
  --module: 8px;          /* base unit of the visible blueprint grid */
  --rail:   64px;         /* sidebar / rail width unit */
}
