.prose-custom h2 {
  font-family: 'Playfair Display', serif;
  color: #6B7B4B;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-custom h3 {
  font-family: 'Playfair Display', serif;
  color: #6B7B4B;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-custom p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose-custom ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose-custom a {
  color: #5A6B3A;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-custom a:hover {
  color: #4A6A4A;
}

.prose-custom blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #6B7B4B;
  border-left: 3px solid #BDDAD0;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-size: 1.125rem;
}

.hero-nav,
.hero-home {
  background-color: #f2e9de;
  background-image: url('../images/hero/paper-texture.webp');
  background-repeat: repeat;
  background-size: 512px 512px;
  background-blend-mode: soft-light;
}

.hero-nav {
  position: relative;
  z-index: 30;
  height: 80px;
}

.hero-nav-inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-nav-brand {
  color: #31402e;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-nav-links {
  display: none;
}

.hero-header-cta,
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.hero-header-cta {
  width: min(45vw, 180px);
  height: 50px;
  gap: 8px;
  padding: 8px;
  background: #5c7c6d;
  color: #fff;
  font-size: 12px;
  transition: background-color 160ms ease;
}

.hero-header-cta:hover {
  background: #506d5f;
}

.hero-header-cta img,
.hero-button img {
  width: 18px;
  height: 18px;
}

.hero-header-cta img,
.hero-button-primary img {
  filter: brightness(0) invert(1);
}

.hero-nav a:focus-visible,
.hero-button-secondary:focus-visible {
  outline: 2px solid #31402e;
  outline-offset: 4px;
}

.hero-home {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 80px);
  overflow: hidden;
  color: #514433;
}

.hero-home::before,
.hero-home::after,
.hero-copy::before {
  position: absolute;
  z-index: 0;
  content: '';
  pointer-events: none;
}

.hero-home::before {
  top: -40px;
  right: -210px;
  width: 430px;
  height: 430px;
  border-radius: 56% 44% 31% 69% / 39% 33% 67% 61%;
  background: #ddccd7;
  opacity: 0.76;
  transform: rotate(8deg);
}

.hero-home::after {
  bottom: -250px;
  left: -250px;
  width: 560px;
  height: 470px;
  border-radius: 57% 43% 64% 36% / 52% 67% 33% 48%;
  background: #d8d1c0;
  transform: rotate(12deg);
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 80px);
  flex-direction: column;
  padding: 8px 20px 48px;
}

.hero-illustration {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 0;
}

.hero-illustration img {
  width: min(88vw, 360px);
  height: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 24px auto 0;
}

.hero-copy::before {
  right: -250px;
  bottom: -230px;
  width: 390px;
  height: 390px;
  border-radius: 45% 55% 38% 62% / 64% 42% 58% 36%;
  background: #ddccd7;
  opacity: 0.7;
  transform: rotate(-18deg);
}

.hero-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #31402e;
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-heading span {
  display: block;
}

.hero-heading-flourish {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 362px);
  height: 24px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.hero-heading-flourish span {
  height: 1px;
  flex: 1;
  background: #bcacb8;
}

.hero-heading-flourish img {
  width: 21px;
  height: 21px;
  opacity: 0.78;
  transform: rotate(-28deg);
}

.hero-intro,
.hero-offering {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin-bottom: 0;
  color: #514433;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-intro {
  margin-top: 22px;
}

.hero-offering {
  margin-top: 34px;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 38px;
}

.hero-button {
  width: 100%;
  height: 56px;
  padding: 16px;
  font-size: 15px;
}

.hero-button-primary {
  border: 0;
  background: #5c7c6d;
  color: #fff;
}

.hero-button-primary:disabled {
  cursor: not-allowed;
}

.hero-button-secondary {
  border: 1px solid #31402e;
  background: transparent;
  color: #31402e;
  transition: border-color 160ms ease, color 160ms ease;
}

.hero-button-secondary:hover {
  border-color: #506d5f;
  color: #506d5f;
}

