/*
 * TIPMO self-hosted fonts — byte-for-byte the same woff2 the marketing site
 * ships via next/font (Figtree = body/UI, Outfit = display/headings). Both are
 * variable fonts, so the full weight range is available from a single file per
 * subset. unicode-ranges are copied verbatim from the next/font output so the
 * browser downloads the same slice the static site does.
 *
 * Paths are relative to this file (assets/css/), so they resolve regardless of
 * the WordPress install's subdirectory (/blog).
 */

/* ---- Figtree (body) ---- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329,
    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-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Outfit (display / headings) ---- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329,
    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-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Zero-CLS fallback faces (Arial, metric-adjusted to match the web fonts while
 * they load) — the same overrides next/font generates. Optional but keeps the
 * pre-swap flash from shifting layout.
 */
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial");
  ascent-override: 94.32%;
  descent-override: 24.82%;
  line-gap-override: 0%;
  size-adjust: 100.72%;
}
@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial");
  ascent-override: 100.18%;
  descent-override: 26.05%;
  line-gap-override: 0%;
  size-adjust: 99.82%;
}
