/* LYF Uganda — Charius-inspired children charity theme */
:root {
  --primary: #0e76bc;
  --primary-dark: #085a91;
  --primary-light: #e6f3fb;
  --secondary: #f1592a;
  --secondary-dark: #d94e24;
  --secondary-light: #fff0ea;
  --earth: #c8874a;
  --earth-light: #f5ebe0;
  --cream: #fef7f2;
  --cream-deep: #fceee4;
  --white: #fffcfa;
  --text: #1c2a3a;
  --text-muted: #5f6f82;
  --border: #f0e4dc;
  --shadow: 0 8px 30px rgba(28, 42, 58, 0.06);
  --shadow-lg: 0 20px 50px rgba(28, 42, 58, 0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-heading: 'Nunito', system-ui, sans-serif;
  --font-subtitle: 'Nunito', system-ui, sans-serif;
  --header-h: 88px;
  --ease: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  background-image: url('../images/pattern-africa.svg');
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--ease), background var(--ease), transform var(--ease); }
ul { list-style: none; }
address { font-style: normal; }

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  background: var(--primary); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Type */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.65rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.eyebrow,
.section-label {
  display: inline-block;
  font-family: var(--font-subtitle);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.section-head,
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.section-head p,
.section-header p {
  font-family: var(--font-subtitle);
  color: var(--text-muted);
  margin-top: 0.875rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
}
.section-head--left { text-align: left; margin-left: 0; }
.bg-alt { background: var(--cream-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,118,188,0.28); }
.btn--secondary { background: var(--secondary); color: #fff; }
.btn--secondary:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(241,89,42,0.28); }
.btn--outline { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--primary-light); }
.btn--link { background: none; padding: 0; color: var(--primary); font-weight: 600; border: none; }
.btn--link:hover { color: var(--secondary); }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.8125rem; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1rem; }

/* ========== HEADER ========== */
#site-header { position: sticky; top: 0; z-index: 1000; }

.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.55rem 0;
}
.top-bar a { color: rgba(255,255,255,0.95); }
.top-bar a:hover { color: #fff; }
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.35;
}
.top-bar__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.92;
}
.top-bar__sep { opacity: 0.65; margin: 0 0.1rem; }
.top-bar__social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.top-bar__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background var(--ease), transform var(--ease), color var(--ease);
}
.top-bar__social-link:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-1px);
}
.top-bar__social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.top-bar__social-link--tiktok svg {
  width: 16px;
  height: 16px;
}
.top-bar__social-link--muted {
  opacity: 0.55;
  cursor: default;
}

.main-nav {
  background: rgba(255, 252, 250, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.main-nav.scrolled { box-shadow: var(--shadow); }
.main-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--secondary-light);
  box-shadow: 0 2px 10px rgba(14, 118, 188, 0.12);
}
.brand__text { line-height: 1.2; }
.brand__text strong { font-family: var(--font-heading); font-size: 1.2rem; color: var(--primary-dark); display: block; }
.brand__text small { font-size: 0.7rem; color: var(--text-muted); }

