.franklin-hero {
  --franklin-hero-forest: #173e20;
  --franklin-hero-green: #2f6a22;
  --franklin-hero-green-light: #72a943;
  --franklin-hero-cream: #f8f7e9;
  --franklin-hero-cream-deep: #eff1d8;
  --franklin-hero-ink: #18331d;
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 42vw, 680px);
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 38%, rgba(180, 204, 130, .28) 0, rgba(180, 204, 130, .10) 24%, transparent 48%),
    linear-gradient(110deg, #fbfaef 0%, #f8f7e9 45%, #f2f4df 100%);
}

.franklin-hero__backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.franklin-hero__backdrop::before {
  position: absolute;
  top: -15%;
  right: 7%;
  width: min(54vw, 840px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, .92) 0 10%, rgba(218, 229, 176, .54) 36%, rgba(199, 216, 145, .10) 62%, transparent 72%);
  filter: blur(2px);
}

.franklin-hero__backdrop::after {
  position: absolute;
  right: -8%;
  bottom: -34%;
  width: 65%;
  height: 70%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(ellipse, rgba(146, 173, 88, .23), transparent 68%);
  filter: blur(20px);
}

.franklin-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
}

.franklin-hero__glow--one {
  top: 7%;
  left: 39%;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, .58);
}

.franklin-hero__glow--two {
  right: 5%;
  bottom: -6%;
  width: 280px;
  height: 180px;
  background: rgba(170, 195, 111, .22);
}

/* CSS-built leafy graphics. They remain fixed while slides change. */
.franklin-hero__leaf {
  position: absolute;
  width: 90px;
  height: 175px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, rgba(129, 166, 67, .33), rgba(82, 129, 43, .08));
  filter: blur(.15px);
  opacity: .72;
  transform-origin: 100% 100%;
}

.franklin-hero__leaf::after {
  position: absolute;
  right: 7px;
  bottom: 5px;
  width: 1px;
  height: 92%;
  content: "";
  background: linear-gradient(to top, rgba(64, 103, 35, .38), transparent);
  transform: rotate(25deg);
  transform-origin: bottom;
}

.franklin-hero__leaf--one {
  top: -55px;
  left: 48%;
  transform: rotate(31deg) scale(1.18);
}

.franklin-hero__leaf--two {
  top: 47px;
  left: 56%;
  transform: rotate(72deg) scale(.68);
  opacity: .34;
}

.franklin-hero__leaf--three {
  top: -38px;
  right: 8%;
  transform: rotate(116deg) scale(.92);
  opacity: .46;
}

.franklin-hero__leaf--four {
  right: 32%;
  bottom: -85px;
  transform: rotate(205deg) scale(1.08);
  opacity: .44;
}

.franklin-hero__leaf--five {
  right: -22px;
  bottom: 22%;
  transform: rotate(156deg) scale(.75);
  opacity: .35;
}

.franklin-hero__carousel,
.franklin-hero .carousel-inner,
.franklin-hero .carousel-item {
  min-height: inherit;
}

.franklin-hero .carousel-item {
  transition: opacity .55s ease-in-out;
}

.franklin-hero__container,
.franklin-hero__row {
  min-height: inherit;
}

.franklin-hero__copy-column,
.franklin-hero__visual-column {
  min-height: inherit;
}

.franklin-hero__copy-column {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  padding-top: 58px;
  padding-bottom: 86px;
}

.franklin-hero__content {
  max-width: 535px;
  padding-right: 20px;
}

.franklin-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #527a31;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.franklin-hero__eyebrow-leaf {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #7db748, #3e7a27);
  transform: rotate(-17deg);
}

.franklin-hero__eyebrow-leaf::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 11px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, .62);
  transform: rotate(-28deg);
  transform-origin: right;
}

.franklin-hero__title {
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--franklin-hero-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.25vw, 5.15rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
  white-space: pre-line;
}

.franklin-hero__description {
  max-width: 490px;
  color: #536052;
  font-size: clamp(.96rem, 1.03vw, 1.08rem);
  line-height: 1.7;
  white-space: pre-line;
}

