/* Reading text and display headings need different proportions in Malayalam.
   Keep this after the archive's compact English layout rules. */
html[data-site-language=ml] {
  --font-body: 'Noto Sans Malayalam', 'Manrope', sans-serif;
  --font-display: 'Noto Serif Malayalam', Georgia, serif;
  font-family: var(--font-body);
  font-size: 16px;
}
html[data-site-language=ml] body { font-size: 16px; line-height: 1.9; }
html[data-site-language=ml] :is(h1,h2,h3,h4,.hero-title,.brand-name,.footer-name,.footer-signature) {
  letter-spacing: 0;
  font-style: normal;
  line-height: 1.55;
}
html[data-site-language=ml] :is(p,li,dt,dd,figcaption,button,input,select,textarea,.eyebrow,.tiny-label,.text-link,.back-link,.button,.site-nav a,.language-caption,.language-label,.brand-name small,.hero-bottom,.film-card-meta>span,.footer-bottom,.canvas-credit,.canvas-credit strong) {
  letter-spacing: 0;
  text-transform: none;
}
html[data-site-language=ml] h1 { font-size: clamp(32px,4.6vw,64px); }
html[data-site-language=ml] h2 { font-size: clamp(27px,3.1vw,42px); }
html[data-site-language=ml] h3 { font-size: clamp(22px,2.1vw,28px); }
html[data-site-language=ml] .hero-title { font-size: clamp(48px,6vw,84px); line-height: 1.5; }
html[data-site-language=ml] .hero-title em { padding: 0; }
html[data-site-language=ml] :is(.roots-layout h2,.about-copy h2,.early-layout h2,.cta-panel h2,.gallery-wait-copy h2) { font-size: clamp(27px,3.1vw,42px); line-height: 1.6; }
html[data-site-language=ml] .detail-copy h1 { font-size: clamp(32px,4.3vw,60px); line-height: 1.6; word-break: normal; overflow-wrap: break-word; }
html[data-site-language=ml] :is(.hero-description,.intro-copy p,.craft-card p,.heading-description,.page-heading .heading-description,.page-lead,.about-copy>p:not(.eyebrow),.early-layout>div>p:not(.eyebrow),.career-card p,.detail-summary,.story-copy>p,.media-card p,.message-composer>p:not(.eyebrow),.prose-section p,.cta-panel p:not(.eyebrow),.gallery-wait-copy p:not(.eyebrow),.footer-identity>p) {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
}
html[data-site-language=ml] .hero-description { max-width: 510px; }
html[data-site-language=ml] .story-copy>p { font-size: 17px; max-width: 720px; }
html[data-site-language=ml] :is(.eyebrow,.hero .eyebrow,.page-hero .eyebrow,.tiny-label,.language-caption,.language-label,.language-switch a,.language-switch a[lang=ml],.craft-top span,.small-note,.film-facts dt,.film-facts small,.film-sources,.film-sources .text-link,.detail-figure figcaption,.contribution-note,.career-card small,.gallery-count,.catalog-count,.catalog-note,.carousel-hint,.carousel-controls>span,.lightbox-controls>span,.trailer-footer>span) {
  font-size: 13px;
  line-height: 1.85;
}
html[data-site-language=ml] :is(.film-announcement-copy,.film-announcement-copy>strong,.film-announcement-copy p) { font-family: var(--font-body); font-size: 14px; line-height: 1.9; }
html[data-site-language=ml] .film-announcement-copy a { font-family: 'Manrope',sans-serif; }
html[data-site-language=ml] .brand-name { font-size: 22px; }
html[data-site-language=ml] .brand-name small { font-size: 11px; line-height: 1.8; margin-top: 3px; }
html[data-site-language=ml] .brand-mark { display: block; }
html[data-site-language=ml] .site-nav { gap: 2px; }
html[data-site-language=ml] .site-nav a { font-size: 14px; line-height: 1.8; padding: 12px 10px; min-height: 48px; }
html[data-site-language=ml] .site-nav .nav-contact { margin-left: 6px; gap: 10px; padding-inline: 12px; }
html[data-site-language=ml] :is(.button,.hero-actions .button,.message-composer .button,.cta-panel .button,.gallery-wait-copy .button,.text-link,.back-link,.credit-note,.career-film-link,.contact-extra,.instagram-card .text-link) { font-size: 14px; line-height: 1.85; }
html[data-site-language=ml] .button { min-height: 48px; padding: 12px 18px; gap: 14px; }
html[data-site-language=ml] .hero-actions { flex-wrap: wrap; }
html[data-site-language=ml] .hero .companion-name { font-family: 'Manrope',sans-serif; font-size: 14px; line-height: 1.8; }
html[data-site-language=ml] .hero-bottom { font-size: 13px; line-height: 1.85; flex-wrap: wrap; }
html[data-site-language=ml] :is(.craft-card h3,.career-card h3,.media-card h3,.journey-item h3,.early-film h3,.track-list h3,.contact-aside h3,.prose-section h2) { font-size: clamp(22px,2.3vw,30px); line-height: 1.7; }
html[data-site-language=ml] .craft-card { min-height: 0; }
html[data-site-language=ml] .craft-card p { max-width: none; }
html[data-site-language=ml] :is(.film-card-meta h3,.featured-grid .film-card-meta h3,.film-grid .film-card-meta h3) { font-size: 24px; line-height: 1.7; }
html[data-site-language=ml] :is(.film-role,.featured-grid .film-role,.archive-grid .film-role,.gallery-grid figcaption,.artwork-slide figcaption,.lightbox figcaption,.journal-image span,.cast-person p,.crew-credit dt,.track-list p,.journey-item p,.contact-aside p,.mentor-note>span,.profile-card small,.early-film>span,.film-card-meta>span,.project-card .film-card-meta>span) { font-size: 14px; line-height: 1.9; }
html[data-site-language=ml] :is(.contribution strong,.film-facts dd,.crew-credit dd,.personal-grid dd,.education-card li) { font-size: 16px; line-height: 1.95; }
html[data-site-language=ml] .cast-person h3 { font-family: var(--font-body); font-size: 16px; line-height: 1.85; font-weight: 600; }
html[data-site-language=ml] .personal-grid dt { font-size: 14px; line-height: 1.85; }
html[data-site-language=ml] .chapter-nav a { min-height: 48px; font-size: 14px; line-height: 1.85; }
html[data-site-language=ml] :is(.search-field input,.sort-field select,.field input,.field select,.field textarea,.message-preview textarea) { font-size: 16px; line-height: 1.85; }
html[data-site-language=ml] :is(.filter-tabs button,.field label,.composer-status,.message-composer form>.small-note) { font-size: 14px; line-height: 1.85; }
html[data-site-language=ml] :is(.filter-tabs button,.search-field input,.sort-field select) { min-height: 48px; }
html[data-site-language=ml] .portrait-main figcaption { font-size: 12px; line-height: 1.8; flex-wrap: wrap; }
html[data-site-language=ml] .portrait-main figcaption span:first-child { font-size: 20px; line-height: 1.8; }
html[data-site-language=ml] :is(.portrait-mini span,.portrait-location,.portrait-caption small) { font-size: 12px; line-height: 1.8; }
html[data-site-language=ml] .portrait-annotation { font-family: var(--font-body); font-size: 11px; letter-spacing: 0; }
html[data-site-language=ml] .footer-name { font-size: 32px; line-height: 1.7; }
html[data-site-language=ml] .footer-signature { font-size: 20px; line-height: 1.8; }
html[data-site-language=ml] .footer-links a { min-height: 40px; font-size: 14px; line-height: 1.85; }
html[data-site-language=ml] :is(.footer-links>.eyebrow,.footer-bottom,.motion-toggle,.back-top) { font-size: 13px; line-height: 1.85; }
html[data-site-language=ml] :is(.motion-toggle,.back-top) { min-height: 44px; }

