*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-accent:        #3D7A4F;
  --color-accent-warm:   #C8B87A;
  --color-accent-light:  #E6F2EB;
  --color-border:        #D0DFCB;
  --color-text-primary:  #1A2B1F;
  --color-text-secondary:#4A6355;
  --color-text-tertiary: #8AA698;
  --color-bg-primary:    #F7FAF5;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Source Serif 4', serif;
  background: radial-gradient(ellipse 140% 140% at 50% 45%, #fff 0%, var(--color-bg-primary) 50%, #EEF4EB 100%);
  background-attachment: fixed;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ── Decorative botanical background ── */
.bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
}

/*
  Sizing uses vw for BOTH width and height so aspect ratios stay
  consistent on any screen orientation (portrait or landscape).
  Static rotations use the `rotate` CSS property so they compose
  independently with animated `translate` / `rotate` keyframes.
*/

/* Large leaf ellipses */
.leaf-1 {
  width: 26vw;  height: 36vw;
  left: -4.17%; top: 5.56%;
  opacity: 0.35;
  rotate: 25deg;
  animation: float-a 17s ease-in-out infinite,
             hue-green-light 9.5s ease-in-out infinite 2s;
}
.leaf-2 {
  width: 25vw;  height: 35vw;
  left: 80.73%; top: 32.41%;
  opacity: 0.30;
  rotate: -20deg;
  animation: float-b 21s ease-in-out infinite 4s,
             hue-green-light 9.5s ease-in-out infinite 5s;
}
.leaf-3 {
  width: 18vw;  height: 25vw;
  left: 85.94%; top: -9.26%;
  opacity: 0.25;
  rotate: -35deg;
  animation: float-a 15s ease-in-out infinite 8s,
             hue-sage 8s ease-in-out infinite 1s;
}
.leaf-4 {
  width: 21vw;  height: 29vw;
  left: -2.6%;  top: 64.81%;
  opacity: 0.20;
  rotate: 40deg;
  animation: float-b 19s ease-in-out infinite 2s,
             hue-sage 8s ease-in-out infinite 4s;
}

/* Circle accents — equal vw keeps them circular on any screen */
.circle-1 {
  width: 6.25vw; height: 6.25vw;
  left: 9.375%;  top: 12.96%;
  opacity: 0.12;
  animation: bob 13s ease-in-out infinite 1s,
             hue-warm 10s ease-in-out infinite 3s;
}
.circle-2 {
  width: 4.2vw;  height: 4.2vw;
  left: 83.33%;  top: 72.22%;
  opacity: 0.15;
  animation: bob 16s ease-in-out infinite 5s,
             hue-warm 10s ease-in-out infinite 7s;
}
.circle-3 {
  width: 3.1vw;  height: 3.1vw;
  left: 72.92%;  top: 11.11%;
  opacity: 0.10;
  animation: drift-a 11s ease-in-out infinite 3s,
             hue-green-deep 11s ease-in-out infinite 2s;
}

/* Tiny dots — fixed px is intentional (pixel-level accents) */
.dot-1 { width: 16px; height: 16px; left: 41.67%; top: 9.26%;  opacity: 0.20; animation: bob 9.5s ease-in-out infinite 2s,   hue-warm 9s ease-in-out infinite; }
.dot-2 { width: 12px; height: 12px; left: 57.29%; top: 83.33%; opacity: 0.15; animation: bob 12s ease-in-out infinite 7s,   hue-green-deep 8s ease-in-out infinite 3s; }
.dot-3 { width: 10px; height: 10px; left: 20.83%; top: 18.52%; opacity: 0.12; animation: drift-a 10s ease-in-out infinite 4s, hue-green-deep 8s ease-in-out infinite 6s; }

/* Stem lines — height in vh so they scale with viewport height */
.stem {
  position: absolute;
  width: 1px;
  border-radius: 0;
  transform-origin: top center;
}
.stem-1 { height: 37vh; left: 16.67%; top: 0;      opacity: 0.08; animation: sway-a 14s ease-in-out infinite,      hue-green-deep 12s ease-in-out infinite; }
.stem-2 { height: 46vh; left: 82.29%; top: 55.56%; opacity: 0.08; animation: sway-b 18s ease-in-out infinite 3s,   hue-green-deep 12s ease-in-out infinite 5s; }
.stem-3 { height: 37vh; left: 13.02%; top: 64.81%; opacity: 0.10; animation: sway-c 12s ease-in-out infinite 6s,   hue-warm 10s ease-in-out infinite 3s; }

