/* Canonical token extraction from prototyp/style.css; shared by all components. */
:root {
  /* Palette */
  --bg: #f5efe6;
  --bg-warm: #ede5d8;
  --surface: #e8dfd3;
  --surface-dark: #3a2e22;
  --fg: #1a1410;
  --fg-light: #f5efe6;
  --muted: #8a7b6b;
  --muted-light: #b8a99a;
  --border: #d4c9ba;
  --border-dark: rgba(245, 239, 230, 0.12);
  --accent: #5f9b9b;
  --accent-dark: #4a7d7d;
  --accent-light: #7fb5b5;
  --brown: #5a3e28;
  --brown-light: #7a5a3e;
  --brown-dark: #3a2518;
  --black: #1a1410;
  --black-soft: #2a2218;

  /* Typography */
  --font-display: 'Palatino Linotype', 'Palatino', 'Iowan Old Style', 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --font-body: 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Consolas', 'Menlo', monospace;

  /* Scale (1.25 ratio) */
  --text-caption: 0.75rem;
  --text-small: 0.875rem;
  --text-body: 1.0625rem;
  --text-h3: 1.25rem;
  --text-h2: 1.625rem;
  --text-h1: 2.25rem;
  --text-display: 3rem;
  --text-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.25rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --nav-height: 4rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 20, 16, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 20, 16, 0.12);
  --shadow-xl: 0 16px 48px rgba(26, 20, 16, 0.16);
}

