/* ==========================================================================
   Together for Change — public site styles
   Plain CSS (no build step). Loaded after Bootstrap and public.css.

   Contents
   1.  Fonts
   2.  Tokens
   3.  Base
   4.  Layout helpers
   5.  Buttons and links
   6.  Progress bars
   7.  Form controls and selectable tiles
   8.  Site header and mobile menu
   9.  Flash messages
   10. Site footer
   11. Home: hero
   12. Home: sections
   13. Donate page
   14. Theme bridge for the older Bootstrap pages

   Rule for this file: no box-shadow anywhere. Borders and surface colours
   do the separating.
   ========================================================================== */

/* 1. Fonts ----------------------------------------------------------------
   Headings: Mont Heavy (free weight from Fontfabric, allowed for commercial
   use). Put Mont-Heavy.woff2 (or .otf) in /public/assets/fonts/.
   Until it is there, headings fall back to Plus Jakarta Sans ExtraBold.
   Body: Plus Jakarta Sans (SIL OFL), self-hosted variable font. */
/* Mont Heavy: see assets/css/font-mont.css (included by the layout only when the font file is present). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2")
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* Brand */
  --lake: #0f5a4a;
  --lake-deep: #0a3a31;
  --lake-soft: #e6f0ec;
  --lake-mist: #f3f8f5;
  --sun: #ffb81c; /* reserved for giving */
  --sun-deep: #eba200;
  --sun-soft: #fff3d1;
  --ink: #12211d;
  --ink-soft: #51605b;
  --ink-faint: #7c8a85;
  --line: #d6e2dc;
  --clay: #b93a26;
  --clay-soft: #fcebe7;
  --white: #fff;

  /* Type */
  --font-display:
    "Mont", "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI",
    sans-serif;
  --font-sans:
    "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto,
    sans-serif;
  --d1: clamp(2.5rem, 5.6vw, 4.5rem);
  --d2: clamp(1.9rem, 3.8vw, 2.9rem);
  --d3: clamp(1.4rem, 2.3vw, 1.85rem);

  /* Shape */
  --r-photo: 2rem;
  --r-panel: 1.5rem;
  --r-tile: 1rem;
  --r-input: 0.75rem;
  --page: 76rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;
}
@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
  }
}

/* 3. Base ----------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body.site {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.site h1,
body.site h2,
body.site h3,
body.site h4,
body.site h5,
body.site h6,
body.site .font-heading {
  font-family: var(--font-display);
  color: inherit;
  text-wrap: balance;
}
body.site p {
  text-wrap: pretty;
}
body.site a {
  color: inherit;
}
body.site img {
  max-width: 100%;
}
body.site :focus-visible {
  outline: 2px solid var(--lake);
  outline-offset: 3px;
  border-radius: 4px;
}
body.site ::selection {
  background: var(--sun);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.site-main {
  flex: 1 0 auto;
}
.site-main:focus {
  outline: none;
}

/* Bootstrap's reboot adds bottom margins to text blocks. Parts of the site
   built with this file (class "v2") set their own spacing instead. */
.v2 :where(p, ul, ol, dl, dd, h1, h2, h3, h4, h5, h6, figure, blockquote) {
  margin-bottom: 0;
}
.v2 :where(ul, ol) {
  padding-left: 0;
}
.v2 :where(dt) {
  font-weight: inherit;
}
.v2 :where(label) {
  margin-bottom: 0;
}

.ic {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.ic-sm {
  width: 1rem;
  height: 1rem;
}
.ic-lg {
  width: 1.6rem;
  height: 1.6rem;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tabnums {
  font-variant-numeric: tabular-nums;
}

@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;
  }
}

