/* =============================================================================
   MPNHA Heritage — design system
   Earthdiver-baseline look, elevated: full-bleed photo hero with a transparent
   overlay nav, huge soft-serif display headlines (Fraunces ~ Roca), rust
   accent #B05B22, saddle-brown footer #7D400A, Libre Franklin UI type.
   Tokens can be overridden by the Customizer (see inc/assets.php).
   ========================================================================== */

:root {
  --mpnha-ink: #212529;
  --mpnha-ink-soft: #514a42;
  --mpnha-paper: #ffffff;
  --mpnha-cream: #f7f1e4;
  --mpnha-cream-2: #efe5d1;
  --mpnha-card: #ffffff;
  --mpnha-rust: #b05b22;
  --mpnha-rust-dark: #8a4315;
  --mpnha-brown: #7d400a;
  --mpnha-brown-deep: #5d2f06;
  --mpnha-gold: #c0873a;
  --mpnha-line: #e4dac7;

  /* Back-compat aliases used by older component rules */
  --mpnha-earth: var(--mpnha-rust);
  --mpnha-earth-deep: var(--mpnha-brown);
  --mpnha-sage: #55603f;
  --mpnha-paper-2: var(--mpnha-cream);

  --mpnha-max: 75rem;      /* 1200px content rail */
  --mpnha-wide: 90rem;     /* 1440px wide sections */
  --mpnha-gutter: clamp(1rem, 4vw, 2.5rem);
  --mpnha-radius: 10px;
  --mpnha-radius-lg: 16px;
  --mpnha-shadow: 0 1px 2px rgba(33, 37, 41, 0.06), 0 8px 24px rgba(33, 37, 41, 0.08);
  --mpnha-shadow-lift: 0 6px 14px rgba(33, 37, 41, 0.12), 0 18px 44px rgba(33, 37, 41, 0.14);

  --mpnha-font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mpnha-font-body: "Libre Franklin", "Segoe UI", system-ui, -apple-system, sans-serif;

  --mpnha-header-h: 6.5rem;
  --mpnha-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--mpnha-ink);
  background-color: var(--mpnha-paper);
  font-family: var(--mpnha-font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--mpnha-font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.08;
  color: var(--mpnha-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--mpnha-rust); text-underline-offset: 0.15em; transition: color 0.2s var(--mpnha-ease); }
a:hover, a:focus-visible { color: var(--mpnha-rust-dark); }

:focus-visible { outline: 3px solid var(--mpnha-rust); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute;
  left: -999px; top: 0; z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--mpnha-ink); color: #fff; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Layout rails ---------- */

.mpnha-wrap { width: min(100% - 2 * var(--mpnha-gutter), var(--mpnha-max)); margin-inline: auto; }
.mpnha-wrap--wide { width: min(100% - 2 * var(--mpnha-gutter), var(--mpnha-wide)); }

