/* ===== Tokens ===== */
:root {
  /* Brand colors taken from the HWC logo */
  --navy: #033662;        /* logo hands, people, "HUMAN" */
  --navy-deep: #02264a;
  --teal: #008ca6;        /* logo center figure, book, "WELFARE COMMUNITY" */
  --teal-deep: #006f85;
  --aqua: #7fd4e4;        /* light tint of the logo teal, for text on navy */
  /* Reserved for giving: donate buttons only */
  --gold: #f2b233;
  --gold-hover: #ffc54d;

  --ink: #0f2438;
  --ink-soft: #4a5d70;
  --paper: #f4f8fa;
  --white: #ffffff;
  --line: #d5e2ea;
  --marigold: var(--gold);

  --english: #007a91;
  --multicultural: #b4532a;
  --civic: #033662;
  --stress: #3d8a68;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --radius-s: 6px;
  --radius-l: 20px;
  --wrap: 1120px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; }

:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .donate :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary, .btn-teal { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover, .btn-teal:hover { background: #005a6c; }
.btn-donate {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 0 0 0 rgba(242, 178, 51, .6);
}
.btn-donate:hover { background: var(--gold-hover); }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .75); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-large { font-size: 1.15rem; padding: 1.05rem 2rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 248, 250, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-logo { width: 56px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.1; color: var(--navy); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal-deep); }
.site-nav .nav-link-strong { color: var(--teal-deep); }
.site-nav .nav-donate {
  background: var(--gold); color: var(--navy);
  padding: .55rem 1.25rem; border-radius: 999px;
}
.site-nav .nav-donate:hover { background: var(--gold-hover); color: var(--navy); }

.nav-toggle { display: none; }
.header-donate-mobile { display: none; }

@media (max-width: 980px) {
  .header-donate-mobile {
    display: inline-block; margin-left: auto; margin-right: .5rem;
    background: var(--gold); color: var(--navy); font-weight: 700;
    text-decoration: none; padding: .45rem 1rem; border-radius: 999px;
  }
  .site-nav .nav-donate { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 22px; height: 2px; background: var(--ink); position: relative;
    transition: transform .2s ease;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-donate { margin-top: 1rem; text-align: center; border-bottom: 0; }
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 85% 40%, rgba(0, 140, 166, .45), transparent 55%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
  border-bottom: 6px solid var(--teal);
}
.hero-inner {
  padding-block: clamp(3rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-mark { width: 100%; max-width: 380px; height: auto; justify-self: center; opacity: .95; }
.hero-call { margin: 1.5rem 0 0; color: #c7d8e6; }
.hero-call a { color: var(--white); font-weight: 700; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}
.hero-greeting {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 13vw, 9.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--aqua);
  min-height: 1em;
}
.greeting-word { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.greeting-word.is-leaving { opacity: 0; transform: translateY(-.15em); }
.greeting-word.is-entering { opacity: 0; transform: translateY(.15em); }

.hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  max-width: 18ch;
}
.hero-lede {
  max-width: 58ch;
  font-size: 1.15rem;
  color: #d4e3ef;
  margin: 1.25rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ===== Section shared ===== */
.section-title { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
.section-intro { color: var(--ink-soft); max-width: 55ch; margin: .75rem 0 0; }

/* ===== Services ===== */
.services { padding-block: clamp(3.5rem, 8vw, 6rem); }
.program-grid {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.program-card {
  --c: var(--english);
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--c);
  border-radius: var(--radius-l); padding: 1.5rem 1.4rem 1.25rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.program-card:hover { box-shadow: 0 10px 28px rgba(3, 54, 98, .10); transform: translateY(-2px); }
.program-card.is-open { box-shadow: 0 0 0 2px var(--c); }
.program-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 12%, white); color: var(--c);
}
.program-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.program-title { font-size: 1.3rem; font-weight: 700; margin: 1.1rem 0 .5rem; color: var(--ink); }
.program-text { color: var(--ink-soft); margin: 0 0 1.25rem; flex: 1; }
.program-more {
  font: inherit; font-weight: 700; color: var(--c); background: none; border: 0; padding: .25rem 0;
  cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
}
.program-more:hover { text-decoration: underline; }
.program-chevron {
  width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.program-more[aria-expanded="true"] .program-chevron { transform: rotate(-135deg) translateY(-2px); }
.program-panels { margin-top: 1.5rem; }
.panel-cta { margin-top: 1.75rem; }

.program-card .service-panel { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.25rem 0 0; margin-top: 1rem; width: 100%; }
.program-card .service-panel h3 { display: none; }
@media (max-width: 1000px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .program-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .program-card, .program-chevron { transition: none; } .program-card:hover { transform: none; } }

.service-panel {
  --c: var(--english);
  background: var(--white);
  border-radius: var(--radius-l);
  border-top: 8px solid var(--c);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.theme-multicultural { --c: var(--multicultural); }
.theme-civic { --c: var(--civic); }
.theme-stress { --c: var(--stress); }

.service-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--c); }
.panel-lede { font-size: 1.15rem; max-width: 62ch; margin: 1rem 0; }
.service-panel > p { max-width: 62ch; }

.benefits {
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.benefits div { border-top: 2px solid var(--line); padding-top: 1rem; }
.benefits dt { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--c); }
.benefits dd { margin: .4rem 0 0; color: var(--ink-soft); }


/* ===== Team ===== */
.team { background: var(--white); padding-block: clamp(3.5rem, 8vw, 6rem); border-block: 1px solid var(--line); }
.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.team-more {
  font-weight: 700; text-decoration: none; color: var(--teal-deep);
  border-bottom: 2px solid currentColor; padding-bottom: 2px; white-space: nowrap;
}
.team-more:hover { color: var(--navy); }
.team-group { margin-top: 2.5rem; }
.team-group-title {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--teal-deep);
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem;
}
.team-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.team-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 900px) { .team-groups { grid-template-columns: 1fr; } .team-grid { max-width: 560px; } }
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1rem 1rem 1.25rem; }

/* Photo with initials fallback (shown when team/<name>.jpg isn't uploaded yet) */
.team-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--teal-deep));
}
.team-photo::before {
  content: attr(data-initials); position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
}
.team-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(15, 36, 56, .12); pointer-events: none; }

