/* awakenmyfacen tokens. The only file in the app where a colour is written.
   The greys are measured from Mia's diagram (pure greyscale: shadow ~#484848, ground ~#848484, line ~#F0F0F0).
   Verdigris, the patina of a copper etching plate, is the only colour. It means "you" (the baton) or "now" (the newest mark).
   Contrast for every pairing: `npm run contrast`. Record: docs/plans/07-awakenmyfacen-plan.md (artGlobal repo). */

:root {
  /* light: the etching as printed, ink on paper */
  --ground: #F0F0F0;
  --plate: #E4E4E4;
  --line: #1E1E1E;
  --line-soft: #5A5A5A;
  --rule: #9A9A9A;      /* decorative row dividers only; below 3:1 on purpose */
  --verdigris: #2E6B4F;
  --diagram: #848484;   /* Mia's diagram ground; no interface text is set on it */
  --slip: #F0F0F0;      /* paper label slips over the diagram, same in both themes */
  --slip-ink: #1E1E1E;

  --fell: "IM Fell English", "IM Fell DW Pica", Georgia, "Times New Roman", serif;
  --fell-sc: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --pica: "IM Fell DW Pica", "IM Fell English", Georgia, serif;
  --figures: "EB Garamond", Georgia, serif; /* lining figures: Fell's old-style numerals make #F0F0F0 read as "FoFoFo" */

  --hair: 1px;
  --gap: 16px;
  --fade: 240ms;
  color-scheme: light;
}

/* dark: the diagram's own world, shadow ground with white line */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #2E2E2E;
    --plate: #484848;
    --line: #F0F0F0;
    --line-soft: #B8B8B8;
    --rule: #6A6A6A;
    --verdigris: #7FC8A9;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #2E2E2E;
  --plate: #484848;
  --line: #F0F0F0;
  --line-soft: #B8B8B8;
  --rule: #6A6A6A;
  --verdigris: #7FC8A9;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root { --fade: 0ms; }
}
