@font-face {
  font-family: "NovoHorizonteScript";
  src: url("../fonts/DancingScript-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #061d45;
  --navy-2: #082b5b;
  --green: #4f9728;
  --green-2: #8dbd14;
  --teal: #00b99d;
  --orange: #ff8500;
  --yellow: #f8be20;
  --blue: #1c83db;
  --purple: #8f3cec;
  --ink: #071a3a;
  --muted: #4e5f78;
  --line: #d9e1ed;
  --soft: #f7faf6;
  --white: #ffffff;
  --shadow: 0 16px 35px rgba(5, 29, 69, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes soft-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 96% 33%, rgba(90, 147, 38, 0.15) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #fff 0%, #fff 78%, #08274f 78%, #08274f 100%);
}

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

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

.container {
  width: min(100% - 88px, 1380px);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 285px;
}

.brand-logo {
  width: 292px;
  height: auto;
  object-fit: contain;
}

.site-header {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
  width: 100%;
  font-weight: 800;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a:not(.donate-pill)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav .active::after {
  transform: scaleX(1);
}

.donate-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  color: #fff;
  background: linear-gradient(135deg, #054838, #0b6248);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(3, 52, 45, 0.22);
}

.heart-line {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 724px;
  overflow: hidden;
  padding-top: 164px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(110deg, #fff 0 42%, rgba(255,255,255,0.36) 56%, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -7vw;
  bottom: -142px;
  width: 62vw;
  height: 275px;
  background: linear-gradient(135deg, rgba(143, 189, 20, 0.94), rgba(45, 126, 34, 0.98));
  border-radius: 58% 0 0 0;
  transform: rotate(-4deg);
  z-index: 1;
}

.hero-photo {
  position: absolute;
  inset: 0 0 auto auto;
  width: 66%;
  height: 655px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.64) 16%, rgba(255,255,255,0) 39%),
    linear-gradient(180deg, rgba(255,255,255,0) 66%, #fff 98%),
    url("../img/hero-community.jpg") center right / cover no-repeat;
  animation: soft-float 8s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 560px) 1fr;
}

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

.hero-copy h1,
.hero-copy p,
.hero-actions {
  opacity: 0;
  animation: hero-rise 0.75s ease forwards;
}

.hero-copy p {
  animation-delay: 0.16s;
}

.hero-actions {
  animation-delay: 0.28s;
}

.hero h1 {
  margin: 72px 0 28px;
  color: var(--navy);
  font-size: clamp(3.1rem, 5.2vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1 span,
.hero h1 em,
.cta-copy h2 span,
.section-copy h2 span {
  display: inline-block;
  font-family: "NovoHorizonteScript", "Segoe Print", "Comic Sans MS", cursive;
  font-style: normal;
  font-weight: 700;
  transform: rotate(-2deg);
  text-shadow: 0.008em 0 currentColor;
}

.hero h1 span,
.section-copy h2 span {
  color: var(--green);
}

.hero h1 em {
  position: relative;
  color: var(--orange);
  font-size: 1.02em;
}

.hero h1 em::after,
.impact-panel h2::after,
.cta-copy h2 span::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(142, 189, 19, 0.25));
  transform: rotate(-4deg);
  transform-origin: left;
  transition: transform 0.75s ease 0.18s;
}

.hero-copy p {
  max-width: 560px;
  margin: 0 0 42px;
  color: #132748;
  font-size: 1.12rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 27px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.video-link:hover,
.cta-card:hover,
.project-card:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #062d63);
  box-shadow: 0 14px 28px rgba(3, 31, 74, 0.25);
}

.btn.primary svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.btn.outline {
  min-width: 275px;
  color: var(--navy);
  border: 2px solid var(--navy);
  background: #fff;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.play-icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: #fff;
  position: relative;
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 13px solid var(--navy);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.pillars-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  z-index: 3;
  margin-top: 0;
}

.pillars {
  width: min(760px, 52vw);
  margin-left: auto;
  padding: 28px 24px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background:
    radial-gradient(120% 95% at 20% 118%, rgba(1, 88, 65, 0.55), transparent 58%),
    linear-gradient(135deg, rgba(4, 79, 63, 0.98), rgba(3, 54, 69, 0.99));
  border-radius: 36px 36px 0 0;
  box-shadow: 0 20px 35px rgba(4, 50, 55, 0.3);
}

.pillars article {
  min-height: 130px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 0 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.pillars article:last-child {
  border-right: 0;
}

.pillars svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillars .icon-white {
  stroke: #fff;
}

.pillars .icon-yellow {
  stroke: var(--yellow);
}

.pillars h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 900;
}

.section {
  padding: 34px 0;
}

.about {
  position: relative;
  margin-top: 0;
  padding-top: 48px;
  background: #fff;
  border-top-left-radius: 58px;
  box-shadow: 0 -8px 20px rgba(12, 46, 82, 0.04);
}

.about::after,
.areas::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--green) 0 2px, transparent 2px 10px);
  opacity: 0.75;
}

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 900;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

