.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--ink);
}

.brand-mark {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.18em;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
}

.desktop-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 0.55rem 0.7rem;
  display: inline-block;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--gold-deep);
}

.has-sub {
  position: relative;
}

.has-sub > .submenu {
  position: absolute;
  left: 0;
  top: calc(100% - 0.2rem);
  min-width: 15rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s var(--ease);
  z-index: 20;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.45rem 1rem;
  white-space: nowrap;
}

.lang-switch {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-strong);
  padding: 0.28rem 0.55rem;
  color: var(--ink-soft);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 1200;
  background: var(--ink);
  color: var(--ivory);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.2rem 1.2rem 3.2rem;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.mobile-menu-close {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246, 241, 230, 0.35);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav a {
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  padding: 0.45rem 0;
}

.mobile-nav .sub a {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding-left: 0.8rem;
  color: var(--paper-deep);
  border: 1px solid;
  display: inline-block;
  margin: 5px;
  padding: 5px;
}

.site-main {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  background: #1a1612 center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 14, 0.28) 0%, rgba(22, 18, 14, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.2rem 3.4rem;
}

.hero-kicker {
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--gold-soft);
  margin-bottom: 0.8rem;
}

.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  letter-spacing: 0.12em;
  max-width: 18ch;
}

.hero p {
  max-width: 38rem;
  color: #efe6d4;
}

.page-hero {
  min-height: 42vh;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.2rem 1.2rem;
}

.section-narrow {
  max-width: 820px;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head .eyebrow {
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.prose p,
.prose li {
  font-size: 1.02rem;
}

.site-footer {
  background: var(--ink);
  color: #d8cfc0;
  padding: 3.2rem 1.2rem 1.6rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  gap: 1.8rem;
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer h2 {
  color: var(--ivory);
  font-size: 1.1rem;
}

.footer-copy {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(216, 207, 192, 0.18);
  padding-top: 1rem;
  font-size: 0.86rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 980px) {
  .desktop-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
