@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --lhh-hiking: #156d35;
  --lhh-heritage: #1b3a5d;
  --lhh-history: #6d4c41;
  --lhh-events: #4a3a5c;
  --lhh-countries: #757575;
  --lhh-bar1: #1a1a1a;
  --lhh-bar2: #ffffff;
  --lhh-mobile-green: #006233;
  --lhh-mobile-navy: #193549;
  --lhh-sky: #a8d4ef;
  --lhh-forest: #0f3d32;
  --lhh-charcoal: #2c2f33;
  --lhh-white: #ffffff;
  --lhh-text: #1c1f22;
  --lhh-font: "Source Sans 3", "Segoe UI", sans-serif;
  --lhh-display: "Outfit", "Source Sans 3", sans-serif;
  --lhh-secondary-bg: var(--lhh-heritage);
  --lhh-logo-size: 96px;
  --lhh-logo-gutter: 124px; /* green arch / logo column width */
  --lhh-nav-offset: 148px; /* menu start — clears green overflow without widening arch */
  --lhh-header-max: 100%;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== Header (desktop — two-bar chrome) ========== */
.lhh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: var(--lhh-font);
  isolation: isolate;
}

.lhh-header__shell {
  position: relative;
  width: 100%;
  overflow: visible;
}

.lhh-bars {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.lhh-bar {
  overflow: visible;
}

.lhh-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: var(--lhh-header-max);
  margin: 0 auto;
  padding: 0 1.5rem 0 var(--lhh-nav-offset);
  box-sizing: border-box;
}

/* Green arch + overlapping circular logo */
.lhh-logo {
  position: absolute;
  left: 0;
  top: 0;
  bottom: -14px;
  z-index: 20;
  width: var(--lhh-logo-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  pointer-events: none;
}

.lhh-logo__arch {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--lhh-hiking);
  border-radius: 0 0 62px 62px;
  box-shadow: 3px 6px 16px rgba(0, 0, 0, 0.28);
  z-index: 0;
}

.lhh-logo img {
  position: relative;
  z-index: 1;
  width: var(--lhh-logo-size);
  height: var(--lhh-logo-size);
  border-radius: 50%;
  object-fit: cover;
  background: var(--lhh-white);
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  margin-top: -2px;
}

