/* Brookland - Spacing, radii, borders, shadows, layout
   Calm, generous, architectural. Restrained radii (joinery is
   crisp, square-edged); soft low shadows; hairline borders. */
: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 */

  /* Semantic spacing */
  --gap-inline: var(--space-2);
  --gap-stack: var(--space-4);
  --pad-card: var(--space-6);
  --pad-section: var(--space-9);
  --pad-button-y: 0.875rem;
  --pad-button-x: 1.75rem;

  /* ---- Radii (restrained - crisp joinery) ---- */
  --radius-none: 0;
  --radius-xs: 2px;      /* inputs, tags */
  --radius-sm: 4px;      /* buttons, cards default */
  --radius-md: 6px;      /* larger cards */
  --radius-lg: 10px;     /* feature panels, imagery */
  --radius-pill: 999px;  /* rare - chips/avatars only */

  /* ---- Border widths ---- */
  --border-width-hairline: 1px;
  --border-width-regular: 1.5px;
  --border-width-strong: 2px;

  /* ---- Shadows (soft, warm, low - never harsh) ---- */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(46, 47, 32, 0.05);
  --shadow-sm: 0 2px 8px rgba(46, 47, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(46, 47, 32, 0.08);
  --shadow-lg: 0 18px 48px rgba(46, 47, 32, 0.12);
  --shadow-focus: 0 0 0 3px rgba(160, 74, 30, 0.28);

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-narrow: 760px;   /* long-form reading measure */
  --container-wide: 1400px;
  --gutter: clamp(1.25rem, 5vw, 4rem); /* @kind spacing */

  /* ---- Motion ---- */
  --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: 220ms; /* @kind other */
  --duration-slow: 420ms; /* @kind other */
}