.team-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin: 1rem 0 .15rem; color: var(--ink); }
.team-role { margin: 0; color: var(--teal-deep); font-weight: 700; }

/* ===== Team page ===== */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 6px solid var(--teal); }
.page-eyebrow { margin: 0 0 .75rem; color: #c7d8e6; }
.page-eyebrow a { color: var(--white); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.page-hero .hero-lede { margin-bottom: 0; }
.team-page { border-top: 0; }
.team-page .team-group:first-child { margin-top: 0; }
.bio-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.bio-card {
  display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.25rem;
}
.bio-card .team-name { margin-top: .25rem; font-size: 1.35rem; }
.bio-text { color: var(--ink-soft); margin: .75rem 0 0; }
@media (max-width: 960px) { .bio-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .bio-card { grid-template-columns: 1fr; }
  .bio-card .team-photo { max-width: 240px; }
  .team-grid { gap: 1rem; }
  .team-card { padding: .75rem .75rem 1rem; }
  .team-photo::before { font-size: 2.2rem; }
  .team-name { font-size: 1.05rem; }
}

/* ===== Contact ===== */
.contact { padding-block: clamp(3.5rem, 8vw, 6rem); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-copy p { color: var(--ink-soft); max-width: 45ch; }
.contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-lines li { display: flex; flex-direction: column; padding: .9rem 0; border-top: 1px solid var(--line); }
.contact-lines span { font-size: .9rem; color: var(--ink-soft); }
.contact-lines a { font-weight: 700; font-size: 1.1rem; word-break: break-word; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { font-weight: 700; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: .75rem .85rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid var(--teal); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-error { color: #b3261e; font-weight: 700; margin: 0 0 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  margin: 1rem 0 0; padding: .9rem 1rem; border-radius: var(--radius-s);
  background: #e3f4f0; color: #1f5f45; font-weight: 700; border-left: 4px solid #3d8a68;
}
.btn[disabled] { opacity: .65; cursor: wait; }
.form-note { font-size: .9rem; color: var(--ink-soft); margin: .9rem 0 0; }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: #c7d8e6; padding-block: 2.5rem; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-logo { width: 120px; height: auto; }
.footer-text { flex: 1 1 280px; }
.footer-text p { margin: .2rem 0; }
.footer-text a { color: var(--white); word-break: break-word; }

/* ===== Donate band ===== */
.donate {
  background: var(--teal-deep);
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.donate-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.donate .section-title { color: var(--white); }
.donate-copy p { font-size: 1.15rem; max-width: 52ch; margin: .9rem 0 0; color: #e3f4f8; }
.donate-action { justify-self: end; text-align: center; }
.donate-note { font-size: .9rem; margin: .8rem 0 0; color: #d3eef4; }
@media (max-width: 760px) {
  .donate-inner { grid-template-columns: 1fr; }
  .donate-action { justify-self: start; text-align: left; }
}

/* One gentle pulse on the donate button when the donate band scrolls into view */
.btn-donate.is-pulsing { animation: donate-pulse 1.6s ease-out 2; }
@keyframes donate-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 178, 51, .65); }
  100% { box-shadow: 0 0 0 18px rgba(242, 178, 51, 0); }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-donate.is-pulsing { animation: none; }
  .greeting-word, .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { transition: none; }
}

/* Single-column benefit lists on narrow screens and inside cards */
@media (max-width: 640px) { .service-panel .benefits { grid-template-columns: 1fr; } }
.program-card .benefits { grid-template-columns: 1fr; gap: 1rem; }

/* ===== How We Help ===== */
.how { background: var(--white); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem); }
.steps {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  counter-reset: step; position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: calc(33.333% - 28px);
  border-top: 2px dashed var(--line);
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 0 0 6px var(--white);
}
.step:nth-child(2) .step-num { background: var(--teal-deep); }
.step:nth-child(3) .step-num { background: var(--stress); }
.step-label { margin: 1.1rem 0 .15rem; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.step-title { font-size: 1.35rem; font-weight: 700; margin: 0 0 .5rem; color: var(--ink); }
.step-text { margin: 0; color: var(--ink-soft); max-width: 32ch; }
.step-link { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--teal-deep); text-decoration: none; }
.step-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; }
  .step-num { grid-row: span 4; }
  .step-label { margin-top: .35rem; }
}

/* ===== Footer additions ===== */
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-nav a { color: var(--white); text-decoration: none; font-weight: 700; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--aqua); text-decoration: underline; }
.footer-copy { margin: 0; }

/* ===== Legal pages ===== */
.legal { background: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal-inner > * { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin: 2.25rem 0 .6rem; color: var(--navy); }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }

/* ===== Program detail panels ===== */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; margin-top: 1.75rem; }
.panel-block h4 {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c); margin: 0 0 .75rem;
}
.panel-block h4 ~ h4 { margin-top: 1.75rem; }
.panel-block p { color: var(--ink-soft); margin: 0 0 .75rem; max-width: 52ch; }
.learn-list { list-style: none; margin: 0; padding: 0; }
.learn-list li { position: relative; padding: .55rem 0 .55rem 2rem; border-top: 1px solid var(--line); }
.learn-list li:last-child { border-bottom: 1px solid var(--line); }
.learn-list li::before {
  content: ""; position: absolute; left: .2rem; top: .95rem; width: .9rem; height: .5rem;
  border-left: 2.5px solid var(--c); border-bottom: 2.5px solid var(--c); transform: rotate(-45deg);
}
.panel-block .panel-cta { margin-top: .5rem; }
@media (max-width: 760px) { .panel-grid { grid-template-columns: 1fr; } }
.program-card .panel-grid { grid-template-columns: 1fr; margin-top: 1rem; }

