:root {
  color-scheme: light;
  --ink: #1e2130;
  --muted: #62677b;
  --line: rgba(30, 33, 48, 0.12);
  --paper: #fffaf4;
  --surface: #ffffff;
  --soft: #f5efe8;
  --indigo: #29335c;
  --indigo-deep: #171d38;
  --teal: #00897b;
  --coral: #e85d4f;
  --coral-dark: #c74338;
  --gold: #f2b84b;
  --shadow: 0 20px 60px rgba(30, 33, 48, 0.12);
  --font-body:
    "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  margin: 0;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 244, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  inset: 0 0 auto;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--indigo);
  border-radius: 16px;
  color: var(--paper);
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  justify-content: center;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.header-action,
.button {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
  min-height: 46px;
  padding: 0 22px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-action,
.button.primary {
  background: var(--coral);
  border: 0;
  color: white;
  box-shadow: 0 16px 34px rgba(232, 93, 79, 0.28);
}

.header-action:hover,
.button.primary:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  margin-left: auto;
  padding: 8px;
}

.nav-toggle span {
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(41, 51, 92, 0.98), rgba(0, 137, 123, 0.88)),
    var(--indigo);
  color: white;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  margin: 26px 0 0;
  max-width: 660px;
}

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

.hero-media {
  border-radius: 34px;
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

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

.impact-ticket {
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  bottom: 22px;
  color: var(--ink);
  left: 22px;
  max-width: 310px;
  padding: 20px;
  position: absolute;
}

.impact-ticket strong {
  color: var(--coral);
  display: block;
  font-size: 34px;
  line-height: 1;
}

.impact-ticket span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 8px;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.split {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
}

.split p:last-child {
  font-size: 20px;
  margin: 36px 0 0;
}

.soft {
  background: var(--soft);
}

.section-heading {
  margin: 0 auto 46px;
  max-width: 760px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 640px;
}

.compact {
  margin-bottom: 34px;
}

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

.program-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(30, 33, 48, 0.07);
  min-height: 280px;
  padding: 28px;
}

.icon {
  align-items: center;
  background: rgba(0, 137, 123, 0.1);
  border-radius: 14px;
  color: var(--teal);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 34px;
  width: 42px;
}

.program-card p {
  font-size: 15px;
  margin: 16px 0 0;
}

.stories-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(245, 239, 232, 0.92)),
    var(--paper);
}

.story-feature {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(30, 33, 48, 0.08);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  margin-bottom: 22px;
  overflow: hidden;
}

.story-feature img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}

.story-feature div {
  align-self: center;
  padding: clamp(28px, 5vw, 56px);
}

.story-feature h3 {
  color: var(--indigo);
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.05;
}

.story-feature p:not(.eyebrow) {
  margin: 18px 0 0;
}

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

.story-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(30, 33, 48, 0.07);
  overflow: hidden;
}

.story-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.story-grid div {
  padding: 24px;
}

.story-grid span {
  color: var(--coral);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.story-grid p {
  font-size: 15px;
  margin: 14px 0 0;
}

.stats {
  background: var(--indigo-deep);
  border-radius: 28px;
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.stats div {
  background: rgba(255, 255, 255, 0.06);
  padding: 34px 24px;
  text-align: center;
}

.stats strong {
  color: var(--gold);
  display: block;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.stats span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-top: 10px;
}

.gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.gallery figure {
  border-radius: 24px;
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.gallery figure:first-child {
  grid-row: span 2;
  min-height: 658px;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.gallery figcaption {
  background: rgba(23, 29, 56, 0.72);
  border-radius: 999px;
  bottom: 18px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  left: 18px;
  padding: 10px 14px;
  position: absolute;
}

.involve-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.involve-grid a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: block;
  padding: 26px;
}

.involve-grid strong {
  color: var(--indigo);
  display: block;
  font-size: 24px;
}

.involve-grid span {
  color: var(--muted);
  display: block;
  line-height: 1.55;
  margin-top: 8px;
}

.donation-panel {
  align-items: center;
  background: var(--indigo);
  border-radius: 28px;
  color: white;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  margin-top: 32px;
  padding: clamp(28px, 5vw, 56px);
}

.donation-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.donation-form {
  background: var(--paper);
  border-radius: 22px;
  padding: 22px;
}

.donation-form label,
.contact-form label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
}

input,
select,
textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.donation-form .button {
  margin-top: 16px;
  width: 100%;
}

.contact-section {
  display: grid;
  gap: clamp(28px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  color: var(--indigo);
  font-weight: 900;
}

.contact-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(30, 33, 48, 0.08);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form .button {
  justify-self: start;
}

.site-footer {
  background: var(--indigo-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 34px clamp(20px, 5vw, 72px);
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.7fr));
}

.site-footer .brand strong,
.site-footer .brand small {
  color: white;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  margin: 0;
}

.footer-about p {
  line-height: 1.65;
  margin-top: 18px;
  max-width: 360px;
}

.footer-donate {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: 22px;
  min-height: 42px;
  padding: 0 18px;
}

.site-footer h3 {
  color: white;
  font-size: 14px;
  letter-spacing: 0.12em;
  margin: 8px 0 18px;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 22px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .site-header.open .nav-links {
    display: grid;
    flex-basis: 100%;
    gap: 14px;
    justify-content: stretch;
    margin: 0;
  }

  .site-header.open .header-action {
    display: inline-flex;
  }

  .hero,
  .split,
  .story-feature,
  .donation-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 430px;
  }

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

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

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

  .gallery figure:first-child {
    grid-row: auto;
    min-height: 320px;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media {
    border-radius: 24px;
    min-height: 360px;
  }

  .program-grid,
  .story-grid,
  .stats,
  .involve-grid {
    grid-template-columns: 1fr;
  }

  .story-feature img {
    min-height: 320px;
  }

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

  .program-card {
    min-height: 0;
  }

  .site-header.open .header-action {
    width: 100%;
  }

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