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

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --color-bg: #fcf9f5;
  --color-text: #313436;
  --color-text-muted: #666;
  --color-accent: #2d6a4f;
  --color-accent-dark: #1b4332;
  --color-accent-light: #b7e4c7;
  --color-accent-bg: #f0faf4;
  --color-border: #e0ddd8;
  --color-surface: #f5f2ed;
  --color-dark-section: #313436;
  --color-gold: #cb892f;
  --color-hero-text: #fcf9f5;
  --max-width: 1200px;
  --content-width: 720px;
  --font-heading: 'Metropolis', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ─── Header ─── */
.site-header {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
}

.site-header__logo img {
  height: 50px;
  width: auto;
}

.site-header__logo a { display: block; }

.site-nav { display: flex; gap: 0; list-style: none; font-family: var(--font-body); align-items: center; }

.site-nav > li { position: relative; }

.site-nav > li > a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.15s;
}

.site-nav > li > a:hover { color: var(--color-accent); text-decoration: none; }

.site-nav .subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 200;
}

.site-nav > li:hover .subnav { display: block; }

.site-nav .subnav a {
  color: var(--color-text);
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: background 0.1s;
}

.site-nav .subnav a:hover { background: var(--color-surface); text-decoration: none; }

.btn-donate {
  display: inline-block;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

.btn-donate:hover { background: var(--color-gold); color: #fff; text-decoration: none; }

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

/* ─── Hero (homepage) ─── */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-hero-text);
  max-width: 700px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ─── Hero (subpages) ─── */
.hero--small {
  min-height: auto;
  padding: 2.5rem 2rem;
  background: var(--color-dark-section);
  display: block;
  text-align: center;
}

.hero--small .hero__bg { display: none; }

.hero--small h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-hero-text);
  text-shadow: none;
  max-width: none;
}

/* ─── Dark Section ─── */
.dark-section {
  background: var(--color-dark-section);
  color: var(--color-hero-text);
  padding: 3rem 2rem;
  text-align: center;
}

.dark-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-hero-text);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.2;
}

/* ─── Work Areas Grid ─── */
.work-areas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--color-dark-section);
  padding: 0 2rem 3rem;
}

.work-area {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--color-hero-text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.work-area:hover { opacity: 0.8; text-decoration: none; }

.work-area img {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.work-area span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-hero-text);
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.breadcrumb a { color: var(--color-accent); }
.breadcrumb span { margin: 0 0.35rem; }

/* ─── Main Content ─── */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.content-narrow { max-width: var(--content-width); margin: 0 auto; }

/* ─── Typography ─── */
h1 { font-family: var(--font-heading); font-size: 2rem; line-height: 1.25; color: var(--color-text); margin-bottom: 0.75rem; }
h2 { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.3; color: var(--color-text); margin: 2rem 0 0.75rem; }
h3 { font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.4; color: var(--color-accent); margin: 1.5rem 0 0.5rem; }

article p, .content p { margin-bottom: 1.25rem; }
article ul, article ol, .content ul, .content ol { margin: 0 0 1.5rem 1.5rem; }
article li, .content li { margin-bottom: 0.5rem; }

.section-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text);
  text-align: center;
  margin: 3rem 0 1.5rem;
}

.byline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-accent-light);
  background: var(--color-surface);
  font-style: italic;
  color: var(--color-text-muted);
}

/* ─── Cards Grid ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.5rem;
  transition: box-shadow 0.15s;
}

.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.card h3 { margin-top: 0; }
.card p { font-size: 0.95rem; margin-bottom: 0.75rem; }

.card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card--link:hover { text-decoration: none; }

/* ─── Strategy Slideshow ─── */
.strategies-section {
  background: var(--color-bg);
  padding: 2rem 2rem 3rem;
}

.strategies-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.strategies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.strategy-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.strategy-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.strategy-card__img {
  height: 180px;
  overflow: hidden;
}

.strategy-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strategy-card__body {
  padding: 1.25rem;
}

