.bm_hero_stage {
  --bm-hero-ground: #f7f1e7;
  --bm-hero-ink: #ffffff;
  --bm-hero-accent: #8d4b35;
  --bm-hero-forest: #21382d;
  --bm-hero-surface: #ffffff;
  margin: 0;
  width: 100%;
}

.bm-hero-stage {
  position: relative;
  min-height: clamp(570px, 72vh, 790px);
  overflow: hidden;
  isolation: isolate;
  background: var(--bm-hero-forest);
}

.bm-hero-stage__slides,
.bm-hero-slide__inner,
.bm-hero-slide__media {
  position: absolute;
  inset: 0;
}

.bm-hero-stage__slides > .bm_hero_slide {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.bm-hero-stage:not(.bm-hero-stage--ready) .bm-hero-stage__slides > .bm_hero_slide:first-child,
.bm-hero-stage--ready .bm_hero_slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bm-hero-stage--ready .bm-hero-stage__slides[data-active-index="0"] > .bm_hero_slide:nth-child(1),
.bm-hero-stage--ready .bm-hero-stage__slides[data-active-index="1"] > .bm_hero_slide:nth-child(2),
.bm-hero-stage--ready .bm-hero-stage__slides[data-active-index="2"] > .bm_hero_slide:nth-child(3),
.bm-hero-stage--ready .bm-hero-stage__slides[data-active-index="3"] > .bm_hero_slide:nth-child(4) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bm-hero-stage__slides > .bm_hero_slide:nth-child(n + 5) {
  display: none !important;
}

.bm-hero-slide__inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bm-hero-slide__media,
.bm-hero-slide__media .et_pb_image_wrap,
.bm-hero-slide__media img {
  width: 100%;
  height: 100%;
}

.bm-hero-slide__media img {
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 10s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bm-hero-stage--ready .bm_hero_slide.is-active .bm-hero-slide__media img {
  transform: scale(1.035);
}

.bm-hero-slide__inner::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 41, 31, 0.82) 0%, rgba(20, 41, 31, 0.54) 38%, rgba(20, 41, 31, 0.12) 68%, rgba(20, 41, 31, 0.02) 100%),
    linear-gradient(180deg, rgba(15, 29, 23, 0.06), rgba(15, 29, 23, 0.34));
  pointer-events: none;
}

.bm-hero-slide__content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(1240px, calc(100% - 64px));
  min-height: clamp(570px, 72vh, 790px);
  margin: 0 auto;
  padding: 72px 0 78px;
}

.bm-hero-slide__content-box {
  width: min(620px, 52%);
  margin-right: auto;
  text-align: left;
}

