/* Shared sticky site header — identical on every staging page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  align-self: flex-start;
  width: 100%;
  background: rgba(248, 246, 243, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 22, 20, 0.1);
}

.site-header-inner {
  position: relative;
  box-sizing: border-box;
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-brand {
  display: block;
  box-sizing: border-box;
  flex: 0 0 11.5rem;
  width: 11.5rem;
  min-width: 11.5rem;
  max-width: 11.5rem;
  text-decoration: none;
  color: #1a1614;
  line-height: 1;
  white-space: nowrap;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-synthesis: none;
}

.site-brand-name {
  font: inherit;
  letter-spacing: inherit;
}

.site-brand-vr {
  font: inherit;
  font-style: italic;
  font-weight: 500;
  font-size: 0.68em;
  letter-spacing: 0.06em;
  color: #8c2318;
  margin-left: 0.28em;
  vertical-align: baseline;
}

.site-nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #1a1614;
  padding: 0.35rem 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  flex-shrink: 0;
}

.site-nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-list a {
  display: inline;
  padding: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #5c554f;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-nav-list a:hover,
.site-nav-list a:focus-visible {
  color: #1a1614;
  outline: none;
}

.site-nav-list a[aria-current="page"] {
  color: #1a1614;
  text-decoration: underline;
  text-decoration-color: #8c2318;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1.5px;
}

/* Book page anchors — second sticky row, only present on book */
.site-header-sub {
  border-top: 1px solid rgba(26, 22, 20, 0.08);
}

.site-header-sub-inner {
  box-sizing: border-box;
  max-width: 1180px;
  height: 44px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-header-sub a {
  white-space: nowrap;
  color: #5c554f;
  text-decoration: none;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0;
}

.site-header-sub a:hover,
.site-header-sub a:focus-visible {
  color: #1a1614;
  outline: none;
}

/* Shared site footer */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.5rem 2.75rem;
  border-top: 1px solid rgba(26, 22, 20, 0.1);
  background: rgba(248, 246, 243, 0.72);
}

.site-footer-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.site-footer-legal,
.site-footer-note {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #7a726c;
}

.site-footer-legal {
  margin-bottom: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #5c554f;
}

.site-footer-note {
  font-size: 0.8rem;
  color: #8a817c;
}

@media (max-width: 760px) {
  .site-header-inner {
    height: 58px;
    padding: 0 1rem;
    flex-wrap: nowrap;
  }

  .site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  /* Overlay dropdown — does not change sticky header height */
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: rgba(248, 246, 243, 0.98);
    border-bottom: 1px solid rgba(26, 22, 20, 0.1);
    padding: 0.85rem 1rem 1rem;
    z-index: 41;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .site-header-sub-inner {
    padding: 0 1rem;
    justify-content: flex-start;
  }

  .site-header-sub a.opt {
    display: none;
  }
}