.lhh-logo__text {
  position: relative;
  z-index: 1;
  color: var(--lhh-white);
  font-family: var(--lhh-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem 0.5rem;
}

/* Bar 1 — near-black, centered primary links, lang right */
.lhh-bar--top {
  background: var(--lhh-bar1);
  color: var(--lhh-white);
  min-height: 40px;
}

.lhh-bar--top .lhh-bar__inner {
  min-height: 40px;
  justify-content: center;
  position: relative;
  padding-left: 1.5rem; /* full-width centering (logo overlays left) */
}

.lhh-nav--top {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 5.5rem; /* room for EN|DE on the right */
  box-sizing: border-box;
}

.lhh-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.lhh-menu a {
  text-decoration: none;
  display: inline-block;
  color: inherit;
}

.lhh-menu--top {
  gap: 0.1rem;
  justify-content: center;
}

.lhh-menu--top a {
  color: var(--lhh-white);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.95rem;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.lhh-menu--top a:hover,
.lhh-menu--top a:focus-visible,
.lhh-lang-switcher--header .lhh-lang-link:hover,
.lhh-lang-switcher--header .lhh-lang-link:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

.lhh-lang-switcher--header {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lhh-white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lhh-lang-sep {
  opacity: 0.85;
  padding: 0 0.1rem;
}

.lhh-lang-link {
  color: inherit;
  text-decoration: none;
}

.lhh-lang-link.is-current {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bar 2 — explore band: quiet category tabs + secondary row */
.lhh-bar--explore {
  background: var(--lhh-bar2);
  box-shadow: 0 1px 0 rgba(28, 31, 34, 0.08);
}

.lhh-bar__cats .lhh-bar__inner {
  min-height: 40px;
  gap: 1rem;
}

.lhh-nav--cats {
  flex: 1;
  min-width: 0;
}

.lhh-menu--cats {
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  padding: 0.2rem 0;
}

.lhh-menu--cats .lhh-menu__item a {
  border-radius: 0;
  background: transparent;
  color: var(--lhh-charcoal);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.55rem 0.4rem;
  box-shadow: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .lhh-menu--cats .lhh-menu__item a {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.4rem 0.4rem;
  }
}

.lhh-menu--cats .lhh-menu__item a:hover,
.lhh-menu--cats .lhh-menu__item a:focus-visible {
  opacity: 1;
  border-bottom-color: currentColor;
}

.lhh-menu--cats .lhh-cat-hiking > a { color: var(--lhh-hiking); }
.lhh-menu--cats .lhh-cat-heritage > a { color: var(--lhh-heritage); }
.lhh-menu--cats .lhh-cat-history > a { color: var(--lhh-history); }
.lhh-menu--cats .lhh-cat-events > a { color: var(--lhh-events); }
.lhh-menu--cats .lhh-cat-countries > a { color: var(--lhh-countries); }

.lhh-menu--cats .lhh-menu__item.is-active > a {
  border-bottom-color: currentColor;
  box-shadow: none;
}

.lhh-search {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  flex-shrink: 0;
}

.lhh-search input {
  border: 0;
  background: #dce8e0;
  padding: 0.45rem 0.75rem;
  min-width: 120px;
  width: 140px;
  font: inherit;
  font-size: 0.85rem;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.lhh-search input:focus-visible {
  outline: 2px solid var(--lhh-hiking);
  outline-offset: 2px;
  background: #d0e4d8;
}

.lhh-search button {
  border: 0;
  background: var(--lhh-hiking);
  color: var(--lhh-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.2s ease;
}

.lhh-search button:hover,
.lhh-search button:focus-visible {
  background: #0f5a2c;
  color: var(--lhh-white);
}

.lhh-search button:focus-visible {
  outline: 2px solid #0f5a2c;
  outline-offset: 2px;
}

/* Secondary row inside explore bar — color reactive */
.lhh-bar__secondary {
  background: var(--lhh-secondary-bg);
  color: var(--lhh-white);
  transition: background-color 0.28s ease;
}

.lhh-bar__secondary .lhh-bar__inner {
  min-height: 36px;
}

.lhh-nav--secondary {
  width: 100%;
}

.lhh-menu--level-0 {
  gap: 0.05rem;
  flex-wrap: wrap;
}

.lhh-menu--level-0 > .lhh-menu__item {
  position: relative;
}

.lhh-menu--level-0 > .lhh-menu__item > a {
  color: var(--lhh-white);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.5rem 0.85rem;
}

.lhh-menu--level-0 > .lhh-menu__item > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lhh-menu--level-0 > .lhh-menu__item > .lhh-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(12, 18, 28, 0.97);
  flex-direction: column;
  align-items: stretch;
  padding: 0.4rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  z-index: 30;
}

.lhh-menu--level-0 > .lhh-menu__item:hover > .lhh-menu,
.lhh-menu--level-0 > .lhh-menu__item:focus-within > .lhh-menu {
  display: flex;
}

.lhh-menu--level-1 .lhh-menu__item,
.lhh-menu--level-2 .lhh-menu__item {
  position: relative;
  width: 100%;
}

.lhh-menu--level-1 a,
.lhh-menu--level-2 a {
  color: var(--lhh-white);
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-sizing: border-box;
}

.lhh-menu--level-1 a:hover,
.lhh-menu--level-2 a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lhh-menu--level-1 > .lhh-menu__item > .lhh-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: rgba(12, 18, 28, 0.98);
  flex-direction: column;
}

.lhh-menu--level-1 > .lhh-menu__item:hover > .lhh-menu,
.lhh-menu--level-1 > .lhh-menu__item:focus-within > .lhh-menu {
  display: flex;
}

/* Beat Hello Elementor button reset ([type=button] { display: inline-block }) */
.lhh-header button.lhh-hamburger {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.lhh-header .lhh-hamburger span {
  display: block;
  height: 2px;
  background: var(--lhh-white);
  margin: 6px 0;
  border-radius: 1px;
}

.lhh-mobile-drawer {
  display: none;
}

.lhh-mobile-drawer__backdrop {
  display: none;
}

.lhh-lang-switcher--drawer {
  display: none;
}

.lhh-mobile-primary {
  display: none;
}

/* ========== Mobile — logo + hamburger; IA in drawer ========== */
@media (max-width: 960px) {
  :root {
    --lhh-logo-size: 64px;
    --lhh-logo-gutter: 80px;
    --lhh-nav-offset: 80px;
  }

  .lhh-bar--explore {
    display: none !important;
  }

  .lhh-bar--top {
    background: var(--lhh-mobile-navy);
    min-height: 56px;
  }

  .lhh-bar--top .lhh-bar__inner {
    min-height: 56px;
    padding-left: var(--lhh-logo-gutter);
    padding-right: 0.5rem;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .lhh-nav--top {
    display: none;
  }

  /* Top bar: logo + hamburger only; EN|DE lives in the drawer */
  .lhh-lang-switcher--header {
    display: none !important;
  }

  .lhh-header button.lhh-hamburger {
    display: block;
  }

  .lhh-logo {
    bottom: auto;
    top: 0;
    height: 56px;
    align-items: center;
    padding-top: 0;
  }

  .lhh-logo__arch {
    display: none;
  }

  .lhh-logo img {
    border: 2px solid rgba(255, 255, 255, 0.4);
    width: var(--lhh-logo-size);
    height: var(--lhh-logo-size);
  }

  .lhh-mobile-drawer:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
  }

  .lhh-mobile-drawer__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
  }

  .lhh-mobile-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(78vw, 340px);
    height: 100%;
    overflow: auto;
    background: rgba(25, 53, 73, 0.96);
    color: var(--lhh-white);
    padding: 4.5rem 1.35rem 2rem;
    text-align: right;
    backdrop-filter: blur(2px);
    animation: lhhDrawerIn 0.28s ease;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.35);
  }

  .lhh-mobile-primary {
    display: block;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .lhh-menu--mobile-primary {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
  }

  .lhh-menu--mobile-primary a {
    color: var(--lhh-white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    padding: 0.35rem 0;
  }

  .lhh-lang-switcher--drawer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .lhh-mobile-section {
    margin-bottom: 1.15rem;
  }

  .lhh-mobile-section__label {
    display: inline-block;
    font-family: var(--lhh-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.35rem;
    text-decoration: none;
    background: transparent !important;
    font-size: 1rem;
  }

  .lhh-mobile-section__label.lhh-cat-hiking { color: #7dcea0; }
  .lhh-mobile-section__label.lhh-cat-heritage { color: #9bb8d9; }
  .lhh-mobile-section__label.lhh-cat-history { color: #d2b48c; }
  .lhh-mobile-section__label.lhh-cat-events { color: #c4b0d9; }
  .lhh-mobile-section__label.lhh-cat-countries { color: #c5c5c5; }

  .lhh-mobile-drawer .lhh-menu {
    flex-direction: column;
    align-items: flex-end;
  }

  .lhh-mobile-drawer .lhh-menu a {
    color: var(--lhh-white);
    padding: 0.28rem 0;
    font-weight: 400;
    font-size: 0.95rem;
  }

  .lhh-mobile-drawer .lhh-menu--level-1,
  .lhh-mobile-drawer .lhh-menu--level-2 {
    position: static !important;
    display: flex !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0;
    padding-right: 0.65rem;
  }

  .lhh-mobile-drawer .lhh-menu--level-0 > .lhh-menu__item > .lhh-menu {
    position: static;
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lhh-mobile-drawer__panel {
    animation: none;
  }

  .lhh-bar__secondary,
  .lhh-menu--cats .lhh-menu__item a {
    transition: none;
  }
}

@keyframes lhhDrawerIn {
  from { transform: translateX(14%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer — deep forest → charcoal; no sky wash under white links */
.lhh-footer {
  margin-top: 0;
  color: var(--lhh-white);
  font-family: var(--lhh-font);
  background:
    linear-gradient(180deg, #0a2922 0%, var(--lhh-forest) 42%, #1a1d21 100%);
  position: relative;
  overflow: hidden;
}

.lhh-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='0.6' d='M10 40c30 10 40-20 70-10s40 40 70 20 40-10 70 10'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='0.6' d='M0 90c40 0 50-30 90-20s50 40 90 10'/%3E%3C/svg%3E");
  pointer-events: none;
}

.lhh-footer__ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 8px;
  position: relative;
  z-index: 1;
}

.lhh-footer__ribbon .is-hiking { background: var(--lhh-hiking); }
.lhh-footer__ribbon .is-heritage { background: var(--lhh-heritage); }
.lhh-footer__ribbon .is-history { background: var(--lhh-history); }
.lhh-footer__ribbon .is-events { background: var(--lhh-events); }
.lhh-footer__ribbon .is-countries { background: var(--lhh-countries); }

.lhh-footer__main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 2rem;
  align-items: start;
}

.lhh-footer__logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.lhh-footer__tagline {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 16ch;
  color: rgba(255, 255, 255, 0.92);
}

.lhh-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.lhh-footer__col h3 {
  margin: 0 0 0.75rem;
  font-family: var(--lhh-display);
  font-size: 1.05rem;
}

/* Lightened category accents on deep forest (WCAG AA+ vs ~#0f3d32) */
.lhh-footer-col--hiking h3 { color: #8fd6b8; }
.lhh-footer-col--heritage h3 { color: #a8c0f0; }
.lhh-footer-col--history h3 { color: #e0b892; }
.lhh-footer-col--plan h3 { color: #e8eef2; }

.lhh-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lhh-footer__col li + li {
  margin-top: 0.35rem;
}

.lhh-footer__col a,
.lhh-footer__email,
.lhh-footer__legal a,
.lhh-footer .lhh-lang-link,
.lhh-footer .lhh-lang-sep {
  color: var(--lhh-white);
  text-decoration: none;
}

.lhh-footer__col a:hover,
.lhh-footer__col a:focus-visible,
.lhh-footer__legal a:hover,
.lhh-footer__legal a:focus-visible,
.lhh-footer .lhh-lang-link:hover,
.lhh-footer .lhh-lang-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #c5e0d4;
}

.lhh-footer__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.lhh-footer__legal {
  position: relative;
  z-index: 1;
  background: var(--lhh-charcoal);
  color: var(--lhh-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: none;
}

.lhh-footer__legal p {
  margin: 0;
}

.lhh-footer__legal ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .lhh-footer__main {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .lhh-footer__columns {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .lhh-footer__meta {
    align-items: center;
    text-align: center;
  }

  .lhh-footer__legal {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== Inner page hero ========== */
/* Full-bleed composition: photo plane + restrained forest/heritage shade + Outfit title.
   Live pages already using .lhh-page-hero__box upgrade via these rules + :has() helpers. */
.lhh-page-hero {
  --lhh-page-hero-pad: clamp(1.25rem, 4vw, 3.5rem);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: clamp(20rem, 70vh, 42rem);
  width: 100%;
  padding: clamp(5.5rem, 14vh, 8rem) var(--lhh-page-hero-pad) clamp(2.25rem, 5vh, 3.25rem);
  color: var(--lhh-white);
  overflow: hidden;
  background-color: var(--lhh-forest);
}

.lhh-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--lhh-page-hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: lhh-page-hero-media-in 1.1s ease both;
}

.lhh-page-hero[style*="tea.jpg"] .lhh-page-hero__media {
  background-position: center 42%;
}

.lhh-page-hero[style*="waterfall.jpg"] .lhh-page-hero__media,
.lhh-page-hero[style*="ruins.jpg"] .lhh-page-hero__media {
  background-position: center 30%;
}

.lhh-page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(15, 61, 50, 0.22) 0%,
      rgba(15, 61, 50, 0.18) 38%,
      rgba(12, 28, 36, 0.72) 100%
    ),
    linear-gradient(
      105deg,
      rgba(27, 58, 93, 0.42) 0%,
      transparent 58%
    );
}

.lhh-page-hero__box {
  position: relative;
  z-index: 2;
  max-width: min(40rem, 100%);
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--lhh-white);
  font-family: var(--lhh-display);
  animation: lhh-page-hero-copy-in 0.8s ease both;
}

.lhh-page-hero__brand {
  margin: 0 0 0.55rem;
  font-family: var(--lhh-display);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.lhh-page-hero__title,
.lhh-page-hero__box h1 {
  margin: 0 0 0.65rem;
  font-family: var(--lhh-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.lhh-page-hero__lede,
.lhh-page-hero__box > p:not(.lhh-page-hero__brand):not(.lhh-page-hero__lede) {
  margin: 0;
  max-width: 44ch;
  font-family: var(--lhh-font);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.94;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  text-wrap: pretty;
}

/* Legacy Elementor bg-section heroes (pre-reseed): shade + layout via :has() */
.elementor-section:has(.lhh-page-hero__box):not(:has(.lhh-page-hero)) {
  position: relative;
  isolation: isolate;
  min-height: clamp(18rem, 52vh, 34rem) !important;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.elementor-section:has(.lhh-page-hero__box):not(:has(.lhh-page-hero))::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(15, 61, 50, 0.22) 0%,
      rgba(15, 61, 50, 0.18) 38%,
      rgba(12, 28, 36, 0.72) 100%
    ),
    linear-gradient(
      105deg,
      rgba(27, 58, 93, 0.42) 0%,
      transparent 58%
    );
}

.elementor-section:has(.lhh-page-hero__box):not(:has(.lhh-page-hero)) .elementor-container,
.elementor-section:has(.lhh-page-hero__box):not(:has(.lhh-page-hero)) .elementor-column,
.elementor-section:has(.lhh-page-hero__box):not(:has(.lhh-page-hero)) .elementor-widget-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none !important;
}

.elementor-section:has(.lhh-page-hero__box):not(:has(.lhh-page-hero)) .lhh-page-hero__box {
  padding: clamp(5.5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.25rem, 5vh, 3.25rem);
}

@keyframes lhh-page-hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lhh-page-hero-media-in {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lhh-page-hero__media,
  .lhh-page-hero__box {
    animation: none;
  }
}

/* Inner page body — calm reading band under the hero */
.lhh-page-body {
  max-width: 42rem;
  margin: 0;
  padding: 0;
  color: var(--lhh-text);
  font-family: var(--lhh-font);
}

/* Keep intro columns aligned as one editorial band */
.elementor-section:has(.lhh-page-body) > .elementor-container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.elementor-section:has(.lhh-page-body) .elementor-widget-image img {
  min-height: 220px;
  object-fit: cover;
}

.lhh-page-body__copy p,
.lhh-page-body__lede {
  margin: 0 0 1.15rem;
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: var(--lhh-charcoal);
}

.lhh-page-body__copy p:last-child,
.lhh-page-body__lede:last-child {
  margin-bottom: 0;
}

.lhh-page-body__actions {
  margin: 1.75rem 0 0;
}

.lhh-page-body__actions .lhh-btn {
  min-width: 11rem;
}

/* Soft editorial aside — accent rule, not a card */
.lhh-page-aside {
  margin: 1.25rem 0 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 3px solid var(--lhh-page-accent, var(--lhh-hiking));
  background: transparent;
  box-shadow: none;
}

.lhh-page-aside h3 {
  margin: 0 0 0.4rem;
  font-family: var(--lhh-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lhh-forest);
}

.lhh-page-aside p {
  margin: 0;
  font-family: var(--lhh-font);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--lhh-charcoal);
}

.lhh-page-cta {
  text-align: center;
  padding: 0.45rem 0 0.35rem;
  color: var(--lhh-white);
}

.lhh-page-cta__text {
  margin: 0 0 1.15rem;
  padding-inline: 0.5rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lhh-page-cta__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.lhh-page-cta .lhh-btn:focus-visible {
  outline: 2px solid var(--lhh-white);
  outline-offset: 3px;
}

.lhh-page-cta .lhh-btn--primary {
  background: var(--lhh-white);
  color: var(--lhh-forest);
  border-color: var(--lhh-white);
}

.lhh-page-cta .lhh-btn--primary:hover {
  background: transparent;
  color: var(--lhh-white);
  border-color: var(--lhh-white);
}

/* Icon pathway — no card chrome */
.lhh-page-icons {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 0 0.25rem;
  border-top: 1px solid rgba(15, 61, 50, 0.14);
  animation: lhh-page-band-in 0.7s ease both;
}

.lhh-page-icons__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0.5rem;
}

.lhh-page-icons__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  animation: lhh-page-band-in 0.75s ease both;
}

.lhh-page-icons__item:nth-child(2) { animation-delay: 0.08s; }
.lhh-page-icons__item:nth-child(3) { animation-delay: 0.16s; }
.lhh-page-icons__item:nth-child(4) { animation-delay: 0.24s; }

.lhh-page-icons__mark {
  flex: 0 0 auto;
  color: var(--lhh-hiking);
  line-height: 0;
  margin-top: 0.15rem;
}

.lhh-page-icons__svg {
  display: block;
}

.lhh-page-icons__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.lhh-page-icons__label {
  font-family: var(--lhh-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lhh-forest);
}

.lhh-page-icons__text {
  font-family: var(--lhh-font);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--lhh-charcoal);
}

/* Pathway links — no cards; continue into neighbouring hubs */
.lhh-page-pathways {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3.5vh, 2.4rem) 0 clamp(1.15rem, 3vh, 2rem);
  animation: lhh-page-band-in 0.75s ease both;
}

.lhh-page-pathways__title {
  margin: 0 0 1.15rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lhh-forest);
}

.lhh-page-pathways__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.lhh-page-pathways__link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.15rem 0 0.45rem;
  text-decoration: none;
  color: inherit;
  outline: none;
  border-bottom: 2px solid rgba(27, 94, 74, 0.16);
  transition:
    border-color 0.28s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-page-pathways__link:hover {
  border-bottom-color: var(--lhh-page-accent, var(--lhh-hiking));
  transform: translateY(-3px);
}

.lhh-page-pathways__link:focus-visible {
  border-bottom-color: var(--lhh-page-accent, var(--lhh-hiking));
  outline: 2px solid var(--lhh-page-accent, var(--lhh-hiking));
  outline-offset: 4px;
  transform: translateY(-2px);
}

.lhh-page-pathways__label {
  font-family: var(--lhh-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lhh-page-accent, var(--lhh-hiking));
  transition: letter-spacing 0.35s ease;
}

.lhh-page-pathways__link:hover .lhh-page-pathways__label,
.lhh-page-pathways__link:focus-visible .lhh-page-pathways__label {
  letter-spacing: 0.01em;
}

.lhh-page-pathways__text {
  font-family: var(--lhh-font);
  font-size: 0.94rem;
  line-height: 1.48;
  color: rgba(28, 31, 34, 0.78);
  text-wrap: pretty;
}

/* Editorial section bands */
.lhh-page-section {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vh, 2rem) 0 clamp(1.25rem, 3.5vh, 2.25rem);
  animation: lhh-page-band-in 0.75s ease both;
}

.lhh-page-section__title {
  margin: 0 0 0.65rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lhh-forest);
}

.lhh-page-section__text {
  margin: 0;
  font-family: var(--lhh-font);
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
  line-height: 1.65;
  color: var(--lhh-charcoal);
}

.lhh-page-section-bleed {
  width: 100%;
  min-height: clamp(16rem, 44vh, 30rem);
  background-image: var(--lhh-page-bleed-image);
  background-size: cover;
  background-position: center;
  animation: lhh-page-media-in 0.9s ease both;
}

/* OpenStreetMap plane — boxed width, no card chrome */
.lhh-page-map {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.25rem 0 0.5rem;
  animation: lhh-page-band-in 0.8s ease both;
}

.lhh-page-map__title {
  margin: 0 0 0.4rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lhh-forest);
}

.lhh-page-map__caption {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-family: var(--lhh-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--lhh-charcoal);
}

.lhh-page-map__frame {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.lhh-page-map__iframe {
  display: block;
  width: 100%;
  height: clamp(20rem, 48vh, 34rem);
  border: 0;
  background: rgba(27, 94, 74, 0.06);
}

.lhh-page-map__link {
  margin: 0.65rem 0 0;
  font-family: var(--lhh-font);
  font-size: 0.95rem;
}

.lhh-page-map__link a {
  color: var(--lhh-heritage);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 54, 93, 0.35);
}

.lhh-page-map__link a:hover {
  border-bottom-color: var(--lhh-heritage);
}

/* Deep dive — editorial split, not a card */
.elementor-section:has(.lhh-page-deep) > .elementor-container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.lhh-page-deep {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0.5rem 0 0.5rem 0.25rem;
  animation: lhh-page-band-in 0.8s ease both;
}

.lhh-page-deep__media {
  width: 100%;
  min-height: clamp(16rem, 48vh, 30rem);
  background-image: var(--lhh-page-deep-image);
  background-size: cover;
  background-position: center;
  animation: lhh-page-media-in 0.95s ease both;
}

.lhh-page-deep__title {
  margin: 0 0 0.75rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lhh-forest);
}

.lhh-page-deep__text {
  margin: 0;
  font-family: var(--lhh-font);
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
  line-height: 1.65;
  color: var(--lhh-charcoal);
}

/* —— Destination hubs (Hiking / Heritage / History) —— */
.lhh-hub {
  --lhh-hub-accent: var(--lhh-page-accent, var(--lhh-hiking));
  max-width: 1200px;
  margin: 0 auto;
}

.lhh-hub-intro {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
  animation: lhh-page-band-in 0.75s ease both;
}

.lhh-hub-intro__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--lhh-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lhh-hub-accent);
}

.lhh-hub-intro__title {
  margin: 0 0 0.75rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lhh-forest);
  line-height: 1.15;
}

.lhh-hub-intro__text {
  margin: 0;
  font-family: var(--lhh-font);
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: var(--lhh-charcoal);
  max-width: 38ch;
}

.lhh-hub-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 3vw, 2.25rem);
  max-width: 1200px;
  margin: 0 auto;
}

.lhh-hub-entry {
  --lhh-hub-entry-accent: var(--lhh-hub-accent);
  position: relative;
  display: grid;
  grid-template-rows: minmax(220px, 26vh) minmax(9.5rem, auto);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  outline: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: lhh-page-band-in 0.8s ease both;
}

.lhh-hub-entry:nth-child(2) { animation-delay: 0.08s; }
.lhh-hub-entry:nth-child(3) { animation-delay: 0.16s; }

.lhh-hub-entry--tours {
  --lhh-hub-entry-accent: #0f4c3a;
}

.lhh-hub-entry--prep {
  --lhh-hub-entry-accent: #1a4a3a;
}

/* Orientation doors — Welcome / Sri Lanka → category hubs */
.lhh-hub-entry--hiking {
  --lhh-hub-entry-accent: #156d35;
}

.lhh-hub-entry--heritage {
  --lhh-hub-entry-accent: #1b3a5d;
}

.lhh-hub-entry--history {
  --lhh-hub-entry-accent: #6d4c41;
}

.lhh-hub-entry--travel {
  --lhh-hub-entry-accent: #1a4a3a;
}

/* Heritage navy door accents */
.lhh-hub-entry--northwest {
  --lhh-hub-entry-accent: #152a4a;
}

.lhh-hub-entry--north-central {
  --lhh-hub-entry-accent: #1a365d;
}

.lhh-hub-entry--places {
  --lhh-hub-entry-accent: #243f6b;
}

.lhh-hub-entry--sabaragamuwa {
  --lhh-hub-entry-accent: #6b3f24;
}

.lhh-hub-entry--wet-zone {
  --lhh-hub-entry-accent: #2a4a3a;
}

.lhh-hub-entry--sacred-peak {
  --lhh-hub-entry-accent: #5a3a28;
}

/* History brown door accents */
.lhh-hub-entry--prehistory {
  --lhh-hub-entry-accent: #4a2e14;
}

.lhh-hub-entry--kingdoms {
  --lhh-hub-entry-accent: #5d3a1a;
}

.lhh-hub-entry--anuradhapura {
  --lhh-hub-entry-accent: #5a3a1a;
}

.lhh-hub-entry--polonnaruwa {
  --lhh-hub-entry-accent: #6b4423;
}

.lhh-hub-entry--transition {
  --lhh-hub-entry-accent: #4a3220;
}

.lhh-hub-entry--journey {
  --lhh-hub-entry-accent: #6b4423;
}

/* Events — purple-brown doors (not loud AI purple) */
.lhh-hub-entry--upcoming {
  --lhh-hub-entry-accent: #4a3a5c;
}

.lhh-hub-entry--festival {
  --lhh-hub-entry-accent: #3d2f4a;
}

.lhh-hub-entry--trail-days {
  --lhh-hub-entry-accent: #5a4a3a;
}

/* Travel info — forest / heritage doors */
.lhh-hub-entry--climate {
  --lhh-hub-entry-accent: #1a4a3a;
}

.lhh-hub-entry--landscapes {
  --lhh-hub-entry-accent: #1b3a5d;
}

.lhh-hub-entry--around {
  --lhh-hub-entry-accent: #0f4c3a;
}

/* Climate / regions / Dolukanda leaf doors */
.lhh-hub-entry--highland {
  --lhh-hub-entry-accent: #156d35;
}

.lhh-hub-entry--triangle {
  --lhh-hub-entry-accent: #6d4c41;
}

.lhh-hub-entry--coasts {
  --lhh-hub-entry-accent: #1a4a5a;
}

.lhh-hub-entry--tea-country {
  --lhh-hub-entry-accent: #2f5d3a;
}

/* Countries charcoal door accents — quiet, not loud */
.lhh-hub-entry--home {
  --lhh-hub-entry-accent: #5a5a5a;
}

.lhh-hub-entry--himalaya {
  --lhh-hub-entry-accent: #6a6a6a;
}

.lhh-hub-entry--india {
  --lhh-hub-entry-accent: #707070;
}

.lhh-hub-entry--se-asia {
  --lhh-hub-entry-accent: #7a7a7a;
}

.lhh-hub-entries:has(.lhh-hub-entry:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.65rem);
}

.lhh-hub-entry:nth-child(4) {
  animation-delay: 0.24s;
}

@media (max-width: 1100px) {
  .lhh-hub-entries:has(.lhh-hub-entry:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Contact — quiet email band (no form dashboard) */
.lhh-hub--contact .lhh-contact-band {
  max-width: 36rem;
  margin: 0 auto;
  animation: lhh-page-band-in 0.75s ease both;
}

.lhh-contact-band__email {
  display: inline-block;
  margin-top: 1.35rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--lhh-hub-accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, letter-spacing 0.35s ease;
}

.lhh-contact-band__email:hover,
.lhh-contact-band__email:focus-visible {
  border-bottom-color: var(--lhh-hub-accent);
  letter-spacing: 0.01em;
}

.lhh-contact-band__hint {
  margin: 1.1rem 0 0;
  font-family: var(--lhh-font);
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(28, 31, 34, 0.72);
  max-width: 38ch;
}

.lhh-hub-entry__media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: rgba(15, 61, 50, 0.06);
  background-size: cover;
  background-position: center;
}

/* Scale the fill inside a clipped box so pathways stay chrome-free */
.lhh-hub-entry__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-hub-entry__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 22, 18, 0.22) 100%);
  pointer-events: none;
}

