/* Kannada words must wrap within their own column, including revealed headings. */
html[lang="kn-IN"] main :is(h1,h2,h3,h4,p,strong,button,a,span){overflow-wrap:anywhere;min-width:0}
html[lang="kn-IN"] main :is(.kmf-word,.kmf-word-inner){max-width:100%;white-space:normal}
html[lang="kn-IN"] body main :is(h1,h2,h3,h4,p){word-break:normal;overflow-wrap:break-word;white-space:normal}
html[lang="kn-IN"] body main :is(h1,h2,h3,h4) span{display:inline!important;white-space:normal!important;overflow-wrap:inherit}
html[lang="kn-IN"] .os-page :is(.kp-intro,.kp-signoff) h2{white-space:normal}
html[lang="kn-IN"] .kp-intro>*{min-width:0}
html[lang="kn-IN"] .kp-refinement-form{flex-wrap:wrap;gap:24px}
html[lang="kn-IN"] .kp-refinement-fields{flex-wrap:wrap;min-width:0;max-width:100%}
html[lang="kn-IN"] .kp-page #kp-status{flex:0 1 auto;max-width:100%;white-space:normal}
/* The workflow descriptions participate in card and section sizing. */
html[lang="kn-IN"] body .mu-work{height:auto;min-height:920px}
html[lang="kn-IN"] .mu-work>.os-container{height:auto;gap:64px}
html[lang="kn-IN"] .mu-work .mu-work__cards{align-items:stretch}
html[lang="kn-IN"] .mu-work .mu-work__card{height:auto;min-height:340px}
html[lang="kn-IN"] .mu-work .mu-work__card h3,
html[lang="kn-IN"] .mu-work .mu-work__card h3 button{font-size:clamp(24px,2.3vw,34px)!important;line-height:1.45!important}
html[lang="kn-IN"] .mu-work .mu-work__card p{line-height:1.65}
html[lang="kn-IN"] .mu-stats{min-width:0}
html[lang="kn-IN"] :is(.os-stat,.ou-stat,.ah-stat) p{font-size:20px;line-height:1.5}
/* Expanded history and support copy sets the card height rather than being clipped. */
html[lang="kn-IN"] .kmf-history-slide,html[lang="kn-IN"] .kmf-history-slide:nth-child(even){height:auto;align-items:stretch}
html[lang="kn-IN"] .kmf-history-copy{min-width:0;gap:24px}
html[lang="kn-IN"] .kmf-history-copy :is(h3,p){overflow-wrap:anywhere}
html[lang="kn-IN"] .ah-support .ah-support-track{align-items:stretch}
html[lang="kn-IN"] .ah-support .ah-support-card{height:auto;aspect-ratio:auto;min-height:640px;display:grid;align-content:end}
html[lang="kn-IN"] .ah-support .ah-support-card>img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}
html[lang="kn-IN"] .ah-support .ah-support-copy{position:relative;inset:auto;max-width:none;margin:48px 140px 110px 48px;z-index:1}
html[lang="kn-IN"] .ah-support .ah-support-copy .ah-number{display:block;opacity:1}
@media(max-width:1399px){
 html[lang="kn-IN"] :is(.os-stats,.ou-stats,.ah-stats){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:calc(100% - 64px);height:auto;margin:64px auto 0}
 html[lang="kn-IN"] :is(.os-stat,.ou-stat,.ah-stat){position:static;width:auto;height:auto;min-height:220px;padding:24px;grid-column:auto}
 html[lang="kn-IN"] :is(.os-stat,.ou-stat,.ah-stat) strong{white-space:normal;font-size:clamp(30px,3.3vw,44px)}
 html[lang="kn-IN"] :is(.os-stat,.ou-stat,.ah-stat) p{font-size:20px;line-height:1.65}
 html[lang="kn-IN"] :is(.os-stat-accent,.ou-accent,.ah-accent){display:none}
}
@media(max-width:1100px){
 /* Keep tablet cards in normal flow; parallax is reserved for wide screens. */
 body.home .kn-story__moments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;gap:24px}
 body.home .kn-story__milk{position:relative;inset:auto;grid-column:1/-1;width:100%;height:480px}
 body.home .kn-story__milk img{width:auto;height:100%;left:50%;top:0;transform:translateX(-50%)}
 body.home .kn-story-moment{position:static;width:auto;height:auto;min-height:260px;translate:none!important}
 body.home .kn-dairy__intro{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:32px}
 body.home .kn-dairy__intro h2,body.home .kn-dairy__intro>div{width:100%;max-width:760px}
 html[lang="kn-IN"] .mu-work .mu-work__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[lang="kn-IN"] body .mu-work{min-height:0;padding-block:80px}
 html[lang="kn-IN"] .os-chain{display:flex;flex-direction:column;gap:48px}
 html[lang="kn-IN"] .os-chain>h2{width:100%;max-width:100%}
 html[lang="kn-IN"] .os-chain-card{min-width:0}
 html[lang="kn-IN"] .os-chain-card .os-button{white-space:normal;max-width:100%}
 html[lang="kn-IN"] .os-impact__intro{flex-direction:column;align-items:start;gap:32px}
 html[lang="kn-IN"] .os-impact__intro>*{width:100%;max-width:100%}
 html[lang="kn-IN"] .kp-signoff>.os-container{flex-direction:column;gap:32px}
 html[lang="kn-IN"] .kp-signoff p{max-width:100%}
}
@media(max-width:767px){
 html[lang="kn-IN"] :is(.os-stats,.ou-stats,.ah-stats){grid-template-columns:repeat(2,minmax(0,1fr));width:calc(100% - 40px);gap:12px;margin-top:40px}
 html[lang="kn-IN"] :is(.os-stat,.ou-stat,.ah-stat){padding:20px;min-height:200px}
 html[lang="kn-IN"] :is(.os-stat,.ou-stat,.ah-stat) p{font-size:18px}
 html[lang="kn-IN"] .mu-work .mu-work__card{padding:24px 20px;min-height:300px}
 html[lang="kn-IN"] .mu-work .mu-work__card h3 button{font-size:26px!important}
 html[lang="kn-IN"] .mu-stats>div{grid-template-columns:minmax(0,1fr);gap:32px}
 html[lang="kn-IN"] .ah-support .ah-support-copy{margin:32px 24px 100px}
}
@media(max-width:700px){body.home .kn-story__moments{grid-template-columns:minmax(0,1fr)}body.home .kn-story__milk{height:420px}}
@media(max-width:420px){html[lang="kn-IN"] .mu-work .mu-work__cards{grid-template-columns:minmax(0,1fr)}}

