/* ============================================================
   Landscapey — header.css
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 236, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 244, 236, 0.92);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 22px;
  height: 22px;
  color: var(--moss);
  flex-shrink: 0;
}
.logo span { line-height: 1; }
.logo-light { color: var(--paper); }
.logo-light .logo-mark { color: var(--sage-soft); }

.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 32px;
}
.site-nav a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease);
  padding: 6px 0;
}
.site-nav a:hover { opacity: 1; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-signin {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease);
}
.header-signin:hover { opacity: 1; }

.header-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  position: relative;
  padding: 0;
}
.header-burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s var(--ease);
}
.header-burger span:nth-child(1) { top: 15px; }
.header-burger span:nth-child(2) { top: 22px; }
.header-burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.header-burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.header-mobile {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.header-mobile[hidden] { display: none; }
.header-mobile a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
}
.header-mobile .btn-pill {
  align-self: flex-start;
  margin-top: 14px;
}
.header-mobile a:last-of-type { border-bottom: none; }

@media (max-width: 880px) {
  .site-nav, .header-signin { display: none; }
  .header-burger { display: block; }
  .header-cta .btn-pill { display: none; }
}
