/* ==========================================================================
   THEMES
   Same page, same structure, different colour and type. Pick one with the attribute on <html>:
     <html data-theme="noir">       deep black, ivory and one neon hot pink; Bricolage Grotesque over Inter
     (no attribute)                 the original bold palette in Inter ("Signal")
     <html data-theme="mono">       paper, grey, ink and one blue; Inter, as in Signal
   To compare them on the live site, add ?theme=noir (or mono, signal) to the URL.
   A theme only redefines roles from the style library in styles.css. Fonts download only for
   the theme in use.
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* ---------- Mono: paper, three tones of grey and ink, one blue for anything you can act on; the hero's
   red and green stay on its two marks and the contact line's echo of them. Inter, as in Signal. The fields
   are tone steps: the statement band, the toolkit and the contact field on light grey, "Expertise matters."
   on ink. The band's operators and the picked toolkit phrase take the blue. ---------- */
:root[data-theme="mono"] {
  --kind-project: #0d0d0d; --kind-business: #595959;   /* experience kinds; role takes the accent */
  --ground: #ffffff; --ink: #0d0d0d; --ink-soft: #595959; --surface: #f2f2f0;
  --accent: #1f3bff;
  --btn-bg: #0d0d0d; --btn-ink: #ffffff; --btn-hover-bg: #1f3bff; --btn-hover-ink: #ffffff;
  --deep: #0d0d0d; --on-deep: #ffffff; --on-deep-soft: rgba(255, 255, 255, 0.72);
  --hi: #b9c3ff; --on-hi: #0d0d0d;   /* the accent lifted to read on ink */
  --float-bg: #0d0d0d; --float-ink: #b9c3ff;
  --fa-bg: #0d0d0d; --fa-ink: #ffffff;
  --panel-bg: #ffffff; --panel-ink: #0d0d0d; --panel-soft: #595959; --panel-track: #e6e6e2;
  --panel-on-bg: #e4e8ff; --panel-on-ink: #0d0d0d;
  --mark-good: #1f3bff; --mark-good-ink: #ffffff;
  --count-on: #1f3bff;
  --fb-bg: #ededea; --fb-ink: #0d0d0d; --fb-soft: #4a4a46; --fb-head: #1f3bff;
  --fb-hover-bg: #0d0d0d; --fb-hover-ink: #ffffff; --fb-hover-soft: rgba(255, 255, 255, 0.72);
  --under-quiet: url("../img/marks/under-quiet-mono.svg"); --under-pick: url("../img/marks/under-pick-mono.svg"); --under-ink: url("../img/marks/under-ink-mono.svg"); --under-cue-pick: url("../img/marks/under-cue-pick-mono.svg");
  --mark-hl: url("../img/marks/mark-hl-mono.svg");   /* the band in Mono's blue, ink on it 8.7:1 */
  --fs-bg: #ededea; --fs-ink: #0d0d0d; --fs-soft: #4a4a46; --fs-o: #1f3bff;   /* the band's operators in the one accent */
  --fc-o: #0e7a3e;   /* the hero's ring, deepened to hold 3:1 on grey */
  --fc-bg: #ededea; --fc-alt: #e2e2de; --fc-ink: #0d0d0d; --fc-hover-bg: #0d0d0d; --fc-hover-ink: #ffffff;
  --footer-bg: #0d0d0d; --footer-ink: #ffffff; --footer-soft: rgba(255, 255, 255, 0.62); --footer-mark: #b9c3ff;
}

/* ---------- Noir: after dark. Deep black, ivory type and one neon hot pink; Bricolage Grotesque over Inter,
   a grotesque as heavy as Signal's but with a quirk in every g, s and y; its optical size axis gives the
   display sizes their most playful forms by itself.
   The pink goes where the page's idea lives: the ring on "Ricky", the card once the switch is flipped, the
   statement band, the contact field and the floating call. The X keeps a warm red, so slop and Ricky never
   share a colour, and the ivory card and toolkit stay paper. No glow: the pink is flat and large. ---------- */
:root[data-theme="noir"] {
  --kind-project: #ebe9e4; --kind-business: #ffa3d2;   /* experience kinds on the black ground; role takes the pink */
  --x-ink: #e8402f; --o-ink: #ff2d9b;
  --mark-tick: #14120f;   /* the tick on the pink card */
  --ground: #0f0e0d; --ink: #ebe9e4; --ink-soft: #a39c90; --surface: #1c1a17;
  --accent: #ff2d9b;
  --hint-paper: #c20f6d;        /* the hint finger on the light toolkit field: the pink deepened to 4.6:1 on the field */
  --btn-bg: #ff2d9b; --btn-ink: #0f0e0d; --btn-hover-bg: #ff2d9b; --btn-hover-ink: #0f0e0d;   /* the paper pill turns pink under the pointer */
  --deep: #191714; --on-deep: #ebe9e4; --on-deep-soft: rgba(235, 233, 228, 0.68);
  --hi: #ff2d9b; --on-hi: #0f0e0d;
  --float-bg: #ebe9e4; --float-ink: #0f0e0d;   /* the floating call: paper, so it keeps its pill over the pink fields and the black ground alike */
  --fa-bg: #1a1016; --fa-ink: #ebe9e4;   /* "Expertise matters.": a plum-black step off the ground */
  --panel-bg: #ebe9e4; --panel-ink: #14120f; --panel-soft: #5f574c; --panel-track: #dcd9d2;
  --panel-on-bg: #ff2d9b; --panel-on-ink: #14120f;   /* flip the switch and the card floods pink */
  --panel-on-dim: 0.86;   /* on the pink, the quiet "Others" dims less to keep 4.5:1 (4.7:1) */
  --mark-good: #14120f; --mark-good-ink: #ff2d9b;
  --count-on: #14120f;
  --fb-bg: #e6e4de; --fb-ink: #14120f; --fb-soft: #4a4540; --fb-head: #c20f6d;   /* the pink deepened to 4.5:1 on paper */
  --under-quiet: url("../img/marks/under-quiet-noir.svg"); --under-pick: url("../img/marks/under-pick-noir.svg"); --under-ink: url("../img/marks/under-ink-noir.svg"); --under-cue-pick: url("../img/marks/under-cue-pick-noir.svg");
  --mark-hl: url("../img/marks/mark-hl-noir.svg");   /* the band in Noir's hot pink, ink on it 5.4:1 */
  --fb-hover-bg: #14120f; --fb-hover-ink: #ff2d9b; --fb-hover-soft: #ebe9e4;
  --fc-o: #ffffff;   /* the ring on the pink contact field: white holds 3:1 */
  --fc-bg: #ff2d9b; --fc-alt: #ff45a6; --fc-ink: #0f0e0d; --fc-hover-bg: #0f0e0d; --fc-hover-ink: #ff2d9b;
  --fs-bg: #ff2d9b; --fs-ink: #0f0e0d; --fs-soft: #3a0f26; --fs-o: #ffffff;   /* the statement band: the pink poster; operators in white */
  --footer-bg: #0a0908; --footer-ink: #ebe9e4; --footer-soft: rgba(235, 233, 228, 0.62); --footer-mark: #ff2d9b;

  --font-display: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --w-display: 800; --w-head: 800; --w-lead: 700; --w-name: 800;
  --track-display: -0.04em; --track-head: -0.035em; --track-lead: -0.02em; --track-name: -0.03em;
  --accent-print: #c20f6d;     /* accent on white mockups */
  --fit-wide: 6.6; --fit-phone: 4.25; --fit-contact: 13.4;
  --chip-line: 2px;
}
