/* Stemmery — Spacing, radius, shadow, layout tokens
   Whitespace-driven, editorial. Generous breathing room is part of
   the brand; spacing scale is on an 8px base. */

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

  /* ---- Section rhythm ---- */
  --section-y:    var(--space-10); /* vertical padding for page sections */
  --section-y-sm: var(--space-9);
  --gutter:       var(--space-5);  /* page side gutters */
  --content-max:  1200px;          /* max content width */
  --measure:      66ch;            /* readable text measure */

  /* ---- Radius — soft, never bubbly. Editorial keeps corners restrained. ---- */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-pill: 999px;
  --radius-card: var(--radius-md);

  /* ---- Borders ---- */
  --border-hairline: 1px;
  --border-thin:     1.5px;

  /* ---- Shadows — soft, warm-tinted, low-contrast. Used sparingly. ---- */
  --shadow-xs: 0 1px 2px rgba(38, 57, 46, 0.06);
  --shadow-sm: 0 2px 8px rgba(38, 57, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(38, 57, 46, 0.10);
  --shadow-lg: 0 18px 48px rgba(38, 57, 46, 0.14);

  /* ---- Motion — calm fades & gentle eases, no bounce ---- */
  --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: 140ms; /* @kind other */
  --duration-base: 240ms; /* @kind other */
  --duration-slow: 420ms; /* @kind other */
}
