.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  color: #fffdf8;
  background: rgba(21, 26, 24, 0.68);
  backdrop-filter: blur(16px);
  transition: background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(21, 26, 24, 0.94);
  border-bottom-color: rgba(255, 253, 248, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.site-header .nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .brand {
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: rgba(255, 253, 248, 0.94);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 850;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.28);
}

.site-header .nav-links > a {
  color: inherit;
  text-decoration: none;
}

.site-header .nav-links > a[aria-current="page"] {
  color: #dca84d;
}

.site-header .search-shell {
  display: block;
  margin-left: 0;
}

.site-header .nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.08);
  color: #fffdf8;
  cursor: pointer;
}

.site-header .nav-toggle span,
.site-header .nav-toggle::before,
.site-header .nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header .nav-toggle span {
  position: relative;
}

.site-header .nav-toggle::before {
  position: absolute;
  transform: translateY(-6px);
}

.site-header .nav-toggle::after {
  position: absolute;
  transform: translateY(6px);
}

.site-header.nav-open .nav-toggle span {
  opacity: 0;
}

.site-header.nav-open .nav-toggle::before {
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle::after {
  transform: rotate(-45deg);
}

.site-header .nav-contact {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, 0.94);
  border-radius: 6px;
  padding: 0 20px;
  background: #dca84d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  color: #16120c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

.site-header .nav-contact:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .site-header .nav {
    width: min(100% - 28px, 1120px);
  }

  .site-header .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-header .nav-links {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 10px;
    border: 1px solid rgba(255, 253, 248, 0.18);
    border-radius: 8px;
    background: rgba(21, 26, 24, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .site-header .nav-links > a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-header .nav-links > a:hover {
    background: rgba(255, 253, 248, 0.08);
  }

  .site-header .nav-links .search-shell {
    margin: 8px 4px 4px;
  }
}

@media (max-width: 560px) {
  .site-header .nav {
    height: 64px;
  }

  .site-header .brand {
    font-size: 18px;
  }

  .site-header .nav-contact {
    display: none;
  }

  .site-header .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .site-header .nav-links {
    top: 64px;
  }
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