/* Petal pairs — vw for consistent aspect ratio */
.petal-1 { width: 9.4vw; height: 3.1vw; left: 67.71%; top: 62.96%; opacity: 0.06; rotate:  30deg; animation: float-a 15s ease-in-out infinite 9s,  hue-green-deep 9s ease-in-out infinite 1s; }
.petal-2 { width: 9.4vw; height: 3.1vw; left: 69.79%; top: 64.81%; opacity: 0.06; rotate: -15deg; animation: float-a 15s ease-in-out infinite 9s,  hue-green-deep 9s ease-in-out infinite 1s; }
.petal-3 { width: 7.3vw; height: 2.3vw; left: 26.04%; top: 78.7%;  opacity: 0.08; rotate:  20deg; animation: float-b 17s ease-in-out infinite 11s, hue-warm 10s ease-in-out infinite 6s; }
.petal-4 { width: 7.3vw; height: 2.3vw; left: 28.13%; top: 80.56%; opacity: 0.08; rotate: -25deg; animation: float-b 17s ease-in-out infinite 11s, hue-warm 10s ease-in-out infinite 6s; }

/* ── Animation keyframes ── */

/* Leaves / petals: multi-directional drift (movement increased ~50%) */
@keyframes float-a {
  0%, 100% { translate:   0px   0px; }
  33%       { translate: -15px -27px; }
  66%       { translate:  12px -12px; }
}
@keyframes float-b {
  0%, 100% { translate:   0px   0px; }
  40%       { translate:  18px -30px; }
  75%       { translate: -12px -18px; }
}

/* Circles: soft vertical bob */
@keyframes bob {
  0%, 100% { translate: 0px   0px; }
  50%       { translate: 0px -18px; }
}

/* Small elements: diagonal drift */
@keyframes drift-a {
  0%, 100% { translate:   0px   0px; }
  50%       { translate:  15px -15px; }
}

/* Stems: sway from pivot point at top */
@keyframes sway-a {
  0%, 100% { rotate:  10deg; }
  50%       { rotate:  16deg; }
}
@keyframes sway-b {
  0%, 100% { rotate:  -8deg; }
  50%       { rotate: -14deg; }
}
@keyframes sway-c {
  0%, 100% { rotate:  15deg; }
  50%       { rotate:  21deg; }
}

/* ── Color-shift keyframes (pastel ranges) ── */

/* Soft mint greens — for leaf-1, leaf-2 */
@keyframes hue-green-light {
  0%, 100% { background-color: #E6F2EB; }
  40%       { background-color: #D4EDDF; }
  70%       { background-color: #EBF6E5; }
}

/* Muted sage greens — for leaf-3, leaf-4 */
@keyframes hue-sage {
  0%, 100% { background-color: #D0DFCB; }
  40%       { background-color: #C2D4BA; }
  70%       { background-color: #DAE9D4; }
}

/* Warm golden pastels — for circles, dots, stem-3, petals 3–4 */
@keyframes hue-warm {
  0%, 100% { background-color: #C8B87A; }
  35%       { background-color: #D4C88E; }
  70%       { background-color: #BCA86C; }
}

/* Deep greens at low opacity — for circle-3, dots, stems 1–2, petals 1–2 */
@keyframes hue-green-deep {
  0%, 100% { background-color: #3D7A4F; }
  50%       { background-color: #4D8A60; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .bg-shapes * { animation: none !important; }
}

/* ── Logo mark ── */
.logo-mark {
  position: absolute;
  top: 5.56%;
  left: 50%;
  transform: translateX(-50%);
  width: 207px;
  height: 200px;
  opacity: 0.85;
}

/* ── Main content ── */
.content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  padding: 120px 20px 80px;
}

.brand-label {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--color-accent);
  text-transform: uppercase;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent-warm);
  flex-shrink: 0;
}

.headline {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: clamp(48px, 5.625vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--color-text-primary);
  max-width: 700px;
}

.subtext {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5625vw, 20px);
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 560px;
  text-wrap: balance;
}

/* ── Email form ── */
.email-row {
  display: flex;
  align-items: stretch;
}

.email-input {
  width: 320px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  background: #fff;
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.email-input::placeholder {
  color: var(--color-text-tertiary);
}

.email-input:focus {
  border-color: var(--color-accent);
}

.submit-btn {
  height: 52px;
  padding: 0 28px;
  background: var(--color-accent);
  border: none;
  border-radius: 0 4px 4px 0;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.submit-btn:hover {
  background: #2F6040;
}

.privacy-note {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--color-text-tertiary);
}

/* ── Bottom bar ── */
.bottom-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
}

.bottom-bar span,
.bottom-bar a {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--color-text-tertiary);
  text-decoration: none;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-links a:hover {
  color: var(--color-accent);
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .logo-mark {
    width: 140px;
    height: auto;
    top: 24px;
  }

  .content {
    padding: 100px 24px 60px;
    gap: 22px;
  }

  .headline {
    font-size: clamp(36px, 10vw, 52px);
  }

  .subtext {
    font-size: 16px;
  }

  .email-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .email-input {
    width: 100%;
    border-right: 1px solid var(--color-border);
    border-radius: 4px;
  }

  .email-input:focus {
    border-color: var(--color-accent);
  }

  .submit-btn {
    width: 100%;
    border-radius: 4px;
  }

  .bottom-bar {
    padding: 16px 24px;
  }
}
