/* =========================================================
   Gebeta Books — colour palettes
   Pick one in config.js → palette: "charcoal" | "chocolate" | "sea" | "cyprus" | "plum"
   ("" = the original Purple / Oil). Preview them all on palettes.html.
   Each palette sets: light colour (+ a deeper light), dark colour (+ a deeper dark),
   an in-between dark, an accent (glow) and a bright highlight used on dark backgrounds.
   ========================================================= */

/* 1 · Charcoal Blue #202833 / Pearl #EAE0C8 */
html[data-palette="charcoal"] {
  --lt: #EAE0C8; --lt-rgb: 234, 224, 200; --lt-2: #DED2B4;
  --dk: #202833; --dk-rgb: 32, 40, 51;    --dk-deep: #141A22;
  --plum: #2F3B4A;
  --orchid: #5D7189; --orchid-rgb: 93, 113, 137;
  --hi: #D8C49A; --hi-rgb: 216, 196, 154;
}

/* 2 · Sand #FFECD1 / Chocolate #3E000C */
html[data-palette="chocolate"] {
  --lt: #FFECD1; --lt-rgb: 255, 236, 209; --lt-2: #F4DDBC;
  --dk: #3E000C; --dk-rgb: 62, 0, 12;     --dk-deep: #230006;
  --plum: #5E1220;
  --orchid: #9B3A3A; --orchid-rgb: 155, 58, 58;
  --hi: #F3B79C; --hi-rgb: 243, 183, 156;
}

/* 3 · Milk / Sea — colours taken from the picture itself (#F6F5FB / #241A78);
   the codes written on that card (#D2DB76, #2D371D) are a lime and an olive, not what it shows */
html[data-palette="sea"] {
  --lt: #F6F5FB; --lt-rgb: 246, 245, 251; --lt-2: #E7E5F3;
  --dk: #241A78; --dk-rgb: 36, 26, 120;   --dk-deep: #140E4A;
  --plum: #352A9A;
  --orchid: #6A5FD0; --orchid-rgb: 106, 95, 208;
  --hi: #B9B2FF; --hi-rgb: 185, 178, 255;
}

/* 4 · Cyprus #004643 / Sand Dune #F0EDE5 */
html[data-palette="cyprus"] {
  --lt: #F0EDE5; --lt-rgb: 240, 237, 229; --lt-2: #E3DFD3;
  --dk: #004643; --dk-rgb: 0, 70, 67;     --dk-deep: #002A28;
  --plum: #0A5C58;
  --orchid: #3B8C83; --orchid-rgb: 59, 140, 131;
  --hi: #A9D8CD; --hi-rgb: 169, 216, 205;
}

/* 5 · Plum #381932 / Milk #FFF3E6 */
html[data-palette="plum"] {
  --lt: #FFF3E6; --lt-rgb: 255, 243, 230; --lt-2: #F5E3CF;
  --dk: #381932; --dk-rgb: 56, 25, 50;    --dk-deep: #1F0D1B;
  --plum: #55284C;
  --orchid: #8F4A7F; --orchid-rgb: 143, 74, 127;
  --hi: #F0B9D8; --hi-rgb: 240, 185, 216;
}
