*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #2c3e50;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: #1a2332;
  line-height: 1.3;
}
h1 { font-size: 3rem; font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1.25rem; }

a { color: #2d4a7a; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1a3355; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 4.5rem 0; }

hr.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 74, 122, 0.12), transparent);
  margin: 0;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }

.accent-bar {
  width: 60px; height: 3px;
  background: #2d4a7a;
  margin: 0 auto 1.25rem;
}
.accent-bar--left { margin: 0 0 1.25rem 0; }

.section-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #7a8a9e;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45, 74, 122, 0.08);
  padding: 0 2rem;
}
nav .nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a2332;
}
.nav-logo span { color: #2d4a7a; }

nav ul {
  list-style: none; display: flex; gap: 1.5rem; align-items: center;
}
nav ul li a {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  color: #5a6a7e; text-transform: uppercase;
  letter-spacing: 0.1em; transition: color 0.2s;
}
nav ul li a:hover { color: #2d4a7a; }

.nav-cta {
  background: #2d4a7a; color: #fff !important;
  padding: 0.35rem 1rem; border-radius: 3px;
  font-weight: 700 !important; font-size: 0.75rem !important;
}
.nav-cta:hover { background: #1a3355; color: #fff !important; }

nav ul li a.active {
  color: #2d4a7a !important;
  position: relative;
}
nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2d4a7a;
  border-radius: 1px;
}
nav ul li a.active:hover { color: #1a3355 !important; }
nav ul li a.active:hover::after { background: #1a3355; }

.hamburger {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #1a2332; transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav ul {
    display: none; position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column; background: rgba(255,255,255,0.99);
    padding: 1rem 2rem 2rem; gap: 0.75rem;
    border-bottom: 1px solid rgba(45, 74, 122, 0.08);
  }
  nav ul.open { display: flex; }
}

/* Hero */
#hero {
  padding: 10rem 2rem 5rem;
  background: linear-gradient(135deg, #f0f3f8 0%, #e6ecf5 100%);
  text-align: center;
}
#hero h1 { font-size: 3.25rem; margin-bottom: 0.75rem; }
#hero .tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 1.2rem;
  color: #2d4a7a; margin-bottom: 1.25rem; font-weight: 400;
}
#hero .subtitle {
  font-size: 1rem; color: #5a6a7e;
  max-width: 650px; margin: 0 auto 2.5rem; line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: #2d4a7a; color: #fff;
  padding: 0.8rem 2.25rem;
  font-family: 'Lato', sans-serif; font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; cursor: pointer; transition: all 0.2s;
  border: none; border-radius: 3px;
}
.hero-cta:hover { background: #1a3355; color: #fff; }

.hero-cta--outline {
  background: transparent;
  color: #2d4a7a;
  border: 2px solid #2d4a7a;
  margin-left: 0.75rem;
}
.hero-cta--outline:hover { background: #2d4a7a; color: #fff; }

@media (max-width: 768px) {
  #hero { padding: 8rem 1.5rem 3.5rem; }
  #hero h1 { font-size: 2.2rem; }
  #hero .tagline { font-size: 1.05rem; }
  .hero-cta--outline { margin-left: 0; margin-top: 0.75rem; display: inline-block; }
}

/* About */
#about { background: #fff; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.about-grid p { font-size: 0.95rem; color: #4a5a6e; }

.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.stat-card {
  background: #f5f7fa;
  padding: 1.25rem;
  border-radius: 4px;
}
.stat-card .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 900; color: #2d4a7a;
  display: block; margin-bottom: 0.25rem;
}
.stat-card .label {
  font-size: 0.85rem; color: #5a6a7e; line-height: 1.4;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Research */
#research { background: #f5f7fa; }

.research-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem;
}
.research-card {
  background: #fff;
  border: 1px solid rgba(45, 74, 122, 0.06);
  border-radius: 4px;
  padding: 2rem;
}
.research-card h4 {
  color: #2d4a7a; margin-bottom: 0.75rem;
  font-family: 'Lato', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem;
}
.research-card p {
  font-size: 0.9rem; color: #4a5a6e; margin-bottom: 0;
}

@media (max-width: 768px) {
  .research-grid { grid-template-columns: 1fr; }
}

/* Hypothesis */
#hypothesis { background: #fff; }

.hypothesis-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
}

.hypothesis-layout p {
  font-size: 0.95rem; color: #4a5a6e;
}

.callout {
  background: #f5f7fa;
  border-left: 3px solid #2d4a7a;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.callout p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 0.95rem; color: #1a2332;
  margin-bottom: 0;
}
.callout cite {
  display: block; margin-top: 0.75rem;
  font-size: 0.8rem; font-style: normal;
  font-family: 'Lato', sans-serif; color: #7a8a9e;
}

.timeline-compact { list-style: none; padding: 0; }
.timeline-compact li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(45, 74, 122, 0.05);
}
.timeline-compact li:last-child { border-bottom: none; }
.timeline-compact .year {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; color: #2d4a7a;
  font-size: 0.9rem; min-width: 50px; white-space: nowrap;
}
.timeline-compact .desc { font-size: 0.9rem; color: #5a6a7e; }

.hypothesis-layout h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #1a2332;
}

