:root {
  color-scheme: light;
  --ink: #0b1020;
  --paper: #f7f8fb;
  --white: #ffffff;
  --line: #c8cedb;
  --blue: #3154f4;
  --blue-deep: #1730ad;
  --lime: #caff3f;
  --muted: #616a7c;
  --max: 1480px;
  --pad: clamp(20px, 4vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body:has(dialog[open]) { overflow: hidden; }

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--ink);
  background: rgb(247 248 251 / 94%);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 24px;
  letter-spacing: -.04em;
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }

.site-nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

.site-nav .nav-donate {
  padding: 10px 16px;
  background: var(--lime);
  text-decoration: none;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

main { max-width: var(--max); margin: 0 auto; border-inline: 1px solid var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
}

.hero-copy {
  display: flex;
  min-height: 700px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 108px) var(--pad);
  border-right: 1px solid var(--ink);
}

.eyebrow, .section-index {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .88;
}

h1 { max-width: 760px; font-size: clamp(66px, 8vw, 138px); text-transform: uppercase; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(52px, 7vw, 110px); }
h3 { margin: 0; font-size: clamp(25px, 2.2vw, 38px); line-height: 1.05; letter-spacing: -.04em; }

.hero-lead { max-width: 650px; margin: 42px 0 0; font-size: clamp(18px, 1.45vw, 24px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover, .button:focus-visible { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { background: var(--ink); color: var(--white); }
.button-ghost { background: var(--white); color: var(--ink); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-wide { width: 100%; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 30px 52px; margin: 44px 0 0; }
.hero-proof div { min-width: 170px; }
.hero-proof dt { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.hero-proof dd { margin: 5px 0 0; font-size: 16px; font-weight: 800; }

.hero-visual { position: relative; min-height: 700px; overflow: hidden; background: var(--blue); }
.photo { position: absolute; margin: 0; overflow: hidden; border: 1px solid var(--ink); background: var(--white); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-primary { inset: 7% 7% 29% 10%; transform: rotate(1.4deg); }
.photo-secondary { right: 0; bottom: 8%; width: 46%; height: 31%; transform: rotate(-2deg); }
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 54%;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--lime);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.goal-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 22px var(--pad);
  border-top: 1px solid var(--ink);
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.goal-band strong { font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif; font-size: clamp(36px, 4vw, 66px); letter-spacing: -.045em; }
.goal-band span:last-child { text-align: right; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.facts p { margin: 0; padding: 30px; border-right: 1px solid var(--ink); }
.facts p:last-child { border-right: 0; }
.facts strong, .facts span { display: block; }
.facts strong { font-size: clamp(25px, 2.4vw, 42px); line-height: 1; }
.facts span { margin-top: 10px; color: var(--muted); font-size: 13px; }

.section { padding: clamp(78px, 10vw, 160px) var(--pad); border-top: 1px solid var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(170px, .28fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 110px); align-items: start; }
.section-heading h2 { max-width: 980px; }
.section-heading > p:last-child { grid-column: 2; max-width: 760px; margin: 30px 0 0; font-size: clamp(18px, 1.5vw, 23px); }
.section-heading-compact h2 { max-width: 800px; }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: clamp(35px, 6vw, 90px);
  margin-top: clamp(58px, 8vw, 120px);
}

.copy-large { max-width: 800px; font-size: clamp(20px, 1.8vw, 27px); }
.copy-large p { margin: 0 0 34px; }
.story-photo { margin: 0; align-self: start; }
.story-photo img { width: 100%; border: 1px solid var(--ink); filter: saturate(.86) contrast(1.02); }
.story-photo figcaption { padding: 12px 0; color: var(--muted); font-size: 12px; }
.story-grid blockquote {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  margin: 20px 0 0;
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid var(--ink);
  background: var(--white);
}
.story-grid blockquote span { color: var(--blue); font-family: Georgia, serif; font-size: clamp(84px, 10vw, 160px); line-height: .65; }
.story-grid blockquote p { max-width: 960px; margin: 0; font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif; font-size: clamp(35px, 4.4vw, 74px); font-weight: 750; letter-spacing: -.045em; line-height: 1; }

.now-section { border-top: 1px solid var(--ink); }
.now-title { display: grid; grid-template-columns: minmax(170px, .28fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 110px); padding: clamp(70px, 8vw, 120px) var(--pad); }
.now-title h2 { max-width: 1000px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.reason-grid article { min-height: 360px; padding: clamp(30px, 4vw, 62px); border-right: 1px solid var(--ink); }
.reason-grid article:last-child { border-right: 0; }
.reason-grid article > span { color: var(--blue); font-weight: 850; }
.reason-grid h3 { margin-top: 75px; }
.reason-grid p { max-width: 380px; margin: 24px 0 0; color: var(--muted); }

.treatment-section { background: var(--ink); color: var(--white); }
.section-heading-inverse .section-index { color: var(--lime); }
.section-heading-inverse > p:last-child { color: #c4cad8; }
.treatment-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 120px); margin-top: clamp(70px, 9vw, 130px); }
.treatment-explain { align-self: start; position: sticky; top: 110px; }
.lead-number { margin: 0; color: var(--lime); font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif; font-size: clamp(65px, 8vw, 125px); font-weight: 800; letter-spacing: -.07em; line-height: .8; }
.treatment-explain > p:not(.lead-number) { max-width: 520px; margin: 38px 0; color: #c4cad8; font-size: 18px; }
.text-link { padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.text-link-light { color: var(--white); }
.cost-list { margin: 0; padding: 0; border-top: 1px solid #565e72; list-style: none; }
.cost-list li { display: grid; grid-template-columns: 1fr auto; gap: 25px; padding: 23px 0; border-bottom: 1px solid #565e72; }
.cost-list span { color: #dfe3ec; }
.cost-list strong { font-size: 21px; }
.cost-list .cost-total { margin-top: 18px; padding: 28px; border: 0; background: var(--lime); color: var(--ink); }
.cost-list .cost-total span { color: var(--ink); font-weight: 800; }
.cost-list .cost-total strong { font-size: 30px; }

.impact-band { display: grid; grid-template-columns: .72fr 1.28fr; border-top: 1px solid var(--ink); background: var(--lime); }
.impact-band p { margin: 0; padding: clamp(40px, 6vw, 90px) var(--pad); font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif; font-size: clamp(38px, 5vw, 78px); font-weight: 800; letter-spacing: -.055em; line-height: .95; }
.impact-band p:first-child { border-right: 1px solid var(--ink); color: var(--blue-deep); }

.document-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(60px, 8vw, 110px); border: 1px solid var(--ink); }
.document-card { display: grid; min-height: 430px; grid-template-rows: auto 1fr auto; padding: clamp(28px, 4vw, 54px); }
.document-card + .document-card { border-left: 1px solid var(--ink); }
.document-card-blue { background: var(--blue); color: var(--white); }
.document-card-lime { background: var(--lime); color: var(--ink); }
.document-card > div:first-child { display: flex; justify-content: space-between; gap: 20px; }
.document-number, .document-type { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.document-card h3 { max-width: 510px; margin-top: 70px; font-size: clamp(34px, 3.6vw, 58px); }
.document-card h3 + p { max-width: 500px; margin: 24px 0 0; opacity: .76; }
.document-action { justify-self: start; padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-weight: 850; text-decoration: none; cursor: pointer; }
.privacy-note { max-width: 900px; margin: 30px 0 0 auto; color: var(--muted); font-size: 13px; }

.help-section { padding: clamp(78px, 10vw, 160px) var(--pad); border-top: 1px solid var(--ink); background: var(--blue); color: var(--white); }
.help-section .section-index { color: var(--lime); }
.help-heading { display: grid; grid-template-columns: minmax(170px, .28fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 110px); }
.help-heading h2 { max-width: 1000px; }
.help-heading > p:last-child { grid-column: 2; max-width: 720px; margin: 25px 0 0; color: #dce2ff; font-size: 19px; }
.payment-panel { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr) 280px; margin-top: clamp(60px, 8vw, 110px); border: 1px solid var(--white); background: var(--white); color: var(--ink); }
.payment-main, .payment-details, .payment-qr { padding: clamp(28px, 4vw, 54px); }
.payment-main, .payment-details { border-right: 1px solid var(--ink); }
.payment-label { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.payment-goal { margin: 32px 0 42px; font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif; font-size: clamp(58px, 6vw, 94px); font-weight: 800; letter-spacing: -.065em; line-height: .82; }
.payment-security { margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.payment-row { display: grid; grid-template-columns: 115px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.payment-row > span { color: var(--muted); font-size: 13px; }
.payment-row strong { overflow-wrap: anywhere; }
.payment-row-copy { grid-template-columns: 115px 1fr auto; }
.payment-row button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.payment-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--lime); }
.payment-qr img { width: 100%; height: auto; image-rendering: crisp-edges; }
.payment-qr p { margin: 18px 0 0; font-size: 12px; font-weight: 800; text-align: center; text-transform: uppercase; }

.organizer-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(50px, 10vw, 150px); padding: clamp(70px, 9vw, 140px) var(--pad); border-top: 1px solid var(--ink); }
.organizer-section h2 { max-width: 650px; font-size: clamp(50px, 6vw, 88px); }
.organizer-copy { max-width: 740px; font-size: clamp(18px, 1.5vw, 23px); }
.organizer-copy p { margin: 0 0 30px; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; max-width: var(--max); margin: 0 auto; padding: 45px var(--pad); border: 1px solid var(--ink); border-top: 0; background: var(--ink); color: var(--white); }
.footer-mark { display: grid; width: 52px; height: 52px; place-items: center; background: var(--lime); color: var(--ink); font-size: 28px; font-weight: 850; }
.site-footer strong { font-size: 18px; }
.site-footer p { margin: 5px 0 0; color: #aeb5c4; font-size: 13px; }
.footer-actions { display: flex; gap: 24px; }
.footer-actions button, .footer-actions a { padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--white); font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }

.mobile-donate { display: none; }

.document-dialog { width: min(1080px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.document-dialog::backdrop { background: rgb(11 16 32 / 82%); backdrop-filter: blur(6px); }
.dialog-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.dialog-header h2 { font-family: inherit; font-size: 17px; letter-spacing: 0; line-height: 1.2; }
.dialog-header button { padding: 8px 12px; border: 1px solid var(--ink); background: var(--white); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.dialog-body { padding: clamp(12px, 3vw, 36px); }
.dialog-body img { width: 100%; }

.toast { position: fixed; z-index: 80; right: 20px; bottom: 20px; max-width: min(380px, calc(100% - 40px)); padding: 14px 18px; border: 1px solid var(--ink); background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 800; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast[data-visible="true"] { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; border-right: 0; }
  .hero-visual { min-height: 650px; border-top: 1px solid var(--ink); }
  .payment-panel { grid-template-columns: 1fr 1fr; }
  .payment-main { border-bottom: 1px solid var(--ink); }
  .payment-details { border-right: 0; border-bottom: 1px solid var(--ink); }
  .payment-qr { grid-column: 1 / -1; }
  .payment-qr img { width: min(310px, 100%); }
}

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 18px var(--pad); border-top: 1px solid var(--line); }
  .site-nav .nav-donate { background: var(--lime); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts p:nth-child(2) { border-right: 0; }
  .facts p:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .section-heading, .now-title, .help-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p:last-child, .help-heading > p:last-child { grid-column: 1; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { max-width: 620px; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ink); }
  .reason-grid article:last-child { border-bottom: 0; }
  .reason-grid h3 { margin-top: 42px; }
  .treatment-layout { grid-template-columns: 1fr; }
  .treatment-explain { position: static; }
  .impact-band { grid-template-columns: 1fr; }
  .impact-band p:first-child { border-right: 0; border-bottom: 1px solid var(--ink); }
  .document-grid { grid-template-columns: 1fr; }
  .document-card + .document-card { border-top: 1px solid var(--ink); border-left: 0; }
  .organizer-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { padding-bottom: 64px; font-size: 16px; }
  .site-header { min-height: 64px; }
  .site-nav { top: 64px; }
  .wordmark > span:last-child { display: none; }
  .hero-copy { padding-block: 64px; }
  h1 { font-size: clamp(56px, 19vw, 82px); }
  h2 { font-size: clamp(47px, 14vw, 70px); }
  .hero-lead { margin-top: 30px; }
  .button { width: 100%; }
  .hero-visual { min-height: 480px; }
  .photo-primary { inset: 7% 4% 32% 7%; }
  .photo-secondary { bottom: 11%; width: 52%; height: 30%; }
  .photo-caption { width: 70%; min-height: 76px; padding: 14px; font-size: 11px; }
  .goal-band { grid-template-columns: 1fr; gap: 6px; }
  .goal-band strong { font-size: 48px; }
  .goal-band span:last-child { text-align: left; }
  .facts { grid-template-columns: 1fr; }
  .facts p { border-right: 0; border-bottom: 1px solid var(--ink); }
  .facts p:last-child { border-bottom: 0; }
  .story-grid blockquote { grid-template-columns: 1fr; gap: 10px; }
  .story-grid blockquote span { font-size: 92px; }
  .story-grid blockquote p { font-size: 36px; }
  .cost-list li { grid-template-columns: 1fr; gap: 7px; }
  .document-card { min-height: 390px; }
  .document-card > div:first-child { display: block; }
  .document-type { margin-top: 7px; }
  .payment-panel { grid-template-columns: 1fr; }
  .payment-main, .payment-details { border-right: 0; border-bottom: 1px solid var(--ink); }
  .payment-qr { grid-column: 1; }
  .payment-row, .payment-row-copy { grid-template-columns: 1fr; gap: 5px; }
  .payment-row button { justify-self: start; margin-top: 7px; }
  .site-footer { grid-template-columns: auto 1fr; }
  .footer-actions { grid-column: 1 / -1; }
  .mobile-donate { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; min-height: 64px; place-items: center; border-top: 1px solid var(--ink); background: var(--lime); color: var(--ink); font-weight: 850; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
