:root {
  --teal: #1f6b7a;
  --teal-dark: #164c57;
  --teal-light: #e8f1f3;
  --coral: #d96a4a;
  --cream: #faf7f2;
  --ink: #1a2733;
  --muted: #5a6c7a;
  --soft: #8294a3;
  --line: #e6ddd1;
  --line-soft: #efe9df;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1140px;
  --max-narrow: 760px;
  --shadow-sm: 0 1px 2px rgba(26, 39, 51, 0.04), 0 1px 3px rgba(26, 39, 51, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 39, 51, 0.06), 0 2px 4px rgba(26, 39, 51, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--coral); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: var(--max-narrow); }

/* --- Nav --- */
header {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 20;
}
nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand .mark {
  width: 30px; height: 30px;
  background: var(--teal);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand span.accent { color: var(--coral); }
.nav-links {
  display: flex; gap: 1.75rem;
  list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.nav-cta {
  background: var(--teal);
  color: white;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.nav-links a.nav-cta:hover { background: var(--teal-dark); color: white; }
.nav-toggle {
  display: none;
  background: none; border: 0; font-size: 1.5rem;
  color: var(--ink); cursor: pointer;
}

/* --- Hero --- */
.hero {
  padding: 5.5rem 0 4.5rem;
  text-align: center;
}
.hero.compact { padding: 4rem 0 2.5rem; }
.hero h1 { max-width: 820px; margin-left: auto; margin-right: auto; }
.hero p.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0.5rem auto 2.25rem;
}
.cta-row { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.cta {
  display: inline-block;
  background: var(--coral);
  color: white;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.cta:hover { background: #c25b3f; color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta.secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  box-shadow: none;
}
.cta.secondary:hover { background: var(--teal); color: white; }
.cta.light {
  background: white;
  color: var(--teal);
}
.cta.light:hover { background: var(--cream); color: var(--teal-dark); }

/* --- Sections --- */
section { padding: 4.5rem 0; }
section.tight { padding: 3rem 0; }
section.alt { background: white; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
section.ink { background: var(--teal); color: var(--teal-light); }
section.ink h2, section.ink h3 { color: white; }
section.ink p { color: rgba(255, 255, 255, 0.86); }
section.ink a { color: white; text-decoration: underline; }

.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* --- Impact stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 900px;
}
.stat {
  background: white;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--line-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat .n {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.8rem;
  color: var(--teal);
  display: block;
  line-height: 1;
  font-weight: 500;
}
.stat .label {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  display: block;
}
.stat .sub { color: var(--soft); font-size: 0.82rem; margin-top: 0.2rem; }

/* --- Pillars (what we do) --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  text-align: left;
  padding: 1.75rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.pillar .icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.pillar h3 { color: var(--ink); margin-bottom: 0.4rem; }
.pillar p { color: var(--muted); margin: 0; }

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: transform 0.3s ease;
}
.gallery img:hover { transform: scale(1.02); }

/* --- Cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--ink); margin-bottom: 0.3rem; }
.card .meta { color: var(--soft); font-size: 0.85rem; margin-bottom: 0.75rem; letter-spacing: 0.02em; }
.card p { color: var(--muted); }
.card a { font-weight: 600; }

/* --- Team / Leadership --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.member {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  text-align: center;
}
.member .avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 500;
  overflow: hidden;
}
.member .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.member h3 { margin-bottom: 0.1rem; font-size: 1.1rem; }
.member .role { color: var(--coral); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; }
.member .bio { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* --- Timeline --- */
.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 14px; height: 14px;
  background: var(--coral);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--coral);
}
.timeline-item .date {
  font-weight: 600;
  color: var(--teal);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.timeline-item h4 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.timeline-item p { margin: 0; color: var(--muted); }

/* --- Testimonial / Quote --- */
.quote {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}
.quote blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.01em;
}
.quote blockquote::before { content: "“"; color: var(--coral); font-size: 1.3em; margin-right: 0.1em; }
.quote blockquote::after { content: "”"; color: var(--coral); font-size: 1.3em; margin-left: 0.1em; }
.quote .attrib { color: var(--muted); font-size: 0.95rem; }
.quote .attrib strong { color: var(--ink); }

/* --- Partners / Logo wall --- */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.partner {
  padding: 1.25rem 1rem;
  text-align: center;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- Prose --- */
.prose {
  max-width: var(--max-narrow);
  margin: 0 auto;
}
.prose p { font-size: 1.05rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

/* --- Form --- */
form { max-width: 540px; margin: 0 auto; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.95rem; }
input, textarea, select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: white;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 107, 122, 0.12);
}
textarea { min-height: 150px; resize: vertical; }
button[type="submit"] {
  background: var(--teal);
  color: white;
  border: 0;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
button[type="submit"]:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* --- Footer --- */
footer {
  background: var(--ink);
  color: #a5b4c0;
  padding: 3rem 0 2rem;
  margin-top: 0;
  font-size: 0.92rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
footer h4 {
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
footer a { color: #a5b4c0; display: inline-block; margin-bottom: 0.4rem; }
footer a:hover { color: var(--coral); }
footer .brand { color: white; font-size: 1.3rem; }
footer .brand .mark { background: var(--coral); color: white; }
footer .about { color: #8294a3; margin-top: 0.75rem; }
footer .bottom {
  border-top: 1px solid #2d3a47;
  padding-top: 1.25rem;
  text-align: center;
  color: #6e7f8c;
  font-size: 0.85rem;
}
footer .bottom p { margin: 0.2rem 0; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line-soft);
    gap: 1rem;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { text-align: center; }
  .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 180px; }
  .footer-cols { grid-template-columns: 1fr; }
}
