/* ============================================================
   DropBlockCMS — Self-hosted fonts (latin subset)
   Loaded FIRST, before design-tokens.css, so @font-face is
   declared before any selector references the families.

   Five physical files cover nine weight/style declarations:
   Sora and DM Sans are variable; Source Serif 4 ships one file
   per style (upright + italic). Cache lifetime is one year
   (set in .htaccess via mod_expires for font/woff2).

   PATHS ARE STYLESHEET-RELATIVE (../fonts/…), NOT root-absolute.
   PHP can't rewrite url() inside CSS, so a /assets/… path would
   404 in a subfolder install. See DEPLOYMENT.md (base-path
   portability corollary). Keep all url() refs relative.
   ============================================================ */

/* --- Sora (display) --- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sora.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/sora.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/sora.woff2') format('woff2');
}

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

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

/* --- JetBrains Mono (code) --- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono.woff2') format('woff2');
}

/* ============================================================
   Branding-coin roster (2.3) — self-hosted, latin subset, 400/500/600.
   Declared here so any pairing the theme editor selects can resolve; a
   family's files are only fetched by the browser when a selector uses it,
   so listing all of them costs unselected sites nothing. All OFL except
   Roboto (Apache-2.0). See assets/fonts/LICENSES.md.
   ============================================================ */

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

/* --- Roboto --- */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/roboto-400.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/roboto-500.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/roboto-600.woff2') format('woff2'); }

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

/* --- Lora --- */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lora-400.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/lora-500.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/lora-600.woff2') format('woff2'); }

/* --- Merriweather --- */
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/merriweather-400.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/merriweather-500.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/merriweather-600.woff2') format('woff2'); }
