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

:root {
  --wave: #1D7A6B;
  --wave-light: #E1F5EE;
  --wave-mid: #5DCAA5;
  --sand: #FAF7F2;
  --charcoal: #1E1E1E;
  --muted: #666;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sand);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── NAV ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E0DDD6;
  padding: 0 3rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wave);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--wave);
}

.nav-cta {
  background: var(--wave) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #0F6E56 !important;
  color: white !important;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ── HERO ── */

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5rem 3rem 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--wave-light);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wave);
  font-weight: 500;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--wave);
  padding-left: 0.75rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--wave);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

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

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 480px;
}

/* ── BUTTONS ── */

.btn-primary {
  background: var(--charcoal);
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--wave);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--charcoal);
  padding: 14px 0;
  font-size: 0.9rem;
  font-weight: 400;
  border: none;
  cursor: pointer;
  background: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--charcoal);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--wave);
  border-color: var(--wave);
}

/* ── STATS ── */

.stats-strip {
  background-color: #333;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.stat-cell {
  background: var(--charcoal);
  padding: 2.5rem 3rem;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--wave-mid);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #aaa;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ── SHARED SECTION STYLES ── */

.section {
  padding: 7rem 3rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wave);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ── MISSION ── */

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.mission-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.mission-heading--sm {
  font-size: 1.8rem;
}

.mission-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.callout-card {
  background: var(--wave-light);
  border-left: 4px solid var(--wave);
  border-radius: 0;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.callout-card p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--charcoal);
}

/* ── HOW IT WORKS ── */

.how-section {
  background: white;
  padding: 7rem 3rem;
}

.how-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.how-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.how-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

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

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--wave-light);
  line-height: 1;
  margin-bottom: -1rem;
  display: block;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* ── SCIENCE ── */

.science-section {
  padding: 7rem 3rem;
  background: var(--sand);
}

.science-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 4rem;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.science-card {
  background: white;
  border: 1px solid #E8E5DE;
  border-radius: 16px;
  padding: 2rem 2.5rem;
}

.science-icon {
  width: 44px;
  height: 44px;
  background: var(--wave-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.science-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.science-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #666;
  font-weight: 300;
}

/* ── JOIN ── */

.join-section {
  padding: 7rem 3rem;
  background: white;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.join-ways {
  list-style: none;
  margin-top: 2rem;
}

.join-ways li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #F0EDE6;
}

.join-ways li:last-child {
  border-bottom: none;
}

.join-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wave-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.join-ways h4 {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--charcoal);
}

.join-ways p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ── FORM ── */

.join-form-wrapper {
  background: var(--sand);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #E8E5DE;
}

.join-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.join-form-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.hidden {
  display: none;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #DDD9D0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  background: white;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--wave);
}

.form-submit {
  width: 100%;
  background: var(--wave);
  color: white;
  padding: 14px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
}

.form-submit:hover {
  background: #0F6E56;
  transform: translateY(-1px);
}

/* ── FOOTER ── */

footer {
  background: var(--charcoal);
  color: #aaa;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.8rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--wave-mid);
}

/* ── THANK YOU PAGE ── */

.thankyou-wrap {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.thankyou-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.thankyou-wrap h1 em {
  font-style: italic;
  color: var(--wave);
}

.thankyou-wrap p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .mission-grid,
  .join-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-grid .mission-heading--sm {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid #E0DDD6;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
    min-height: auto;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    right: -60px;
    top: -60px;
  }

  .hero-visual {
    display: none;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    padding: 2rem 1.5rem;
  }

  .section,
  .how-section,
  .science-section,
  .join-section {
    padding: 4rem 1.5rem;
  }

  .steps-grid,
  .science-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }
}
