.tmpl-heritage1 {
  --template-shell-max-width: 1440px;
  --template-hero-min-height-home: 100vh;
  --template-hero-min-height-home-mobile: 100svh;
  --template-hero-min-height-inner: clamp(188px, 22vw, 272px);
  --template-hero-padding-inline: clamp(24px, 4vw, 68px);
  --template-topbar-padding-block: 28px;
  --template-topbar-balance-width: 112px;
  --template-hero-content-padding-top: clamp(108px, 15vh, 220px);
  --template-hero-content-padding-bottom: clamp(90px, 13vh, 164px);
  --template-hero-copy-max-width: 960px;
  --template-text-primary: var(--color-text-thematic-primary);
  --template-text-secondary: var(--color-text-thematic-secondary);
  --template-text-muted: var(--color-text-muted);
  --template-text-inverse: var(--color-text-inverse);
  --template-text-inverse-muted: var(--color-text-inverse-soft);
  --template-surface-page: var(--color-bg-muted);
  --template-surface-white: var(--color-bg-surface);
  --template-surface-dark: var(--color-bg-primary);
  --template-surface-dark-soft: rgb(var(--color-bg-primary-rgb) / 0.72);
  --template-border-soft: rgb(var(--color-bg-surface-rgb) / 0.18);
  --template-border-strong: rgb(var(--color-bg-surface-rgb) / 0.32);
  --template-shadow-soft: rgb(var(--color-shadow-soft-rgb) / 0.16);
  --template-shadow-strong: rgb(var(--color-shadow-soft-rgb) / 0.3);
  --template-hero-overlay-top: rgb(var(--color-bg-primary-rgb) / 0.4);
  --template-hero-overlay-mid: rgb(var(--color-bg-primary-rgb) / 0.24);
  --template-hero-overlay-bottom: rgb(var(--color-bg-primary-rgb) / 0.62);
  --template-hero-vignette-left: rgb(var(--color-bg-primary-rgb) / 0.3);
  --template-hero-vignette-right: rgb(var(--color-bg-primary-rgb) / 0.22);
  --template-nav-text: var(--color-text-inverse);
  --template-nav-text-active: var(--color-text-inverse);
  --template-nav-link-hover: rgb(var(--color-bg-surface-rgb) / 0.08);
  --template-nav-link-active: rgb(var(--color-bg-surface-rgb) / 0.14);
  --template-nav-gap: clamp(18px, 2vw, 34px);
  --template-toggle-size: 48px;
  --template-toggle-bar-width: 24px;
  --template-toggle-bar-height: 2px;
  --template-page-sections-padding-bottom: 80px;
  --template-action-radius: 999px;
  --template-serif-stack: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville, "Times New Roman", serif;
}

.tmpl-heritage1 body,
.tmpl-heritage1 {
  color: var(--template-text-primary);
  background: linear-gradient(180deg, color-mix(in srgb, var(--template-surface-page) 94%, var(--template-surface-white)) 0%, var(--template-surface-page) 100%);
}

.tmpl-heritage1 .content-shell {
  max-width: var(--template-shell-max-width);
}

.tmpl-heritage1 .hg1-hero {
  position: relative;
  overflow: visible;
  color: var(--template-text-inverse);
  background-color: var(--template-surface-dark);
  background-size: cover;
  background-position: center;
  min-height: var(--template-hero-min-height-inner);
  margin-bottom: 32px;
}

.tmpl-heritage1 .hg1-hero:not(.hg1-hero--inner) {
  min-height: var(--template-hero-min-height-home);
  height: var(--template-hero-min-height-home);
}

.tmpl-heritage1 .hg1-hero-overlay,
.tmpl-heritage1 .hg1-hero-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tmpl-heritage1 .hg1-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tmpl-heritage1 .hg1-hero-overlay {
  background: linear-gradient(180deg, var(--template-hero-overlay-top) 0%, var(--template-hero-overlay-mid) 32%, var(--template-hero-overlay-bottom) 100%), linear-gradient(90deg, var(--template-hero-vignette-left) 0%, transparent 22%, transparent 78%, var(--template-hero-vignette-right) 100%);
  z-index: 1;
}

.tmpl-heritage1 .hg1-hero-shell {
  position: relative;
  z-index: 3;
  min-height: inherit;
  max-width: var(--template-shell-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 var(--template-hero-padding-inline);
}

.tmpl-heritage1 .hg1-nav-toggle-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tmpl-heritage1 .hg1-hero-topbar {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: var(--template-topbar-padding-block);
}

.tmpl-heritage1 .hg1-brand,
.tmpl-heritage1 .hg1-topbar-balance {
  flex: 0 0 var(--template-topbar-balance-width);
  width: var(--template-topbar-balance-width);
}

.tmpl-heritage1 .hg1-brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
}

.tmpl-heritage1 .hg1-brand img,
.tmpl-heritage1 .hg1-brand-logo-placeholder {
  display: block;
  height: auto;
  width: auto;
  max-width: min(100%, 108px);
  max-height: 108px;
}