.lhh-hub-entry:hover .lhh-hub-entry__media::before,
.lhh-hub-entry:focus-visible .lhh-hub-entry__media::before {
  transform: scale(1.06);
}

.lhh-hub-entry:focus-visible {
  outline: 2px solid var(--lhh-hub-entry-accent);
  outline-offset: 5px;
}

.lhh-hub-entry__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
  padding: 1.15rem 0 0.1rem;
  border-top: 2px solid var(--lhh-hub-entry-accent);
}

.lhh-hub-entry__title {
  font-family: var(--lhh-display);
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--lhh-hub-entry-accent);
  transition: letter-spacing 0.35s ease;
}

.lhh-hub-entry:hover .lhh-hub-entry__title,
.lhh-hub-entry:focus-visible .lhh-hub-entry__title {
  letter-spacing: 0.01em;
}

.lhh-hub-entry__text {
  font-family: var(--lhh-font);
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(28, 31, 34, 0.78);
  max-width: 38ch;
  text-wrap: pretty;
}

.lhh-hub-entry__cta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: var(--lhh-font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--lhh-hub-entry-accent);
  white-space: normal;
  max-width: 100%;
}

.lhh-hub-entry__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.lhh-hub-entry:hover .lhh-hub-entry__arrow,
.lhh-hub-entry:focus-visible .lhh-hub-entry__arrow {
  transform: translateX(4px);
}

