/* Heidi of the Mountains — custom site styles */

:root {
  --color-bg: #ebe3d4;
  --color-bg-alt: #dfd4c2;
  --color-surface: #faf6ef;
  --color-forest: #3a3228;
  --color-forest-light: #524a3d;
  --color-sage: #5c6b52;
  --color-sage-light: #8fa882;
  --color-gold: #c4925a;
  --color-gold-light: #e8c896;
  --color-sunset: #d4a574;
  --color-mist: rgba(255, 248, 235, 0.88);
  --color-text: #2c2419;
  --color-text-muted: #5c5348;
  --color-border: rgba(58, 50, 40, 0.14);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(45, 59, 46, 0.06);
  --shadow-md: 0 8px 32px rgba(45, 59, 46, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-height: 88px;
  --max-width: 1120px;
  --header-max-width: 1240px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-forest-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-sage); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-forest);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(235, 227, 212, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header--on-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* Must sit above .nav-overlay (98) so mobile menu receives taps */
  z-index: 100;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header--on-hero.is-scrolled {
  position: fixed;
  background: var(--color-mist);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.page-home .mountain-hero {
  padding-top: 0;
}

.site-header .header-inner.container {
  width: min(100% - 2rem, var(--header-max-width));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 1.25rem;
  width: min(100% - 2rem, var(--header-max-width));
  margin-inline: auto;
}

.site-header--on-hero .header-inner {
  min-height: clamp(96px, 14vw, 148px);
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.logo-img {
  height: clamp(72px, 10vw, 96px);
  width: clamp(72px, 10vw, 96px);
  object-fit: cover;
}

.logo-img--circle {
  height: clamp(88px, 12vw, 148px);
  width: clamp(88px, 12vw, 148px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(44, 36, 25, 0.25);
}

.site-header--on-hero .logo-img--circle {
  height: clamp(96px, 14vw, 168px);
  width: clamp(96px, 14vw, 168px);
}

.logo-img--wordmark {
  height: clamp(72px, 10vw, 96px);
  width: auto;
  max-width: min(320px, 55vw);
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.home-video {
  max-width: 960px;
  margin: 0 auto;
}

.home-video video,
.home-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #000;
  display: block;
}

.video-section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin: 1.5rem 0 0.75rem;
}

.pemf-machine-img {
  max-width: 280px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--color-forest);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

.logo-text span { color: var(--color-sage); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-forest);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--color-surface);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  z-index: 99;
}

.main-nav.is-open { transform: translateX(0); }

.site-header:has(.main-nav.is-open) {
  z-index: 101;
}

.page-home .main-nav,
.page-home .nav-overlay {
  inset: clamp(92px, 13vw, 132px) 0 0 0;
}

@media (min-width: 1080px) {
  .page-home .main-nav {
    inset: auto;
  }
  .page-home .nav-overlay {
    inset: var(--nav-height) 0 0 0;
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li { border-bottom: 1px solid var(--color-border); }

.nav-list a {
  display: block;
  padding: 0.85rem 0;
  color: var(--color-text);
  font-size: 1.05rem;
}

.nav-list a:hover,
.nav-list a.active { color: var(--color-sage); }

.nav-has-submenu.active > a { color: var(--color-sage); }

.nav-chevron {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.35em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.1em);
  transition: transform var(--transition);
  vertical-align: middle;
}

.nav-has-submenu.is-expanded .nav-chevron {
  transform: rotate(-135deg) translateY(-0.1em);
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.nav-has-submenu.is-expanded .nav-submenu {
  max-height: 400px;
  padding: 0 0 0.5rem 1rem;
}

.nav-submenu a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(0,0,0,0.3);
  z-index: 98;
}

.nav-overlay.is-visible { display: block; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }

  .main-nav {
    position: static;
    transform: none;
    padding: 0;
    background: none;
    overflow: visible;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .nav-list > li {
    position: relative;
    border: none;
  }

  .nav-list > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
  }

  .nav-list > li > a:hover,
  .nav-list > li.active > a,
  .nav-has-submenu.active > a {
    background: rgba(107, 143, 113, 0.12);
    color: var(--color-forest);
  }

  .nav-has-submenu.is-expanded .nav-chevron { transform: rotate(45deg) translateY(-0.1em); }

  .nav-submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    max-height: none;
    overflow: visible;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .nav-list > li:hover .nav-submenu,
  .nav-list > li:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-submenu a {
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .nav-submenu a:hover,
  .nav-submenu a.active {
    background: rgba(107, 143, 113, 0.1);
    color: var(--color-forest);
  }
}

.site-header--on-hero .nav-toggle span {
  background: var(--color-forest);
}

.site-header--on-hero:not(.is-scrolled) .nav-toggle span {
  background: #fffef8;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

@media (min-width: 1080px) {
  .site-header--on-hero:not(.is-scrolled) .nav-list > li > a {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    color: #fffef8;
    background: rgba(20, 16, 12, 0.35);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  }

  .site-header--on-hero:not(.is-scrolled) .nav-list > li > a:hover,
  .site-header--on-hero:not(.is-scrolled) .nav-list > li.active > a,
  .site-header--on-hero:not(.is-scrolled) .nav-has-submenu.active > a {
    background: rgba(255, 254, 248, 0.22);
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.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;
}

.mountain-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: clamp(460px, 78vh, 780px);
  margin-bottom: 0;
  overflow: hidden;
  color: #fff;
  background: #3d5a42;
}

.mountain-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 8% 82%;
  transform: scale(1.15);
  transform-origin: 8% 82%;
  display: block;
  image-rendering: auto;
  filter: saturate(1.55) contrast(1.1) brightness(1.04) hue-rotate(-6deg);
}

@media (min-width: 700px) {
  .mountain-hero__bg {
    object-position: 14% 88%;
    transform: scale(1.1);
    transform-origin: 14% 88%;
  }
}

@media (min-width: 1080px) {
  .mountain-hero {
    min-height: clamp(520px, 78vh, 860px);
  }

  .mountain-hero__bg {
    object-position: 16% 92%;
    transform: scale(1.08);
    transform-origin: 16% 92%;
  }
}

/* Homepage hero typography (layout B) — structure rules live after base hero CSS */
.page-home .hero-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.page-home .hero-role {
  font-family: "Source Sans 3", var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.page-home .hero-offerings {
  font-family: "Source Sans 3", var(--font-body);
  margin-top: 0.85rem;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.page-home .hero-rule {
  width: min(12rem, 42vw);
  height: 1px;
  margin: 0.85rem auto 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(232, 200, 150, 0.85), transparent);
}

.page-home .hero-credentials--line {
  font-family: "Source Sans 3", var(--font-body);
  margin-top: 0.85rem;
  padding-top: 0;
  border-top: none;
  max-width: 36rem;
  margin-inline: auto;
  font-size: clamp(0.62rem, 1.5vw, 0.76rem);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.mountain-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 42, 28, 0.35) 0%,
      transparent 28%,
      transparent 55%,
      rgba(22, 52, 34, 0.2) 100%
    ),
    linear-gradient(
      90deg,
      rgba(55, 120, 70, 0.2) 0%,
      transparent 45%
    );
  pointer-events: none;
}

/* Soft green lift over the photo (boosts valley greens) */
.mountain-hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(52, 120, 68, 0.28);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.mountain-hero__tagline {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  /* Keep text high so Heidi stays visible in the lower half on mobile */
  padding: 5rem 1rem 1.25rem;
}

@media (min-width: 900px) {
  .mountain-hero__tagline {
    align-items: center;
    justify-content: flex-end;
    padding: clamp(5rem, 9vw, 6.5rem) clamp(1.75rem, 5vw, 3.5rem) 2.25rem;
    text-align: right;
  }
}

.mountain-hero__headline {
  width: 100%;
  max-width: min(100%, 19.5rem);
  margin-inline: auto;
  padding: 1.15rem 1.35rem 1.2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  /* Richer forest green pulled from the valley foliage */
  background: linear-gradient(
    145deg,
    rgba(34, 78, 48, 0.93) 0%,
    rgba(48, 98, 62, 0.9) 55%,
    rgba(28, 66, 42, 0.92) 100%
  );
  border: 1px solid rgba(168, 210, 170, 0.28);
  border-radius: 8px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
}

@media (min-width: 900px) {
  .mountain-hero__headline {
    margin-left: auto;
    margin-right: 0;
    max-width: 21.5rem;
    padding: 1.35rem 1.6rem 1.4rem;
    align-items: flex-end;
  }
}

@media (max-width: 699px) {
  .mountain-hero__headline {
    max-width: min(100%, 18.5rem);
    padding: 1rem 1.15rem 1.05rem;
  }

  .page-home .page-section {
    padding: 1.5rem 0 1.25rem;
  }

  .page-home .section-header {
    margin-bottom: 1rem;
  }

  .page-home .section-header h2 {
    margin: 0;
  }

  .page-home .services-grid {
    padding: 0 0 0.5rem;
    gap: 1rem;
  }

  .page-home .home-video-section {
    padding: 0.75rem 0 1.5rem;
  }

  .page-home .home-video-section .section-header {
    margin-bottom: 0.75rem;
  }

  .page-home .home-intro {
    padding: 1.75rem 0 2rem;
  }
}

/* Homepage hero — Option B: full-bleed photo, classic top bar, bottom-centered type */
.page-home .mountain-hero {
  display: flex;
  flex-direction: column;
  min-height: clamp(520px, 88vh, 900px);
  overflow: hidden;
}

/* Original cliff photo extended left — subject centered in asset */
.page-home .mountain-hero__bg {
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: none;
  filter: saturate(1.48) contrast(1.08) brightness(1.04) hue-rotate(-10deg);
  image-rendering: auto;
}

@media (min-width: 700px) {
  .page-home .mountain-hero__bg {
    object-position: center 66%;
  }
}

@media (min-width: 1080px) {
  .page-home .mountain-hero__bg {
    object-position: center 68%;
  }
}

.page-home .mountain-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 22, 14, 0.72) 0%, rgba(8, 22, 14, 0.35) 28%, transparent 48%),
    linear-gradient(0deg, rgba(8, 22, 14, 0.25) 0%, transparent 35%);
}

