/* ============================================================================
   Sukoon — Self-hosted fonts (Poppins + Noto Sans Devanagari)
   ----------------------------------------------------------------------------
   The woff2 files live in assets/fonts/ and are served from our own origin — no
   runtime dependency on Google. font-display:swap avoids invisible text (FOIT);
   the system fallbacks in --sk-font-en/--sk-font-hi cover the swap window.

   Files (subset to latin + devanagari for performance):
     poppins-400.woff2  poppins-500.woff2  poppins-600.woff2  poppins-700.woff2
     noto-devanagari.woff2   ← variable (wght 100–900), one file for all weights
   ============================================================================ */

/* 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");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

/* Noto Sans Devanagari (Hindi / Sanskrit) — variable file, one face covers 100–900 */
@font-face {
  font-family: "Noto Sans Devanagari"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF, U+200C-200D, U+25CC;
}

/* Apply Devanagari face automatically to Hindi-tagged content. */
[lang="hi"], .sk-hi {
  font-family: var(--sk-font-hi);
  line-height: 1.7;
}

/* ----------------------------------------------------------------------------
   Cormorant Garamond — the display face, bound to --sk-font-display.
   Previously pulled from fonts.googleapis.com by a <link> in index.php, which
   sent every homepage visitor's IP and User-Agent to a third party that the
   privacy policy did not disclose (SK-SEC-010). Self-hosted here instead, so
   the transfer simply stops happening rather than needing to be disclosed.

   Only weight 700 is shipped — the hero headline and the stat figures are the
   only display type on the site. The -ext file carries latin-ext and is fetched
   only when a page uses those codepoints.

   Manrope was retired here (design audit DS-14). It was a third UI sans running
   only inside the homepage hero, where it sat beside Poppins in the same
   viewport for no reason either face could justify; the hero now uses
   --sk-font-en like everything else. That removed four woff2 files (~80KB) from
   the homepage's font budget along with the second sans.
   ---------------------------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-700.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;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-700-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;
}
