/* Shared language control: real links also work without JavaScript. */
.language-switch {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid rgba(212,168,67,.28);
  border-radius: 999px;
  padding: 3px;
  background: #100f0c;
  margin-left: auto;
}
.language-switch::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3px auto 3px 3px;
  width: calc((100% - 6px) / 2);
  border-radius: 999px;
  background: rgba(212,168,67,.24);
  box-shadow: inset 0 0 0 1px rgba(245,200,66,.16);
  transform: translateX(0);
  transition: transform 220ms cubic-bezier(.22,.7,.25,1);
}
.language-switch[data-selected="en"]::before { transform: translateX(100%); }
.language-switch a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  color: #d6cbb5;
  font-size: .58rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.language-switch svg { width: 22px; height: 15px; border-radius: 2px; }
.language-switch a[aria-current="page"] { color: #f5d681; }
.language-switch a:hover { color: #fff3cc; }
.language-switch a:focus-visible { outline: 2px solid #e5be63; outline-offset: 2px; }
.site-header { max-width: 1360px; width: min(calc(100% - clamp(12px,4vw,24px)),1360px); }
.site-header .nav-links { flex: 1; justify-content: center; }
.mobile-menu a { text-align: center; }
.nav-links a { justify-content: center; }
@media (min-width:1181px) and (max-width:1350px) {
  .site-header .nav-cta { display: none; }
  .site-header { gap: 12px; }
}
@media (max-width:600px) {
  .site-header { gap: 8px; padding-inline: 10px; }
  .site-header .brand { min-width: 0; gap: 6px; }
  .site-header .brand-name { white-space: normal; font-size: .75rem; max-width: 82px; }
  .site-header .hamburger { flex: 0 0 44px; width: 44px; height: 44px; }
}
@media print { .language-switch { display: none; } }
@media (prefers-reduced-motion: reduce) { .language-switch::before { transition: none; } }
