/* Base palette. Ochre, ink-blue and black are sampled directly from the
   supplied illustration PNGs; grounds and green are sampled from the
   reference boards in /references. */
:root{
  /* Ochre — the illustration ink, the brand's primary colour */
  --ochre-700:#A85A0E;
  --ochre-600:#BF6812;
  --ochre-500:#D87818;
  --ochre-400:#E39440;
  --ochre-200:#F0C48C;
  --ochre-100:#F8E3C8;

  /* Ink blue — second plate colour (flor 2 de fondo) */
  --blue-700:#22338C;
  --blue-500:#3048C0;
  --blue-300:#7A88DB;
  --blue-100:#DCE0F5;

  /* Botanical green — the dark specimen-plate ground */
  --forest-900:#1E2E1F;
  --forest-700:#2F4630;
  --forest-500:#4A6549;
  --forest-200:#B7C4B2;

  /* Tomato — print red used for over-type on sand */
  --tomato-600:#B81212;
  --tomato-500:#D81818;
  --tomato-200:#F2B3AC;

  /* Warm grounds */
  --cream-50:#FAF2E4;
  --cream-100:#F2E4CC;
  --sand-200:#E8D2AC;
  --blush-200:#F0C0A8;

  /* Neutrals, warm-biased */
  --ink-900:#0D0D0D;
  --ink-700:#2A2722;
  --ink-500:#5A5347;
  --ink-300:#9A9184;
  --ink-200:#C9C0B0;
  --ink-100:#E6DDCD;
  --white:#FFFFFF;

  /* Semantic — surfaces */
  --surface-page:var(--cream-50);
  --surface-raised:var(--white);
  --surface-sunken:var(--cream-100);
  --surface-muted:var(--sand-200);
  --surface-inverse:var(--forest-700);
  --surface-inverse-deep:var(--forest-900);
  --surface-accent:var(--ochre-500);

  /* Semantic — text */
  --text-body:var(--ink-700);
  --text-heading:var(--ink-900);
  --text-muted:var(--ink-500);
  --text-on-inverse:var(--cream-100);
  --text-on-accent:var(--ink-900);
  --text-link:var(--blue-500);
  --text-link-hover:var(--ochre-600);

  /* Semantic — lines & accents */
  --border-hairline:rgba(13,13,13,.18);
  --border-strong:var(--ink-900);
  --border-on-inverse:rgba(242,228,204,.32);
  --rule-annotation:var(--blue-500);
  --accent-primary:var(--ochre-500);
  --accent-secondary:var(--blue-500);
  --accent-tertiary:var(--tomato-500);

  /* Semantic — state */
  --state-hover-ink:var(--ochre-600);
  --state-press-ink:var(--ochre-700);
  --state-disabled-fg:var(--ink-300);
  --state-disabled-bg:var(--ink-100);
  --focus-ring:var(--blue-500);
}
/* Dark plate scope: apply to any full-bleed specimen-green section */
[data-plate="dark"]{
  --surface-page:var(--forest-700);
  --surface-raised:var(--forest-900);
  --surface-sunken:var(--forest-900);
  --text-body:var(--cream-100);
  --text-heading:var(--cream-50);
  --text-muted:var(--forest-200);
  --border-hairline:rgba(242,228,204,.28);
  --border-strong:var(--cream-100);
  --text-link:var(--ochre-400);
  --text-link-hover:var(--ochre-200);
}
