/*
 * Theme tokens — Spec 01 §6. Six named palettes, light-only for v1 (dark mode
 * deferred; every rule elsewhere references tokens only, so a dark set per
 * palette later is a pure additive change, no migration).
 *
 * A church's `theme:` field sets `data-theme` on <html>; base.css/sections.css
 * must reference these custom properties only, never a literal color.
 */

:root,
:root[data-theme="denim"] {
  --bg: #ede3cc;
  --surface: #f7f2e6;
  --surface-line: #ddd0ac;
  --ink: #2a241c;
  --ink-soft: #55503f;
  --accent: #2c4a5e;
  --accent-soft: #cddbe1;
  --olive: #5b6b4a;
  --gold: #a8791f;
  --gold-bg: #f1e2bd;
  --shadow: rgba(42, 36, 28, 0.08);
}

:root[data-theme="sage"] {
  --bg: #eef0e6;
  --surface: #f8f9f2;
  --surface-line: #d5d9c6;
  --ink: #22251d;
  --ink-soft: #565d4b;
  --accent: #4c6b3a;
  --accent-soft: #d9e3cd;
  --olive: #6b7f57;
  --gold: #9a7b2f;
  --gold-bg: #ece0bd;
  --shadow: rgba(34, 37, 29, 0.08);
}

:root[data-theme="sunset"] {
  --bg: #f3e7dc;
  --surface: #fbf3ec;
  --surface-line: #e2cfbd;
  --ink: #33241c;
  --ink-soft: #6b5648;
  --accent: #a34a2a;
  --accent-soft: #ead4c7;
  --olive: #7a6a4a;
  --gold: #b9812f;
  --gold-bg: #f4e3c2;
  --shadow: rgba(51, 36, 28, 0.08);
}

:root[data-theme="pine"] {
  --bg: #e7ebe0;
  --surface: #f2f5ee;
  --surface-line: #cdd6c4;
  --ink: #1f241d;
  --ink-soft: #4f5848;
  --accent: #2f5d40;
  --accent-soft: #cddccf;
  --olive: #5a7455;
  --gold: #9a7b36;
  --gold-bg: #ecdfc0;
  --shadow: rgba(31, 36, 29, 0.08);
}

:root[data-theme="prairie"] {
  --bg: #f4ecd8;
  --surface: #fbf7eb;
  --surface-line: #e4d9bd;
  --ink: #2e2a1c;
  --ink-soft: #5a543d;
  --accent: #7a6a2d;
  --accent-soft: #e9e0c3;
  --olive: #5f7b46;
  --gold: #b08a2e;
  --gold-bg: #f2e5c4;
  --shadow: rgba(46, 42, 28, 0.09);
}

:root[data-theme="navy"] {
  --bg: #e7e9ec;
  --surface: #f5f6f8;
  --surface-line: #d0d5da;
  --ink: #23262c;
  --ink-soft: #555b66;
  --accent: #1f3a5f;
  --accent-soft: #c9d6e2;
  --olive: #5a6b5a;
  --gold: #a07a2e;
  --gold-bg: #ece0bd;
  --shadow: rgba(35, 38, 44, 0.08);
}
