/* =========================================================
   KindHands — charitable organisation template
   Design tokens derived from the reference visual system:
   surface #f5f5f1, primary #04433b, accent #30f316,
   headings: Plus Jakarta Sans, body: Inter
   ========================================================= */

:root {
  --cream: #f5f5f1;
  --cream-2: #eeece5;
  --teal: #04433b;
  --teal-deep: #032f2a;
  --charcoal: #002e3d;
  --ink: #0d211d;
  --muted: #5d6b66;
  --green: #30f316;
  --green-soft: #d9f7d1;
  --line: rgba(4, 67, 59, 0.12);
  --line-strong: rgba(4, 67, 59, 0.22);
  --white: #ffffff;
  --radius-xs: 0.5rem;
  --radius-s: 0.7rem;
  --radius-m: 1rem;
  --radius-l: 1.5rem;
  --radius-xl: 1.75rem;
  --pill: 100px;
  --container: 100rem;
  --gutter: clamp(1.25rem, 3.5vw, 3.125rem);
  --font-head: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --section-y: clamp(3.5rem, 6vw, 6.5rem);
  --shadow-s: 0 10px 26px rgba(4, 67, 59, 0.07);
  --shadow-m: 0 24px 48px rgba(4, 67, 59, 0.11);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------------- layout helpers ---------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.section--flush-top { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(48, 243, 22, 0.18);
}

.section-title {
  font-size: clamp(1.85rem, 3.3vw, 2.875rem);
  margin-top: 0.95rem;
  max-width: 32ch;
}

.lede {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  max-width: 44rem;
  margin-top: 1rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head__text { max-width: 46rem; }

/* ---------------- buttons & pills ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--light { background: var(--white); color: var(--teal); }
.btn--light:hover { background: #edf6f2; }
.btn--outline { border-color: var(--line-strong); color: var(--teal); }
.btn--outline:hover { background: rgba(4, 67, 59, 0.06); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 500;
}
.pill--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.pill--soft {
  border: 1px solid var(--line);
  background: rgba(4, 67, 59, 0.05);
  color: var(--teal);
}

/* ---------------- header ---------------- */

.site-header {
  position: relative;
  z-index: 40;
  background: var(--cream);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7rem;
}

.nav-main { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--teal); }
.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
}

.nav-drop { position: relative; }
.nav-drop__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.nav-drop__trigger svg { transition: transform 0.25s var(--ease); }
.nav-drop:hover .nav-drop__trigger svg,
.nav-drop:focus-within .nav-drop__trigger svg { transform: rotate(180deg); }

.nav-drop__menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  min-width: 15rem;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.4rem);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
  z-index: 45;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop__menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.nav-drop__menu a:hover { background: rgba(4, 67, 59, 0.06); color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.icon-btn:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

.brand {
  position: absolute;
  left: 50%;
  top: 0.75rem;
  transform: translateX(-50%);
  width: 9.25rem;
  height: 9.25rem;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px rgba(4, 67, 59, 0.14);
  z-index: 42;
  transition: transform 0.3s var(--ease);
}
.brand:hover { transform: translateX(-50%) translateY(-2px); }
.brand__inner { display: grid; justify-items: center; gap: 0.4rem; }
.brand__mark { color: var(--teal); }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mobile-toggle { display: none; }

/* mobile drawer */
.nav-drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 32, 27, 0.5); backdrop-filter: blur(2px); }
.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(21rem, 88vw);
  background: var(--cream);
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow-y: auto;
  box-shadow: 24px 0 60px rgba(4, 67, 59, 0.22);
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.drawer-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.drawer-link.is-active { color: var(--teal); }
.drawer-group-label {
  margin: 1.35rem 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.drawer-cta { margin-top: 1.5rem; display: grid; gap: 0.6rem; }

/* ---------------- hero ---------------- */

.hero { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.hero-shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(30rem, 76vh, 45rem);
  display: flex;
  align-items: flex-end;
  background: var(--teal-deep);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 47, 42, 0.12) 0%, rgba(3, 47, 42, 0.52) 48%, rgba(3, 47, 42, 0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: end;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.35rem, 4.9vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 1.35rem;
  max-width: 24ch;
}
.hero-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  margin-top: 1.35rem;
  max-width: 34rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-side { display: grid; gap: 1rem; justify-items: end; }
.stat-pills { display: grid; gap: 0.6rem; justify-items: end; }
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.stat-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(48, 243, 22, 0.22);
}
.hero-card {
  width: 100%;
  max-width: 15rem;
  padding: 0.5rem;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.hero-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 1.05rem; }
