/* ============================================================
   TDW tokens for the spread library.

   This is the ONLY place a spread gets colour or type from. Every
   spread uses var(--tdw-*) and nothing else, so when the design
   system changes a token, every spread changes with it.

   Values mirror the design system's colors_and_type.css (v3.4,
   thedealwith/tdw-design-system). When the library moves into the
   design system, this file is replaced by a link to that sheet and
   nothing else in any spread needs to change.

   ASCII only, deliberately (host-wrapped HTML mangles non-ASCII).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400..700;1,7..72,400..700&family=Geist:wght@300..700&family=JetBrains+Mono:wght@400;500&family=Space+Mono:ital,wght@0,400;1,400&family=Noto+Color+Emoji&display=swap');

:root {
  /* palette: signature */
  --tdw-plum:       #230251;
  --tdw-beet:       #c95bca;
  --tdw-lime:       #eefd5c;
  /* palette: workhorse */
  --tdw-bone:       #e4e7da;
  --tdw-persimmon:  #eb6744;
  /* palette: specificity */
  --tdw-mint:       #91e9da;
  --tdw-berry:      #5b30d1;
  --tdw-barley:     #478c8b;
  --tdw-clay:       #a3937b;
  --tdw-date:       #42180a;
  /* editorial surface variants */
  --tdw-plum-deep:  #1C0142;
  --tdw-paper-warm: #F6F7EE;

  /* type families (DESIGN.md: Literata findings, Geist 300 prose,
     JetBrains Mono apparatus, Space Mono pull) */
  --font-serif: "Literata", "Times New Roman", serif;
  --font-sans:  "Geist", system-ui, -apple-system, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-pull:  "Space Mono", ui-monospace, monospace;
  --font-emoji: "Noto Color Emoji", "Apple Color Emoji", sans-serif;  /* ICONOGRAPHY.md v3.6: Noto, decks only */
}
