/* ============================================================
   MUNCH — DESIGN TOKENS
   Single source of truth for colors, typography, spacing, and radii.
   Load BEFORE munch-responsive.css and any page-specific styles.
   ============================================================ */

:root {
  /* --- Typography — font stacks --- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Legacy aliases (existing pages use these) */
  --serif: var(--font-display);
  --sans: var(--font-body);

  /* --- Typography — size scale --- */
  --text-2xs: 10px;
  --text-xs: 11.5px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 19px;
  --text-xl: 22px;
  --text-2xl: 26px;
  --text-3xl: 32px;
  --text-4xl: 40px;
  --text-5xl: 52px;

  /* --- Brand colors --- */
  --brand-forest: #1F3D2B;
  --brand-forest-mid: #2E5540;
  --brand-forest-light: #EAF0EA;
  --brand-forest-pale: #F3F6F1;
  --brand-forest-glow: rgba(31, 61, 43, 0.16);
  --brand-forest-border: rgba(31, 61, 43, 0.2);
  --brand-forest-border-hi: rgba(31, 61, 43, 0.36);
  --brand-orange: #C45D1E;

  /* Legacy aliases */
  --green: var(--brand-forest);
  --green-mid: var(--brand-forest-mid);
  --green-light: var(--brand-forest-light);
  --green-pale: var(--brand-forest-pale);
  --green-glow: var(--brand-forest-glow);
  --green-border: var(--brand-forest-border);
  --green-border-hi: var(--brand-forest-border-hi);
  --orange: var(--brand-orange);

  /* --- Ink (text) --- */
  --ink: #1F3D2B;
  --ink-soft: #44503C;
  --ink-muted: #6B6F5E;
  --text-on-dark: #F4EFE3;

  /* --- Surfaces --- */
  --bg: #FBF8F1;
  --paper: #FFFFFF;
  --paper-tint: #FDFBF6;

  /* --- Borders --- */
  --line: #DAD5C5;
  --line-soft: #E7E3D6;

  /* --- Semantic colors --- */
  --red: #C0392B;
  --red-light: #FDECEA;
  --amber: #D4883A;
  --amber-light: #FEF3E2;
  --purple: #8A4C93;

  /* --- Secondary accent (storefront) --- */
  --accent2: #8FA98F;
  --accent2-light: #EDF2ED;
  --accent2-border: rgba(143, 169, 143, 0.45);

  /* --- Layout --- */
  --nav-h: 58px;
  --cat-h: 48px;

  /* --- Spacing scale (4px base) --- */
  --space-px: 1px;
  --space-0: 0px;
  --space-0-5: 2px;
  --space-1: 4px;
  --space-1-5: 6px;
  --space-2: 8px;
  --space-2-5: 10px;
  --space-3: 12px;
  --space-3-5: 14px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-11: 44px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-28: 112px;
  --space-32: 128px;

  /* --- Border-radius scale --- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 18px;
  --radius-3xl: 24px;
  --radius-full: 9999px;
}
