/* Design tokens — the only place raw color values live. See notes/DESIGN-SYSTEM.md */
:root {
  /* Brand (sampled from the logo and the archived site's stylesheet) */
  --color-primary: #75594d;
  --color-primary-hover: #5e453e;
  --color-deep: #5e453e;
  --color-tan: #9d7c6d;
  --color-accent: #e0c7af;
  --color-peach: #fef0ec;
  --color-ink: #272b41;
  --color-white: #ffffff;
  --color-success: #00cc52;
  --color-error: #ff0100;

  /* Derived — always mixed from the brand values above */
  --color-text: color-mix(in srgb, var(--color-ink) 82%, var(--color-white));
  --color-text-muted: color-mix(in srgb, var(--color-ink) 60%, var(--color-white));
  --color-line: color-mix(in srgb, var(--color-primary) 18%, transparent);
  --color-on-dark: var(--color-peach);
  --color-on-dark-muted: color-mix(in srgb, var(--color-peach) 72%, transparent);
  --color-line-on-dark: color-mix(in srgb, var(--color-peach) 18%, transparent);

  /* Type */
  --font-base: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-display: clamp(2.5rem, 1rem + 5vw, 3.5rem);
  --text-h1: clamp(2rem, 1rem + 3vw, 2.5rem);
  --text-h2: clamp(1.5rem, 1rem + 1.5vw, 1.875rem);
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;

  /* Spacing — 8px grid */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Shape */
  --radius: 1.5rem;
  --radius-panel: 2rem;
  --radius-pill: 999px;
  --shape-leaf: 62% 10% 62% 10%;
  --shape-leaf-alt: 10% 62% 10% 62%;

  /* Elevation */
  --shadow-sm: 0 2px 8px color-mix(in srgb, var(--color-deep) 8%, transparent);
  --shadow-md: 0 16px 32px color-mix(in srgb, var(--color-deep) 14%, transparent);
  --shadow-lg: 0 32px 64px color-mix(in srgb, var(--color-deep) 22%, transparent);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --container-max: 75rem;
}
