/* Compact language controls, with the existing colours and navigation rhythm. */
.language-switcher.language-picker { border: 0; padding: 0; position: relative; direction: ltr; }
.language-picker .language-trigger { border: 1px solid #101820; border-radius: 999px; min-width: 68px; height: 44px; padding: 0 13px; gap: 9px; font-size: 11px; }
.language-picker .language-trigger:hover { transform: none; }
.language-picker .language-panel { position: absolute; inset-block-start: calc(100% + 12px); inset-inline-end: 0; width: 300px; max-width: calc(100vw - 32px); padding: 10px; border: 1px solid #10182024; border-radius: 18px; background: #fff; box-shadow: 0 14px 38px #1018201c; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; max-height: calc(100svh - 110px); overflow-y: auto; overscroll-behavior: contain; }
.language-picker .language-panel[hidden] { display: none; }
.language-picker .language-panel button { min-height: 44px; height: auto; width: 100%; padding: 12px 8px; border-radius: 10px; font: 500 14px/1.3 Arial,sans-serif; letter-spacing: 0; white-space: normal; }
.language-picker .language-panel button:hover { transform: none; }
.language-picker [data-language-current] { font-family: Arial,sans-serif; }
.language-picker[aria-busy="true"] .language-trigger { opacity: .65; }
.language-picker .language-error { grid-column: 1 / -1; margin: 6px; font: 13px/1.5 Arial,sans-serif; color: #9c2914; text-align: start; }
/* Keep the honeypot usable by bot detection without extending an RTL document. */
body .delivery-honeypot { left: 0 !important; right: auto; top: 0; min-width: 0 !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
html:not([lang="en"]):not([lang="fr"]) :is(h1,h2,h3,.menu-inner a) { overflow-wrap: anywhere; }
html:not([lang="en"]):not([lang="fr"]) .menu-inner a { letter-spacing: -.035em; }
html[lang="zh-Hans"] body { font-family: Arial,"PingFang SC","Microsoft YaHei",sans-serif; }
html[lang="zh-Hans"] :is(h1,h2,h3,p,a,button,label,summary) { letter-spacing: 0; }
html[lang="zh-Hans"] :is(h1,h2,h3) { line-height: 1.2; }
html[lang="ar"] body { font-family: Tahoma,Arial,"Noto Sans Arabic",sans-serif; }
html[lang="ar"] :is(h1,h2,h3,h4,p,a,button,label,summary,span) { letter-spacing: 0; }
html[lang="ar"] :is(h1,h2,h3,h4) { line-height: 1.3; }
html[dir="rtl"] :is(.brand,.footer-wordmark,.ww-percentage,.ww-stage-number,.brief-progress) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] :is(input[type="email"],input[type="tel"],input[type="url"]) { direction: ltr; text-align: start; }
html[dir="rtl"] :is(input:not([type="email"]):not([type="tel"]):not([type="url"]),textarea) { text-align: start; }
html[dir="rtl"] :is(.project-concept-row,.project-mobile-track,.project-profile-gallery) { direction: ltr; }
html[dir="rtl"] .language-picker .language-panel { inset-inline-end: auto; inset-inline-start: 0; }
html[dir="rtl"] .menu, html[dir="rtl"] .menu.is-open { clip-path: none; }
html[dir="rtl"] .menu-inner a:hover { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .home-opening-copy { left: auto; right: 2.65vw; }
html[dir="rtl"] .ww-process-index a { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .ww-process-index a[aria-current] { border-right: 2px solid var(--ww-accent); padding-right: 19px; }
html[dir="rtl"] .ww-stages { border-left: 0; border-right: 1px solid var(--line-soft); padding-left: 0; padding-right: 38px; }
html[dir="rtl"] .ww-stage:before { left: auto; right: -43px; }
html[dir="rtl"] .ww-stage-copy { margin-left: 0; margin-right: 86px; }
html[dir="rtl"] .ww-stage-copy .ww-outcome { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .about-principles article + article { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 30px; }
@media(min-width:821px) and (max-width:1100px) { html[dir="rtl"] .ww-stage-copy { margin-right: 55px; } }
@media(max-width:820px) {
  html[dir="rtl"] .ww-stage-copy { margin-right: 0; }
  .language-picker .language-panel { inset-inline-end: -56px; width: min(300px,calc(100vw - 40px)); }
  html[dir="rtl"] .language-picker .language-panel { inset-inline-start: -56px; }
  html[dir="rtl"] .home-opening-copy { left: 20px; right: 20px; }
  html[dir="rtl"] .ww-stages { padding-right: 24px; margin-left: 0; margin-right: 4px; }
  html[dir="rtl"] .ww-stage:before { right: -29px; }
  html[dir="rtl"] .about-principles article + article { border-right: 0; padding-right: 0; }
  html:not([lang="en"]):not([lang="fr"]) .menu-inner a { font-size: clamp(1.65rem,7vw,3.3rem); }
  html[lang="ar"] .header { direction: rtl; }
}
@media(max-width:370px) {
  .language-picker .language-panel { inset-inline-end: -52px; }
  html[dir="rtl"] .language-picker .language-panel { inset-inline-start: -52px; }
  .language-picker .language-trigger { min-width: 57px; padding: 0 9px; gap: 6px; }
  body .header .header-actions { gap: 8px; }
}
