/*
 * Self-hosted brand faces for justhonestgaming.
 *
 * @thenerdybox/ui's tokens.css declares --font-display, --font-body and
 * --font-mono, but deliberately does NOT ship the font binaries (see that
 * repo's context/backlog.md). Loading the faces is the consumer's job. This
 * file is that job, done.
 *
 * THE TRAP THIS CLOSES: nerdybox-web loads its faces with next/font, which
 * injects those variables as classes on <body> rather than into :root. Any
 * consumer that took the stylesheet without also loading the faces fell
 * through to `system-ui` SILENTLY — the page looked *almost* right, which is
 * worse than looking broken.
 *
 * All three are variable fonts, so ONE file per family covers every weight —
 * the per-weight downloads Google serves are byte-identical. 153 KB total for
 * the latin subset.
 *
 * Vendored into the repo rather than fetched at build time on purpose: no
 * external dependency at build OR runtime, so no request leaves the origin
 * and a Google outage can never break a deploy. All three are SIL Open Font
 * License 1.1 — see OFL.txt. Redistribution is expressly permitted.
 */

/* Bricolage Grotesque — display, wordmark. Weights 700/800 in use. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./bricolage-grotesque-var.woff2") format("woff2-variations"),
       url("./bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
  /* latin subset only — matches what was downloaded */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter — body. Weights 400/500/600 in use. */
@font-face {
  font-family: "Inter";
  src: url("./inter-var.woff2") format("woff2-variations"),
       url("./inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — labels and status. Always 0.7rem / 0.18em / uppercase. */
@font-face {
  font-family: "JetBrains Mono";
  src: url("./jetbrains-mono-var.woff2") format("woff2-variations"),
       url("./jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
