/* =========================================================================
   Housecarl Chrome — Palette stops
   UDR rust → muted civic Americana. Five steps along a single axis.
   Each stop rebinds the same role tokens (--accent, --copper-orange,
   --muted-gold, --deep-blue, --rust, --paper, --paper-tint) so the entire
   surface shifts in lockstep when you set body[data-palette="<stop>"].
   No bright flag colors; everything chroma-restrained, oxidized,
   warmed-paper. References: Hoover Dam plaque, NACA test report,
   WPA poster, Saturday Evening Post.
   ========================================================================= */

/* 1 · FOUNDRY — UDR origin. Iron + copper + brass. */
body[data-palette="foundry"] {
  --copper-orange: #D86B27;
  --accent:        #D86B27;
  --accent-hover:  #B85615;
  --accent-press:  #96450F;
  --muted-gold:    #D4AF37;
  --deep-blue:     #2C3E50;
  --rust:          #8B3A1F;
  --paper:         #FAFAF7;
  --paper-tint:    #F0EFEA;
}

/* 2 · BESSEMER — molten iron. Hotter, deeper rust dominant. */
body[data-palette="bessemer"] {
  --copper-orange: #B84A1C;
  --accent:        #B84A1C;
  --accent-hover:  #973A12;
  --accent-press:  #76290A;
  --muted-gold:    #B8922B;
  --deep-blue:     #2A3440;
  --rust:          #6E2A12;
  --paper:         #F8F4ED;
  --paper-tint:    #EDE7DA;
}

/* 3 · DISPATCH — pivot. Brick red + iron + first hint of indigo.
   A 1944 newspaper masthead lit by a single bulb. */
body[data-palette="dispatch"] {
  --copper-orange: #A23A2C;
  --accent:        #A23A2C;
  --accent-hover:  #862C20;
  --accent-press:  #6A2118;
  --muted-gold:    #B89556;
  --deep-blue:     #2E445F;
  --rust:          #732618;
  --paper:         #F6F1E6;
  --paper-tint:    #ECE5D3;
}

/* 4 · CIVIC — DEFAULT. Muted Americana. Brick + bone + faded navy + brass.
   The WPA poster / NACA report register. */
body[data-palette="civic"] {
  --copper-orange: #9B3A33;
  --accent:        #9B3A33;
  --accent-hover:  #7C2C26;
  --accent-press:  #5E211C;
  --muted-gold:    #A8843A;
  --deep-blue:     #34516E;
  --rust:          #6A2018;
  --paper:         #F4EEDD;
  --paper-tint:    #E9DFC6;
}

/* 5 · STANDARD — full red/white/blue, all muted. 1950s civic confidence —
   not a flag waving in sunlight, a flag in a dim courthouse hallway. */
body[data-palette="standard"] {
  --copper-orange: #8E3A36;
  --accent:        #8E3A36;
  --accent-hover:  #722D2A;
  --accent-press:  #56221F;
  --muted-gold:    #9F7E36;
  --deep-blue:     #36567A;
  --rust:          #5C1F18;
  --paper:         #F2EBD6;
  --paper-tint:    #E5DCBE;
  --link:          #36567A;
}

/* No palette set? Fall back to Civic. */
body:not([data-palette]) {
  --copper-orange: #9B3A33;
  --accent:        #9B3A33;
  --accent-hover:  #7C2C26;
  --accent-press:  #5E211C;
  --muted-gold:    #A8843A;
  --deep-blue:     #34516E;
  --rust:          #6A2018;
  --paper:         #F4EEDD;
  --paper-tint:    #E9DFC6;
}
