@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Ethiopic:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --ink: #14160f;
  --muted: #5c6157;
  --soft: #f5f7ef;
  --soft-2: #eef1e6;
  --paper: #ffffff;
  --green: #0b5c32;
  --green-deep: #073b21;
  --green-darker: #052315;
  --red: #d70719;
  --red-deep: #a30513;
  --yellow: #f1bd14;
  --yellow-soft: #fbe7a3;
  --orange: #e97f16;
  --line: rgba(20, 22, 15, .1);
  --line-strong: rgba(20, 22, 15, .16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(15, 28, 17, .06);
  --shadow: 0 18px 40px -18px rgba(13, 33, 19, .28);
  --shadow-lg: 0 34px 70px -26px rgba(11, 40, 22, .4);

  --tricolor: linear-gradient(90deg, var(--green) 0%, var(--green) 33%, var(--yellow) 33%, var(--yellow) 66%, var(--red) 66%, var(--red) 100%);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(241, 189, 20, .07), transparent 60%),
    radial-gradient(100% 70% at 0% 5%, rgba(11, 92, 50, .06), transparent 55%),
    var(--paper);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html:lang(am) body {
  font-family: "Noto Sans Ethiopic", Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

:lang(am) h1,
:lang(am) h2,
:lang(am) h3 {
  font-family: "Noto Sans Ethiopic", Outfit, Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

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

h1,
h2,
h3 {
  font-family: Outfit, Inter, Arial, sans-serif;
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* ---------------------------------- Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--tricolor);
  opacity: .9;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px -18px rgba(13, 33, 19, .55);
}

.site-header.scrolled .nav {
  min-height: 56px;
}

.site-header.scrolled .brand img {
  width: 100px;
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height .25s var(--ease);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  transition: transform .25s var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 132px;
  height: auto;
  transition: width .25s var(--ease);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #2a2e26;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  padding: 9px 13px;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--red);
  background: rgba(241, 189, 20, .18);
}

.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Header CTA button (primary conversion: join the chamber) */
.nav-links a.nav-cta {
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: 0 10px 22px -12px rgba(11, 92, 50, .85);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.nav-links a.nav-cta:hover {
  color: #fff;
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgba(215, 7, 25, .55);
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-links a.nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--red);
}

.language-switch {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  padding: 4px 10px;
  color: #2a2e26;
  font-size: 13px;
  font-weight: 800;
}

.nav-links .language-switch a,
.language-switch .language-link {
  min-height: auto;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: inherit;
  font-weight: inherit;
}

.nav-links .language-switch a::after {
  display: none;
}

.language-switch .is-active {
  color: #fff;
  background: var(--green);
}

.language-separator {
  color: var(--muted);
}

/* ------------------------------- Mobile toggle ----------------------------- */
.nav-toggle-cb {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
}

.nav-toggle-cb:focus-visible + .nav-toggle {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ----------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(85deg, rgba(5, 28, 16, .94) 0%, rgba(5, 28, 16, .7) 42%, rgba(5, 28, 16, .12) 100%),
    linear-gradient(0deg, rgba(4, 20, 11, .72), transparent 45%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--tricolor);
}

.hero.compact {
  min-height: 460px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 84px;
}

.hero.compact .hero-inner {
  padding: 100px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  padding: 7px 15px 7px 13px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.eyebrow::before {
  width: 30px;
  height: 4px;
  content: "";
  background: var(--tricolor);
  border-radius: 4px;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

.hero.compact h1 {
  max-width: 840px;
  font-size: clamp(36px, 5vw, 60px);
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .92);
  font-size: 19px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow { animation: rise .7s var(--ease) both; }
  .hero h1 { animation: rise .7s .08s var(--ease) both; }
  .hero p:not(.eyebrow) { animation: rise .7s .16s var(--ease) both; }
  .hero-actions { animation: rise .7s .24s var(--ease) both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------- Buttons --------------------------------- */
.button {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  padding: 14px 26px;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--yellow);
  color: #211a02;
  box-shadow: 0 14px 28px -12px rgba(241, 189, 20, .8);
}

.button-primary:hover {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 18px 32px -12px rgba(233, 127, 22, .75);
}

.button-dark {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(11, 92, 50, .9);
}

.button-dark:hover {
  background: var(--red);
  box-shadow: 0 18px 32px -14px rgba(215, 7, 25, .6);
}

.button-outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(4px);
}

.button-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.button[disabled] {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
}

.button[disabled]:hover {
  transform: none;
}

/* -------------------------------- Sections --------------------------------- */
.section {
  padding: 86px 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--soft), var(--soft-2));
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

.section-heading p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

/* ----------------------------------- Split --------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, .96fr) minmax(0, 1.04fr);
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ddd;
  box-shadow: var(--shadow-lg);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  pointer-events: none;
}

.media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.media:hover img {
  transform: scale(1.04);
}

.media.tall img {
  min-height: 520px;
}

.text-block h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.text-block p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.accent-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.accent-list span {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  font-weight: 600;
}

.accent-list span::before {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 1px;
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 4px 10px -4px rgba(11, 92, 50, .8);
}

/* ------------------------------- Join CTA ---------------------------------- */
.join-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 48px;
  align-items: center;
}

