/* Header — sticky, fond blanc semi-transparent + blur. */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header__inner {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  height: var(--header-h);
  max-height: var(--header-h);
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: stretch;
  height: 100%;
  padding: 5px 0;
  margin: 0;
  box-sizing: border-box;
}
.brand img {
  height: 100%;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.97rem;
  padding: 0.55em 0.9em;
  border-radius: 6px;
  color: var(--ink);
  position: relative;
}
.nav a:hover {
  color: var(--marine);
  background: var(--bg-soft);
}
.nav a.is-active {
  color: var(--marine);
  font-weight: 700;
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.9em;
  right: 0.9em;
  bottom: -0.15em;
  height: 2px;
  background: var(--duck);
  border-radius: 2px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
  border-radius: 6px;
  line-height: 0;
}
.nav-toggle:hover { background: var(--bg-soft); color: var(--marine); }
.nav-toggle__icon { width: 26px; height: 26px; display: block; }

@media (max-width: 920px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
