.site-head {
  --ink: #1d1c1a;
  --muted: #6f6a63;
  --line: #e3dcd3;
  --dark: #242320;
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
.nav-wrap { width: min(calc(100% - 48px), 1120px); margin: 0 auto; }
.site-head .top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
}
.site-head .brand { justify-self: start; text-decoration: none; color: inherit; }
.site-head .brand span { display: block; font-weight: 650; letter-spacing: .08em; line-height: 1.1; }
.site-head .brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .16em;
}
.site-head .nav-desk { display: flex; justify-content: center; gap: 24px; }
.site-head .nav-desk a,
.site-head .nav-mobile a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.site-head .nav-desk a[aria-current="page"],
.site-head .nav-mobile a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.site-head .nav-desk a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.site-head .nav-desk a:hover,
.site-head .nav-mobile a:hover { color: var(--ink); }
.site-head .tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.site-head .menu-btn,
.site-head .nav-mobile { display: none; }
.site-head .nav-mobile[hidden] { display: none !important; }
.site-head .menu-btn {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: transparent;
  padding: 0 0 0 8px;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
}
.site-head .bars, .site-head .bars::before, .site-head .bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s;
}
.site-head .bars::before, .site-head .bars::after { content: ""; position: absolute; left: 0; }
.site-head .bars::before { top: -6px; }
.site-head .bars::after { top: 6px; }
.site-head .menu-btn.is-open .bars { background: transparent; }
.site-head .menu-btn.is-open .bars::before { transform: translateY(6px) rotate(45deg); }
.site-head .menu-btn.is-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-head .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--dark);
  border-radius: 999px;
  background: var(--dark);
  color: #f6f3ee;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .nav-wrap { width: min(calc(100% - 32px), 1120px); }
  .site-head .top { grid-template-columns: 1fr auto; min-height: 64px; }
  .site-head .nav-desk { display: none; }
  .site-head .btn { padding: 0 16px; }
  .site-head .menu-btn { display: inline-flex; }
  .site-head .nav-mobile { display: grid; gap: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
  .site-head .nav-mobile a { display: flex; align-items: center; min-height: 48px; font-size: 16px; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .site-head .bars, .site-head .bars::before, .site-head .bars::after { transition: none; } }
