:root {
  --cream: #faf6f0;
  --white: #ffffff;
  --ink: #17100f;
  --maroon: #881934;
  --gold: #c8a45f;
  --gold-light: #e8c982;
  --body: #453c37;
  --muted: #5c534e;
  --faint: #8a7d75;
  font-family: "acumin-pro", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--cream); }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 300;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--cream);
  background: var(--maroon);
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid var(--maroon); outline-offset: 4px; }
.giving-section :focus-visible, footer :focus-visible, .hero :focus-visible, .vision :focus-visible { outline-color: var(--gold-light); }

.container { width: 100%; max-width: 1368px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 64px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 13px clamp(20px, 4vw, 64px);
  background: rgba(250, 246, 240, 0.93);
  border-bottom: 1px solid rgba(23, 16, 15, 0.09);
  backdrop-filter: blur(14px);
}
.brand, .header-actions, .header-actions nav { display: flex; align-items: center; }
.brand { gap: 16px; min-width: 0; }
.brand img { width: auto; height: 50px; }
.brand span { padding-left: 16px; border-left: 1px solid rgba(23, 16, 15, 0.15); color: var(--maroon); font-family: "freight-big-pro", serif; font-size: 16px; font-style: italic; white-space: nowrap; }
.header-actions { gap: clamp(16px, 2.2vw, 34px); }
.header-actions nav { gap: clamp(14px, 2vw, 30px); }
.header-actions nav a { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.15s; }
.header-actions nav a:hover { color: var(--maroon); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 17px 39px;
  border: 1px solid var(--maroon);
  border-radius: 2px;
  color: var(--cream);
  background: var(--maroon);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
.button:hover { border-color: var(--ink); background: var(--ink); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 44px; padding: 11px 23px; }
.button-outline { border-color: rgba(250, 246, 240, 0.35); background: transparent; }
.button-outline:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }

