/* Design tokens. Change the accent by setting <html data-accent="sage|clay">
   (or temporarily with ?accent=sage in the URL). */

:root {
  /* Neutrals */
  --bg: #f6f3ee;
  --surface: #ece6dc;
  --text: #2b2a28;
  --text-soft: #6b665e;
  --line: #d9d2c6;

  /* Accent (default: bordeaux) */
  --accent: #6d2e3a;
  --accent-strong: #6d2e3a; /* readable on --bg for text/links */
  --accent-soft: #eadcdc;   /* tint for backgrounds */
  --accent-ink: #f6f3ee;    /* text on --accent */

  /* Type */
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Allura", "Cormorant Garamond", Georgia, serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-3: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --step-hero: clamp(3.5rem, 2rem + 9vw, 9rem);

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5rem, 12vw, 9rem);
  --measure: 60ch;
  --max: 72rem;

  /* Hand-drawn section dividers on phones: block = show, none = hide */
  --divider-phone: block;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.8s;
}

:root[data-accent="sage"] {
  --accent: #8a9a86;
  --accent-strong: #5f7059;
  --accent-soft: #dfe5da;
  --accent-ink: #1f261d;
}

:root[data-accent="clay"] {
  --accent: #b58e7a;
  --accent-strong: #8a5f4b;
  --accent-soft: #efe2da;
  --accent-ink: #2b1f19;
}