.lhh-hub-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  animation: lhh-page-band-in 0.85s ease both;
}

.lhh-hub-story--reverse .lhh-hub-story__media {
  order: 2;
}

.lhh-hub-story--reverse .lhh-hub-story__copy {
  order: 1;
}

.lhh-hub-story__media {
  aspect-ratio: 5 / 4;
  min-height: 0;
  overflow: hidden;
  background: rgba(15, 61, 50, 0.06);
}

.lhh-hub-story__media-img {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-hub-story:hover .lhh-hub-story__media-img {
  transform: scale(1.05);
}

.lhh-hub-story__copy {
  max-width: 28rem;
}

.lhh-hub-story__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--lhh-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lhh-hub-accent);
}

.lhh-hub-story__title {
  margin: 0 0 0.85rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lhh-forest);
  line-height: 1.15;
}

.lhh-hub-story__text {
  margin: 0;
  font-family: var(--lhh-font);
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
  line-height: 1.65;
  color: var(--lhh-charcoal);
}

.lhh-hub-story__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--lhh-font);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--lhh-hub-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.lhh-hub-story__link:hover,
.lhh-hub-story__link:focus-visible {
  border-bottom-color: var(--lhh-hub-accent);
}

.lhh-hub-note {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 3px solid var(--lhh-hub-accent);
  animation: lhh-page-band-in 0.75s ease both;
}