.site-main { padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.section { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.section--sage,
.section--cream { background: var(--mpnha-cream); }
.section--earth { background: var(--mpnha-brown); color: #f7efe2; }
.section--earth h2, .section--earth h3 { color: #fff; }
.section__head { max-width: 50rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section__eyebrow {
  font: 700 0.82rem/1 var(--mpnha-font-body);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mpnha-rust); margin: 0 0 0.7rem;
}
.section--earth .section__eyebrow { color: #eec089; }
.section__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); margin: 0 0 0.6rem; }
.section__lede { font-size: 1.12rem; color: var(--mpnha-ink-soft); margin: 0; }
.section--earth .section__lede { color: #f0e3cf; }

/* Giant Earthdiver-style display headline */
.display-title {
  font-family: var(--mpnha-font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 900;
  font-size: clamp(2.4rem, 1.2rem + 5.2vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--mpnha-ink);
  margin: 0;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font: 700 0.95rem/1 var(--mpnha-font-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--mpnha-radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s var(--mpnha-ease), background-color 0.2s var(--mpnha-ease), color 0.2s var(--mpnha-ease), box-shadow 0.2s var(--mpnha-ease);
}
.btn--primary { background: var(--mpnha-rust); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--mpnha-rust-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--mpnha-shadow); }
.btn--ghost { border-color: currentColor; color: var(--mpnha-rust); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(176, 91, 34, 0.08); }
.btn--gold { background: var(--mpnha-gold); color: #2c1c0d; }
.btn--gold:hover, .btn--gold:focus-visible { background: #d49a4c; color: #2c1c0d; transform: translateY(-1px); box-shadow: var(--mpnha-shadow); }
.btn--on-dark { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--on-dark:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--mpnha-line);
  transition: box-shadow 0.25s var(--mpnha-ease), background-color 0.3s var(--mpnha-ease), border-color 0.3s var(--mpnha-ease);
}
.site-header.is-scrolled { box-shadow: var(--mpnha-shadow); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--mpnha-header-h); padding-block: 0.65rem;
}
.site-branding { display: flex; align-items: center; gap: 0.9rem; }
.site-branding__logo img,
.custom-logo { max-height: 5.25rem; width: auto; filter: drop-shadow(0 1px 6px rgba(0,0,0,0.18)); }
.site-branding__nps { max-height: 3.4rem; width: auto; opacity: 0.95; }

/* Transparent overlay header on the front page, Earthdiver style */
.home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.home .site-header:not(.is-scrolled) .primary-nav > .primary-nav__list > li > a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.home .site-header:not(.is-scrolled) .header-phone { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.home .site-header:not(.is-scrolled) .header-search-toggle { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
.home .site-header:not(.is-scrolled) .nav-toggle { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
.home .site-header:not(.is-scrolled) .nav-toggle__bars::before,
.home .site-header:not(.is-scrolled) .nav-toggle__bars::after,
.home .site-header:not(.is-scrolled) .nav-toggle__bars span { background: #fff; }
.home .site-header.is-scrolled { background: #fff; border-bottom-color: var(--mpnha-line); }

.header-tools { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 700; color: var(--mpnha-rust); text-decoration: none; white-space: nowrap; letter-spacing: 0.02em; }
.header-search-toggle {
  border: 1px solid var(--mpnha-line); background: #fff;
  width: 2.7rem; height: 2.7rem; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center; color: var(--mpnha-rust);
  transition: background-color 0.2s var(--mpnha-ease), color 0.2s var(--mpnha-ease);
}
.header-search-toggle:hover { background: var(--mpnha-cream); }

/* Primary nav: uppercase Franklin, Earthdiver weights, dropdown panels */
.primary-nav__list { display: flex; flex-wrap: wrap; gap: 0.1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav a {
  display: inline-block; text-decoration: none;
  font: 700 0.95rem/1.25 var(--mpnha-font-body);
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--mpnha-ink); padding: 0.6rem 0.75rem; border-radius: 8px;
  transition: color 0.2s var(--mpnha-ease), background-color 0.2s var(--mpnha-ease);
}
.primary-nav > .primary-nav__list > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a { color: var(--mpnha-rust); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; margin-left: 0.4rem; vertical-align: 0.15em;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 17rem;
  background: #fff; border: 1px solid var(--mpnha-line); border-radius: 12px;
  box-shadow: var(--mpnha-shadow-lift); padding: 0.6rem; list-style: none; margin: 0.35rem 0 0;
  display: none; z-index: 20;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; animation: mpnha-fade 0.18s var(--mpnha-ease); }
.primary-nav .sub-menu a {
  display: block; padding: 0.55rem 0.8rem;
  color: var(--mpnha-rust); font-size: 0.85rem; letter-spacing: 0.06em;
}
.primary-nav .sub-menu a:hover { background: var(--mpnha-cream); color: var(--mpnha-rust-dark); }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  border: 1px solid var(--mpnha-line); background: #fff;
  padding: 0.55rem 0.9rem; border-radius: 8px; font: 700 0.9rem/1 var(--mpnha-font-body);
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; color: var(--mpnha-ink);
}
.nav-toggle__bars { width: 20px; height: 14px; position: relative; display: inline-block; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--mpnha-ink); transition: transform 0.25s var(--mpnha-ease), opacity 0.2s; }
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 6px; }
.nav-toggle__bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Site search drawer ---------- */

.site-search { display: none; border-top: 1px solid var(--mpnha-line); background: #fff; }
.site-search.is-open { display: block; animation: mpnha-fade 0.25s var(--mpnha-ease); }
.site-search__inner { padding-block: 1.25rem; }
.site-search__form { display: flex; gap: 0.6rem; }
.site-search__input { flex: 1; padding: 0.8rem 1rem; border: 1px solid var(--mpnha-line); border-radius: 10px; font-size: 1.05rem; background: var(--mpnha-cream); }
.site-search__results { margin-top: 1rem; display: grid; gap: 0.6rem; }
.search-hit { display: block; padding: 0.85rem 1rem; border: 1px solid var(--mpnha-line); border-radius: 10px; text-decoration: none; background: #fff; transition: box-shadow 0.2s var(--mpnha-ease), transform 0.2s var(--mpnha-ease); }
.search-hit:hover { box-shadow: var(--mpnha-shadow); transform: translateY(-1px); }
.search-hit__type { font: 700 0.7rem/1 var(--mpnha-font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mpnha-rust); }
.search-hit__title { font-family: var(--mpnha-font-display); font-size: 1.15rem; color: var(--mpnha-ink); margin: 0.15rem 0; }
.search-hit__excerpt { margin: 0; font-size: 0.95rem; color: var(--mpnha-ink-soft); }
.site-search__empty { color: var(--mpnha-ink-soft); }
.site-search__empty a { font-weight: 600; }

@keyframes mpnha-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero: full-viewport photo, Earthdiver style ---------- */

.hero {
  position: relative; color: #fff;
  background: var(--mpnha-brown-deep);
}
.hero__slides { position: relative; height: clamp(30rem, 100svh, 68rem); }
.hero--short .hero__slides { height: clamp(18rem, 52svh, 34rem); }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s var(--mpnha-ease);
  transform: scale(1.02);
}
.hero__slide.is-active { opacity: 1; animation: mpnha-hero-drift 9s var(--mpnha-ease) forwards; }
@keyframes mpnha-hero-drift { from { transform: scale(1.06); } to { transform: scale(1.0); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active { animation: none; transform: none; } }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 12, 5, 0.35) 0%, rgba(18, 12, 5, 0) 30%, rgba(18, 12, 5, 0) 60%, rgba(18, 12, 5, 0.45) 100%);
}
.hero__overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding-bottom: clamp(2.5rem, 7vh, 5.5rem);
}
.hero__content { max-width: 44rem; }
.hero__eyebrow { font: 700 0.85rem/1 var(--mpnha-font-body); letter-spacing: 0.2em; text-transform: uppercase; color: #ffd9ae; margin: 0 0 0.75rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); margin: 0 0 0.85rem; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hero__lede { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); margin: 0 0 1.5rem; color: #f6efe3; max-width: 36rem; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__dots { position: absolute; bottom: 1.1rem; left: 0; right: 0; z-index: 3; display: flex; gap: 0.55rem; justify-content: center; }
.hero__dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; transition: background-color 0.2s; }
.hero__dot.is-active { background: #fff; }
.hero__scroll {
  position: absolute; bottom: 2.6rem; left: 50%; transform: translateX(-50%); z-index: 3;
  color: #fff; border: 0; background: transparent; cursor: pointer; opacity: 0.85;
  animation: mpnha-bob 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 2.2rem; height: 2.2rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
@keyframes mpnha-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }

/* ---------- Home intro: giant headline on white ---------- */

.home-intro { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2rem, 5vw, 4rem); text-align: center; }
.home-intro .display-title { margin-inline: auto; max-width: 22ch; }
.home-intro__lede { max-width: 46rem; margin: 1.5rem auto 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--mpnha-ink-soft); }

/* ---------- District ovals (Earthdiver signature) ---------- */

/*
 * Wrapping flex row instead of a fixed-count grid: each oval keeps its exact
 * 10:14 shape at every viewport, shrinking between min/max and wrapping to a
 * centered new row when it can't. No breakpoint jumps, no squished ellipses.
 */
.district-ovals {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.district-oval {
  position: relative; display: block;
  flex: 1 1 0;
  min-width: clamp(8.5rem, 26vw, 10.5rem);
  max-width: 15rem;
  aspect-ratio: 10 / 14; border-radius: 50%; overflow: hidden; text-decoration: none;
  box-shadow: var(--mpnha-shadow);
  transition: transform 0.3s var(--mpnha-ease), box-shadow 0.3s var(--mpnha-ease);
}
.district-oval img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--mpnha-ease); }
.district-oval::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.district-oval:hover { transform: translateY(-6px); box-shadow: var(--mpnha-shadow-lift); }
.district-oval:hover img { transform: scale(1.06); }
.district-oval__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #fff; color: var(--mpnha-ink);
  font: 700 clamp(0.7rem, 0.55rem + 0.5vw, 0.95rem)/1.35 var(--mpnha-font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  max-width: 88%; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* ---------- Cards & grids ---------- */

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  background: var(--mpnha-card); border: 1px solid var(--mpnha-line);
  border-radius: var(--mpnha-radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s var(--mpnha-ease), box-shadow 0.22s var(--mpnha-ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--mpnha-shadow-lift); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mpnha-cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--mpnha-ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__eyebrow { font: 700 0.72rem/1 var(--mpnha-font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mpnha-rust); }
.card__title { font-size: 1.3rem; margin: 0; }
.card__title a { text-decoration: none; color: var(--mpnha-ink); }
.card__title a:hover { color: var(--mpnha-rust); }
.card__text { margin: 0; color: var(--mpnha-ink-soft); font-size: 0.97rem; }
.card__more { margin-top: auto; font-weight: 700; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }
.card__more::after { content: " \2192"; }

/* ---------- Story / intro block ---------- */

.story { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.story__body p { font-size: 1.12rem; }
.story__quote { font-family: var(--mpnha-font-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); line-height: 1.3; color: var(--mpnha-rust); border-left: 4px solid var(--mpnha-rust); padding-left: 1.25rem; margin: 0; font-weight: 600; }
.story__quote cite { display: block; font-family: var(--mpnha-font-body); font-size: 0.95rem; font-style: normal; color: var(--mpnha-ink-soft); margin-top: 0.6rem; }
.story__media img { border-radius: var(--mpnha-radius-lg); box-shadow: var(--mpnha-shadow); }

/* ---------- Discovery Road ---------- */

.dr-featured { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: 1.4fr 1fr; align-items: start; }
.dr-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--mpnha-radius-lg); overflow: hidden; box-shadow: var(--mpnha-shadow-lift); background: #000; }
.dr-embed iframe, .dr-embed img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.dr-embed__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,0.25); cursor: pointer; border: 0; color: #fff; }
.dr-embed__play svg { width: 4.5rem; height: 4.5rem; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5)); }

.dr-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.dr-chip {
  border: 1px solid var(--mpnha-line); background: #fff; color: var(--mpnha-ink);
  padding: 0.5rem 1rem; border-radius: 999px; font: 700 0.85rem/1 var(--mpnha-font-body);
  letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
  transition: background-color 0.2s var(--mpnha-ease), color 0.2s var(--mpnha-ease), border-color 0.2s;
}
.dr-chip:hover { border-color: var(--mpnha-rust); color: var(--mpnha-rust); }
.dr-chip.is-active { background: var(--mpnha-rust); color: #fff; border-color: var(--mpnha-rust); }

/* Dark full-width showcase on the home page: the series is the flagship. */
.dr-showcase { background: linear-gradient(180deg, #2c1c0d 0%, #3d2a1b 100%); color: #f3ecdf; }
.dr-showcase__head { text-align: center; max-width: 52rem; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); }
.dr-showcase__title { color: #fff; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.5rem); margin: 0.35rem 0 0.75rem; }
.dr-showcase__lede { color: #e6d7bf; font-size: 1.1rem; margin: 0 auto; max-width: 44rem; }
.section__eyebrow--gold { color: var(--mpnha-gold); }
.dr-showcase .dr-embed--hero { max-width: 62rem; margin-inline: auto; }
.dr-showcase__grid { margin-top: clamp(2rem, 4vw, 3rem); }
.dr-showcase .card { border-color: transparent; }

/* Larger hero-style embed used on the home page and the DR library */
.dr-embed--hero { border-radius: calc(var(--mpnha-radius-lg) + 4px); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35); }
.dr-embed--hero .dr-embed__play svg { width: 6rem; height: 6rem; }

/* DR library: featured player + meta row */
.page-hero--slim { padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem); }
.dr-hero-player { margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.dr-hero-player__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
  padding: 1rem 0.25rem 0;
}
.dr-hero-player__label {
  font: 700 0.78rem/1 var(--mpnha-font-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--mpnha-rust); padding: 0.4rem 0.8rem; border-radius: 999px;
}
.dr-hero-player__title { margin: 0; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); flex: 1; min-width: 14rem; }

/* Collapsible series story so the videos stay the heroes */
.dr-about {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  border: 1px solid var(--mpnha-line); border-radius: var(--mpnha-radius-lg);
  background: var(--mpnha-cream); overflow: hidden;
}
.dr-about summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; padding: 1.05rem 1.5rem;
  font: 700 0.95rem/1 var(--mpnha-font-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mpnha-rust);
}
.dr-about summary::-webkit-details-marker { display: none; }
.dr-about summary svg { width: 1.25rem; height: 1.25rem; transition: transform 0.25s var(--mpnha-ease); flex: none; }
.dr-about[open] summary svg { transform: rotate(180deg); }
.dr-about__body {
  display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: 1.5fr 1fr;
  padding: 0.25rem 1.5rem 1.5rem; align-items: start;
}
.dr-about__body p + p { margin-top: 0.9rem; }
.dr-outro { margin-top: 2.5rem; text-align: center; color: var(--mpnha-ink-soft); font-size: 0.95rem; }

@media (max-width: 820px) {
  .dr-about__body { grid-template-columns: 1fr; }
}

.episode-card__media { position: relative; aspect-ratio: 16 / 9; }
.episode-card__badge { position: absolute; bottom: 0.5rem; right: 0.5rem; background: rgba(18, 12, 5, 0.85); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.18rem 0.5rem; border-radius: 6px; }
.episode-card__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity 0.2s var(--mpnha-ease); background: rgba(0,0,0,0.25); }
.card:hover .episode-card__play { opacity: 1; }
.episode-card__play svg { width: 3rem; height: 3rem; }

/* ---------- Best of State / recognition ---------- */

.awards { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.awards__badge { max-width: 8rem; }
.awards__text { flex: 1; min-width: 16rem; }

.awards-head { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.awards-head__badge { width: clamp(6rem, 10vw, 8.75rem); height: auto; flex: none; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18)); }
.awards-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.award-card {
  position: relative; background: #fff; border: 1px solid var(--mpnha-line);
  border-radius: var(--mpnha-radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--mpnha-shadow);
}
.award-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px;
  background: linear-gradient(180deg, var(--mpnha-gold), var(--mpnha-rust));
  border-radius: var(--mpnha-radius-lg) 0 0 var(--mpnha-radius-lg);
}
.award-card__year {
  display: inline-block; font: 700 0.78rem/1 var(--mpnha-font-body);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mpnha-rust);
  background: rgba(192, 135, 58, 0.14); padding: 0.4rem 0.8rem; border-radius: 999px;
  margin-bottom: 0.9rem;
}
.award-card__title { margin: 0 0 0.75rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.award-card p { color: var(--mpnha-ink-soft); }
.award-card .card__more { margin-top: 1rem; display: inline-block; }
.awards-head__more { margin-top: 0.85rem; }

/* Best of State dedicated page: dark gold hero + vertical timeline */
.bos-hero {
  position: relative; overflow: hidden; color: #f6efe2;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(192, 135, 58, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(176, 91, 34, 0.22), transparent 50%),
    linear-gradient(160deg, #2a1808 0%, #5d2f06 48%, #3d220c 100%);
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2.75rem, 6vw, 4.5rem);
}
.bos-hero__glow {
  position: absolute; inset: auto -10% -30% auto; width: min(42rem, 70vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232, 196, 120, 0.18), transparent 65%);
  pointer-events: none;
}
.bos-hero .breadcrumbs { color: rgba(246, 239, 226, 0.7); margin-bottom: 1.25rem; }
.bos-hero .breadcrumbs a { color: #e8c478; }
.bos-hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: minmax(0, 1.4fr) minmax(10rem, 16rem);
}
.bos-hero__eyebrow {
  margin: 0 0 0.75rem; font: 700 0.8rem/1 var(--mpnha-font-body);
  letter-spacing: 0.16em; text-transform: uppercase; color: #e8c478;
}
.bos-hero h1 {
  margin: 0 0 1rem; color: #fff;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.2rem); font-weight: 900; line-height: 0.98;
}
.bos-hero__lede { margin: 0; max-width: 36rem; color: rgba(246, 239, 226, 0.88); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); }
.bos-hero__years {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.bos-hero__years a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 4.5rem; padding: 0.65rem 1rem;
  border: 1px solid rgba(232, 196, 120, 0.45); border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s var(--mpnha-ease), border-color 0.2s var(--mpnha-ease), transform 0.2s var(--mpnha-ease);
}
.bos-hero__years a:hover, .bos-hero__years a:focus-visible {
  background: rgba(232, 196, 120, 0.18); border-color: #e8c478; transform: translateY(-2px);
}
.bos-hero__medal { margin: 0; justify-self: end; }
.bos-hero__medal img {
  width: min(100%, 15rem); height: auto; margin-inline: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
  animation: bos-medal-float 7s ease-in-out infinite;
}
@keyframes bos-medal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .bos-hero__medal img { animation: none; }
}

