.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 76px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(139, 148, 160, 0.20);
  background:
    linear-gradient(180deg, rgba(18, 21, 25, 0.96), rgba(12, 14, 16, 0.94));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .nav-shell {
  width: min(1240px, calc(100% - clamp(32px, 5vw, 72px)));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text, var(--ink, #f2f4f7));
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}

.site-header .brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(215, 173, 85, 0.48);
  background: transparent;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 18px;
  flex-wrap: wrap;
  color: var(--muted, #a9b2bf);
  font-size: 14.5px;
  font-weight: 750;
}

.site-header .nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0 2px;
  color: var(--muted, #a9b2bf);
  text-decoration: none;
  transition: color 140ms ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"],
.site-header .brand[aria-current="page"] {
  color: var(--accent, #d7ad55);
}

.site-header .nav-links a[aria-current="page"] {
  text-decoration: none;
}

.site-header .nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(215, 173, 85, 0.72);
  box-shadow: 0 0 14px rgba(215, 173, 85, 0.20);
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    min-height: 0;
  }

  .site-header .nav-shell {
    min-height: 0;
    padding: 14px 0 16px;
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .site-header .nav-links {
    justify-content: center;
    gap: 4px 14px;
    font-size: 13.5px;
  }

  .site-header .brand img {
    width: 38px;
    height: 38px;
  }
}
