/* fonts.css
 *
 * Self hosted. Loaded before bf-theme.css.
 *
 * WHY THESE ARE NOT COMING FROM GOOGLE ANY MORE
 *
 * 37 of the 38 pages loaded fonts from fonts.googleapis.com, with the files
 * themselves from fonts.gstatic.com. That meant every visitor's browser made a
 * request to Google on every page, sending their IP address and user agent,
 * before a single byte of the site rendered.
 *
 * The privacy policy says there is no Google Analytics and no tracker of any
 * sort. That is true about analytics and it sat awkwardly beside a connection
 * to Google on every page load that the policy did not mention, in a processor
 * table that names five others.
 *
 * There is a legal thread too. A German court fined a site operator in 2022 for
 * embedding Google Fonts without consent, holding that the IP transfer was
 * personal data processing. Not settled law here, and enough that a buyer in a
 * regulated sector may ask, which for a product sold to healthcare and finance
 * is a question worth being able to answer with one word.
 *
 * It is also faster. A third party stylesheet blocks the first render while the
 * browser resolves another domain, opens a connection and negotiates TLS.
 * Serving from the same origin removes all three.
 *
 * FILES FROM FONTSOURCE, which publishes the same fonts to npm from the same
 * upstream sources. 10 weights, 164 KB, latin only: the site has no need for
 * Cyrillic or Greek and shipping them would treble the payload.
 *
 * LICENCES: DM Mono, Manrope and Space Grotesk are all SIL Open Font License
 * 1.1, which permits self hosting and redistribution. The licence files are in
 * this directory, which is the condition.
 */

/* font-display: swap on every face.
 *
 * The alternative, block, leaves text invisible while the font loads, and on a
 * slow connection that is a blank page. swap paints in the fallback and
 * switches when the real font arrives. The switch is visible and a reader who
 * can see the words is better served than one looking at nothing. */

@font-face{font-family:'Manrope';font-style:normal;font-weight:300;font-display:swap;
  src:url('/fonts/manrope-latin-300-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;
  src:url('/fonts/manrope-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;
  src:url('/fonts/manrope-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;
  src:url('/fonts/manrope-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;
  src:url('/fonts/manrope-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;
  src:url('/fonts/manrope-latin-800-normal.woff2') format('woff2')}

@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;
  src:url('/fonts/space-grotesk-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;
  src:url('/fonts/space-grotesk-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;
  src:url('/fonts/space-grotesk-latin-700-normal.woff2') format('woff2')}

@font-face{font-family:'DM Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url('/fonts/dm-mono-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url('/fonts/dm-mono-latin-500-normal.woff2') format('woff2')}