.hero-card__text { padding: 0.7rem 0.55rem 0.35rem; font-size: 0.82rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }

/* ---------------- about / impact ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media__main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
}
.about-media__main img { width: 100%; height: 100%; object-fit: cover; }
.about-media__badge {
  position: absolute;
  right: -0.75rem;
  bottom: 1.75rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-m);
}
.about-media__badge strong { font-family: var(--font-head); font-size: 1.6rem; display: block; line-height: 1; }
.about-media__badge span { font-size: 0.72rem; letter-spacing: 0.06em; opacity: 0.85; display: block; margin-top: 0.35rem; }

.video-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-s);
}
.video-card__play {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  border: 0;
  cursor: pointer;
  flex: none;
}
.video-card__text { font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.video-card__text span { display: block; font-weight: 400; color: var(--muted); font-size: 0.76rem; }

.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.counter strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.counter span { display: block; margin-top: 0.45rem; font-size: 0.88rem; color: var(--muted); }

/* ---------------- cards ---------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1.1rem, 1.8vw, 1.6rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
.card-grid--three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 0.65rem; padding: 1.4rem 1.4rem 1.5rem; flex: 1; }
.card__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.card__title { font-size: 1.22rem; line-height: 1.25; }
.card__text { color: var(--muted); font-size: 0.93rem; line-height: 1.62; }
.card__foot { margin-top: auto; padding-top: 0.5rem; }

.progress { height: 0.45rem; border-radius: var(--pill); background: rgba(4, 67, 59, 0.1); overflow: hidden; }
.progress__bar { display: block; height: 100%; border-radius: var(--pill); background: var(--teal); }
.cause-figures { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.82rem; color: var(--muted); }
.cause-figures strong { color: var(--ink); font-weight: 600; }

/* ---------------- marquee ---------------- */

.marquee {
  background: var(--teal);
  color: var(--white);
  padding-block: clamp(1.1rem, 2vw, 1.6rem);
  overflow: hidden;
}
.marquee__track { display: flex; align-items: center; gap: 2.25rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 2.25rem; white-space: nowrap; }
.marquee__word {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.marquee__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); }
.marquee__img { width: 5.5rem; height: 3.5rem; object-fit: cover; border-radius: 0.9rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- process ---------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.1rem, 1.8vw, 1.6rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
.process-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.process-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(4, 67, 59, 0.07);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.process-card__media { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 16 / 10; }
.process-card__media img { width: 100%; height: 100%; object-fit: cover; }
.process-card h3 { font-size: 1.15rem; }
.process-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

/* ---------------- gallery ---------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(8rem, 13vw, 12rem);
  gap: clamp(0.7rem, 1.2vw, 1rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
figure, blockquote { margin: 0; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-m); background: var(--cream-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--pill);
  background: rgba(3, 47, 42, 0.62);
  color: var(--white);
  font-size: 0.72rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

/* ---------------- faq ---------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}
.faq-aside { position: sticky; top: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-icon {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--teal);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-item.is-open .faq-icon { background: var(--teal); color: var(--white); border-color: var(--teal); transform: rotate(45deg); }
.faq-panel { padding-bottom: 1.3rem; color: var(--muted); font-size: 0.95rem; line-height: 1.72; max-width: 46rem; }

/* ---------------- testimonials ---------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1.1rem, 1.8vw, 1.6rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial__stars { display: flex; gap: 0.2rem; color: var(--teal); }
.testimonial__quote { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.testimonial__person { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(4, 67, 59, 0.1);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  flex: none;
}
.testimonial__name { font-weight: 600; font-size: 0.95rem; }
.testimonial__role { font-size: 0.82rem; color: var(--muted); }

/* ---------------- cta ---------------- */

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--teal);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--white);
}
.cta-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
}
.cta-copy .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cta-copy .eyebrow::before { box-shadow: 0 0 0 3px rgba(48, 243, 22, 0.3); }
.cta-title { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.75rem); max-width: 20ch; }
.cta-text { color: rgba(255, 255, 255, 0.82); line-height: 1.7; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.cta-media { min-height: 20rem; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- footer ---------------- */

.site-footer { margin-top: clamp(2rem, 4vw, 4rem); border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: clamp(1.75rem, 3vw, 3rem);
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand .brand__mark { color: var(--teal); }
.footer-brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.footer-about { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin-top: 1rem; max-width: 26rem; }
.footer-title { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 0.9rem; }
.footer-link { display: block; padding: 0.32rem 0; font-size: 0.93rem; color: var(--ink); opacity: 0.82; transition: color 0.2s var(--ease), opacity 0.2s var(--ease); }
.footer-link:hover { color: var(--teal); opacity: 1; }
.footer-contact { display: grid; gap: 0.55rem; font-size: 0.93rem; color: var(--muted); }
.footer-contact a { color: var(--ink); }
.footer-form { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; }
.footer-form input {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--ink);
}
.footer-note { margin-top: 0.85rem; font-size: 0.78rem; line-height: 1.6; color: var(--muted); }
.footer-note a { color: var(--teal); text-decoration: underline; }
.footer-status { margin-top: 0.6rem; font-size: 0.82rem; color: var(--teal); }
.footer-status.is-error { color: #b42318; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted);
}
.footer-bottom__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom__links a:hover { color: var(--teal); }

/* ---------------- inner page hero ---------------- */

.page-hero { padding-top: clamp(0.5rem, 1.5vw, 1.25rem); padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
.page-hero__shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(15rem, 34vh, 22rem);
  display: flex;
  align-items: flex-end;
  background: var(--teal-deep);
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 47, 42, 0.35) 0%, rgba(3, 47, 42, 0.82) 100%); }
.page-hero__content { position: relative; z-index: 2; padding: clamp(1.5rem, 3.5vw, 3rem); max-width: 52rem; }
.page-hero__content .eyebrow { color: rgba(255, 255, 255, 0.9); }
.page-hero__title { color: var(--white); font-size: clamp(2rem, 3.6vw, 3.25rem); margin-top: 0.9rem; }
.page-hero__text { color: rgba(255, 255, 255, 0.84); margin-top: 0.9rem; line-height: 1.7; max-width: 40rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 0.9rem; }
.breadcrumb a:hover { color: var(--white); }

