/* fonts.css — self-hosted, replacing fonts.googleapis.com/fonts.gstatic.com (#279)
 * ------------------------------------------------------------------------
 * Every page that previously linked Google Fonts directly now links this
 * file instead. It is safe to include unused @font-face declarations on any
 * given page — a browser only fetches a font FILE the first time something
 * on the page actually renders text in that family; declaring the rule
 * costs nothing until then. That is why one shared file covers both the
 * app-wide Poppins usage and the editorial card theme's Cormorant Garamond
 * + Inter, rather than needing a second, page-specific stylesheet.
 *
 * Files are Latin-subset only (unicode-range omitted, unlike Google's own
 * per-subset split) — this app has no non-Latin UI text, so the
 * latin-ext/devanagari/etc. subsets Google also serves were never needed
 * and are not included.
 *
 * Weights self-hosted match exactly what the removed <link>/@import
 * references requested across all 15 call sites found (the ticket's
 * original 10-file list undercounted — auth.php, legal/privacy.php,
 * legal/terms.php, unsubscribe.php, admin/assets/admin.css, and css/app.css
 * itself all had their own untracked reference too):
 *   Poppins: 400, 500, 600, 700, 800 — matches css/app.css's --font var and
 *            every inline weight actually used across the app.
 *   Cormorant Garamond: 500, 600 — card/_editorial.php's "editorial" card
 *            theme only.
 *   Inter: 400, 500, 600 — same "editorial" card theme only.
 *   Space Mono: 400, 700 — the "mono-ticket" and "terminal" card themes
 *            (css/app.css's .pub-theme-mono-ticket / .pub-theme-terminal
 *            rules) — found via app.css's OWN @import, not any <link> tag.
 *
 * Licensing: Poppins, Cormorant Garamond, Inter and Space Mono are all SIL
 * Open Font License 1.1 (verified directly against the OFL.txt in Google's
 * own google/fonts GitHub repo for each family, not assumed) — self-hosting
 * is explicitly permitted.
 *
 * Cormorant Garamond and Inter are variable fonts: Google serves the SAME
 * underlying woff2 file for every weight requested (confirmed by comparing
 * the URLs Google's own CSS API returned for each weight — identical), so
 * there is only one file per family here despite multiple @font-face rules
 * pointing at it; each rule just tells the browser which weight that same
 * variable file should be treated as for a given font-weight value.
 * Poppins is NOT variable — Google serves 5 distinct static files, one per
 * weight, and that is reflected below.
 */

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

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/css/fonts/cormorant-garamond-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/css/fonts/cormorant-garamond-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/css/fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/css/fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/css/fonts/inter-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/css/fonts/space-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/css/fonts/space-mono-700.woff2') format('woff2');
}
