/* ==========================================================================
   JNV Bhasha Setu — fonts.css (DEFINITIVE FIX)
   Source-of-truth: Unicode ranges copied EXACTLY from Google Fonts CSS2 API
   so that browser's unicode-range font selection matches the actual glyph
   content of each woff2 file. ALL files are 100% local (zero CDN).
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   1. LATIN UI FONT (Inter)
   Local asset: inter-latin.woff2
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: local('Inter'), url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  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;
}

/* ──────────────────────────────────────────────────────────────────────────
   2. DEVANAGARI (Hindi, Marathi, Nepali, Sanskrit, Bodo, Dogri, Maithili, Konkani)
   Exact unicode-range from Google Fonts CSS2 API — v30
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Devanagari';
  src: local('Noto Sans Devanagari'),
       url('../fonts/noto-sans-devanagari.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0,
                 U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

/* ──────────────────────────────────────────────────────────────────────────
   3. BENGALI / ASSAMESE (Bengali, Assamese, Manipuri)
   Exact unicode-range from Google Fonts CSS2 API — v33
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Bengali';
  src: local('Noto Sans Bengali'),
       url('../fonts/noto-sans-bengali.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2,
                 U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2,
                 U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}

/* ──────────────────────────────────────────────────────────────────────────
   4. GURMUKHI (Punjabi — ਪੰਜਾਬੀ)
   Exact unicode-range from Google Fonts CSS2 API — v29
   CRITICAL: U+0A01-0A76 covers all Gurmukhi consonants, vowels and matras
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Gurmukhi';
  src: local('Noto Sans Gurmukhi'),
       url('../fonts/noto-sans-gurmukhi.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D,
                 U+20B9, U+25CC, U+262C, U+A830-A839;
}

/* ──────────────────────────────────────────────────────────────────────────
   5. TAMIL (தமிழ்)
   Exact unicode-range from Google Fonts CSS2 API — v31
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Tamil';
  src: local('Noto Sans Tamil'),
       url('../fonts/noto-sans-tamil.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
}

/* ──────────────────────────────────────────────────────────────────────────
   6. TELUGU (తెలుగు)
   Exact unicode-range from Google Fonts CSS2 API — v30
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Telugu';
  src: local('Noto Sans Telugu'),
       url('../fonts/noto-sans-telugu.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2,
                 U+200C-200D, U+25CC;
}

/* ──────────────────────────────────────────────────────────────────────────
   7. KANNADA (ಕನ್ನಡ)
   Exact unicode-range from Google Fonts CSS2 API — v32
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Kannada';
  src: local('Noto Sans Kannada'),
       url('../fonts/noto-sans-kannada.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0951-0952, U+0964-0965, U+0C80-0CF3, U+1CD0, U+1CD2-1CD3,
                 U+1CDA, U+1CF2, U+1CF4, U+200C-200D, U+20B9, U+25CC,
                 U+A830-A835;
}

/* ──────────────────────────────────────────────────────────────────────────
   8. MALAYALAM (മലയാളം)
   Exact unicode-range from Google Fonts CSS2 API — v29
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Malayalam';
  src: local('Noto Sans Malayalam'),
       url('../fonts/noto-sans-malayalam.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0D00-0D7F,
                 U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832;
}

/* ──────────────────────────────────────────────────────────────────────────
   9. GUJARATI (ગુજરાતી)
   Exact unicode-range from Google Fonts CSS2 API — v27
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Gujarati';
  src: local('Noto Sans Gujarati'),
       url('../fonts/noto-sans-gujarati.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D,
                 U+20B9, U+25CC, U+A830-A839;
}

/* ──────────────────────────────────────────────────────────────────────────
   10. ODIA / ORIYA (ଓଡ଼ିଆ)
   Exact unicode-range from Google Fonts CSS2 API — v35
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Odia';
  src: local('Noto Sans Odia'),
       url('../fonts/noto-sans-odia.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0951-0952, U+0964-0965, U+0B01-0B77, U+1CDA, U+1CF2,
                 U+200C-200D, U+20B9, U+25CC;
}

/* ──────────────────────────────────────────────────────────────────────────
   11. NASTALIQ / ARABIC SCRIPT (Urdu, Kashmiri, Sindhi)
   Exact unicode-range from Google Fonts CSS2 API — v23
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  src: local('Noto Nastaliq Urdu'),
       url('../fonts/noto-nastaliq-urdu.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
                 U+0897-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+10EC2-10EC4, U+10EFC-10EFF,
                 U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27,
                 U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47,
                 U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57,
                 U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64,
                 U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C,
                 U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3,
                 U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* ──────────────────────────────────────────────────────────────────────────
   12. OL CHIKI (Santali — ᱥᱟᱱᱛᱟᱲᱤ)
   Exact unicode-range from Google Fonts CSS2 API — v31
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Ol Chiki';
  src: local('Noto Sans Ol Chiki'),
       url('../fonts/noto-sans-ol-chiki.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+1C50-1C7F, U+20B9;
}

/* ──────────────────────────────────────────────────────────────────────────
   13. MEETEI MAYEK (Manipuri — ꯃꯤꯇꯩꯂꯣꯟ)
   Exact unicode-range from Google Fonts CSS2 API — v20
   ────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Noto Sans Meetei Mayek';
  src: local('Noto Sans Meetei Mayek'),
       url('../fonts/noto-sans-meetei-mayek.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+200C-200D, U+25CC, U+AAE0-AAF6, U+ABC0-ABFF;
}

/* ──────────────────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES — Font Family Stacks
   ────────────────────────────────────────────────────────────────────────── */
:root {
  --font-base:         'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-devanagari:   'Noto Sans Devanagari', 'Nirmala UI', Mangal, sans-serif;
  --font-bengali:      'Noto Sans Bengali',    'Nirmala UI', Vrinda, 'Shonar Bangla', sans-serif;
  --font-gurmukhi:     'Noto Sans Gurmukhi',   'Nirmala UI', Raavi, sans-serif;
  --font-tamil:        'Noto Sans Tamil',       'Nirmala UI', Latha, Vijaya, sans-serif;
  --font-telugu:       'Noto Sans Telugu',      'Nirmala UI', Gautami, Vani, sans-serif;
  --font-kannada:      'Noto Sans Kannada',     'Nirmala UI', Tunga, sans-serif;
  --font-malayalam:    'Noto Sans Malayalam',   'Nirmala UI', Kartika, sans-serif;
  --font-gujarati:     'Noto Sans Gujarati',    'Nirmala UI', Shruti, sans-serif;
  --font-odia:         'Noto Sans Odia',        'Nirmala UI', Kalinga, sans-serif;
  --font-urdu:         'Noto Nastaliq Urdu',    'Jameel Noori Nastaleeq', 'Urdu Typesetting', Arial, sans-serif;
  --font-ol-chiki:     'Noto Sans Ol Chiki',    sans-serif;
  --font-meetei-mayek: 'Noto Sans Meetei Mayek', sans-serif;
}