.strategy-card h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.strategy-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ─── Stats Row ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}

.stat { padding: 1rem; }

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ─── CTA ─── */
.cta-box {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--color-dark-section);
  color: var(--color-hero-text);
  border-radius: 4px;
  text-align: center;
}

.cta-box h2 { color: var(--color-hero-text); }

.cta-box p { font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 1.5rem; color: rgba(252,249,245,0.85); }

.btn {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  padding: 0.65rem 2rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.15s;
}

.btn:hover { background: #b5792a; text-decoration: none; }

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn--outline:hover { background: var(--color-gold); color: #fff; }

.btn--white { background: #fff; color: var(--color-text); }
.btn--white:hover { background: var(--color-surface); }

/* ─── Staff / Board Grid ─── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.person-card {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
}

.person-card strong { display: block; font-size: 0.95rem; }
.person-card span { font-size: 0.82rem; color: var(--color-text-muted); }

/* ─── Timeline ─── */
.timeline { list-style: none; margin: 2rem 0; padding-left: 0; }

.timeline li {
  position: relative;
  padding: 0 0 2rem 2rem;
  border-left: 2px solid var(--color-accent-light);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.timeline li:last-child { border-left-color: transparent; }

.timeline__year {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
}

.timeline__title { font-weight: 700; margin: 0.25rem 0; }

/* ─── Blog / News List ─── */
.post-list { list-style: none; padding: 0; }

.post-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.post-list a { font-weight: 600; font-size: 1.05rem; }
.post-list .post-meta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ─── Blog Posts with Thumbnails ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); text-decoration: none; }

.blog-card__img {
  height: 160px;
  background: var(--color-surface);
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body { padding: 1.25rem; }
.blog-card__body h3 { font-size: 1rem; margin: 0 0 0.5rem; color: var(--color-text); }
.blog-card__body .post-meta { margin-top: 0; }

/* ─── News (external links) ─── */
.news-list { list-style: none; padding: 0; }

.news-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child { border-bottom: none; }

.news-item__source {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-item__date {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ─── Donation Page ─── */
.give-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.give-card {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.give-card:hover { border-color: var(--color-gold); box-shadow: 0 4px 16px rgba(0,0,0,0.06); text-decoration: none; }
.give-card h3 { color: var(--color-text); margin-top: 0; }

/* ─── Contact Form ─── */
.contact-info {
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.contact-info dt {
  font-weight: 600;
  margin-top: 1rem;
  color: var(--color-text);
}

.contact-info dd { margin-left: 0; margin-bottom: 0.25rem; }

/* ─── Signature ─── */
.signature { margin-top: 2rem; font-style: italic; }
.signature strong { display: block; font-style: normal; font-size: 1.05rem; margin-top: 0.5rem; }
.signature span { display: block; font-style: normal; font-size: 0.9rem; color: var(--color-text-muted); }

/* ─── Newsletter Section ─── */
.newsletter-section {
  background: var(--color-surface);
  padding: 3rem 2rem;
  text-align: center;
}

.newsletter-section h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--color-dark-section);
  color: rgba(252,249,245,0.8);
  padding: 3rem 2rem 2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

.site-footer a { color: rgba(252,249,245,0.7); }
.site-footer a:hover { color: #fff; }

.site-footer address { font-style: normal; line-height: 1.7; }

.site-footer nav a { display: block; margin-bottom: 0.35rem; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.certifications { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cert-badge {
  padding: 0.2rem 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.7rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 350px; padding: 3rem 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .work-areas { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .btn-donate { display: none; }
  .mobile-toggle { display: block; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); padding: 1rem; border-bottom: 1px solid var(--color-border); }
  .site-nav.open .subnav { position: static; box-shadow: none; background: transparent; padding: 0 0 0 1rem; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .dark-section h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .work-areas { grid-template-columns: repeat(2, 1fr); }
  .work-area img { width: 80px; height: 80px; }
}
