/* ============================================================================
   fonts.css - self-hosted web fonts
   ----------------------------------------------------------------------------
   The three families the site uses, served from this domain. Nothing in here
   makes a request off vectoranalytics.org, which is what /contact/ says about
   the site and is now true without a qualification.

   Each family is one variable font file per subset, taken from the Google
   Fonts CSS API on 17 August 2026 and stored in /assets/fonts/. A variable
   file means the four Montserrat weights cost one download rather than four.

   The ranges are wider than the Google Fonts link they replace, and that is
   the point. Measuring every element on every page found 66 places asking for
   a weight the site had never downloaded: a <b> inside a code block wants
   JetBrains Mono 700, a numeric table header wants 600, and .va-anchor wants
   Montserrat 400. Chrome was faking all of them with synthetic bold. Each
   range below covers the weights the pages actually compute, so nothing is
   synthesised now.

   Only the latin and latin-ext subsets are here; a page carrying Cyrillic,
   Greek or Vietnamese falls back to the system stack for those characters,
   which the unicode-range descriptors below arrange.

   font-display: swap is deliberate. Text is readable in the fallback stack
   from the first paint and reflows when the file lands, which is the right
   trade on a site that is mostly words.

   Licences: all three are under the SIL Open Font License 1.1. The full text
   of each is in /assets/fonts/LICENSE-*.txt. To refresh a family, request the
   same variable range from fonts.googleapis.com with a current browser
   user-agent, keep the latin and latin-ext faces, and replace both the file
   and the unicode-range here. See /assets/fonts/README.md.
   ============================================================================ */

/* Montserrat - display face: headings, nav, buttons. Weight axis 400-800. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-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;
}

/* Sora - body face: prose, tables, controls. Weight axis 400-700. */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/sora-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: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/sora-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;
}

/* JetBrains Mono - mono face: code blocks, figures, tabular numbers. Weight axis 400-700. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-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;
}
