.lang-switch {
  display: inline-flex;
  align-items: center;
  color: #a39c90;
}
.lang-switch button {
  background: none;
  border: 0;
  color: inherit;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  padding: 0.22rem 0.22rem;
  opacity: 0.68;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.lang-switch button:hover { opacity: 1; color: #efe9dd; }
.lang-switch button.is-on { color: #d7c39a; opacity: 1; }
.lang-switch .lang-dot { opacity: 0.35; padding: 0 0.12rem; font-size: 0.72rem; }
.lang-flag {
  width: 11px;
  height: 8px;
  display: block;
  flex-shrink: 0;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(239, 233, 221, 0.18);
}
html.is-lang-changing body {
  opacity: 0.2;
  transition: opacity 0.18s cubic-bezier(0.37, 0, 0.63, 1);
}
body {
  transition: opacity 0.45s cubic-bezier(0.37, 0, 0.63, 1);
}
html[lang="ru"] body {
  font-family: "Source Sans 3", "Noto Sans", "Segoe UI", system-ui, sans-serif;
}
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3, html[lang="ru"] h4 {
  font-family: Literata, "Noto Serif", "PT Serif", Georgia, serif;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * {
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.4s; }
