/* tokens.css — design tokens. Default direction = "geodes" (crisp institutional, GEODES moss green).
   Theme overrides live in themes.css. Pages never hard-code colors. */
:root {
  /* palette (GEODES: rgb(73,109,31) on white, black headings) */
  --c-bg: #ffffff;
  --c-surface: #f6f7f3;        /* quiet panels */
  --c-ink: #1d1d1b;            /* body text  (16.9:1 on bg) */
  --c-ink-2: #4a4d45;          /* secondary text (8.6:1) */
  --c-muted: #5f6359;          /* captions, meta (6.1:1) */
  --c-rule: #d4d6cf;           /* hairlines */
  --c-rule-strong: #1d1d1b;
  --c-accent: #496d1f;         /* GEODES moss green (6.0:1 on white) */
  --c-accent-ink: #3a5718;     /* hover / pressed (8.0:1) */
  --c-accent-soft: #e6ecdc;    /* tinted fills */
  --c-on-accent: #ffffff;
  --c-umber: #8a5a1f;          /* secondary accent, sparing (5.6:1) */
  --c-focus: #b35c00;
  --c-verify-bg: #fff4d6;
  --c-verify-ink: #6b4a00;

  /* topic colors: which world a theme or paper is about (ink shades pass AA on white: 5.9–7.0:1) */
  --t-earth: #496d1f;  --t-earth-soft: #e6ecdc;   /* terrestrial: GEODES moss green */
  --t-ice: #1d6890;    --t-ice-soft: #dceef8;     /* icy ocean worlds, cryosphere */
  --t-moon: #55595f;   --t-moon-soft: #e9eaec;    /* Moon, airless bodies */
  --t-mars: #a8461a;   --t-mars-soft: #f8e3d6;    /* Mars */
  --t-analog: #7d5a0c;  --t-analog-soft: #f5ecd3;  /* field geophysics at planetary analog sites: ochre */
  --t-asteroid: #5a4799; --t-asteroid-soft: #ebe7f6; /* asteroids, impacts, re-entries: violet */
  --t-instrument: #8e2f63; --t-instrument-soft: #f6e2ed; /* seismometers for planetary missions: plum */
  /* brighter "line" shades for borders, swatches and the header stripe (not for text) */
  --t-earth-line: #7da443; --t-ice-line: #5aaad8; --t-moon-line: #9b9fa5; --t-mars-line: #dc7337;
  --t-analog-line: #c9962b; --t-asteroid-line: #8a77c8; --t-instrument-line: #c25a92;

  /* figure palette (hero + SVG figures) */
  --fig-ink: #1d1d1b;
  --fig-muted: #5f6359;
  --fig-rule: #c9cbc3;
  --fig-fill: #eef0ea;
  --fig-fill-2: #e2e5dc;
  --fig-fill-3: #d6dacf;
  --fig-accent: #496d1f;
  --fig-umber: #8a5a1f;

  /* type */
  --f-body: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-head: "Roboto Condensed", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --fs-0: 0.8125rem;   /* 13 */
  --fs-1: 0.875rem;    /* 14 */
  --fs-2: 1rem;        /* 16 */
  --fs-3: 1.125rem;    /* 18 */
  --fs-4: 1.375rem;    /* 22 */
  --fs-5: 1.75rem;     /* 28 */
  --fs-6: 2.25rem;     /* 36 */
  --fs-7: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  --lh: 1.6;
  --lh-tight: 1.2;
  --head-weight: 700;
  --head-case: none;

  /* space & layout */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
  --w-page: 72rem;
  --w-text: 42rem;
  --gutter: 1rem;
  --radius: 2px;
  --rule-w: 1px;

  /* header */
  --hdr-bg: #ffffff;
  --hdr-ink: #1d1d1b;
  --hdr-rule: #496d1f;
  --nav-active: #496d1f;
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }
