/* ---------- Design tokens ---------- */
:root {
  --red: #8f1b20;
  --red-dark: #691317;
  --gold: #f3d747;
  --gold-deep: #8a6d10;
  --teal: #4b93ae;
  --ink: #123149;
  --cream: #f5eadf;
  --white: #ffffff;
  --border: rgba(18, 49, 73, 0.12);
  --shadow: 0 12px 30px rgba(18, 49, 73, 0.14);
  --radius: 14px;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.2em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn-large { padding: 18px 36px; font-size: 1.1rem; }

/* ---------- Kickers ---------- */
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75em;
}
.kicker-dark { color: var(--red); }
.kicker-gold { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 234, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; }
.brand-text small { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; opacity: 0.85; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.85;
}
.site-nav a:not(.btn):hover { opacity: 1; text-decoration: underline; }

@media (max-width: 780px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 360px;
}
.hero-panel {
  background: var(--red);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(24px, 5vw, 64px);
}
.hero-kicker {
  color: var(--cream);
  opacity: 0.9;
  text-transform: capitalize;
}
.hero-title {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin: 0;
}
.hero-title-line {
  display: block;
}
.hero-title-lead {
  font-weight: 500;
}
.hero-title-emphasis {
  font-weight: 700;
  font-size: 1.4em;
}
.hero-title-tail {
  font-weight: 700;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  max-width: 46ch;
  margin: 0.9em 0 0;
  opacity: 0.9;
}
.hero-photo { min-height: 260px; }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-intro { background: var(--cream); }
.hero-intro-inner { padding: 40px 24px; }
.hero-lede {
  font-size: 1.1rem;
  max-width: 68ch;
  margin: 0 0 1.2em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 780px) {
  .hero-band { grid-template-columns: 1fr; }
  .hero-photo { min-height: 220px; }
  .hero-panel { padding: 40px 24px; text-align: left; }
}

/* ---------- Founding donors ---------- */
.section-donors { background: var(--white); text-align: center; }
.donors-inner { max-width: 640px; margin: 0 auto; }
.donors-inner h2 { max-width: none; }
.donors-copy { font-size: 1.05rem; max-width: 60ch; margin: 0 auto; }
.donors-copy a { color: var(--red); font-weight: 600; }
.donors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em 1.6em;
  margin: 1.8em 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Campaign band ---------- */
.campaign-band {
  background: var(--red);
  color: var(--white);
  padding: 40px 0;
}
.campaign-band-inner { text-align: center; }
.campaign-kicker { color: var(--cream); opacity: 0.9; }
.campaign-goal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.campaign-amount {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
}
.campaign-note { max-width: 60ch; margin: 0 auto; opacity: 0.92; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 26ch;
  margin-bottom: 0.9em;
}
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark h2 { color: var(--white); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2em 0;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  margin-bottom: 16px;
}
.icon-badge svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
.feature-card p { margin: 0 0 1em; }
.feature-card p:last-child { margin-bottom: 0; }

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

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 2.5em 0;
  text-align: center;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
}
.stat-num {
  display: block;
  font-family: var(--sans);
  font-size: 2.4rem;
  color: var(--red);
  font-weight: 800;
}
.stat-label { font-size: 0.92rem; opacity: 0.85; }

@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr; }
}

.pull-quote {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.35rem;
  text-align: center;
  max-width: 42ch;
  margin: 1.5em auto 0;
  color: var(--ink);
}

.endowment-copy { max-width: 68ch; font-size: 1.05rem; }
.endowment-copy p:last-child { margin-bottom: 0; }

/* ---------- Donor tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2em;
}
.tier-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border-top: 6px solid var(--border);
  box-shadow: var(--shadow);
}
.tier-card ul { margin-top: 1em; }
.tier-card li { margin-bottom: 0.5em; }
.tier-name {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.2em;
}
.tier-amount {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6em;
}
.tier-gold { border-top-color: var(--gold); }
.tier-gold .tier-amount { color: var(--gold-deep); }
.tier-silver { border-top-color: #b9bcc2; }
.tier-silver .tier-amount { color: #6b6f78; }
.tier-bronze { border-top-color: #c98a53; }
.tier-bronze .tier-amount { color: #a8632e; }

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

/* ---------- How to give ---------- */
.section-give {
  background: var(--white);
  text-align: center;
}
.give-inner { max-width: 640px; margin: 0 auto; }
.hands-mark { width: 90px; height: auto; margin: 0 auto 8px; opacity: 0.85; }
.give-copy { font-size: 1.05rem; max-width: 52ch; margin-left: auto; margin-right: auto; }
.give-copy a { color: var(--red); font-weight: 600; }
.give-fine { font-size: 0.88rem; opacity: 0.7; margin-top: 1.5em; }

/* ---------- Contact form ---------- */
.contact-form { text-align: left; margin-top: 1.5em; }
.contact-form .botcheck-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--ink);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.contact-form .btn { width: 100%; text-align: center; }
.form-status { margin-top: 1em; font-weight: 600; min-height: 1.2em; }
.form-status-success { color: #2f7a3d; }
.form-status-error { color: var(--red); }

.contact-thanks {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
}
.contact-thanks h3 { font-family: var(--sans); font-weight: 800; color: var(--ink); margin: 0 0 0.4em; }
.contact-thanks p { margin: 0; opacity: 0.85; }

@media (max-width: 600px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 0.88rem;
}
.footer-mark { width: 300px; max-width: 80vw; height: auto; margin-bottom: 6px; filter: brightness(0) invert(1); }
.footer-inner p { margin: 0; opacity: 0.85; max-width: 60ch; }
.footer-inner a { text-decoration: underline; }