.nav-menu { display: flex; align-items: center; gap: 0.15rem; }
.nav-menu a:not(.btn) {
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 999px;
}
.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-donate {
  margin-left: 0.75rem;
  padding: 0.8rem 2.25rem;
  min-width: 148px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  text-align: center;
  justify-content: center;
}
.nav-donate:hover,
.nav-donate:focus {
  color: #fff;
  background: var(--secondary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); }

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  padding: 0;
  height: clamp(560px, calc(100svh - 118px), 860px);
  overflow: hidden;
}
.hero-slider__track {
  position: relative;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide__media {
  position: absolute;
  inset: 0;
}
.hero-slide__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
.hero-slide__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(8, 35, 58, 0.88) 0%,
    rgba(8, 35, 58, 0.72) 28%,
    rgba(8, 35, 58, 0.42) 48%,
    rgba(8, 35, 58, 0.15) 68%,
    transparent 82%
  );
}
.hero-slide__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
}
.hero-slide__copy {
  max-width: 640px;
  color: #fff;
}
.hero-slide__eyebrow {
  display: inline-block;
  font-family: var(--font-subtitle);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd4c2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.hero-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4);
}
.hero-slide__text {
  font-family: var(--font-subtitle);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  max-width: 520px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-slide__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-slide__btns .btn--white {
  border: 2px solid #fff;
  font-weight: 700;
}
.hero-slide__btns .btn--white:hover {
  background: #fff;
  color: var(--primary-dark);
}
.hero-slider__badge {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 5;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.4rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  text-align: center;
  min-width: 128px;
}
.hero-slider__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
}
.hero-slider__badge span {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.95;
  letter-spacing: 0.02em;
}
.hero-actions-wrap {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.hero-actions-wrap .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Quick actions strip */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0;
  padding: 2rem 0 3rem;
}
.hero-action {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: none;
  transition: all var(--ease);
}
.hero-action:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hero-action h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hero-action p {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.hero-action a {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 0.25rem;
  display: inline-block;
}
.hero-action--primary {
  background: var(--primary);
  color: #fff;
}
.hero-action--primary h3 { color: #fff; }
.hero-action--primary p { color: rgba(255, 255, 255, 0.9); }
.hero-action--primary a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-action--primary a:hover { color: var(--primary-light); }
.hero-action--secondary {
  background: var(--secondary);
  color: #fff;
}
.hero-action--secondary h3 { color: #fff; }
.hero-action--secondary p { color: rgba(255, 255, 255, 0.92); }
.hero-action--secondary a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-action--secondary a:hover { color: var(--secondary-light); }
.hero-action--white {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}
.hero-action--white h3 { color: var(--text); }
.hero-action--white p { color: var(--text-muted); }
.hero-action--white a { color: var(--primary); }
.hero-action--white a:hover { color: var(--secondary); }

/* ========== SECTIONS ========== */
section:not(.hero-slider):not(.hero-actions-wrap):not(.page-hero):not(.page-banner) { padding: 3.25rem 0; }
.hero-actions-wrap { padding: 0; }
.section--white { background: var(--white); }
.section--warm { background: var(--cream-deep); }

/* Welcome / About block */
.welcome {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}
.welcome__visual {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}
.welcome__slices {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(100%, 520px);
  transform: rotate(-4deg);
}
.welcome__slice {
  height: 156px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(28, 42, 58, 0.12);
  background: var(--primary-light);
}
.welcome__slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: rotate(4deg) scale(1.05);
  transform-origin: center center;
}
.welcome__slice--top {
  width: 88%;
  align-self: flex-start;
  margin-left: 0;
}
.welcome__slice--mid {
  width: 100%;
  height: 172px;
}
.welcome__slice--bottom {
  width: 90%;
  align-self: flex-end;
  margin-right: 0;
}
.welcome__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}
.welcome__content h2 {
  margin-bottom: 1rem;
  max-width: 520px;
}
.welcome__text {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 1.75rem;
}
.welcome__stat {
  margin-top: auto;
  padding-top: 2.5rem;
  align-self: flex-end;
  text-align: right;
  max-width: 280px;
}
.welcome__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.welcome__stat span {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.45;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
.mv-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
}
.mv-box h4 { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700; color: var(--primary); margin-bottom: 0.35rem; }
.mv-box p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* Cause / service cards */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cause-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--ease);
  color: inherit;
  min-height: 168px;
}
.cause-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.cause-card__img {
  width: 38%;
  max-width: 200px;
  flex-shrink: 0;
  background: var(--cream-deep);
}
.cause-card__img img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  display: block;
}
.cause-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem 1.5rem;
  flex: 1;
}
.cause-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}
.cause-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.cause-card__link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}
.cause-card:hover .cause-card__link { color: var(--secondary); }
.cause-card--primary {
  border-color: var(--primary);
}
.cause-card--primary .cause-card__body {
  background: var(--primary);
}
.cause-card--primary h3,
.cause-card--primary p,
.cause-card--primary .cause-card__link {
  color: #fff;
}
.cause-card--primary p { color: rgba(255, 255, 255, 0.9); }
.cause-card--primary:hover .cause-card__link { color: var(--primary-light); }
.cause-card--secondary {
  border-color: var(--secondary);
}
.cause-card--secondary .cause-card__body {
  background: var(--secondary);
}
.cause-card--secondary h3,
.cause-card--secondary p,
.cause-card--secondary .cause-card__link {
  color: #fff;
}
.cause-card--secondary p { color: rgba(255, 255, 255, 0.92); }
.cause-card--secondary:hover .cause-card__link { color: var(--secondary-light); }

