:root {
  color-scheme: light;
  --ink: #16231f;
  --muted: #5a6861;
  --paper: #f7f4eb;
  --white: #fffdf8;
  --line: #ddd5c4;
  --green: #27553f;
  --green-dark: #153427;
  --gold: #d69f31;
  --rust: #a84f32;
  --shadow: 0 22px 70px rgba(22, 35, 31, 0.14);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(22, 35, 31, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

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

nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eee7dc;
  border: 1px solid rgba(22, 35, 31, 0.12);
}

.lang-button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.lang-button.active {
  color: #fffdf8;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(68px, 8vw, 110px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 62px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 20, 15, 0.88) 0%, rgba(10, 20, 15, 0.66) 45%, rgba(10, 20, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 20, 15, 0.86) 0%, rgba(10, 20, 15, 0) 45%);
}

.hero-content {
  width: min(860px, 100%);
  color: #fffdf8;
}

.campaign-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: rgba(255, 253, 248, 0.13);
  border: 1px solid rgba(255, 253, 248, 0.28);
  font-weight: 900;
}

.campaign-mark img {
  width: 54px;
  height: 38px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c96b;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid transparent;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: var(--green-dark);
  background: #f1c96b;
}

.button.secondary {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.62);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.28);
  background: rgba(255, 253, 248, 0.18);
}

.hero-stats div {
  padding: 18px;
  background: rgba(10, 20, 15, 0.34);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.hero-stats span {
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.intro,
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.section-copy {
  max-width: 660px;
}

.section-copy.wide {
  max-width: 900px;
}

.body-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.body-copy p,
.split-copy p,
.donation-panel p,
.donation-note p,
.gallery-heading p,
.supporters span,
.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
}

.impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.impact-card {
  min-height: 270px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(22, 35, 31, 0.06);
}

.impact-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--green-dark);
  color: #fffdf8;
}

.split-media {
  min-height: 420px;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-copy .eyebrow {
  color: #f1c96b;
}

.split-copy p {
  color: rgba(255, 253, 248, 0.82);
}

.donation-section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 56px);
  background: #fffdf8;
}

.donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.bank-card {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 4vw, 36px);
  color: #fffdf8;
  background: var(--green);
  box-shadow: var(--shadow);
}

.bank-label {
  margin-top: 12px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bank-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  padding: 8px 14px;
  color: var(--green-dark);
  background: #f1c96b;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.donation-note {
  max-width: 960px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.proof {
  align-items: center;
}

.proof-image {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-image img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #eee7dc;
}

figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-section {
  background: #ebe4d6;
}

.gallery-group {
  margin-top: clamp(34px, 5vw, 62px);
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.gallery-heading p {
  max-width: 520px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.supporters {
  background: var(--white);
}

.logo-blocks {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  margin-top: 34px;
}

.logo-blocks article {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: #fffaf0;
}

.logo-blocks p {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.logo-blocks a {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.logo-list {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.logo-list img {
  width: auto;
  max-width: min(260px, 100%);
  max-height: 92px;
  object-fit: contain;
}

.supporters-list img {
  max-height: 110px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(22, 35, 31, 0.08);
}

.final-cta {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 56px);
  color: #fffdf8;
  background: var(--green-dark);
}

.final-cta img {
  width: 100%;
  background: #fff;
}

.final-cta p {
  color: rgba(255, 253, 248, 0.82);
}

.final-cta .button {
  margin-top: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 253, 248, 0.78);
  background: #0d2118;
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .intro,
  .proof,
  .split,
  .donation-panel,
  .logo-blocks,
  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .image-grid,
  .damage-grid,
  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-heading {
    display: block;
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(10, 20, 15, 0.88), rgba(10, 20, 15, 0.68)),
      linear-gradient(90deg, rgba(10, 20, 15, 0.82), rgba(10, 20, 15, 0.42));
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .campaign-mark {
    width: 100%;
    justify-content: flex-start;
  }

  .copy-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .image-grid,
  .damage-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .image-grid img {
    aspect-ratio: 16 / 11;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 8px;
  }
}
