:root {
  /* Brand palette — warm artisan bakery */
  --color-cream: #faf6f0;
  --color-cream-dark: #f0e8dc;
  --color-white: #ffffff;
  --color-ink: #2c2416;
  --color-ink-muted: #6b5e4f;
  --color-ink-soft: #9a8b78;

  --color-caramel: #c47a3a;
  --color-caramel-dark: #a5622a;
  --color-caramel-soft: #e8b87a;
  --color-orange: #d9773a;

  --color-success: #3d7a4a;
  --color-success-bg: #e8f5eb;
  --color-warning: #b8860b;
  --color-warning-bg: #fff6e0;
  --color-danger: #b33a3a;
  --color-danger-bg: #fdecec;
  --color-info: #3a6ea5;
  --color-info-bg: #e8f1fa;

  --color-border: #e5d9c8;
  --color-border-strong: #d4c4ae;
  --color-overlay: rgba(44, 36, 22, 0.45);

  /* Surfaces */
  --bg-page: var(--color-cream);
  --bg-surface: var(--color-white);
  --bg-muted: var(--color-cream-dark);
  --text: var(--color-ink);
  --text-muted: var(--color-ink-muted);
  --accent: var(--color-caramel);
  --accent-hover: var(--color-caramel-dark);

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.35rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: clamp(2.25rem, 5vw, 3.25rem);

  --lh-tight: 1.2;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --container: 1120px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(44, 36, 22, 0.06);
  --shadow-md: 0 6px 20px rgba(44, 36, 22, 0.08);
  --shadow-lg: 0 16px 40px rgba(44, 36, 22, 0.12);

  --nav-height: 68px;
  --sticky-bar-height: 72px;
  --transition: 180ms ease;
  --z-nav: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-sticky: 90;
}

/* Optional dark mode */
[data-theme="dark"] {
  --bg-page: #1c1814;
  --bg-surface: #2a241e;
  --bg-muted: #342c24;
  --text: #f5efe6;
  --text-muted: #c4b5a2;
  --color-border: #463b30;
  --color-border-strong: #5a4c3d;
  --color-overlay: rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --accent: #e09a58;
  --accent-hover: #f0b070;
}
