/*
 * kwp design — @font-face declarations.
 *
 * Split out from base.css deliberately. A consumer that already serves these
 * faces, or that bundles them itself (plankvoice declares its own @font-face
 * against this package's files), imports base.css and skips this file. The --font-display / --font-body stacks in
 * base.css degrade to their fallbacks without it.
 *
 * PATHS ARE ABSOLUTE — /fonts/. That is a convention, not a bundler feature:
 * copy this package's fonts/ directory to the root of whatever your host
 * serves as /fonts/, including OFL-NOTICE.txt. The license travels with the
 * fonts. Override the src paths if your host puts them elsewhere.
 *
 * Latin subset only: ~73KB for the two upright faces, plus ~41KB (Lora) and
 * ~36KB (Hanken) italics that browsers fetch only when text is set in them. Not
 * loaded from Google Fonts: no third-party request, no dependency on an
 * external host staying up.
 *
 * The pairing is the one settled for both YouTube channels, which is what
 * makes every surface read as the same family. Both are VARIABLE: Lora across
 * 400–700, Hanken Grotesk across 100–900, each upright and italic.
 * Any weight inside a range is real. Outside it — Lora at 300 or 800 — the
 * browser fakes it. --fw-display (600) is the default heading weight, not the
 * only one.
 *
 * Until v0.11.0 Lora shipped as a static SemiBold, and "600 only" was a fact
 * about that file rather than a design decision. The YouTube lockups it came
 * from set the name in 700.
 *
 * Italics (Kevin, 2026-10-16): discouraged in Lora titles, allowed in Hanken
 * Grotesk subtitles and body text. The italic files are not preloaded; each
 * costs nothing on a page that never uses it.
 *
 * IBM Plex Mono (v0.12.0) is the third face, for timers, figures and code:
 * Regular 400 only, upright only, and static (Kevin, 2026-10-22). No front-
 * facing surface needed a bold or italic monospace, so there is one file,
 * ~15KB, fetched only when text is set in --font-mono. A heavier weight or an
 * italic asked of it is faked by the browser; set mono text at 400. Either
 * answer can change when a real need does.
 *
 * kwp Handwriting is the fourth face and a deliberate rarity: Kevin's own
 * handwriting, for the cases where hand-drawn is the point (the arrows on the
 * infographic format). Not a heading, body or label face. Two static files,
 * Regular 400 and Bold 700, ~153KB and ~77KB, fetched only when text is set in
 * --font-hand. These are NOT the latin subset: the Regular carries contextual
 * alternates that make repeated letters differ, and subsetting would risk
 * flattening them. Do not subset without testing that. See docs/handwriting-font.md.
 */
@font-face {
  font-family: 'Lora';
  src: url('/fonts/lora-latin.woff2') format('woff2');
  font-weight: 400 700;
  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;
}

@font-face {
  font-family: 'Lora';
  src: url('/fonts/lora-latin-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  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;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken-grotesk-latin.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;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken-grotesk-latin-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  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;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono-latin.woff2') format('woff2');
  font-weight: 400;
  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;
}

/* The family name is lowercase kwp on purpose: the initials are, everywhere. */
@font-face {
  font-family: 'kwp Handwriting';
  src: url('/fonts/kwp-handwriting-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'kwp Handwriting';
  src: url('/fonts/kwp-handwriting-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
