/* Tribos - self-hosted web fonts
 * Source: Google Fonts CSS2 API (woff2), subsets latin + latin-ext.
 * All French accents (e-acute/grave/circ, a-grave, c-cedilla, oe/OE ligature,
 * guillemets, euro) live in the `latin` subset; latin-ext adds Y-umlaut and
 * the wider European set. Both are shipped.
 *
 * --font-display : Geist            - variable, wght 100-900 (700 for titles)
 * --font-text    : Geist            - variable, wght 100-900
 * --font-mono    : Geist Mono       - STATIC, weight 500 only
 *
 * Design intent (Cinematic 3D preset): one family, display 600-800 tight,
 * text 400/500/600, mono 500 for eyebrows and figures.
 * The declared font-weight ranges below are the full ranges the downloaded
 * files actually support (verified via fvar) rather than the narrower ranges
 * requested from the API - same bytes, but no clamping or synthetic bold if a
 * weight outside the intended set is ever used.
 *
 * Note: Geist Mono is a single static 500 instance. Any other mono weight
 * will be synthesised by the browser, so keep mono usage at 500.
 */

/* ---------- Geist ---------- */

/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./geist-latin.woff2") format("woff2");
  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;
}

/* ---------- Geist Mono ---------- */

/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./geist-mono-latin.woff2") format("woff2");
  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;
}

/* ---------- family stacks ---------- */

:root {
  --font-display: 'Geist', ui-sans-serif, system-ui, -apple-system,
    'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Geist', ui-sans-serif, system-ui, -apple-system,
    'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono',
    Menlo, Consolas, 'Liberation Mono', monospace;
}
