/*
 * ComplyRakshak — self-hosted webfonts
 *
 * Blueprint section 9 requires self-hosted fonts. Nothing here touches a font CDN
 * at runtime, so the site makes no request to fonts.googleapis.com or
 * fonts.gstatic.com and leaks no visitor IP to a third party.
 *
 * These are VARIABLE fonts. Google serves one file per family+subset covering the
 * whole weight axis, so four files cover every weight from 400 to 700 — 200 KB
 * total instead of the 788 KB sixteen static faces would have cost. That matters:
 * the blueprint notes this site is read on Indian mobile networks more often than
 * on office fibre.
 *
 * Latin and Latin-Extended subsets only. Cyrillic, Greek and Vietnamese dropped.
 *
 * Loaded via wp_enqueue_style in functions.php, ahead of the child stylesheet.
 */

/* ---------------------------------------------------------------------------
   Source Serif 4 - headings (Elementor Global: Primary / Secondary headline)

   Replaces Playfair Display 2026-09-08. Source Serif 4 is Google's current
   name for Source Serif Pro; the stack keeps the old name as a fallback so a
   machine with the Pro face installed still resolves a serif.
   --------------------------------------------------------------------------- */

/* Source Serif 4 — latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-serif-4-var-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;
}

/* Source Serif 4 — latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-serif-4-var-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;
}

/* ---------------------------------------------------------------------------
   Inter — body and UI (Elementor Global: Body / Accent text)
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-var-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;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-var-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;
}

/* ---------------------------------------------------------------------------
   Tabular numerals.
   The numbers band and every statutory-deadline table must align vertically.
   Inter carries a `tnum` feature; this exposes it as a utility class rather
   than applying it globally, since proportional figures read better in prose.
   --------------------------------------------------------------------------- */

.cr-tabular-nums,
.cr-numbers-band .elementor-counter-number-wrapper,
.cr-calendar-table td {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