@media (max-width: 768px) {
  .hypothesis-layout { grid-template-columns: 1fr; }
}

/* Pledge */
#pledge {
  background: linear-gradient(135deg, #f0f3f8 0%, #e6ecf5 100%);
}

.pledge-intro {
  max-width: 700px; margin: 0 auto 3rem;
  text-align: center; font-size: 0.95rem; color: #5a6a7e;
}

.pledge-steps {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem;
  max-width: 900px; margin: 0 auto;
}
.pledge-step {
  background: #fff;
  border: 1px solid rgba(45, 74, 122, 0.06);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  text-align: center;
}
.pledge-step .step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; font-weight: 900; color: #2d4a7a;
  line-height: 1; margin-bottom: 0.75rem;
}
.pledge-step h4 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.pledge-step p { font-size: 0.85rem; color: #5a6a7e; line-height: 1.6; margin-bottom: 0; }

.pledge-cta-wrap { text-align: center; margin-top: 2.5rem; }
.pledge-btn {
  display: inline-block;
  background: #2d4a7a; color: #fff;
  padding: 0.8rem 2.5rem;
  font-family: 'Lato', sans-serif; font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; cursor: pointer; transition: all 0.2s;
  border: none; border-radius: 3px;
}
.pledge-btn:hover { background: #1a3355; }

@media (max-width: 768px) {
  .pledge-steps { grid-template-columns: 1fr; }
}

/* Community */
#community { background: #fff; }

.community-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem;
}
.community-card {
  background: #f5f7fa;
  border: 1px solid rgba(45, 74, 122, 0.06);
  border-radius: 4px;
  padding: 2rem; text-align: center;
}
.community-card .icon {
  font-size: 1.5rem; margin-bottom: 0.75rem; color: #2d4a7a;
}
.community-card h4 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.community-card p { font-size: 0.85rem; color: #5a6a7e; line-height: 1.6; margin-bottom: 1.25rem; }
.community-card .btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #2d4a7a; color: #2d4a7a;
  padding: 0.5rem 1.25rem;
  font-family: 'Lato', sans-serif; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; cursor: pointer; transition: all 0.2s;
  border-radius: 3px;
}
.community-card .btn:hover { background: #2d4a7a; color: #fff; }

@media (max-width: 768px) {
  .community-grid { grid-template-columns: 1fr; }
}

/* People */
#people { background: #f5f7fa; }

.people-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem;
}
.person-card {
  text-align: center; padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(45, 74, 122, 0.06);
  border-radius: 4px;
}
.person-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e8edf5;
  border: 2px solid rgba(45, 74, 122, 0.15);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem; color: #2d4a7a;
}
.person-card h4 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.person-card .role {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #7a8a9e; font-weight: 600;
  margin-bottom: 0.75rem; font-family: 'Lato', sans-serif;
}
.person-card .bio {
  font-size: 0.85rem; color: #5a6a7e;
  line-height: 1.6; margin-bottom: 0;
}

@media (max-width: 768px) {
  .people-grid { grid-template-columns: 1fr; }
}