.page-home .mountain-hero__overlay::after {
  background: rgba(52, 120, 68, 0.32);
  mix-blend-mode: soft-light;
}

.page-home .site-header--on-hero {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
}

.page-home .site-header--on-hero:not(.is-scrolled) .header-inner {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(88px, 12vw, 120px);
  padding: 0.35rem 0;
}

.page-home .site-header--on-hero:not(.is-scrolled) .logo-img--circle {
  height: clamp(72px, 11vw, 112px);
  width: clamp(72px, 11vw, 112px);
}

.page-home .mountain-hero__tagline {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: min(100% - 2rem, var(--max-width));
  max-width: none;
  margin-inline: auto;
  padding: clamp(5.5rem, 13vw, 7.5rem) 0 0;
}

.page-home .mountain-hero__headline {
  width: 100%;
  max-width: min(100%, 40rem);
  margin: 0 auto;
  padding: 0 0 0.5rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .mountain-hero__tagline {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: clamp(6rem, 11vw, 8rem) 0 0;
  }

  .page-home .mountain-hero__headline {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 0 0.75rem;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .page-home .site-header--on-hero:not(.is-scrolled) .nav-list > li > a {
    font-family: "Playfair Display", var(--font-display);
  }
}

.hero-credentials {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(232, 200, 150, 0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-credentials {
    justify-content: flex-end;
  }
}

.hero-credentials li {
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.85vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.1);
  border: 1px solid rgba(232, 200, 150, 0.32);
  color: rgba(255, 248, 235, 0.96);
}

.hero-credentials--compact {
  margin: 0.55rem 0 0;
  padding: 0;
  border-top: none;
  gap: 0.2rem 0.35rem;
}

.hero-credentials--compact li {
  font-size: clamp(0.55rem, 1.35vw, 0.62rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 248, 235, 0.72);
}

.hero-credentials--line {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0.65rem 0 0;
  border: none;
  border-top: 1px solid rgba(232, 200, 150, 0.35);
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(255, 248, 235, 0.8);
  text-wrap: balance;
}

@media (min-width: 900px) {
  .hero-credentials--compact {
    justify-content: flex-end;
  }

  .hero-credentials--line {
    font-size: 0.64rem;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fffaf2;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  white-space: normal;
}

@media (max-width: 479px) {
  .site-header--on-hero .logo-img--circle {
    height: clamp(72px, 20vw, 88px);
    width: clamp(72px, 20vw, 88px);
  }

  .site-header--on-hero .header-inner {
    min-height: 80px;
  }

  .page-home .main-nav,
  .page-home .nav-overlay {
    inset: 80px 0 0 0;
  }
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: rgba(255, 248, 235, 0.94);
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(232, 200, 150, 0.4);
  width: 100%;
  text-wrap: balance;
}

.hero-offerings {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin: 0.45rem 0 0;
  line-height: 1.3;
}

@media (min-width: 1080px) {
  .nav-list > li > a {
    font-family: var(--font-display);
    text-transform: lowercase;
    font-weight: 500;
  }
}

.hero-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: var(--color-bg);
  overflow: hidden;
  position: relative;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(212, 165, 116, 0.08) 0%,
    transparent 40%,
    rgba(58, 50, 40, 0.06) 100%
  );
}

