/* The Private Ledger — CSS custom properties
   Generated from /workspace/art/editions/tools/generate_editions.py
   and the Style definitions in generate_themes.py. Do not hand-edit
   hex values; regenerate from the generator if the print files change.
   Naming.
   The visual title is EVEN THE SCORE, with The "Bleeping" Score Card as the italic subtext; the public product name is always exactly The "Bleeping" Score Card. */

:root {
  /* Shared wax / metal / ribbon (same on every edition) */
  --wax: #9C1A2A;             /* WAX (156, 26, 42) */
  --wax-dark: #6E101E;        /* WAX_DARK (110, 16, 30) */
  --wax-highlight: #C44856;   /* WAX_HIGH (196, 72, 86) */
  --lipstick: #B82034;        /* LIPSTICK — ribbon + light-edition wink */
  --brass: #B88E48;           /* BRASS — gold rule on light editions */
  --brass-dark: #8C6430;      /* BRASS_DARK — halo ring inner */
  --ivory: #F4ECDE;           /* IVORY / CREAM — Sealing Wax wafer */
  --wink-on-dark: #E85C6C;    /* wink on Sealing Wax */

  /* Type: print uses these variable fonts via Pillow, weight axis + opsz = size. */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --font-display-italic: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Packaging type scale — pixels at 300 dpi (tuck front unless noted).
     Convert to typographic points with px * 72 / 300. */
  --title-size: 50px;       /* EVEN THE SCORE, weight 500, tracking 9px */
  --title-weight: 500;
  --title-tracking: 9px;
  --subtext-size: 20px;     /* The “Bleeping” Score Card, italic, weight 500 */
  --subtext-weight: 500;
  --edition-name-size: 36px; /* weight 600 */
  --edition-name-weight: 600;
  --edition-no-size: 13px;  /* EDITION N OF IV, tracking 4px, weight 500, brass */
  --edition-no-weight: 500;
  --edition-no-tracking: 4px;
  --ledger-size: 17px;      /* The Private Ledger, italic display, weight 500 */
  --ledger-weight: 500;
  --challenges-size: 13px;  /* Fifty-two challenges, tracking 2px, weight 500 */
  --challenges-weight: 500;
  --challenges-tracking: 2px;
  --blurb-size: 20px;       /* weight 450 */
  --blurb-weight: 450;
  --wink-size: 17px;        /* for your eyes only., italic display, weight 500 */
  --wink-weight: 500;

  /* Default edition tokens (Rose Lake). Override with [data-edition]. */
  --bg: #F4E2DA;
  --panel: #FAECE6;
  --ink: #5A202A;
  --muted: #8C4E58;
  --accent: #A84652;
  --frame: #9A565E;
  --pip: #A84652;
  --pip-warm: #9E3A46;
  --pip-cool: #481820;
  --brass: #B88E48;
  --frame-rule: #A9784E;
  --wink: #B82034;
  --disc: #FBEFEA;
  --laid-panel: #EDDCD7;
  --laid-bg: #E8D2CC;
  --marble-0: #F4E2DA;
  --marble-1: #DF9EA0;
  --marble-2: #80202E;
}

[data-edition="rose-lake"] {
  --bg: #F4E2DA;
  --panel: #FAECE6;
  --ink: #5A202A;
  --muted: #8C4E58;
  --accent: #A84652;
  --frame: #9A565E;
  --pip: #A84652;
  --pip-warm: #9E3A46;
  --pip-cool: #481820;
  --brass: #B88E48;
  --frame-rule: #A9784E;
  --wink: #B82034;
  --disc: #FBEFEA;
  --laid-panel: #EDDCD7;
  --laid-bg: #E8D2CC;
  --marble-0: #F4E2DA;
  --marble-1: #DF9EA0;
  --marble-2: #80202E;
}

[data-edition="iron-gall"] {
  --bg: #E8E6E0;
  --panel: #F0EEE9;
  --ink: #161616;
  --muted: #50504E;
  --accent: #323436;
  --frame: #323436;
  --pip: #161616;
  --pip-warm: #84282E;
  --pip-cool: #161616;
  --brass: #B88E48;
  --frame-rule: #94784A;
  --wink: #B82034;
  --disc: #F2F1EC;
  --laid-panel: #DFDDD8;
  --laid-bg: #D7D5D0;
  --marble-0: #E8E6E0;
  --marble-1: #979899;
  --marble-2: #282A30;
}

[data-edition="vellum-bound"] {
  --bg: #F3EAD6;
  --panel: #F8F1E0;
  --ink: #281E12;
  --muted: #6E5837;
  --accent: #9A7A46;
  --frame: #5A4428;
  --pip: #9A7A46;
  --pip-warm: #94322A;
  --pip-cool: #281E12;
  --brass: #B88E48;
  --frame-rule: #9E7B42;
  --wink: #B82034;
  --disc: #F9F3E5;
  --laid-panel: #E7E0D0;
  --laid-bg: #E3DAC6;
  --marble-0: #F3EAD6;
  --marble-1: #CFBD9C;
  --marble-2: #503E24;
}

[data-edition="sealing-wax"] {
  --bg: #241014;
  --panel: #2C161A;
  --ink: #F4E8DA;
  --muted: #D2B0A0;
  --accent: #C4A36A;
  --frame: #C4A36A;
  --pip: #C45A52;
  --pip-warm: #E27C72;
  --pip-cool: #F4E8DA;
  --brass: #A37C41;
  --frame-rule: #B38E62;
  --wink: #E85C6C;
  --disc: #281417;
  --laid-panel: #3C2729;
  --laid-bg: #352124;
  --marble-0: #241014;
  --marble-1: #5A141E;
  --marble-2: #62514F;
}