/* Offerings */
#offerings { background: #fff; }

.offerings-intro {
  text-align: center; max-width: 650px;
  margin: 0 auto 2.5rem; font-size: 0.95rem; color: #5a6a7e;
}

.offerings-options {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; max-width: 700px; margin: 0 auto;
}
.offerings-card {
  background: #f5f7fa;
  border: 1px solid rgba(45, 74, 122, 0.06);
  border-radius: 4px;
  padding: 1.75rem; text-align: center;
}
.offerings-card h4 { margin-bottom: 0.75rem; font-size: 0.95rem; }
.offerings-card .address {
  font-family: 'Courier New', monospace; font-size: 0.75rem;
  color: #7a8a9e; word-break: break-all;
  background: #fff; padding: 0.75rem;
  border-radius: 3px; margin-bottom: 0.75rem;
  line-height: 1.5; border: 1px solid rgba(45, 74, 122, 0.08);
}
.offerings-card .note {
  font-size: 0.7rem; color: #999;
  font-style: italic; margin-bottom: 0;
}
.offerings-methods { margin-top: 2.5rem; text-align: center; }
.offerings-methods p { font-size: 0.85rem; color: #888; }
.offerings-methods a { color: #2d4a7a; }

@media (max-width: 768px) {
  .offerings-options { grid-template-columns: 1fr; }
}

/* Footer */
footer {
  background: #1a2332;
  padding: 2.5rem 2rem;
  color: #7a8a9e;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.footer-inner .logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem; font-weight: 700;
  color: #a0b0c4; margin-bottom: 1.25rem;
}
.footer-inner .links {
  display: flex; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}
.footer-inner .links a {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #6a7a8e;
}
.footer-inner .links a:hover { color: #a0b0c4; }
.footer-inner .info { font-size: 0.75rem; color: #5a6a7e; line-height: 1.8; }

/* Utility */
.fade-in {
  opacity: 0; transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 38px; height: 38px;
  background: #fff;
  border: 1px solid rgba(45, 74, 122, 0.15);
  color: #2d4a7a; font-size: 1rem;
  cursor: pointer; display: none;
  align-items: center; justify-content: center;
  transition: all 0.2s; z-index: 99; border-radius: 4px;
}
.scroll-top:hover { background: #f0f3f8; }
.scroll-top.visible { display: flex; }

/* Funds Grid (What Your Support Funds) */
.funds-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.funds-card {
  background: #f5f7fa;
  border: 1px solid rgba(45, 74, 122, 0.06);
  border-radius: 4px;
  padding: 1.75rem;
}
.funds-card h4 {
  margin-bottom: 0.75rem; font-size: 1rem;
  color: #2d4a7a;
}
.funds-card p {
  font-size: 0.88rem; color: #5a6a7e; line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .funds-grid { grid-template-columns: 1fr; }
}

/* Tiers Grid */
.tiers-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem;
}
.tier-card {
  background: #fff;
  border: 1px solid rgba(45, 74, 122, 0.08);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  text-align: center;
}
.tier-card--featured {
  border-color: #2d4a7a;
  background: #fff;
  box-shadow: 0 2px 12px rgba(45, 74, 122, 0.08);
  transform: scale(1.02);
}
.tier-icon {
  font-size: 1.25rem; color: #2d4a7a;
  margin-bottom: 0.75rem; letter-spacing: 0.15em;
}
.tier-card h4 {
  margin-bottom: 0.75rem; font-size: 1.05rem;
}
.tier-card p {
  font-size: 0.85rem; color: #5a6a7e; line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .tier-card--featured { transform: none; }
}

/* Transparency Grid */
.transparency-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 800px; margin: 0 auto;
}
.transparency-card {
  background: #f5f7fa;
  border-left: 3px solid #2d4a7a;
  border-radius: 3px;
  padding: 1.25rem 1.5rem;
}
.transparency-card p {
  font-size: 0.88rem; color: #4a5a6e; line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .transparency-grid { grid-template-columns: 1fr; }
}

/* Support icons visual */
.support-icons-visual object {
  pointer-events: none;
}