/* CPT + page hubs share the same closing-band rhythm before .lhh-page-cta */
.lhh-hub--cpt .lhh-hub-note,
.lhh-hub--contact .lhh-hub-note,
.lhh-hub .lhh-hub-note {
  max-width: 40rem;
}

.lhh-hub-note__title {
  margin: 0 0 0.4rem;
  font-family: var(--lhh-display);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--lhh-forest);
  line-height: 1.25;
}

.lhh-hub-note__text {
  margin: 0;
  font-family: var(--lhh-font);
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(28, 31, 34, 0.82);
  max-width: 48ch;
  text-wrap: pretty;
}

/* CPT archives — hub doors first, quieter post list after */
.lhh-archive__list-label {
  max-width: 1200px;
  margin: 0.25rem auto 0;
  padding: 0.15rem 0 0;
}

.lhh-archive__list-label .lhh-hub-intro__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(15, 61, 50, 0.62);
}

.lhh-archive-posts .elementor-post,
.elementor-element.lhh-archive-posts .elementor-post {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding-bottom: 0.35rem;
}

.lhh-archive-posts .elementor-post__thumbnail,
.elementor-element.lhh-archive-posts .elementor-post__thumbnail {
  overflow: hidden;
  margin-bottom: 0.75rem !important;
}