.section-copy p {
  margin: 30px 0 34px;
  color: #182946;
  font-size: 1.04rem;
  font-weight: 700;
}

.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.9fr);
  gap: 16px;
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-main {
  min-height: 340px;
  grid-row: span 2;
}

.about-side {
  min-height: 160px;
}

.about-collage::before {
  content: "";
  position: absolute;
  left: -34px;
  bottom: -22px;
  width: 170px;
  height: 82px;
  background:
    radial-gradient(circle at 40% 60%, var(--orange) 0 3px, transparent 3px 13px),
    linear-gradient(155deg, rgba(80, 151, 40, 0.85), rgba(141, 189, 20, 0.75));
  border-radius: 55% 45% 0 40%;
  z-index: -1;
}

.impact {
  padding: 16px 0 24px;
  background: #fff;
}

.impact-panel {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  align-items: center;
  min-height: 148px;
  padding: 30px 28px;
  color: #fff;
  background: linear-gradient(135deg, #05224f, #082f65);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.impact-panel h2 {
  position: relative;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.impact-panel h2::after {
  width: 140px;
  margin-top: 2px;
}

.impact-item {
  min-height: 94px;
  display: grid;
  place-items: center;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
}

.impact-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 42px;
  color: currentColor;
}

.impact-icon svg {
  width: 58px;
  height: 58px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.impact-icon .impact-fill {
  fill: currentColor;
  stroke: none;
}

.impact-icon .impact-fill.small {
  opacity: 0.88;
}

.impact-icon.green { color: var(--green-2); }
.impact-icon.blue { color: var(--blue); }
.impact-icon.yellow { color: var(--yellow); }
.impact-icon.teal { color: var(--teal); }

.impact-icon.teal svg {
  stroke-width: 3.5;
}

.impact-item strong {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1;
  font-weight: 900;
}

.impact-item span:last-child {
  font-size: 1rem;
  font-weight: 800;
}

.areas {
  position: relative;
  background: #fff;
}

.areas-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.area-card {
  min-height: 195px;
  padding: 26px 18px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(7, 29, 69, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(5, 29, 69, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(5, 29, 69, 0.14);
}

.area-card:hover .area-icon,
.impact-item:hover .impact-icon,
.cta-card:hover .cta-icon {
  transform: translateY(-3px) scale(1.04);
}

.area-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 68px;
  margin: 0 auto 16px;
  color: var(--icon-main);
  transition: transform 0.22s ease;
}

.area-icon svg {
  width: 70px;
  height: 70px;
  overflow: visible;
  fill: none;
  stroke: var(--icon-main);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.area-icon .icon-bg {
  fill: var(--icon-bg);
  stroke: none;
}

.area-icon .icon-fill {
  fill: var(--icon-main);
  stroke: none;
}

.area-icon .icon-fill.dark {
  fill: var(--icon-dark);
}

.area-icon .icon-fill.soft {
  fill: var(--icon-soft);
}

.area-icon .icon-stroke {
  stroke: var(--icon-main);
}

.area-icon .icon-stroke.light,
.area-icon .icon-dot.light {
  stroke: #fff;
}

.area-icon .icon-dot.light {
  fill: #fff;
}

.area-icon .icon-stroke.halo {
  stroke: var(--icon-halo);
}

.area-icon .icon-stroke.accent {
  stroke: var(--icon-accent);
}

.area-icon .icon-dot {
  fill: var(--icon-dot);
  stroke: none;
}

.area-icon.education {
  --icon-main: #6ba719;
  --icon-dark: #34853a;
  --icon-bg: #e6f4d2;
  --icon-dot: #fff;
}

.area-icon.health {
  --icon-main: #1b82db;
}

.area-icon.social {
  --icon-main: #ff7200;
  --icon-soft: #ff9a25;
  --icon-bg: #fff0d8;
}

.area-icon.culture {
  --icon-main: #a719e8;
  --icon-dot: #fff;
}

.area-icon.ages {
  --icon-main: #ff2600;
  --icon-dark: #e81d00;
  --icon-halo: #ffa849;
  --icon-dot: #fff;
}

.area-icon.volunteer {
  --icon-main: #05b98f;
  --icon-accent: #27c8a6;
}

.area-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.14;
  font-weight: 900;
}

.area-card p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.projects {
  padding-top: 16px;
  padding-bottom: 46px;
  background: #fff;
}

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

.section-heading h2 span {
  color: var(--orange);
}

.section-heading a {
  font-weight: 900;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid rgba(7, 29, 69, 0.14);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(5, 29, 69, 0.12);
  transition: transform 0.2s ease;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0 50%, rgba(255,255,255,0.32) 75%, transparent 100%);
}

.project-content {
  position: relative;
  z-index: 1;
  width: 72%;
  padding: 23px 28px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 12px;
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag.green { background: var(--green); }
.tag.purple { background: var(--purple); }
.tag.orange { background: var(--orange); }

.project-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.12;
  font-weight: 900;
}

.project-card p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.round-link {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  color: var(--navy);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(5, 29, 69, 0.18);
  font-weight: 900;
}

.cta-band {
  padding: 0;
  background: #fff;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 34px;
  min-height: 238px;
  padding: 50px 36px 42px 370px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 34, 78, 0.42) 0 26%, rgba(4, 34, 78, 0.98) 45% 100%),
    url("../img/cta-sunset.jpg") left center / auto 100% no-repeat,
    linear-gradient(135deg, #062657, #083664);
  border-radius: 70px 70px 0 0;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  color: #fff;
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
}

.cta-copy h2 span {
  color: var(--green-2);
  transform: rotate(-4deg);
}

.cta-copy p {
  margin: 24px 0 0;
  max-width: 410px;
  font-size: 0.94rem;
  font-weight: 800;
}

.cta-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.cta-card {
  display: grid;
  align-content: center;
  min-height: 154px;
  padding: 24px 26px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta-card:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--yellow);
}