.eyebrow { margin: 0 0 24px; color: var(--maroon); font-size: 11px; font-weight: 400; letter-spacing: 0.34em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-gold { color: var(--gold); }
.eyebrow span { margin-inline: 0.35em; }

.hero { position: relative; display: flex; align-items: flex-end; min-height: min(90dvh, 860px); color: var(--cream); overflow: hidden; background: var(--ink); }
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; opacity: 0.55; }
.hero-scrim { background: linear-gradient(to top, rgba(23,16,15,0.94) 0%, rgba(23,16,15,0.62) 45%, rgba(23,16,15,0.3) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: clamp(60px, 10vh, 140px); padding-bottom: clamp(48px, 7vh, 90px); }
.hero .eyebrow { margin-bottom: 26px; letter-spacing: 0.4em; }
.hero h1 { max-width: 16em; margin: 0; font-family: "freight-big-pro", serif; font-size: clamp(46px, 7.4vw, 108px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.hero h1 em { display: inline-block; padding-bottom: 0.08em; color: var(--gold-light); font-weight: 400; line-height: 1.1; }
.hero-copy { max-width: 40em; margin: 28px 0 30px; color: rgba(250,246,240,0.82); font-size: clamp(16px, 1.55vw, 21px); font-weight: 400; line-height: 1.6; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }

.progress-section { padding: clamp(44px, 6vw, 76px) 0; color: var(--cream); background: var(--ink); border-top: 1px solid rgba(232,201,130,0.18); }
.progress-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.progress-heading .eyebrow { margin-bottom: 14px; }
.raised { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.raised strong { font-family: "freight-big-pro", serif; font-size: clamp(44px, 6vw, 86px); font-weight: 400; line-height: 0.95; }
.raised span { color: rgba(250,246,240,0.6); font-size: clamp(14px, 1.3vw, 18px); font-weight: 400; }
.percentage { display: grid; flex: none; text-align: right; }
.percentage strong { color: var(--gold-light); font-family: "freight-big-pro", serif; font-size: clamp(38px, 5vw, 66px); font-weight: 400; line-height: 1; }
.percentage span, .stats-grid span { margin-top: 8px; color: rgba(250,246,240,0.55); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.progress-track { height: 12px; overflow: hidden; border-radius: 99px; background: rgba(250,246,240,0.12); }
.progress-fill { width: var(--progress); height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--maroon), var(--gold)); animation: fillbar 1.6s cubic-bezier(.22,1,.36,1); }
@keyframes fillbar { from { width: 0; } }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; background: rgba(250,246,240,0.14); }
.stats-grid > div { display: grid; padding: 22px 26px; background: var(--ink); }
.stats-grid strong { font-family: "freight-big-pro", serif; font-size: 30px; font-weight: 400; }
/* When the campaign totals cannot be fetched, hide the raised figure, the
   percentage and the bar rather than display a stale number. The fixed
   facts (address, opening date, locally funded) still stand on their own. */
.progress-unavailable .progress-heading,
.progress-unavailable .progress-track,
.progress-unavailable .stats-grid > div:first-child { display: none; }
.progress-unavailable .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }

.locally-funded { max-width: 52em; margin: clamp(34px, 4vw, 54px) 0 0; color: rgba(250,246,240,0.68); font-size: clamp(15px, 1.2vw, 18px); font-weight: 400; line-height: 1.72; }
.locally-funded strong { display: block; margin-bottom: 9px; color: var(--gold-light); font-family: "freight-big-pro", serif; font-size: clamp(24px, 2.5vw, 36px); font-style: italic; font-weight: 400; letter-spacing: -0.01em; line-height: 1.18; }

.section-light { padding: clamp(70px, 8vw, 120px) 0; background: var(--cream); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.story-copy h2, .section-intro h2, .giving-summary h2, .donate-section h2 { margin: 0 0 25px; font-family: "freight-big-pro", serif; font-size: clamp(34px, 4.4vw, 62px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.06; }
.story-copy > p:not(.eyebrow), .section-intro > p:not(.eyebrow), .donate-section > .container > div > p:not(.eyebrow) { color: var(--body); font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; line-height: 1.72; }
.story-copy > p + p { margin-top: 18px; }
.attribution { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding-top: 26px; border-top: 1px solid rgba(23,16,15,0.12); }
.attribution img { width: 70px; height: 70px; object-fit: cover; border-radius: 99px; }
.attribution div { display: grid; }
.attribution strong { font-family: "freight-big-pro", serif; font-size: 22px; font-weight: 400; }
.attribution span { margin-top: 5px; color: var(--faint); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.story-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-images img { width: 100%; height: 190px; object-fit: cover; border-radius: 2px; }
.story-images .story-wide { grid-column: 1 / -1; height: 250px; }

.quote-band { padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 64px); color: var(--cream); background: var(--maroon); }
.quote-inner { max-width: 900px; margin: auto; text-align: center; }
.quote-inner blockquote { margin: 0 0 30px; font-family: "freight-big-pro", serif; font-size: clamp(25px, 3.2vw, 42px); font-style: italic; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }
.quote-inner cite { color: rgba(250,246,240,0.72); font-size: 12px; font-style: normal; letter-spacing: 0.24em; text-transform: uppercase; }

.vision { color: var(--cream); background: var(--ink); }
.vision-banner { position: relative; display: flex; align-items: flex-end; min-height: min(62dvh, 540px); overflow: hidden; }
.vision-banner > img, .vision-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.vision-banner > img { object-fit: cover; opacity: 0.7; }
.vision-scrim { background: linear-gradient(to top, rgba(23,16,15,0.95) 0%, rgba(23,16,15,0.35) 62%, rgba(23,16,15,0.12) 100%); }
.vision-title { position: relative; z-index: 1; padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(50px, 7vw, 90px); }
.vision-title h2 { max-width: 18em; margin: 0; font-family: "freight-big-pro", serif; font-size: clamp(36px, 5.4vw, 80px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.03; }
.vision-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); }
.vision-details > div > p { margin: 0 0 30px; color: rgba(250,246,240,0.82); font-size: clamp(17px, 1.4vw, 21px); font-weight: 400; line-height: 1.68; }
.vision-details > div > strong { color: var(--gold-light); font-family: "freight-big-pro", serif; font-size: clamp(22px, 2.4vw, 32px); font-style: italic; font-weight: 400; line-height: 1.35; }
.space-list { display: grid; align-content: start; gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(250,246,240,0.16); }
.space-list li { padding: 19px 26px; background: var(--ink); font-size: 17px; font-weight: 400; }

.section-intro { max-width: 720px; margin-bottom: clamp(36px, 4vw, 60px); }
.section-intro > p:not(.eyebrow) { margin-bottom: 0; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 34px); }
.impact-card img { width: 100%; height: 230px; object-fit: cover; border-radius: 2px; }
.impact-card h3 { margin: 20px 0 9px; font-family: "freight-big-pro", serif; font-size: 27px; font-weight: 400; line-height: 1.2; }
.impact-card p { margin: 0; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.66; }

.video-section { padding: clamp(64px, 8vw, 110px) 0; color: var(--cream); background: var(--ink); }
.video-inner { max-width: 1228px; }
.video-inner h2 { margin: 0 0 30px; font-family: "freight-big-pro", serif; font-size: clamp(32px, 4.2vw, 56px); font-weight: 400; }
.video-inner iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(250,246,240,0.16); border-radius: 2px; background: rgba(250,246,240,0.06); }

