/* Tamil and Hindi: Noto Sans for the script, Figtree keeps Latin text and figures. Loaded only when Tamil or Hindi is chosen. */
@font-face { font-family: "Noto Sans Tamil"; font-weight: 400; font-display: swap; src: url("fonts/noto-sans-tamil-400.woff2") format("woff2"); unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Tamil"; font-weight: 600; font-display: swap; src: url("fonts/noto-sans-tamil-600.woff2") format("woff2"); unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Tamil"; font-weight: 700 900; font-display: swap; src: url("fonts/noto-sans-tamil-700.woff2") format("woff2"); unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 400; font-display: swap; src: url("fonts/noto-sans-devanagari-400.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 600; font-display: swap; src: url("fonts/noto-sans-devanagari-600.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 700 900; font-display: swap; src: url("fonts/noto-sans-devanagari-700.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
:root {
  --font-ui: "Figtree", "Noto Sans Tamil", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Figtree", "Noto Sans Tamil", "Noto Sans Devanagari", system-ui, sans-serif;
}
html[lang="ta"], html[lang="hi"] { line-height: 1.55; }
html[lang="ta"] body, html[lang="hi"] body { font-family: var(--font-ui); }
/* Indic scripts have no capitals; keep headings readable instead of letter-spaced caps. */
html[lang="ta"] .eyebrow, html[lang="hi"] .eyebrow, html[lang="ta"] h3, html[lang="hi"] h3 { letter-spacing: 0; text-transform: none; }
html[lang="ta"] .nav-item span, html[lang="ta"] .sidebar a { word-break: break-word; }
html[lang="ta"] .sidebar .nav-item, html[lang="ta"] .rail a { font-size: .94em; }
