/* ==========================================================================
   Villages for All — static site stylesheet
   Rebuilt from the Wix site. Layout is tuned for a 1280px desktop view and
   collapses to a single column below 960px.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Nunito Sans stands in for Avenir Light where Avenir is not installed. */
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --dark: #2e2e2e;
  --gray: #5b5b5b;
  --peach: #ffaa81;
  --teal: #4e615f;
  --sage: #75928e;
  --blush: #dec3b8;
  --mint: #ccdbd9;
  --light: #f2f2f2;
  --white: #ffffff;
  --footer-bar: #322c2a;
  --rule: rgba(204, 204, 204, 0.75);

  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Avenir", "Avenir Next", "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --header-h: 84px;
  --content: 980px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  margin: 0;
}
p {
  margin: 0 0 1.5em;
}
a {
  color: inherit;
}
strong,
b {
  font-weight: 700;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--white);
  color: var(--dark);
  padding: 10px 16px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: stretch;
  background: rgba(46, 46, 46, 0.62);
  color: var(--light);
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 22px 0 24px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 23px;
  letter-spacing: 0.01em;
  color: var(--light);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}
.site-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0 10px;
  margin: 0 0 0 0;
  border-top: 3px solid transparent;
  font-size: 20px;
  line-height: 40px;
  color: var(--light);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--peach);
  border-top-color: var(--peach);
}
.header-tools {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}
.lang {
  position: relative;
  align-self: center;
  margin-right: 0;
  z-index: 1;
}
.lang summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95px;
  height: 45px;
  padding: 0 14px 0 16px;
  background: var(--white);
  color: #000;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: translateY(-2px) rotate(45deg);
}
.lang[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}
.lang a {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  align-items: center;
  width: 95px;
  height: 45px;
  padding: 0 16px;
  background: var(--white);
  border-top: 1px solid #ddd;
  color: #000;
  font-size: 16px;
  text-decoration: none;
}
.lang a:hover {
  background: var(--light);
}
.donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 0 28px;
  background: var(--peach);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.donate-btn:hover {
  background: #f59a6e;
}
/* mobile menu toggle (CSS only) */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-burger {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 159px;
  min-height: 45px;
  padding: 8px 28px;
  border: 0;
  background: var(--peach);
  color: var(--light);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: #f59a6e;
}
.btn--light {
  min-width: 179px;
  min-height: 40px;
  background: var(--light);
  color: #c9a393;
}
.btn--light:hover {
  background: var(--white);
}
.btn--sage {
  min-width: 221px;
  min-height: 40px;
  background: var(--sage);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.1em;
}
.btn--sage:hover {
  background: var(--teal);
}
.btn--blush {
  min-width: 142px;
  min-height: 40px;
  background: var(--blush);
}
.btn--blush:hover {
  background: #d1b0a3;
}

/* ---------- Shared sections ---------- */
.page-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 273px;
  padding: var(--header-h) 20px 0;
  background: var(--blush);
  text-align: center;
}
.page-banner h1 {
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.25;
  color: var(--light);
}
.cta-band {
  padding: 42px 20px 38px;
  background: var(--blush);
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.4;
  color: var(--light);
}
.social {
  position: fixed;
  right: 0;
  top: 310px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 0;
  padding: 12px 10px;
  list-style: none;
  background: rgba(46, 46, 46, 0.78);
}
.social img {
  width: 22px;
  height: 22px;
}

