.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(243, 239, 227, 0.9);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(243, 239, 227, 0.97);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-strong);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .brand {
  position: relative;
  min-height: 54px;
  padding: 5px 32px 5px 96px;
  gap: 12px;
  overflow: visible;
  isolation: isolate;
}

.site-header .brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 16px 9px 9px 16px;
  background: linear-gradient(135deg, #65783f 0%, #56682f 52%, #3f4e27 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
  box-shadow: 0 8px 20px rgba(39, 47, 24, 0.16);
}

.site-header .brand::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 18px;
  bottom: 3px;
  z-index: 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(208, 190, 126, 0.76);
  transform: skewX(-20deg);
}

.site-header .brand-mark {
  position: absolute;
  left: -2px;
  top: 50%;
  z-index: 2;
  width: 84px;
  height: 84px;
  transform: translateY(-50%);
}

.site-header .brand-text {
  position: relative;
  z-index: 1;
  width: 130px;
  transform: none;
  color: #f7f5ec;
  font-size: 16px;
  line-height: 1.08;
  font-weight: 700;
  white-space: normal;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-emblem {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--text-0);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  color: #303525;
}

.main-nav a {
  position: relative;
  transition: color 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent-soft);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--text-0);
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-header {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #f7f5ec;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}

.btn-header:hover {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

