:root {
  color-scheme: light dark;
  --bg: #fdf8ef;
  --ink: #233325;
  --glow: rgba(255, 249, 235, 0.88);
  --shadow: rgba(35, 51, 37, 0.14);
  --plant-brightness: 0.98;
  --plant-saturation: 0.96;
  --font-logo: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-hero: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --glass-bg: rgba(253, 248, 239, 0.6);
  --glass-border: rgba(35, 51, 37, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090f0d;
    --ink: #e1d7b7;
    --glow: rgba(225, 215, 183, 0.12);
    --shadow: rgba(0, 0, 0, 0.5);
    --plant-brightness: 0.9;
    --plant-saturation: 1.08;
    --glass-bg: rgba(9, 15, 13, 0.65);
    --glass-border: rgba(225, 215, 183, 0.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: #233325;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background-color: #233325;
  background-image:
    radial-gradient(circle at 50% 12%, var(--glow), transparent 28rem),
    radial-gradient(circle at 50% 92%, rgba(255, 255, 255, 0.06), transparent 24rem),
    linear-gradient(var(--bg), var(--bg));
  color: var(--ink);
  font-family: var(--font-hero);
  text-rendering: geometricPrecision;
}

@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(circle at 50% 13%, rgba(225, 215, 183, 0.12), transparent 21rem),
      radial-gradient(circle at 50% 68%, rgba(0, 55, 35, 0.34), transparent 26rem),
      linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.12)),
      linear-gradient(var(--bg), var(--bg));
  }
}

img {
  display: block;
}

.landing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-content: start;
  justify-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(24px, 6vw, 112px) 0;
}

.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  height: clamp(76px, 8.5vw, 120px);
  padding: 0 clamp(18px, 3vw, 34px);
  margin-bottom: clamp(20px, 2.6vw, 34px);
  color: var(--ink);
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand__name {
  margin: 0;
  font-family: var(--font-logo);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.brand__name {
  font-size: clamp(42px, 6vw, 92px);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}

.panel {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: clamp(16px, 4vw, 22px) clamp(18px, 4.4vw, 26px) calc(clamp(16px, 4vw, 22px) + env(safe-area-inset-bottom));
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 44%),
    var(--glass-bg);
  border: 0;
  border-top: 1px solid transparent;
  border-radius: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 -8px 24px var(--shadow);
  backdrop-filter: blur(6px) saturate(1.5);
  -webkit-backdrop-filter: blur(6px) saturate(1.5);
}

@media (prefers-color-scheme: dark) {
  .panel {
    background:
      linear-gradient(150deg, rgba(225, 215, 183, 0.12), rgba(225, 215, 183, 0.01) 44%),
      var(--glass-bg);
    box-shadow:
      inset 0 1px 0 rgba(225, 215, 183, 0.22),
      0 -8px 24px var(--shadow);
  }
}

.statement {
  width: 100%;
  max-width: 520px;
  margin: 0;
  text-align: center;
}

.statement__headline {
  margin: 0;
  font-family: var(--font-hero);
  font-weight: 600;
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.statement__support {
  margin: clamp(10px, 2.6vw, 14px) 0 0;
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.5;
  opacity: 0.86;
  text-wrap: pretty;
}

/* Email-us button (desktop only) */
.cta {
  display: none;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: clamp(22px, 2.2vw, 32px);
  padding: clamp(12px, 1vw, 16px) clamp(26px, 2vw, 38px);
  font-family: var(--font-hero);
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 46%),
    var(--glass-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 24px var(--shadow);
  backdrop-filter: blur(7px) saturate(1.6);
  -webkit-backdrop-filter: blur(7px) saturate(1.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0) 60%);
  opacity: 0.9;
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 30px var(--shadow);
}

@media (prefers-color-scheme: dark) {
  .cta {
    background:
      linear-gradient(150deg, rgba(225, 215, 183, 0.16), rgba(225, 215, 183, 0.02) 46%),
      var(--glass-bg);
    box-shadow:
      inset 0 1px 0 rgba(225, 215, 183, 0.26),
      inset 0 0 0 1px rgba(225, 215, 183, 0.1),
      0 1px 0 rgba(225, 215, 183, 0.18),
      0 8px 24px var(--shadow);
  }

  .cta::before {
    background: linear-gradient(180deg, rgba(225, 215, 183, 0.28), rgba(225, 215, 183, 0.06) 38%, rgba(225, 215, 183, 0) 60%);
  }
}

.cta__icon {
  flex: none;
  width: clamp(20px, 1.4vw, 24px);
  height: auto;
}

/* Email address (mobile only) */
.email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-top: clamp(8px, 2vw, 10px);
  padding-top: clamp(8px, 2vw, 10px);
  border-top: 1px solid var(--glass-border);
  font-size: clamp(16px, 4vw, 19px);
  line-height: 0.95;
  color: var(--ink);
  text-decoration: none;
}

.email__icon {
  flex: none;
  width: clamp(26px, 7vw, 32px);
  height: auto;
}