/* ---------- Home ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 708px;
  padding: 0 16px 20px;
  overflow: hidden;
  background: var(--dark);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero__title {
  position: relative;
  text-align: center;
  font-size: clamp(32px, 4.7vw, 60px);
  line-height: 1.4;
  letter-spacing: 3px;
  color: var(--gray);
}
.hero__title span {
  display: table;
  margin: 0 auto;
  padding: 0 0.28em;
  background: var(--peach);
}
.tiles {
  display: grid;
  grid-template-columns: 432fr 418fr 430fr;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 166px;
  padding: 20px 16px;
  color: var(--light);
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s;
}
.tile:hover {
  filter: brightness(0.94);
}
.tile--peach {
  background: var(--peach);
}
.tile--teal {
  background: var(--teal);
}
.tile--blush {
  background: var(--blush);
}
.tile__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.4;
}
.tile__sub {
  font-size: 20px;
  line-height: 1.4;
}
.home-news {
  padding: 45px 20px 62px;
  text-align: center;
}
.section-title {
  margin: 0 0 45px;
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.4;
  color: var(--gray);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 292px);
  gap: 32px;
  justify-content: center;
  margin: 0 auto 50px;
  text-align: left;
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  background: var(--light);
  color: var(--dark);
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.card img {
  width: 100%;
  aspect-ratio: 292 / 164;
  object-fit: cover;
  background: var(--white);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 20px;
}
.card__title {
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}
.card__date {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(46, 46, 46, 0.2);
  font-size: 12px;
}
.quote-band {
  margin: 0;
  padding: 58px 20px 50px;
  background: var(--blush);
  color: var(--light);
  text-align: center;
}
.quote-band p {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 34px);
  font-style: italic;
  line-height: 1.4;
}
.quote-band footer {
  margin-top: 10px;
  font-size: 20px;
}
.join {
  display: grid;
  grid-template-columns: 511fr 769fr;
  min-height: 573px;
}
.join__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: var(--blush);
  color: var(--light);
  text-align: center;
}
.join__panel h2 {
  margin-bottom: 14px;
  font-size: clamp(40px, 4.7vw, 60px);
  line-height: 1.4;
}
.join__panel p {
  max-width: 390px;
  margin: 0 0 34px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.4;
}
.join__img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: #f7f5e1;
}

/* ---------- Our Mission ---------- */
.intro {
  max-width: 893px;
  margin: 0 auto;
  padding: 63px 20px 0;
  font-size: 21px;
  text-align: center;
}
.intro a {
  text-underline-offset: 3px;
}
.intro__cta {
  margin: -2px 0 28px;
  text-align: center;
}
.collage {
  display: grid;
  grid-template-columns: 228fr 227fr 765fr;
  grid-template-rows: 152fr 323fr;
  gap: 30px;
  aspect-ratio: 1280 / 505;
}
.collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #8a8a8a;
}
.collage img:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2;
}
.collage img:nth-child(4) {
  grid-column: 3;
  grid-row: 1 / 3;
}
.belief-band {
  position: relative;
  margin: -116px 0 0;
  padding: 43px 20px;
  background: var(--peach);
  color: var(--light);
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split__img {
  width: 100%;
  height: 555px;
  object-fit: cover;
}
.split__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  text-align: center;
  color: var(--gray);
}
.split__text h2 {
  margin-bottom: 44px;
  font-size: 40px;
  line-height: 1.4;
}
.split__text--dark h2 {
  color: var(--dark);
}
.split__text p {
  max-width: 410px;
  margin: 0;
}

/* ---------- Our Action Plan ---------- */
.plan {
  display: grid;
  grid-template-columns: 495px minmax(0, 523px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 171px 20px 142px 61px;
}
.plan h1 {
  max-width: 400px;
  font-size: clamp(44px, 5.5vw, 70px);
  line-height: 1.5;
  color: var(--dark);
}
.plan__items {
  padding-top: 16px;
  color: var(--gray);
  line-height: 1.32;
}
.plan-item + .plan-item {
  margin-top: 58px;
}
.plan-item h2 {
  display: flex;
  align-items: flex-start;
  margin: 0 0 29px;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: var(--dark);
}
.plan-item .num {
  display: flex;
  align-items: center;
  flex: 0 0 47px;
}
.plan-item .num::after {
  content: "";
  width: 1px;
  height: 17px;
  margin-left: 13px;
  background: var(--dark);
  transform: rotate(-24deg);
}
.plan-item p {
  margin: 0 0 1.35em;
}
.plan-item p:last-child {
  margin-bottom: 0;
}
.summary {
  padding: 37px 30px 40px;
  background: #7a8f56 center / cover no-repeat;
  background-image: url("../images/landscape.jpg");
}
.summary__box {
  display: grid;
  grid-template-columns: 374px minmax(0, 612px);
  align-items: center;
  min-height: 321px;
  padding: 30px 52px;
  background: var(--light);
  color: var(--gray);
}
.summary__box h2 {
  font-size: 38px;
}
.summary__box p {
  margin: 0;
  line-height: 1.32;
}

/* ---------- Success Stories ---------- */
.stories-hero {
  height: 446px;
  margin-top: var(--header-h);
  background: #7a8f56 center / cover no-repeat;
  background-image: url("../images/landscape.jpg");
}
.stories-intro {
  position: relative;
  max-width: var(--content);
  min-height: 440px;
  margin: -296px auto 0;
  padding: 54px 128px 40px;
  background: var(--light);
}
.stories-intro h1 {
  margin-bottom: 30px;
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.4;
  color: var(--dark);
}
.stories-intro p {
  max-width: 623px;
  margin: 0;
  color: var(--gray);
  line-height: 1.75;
}
.stories {
  position: relative;
  max-width: var(--content);
  margin: -12px auto 0;
  padding-bottom: 60px;
}
.story {
  display: grid;
  grid-template-columns: 480px 500px;
  align-items: end;
  padding: 36px 0 74px;
  border-top: 1px solid #7d7d7d;
}
.story__text {
  padding: 0 40px 0 41px;
  color: var(--gray);
}
.story--media-left .story__text {
  order: 2;
  padding: 0 34px 0 0;
}
.story--media-left .story__media {
  order: 1;
}
.story__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: var(--dark);
}
.story__text h2 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.4;
  color: var(--dark);
}
.story__text p {
  margin: 0;
  line-height: 1.75;
}
.story__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}
.story__media img {
  max-width: 100%;
  height: auto;
}

