/* Homepage-only botanical artwork; all copy and controls remain live HTML. */
.botanical-hero {
  --hero-header-space: 8.4rem;
  min-height: 48rem;
  height: 100svh;
  max-height: 58rem;
  padding: var(--hero-header-space) 0 0;
  background: #faf9ee;
}

.botanical-hero::before {
  inset: var(--hero-header-space) auto 0 0;
  width: 74%;
  background: #faf9ee url("../assets/botanical-background-a.webp") -1.5rem center / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 56%, rgba(0,0,0,.97) 66%, rgba(0,0,0,.66) 80%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 56%, rgba(0,0,0,.97) 66%, rgba(0,0,0,.66) 80%, transparent 100%);
}

/* Soft botanical shadows give the ivory reading area the reference's depth. */
.botanical-hero::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  inset: var(--hero-header-space) 28% 0 27%;
  background: url("../assets/botanical-background-a.webp") left center / auto 110% no-repeat;
  mix-blend-mode: multiply;
  opacity: .17;
  filter: blur(17px);
  transform: scaleX(-1) rotate(-12deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 85%, transparent);
  pointer-events: none;
}

/* Frame the footage within the open right side rather than behind the copy. */
.botanical-hero .legacy-hero__media {
  inset: var(--hero-header-space) 0 0 34%;
  height: auto;
  background: #dce3c9;
}

.botanical-hero .legacy-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(.86) contrast(.96) brightness(1.04);
}

.botanical-hero .legacy-hero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,249,238,.06) 65%, rgba(250,249,238,.24));
  pointer-events: none;
}

.botanical-hero .legacy-hero__grid {
  display: flex;
  width: 100%;
  max-width: none;
  gap: 0;
  align-items: center;
}

.botanical-hero .legacy-hero__copy {
  width: 38%;
  max-width: 40rem;
  margin: 0 0 0 13.7%;
  padding: 2.5rem 0 3rem;
  transform: none;
}

.botanical-hero .legacy-hero__copy::before,
.botanical-hero .legacy-hero__copy::after {
  display: none;
}

.botanical-hero .legacy-hero__copy > .botanical-hero__eyebrow {
  margin: 0 0 1.2rem;
  color: #637e1b;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.botanical-hero .legacy-hero__copy h1 {
  color: #063f38;
  font-size: clamp(2.8rem, 4.05vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-shadow: none;
  text-wrap: balance;
}

.botanical-hero .legacy-hero__copy > p:not(.botanical-hero__eyebrow) {
  margin: 1.5rem 0 1.8rem;
  max-width: 35rem;
  color: #46504b;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.4;
  text-shadow: none;
}

.botanical-hero .legacy-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 100%;
  min-height: 3.6rem;
  padding: .55rem .65rem .55rem 1.4rem;
  border-radius: .65rem;
  background: #0f5548;
  color: #fff;
  font-size: clamp(.85rem, 1.05vw, 1.05rem);
  line-height: 1.3;
  transition: background-color .2s ease;
}

.botanical-hero .legacy-hero__button > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: #b5d533;
  color: #174c35;
  font-size: 1.6rem;
}

.botanical-hero .legacy-hero__button:hover { background: #063f38; }

.botanical-hero .legacy-process-link {
  width: fit-content;
  max-width: 100%;
  margin-top: .9rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid #8ca537;
  color: #3e5950;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
}

.botanical-hero .legacy-process-link strong { color: #637e1b; }
.botanical-hero .legacy-process-link > span { color: #0f5548; }
.botanical-hero a:focus-visible { outline: 3px solid #0f5548; outline-offset: 5px; }

@media (max-width: 1100px) and (min-width: 901px) {
  .botanical-hero .legacy-hero__copy { width: 43%; margin-left: 12%; }
  .botanical-hero::before { width: 84%; }
  .botanical-hero .legacy-hero__copy h1 { font-size: 2.9rem; }
}

@media (max-width: 900px) {
  .botanical-hero {
    --hero-header-space: 8.5rem;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 19rem;
    background: #faf9ee;
  }
  .botanical-hero::before {
    width: 100%;
    bottom: 12rem;
    background-position: left top;
    background-size: auto 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
  }
  .botanical-hero .legacy-hero__copy {
    width: 69%;
    max-width: 38rem;
    margin: 0 5% 0 26%;
    padding: 3rem 0 4rem;
    align-self: auto;
  }
  .botanical-hero .legacy-hero__copy h1 { font-size: clamp(2.6rem, 5.7vw, 3.7rem); }
  .botanical-hero::after {
    inset: var(--hero-header-space) 0 17rem 35%;
    opacity: .1;
    filter: blur(14px);
    transform: scaleX(-1);
  }
  .botanical-hero .legacy-hero__media { inset: auto 0 0; height: 28rem; }
  .botanical-hero .legacy-hero__media video { object-position: center; }
  .botanical-hero .heritage-badge { bottom: 1.5rem; right: 1.25rem; }
}

@media (max-width: 520px) {
  .botanical-hero { --hero-header-space: 5.75rem; }
  .botanical-hero::before {
    background-size: auto 100%;
    background-position: -6.5rem top;
  }
  .botanical-hero .legacy-hero__copy {
    width: 76%;
    margin: 0 5% 0 19%;
    padding-top: 2.5rem;
  }
  .botanical-hero .legacy-hero__copy > .botanical-hero__eyebrow {
    font-size: .68rem;
    letter-spacing: .12em;
    margin-bottom: 1rem;
  }
  .botanical-hero .legacy-hero__copy h1 { font-size: clamp(2.05rem, 8vw, 2.6rem); }
  .botanical-hero .legacy-hero__copy > p:not(.botanical-hero__eyebrow) { font-size: 1rem; }
  .botanical-hero .legacy-hero__button { gap: .6rem; padding-left: .8rem; font-size: .73rem; }
  .botanical-hero .legacy-hero__button > span { width: 2.2rem; height: 2.2rem; }
  .botanical-hero .legacy-process-link { font-size: .86rem; }
  .botanical-hero::after { opacity: .07; }
}

@media (prefers-reduced-motion: reduce) {
  .botanical-hero .legacy-hero__button { transition: none; }
}