/* 4. Layout helpers ------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: 5rem;
}
@media (min-width: 1024px) {
  .section {
    padding-block: 7rem;
  }
}
.section--mist {
  background: var(--lake-mist);
}
.section--line {
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section-head > div {
  max-width: 42rem;
}

.t-d1,
.t-d2,
.t-d3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
}
.t-d1 {
  font-size: var(--d1);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.t-d2 {
  font-size: var(--d2);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.t-d3 {
  font-size: var(--d3);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.t-h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
}
.lead-text {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 1rem 0 0;
}
.muted {
  color: var(--ink-soft);
}
.faint {
  color: var(--ink-faint);
}
.small-text {
  font-size: 0.875rem;
}

/* 5. Buttons and links ---------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
}
.button--give {
  background: var(--sun);
  color: var(--ink) !important;
  font-weight: 500;
}
.button--give:hover {
  background: var(--sun-deep);
}
.button--quiet {
  background: var(--white);
  color: var(--ink) !important;
  border-color: rgba(18, 33, 29, 0.2);
}
.button--quiet:hover {
  border-color: rgba(18, 33, 29, 0.55);
}
.button--onlake {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}
.button--onlake:hover {
  background: rgba(255, 255, 255, 0.1);
}
.button--ink {
  background: var(--ink);
  color: #fff !important;
}
.button--ink:hover {
  background: var(--lake-deep);
}
.button--lg {
  padding: 1rem 2rem;
  font-size: 1.075rem;
}
.button--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}
.button--block {
  width: 100%;
}

.text-link {
  font-weight: 700;
  color: var(--lake) !important;
  text-decoration: underline;
  text-decoration-color: rgba(15, 90, 74, 0.3);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
}
.text-link:hover {
  text-decoration-color: var(--lake);
}
.text-link--light {
  color: #fff !important;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

/* 6. Progress bars --------------------------------------------------------
   Width comes from data-pct, applied by site.js when the bar scrolls in. */
.pbar {
  display: block;
  height: 0.625rem;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: var(--lake-soft);
}
.pbar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--lake);
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pbar.is-funded > span {
  background: var(--sun-deep);
}
.pbar--thin {
  height: 0.375rem;
}
.pbar--thick {
  height: 1rem;
}
.pbar--white {
  background: #fff;
}
.pbar--dark {
  background: rgba(255, 255, 255, 0.15);
}
.pbar--dark > span {
  background: var(--sun);
}
.no-js .pbar > span {
  width: var(--w, 0);
}

/* 7. Form controls and selectable tiles ----------------------------------- */
.field-label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.field-label .opt {
  font-weight: 400;
  color: var(--ink-soft);
}
.field {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition:
    border-color 0.15s,
    background-color 0.15s,
    outline-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.field::placeholder {
  color: var(--ink-faint);
}
.field:hover {
  border-color: rgba(18, 33, 29, 0.4);
}
.field:focus {
  outline: 3px solid rgba(15, 90, 74, 0.2);
  outline-offset: 0;
  border-color: var(--lake);
}
.field[aria-invalid="true"],
.field.is-invalid {
  border-color: var(--clay);
  background: var(--clay-soft);
}
textarea.field {
  min-height: 6.5rem;
  resize: vertical;
}
select.field {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351605B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
}
.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.field-error {
  display: none;
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clay);
}
.field-error.is-on {
  display: block;
}
.form-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .span-2 {
    grid-column: span 2;
  }
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 0.9rem;
  float: none;
}

.tile {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: #fff;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.tile:hover {
  border-color: var(--lake);
}
.tile:has(input:checked) {
  border-color: var(--lake);
  background: var(--lake-mist);
  outline: 1px solid var(--lake);
  outline-offset: -2px;
}
.tile:has(input:focus-visible) {
  outline: 2px solid var(--lake);
  outline-offset: 2px;
}
.tile:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.6;
}
.tile:has(input:disabled):hover {
  border-color: var(--line);
}
.tile > input[type="radio"],
.tile > input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.tile--center {
  justify-content: center;
  text-align: center;
  font-weight: 700;
  padding: 0.9rem 0.75rem;
}
.tile--amount {
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem 0.5rem;
}
.tile-grid {
  display: grid;
  gap: 0.5rem;
}
.tile-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tile-grid--amounts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .tile-grid--amounts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .tile-grid--amounts4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.check-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
}
.check-row input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--lake);
}

/* Disclosure (details/summary) */
.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
}
.disclosure > summary,
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.disclosure > summary::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.disclosure > summary .ic,
.faq-item > summary .ic {
  transition: transform 0.2s;
}
.disclosure[open] > summary .ic,
.faq-item[open] > summary .ic {
  transform: rotate(180deg);
}
.disclosure__body {
  border-top: 1px solid var(--line);
  padding: 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--lake);
  cursor: pointer;
}
.copy-btn:hover {
  border-color: var(--lake);
}
.copy-btn.is-copied {
  background: var(--lake);
  border-color: var(--lake);
  color: #fff;
}

