.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  background: rgba(11, 18, 29, 0.92);
  box-shadow: var(--brand-shadow);
  backdrop-filter: blur(16px);
}

.mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: 320px;
  height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  border-left: 1px solid var(--brand-border);
  background: var(--brand-bg-secondary);
  box-shadow: var(--brand-shadow);
}

.mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.nav-logo {
  width: auto;
  height: clamp(72px, 7vw, 96px);
}

.nav-logo-mark,
.mobile-drawer-logo {
  display: none;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  color: #fff;
  background: #50586b;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition-base);
}

.nav-pill:hover {
  background: #646d81;
}

.nav-pill.active {
  color: #08111d;
  background: #fff;
}

.nav-pill:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .nav-shell {
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-lg);
  }

  .nav-logo-full {
    display: block;
    height: clamp(74px, 11vw, 92px);
  }

  .nav-logo-mark {
    display: none;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .mobile-drawer-logo {
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: transparent;
  }

  .mobile-drawer-logo img {
    width: min(150px, 48vw);
    height: auto;
    object-fit: contain;
  }
}
