.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffffff0;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #eee9e2;
}

.nav {
  width: min(1180px, 91vw);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 83px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 218px;
  height: 70px;
  object-fit: contain;
}

.links {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.25vw, 18px);
  font-size: 13px;
  font-weight: 700;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: #806038;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-proantic {
  display: block;
  width: 70px;
  height: auto;
  flex: none;
  padding: 3px 4px;
  border-radius: 3px;
  background: #22262d;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-icon, .nav-proantic, .nav-pill svg { transition: transform .18s ease; }
  .links a:hover :is(.nav-icon, .nav-proantic, svg),
  .links a:focus-visible :is(.nav-icon, .nav-proantic, svg) { transform: translateY(-2px); }
}

.links a:hover,
.links a[aria-current] {
  color: #806038;
}

.menu-button {
  display: none;
  background: none;
  border: 1px solid #e7e4df;
  border-radius: 6px;
  padding: 8px 12px;
}

.links .nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #be955c;
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}

.links .nav-pill:hover,
.links .nav-pill[aria-current="page"] {
  color: #fff;
  background: #22262d;
}

.nav-pill svg {
  width: 19px;
  height: 19px;
  flex: none;
}

@media (max-width: 1150px) {
  .nav { min-height: 74px; }
  .brand img { width: 168px; height: 59px; }
  .menu-button { display: block; }
  .links {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: #fff;
    padding: 18px 5vw 26px;
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    box-shadow: 0 14px 20px #0002;
  }
  .links.open { display: flex; }
}