/* 8. Site header and mobile menu ------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
  }
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink) !important;
  flex-shrink: 0;
}
/* Wide logo (emblem + name): sized by height, never cropped or squashed */
.brand__logo {
  display: block;
  height: 3rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}
@media (max-width: 639px) {
  .give-wrap {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    border-radius: 0;
  }
  .give-wrap .give {
    border-radius: 0 !important;
    padding-inline: 10px 5px;
  }
  .brand__logo {
    height: 2.5rem;
  }
}
.brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lake);
  color: var(--sun);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
@media (max-width: 420px) {
  .site-header .brand__name {
    display: none;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.main-nav a {
  color: var(--ink-soft) !important;
  text-decoration: none;
  padding-block: 0.4rem;
  transition: color 0.15s;
}
.main-nav a:hover {
  color: var(--ink) !important;
}
.main-nav a[aria-current="page"] {
  color: var(--lake) !important;
}
@media (min-width: 1100px) {
  .main-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-actions .button {
  padding: 0.6rem 1.25rem;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink) !important;
  font-size: 0.95rem;
}
.header-phone .ic {
  color: var(--lake);
}
.header-phone .label {
  font-weight: 400;
  color: var(--ink-soft);
}
@media (min-width: 640px) {
  .header-phone {
    display: inline-flex;
  }
}
.menu-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn [data-close] {
  display: none;
}
.menu-btn[aria-expanded="true"] [data-open] {
  display: none;
}
.menu-btn[aria-expanded="true"] [data-close] {
  display: inline-block;
}
@media (min-width: 1100px) {
  .menu-btn {
    display: none;
  }
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav__list {
  display: grid;
  gap: 0.15rem;
  padding-block: 1rem;
  margin: 0;
  list-style: none;
}
.mobile-nav__list a {
  display: block;
  padding: 0.75rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 1.075rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink) !important;
}
.mobile-nav__list a:hover,
.mobile-nav__list a[aria-current="page"] {
  background: var(--lake-mist);
}
.mobile-nav__foot {
  border-top: 1px solid var(--line);
  padding-block: 1rem 1.5rem;
  display: grid;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.mobile-nav__foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink) !important;
}
.mobile-nav__foot .ic {
  color: var(--lake);
}
@media (min-width: 1100px) {
  .mobile-nav {
    display: none !important;
  }
}

/* 9. Flash messages ------------------------------------------------------- */
.flash {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-tile);
  font-weight: 600;
}
.flash .ic {
  margin-top: 0.1rem;
}
.flash--ok {
  background: var(--lake-mist);
  color: var(--lake-deep);
  border: 1px solid var(--line);
}
.flash--error {
  background: var(--clay-soft);
  color: var(--clay);
}
.flash--info {
  background: var(--sun-soft);
  color: var(--ink);
}
.flash__close {
  margin-left: auto;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
}

/* 10. Site footer --------------------------------------------------------- */
.site-foot {
  background: var(--lake-deep);
  color: rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}
