:root {
  /* ========================================
     FIELD ARCHIVE — paper, ink, one green, one ochre
     A botanical archive, not a SaaS landing page.
     ======================================== */
  --color-paper: #F4F1EA;      /* page ground */
  --color-paper-2: #FBF9F4;    /* sheets / cards */
  --color-ink: #1E2622;
  --color-rule: #D9D3C5;       /* hairlines */
  --color-rule-strong: #B9B1A0;

  --color-primary: #2F5D4A;    /* deep leaf green (white text 7.0:1) */
  --color-primary-dark: #1F4234;
  --color-primary-light: #7FA593;
  --color-accent: #2F5D4A;
  --color-accent-warm: #8F5E1E; /* ochre for numerals & years (4.92:1 on paper; board 9) */

  --color-black: var(--color-ink);
  --color-dark: var(--color-ink);
  --color-mid: #5B655F;
  --color-gray: #8E958F; /* decorative only — fails AA contrast for text */
  --color-gray-dark: #454E49;
  --color-text-muted: var(--color-mid);
  --color-light: var(--color-rule);
  --color-lighter: #EAE5D9;
  --color-bg: var(--color-paper);
  --color-white: var(--color-paper-2);

  /* Semantic Colors (single source for every red on the site) */
  --color-danger: #A63A3A;
  --color-danger-bg: #F4E4E1;
  --color-warning: #A8712E;
  --color-trust-high: #2F5D4A;
  --color-trust-mid: var(--color-ink);
  --color-trust-low: #B9B1A0;

  /* Badge / chip palette — typographic labels, one ink each */
  --badge-species-bg: transparent;
  --badge-species-fg: var(--color-ink);
  --badge-hybrid-bg: transparent;
  --badge-hybrid-fg: var(--color-ink);
  --badge-clone-bg: transparent;
  --badge-clone-fg: var(--color-ink);
  --badge-seedling-bg: transparent;
  --badge-seedling-fg: var(--color-ink);
  --badge-ai-bg: transparent;
  --badge-ai-fg: var(--color-ink);

  /* Typography */
  /* Display serif: Cormorant for Latin, Shippori for JP */
  --font-display: "Cormorant Garamond", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-heading: "Noto Sans JP", "BIZ UDPGothic", "Helvetica Neue", Arial, sans-serif;
  --font-heading-en: "Cormorant Garamond", Georgia, serif;
  --font-primary: "Noto Sans JP", "BIZ UDPGothic", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans JP", "BIZ UDPGothic", monospace; /* JP falls to the sans, never to a random face */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius — printed matter has corners */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-full: 9999px;

  /* Shadows — almost none; paper lies flat */
  --shadow-sm: 0 1px 0 rgba(30, 38, 34, 0.06);
  --shadow: 0 1px 2px rgba(30, 38, 34, 0.08);
  --shadow-md: 0 2px 6px rgba(30, 38, 34, 0.10);
  --shadow-lg: 0 6px 18px rgba(30, 38, 34, 0.12);

  /* Transitions */
  --transition: 0.15s ease;
  /* ===== Board 7 (2026-10-07): one type scale, one spacing scale ===== */
  --fs-h1: 1.875rem;    /* page name, one per page */
  --fs-h2: 1.375rem;    /* section heading */
  --fs-h3: 1.0625rem;   /* list names, terms, sub-heads */
  --fs-body: 1rem;
  --fs-small: 0.875rem; /* notes, second lines */
  --fs-label: 0.75rem;  /* dates, numbers, field names; nothing smaller */
  --lh-body: 1.85;
  --lh-head: 1.25;
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --tap: 44px;
  --color-green: var(--color-primary); /* was referenced but never defined */
  --font-size-md: var(--fs-body);
}