/* Locale line ("Based in the Amazon") */
.locale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: clamp(4px, 1.4vw, 6px) 0 0;
  padding-top: clamp(4px, 1.4vw, 6px);
  border-top: 1px solid var(--glass-border);
  font-size: clamp(16px, 4vw, 19px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 0.85;
}

.locale__icon {
  flex: none;
  width: clamp(26px, 7vw, 32px);
  height: auto;
}

.botanical {
  position: absolute;
  z-index: 1;
  top: auto;
  left: 50%;
  bottom: 0;
  width: min(112vw, 680px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  /* Theme-safe bottom fade: fades the image alpha only, so it never
     bleeds into white/black in light or dark mode. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 76%,
    rgba(0, 0, 0, 0.95) 82%,
    rgba(0, 0, 0, 0.72) 88%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 76%,
    rgba(0, 0, 0, 0.95) 82%,
    rgba(0, 0, 0, 0.72) 88%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
  filter:
    saturate(var(--plant-saturation))
    brightness(var(--plant-brightness))
    drop-shadow(0 38px 55px rgba(0, 0, 0, 0.22));
}

@media (prefers-color-scheme: light) {
  .botanical {
    filter:
      saturate(0.94)
      brightness(1.02)
      drop-shadow(0 32px 48px rgba(35, 51, 37, 0.13));
  }
}

@media (min-width: 1000px) {
  .hero {
    width: 100%;
    max-width: 1520px;
    margin-inline: auto;
    padding-top: clamp(24px, 3vw, 48px);
    /* Horizontal gap between the text column and the botanical. Both are
       anchored to the hero center, so this stays constant at any width. */
    --hero-gap: clamp(24px, 3vw, 56px);
  }

  .brand {
    justify-self: center;
    text-align: center;
    width: min(58vw, 880px);
    height: clamp(78px, 7vw, 112px);
  }

  .brand__name {
    font-size: clamp(42px, 4.4vw, 78px);
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }

  .panel {
    left: auto;
    right: calc(50% + var(--hero-gap) / 2);
    top: 0;
    bottom: 0;
    transform: none;
    justify-content: center;
    align-items: flex-start;
    width: min(42vw, 480px);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .statement {
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.4;
    text-align: left;
  }

  .statement__headline {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.15;
  }

  .statement__support {
    margin-top: clamp(14px, 1.4vw, 20px);
    font-size: clamp(18px, 1.5vw, 23px);
    line-height: 1.45;
  }

  .cta {
    display: inline-flex;
  }

  .email {
    display: none;
  }

  .locale {
    position: fixed;
    left: 50%;
    bottom: clamp(18px, 2.6vw, 34px);
    transform: translateX(-50%);
    width: auto;
    max-width: none;
    margin: 0;
    padding-top: 0;
    border-top: 0;
    white-space: nowrap;
  }

  .botanical {
    top: auto;
    left: 50%;
    right: auto;
    bottom: 0;
    width: auto;
    height: auto;
    max-width: min(44vw, 760px);
    max-height: calc(100svh - 150px);
    object-fit: unset;
    transform: translateX(calc(var(--hero-gap) / 2));
  }
}

@media (min-width: 1500px) {
  .botanical {
    max-width: min(50vw, 900px);
  }
}

/* On short, height-constrained desktop viewports the botanical is capped
   by height with plenty of free space beside the centered wordmark, so let
   it grow taller. Its sparse upper leaves may sit alongside the wordmark. */
@media (min-width: 1000px) and (max-height: 880px) {
  .botanical {
    max-width: min(56vw, 900px);
    max-height: calc(100svh - 96px);
  }
}

@media (min-width: 761px) and (max-width: 999.98px) {
  .botanical {
    top: clamp(128px, 15vw, 150px);
    bottom: auto;
    width: auto;
    height: 116svh;
    height: 110lvh;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 22px 18px 0;
  }

  .brand {
    width: min(100%, 420px);
    height: 64px;
    padding: 0 16px;
    margin-bottom: 18px;
  }

  .brand__name {
    font-size: clamp(30px, 8.4vw, 42px);
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }

  .botanical {
    top: clamp(100px, 14vw, 116px);
    bottom: auto;
    width: auto;
    height: 132svh;
    height: 124lvh;
    max-width: none;
    transform: translateX(-50%);
  }
}

@media (max-width: 430px) {
  .hero {
    padding-top: 14px;
  }

  .brand {
    height: 58px;
    padding: 0 12px;
    margin-bottom: 16px;
  }

  .brand__name {
    font-size: clamp(26px, 8vw, 34px);
    letter-spacing: 0.11em;
    text-indent: 0.1em;
  }

  .botanical {
    top: clamp(92px, 21vw, 104px);
    height: 138svh;
    height: 130lvh;
  }
}

@media (max-width: 370px) {
  .hero {
    padding-inline: 12px;
  }

  .brand {
    padding-inline: 10px;
    height: 54px;
  }

  .brand__name {
    font-size: 24px;
  }
}