/* ---------------- detail layout & prose ---------------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.prose h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); line-height: 1.8; margin-top: 0.95rem; font-size: 1.01rem; }
.prose ul { margin-top: 1.1rem; display: grid; gap: 0.65rem; }
.prose li { position: relative; padding-left: 1.35rem; color: var(--muted); line-height: 1.65; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  position: sticky;
  top: 1.5rem;
}
.side-card h3 { font-size: 1.1rem; }
.side-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.side-list { display: grid; gap: 0.4rem; font-size: 0.9rem; }
.side-list a { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.side-list a:hover { color: var(--teal); }
.side-list span:last-child { color: var(--muted); font-size: 0.82rem; }

.detail-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.5rem; }
.detail-meta__item { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--muted); }

/* ---------------- forms ---------------- */

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field label .optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background-color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--teal); background-color: var(--white); outline: none; box-shadow: 0 0 0 3px rgba(4, 67, 59, 0.12); }

/* select controls: one custom chevron, kept clear of the right border in every state */
select,
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.5 7 6.5 13 1.5' stroke='%2304433B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 8px;
  cursor: pointer;
}
select:focus,
.field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.5 7 6.5 13 1.5' stroke='%2304433B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 8px;
}
select:disabled,
.field select:disabled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.5 7 6.5 13 1.5' stroke='%235D6B66' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 8px;
  cursor: not-allowed;
  opacity: 0.65;
}
select option { color: var(--ink); background-color: var(--white); }
.field-error { font-size: 0.8rem; color: #b42318; min-height: 1rem; }
.optional-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.optional-row input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; accent-color: var(--teal); flex: none; }
.form-note { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.form-note a { color: var(--teal); text-decoration: underline; }
.form-status {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-m);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.form-status--ok { background: rgba(4, 67, 59, 0.07); border: 1px solid rgba(4, 67, 59, 0.22); color: var(--teal); }
.form-status--error { background: #fdf2f0; border: 1px solid #f3cdc7; color: #b42318; }

/* ---------------- donate page ---------------- */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.1rem, 1.8vw, 1.6rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}
.tier--featured { border-color: var(--teal); background: var(--teal); color: var(--white); }
.tier--featured h3,
.tier--featured .tier__amount { color: var(--white); }
.tier--featured .tier__note,
.tier--featured .tier__list li { color: rgba(255, 255, 255, 0.84); }
.table-wrap {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  overflow-x: auto;
}
.data-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.92rem; }
.data-table caption {
  text-align: left;
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.data-table th,
.data-table td { text-align: left; padding: 0.8rem 1.15rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: rgba(4, 67, 59, 0.035);
}
.data-table td:first-child { font-weight: 600; color: var(--teal); white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }

.tier__badge:empty { display: none; }
.tier__badge {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: var(--pill);
  background: var(--green-soft);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tier__amount { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tier__amount span { font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.tier h3 { font-size: 1.15rem; }
.tier__note { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.tier__list { display: grid; gap: 0.55rem; margin-top: 0.35rem; }
.tier__list li { position: relative; padding-left: 1.4rem; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.8rem;
  height: 0.45rem;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.tier__foot { margin-top: auto; padding-top: 0.75rem; }
.tier--featured .btn--primary { background: var(--white); color: var(--teal); }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-m);
  background: rgba(4, 67, 59, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.notice strong { color: var(--ink); }

/* ---------------- info cards / team ---------------- */

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: clamp(1.1rem, 1.8vw, 1.6rem); margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.team-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.team-card h3 { font-size: 1.05rem; }
.team-card span { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; display: grid; gap: 0.35rem; }
.info-card__label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-card strong { font-size: 0.98rem; color: var(--ink); }
.info-card a { color: var(--teal); }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: clamp(1rem, 1.6vw, 1.5rem); margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.6rem; display: grid; gap: 0.6rem; }
.value-card__icon { width: 2.75rem; height: 2.75rem; border-radius: var(--radius-s); display: grid; place-items: center; background: rgba(4, 67, 59, 0.07); color: var(--teal); }
.value-card h3 { font-size: 1.08rem; }
.value-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ---------------- reveal motion ---------------- */

.has-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.has-js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .card, .card__media img, .gallery-item img, .btn, .brand { transition: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 75rem) {
  .nav-main { gap: 1.5rem; }
  .hero-content { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); }
}

@media (max-width: 62rem) {
  .header-inner { min-height: 4.75rem; }
  .nav-main, .nav-drop, .header-actions .icon-btn { display: none; }
  .mobile-toggle { display: inline-grid; }
  .header-actions .btn--primary { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .brand {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .brand:hover { transform: none; }
  .brand__inner { grid-auto-flow: column; align-items: center; gap: 0.55rem; }
  .brand__mark svg { width: 1.9rem; height: 1.9rem; }
  .brand__name { font-size: 1rem; }
  .brand__tagline { display: none; }

  .hero-shell { min-height: 32rem; }
  .hero-content { grid-template-columns: minmax(0, 1fr); }
  .hero-side { justify-items: start; }
  .stat-pills { justify-items: start; }
  .hero-card { max-width: 13rem; }

  .about-grid,
  .faq-grid,
  .detail-grid,
  .form-shell,
  .cta-shell { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 32rem; }
  .faq-aside { position: static; }
  .side-card { position: static; }
  .cta-media { min-height: 15rem; order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9rem; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
}

@media (max-width: 40rem) {
  .hero-shell { min-height: 34rem; border-radius: var(--radius-l); }
  .hero-title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-card { display: none; }
  .hero-side { gap: 0.6rem; }
  .stat-pill { font-size: 0.82rem; padding: 0.5rem 0.95rem; }
  .counter-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-auto-rows: 8rem; }
  .about-media__badge { width: 7rem; height: 7rem; right: 0; bottom: 1rem; }
  .about-media__badge strong { font-size: 1.25rem; }
  .video-card { left: 0.75rem; bottom: 0.75rem; padding: 0.6rem 0.9rem 0.6rem 0.6rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .section-title { font-size: 1.75rem; }
  .page-hero__shell { border-radius: var(--radius-l); }
  .btn { padding: 0.8rem 1.25rem; }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(select,.field select){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1.5 7 6.5 13 1.5' stroke='%2304433B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right 16px center!important;background-size:14px 8px!important;background-repeat:no-repeat!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(select,.field select):dir(rtl){background-position:left 16px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]),select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(select,.field select){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
