:root {
  --green-900: #1f4d38;
  --green-800: #2e5c44;
  --green-700: #3f5f45;
  --green-600: #a8b89a;
  --cream-050: #f7f3ea;
  --cream-100: #f7f3ea;
  --gold-400: #c8a14a;
  --bark-700: #4b382a;
  --shadow-soft: 0 16px 42px rgba(21, 40, 29, 0.16);
  --shadow-modal: 0 28px 60px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  color: var(--green-900);
  font-family: "Spectral", Georgia, serif;
  background: radial-gradient(circle at 15% 0%, #fffefb 0, var(--cream-050) 42%, #eef1e7 100%);
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse at 9% 92%, rgba(168, 184, 154, 0.55), rgba(168, 184, 154, 0.1) 46%, transparent 66%),
    radial-gradient(ellipse at 91% 93%, rgba(168, 184, 154, 0.52), rgba(168, 184, 154, 0.1) 48%, transparent 68%),
    radial-gradient(circle at 86% 8%, rgba(251, 245, 230, 0.7), transparent 24%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.84) 8%, rgba(247, 243, 234, 0.74) 52%, rgba(235, 241, 230, 0.82) 100%);
}

.geometry-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/alpha_geometry.png");
  background-size: 360px auto;
  background-position: 0 0;
  background-repeat: repeat;
  opacity: 0.36;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.24) 56%, rgba(0, 0, 0, 0.1));
}

.bottom-mask {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: radial-gradient(circle at 15% 0%, #fffefb 0, var(--cream-050) 42%, #eef1e7 100%);
  z-index: 6;
  pointer-events: none;
}

.leaf-corner {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(37, 68, 46, 0.16));
}

.leaf-image {
  display: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.leaf-image.loaded {
  display: block;
}

.leaf-fallback.hidden {
  display: none;
}

.watercolor-image {
  position: fixed;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  width: min(1200px, 100vw);
  height: min(330px, 37vh);
  object-fit: cover;
  object-position: 50% 40%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.78;
  mix-blend-mode: multiply;
}

.leaf-top-right {
  width: clamp(250px, 33vw, 460px);
  top: 0.8rem;
  right: -1rem;
  opacity: 0.78;
}

.leaf-bottom-left {
  width: clamp(195px, 25vw, 330px);
  left: -0.05rem;
  bottom: 8rem;
  opacity: 0.8;
}

#bottomLeftLeafImage {
  object-fit: contain;
  object-position: left bottom;
}

.hero {
  position: relative;
  z-index: 3;
  width: min(92vw, 940px);
  margin: 0 auto;
  padding: 1.9rem 0.9rem 4.2rem;
  text-align: center;
}