.site-foot a {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none;
}
.site-foot a:hover {
  color: #fff !important;
}
.site-foot__top {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 1024px) {
  .site-foot__top {
    grid-template-columns: 1.3fr 2fr;
    gap: 5rem;
  }
}
.site-foot .brand {
  color: #fff !important;
}
/* The logo has dark lettering, so on the green footer it sits on a white card */
.site-foot .brand {
  background: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--r-tile);
}
.site-foot .brand__logo {
  height: 3rem;
  max-width: 12rem;
}
.site-foot__about {
  max-width: 24rem;
  margin: 1.25rem 0 0;
  line-height: 1.65;
}
.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .site-foot__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.site-foot h2 {
  font-family: var(--font-sans) !important;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.site-foot__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.site-foot__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.site-foot__social a:hover {
  border-color: rgba(255, 255, 255, 0.6);
}
.site-foot__social .ic {
  width: 1.1rem;
  height: 1.1rem;
}
.site-foot__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-foot__bottom .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: 0.875rem;
}
.site-foot__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
}
@media (min-width: 640px) {
  .site-foot__bottom .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Slim footer used on the donate page */
.site-foot--slim {
  background: #fff;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.site-foot--slim a {
  color: var(--ink-soft) !important;
}
.site-foot--slim a:hover {
  color: var(--ink) !important;
}
.site-foot--slim .site-foot__bottom {
  border-top: 0;
}

/* 11. Home: hero ----------------------------------------------------------
   The photos cross-fade underneath; the title, text and buttons stay fixed. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(32rem, 86vh, 46rem);
  background: var(--lake-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}
.hero__slide.is-active .hero__img {
  transform: scale(1);
}
/* Shade so the text reads on any photo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(10, 58, 49, 0.92) 0%,
      rgba(10, 58, 49, 0.7) 45%,
      rgba(10, 58, 49, 0.2) 100%
    ),
    linear-gradient(0deg, rgba(10, 58, 49, 0.75) 0%, rgba(10, 58, 49, 0) 40%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 6rem 7.5rem;
}
.hero__copy {
  max-width: 40rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--d1);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}
.hero__lead {
  margin: 1.5rem 0 0;
  font-size: 1.2rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 2rem;
}
.hero__controls .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__dot {
  position: relative;
  width: 2.25rem;
  height: 0.3rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  overflow: hidden;
}
.hero__dot::before {
  content: "";
  position: absolute;
  inset: -0.75rem 0;
} /* bigger tap target */
.hero__dot[aria-current="true"] {
  background: rgba(255, 255, 255, 0.45);
}
.hero__dot[aria-current="true"] > span {
  position: absolute;
  inset: 0;
  background: var(--sun);
  transform-origin: left;
  animation: heroProgress var(--hero-delay, 6s) linear forwards;
}
.hero.is-paused .hero__dot[aria-current="true"] > span {
  animation-play-state: paused;
}
@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.hero__nav {
  display: flex;
  gap: 0.5rem;
}
.hero__btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 58, 49, 0.25);
  color: #fff;
  cursor: pointer;
}
.hero__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Tablets */
@media (max-width: 1023px) {
  .hero {
    min-height: clamp(30rem, 78vh, 40rem);
  }
}
/* Phones: text sits at the bottom over a stronger shade, buttons go full width */
@media (max-width: 767px) {
  .hero {
    align-items: flex-end;
    min-height: max(32rem, 88svh);
  }
  .hero::after {
    background: linear-gradient(
      0deg,
      rgba(10, 58, 49, 0.96) 0%,
      rgba(10, 58, 49, 0.8) 50%,
      rgba(10, 58, 49, 0.35) 100%
    );
  }
  .hero__content {
    padding-block: 5rem 6.5rem;
  }
  .hero__title {
    font-size: clamp(2.1rem, 9vw, 2.75rem);
  }
  .hero__lead {
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  .hero__actions {
    margin-top: 1.75rem;
  }
  .hero__actions .button {
    flex: 1 1 10rem;
  }
  .hero__controls {
    bottom: 1.5rem;
  }
  .hero__dot {
    width: 1.75rem;
  }
  .hero__btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .hero__btn[data-hero-prev],
  .hero__btn[data-hero-next] {
    display: none;
  } /* swipe instead */
}
@media (max-width: 380px) {
  .hero__actions .button {
    flex-basis: 100%;
  }
}

/* 12. Home: sections ------------------------------------------------------ */
/* Plain facts strip */
.facts {
  border-bottom: 1px solid var(--line);
}
.facts__grid {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding-block: 2rem;
}
@media (min-width: 640px) {
  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .facts__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.fact {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}
.fact .ic {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--lake);
  margin-top: 0.1rem;
}
.fact strong {
  display: block;
  font-weight: 700;
}
.fact span {
  color: var(--ink-soft);
}

/* Campaign overview */
.overall {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--r-panel);
  background: var(--lake-mist);
}
@media (min-width: 640px) {
  .overall {
    padding: 2rem;
  }
}
.overall__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2.5rem;
  margin-bottom: 1.5rem;
}
.overall__big {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.overall__pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--lake);
}