.hero-banner img {
  width: 100%;
  height: auto;
  min-height: clamp(200px, 32vw, 380px);
  max-height: clamp(260px, 42vw, 480px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-banner--photo img {
  min-height: clamp(140px, 22vw, 200px);
  max-height: clamp(200px, 32vw, 300px);
}

.page-section--after-hero {
  padding-top: 2rem;
}

.hero-banner--home {
  background: var(--color-bg);
}

.hero-banner--home img {
  width: 100%;
  height: auto;
  min-height: unset;
  max-height: clamp(220px, 52vw, 440px);
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 767px) {
  .hero-banner--home img {
    max-height: min(48vw, 320px);
    padding: 0;
  }
}

.hero-banner--tall img {
  max-height: clamp(300px, 48vw, 520px);
}

/* Legacy hero styles kept for fallback */
.hero {
  position: relative;
  min-height: clamp(420px, 65vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-color: var(--color-forest);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(45, 59, 46, 0.15) 0%, rgba(45, 59, 46, 0.55) 100%),
    linear-gradient(to bottom, rgba(45, 59, 46, 0.2) 0%, rgba(45, 59, 46, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 720px);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  color: #fff;
  background: rgba(35, 48, 36, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
  max-width: 42ch;
}

.hero-subtitle--tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: none;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.hero-subtitle--tags span:not(:last-child)::after {
  content: " · ";
  opacity: 0.5;
  font-weight: 300;
}

.hero--compact {
  min-height: clamp(320px, 45vh, 420px);
}

.hero--compact .hero-content {
  width: min(100% - 2rem, 640px);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.hero--compact .hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.home-intro {
  padding: 3.5rem 0;
  text-align: center;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: 2rem;
}

.home-video-section {
  padding-top: 1.5rem;
}

.page-home .home-video video {
  filter: saturate(1.15) contrast(1.04);
}

.home-hero {
  padding-bottom: 0.5rem;
}

.home-tagline {
  text-align: center;
  margin-bottom: 1.25rem;
}

.home-tagline-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--color-forest);
  letter-spacing: 0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.page-intro {
  padding: 2rem 0 0.5rem;
  text-align: center;
  background: var(--color-bg);
}

.page-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: var(--color-forest);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.35;
  text-wrap: balance;
}

.page-intro-lead {
  max-width: 40rem;
  margin: 0.65rem auto 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-wrap: balance;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.home-video-caption {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

.container--narrow-wide {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--color-forest);
  margin: 0 0 0.75rem;
  text-align: center;
}

.page-intro--botanicals {
  padding: 2rem 0 1.25rem;
}

.page-intro--botanicals .page-intro-title {
  margin-bottom: 0.65rem;
}

.page-botanicals .botanicals-main {
  padding-top: 0.5rem;
}

.botanicals-video-block {
  margin-bottom: 2.5rem;
}

.botanicals-video-block .home-video {
  margin-top: 0;
}

.botanicals-products-header {
  margin-bottom: 1.25rem;
}

.botanicals-products-header p {
  margin-bottom: 0;
}

.product-ingredients {
  margin-bottom: 0.35rem;
}

.product-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.product-note {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
}

.botanicals-farm-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 1.5rem 0 0;
}

.stewardship-block {
  margin-top: 2.75rem;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.stewardship-block h2 {
  margin-top: 0;
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.botanicals-brand-logo {
  max-width: 280px;
  margin: 0 auto 2rem;
}

.content-image-rounded {
  margin-top: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.service-card img.service-card-img--promo {
  object-position: center 48%;
}

.tagline--above-video {
  text-align: center;
  margin-bottom: 0;
}

.poem {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--color-forest-light);
  max-width: 42rem;
  margin: 0 auto;
}

.poem p { margin-bottom: 0.35rem; }

.section-header--tight {
  margin-bottom: 1.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 0.5rem 0 2rem;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-forest);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-forest-light);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-forest);
  border: 1.5px solid var(--color-forest);
}

.btn-outline:hover {
  background: var(--color-forest);
  color: #fff;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-forest);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  color: var(--color-forest);
}

.page-section {
  padding: 3rem 0;
}

.page-section--alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 50ch;
  margin: 0.75rem auto 0;
}

.content-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .content-grid--2 { grid-template-columns: 1fr 1fr; }
  .content-grid--sidebar { grid-template-columns: 1fr 320px; }
}

