:root {
  --bg: #f5efe5;
  --bg-warm: #fbf6ee;
  --panel: rgba(255, 252, 247, 0.9);
  --panel-strong: rgba(255, 252, 247, 0.96);
  --ink: #1f2430;
  --muted: #666e7c;
  --line: rgba(111, 90, 60, 0.16);
  --gold: #bf6f1b;
  --gold-deep: #9d5712;
  --gold-soft: #f1b35d;
  --teal: #197f7a;
  --navy: #101726;
  --navy-soft: #1a2842;
  --shadow: rgba(16, 24, 38, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(191, 111, 27, 0.16), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(25, 127, 122, 0.12), transparent 20rem),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 238, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(111, 90, 60, 0.1);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(145deg, var(--navy) 0%, #243654 42%, var(--gold) 100%);
  box-shadow: 0 14px 34px rgba(16, 23, 38, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: Arial, sans-serif;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--navy);
  background: rgba(16, 23, 38, 0.05);
}

.nav-links .nav-cta {
  padding: 11px 16px;
  color: white;
  background: linear-gradient(135deg, var(--navy) 0%, #243654 58%, var(--gold) 100%);
  border: 1px solid rgba(16, 23, 38, 0.08);
  box-shadow: 0 14px 32px rgba(16, 23, 38, 0.18), 0 8px 18px rgba(191, 111, 27, 0.18);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.is-active {
  color: white;
  background: linear-gradient(135deg, #0f1930 0%, #2b4470 62%, #d2862c 100%);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(16, 23, 38, 0.24), 0 10px 22px rgba(191, 111, 27, 0.24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font: 700 0.96rem Arial, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--gold) 0%, #db8427 100%);
  box-shadow: 0 16px 40px rgba(191, 111, 27, 0.26);
}

.btn-primary:hover { background: linear-gradient(135deg, var(--gold-deep) 0%, #cf771e 100%); }

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 23, 38, 0.08);
}

.btn-dark {
  color: white;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  box-shadow: 0 16px 40px rgba(16, 23, 38, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font: 700 0.8rem Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.7rem, 5.8vw, 5.2rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.32rem;
  color: var(--navy);
}

p, li {
  font-family: Arial, sans-serif;
  color: var(--muted);
  line-height: 1.8;
}

.page-hero,
.hero-grid > *,
.card,
.quote-panel,
.feature-panel,
.cta-box,
.support-band {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px var(--shadow);
}

.page-hero {
  margin-top: 28px;
  border-radius: var(--radius-xl);
  padding: 34px;
}

.section {
  padding: 28px 0 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-head p {
  margin: 14px 0 0;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.cta-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hero-main,
.hero-side,
.card,
.feature-panel,
.quote-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.hero-main {
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 127, 122, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  max-width: 43rem;
}

.hero-actions,
.button-row,
.tag-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions { margin-top: 24px; }

.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(16, 23, 38, 0.06);
}

.mini-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.02rem;
}

.mini-stat span {
  display: block;
  font-size: 0.93rem;
}

.hero-side {
  background: linear-gradient(180deg, rgba(16, 23, 38, 0.98), rgba(25, 40, 66, 0.96));
  color: white;
  border-color: rgba(133, 160, 214, 0.18);
}

.hero-side h2,
.support-band h2,
.cta-box h2 {
  color: white;
}

.hero-side p,
.hero-side li,
.support-band p,
.support-band li,
.cta-box p {
  color: #c5d2ee;
}

.clean-list,
.funding-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.clean-list li,
.funding-list li {
  position: relative;
  padding-left: 18px;
}

.clean-list li::before,
.funding-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), #f8dfb2);
}

.metric {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(16, 23, 38, 0.05);
  font: 700 0.84rem Arial, sans-serif;
  color: #4d5563;
}

.quote-panel {
  background: linear-gradient(145deg, rgba(16, 23, 38, 0.98), rgba(24, 37, 61, 0.96));
  border-color: rgba(255, 255, 255, 0.06);
}

.quote-panel blockquote {
  margin: 0;
  color: white;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.quote-panel p {
  margin: 12px 0 0;
  color: #c7d3ed;
}

.support-band {
  margin: 28px 0 0;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 23, 38, 0.98), rgba(22, 36, 59, 0.96));
}

.cta-box {
  margin: 28px 0 56px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 248, 236, 0.96), rgba(255, 255, 255, 0.92));
}

.cta-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.donation-options {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.donation-option {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(16, 23, 38, 0.08);
}

.donation-option strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

.utility-note {
  margin-top: 14px;
  font-size: 0.92rem;
}

.footer-box {
  border-top: 1px solid rgba(111, 90, 60, 0.16);
  padding: 24px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.footer-box p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-4,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .hero-main,
  .hero-side,
  .card,
  .feature-panel,
  .quote-panel,
  .support-band,
  .cta-box {
    padding: 22px;
  }

  .footer-box {
    flex-direction: column;
  }
}