.brand-title {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark-image {
  display: none;
  width: min(760px, 90vw);
  height: clamp(72px, 9vw, 102px);
  object-fit: contain;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.wordmark-image.loaded {
  display: block;
}

.wordmark-fallback {
  display: inline;
}

.wordmark-fallback.hidden {
  display: none;
}

.brand-main {
  color: var(--green-900);
}

.brand-amp {
  color: var(--gold-400);
  margin: 0 0.2rem;
}

.gold-divider {
  width: min(100%, 420px);
  margin: 0.5rem auto;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.top-divider {
  width: min(100%, 210px);
  margin-top: 0.42rem;
  margin-bottom: 0.62rem;
}

.top-divider .ornament,
.bottom-divider .ornament {
  width: 1rem;
  height: 0.8rem;
  opacity: 0.88;
}

.line-leaf {
  width: 12px;
  height: 10px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bottom-divider {
  margin-top: 1rem;
  margin-bottom: 1.1rem;
}

.gold-divider span {
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.9;
}

.divider-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.96;
}

.ornament {
  width: 1rem;
  height: 0.8rem;
  display: block;
  background: none;
}

.logo-wrap {
  margin: 0.4rem auto 1.08rem;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.logo {
  width: 100%;
  height: 100%;
}

.logo-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-image.loaded {
  display: block;
}

.logo-fallback.hidden {
  display: none;
}

.message-shell {
  position: relative;
  margin: 0 auto;
  width: min(100%, 710px);
  min-height: 348px;
  padding: 2rem 1.6rem;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  clip-path: none;
  box-shadow: none;
}

.seed-frame-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.small-leaf {
  display: none;
}

.small-leaf-top {
  top: 4.1%;
}

.small-leaf-bottom {
  bottom: 3.9%;
}

.message-inner {
  position: relative;
  z-index: 3;
  width: min(100%, 410px);
  font-size: clamp(1.17rem, 2.05vw, 1.5rem);
  line-height: 1.5;
  color: #244e3a;
}

.intro-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
}

.intro-ornament span {
  width: 64px;
  height: 1px;
  background: rgba(200, 161, 74, 0.86);
}

.intro-ornament img {
  width: 16px;
  height: 13px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.inner-divider {
  width: 90px;
  height: 1px;
  margin: 0.9rem auto 1rem;
  background: rgba(200, 161, 74, 0.9);
}

.message-inner p {
  margin: 0 0 1.25rem;
}

.message-inner p:last-child {
  margin-bottom: 0;
}

.cta-subtext {
  margin: 0.4rem 0 0.7rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 2rem);
  color: #36553f;
}

.seed-btn {
  margin-top: 1.15rem;
  border: 1px solid rgba(200, 161, 74, 0.9);
  border-radius: 999px;
  padding: 0.86rem 2.45rem;
  background:
    linear-gradient(90deg, rgba(36, 82, 61, 0.96), rgba(31, 77, 56, 0.98));
  color: var(--cream-050);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.23rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(52, 81, 53, 0.34), inset 0 0 0 1px rgba(223, 198, 129, 0.42);
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.seed-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  color: var(--gold-400);
}

.seed-icon-image {
  display: none;
  width: 1.38rem;
  height: 1.22rem;
  object-fit: contain;
  flex: 0 0 auto;
  mix-blend-mode: normal;
}

.seed-icon-image.loaded {
  display: block;
}

.seed-icon.hidden {
  display: none;
}

.seed-btn span {
  color: #f2efd9;
}

.seed-btn:hover,
.seed-btn:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.seed-btn:focus-visible,
.send-btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(35, 72, 47, 0.9);
  outline-offset: 2px;
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

.overlay.open {
  display: block;
}

.overlay-dim {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 10, 0.72);
  backdrop-filter: blur(2px);
}

.contact-modal,
.thank-you {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.contact-modal {
  pointer-events: auto;
  align-content: start;
}

.modal-brand {
  position: absolute;
  top: max(1.4vh, 0.5rem);
  margin: 0;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 245, 0.95);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
}

.modal-shell,
.thanks-shell {
  width: min(90vw, 620px);
  background: linear-gradient(145deg, rgba(254, 252, 245, 0.96), rgba(245, 238, 224, 0.94));
  border: 2px solid rgba(200, 161, 74, 0.92);
  clip-path: polygon(13% 3%, 87% 3%, 99% 50%, 87% 97%, 13% 97%, 1% 50%);
  box-shadow: var(--shadow-modal);
}

.modal-shell {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 3.3rem) clamp(1.2rem, 4vw, 2.7rem) 2rem;
  margin-top: clamp(4rem, 14vh, 7.4rem);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(56, 83, 57, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-900);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal-shell h3 {
  margin: 0 0 1.15rem;
  text-align: center;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

.contact-form {
  width: min(100%, 360px);
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(66, 96, 66, 0.33);
  border-radius: 8px;
  padding: 0.74rem 0.82rem;
  margin-bottom: 0.62rem;
  font-family: "Spectral", Georgia, serif;
  font-size: 1rem;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.88);
}

.contact-form textarea {
  resize: vertical;
}

.send-btn {
  margin-top: 0.46rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0.76rem 1rem;
  background: linear-gradient(90deg, var(--green-800), var(--green-900));
  color: var(--cream-050);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.cancel-btn {
  margin-top: 0.52rem;
  width: 100%;
  border: 1px solid rgba(47, 73, 47, 0.35);
  border-radius: 8px;
  padding: 0.66rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--green-900);
  font-family: "Spectral", Georgia, serif;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.send-btn[disabled] {
  cursor: wait;
  opacity: 0.78;
}

.cancel-btn:focus-visible,
.close-modal:focus-visible {
  outline: 2px solid rgba(35, 72, 47, 0.9);
  outline-offset: 2px;
}

.privacy-note {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--green-800);
}

.thank-you {
  display: none;
  opacity: 0;
  z-index: 4;
  transition: opacity 780ms ease;
}

.thank-you.visible {
  display: grid;
  opacity: 1;
}

.thanks-shell {
  padding: clamp(2.5rem, 6vw, 4.2rem) clamp(1.4rem, 5vw, 3rem);
  text-align: center;
}

.thanks-shell h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

.thanks-shell p {
  margin: 0;
  font-size: clamp(1.22rem, 2.5vw, 1.6rem);
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .geometry-pattern {
    background-size: 280px auto;
    opacity: 0.3;
  }

  .watercolor-image {
    bottom: 1.4rem;
    height: min(260px, 32vh);
    object-position: 50% 40%;
    opacity: 0.66;
  }

  .leaf-top-right {
    width: clamp(190px, 48vw, 320px);
    top: 0.95rem;
    right: -0.9rem;
  }

  .leaf-bottom-left {
    width: clamp(160px, 38vw, 250px);
    left: -0.2rem;
    bottom: 5.2rem;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .brand-amp {
    margin: 0 0.1rem;
  }

  .logo-wrap {
    width: 126px;
    height: 126px;
  }

  .message-shell {
    width: min(100%, 670px);
    min-height: 290px;
    padding: 1.7rem 1.2rem;
  }

  .message-inner {
    font-size: clamp(1.05rem, 4.8vw, 1.35rem);
    width: min(100%, 300px);
  }

  .cta-subtext {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
    margin-top: 0;
  }

  .intro-ornament span {
    width: 46px;
  }

  .line-leaf {
    width: 10px;
    height: 8px;
  }

  .modal-shell,
  .thanks-shell {
    width: min(95vw, 560px);
  }

  .modal-shell {
    margin-top: clamp(4.3rem, 12vh, 6.2rem);
  }
}
