.pch-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(5, 3, 8, 0.98), rgba(5, 3, 8, 0.9));
  border-bottom: 1px solid var(--color-border-subtle);
  backdrop-filter: blur(18px);
}

.pch-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  gap: var(--space-4);
}

.pch-header__brand {
  display: flex;
  align-items: center;
}

.pch-header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.pch-header__logo::after {
  content: none;
}

.pch-header__logo-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: radial-gradient(circle at 30% 20%, #ffffff, #e5e7eb 35%, #020617 80%);
  color: #020617;
  box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--color-primary), var(--shadow-soft);
}

.pch-header__logo-text {
  display: flex;
  flex-direction: column;
}

.pch-header__logo-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pch-header__logo-subtitle {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
}

.pch-header__nav {
  display: flex;
}

.pch-header__nav-list {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.pch-header__nav-link {
  position: relative;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
}

.pch-header__nav-link::after {
  height: 3px;
  bottom: -0.4rem;
}

.pch-header__nav-link:hover {
  color: var(--color-teal);
}

.pch-header__nav-link:focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--shadow-outline-primary);
  border-radius: var(--radius-sm);
}

.pch-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
}

.pch-header__toggle-bar {
  width: 1.4rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.pch-header__toggle:focus-visible {
  box-shadow: var(--shadow-outline-primary);
}

@media (max-width: 900px) {
  .pch-header__toggle {
    display: inline-flex;
  }

  .pch-header__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(5, 3, 8, 0.98);
    border-bottom: 1px solid var(--color-border-subtle);
    transform-origin: top;
    transform: scaleY(1);
  }

  .pch-header__nav-list {
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-3);
  }

  .pch-header__nav-link {
    display: block;
  }

  .pch-header__nav--closed {
    display: none;
  }

  .pch-header__nav--open {
    display: block;
  }

  .pch-header__toggle.is-active .pch-header__toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .pch-header__toggle.is-active .pch-header__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .pch-header__toggle.is-active .pch-header__toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .pch-header__logo-subtitle {
    display: none;
  }
}