.cta-icon svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-icon.people svg,
.cta-icon.share svg {
  stroke-width: 3.2;
}

.cta-card strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 1.15rem;
  font-weight: 900;
}

.cta-card small {
  font-size: 0.9rem;
  font-weight: 700;
}

.partners {
  margin-top: -1px;
  padding-bottom: 38px;
  background: linear-gradient(180deg, #082b5b, #07244f);
}

.partners-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  min-height: 105px;
  padding: 18px 36px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 35px rgba(2, 21, 44, 0.24);
}

.partners-panel h2 {
  font-size: 1.7rem;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 22px;
}

.partner-logos span {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 0 18px;
  color: #1361a7;
  border-left: 1px solid var(--line);
  text-align: center;
  text-transform: uppercase;
  font-size: 1.42rem;
  line-height: 1;
  font-weight: 900;
}

.partner-logos small {
  margin-top: 5px;
  color: #2c79bd;
  font-size: 0.65rem;
  line-height: 1.05;
  font-weight: 800;
}

.partner-logos .plus {
  display: inline;
  padding: 0;
  color: #1c73bb;
  border: 0;
  font-size: 2.4rem;
}

.site-footer {
  color: #fff;
  background: linear-gradient(180deg, #082b5b, #061d45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.35fr 1.05fr;
  gap: 54px;
  padding: 14px 0 42px;
}

.footer-logo {
  min-width: 250px;
  width: max-content;
  padding: 10px 13px;
  background: #fff;
  border-radius: 8px;
}

.footer-logo .brand-logo {
  width: 242px;
}

.footer-brand p {
  margin: 14px 0 17px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials a:nth-child(2) svg,
.socials a:nth-child(4) svg {
  fill: #fff;
  stroke: none;
}

.socials a:nth-child(3) svg path:first-child {
  stroke: #fff;
}

.socials a:nth-child(3) svg path:last-child {
  fill: #fff;
  stroke: none;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  font-style: normal;
}

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

.footer-links h3,
.footer-contact h3 {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
}

.footer-links a,
.footer-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
}

.footer-donate {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  align-items: center;
  gap: 8px;
  min-height: 148px;
  padding: 26px 34px;
  border: 2px solid var(--green-2);
  border-radius: 16px;
  background: rgba(141, 189, 20, 0.08);
}

.footer-donate-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 56px;
  color: var(--green-2);
}

.footer-donate-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(4px 0 0 rgba(248, 190, 32, 0.85));
}

.footer-donate strong {
  max-width: 180px;
  font-size: 1.12rem;
  line-height: 1.22;
}

.footer-donate b {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  width: max-content;
  min-width: 160px;
  padding: 12px 18px;
  color: #fff;
  background: var(--green-2);
  border-radius: 999px;
}

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.75s ease var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(0.2, 0.72, 0.24, 1) var(--reveal-delay, 0ms);
}

[data-animate="fade-down"] {
  transform: translate3d(0, -20px, 0);
}

[data-animate="fade-right"] {
  transform: translate3d(-34px, 0, 0);
}

[data-animate="fade-left"] {
  transform: translate3d(34px, 0, 0);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-animate]:not(.is-visible) h1 em::after,
