/*
 * Webdev Zimbabwe — Poppins (self-hosted)
 * Load AFTER webdev-antler-design.css (it overrides --wd-font-sans) and BEFORE
 * webdev-nav.css / webdev-home.css.
 *
 * Why this file exists:
 * The Antler theme selects its body font with `body[data-font="poppins"]` rules
 * (settings-init.js sets font:"poppins"), and those rules use !important on
 * html/body and every heading. But nothing in the theme ever LOADED Poppins —
 * there is no @font-face, no Google Fonts link and no font file in the repo.
 * So the old homepage rendered Poppins only for visitors who happened to have
 * it installed locally, and generic sans-serif for everyone else.
 *
 * Self-hosted rather than linked from Google Fonts: no third-party request, no
 * extra DNS/TLS handshake on a market where connections are often slow, and no
 * visitor data sent to a third party. Latin + Latin-Extended subsets only,
 * three weights, ~48 KB total.
 *
 * `font-display: swap` — text paints immediately in the fallback and swaps when
 * Poppins arrives, so a slow font never blocks first render.
 */

/* 400 — body */
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/poppins/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/poppins/poppins-400-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 600 — labels, buttons, card headings */
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/poppins/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/poppins/poppins-600-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 700 — display and section headings */
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/poppins/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/poppins/poppins-700-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * The --wd-font-sans token itself lives in webdev-antler-design.css (already
 * Poppins-first). This file only loads the faces, so the token is not repeated
 * here — one declaration, one place to change it.
 */