.join-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.join-cta > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.eyebrow-dark {
  color: var(--green);
  background: rgba(11, 92, 50, .08);
  border-color: rgba(11, 92, 50, .18);
  backdrop-filter: none;
}

/* ----------------------------------- Grid ---------------------------------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card strong,
.card h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -.01em;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 92, 50, .12), rgba(241, 189, 20, .18));
  color: var(--green);
  font-size: 19px;
}

.service-card .card-icon {
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
}

.service-card {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 28px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--green);
}

.service-card:nth-child(2)::before { background: var(--yellow); }
.service-card:nth-child(3)::before { background: var(--red); }
.service-card:nth-child(4)::before { background: var(--orange); }
.service-card:nth-child(5)::before { background: var(--green-deep); }
.service-card:nth-child(6)::before { background: var(--red-deep); }

.service-index {
  display: inline-block;
  margin-bottom: 14px;
  font-family: Outfit, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--green-deep);
}

/* ---------------------------------- Stats ---------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
}

/* --------------------------------- Partners -------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 28px 34px;
}

.partner {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 10px;
  transition: transform .28s var(--ease);
}

.partner:hover {
  transform: translateY(-3px);
}

.partner img {
  max-width: 100%;
  max-height: 118px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform .28s var(--ease);
}

.partner:hover img {
  transform: scale(1.04);
}

@media (min-width: 981px) {
  .partner-grid {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }

  .partner {
    min-height: 150px;
  }

  .partner img {
    max-height: 140px;
  }
}

/* ----------------------------------- Team ---------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.person {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

.person:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.person-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(11, 92, 50, .1), transparent 60%),
    linear-gradient(180deg, var(--soft), var(--soft-2));
  color: rgba(11, 92, 50, .3);
  font-size: 58px;
}

.person-ph span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.person:hover img {
  transform: scale(1.05);
}

.person-body {
  padding: 20px;
}

.person-body h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.person-body p {
  color: var(--muted);
}

/* --------------------------------- Quotes ---------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  position: relative;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 56px;
  border-left: 4px solid var(--yellow);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: Outfit, Georgia, serif;
  font-size: 88px;
  line-height: 1;
  color: var(--yellow);
  opacity: .55;
}

.quote blockquote {
  margin: 0;
  color: #2f3430;
  font-size: 17px;
}

.quote cite {
  display: block;
  margin-top: 22px;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

/* ----------------------------- Contact / Donate ---------------------------- */
.contact-layout,
.donation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 40px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 6px;
}

.info-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.info-item:last-child {
  border-bottom: 0;
}

.info-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 92, 50, .12), rgba(241, 189, 20, .14));
  color: var(--green);
  font-weight: 800;
  font-size: 16px;
}

.info-icon i {
  font-size: 18px;
}

.info-item h3 {
  margin: 0 0 2px;
  font-size: 19px;
}

.info-item p {
  color: var(--muted);
}

.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.panel-top {
  position: relative;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  padding: 30px;
}

.panel-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--tricolor);
}

.panel-top h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 27px;
}

.panel-top p {
  color: rgba(255, 255, 255, .88);
}

.panel-body {
  padding: 30px;
}