/* Donate CTA strip */
.donate-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.donate-strip::before {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.donate-strip h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); max-width: 480px; }
.donate-strip p { font-family: var(--font-subtitle); opacity: 0.9; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; }

/* Campaign / cause cards */
.causes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.causes-list--pair {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cause-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--ease);
}
.cause-item:hover { transform: translateY(-5px); }
.cause-item__img { aspect-ratio: 16/11; overflow: hidden; }
.cause-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cause-item:hover .cause-item__img img { transform: scale(1.05); }
.cause-item__body { padding: 1.5rem; }
.cause-item__body h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.cause-item__body p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.progress-wrap { margin: 1rem 0; }
.progress-bar {
  height: 8px;
  background: var(--cream-deep);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #ff8c5a);
  border-radius: 999px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.progress-meta .raised { color: var(--secondary); }

/* Stats counter */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem;
  border: 1px solid var(--border);
}
.stat-box strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-box span { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* Cards (projects, news) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-deep); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.card__body h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.card__body h3 a:hover { color: var(--primary); }
.card__body p { font-size: 0.9rem; color: var(--text-muted); flex: 1; margin-bottom: 1rem; }
.card__meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.card__link { font-weight: 600; font-size: 0.875rem; color: var(--primary); }
.card__link:hover { color: var(--secondary); }

/* Projects + news split */
.projects-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 2.5rem;
  align-items: stretch;
}
.projects-split__main .section-head--left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 2rem;
}
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.card--horizontal {
  flex-direction: row;
  align-items: stretch;
}
.card--horizontal:hover { transform: none; }
.card--horizontal .card__img {
  width: 38%;
  max-width: 220px;
  flex-shrink: 0;
  aspect-ratio: auto;
  min-height: 160px;
}
.card--horizontal .card__body {
  flex: 1;
  justify-content: center;
}
.projects-split__cta {
  margin-top: 1.75rem;
}
.projects-split__news {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-sidebar__head h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.projects-split__main {
  display: flex;
  flex-direction: column;
}
.news-mini-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.news-mini {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  color: inherit;
  transition: opacity var(--ease);
}
.news-mini:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.news-mini:hover { opacity: 0.85; }
.news-mini:hover h4 { color: var(--primary); }
.news-mini__img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
}
.news-mini__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-mini__body {
  flex: 1;
  min-width: 0;
}
.news-mini__body time {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
.news-mini__body h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-sidebar__more {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}
.news-sidebar__more:hover { color: var(--secondary); }

/* Gallery masonry */
.gallery-masonry {
  columns: 3;
  column-gap: 1.25rem;
}
.gallery-masonry .g-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  position: relative;
  background: var(--cream-deep);
}
.gallery-masonry .g-item img { width: 100%; transition: transform 0.4s ease; }
.gallery-masonry .g-item:hover img { transform: scale(1.04); }
.g-item__cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(14,118,188,0.85));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--ease);
}
.gallery-masonry .g-item:hover .g-item__cap { opacity: 1; }
.g-item__cap span { color: #fff; font-size: 0.875rem; font-weight: 600; }

/* Final CTA */
.cta-final {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--secondary-light);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p { font-family: var(--font-subtitle); color: var(--text-muted); max-width: 520px; margin: 0 auto 2rem; line-height: 1.65; }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { font-family: var(--font-subtitle); opacity: 0.92; max-width: 560px; margin: 0 auto; line-height: 1.65; }
/* Simple inner-page banner */
.page-banner {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  --banner-img-pos: 58% 32%;
}
.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--banner-img-pos);
  display: block;
}
.page-banner__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(8, 35, 58, 0.88) 0%,
    rgba(8, 35, 58, 0.62) 34%,
    rgba(8, 35, 58, 0.22) 52%,
    transparent 68%
  );
}
.page-banner__layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}
.page-banner__content {
  position: relative;
  color: #fff;
  max-width: 560px;
}
.page-banner h1 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}
.page-banner p {
  font-family: var(--font-subtitle);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
  opacity: 0.9;
  max-width: 460px;
  margin: 0;
}

