/* ==========================================================================
   HTHH — Heads Together to Help Haitians
   Design tokens

   Palette is the logo's palette: Haitian flag blue and red on white, with a
   warm cream ground. No third hue — where the dark sections need lift, they
   use --chalk (a light tint of the brand blue) rather than a new colour.
   ========================================================================== */
:root {
  --navy:        #163a80;
  --navy-900:    #0f2757;
  --navy-700:    #1c4494;
  --navy-600:    #2450a8;
  --navy-500:    #3a67c4;
  --red:         #d92318;
  --red-700:     #b31a11;
  --chalk:       #c9d9f7;
  --cream:       #faf5ec;
  --cream-alt:   #f1e8d8;
  --white:       #ffffff;
  --focus:       #d92318;
  --focus-dark:  #cfe0ff;

  --ink:         #2c3038;
  --ink-soft:    #565c68;
  --line:        rgba(15, 39, 87, .12);

  --shadow-sm:   0 1px 2px rgba(15,39,87,.05), 0 4px 14px rgba(15,39,87,.06);
  --shadow-md:   0 2px 6px rgba(15,39,87,.06), 0 18px 44px rgba(15,39,87,.10);
  --shadow-lg:   0 8px 20px rgba(15,39,87,.10), 0 30px 70px rgba(15,39,87,.14);

  --radius:      18px;
  --radius-sm:   12px;
  --radius-pill: 999px;

  --maxw:        1140px;
  --gutter:      clamp(20px, 5vw, 40px);
  --section-y:   clamp(64px, 9vw, 112px);

  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

/* The `hidden` attribute is only `display:none` in the browser's own stylesheet,
   so ANY author rule that sets `display` silently defeats it. `.seal{display:block}`
   did exactly that, and three unearned accountability badges appeared on the page
   as broken images despite being marked hidden. Anything hidden stays hidden. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

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

a { color: var(--navy); text-decoration: none; }

::selection { background: var(--chalk); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Red rings vanish against the dark bands — switch to a light tint there. */
.hero :focus-visible,
.section--navy :focus-visible,
.site-footer :focus-visible,
.quote :focus-visible { outline-color: var(--focus-dark); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--alt  { background: var(--cream-alt); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Section headers ---------------------------------------------------------- */
.eyebrow {
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .75rem;
}
.section--navy .eyebrow { color: var(--chalk); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); }
.section-head .lede {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.09rem);
  color: var(--ink-soft);
}
.section--navy .section-head .lede { color: rgba(255,255,255,.78); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .92rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
              color .18s ease, border-color .18s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(217,35,24,.34); }
.btn--red:hover { background: var(--red-700); box-shadow: 0 10px 26px rgba(217,35,24,.42); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(15,39,87,.28); }
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 10px 26px rgba(15,39,87,.36); }

.btn--white { background: var(--white); color: var(--red); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.btn--white:hover { background: var(--cream); color: var(--red-700); }

.btn--cream { background: var(--cream-alt); color: var(--navy); }
.btn--cream:hover { background: #e6d9c2; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

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

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15,39,87,.07);
}

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

/* Brand */
.brand { display: flex; align-items: center; gap: .8rem; }
/* Placeholder mark: a plain typographic disc, standing in until the real HTHH
   logo file is dropped in. Swapping the <span> for an <img class="brand__mark">
   needs no CSS change — the img rules below take over. */
.brand__mark {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 900;
  font-size: .68rem;
  letter-spacing: .04em;
  box-shadow: 0 3px 12px rgba(15,39,87,.16);
}
img.brand__mark {
  background: var(--white);
  object-fit: contain;
  padding: 2px;
}
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--navy);
  line-height: 1.1;
}
.brand__tag {
  font-size: .74rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-top: 2px;
}

/* Language switcher + mobile toggle share the right-hand slot */
.header-right { display: flex; align-items: center; gap: .5rem; order: 3; }

