/* Byte Paladin theme, re-tuned from the taste "tech" direction.
   Subject: a paladin guarding a small team's bytes. Forged graphite,
   mail-steel greys, one heraldic brass signal. */
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geologica-latin.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/onest-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2"); }

:root {
  --font-display: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --w-display: 600;
  --tr-display: -0.035em;
  --tr-h2: -0.025em;
  --lh-display: 0.98;
  --radius: 4px;
  --radius-sm: 3px;
  --radius-button: 3px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.08em;
  --bg: #f3f4f2;            /* mail-steel, polished */
  --surface: #ffffff;       /* blank vellum */
  --surface-2: #e6e9e5;     /* chainmail grey */
  --ink: #101312;           /* forge graphite */
  --muted-strong: #343a37;  /* iron */
  --muted: #545b57;         /* pewter */
  --line: #d6dad6;          /* scratch line */
  --line-strong: #b6bdb8;   /* rivet line */
  --ink-field: #121614;     /* anvil */
  --on-ink: #eef0ec;        /* spark white */
  --on-ink-muted: #aab2ad;  /* ash */
  --accent: #9a6200;        /* heraldic brass, signal */
  --accent-fill: #e2a93a;   /* brass, struck */
  --accent-on-fill: #101312;
  --accent-text: #7f4f00;   /* tarnished brass, for text */
  --accent-soft: #f4e6c6;   /* brass wash */
  --field-1: #e6e9e5; --field-1-ink: #101312;
  --field-2: #f4e6c6; --field-2-ink: #101312;
  --field-3: #121614; --field-3-ink: #eef0ec;
  color-scheme: light dark;
}

@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d100f; --surface: #141816; --surface-2: #191e1b;
    --ink: #eceee9; --muted-strong: #c5cbc6; --muted: #9aa29d;
    --line: rgba(236, 238, 233, 0.1); --line-strong: rgba(236, 238, 233, 0.2);
    --ink-field: #070908; --on-ink: #eceee9; --on-ink-muted: #a3aba6;
    --accent: #f0b43c; --accent-fill: #f0b43c; --accent-on-fill: #101312;
    --accent-text: #f2c25f; --accent-soft: #2a2416;
    --field-1: #191e1b; --field-1-ink: #eceee9;
    --field-2: #2a2416; --field-2-ink: #eceee9;
    --field-3: #070908; --field-3-ink: #eceee9;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #0d100f; --surface: #141816; --surface-2: #191e1b;
    --ink: #eceee9; --muted-strong: #c5cbc6; --muted: #9aa29d;
    --line: rgba(236, 238, 233, 0.1); --line-strong: rgba(236, 238, 233, 0.2);
    --ink-field: #070908; --on-ink: #eceee9; --on-ink-muted: #a3aba6;
    --accent: #f0b43c; --accent-fill: #f0b43c; --accent-on-fill: #101312;
    --accent-text: #f2c25f; --accent-soft: #2a2416;
    --field-1: #191e1b; --field-1-ink: #eceee9;
    --field-2: #2a2416; --field-2-ink: #eceee9;
    --field-3: #070908; --field-3-ink: #eceee9;
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
}

.eyebrow, .label, .facts strong { font-family: var(--font-mono); }