@media (min-width: 769px) {
  .page-banner__shade {
    background: linear-gradient(
      to right,
      rgba(8, 35, 58, 0.96) 0%,
      rgba(8, 35, 58, 0.92) 22%,
      rgba(8, 35, 58, 0.78) 36%,
      rgba(8, 35, 58, 0.35) 50%,
      rgba(8, 35, 58, 0.08) 58%,
      transparent 66%
    );
  }
  .page-banner__layout {
    justify-content: flex-start;
  }
  .page-banner__content {
    width: min(46%, 520px);
    max-width: 520px;
    padding: 1.25rem 0;
  }
  .page-banner__content::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 4rem);
    height: calc(100% + 2.5rem);
    background: linear-gradient(
      90deg,
      rgba(8, 35, 58, 0.55) 0%,
      rgba(8, 35, 58, 0.28) 70%,
      transparent 100%
    );
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    z-index: -1;
    pointer-events: none;
  }
  .page-banner h1 {
    font-size: 2.35rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  }
  .page-banner p {
    font-size: 1.0625rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.97);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    max-width: 420px;
  }
}
.breadcrumb {
  display: flex; justify-content: center; gap: 0.5rem;
  font-size: 0.875rem; margin-bottom: 1rem; opacity: 0.85;
}
.breadcrumb a { color: #fff; text-decoration: underline; }

/* Inner page layouts */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split-section__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.split-section__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.values-list li {
  display: flex; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.value-icon {
  width: 48px; height: 48px;
  background: var(--secondary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  background: var(--cream-deep);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(14,118,188,0.85));
  display: flex; align-items: flex-end; padding: 1rem;
  opacity: 0; transition: opacity var(--ease);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: #fff; font-size: 0.875rem; font-weight: 600; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.35rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,118,188,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.donate-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start; }
.donate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.amount-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.amount-preset {
  padding: 0.7rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: var(--font-body);
}
.amount-preset:hover, .amount-preset.active { border-color: var(--secondary); background: var(--secondary-light); color: var(--secondary-dark); }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.9rem; }
.alert--success { background: #ecfdf5; color: #065f46; }
.alert--error { background: #fef2f2; color: #991b1b; }
.alert--info { background: var(--primary-light); color: var(--primary-dark); }

.article-content { max-width: 720px; margin: 0 auto; }
.article-content p { margin-bottom: 1.25rem; }
.featured-image { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 2rem; border: 4px solid var(--white); box-shadow: var(--shadow); }
.featured-image img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img, .lightbox video { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-lg); }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer;
}

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.875rem;
}
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

.empty-state {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  color: var(--text-muted);
}
.section-cta { text-align: center; margin-top: 1.75rem; }

/* About page */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem 2rem;
  align-items: start;
}
.about-intro__text {
  grid-column: 1;
  grid-row: 1 / -1;
}
/* Charity-style photo mosaic: 1 hero + 2 supporting tiles */
.about-intro__mosaic {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 5/6;
  margin-left: auto;
}
.about-intro__tile {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 42, 58, 0.1);
  border: 3px solid var(--white);
  background: var(--primary-light);
}
.about-intro__tile--main {
  grid-column: 1;
  grid-row: 1 / -1;
}
.about-intro__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-intro__glance {
  grid-column: 2;
  grid-row: 2;
}
.about-intro__text p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.about-intro__text p:last-child { margin-bottom: 0; }
.about-highlight {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}
.about-highlight h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.about-highlight ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.about-highlight li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.about-highlight li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}
.about-highlight--grid ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 1.5rem;
}
.about-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.about-area {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  transition: all var(--ease);
}
.about-area:hover {
  border-color: var(--primary-light);
  background: var(--primary-light);
  transform: translateY(-2px);
}
.about-journey {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.about-journey__activities {
  margin-top: 1.75rem;
}
.about-journey__text p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.about-journey__text p:last-child { margin-bottom: 0; }
.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.about-mv-card {
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.75rem;
  border: none;
  box-shadow: var(--shadow);
}
.about-mv-card--mission {
  background: var(--primary);
}
.about-mv-card--vision {
  background: var(--secondary);
}
.about-mv-card .eyebrow {
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
}
.about-mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.about-mv-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}
.about-goal {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-goal::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.about-goal .eyebrow { color: rgba(255, 255, 255, 0.85); }
.about-goal h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  max-width: 640px;
}
.about-goal p {
  font-size: 0.98rem;
  line-height: 1.75;
  opacity: 0.92;
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.about-objectives {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-objective-group {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid transparent;
}
.about-objective-group:nth-child(odd) {
  background: var(--primary-light);
  border-color: rgba(14, 118, 188, 0.18);
}
.about-objective-group:nth-child(even) {
  background: var(--secondary-light);
  border-color: rgba(241, 89, 42, 0.18);
}
.about-objective-group:nth-child(odd) h3 {
  color: var(--primary-dark);
  border-bottom-color: rgba(14, 118, 188, 0.2);
}
.about-objective-group:nth-child(even) h3 {
  color: var(--secondary-dark);
  border-bottom-color: rgba(241, 89, 42, 0.2);
}
.about-objective-group:nth-child(odd) li::before { color: var(--primary); }
.about-objective-group:nth-child(even) li::before { color: var(--secondary); }
.about-objective-group h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--cream-deep);
}
.about-objective-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.about-objective-group li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 1.15rem;
  position: relative;
}
.about-objective-group li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.75rem;
}
.about-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.about-location__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.about-location__card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}
.about-location__item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.about-location__item:last-child { margin-bottom: 0; }
.about-location__item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}
.about-location__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-location__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.85rem; }
.cta-banner p {
  font-family: var(--font-subtitle);
  opacity: 0.92;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner .btn--outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  background: transparent;
}
.cta-banner .btn--outline:hover {
  background: #fff;
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.78);
  margin-top: 3rem;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: 1rem; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; }
