header .language-picker { position: relative; padding: 0; border: 0; }
.language-picker summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -10px;
  border-radius: 50%;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:hover, .language-picker[open] summary { color: #165cac; }
.language-picker summary:focus-visible { outline: 2px solid #307fe2; outline-offset: 2px; }
.language-options {
  position: absolute;
  z-index: 2;
  right: -6px;
  top: calc(100% + 14px);
  min-width: 145px;
  padding: 5px;
  border: 1px solid #d5dfe8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 20px #142c4820;
  color: #172538;
}
.language-options a {
  display: block;
  padding: 8px 12px;
  font: 500 14px/1.5 Montserrat, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  border-radius: 3px;
  white-space: nowrap;
}
.language-options a[aria-current="true"] { color: #165cac; background: #edf4fc; }
.language-options a:is(:hover, :focus-visible) { background: #e2eefb; color: #12395e; }
@media (max-width:1200px) {
  header.inner-header .header-language { display: flex; gap: 0; margin: 0 0 0 18px; padding-top: 8px; }
  .inner-header .header-language .header-note { display: none; }
}
@media (max-width:1100px) {
  .home header .header-language { display: flex; gap: 0; margin: 0 0 0 18px; padding-top: 8px; }
  .home .header-language .header-note { display: none; }
}
@media (min-width:721px) {
  .home .overlay-header { padding-right: max(42px, var(--hero-inset, 4.5%)); }
  /* Keep Chinese hero copy inside the viewport when the photograph is cropped. */
  html:lang(zh) .home { --hero-inset: 4.5%; }
}
@media (max-width:720px) {
  .home header .brand-lockup, .inner-page header .brand-lockup { max-width: calc(100% - 105px); }
  header .menu { margin-left: auto; }
  header.inner-header .header-language, .home header .header-language { padding-top: 0; }
}
html:lang(zh) body { font-family: Montserrat, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif; }
html:lang(zh) :is(h1,h2,h3,.hero-subline,.company-stats dt,.brand-descriptor,.eyebrow) { letter-spacing: normal; }
html:not(:lang(ru)) .service-signs .localized-sign { font-family: Montserrat, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-weight: 600; }

@media (max-width:380px) {
  :is(.home,.inner-page) .site-footer .foot-top { grid-template-columns: minmax(0,1fr) auto; }
  .about-route-page .section-columns { grid-template-columns: minmax(0,1fr); }
  .about-route-page .section-columns h2 { font-size: clamp(26px, 8.6vw, 32px); }
}

/* Keep the English headline within the photograph when the drawing is open. */
html:lang(en) .home .hero h1 { max-width: 40vw; }
@media (max-width:1366px), (pointer:coarse) {
  html:lang(en) .home .hero h1 { max-width: 88%; }
}