.static-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 92, 50, .14);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.notice {
  border-left: 4px solid var(--red);
  background: rgba(215, 7, 25, .06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #4c161c;
  padding: 14px 16px;
  font-size: 14px;
}

.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.amount {
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.amount:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: rgba(241, 189, 20, .12);
}

.amount-featured {
  border-color: var(--yellow);
  background: rgba(241, 189, 20, .24);
}

/* --------------------------------- CTA band -------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(241, 189, 20, .16), transparent 55%),
    linear-gradient(120deg, #0a140a 0%, #0c1f12 100%);
  color: #fff;
  padding: 76px 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--tricolor);
}

.cta-band .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}

/* ---------------------------------- Footer --------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--tricolor);
  opacity: .85;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.footer-social a:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 600;
  transition: color .2s var(--ease);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-credit {
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-credit a {
  color: var(--green);
  font-weight: 700;
  transition: color .2s var(--ease);
}

.footer-credit a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* --------------------------------- Gallery --------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(0deg, rgba(5, 20, 11, .82), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.gallery figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery .wide {
  grid-column: span 2;
}

.gallery .tall {
  grid-row: span 2;
}

/* ------------------------------ Feature band ------------------------------- */
.band {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(5, 28, 16, .92) 0%, rgba(5, 28, 16, .62) 48%, rgba(5, 28, 16, .25) 100%);
  pointer-events: none;
}

.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--tricolor);
}

.band .wrap {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}

.band .eyebrow {
  color: #fff;
}

.band h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.04;
}

.band p {
  max-width: 560px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

/* ------------------------------ Payment methods ---------------------------- */
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pay-methods span {
  width: 100%;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pay-methods img {
  height: 30px;
  width: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 5px 8px;
}

/* ------------------------- Scroll reveal (progressive) --------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section .card,
    .section .stat,
    .section .partner,
    .section .person,
    .section .quote,
    .section .gallery figure,
    .split > *,
    .section-heading {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------- Responsive ------------------------------- */
@media (max-width: 980px) {
  .nav {
    min-height: 66px;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 12px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease);
  }

  .nav-toggle:hover {
    border-color: var(--green);
    background: var(--soft);
  }

  .nav-toggle-bar {
    position: relative;
  }

  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    width: 22px;
    height: 2.5px;
    display: block;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
  }

  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }

  .nav-toggle-cb:checked + .nav-toggle .nav-toggle-bar {
    background: transparent;
  }

  .nav-toggle-cb:checked + .nav-toggle .nav-toggle-bar::before {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle-cb:checked + .nav-toggle .nav-toggle-bar::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid var(--line);
  }

  .nav-toggle-cb:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15.5px;
    border-radius: 10px;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 6px;
  }

  .nav-links .language-switch a,
  .language-switch .language-link {
    width: auto;
    min-height: auto;
    padding: 4px 7px;
    font-size: inherit;
  }

  .nav-links a::after {
    display: none;
  }

  .split,
  .split.reverse,
  .join-cta,
  .contact-layout,
  .donation-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-4,
  .team-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .quote-grid,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand img {
    width: 120px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero,
  .hero.compact {
    min-height: 540px;
  }

  .hero-inner,
  .hero.compact .hero-inner {
    padding: 88px 0 56px;
  }

  .section {
    padding: 58px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .quote-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .media img,
  .media.tall img {
    min-height: 320px;
  }

  .info-item {
    grid-template-columns: 52px 1fr;
  }

  .cta-band .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .gallery .wide,
  .gallery .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .band {
    min-height: 380px;
  }
}

/* Membership cards with photo */
.membership-card { padding-top: 0; overflow: hidden; }
.membership-card::before { display: none; }
.card-photo { margin: 0 -28px 24px; border-radius: var(--radius) var(--radius) 0 0; height: 185px; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Member registration */
#levels,
#member-registration {
  scroll-margin-top: 90px;
}

.member-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.form-success {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 48px 34px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.form-success .success-icon {
  font-size: 44px;
  color: var(--green);
}

.form-success h3 {
  margin: 16px 0 8px;
}

.form-success p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 92, 50, .14);
}

.field label span {
  color: var(--red);
}

.field-label {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-row label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  padding: 10px 14px;
  color: #2a2e26;
  font-size: 14px;
  font-weight: 700;
}

.choice-row input {
  width: auto;
  accent-color: var(--green);
}

.form-divider {
  height: 1px;
  margin: 30px 0;
  background: var(--line);
}

.character-count {
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

/* Mobile: hide secondary sections for a lighter experience */
@media (max-width: 640px) {
  .desktop-only { display: none; }
  .gallery figure:nth-child(n+3) { display: none; }
}

@media (max-width: 640px) {
  .member-form {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }
}