.lang { position: relative; display: flex; align-items: center; }
.lang__icon {
  width: 17px;
  height: 17px;
  position: absolute;
  left: .6rem;
  color: var(--ink-soft);
  pointer-events: none;
}
.lang select {
  appearance: none;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .5rem 1.9rem .5rem 2rem;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
  /* caret */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='none' stroke='%23565c68' stroke-width='1.8' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
}
.lang select:hover { border-color: var(--navy-500); background-color: rgba(255,255,255,.5); }

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.9rem); order: 2; }
.nav__link {
  position: relative;
  font-size: .93rem;
  font-weight: 700;
  color: var(--navy);
  padding: .35rem 0;
  transition: color .18s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--red); }

.nav__cta { margin-left: .4rem; padding: .68rem 1.35rem; font-size: .88rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(15,39,87,.06); }
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 48%, var(--navy) 100%);
  color: rgba(255,255,255,.88);
  padding-block: clamp(64px, 10vw, 116px) clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 620px;
  height: 620px;
  top: -240px;
  right: -180px;
  background: radial-gradient(circle, rgba(58,103,196,.42), transparent 66%);
}
.hero::after {
  width: 560px;
  height: 560px;
  bottom: -280px;
  left: -200px;
  background: radial-gradient(circle, rgba(217,35,24,.3), transparent 66%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-pill);
  padding: .5rem 1.1rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.hero__badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--chalk); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6.4vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 0;
  max-width: 15ch;
}
.hero__lede {
  margin-top: 1.4rem;
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  color: rgba(255,255,255,.8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }

/* Stats */
.stats {
  margin-top: clamp(2.75rem, 6vw, 4rem);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  display: grid;
  gap: clamp(.8rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.6rem) 1rem;
  text-align: center;
  transition: background-color .22s ease, transform .22s ease;
}
.stat:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.3vw, 2.1rem);
  color: var(--chalk);
  line-height: 1.1;
}
.stat__label {
  margin-top: .55rem;
  font-size: .8rem;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}

/* ==========================================================================
   Quote banner
   ========================================================================== */
.quote-band { background: var(--cream); padding-block: clamp(48px, 7vw, 80px); }
.quote {
  position: relative;
  /* Echoes the blue-to-red gradient of the island inside the logo mark. */
  background: linear-gradient(158deg, var(--navy-600) 0%, var(--navy) 34%, #8d2a45 68%, var(--red) 100%);
  border-radius: 26px;
  padding: clamp(2.75rem, 7vw, 5.25rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin: 0;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 16px;
  pointer-events: none;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: .6;
  color: rgba(255,255,255,.35);
  display: block;
  margin-bottom: .6rem;
}
.quote blockquote {
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 2.15rem);
  line-height: 1.34;
  color: #fff;
  max-width: 22ch;
}
.quote figcaption {
  margin-top: 1.5rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

/* ==========================================================================
   Founder card
   ========================================================================== */
.founder {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 560px;
}
.founder__avatar {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-900));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
}
.founder__name {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.08rem;
}
.founder__role { font-size: .87rem; color: var(--ink-soft); margin-top: 2px; }

/* ==========================================================================
   Story + Mission / Vision
   ========================================================================== */
.story__body { max-width: 74ch; margin-top: 1.5rem; color: var(--ink-soft); }
.story__body p { font-size: 1.03rem; }
.story__body strong { color: var(--navy); }

.pillars {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--navy);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar--vision { border-top-color: var(--red); }
.pillar h3 { font-size: 1.32rem; margin-bottom: .8rem; }
.pillar p { color: var(--ink-soft); font-size: .99rem; }

/* ==========================================================================
   Programs
   ========================================================================== */
