/* ─── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f5f7f2;
  --bg-alt:      #eef2e8;
  --bg-deep:     #e4ede0;
  --green:       #2d6a4f;
  --green-mid:   #40916c;
  --green-light: #74c69d;
  --green-pale:  #d8efd4;
  --ink:         #1a2e1a;
  --ink-mid:     #3d5440;
  --muted:       #6b8a6e;
  --serif:       'Fraunces', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
  --radius:      10px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── Intro splash ──────────────────────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  justify-content: center;
  padding: 0 2rem;
  max-width: 700px;
  text-align: center;
}

.intro-word {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 300;
  color: #d8f3dc;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-word.intro-accent {
  color: #fff;
  font-style: italic;
}

.intro-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-skip {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.intro-skip:hover { color: #fff; border-color: #fff; }

/* ─── Page wrapper ──────────────────────────────────────────── */
.page {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Nav ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(245, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.logo-leaf {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--green); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 95svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.8rem;
}

.headline em {
  font-style: italic;
  color: var(--green);
}

.sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--green-pale);
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--green-light); background: var(--green-pale); }

/* ─── Leaf canvas ───────────────────────────────────────────── */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#leaf-canvas {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  border-radius: 24px;
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stats {
  background: var(--green);
  color: #d8f3dc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 3.5rem 3rem;
}

.stat {
  flex: 1;
  text-align: center;
  max-width: 280px;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.stat-unit {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--green-light);
  font-weight: 300;
}

.stat p {
  font-size: 0.82rem;
  color: rgba(216, 243, 220, 0.7);
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  margin: 0 3rem;
}

/* ─── About / cards ─────────────────────────────────────────── */
.about {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--green-pale);
  border-radius: 14px;
  padding: 2.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 106, 79, 0.1);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--green);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ─── Quote ─────────────────────────────────────────────────── */
.quote-section {
  background: var(--bg-deep);
  padding: 7rem 3rem;
}

.quote-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--green);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

cite {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-style: normal;
  text-transform: uppercase;
}

/* ─── Canvas note ───────────────────────────────────────────── */
.canvas-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 0.9rem;
}
.canvas-note svg { color: var(--green-mid); flex-shrink: 0; }

/* ─── Eco transparency strip ────────────────────────────────── */
.eco-strip {
  padding: 3rem;
  border-top: 1px solid var(--green-pale);
  border-bottom: 1px solid var(--green-pale);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.eco-strip-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  font-weight: 500;
}
.eco-strip-label svg { color: var(--green); }

.eco-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--green-pale);
  border: 1px solid rgba(45, 106, 79, 0.15);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.eco-badge svg { flex-shrink: 0; color: var(--green-mid); }

/* ─── Waitlist ──────────────────────────────────────────────── */
.waitlist {
  padding: 7rem 3rem;
  background: var(--bg);
}

.waitlist-inner {
  max-width: 600px;
  margin: 0 auto;
}

.waitlist-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  margin: 1rem 0;
  line-height: 1.2;
}

.waitlist-inner > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.2rem;
  background: #fff;
  border: 1.5px solid var(--green-pale);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus { border-color: var(--green-mid); }

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.waitlist-form button:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-icon { width: 18px; height: 18px; }

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--green-mid);
  min-height: 1.2em;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo { color: var(--green-light); }
.footer-logo .logo-leaf { color: var(--green-light); }

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  padding-left: 0.25rem;
}

.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.25);
}

/* ─── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Scroll progress ───────────────────────────────────────── */
.scroll-track {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 2px;
  height: 120px;
  background: rgba(45, 106, 79, 0.15);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scroll-track.visible { opacity: 1; }

.scroll-thumb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  top: 0;
  transition: top 0.1s linear;
  box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.2);
}

@media (max-width: 640px) {
  .scroll-track { display: none; }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; }
  .hero-right { display: none; }
  .cards { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 2rem; }
  .stat-divider { width: 60px; height: 1px; margin: 0; }
}

@media (max-width: 640px) {
  nav { padding: 1rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .about, .quote-section, .waitlist { padding: 5rem 1.5rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; gap: 1rem; text-align: center; align-items: center; }
  .footer-left { align-items: center; }
}
