/**
 * Developmizer Site — Self-hosted font declarations
 *
 * Font files are expected at /assets/fonts/ relative to this stylesheet.
 * Variable fonts are used where available to reduce the number of HTTP
 * requests and overall payload size.
 *
 * If font files are missing, the CSS fallback chain in tokens.css takes
 * over (system UI fonts) — the site remains fully functional.
 *
 * See FONTS.md at the plugin root for installation instructions.
 *
 * font-display: swap    — text renders in fallback immediately, swaps when
 *                         custom font loads. Prevents FOIT (invisible text).
 * size-adjust           — matches fallback metrics to reduce CLS on swap.
 * unicode-range         — loads subset only when relevant glyphs are needed.
 */

/* -----------------------------------------------------------------------------
 * Outfit — display face for headings (Latin weights 400–700)
 * -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('outfit-variable.woff2') format('woff2-variations'),
       url('outfit-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -----------------------------------------------------------------------------
 * DM Sans — body face (Latin weights 400–500)
 * -------------------------------------------------------------------------- */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('dm-sans-variable.woff2') format('woff2-variations'),
       url('dm-sans-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -----------------------------------------------------------------------------
 * Noto Kufi Arabic — display + body face for Arabic (weights 400–700)
 * -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('noto-kufi-arabic-variable.woff2') format('woff2-variations'),
       url('noto-kufi-arabic-variable.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
                 U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011,
                 U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC,
                 U+102E0-102FB, U+10E60-10E7E, U+10EC0-10EC1, U+10EFD-10EFF,
                 U+1EE00-1EE03;
}
