.site-header {
  position: sticky;
  z-index: 75;
  top: 0;
  border-bottom: 1px solid rgba(250, 248, 243, 0.13);
  background: rgba(14, 14, 13, 0.82);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 48px), 1180px);
  min-height: 68px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #faf8f3;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__brand-mark {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(250, 248, 243, 0.24);
  border-radius: 8px;
  background: #171715;
  color: #faf8f3;
  font-size: 15px;
  font-weight: 700;
}

.site-header__brand-mark::after {
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e4a43c;
  content: "";
}

.site-header__nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 28px);
  white-space: nowrap;
}

.site-header__nav a {
  margin: 0;
  color: rgba(250, 248, 243, 0.68);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] {
  color: #faf8f3;
}

.site-header__nav a:active {
  transform: translateY(1px);
}

.site-header__nav a:focus-visible,
.site-header__brand:focus-visible {
  outline: 2px solid #e4a43c;
  outline-offset: 4px;
}

.site-header__nav .site-header__cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: #faf8f3;
  color: #0e0e0d;
  font-weight: 650;
}

.site-header__nav .site-header__cta:hover {
  background: rgba(250, 248, 243, 0.9);
  color: #0e0e0d;
}

@media (max-width: 820px) {
  .site-header__secondary { display: none; }
  .site-header__nav { gap: 17px; }
}

@media (max-width: 640px) {
  .site-header__inner {
    width: min(calc(100% - 32px), 1180px);
    min-height: 62px;
    gap: 18px;
  }

  .site-header__nav {
    gap: 14px;
  }

  .site-header__nav a {
    font-size: 13px;
  }

  .site-header__contact,
  .site-header__cta {
    display: none;
  }
}

@media (max-width: 400px) {
  .site-header__brand-text { display: none; }
  .site-header__inner { gap: 14px; }
  .site-header__nav { gap: 13px; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #0e0e0d;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