.lhh-archive-posts .elementor-post__thumbnail img,
.elementor-element.lhh-archive-posts .elementor-post__thumbnail img {
  border-radius: 0;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-archive-posts .elementor-post:hover .elementor-post__thumbnail img,
.lhh-archive-posts .elementor-post:focus-within .elementor-post__thumbnail img,
.elementor-element.lhh-archive-posts .elementor-post:hover .elementor-post__thumbnail img,
.elementor-element.lhh-archive-posts .elementor-post:focus-within .elementor-post__thumbnail img {
  transform: scale(1.045);
}

.lhh-archive-posts .elementor-post__title,
.elementor-element.lhh-archive-posts .elementor-post__title {
  font-family: var(--lhh-display);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.4rem !important;
}

.lhh-archive-posts .elementor-post__title a,
.elementor-element.lhh-archive-posts .elementor-post__title a {
  color: var(--lhh-forest);
  text-decoration: none;
}

.lhh-archive-posts .elementor-post__title a:hover,
.lhh-archive-posts .elementor-post__title a:focus-visible,
.elementor-element.lhh-archive-posts .elementor-post__title a:hover,
.elementor-element.lhh-archive-posts .elementor-post__title a:focus-visible {
  color: var(--lhh-page-accent, var(--lhh-hiking));
}

.lhh-archive-posts .elementor-post__title a:focus-visible,
.elementor-element.lhh-archive-posts .elementor-post__title a:focus-visible {
  outline: 2px solid var(--lhh-page-accent, var(--lhh-hiking));
  outline-offset: 3px;
}

.lhh-archive-posts .elementor-post__excerpt,
.elementor-element.lhh-archive-posts .elementor-post__excerpt {
  font-family: var(--lhh-font);
  font-size: 0.92rem !important;
  line-height: 1.5;
  color: rgba(28, 31, 34, 0.72);
  margin: 0 0 0.55rem !important;
}

.lhh-archive-posts .elementor-post__read-more,
.elementor-element.lhh-archive-posts .elementor-post__read-more {
  font-family: var(--lhh-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--lhh-page-accent, var(--lhh-hiking));
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.lhh-archive-posts .elementor-post__read-more:hover,
.lhh-archive-posts .elementor-post__read-more:focus-visible,
.elementor-element.lhh-archive-posts .elementor-post__read-more:hover,
.elementor-element.lhh-archive-posts .elementor-post__read-more:focus-visible {
  border-bottom-color: var(--lhh-page-accent, var(--lhh-hiking));
}

.lhh-archive-posts .elementor-post__read-more:focus-visible,
.elementor-element.lhh-archive-posts .elementor-post__read-more:focus-visible {
  outline: 2px solid var(--lhh-page-accent, var(--lhh-hiking));
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .lhh-hub-entries,
  .lhh-hub-entries:has(.lhh-hub-entry:nth-child(4)) {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .lhh-hub-entry {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    grid-template-rows: auto;
    align-items: stretch;
    gap: 0 1.15rem;
  }

  .lhh-hub-entry__media {
    min-height: 160px;
    aspect-ratio: 4 / 3;
  }

  .lhh-hub-entry__body {
    border-top: 0;
    border-left: 2px solid var(--lhh-hub-entry-accent);
    padding: 0.15rem 0 0.15rem 1rem;
    justify-content: center;
  }

  .lhh-hub-story,
  .lhh-hub-story--reverse {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .lhh-hub-story--reverse .lhh-hub-story__media,
  .lhh-hub-story--reverse .lhh-hub-story__copy {
    order: unset;
  }

  .lhh-hub-story__media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .lhh-hub-entry {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lhh-hub-entry__media {
    aspect-ratio: 16 / 10;
    min-height: 180px;
  }

  .lhh-hub-entry__body {
    border-left: 0;
    border-top: 2px solid var(--lhh-hub-entry-accent);
    padding: 1.1rem 0 0;
  }
}

@keyframes lhh-page-band-in {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lhh-page-media-in {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lhh-page-icons,
  .lhh-page-icons__item,
  .lhh-page-pathways,
  .lhh-page-section,
  .lhh-page-section-bleed,
  .lhh-page-map,
  .lhh-page-deep,
  .lhh-page-deep__media,
  .lhh-hub-intro,
  .lhh-hub-entry,
  .lhh-hub-story,
  .lhh-hub-note,
  .lhh-hub--contact .lhh-contact-band,
  .lhh-hub-entry__media,
  .lhh-hub-story__media-img {
    animation: none !important;
  }

  .lhh-page-pathways__link,
  .lhh-page-pathways__label,
  .lhh-hub-entry__media::before,
  .lhh-hub-story__media-img,
  .lhh-hub-entry__title,
  .lhh-hub-entry__arrow,
  .lhh-contact-band__email,
  .lhh-archive-posts .elementor-post__thumbnail img,
  .elementor-element.lhh-archive-posts .elementor-post__thumbnail img,
  .lhh-archive-posts .elementor-post__read-more,
  .elementor-element.lhh-archive-posts .elementor-post__read-more {
    transition: none !important;
  }

  .lhh-page-pathways__link:hover,
  .lhh-page-pathways__link:focus-visible {
    transform: none;
  }

  .lhh-hub-entry:hover .lhh-hub-entry__media::before,
  .lhh-hub-entry:focus-visible .lhh-hub-entry__media::before,
  .lhh-hub-story:hover .lhh-hub-story__media-img,
  .lhh-archive-posts .elementor-post:hover .elementor-post__thumbnail img,
  .lhh-archive-posts .elementor-post:focus-within .elementor-post__thumbnail img,
  .elementor-element.lhh-archive-posts .elementor-post:hover .elementor-post__thumbnail img,
  .elementor-element.lhh-archive-posts .elementor-post:focus-within .elementor-post__thumbnail img {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .lhh-page-icons__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lhh-page-pathways__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lhh-page-hero {
    min-height: clamp(18rem, 62vh, 30rem);
    padding-top: clamp(4.5rem, 12vh, 6rem);
  }

  .elementor-section:has(.lhh-page-hero__box):not(:has(.lhh-page-hero)) .lhh-page-hero__box {
    padding-top: clamp(4.5rem, 12vh, 6rem);
  }

  .lhh-page-hero__title,
  .lhh-page-hero__box h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .lhh-page-icons__list {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding-top: 1.15rem;
  }

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

  .lhh-page-map__iframe {
    height: clamp(16rem, 42vh, 24rem);
  }

  .lhh-page-deep {
    padding: 1rem 0 0;
  }

  .lhh-page-deep__media {
    min-height: clamp(12rem, 36vh, 18rem);
  }
}

.lhh-content-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.elementor-widget-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.lhh-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.lhh-card-grid article {
  border-top: 4px solid var(--lhh-hiking);
  padding-top: 0.75rem;
}

.lhh-card-grid h3 {
  font-family: var(--lhh-display);
  margin: 0 0 0.4rem;
}

.lhh-card-grid a {
  color: var(--lhh-heritage);
  font-weight: 600;
  text-decoration: none;
}

/* ========== Homepage ========== */
.lhh-home {
  --lhh-home-pad: clamp(1.25rem, 4vw, 3.5rem);
  color: var(--lhh-text);
  font-family: var(--lhh-font);
  overflow: clip;
}

.lhh-home .elementor-widget-container,
.elementor-widget-html .lhh-home {
  margin: 0;
}

/* Hero carousel — full-bleed composition */
.lhh-hero {
  position: relative;
  min-height: min(92vh, 860px);
  color: var(--lhh-white);
  isolation: isolate;
  /* Brand plane under media — never a grey first-paint slab */
  background: var(--lhh-forest);
}

.lhh-hero__viewport {
  position: relative;
  min-height: inherit;
  height: 100%;
  overflow: hidden;
  background: var(--lhh-forest);
}

.lhh-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  background-color: var(--lhh-forest);
  /* Underlay armed on every slide so activation never waits on a cascade flip */
  background-image: var(--lhh-hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.lhh-hero__slide.is-active {
  z-index: 1;
  pointer-events: auto;
}

.lhh-hero__slide:not(.is-active) {
  /* Keep inactive slides fully inert — no copy/media leak between paints */
  visibility: hidden;
}

.lhh-hero__slide.is-active,
.lhh-hero__slide.is-leaving {
  visibility: visible;
}

/* Inactive <img> never participates — underlay + forest plane only */
.lhh-hero .lhh-hero__slide:not(.is-active) .lhh-hero__media,
.elementor .lhh-hero__slide:not(.is-active) .lhh-hero__media {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

/* Crossfade media/shade only — copy never ghosts at partial opacity.
   Beat Elementor/theme `img { height: auto }` so media fills the slide
   (otherwise mobile collapses to a photo band + empty grey slab). */
.lhh-hero .lhh-hero__media,
.elementor .lhh-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition:
    opacity 0.85s ease,
    visibility 0s linear 0.85s,
    transform 8s ease-out;
}

/* Portrait local frames — keep subject in the landscape crop */
.lhh-hero .lhh-hero__media[src*="tea.jpg"],
.elementor .lhh-hero__media[src*="tea.jpg"] {
  object-position: center 42%;
}

.lhh-hero .lhh-hero__media[src*="waterfall.jpg"],
.elementor .lhh-hero__media[src*="waterfall.jpg"] {
  object-position: center 30%;
}

/* Active media fades in after load/rAF (is-media-ready); CSS underlay covers the wait.
   Without JS pending arm, active media still paints (progressive enhancement). */
.lhh-hero .lhh-hero__slide.is-active .lhh-hero__media,
.elementor .lhh-hero__slide.is-active .lhh-hero__media {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity 0.85s ease,
    visibility 0s linear 0s,
    transform 8s ease-out;
}

.lhh-hero.is-pending .lhh-hero__slide.is-active:not(.is-media-ready) .lhh-hero__media,
.elementor .lhh-hero.is-pending .lhh-hero__slide.is-active:not(.is-media-ready) .lhh-hero__media {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

.lhh-hero.is-pending .lhh-hero__slide.is-active.is-media-ready .lhh-hero__media,
.elementor .lhh-hero.is-pending .lhh-hero__slide.is-active.is-media-ready .lhh-hero__media {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity 0.85s ease,
    visibility 0s linear 0s,
    transform 8s ease-out;
}

.lhh-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 24, 20, 0.1) 0%, rgba(12, 24, 20, 0.2) 48%, rgba(10, 18, 22, 0.55) 100%),
    linear-gradient(90deg, rgba(12, 28, 24, 0.32) 0%, transparent 58%);
  transition:
    opacity 0.85s ease,
    visibility 0s linear 0.85s;
}

.lhh-hero__slide.is-active .lhh-hero__shade {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.85s ease,
    visibility 0s linear 0s;
}

.lhh-hero__copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  max-width: 100%;
  padding: clamp(4.5rem, 10vh, 7rem) var(--lhh-home-pad) clamp(5.5rem, 12vh, 7.5rem);
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

/* Opacity is discrete (no opacity keyframes) so a stalled animation cannot hide copy */
.lhh-hero__slide.is-active .lhh-hero__copy {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: lhh-hero-copy-in 0.75s ease both;
}

@keyframes lhh-hero-copy-in {
  from {
    transform: translateY(14px);
  }
  to {
    transform: translateY(0);
  }
}

.lhh-hero__headline {
  margin: 0 0 0.65rem;
  font-family: var(--lhh-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.8vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.lhh-hero__support {
  margin: 0 0 1.4rem;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.45;
  max-width: 40ch;
  opacity: 0.94;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
  text-wrap: pretty;
}

.lhh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lhh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--lhh-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  white-space: normal;
  max-width: 100%;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lhh-btn:hover {
  transform: translateY(-1px);
}

.lhh-btn--primary {
  background: var(--lhh-hiking);
  color: var(--lhh-white);
  border-color: var(--lhh-hiking);
}

.lhh-btn--primary:hover,
.lhh-btn--primary:focus-visible {
  background: #0f5a2c;
  border-color: #0f5a2c;
  color: var(--lhh-white);
}

.lhh-btn--ghost {
  background: transparent;
  color: var(--lhh-white);
  border-color: rgba(255, 255, 255, 0.72);
}

/* Hero ghost — hold edge on lighter masonry frames (e.g. Nine Arch) */
.lhh-hero__actions .lhh-btn--ghost {
  background: rgba(8, 16, 14, 0.34);
  border-color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.58);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.lhh-btn--ghost:hover,
.lhh-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--lhh-white);
}

.lhh-hero__actions .lhh-btn--ghost:hover,
.lhh-hero__actions .lhh-btn--ghost:focus-visible {
  background: rgba(8, 16, 14, 0.42);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.lhh-btn--solid {
  background: var(--lhh-heritage);
  color: var(--lhh-white);
  border-color: var(--lhh-heritage);
}

.lhh-btn--solid:hover,
.lhh-btn--solid:focus-visible {
  background: #152f4d;
  border-color: #152f4d;
  color: var(--lhh-white);
}

.lhh-btn--ghost-dark {
  background: transparent;
  color: var(--lhh-forest);
  border-color: rgba(15, 61, 50, 0.35);
}

.lhh-btn--ghost-dark:hover,
.lhh-btn--ghost-dark:focus-visible {
  background: rgba(15, 61, 50, 0.1);
  border-color: rgba(15, 61, 50, 0.55);
  color: var(--lhh-forest);
}

.lhh-hero__controls {
  position: absolute;
  left: var(--lhh-home-pad);
  right: var(--lhh-home-pad);
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Beat Hello Elementor button reset ([type=button], button) */
.lhh-hero__controls button.lhh-hero__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--lhh-white);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.lhh-hero__controls button.lhh-hero__nav:hover,
.lhh-hero__controls button.lhh-hero__nav:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--lhh-white);
  opacity: 1;
}

.lhh-hero__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.15rem;
}

.lhh-hero__controls button.lhh-hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  min-width: 0.5rem;
  min-height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lhh-hero__controls button.lhh-hero__dot:hover,
.lhh-hero__controls button.lhh-hero__dot:focus {
  background: rgba(255, 255, 255, 0.75);
  border: 0;
  box-shadow: none;
}

.lhh-hero__controls button.lhh-hero__dot.is-active {
  background: var(--lhh-white);
  transform: scale(1.15);
}

/* Shared section rhythm */
.lhh-home-section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--lhh-home-pad);
}

.lhh-home-section__intro {
  max-width: 1200px;
  margin: 0 auto clamp(2rem, 4.5vw, 3rem);
}

.lhh-home-section__intro h2 {
  max-width: 22ch;
}

.lhh-home-section__intro h2,
.lhh-spotlight__copy h2,
.lhh-plan h2 {
  margin: 0 0 0.65rem;
  font-family: var(--lhh-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--lhh-forest);
  text-wrap: balance;
}

.lhh-home-section__intro p,
.lhh-spotlight__copy > p:not(.lhh-eyebrow),
.lhh-plan p {
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  color: rgba(28, 31, 34, 0.78);
  max-width: 42ch;
}

.lhh-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lhh-hiking);
}

