.header{
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(251,247,243,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}

.brand-badge{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  box-shadow: 0 18px 50px rgba(122,92,77,.18);
}

.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-title span{
  font-size: 12px;
  color: rgba(31,27,22,.65);
  margin-top: 3px;
}

/* nav links */
.nav-links{
  list-style:none;
  display:flex;
  gap: 0;
  margin:0;
  padding:0;
  align-items:center;
}

.navlink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(31,27,22,.82);
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.navlink:hover{
  background: rgba(255,255,255,.70);
  transform: translateY(-1px);
}

.navlink.active{
  background: rgba(122,92,77,.10);
  border: 1px solid rgba(122,92,77,.12);
}

.caret{ width: 14px; height: 14px; opacity:.9; }

/* dots between nav items */
.nav-links li::before, .nav-links li::after{ content: none; }
.nav-links li:not(:last-child)::after{
  content: "•";
  margin: 0 12px;
  color: rgba(31,27,22,.35);
}

/* dropdown */
.nav-links > li[data-mobile-dropdown]{ position:relative; }
.dropdown{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(20,14,10,.12);
  padding: 10px;
  display:none;
}
.nav-links > li[data-mobile-dropdown]:hover .dropdown{
  display:block;
}
.dropdown a{
  display:block;
  padding: 10px 12px;
  border-radius: 14px;
}
.dropdown a:hover{
  background: rgba(122,92,77,.08);
}
.dropdown small{
  display:block;
  color: rgba(31,27,22,.62);
  margin-top: 2px;
}

/* mobile nav */
.nav-toggle{
  display:none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  padding: 10px 12px;
  cursor:pointer;
}
.bars{ display:grid; gap:4px; }
.bars span{
  width: 22px;
  height: 2px;
  background: rgba(31,27,22,.75);
  border-radius: 999px;
}

/* responsive */
@media(max-width: 900px){
  .nav-toggle{ display:inline-flex; }
  .nav-links{
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    background: rgba(251,247,243,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 12px 4vw 18px;
    flex-direction: column;
    align-items: stretch;
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links li:not(:last-child)::after{ content:none; } /* remove dots on mobile */
  .dropdown{
    position: static;
    display:none;
    box-shadow:none;
    margin-top: 8px;
  }
  .nav-links > li.open .dropdown{ display:block; }
  .nav-links > li[data-mobile-dropdown]:hover .dropdown{ display:none; }
}