/* ==========================================================================
   Let's Go — campaign site stylesheet
   Single file, no framework, no external fonts or CDN dependencies.
   Loaded on every page. Keep it small: page weight is part of the design.

   0. Design tokens
   1. Reset and base
   2. Layout primitives
   3. Buttons and links
   4. Header and navigation
   5. Hero
   6. Donation widget panel
   7. Content sections (story, cards, steps, disclosure, FAQ, CTA)
   8. Long-form prose (privacy, terms, contact)
   9. Footer
  10. Utilities
  11. Responsive
  12. Motion and print
   ========================================================================== */

/* 0. Design tokens ------------------------------------------------------- */
:root {
  --ink: #12222c;
  --ink-soft: #34474f;
  --muted: #5d7079;
  --paper: #fdfbf8;
  --paper-2: #f6f1ea;
  --paper-3: #efe7dc;
  --line: #e4dbcf;
  --line-strong: #d3c6b4;
  --accent: #c2410c;
  --accent-ink: #8a2c07;
  --accent-wash: #fdf0e7;
  --teal: #0f6b5f;
  --teal-wash: #e8f4f1;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(18, 34, 44, 0.06);
  --shadow: 0 10px 30px -12px rgba(18, 34, 44, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(18, 34, 44, 0.28);

  --container: 1140px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-serif: Iowan Old Style, "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* 1. Reset and base ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchor links must clear the sticky header. */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  letter-spacing: -0.028em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.05em;
}

p:last-child {
  margin-bottom: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  margin: 0 0 1.05em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.45em;
}

li:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 650;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Visible, consistent keyboard focus on every interactive element. */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-wash);
  color: var(--accent-ink);
}

/* 2. Layout primitives --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.2rem, 7vw, 5.5rem);
}

.section--tight {
  padding-block: clamp(2.2rem, 4vw, 3rem);
}

.section--tinted {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.75rem);
}

.section-head h2 {
  margin-bottom: 0.45em;
}

.section-head p {
  color: var(--muted);
  font-size: 1.075rem;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

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

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

/* 3. Buttons and links --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--accent-ink);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--ink-soft);
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.link-arrow::after {
  content: " \2192";
  font-weight: 400;
}

/* 4. Header and navigation ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 248, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 750;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem);
}

.nav a {
  padding: 0.4rem 0.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* 5. Hero ---------------------------------------------------------------- */
.hero {
  padding-block: clamp(2.2rem, 5vw, 4rem) clamp(2.6rem, 6vw, 4.5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--accent-wash) 0%, transparent 62%),
    radial-gradient(45rem 26rem at 0% 0%, var(--teal-wash) 0%, transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.hero-copy {
  padding-top: 0.35rem;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.75rem 0.34rem 0.55rem;
  margin-bottom: 1.1rem;
  background: var(--teal-wash);
  border: 1px solid #c8e4de;
  border-radius: 999px;
  font-size: 0.775rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 107, 95, 0.16);
  flex: none;
}

.hero h1 {
  margin-bottom: 0.55em;
  max-width: 18ch;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 54ch;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.hero-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0;
  font-size: 0.975rem;
  color: var(--ink-soft);
}

.hero-points svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.24em;
  color: var(--teal);
}

.hero-note {
  margin-top: 1.9rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 56ch;
}

/* 6. Donation widget panel ----------------------------------------------- */
.donate-panel {
  position: sticky;
  top: 5.25rem;
}

.donate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}