/* ---------- Supporters ---------- */
.center-block {
  padding: 63px 20px 74px;
  text-align: center;
  color: var(--gray);
}
.center-block h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.4;
}
.center-block p {
  max-width: 615px;
  margin: 0 auto 34px;
}
.center-block--narrow p {
  max-width: 465px;
}
.center-block img {
  margin: 0 auto;
}
.wide-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 70px;
}
.contact__form {
  padding: 84px 20px 36px;
  color: var(--gray);
}
.contact__inner {
  max-width: 471px;
  margin: 0 auto;
}
.contact__form h2 {
  margin-bottom: 22px;
  font-size: 40px;
  line-height: 1.4;
  text-align: center;
}
.contact__address {
  margin: 0 -40px 30px;
  font-size: 19px;
  line-height: 1.7;
  text-align: center;
}
.contact__address a {
  text-decoration: none;
}
.contact__address a:hover {
  text-decoration: underline;
}
.contact__img {
  width: 100%;
  height: 100%;
  min-height: 833px;
  object-fit: cover;
  background: #bfc8d7;
}
.form-row {
  display: grid;
  grid-template-columns: 230fr 225fr;
  gap: 15px;
}
.field {
  display: block;
  margin-bottom: 14px;
}
.field span {
  display: block;
  font-size: 18px;
  line-height: 1.5;
}
.field input,
.field textarea {
  width: 100%;
  height: 40px;
  padding: 6px 4px;
  border: 0;
  border-bottom: 1px solid var(--gray);
  border-radius: 0;
  background: var(--light);
  color: var(--dark);
  font: inherit;
  font-size: 18px;
}
.field textarea {
  height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--teal);
}
.form-actions {
  margin-top: 22px;
  text-align: center;
}

/* ---------- Donate ---------- */
.donate-panel {
  min-height: 444px;
  margin: var(--header-h) 40px 56px;
  padding: 100px 135px 60px;
  background: var(--mint);
  color: var(--gray);
  font-size: 22px;
  line-height: 1.77;
}
.donate-panel h1 {
  margin-bottom: 44px;
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1.4;
  color: var(--dark);
}
.donate-panel p {
  max-width: 800px;
  margin: 0;
}
.donate-panel address {
  max-width: 840px;
  font-style: normal;
  text-align: center;
}
.donate-panel address + p {
  margin-top: 1.1em;
}

