.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: min(1400px, calc(100% - 64px));
  min-height: 70px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.wordmark-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-strong) 78%, var(--accent-soft) 22%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--surface-strong) 78%, transparent),
    0 5px 14px color-mix(in srgb, var(--accent) 10%, transparent);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.wordmark-mark::before {
  position: absolute;
  left: 7px;
  top: 7px;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 11px 0 0 var(--accent), 11px 11px 0 var(--accent);
  content: "";
}

.wordmark-mark::after {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-top: 1.5px solid color-mix(in srgb, var(--accent) 84%, var(--text));
  border-right: 1.5px solid color-mix(in srgb, var(--accent) 84%, var(--text));
  content: "";
}

.wordmark:hover .wordmark-mark {
  border-color: color-mix(in srgb, var(--accent) 68%, var(--line));
  background: color-mix(in srgb, var(--surface-strong) 62%, var(--accent-soft) 38%);
  transform: translateY(-1px);
}

.wordmark-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wordmark-name {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.wordmark-divider {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

.wordmark-descriptor {
  color: var(--text-soft);
  font-size: 0.77rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 180ms ease;
}

.wordmark:hover .wordmark-descriptor {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a,
.theme-toggle {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.theme-toggle:hover {
  color: var(--text);
}

.theme-toggle {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--surface);
  padding: 7px 11px;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

.theme-toggle:active {
  transform: translateY(1px);
}