/* ===== Form: two fields side by side ===== */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }

/* ===== Required field markers ===== */
.req { color: #c62828; font-weight: 700; }
.form-required-note { margin: 0 0 1.1rem; font-size: .9rem; color: var(--ink-soft); }

/* ===== Donate section details ===== */
.donate-list-title { font-weight: 700; color: var(--white) !important; margin-top: 1.5rem !important; }
.donate-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; max-width: 560px; }
.donate-list li { position: relative; padding-left: 1.7rem; color: #e3f4f8; }
.donate-list li::before {
  content: ""; position: absolute; left: .15rem; top: .45rem; width: .8rem; height: .45rem;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg);
}
.donate-flow {
  list-style: none; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255, 255, 255, .22);
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
}
.donate-flow li {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; color: var(--white);
}
.donate-flow li:not(:last-child)::after { content: "→"; color: var(--gold); font-size: 1.2rem; }
.donate-flow li:first-child span { background: var(--gold); color: var(--navy); padding: .35rem .9rem; border-radius: 999px; }
@media (max-width: 560px) {
  .donate-list { grid-template-columns: 1fr; }
  .donate-flow { flex-direction: column; align-items: flex-start; }
  .donate-flow li:not(:last-child)::after { content: "↓"; }
  .donate-flow li { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .donate-flow li:not(:last-child)::after { margin-left: .9rem; }
}

/* Align the step links on one line (desktop) */
@media (min-width: 761px) {
  .step { display: flex; flex-direction: column; align-items: flex-start; }
  .step-text { flex: 1; }
  .step-link { margin-top: 1.1rem; }
}

/* ===== Small-screen fixes ===== */
/* Let grid columns shrink so long words (the email address) can't widen the page */
.contact-inner > *, .donate-inner > *, .hero-inner > *, .board-inner > * { min-width: 0; }
/* Long email addresses wrap instead of running off the screen */
.contact-lines a, .footer-text a, .legal a { overflow-wrap: anywhere; }
/* Bigger tap targets for phone and email links */
.contact-lines a, .footer-text a { display: inline-block; padding-block: .45rem; }
.contact-lines li { padding-block: .45rem; }
/* Very narrow phones: keep the header from overlapping */
@media (max-width: 400px) {
  .brand { gap: .5rem; min-width: 0; }
  .brand-logo { width: 44px; }
  .brand-name { font-size: .9rem; }
  .header-donate-mobile { padding: .4rem .8rem; margin-right: .25rem; font-size: .95rem; }
}
@media (max-width: 340px) {
  .brand-name { display: none; }
}
