/* THIS FILE IS TOKENS ONLY. Structure lives in the engine sheet the shell
   links first.

   _engine.css is the shared structural stylesheet, one copy on disk, hard
   linked from the engine theme: layout, components, base element rules.
   The shell (Site.master.vb) emits it as its own versioned link BEFORE
   this file's link, so this file's job is only to re-declare the accent
   tokens after the engine's own, landing this atlas's own hue on top of
   shared structure. Same mechanism Science's and Political's own site.css
   already document (owner request 985).

   Tokens below: the neutrals, ink/muted/faint text colours, the two
   semantic colours, the serif and sans stacks, the shadow and the reading
   measure are copied verbatim from sites\DivinityAtlas\App_Themes\
   Divinity\site.css, dark :root and prefers-color-scheme: light
   blocks, so this atlas reads as a sibling of the other three.

   REAL ACCENT, ember orange, owner request 1160, ruling 652. The chosen
   mark is education-tree.svg (logo.svg here); this file carries the
   chosen hue, not a placeholder (founding_process_20260823.md Phase B:
   Education already has a chosen identity, applied directly, real not
   interim). The owner's own hex, #C25F2E, is the seed hue (approximately
   20 degrees, a burnt orange), but that literal value does not itself
   clear the family's 4.5:1 WCAG floor against --panel or --panel2 in the
   dark theme (checked live: 4.57:1 against --ground, 4.15:1 against
   --panel, 3.79:1 against --panel2, all against the fixed family
   neutrals every atlas shares), a genuine defect found in this session
   against the identity preview page (preview-education.html's own
   swatch section carried a stale, unrelated green proposal, hue 93, left
   over from before the owner named ember orange in request 1160; fixed
   in the same pass, see that file's own header note). The values below
   preserve the owner's exact hue and character (same ~20 degree hue,
   same saturation family) while clearing 4.5:1 against all three
   neutrals in both themes, the same discipline every other atlas's own
   preview page already applied for its own accent:
     dark theme  --gold:#D67E52  (contrast 6.41:1 ground, 5.82:1 panel, 5.31:1 panel2)
     light theme --gold:#793715  (contrast 7.72:1 ground, matching darker text on the lighter family neutrals)
   --gold-soft is the lighter/brighter hover variant at the same hue.

   --gold-bg-ink (ruling 643): the engine's ~60 --gold-bg fill rules
   (buttons, active tabs and similar) read ink as
   var(--gold-bg-ink, #1a1508). Dark ink (#1a1508) on the dark theme's
   --gold-bg (#D67E52) clears 4.5:1 at 6.03:1, the same shape Divinity,
   Science and Political already use. In the light theme, dark ink on
   the light --gold-bg (#793715) FAILS at 2.05:1; white text clears with
   wide margin at 8.86:1, the same shape Science, Political, Psychology
   and Society already use for their own light theme fills. */

:root{
  --ground:#0b0d1a; --panel:#141731; --panel2:#1b1f3d; --edge:#2b2f55; --edge2:#3a3f6b;
  --ink:#eae7f3; --muted:#a7a5c4; --faint:#8785a7;
  --shared:#79bcb0; --shared-bg:rgba(111,178,168,.14); --dark-c:#d27a92; --dark-bg:rgba(181,84,106,.16);
  --gold:#D67E52; --gold-soft:#E09C7B; --gold-bg:#D67E52; --gold-bg-ink:#1a1508;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --shadow:0 12px 34px -14px rgba(0,0,0,.6);
  --measure:40.5rem;
}
@media (prefers-color-scheme: light){:root{
  --ground:#f4efe3; --panel:#eee7d6; --panel2:#f8f4ea; --edge:#ddd2ba; --edge2:#cabfa3;
  --ink:#282540; --muted:#655f74; --faint:#6d6759;
  --shared:#2f685e; --shared-bg:rgba(60,133,120,.12); --dark-c:#9c3f57; --dark-bg:rgba(162,65,90,.10);
  --gold:#793715; --gold-soft:#93421A; --gold-bg:#793715; --gold-bg-ink:#fff;
  --shadow:0 14px 30px -18px rgba(60,48,20,.45);
}}

/* Explicit theme-toggle blocks, same shape and same reason as Science's and
   Political's own (owner request 989): these carry an attribute selector so
   they outrank the engine sheet's own bare :root when a visitor picks a
   theme by hand rather than leaving it on System. */
:root[data-theme="dark"]{
  --ground:#0b0d1a; --panel:#141731; --panel2:#1b1f3d; --edge:#2b2f55; --edge2:#3a3f6b;
  --ink:#eae7f3; --muted:#a7a5c4; --faint:#8785a7;
  --shared:#79bcb0; --shared-bg:rgba(111,178,168,.14); --dark-c:#d27a92; --dark-bg:rgba(181,84,106,.16);
  --gold:#D67E52; --gold-soft:#E09C7B; --gold-bg:#D67E52; --gold-bg-ink:#1a1508;
  --shadow:0 12px 34px -14px rgba(0,0,0,.6);
}
:root[data-theme="light"]{
  --ground:#f4efe3; --panel:#eee7d6; --panel2:#f8f4ea; --edge:#ddd2ba; --edge2:#cabfa3;
  --ink:#282540; --muted:#655f74; --faint:#6d6759;
  --shared:#2f685e; --shared-bg:rgba(60,133,120,.12); --dark-c:#9c3f57; --dark-bg:rgba(162,65,90,.10);
  --gold:#793715; --gold-soft:#93421A; --gold-bg:#793715; --gold-bg-ink:#fff;
  --shadow:0 14px 30px -18px rgba(60,48,20,.45);
}