.giving-section { padding: clamp(70px, 8vw, 120px) 0; color: var(--cream); background: var(--ink); }
.giving-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; margin-bottom: clamp(48px, 5vw, 72px); }
.giving-summary > div > p:not(.eyebrow) { color: rgba(250,246,240,0.72); font-size: clamp(16px, 1.35vw, 20px); font-weight: 400; line-height: 1.68; }
.financials { display: grid; gap: 1px; margin: 0; background: rgba(250,246,240,0.16); }
.financials > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 16px 24px; background: var(--ink); }
.financials dt { font-weight: 400; }
.financials dd { margin: 0; font-family: "freight-big-pro", serif; font-size: 20px; white-space: nowrap; }
.financials .financial-highlight { color: var(--gold-light); }
.dedication-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 3vw, 44px); }
.dedication-group h3 { margin: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(232,201,130,0.35); color: var(--gold-light); font-family: "freight-big-pro", serif; font-size: 25px; font-style: italic; font-weight: 400; }
.dedication-group button { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(250,246,240,0.12); color: var(--cream); background: none; text-align: left; }
.dedication-group button { cursor: pointer; transition: color 0.15s; }
.dedication-group button:hover { color: var(--gold-light); }
.dedication-group button span { font-weight: 400; }
.dedication-group button strong { font-family: "freight-big-pro", serif; font-size: 19px; font-weight: 400; white-space: nowrap; }
.dedication-premier { display: grid; gap: 5px; margin: 18px 0 6px; padding: 18px 20px; border: 1px solid rgba(232,201,130,0.45); border-radius: 2px; background: rgba(232,201,130,0.07); }
.dedication-premier span { font-family: "freight-big-pro", serif; font-size: 24px; font-weight: 400; line-height: 1.15; }
.dedication-premier strong { color: var(--gold); font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }
.dedication-premier small { color: rgba(250,246,240,0.5); font-size: 13px; font-weight: 400; line-height: 1.5; }
.recognition { margin-top: clamp(46px, 5vw, 72px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid rgba(250,246,240,0.16); }
.recognition-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; }
.recognition-heading > p:last-child, .recognition-note { color: rgba(250,246,240,0.55); font-size: 15px; font-weight: 400; }
.recognition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(250,246,240,0.14); }
.recognition-grid button { display: grid; gap: 6px; padding: 22px 22px; border: 0; color: var(--cream); background: var(--ink); text-align: left; cursor: pointer; transition: background 0.15s; }
.recognition-grid button:hover { background: #20161a; }
.recognition-grid strong { font-family: "freight-big-pro", serif; font-size: 22px; font-weight: 400; }
.recognition-grid span { color: rgba(250,246,240,0.6); font-size: 14px; font-weight: 400; }
.recognition-note { margin: 26px 0 0; }

.committee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); max-width: 720px; margin: clamp(28px, 3vw, 40px) 0 0; }
.committee-grid h3 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(23,16,15,0.14); color: var(--maroon); font-family: "acumin-pro", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.committee-grid ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.committee-grid li { font-family: "freight-big-pro", serif; font-size: clamp(19px, 1.7vw, 23px); font-weight: 400; line-height: 1.3; }
.committee-note { margin: clamp(46px, 5.5vw, 72px) 0 clamp(6px, 1vw, 14px); color: var(--faint); font-size: 14px; font-weight: 400; }

