:root {
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --blue: #000C86;
  --blue-bright: #1420C4;
  --blue-tint: #EEF0FB;
  --gold: #C9971F;
  --hairline: #DADADA;
  --serif: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
  box-sizing: border-box;
}
html { scroll-padding-top: 88px; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.1; }
p { max-width: 62ch; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; color: var(--blue); letter-spacing: 0.03em; margin: 0 0 10px; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 2px; border: 2px solid var(--blue);
  background: var(--gold); color: var(--white); text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  cursor: pointer;
}
.btn:hover { background: var(--blue-bright); border-color: var(--gold-bright); transform: translateY(-1px); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.on-dark.outline { color: var(--white); border-color: var(--white); }
.btn.on-dark.outline:hover { background: var(--white); color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #b3860f; border-color: #b3860f; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: 1160px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.current { border-bottom-color: var(--blue); color: var(--blue); }
.nav-cta { font-size: 0.86rem; padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 24px; height: 2px; background: var(--ink); }
.nav-toggle span::after { position: absolute; top: 7px; width: 24px; height: 2px; background: var(--ink); }

/* ---------- Hero / rotating banner (home page) ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--white);
  overflow: hidden; min-height: 580px;
}
.hero-track { position: relative; height: 580px; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .8s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.86) 0%, rgba(10,10,10,0.5) 55%, rgba(10,10,10,0.2) 100%); }
.slide-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; width: 100%; padding: 0 28px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.slide-tag { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; color: var(--gold); letter-spacing: 0.03em; text-transform: uppercase; }
.slide h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); max-width: 15ch; }
.slide p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 52ch; margin-top: 4px; }
.slide .slide-cta { margin-top: 8px; }
.slide-rule { width: 64px; height: 4px; background: var(--gold); margin-bottom: 4px; }

.hero-controls {
  position: absolute; bottom: 26px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; max-width: 1160px; margin: 0 auto; z-index: 5;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 4px; background: rgba(255,255,255,0.3); border: none; padding: 0; cursor: pointer; border-radius: 2px;
}
.hero-dots button.active { background: var(--gold); }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.2); color: var(--white); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrows button:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  position: relative; background: var(--ink); color: var(--white);
  min-height: 260px; display: flex; align-items: center; overflow: hidden;
}
.page-banner img.slide-bg { opacity: 0.9; }
.page-banner .slide-scrim { background: linear-gradient(90deg, rgba(10,10,10,0.88) 10%, rgba(10,10,10,0.55) 70%); }
.page-banner .banner-inner { position: relative; z-index: 2; padding: 0 28px; max-width: 1160px; margin: 0 auto; width: 100%; }
.page-banner h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-banner .crumbs { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 10px; }
.page-banner .crumbs a { text-decoration: none; color: rgba(255,255,255,0.85); }

/* ---------- Stat strip ---------- */
.stats { background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,0.12); }
.stats .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 26px 18px; text-align: left; border-left: 1px solid rgba(255,255,255,0.14); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--gold); }
.stat .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.68); margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: #555; margin-top: 10px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.pull { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.42; font-style: normal; border-left: 4px solid var(--blue); padding-left: 24px; margin: 0 0 20px; }
.pull cite { font-family: var(--sans); font-weight: 700; font-size: 0.82rem; font-style: normal; display: block; margin-top: 14px; color: var(--blue); }
.about-story p { color: #333; font-size: 0.98rem; }
.vm { display: flex; flex-direction: column; gap: 28px; }
.vm-block .eyebrow { margin-bottom: 8px; }
.vm-block p { color: #333; font-size: 0.96rem; }
.about-photo { width: 100%; border-radius: 4px; overflow: hidden; margin-bottom: 28px; border: 1px solid var(--hairline); }

/* What we do */
.bg-tint { background: var(--blue-tint); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.card { background: var(--white); transition: background .18s ease, color .18s ease; }
.card-img { width: 100%; height: 140px; object-fit: cover; display: block; }
.card-body { padding: 24px 24px 28px; }
.card:hover { background: var(--ink); color: var(--white); }
.card:hover .card-list li { color: rgba(255,255,255,0.72); }
.card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.card-list { list-style: none; margin: 0; padding: 0; font-size: 0.86rem; color: #555; }
.card-list li { padding: 4px 0; border-top: 1px solid var(--hairline); }
.card-list li:first-child { border-top: none; }
.card:hover .card-list li { border-top-color: rgba(255,255,255,0.16); }

/* How we work */
.steps { position: relative; max-width: 760px; }
.steps::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--hairline); }
.step { position: relative; padding: 0 0 38px 64px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: #333; font-size: 0.94rem; margin: 0; }

/* Impact */
.dark-section { background: var(--ink); color: var(--white); }
.dark-section .section-head h2 { color: var(--white); }
.dark-section .section-head p { color: rgba(255,255,255,0.7); }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.impact-card { border: 1px solid rgba(255,255,255,0.16); padding: 28px 24px; }
.impact-card .num { font-family: var(--serif); font-size: 2.1rem; color: var(--gold); }
.impact-card .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.7); margin-top: 6px; }
.quote-card { grid-column: span 3; border: 1px solid rgba(255,255,255,0.16); padding: 30px 28px; margin-top: 4px; }
.quote-card p { font-family: var(--serif); font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 70ch; margin: 0 0 10px; }
.quote-card .who { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* Partners */
.partner-row { display: flex; flex-wrap: wrap; gap: 16px; }
.partner-chip {
  border: 1px solid var(--hairline); padding: 16px 22px; font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.partner-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.partner-note { margin-top: 22px; color: #555; font-size: 0.9rem; }

/* Get involved */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16); margin-bottom: 40px; }
.tier { background: var(--ink); padding: 30px 26px; }
.tier h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 8px; }
.tier p { font-size: 0.9rem; color: rgba(255,255,255,0.68); margin: 0; }
.involve-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-card { border: 1px solid var(--hairline); padding: 30px; }
.contact-card h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--blue); margin-bottom: 10px; }
.contact-card p, .contact-card address { font-size: 0.98rem; color: #333; margin: 0 0 8px; font-style: normal; }
.contact-map { border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden; }

/* Social links */
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); transition: transform .18s ease, border-color .18s ease;
}
.social-row a:hover { transform: translateY(-2px); border-color: var(--blue); }
.social-row img { width: 100%; height: 100%; display: block; }
.social-row.on-dark a { border-color: rgba(255,255,255,0.25); }
.social-row.on-dark a:hover { border-color: var(--gold); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 0.82rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 2px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: #777; margin-top: 4px; }

/* Footer */
footer.site { background: var(--white); border-top: 1px solid var(--hairline); padding: 56px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.foot-brand span { font-family: var(--serif); font-weight: 700; }
footer h5 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; color: var(--blue); margin: 0 0 12px; letter-spacing: 0.03em; }
footer p, footer address { font-size: 0.9rem; color: #444; margin: 0 0 6px; font-style: normal; }
footer a { text-decoration: none; }
footer a:hover { color: var(--blue); }
.foot-bottom { border-top: 1px solid var(--hairline); padding-top: 22px; font-size: 0.8rem; color: #777; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--hairline); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .nav-links.open { max-height: 460px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 14px 28px; border-bottom: 1px solid var(--hairline); }
  .nav-toggle { display: flex; flex-direction: column; gap: 0; }
  .nav-cta { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .cards { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .quote-card { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero, .hero-track { min-height: 640px; height: auto; }
  .page-banner { min-height: 200px; }
  section { padding: 64px 0; }
}
