/* Self-hosted web fonts.
 *
 * The theme shipped an @import for these families pointing at
 * http://fonts.googleapis.com/css2%3Ffamily=... — http:// on an HTTPS site,
 * with the query string percent-encoded into the path and a trailing .css.
 * That URL 404s, so the site rendered in the system fallback for its whole
 * life. Serving the files ourselves fixes it, removes a third-party request
 * (no visitor IPs to Google), and keeps the CSP at 'self'.
 *
 * Latin subset only — it covers en/em dashes and curly quotes, which the
 * posts use heavily. Plus Jakarta Sans is a variable font, so one file
 * covers every weight; Montserrat Alternates ships static per weight.
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-variable.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/montserrat-alternates-500.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-alternates-600.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat Alternates";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-alternates-700.woff2") format("woff2");
}