/* Campaign cards */
.cards {
  display: grid;
  gap: 3.5rem 2rem;
  margin-top: 3.5rem;
}
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card-c {
  display: flex;
  flex-direction: column;
}
.photo {
  display: block;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--lake-soft);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo--43 {
  aspect-ratio: 4 / 3;
}
.photo--45 {
  aspect-ratio: 4 / 5;
}
.photo--top img {
  object-position: center top;
}
.place {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.place .ic {
  width: 1rem;
  height: 1rem;
}
.card-c h3 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
}
.card-c h3 a {
  text-decoration: none;
}
.card-c h3 a:hover {
  text-decoration: underline;
}
.card-c p.summary {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}
.card-c__foot {
  margin-top: auto;
  padding-top: 1.5rem;
}
.money-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.money-row strong {
  font-weight: 700;
}
.money-row .pct {
  font-weight: 700;
  color: var(--lake);
}

/* Table of all campaigns */
.ctable {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.ctable__head {
  display: none;
}
.ctable ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ctable li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem;
  border-top: 1px solid var(--line);
}
.ctable li:first-child {
  border-top: 0;
}
.ctable__who {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.ctable__thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--lake-soft);
  flex-shrink: 0;
}
.ctable__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.ctable__name {
  display: block;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.ctable__name:hover {
  text-decoration: underline;
}
.ctable__place {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.ctable__progress {
  grid-column: 1 / -1;
  order: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ctable__progress .pct {
  width: 3rem;
  flex-shrink: 0;
  text-align: right;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lake);
  font-variant-numeric: tabular-nums;
}
.ctable__progress .pct.done {
  color: var(--ink);
}
.ctable__mobile {
  grid-column: 1 / -1;
  order: 4;
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.ctable__num {
  display: none;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ctable__act {
  order: 2;
  text-align: right;
}
.pill {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--sun-soft);
  font-size: 0.85rem;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .ctable__head,
  .ctable li {
    grid-template-columns:
      minmax(0, 2.2fr) minmax(0, 1.6fr) repeat(3, minmax(0, 1fr))
      7rem;
    gap: 1.5rem;
  }
  .ctable__head {
    display: grid;
    padding: 0.9rem 1.5rem;
    background: var(--lake-mist);
    border-bottom: 1px solid var(--line);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink-soft);
  }
  .ctable__head span:nth-child(n + 3):nth-child(-n + 5) {
    text-align: right;
  }
  .ctable li {
    padding: 1.25rem 1.5rem;
  }
  .ctable__progress,
  .ctable__act {
    grid-column: auto;
    order: 0;
  }
  .ctable__mobile {
    display: none;
  }
  .ctable__num {
    display: block;
  }
  .ctable__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Numbers */
.numbers {
  display: grid;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .numbers {
    grid-template-columns: 1fr 1.05fr;
    gap: 5rem;
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  margin: 2.5rem 0 0;
}
.stat {
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
}
.stat dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat dd small {
  font-size: 0.5em;
  margin-right: 0.2rem;
  letter-spacing: 0;
}
.stat dt {
  order: 2;
  margin-top: 0.6rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-soft);
}
.split-card {
  background: #fff;
  border-radius: var(--r-photo);
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .split-card {
    padding: 2.5rem;
  }
}
.split-blocks {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.375rem;
  margin-top: 1.75rem;
}
.split-blocks span {
  aspect-ratio: 1;
  border-radius: 0.375rem;
}
.b-lake {
  background: var(--lake);
}
.b-sun {
  background: var(--sun-deep);
}
.b-faint {
  background: var(--ink-faint);
}
.split-legend {
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}
.split-legend > div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.split-legend dt {
  order: 2;
  flex: 1;
  font-weight: 400;
  color: var(--ink-soft);
}
.split-legend dt strong {
  color: var(--ink);
}
.split-legend dd {
  order: 1;
  margin: 0;
  width: 6rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}
.split-legend dd i {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.2rem;
  display: inline-block;
}

/* About */
.about {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about {
    grid-template-columns: 0.9fr 1fr;
    gap: 5rem;
  }
}
.about__cols {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .about__cols {
    grid-template-columns: 1fr 1fr;
  }
}
.about__cols p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
}

/* Focus areas grid */
.focus-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--line);
}
@media (min-width: 640px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .focus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.focus-grid a {
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.75rem;
  background: #fff;
  text-decoration: none;
}
.focus-grid a:hover {
  background: var(--lake-mist);
}
.focus-grid a:hover .t-h4 {
  text-decoration: underline;
}
.focus-grid .ic {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--lake);
}
.focus-grid p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Give panel */
.give {
  display: grid;
  gap: 3rem;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--lake-deep);
  color: #fff;
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .give {
    padding: 3rem;
  }
}
@media (min-width: 1024px) {
  .give {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
  }
}
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}
.steps li {
  display: flex;
  gap: 1.25rem;
}
.steps .n {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.steps p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.steps p strong {
  display: block;
  color: #fff;
}
.quick-give {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-panel);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .quick-give {
    padding: 2rem;
  }
}
.note {
  margin: 1.25rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: var(--r-tile);
  background: var(--sun-soft);
  font-size: 0.95rem;
  line-height: 1.45;
  min-height: 3rem;
}

