.site-header {
  width:100%;
  box-sizing:border-box;
  background:var(--cream, var(--bg, #fffdf9));
  border-bottom:1px solid var(--line, rgba(92,63,37,.14));
}

.site-header__inner {
  width:min(100%, 960px);
  margin:0 auto;
  padding:14px 24px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
}

.site-header .site-brand {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-width:max-content;
  color:#24180f;
  font-size:14px;
  font-weight:700;
  letter-spacing:.01em;
  text-decoration:none;
}

.site-header .site-brand img {
  width:28px;
  height:28px;
  object-fit:contain;
}

.site-header .site-primary-nav {
  justify-self:end;
  display:flex;
  align-items:center;
  gap:20px;
  margin:0;
  padding:0;
}

.site-header .site-primary-nav a,
.site-header .language-switch a {
  color:#6b4931;
  font-size:13px;
  font-weight:650;
  line-height:1.4;
  text-decoration:none;
  white-space:nowrap;
}

.site-header .site-primary-nav a:hover,
.site-header .language-switch a:hover {
  color:#24180f;
  text-decoration:underline;
  text-underline-offset:3px;
}

.site-header .language-switch {
  justify-self:end;
  width:auto;
  max-width:none;
  margin:0;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  color:#9b806b;
  font-size:13px;
  line-height:1.4;
}

.site-header .language-switch a[aria-current="page"] {
  color:#24180f;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}

.site-header a:focus-visible {
  outline:3px solid #8a5a35;
  outline-offset:4px;
  border-radius:3px;
}

@media (max-width:620px) {
  .site-header__inner {
    grid-template-columns:1fr auto;
    gap:11px 16px;
    padding:12px 16px;
  }

  .site-header .site-brand {
    grid-column:1;
    grid-row:1;
  }

  .site-header .language-switch {
    grid-column:2;
    grid-row:1;
  }

  .site-header .site-primary-nav {
    grid-column:1 / -1;
    grid-row:2;
    justify-self:end;
    gap:18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}