.franklin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.franklin-hero__button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}

.franklin-hero__button--primary {
  border-color: #2e641e;
  background: linear-gradient(135deg, #3f7a24, #285c1b);
  color: #fff;
  box-shadow: 0 12px 28px rgba(43, 95, 28, .18);
}

.franklin-hero__button--secondary {
  border-color: rgba(36, 68, 37, .11);
  background: rgba(255, 255, 255, .87);
  color: #263c28;
  box-shadow: 0 10px 30px rgba(61, 78, 51, .07);
}

.franklin-hero__button:hover,
.franklin-hero__button:focus {
  transform: translateY(-2px);
}

.franklin-hero__button--primary:hover,
.franklin-hero__button--primary:focus {
  border-color: #1f5015;
  background: #1f5015;
  color: #fff;
  box-shadow: 0 16px 35px rgba(43, 95, 28, .25);
}

.franklin-hero__button--secondary:hover,
.franklin-hero__button--secondary:focus {
  border-color: rgba(36, 68, 37, .22);
  background: #fff;
  color: #1b3c1d;
  box-shadow: 0 14px 35px rgba(61, 78, 51, .12);
}

.franklin-hero__button-arrow {
  font-size: 1.08rem;
  transition: transform .22s ease;
}

.franklin-hero__button:hover .franklin-hero__button-arrow {
  transform: translateX(3px);
}

.franklin-hero__visual-column {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.franklin-hero__visual {
  position: relative;
  width: 100%;
  height: clamp(475px, 39vw, 640px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.franklin-hero__visual-halo {
  position: absolute;
  z-index: -1;
  right: 5%;
  bottom: 7%;
  width: 86%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .82) 0, rgba(228, 236, 194, .38) 46%, transparent 72%);
  filter: blur(3px);
}

.franklin-hero__product-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 890px;
  max-height: 620px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 22px rgba(45, 64, 31, .17));
  transform-origin: center bottom;
}

/* Only slide content and the right product artwork are animated. */
.franklin-hero .carousel-item .franklin-hero__eyebrow,
.franklin-hero .carousel-item .franklin-hero__title,
.franklin-hero .carousel-item .franklin-hero__description,
.franklin-hero .carousel-item .franklin-hero__actions,
.franklin-hero .carousel-item .franklin-hero__product-image {
  opacity: 0;
}

.franklin-hero .carousel-item.active .franklin-hero__eyebrow {
  animation: franklinHeroCopyIn .58s cubic-bezier(.22, .7, .28, 1) .08s both;
}

.franklin-hero .carousel-item.active .franklin-hero__title {
  animation: franklinHeroCopyIn .68s cubic-bezier(.22, .7, .28, 1) .16s both;
}

.franklin-hero .carousel-item.active .franklin-hero__description {
  animation: franklinHeroCopyIn .68s cubic-bezier(.22, .7, .28, 1) .27s both;
}

.franklin-hero .carousel-item.active .franklin-hero__actions {
  animation: franklinHeroCopyIn .68s cubic-bezier(.22, .7, .28, 1) .38s both;
}

.franklin-hero .carousel-item.active .franklin-hero__product-image {
  animation: franklinHeroProductIn .92s cubic-bezier(.18, .76, .22, 1) .12s both;
}

