.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
  margin: 0;
  padding: 12px 5%;
  background: #ffffffed;
  border-bottom: 4px solid #68278a;
  backdrop-filter: blur(15px);
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #182c2b;
  text-decoration: none;
  font: bold 17px/1.35 Arial, sans-serif;
  letter-spacing: .04em;
}

.site-header .brand img {
  flex: none;
  width: 48px;
  height: 54px;
  object-fit: contain;
}

.site-header .brand small {
  display: block;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: .07em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 27px);
}

.site-header nav a {
  padding: 8px 0;
  color: #182c2b;
  text-decoration: none;
  white-space: nowrap;
  font: 15px/1.4 Arial, sans-serif;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: #68278a;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-header :is(a, button):focus-visible {
  outline: 3px solid #168968;
  outline-offset: 3px;
}

.site-header .menu-button { display: none; }

@media (max-width: 1150px) {
  .site-header { gap: 12px; padding: 10px 5%; }
  .site-header .brand { gap: 8px; font-size: 15px; }
  .site-header .brand img { width: 42px; height: 48px; }

  .site-header .menu-button {
    display: grid;
    place-items: center;
    flex: none;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid #dce7e2;
    border-radius: 6px;
    background: white;
    color: #006b45;
    font: 24px/1 Arial, sans-serif;
    cursor: pointer;
  }

  .site-header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: min(70dvh, 480px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 5% 14px;
    background: white;
    box-shadow: 0 12px 24px #0002;
  }

  .site-header nav.open { display: flex; }

  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 8px 10px;
    border-bottom: 1px solid #edf2ef;
    white-space: normal;
  }

  .site-header nav a:last-child { border-bottom: 0; }
}
