/* ============================================================
   Hamburg · Our Town Foundation — Spacing, Radius, Shadow, Layout
   ------------------------------------------------------------
   4px base grid. Warm, soft elevation. Modest folk-friendly radii.
   ============================================================ */

:root {
  /* Spacing — 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:   2.5rem;   /* 40 */
  --space-8:   3rem;     /* 48 */
  --space-9:   4rem;     /* 64 */
  --space-10:  5rem;     /* 80 */
  --space-12:  6rem;     /* 96 */
  --space-16:  8rem;     /* 128 */

  /* Radii — modest; the brand mixes hard triangles with round medallions */
  --radius-xs:   3px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;
  --radius-full: 50%;

  /* Borders */
  --border-hairline: 1px;
  --border-thin:     1.5px;
  --border-thick:    2px;
  --border-heavy:    3px;

  /* Shadows — warm-tinted, soft (brown shadow, never pure black) */
  --shadow-xs:  0 1px 2px rgba(64, 19, 22, 0.06);
  --shadow-sm:  0 2px 6px rgba(64, 19, 22, 0.08);
  --shadow-md:  0 6px 18px rgba(64, 19, 22, 0.10);
  --shadow-lg:  0 14px 34px rgba(64, 19, 22, 0.14);
  --shadow-xl:  0 28px 60px rgba(64, 19, 22, 0.18);
  --shadow-inset: inset 0 1px 2px rgba(64, 19, 22, 0.08);

  /* Focus ring */
  --focus-ring: 0 0 0 3px var(--ring-focus);

  /* Layout */
  --container-sm:  640px;
  --container-md:  820px;
  --container-lg:  1080px;
  --container-xl:  1280px;
  --container-2xl: 1440px;
  --gutter:        clamp(1.25rem, 4vw, 4rem); /* @kind spacing */

  /* Motion — friendly, no bounce-heavy; quick warm ease */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in:       cubic-bezier(0.5, 0, 0.9, 0.3); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */
}