.lhh-btn:focus-visible,
.lhh-pathway:focus-visible,
.lhh-hero__controls button.lhh-hero__nav:focus-visible,
.lhh-hero__controls button.lhh-hero__dot:focus-visible {
  outline: 2px solid var(--lhh-hiking);
  outline-offset: 3px;
}

/* Scroll reveal — progressive: visible without JS, motion when armed (home + hubs) */
.has-reveal-motion [data-lhh-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(1.15rem);
}

.has-reveal-motion [data-lhh-reveal] {
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--lhh-reveal-delay, 0ms);
}

.has-reveal-motion [data-lhh-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Avoid double-motion: IO reveal replaces load-time band-in on marked hubs */
.has-reveal-motion .lhh-hub-intro[data-lhh-reveal],
.has-reveal-motion .lhh-hub-entry[data-lhh-reveal],
.has-reveal-motion .lhh-hub-story[data-lhh-reveal],
.has-reveal-motion .lhh-hub-note[data-lhh-reveal],
.has-reveal-motion .lhh-contact-band[data-lhh-reveal],
.has-reveal-motion .lhh-archive__intro[data-lhh-reveal] {
  animation: none;
}

/* Pathways — photo-navigation portals, not product cards */
.lhh-pathways {
  background:
    linear-gradient(180deg, #e8f2ec 0%, #f4f8f5 52%, #fafbfa 100%);
  position: relative;
}

.lhh-pathways::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cpath fill='none' stroke='%230f3d32' stroke-width='0.6' d='M10 40c30 10 40-20 70-10s40 40 70 20 40-10 70 10'/%3E%3Cpath fill='none' stroke='%230f3d32' stroke-width='0.6' d='M0 90c40 0 50-30 90-20s50 40 90 10'/%3E%3C/svg%3E");
  pointer-events: none;
}

.lhh-pathways__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.35rem);
  max-width: 1200px;
  margin: 0 auto;
}

.lhh-pathway {
  --lhh-pathway-accent: var(--lhh-hiking);
  position: relative;
  display: block;
  min-height: clamp(420px, 52vh, 560px);
  overflow: hidden;
  color: #f7faf8;
  text-decoration: none;
  isolation: isolate;
  outline: none;
}

.lhh-pathway--heritage {
  --lhh-pathway-accent: var(--lhh-heritage);
}

.lhh-pathway--history {
  --lhh-pathway-accent: var(--lhh-history);
}

.lhh-pathway__media {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-pathway__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 14, 0.08) 0%, rgba(8, 16, 14, 0.18) 38%, rgba(8, 16, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 16, 14, 0.22) 0%, transparent 55%);
  pointer-events: none;
}

.lhh-pathway:hover .lhh-pathway__media,
.lhh-pathway:focus-visible .lhh-pathway__media {
  transform: scale(1.08);
}

.lhh-pathway__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.15rem, 2.2vw, 1.6rem) clamp(1.35rem, 2.6vw, 1.75rem);
  border: 0;
  border-left: 3px solid var(--lhh-pathway-accent);
  background: transparent;
}

.lhh-pathway__label {
  display: block;
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 250, 248, 0.78);
}

.lhh-pathway__label::after {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  margin-top: 0.45rem;
  background: var(--lhh-pathway-accent);
}

.lhh-pathway__title {
  font-family: var(--lhh-display);
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #f7faf8;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-pathway:hover .lhh-pathway__title,
.lhh-pathway:focus-visible .lhh-pathway__title {
  transform: translateY(-2px);
}

.lhh-pathway__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(247, 250, 248, 0.86);
  max-width: 30ch;
  text-wrap: pretty;
}

.lhh-pathway__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  padding-top: 0;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: #f7faf8;
}

.lhh-pathway__arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-pathway:hover .lhh-pathway__arrow,
.lhh-pathway:focus-visible .lhh-pathway__arrow {
  transform: translateX(5px);
}

/* Spotlight bands — full-bleed atmosphere, constrained layout */
.lhh-spotlight-band--feature {
  background: linear-gradient(180deg, #fafbfa 0%, #f2f6f4 100%);
}

.lhh-spotlight-band--story {
  background: linear-gradient(180deg, #eef3f7 0%, #f6f8fa 100%);
  position: relative;
}

.lhh-spotlight-band--story::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cpath fill='none' stroke='%231b3a5d' stroke-width='0.6' d='M10 40c30 10 40-20 70-10s40 40 70 20 40-10 70 10'/%3E%3C/svg%3E");
  pointer-events: none;
}

.lhh-spotlight {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4.5vw, 3.75rem);
  align-items: center;
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.lhh-spotlight--reverse .lhh-spotlight__media {
  order: 2;
}

.lhh-spotlight--reverse .lhh-spotlight__copy {
  order: 1;
}

.lhh-spotlight__media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: rgba(15, 61, 50, 0.06);
}

.lhh-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.lhh-spotlight:hover .lhh-spotlight__media img,
.lhh-spotlight:focus-within .lhh-spotlight__media img {
  transform: scale(1.05);
}

.lhh-spotlight__copy {
  max-width: 28rem;
}

.lhh-spotlight__copy .lhh-btn {
  margin-top: 1.5rem;
}

.lhh-spotlight-band--story .lhh-eyebrow {
  color: var(--lhh-heritage);
}

.lhh-spotlight-band--story .lhh-spotlight__copy h2 {
  color: var(--lhh-heritage);
}

/* Trails worth planning */
.lhh-trails__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.lhh-trail {
  display: grid;
  grid-template-columns: minmax(140px, 42%) 1fr;
  gap: 1.1rem;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.lhh-trail:focus-visible {
  outline: 2px solid var(--lhh-hiking);
  outline-offset: 4px;
}

.lhh-trail__media {
  display: block;
  overflow: hidden;
  min-height: 160px;
  aspect-ratio: 4 / 3;
}

.lhh-trail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.lhh-trail:hover .lhh-trail__media img,
.lhh-trail:focus-visible .lhh-trail__media img {
  transform: scale(1.04);
}

.lhh-trail__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.15rem 0;
  border-top: 2px solid var(--lhh-hiking);
  transition: border-color 0.25s ease;
}

.lhh-trail:hover .lhh-trail__body,
.lhh-trail:focus-visible .lhh-trail__body {
  border-top-color: #0f5a2c;
}

.lhh-trail__meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28, 31, 34, 0.62);
}

.lhh-trail__title {
  font-family: var(--lhh-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--lhh-forest);
  transition: color 0.25s ease;
}

.lhh-trail:hover .lhh-trail__title,
.lhh-trail:focus-visible .lhh-trail__title {
  color: var(--lhh-hiking);
}

.lhh-trail__text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(28, 31, 34, 0.8);
}

.lhh-home-section__more {
  margin: 2rem 0 0;
}

