/* ===========================================================================
   PORTFOLEO — self-hosted fonts. NO GOOGLE FONTS, NO CDN, EVER.
   Two families, per the design system spec s3.1:
     JetBrains Mono  — the machine's voice: every number, ticker, timestamp,
                       code, path, command, table cell, chip, badge and rail.
     Archivo         — the company's voice: marketing display + body, docs and
                       legal pages, and copilot prose of two sentences or more.
   =========================================================================== */

/* JetBrains Mono — self-hosted variable font, latin + latin-ext.
   VERIFIED axis with fontTools: fvar = [('wght', 400.0, 400.0, 800.0)].
   The weight axis is 400-800, NOT 100-800 — any comment claiming otherwise is
   wrong, and light-weight display type in mono is therefore impossible. All
   light display work lives in the sans. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-var-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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------------------
   Archivo — self-hosted TWO-AXIS variable font (wght 100-900, wdth 62-125).
   SIL Open Font License 1.1 — full text in /fonts/OFL-Archivo.txt.
   Upstream: Archivo v2.001, "Copyright 2020 The Archivo Project Authors
   (https://github.com/Omnibus-Type/Archivo)". Vendored from a copy already
   present locally; nothing was fetched from a network at vendor time.

   VERIFIED with fontTools this session (source and both subsets):
     fvar = [('wght', 100.0, 600.0, 900.0), ('wdth', 62.0, 100.0, 125.0)]

   The wdth axis is the entire reason this family was chosen over Inter (used
   by Linear, Raycast, OpenBB, Resend, Rogo and Godel), Sofia Sans (literally
   Godel's H1 family), Geist (indelibly Vercel) and Space Grotesk (Fiscal.ai):
   one file yields both a semi-condensed editorial display voice (wdth 88 at
   wght 380 for the H1) and a normal-width UI voice (wdth 100 at wght 400).

   Reproduce the subsets with fontTools (offline, from the vendored source):
     python3 -m fontTools.subset Archivo-Variable.ttf \
       --unicodes=<the range in each block below> \
       --layout-features=ccmp,locl,liga,calt,kern,mark,mkmk,rvrn,tnum,lnum,frac,case,zero \
       --flavor=woff2 --with-zopfli --no-hinting --desubroutinize \
       --drop-tables+=DSIG --name-IDs=0,1,2,3,5,6,13,14,16,17 \
       --output-file=archivo-var-<subset>.woff2
   --------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-var-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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
