/* EN / TH stays in the header at every size, with a clear selected state. */
.language-switch { display: inline-flex; flex-shrink: 0; padding: 2px; border: 1px solid #628bb65c; border-radius: 7px; background: #071a35; gap: 2px; }
.language-option { display: grid; place-items: center; min-width: 32px; min-height: 30px; padding: 4px 6px; border-radius: 4px; color: #b9cce5; font-family: 'DM Sans', sans-serif; font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .04em; transition: color calc(.2s / var(--transition-speed)), background calc(.2s / var(--transition-speed)); }
.language-option:hover { background: #123660; color: #fff; }
.language-option[aria-current="true"] { background: #00cbe7; color: #041529; box-shadow: 0 2px 12px #00cbe71a; }
.language-option:focus-visible { outline-offset: 3px; }

/* Keep comfortable tap targets on phones and other touch devices. */
@media (any-pointer: coarse) {
    .language-option { min-width: 44px; min-height: 44px; }
}

/* Thai needs its own letter spacing and room above and below the vowels. */
html:lang(th) { --body: 'Noto Sans Thai', 'Segoe UI', sans-serif; --display: 'Noto Sans Thai', 'Segoe UI', sans-serif; }
html:lang(th) h1, html:lang(th) h2, html:lang(th) h3 { letter-spacing: -.015em; line-height: 1.4; }
html:lang(th) .hero h1 { font-size: clamp(48px, 4.7vw, 72px); line-height: 1.35; word-spacing: normal; }
html:lang(th) .headline-line { white-space: normal; }
html:lang(th) .headline-gradient { padding-bottom: .12em; }
html:lang(th) .hero-tagline { font-size: clamp(25px, 2.5vw, 37px); letter-spacing: 0; line-height: 1.6; }
html:lang(th) .eyebrow, html:lang(th) .section-label, html:lang(th) .focus-card-top > span, html:lang(th) .domain-copy strong { letter-spacing: .025em; }
html:lang(th) .hero-eyebrow { font-size: 12px; }
html:lang(th) .section-label { font-size: 12px; }
html:lang(th) .domain-copy strong { font-size: 12px; }
html:lang(th) .domain-copy > span { line-height: 1.8; }
html:lang(th) .ceo-focus .focus-card h3 { font-size: 29px; }
html:lang(th) .ceo-focus .card-tags > span, html:lang(th) .approach-tags > span { font-size: 11px; }
html:lang(th) .ceo-focus .focus-card-top > span { font-size: 11px; }
html:lang(th) .conversation-option strong, html:lang(th) .ticker-group > span { letter-spacing: 0; }
html:lang(th) .ceo-contact .contact-layout h2 { font-size: clamp(48px, 5.4vw, 78px); }
@media (max-width: 1100px) {
    .header-inner { gap: 16px; }
    .desktop-navigation { gap: 20px; }
    html:lang(th) .header-contact { display: none; }
}
@media (max-width: 900px) {
    html:lang(th) .hero h1 { font-size: clamp(39px, 4.8vw, 50px); }
    html:lang(th) .domain-copy strong { font-size: 11px; }
}
@media (max-width: 780px) {
    html:lang(th) .hero h1 { font-size: clamp(42px, 7.3vw, 60px); }
}
@media (max-width: 640px) {
    .header-inner { gap: 12px; }
    .header-inner > .brand { margin-right: auto; }
    .mobile-navigation { margin-left: 0; }
    html:lang(th) .hero h1 { font-size: clamp(34px, 8.7vw, 51px); }
    html:lang(th) .hero-tagline { font-size: 26px; }
    html:lang(th) .hero-eyebrow { font-size: 11px; }
    html:lang(th) .ceo-focus .focus-card h3 { font-size: 28px; }
    html:lang(th) .ceo-contact .contact-layout h2 { font-size: clamp(43px, 10vw, 64px); }
}
@media (max-width: 380px) {
    .header-inner { gap: 8px; }
    .header-inner .brand-logo { width: 114px; }
    .mobile-navigation summary { min-width: 44px; justify-content: center; padding-left: 0; }
    .menu-label { display: none; }
    html:lang(th) .hero-tagline { font-size: 23px; }
    html:lang(th) .ceo-focus .focus-card h3 { font-size: 25px; }
}
