:root {
  --navy: #16233f;
  --navy-deep: #0e1830;
  --flame: #e8842c;
  --gold: #f0a63c;
  --cream: #fbf1dc;
  --paper: #ffffff;
  --ink: #1c2434;
  --ink-soft: #4a5468;
  --rule: #d8dde7;
  --maxw: 1080px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
body {
  font-family: "Libre Franklin", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  color: var(--navy);
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
  border-radius: 2px;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(0.35);
  transform: none;
}
.btn-flame {
  background: var(--flame);
  color: #fff;
}
.btn-flame:hover {
  background: #d4741f;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
}
.brand .sub {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand .mark {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.1;
  color: #fff;
}
nav.main {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.85rem;
  font-weight: 600;
}
nav.main a {
  text-decoration: none;
  color: #e7ebf4;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main a:hover {
  border-bottom-color: var(--gold);
}
nav.main a[aria-current="page"] {
  border-bottom-color: var(--gold);
}
nav.main .btn {
  padding: 9px 20px;
}
@media (max-width: 820px) {
  nav.main a:not(.btn) {
    display: none;
  }
}

/* ---------- footer ---------- */
footer {
  background: var(--navy-deep);
  color: #b9c2d6;
  padding: 56px 0 40px;
  font-size: 0.88rem;
}
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) {
  footer .cols {
    grid-template-columns: 1fr;
  }
}
footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
footer .legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  color: #7d879c;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- donate ---------- */
.donate-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
@media (max-width: 820px) {
  .donate-cards {
    grid-template-columns: 1fr;
  }
}
.donate-cards .card {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px;
  background: #fff;
}
.donate-cards h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.donate-cards p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.donate-cards .tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
}
.tax-status {
  max-width: 76ch;
  margin: 24px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

#donate {
  scroll-margin-top: 110px;
}
.ways-to-give .btn-navy {
  background: var(--navy);
}
.giving-form {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  text-underline-offset: 3px;
}
.giving-tip {
  margin: 24px auto 0;
  max-width: 76ch;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
