.nav-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang { position: relative; }
.lang-label { display: none; margin: 0; }
.lang-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1;
}
.lang-toggle:hover { color: var(--teal); }
.lang-globe { display: block; width: 22px; height: 22px; }
.lang-globe svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang-word { display: none; }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 6;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(27, 25, 22, 0.08);
}
.lang-menu[hidden] { display: none; }
.lang-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}
.lang-option:hover { background: var(--paper); }
.lang-option.is-selected { color: var(--teal); font-weight: 600; }

@media (max-width: 900px) {
  .nav-tools { gap: 2px; }
  .lang-toggle { display: none; }
  .lang-label {
    display: block;
    padding: 16px 0 4px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 1.85rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .lang-menu,
  .lang-menu[hidden] {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 4px 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .lang-option {
    padding: 12px 0;
    font-size: 1.05rem;
  }
}
