/* ============================================================
   Axorum — Spacing, radius, borders, shadow, layout
   Restrained system. Grid-of-cells motif → 4px base unit, hard
   hairline borders, minimal shadow. Permanent, not floaty.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  3rem;     /* 48 */
  --space-8:  4rem;     /* 64 */
  --space-9:  6rem;     /* 96 */
  --space-10: 8rem;     /* 128 */

  /* ---- Radius (small & deliberate — infrastructure, not consumer) ---- */
  --radius-none: 0;
  --radius-xs:  2px;   /* inputs, chips */
  --radius-sm:  4px;   /* buttons, cards */
  --radius-md:  6px;   /* panels */
  --radius-lg:  10px;  /* large containers */
  --radius-pill: 999px;

  /* ---- Border widths ---- */
  --border-hair: 1px;
  --border-med:  1.5px;
  --border-thick: 2px;

  /* ---- Shadows (low, tight, warm-tinted — never glowy or colored) ---- */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(26, 23, 18, 0.05);
  --shadow-sm: 0 1px 3px rgba(26, 23, 18, 0.07), 0 1px 2px rgba(26, 23, 18, 0.04);
  --shadow-md: 0 2px 8px rgba(26, 23, 18, 0.08), 0 1px 3px rgba(26, 23, 18, 0.05);
  --shadow-lg: 0 8px 28px rgba(26, 23, 18, 0.10), 0 2px 6px rgba(26, 23, 18, 0.05);

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-prose: 680px;
  --gutter: var(--space-5);

  /* ---- Motion (calm, engineered — no bounce) ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);  /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* @kind other */
  --duration-fast: 120ms;                        /* @kind other */
  --duration-base: 200ms;                        /* @kind other */
  --duration-slow: 320ms;                        /* @kind other */
}
