/* The switch stays readable in both languages and has 44px touch targets. */
.language-switch{display:flex;align-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:6px;padding:3px;gap:2px}
.language-switch[hidden]{display:none}
.language-switch button{border:0;border-radius:3px;min-height:44px;padding:8px 12px;background:transparent;color:var(--ink);font:600 14px/1.4 'Manrope',sans-serif;cursor:pointer}
.language-switch button[lang=mr]{font-family:'Noto Sans Devanagari',sans-serif;font-size:18px}
.language-switch button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.language-switch button:hover:not([aria-pressed=true]){background:#e8ebe3}
.language-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.header{gap:20px}
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.header-actions .language-switch{margin:0}
.header-cta{height:52px;padding:8px 16px;align-items:center;justify-content:center;gap:16px;border-radius:6px;white-space:nowrap;line-height:1.5;flex-shrink:0}
.header-cta .icon{width:20px;height:20px}
@media(max-width:1500px){.header-cta{display:none}}
@media(max-width:1200px){
  .desktop-nav{display:none}
  .header-actions{margin-left:auto}
  .menu-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer;flex-shrink:0}
  .mobile-nav:not([hidden]){display:flex;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:16px 6%;gap:2px;flex-direction:column}
  .mobile-nav a{display:flex;align-items:center;min-height:48px;padding:10px 0}
}
@media(max-width:760px){
  .header{height:auto;min-height:78px;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px 12px;padding:12px 6%}
  .wordmark{grid-column:1;grid-row:1;min-width:0}
  .menu-toggle{grid-column:2;grid-row:1}
  .header-actions{grid-column:1 / -1;grid-row:2;justify-self:end;margin:0}
}
/* Marathi uses a dedicated scale and generous line-height, including on phones. */
html[lang=mr]{--body:'Noto Sans Devanagari',sans-serif;--display:'Noto Sans Devanagari',sans-serif}
html[lang=mr] body{font-size:18px;line-height:1.85}
html[lang=mr] :is(h1,h2,h3,p,a,span,small,summary,strong,time){letter-spacing:normal}
html[lang=mr] .monogram{font-family:'Barlow Condensed',Impact,sans-serif;letter-spacing:-3px;line-height:1}
html[lang=mr] .wordmark strong{font-size:21px;line-height:1.6}
html[lang=mr] .wordmark small{font-size:16px;line-height:1.6;margin-top:0}
html[lang=mr] :is(.desktop-nav,.mobile-nav,.header-cta){font-size:18px;line-height:1.8}
html[lang=mr] .header-cta{line-height:1.5}
html[lang=mr] .eyebrow{font-size:18px;line-height:1.8}
html[lang=mr] h1{font-size:clamp(40px,4.2vw,64px);line-height:1.5;letter-spacing:0;font-weight:700;overflow-wrap:break-word}
html[lang=mr] .hero-bottom{max-width:100%;gap:16px}
html[lang=mr] .hero-bottom p{font-size:18px;line-height:1.85}
html[lang=mr] .round-link{flex-shrink:0}
html[lang=mr] .portrait-note>span{font-size:22px;line-height:1.7}
html[lang=mr] .portrait-note small{font-size:16px;line-height:1.8}
html[lang=mr] .vertical-note{display:none}
html[lang=mr] .hero-index{font-size:16px;line-height:1.8}
html[lang=mr] .portfolio-strip{flex-wrap:wrap;gap:18px 30px}
html[lang=mr] .portfolio-strip>span{font-size:18px;line-height:1.7}
html[lang=mr] .portfolio-strip p{font-size:18px;line-height:2;flex:1;min-width:240px}
html[lang=mr] .section-label{font-size:16px;line-height:1.8;flex-wrap:wrap;gap:12px 24px}
html[lang=mr] h2{font-size:clamp(32px,3.3vw,48px);line-height:1.5;font-weight:600}
html[lang=mr] :is(.about-copy p,.journey-chapters p,.work-heading>p,.work-story>p,.work-outcome>p,.work-context,.ramtek-heading>p,.press-heading>p,.priority-list p,.connect-bottom p,.citizen-access p,.source-note p){font-size:18px;line-height:1.9}
html[lang=mr] .about-copy .lead{font-size:24px;line-height:1.75}
html[lang=mr] :is(.text-link,.work-sources a,.journey-chapters a,.timeline-foot,.social-links a,.solid-link){font-size:17px;line-height:1.8}
html[lang=mr] :is(.journey-photo figcaption span,.micro-label,.community-photo figcaption,.work-outcome>span,.office-caption>span,.office-caption small,.department-note,.press-list time,.press-list small,.source-note summary,footer small,footer>a:last-child){font-size:16px;line-height:1.8}
html[lang=mr] .journey-photo figcaption strong{font-size:23px;line-height:1.6}
html[lang=mr] .journey-lead figcaption strong{font-size:30px;line-height:1.5}
html[lang=mr] .journey-chapter-heading h3{font-size:27px;line-height:1.6}
html[lang=mr] .journey-chapter-heading>span{font-size:16px}
html[lang=mr] .journey-chapter-heading{flex-wrap:wrap}
html[lang=mr] .timeline-number{font-size:40px;line-height:1.3}
html[lang=mr] .timeline>div>span:not(.timeline-number){font-size:18px;line-height:1.8}
html[lang=mr] .timeline small{font-size:16px;line-height:1.8}
html[lang=mr] :is(.journey-chapters summary,.priority-list summary){font-size:20px;line-height:1.8;align-items:center}
html[lang=mr] :is(.journey-chapters summary>span,.priority-list summary>span){font-size:16px;flex-shrink:0}
html[lang=mr] .work-year{font-size:36px;line-height:1.5;flex-wrap:wrap}
html[lang=mr] .work-year>span{font-size:16px;line-height:1.8;max-width:210px}
html[lang=mr] .work-story h3{font-size:30px;line-height:1.6}
html[lang=mr] .department-links a{font-size:26px;line-height:1.6}
html[lang=mr] .department-links a>small{font-size:16px;line-height:1.8}
html[lang=mr] .department-links p{font-size:18px;line-height:1.8}
html[lang=mr] .priorities h3{font-size:28px;line-height:1.6}
html[lang=mr] .press-list h3{font-size:25px;line-height:1.7}
html[lang=mr] .press-list>a{grid-template-columns:180px minmax(0,1fr) 24px;gap:25px}
html[lang=mr] .connect h2{font-size:clamp(36px,5.5vw,72px);line-height:1.5}
html[lang=mr] .citizen-access strong{font-size:21px;line-height:1.7}
html[lang=mr] .social-links{flex-wrap:wrap}
html[lang=mr] .footer-name{font-size:24px;line-height:1.8}
html[lang=mr] footer p{font-size:17px;line-height:1.8}
html[lang=mr] footer{flex-wrap:wrap}
@media(max-width:1000px){
  html[lang=mr] .journey-chapters{grid-template-columns:1fr}
  html[lang=mr] .journey-moments{grid-template-columns:1fr;grid-template-rows:auto}
  html[lang=mr] .journey-lead{grid-row:auto}
  html[lang=mr] .journey-photo figcaption{position:relative;background:var(--ink);padding:20px}
  html[lang=mr] .journey-photo{aspect-ratio:auto}
  html[lang=mr] .journey-photo img{height:auto;aspect-ratio:1.35;object-fit:cover}
}
@media(max-width:760px){
  html[lang=mr] .wordmark{gap:10px}
  html[lang=mr] .wordmark strong{font-size:19px}
  html[lang=mr] .wordmark small{font-size:16px}
  html[lang=mr] h1{font-size:clamp(40px,10vw,56px);line-height:1.5}
  html[lang=mr] .hero-bottom p{font-size:18px}
  html[lang=mr] .portrait-note{padding:12px 14px}
  html[lang=mr] .portrait-note>span{font-size:20px}
  html[lang=mr] .portrait-note small{font-size:16px}
  html[lang=mr] .portfolio-strip p{min-width:0;flex:auto}
  html[lang=mr] h2{font-size:32px}
  html[lang=mr] .connect h2{font-size:38px}
  html[lang=mr] .timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[lang=mr] .timeline-number{font-size:36px}
  html[lang=mr] .work-year>span{text-align:left}
  html[lang=mr] .community-photo{aspect-ratio:auto}
  html[lang=mr] .community-photo img{height:auto;aspect-ratio:1;object-fit:cover}
  html[lang=mr] .community-photo figcaption{position:relative;background:var(--ink)}
  html[lang=mr] .press-list>a{grid-template-columns:minmax(0,1fr) 24px;gap:16px}
  html[lang=mr] .press-list>a>div{flex-wrap:wrap}
  html[lang=mr] footer{grid-template-columns:1fr}
  html[lang=mr] footer p{text-align:left}
  html[lang=mr] footer>a:last-child{grid-column:1;justify-content:flex-start;text-align:left}
}
