/* Shared inner pages — page hero, current nav link (redesign #nav) */

body.gallery-page,
body.inner-page {
  background: var(--cream);
  color: var(--ink);
}

/* Match sticky offsets to compact inner nav (not homepage 5.5rem token) */
body.gallery-page,
body.inner-page {
  --nav-height: 4.5rem;
}

body.gallery-page #nav,
body.inner-page #nav {
  background: rgba(20, 43, 37, 0.97);
  border-bottom: 1px solid rgba(200, 169, 110, 0.12);
  backdrop-filter: blur(12px);
}

@media (min-width: 901px) {
  body.gallery-page #nav,
  body.inner-page #nav {
    height: 4.5rem;
  }
}

@media (max-width: 900px) {
  body.gallery-page,
  body.inner-page {
    --nav-height: 3.65rem;
  }
  body.gallery-page #nav,
  body.inner-page #nav {
    height: auto;
    min-height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  }
}

.nav-links__primary a[aria-current="page"] {
  color: var(--gold-l);
}
.nav-links__primary a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-hero {
  position: relative;
  min-height: min(48vh, 28rem);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-offset) + 2.5rem) 5vw 4rem;
  background: var(--forest) center / cover no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 26, 22, 0.75) 0%, rgba(14, 26, 22, 0.35) 40%, rgba(14, 26, 22, 0.88) 100%),
    linear-gradient(105deg, rgba(14, 26, 22, 0.92) 0%, rgba(14, 26, 22, 0.4) 55%, transparent 100%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.page-hero__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-hero__eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}
.page-hero__title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 1rem;
}
.page-hero__title em {
  color: var(--gold-l);
  font-style: italic;
}
.page-hero__lead {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 300;
  max-width: 32rem;
  margin: 0;
}

@media (max-width: 900px) {
  .page-hero {
    min-height: min(42vh, 22rem);
    padding: calc(var(--nav-offset) + 1.75rem) 1.25rem 3rem;
  }
}
