/* COPY of ourlegendry/design/out/tokens.css, the one design home. Do not edit here: change
   ourlegendry/design/palettes.json, run design/build.py, and copy out/tokens.css over this file. */
/* Generated by design/build.py from palettes.json — palette: amethyste.
   Do not edit by hand: change palettes.json and rebuild. Roles, not colours:
   write var(--lg-ink), never a hex. Rules: design/RULES.md. */

:root {
  /* reference values (use roles below in components) */
  --lg-p-dark: #3A1226; --lg-p-mid: #6B1F45; --lg-p-cream: #F3EDE3;
  --lg-p-gold: #A8894A; --lg-p-paper: #FBF8F2; --lg-p-deep: #290D1B;
  --lg-second: #6B1F45;
  --lg-p-ink: #352732; --lg-p-soft: #6D5C60; --lg-p-gold-text: #7E6637;
  /* extras: the website's own shades */
  --lg-x-plum-soft: #462036;
  --lg-x-sand: #E8DDC9;
  --lg-x-stone: #E4D7C3;
  --lg-x-leaf: #FAF4EA;
  --lg-x-gold-text-deep: #6B552C;
  --lg-x-gold-light: #D2B77F;
  --lg-x-umber: #795347;
  --lg-x-night: #1D0C15;
  --lg-x-wood: #19130F;
  --lg-x-atlas: #281B2B;
  /* working shades: lines on light and dark grounds, deeper accents (RULES.md §2a) */
  --lg-t-line-soft: #DCD5CE;
  --lg-t-line: #C3BCB7;
  --lg-t-line-strong: #948A8A;
  --lg-t-line-dark-soft: #502C3D;
  --lg-t-line-dark: #684955;
  --lg-t-line-dark-strong: #968084;
  --lg-t-line-gold: #B8AA8D;
  --lg-t-gold-deep: #8B7044;
  --lg-t-dark-deep: #2C0E1C;

  /* roles, light */
  --lg-ground: #FBF8F2;
  --lg-surface: #F3EDE3;
  --lg-ink: #352732;
  --lg-ink-soft: #6D5C60;
  --lg-label: #7E6637;
  --lg-accent: #6B1F45;
  --lg-metal: #A8894A;
  --lg-line: #352732;
  --lg-line-quiet: #DFDBD7;
  --lg-cta-fill: #3A1226;
  --lg-cta-text: #F3EDE3;

  /* metal: foil ramps for marks, rules and large words; satin for dark grounds */
  --lg-foil: linear-gradient(135deg, #66511F 0%, #A8894A 26%, #EBD794 50%, #A8894A 74%, #5C4A1E 100%);
  --lg-foil-text: linear-gradient(100deg, #66511F 0%, #A8894A 20%, #D0B876 40%, #F2E5B9 50%, #D0B876 60%, #A8894A 80%, #5C4A1E 100%);
  --lg-silver: linear-gradient(135deg, #5E646C 0%, #A7ADB4 26%, #F2F4F6 50%, #A7ADB4 74%, #555B63 100%);
  --lg-silver-text: linear-gradient(100deg, #555B63 0%, #A7ADB4 20%, #DDE1E5 40%, #FFFFFF 50%, #DDE1E5 60%, #A7ADB4 80%, #555B63 100%);
  --lg-satin: radial-gradient(120% 85% at 22% 12%, rgba(255,255,255,.13), transparent 58%), linear-gradient(165deg, rgba(255,255,255,.05), rgba(0,0,0,.32));
  --lg-sheen-duration: 7s;

  /* weights and measures */
  --lg-line-fine: 1.0px; --lg-line-regular: 1.5px;
  --lg-line-strong: 2.4px; --lg-line-stem: 3.2px;
  --lg-frame-outer: 2px; --lg-frame-inner: 1px; --lg-frame-gap: 5px; --lg-frame-inset: 12px;
  --lg-seal-min: 44px; --lg-seal-hero: 96px;

  /* type */
  --lg-display: "Cormorant Garamond", Cormorant, "Iowan Old Style", Georgia, serif;
  --lg-text: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;   /* labels and controls: the system font */
  --lg-book: Cochineal, "Iowan Old Style", Georgia, serif;   /* reading text on the web */
  --lg-mono: ui-monospace, Menlo, Consolas, monospace;
  --lg-display-weight: 500; --lg-display-weight-metal: 500;   /* Cormorant Garamond Medium, one face */
  --lg-label-size: 13px; --lg-label-tracking: .24em;

  /* illustration colours: things the site depicts, the same under every palette */
  --lg-i-bolt1: #A45A4B;
  --lg-i-bolt2: #D8B36C;
  --lg-i-bolt3: #5E8A86;
  --lg-i-bolt4: #8A5877;
  --lg-i-bolt5: #CDB88E;
  --lg-i-bolt6: #6C4A67;
  --lg-i-bolt7: #9C7C3C;
  --lg-i-bolt8: #6A8AA3;
  --lg-i-bolt9: #B0564A;
  --lg-i-bolt10: #C9A26F;
  --lg-i-bolt11: #7C6D99;
  --lg-i-bolt12: #B27A5B;
  --lg-i-relative-gold: #B8873B;
  --lg-i-relative-plum: #9B5C7E;
  --lg-i-relative-teal: #3F8A80;
  --lg-i-research: #6F7FA6;
  --lg-i-page-red: #8E2D22;
  --lg-i-plate-navy: #111A2C;
  --lg-i-watch-cloth: #873F31;
  --lg-i-print-brass: #E0AD61;
  --lg-i-apple-badge: #111111;
  --lg-i-apple-badge-text: #FFFFFF;
  --lg-i-story-silk1: #A86A51;
  --lg-i-story-silk2: #D6B36F;
  --lg-i-story-silk3: #698C82;
  --lg-i-story-silk4: #987285;
  --lg-i-story-silk5: #C6AC8C;
  --lg-i-story-silk6: #735664;
  --lg-i-story-silk7: #A08050;
  --lg-i-story-silk8: #7596A2;
  --lg-i-story-silk9: #A2564A;
  --lg-i-story-silk10: #BBB68A;
  --lg-i-story-silk11: #C88E75;
  --lg-i-story-silk12: #81739A;

  /* fixed by doctrine, never palette-driven */
  --lg-evidence-documented: #059669;
  --lg-evidence-one-record-short: #D97706;
  --lg-evidence-family-testimony: #7C3AED;
  --lg-evidence-corrected: #E11D48;
  --lg-evidence-searched-absent: #94A3B8;
}

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --lg-ground: #290D1B;
  --lg-surface: #3A1226;
  --lg-ink: #F3EDE3;
  --lg-ink-soft: #CAAFB4;
  --lg-label: #A8894A;
  --lg-accent: #A8894A;
  --lg-metal: #A8894A;
  --lg-line: #A8894A;
  --lg-line-quiet: #49313B;
  --lg-cta-fill: #A8894A;
  --lg-cta-text: #290D1B;
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --lg-ground: #290D1B;
  --lg-surface: #3A1226;
  --lg-ink: #F3EDE3;
  --lg-ink-soft: #CAAFB4;
  --lg-label: #A8894A;
  --lg-accent: #A8894A;
  --lg-metal: #A8894A;
  --lg-line: #A8894A;
  --lg-line-quiet: #49313B;
  --lg-cta-fill: #A8894A;
  --lg-cta-text: #290D1B;
  color-scheme: dark;
}

/* A night band inside a light page: the dark roles, restated, with colour. */
.lg-night {
  --lg-ground: #290D1B;
  --lg-surface: #3A1226;
  --lg-ink: #F3EDE3;
  --lg-ink-soft: #CAAFB4;
  --lg-label: #A8894A;
  --lg-accent: #A8894A;
  --lg-metal: #A8894A;
  --lg-line: #A8894A;
  --lg-line-quiet: #49313B;
  --lg-cta-fill: #A8894A;
  --lg-cta-text: #290D1B;
  background-color: var(--lg-ground); background-image: var(--lg-satin);
  color: var(--lg-ink);
}

/* A light band inside a dark page (or a light mock on a dark screen). */
.lg-day {
  --lg-ground: #FBF8F2;
  --lg-surface: #F3EDE3;
  --lg-ink: #352732;
  --lg-ink-soft: #6D5C60;
  --lg-label: #7E6637;
  --lg-accent: #6B1F45;
  --lg-metal: #A8894A;
  --lg-line: #352732;
  --lg-line-quiet: #DFDBD7;
  --lg-cta-fill: #3A1226;
  --lg-cta-text: #F3EDE3;
  background-color: var(--lg-ground); background-image: none;
  color: var(--lg-ink);
}

/* Helpers that carry the rules */
.lg-foil-text { background-image: var(--lg-foil-text); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: var(--lg-display-weight-metal); animation: lg-sheen var(--lg-sheen-duration) ease-in-out infinite; }
.lg-silver-text { background-image: var(--lg-silver-text); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: var(--lg-display-weight-metal); animation: lg-sheen var(--lg-sheen-duration) ease-in-out infinite; }
.lg-label { font: 500 var(--lg-label-size)/1.4 var(--lg-text); letter-spacing: var(--lg-label-tracking);
  text-transform: uppercase; color: var(--lg-label); }
.lg-satin { background-image: var(--lg-satin); }
@keyframes lg-sheen { 0% { background-position: 100% 0 } 50% { background-position: 0% 0 } 100% { background-position: 100% 0 } }
@media (prefers-reduced-motion: reduce) { .lg-foil-text, .lg-silver-text { animation: none; background-position: 50% 0; } }
