.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand-text span {
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--teal);
}

.search-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

.search-toggle svg,
.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.menu-toggle {
  display: none;
}

.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 16px 0 20px;
}

.search-panel.is-open {
  display: block;
}

.search-panel form {
  display: flex;
  gap: 10px;
}

.search-panel input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 1rem;
}

.search-panel button {
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.search-panel button:hover {
  background: var(--teal-hover);
}
