/*
  THEME
  Every colour on the site comes from these variables.
  To change the palette for good, set "palette" in portfolio.json to tomato, cobalt or emerald,
  or edit the values below. To add a palette, copy one block and give it a new name.
*/

:root,
[data-palette="tomato"] {
  --bg: #ffffff;
  --ink: #141414;
  --muted: #5a5a5a;
  --rule: #e4e4e4;
  --primary: #e23d28;     /* colour bands, details card, links */
  --on-primary: #ffffff;  /* text on the primary colour */
  --accent: #ffd23f;      /* result highlight */
  --on-accent: #141414;   /* text on the accent colour */
}

[data-palette="cobalt"] {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --muted: #555555;
  --rule: #e2e2e2;
  --primary: #1f3fe0;
  --on-primary: #ffffff;
  --accent: #ff5a36;
  --on-accent: #0d0d0d;
}

[data-palette="emerald"] {
  --bg: #ffffff;
  --ink: #0f1a14;
  --muted: #55605a;
  --rule: #e1e6e3;
  --primary: #00805a;
  --on-primary: #ffffff;
  --accent: #ffcf33;
  --on-accent: #0f1a14;
}

/* Placeholder labels for content that is still missing. Same bright pink in every palette. */
:root {
  --missing: #ff1f8f;
  --on-missing: #ffffff;
}