.tmpl-heritage1 .hg1-brand-logo-placeholder {
  aspect-ratio: 1/1;
  width: 96px;
  border-radius: 999px;
  border: 1px solid var(--template-border-soft);
  background: rgb(var(--color-bg-surface-rgb)/0.08);
}

.tmpl-heritage1 .hg1-nav-desktop-shell {
  position: absolute;
  left: 50%;
  top: calc(var(--template-topbar-padding-block) + 4px);
  transform: translateX(-50%);
}

.tmpl-heritage1 .hg1-nav-mobile-shell {
  display: none;
}

.tmpl-heritage1 .hg1-nav-mobile-dismiss {
  display: none;
}

.tmpl-heritage1 .hg1-nav-toggle {
  display: none;
  width: var(--template-toggle-size);
  height: var(--template-toggle-size);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.tmpl-heritage1 .hg1-nav-toggle-bar {
  display: block;
  width: var(--template-toggle-bar-width);
  height: var(--template-toggle-bar-height);
  background: var(--template-text-inverse);
  border-radius: 999px;
}

.tmpl-heritage1 .hg1-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--template-nav-gap);
}

.tmpl-heritage1 .hg1-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0;
  text-decoration: none;
  color: var(--template-nav-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  transition: color 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}

.tmpl-heritage1 .hg1-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 34px;
  height: 1px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: currentColor;
  transition: transform 0.18s ease;
  opacity: 0.9;
}

.tmpl-heritage1 .hg1-nav-link:hover,
.tmpl-heritage1 .hg1-nav-link:focus-visible {
  color: var(--template-nav-text-active);
}

.tmpl-heritage1 .hg1-nav-link:hover::after,
.tmpl-heritage1 .hg1-nav-link:focus-visible::after,
.tmpl-heritage1 .hg1-nav-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.tmpl-heritage1 .hg1-nav-link.is-active {
  color: var(--template-nav-text-active);
}

.tmpl-heritage1 .hg1-nav-more {
  position: relative;
}

.tmpl-heritage1 .hg1-nav-more summary {
  list-style: none;
}

.tmpl-heritage1 .hg1-nav-more summary::-webkit-details-marker {
  display: none;
}

.tmpl-heritage1 .hg1-nav-more-trigger {
  gap: 0.45rem;
}

.tmpl-heritage1 .hg1-nav-more-indicator {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.14rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s ease, opacity 0.16s ease;
  opacity: 0.72;
}

.tmpl-heritage1 .hg1-nav-more[open] .hg1-nav-more-indicator {
  transform: rotate(225deg);
  opacity: 0.9;
}

.tmpl-heritage1 .hg1-nav-more-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 240px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--template-border-soft);
  background: rgb(var(--color-bg-primary-rgb)/0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 40px var(--template-shadow-strong);
}

.tmpl-heritage1 .hg1-nav-more-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--template-text-inverse);
  text-decoration: none;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 10px;
}

.tmpl-heritage1 .hg1-nav-more-link:hover,
.tmpl-heritage1 .hg1-nav-more-link.is-active {
  background: rgb(var(--color-bg-surface-rgb)/0.1);
}

.tmpl-heritage1 .hg1-hero-content {
  margin: clamp(64px, 10vh, 112px) auto 0;
  width: min(100%, var(--template-hero-copy-max-width) + 8rem);
  padding: clamp(36px, 5vh, 64px) 0 var(--template-hero-content-padding-bottom);
  text-align: center;
}

