/* ==========================================================================
   SELF-HOSTED WEB FONTS (Oct 2026)
   All text fonts are served from assets/fonts/ — nothing is loaded from
   Google Fonts or any other outside server.

   Source: the official Google Fonts files (github.com/google/fonts), cut down
   to Latin + Latin Extended characters (incl. ₹ and common punctuation) and
   saved as WOFF2. Each file is a "variable" font, so one file covers every
   weight in the range shown. Licence: SIL Open Font License (OFL-*.txt in
   assets/fonts/).

   A browser only downloads a file when a page actually uses that font/style.
   ========================================================================== */

/* Urbanist — display headings (--nx-font-display) */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/urbanist-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/urbanist-italic-variable.woff2') format('woff2');
}

/* Plus Jakarta Sans — body text (--nx-font-sans) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-italic-variable.woff2') format('woff2');
}

/* Cormorant Garamond — serif accents (--nx-font-serif / --nx-font-italic) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-variable.woff2') format('woff2');
}

/* Mulish — used by parts of the original theme (style.css) */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/mulish-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/mulish-italic-variable.woff2') format('woff2');
}

/* Cedarville Cursive — "Thank You" page heading */
@font-face {
  font-family: 'Cedarville Cursive';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cedarville-cursive-400.woff2') format('woff2');
}
