/* Compact native disclosure; all page layouts and brand colors stay in place. */
.language-selector { position: relative; flex: 0 0 auto; color: #243323; }
.language-selector summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 68px; min-height: 48px; padding: 8px; border: 1px solid #dedbd1; border-radius: 4px; font: 18px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; cursor: pointer; list-style: none; }
.language-selector summary::-webkit-details-marker { display: none; }
.language-selector summary:hover { background: #eee6df; }
.language-selector svg { flex-shrink: 0; }
.language-options { position: absolute; z-index: 40; right: 0; top: calc(100% + 8px); width: 220px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid #dedbd1; border-radius: 4px; background: #fbfaf7; box-shadow: 0 12px 24px #24332316; max-height: calc(100dvh - 150px); overflow-y: auto; }
.language-options button { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 3px; color: #243323; background: transparent; text-align: left; font: 18px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; cursor: pointer; }
.language-options button:hover { background: #f4f0e9; }
.language-options button[aria-pressed='true'] { color: #5a1818; background: #eee6df; font-weight: 600; }
.language-selector summary:focus-visible, .language-options button:focus-visible { outline: 3px solid #a96b2b; outline-offset: 3px; }
.hero-copy, .promise-grid > div, .audience-grid > p, .team-grid > div, .footer-top > * { min-width: 0; }
html:not([lang='en']) h1, html:not([lang='en']) h2, html:not([lang='en']) h3 { overflow-wrap: anywhere; hyphens: auto; }
html:lang(zh) { --serif: Georgia, 'Songti SC', 'Songti TC', 'Noto Serif CJK SC', 'Noto Serif CJK TC', serif; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { letter-spacing: 0; }
html:lang(zh) .hero h1 { line-height: 1.15; }
html:lang(zh) h1 em, html:lang(zh) h2 em { font-style: normal; }
.pilot-topbar { flex-wrap: wrap; }
.pilot-topbar .language-selector { margin-left: auto; }
.pilot-label { flex: 1 1 160px; text-align: right; }
.not-found-page .maxi-topbar { flex-wrap: wrap; }
.not-found-page .language-selector { margin-left: auto; }
@media (max-width: 760px) {
  .header-inner { gap: 10px; }
  .mobile-menu summary { gap: 8px; }
  .language-selector summary { min-width: 64px; padding-inline: 6px; }
  .language-options { right: -90px; }
  .maxi-topbar .language-options { right: 0; }
  .pilot-topbar { gap: 12px; }
  .pilot-label { order: 3; flex-basis: 100%; max-width: none; text-align: left; }
}
@media print { .language-selector { display: none; } }