.bos-page { background: var(--mpnha-cream); }
.bos-intro { padding-block: clamp(2rem, 5vw, 3.25rem); }
.bos-intro p {
  margin: 0 auto; max-width: 42rem; text-align: center;
  color: var(--mpnha-ink-soft); font-size: 1.12rem;
}

.bos-timeline { position: relative; padding-block: 0.5rem clamp(3rem, 7vw, 5rem); }
.bos-timeline .mpnha-wrap--wide { position: relative; display: grid; gap: clamp(2.25rem, 5vw, 3.75rem); }
.bos-timeline__rail {
  position: absolute; left: 50%; top: 1rem; bottom: 1rem; width: 2px;
  background: linear-gradient(180deg, transparent, var(--mpnha-gold), var(--mpnha-rust), transparent);
  transform: translateX(-50%); opacity: 0.45; pointer-events: none;
}
.bos-award {
  position: relative; z-index: 1; display: grid; gap: clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: minmax(8rem, 14rem) minmax(0, 32rem);
  align-items: center; width: min(100%, 52rem);
  margin-inline: 0 auto 0 0;
}
.bos-award--flip {
  margin-inline: auto 0 0 auto;
  grid-template-columns: minmax(0, 32rem) minmax(8rem, 14rem);
}
.bos-award--flip .bos-award__year { order: 2; text-align: left; }
.bos-award--flip .bos-award__card { order: 1; }
.bos-award::after {
  content: ""; position: absolute; top: 50%; width: 0.85rem; height: 0.85rem;
  border-radius: 50%; background: var(--mpnha-gold);
  box-shadow: 0 0 0 6px rgba(192, 135, 58, 0.18);
  right: -0.5rem; transform: translate(50%, -50%);
}
.bos-award--flip::after { right: auto; left: -0.5rem; transform: translate(-50%, -50%); }
.bos-award__year {
  font-family: var(--mpnha-font-display); font-weight: 900;
  font-size: clamp(3.75rem, 2.2rem + 5vw, 7rem); line-height: 0.85;
  letter-spacing: -0.03em; color: transparent; text-align: right;
  background: linear-gradient(165deg, #d4a24f 10%, #8a4315 80%);
  -webkit-background-clip: text; background-clip: text;
}
.bos-award__card {
  position: relative; background: #fff;
  border: 1px solid var(--mpnha-line); border-radius: var(--mpnha-radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--mpnha-shadow-lift);
}
.bos-award__card::before {
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--mpnha-gold), var(--mpnha-rust));
}
.bos-award--film .bos-award__card::before { background: linear-gradient(90deg, #8a4315, #c0873a); }
.bos-award--horse .bos-award__card::before { background: linear-gradient(90deg, #55603f, #c0873a); }
.bos-award--learn .bos-award__card::before { background: linear-gradient(90deg, #b05b22, #5d2f06); }
.bos-award__category {
  margin: 0.35rem 0 0.65rem; font: 700 0.78rem/1 var(--mpnha-font-body);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mpnha-rust);
}
.bos-award__title { margin: 0 0 0.85rem; font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.15rem); }
.bos-award__body { margin: 0 0 1.35rem; color: var(--mpnha-ink-soft); max-width: 38rem; }

.bos-close {
  background: var(--mpnha-brown-deep); color: #f6efe2;
  padding-block: clamp(2.75rem, 6vw, 4.5rem); text-align: center;
}
.bos-close h2 { color: #fff; margin: 0 0 0.75rem; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.bos-close p { margin: 0 auto 1.5rem; max-width: 34rem; color: rgba(246, 239, 226, 0.85); }
.bos-close__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.bos-close .btn--ghost { color: #e8c478; border-color: rgba(232, 196, 120, 0.55); }
.bos-close .btn--ghost:hover { background: rgba(232, 196, 120, 0.12); color: #fff; }
.bos-close .btn--primary { background: #c0873a; }
.bos-close .btn--primary:hover { background: #a8702c; }

@media (max-width: 900px) {
  .bos-hero__grid { grid-template-columns: 1fr; }
  .bos-hero__medal { justify-self: center; order: -1; }
  .bos-hero__medal img { width: 9.5rem; }
  .bos-timeline__rail { left: 1.15rem; transform: none; }
  .bos-award,
  .bos-award--flip {
    grid-template-columns: 1fr; width: 100%; margin-inline: 0; padding-left: 2rem;
  }
  .bos-award--flip .bos-award__year,
  .bos-award--flip .bos-award__card { order: unset; }
  .bos-award__year { text-align: left; font-size: clamp(2.75rem, 12vw, 4rem); }
  .bos-award::after,
  .bos-award--flip::after {
    left: 0.85rem; right: auto; top: 1.6rem; transform: translate(-50%, 0);
  }
}

/* ---------- Equestrian page ---------- */

.eq-hero { position: relative; }
.eq-hero img { width: 100%; max-height: 30rem; object-fit: cover; border-radius: var(--mpnha-radius-lg); }
.eq-features { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.eq-feature { background: #fff; border: 1px solid var(--mpnha-line); border-top: 4px solid var(--mpnha-rust); border-radius: var(--mpnha-radius); padding: 1.25rem 1.35rem; }
.eq-feature h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.eq-feature ul { margin: 0; padding-left: 1.1rem; color: var(--mpnha-ink-soft); }
.eq-pricing { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.eq-price { background: var(--mpnha-cream); border-radius: var(--mpnha-radius); padding: 1rem 1.15rem; }
.eq-price strong { display: block; font-family: var(--mpnha-font-display); font-size: 1.15rem; color: var(--mpnha-rust); }
.eq-calendar { border: 1px solid var(--mpnha-line); border-radius: var(--mpnha-radius-lg); overflow: hidden; box-shadow: var(--mpnha-shadow); }
.eq-calendar iframe { width: 100%; height: 700px; border: 0; display: block; }
.eq-legend { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--mpnha-ink-soft); }
.eq-legend__swatch { width: 1rem; height: 1rem; border-radius: 3px; background: var(--mpnha-rust); display: inline-block; }

/* ---------- Brand / media style guide ---------- */

.swatches { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.swatch { border: 1px solid var(--mpnha-line); border-radius: var(--mpnha-radius); overflow: hidden; background: #fff; }
.swatch__chip { height: 6rem; }
.swatch__meta { padding: 0.6rem 0.8rem; font-size: 0.85rem; }
.swatch__meta strong { display: block; font-family: var(--mpnha-font-display); }
.logo-downloads { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.logo-download { border: 1px solid var(--mpnha-line); border-radius: var(--mpnha-radius); padding: 1rem; text-align: center; background: #fff; }
.logo-download img { margin: 0 auto 0.75rem; max-height: 8rem; width: auto; }
.logo-download--dark { background: var(--mpnha-brown-deep); }
.logo-download--dark .logo-download__name { color: #fff; }
.logo-download__name { font-weight: 700; display: block; margin-bottom: 0.5rem; }

/* ---------- Page/article content ---------- */

.entry { max-width: 48rem; margin-inline: auto; }
.entry--wide { max-width: var(--mpnha-max); }
.entry__title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.8rem); margin: 0 0 1rem; }
.entry__meta { color: var(--mpnha-ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }
.entry__content > * + * { margin-top: 1.15rem; }
.entry__content h2 { font-size: 1.8rem; margin-top: 2.75rem; }
.entry__content h3 { font-size: 1.35rem; margin-top: 2rem; }
.entry__content h4 { font-size: 1.15rem; margin-top: 1.75rem; }
.entry__content img { border-radius: var(--mpnha-radius); height: auto; }
.entry__content figure { margin: 1.75rem 0; max-width: 100%; }
.entry__content figure.image_resized { width: auto !important; }
.entry__content figure.image-style-align-left { float: left; max-width: min(50%, 24rem); margin: 0.5rem 1.75rem 1.25rem 0; }
.entry__content figure.image-style-align-right { float: right; max-width: min(50%, 24rem); margin: 0.5rem 0 1.25rem 1.75rem; }
.entry__content::after { content: ""; display: block; clear: both; }
.entry__content blockquote {
  border-left: 4px solid var(--mpnha-rust); margin: 1.75rem 0; padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--mpnha-font-display); font-size: 1.25rem; color: var(--mpnha-rust);
}
.entry__content ul, .entry__content ol { padding-left: 1.4rem; }
.entry__content a { font-weight: 600; }

@media (max-width: 640px) {
  .entry__content figure.image-style-align-left,
  .entry__content figure.image-style-align-right { float: none; max-width: 100%; margin: 1.5rem 0; }
}

.pdf-frame { width: 100%; height: 80vh; min-height: 34rem; border: 1px solid var(--mpnha-line); border-radius: var(--mpnha-radius); }

/* ---------- Document viewer (replaces pdf-embedder / embeddoc output) ---------- */

.doc-embed {
  margin: 2rem 0; border: 1px solid var(--mpnha-line); border-radius: var(--mpnha-radius-lg);
  overflow: hidden; box-shadow: var(--mpnha-shadow); background: #fff;
}
.doc-embed__bar {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1.15rem; background: var(--mpnha-cream); border-bottom: 1px solid var(--mpnha-line);
}
.doc-embed__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; background: #fff; border: 1px solid var(--mpnha-line); border-radius: 10px; color: var(--mpnha-rust); }
.doc-embed__icon svg { width: 1.3rem; height: 1.3rem; }
.doc-embed__meta { flex: 1; min-width: 0; display: grid; gap: 0.1rem; }
.doc-embed__title { font-family: var(--mpnha-font-display); font-size: 1.05rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-embed__kind { font: 700 0.7rem/1 var(--mpnha-font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mpnha-ink-soft); }
.doc-embed__actions { display: flex; gap: 0.5rem; flex: none; }
.doc-embed__btn {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; text-decoration: none;
  font: 700 0.8rem/1 var(--mpnha-font-body); letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--mpnha-rust); color: var(--mpnha-rust); transition: background-color 0.2s, color 0.2s;
}
.doc-embed__btn:hover { background: rgba(176, 91, 34, 0.08); }
.doc-embed__btn--primary { background: var(--mpnha-rust); color: #fff; }
.doc-embed__btn--primary:hover { background: var(--mpnha-rust-dark); color: #fff; }
.doc-embed__frame { height: min(78vh, 52rem); background: #4a4238; }
.doc-embed__frame iframe, .doc-embed__frame object { width: 100%; height: 100%; border: 0; display: block; }
.doc-embed__fallback {
  height: 100%; display: grid; place-content: center; gap: 1rem; text-align: center;
  color: #e8ddcb; padding: 2rem;
}
.doc-embed__fallback p { margin: 0; font-size: 1.05rem; }
.doc-embed__btn--light { border-color: #fff; }

@media (max-width: 560px) {
  .doc-embed__bar { flex-wrap: wrap; }
  .doc-embed__meta { flex-basis: calc(100% - 3.4rem); }
  .doc-embed__actions { width: 100%; }
  .doc-embed__frame { height: 60vh; }
}

/* Bare PDF links inside page content read as tidy download pills. */
.entry__content a[href$=".pdf" i]:not(.doc-embed__btn):not(.btn) {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.95rem; border-radius: 999px;
  background: rgba(176, 91, 34, 0.08); border: 1px solid rgba(176, 91, 34, 0.35);
  text-decoration: none; font-weight: 700;
}
.entry__content a[href$=".pdf" i]:not(.doc-embed__btn):not(.btn)::before {
  content: "PDF"; font: 800 0.62rem/1 var(--mpnha-font-body); letter-spacing: 0.1em;
  color: #fff; background: var(--mpnha-rust); padding: 0.28rem 0.45rem; border-radius: 6px;
}
.entry__content a[href$=".pdf" i]:not(.doc-embed__btn):not(.btn):hover { background: rgba(176, 91, 34, 0.16); }

/* Child-page card grid appended to hub pages (Tours, Parks, ...) */
.child-pages { margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--mpnha-line, rgba(0,0,0,0.12)); }
.child-pages__title { font-size: 1.6rem; margin: 0 0 1.25rem; }
.child-pages__card { text-decoration: none; color: inherit; }
.child-pages__card .card__title { transition: color 0.2s var(--mpnha-ease); }
.child-pages__card:hover .card__title { color: var(--mpnha-rust); }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { font-size: 0.9rem; color: var(--mpnha-ink-soft); margin-bottom: 1.25rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span[aria-current] { color: var(--mpnha-ink); }

/* ---------- Page hero (interior) ---------- */

.page-hero { background: var(--mpnha-cream); color: var(--mpnha-ink); padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--mpnha-line); }
.page-hero h1 { color: var(--mpnha-ink); font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); font-weight: 900; margin: 0.35rem 0 0.5rem; }
.page-hero p { color: var(--mpnha-ink-soft); margin: 0; max-width: 46rem; font-size: 1.1rem; }
.page-hero .breadcrumbs { color: var(--mpnha-ink-soft); margin-bottom: 0.5rem; }
.page-hero .breadcrumbs a { color: var(--mpnha-rust); }
.page-hero--photo { position: relative; background: var(--mpnha-brown-deep); color: #fff; border-bottom: 0; }
.page-hero--photo h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.4); }
.page-hero--photo p { color: #f3ecdf; }

/* ---------- Footer (Earthdiver brown) ---------- */

.site-footer { margin-top: clamp(2.5rem, 6vw, 5rem); background: var(--mpnha-brown); color: #fff; font-family: var(--mpnha-font-body); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffd9ae; text-decoration: underline; }
.site-footer__top {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(12rem, 0.9fr) 2fr minmax(8rem, 0.6fr);
  align-items: center;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.site-footer__addr {
  font-style: normal; line-height: 1.75;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem;
  color: #ffe9cf;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { font: 700 1.05rem/1.3 var(--mpnha-font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.85rem; font-family: var(--mpnha-font-body); font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-social { display: flex; gap: 0.75rem; justify-content: flex-end; }
.footer-social a { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; background: #fff; color: var(--mpnha-brown); border-radius: 999px; transition: transform 0.2s var(--mpnha-ease); }
.footer-social a:hover { transform: translateY(-2px); color: var(--mpnha-rust); }
.footer-social svg { width: 1.3rem; height: 1.3rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.22); padding-block: 1.15rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; font: 700 0.8rem/1.5 var(--mpnha-font-body); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.footer-staff { font-size: 0.72rem; }
.footer-staff a { border: 1px solid rgba(255,255,255,0.35); padding: 0.3rem 0.75rem; border-radius: 999px; }

/* ---------- Contact form ---------- */

.mpnha-form { display: grid; gap: 1rem; max-width: 40rem; }
.mpnha-form label { font-weight: 700; display: grid; gap: 0.35rem; }
.mpnha-form input, .mpnha-form textarea {
  padding: 0.75rem 0.9rem; border: 1px solid var(--mpnha-line); border-radius: 10px; font: inherit; background: #fff;
}
.mpnha-form textarea { min-height: 8rem; resize: vertical; }
.mpnha-form__status { padding: 0.85rem 1rem; border-radius: 10px; }
.mpnha-form__status--ok { background: #e4ecd9; color: #33421f; }
.mpnha-form__status--err { background: #f3ddd4; color: #6b2f1a; }
.mpnha-form__hp { position: absolute; left: -9999px; }

/* ---------- Reveal-on-scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--mpnha-ease), transform 0.6s var(--mpnha-ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */

.u-center { text-align: center; }
.u-mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .story, .dr-featured { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 960px) {
  :root { --mpnha-header-h: 5rem; }
  .site-branding__logo img, .custom-logo { max-height: 4rem; }
  .site-branding__nps { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(85vw, 22rem);
    background: #fff; border-left: 1px solid var(--mpnha-line);
    box-shadow: var(--mpnha-shadow-lift); padding: calc(var(--mpnha-header-h) + 1rem) 1.25rem 1.5rem;
    transform: translateX(100%); transition: transform 0.28s var(--mpnha-ease); overflow-y: auto;
    z-index: -1;
  }
  .primary-nav.is-open { transform: none; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .primary-nav a { padding: 0.7rem 0.6rem; border-radius: 8px; color: var(--mpnha-ink) !important; text-shadow: none !important; }
  .primary-nav .menu-item-has-children > a::after { display: none; }
  .primary-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 0.85rem; margin: 0; background: transparent; min-width: 0; }
  .primary-nav .sub-menu a { color: var(--mpnha-rust) !important; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .awards__badge { max-width: 6rem; }
  .footer-links { flex-direction: column; align-items: center; gap: 0.6rem; }
}
