:root {
  --deep-forest: #0F3320;
  --forest: #1A5230;
  --leaf: #4DB863;
  --gold: #E8A020;
  --cream: #FBF8F2;
  --cream-mid: #F0EAE0;
  --earth: #7A5C3A;
  --charcoal: #1C1C1C;
  --white: #FFFFFF;
  --shadow: 0 24px 70px rgba(15, 51, 32, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 850px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(251, 248, 242, 0.94);
  border-bottom: 1px solid rgba(122, 92, 58, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 255px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(15, 51, 32, 0.16));
}

.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--deep-forest);
}

.brand-tagline {
  font-size: 11px;
  color: var(--earth);
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-forest);
}

.site-nav a:hover,
.site-nav a.active:not(.nav-donate) {
  background: var(--deep-forest);
  color: var(--cream);
}

.site-nav .nav-donate {
  margin-left: 6px;
  background: var(--gold);
  color: var(--deep-forest);
  box-shadow: 0 8px 18px rgba(232, 160, 32, 0.22);
}

.site-nav .nav-donate:hover,
.site-nav .nav-donate.active {
  background: var(--deep-forest);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 51, 32, 0.2);
  border-radius: 50%;
  background: var(--cream);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--deep-forest);
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.02;
  margin: 0 0 18px;
  color: var(--deep-forest);
}

h1 { font-size: clamp(48px, 8vw, 92px); }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 30px; }
p { margin: 0 0 18px; }

.eyebrow,
.card-label {
  margin-bottom: 12px;
  color: var(--earth);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: max(680px, calc(100svh - 78px));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.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(15, 51, 32, 0.93) 0%, rgba(15, 51, 32, 0.78) 44%, rgba(15, 51, 32, 0.24) 100%);
}

.hero-content {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 76px;
  color: var(--cream);
}

.hero-content h1,
.hero-content .eyebrow {
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.hero-content p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(251, 248, 242, 0.9);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 51, 32, 0.16);
}

.btn-gold { background: var(--gold); color: var(--deep-forest); }
.btn-forest { background: var(--deep-forest); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--deep-forest); }
.btn-outline { border-color: var(--deep-forest); color: var(--deep-forest); background: transparent; }

.text-link {
  font-weight: 800;
  color: var(--forest);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.intro-band,
.section {
  padding: clamp(66px, 9vw, 118px) 0;
}

.intro-band {
  background: var(--deep-forest);
  color: rgba(251, 248, 242, 0.86);
}

.intro-band h2,
.intro-band .eyebrow {
  color: var(--cream);
}

.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid rgba(122, 92, 58, 0.16);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(122, 92, 58, 0.14);
}

.trust-grid div {
  padding: 22px 18px;
  background: var(--cream);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--deep-forest);
  font-weight: 900;
}

.trust-grid span {
  margin-top: 4px;
  color: var(--earth);
  font-size: 13px;
  font-weight: 700;
}

.small-acts-section {
  text-align: center;
  background: var(--cream);
}

.small-acts-section h2 {
  font-size: clamp(34px, 5.5vw, 64px);
}

.split,
.two-column,
.story-grid,
.cta-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.statement-card,
.work-grid article,
.values-grid article,
.donation-grid article,
.involvement-cards article,
.contact-panel,
.contact-form {
  background: var(--white);
  border: 1px solid rgba(122, 92, 58, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.statement-card {
  min-height: 330px;
  padding: clamp(28px, 5vw, 48px);
}

.statement-card.green {
  background: var(--forest);
}

.statement-card.green h2,
.statement-card.green p,
.statement-card.green .card-label {
  color: var(--cream);
}

.work-preview {
  background: var(--cream-mid);
}

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

.section-heading h2 {
  max-width: 700px;
}

.work-grid,
.values-grid,
.donation-grid,
.steps-grid,
.contact-pathways,
.involvement-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.work-grid article,
.values-grid article,
.steps-grid article,
.contact-pathways article {
  min-height: 220px;
  padding: 28px;
  border-top: 5px solid var(--gold);
}

.work-grid article:first-child,
.work-grid article:nth-child(4) {
  border-top-color: var(--leaf);
}

.projects-section {
  background: var(--deep-forest);
  color: rgba(251, 248, 242, 0.82);
}

.projects-section h2,
.projects-section h3,
.projects-section .eyebrow {
  color: var(--cream);
}

.projects-section .text-link {
  color: var(--gold);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  background: rgba(251, 248, 242, 0.07);
  border: 1px solid rgba(251, 248, 242, 0.14);
  border-radius: 8px;
}

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

.project-card div {
  padding: 22px;
}

.project-card .card-label {
  color: var(--gold);
}

.project-card p:not(.card-label) {
  color: rgba(251, 248, 242, 0.78);
}

.project-card .text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold);
}

