:root {
  --ink: #141414;
  --muted: #5e6268;
  --paper: #f8f5ef;
  --panel: #ffffff;
  --line: #ded7ca;
  --red: #a7342d;
  --gold: #d99b35;
  --green: #235b4a;
  --blue: #253c59;
  --shadow: 0 22px 70px rgba(20, 20, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  align-items: center;
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 42px;
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 750;
  padding: 0.55rem 0.7rem;
}

.nav-donate {
  background: var(--red);
  color: #fff;
}

.hero {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.56fr);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 5vw clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.68) 45%, rgba(20, 20, 20, 0.14) 100%),
    url("/static/images/bg.jpg") center / cover;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 20, 0.82) 100%);
  bottom: 0;
  content: "";
  height: 28%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
}

.hero-copy {
  align-self: center;
  color: #fff;
  max-width: 760px;
  padding-bottom: 8vh;
}

.eyebrow,
.callout-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 7.6rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 1.25rem;
  max-width: 860px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.9vw, 1.35rem);
  max-width: 670px;
}

.hero-actions,
.statement-band {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  align-items: center;
  border: 2px solid currentColor;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.05rem;
  text-align: center;
}

.button-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button-secondary {
  color: inherit;
}

.button-full {
  width: 100%;
}

.donation-callout {
  align-self: center;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  margin-bottom: 8vh;
  max-width: 420px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.donation-callout h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.donation-callout p {
  color: var(--muted);
}

.amount-row {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.4rem 0;
}

.amount-row span {
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 850;
  padding: 0.65rem 0.4rem;
  text-align: center;
}

.mobile-marquee {
  display: none;
}

.content-band {
  border-top: 10px solid var(--ink);
  padding: clamp(3.5rem, 7vw, 6rem) 5vw;
}

.section-heading {
  max-width: 930px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 2.25rem;
}

.about-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1.24fr);
}

.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.audience-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-grid article {
  background: var(--panel);
  border-top: 7px solid var(--green);
  min-height: 190px;
  padding: 1.2rem;
}

.audience-grid article:nth-child(2) {
  border-color: var(--gold);
}

.audience-grid article:nth-child(3) {
  border-color: var(--blue);
}

.audience-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 3rem;
}

.audience-grid h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.statement-band {
  background: var(--ink);
  color: #fff;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3rem) 5vw;
}

.statement-band p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  max-width: 800px;
}

.site-footer {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) auto;
  padding: clamp(2.5rem, 5vw, 4rem) 5vw;
}

.site-footer h2 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.contact-list,
.social-links {
  display: flex;
  flex-direction: column;
  font-style: normal;
  gap: 0.45rem;
}

.contact-list a,
.social-links a {
  color: var(--blue);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.donation-page {
  background: var(--paper);
}

.donation-shell {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  padding: clamp(3rem, 7vw, 6rem) 5vw;
}

.donation-intro {
  align-self: start;
  position: sticky;
  top: 100px;
}

.donation-intro h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.92;
  margin-bottom: 1rem;
}

.donation-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.donation-form-panel {
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.donation-form-panel h2 {
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin: 2rem 0 1rem;
  padding-top: 1.5rem;
}

.donation-form-panel h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.donation-options {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donation-options input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.donation-options label {
  align-items: center;
  border: 2px solid var(--line);
  cursor: pointer;
  display: flex;
  font-weight: 850;
  justify-content: center;
  min-height: 58px;
  padding: 0.75rem;
  text-align: center;
}

.donation-options input[type="radio"]:checked + label {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.field {
  grid-column: span 6;
}

.field.half {
  grid-column: span 3;
}

.field.third {
  grid-column: span 2;
}

label {
  color: var(--ink);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  background: #fff;
  border: 2px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(37, 60, 89, 0.16);
}

.field-error,
.messages {
  color: var(--red);
  font-weight: 750;
}

.messages {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.messages li {
  border: 2px solid rgba(167, 52, 45, 0.28);
  margin-bottom: 0.7rem;
  padding: 0.75rem 0.9rem;
}

.donation-summary {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.form-actions input[type="submit"] {
  background: var(--red);
  border: 2px solid var(--red);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .donation-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .donation-intro {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-bottom: 12rem;
  }

  .donation-callout {
    margin-bottom: 0;
    max-width: 560px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid article {
    min-height: 0;
  }

  .audience-grid span {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0.8rem;
    padding-top: 0.8rem;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    text-align: center;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .hero {
    padding-bottom: 10rem;
    padding-top: 2rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .field.half,
  .field.third {
    grid-column: span 6;
  }

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

  h1 {
    font-size: clamp(2.15rem, 11vw, 2.7rem);
    line-height: 0.96;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .mobile-marquee {
    align-items: center;
    background: linear-gradient(140deg, rgba(35, 91, 74, 0.9), rgba(37, 60, 89, 0.9));
    border: 6px solid #191919;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    color: #fff;
    display: flex;
    font-size: 0.78rem;
    font-weight: 850;
    justify-content: center;
    letter-spacing: 0.08em;
    margin-bottom: 1.35rem;
    min-height: 58px;
    text-align: center;
    text-transform: uppercase;
  }

  .donation-callout {
    padding: 1rem;
  }

  .donation-callout h2 {
    font-size: 1.7rem;
  }

  .donation-callout p {
    font-size: 0.94rem;
  }

  .amount-row {
    margin: 0.8rem 0;
  }
}
