/* Noevero Ltd — self-hosted webfonts.
   Replaces the runtime requests to api.fontshare.com and fonts.googleapis.com,
   so no visitor IP is handed to a third party just to render the page.

   Files live in ../fonts/ (dist/assets/fonts/) as unmodified WOFF2 originals —
   nothing has been subset, re-generated or renamed.

   Clash Display 500/600/700  Indian Type Foundry, ITF Free Font Licence (FFL) v2.0
   Switzer      400/500/600  Indian Type Foundry, ITF Free Font Licence (FFL) v2.0
                             -> LICENCE-ITF-Free-Font-Licence.txt (self-hosting is
                                expressly permitted under sections 01 and 02)
   Fragment Mono 400         SIL Open Font Licence 1.1
                             -> LICENCE-Fragment-Mono-OFL.txt

   Weights match exactly what the CDN links used to request, so nothing that used
   to be a real face is now browser-synthesised, and vice versa.
   Serve with a long max-age; the filenames are stable. */

/* ---------------------------------------------------------------- Clash Display
   Display face: h1–h3 and the footer watermark.
   One file per weight covering the full character set — no unicode-range split
   applies, so none is declared (declaring one could only remove coverage). */

@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/clash-display-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/clash-display-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/clash-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------- Switzer
   Body and UI text. */

@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- Fragment Mono
   Eyebrows, labels and the small mono UI text.
   Google ships this as three unicode-range subsets; keeping the ranges means a
   UK-English page downloads only the 25KB latin file and never touches the
   other two. */

/* cyrillic-ext */
@font-face {
  font-family: 'Fragment Mono';
  src: url('../fonts/fragment-mono-400-cyrillic-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* latin-ext */
@font-face {
  font-family: 'Fragment Mono';
  src: url('../fonts/fragment-mono-400-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: 'Fragment Mono';
  src: url('../fonts/fragment-mono-400-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;
}