.bm-hero-slide__eyebrow {
  margin: 0 0 16px;
  color: #f7f1e7;
  font-family: "Karla", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bm-hero-slide__title {
  margin: 0;
  color: var(--bm-hero-ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.bm-hero-slide__content {
  width: min(570px, 100%);
  margin: 22px 0 0;
  color: #ffffff;
  font-family: "Karla", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.bm-hero-slide__content p {
  margin: 0;
}

.bm-hero-slide__button-wrap {
  margin-top: 30px;
}

body #page-container .bm_hero_slide .bm-hero-slide__button.et_pb_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 26px;
  border: 2px solid var(--bm-hero-accent);
  border-radius: 6px;
  background: var(--bm-hero-accent);
  color: var(--bm-hero-surface);
  font-family: "Karla", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.2;
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body #page-container .bm_hero_slide .bm-hero-slide__button.et_pb_button:hover {
  border-color: #723b2b;
  background: #723b2b;
  transform: translateY(-1px);
}

body #page-container .bm_hero_slide .bm-hero-slide__button.et_pb_button:focus-visible,
.bm-hero-stage__arrow:focus-visible,
.bm-hero-stage__dots button:focus-visible {
  outline: 3px solid var(--bm-hero-surface);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--bm-hero-accent);
}

.bm-hero-stage__arrows {
  position: absolute;
  inset: 50% 24px auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.bm-hero-stage__arrow {
  display: inline-grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(33, 56, 45, 0.76);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

.bm-hero-stage__dots {
  position: absolute;
  z-index: 5;
  bottom: 28px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.bm-hero-stage__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.bm-hero-stage__dots button.is-active {
  background: #ffffff;
}

.bm-hero-stage__curve {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  display: block;
  width: 100%;
  height: clamp(70px, 8.4vw, 120px);
  pointer-events: none;
}

.bm-hero-stage__limit-note {
  position: absolute;
  z-index: 8;
  top: 16px;
  left: 50%;
  width: min(640px, calc(100% - 32px));
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #b8a777;
  border-radius: 6px;
  background: #fffaf0;
  color: #21382d;
  font: 600 14px/1.35 "Karla", Arial, sans-serif;
  text-align: center;
  transform: translateX(-50%);
}

body.et-fb .bm_hero_stage {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: clamp(570px, 72vh, 790px) !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.et-fb .et_pb_column:has(> .bm_hero_stage) {
  display: block !important;
  min-height: clamp(570px, 72vh, 790px) !important;
}

body.et-fb .bm-hero-stage--builder .bm-hero-stage__slides {
  position: relative;
  inset: auto;
  min-height: clamp(570px, 72vh, 790px);
}

body.et-fb .bm-hero-stage--builder .bm-hero-stage__slides > .bm_hero_slide {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  min-height: clamp(570px, 72vh, 790px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.et-fb .bm-hero-stage--builder .bm-hero-stage__slides[data-active-index="0"] > .bm_hero_slide:nth-child(1),
body.et-fb .bm-hero-stage--builder .bm-hero-stage__slides[data-active-index="1"] > .bm_hero_slide:nth-child(2),
body.et-fb .bm-hero-stage--builder .bm-hero-stage__slides[data-active-index="2"] > .bm_hero_slide:nth-child(3),
body.et-fb .bm-hero-stage--builder .bm-hero-stage__slides[data-active-index="3"] > .bm_hero_slide:nth-child(4) {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  min-height: clamp(570px, 72vh, 790px) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.et-fb .bm-hero-stage--builder .bm-hero-stage__slides > .bm_hero_slide .bm-hero-slide__inner {
  position: relative;
  inset: auto;
  min-height: clamp(570px, 72vh, 790px);
}

@media (max-width: 980px) {
  .bm-hero-stage,
  .bm-hero-slide__content-wrap {
    min-height: 660px;
  }

  .bm-hero-slide__inner::after {
    background:
      linear-gradient(180deg, rgba(20, 41, 31, 0.12) 0%, rgba(20, 41, 31, 0.38) 44%, rgba(20, 41, 31, 0.84) 100%),
      linear-gradient(90deg, rgba(20, 41, 31, 0.18), rgba(20, 41, 31, 0.04));
  }

  .bm-hero-slide__content-wrap {
    align-items: flex-end;
    width: min(760px, calc(100% - 48px));
    padding: 98px 0 64px;
  }

  .bm-hero-slide__content-box {
    width: min(650px, 100%);
    margin: 0;
  }

  .bm-hero-slide__title {
    font-size: clamp(44px, 7vw, 56px);
  }
}

@media (max-width: 767px) {
  .bm-hero-stage,
  .bm-hero-slide__content-wrap {
    min-height: 620px;
  }

  .bm-hero-slide__content-wrap {
    width: calc(100% - 36px);
    padding: 84px 0 58px;
  }

  .bm-hero-slide__eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .bm-hero-slide__title {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.1;
  }

  .bm-hero-slide__content {
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.5;
  }

  .bm-hero-slide__button-wrap {
    margin-top: 22px;
  }

  .bm-hero-stage__arrows {
    inset: auto 16px 24px;
  }

  .bm-hero-stage__arrow {
    width: 40px;
    height: 40px;
  }

  .bm-hero-stage__dots {
    bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bm_hero_slide,
  .bm-hero-slide__media img,
  body #page-container .bm_hero_slide .bm-hero-slide__button.et_pb_button {
    transition: none;
  }
}