/* ---------- News ---------- */
.news-list {
  display: grid;
  gap: 31px;
  max-width: 980px;
  margin: 0 auto;
  padding: 75px 20px 31px;
}
.news-item {
  display: grid;
  grid-template-columns: 454px 1fr;
  min-height: 341px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: #000;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.news-item:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.news-item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.news-item__body {
  padding: 30px 36px 30px 35px;
}
.news-item time {
  display: block;
  font-size: 12px;
}
.news-item h2 {
  margin: 20px 0 16px;
  font-size: 26px;
  line-height: 1.4;
}
.news-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- Blog post ---------- */
.post-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 27px) 20px 60px;
}
.back-link {
  display: inline-block;
  margin-bottom: 44px;
  font-size: 18px;
  text-decoration: none;
}
.back-link:hover {
  color: var(--peach);
}
.post {
  padding: 62px 100px 48px;
  border: 1px solid rgba(182, 182, 182, 0.75);
  font-size: 18px;
  line-height: 1.7;
}
.post__meta {
  margin: 0 0 14px;
  font-size: 14px;
}
.post h1 {
  margin-bottom: 30px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.35;
}
.post__updated {
  margin: -16px 0 22px;
  font-size: 14px;
}
.post p {
  margin: 0 0 1.2em;
}
.post a {
  color: var(--peach);
}
.post figure {
  margin: 0 0 26px;
}
.post figure img {
  width: 100%;
  height: auto;
}
.post figure.is-small img {
  width: 350px;
  margin: 0 auto;
}
.post figure.is-right {
  float: right;
  width: 350px;
  margin: 6px 0 16px 28px;
}
.post figcaption {
  margin-top: 8px;
  text-align: center;
}
.post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  clear: both;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
}
.post__tags li {
  padding: 5px 12px;
  border: 1px solid rgba(46, 46, 46, 0.2);
}
.post__footnote {
  clear: both;
}
.recent {
  padding-top: 46px;
}
.recent__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.recent__head h2 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
}
.recent__head a {
  font-size: 14px;
  text-decoration: none;
}
.recent__head a:hover {
  color: var(--peach);
}
.recent .cards {
  justify-content: start;
  margin-bottom: 0;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 840px;
  margin: 0 auto;
  padding: 62px 20px 80px;
  font-size: 18px;
  line-height: 1.32;
}
.legal h2 {
  margin: 0 0 2px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  text-transform: uppercase;
}
.legal p {
  margin: 0 0 1.25em;
}
.legal ul {
  margin: -0.4em 0 1.25em;
  padding-left: 32px;
}
.legal li {
  margin-bottom: 0.2em;
}
.legal a {
  text-underline-offset: 3px;
}
.legal--plain h2 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.32;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--light);
}
.footer-cols {
  display: flex;
  justify-content: space-between;
  max-width: 1119px;
  margin: 0 auto;
  padding: 48px 20px 108px;
}
.footer-col--about {
  flex: 0 1 260px;
}
.footer-col--news {
  flex: 0 1 463px;
}
.footer-col--links {
  flex: 0 1 196px;
}
.footer-title {
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--dark);
}
.footer-col p {
  margin: 0 0 34px;
  line-height: 34px;
}
.footer-col a {
  text-underline-offset: 3px;
}
.footer-contact a {
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 52px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--peach);
}
.newsletter label {
  display: block;
  margin-top: -18px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray);
}
.newsletter input[type="email"] {
  width: 100%;
  height: 40px;
  margin-bottom: 21px;
  padding: 6px 4px;
  border: 0;
  border-bottom: 1px solid var(--gray);
  border-radius: 0;
  background: var(--light);
  color: var(--dark);
  font: inherit;
  font-size: 18px;
}
.newsletter input[type="email"]:focus {
  outline: none;
  border-bottom: 2px solid var(--teal);
}
.newsletter .btn {
  width: 100%;
  min-height: 40px;
}
.footer-bar {
  margin: 0;
  padding: 14px 20px;
  background: var(--footer-bar);
  color: var(--light);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}
.footer-bar a {
  text-decoration: none;
}
.footer-bar a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .brand {
    font-size: 20px;
    padding: 0 12px 0 16px;
  }
  .site-nav a {
    padding: 0 8px;
    font-size: 17px;
  }
  .donate-btn {
    min-width: 0;
    padding: 0 20px;
    font-size: 18px;
  }
  .lang summary,
  .lang a {
    width: 78px;
  }
  .plan {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    padding-left: 40px;
    column-gap: 40px;
  }
}