.hero-botanical,
.hero-flower {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-botanical {
  display: none;
}

.hero-flower {
  width: 18px;
  opacity: 0.62;
}

.hero-flower-one {
  top: 9%;
  right: 20%;
  transform: rotate(-14deg);
}

.hero-flower-two {
  right: 8%;
  bottom: 5%;
  transform: rotate(18deg) scale(0.82);
}

@media (min-width: 360px) {
  .hero-heading span {
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero-nav {
    height: 96px;
  }

  .hero-nav-inner {
    padding: 0 36px;
  }

  .hero-nav-brand {
    font-size: 22px;
  }

  .hero-header-cta {
    width: 210px;
    height: 56px;
    gap: 10px;
    padding: 12px;
    font-size: 15px;
  }

  .hero-home,
  .hero-stage {
    min-height: calc(100svh - 96px);
  }

  .hero-stage {
    align-items: center;
    padding: 18px 36px 64px;
  }

  .hero-illustration img {
    width: min(82vw, 620px);
  }

  .hero-copy {
    max-width: 620px;
    margin-top: 32px;
  }

  .hero-heading {
    font-size: 50px;
    line-height: 1.16;
  }

  .hero-intro,
  .hero-offering {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: row;
    gap: 22px;
  }

  .hero-button {
    height: 58px;
    font-size: 16px;
  }

  .hero-button-primary {
    width: 214px;
  }

  .hero-button-secondary {
    width: 180px;
  }

  .hero-botanical {
    display: block;
    bottom: -90px;
    width: 190px;
    opacity: 0.34;
  }

  .hero-botanical-left {
    left: -72px;
  }

  .hero-botanical-right {
    right: -72px;
  }
}

@media (min-width: 1200px) {
  .hero-nav {
    height: 122px;
  }

  .hero-nav-inner {
    max-width: 1536px;
    padding: 0;
  }

  .hero-nav-brand {
    position: absolute;
    top: 43px;
    left: clamp(40px, 3.78vw, 58px);
    font-size: 22px;
  }

  .hero-nav-brand-home {
    display: none;
  }

  .hero-nav-links {
    position: absolute;
    top: 37px;
    left: clamp(420px, 35.09vw, 539px);
    display: flex;
    height: 44px;
    align-items: center;
    gap: clamp(34px, 3.78vw, 58px);
    margin: 0;
    padding: 0;
    color: #31402e;
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 1.7vw, 26px);
    font-weight: 400;
    line-height: 1.2;
    list-style: none;
    white-space: nowrap;
  }

  .hero-nav-links span {
    opacity: 0.9;
  }

  .hero-header-cta {
    position: absolute;
    top: 32px;
    right: clamp(21px, calc(3.78vw - 15px), 43px);
    width: 239px;
    height: 58px;
    padding: 16px;
    font-size: 16px;
  }

  .hero-home,
  .hero-stage {
    min-height: calc(100svh - 122px);
  }

  .hero-stage {
    display: block;
    max-width: 1536px;
    margin: 0 auto;
    padding: 0;
  }

  .hero-illustration {
    position: absolute;
    top: 4px;
    left: clamp(58px, 7.03vw, 108px);
    width: clamp(650px, 50.78vw, 780px);
  }

  .hero-illustration img {
    width: 100%;
    max-width: none;
  }

  .hero-copy {
    position: absolute;
    top: 238px;
    left: clamp(720px, 60.94vw, 936px);
    width: clamp(420px, 29.95vw, 460px);
    max-width: none;
    margin: 0;
  }

  .hero-copy::before {
    right: -315px;
    bottom: -250px;
    width: 500px;
    height: 470px;
    opacity: 0.72;
  }

  .hero-heading {
    width: 460px;
    font-size: 58px;
    line-height: 1.18;
  }

  .hero-heading span {
    white-space: nowrap;
  }

  .hero-heading-flourish {
    width: 362px;
    margin-top: 16px;
  }

  .hero-intro,
  .hero-offering {
    width: 460px;
    font-size: 18px;
  }

  .hero-intro {
    margin-top: 20px;
  }

  .hero-offering {
    margin-top: 60px;
  }

  .hero-actions {
    flex-direction: row;
    gap: 22px;
    margin-top: 42px;
  }

  .hero-button {
    height: 58px;
    flex: 0 0 auto;
    padding: 16px;
    font-size: 16px;
  }

  .hero-button-primary {
    width: 214px;
  }

  .hero-button-secondary {
    width: 180px;
  }

  .hero-home::before {
    top: 8px;
    right: -72px;
    width: 390px;
    height: 430px;
  }

  .hero-home::after {
    bottom: -255px;
    left: -170px;
    width: 650px;
    height: 470px;
  }

  .hero-botanical {
    display: block;
    bottom: -90px;
    width: clamp(190px, 15.6vw, 240px);
    opacity: 0.48;
  }

  .hero-botanical-left {
    left: -72px;
  }

  .hero-botanical-right {
    right: -68px;
  }

  .hero-flower-one {
    top: 7%;
    left: 55%;
    right: auto;
  }

  .hero-flower-two {
    right: 23%;
    bottom: 8%;
  }
}

@media (min-width: 1200px) and (max-width: 1535px) {
  .hero-nav-links {
    left: clamp(421px, 35.09vw, 539px);
    gap: clamp(22px, calc(10.714vw - 106.57px), 58px);
    font-size: clamp(20px, calc(1.786vw - 1.43px), 26px);
  }

  .hero-header-cta {
    right: clamp(21px, calc(6.548vw - 57.57px), 43px);
  }

  .hero-illustration {
    left: clamp(60px, calc(14.286vw - 111.43px), 108px);
    width: clamp(620px, calc(47.619vw + 48.57px), 780px);
  }

  .hero-copy {
    left: clamp(732px, calc(60.714vw + 3.43px), 936px);
    width: clamp(420px, calc(11.905vw + 277.14px), 460px);
  }

  .hero-heading {
    width: clamp(420px, calc(11.905vw + 277.14px), 460px);
    font-size: clamp(53px, calc(1.488vw + 35.14px), 58px);
  }

  .hero-intro,
  .hero-offering {
    width: clamp(420px, calc(11.905vw + 277.14px), 460px);
    font-size: clamp(17px, calc(0.298vw + 13.43px), 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-nav *,
  .hero-home * {
    transition-duration: 0.01ms !important;
  }
}