[data-animate]:not(.is-visible) h2::after,
[data-animate]:not(.is-visible) h2 span::after {
  transform: scaleX(0) rotate(-4deg);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .hero-copy h1,
  .hero-copy p,
  .hero-actions {
    opacity: 1;
    transform: none;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 44px, 1080px);
  }

  .site-header {
    position: relative;
    padding: 16px 0;
    background: #fff;
    box-shadow: 0 8px 18px rgba(5, 29, 69, 0.08);
  }

  .header-inner {
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 230px;
  }

  .nav-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
  }

  .nav-button span,
  .nav-button span::before,
  .nav-button span::after {
    display: block;
    width: 23px;
    height: 3px;
    background: var(--navy);
    border-radius: 999px;
  }

  .nav-button span {
    position: relative;
  }

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

  .nav-button span::before {
    top: -8px;
  }

  .nav-button span::after {
    top: 8px;
  }

  .main-nav {
    position: absolute;
    left: 22px;
    right: 22px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .main-nav a {
    padding: 12px 14px;
  }

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

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

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

  .hero::after {
    display: none;
  }

  .hero-photo {
    position: relative;
    width: 100%;
    height: 430px;
    background:
      linear-gradient(180deg, transparent 60%, #fff 100%),
      url("../img/hero-community.jpg") center / cover no-repeat;
  }

  .hero-grid {
    display: block;
    margin-top: -78px;
  }

  .hero-copy {
    max-width: 760px;
    padding: 24px 0;
  }

  .hero h1 {
    margin-top: 0;
  }

  .pillars-wrap {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100% - 44px, 1080px);
    max-width: 1080px;
    margin-inline: auto;
    margin-top: 22px;
  }

  .pillars {
    margin-left: 0;
    width: 100%;
    border-radius: 24px;
    padding: 26px 18px;
  }

  .about-grid,
  .cta-panel,
  .partners-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .project-card {
    min-height: 220px;
  }

  .cta-panel {
    padding: 320px 28px 32px;
    background:
      linear-gradient(180deg, transparent 0 32%, rgba(4, 34, 78, 0.98) 48% 100%),
      url("../img/cta-sunset.jpg") top center / 100% auto no-repeat,
      linear-gradient(135deg, #062657, #083664);
  }

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

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

  .footer-brand p,
  .socials {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  body {
    background: #fff;
  }

  .container {
    width: min(100% - 28px, 620px);
  }

  .pillars-wrap {
    width: min(100% - 28px, 620px);
  }

  .brand-logo {
    width: min(205px, 62vw);
  }

  .hero-photo {
    height: 330px;
  }

  .hero-grid {
    margin-top: -36px;
  }

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

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .section-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn,
  .video-link {
    width: 100%;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 10px;
  }

  .pillars article {
    min-height: 138px;
    border-right: 0;
    padding: 16px 10px;
  }

  .pillars article:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.32);
  }

  .pillars article:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    padding-top: 20px;
  }

  .pillars svg {
    width: 54px;
    height: 54px;
  }

  .pillars h3 {
    font-size: 0.95rem;
  }

  .impact-icon {
    width: 58px;
    height: 38px;
  }

  .impact-icon svg {
    width: 50px;
    height: 50px;
  }

  .about-grid {
    gap: 32px;
  }

  .about-collage {
    grid-template-columns: 1fr;
  }

  .about-main,
  .about-side {
    min-height: 230px;
  }

  .impact-panel {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 24px 18px;
  }

  .impact-panel h2 {
    grid-column: 1 / -1;
  }

  .impact-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    padding-top: 16px;
  }

  .areas-grid,
  .cta-actions,
  .partner-logos {
    grid-template-columns: 1fr;
  }

  .area-card {
    min-height: 170px;
  }

  .area-icon {
    width: 64px;
    height: 58px;
    margin-bottom: 12px;
  }

  .area-icon svg {
    width: 60px;
    height: 60px;
  }

  .project-card {
    min-height: 260px;
  }

  .project-card::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0 57%, rgba(255,255,255,0.25) 100%);
  }

  .project-content {
    width: 100%;
  }

  .cta-panel {
    padding-top: 240px;
    border-radius: 34px 34px 0 0;
  }

  .cta-icon {
    width: 52px;
    height: 52px;
  }

  .cta-icon svg {
    width: 50px;
    height: 50px;
  }

  .partners-panel {
    padding: 22px;
  }

  .partner-logos span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-donate {
    grid-template-columns: auto 1fr;
    padding: 24px;
  }

  .footer-donate-icon {
    width: 54px;
  }

  .footer-donate-icon svg {
    width: 50px;
    height: 50px;
  }
}