@media (max-width: 1040px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 292px));
    gap: 20px;
  }
  .stories-intro {
    margin-left: 20px;
    margin-right: 20px;
    padding: 44px 48px 36px;
  }
  .stories {
    margin-left: 20px;
    margin-right: 20px;
  }
  .story {
    grid-template-columns: 1fr 1fr;
  }
  .summary__box {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  }
  .news-item {
    grid-template-columns: 42% 1fr;
  }
  .post {
    padding: 44px 48px 40px;
  }
  .donate-panel {
    padding: 70px 60px 50px;
  }
  .footer-cols {
    gap: 40px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }
  body {
    font-size: 18px;
  }
  /* header becomes brand + tools, with a drop-down menu */
  .site-header {
    align-items: stretch;
  }
  .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
  }
  .header-tools {
    order: 2;
  }
  .nav-burger {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    cursor: pointer;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    content: "";
  }
  .nav-burger span {
    position: relative;
  }
  .nav-burger span::before {
    position: absolute;
    top: -8px;
  }
  .nav-burger span::after {
    position: absolute;
    top: 8px;
  }
  .nav-toggle:focus-visible + .nav-burger {
    outline: 3px solid var(--peach);
    outline-offset: -3px;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: rgba(46, 46, 46, 0.96);
  }
  .nav-toggle:checked ~ .site-nav {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 6px 0 12px;
  }
  .site-nav a {
    padding: 4px 24px;
    border-top: 0;
    border-left: 3px solid transparent;
    font-size: 19px;
    line-height: 44px;
  }
  .site-nav a:hover,
  .site-nav a.active {
    border-left-color: var(--peach);
  }
  .lang summary,
  .lang a {
    width: 68px;
    height: 38px;
    padding: 0 10px;
  }
  .donate-btn {
    padding: 0 14px;
    font-size: 16px;
  }
  /* social links move from the floating side bar to a row above the footer */
  body {
    display: flex;
    flex-direction: column;
  }
  main {
    order: 1;
  }
  .social {
    position: static;
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 26px;
    padding: 16px;
    background: var(--gray);
  }
  .site-footer {
    order: 3;
  }

  .hero {
    height: 72vh;
    min-height: 420px;
    max-height: 640px;
  }
  .hero__title {
    letter-spacing: 1px;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .tile {
    min-height: 120px;
  }
  .cards {
    grid-template-columns: minmax(0, 420px);
  }
  .join,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }
  .join {
    min-height: 0;
  }
  .join__panel {
    padding: 56px 24px;
  }
  .split__img {
    height: 360px;
  }
  .split__text {
    padding: 48px 24px;
  }
  .split__text h2 {
    margin-bottom: 24px;
    font-size: 32px;
  }
  /* keep image-then-text order when stacked */
  .split--reverse .split__img {
    order: -1;
  }
  .intro {
    padding-top: 44px;
    font-size: 18px;
  }
  .collage {
    gap: 10px;
  }
  .belief-band {
    margin-top: 0;
    padding: 30px 20px;
  }
  .plan {
    grid-template-columns: 1fr;
    padding: calc(var(--header-h) + 36px) 24px 60px;
  }
  .plan h1 {
    max-width: none;
    line-height: 1.25;
  }
  .plan__items {
    padding-top: 28px;
  }
  .summary {
    padding: 20px;
  }
  .summary__box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 24px;
  }
  .stories-hero {
    height: 300px;
  }
  .stories-intro {
    min-height: 0;
    margin-top: -160px;
    padding: 32px 24px;
  }
  .story,
  .story--media-left {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 0 44px;
  }
  .story__text,
  .story--media-left .story__text {
    order: 1;
    padding: 0 4px;
  }
  .story__media,
  .story--media-left .story__media {
    order: 2;
    padding: 0;
  }
  .wide-img {
    height: 300px;
  }
  .contact {
    margin-bottom: 0;
  }
  .contact__form {
    padding: 48px 24px 48px;
  }
  .contact__address {
    margin: 0 0 30px;
  }
  .contact__img {
    min-height: 0;
    height: 360px;
  }
  .donate-panel {
    margin: var(--header-h) 16px 40px;
    padding: 48px 24px;
    font-size: 19px;
  }
  .news-list {
    padding-top: 40px;
  }
  .news-item {
    grid-template-columns: 1fr;
  }
  .news-item img {
    aspect-ratio: 454 / 341;
  }
  .news-item__body {
    padding: 24px;
  }
  .post {
    padding: 30px 22px;
  }
  .post figure.is-right {
    float: none;
    width: auto;
    max-width: 350px;
    margin: 0 auto 22px;
  }
  .post figure.is-small img {
    width: min(350px, 100%);
  }
  .legal {
    padding-top: 40px;
  }
  .footer-cols {
    flex-direction: column;
    gap: 44px;
    padding: 44px 24px 56px;
  }
  .footer-col {
    flex: 0 0 auto;
  }
  .footer-links {
    line-height: 44px;
  }
}

@media (max-width: 420px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .brand {
    font-size: 15px;
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media print {
  .site-header,
  .social,
  .newsletter {
    display: none;
  }
}