.project-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.project-card.featured img {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}

.project-card.featured h3 {
  font-size: clamp(38px, 5vw, 58px);
}

.project-detail-list {
  display: grid;
  gap: 22px;
}

.project-detail-list article {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid rgba(122, 92, 58, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.project-caption {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--earth);
  font-size: 13px;
  font-weight: 800;
}

.project-photo-pair img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.project-photo-pair img:nth-child(2) {
  margin-top: 34px;
}

.project-detail-list ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.project-detail-list li {
  margin-bottom: 8px;
  color: var(--earth);
  font-weight: 700;
}

.project-detail-list .text-link {
  display: inline-block;
  margin-top: 18px;
}

.archive-note {
  max-width: 760px;
  margin: 28px 0 0;
  padding: 18px 22px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  color: var(--earth);
  font-weight: 700;
}

.project-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.project-story h2 {
  margin-top: 38px;
}

.project-story h2:first-child {
  margin-top: 0;
}

.project-facts {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(122, 92, 58, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-facts h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 42px);
}

.project-facts dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.project-facts dt {
  color: var(--earth);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 4px 0 0;
  color: var(--deep-forest);
  font-weight: 800;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.project-gallery figure {
  margin: 0;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-gallery figcaption {
  margin-top: 8px;
  color: var(--earth);
  font-size: 13px;
  font-weight: 800;
}

.image-story img,
.story-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-caption {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  color: var(--earth);
  font-size: 14px;
  font-weight: 700;
}

.muted {
  background: var(--cream-mid);
}

.involvement-strip {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  background: var(--white);
  border-left: 8px solid var(--leaf);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-section {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--forest);
  color: rgba(251, 248, 242, 0.88);
}

.cta-section h2,
.cta-section .eyebrow {
  color: var(--cream);
}

.page-hero {
  padding: clamp(76px, 12vw, 140px) 0 clamp(54px, 9vw, 92px);
  background:
    linear-gradient(135deg, rgba(15, 51, 32, 0.96), rgba(26, 82, 48, 0.93)),
    url("assets/projects/dining-team.jpg") center / cover;
  color: rgba(251, 248, 242, 0.9);
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.page-hero p {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.donate-hero a {
  color: var(--gold);
  font-weight: 800;
}

.momo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr) auto;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: var(--deep-forest);
  color: rgba(251, 248, 242, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.momo-panel h2,
.momo-panel .eyebrow {
  color: var(--cream);
}

.momo-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.momo-panel dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.momo-panel dd {
  margin: 2px 0 0;
  color: var(--cream);
  font-weight: 900;
}

.momo-panel a:not(.btn) {
  color: var(--cream);
}

.fraud-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 248, 242, 0.16);
  color: rgba(251, 248, 242, 0.8);
  font-size: 14px;
  font-weight: 700;
}

.programme-list {
  display: grid;
  gap: 18px;
}

.programme-list article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(122, 92, 58, 0.16);
}

.programme-list span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 54px;
  color: var(--gold);
  line-height: 1;
}

.donation-grid {
  grid-template-columns: repeat(4, 1fr);
}

.dignity-note {
  max-width: 820px;
}

.donation-grid article,
.involvement-cards article,
.contact-panel,
.contact-form {
  padding: 28px;
}

.donation-grid h2 {
  color: var(--forest);
}

.steps-grid {
  counter-reset: giving-step;
}

.steps-grid article {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(122, 92, 58, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.steps-grid article::before {
  counter-increment: giving-step;
  content: counter(giving-step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
}

.involvement-cards article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.involvement-cards .btn {
  margin-top: auto;
}

.contact-grid {
  align-items: start;
}

.contact-panel {
  background: var(--deep-forest);
  color: rgba(251, 248, 242, 0.88);
}

.contact-panel h2,
.contact-panel h3,
.contact-panel .eyebrow {
  color: var(--cream);
}

.contact-panel .form-note {
  color: rgba(251, 248, 242, 0.78);
}

.contact-panel a {
  color: var(--gold);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-pathways {
  margin-top: 28px;
}

.contact-pathways article {
  background: var(--white);
  border: 1px solid rgba(122, 92, 58, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  font-weight: 800;
  color: var(--deep-forest);
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(15, 51, 32, 0.22);
  border-radius: 8px;
  font: inherit;
  background: var(--cream);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(232, 160, 32, 0.35);
  border-color: var(--earth);
}

.form-note {
  font-size: 13px;
  color: var(--earth);
  margin-bottom: 0;
}

.policy-copy h2 {
  margin-top: 36px;
  font-size: clamp(30px, 4vw, 42px);
}

.policy-copy h2:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 58px 0 24px;
  background: var(--deep-forest);
  color: rgba(251, 248, 242, 0.75);
}

.site-footer h2 {
  color: var(--cream);
  font-size: 36px;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 10px;
  background: var(--cream);
  border-radius: 8px;
}

.footer-quote {
  color: var(--gold);
  font-weight: 800;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer a {
  color: var(--cream);
  text-decoration-color: rgba(232, 160, 32, 0.5);
  text-underline-offset: 4px;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 248, 242, 0.15);
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    padding: 14px;
    background: var(--cream);
    border: 1px solid rgba(122, 92, 58, 0.2);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .split,
  .two-column,
  .story-grid,
  .cta-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .values-grid,
  .donation-grid,
  .steps-grid,
  .contact-pathways,
  .project-grid,
  .involvement-cards {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .project-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .project-card.featured img {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .momo-panel {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .involvement-strip {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container,
  .copyright {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    padding-inline: 16px;
    min-height: 74px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 14px;
    line-height: 1.15;
  }

  .brand-tagline {
    display: none;
  }

  h1 {
    font-size: clamp(40px, 14vw, 54px);
  }

  h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  h3 {
    font-size: 27px;
  }

  .hero {
    min-height: max(620px, calc(100svh - 74px));
    align-items: center;
  }

  .hero-media img {
    object-position: 56% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(15, 51, 32, 0.76) 0%, rgba(15, 51, 32, 0.96) 48%, rgba(15, 51, 32, 0.99) 100%),
      linear-gradient(90deg, rgba(15, 51, 32, 0.86), rgba(15, 51, 32, 0.44));
  }

  .hero-content {
    width: min(100% - 32px, 860px);
    padding: 54px 0 46px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 16px;
    color: var(--cream);
  }

  .page-hero {
    padding: 70px 0 56px;
    background:
      linear-gradient(135deg, rgba(15, 51, 32, 0.98), rgba(26, 82, 48, 0.96)),
      url("assets/projects/dining-team.jpg") center / cover;
    color: var(--cream);
  }

  .page-hero p {
    color: var(--cream);
  }

  .work-grid,
  .values-grid,
  .donation-grid,
  .steps-grid,
  .contact-pathways,
  .project-grid,
  .involvement-cards {
    grid-template-columns: 1fr;
  }

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

  .project-photo-pair img,
  .project-gallery img,
  .image-story img,
  .story-grid img {
    min-height: 0;
    max-height: 420px;
  }

  .project-detail-list article,
  .statement-card,
  .work-grid article,
  .values-grid article,
  .donation-grid article,
  .involvement-cards article,
  .contact-panel,
  .contact-form,
  .project-facts {
    padding: 24px;
  }

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

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

  .project-card.featured {
    grid-column: auto;
  }

  .project-photo-pair img:nth-child(2) {
    margin-top: 0;
  }

  .programme-list article {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