.donors-section { padding: clamp(70px, 8vw, 110px) 0; color: var(--cream); background: var(--ink); border-top: 1px solid rgba(232,201,130,0.18); }
.donors-heading { max-width: 720px; margin-bottom: clamp(38px, 4vw, 58px); }
.donors-heading h2 { margin: 0; font-family: "freight-big-pro", serif; font-size: clamp(32px, 4vw, 56px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.06; }
.donors-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px); }
.donor-tier h3 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(232,201,130,0.35); color: var(--gold-light); font-family: "freight-big-pro", serif; font-size: 23px; font-style: italic; font-weight: 400; }
.donor-tier ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.donor-tier li { font-family: "freight-big-pro", serif; font-size: 19px; font-weight: 400; line-height: 1.25; }
.donor-tier li span { display: block; margin-top: 3px; color: rgba(250,246,240,0.5); font-family: "acumin-pro", sans-serif; font-size: 12px; letter-spacing: 0.06em; }
.donors-note { margin: clamp(38px, 4vw, 56px) 0 0; color: rgba(250,246,240,0.45); font-size: 14px; font-weight: 400; }

/* ---- RSVP page (future.html) ---- */
.invite-section { padding: clamp(46px, 6vw, 88px) 0 clamp(30px, 4vw, 56px); color: var(--cream); background: var(--ink); }
.invite-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 76px); align-items: center; }
.invite-card img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.invite-copy h1 { max-width: 12em; margin: 0; font-family: "freight-big-pro", serif; font-size: clamp(38px, 5vw, 72px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; }
.invite-copy h1 em { color: var(--gold-light); font-weight: 400; }
.invite-lede { max-width: 30em; margin: 24px 0 0; color: rgba(250,246,240,0.8); font-size: clamp(16px, 1.35vw, 20px); font-weight: 400; line-height: 1.66; }
.invite-facts { display: grid; gap: 1px; margin: clamp(28px, 3vw, 40px) 0 0; background: rgba(250,246,240,0.16); }
.invite-facts > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 18px; padding: 15px 22px; background: var(--ink); }
.invite-facts dt { color: rgba(250,246,240,0.5); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.9; }
.invite-facts dd { margin: 0; font-family: "freight-big-pro", serif; font-size: 19px; line-height: 1.45; }
.invite-copy .button { margin-top: clamp(28px, 3vw, 40px); }