/* Other ways to help */
.ways {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .ways {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
  }
}
.ways ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
}
.ways li {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.ways li:first-child {
  border-top: 0;
}
@media (min-width: 640px) {
  .ways li {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2.5rem;
  }
}
.ways h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}
.ways p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 32rem;
}

/* Transparency docs */
.docs {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  column-gap: 3rem;
}
@media (min-width: 640px) {
  .docs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .docs {
    grid-template-columns: repeat(3, 1fr);
  }
}
.docs li {
  border-top: 1px solid rgba(18, 33, 29, 0.15);
  padding-block: 1.5rem;
}
.docs a {
  display: flex;
  gap: 1rem;
  text-decoration: none;
}
.docs a:hover .t-h4 {
  text-decoration: underline;
}
.docs .ic {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--lake);
  margin-top: 0.15rem;
}
.docs .t-h4 {
  font-size: 1.125rem;
}
.docs p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Contact */
.contact {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .contact {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
  }
}
.contact-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
}
.contact-list .ic {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--lake);
}
.contact-list a {
  font-weight: 700;
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}
.newsletter {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--r-panel);
  background: var(--lake-mist);
}
@media (min-width: 640px) {
  .newsletter {
    padding: 1.75rem;
  }
}
.newsletter__row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .newsletter__row {
    flex-direction: row;
  }
  .newsletter__row .field {
    flex: 1;
  }
}
.message-card {
  border: 1px solid var(--line);
  border-radius: var(--r-photo);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .message-card {
    padding: 2.5rem;
  }
}
.form-status {
  margin: 1rem 0 0;
  font-weight: 700;
  color: var(--lake);
}
.form-status.is-error {
  color: var(--clay);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 13. Donate page --------------------------------------------------------- */
.donate-page {
  padding-block: 2.5rem 5rem;
}
@media (min-width: 1024px) {
  .donate-page {
    padding-block: 4rem 7rem;
  }
}
.donate-intro {
  max-width: 42rem;
}
.donate-grid {
  display: grid;
  align-items: start;
  gap: 3rem;
  margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .donate-grid {
    grid-template-columns: minmax(0, 1fr) 23.5rem;
    gap: 4rem;
    margin-top: 3.5rem;
  }
}
.form-step {
  padding-top: 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.form-step:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.form-step > h2 {
  margin-bottom: 1.5rem;
}
.form-step .intro {
  margin: -0.9rem 0 1.5rem;
  color: var(--ink-soft);
}
.stack-lg > * + * {
  margin-top: 1.75rem;
}
.amount-input {
  position: relative;
  max-width: 20rem;
}
.amount-input span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--ink-soft);
  pointer-events: none;
}
.amount-input .field {
  padding-left: 3.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.dest {
  display: grid;
  gap: 0.5rem;
}
.dest .tile {
  gap: 1rem;
  padding: 1rem;
}
.dest__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--lake-soft);
  color: var(--lake);
  overflow: hidden;
}
.dest__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.dest__body {
  flex: 1;
  min-width: 0;
}
.dest__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 1rem;
}
.dest__name {
  font-weight: 700;
}
.dest__togo {
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.dest__togo.done {
  font-weight: 700;
  color: var(--ink);
}
.dest__sub {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}
.dest .pbar {
  margin-top: 0.6rem;
}
.more-btn {
  margin-top: 1rem;
}

.pay-grid {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .pay-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.pay-grid .tile {
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
}
.pay-grid .ic {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--lake);
  margin-top: 0.1rem;
}
.pay-grid small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.panel-safe {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: var(--r-tile);
  background: var(--lake-mist);
}
.panel-safe .ic {
  color: var(--lake);
  margin-top: 0.15rem;
  width: 1.5rem;
  height: 1.5rem;
}
.panel-safe p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}
.panel-safe strong {
  color: var(--ink);
}
.panel-bank {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
}
@media (min-width: 640px) {
  .panel-bank {
    padding: 1.5rem;
  }
}
.kv {
  margin: 1rem 0 0;
  border-block: 1px solid var(--line);
}
.kv > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.kv > div:first-child {
  border-top: 0;
}
.kv dt {
  font-weight: 400;
  color: var(--ink-soft);
}
.kv dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-align: right;
}
.kv .acct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.file-drop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  border-style: dashed;
}
.file-drop .ic {
  color: var(--lake);
}
.file-drop span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}
.file-drop.has-file span {
  color: var(--ink);
}
.submit-area {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.form-banner {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-tile);
  background: var(--clay-soft);
  color: var(--clay);
  font-weight: 600;
}
.submit-btn {
  width: 100%;
  padding-block: 1.1rem;
  font-size: 1.1rem;
}
.submit-btn .amt {
  font-weight: 400;
  opacity: 0.75;
}
@media (min-width: 640px) {
  .submit-btn {
    width: auto;
    min-width: 22rem;
  }
}
.submit-note {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.spinner {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 2px solid rgba(18, 33, 29, 0.25);
  border-top-color: var(--ink);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.summary {
  position: relative;
  
}
.compaign-summary {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media (min-width: 1024px) {
  .summary {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}
.summary__card {
  border-radius: var(--r-photo);
  background: var(--lake-deep);
  color: #fff;
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .summary__card {
    padding: 2rem;
  }
}
.summary__card h2 {
  font-family: var(--font-sans) !important;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.summary__amount {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.summary__freq {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}
.summary__dl {
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 0.9rem;
  font-size: 0.95rem;
}
.summary__dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.summary__dl dt {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}
.summary__dl dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.summary__progress {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.summary__progress p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
.summary__progress p strong {
  color: #fff;
}
.next-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
@media (min-width: 640px) {
  .next-card {
    padding: 1.75rem;
  }
}
.next-card ol {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.next-card li {
  display: flex;
  gap: 0.9rem;
}
.next-card .n {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--lake-soft);
  color: var(--lake);
  font-size: 0.875rem;
  font-weight: 800;
}
.help-box {
  margin-top: 1.5rem;
  padding-inline: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.help-box p {
  margin: 0.4rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.help-box p:first-child {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.help-box .ic {
  color: var(--lake);
}
.help-box a {
  font-weight: 700;
  color: var(--ink) !important;
  text-decoration: none;
}
.help-box a:hover {
  text-decoration: underline;
}

.donate-more {
  display: grid;
  gap: 3.5rem;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .donate-more {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    margin-top: 7rem;
    padding-top: 5rem;
  }
}
.who {
  margin: 1.5rem 0 0;
  border-block: 1px solid var(--line);
}
.who > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
}
.who > div:first-child {
  border-top: 0;
}
.who dt {
  font-weight: 400;
  color: var(--ink-soft);
}
.who dd {
  margin: 0;
  font-weight: 700;
}
.faq-list {
  margin-top: 1.5rem;
  border-block: 1px solid var(--line);
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 0;
}
.faq-item > summary {
  padding-inline: 0;
}
.faq-item p {
  margin: 0;
  padding-bottom: 1.25rem;
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: #fff;
  border-top: 1px solid var(--line);
}
.mobile-bar p {
  margin: 0;
  line-height: 1.2;
}
.mobile-bar strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.mobile-bar span {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
body.has-mobile-bar {
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }
  body.has-mobile-bar {
    padding-bottom: 0;
  }
}

/* 14. Theme bridge for the older Bootstrap pages ---------------------------
   About, programmes, projects, news, events and the other inner pages still use
   Bootstrap markup. These overrides give them the new fonts and colours and
   remove every shadow, so the whole site reads as one. */
body.site {
  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--ink);
  --bs-primary: #0f5a4a;
  --bs-primary-rgb: 15, 90, 74;
  --bs-success: #0f5a4a;
  --bs-success-rgb: 15, 90, 74;
  --bs-warning: #ffb81c;
  --bs-warning-rgb: 255, 184, 28;
  --bs-danger: #b93a26;
  --bs-danger-rgb: 185, 58, 38;
  --bs-dark: #12211d;
  --bs-dark-rgb: 18, 33, 29;
  --bs-link-color: #0f5a4a;
  --bs-link-color-rgb: 15, 90, 74;
  --bs-link-hover-color: #0a3a31;
  --bs-link-hover-color-rgb: 10, 58, 49;
  --bs-border-color: #d6e2dc;
  --bs-box-shadow: none;
  --bs-box-shadow-sm: none;
  --bs-box-shadow-lg: none;
  --bs-box-shadow-inset: none;
  --site-primary: #0f5a4a;
  --site-primary-dark: #0a3a31;
  --site-primary-darker: #0a3a31;
  --site-primary-light: #f3f8f5;
  --site-primary-subtle: #e6f0ec;
  --site-accent: #eba200;
  --site-accent-dark: #c98a00;
  --site-accent-light: #fff3d1;
  --site-accent-glow: transparent;
  --site-dark: #0a3a31;
  --site-dark-surface: #0f5a4a;
  --site-text: #12211d;
  --site-text-light: #51605b;
  --site-heading: #12211d;
  --site-border: #d6e2dc;
  --site-gradient-primary: #0f5a4a;
  --site-gradient-hero: linear-gradient(
    180deg,
    rgba(10, 58, 49, 0.88) 0%,
    rgba(10, 58, 49, 0.7) 50%,
    rgba(10, 58, 49, 0.92) 100%
  );
  --site-gradient-dark: #0a3a31;
  --site-gradient-emerald: #0a3a31;
  --site-shadow-xs: none;
  --site-shadow-sm: none;
  --site-shadow-md: none;
  --site-shadow-lg: none;
}
body.site .site-main *,
body.site .site-main *::before,
body.site .site-main *::after {
  box-shadow: none !important;
}
body.site .site-main :where(.btn, .card, .form-control, .form-select) {
  font-family: var(--font-sans);
}
body.site .site-main .btn-primary {
  --bs-btn-bg: #0f5a4a;
  --bs-btn-border-color: #0f5a4a;
  --bs-btn-hover-bg: #0a3a31;
  --bs-btn-hover-border-color: #0a3a31;
  --bs-btn-active-bg: #0a3a31;
  --bs-btn-active-border-color: #0a3a31;
  --bs-btn-disabled-bg: #0f5a4a;
  --bs-btn-disabled-border-color: #0f5a4a;
}
body.site .site-main .btn-outline-primary {
  --bs-btn-color: #0f5a4a;
  --bs-btn-border-color: #0f5a4a;
  --bs-btn-hover-bg: #0f5a4a;
  --bs-btn-hover-border-color: #0f5a4a;
  --bs-btn-active-bg: #0f5a4a;
  --bs-btn-active-border-color: #0f5a4a;
}
body.site .site-main .btn-warning,
body.site .site-main .btn-donate-pulse {
  --bs-btn-bg: #ffb81c;
  --bs-btn-border-color: #ffb81c;
  --bs-btn-hover-bg: #eba200;
  --bs-btn-hover-border-color: #eba200;
  --bs-btn-color: #12211d;
  --bs-btn-hover-color: #12211d;
  background: #ffb81c;
  color: #12211d;
  border-color: #ffb81c;
  animation: none;
}
body.site .site-main .btn-donate-pulse:hover {
  background: #eba200;
}
body.site .site-main .card {
  border-color: var(--line);
  border-radius: var(--r-panel);
}
body.site .site-main .form-control,
body.site .site-main .form-select {
  border-color: var(--line);
  border-radius: var(--r-input);
  font-size: 1rem !important;
}
body.site .site-main .form-control:focus,
body.site .site-main .form-select:focus {
  border-color: var(--lake);
  outline: 3px solid rgba(15, 90, 74, 0.2);
}
body.site .site-main .form-control::placeholder {
  font-size: 0.95rem;
}
body.site .site-main .progress {
  background: var(--lake-soft);
}
body.site .site-main .progress-bar {
  background: var(--lake);
}
body.site .site-main .text-primary {
  color: var(--lake) !important;
}
body.site .site-main .bg-primary {
  background-color: var(--lake) !important;
}
body.site .site-main .display-1,
body.site .site-main .display-2,
body.site .site-main .display-3,
body.site .site-main .display-4,
body.site .site-main .display-5,
body.site .site-main .display-6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}
