/* ============================================================
   Yablonskyy — Spacing, layout, radii & elevation tokens
   A calm, document-like rhythm on a 12-column grid.
   ============================================================ */

:root {
  /* --- Spacing scale (4px base) --- */
  --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-32: 128px;        /* section vertical padding */

  /* --- Layout --- */
  --content-max: 1160px;    /* max content width, centered */
  --page-pad: 48px;         /* horizontal page padding */
  --gutter: 24px;           /* grid gutter */
  --grid-cols: 12;          /* @kind other */
  --section-pad: 128px;     /* top & bottom of a section */

  /* --- Radii --- */
  --radius-card: 16px;      /* cards 14–16 */
  --radius-card-sm: 14px;
  --radius-control: 10px;   /* buttons / inputs 9–10 */
  --radius-control-sm: 9px;
  --radius-chip: 6px;
  --radius-pill: 999px;     /* pills / chips */

  /* --- Borders --- */
  --border-hairline: 1px;
  --border-control: 1.5px;  /* secondary button / input border */

  /* --- Elevation ---
     The brand is flat and document-like. Shadows are soft, warm,
     and used sparingly — for lifted cards, menus, and dialogs only. */
  --shadow-sm: 0 1px 2px rgba(26, 22, 19, 0.05);
  --shadow-card: 0 2px 8px rgba(26, 22, 19, 0.06);
  --shadow-lifted: 0 12px 32px -8px rgba(26, 22, 19, 0.18);
  --shadow-dialog: 0 24px 64px -12px rgba(22, 18, 14, 0.45);

  /* --- Motion ---
     Quiet and precise. No bounce. Short, confident eases. */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 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 */
}
