.language-switch {
  width: 68px;
  cursor: pointer;
  text-decoration: none;
}

.language-switch__option {
  pointer-events: none;
  color: inherit;
  font-size: 9px;
  font-weight: var(--font-weight-regular, 400);
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color var(--ui-duration) var(--ui-ease), color var(--ui-duration) var(--ui-ease);
}

.language-switch__option--active {
  background: var(--navigation-control-selected);
  color: var(--navigation-control-selected-text);
}

body {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Defaults for future localized content; no changes to typography metrics. */
:where(h1, h2, h3, h4, h5, h6) {
  text-wrap: balance;
}

:where(p, blockquote, figcaption) {
  text-wrap: pretty;
}

.hero-copy__title,
.projects-intro__text,
.work-hero__title,
.case-card__title,
.case-detail-hero__title,
.blog-card__title,
.blog-article__title,
.blog-article__body h2,
.work-policy__title,
.contact-board__title,
.bridge-message,
.stage2-board__lead-title,
.stage2-board__item-title {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-copy__text,
.work-hero__description,
.case-card__description,
.case-detail-hero__description,
.collection-block__description,
.blog-card__description,
.blog-article__lead,
.blog-article__intro,
.contact-board__text,
.stage2-board__lead-text,
.stage2-board__item-text {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-copy__text {
  text-wrap: balance;
}

/* Keep the short Russian closing phrase intact, including its compound word. */
html[lang="ru"] .hero-copy__text > span {
  display: inline-block;
  max-width: 100%;
}

/* Desktop titles keep their authored two-line composition. On narrower
   columns, Russian phrases reflow inside the card instead of overflowing. */
@media (max-width: 919px) {
  html[lang="ru"] .stage2-board__item-title {
    white-space: normal;
  }
}