.programs {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.program {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.program:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.program__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: #fff;
}
.program__icon svg { width: 26px; height: 26px; }
.icon--navy { background: linear-gradient(150deg, var(--navy-600), var(--navy)); }
.icon--red  { background: linear-gradient(150deg, #e8382c, var(--red-700)); }
.program h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.program p  { color: var(--ink-soft); font-size: .96rem; }

/* ==========================================================================
   Who we serve — impact tiles
   ========================================================================== */
.impact {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.impact__item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem) 1.25rem;
  text-align: center;
  transition: background-color .22s ease, transform .22s ease;
}
.impact__item:hover { background: rgba(255,255,255,.11); transform: translateY(-4px); }
.impact__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(201,217,247,.16);
  display: grid;
  place-items: center;
  color: var(--chalk);
}
.impact__icon svg { width: 24px; height: 24px; }
.impact__item p { font-size: .95rem; color: rgba(255,255,255,.8); }

/* ==========================================================================
   Get involved
   ========================================================================== */
.involve {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.involve__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.involve__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.involve__card h3 { font-size: 1.32rem; margin-bottom: .7rem; }
.involve__card p  { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1.6rem; }
.involve__card .btn { margin-top: auto; align-self: flex-start; }

.involve__card--donate {
  background: linear-gradient(155deg, #cf3b31, var(--red-700));
  color: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(217,35,24,.3);
}
.involve__card--donate h3 { color: #fff; }
.involve__card--donate p  { color: rgba(255,255,255,.9); }

/* ==========================================================================
   Donate — ways to give
   ========================================================================== */
.give {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.give__card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.8vw, 1.8rem);
  display: flex;
  flex-direction: column;
  transition: background-color .22s ease, transform .22s ease;
}
.give__card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }

.give__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.give__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: rgba(201,217,247,.16);
  color: var(--chalk);
  display: grid;
  place-items: center;
}
.give__icon svg { width: 21px; height: 21px; }
.give__card h3 { font-size: 1.15rem; color: #fff; }
.give__card > p {
  font-size: .93rem;
  color: rgba(255,255,255,.76);
  margin-bottom: 1.3rem;
}

/* Identifier row sits at the card foot so every card lines up. */
.give__value {
  margin-top: auto;
  display: flex;
  align-items: stretch;
  gap: .5rem;
}
.give__value code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88rem;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: .6rem .75rem;
  color: #fff;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
}
/* Unfilled fields read as clearly provisional, never as a real address. */
.give__value code[data-placeholder] {
  color: rgba(255,255,255,.55);
  font-style: italic;
  font-family: var(--sans);
  border-style: dashed;
}
/* A postal address wants its real line breaks, on screen and on the clipboard. */
.give__value--address code {
  display: block;
  white-space: pre-line;
  line-height: 1.5;
  padding: .55rem .75rem;
}
.give__copy {
  flex: none;
  font-family: var(--sans);
  font-weight: 900;
  font-size: .8rem;
  color: var(--navy);
  background: var(--chalk);
  border: 0;
  border-radius: 10px;
  padding: 0 .9rem;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.give__copy:hover:not(:disabled) { background: #fff; }
.give__copy:disabled { opacity: .35; cursor: not-allowed; }
.give__copy.is-done { background: #7ee0a8; color: #0d3d22; }

.btn--sm { padding: .6rem 1.2rem; font-size: .84rem; }

.give__note {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(217,35,24,.16);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .9rem 1.15rem;
  font-size: .87rem;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}
.give__note strong { color: #fff; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.contact-info h3 { font-size: 1.42rem; margin-bottom: 1.6rem; }

.contact-list { margin: 0; padding: 0; display: grid; gap: 1.35rem; }
.contact-list > div { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: rgba(217,35,24,.1);
  color: var(--red);
  display: grid;
  place-items: center;
}
.contact-list__icon svg { width: 19px; height: 19px; }
.contact-list dt { font-weight: 900; color: var(--navy); font-size: .93rem; }
/* The contact email is long; let it wrap rather than push the column wide. */
.contact-list dd {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: .97rem;
  overflow-wrap: anywhere;
}
.contact-list > div { min-width: 0; }
.contact-list > div > div { min-width: 0; }
.contact-list a { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.contact-list a:hover { color: var(--red); border-bottom-color: var(--red); }

.note {
  margin-top: 1.8rem;
  background: rgba(217,35,24,.08);
  border: 1px solid rgba(217,35,24,.32);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-size: .86rem;
  line-height: 1.55;
  color: #8e1b13;
}

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.form-card--wide { max-width: 780px; margin-inline: auto; }

/* Two fields side by side, stacking on narrow screens. */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.1rem;
}

.field { margin-bottom: 1.25rem; }
.field__opt { font-weight: 400; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }

/* Checkbox groups ---------------------------------------------------------- */
.checks {
  border: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  min-width: 0;
}
.checks legend {
  padding: 0;
  font-weight: 900;
  font-size: .84rem;
  color: var(--navy);
  margin-bottom: .7rem;
}
.checks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem 1.1rem;
}
.checks__grid--tight { grid-template-columns: repeat(2, 1fr); }
.checks__grid label {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .94rem;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  padding: .3rem 0;
}
.checks__grid input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: .12rem;
  accent-color: var(--red);
  cursor: pointer;
}
.checks__grid label:hover { color: var(--navy); }
.field label {
  display: block;
  font-weight: 900;
  font-size: .84rem;
  color: var(--navy);
  margin-bottom: .45rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0ac; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23565c68' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy-500);
  box-shadow: 0 0 0 4px rgba(53,88,154,.14);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field__error { display: none; margin-top: .4rem; font-size: .82rem; font-weight: 700; color: var(--red); }
.field.has-error .field__error { display: block; }

.form-status {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 700;
  background: rgba(34,120,72,.12);
  color: #1f6b42;
  border: 1px solid rgba(34,120,72,.3);
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  background: rgba(217,35,24,.1);
  color: var(--red-700);
  border-color: rgba(217,35,24,.35);
}
.form-status a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }

/* Honeypot: off-screen for sighted users, still reachable to bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding-block: clamp(48px, 7vw, 76px) 0;
}
.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1.6fr 1fr 1fr;
}
.site-footer .brand__name { color: #fff; }

/* Full logo lockup on a white plaque — the artwork has a white ground, so it
   needs one to sit on against the navy footer. */
.footer-lockup {
  display: inline-block;
  background: var(--white);
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.24);
}
.footer-lockup img {
  width: 100%;
  max-width: 230px;
  height: auto;
  border-radius: 10px;
}
/* Navy-on-navy would vanish in the footer — flip the placeholder disc. */
.site-footer .brand__mark {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(0,0,0,.28);
}
.footer__about {
  margin-top: 1.1rem;
  font-size: .94rem;
  color: rgba(255,255,255,.68);
  max-width: 44ch;
}

.footer-col h3 {
  color: #fff;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a {
  color: rgba(255,255,255,.72);
  font-size: .94rem;
  transition: color .18s ease, padding-left .18s ease;
}
.footer-col a:hover { color: var(--chalk); padding-left: 4px; }

.footer-bottom {
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.5rem 1.75rem;
  text-align: center;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom .starter-note {
  margin-top: .5rem;
  font-size: .79rem;
  color: rgba(255,255,255,.42);
  max-width: 70ch;
  margin-inline: auto;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .programs { grid-template-columns: repeat(2, 1fr); }
  .give     { grid-template-columns: repeat(2, 1fr); }
  .impact   { grid-template-columns: repeat(2, 1fr); }
  .involve  { grid-template-columns: repeat(2, 1fr); }
  .involve__card--partner { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15,39,87,.12);
    padding: .5rem var(--gutter) 1.5rem;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.15rem 0 0; width: 100%; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .checks__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }
  .involve { grid-template-columns: 1fr; }
  .give { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .brand__tag { display: none; }
}

@media (max-width: 480px) {
  .impact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Right-to-left (Arabic)

   Only the things that are directionally wrong need flipping: the page mirrors
   itself from dir="rtl", but absolutely-positioned and background-positioned
   pieces do not, so they are corrected by hand here.
   ========================================================================== */
[dir="rtl"] .lang__icon { left: auto; right: .6rem; }
[dir="rtl"] .lang select {
  padding: .5rem 2rem .5rem 1.9rem;
  background-position: left .8rem center;
}
[dir="rtl"] .field select,
[dir="rtl"] .lang select { direction: rtl; }
[dir="rtl"] .field select { background-position: left 1rem center; padding: .85rem 1rem .85rem 2.4rem; }
[dir="rtl"] .skip-link { left: auto; right: 12px; }
[dir="rtl"] .hp { left: auto; right: -9999px; }
[dir="rtl"] .footer-col a:hover { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .nav__link::after { transform-origin: right; }
[dir="rtl"] .hero h1,
[dir="rtl"] .section-head,
[dir="rtl"] .story__body { text-align: right; }
[dir="rtl"] .section-head--center { text-align: center; }
/* Latin brand name and payment identifiers stay left-to-right inside RTL text. */
[dir="rtl"] .brand__name,
[dir="rtl"] .give__value code,
[dir="rtl"] .contact-list dd a { direction: ltr; text-align: left; unicode-bidi: embed; }

@media print {
  .site-header, .nav-toggle, .hero__actions, .form-card { display: none; }
  body { background: #fff; }
}

/* Told to people at the point they hand over their details, not buried. */
.form-privacy {
  margin-top: .9rem;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: center;
}

/* ==========================================================================
   FAQ — native <details> so it works with no JS and is keyboard-operable
   ========================================================================== */
.faq {
  max-width: 800px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--navy);
  transition: color .18s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red); }
/* Plus sign that becomes a minus when open */
.faq__item summary::after {
  content: "";
  position: absolute;
  right: .4rem;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6px;
  background:
    linear-gradient(var(--red), var(--red)) center/13px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center/2px 13px no-repeat;
  transition: transform .25s ease;
}
.faq__item[open] summary::after {
  background: linear-gradient(var(--red), var(--red)) center/13px 2px no-repeat;
  transform: rotate(180deg);
}
.faq__a {
  padding: 0 2.5rem 1.4rem 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}
[dir="rtl"] .faq__item summary { padding: 1.25rem 0 1.25rem 2.5rem; }
[dir="rtl"] .faq__item summary::after { right: auto; left: .4rem; }
[dir="rtl"] .faq__a { padding: 0 0 1.4rem 2.5rem; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.news__lede { color: rgba(255,255,255,.78); margin-top: .9rem; }
.news__form .field { margin-bottom: 0; }
.news__row { display: flex; gap: .6rem; }
.news__row input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.24);
  border-radius: var(--radius-pill);
  padding: .95rem 1.3rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.news__row input::placeholder { color: rgba(255,255,255,.55); }
.news__row input:focus {
  outline: none;
  background: rgba(255,255,255,.16);
  border-color: var(--chalk);
  box-shadow: 0 0 0 4px rgba(201,217,247,.16);
}
.news__row .btn { flex: none; }
.news__form .field.has-error input { border-color: #ff8a80; }
.news__form .field__error { color: #ffc9c4; }
.news__form .form-privacy { color: rgba(255,255,255,.62); text-align: left; }
.news__form .form-status { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.news__form .form-status.is-error { background: rgba(255,138,128,.18); color: #ffd9d5; border-color: rgba(255,138,128,.45); }

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

/* ==========================================================================
   Sticky donate bar — mobile only

   Over half of nonprofit traffic is mobile, and a donate button that stays in
   reach measurably outperforms one buried down the page.
   ========================================================================== */
.donate-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(250, 245, 236, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.donate-bar.is-visible { transform: none; }

@media (max-width: 860px) {
  .donate-bar { display: block; }
  /* Keep the bar from covering the last of the footer. */
  body { padding-bottom: 76px; }
  /* It would sit on top of the contact form's own submit button. */
  body.nav-open .donate-bar { transform: translateY(110%); }
}

@media (max-width: 860px) {
  .news { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .news__row { flex-direction: column; }
  .news__row .btn { width: 100%; }
}

/* ==========================================================================
   Tax receipt request

   Collapsed to a single line by default. A donor who does not need a receipt
   never sees a form; one who does is two taps away.
   ========================================================================== */
.receipt { margin-top: clamp(1.5rem, 3.5vw, 2.25rem); }
.receipt__box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  overflow: hidden;
}
.receipt__box summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.15rem clamp(1.2rem, 2.6vw, 1.8rem);
  font-weight: 900;
  font-size: .98rem;
  color: #fff;
  transition: background-color .18s ease;
}
.receipt__box summary::-webkit-details-marker { display: none; }
.receipt__box summary:hover { background: rgba(255,255,255,.06); }
.receipt__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: rgba(201,217,247,.16);
  color: var(--chalk);
  display: grid;
  place-items: center;
}
.receipt__icon svg { width: 18px; height: 18px; }
/* Chevron that flips when the panel opens */
.receipt__box summary::after {
  content: "";
  margin-inline-start: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--chalk);
  border-bottom: 2px solid var(--chalk);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.receipt__box[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.receipt__body {
  padding: 0 clamp(1.2rem, 2.6vw, 1.8rem) clamp(1.3rem, 2.6vw, 1.8rem);
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.3rem;
}
.receipt__lede {
  font-size: .93rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 1.3rem;
}
/* Form controls sit on the navy band here, not on white. */
.receipt__body .field label { color: #fff; }
.receipt__body .field__opt { color: rgba(255,255,255,.6); }
.receipt__body .field input,
.receipt__body .field select {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.receipt__body .field input::placeholder { color: rgba(255,255,255,.5); }
.receipt__body .field input:focus,
.receipt__body .field select:focus {
  background: rgba(255,255,255,.16);
  border-color: var(--chalk);
  box-shadow: 0 0 0 4px rgba(201,217,247,.16);
}
/* The rule above uses the `background` shorthand, which resets repeat and
   position — so both have to be restated here or the caret tiles. */
.receipt__body .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23c9d9f7' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
[dir="rtl"] .receipt__body .field select { background-position: left 1rem center; }
.receipt__body .field select option { color: var(--ink); }
.receipt__body .field.has-error input { border-color: #ff8a80; }
.receipt__body .field__error { color: #ffc9c4; }
.receipt__body .form-privacy { color: rgba(255,255,255,.62); }
.receipt__body .form-status { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.receipt__body .form-status.is-error { background: rgba(255,138,128,.18); color: #ffd9d5; border-color: rgba(255,138,128,.45); }

.receipt__ein {
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin-bottom: 1rem;
}
.receipt__ein strong { color: #fff; }

[dir="rtl"] .receipt__box summary::after { transform: rotate(135deg) translate(-2px, -2px); }
[dir="rtl"] .receipt__box[open] summary::after { transform: rotate(-45deg) translate(-2px, -2px); }

/* Small grey hint under a field, for guidance that is not an error. */
.field__hint {
  display: block;
  margin-top: .4rem;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.receipt__body .field__hint { color: rgba(255,255,255,.6); }

/* Sets expectations before anyone fills the form in. */
.receipt__verify {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--chalk);
  background: rgba(201,217,247,.1);
  border-left: 3px solid var(--chalk);
  border-radius: 0 10px 10px 0;
  padding: .7rem .95rem;
  margin-bottom: 1.3rem;
}
[dir="rtl"] .receipt__verify {
  border-left: 0;
  border-right: 3px solid var(--chalk);
  border-radius: 10px 0 0 10px;
}

/* Attestation checkbox */
.field--check { margin-bottom: 1.4rem; }
/* `.field label` sets weight 900 and outranks a bare `.attest`, so this needs
   the element qualifier to win — otherwise the sentence renders bold. */
label.attest {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255,255,255,.86);
}
label.attest input[type="checkbox"] {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: .1rem;
  accent-color: var(--red);
  cursor: pointer;
}
.field--check.has-error label.attest { color: #ffc9c4; }
.field--check.has-error label.attest input[type="checkbox"] { outline: 2px solid #ff8a80; outline-offset: 2px; }

/* Discreet admin entry point. Findable if you are looking for it, quiet
   enough that it never competes with Donate. Obscurity is not the security
   here — the password and the login throttle are. */
.footer-admin { margin-top: 1.1rem; }
.footer-admin a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.42);
  transition: color .18s ease;
}
.footer-admin a:hover { color: var(--chalk); }
.footer-admin svg { width: 13px; height: 13px; }

/* ==========================================================================
   Monthly giving, other ways to give, and the transparency strip

   All three sit inside the navy donate section, so they inherit its light
   text and use the same translucent-white card treatment as .give__card.
   ========================================================================== */
.monthly {
  display: flex;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: flex-start;
  background: rgba(217,35,24,.16);
  border: 1px solid rgba(255,255,255,.2);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
}
.monthly__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: #fff;
  display: grid;
  place-items: center;
}
.monthly__icon svg { width: 23px; height: 23px; }
.monthly__body h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.monthly__body p { font-size: .95rem; color: rgba(255,255,255,.84); }
.monthly__how {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .89rem !important;
  color: rgba(255,255,255,.72) !important;
}

.ways { margin-top: clamp(2rem, 4.5vw, 3rem); }
.ways__title,
.trust__title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.1rem;
  text-align: center;
}
.ways__grid {
  display: grid;
  gap: clamp(.9rem, 2vw, 1.25rem);
  grid-template-columns: repeat(4, 1fr);
}
.ways__card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.45rem);
  transition: background-color .22s ease, transform .22s ease;
}
.ways__card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.ways__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(201,217,247,.16);
  color: var(--chalk);
  display: grid;
  place-items: center;
  margin-bottom: .8rem;
}
.ways__icon svg { width: 18px; height: 18px; }
.ways__card h4 { font-size: 1rem; color: #fff; margin-bottom: .45rem; line-height: 1.35; }
.ways__card p { font-size: .87rem; color: rgba(255,255,255,.74); }

.trust {
  margin-top: clamp(2rem, 4.5vw, 3rem);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.trust__list { list-style: none; display: grid; gap: .8rem; }
.trust__list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: .92rem;
  color: rgba(255,255,255,.82);
}
/* A check mark, drawn in CSS so it needs no image and no extra request. */
.trust__list li::before {
  content: "";
  position: absolute;
  left: .35rem;
  top: .42em;
  width: .42rem;
  height: .78rem;
  border: solid var(--chalk);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 980px) {
  .ways__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .monthly { flex-direction: column; gap: 1rem; }
  .ways__grid { grid-template-columns: 1fr; }
}

/* Arabic and other right-to-left languages. */
[dir="rtl"] .monthly { border-left: 1px solid rgba(255,255,255,.2); border-right: 4px solid var(--red); }
[dir="rtl"] .trust__list li { padding-left: 0; padding-right: 1.9rem; }
[dir="rtl"] .trust__list li::before { left: auto; right: .35rem; }

/* ==========================================================================
   Standalone document pages — privacy, accessibility

   Plain, readable, no hero and no navigation. Someone arrives here to read one
   thing and then leave, so the page gets out of the way.
   ========================================================================== */
.doc-page { background: var(--paper, #f7f8fb); }
.doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.1rem, 5vw, 2rem) 5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: .35rem; }
.doc h2 {
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  margin: 2.4rem 0 .7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line, #e2e6ee);
}
.doc p { margin-bottom: 1rem; }
.doc ul { margin: 0 0 1.2rem 1.2rem; }
.doc li { margin-bottom: .6rem; }
.doc a { color: var(--navy); }
.doc__meta { color: var(--muted, #5a6270); font-size: .88rem; margin-bottom: 1.8rem; }
.doc__lede {
  font-size: 1.08rem;
  background: #eef4ff;
  border-left: 3px solid var(--navy);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
}
.doc__note {
  margin-top: 2.5rem;
  padding: .9rem 1.1rem;
  background: #fff6e5;
  border-left: 3px solid #e0a13c;
  border-radius: 0 10px 10px 0;
  font-size: .9rem;
}
.doc__back { margin: 0 0 2rem; font-size: .9rem; }
.doc__back:last-child { margin: 3rem 0 0; }
.doc__back a { color: var(--muted, #5a6270); text-decoration: none; }
.doc__back a:hover { color: var(--navy); text-decoration: underline; }
.footer-legal { margin-top: .5rem; font-size: .85rem; }
.footer-legal a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* Accountability seals — hidden until earned, see the comment in index.html. */
.seals {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}
.seals__title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.seals__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}
.seal {
  display: block;
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}
.seal:hover { transform: translateY(-3px); }
.seal img { border-radius: 8px; background: #fff; padding: 4px; }

/* ---------------- Share ----------------
   Plain links, no third-party widget. AddThis and friends load tracking
   scripts, which would contradict the privacy line under every form and
   break the Content-Security-Policy. These are ordinary hrefs. */
.share { text-align: center; max-width: 640px; margin: 0 auto; }
.share__lede { color: var(--muted); margin: .6rem 0 1.8rem; }
.share__row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.share__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: .92rem;
  padding: .7rem 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  cursor: pointer; text-decoration: none;
  transition: transform .15s, border-color .15s, background-color .15s;
}
.share__btn:hover { transform: translateY(-2px); border-color: var(--navy); }
.share__btn svg { flex: none; }
.share__btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.share__btn--wa:hover { background: #1eb855; border-color: #1eb855; }
.share__btn.is-done { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 420px) { .share__btn { flex: 1 1 100%; justify-content: center; } }

/* ============================================================
   Fluidity pass — motion and affordances only.
   Every colour below comes from the existing tokens; no new hues.
   Everything here is switched off under prefers-reduced-motion.
   ============================================================ */

/* A jump from the nav used to land a section 13px under the sticky header.
   This gives the heading room to breathe instead of hugging the bar. */
:target,
section[id],
main [id] { scroll-margin-top: calc(75px + 1.5rem); }

/* ---------------- FAQ accordion ----------------
   Native <details> snaps open. The height is animated in script.js; this
   just gives the marker something to rotate and the body something to fade. */
.faq__item > summary { list-style: none; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "";
  width: .58rem; height: .58rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  flex: none;
  margin-left: auto;
}
.faq__item[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__item > summary:hover::after { border-color: var(--red); }

/* ---------------- Back to top ----------------
   The page runs to roughly eleven thousand pixels; scrolling back by hand
   is a chore on a phone. */
.totop {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.94);
  transition: opacity .3s ease, transform .3s cubic-bezier(.34,1.3,.64,1), visibility .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { border-color: var(--navy); color: var(--red); }
.totop:active { transform: scale(.92); }
/* Never sit on top of the mobile donate bar. */
@media (max-width: 860px) { .totop { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); } }

/* ---------------- Language swap ----------------
   Twelve languages means the whole page can change under the reader. A short
   fade reads as deliberate rather than as a glitch. */
.lang-swapping main,
.lang-swapping .site-footer { opacity: .35; transition: opacity .16s ease; }
main, .site-footer { transition: opacity .28s ease; }

/* ---------------- Interaction polish ---------------- */
.card, .program, .way, .give__method { transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s ease; }
.btn { will-change: transform; }
.btn:active { transform: translateY(1px) scale(.985); }
.nav__link { transition: color .2s ease; }

@media (prefers-reduced-motion: reduce) {
  .totop { transition: opacity .01ms; transform: none; }
  .faq__item > summary::after { transition: none; }
  .lang-swapping main, .lang-swapping .site-footer,
  main, .site-footer { transition: none; opacity: 1; }
  .card, .program, .way, .give__method, .btn { transition: none; }
}

/* ---------------- The work — photographs ----------------
   Two columns on desktop with the distribution photo spanning both, so the
   strongest picture leads. Captions carry the evidence; the photographs on
   their own are only decoration. */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
}
.work__item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.work__item--wide { grid-column: 1 / -1; }
/* The two portrait photographs were being cropped to a landscape letterbox,
   which threw away most of what they show. They get their own height instead,
   and sit side by side so the row still balances. */
.work__item--tall img { max-height: 560px; object-position: center 25%; }
.work__item img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  background: var(--cream-alt);
}
.work__item--wide img { max-height: 380px; }
.work__item figcaption {
  padding: .9rem 1.1rem 1.1rem;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.work__note {
  margin-top: 1.4rem;
  font-size: .86rem;
  text-align: center;
}
@media (max-width: 700px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__item img { max-height: 300px; }
  .work__item--tall img { max-height: 420px; }
}