/* When to walk / seasons */
.lhh-seasons {
  background:
    linear-gradient(180deg, #f4f8f6 0%, #e8f1ec 100%);
  position: relative;
}

.lhh-seasons::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cpath fill='none' stroke='%230f3d32' stroke-width='0.6' d='M10 40c30 10 40-20 70-10s40 40 70 20 40-10 70 10'/%3E%3C/svg%3E");
  pointer-events: none;
}

.lhh-seasons__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.lhh-seasons__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.lhh-season h3 {
  margin: 0 0 0.5rem;
  font-family: var(--lhh-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lhh-forest);
}

.lhh-season p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(28, 31, 34, 0.8);
  max-width: 34ch;
}

.lhh-season {
  padding-top: 0.85rem;
  border-top: 2px solid rgba(21, 109, 53, 0.35);
}

/* Plan smarter / guides */
.lhh-guides__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.lhh-guide {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.9rem;
  border-top: 2px solid var(--lhh-heritage);
  color: inherit;
  text-decoration: none;
  min-height: 100%;
  transition: border-color 0.25s ease;
}

.lhh-guide:hover,
.lhh-guide:focus-visible {
  border-top-color: #152f4d;
}

.lhh-guide:focus-visible {
  outline: 2px solid var(--lhh-heritage);
  outline-offset: 4px;
}

.lhh-guide__title {
  font-family: var(--lhh-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lhh-heritage);
  transition: color 0.25s ease;
}

.lhh-guide:hover .lhh-guide__title,
.lhh-guide:focus-visible .lhh-guide__title {
  color: #152f4d;
}

.lhh-guide__text {
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(28, 31, 34, 0.8);
  flex: 1;
}

.lhh-guide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--lhh-heritage);
  transition: color 0.25s ease;
}

.lhh-guide:hover .lhh-guide__cta,
.lhh-guide:focus-visible .lhh-guide__cta {
  color: #152f4d;
}

.lhh-guide:hover .lhh-guide__cta span,
.lhh-guide:focus-visible .lhh-guide__cta span {
  transform: translateX(3px);
}

.lhh-guide__cta span {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Journal / editorial */
.lhh-journal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.lhh-journal-item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.lhh-journal-item:focus-visible {
  outline: 2px solid var(--lhh-hiking);
  outline-offset: 4px;
}

.lhh-journal-item__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.lhh-journal-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.lhh-journal-item:hover .lhh-journal-item__media img,
.lhh-journal-item:focus-visible .lhh-journal-item__media img {
  transform: scale(1.04);
}

.lhh-journal-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lhh-journal-item__title {
  font-family: var(--lhh-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--lhh-forest);
  transition: color 0.25s ease;
}

.lhh-journal-item:hover .lhh-journal-item__title,
.lhh-journal-item:focus-visible .lhh-journal-item__title {
  color: var(--lhh-hiking);
}

.lhh-journal-item__text {
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(28, 31, 34, 0.8);
}

/* Plan band */
.lhh-plan {
  background:
    linear-gradient(
      125deg,
      rgba(168, 212, 239, 0.42) 0%,
      rgba(238, 246, 241, 0.96) 42%,
      rgba(21, 109, 53, 0.14) 100%
    );
  position: relative;
}

.lhh-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cpath fill='none' stroke='%231b3a5d' stroke-width='0.6' d='M10 40c30 10 40-20 70-10s40 40 70 20 40-10 70 10'/%3E%3C/svg%3E");
  pointer-events: none;
}

.lhh-plan__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.lhh-plan__inner h2 {
  text-wrap: balance;
}

.lhh-plan__inner > p {
  margin-left: auto;
  margin-right: auto;
}

.lhh-plan__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.lhh-plan__links .lhh-btn {
  min-width: 8.5rem;
}

@media (max-width: 1100px) {
  .lhh-guides__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .lhh-trails__grid,
  .lhh-seasons__grid,
  .lhh-journal__grid {
    grid-template-columns: 1fr;
  }

  .lhh-pathways__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .lhh-pathway {
    min-height: clamp(280px, 42vw, 360px);
  }

  .lhh-pathway__body {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .lhh-pathway__title {
    font-size: clamp(1.7rem, 5.5vw, 2.1rem);
  }

  .lhh-pathway__text {
    max-width: 42ch;
  }

  .lhh-spotlight,
  .lhh-spotlight--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lhh-spotlight--reverse .lhh-spotlight__media,
  .lhh-spotlight--reverse .lhh-spotlight__copy {
    order: unset;
  }

  .lhh-spotlight__media {
    aspect-ratio: 16 / 10;
  }

  .lhh-plan__inner {
    text-align: left;
  }

  .lhh-plan__inner > p {
    margin-left: 0;
    margin-right: 0;
  }

  .lhh-plan__links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .lhh-trail {
    grid-template-columns: 1fr;
  }

  .lhh-trail__media {
    aspect-ratio: 16 / 10;
  }

  .lhh-guides__grid {
    grid-template-columns: 1fr;
  }

  .lhh-hero {
    min-height: min(88vh, 720px);
  }

  /* Soft overlay on the photo — never a separate grey copy slab */
  .lhh-hero__shade {
    background:
      linear-gradient(180deg, rgba(12, 24, 20, 0.08) 0%, rgba(12, 24, 20, 0.18) 42%, rgba(10, 18, 22, 0.52) 100%),
      linear-gradient(90deg, rgba(12, 28, 24, 0.22) 0%, transparent 72%);
  }

  .lhh-hero__copy {
    width: 100%;
    background: transparent;
    padding:
      clamp(3.25rem, 12vh, 5rem)
      var(--lhh-home-pad)
      clamp(4.75rem, 14vh, 6.5rem);
  }

  .lhh-hero__headline {
    font-size: clamp(1.75rem, 8.2vw, 2.35rem);
    max-width: 14ch;
  }

  .lhh-hero__actions {
    width: 100%;
    /* Soft local scrim — keeps ghost CTA readable on light slide frames */
    padding: 0.45rem 0.2rem 0.25rem;
    margin: 0 -0.2rem;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(8, 16, 14, 0.32) 48%,
      rgba(8, 16, 14, 0.4) 100%
    );
  }

  .lhh-hero__actions .lhh-btn {
    flex: 1 1 auto;
  }

  .lhh-hero__actions .lhh-btn--ghost {
    background: rgba(8, 16, 14, 0.36);
    border-color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.65);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
  }

  .lhh-pathway {
    min-height: min(72vw, 320px);
  }

  .lhh-pathway__body {
    border-left-width: 3px;
  }

  .lhh-plan__links .lhh-btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lhh-hero__media,
  .lhh-hero__shade,
  .lhh-hero__copy {
    transition: none !important;
    animation: none !important;
  }

  .lhh-hero__slide.is-leaving {
    visibility: hidden;
  }

  /* Inactive hero slides stay fully hidden — never force opacity: 1 */
  .lhh-hero__slide:not(.is-active) .lhh-hero__media,
  .lhh-hero__slide:not(.is-active) .lhh-hero__shade,
  .lhh-hero__slide:not(.is-active) .lhh-hero__copy {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
  }

  .lhh-hero__slide.is-active .lhh-hero__media,
  .lhh-hero__slide.is-active .lhh-hero__shade,
  .lhh-hero__slide.is-active .lhh-hero__copy,
  .lhh-hero.is-pending .lhh-hero__slide.is-active.is-media-ready .lhh-hero__media {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  /* Still hold img until ready; CSS underlay covers the wait */
  .lhh-hero.is-pending .lhh-hero__slide.is-active:not(.is-media-ready) .lhh-hero__media {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .lhh-pathway__media,
  .lhh-pathway__title,
  .lhh-pathway__arrow,
  .lhh-spotlight__media img,
  .lhh-btn,
  .has-reveal-motion [data-lhh-reveal] {
    transition: none !important;
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .lhh-pathway:hover .lhh-pathway__media,
  .lhh-pathway:focus-visible .lhh-pathway__media,
  .lhh-spotlight:hover .lhh-spotlight__media img,
  .lhh-hub-entry:hover .lhh-hub-entry__media::before,
  .lhh-hub-entry:focus-visible .lhh-hub-entry__media::before,
  .lhh-hub-story:hover .lhh-hub-story__media,
  .lhh-page-pathways__link:hover,
  .lhh-page-pathways__link:focus-visible {
    transform: none;
  }
}
