/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --bg:          #eae8db;
  --bg-card:     #e0ddd2;
  --bg-dark:     #26251e;
  --border:      #ccc9bc;
  --accent:      #4a7c59;
  --text:        #26251e;
  --text-dim:    #5a5850;
  --text-muted:  #8a8880;
  --radius:      12px;
  --max-w:       1160px;
}

/* ── BASE ──────────────────────────────────────────────── */
html, body {
  background-color: var(--bg) !important;
  color: var(--text) !important;
}

.container {
  max-width: 100% !important;
  text-align: left !important;
  padding: 0 !important;
  justify-content: flex-start !important;
}

/* Hide theme elements we've replaced */
.header,
.footer,
.theme-toggle,
.menu-trigger {
  display: none !important;
}

/* Reset theme dark/light overrides */
em, i, strong {
  color: inherit !important;
}

hr {
  background: var(--border) !important;
}

/* ── NAV ───────────────────────────────────────────────── */
.ep-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 2rem;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ep-header-logo {
  position: absolute;
  right: 2rem;
  top: 0.85rem;
  display: flex;
  align-items: center;
}

.ep-header-logo img {
  height: 94px;
  width: auto;
  display: block;

}

.ep-nav {
  width: 100%;
  max-width: 860px;
  background: rgba(234, 232, 219, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 20px rgba(38, 37, 30, 0.08);
  padding: 0 1.5rem;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ep-logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text) !important;
  text-decoration: none !important;
  flex-shrink: 0;
}

.ep-logo span {
  color: var(--accent);
}

.ep-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.ep-nav-links a {
  color: var(--text-dim) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.ep-nav-links a:hover {
  color: var(--text) !important;
  background: var(--bg-card);
}

.ep-nav-cta {
  display: inline-block;
  background: var(--text);
  color: var(--bg) !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: opacity 0.15s;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.ep-nav-cta:hover {
  opacity: 0.8;
}

/* ── HERO ──────────────────────────────────────────────── */
.ep-hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.ep-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ep-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a05828;
  border: 1px solid rgba(160, 88, 40, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.75rem;
  background: rgba(160, 88, 40, 0.08);
}

.ep-hero-label-logo {
  height: 20px;
  width: auto;
  display: inline-block;
  border-radius: 3px;
}

.ep-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text) !important;
  margin: 0 0 1.25rem;
}

.ep-hero h1 em {
  color: var(--accent) !important;
  font-style: normal;
}

.ep-hero-inner > p {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 0 2.25rem;
  line-height: 1.7;
}

.ep-hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── FULL-WIDTH IMAGE ──────────────────────────────────── */
.ep-full-image {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  line-height: 0;
}

.ep-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ep-btn-primary {
  display: inline-block;
  background: var(--text);
  color: var(--bg) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: opacity 0.15s;
}

.ep-btn-primary:hover {
  opacity: 0.82;
}

.ep-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none !important;
  transition: border-color 0.15s, background 0.15s;
}

.ep-btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}


/* ── SECTION STRUCTURE ─────────────────────────────────── */
.ep-section {
  padding: 6rem 2rem;
}

.ep-section--shaded {
  background: var(--bg-card);
}

.ep-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.ep-section-inner--narrow {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.ep-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a05828;
  margin-bottom: 0.85rem;
}

.ep-section-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.ep-section-body {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0 auto;
}

.ep-section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.ep-link-arrow {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent) !important;
  text-decoration: none !important;
  transition: opacity 0.15s;
}

.ep-link-arrow:hover {
  opacity: 0.75;
}