.rsvp-section { padding: clamp(56px, 7vw, 100px) 0 clamp(64px, 8vw, 110px); background: var(--cream); }
.rsvp-inner { max-width: 860px; }
.rsvp-heading { margin-bottom: clamp(28px, 3vw, 44px); }
.rsvp-heading h2 { margin: 0; font-family: "freight-big-pro", serif; font-size: clamp(30px, 3.6vw, 50px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; }
.rsvp-form { padding: clamp(24px, 3vw, 38px) clamp(20px, 3vw, 40px); border: 1px solid rgba(23,16,15,0.12); border-radius: 3px; background: var(--white); }

.donate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 4vw, 64px); align-items: center; }
.donate-grid > div > p:not(.eyebrow) { max-width: 34em; margin-bottom: 28px; color: var(--body); font-size: clamp(16px, 1.35vw, 19px); font-weight: 400; line-height: 1.68; }
.contact-card { display: grid; gap: 14px; padding: clamp(26px, 3vw, 40px); border: 1px solid rgba(23,16,15,0.1); border-radius: 2px; background: var(--white); }
.contact-card h3 { margin: 0; font-family: "freight-big-pro", serif; font-size: 26px; font-weight: 400; }
.contact-card p { margin: 0 0 4px; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.7; }
.contact-card a { width: fit-content; color: var(--maroon); text-decoration: underline; text-decoration-color: rgba(136,25,52,0.35); text-underline-offset: 3px; }
.contact-card small { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(23,16,15,0.1); color: var(--faint); font-size: 14px; }

.committee-section { padding: clamp(54px, 6vw, 90px) 0; background: var(--white); }
.committee-section h2 { margin: 0 0 18px; font-family: "freight-big-pro", serif; font-family: "freight-big-pro", serif; font-size: clamp(28px, 3.4vw, 46px); font-weight: 400; line-height: 1.1; }


footer { padding: clamp(44px, 5vw, 70px) 0; color: rgba(250,246,240,0.6); background: var(--ink); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px 60px; }
.footer-contact { display: grid; font-size: 15px; font-weight: 400; line-height: 1.8; }
.footer-contact img { width: auto; height: 38px; margin-bottom: 16px; }
.footer-contact a:first-of-type { color: var(--gold-light); }
.footer-contact a:hover { color: var(--cream); }
.footer-top > p { max-width: 16em; margin: 0; color: rgba(250,246,240,0.85); font-family: "freight-big-pro", serif; font-size: clamp(22px, 2.4vw, 32px); font-style: italic; text-align: right; }
.footer-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(250,246,240,0.3); transition: color 0.15s, border-color 0.15s; }
.footer-credit a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; margin-top: clamp(34px, 4vw, 52px); padding-top: 22px; border-top: 1px solid rgba(250,246,240,0.14); color: rgba(250,246,240,0.45); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.modal-backdrop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: clamp(12px, 3vw, 48px); overflow-y: auto; background: rgba(23,16,15,0.72); backdrop-filter: blur(4px); }
.modal-panel { display: flex; width: 100%; max-width: 1000px; height: calc(100dvh - 2 * clamp(12px, 3vw, 48px)); flex-direction: column; overflow: hidden; border-radius: 3px; background: var(--cream); box-shadow: 0 40px 90px rgba(0,0,0,0.45); }
.modal-header { position: sticky; top: 0; z-index: 2; display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 24px; padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 44px) 0; background: var(--cream); }
.modal-header h2 { margin: 0; font-family: "freight-big-pro", serif; font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.15; }
.modal-header p { margin: 6px 0 0; color: var(--faint); font-size: 14px; font-weight: 400; }
.modal-close { display: grid; flex: none; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(23,16,15,0.18); border-radius: 99px; color: var(--muted); background: transparent; line-height: 0; cursor: pointer; transition: color 0.15s, background 0.15s, border-color 0.15s; }
.modal-close svg { display: block; }
.modal-close:hover { border-color: var(--ink); color: var(--cream); background: var(--ink); }
#cognito-form {
  display: flex;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 44px) clamp(28px, 4vw, 52px);
  border-top: 1px solid rgba(23,16,15,0.12);
  background: var(--cream);
}
/* Cognito's iframe.js sets a height attribute from ITS measurement of the
   content, but our injected stylesheet reflows that content taller afterwards
   and Cognito never re-measures. Combined with scrolling="no", the difference
   (roughly 585px, including the submit button) became unreachable. Pin the
   iframe to the panel instead and let its own document scroll. The !important
   is required to beat the height attribute Cognito rewrites on every resize. */
