/* ============================================================================
   Sukoon — Self-hosted fonts (Poppins + Noto Sans Devanagari)
   ----------------------------------------------------------------------------
   Drop the woff2 files into assets/fonts/ with these names. Until they are
   present, the system fallbacks in --sk-font-en/--sk-font-hi keep the UI usable.
   For local dev you may instead add the Google Fonts <link> in includes/header.php
   (commented there). font-display:swap avoids invisible text (FOIT).

   Expected files (subset to latin + devanagari for performance):
     poppins-400.woff2  poppins-500.woff2  poppins-600.woff2  poppins-700.woff2
     noto-devanagari-400.woff2  noto-devanagari-600.woff2
   ============================================================================ */

/* 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) */
@font-face {
  font-family: "Noto Sans Devanagari"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/noto-devanagari-400.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Noto Sans Devanagari"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/noto-devanagari-600.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;
}
