/* ============================================================
   gabrielpenman.co.uk · G — Design Language EXTENSIONS
   Things the site needs that the upstream pack doesn't ship:
   a categorical chart palette (the brand's warm chart colors,
   from design-language/project/README.md) and service-status
   semantics. Kept separate from the vendored tokens/ so a future
   pack re-pull stays a clean overwrite. Tuned to read on both the
   paper (light, default) and black (dark) grounds.
   ============================================================ */
:root {
  /* --- Categorical chart palette (FD.palette resolves these) ---
     Mid-tone, desaturated; legible on paper and on near-black. */
  --chart-1: #2d4a6b;  /* ink blue — primary series (brand chart palette) */
  --chart-2: #a04628;  /* deep rust */
  --chart-3: #5e7544;  /* moss green */
  --chart-4: #b58b3a;  /* ochre */
  --chart-5: #6d5976;  /* dusty plum */
  --chart-6: #3f6e75;  /* teal-slate */

  /* Chart chrome */
  --chart-axis:     var(--text-muted);
  --chart-gridline: var(--border);
  --chart-label:    var(--text);

  /* --- Service-status semantics --------------------------------
     Replace the old hardcoded #2c5d63 (up) / #7b2d26 (down). */
  --status-up:    #3a7d5c;  /* healthy / live */
  --status-down:  #b23b30;  /* down / error */
  --status-warn:  #b7791f;  /* degraded / pending */
  --status-up-wash:   rgba(58, 125, 92, 0.12);
  --status-down-wash: rgba(178, 59, 48, 0.12);
  --status-warn-wash: rgba(183, 121, 31, 0.12);
}

/* Dark ground wants slightly brighter status hits to hold contrast. */
[data-theme="dark"] {
  --status-up:   #4fb37e;
  --status-down: #e0594c;
  --status-warn: #d9a13a;
}