.cognito-frame {
  display: block;
  width: 100%;
  min-height: 0;
  height: 100% !important;
  flex: 1 1 auto;
  border: 0;
  background: var(--cream);
}
.cognito-loading,
.cognito-load-error {
  margin: 0;
  padding: 26px 20px;
  border: 1px solid rgba(23,16,15,0.12);
  color: var(--muted);
  background: rgba(255,255,255,0.45);
  font-size: 15px;
  text-align: center;
}
#cognito-form:empty::before {
  content: "Loading secure form...";
  display: block;
  margin: 0;
  padding: 26px 20px;
  border: 1px solid rgba(23,16,15,0.12);
  color: var(--muted);
  background: rgba(255,255,255,0.45);
  font-size: 15px;
  text-align: center;
  animation: cognito-pulse 1.4s ease-in-out infinite;
}
.cognito-loading { animation: cognito-pulse 1.4s ease-in-out infinite; }
.cognito-load-error { color: var(--maroon); border-color: rgba(136,25,52,0.35); }
@keyframes cognito-pulse { 50% { opacity: 0.58; } }

/* Cognito Forms seamless embed, scoped to campaign form 202. */
#cognito-form .cog-cognito {
  --font-family: "acumin-pro", sans-serif;
  --header__font-family: "freight-big-pro", serif;
  --label__font-family: "acumin-pro", sans-serif;
  --button-primary__font-family: "acumin-pro", sans-serif;
  --button-secondary__font-family: "acumin-pro", sans-serif;
  --border-radius: 2px;
  --input__border-radius: 2px;
  --button__border-radius: 2px;
  --toggle__border-radius: 2px;
  --gutter: 14px;
  --speed: 0.15s;
  --highlight: #881934;
  --highlight-reverse: #faf6f0;
  --negative: #881934;
  --negative-reverse: #faf6f0;
  --input__background-color: #faf6f0;
  --input__border-color: rgba(23,16,15,0.28);
  --input__border-width: 1px;
  --input__color: #17100f;
  --input__padding-h: 14px;
  --input__padding-v: 14px;
  --checkable__background-color: #faf6f0;
  --form__background-color: transparent;
  --form__margins: 0;
  color: var(--ink);
  font-family: "acumin-pro", sans-serif;
}
#cognito-form .cog-form,
#cognito-form .cog-form__container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
#cognito-form .cog-header { display: none; }
#cognito-form .cog-content { display: none; }
#cognito-form .cog-section { margin: 0 0 34px; }
#cognito-form .cog-section__heading {
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(23,16,15,0.12);
  color: var(--maroon);
  font-family: "freight-big-pro", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
#cognito-form .cog-field { margin-bottom: 16px; }
#cognito-form .cog-label {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: "acumin-pro", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 1.45;
}
#cognito-form .cog-helptext {
  margin-top: 7px;
  color: #756a64;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}
#cognito-form .el-input__inner,
#cognito-form .el-textarea__inner {
  min-height: 50px;
  border: 1px solid rgba(23,16,15,0.28);
  border-radius: 2px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: none;
  font-family: "acumin-pro", sans-serif;
  font-size: 16px;
}
#cognito-form .el-textarea__inner { min-height: 92px; resize: vertical; }
#cognito-form .el-input__inner::placeholder,
#cognito-form .el-textarea__inner::placeholder { color: #756a64; opacity: 1; }
#cognito-form .el-input__inner:focus,
#cognito-form .el-textarea__inner:focus {
  border-color: var(--maroon);
  outline: 2px solid rgba(136,25,52,0.2);
  outline-offset: 1px;
}
#cognito-form .el-radio__inner,
#cognito-form .el-checkbox__inner {
  border: 1px solid rgba(23,16,15,0.32);
  color: var(--maroon);
  background: var(--cream);
}
#cognito-form .cog-choice .el-radio,
#cognito-form .cog-choice .el-checkbox {
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(23,16,15,0.18);
  border-radius: 2px;
  color: var(--body);
  background: rgba(255,255,255,0.45);
}
#cognito-form .cog-choice .el-radio:hover,
#cognito-form .cog-choice .el-checkbox:hover { border-color: var(--maroon); color: var(--maroon); }
#cognito-form .cog-button {
  min-height: 54px;
  padding: 17px 30px;
  border: 1px solid var(--maroon);
  border-radius: 2px;
  box-shadow: none;
  font-family: "acumin-pro", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
