/* Locale-only allowances around the existing three theme styles. */
html[lang=en] .site-masthead .header-controls{flex-wrap:wrap;justify-content:flex-end}
html[lang=en] .site-masthead .language-switch>summary{max-width:150px;overflow:hidden;text-overflow:ellipsis}
html[lang=en] .site-masthead .theme-picker .theme-current{display:none}
html[lang=en] .site-masthead .theme-picker>summary{min-height:36px}
html[lang=en] .theme-options{max-height:min(70vh,420px);overflow:auto}
html[lang=en][data-site-theme=minimal] .concept-theme-home .locale-theme-heading{margin:0 auto;font-family:inherit;font-size:clamp(32px,5.3vw,76px);font-weight:500;letter-spacing:0;line-height:1.18}
html[lang=en][data-site-theme=minimal] .concept-theme-home .hero .hero-line{white-space:normal;flex-wrap:wrap;justify-content:center}
html[lang=en][data-site-theme=minimal] .concept-theme-home .hero .hero-line-first{white-space:normal}
html[lang=en][data-site-theme=minimal] .concept-theme-home .hero .hero-line>span{white-space:normal}
html[lang=en] .motion-site-header .theme-picker>summary{font-size:11px}
html[lang=en] .motion-site-header .header-hotline span{max-width:220px}
html[lang=en] .motion-site-header .header-controls{display:flex;align-items:center;gap:8px}
html[lang=en] .motion-home .st-inquiry{font-family:Arial,sans-serif;position:relative;z-index:2}
html[lang=en] .home-hero__stack-item[aria-hidden=true]{visibility:hidden!important}
/* Preserve the original motion grid while allowing longer translated labels. */
html[lang=en] .motion-home .services-section__body,
html[lang=en] .motion-home .services-section__list{min-width:0}
html[lang=en] .motion-home .services-section__item-title{white-space:normal;overflow-wrap:break-word;font-size:clamp(28px,3.6vw,60px)!important;line-height:1.16!important}
html[lang=en] .motion-home .intro-quote{font-size:clamp(30px,4vw,72px)!important;max-width:100%;line-height:1.4!important}
html[lang=en] .motion-home .intro-quote__line{white-space:normal;display:block}
html[lang=en] .motion-home .intro-quote .word-swap{max-width:100%}
html[lang=en] .motion-home .intro-quote .word-swap>span{white-space:nowrap}
html[lang=en] .motion-home .site-footer__column{min-width:0}
html[lang=en] .motion-home .site-footer__links{overflow-wrap:break-word}
html[lang=en] .motion-home .site-footer{background:#161616;color:#ddd;border-color:#292929}
html[lang=en] .motion-home .site-footer h2,
html[lang=en] .motion-home .site-footer h3,
html[lang=en] .motion-home .site-footer a{color:#ddd}
html[lang=en] .motion-home .site-footer p,
html[lang=en] .motion-home .site-footer .site-footer__eyebrow{color:#999}
html[lang=en] .motion-home .site-footer__wordmark{filter:invert(1)}
html[lang=en] .motion-home .project-cta-section__grid,
html[lang=en] .motion-home .project-cta-section__content{min-width:0;max-width:100%}
html[lang=en] .motion-home .project-cta-section__heading,
html[lang=en] .motion-home .project-cta-section__line{max-width:100%;white-space:normal;overflow-wrap:anywhere}
html[lang=en] .motion-home .project-cta-section__heading{font-size:clamp(32px,5vw,72px)!important;line-height:1.18!important}
html[lang=en] .motion-home .project-cta-section__button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
  html[lang=en] .site-masthead .header-controls{max-width:180px;gap:6px}
  html[lang=en] .site-masthead .theme-picker>summary{height:34px;min-height:34px;font-size:10px;padding-inline:8px;gap:4px}
  html[lang=en] .site-masthead .theme-picker>summary svg{width:12px;height:12px}
  html[lang=en] .site-masthead .theme-picker .theme-options{position:fixed;right:12px;top:110px;width:min(290px,calc(100vw - 24px))}
  html[lang=en][data-site-theme=minimal] .concept-theme-home .locale-theme-heading{font-size:32px;letter-spacing:0}
  html[lang=en] .motion-site-header .header-inner{gap:10px;padding-inline:12px;flex-wrap:wrap}
  html[lang=en] .motion-site-header .brand{max-width:calc(100% - 180px);min-width:0}
  html[lang=en] .motion-site-header .brand strong{font-size:10px}
}