@keyframes franklinHeroCopyIn {
  from {
    opacity: 0;
    transform: translate3d(-42px, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes franklinHeroProductIn {
  from {
    opacity: 0;
    transform: translate3d(72px, 18px, 0) scale(.94);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.franklin-hero__navigation {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100vw - 1320px) / 2));
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.franklin-hero__control {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 71, 36, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  color: #284629;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(59, 77, 45, .08);
  backdrop-filter: blur(8px);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.franklin-hero__control:hover {
  background: var(--franklin-hero-green);
  color: #fff;
  transform: translateY(-1px);
}

.franklin-hero__indicators {
  position: static;
  display: flex;
  gap: 6px;
  margin: 0;
}

.franklin-hero__indicators [data-bs-target] {
  box-sizing: border-box;
  width: 7px;
  height: 7px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(41, 76, 39, .35);
  opacity: 1;
  transition: width .2s ease, border-radius .2s ease, background-color .2s ease;
}

.franklin-hero__indicators .active {
  width: 23px;
  border-radius: 99px;
  background-color: var(--franklin-hero-green);
}

@media (max-width: 1199.98px) {
  .franklin-hero {
    min-height: 600px;
  }

  .franklin-hero__title {
    font-size: clamp(2.85rem, 4.8vw, 4.3rem);
  }

  .franklin-hero__visual {
    height: 560px;
  }
}

@media (max-width: 991.98px) {
  .franklin-hero {
    min-height: auto;
  }

  .franklin-hero__carousel,
  .franklin-hero .carousel-inner,
  .franklin-hero .carousel-item,
  .franklin-hero__container,
  .franklin-hero__row,
  .franklin-hero__copy-column,
  .franklin-hero__visual-column {
    min-height: 0;
  }

  .franklin-hero__row {
    padding-top: 28px;
    padding-bottom: 66px;
  }

  .franklin-hero__copy-column {
    padding-top: 40px;
    padding-bottom: 15px;
  }

  .franklin-hero__content {
    max-width: 680px;
    margin-inline: auto;
    padding-right: 0;
    text-align: center;
  }

  .franklin-hero__eyebrow {
    justify-content: center;
  }

  .franklin-hero__description {
    margin-inline: auto;
  }

  .franklin-hero__actions {
    justify-content: center;
  }

  .franklin-hero__visual {
    width: min(780px, 100%);
    height: 430px;
    margin-inline: auto;
  }

  .franklin-hero__navigation {
    right: 50%;
    bottom: 18px;
    transform: translateX(50%);
  }
}

@media (max-width: 767.98px) {
  .franklin-hero {
    background:
      radial-gradient(circle at 55% 69%, rgba(180, 204, 130, .25), transparent 38%),
      linear-gradient(155deg, #fbfaef 0%, #f2f4df 100%);
  }

  .franklin-hero__row {
    padding: 16px 10px 66px;
  }

  .franklin-hero__copy-column {
    padding-top: 35px;
  }

  .franklin-hero__eyebrow {
    margin-bottom: 14px;
    font-size: .69rem;
  }

  .franklin-hero__title {
    margin-bottom: 15px;
    font-size: clamp(2.45rem, 12vw, 3.5rem);
    line-height: 1;
  }

  .franklin-hero__description {
    font-size: .94rem;
    line-height: 1.62;
  }

  .franklin-hero__actions {
    gap: 10px;
    margin-top: 22px;
  }

  .franklin-hero__button {
    min-height: 45px;
    padding: 10px 16px;
    font-size: .82rem;
  }

  .franklin-hero__visual {
    height: 330px;
    margin-top: 4px;
  }

  .franklin-hero__product-image {
    max-height: 330px;
  }

  .franklin-hero__leaf--one {
    left: 26%;
  }

  .franklin-hero__leaf--two {
    left: 70%;
  }

  .franklin-hero__leaf--four {
    right: 8%;
  }

  .franklin-hero__control {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 420px) {
  .franklin-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .franklin-hero__button {
    min-width: 0;
  }

  .franklin-hero__visual {
    height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .franklin-hero .carousel-item,
  .franklin-hero__button,
  .franklin-hero__button-arrow,
  .franklin-hero__control {
    transition: none !important;
  }

  .franklin-hero .carousel-item.active .franklin-hero__eyebrow,
  .franklin-hero .carousel-item.active .franklin-hero__title,
  .franklin-hero .carousel-item.active .franklin-hero__description,
  .franklin-hero .carousel-item.active .franklin-hero__actions,
  .franklin-hero .carousel-item.active .franklin-hero__product-image {
    opacity: 1;
    animation: none !important;
    transform: none !important;
  }
}
