/*
 * Self-hosted web fonts (latin subset, woff2).
 *
 * Replaces the previous Google Fonts <link> in templates/header.php, which
 * cost two third-party preconnects (fonts.googleapis.com, fonts.gstatic.com)
 * and a render-blocking external stylesheet. Serving from our own origin
 * removes that third-party dependency, improves the first render, and keeps
 * visitor requests off Google. Family names are unchanged, so site.css needs
 * no edit.
 *
 * font-display: swap keeps text visible during load. No unicode-range is set,
 * so each latin file is used for every glyph it contains (a stray glyph the
 * font lacks simply falls back). Faces match the exact weights/styles the old
 * Google Fonts URL requested.
 *
 * Licensed under the SIL Open Font License 1.1; see assets/fonts/OFL.txt.
 */

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

/* ---- Cormorant SC (small-caps display) ---- */
@font-face {
  font-family: 'Cormorant SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-sc-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-sc-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant SC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-sc-latin-600-normal.woff2') format('woff2');
}

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