/* Sticky top navigation: brand on the left, account actions on the right */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
}
.nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-sm);
  min-height: 64px;
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
}
.nav__brand {
  display: flex;
  text-decoration: none;
}
/* Pushed right so the row keeps its shape when a long member menu wraps under the brand. */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}
.nav__actions a:not(.button) {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__actions a:not(.button):hover {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (min-width: 768px) {
  .nav__inner {
    min-height: 76px;
    padding-top: 0;
    padding-bottom: 0;
    gap: var(--space-lg);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-ink);
}
.logo__mark {
  flex: none;
  width: 40px;
  height: 40px;
}
.logo__name {
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
