.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: var(--surface-nav);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-nav);
}

.nav__brand,
.nav__gallery-link {
  text-decoration: none;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--font-weight-bold);
}

.nav__brand img {
  width: 7.5rem;
  height: auto;
}

.nav__meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__gallery-link {
  color: var(--text-brand);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--surface-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--border-focus);
}
