/* ============================================================
   SORP — Spacing, radii, shadows, borders, layout, motion
   Structured, architectural rhythm — generous white space.
   Base unit: 4px.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:   0;
  --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;
  --space-40:  160px;

  /* ---- Section rhythm (vertical page sections) ---- */
  --section-y:        96px;
  --section-y-tight:  64px;
  --section-y-loose:  128px;

  /* ---- Radii — premium, restrained ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-width: 1px;
  --border-width-strong: 1.5px;

  /* ---- Shadows — soft, low-contrast, premium ---- */
  --shadow-xs:  0 1px 2px rgba(10,10,11,0.05);
  --shadow-sm:  0 1px 3px rgba(10,10,11,0.07), 0 1px 2px rgba(10,10,11,0.04);
  --shadow-md:  0 4px 14px rgba(10,10,11,0.07), 0 2px 5px rgba(10,10,11,0.04);
  --shadow-lg:  0 12px 32px rgba(10,10,11,0.09), 0 4px 10px rgba(10,10,11,0.04);
  --shadow-xl:  0 24px 60px rgba(10,10,11,0.12), 0 8px 20px rgba(10,10,11,0.06);
  --shadow-brand: 0 10px 28px rgba(214,67,86,0.30);
  --shadow-brand-sm: 0 4px 12px rgba(214,67,86,0.22);

  /* ---- Focus ---- */
  --ring-width: 3px;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-wide: 1320px;
  --container-prose: 720px;
  --gutter: 24px;

  /* ---- Motion — calm, precise, institutional ---- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */
}