#cognito-form .cog-button--primary { color: var(--cream); background: var(--maroon); }
#cognito-form .cog-button--primary:hover { border-color: var(--ink); background: var(--ink); }
#cognito-form .cog-button--secondary { color: var(--maroon); background: transparent; }
#cognito-form .cog-button:active { transform: translateY(1px); }
#cognito-form .cog-page__navigation { justify-content: stretch; margin-top: 28px; }
#cognito-form .cog-page__navigation .cog-button--primary { width: 100%; }
#cognito-form .cog-error-message {
  margin-top: 7px;
  padding: 9px 11px;
  border-radius: 2px;
  color: var(--cream);
  background: var(--maroon);
  font-size: 13px;
}
#cognito-form .cog-confirmation__message {
  color: var(--body);
  font-family: "freight-big-pro", serif;
  font-size: 25px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .story-grid, .vision-details, .giving-summary, .donate-grid { grid-template-columns: 1fr; }
  .invite-grid { grid-template-columns: 1fr; }
  .invite-card { max-width: 520px; }
  .donors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .committee-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); }
  .dedication-grid { grid-template-columns: repeat(2, 1fr); }
  .recognition-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { min-height: 68px; padding-block: 10px; }
  .brand img { height: 40px; }
  .brand span { padding-left: 11px; font-size: 14px; }
  .header-actions nav { display: none; }
  .button-small { min-height: 42px; padding-inline: 18px; }
  .hero { min-height: min(88dvh, 760px); }
  .hero .eyebrow { max-width: 32em; letter-spacing: 0.23em; }
  .hero h1 br { display: none; }
  .hero-copy { margin-block: 22px 26px; }
  .progress-heading { align-items: flex-start; }
  .percentage { text-align: left; }
  .stats-grid { grid-template-columns: 1fr; }
  .story-images .story-wide { height: 220px; }
  .story-images img { height: 160px; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-card:last-child { grid-column: auto; max-width: none; }
  .dedication-grid { grid-template-columns: 1fr; }
  .donors-grid { grid-template-columns: 1fr; }
  .recognition-grid { grid-template-columns: 1fr 1fr; }
  .financials > div { align-items: flex-start; }
  .invite-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { flex-direction: column; }
  .footer-top > p { text-align: left; }
  #cognito-form { padding-inline: 20px; }
}

@media (max-width: 480px) {
  .brand span { display: none; }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .progress-heading { display: grid; }
  .dedication-group button { gap: 8px; }
  .recognition-grid { grid-template-columns: 1fr; }
  .recognition-heading { display: block; }
  .financials > div { display: grid; gap: 4px; }
  .modal-backdrop { padding: 0; }
  .modal-panel { min-height: 100dvh; border-radius: 0; }
  .modal-header { padding-bottom: 18px; background: rgba(250,246,240,0.97); border-bottom: 1px solid rgba(23,16,15,0.1); backdrop-filter: blur(12px); }
  .modal-header p { max-width: 22em; }
  #cognito-form { margin-top: 0; padding: 22px 18px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .progress-fill { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--cream); backdrop-filter: none; }
  .modal-backdrop { background: rgba(23,16,15,0.9); backdrop-filter: none; }
}