.tmpl-heritage1 .hg1-hero-eyebrow {
  margin: 0 0 18px;
  color: var(--template-text-inverse-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.tmpl-heritage1 .hg1-hero-heading {
  margin: 0 auto;
  max-width: 15ch;
  color: var(--template-text-inverse);
  font-family: var(--template-serif-stack);
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  font-style: italic;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.tmpl-heritage1 .hg1-hero-body {
  margin: 28px auto 0;
  max-width: 44ch;
  color: var(--template-text-inverse);
  font-family: var(--template-serif-stack);
  font-size: clamp(1rem, 1.35vw, 1.32rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.tmpl-heritage1 .hg1-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tmpl-heritage1 .hg1-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--template-action-radius);
  border: 1px solid var(--template-border-soft);
  text-decoration: none;
  color: var(--template-text-inverse);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.tmpl-heritage1 .hg1-hero-action:hover {
  transform: translateY(-1px);
}

.tmpl-heritage1 .hg1-hero-action--primary {
  background: rgb(var(--color-bg-surface-rgb)/0.12);
  backdrop-filter: blur(8px);
}

.tmpl-heritage1 .hg1-hero-action--secondary {
  background: transparent;
}

.tmpl-heritage1 .hg1-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 4.5vh, 44px);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: var(--template-text-inverse-muted);
  pointer-events: none;
  animation: hg1-scroll-indicator-float 5.8s ease-in-out infinite;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  opacity: 1;
  visibility: visible;
}

.tmpl-heritage1 .hg1-scroll-indicator-line {
  display: block;
  width: 1px;
  height: 56px;
  background: currentColor;
  opacity: 0.72;
}

.tmpl-heritage1 .hg1-scroll-indicator-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes hg1-scroll-indicator-float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tmpl-heritage1 .hg1-scroll-indicator {
    animation: none;
    transition: none;
  }
}
.tmpl-heritage1 .hg1-page-sections {
  padding-bottom: var(--template-page-sections-padding-bottom);
}

@media (max-width: 1100px) {
  .tmpl-heritage1 .hg1-nav {
    gap: 20px;
  }
  .tmpl-heritage1 .hg1-nav-link {
    letter-spacing: 0.28em;
    font-size: 0.74rem;
  }
}
@media (max-width: 860px) {
  .tmpl-heritage1 .hg1-hero:not(.hg1-hero--inner) {
    min-height: var(--template-hero-min-height-home-mobile);
    height: var(--template-hero-min-height-home-mobile);
  }
  .tmpl-heritage1 .hg1-hero-topbar {
    align-items: center;
  }
  .tmpl-heritage1 .hg1-topbar-balance,
  .tmpl-heritage1 .hg1-nav-desktop-shell {
    display: none;
  }
  .tmpl-heritage1 .hg1-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .tmpl-heritage1 .hg1-nav-mobile-shell {
    display: none;
    position: absolute;
    top: calc(var(--template-topbar-padding-block) + var(--template-toggle-size) + 18px);
    left: var(--template-hero-padding-inline);
    right: var(--template-hero-padding-inline);
    z-index: 6;
    padding: 18px 18px 12px;
    border: 1px solid var(--template-border-soft);
    border-radius: 22px;
    background: rgb(var(--color-bg-primary-rgb)/0.84);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 40px var(--template-shadow-strong);
  }
  .tmpl-heritage1 .hg1-nav-mobile-dismiss {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5;
    cursor: default;
  }
  .tmpl-heritage1 .hg1-nav-mobile-shell .hg1-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }
  .tmpl-heritage1 .hg1-nav-mobile-shell .hg1-nav-link {
    width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 18px;
    border: 1px solid var(--template-border-soft);
    border-radius: 14px;
    background: rgb(var(--color-bg-surface-rgb)/0.08);
    backdrop-filter: blur(6px);
    letter-spacing: 0.22em;
    font-size: 0.76rem;
  }
  .tmpl-heritage1 .hg1-nav-mobile-shell .hg1-nav-link::after {
    display: none;
  }
  .tmpl-heritage1 .hg1-nav-mobile-shell .hg1-nav-link:hover,
  .tmpl-heritage1 .hg1-nav-mobile-shell .hg1-nav-link:focus-visible {
    background: rgb(var(--color-bg-surface-rgb)/0.14);
    border-color: var(--template-nav-text-active);
  }
  .tmpl-heritage1 .hg1-nav-mobile-shell .hg1-nav-link.is-active {
    color: var(--template-nav-text-active);
    border-color: var(--template-nav-text-active);
    background: rgb(var(--color-bg-surface-rgb)/0.16);
  }
  .tmpl-heritage1 .hg1-nav-toggle-checkbox:checked ~ .hg1-hero-shell .hg1-nav-mobile-shell {
    display: block;
  }
  .tmpl-heritage1 .hg1-nav-toggle-checkbox:checked ~ .hg1-hero-shell .hg1-nav-mobile-dismiss {
    display: block;
  }
  .tmpl-heritage1 .hg1-hero-content {
    width: min(100%, 38rem);
    margin-top: clamp(52px, 8vh, 88px);
    padding-top: clamp(54px, 9vh, 96px);
    padding-bottom: clamp(112px, 16vh, 164px);
  }
  .tmpl-heritage1 .hg1-hero-heading {
    max-width: 14ch;
    font-size: clamp(2.05rem, 7.4vw, 3.5rem);
  }
  .tmpl-heritage1 .hg1-scroll-indicator {
    bottom: 24px;
    gap: 10px;
  }
  .tmpl-heritage1 .hg1-scroll-indicator-line {
    height: 44px;
  }
  .tmpl-heritage1 .hg1-scroll-indicator-label {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
  }
}
@media (max-width: 640px) {
  .tmpl-heritage1 .hg1-brand,
  .tmpl-heritage1 .hg1-topbar-balance {
    width: 88px;
    flex-basis: 88px;
  }
  .tmpl-heritage1 .hg1-brand img,
  .tmpl-heritage1 .hg1-brand-logo-placeholder {
    max-width: 82px;
    max-height: 82px;
  }
  .tmpl-heritage1 .hg1-hero-body {
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.5;
  }
  .tmpl-heritage1 .hg1-scroll-indicator {
    bottom: 18px;
  }
  .tmpl-heritage1 .hg1-scroll-indicator-line {
    height: 34px;
  }
  .tmpl-heritage1 .hg1-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .tmpl-heritage1 .hg1-hero-action {
    width: min(100%, 320px);
  }
}
