.header-note.language-switcher {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.2rem;
}
.language-switcher a {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  min-height: 2.75rem;
  border-bottom: 1px solid transparent;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color var(--motion-fast), border-color var(--motion-fast);
}
.language-switcher a:hover,
.language-switcher a[aria-current] { color: var(--terra); border-bottom-color: var(--terra); }
[data-translation-one][hidden], [data-translation-two][hidden], [data-phrase-translation][hidden] { display: none; }
html[lang="ru"] body { font-family: 'Segoe UI', 'Aptos', sans-serif; }
html[lang="ru"] .hero__title { font-size: clamp(3.5rem, 4.8vw, 5.6rem); }
html[lang="ru"] .section-title { font-size: clamp(3rem, 4.7vw, 5.3rem); }
html[lang="ru"] .hero__title, html[lang="ru"] .section-title { line-height: 1; }
@media (max-width: 1020px) {
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.75rem; }
  .language-switcher { grid-column: 2; grid-row: 1; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .language-switcher a { min-width: 2rem; font-size: 0.62rem; }
}
@media (max-width: 760px) {
  html[lang="ru"] .hero__title { font-size: clamp(2.65rem, 10vw, 4.2rem); }
  html[lang="ru"] .section-title { font-size: clamp(2.6rem, 10.5vw, 4rem); }
}
@media (max-width: 420px) {
  .site-header__inner { gap: 0.4rem; }
  .brand__name { font-size: 1.95rem; }
  .brand__rule { display: none; }
  .language-switcher a { min-width: 1.85rem; }
  .menu-toggle { width: 2.4rem; height: 2.4rem; }
}
@media (max-width: 350px) {
  .brand__name { font-size: 1.6rem; }
  .language-switcher a { min-width: 1.7rem; }
}
