/*
  Theme variable sets for public campaign pages.
  Each `data-theme="..."` value on <body> selects one set of CSS custom
  properties. site.css consumes only these variables — never hardcoded
  colors — so themes stay a CSS-variable swap, not per-campaign CSS
  (per the plan: "Theme is a CSS-variable set keyed off one field, not
  per-campaign custom CSS").

  Palette source: Adalyn Rose Foundation brand guide (real hex values,
  not approximated pastels):
    Navy/dark blue  #446b93   Pink (primary accent) #fdb2c2
    Sage/teal-green #a6c5c6   Mid blue              #5f8bb8
    Light pink      #fac8d3   Blue (brighter)       #3182b6
    Very light pink #ffcede   Black                 #000000

  Each theme below is built only from those eight brand values (plus
  tint/shade math and one white for hero-footprint backgrounds already
  in site.css), so every theme is traceable back to the brand guide.
*/

body[data-theme="classic_blue"] {
  /* --accent is the brand's brighter blue used at full strength (real
     hex, no shading needed — 4.2:1 against white, same ballpark as the
     previous placeholder theme's own accent contrast). */
  --accent: #3182b6;
  --accent-dark: #246188; /* accent, shaded darker for hover/heading use */
  --accent-light: #5f8bb8; /* brand mid blue, real hex */
  --accent-pale: #eaf3f8;
  --heading-color: #446b93; /* brand navy, real hex */
  --muted-color: #5f8bb8;
  --wave-color: #5f8bb8;
  --bg-1: #eaf3f8;
  --bg-2: #d7e7f1;
  --bg-3: #c3d9ea;
  --hero-bg: #a9cbe0;
  --overlay-bg: rgba(215, 231, 241, 0.55);
}

body[data-theme="soft_pink"] {
  /* The brand's primary pink (#fdb2c2) and its lighter/pale relatives
     (#fac8d3, #ffcede) are all too light to put white button/heading
     text on top of at a readable contrast, so --accent and
     --heading-color here are the brand pink algorithmically shaded
     darker (60%/50% multiply per channel) rather than a different,
     unrelated color -- same hue, same brand swatch, just deep enough to
     read. --accent-light/--wave-color/backgrounds use the real brand
     pink hexes unshaded, since those are only ever used as light
     fills/borders behind dark text, never as a text-contrast surface. */
  --accent: #976a74; /* #fdb2c2 shaded to ~60% for AA contrast under white text */
  --accent-dark: #7e5961; /* #fdb2c2 shaded to ~50%, hover state */
  --accent-light: #fac8d3; /* brand light pink, real hex */
  --accent-pale: #fff2f5;
  --heading-color: #7e5961;
  --muted-color: #a4737e; /* #fdb2c2 shaded to ~65% */
  --wave-color: #fac8d3;
  --bg-1: #fff5f8;
  --bg-2: #ffcede; /* brand very light pink, real hex */
  --bg-3: #fac8d3; /* brand light pink, real hex */
  --hero-bg: #fac8d3;
  --overlay-bg: rgba(255, 206, 222, 0.55);
}

body[data-theme="neutral_sage"] {
  /* "Soft green": a warm, pastel egg green, gender-neutral and leaning
     yellow-green rather than blue-gray. Buttons and headings use deeper
     greens so white button text (4.9:1) and small muted text (4.5:1+)
     stay readable. Stored value is still 'neutral_sage'. */
  --accent: #557a4e;
  --accent-dark: #43623d; /* hover state */
  --accent-light: #c5ddb8; /* the egg green itself */
  --accent-pale: #f2f8ee;
  --heading-color: #4a6d44;
  --muted-color: #56734f;
  --wave-color: #b9d6aa;
  --bg-1: #f6faf2;
  --bg-2: #eaf3e3;
  --bg-3: #dcebd2;
  --hero-bg: #d4e8c8;
  --overlay-bg: rgba(218, 236, 208, 0.55);
}
