.topbar {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 11, 7, 0.72);
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  color: var(--text-2);
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gain);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(140, 224, 172, 0.5);
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.55);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: var(--gold-hi);
}

.topbar .wa-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-weight: 600;
}

.topbar .wa-link svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-stuck {
  background: rgba(8, 7, 6, 0.84);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(120%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 78px;
  transition: min-height 0.35s var(--ease);
}

.is-stuck .nav {
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(240, 160, 75, 0.22), 0 8px 26px rgba(212, 119, 34, 0.22);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 0 1px rgba(240, 160, 75, 0.5), 0 10px 34px rgba(212, 119, 34, 0.35);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name b {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-name span {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.87rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}