/* Kannada needs a quieter heading scale than the Latin display typography. */
/* Tablet mosaics need real rows; proportional absolute boxes clip English too. */
@media(min-width:701px) and (max-width:1100px){
 html body .os-page :is(.os-stats,.ou-stats,.ah-stats){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:calc(100% - 64px);max-width:1312px;height:auto;margin:64px auto 0;align-items:stretch}
 html body .os-page :is(.os-stat,.ou-stat,.ah-stat){position:static;inset:auto;width:auto;height:auto;min-width:0;min-height:220px;padding:24px;grid-column:auto;box-sizing:border-box;translate:none!important}
 html body .os-page .os-cooperative .os-stats{margin-bottom:0!important}
 html body .os-page :is(.os-stat,.ou-stat,.ah-stat) strong{white-space:normal;overflow-wrap:break-word}
 html body .os-page :is(.os-stat,.ou-stat,.ah-stat) p{overflow-wrap:break-word;word-break:normal}
 html body .os-page :is(.os-stat-accent,.ou-accent,.ah-accent){display:none}
}

html[lang="kn-IN"] body main h1{font-size:64px!important;line-height:1.35!important}
html[lang="kn-IN"] body main h2,
html[lang="kn-IN"] .os-footer h2{font-size:48px!important;line-height:1.4!important}
html[lang="kn-IN"] body .os-page main h3{font-size:30px!important;line-height:1.45!important}
html[lang="kn-IN"] body .os-page main h4{font-size:24px!important;line-height:1.45!important}
@media(max-width:1100px){
 html[lang="kn-IN"] body main h1{font-size:52px!important}
 html[lang="kn-IN"] body main h2,html[lang="kn-IN"] .os-footer h2{font-size:40px!important}
 html[lang="kn-IN"] body .os-page main h3{font-size:26px!important}
}
@media(max-width:700px){
 html[lang="kn-IN"] body main h1{font-size:36px!important}
 html[lang="kn-IN"] body main h2,html[lang="kn-IN"] .os-footer h2{font-size:30px!important}
 html[lang="kn-IN"] body .os-page main h3{font-size:24px!important}
 html[lang="kn-IN"] body .os-page main h4{font-size:22px!important}
}