.content-block {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.content-block img {
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.content-block h3 { margin-top: 0; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.feature-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-size: 0.75rem;
  top: 0.75rem;
}

.events-list { display: flex; flex-direction: column; gap: 1.5rem; }

.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.event-card:hover { box-shadow: var(--shadow-md); }

.event-date {
  text-align: center;
  min-width: 64px;
  padding: 0.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.event-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sage);
  font-weight: 600;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-forest);
  line-height: 1;
}

.event-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }

.event-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.event-card p:last-child { margin-bottom: 0; }

.event-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--color-sage-light);
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}

.event-badge--past {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.event-badge--limited {
  background: rgba(180, 90, 40, 0.15);
  color: #9a3412;
  margin-left: 0.35rem;
}

.event-limited-inline {
  font-size: 0.85em;
  font-weight: 600;
  color: #9a3412;
}

.event-etransfer-submit-wrap {
  margin: 0.75rem 0 0;
  text-align: center;
}

.container--wide {
  max-width: 1100px;
}

.admin-page .admin-title {
  font-family: var(--font-display);
  color: var(--color-forest);
  margin: 0 0 0.25rem;
}

.admin-subtitle {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.admin-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.admin-panel h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.admin-panel label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.admin-panel input[type="password"],
.admin-panel input[type="text"],
.admin-panel input[type="email"],
.admin-panel input[type="tel"],
.admin-panel select {
  width: 100%;
  max-width: 320px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-summary {
  margin: 0;
  font-weight: 600;
}

.admin-revenue {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  color: var(--color-forest);
  font-weight: 600;
}

.admin-stats {
  flex: 1;
  min-width: 200px;
}

.admin-add {
  margin-bottom: 1rem;
}

.admin-add-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (min-width: 720px) {
  .admin-add-form {
    grid-template-columns: repeat(3, 1fr);
  }
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0.4rem;
  text-align: left;
  vertical-align: top;
}

.admin-table select {
  font-size: 0.85rem;
  padding: 0.25rem;
}

.admin-cell-input {
  width: 100%;
  min-width: 5rem;
  max-width: 11rem;
  font-size: 0.85rem;
  padding: 0.25rem 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.admin-cell-amount {
  max-width: 5.5rem;
}

.admin-ref {
  font-size: 0.75rem;
  max-width: 8rem;
  word-break: break-all;
}

.admin-actions {
  white-space: nowrap;
}

.admin-actions .btn-sm {
  margin: 0 0.15rem 0.25rem 0;
}

.admin-btn-danger {
  border-color: #9a3412;
  color: #9a3412;
}

.admin-btn-danger:hover {
  background: #fff7ed;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
}

.admin-error {
  color: #9a3412;
  font-weight: 500;
}

.event-card--register {
  grid-template-columns: 1fr;
}

.container--narrow {
  max-width: 720px;
}

.event-back {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.event-back a {
  color: var(--color-sage);
  text-decoration: none;
  font-weight: 500;
}

.event-back a:hover {
  text-decoration: underline;
}

.event-detail-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.event-detail-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--color-forest);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.event-date--inline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.event-detail-body h2.event-checkout-title {
  font-size: 1.35rem;
}

.event-detail-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-top: 0.5rem;
}

.event-detail-cta {
  margin-top: 1.5rem;
}

.event-card-actions {
  margin: 1rem 0 0;
}

.event-card-actions .btn {
  margin-right: 0.5rem;
}

.event-card--register .event-date {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  margin-bottom: 0.75rem;
}

.event-card--register .event-date .day {
  font-size: 1.25rem;
}

.event-register-top {
  margin: 0 0 2rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  text-align: center;
}

.event-register-top-actions {
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.event-etransfer-message {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.event-etransfer-copied {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-forest);
}

.event-register-top-or {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.event-checkout {
  scroll-margin-top: 5rem;
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.event-checkout-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-forest);
  margin: 0 0 0.35rem;
}

.event-checkout-lead {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.event-checkout-fields {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .event-checkout-fields {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-checkout-fields > div:first-child,
  .event-checkout-fields > div:nth-child(2) {
    grid-column: span 1;
  }
}

.event-checkout-fields label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.event-checkout-fields input,
.event-checkout-fields select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--color-surface);
}

.event-checkout-hint {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(180, 130, 50, 0.12);
  border: 1px solid rgba(180, 130, 50, 0.35);
  color: var(--color-text);
  font-size: 0.9rem;
}

.event-checkout-status {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.event-checkout-status--error {
  color: #9a3412;
}

.event-checkout-status--success {
  color: var(--color-forest);
  font-weight: 600;
}

.event-payment-panel {
  margin-top: 1.25rem;
}

.event-payment-block {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.event-payment-label {
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.event-payment-help {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.event-paypal-sandbox-note {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.event-paypal-buttons {
  min-height: 45px;
}

.event-square-card {
  min-height: 100px;
  margin-bottom: 0.75rem;
}

.event-square-pay {
  width: 100%;
}

.event-payment-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.event-payment-divider::before,
.event-payment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.event-checkout--busy {
  opacity: 0.75;
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card-body { padding: 1.5rem; }

.product-card h3 { margin: 0 0 0.75rem; }

.video-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

.video-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
}

.video-card--linked {
  padding: 0;
  overflow: hidden;
}

.video-card--linked:hover { border-color: var(--color-sage-light); }

.video-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-border);
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.video-card--linked:hover .video-card-thumb img {
  transform: scale(1.03);
}

.video-card-body {
  padding: 1.25rem 1.5rem;
}

.video-card:hover { border-color: var(--color-sage-light); }

.video-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-forest);
}

.video-card h4 a {
  color: inherit;
  text-decoration: none;
}

.video-card h4 a:hover {
  color: var(--color-sage);
}

.video-duration {
  font-size: 0.8rem;
  color: var(--color-sage);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.video-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.course-card {
  display: grid;
  gap: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .course-card { grid-template-columns: minmax(240px, 320px) 1fr; }
}

.course-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.course-card-body { padding: 1.5rem 1.5rem 1.5rem 0; }

.course-detail-hero {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 0 0 1.5rem;
  box-shadow: var(--shadow-md);
}

.course-detail-hero-wrap {
  margin: 0 0 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 680px);
  background: var(--color-forest);
}

.course-detail-hero--promo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.course-detail-hero-wrap--landscape {
  aspect-ratio: 16 / 9;
  max-height: min(62vh, 560px);
}

.course-detail-hero-wrap--square {
  aspect-ratio: auto;
  max-height: none;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.course-detail-hero-wrap--square .course-detail-hero--promo-full {
  width: 100%;
  max-width: min(100%, 640px);
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
  object-position: center;
  margin: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.course-detail-hero-link {
  display: block;
  width: 100%;
  max-width: min(100%, 640px);
  margin-inline: auto;
  line-height: 0;
}

.course-detail-hero-link .course-detail-hero--promo-full {
  max-width: 100%;
  transition: opacity var(--transition), transform var(--transition);
}

.course-detail-hero-link:hover .course-detail-hero--promo-full {
  opacity: 0.94;
}

.course-detail-hero--promo-sf {
  object-position: center 42%;
}

.course-card img.course-card-img--promo {
  object-position: center 48%;
}

.course-card img.course-card-img--promo-sf {
  object-position: center 40%;
}

.course-magicka-callout {
  margin: 2rem 0;
  text-align: left;
}

.course-magicka-callout h2 {
  margin-top: 0;
}

.feature-list--compact {
  margin: 1rem 0 0.5rem;
}

.feature-list--compact li {
  margin-bottom: 0.35rem;
}

.course-card-magicka-link {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.course-card-magicka-link a {
  color: var(--color-sage);
  font-weight: 500;
}

.course-card-magicka-link a:hover {
  color: var(--color-forest);
}

.page-section--flush-top {
  padding-top: 1.25rem;
}

.prose .h2-sub {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  margin: -0.35rem 0 1rem;
  color: var(--color-sage);
}

.prose-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0 1.5rem;
}

.course-sample-video {
  margin: 0.5rem 0 1.75rem;
}

.course-detail-actions {
  margin: 1.75rem 0 1.25rem;
}

@media (max-width: 767px) {
  .course-card-body { padding: 1.25rem 1.5rem 1.5rem; }
}

.about-photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.credential-tag {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  background: var(--color-bg-alt);
  border-radius: 999px;
  color: var(--color-forest-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-forest);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-surface);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-sage);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.form-status--success {
  background: rgba(107, 143, 113, 0.15);
  color: var(--color-forest);
  border: 1px solid var(--color-sage-light);
}

.form-status--error {
  background: rgba(180, 80, 60, 0.1);
  color: #8b3a2a;
  border: 1px solid rgba(180, 80, 60, 0.25);
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-info { margin-top: 1.5rem; }

.contact-info a { font-weight: 500; }

.site-footer {
  background: var(--color-forest);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-inner { text-align: center; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-links a {
  color: var(--color-sage-light);
  font-size: 0.9rem;
}

.footer-links a:hover { color: #fff; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.prose h3 { margin-top: 2rem; }
.prose h3:first-child { margin-top: 0; }

.price-tag {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 600;
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h2 { color: #fff; margin: 0 0 0.75rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.25rem; }
.cta-banner .btn { margin: 0.25rem 0.35rem; }

.tally-embed-block h3 { margin-top: 0; }
.tally-embed { margin-top: 1rem; }
.tally-embed iframe { border: 0; display: block; max-width: 100%; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.accordion details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.accordion summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-forest);
  list-style: none;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--color-sage);
}

.accordion details[open] summary::after { content: "−"; }

.accordion .accordion-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.stewardship-poem {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.85;
  font-style: italic;
  color: var(--color-forest-light);
  columns: 1;
}

@media (min-width: 768px) {
  .stewardship-poem { columns: 2; column-gap: 2.5rem; }
}

.logo-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .logo-gallery { grid-template-columns: repeat(2, 1fr); }
}

.logo-gallery-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.logo-gallery-item img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  background: var(--color-bg-alt);
}

.logo-gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-forest);
  text-align: center;
}
