/* header: thin bar, utility row with language switch, phone drawer.
   No JS: the nav stays visible and wraps under the logo. With JS
   (html.js) and under 960px the nav folds behind the Menu button. */
.s-header { background: var(--bg); color: var(--fg); }
.s-header__util {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-5);
  padding-top: var(--space-2);
  font-size: var(--fs-label);
}
.s-header__sup {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--fg-soft);
  font-weight: var(--fw-ui);
  letter-spacing: var(--ls-label);
  text-transform: var(--label-case);
  text-decoration: none;
}
.s-header__sup:hover { color: var(--fg); }
.s-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: var(--hairline) solid var(--rule);
}
.s-header__logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--fg);
}
.s-header__logo svg { height: 20px; width: auto; }
.s-header__nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); }
.s-header__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  min-width: var(--tap-min);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-ui);
  line-height: 1;
  letter-spacing: var(--ls-label);
  text-transform: var(--label-case);
  color: var(--fg);
  text-decoration: none;
}
.s-header__nav a:hover { color: var(--accent); }
.s-header__menu { display: none; }

@media (max-width: 959px) {
  .s-header__nav { flex-basis: 100%; }
  .s-header__nav ul { gap: 0 var(--space-5); }
  html.js .s-header__menu { display: inline-flex; min-height: var(--tap-min); }
  html.js .s-header__nav { display: none; }
  html.js .s-header__nav.is-open { display: block; padding-block: var(--space-3); }
  html.js .s-header__nav.is-open ul { flex-direction: column; }
  html.js .s-header__nav.is-open a { justify-content: flex-start; }
}
@media (min-width: 960px) {
  .s-header__logo svg { height: 22px; }
}