/* ── GOAL CARDS ────────────────────────────────────────── */
.ep-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.ep-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(38, 37, 30, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ep-card:hover {
  box-shadow: 0 6px 24px rgba(38, 37, 30, 0.11);
  transform: translateY(-2px);
}

.ep-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.ep-card-icon--1 { background: #e8d5be; }
.ep-card-icon--2 { background: #bfd4c5; }
.ep-card-icon--3 { background: #c8d4e0; }
.ep-card-icon--4 { background: #d4e0c8; }

.ep-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text) !important;
  margin: 0 0 0.6rem;
  display: block !important;
}

.ep-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

/* ── STATS BAND ────────────────────────────────────────── */
.ep-stats-band {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ep-stats-row {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.ep-stat {
  text-align: center;
  padding: 1rem 3.5rem;
}

.ep-stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

.ep-stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.ep-stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.45rem;
}

/* ── PARTNERS ──────────────────────────────────────────── */
.ep-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.ep-partner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}

.ep-partner:hover {
  border-color: var(--accent);
}

.ep-partner-abbr {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  min-width: 40px;
}

.ep-partner-name {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.ep-partner-name small {
  color: var(--text-muted);
  font-size: 0.73rem;
}

/* ── FOCUS SPLIT ───────────────────────────────────────── */
.ep-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.ep-split-text .ep-section-body {
  margin: 0 0 2rem;
}

.ep-split-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2.5rem;
}

.ep-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.ep-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── DARK CTA ──────────────────────────────────────────── */
.ep-cta-dark {
  background: var(--bg-dark);
  padding: 7rem 2rem;
  text-align: center;
}

.ep-cta-dark-inner {
  max-width: 580px;
  margin: 0 auto;
}

.ep-cta-dark h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff !important;
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  display: block !important;
}

.ep-cta-dark p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.ep-btn-light {
  display: inline-block;
  background: #fff;
  color: var(--bg-dark) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.72rem 1.7rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: opacity 0.15s;
}

.ep-btn-light:hover {
  opacity: 0.88;
}

/* ── FOOTER WORDMARK ───────────────────────────────────── */
.ep-footer-wordmark {
  background: var(--bg-dark);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.07);
  text-align: center;
  padding: 1rem 2rem 0;
  line-height: 1;
  overflow: hidden;
  user-select: none;
}

/* ── INNER PAGES ───────────────────────────────────────── */
.ep-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4.5rem 2rem 7rem;
}

.ep-page-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--text) !important;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.ep-page-divider {
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 3rem;
}

/* Inner page content typography */
.ep-content h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text) !important;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.ep-content h2 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  display: block !important;
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 0.5rem !important;
  margin-top: 2.75rem !important;
  margin-bottom: 0.85rem !important;
  letter-spacing: 0.01em;
}

.ep-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text) !important;
  display: block !important;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.ep-content p {
  color: var(--text-dim);
  line-height: 1.78;
  margin-bottom: 1rem;
}

.ep-content strong {
  color: var(--text) !important;
}

.ep-content ul,
.ep-content ol {
  color: var(--text-dim);
  line-height: 1.78;
  padding-left: 1.4rem;
}

.ep-content li {
  margin-bottom: 0.3rem;
}

.ep-content li::marker {
  color: var(--accent);
}

.ep-content hr {
  border: none !important;
  border-top: 1px solid var(--border) !important;
  background: none !important;
  margin: 2.5rem 0 !important;
}

.ep-content a {
  color: var(--accent);
  text-decoration: none;
}

.ep-content a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── FOOTER ────────────────────────────────────────────── */
.ep-footer {
  background: var(--bg-dark);
  padding: 2rem;
}

.ep-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.ep-footer-logo {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff !important;
  text-decoration: none !important;
}

.ep-footer-logo span {
  color: var(--accent);
}

.ep-footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ep-footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.ep-footer-links a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ep-footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.ep-footer-copy a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .ep-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ep-stat-divider {
    display: none;
  }

  .ep-stats-row {
    gap: 1rem;
  }

  .ep-stat {
    padding: 1rem 2rem;
  }
}

@media (max-width: 684px) {
  .ep-nav-links {
    display: none;
  }

  .ep-nav-cta {
    margin-left: auto;
  }

  .ep-hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .ep-hero h1 {
    font-size: 2.2rem;
  }

  .ep-section {
    padding: 4rem 1.5rem;
  }

  .ep-partners-grid {
    grid-template-columns: 1fr;
  }

  .ep-page {
    padding: 3rem 1.5rem 5rem;
  }

  .ep-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .ep-footer-links {
    justify-content: center;
  }
}
