/* Language choices share the approved white layout; script fonts are self-hosted. */
@font-face{font-family:"Noto Sans Tamil";font-style:normal;font-weight:100 900;font-display:swap;src:url("assets/fonts/NotoSansTamil.ttf") format("truetype")}
@font-face{font-family:"Noto Sans Telugu";font-style:normal;font-weight:100 900;font-display:swap;src:url("assets/fonts/NotoSansTelugu.ttf") format("truetype")}
:root{--script-font:"DM Sans","Noto Serif Devanagari","Noto Sans Tamil","Noto Sans Telugu",sans-serif}
/* Quiet trigger, generous native-script choices, and one clear selected state. */
.language-control{display:flex;align-items:center;flex-shrink:0;position:relative}
.language-control[hidden]{display:none}
.language-trigger{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:8px 4px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:500 15px/1.4 var(--script-font);white-space:nowrap}
.language-trigger>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.language-trigger .language-chevron{width:13px;height:13px;margin-left:2px;transition:transform .2s}
.language-trigger[aria-expanded="true"] .language-chevron{transform:rotate(180deg)}
.language-trigger:hover{color:var(--saffron);background:transparent}
.language-trigger:focus-visible,.language-option:focus-visible{outline:2px solid var(--saffron);outline-offset:3px}
.language-trigger:disabled{opacity:.5;cursor:wait}
.language-panel{position:absolute;top:calc(100% + 12px);right:-12px;z-index:50;width:min(280px,calc(100vw - 32px));padding:18px 12px 12px;background:#fff;border:1px solid #e1e5e0;border-radius:20px;box-shadow:0 12px 45px #172d271a,0 2px 6px #172d2705;animation:language-appear .16s ease-out}
.language-panel[hidden]{display:none!important}
.language-heading{padding:0 10px 12px;margin:0;color:#647169;font:500 12px/1.6 var(--sans);letter-spacing:0;text-transform:none}
.language-option{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:62px;padding:10px 12px;border:0;border-radius:10px;text-align:left;background:#fff;color:var(--ink);cursor:pointer}
.language-option+.language-option{margin-top:3px}
.language-option:hover,.language-option:focus-visible{background:#f6f8f5}
.language-option[aria-checked="true"]{background:#f1f5f0}
.language-option-copy{display:flex;flex-direction:column;gap:2px}
.language-native{font:500 18px/1.55 var(--script-font);letter-spacing:0}
.language-english{font:400 12px/1.4 "DM Sans",sans-serif;color:#657169}
.language-native:lang(hi){font-family:"Noto Serif Devanagari",sans-serif}
.language-native:lang(ta){font-family:"Noto Sans Tamil",sans-serif}
.language-native:lang(te){font-family:"Noto Sans Telugu",sans-serif}
.language-check{width:19px;height:19px;fill:none;stroke:#345c43;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.language-option[aria-checked="true"] .language-check{opacity:1}
.info-header,.chat-header{position:relative;z-index:20}
@keyframes language-appear{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.language-panel{animation:none}.language-chevron{transition:none!important}}
.brand .brand-wordmark,.chat-brand .brand-wordmark{font-family:"Libre Caslon Display",Georgia,serif;color:var(--ink);letter-spacing:-.9px;white-space:nowrap}
.brand .brand-wordmark{font-size:36px}.chat-brand>.brand-wordmark{display:inline;font-size:30px;margin:0}
.chat-header .language-control{margin-left:auto}
.info-nav{flex-wrap:wrap;justify-content:flex-end}
:root:lang(ta){--sans:"Noto Sans Tamil","DM Sans",sans-serif;--serif:"Noto Sans Tamil","DM Sans",sans-serif}
:root:lang(te){--sans:"Noto Sans Telugu","DM Sans",sans-serif;--serif:"Noto Sans Telugu","DM Sans",sans-serif}
:root:lang(hi){--sans:"Noto Serif Devanagari","DM Sans",sans-serif;--serif:"Noto Serif Devanagari","DM Sans",serif}
html:not(:lang(en)) :is(h1,h2,h3,.eyebrow,.photo-caption){letter-spacing:0;line-height:1.4;font-style:normal}
html:not(:lang(en)) .hero h1{font-size:clamp(48px,7vw,104px);line-height:1.3}
html:not(:lang(en)) :is(.intro-section,.section-heading,.language-section,.discovery-heading,.closing-section) h2{font-size:clamp(34px,4.4vw,64px)}
html:not(:lang(en)) .chat-welcome h1{font-size:clamp(38px,5.8vw,65px);line-height:1.4}
html:not(:lang(en)) :is(.info-hero h1,.info-closing h2){font-size:clamp(38px,5.8vw,78px);line-height:1.4}
html:not(:lang(en)) .hero-description{line-height:1.8;letter-spacing:0}
html:not(:lang(en)) .chat-answer :is(p,li){line-height:1.85}
html:not(:lang(en)) .photo-caption{font-size:clamp(22px,3vw,36px)}
html:not(:lang(en)) .chat-scope{line-height:1.9}
html:not(:lang(en)) .desktop-nav{margin-left:0;gap:18px}
html:not(:lang(en)) .question-echo{line-height:1.8}
@media(max-width:900px){.site-header{flex-wrap:wrap;min-height:100px;height:auto;padding-block:20px;gap:14px}.desktop-nav{display:none}.header-actions{gap:12px}.info-header{flex-wrap:wrap;gap:18px}.info-nav{gap:16px}.brand .brand-wordmark{font-size:31px}}
@media(max-width:600px){.site-header{margin-inline:20px}.header-actions{margin-left:auto}.brand .brand-wordmark{font-size:28px}.chat-header{flex-wrap:wrap;gap:10px;padding:14px 18px}.chat-brand>.brand-wordmark{font-size:25px}.chat-brand .brand-flag{width:36px;height:36px}.chat-header .language-control{margin-left:auto}.chat-menu-wrap>button{padding:8px 16px}.chat-header .language-trigger{font-size:14px;padding:8px 4px}.info-nav{justify-content:flex-start}.info-header .brand{margin:0}html:not(:lang(en)) .chat-welcome h1{font-size:40px}html:not(:lang(en)) .chat-starters button{line-height:1.8}html:not(:lang(en)) .hero h1{font-size:52px}html:not(:lang(en)) .hero-description{font-size:19px}}
@media(max-width:420px){.chat-brand{width:100%}.chat-header .language-control{margin-left:0}.chat-menu-wrap{margin-left:auto}.site-header{gap:10px}.header-actions{width:100%;justify-content:space-between}.brand .brand-wordmark{font-size:30px}.chat-header{padding-block:10px}.chat-welcome{padding-top:4px}html:not(:lang(en)) .hero h1{font-size:42px}html:not(:lang(en)) .chat-welcome h1{font-size:34px}}
html:not(:lang(en)) :is(h1,h2,h3,p,li,button,a,.card-content){overflow-wrap:anywhere}
html:not(:lang(en)) :is(.admin-card,.service-card,.info-step,.info-principle,.info-grid>* ){min-width:0}
.chat-answer:lang(hi),.chat-user:lang(hi){font-family:"Noto Serif Devanagari",sans-serif}
.chat-answer:lang(ta),.chat-user:lang(ta){font-family:"Noto Sans Tamil",sans-serif}
.chat-answer:lang(te),.chat-user:lang(te){font-family:"Noto Sans Telugu",sans-serif}

.brand-wordmark .brand-bharat{font:inherit;color:var(--saffron);font-style:normal}
.info-brand .brand-wordmark{font-family:"Libre Caslon Display",Georgia,serif;white-space:nowrap;letter-spacing:-1px}
@media(max-width:420px){.info-brand .brand-wordmark{font-size:29px}}

:root{--paper:#fff;--orange:var(--saffron)}
.chat-welcome em{font-style:normal}

@media(max-width:600px){.language-trigger{font-size:14px;gap:7px}.language-panel{top:calc(100% + 8px)}}

/* A single-language header needs no second row reserved for the picker. */
@media(max-width:420px){html[data-language-mode="single"] .chat-brand{width:auto}html[data-language-mode="single"] .header-actions{width:auto;margin-left:auto}}
