.brand-shell {
  position: relative;
  z-index: 1;
  max-width: var(--fx-shell-max);
  margin: 0 auto;
  padding: var(--fx-space-8) var(--fx-space-6);
}

.brand-topbar,
.brand-panel {
  background: rgba(248, 251, 255, 0.9);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl);
  box-shadow: var(--fx-shadow-lg);
  backdrop-filter: blur(18px);
}

html[data-theme='dark'] .brand-topbar,
html[data-theme='dark'] .brand-panel {
  background: rgba(18, 41, 51, 0.82);
  border-color: rgba(74, 116, 132, 0.55);
}

.brand-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fx-space-4);
  padding: var(--fx-space-4) var(--fx-space-6);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-wordmark strong {
  font-family: var(--fx-font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-wordmark span {
  color: var(--fx-text-muted);
  font-size: 0.85rem;
}

.brand-nav {
  display: flex;
  align-items: center;
  gap: var(--fx-space-4);
}

.brand-nav a {
  color: var(--fx-text-muted);
  text-decoration: none;
}

.brand-nav a:hover,
.brand-nav a[aria-current='page'] {
  color: var(--fx-text);
}

.brand-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .brand-menu-toggle {
    display: inline-flex;
  }

  .brand-nav {
    display: none;
  }

  .brand-nav.is-open {
    display: grid;
    gap: var(--fx-space-3);
    margin-top: var(--fx-space-4);
  }
}
