/*
 * Page hero: the one hero used on every designed page (markup: inc/hero.php).
 * Reference design: the Our Story hero. One size, ALL CAPS headings, the shared
 * ivory wash on the left, Home-style buttons.
 *
 * Some declarations use !important only to win over the Customizer typography
 * rules (letter-spacing on h1/p/buttons) and legacy page-wrapper rules.
 */
.hh-hero {
  --hh-hero-height: 540px;
  --hh-hero-pad-y: 55px;
  --hh-hero-pad-x: 5vw;
  --hh-hero-wash: linear-gradient(90deg, rgba(255, 251, 241, .97) 0%, rgba(255, 251, 241, .91) 19%, rgba(255, 251, 241, .68) 32%, rgba(255, 251, 241, .18) 49%, rgba(255, 251, 241, 0) 66%);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: var(--hh-hero-height);
  margin: 0;
  padding: var(--hh-hero-pad-y) var(--hh-hero-pad-x);
  overflow: hidden;
  background: var(--cream, var(--cream));
  color: var(--ink);
  font: 400 16px/1.68 var(--serif, Georgia, serif);
  text-align: left;
}
.hh-hero .hh-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hh-hero .hh-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hh-hero-wash);
  pointer-events: none;
}
.hh-hero .hh-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1460px;
  margin-inline: auto;
}
.hh-hero .hh-hero__content {
  max-width: 590px;
}

.hh-hero .hh-hero__kicker {
  margin: 0 0 12px;
  font: 400 15px/1.4 var(--serif, Georgia, serif);
  letter-spacing: .09em !important;
  text-transform: uppercase;
  color: var(--ink);
}
.hh-hero .hh-hero__title,
.hh-hero .hh-hero__subtitle {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: var(--hh-hero-title-font-size); /* typography.css */
  font-style: normal;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: .025em !important;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: none;
}
.hh-hero .hh-hero__subtitle {
  margin-bottom: 22px;
}
.hh-hero .hh-hero__rule {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 320px;
  margin: 0 0 22px;
  font: 400 20px/1 Georgia, serif;
  color: #82728a;
}
.hh-hero .hh-hero__rule::before,
.hh-hero .hh-hero__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #99849c;
}
.hh-hero .hh-hero__script {
  max-width: 450px; /* a little wider than the description (430px) */
  margin: 0 0 20px;
  font-family: var(--script, 'Ms Madi', 'URW Chancery L', 'Brush Script MT', cursive);
  font-size: clamp(28px, 2.8vw, 42px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0 !important;
  color: var(--ink);
}
.hh-hero .hh-hero__description {
  max-width: 430px;
  margin: 0;
  font: italic clamp(18px, 1.4vw, 24px)/1.45 var(--serif, Georgia, serif);
  color: var(--ink);
}
/* Headline-only heroes (no handwritten line): breathing room under the title. */
.hh-hero .hh-hero__title + .hh-hero__description,
.hh-hero .hh-hero__subtitle + .hh-hero__description {
  margin-top: 18px;
}
/* A second paragraph keeps the description style (typography review, 2026-10). */
.hh-hero .hh-hero__description + .hh-hero__description {
  margin-top: 14px;
}

.hh-hero .hh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hh-hero .hh-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--lavbtn);
  border-radius: 0;
  background: var(--lavbtn);
  color: var(--paper);
  font: 400 13px/1.4 var(--sans, Arial, Helvetica, sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.hh-hero .hh-hero__button:hover,
.hh-hero .hh-hero__button:focus-visible {
  background: var(--lavdark);
  border-color: var(--lavdark);
  color: var(--paper);
}
/* The light second button (.hh-hero__button--secondary) is styled with the other light buttons in buttons.css. */
.hh-hero .hh-hero__meta {
  margin: 14px 0 0;
  font: 400 12px/1.4 var(--sans, Arial, Helvetica, sans-serif);
  letter-spacing: .08em !important;
  text-transform: uppercase;
  color: var(--muted);
}

/* Optional handwritten note in the upper right, over the photo. (No image notes: pictures at
   the side don't work on the light hero wash.) */
.hh-hero .hh-hero__note {
  position: absolute;
  top: 45px;
  right: max(30px, calc((100vw - 1460px) / 2));
  z-index: 2;
  max-width: 180px;
  margin: 0;
  font: italic 400 clamp(1.4rem, 2.6vw, 2.45rem)/1.05 var(--script, 'Ms Madi', 'URW Chancery L', 'Brush Script MT', cursive);
  letter-spacing: 0 !important;
  text-align: center;
  color: var(--muted);
  transform: rotate(-8deg);
}

@media (max-width: 767px) {
  .hh-hero {
    --hh-hero-height: 500px;
    --hh-hero-pad-y: 40px;
    --hh-hero-pad-x: 23px;
    /* Phones: the text spans the whole photo, so the right side keeps more wash (A1, 2026-10). */
    --hh-hero-wash: linear-gradient(90deg, rgba(255, 251, 241, .96), rgba(255, 251, 241, .84) 60%, rgba(255, 251, 241, .45));
    --hh-hero-title-font-size: 34px;
  }
  .hh-hero .hh-hero__script { font-size: 28px; }
  .hh-hero .hh-hero__description { font-size: 17px; }
  .hh-hero .hh-hero__note { display: none; }
}

/* Tablets (768-1024px): the text column is wider than the desktop wash, so tablets use
   the phone wash (A1). Text sizes stay as on desktop. */
@media (min-width: 768px) and (max-width: 1024px) {
  .hh-hero {
    --hh-hero-wash: linear-gradient(90deg, rgba(255, 251, 241, .96), rgba(255, 251, 241, .84) 60%, rgba(255, 251, 241, .45));
  }
}
