.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: #fffdf9f7;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px 16px 0;
  gap: 7px
}

.logo {
  display: block;
  line-height: 0
}

.brand-logo {
  width: 122px;
  height: auto
}

.site-header nav {
  width: 100%;
  max-width: 430px
}

.primary-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap
}

.primary-links>a,
.more-menu>summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 7px 9px;
  font-size: 11px;
  letter-spacing: .06em;
  font-weight: 600
}

.primary-links [aria-current=page],
.more-menu>summary.current {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px
}

.desktop-only {
  display: none
}

.more-menu {
  position: relative
}

.more-menu>summary {
  gap: 6px;
  list-style: none
}

.more-menu>summary::-webkit-details-marker {
  display: none
}

.more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 195px;
  padding: 7px;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 25px #493a341c
}

.more-panel a {
  display: block;
  padding: 12px 15px;
  font-size: 12px;
  min-height: 44px;
  border-radius: 3px
}

.more-panel a:hover,
.more-panel a[aria-current=page] {
  background: var(--soft);
  box-shadow: none
}

.more-panel a[aria-current=page] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px
}

@media(min-width:850px) {
.site-header {
    flex-direction: row;
    justify-content: space-between;
    padding: 18px 5%;
    gap: 30px;
    min-height: 88px
  }
.brand-logo {
    width: 160px
  }
.site-header nav {
    max-width: none;
    width: auto
  }
.primary-links {
    gap: 27px
  }
.primary-links>a {
    min-height: 44px;
    font-size: 11px;
    padding: 6px 0
  }
.desktop-only {
    display: flex;
    gap: 27px
  }
.desktop-only a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em
  }
.more-menu {
    display: none
  }
}

.more-menu>summary.current {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: calc(100% - 18px) 2px;
  background-position: center bottom 9px
}
