/* ============================================================
   DML IMPACT — Brand tokens
   ============================================================ */
:root {
  --deep:    #0F251C;   /* primary dark green */
  --forest:  #1C3D2E;   /* secondary dark green / card on dark */
  --bronze:  #B08D57;   /* accent */
  --sand:    #D8C4A0;   /* secondary accent / muted text on dark */
  --cream:   #F7F3EC;   /* light section bg */
  --slate:   #5A5A5A;   /* body copy on light */
  --white:   #FFFFFF;

  --serif: Georgia, "Times New Roman", serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--deep);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow--light { color: var(--sand); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 24px); }
p { line-height: 1.7; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn--gold {
  background: var(--bronze);
  color: var(--deep);
}
.btn--gold:hover { background: var(--sand); }
.btn--outline {
  background: transparent;
  border-color: rgba(247,243,236,0.4);
  color: var(--cream);
}
.btn--outline:hover { border-color: var(--bronze); color: var(--bronze); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,37,28,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(176,141,87,0.18);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 17px;
}
.brand svg { width: 26px; height: 26px; }
.nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: var(--sand);
}
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--bronze); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; background: var(--deep);
    flex-direction: column; padding: 20px 32px 28px; gap: 18px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s ease; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; background: none; border: none; color: var(--cream); font-size: 26px; cursor: pointer; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--deep);
  color: var(--cream);
  padding: 190px 0 140px;
  overflow: hidden;
  text-align: center;
}
.hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  max-width: 820px;
  margin: 22px auto 26px;
  color: var(--white);
}
.hero p.lede {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: var(--sand);
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-route-label {
  margin-top: 60px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(216,196,160,0.55);
}

/* ---------------- Sections generic ---------------- */
section { padding: 96px 0; }
.section--dark { background: var(--deep); color: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; }
.section-head p { color: var(--slate); margin-top: 16px; }
.section--dark .section-head p, .section--forest .section-head p { color: var(--sand); }

/* ---------------- Services ---------------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--white);
  border: 1px solid rgba(15,37,28,0.08);
  padding: 44px 38px;
  border-radius: 3px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(15,37,28,0.25); }
.pillar-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  margin-bottom: 26px;
}
.pillar-icon svg { width: 24px; height: 24px; stroke: var(--bronze); }
.pillar h3 { margin-bottom: 16px; }
.pillar .label { font-size: 13px; font-weight: 600; color: var(--bronze); letter-spacing: 0.05em; display:block; margin-top:20px; margin-bottom: 6px;}
.pillar p { color: var(--slate); font-size: 15px; margin: 0; }

.upcoming {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.upcoming-item {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  background: var(--cream);
  border: 1px dashed rgba(176,141,87,0.5);
  border-radius: 3px;
  font-size: 14.5px;
  color: var(--slate);
}
.tag-soon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  border: 1px solid var(--bronze);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---------------- Quote band ---------------- */
.quote-band {
  text-align: center;
  padding: 90px 0;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 32px);
  max-width: 780px;
  margin: 0 auto;
  color: var(--white);
  font-style: italic;
  line-height: 1.5;
}
.quote-band cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--bronze);
}

/* ---------------- Impact values ---------------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.value h3 { margin-bottom: 12px; }
.value p { color: var(--slate); font-size: 15px; }
.value-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--bronze);
  margin-bottom: 14px;
  display: block;
}

/* ---------------- Team ---------------- */
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(15,37,28,0.08);
}
.avatar {
  height: 210px;
  display: flex; align-items: center; justify-content: center;
  background: var(--deep);
  color: var(--sand);
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: 0.04em;
  position: relative;
}
.avatar::after{
  content:"";
  position:absolute; inset:14px;
  border:1px solid rgba(176,141,87,0.4);
}
.team-body { padding: 26px 28px 30px; }
.team-body .role { color: var(--bronze); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.team-body h3 { margin: 8px 0 12px; font-size: 20px; color: var(--deep); }
.team-body p { color: var(--slate); font-size: 14px; margin: 0; }
.placeholder-note { font-size: 12px; color: var(--bronze); margin-top: 12px; font-style: italic; }

/* ---------------- Contact ---------------- */
.contact { text-align: center; }
.contact h2 { color: var(--white); max-width: 600px; margin: 18px auto 20px; }
.contact p.lede { max-width: 520px; margin: 0 auto 36px; color: var(--sand); }
.contact-meta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(247,243,236,0.6);
}
.contact-meta strong { display: block; color: var(--sand); font-weight: 600; margin-bottom: 4px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: #0A1B14;
  color: rgba(247,243,236,0.55);
  padding: 56px 0 34px;
  font-size: 13px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(247,243,236,0.08);
  margin-bottom: 26px;
}
.footer-brand { color: var(--sand); font-family: var(--sans); font-weight: 700; letter-spacing: 0.04em; display:flex; align-items:center; gap:10px;}
.footer-brand svg { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--bronze); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------------- Hero load-in animation ----------------
   CSS-only, plays once on page load — no scroll/JS dependency,
   so content is always present in the DOM and visible to any
   renderer (screen readers, no-JS, PDF export, search crawlers). */
.hero-anim {
  animation: heroFade .8s ease both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; }
}

/* legal pages */
.legal { padding: 170px 0 100px; }
.legal h1 { font-size: clamp(30px,4vw,44px); margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; font-family: var(--sans); font-weight: 700; }
.legal p, .legal li { color: var(--slate); font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal a.back { color: var(--bronze); font-size: 13px; font-weight: 600; }
