/*
 * Polybil — self-hosted fonts
 *
 * Replaces 3 render-blocking Google Fonts stylesheet requests (+ up to 5 font
 * fetches from a second origin, fonts.gstatic.com) with local woff2 files
 * served from our own origin behind the existing CDN.
 *
 * Only the families/weights the CSS actually declares are shipped:
 *   --body-font    "Poppins"  -> 100, 200, 400, 500   (style.css:103)
 *   --heading-font "Antonio"  -> variable 100..700     (style.css:104)
 *   --font-pre     "Satisfy"  -> 400                   (style.css:106)
 * Poppins 300/600/700 stay browser-synthesised, exactly as before: Google
 * Fonts was only ever asked for wght@100;200;400;500.
 *
 * Subset to latin + latin-ext, which includes the Turkish characters
 * (ı İ ğ Ğ ş Ş ç ö ü). font-display:swap keeps text visible during load.
 *
 * Previous version of this file pointed at .ttf (~150KB each) and was
 * commented out on every page. These woff2 subsets total ~96KB for all 6 faces.
 */

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

/* ---------- Antonio (headings) — variable font, keeps the wght axis ---------- */
@font-face {
  font-family: "Antonio";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/woff2/antonio-var.woff2") format("woff2");
}

/* ---------- Satisfy (script accent, --font-pre) ---------- */
@font-face {
  font-family: "Satisfy";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/woff2/satisfy-400.woff2") format("woff2");
}