.donate-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.donate-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.donate-card__meta {
  margin: 0;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Reserve space so the embedded form does not cause layout shift. */
.widget-shell {
  min-height: 320px;
}

.widget-shell dbox-widget {
  display: block;
}

.widget-fallback {
  border: 1px dashed var(--line-strong);
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 1.15rem;
  font-size: 0.925rem;
  color: var(--ink-soft);
}

.widget-fallback[hidden] {
  display: none;
}

.widget-fallback p {
  margin-bottom: 0.85rem;
}

.donate-card__foot {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.donate-card__foot p {
  margin: 0 0 0.5rem;
}

.donate-card__foot p:last-child {
  margin-bottom: 0;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.55rem;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.pay-chip svg {
  width: 13px;
  height: 13px;
}

/* 7. Content sections ---------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.4em;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent-ink);
}

.card__icon svg {
  width: 20px;
  height: 20px;
}

.card--teal .card__icon {
  background: var(--teal-wash);
  color: var(--teal);
}

/* Two-column content split: prose on the left, a summary card on the right. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

.narrow {
  max-width: 44rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

.steps li {
  position: relative;
  margin: 0;
  padding-top: 3.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1rem;
}

.disclosure {
  background: var(--accent-wash);
  border: 1px solid #f3d9c6;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.35rem;
  font-size: 0.925rem;
  color: #6b3a1c;
}

.disclosure h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5em;
  color: var(--accent-ink);
}

.disclosure p {
  margin-bottom: 0.6em;
}

.disclosure p:last-child {
  margin-bottom: 0;
}

.disclosure a {
  color: var(--accent-ink);
}

.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 62rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 1.15rem;
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > div {
  padding: 0 0 1.15rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cta-band {
  background: var(--ink);
  color: #e9eef0;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.35em;
}

.cta-band p {
  color: #b9c6cc;
  margin: 0;
  max-width: 52ch;
}

.cta-band .btn--primary {
  background: var(--white);
  color: var(--ink);
}

.cta-band .btn--primary:hover {
  background: var(--accent-wash);
  color: var(--accent-ink);
}

/* 8. Long-form prose ----------------------------------------------------- */
.page-head {
  padding-block: clamp(2rem, 4.5vw, 3.2rem) clamp(1.2rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.page-head h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin-bottom: 0.4em;
  max-width: 26ch;
}

.page-head p {
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

.prose {
  max-width: 74ch;
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 4rem);
}

.prose h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  margin-top: 2.3em;
  padding-top: 0.2em;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.05rem;
  margin-top: 1.7em;
}

.prose > p,
.prose > ul,
.prose > ol {
  color: var(--ink-soft);
}

.legal-meta {
  margin: 0 0 2.2rem;
  padding: 0.85rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--muted);
}

.legal-meta dl {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.legal-meta dt {
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.legal-meta dd {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}

th,
td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--paper-2);
  font-size: 0.775rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6em;
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-card dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-card dd {
  margin: 0;
  font-size: 0.975rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* 9. Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.2rem, 4vw, 3.2rem) 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-about p {
  color: var(--muted);
  margin: 0.75rem 0 0;
  max-width: 38ch;
  font-size: 0.875rem;
}

.footer-col h2 {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

/* 10. Utilities ---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

.stack > * + * {
  margin-top: 1rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

/* Spacing helpers, used where a one-off gap would otherwise mean inline CSS. */
.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 1.75rem;
}

.mt-3 {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.mb-3 {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 560px) {
  .btn-row .btn {
    width: 100%;
  }
}

/* Contact page: the grid sits directly in a container, not inside .prose. */
.contact-grid--page {
  padding-block: clamp(2rem, 4vw, 3.25rem) 0;
}

.contact-card__note {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.footer-bottom--flush {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

/* 11. Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .donate-panel {
    position: static;
  }

  .hero h1 {
    max-width: 24ch;
  }

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

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

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav a {
    padding: 0.8rem 0.15rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    color: var(--accent-ink);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
  }

  .header-cta {
    display: none;
  }

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

  .cta-band {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .grid--4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-tag {
    display: none;
  }

  .donate-card {
    border-radius: var(--radius);
  }

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

/* 12. Motion and print --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .donate-panel,
  .cta-band,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    word-break: break-all;
  }

  .prose h2 {
    page-break-after: avoid;
  }
}