@media(max-width:1200px) and (min-width:961px) {
  html[data-site-language=ml] .brand-name { font-size: 20px; }
  html[data-site-language=ml] .site-nav a { font-size: 13px; padding-inline: 7px; }
}
/* Use the existing menu at tablet sizes instead of shrinking Malayalam labels. */
@media(max-width:960px) {
  html[data-site-language=ml] .navigation { position: relative; min-height: 84px; flex-wrap: wrap; }
  html[data-site-language=ml] .menu-toggle:not([hidden]) { display: flex; font-size: 14px; min-height: 48px; gap: 8px; }
  html[data-site-language=ml] .site-nav { width: 100%; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 10px 20px; }
  html[data-site-language=ml].nav-enhanced .navigation { flex-wrap: nowrap; }
  html[data-site-language=ml].nav-enhanced .brand { min-width: 0; flex-shrink: 1; }
  html[data-site-language=ml].nav-enhanced .brand-name { min-width: 0; }
  html[data-site-language=ml].nav-enhanced .site-nav { position: absolute; top: 84px; left: -18px; right: -18px; width: auto; padding: 16px 18px 22px; background: var(--bg); box-shadow: 0 16px 36px #0003; display: none; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 108px); overflow-y: auto; border-bottom: 1px solid var(--line-strong); }
  html[data-site-language=ml].nav-enhanced .site-nav.is-open { display: flex; }
  html[data-site-language=ml].nav-enhanced .site-nav a { font-size: 16px; line-height: 1.9; padding: 12px 15px; }
  html[data-site-language=ml].nav-enhanced .site-nav a::after { bottom: 8px; left: 15px; width: 22px; }
  html[data-site-language=ml].nav-enhanced .site-nav .nav-contact { margin: 10px 0 0; justify-content: space-between; }
}
@media(max-width:760px) {
  html[data-site-language=ml] .hero-title { font-size: clamp(42px,11.6vw,68px); line-height: 1.6; }
  html[data-site-language=ml] .hero-description { max-width: 100%; margin-top: 18px; }
  html[data-site-language=ml] .hero .eyebrow { font-size: 13px; }
  html[data-site-language=ml] .language-caption { font-size: 12px; }
  html[data-site-language=ml] .language-switch a { min-height: 44px; font-size: 13px; }
  html[data-site-language=ml] .heading-row { align-items: flex-start; flex-wrap: wrap; gap: 18px; }
  html[data-site-language=ml] .portrait-annotation { display: none; }
  html[data-site-language=ml] .hero-bottom { gap: 12px; }
  html[data-site-language=ml] .journal-image span { padding: 14px; }
  html[data-site-language=ml] .footer-name { font-size: 29px; }
  html[data-site-language=ml] .footer-links a { min-height: 44px; }
}
@media(max-width:390px) {
  html[data-site-language=ml] .brand-name { font-size: 19px; }
  html[data-site-language=ml] .brand-name small { font-size: 10px; }
  html[data-site-language=ml] .brand { gap: 9px; }
  html[data-site-language=ml] .hero-actions .button { flex: 1 1 100%; }
}