.footer-brand img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  border: 3px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.65; margin: 0.75rem 0 1rem; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.35rem 0 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-bottom__copy { margin: 0; }
.footer-bottom__credit { margin: 0; margin-left: auto; text-align: right; }
.footer-bottom__credit a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-decoration: none;
}
.footer-bottom__credit a:hover { color: var(--secondary-light); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .welcome, .split-section, .projects-split { grid-template-columns: 1fr; }
  .projects-split { gap: 2rem; }
  .card--horizontal { flex-direction: column; }
  .card--horizontal .card__img { width: 100%; max-width: none; min-height: 0; aspect-ratio: 16/10; }
  .welcome__slices { transform: rotate(-3deg); width: min(100%, 420px); }
  .welcome__slice { height: 128px; }
  .welcome__slice--mid { height: 148px; }
  .welcome__slice img { transform: rotate(3deg) scale(1.04); }
  .welcome__stat { align-self: flex-start; text-align: left; margin-top: 2rem; }
  .hero-slider__badge { right: 1rem; bottom: 1.5rem; }
  .causes-grid, .causes-list, .card-grid, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .donate-layout { grid-template-columns: 1fr; }
  .donate-card { position: static; }
  .about-areas { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .causes-list--pair { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .container { width: min(100% - 1.5rem, var(--container)); }

  section:not(.hero-slider):not(.hero-actions-wrap):not(.page-hero):not(.page-banner) { padding: 2.25rem 0; }
  .section-head,
  .section-header { margin-bottom: 1.5rem; }
  .section-head p,
  .section-header p { font-size: 1rem; }

  /* Top bar */
  .top-bar { font-size: 0.75rem; padding: 0.45rem 0; }
  .top-bar__item--address { display: none; }
  .top-bar__inner { justify-content: space-between; gap: 0.5rem; }
  .top-bar__social-link { width: 30px; height: 30px; }

  /* Header */
  .nav-toggle { display: flex; }
  .main-nav__inner { min-height: var(--header-h); }
  .brand img { width: 60px; height: 60px; }
  .brand__text strong { font-size: 1.05rem; }
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: min(300px, 88vw); height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    transition: right var(--ease);
    z-index: 999;
    align-items: stretch;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a:not(.btn) { display: block; padding: 0.85rem 1rem; min-height: 44px; }
  .nav-donate { margin: 1rem 0 0; width: 100%; min-width: 0; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 35, 58, 0.45);
    z-index: 998;
  }
  .nav-overlay.open { display: block; }

  .page-hero { padding: 3rem 0 2.5rem; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-hero p { font-size: 0.95rem; padding: 0 0.25rem; }
  .breadcrumb { font-size: 0.8125rem; flex-wrap: wrap; justify-content: center; gap: 0.25rem; }

  .article-content img,
  .article-content video,
  .article-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
  }
  .article-content iframe { aspect-ratio: 16/9; min-height: 200px; }

  .amount-presets { grid-template-columns: repeat(2, 1fr); }
  .donate-card .btn,
  .donate-layout .btn { min-height: 44px; }

  .card__body .btn,
  .empty-state .btn { width: 100%; max-width: 320px; }
  .pagination { flex-wrap: wrap; }

  /* Hero slider */
  .hero-slider {
    height: clamp(460px, calc(100svh - 108px), 720px);
  }
  .hero-slide__shade {
    background:
      linear-gradient(to top, rgba(8, 35, 58, 0.92) 0%, rgba(8, 35, 58, 0.55) 42%, rgba(8, 35, 58, 0.2) 68%, transparent 88%),
      linear-gradient(to right, rgba(8, 35, 58, 0.7) 0%, transparent 70%);
  }
  .hero-slide__inner {
    align-items: flex-end;
    padding-bottom: 1.25rem;
  }
  .hero-slide__copy { max-width: 100%; padding-bottom: 0.5rem; }
  .hero-slide__title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero-slide__text { font-size: 0.98rem; margin-bottom: 1.35rem; }
  .hero-slide__btns { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-slide__btns .btn { width: 100%; justify-content: center; }
  .hero-slider__badge {
    top: 0.85rem;
    right: 0.85rem;
    left: auto;
    bottom: auto;
    padding: 0.65rem 0.85rem;
    min-width: 96px;
  }
  .hero-slider__badge strong { font-size: 1.45rem; }
  .hero-slider__badge span { font-size: 0.6875rem; }

  /* Hero action cards */
  .hero-actions { padding: 1.5rem 0 2rem; gap: 1rem; }
  .hero-action { padding: 1.35rem 1.25rem; }

  /* Welcome */
  .welcome { gap: 2rem; }
  .welcome__visual { padding: 0.5rem 0; }
  .welcome__slices { width: min(100%, 100%); max-width: 360px; margin: 0 auto; }
  .welcome__content { align-items: stretch; }
  .welcome__text { font-size: 0.98rem; }
  .welcome__content .btn { width: 100%; justify-content: center; }

  /* Programmes & campaigns */
  .causes-grid, .causes-list, .causes-list--pair, .card-grid, .stats-row, .mv-grid { grid-template-columns: 1fr; }
  .cause-card { flex-direction: column; min-height: 0; }
  .cause-card__img { width: 100%; max-width: none; }
  .cause-card__img img { min-height: 180px; }
  .cause-card--primary .cause-card__body,
  .cause-card--secondary .cause-card__body { padding: 1.25rem 1.35rem; }

  /* Donate strip */
  .donate-strip {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .donate-strip .btn { width: 100%; justify-content: center; }
  .donate-strip h2 { max-width: none; }

  /* Campaigns + news split */
  .projects-split__main .section-head--left { margin-bottom: 1.5rem; }
  .projects-split__news { padding: 1.25rem; }
  .cause-item__body .btn { width: 100%; }
  .news-sidebar__more { display: block; text-align: center; }

  /* Stats */
  .stat-box { padding: 1.5rem 0.75rem; }

  /* Gallery */
  .gallery-masonry { columns: 2; column-gap: 0.85rem; }
  .gallery-masonry .g-item { margin-bottom: 0.85rem; }

  /* Final CTA */
  .cta-final { padding: 3rem 1.25rem; }
  .cta-final .btn { width: 100%; justify-content: center; }

  /* Footer */
  .site-footer { margin-top: 2.5rem; padding-top: 3rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--links { grid-column: 1; }
  .footer-col--involved { grid-column: 2; }
  .footer-col--contact {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 320px;
    margin: 0.5rem auto 0;
  }
  .footer-col--contact ul { display: inline-block; text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.65rem; }
  .footer-bottom__credit { margin-left: 0; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .section-cta { margin-top: 2rem; }
  .section-cta .btn { width: 100%; max-width: 320px; }

  .page-banner {
    height: 280px;
    --banner-img-pos: 50% 28%;
  }
  .page-banner__shade {
    background: linear-gradient(
      to right,
      rgba(8, 35, 58, 0.9) 0%,
      rgba(8, 35, 58, 0.55) 48%,
      rgba(8, 35, 58, 0.18) 62%,
      transparent 78%
    );
  }
  .page-banner h1 { font-size: 1.65rem; }
  .page-banner p { font-size: 0.9rem; max-width: 100%; }
  .about-intro, .about-journey, .about-location { grid-template-columns: 1fr; }
  .about-intro__text,
  .about-intro__mosaic,
  .about-intro__glance { grid-column: 1; grid-row: auto; }
  .about-intro__mosaic {
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16/10;
    grid-template-columns: 1.25fr 1fr;
  }
  .about-areas { grid-template-columns: repeat(2, 1fr); }
  .about-mv-grid, .about-objectives { grid-template-columns: 1fr; }
  .about-goal { padding: 1.75rem 1.35rem; }
  .cta-banner { padding: 2.5rem 0; }
  .cta-banner__actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 1.25rem, var(--container)); }

  section:not(.hero-slider):not(.hero-actions-wrap):not(.page-hero):not(.page-banner) { padding: 1.85rem 0; }

  .top-bar__item--phone { display: none; }
  .top-bar__inner { justify-content: center; }

  .brand__text small { display: none; }
  .brand__text strong { font-size: 0.95rem; }
  .brand img { width: 58px; height: 58px; }
  .footer-brand img { width: 76px; height: 76px; }

  .hero-slider { height: clamp(420px, 78svh, 600px); }
  .hero-slide__title { font-size: 1.75rem; }
  .hero-slide__eyebrow { font-size: 0.75rem; margin-bottom: 0.65rem; }
  .hero-slider__badge { display: none; }

  .welcome__slice { height: 110px; }
  .welcome__slice--mid { height: 128px; }
  .welcome__stat strong { font-size: 2.35rem; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .stat-box strong { font-size: 1.75rem; }
  .stat-box span { font-size: 0.8125rem; }

  .gallery-masonry { columns: 1; }

  .cause-item__body { padding: 1.15rem; }
  .progress-meta { flex-direction: column; gap: 0.25rem; align-items: flex-start; }

  .donate-strip { padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); }

  .btn--lg { padding: 0.9rem 1.5rem; font-size: 0.9375rem; }

  .site-footer { padding-top: 2.5rem; }

  .about-areas { grid-template-columns: 1fr; }

  .page-hero { padding: 2.5rem 0 2rem; }
  .amount-presets { grid-template-columns: 1fr 1fr; }
  .footer-grid { gap: 1.5rem 1rem; }
}
