/**
 * ============================================================================
 *  HEADER / NAV
 * ============================================================================
 *  Sticky top navigation bar.
 *  Brand on the leading edge, nav links centred, language pill on the
 *  trailing edge. Reflows to two rows on narrow screens.
 * ============================================================================
 */

.nh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 243, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58, 47, 52, 0.08);
}

.nh-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px clamp(16px, 5vw, 44px);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 14px;
}

.nh-brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  order: 1;
}

.nh-brand__name {
  font-family: var(--nh-serif);
  font-size: clamp(17px, 4.6vw, 21px);
  font-weight: 600;
  color: var(--nh-ink);
  letter-spacing: 0.2px;
}

.nh-brand__dot {
  color: var(--nh-plum);
  font-size: 22px;
  line-height: 0;
}

.nh-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 26px);
  order: 2;
  flex-basis: auto;
  justify-content: center;
}

.nh-nav__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nh-ink-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nh-nav__btn:hover {
  color: var(--nh-plum);
}

.nh-nav__btn--active {
  font-weight: 700;
  color: var(--nh-plum);
  border-bottom-color: var(--nh-plum);
}

.nh-lang-btn {
  border: 1px solid rgba(181, 103, 126, 0.4);
  background: #fff;
  color: var(--nh-ink-2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  order: 3;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nh-lang-btn:hover {
  background: var(--nh-blush);
  border-color: var(--nh-plum);
}

/* Mobile nav reflow */
@media (max-width: 719px) {
  .nh-nav {
    gap: 18px;
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }
  .nh-lang-btn {
    order: 2;
  }
}
