/* ==========================================================================
   Three faces, three jobs. Self-hosted, latin subset, same origin — no
   request leaves the machine on page load.

   Source Serif 4   editorial voice. Statements, headlines, paper titles.
                    Chosen over Playfair Display, which is a fashion didone:
                    handsome at 90px, but it has become the default "premium"
                    web serif and now reads as generated rather than chosen.
                    Source Serif was drawn for reading, holds its colour at
                    text sizes, and looks like a publication.
   Inter            interface. Navigation, body copy, buttons, forms.
                    One variable file covers 400 and 500; nothing on this
                    site is set bolder.
   JetBrains Mono   the technical register. Dates, page counts, themes,
                    section indices — the metadata of a research publication.
                    It appears only where something is being recorded.

   Source Serif and JetBrains Mono are variable, so one file covers each
   weight range. Four files, about 150 KB.
   ========================================================================== */

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/SourceSerif4.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/SourceSerif4-Italic.woff2') format('woff2');
}

/* Inter ships as one variable file (the same binary Google Fonts serves for
   every weight); declaring the range lets the browser draw a true Medium
   instead of reusing Regular. The former Inter-500 file was a byte-for-byte
   copy and has been removed. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/Inter.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../assets/fonts/JetBrainsMono.woff2') format('woff2');
}
