/* Shared header, hero photo and footer for content pages (planners, guest
   guide). It matches /reserve and /book: the logo and the site menu sit on a
   photo, the page title is set over it, and the footer is the dark band.

   Scoped to body.has-hero so it overrides each page's own plain header and
   footer rules without touching pages that do not opt in. Load it after the
   page's stylesheet and after /site-nav.css. */

.has-hero .site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--ohl-logo-top) clamp(1.25rem, 4vw, 4rem);
  border: 0;
  background: transparent;
  color: #fff;
}

.has-hero .brand {
  display: inline-flex;
  align-items: center;
}

.has-hero .brand-logo {
  display: block;
  width: auto;
  height: var(--ohl-logo-height);
  /* The logo art is dark ink. On the photo it is rendered white, as on the
     homepage menu before scrolling. */
  filter: brightness(0) invert(1);
}

.has-hero .header-call {
  padding: 0.75rem 1rem;
  border: 1px solid #146c3a;
  border-radius: 999px;
  color: #fff;
  font: 600 0.75rem/1.2 "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  background: #146c3a;
}
.has-hero .header-call:hover {
  background: #0f5a30;
  border-color: #0f5a30;
  color: #fff;
}
.has-hero .header-call:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

button.header-call {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
}


.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(27rem, 64vh, 38rem);
  overflow: hidden;
  background: #11251f;
  color: #fff;
}

.page-hero-image,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-image {
  object-fit: cover;
}

.page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 23, 18, 0.6), rgba(9, 23, 18, 0.4) 45%, rgba(9, 23, 18, 0) 75%),
    linear-gradient(90deg, rgba(9, 23, 18, 0.78), rgba(9, 23, 18, 0.2) 70%),
    linear-gradient(0deg, rgba(9, 23, 18, 0.78), rgba(9, 23, 18, 0.1) 60%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(9rem, 17vw, 12rem) clamp(1.25rem, 5vw, 4rem) clamp(2.25rem, 5vw, 3.75rem);
}

.page-hero .page-eyebrow {
  margin: 0 0 1rem;
  color: #f6d4b0;
  font: 600 0.73rem/1.4 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Same sizes and line-heights as the homepage hero heading at each
   breakpoint (tokens in site-brand.css). Typeface and weight stay. */
.page-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--ohl-hero-title-size);
  font-weight: 500;
  line-height: var(--ohl-hero-title-leading);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-hero h1 em {
  font-size: var(--ohl-hero-italic-size);
  line-height: var(--ohl-hero-italic-leading);
}

.page-hero-copy > p:not(.page-eyebrow) {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.65;
}

/* A row of venue photos between blocks of text. */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-strip img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.1rem;
  object-fit: cover;
}

/* The closing invitation: a photo beside a short prompt and two links. */
.page-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border-radius: 1.4rem;
  background: #1d3d34;
  color: #fff;
}

.page-cta img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  max-height: 23rem;
  object-fit: cover;
  object-position: center 40%;
}

.page-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.page-cta-copy .page-eyebrow {
  margin: 0;
  color: #f2c39e;
  font: 600 0.73rem/1.4 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-cta-copy h2 {
  margin: 0;
  color: #fff;
  font: 500 clamp(1.9rem, 4vw, 2.6rem) / 1.05 "Cormorant Garamond", Georgia, serif;
}

.page-cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}

.page-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.page-cta-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  font: 600 0.9rem/1 "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
}

.page-cta-links a:first-child {
  border-color: #146c3a;
  background: #146c3a; /* white text AA */
}
.page-cta-links a:first-child:hover {
  border-color: #0f5a30;
  background: #0f5a30;
  color: #fff;
}

.has-hero .site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 3.5rem max(1.25rem, calc((100vw - 1180px) / 2));
  border: 0;
  background: #11251f;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.has-hero .site-footer strong {
  display: block;
  color: #fff;
  font: 500 1.35rem/1.2 "Cormorant Garamond", Georgia, serif;
}

.has-hero .site-footer p {
  margin: 0.4rem 0 0;
}

.has-hero .site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.has-hero .site-footer a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-decoration: none;
}

.has-hero .site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .has-hero .site-header {
    align-items: flex-start;
  }

  .has-hero .header-call {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 25rem;
  }

  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-strip li:first-child {
    grid-column: 1 / -1;
  }

  .photo-strip li:first-child img {
    aspect-ratio: 16 / 9;
  }

  .page-cta {
    grid-template-columns: 1fr;
  }

  .page-cta img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}
