/* ── Hero — centered, no avatar ──────────────────────── */
.er-hero-center {
  text-align: center;
}

.er-hero-center .h3-like {
  color: #d8f3dc;
}

.er-hero-center p {
  color: rgba(216, 243, 220, 0.85);
}

/* ── Hero Icons — override hardcoded #555 ─────────────── */
.er-hero-icons .icon {
  color: #52b788 !important;
  font-size: 1.3rem;
  margin: 0 0.4rem;
  transition: color 0.2s, transform 0.2s, text-shadow 0.2s;
  display: inline-block;
}

.er-hero-icons .icon:hover {
  color: #95d5b2 !important;
  transform: translateY(-2px) scale(1.15);
  text-shadow: 0 0 12px rgba(149, 213, 178, 0.6);
}

/* ── Global Container ─────────────────────────────────── */
.er-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.er-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.er-section-title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

/* ── Intro ────────────────────────────────────────────── */
.er-intro {
  padding: 4rem 0 3rem;
  text-align: center;
}

.er-intro-text {
  font-size: 1.25rem;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.er-intro-sub {
  font-size: 1rem;
  opacity: 0.6;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Wave Divider ─────────────────────────────────────── */
.er-wave {
  line-height: 0;
  overflow: hidden;
}

.er-wave svg {
  display: block;
  width: 100%;
  height: 60px;
  fill: rgba(45, 106, 79, 0.12);
}

.er-wave-flip {
  transform: scaleX(-1);
}

/* ── About ────────────────────────────────────────────── */
.er-about {
  padding: 5rem 0;
  background: rgba(45, 106, 79, 0.07);
  border-top: 1px solid rgba(45, 106, 79, 0.15);
  border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}

.er-about-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 680px) {
  .er-about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.er-about-label {
  padding-top: 0.3rem;
}

.er-about-body p {
  line-height: 1.8;
  margin-bottom: 1.1rem;
  opacity: 0.85;
}

.er-about-lead {
  font-size: 1.25rem;
  font-style: italic;
  opacity: 1 !important;
  margin-bottom: 1.5rem !important;
}

.er-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  color: #52b788;
  opacity: 1 !important;
}

.er-emphasis {
  border-left: 3px solid #2d6a4f;
  padding-left: 1rem;
  font-style: italic;
}

/* ── About Contact Links ──────────────────────────────── */
.er-about-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(82, 183, 136, 0.2);
}

.er-contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 1rem;
  margin-top: 0;
}

.er-about-icons .icon {
  color: #52b788;
  font-size: 1.2rem;
  margin: 0 0.5rem;
  transition: color 0.2s, transform 0.2s, text-shadow 0.2s;
  display: inline-block;
}

.er-about-icons .icon:hover {
  color: #95d5b2;
  transform: translateY(-2px) scale(1.15);
  text-shadow: 0 0 12px rgba(149, 213, 178, 0.6);
}

/* ── Pillars ──────────────────────────────────────────── */
.er-pillars {
  padding: 5rem 0;
}

.er-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.er-pillar {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(82, 183, 136, 0.2);
  border-radius: 12px;
  background: rgba(45, 106, 79, 0.06);
  transition: border-color 0.25s, transform 0.25s;
}

.er-pillar:hover {
  border-color: rgba(82, 183, 136, 0.5);
  transform: translateY(-3px);
}

.er-pillar-icon {
  font-size: 1.6rem;
  color: #52b788;
  margin-bottom: 1rem;
}

.er-pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.er-pillar p {
  line-height: 1.7;
  opacity: 0.8;
  font-size: 0.95rem;
}

.er-closing-quote {
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  opacity: 0.7;
  border: none;
  margin: 1rem auto 0;
  max-width: 540px;
  padding: 0;
}

.er-closing-quote::before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: #2d6a4f;
  line-height: 1;
  margin-bottom: 0.25rem;
  font-style: normal;
}

/* ── Science ──────────────────────────────────────────── */
.er-science {
  padding: 5rem 0;
  background: rgba(45, 106, 79, 0.08);
  border-top: 1px solid rgba(45, 106, 79, 0.15);
  border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}

.er-science-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.er-science-card {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(82, 183, 136, 0.15);
  border-radius: 12px;
  background: rgba(82, 183, 136, 0.06);
  display: flex;
  flex-direction: column;
}

.er-science-icon {
  font-size: 1.5rem;
  color: #52b788;
  margin-bottom: 0.75rem;
}

.er-science-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #95d5b2;
}

.er-science-card > p {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.er-fact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex: 1;
}

.er-fact-list li {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.85;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(82, 183, 136, 0.1);
}

.er-fact-list li:last-child {
  border-bottom: none;
}

.er-fact-list li strong {
  color: #74c69d;
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.er-card-footer {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.5;
  margin-top: auto;
  padding-top: 1rem;
}

/* ── CTA ──────────────────────────────────────────────── */
.er-cta {
  padding: 6rem 0 7rem;
  text-align: center;
}

.er-cta-inner {
  max-width: 640px;
}

.er-cta-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.45;
  margin-bottom: 0.75rem;
}

.er-cta-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #74c69d;
}

.er-cta-body {
  font-size: 1.05rem;
  opacity: 0.7;
  line-height: 1.7;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .er-hero-center {
    padding: 2rem 0;
  }

  .er-hero-center .h3-like {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .er-hero-center p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  /* Intro */
  .er-intro {
    padding: 2.5rem 0 2rem;
  }

  .er-intro-text {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }

  .er-intro-sub {
    font-size: 0.9rem;
  }

  /* Wave */
  .er-wave svg {
    height: 40px;
  }

  /* About */
  .er-about {
    padding: 3rem 0;
  }

  .er-about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .er-about-label {
    padding-top: 0;
  }

  .er-about-body p {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
  }

  .er-about-lead {
    font-size: 1.1rem;
    margin-bottom: 1rem !important;
  }

  /* Pillars */
  .er-pillars {
    padding: 3rem 0;
  }

  .er-pillars-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .er-pillar {
    padding: 1.5rem 1.25rem;
  }

  .er-pillar h3 {
    font-size: 1.05rem;
  }

  .er-pillar p {
    font-size: 0.9rem;
  }

  .er-closing-quote {
    font-size: 1rem;
  }

  .er-closing-quote::before {
    font-size: 2rem;
  }

  /* Science */
  .er-science {
    padding: 3rem 0;
  }

  .er-science-grid {
    gap: 1.5rem;
  }

  .er-science-card {
    padding: 1.5rem 1.25rem;
  }

  .er-science-card h3 {
    font-size: 1.05rem;
  }

  .er-science-card > p {
    font-size: 0.88rem;
  }

  .er-fact-list li {
    font-size: 0.82rem;
    padding: 0.4rem 0;
  }

  /* CTA */
  .er-cta {
    padding: 3rem 0 4rem;
  }

  .er-cta-title {
    font-size: 2.2rem;
  }

  .er-cta-body {
    font-size: 0.95rem;
  }

  /* Container padding */
  .er-container {
    padding: 0 1rem;
  }

  .er-eyebrow {
    font-size: 0.65rem;
  }

  .er-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .er-hero-center .h3-like {
    font-size: 1.25rem;
  }

  .er-hero-center p {
    font-size: 0.85rem;
  }

  .er-intro-text {
    font-size: 0.95rem;
  }

  .er-cta-title {
    font-size: 1.75rem;
  }

  .er-pillar {
    padding: 1.25rem 1rem;
  }

  .er-science-card {
    padding: 1.25rem 1rem;
  }

  .er-about-icons .icon {
    font-size: 1rem;
    margin: 0 0.35rem;
  }
}
