:root {
  --ink: #242a29;
  --muted: #626967;
  --green: #315a58;
  --deep-green: #233f38;
  --teal: #0ba6a5;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --line: #46645e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Quicksand", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 116px;
  border-top: 5px solid var(--teal);
  background-color: rgba(255, 255, 255, 0.94);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    url("hero-food-distribution.jpg");
  background-position: center top;
  background-size: cover;
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1112px, calc(100% - 48px));
  min-height: 111px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

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

.menu-toggle {
  display: none;
}

.site-header nav a,
.phone {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a.active,
.site-header nav a:hover,
.phone:hover {
  color: var(--green);
  font-weight: 700;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary::after {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.nav-more[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 30;
  min-width: 170px;
  padding: 8px 0;
  border: 1px solid #e0e4e2;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(24, 44, 39, 0.12);
}

.site-header .more-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.92rem;
}

@media (min-width: 821px) {
  section[id] {
    scroll-margin-top: 116px;
  }
}

.hero {
  position: relative;
  min-height: 562px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: 450px;
  height: 450px;
  margin-left: auto;
  margin-right: max(6vw, calc((100% - 1112px) / 2));
  padding: 68px 58px 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(47, 79, 79, 0.9);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: "Mulish", Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.27;
}

.hero p {
  max-width: 330px;
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.button {
  min-height: 48px;
  padding: 12px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.light {
  min-width: 166px;
  background: var(--white);
  color: var(--deep-green);
}

.button.dark {
  background: var(--green);
  color: var(--white);
}

.programs-shell {
  width: min(1112px, calc(100% - 48px));
  margin: 56px auto 0;
}

.programs-frame {
  width: 100%;
  min-height: 1115px;
  display: block;
  border: 0;
  overflow: hidden;
}

.mission-section,
.impact-section,
.contact-section {
  padding: 56px max(24px, calc((100% - 1112px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  color: var(--green);
}

.section-heading span {
  height: 1px;
  background: var(--line);
}

.section-heading h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.mission-grid > img {
  width: 100%;
  height: 266px;
  object-fit: cover;
}

.mission-copy {
  text-align: center;
}

.mission-copy h3,
.contact-grid h3 {
  margin: 0 0 22px;
  font-size: 1.5rem;
  font-weight: 500;
}

.mission-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

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

.impact-stage {
  height: 600px;
  display: grid;
  grid-template-columns: 28% 72%;
  gap: 4px;
  overflow: hidden;
}

.impact-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-slide-image {
  display: block;
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  user-select: none;
  pointer-events: none;
  will-change: opacity, transform;
}

.impact-slide-image.is-transitioning {
  opacity: 0;
}

.impact-slide-image.slide-left {
  transform: translateX(-18%);
}

.impact-slide-image.slide-right {
  transform: translateX(18%);
}

.impact-slide-image.enter-from-left {
  opacity: 0;
  transform: translateX(-18%);
  transition: none;
}

.impact-slide-image.enter-from-right {
  opacity: 0;
  transform: translateX(18%);
  transition: none;
}

#impact-main-image.is-dragging {
  transition: none;
}

.impact-side-image {
  object-position: center;
}

.impact-main-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.impact-main-wrap.is-dragging {
  cursor: grabbing;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow.previous {
  left: 14px;
}

.gallery-arrow.next {
  right: 14px;
}

.impact-thumbnails {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.impact-thumbnails button {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.impact-thumbnails button.selected {
  border-color: var(--teal);
}

.impact-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.involved-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--soft);
}

.involved-section > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.involved-copy {
  max-width: 640px;
  padding: 38px clamp(42px, 8vw, 96px);
  align-self: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.involved-copy h2 {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 2.65rem;
  font-weight: 500;
}

.involved-copy > p:not(.kicker) {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.32rem;
}

.contact-section {
  background: var(--white);
}

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

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

.contact-form label {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7dad8;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  outline: 0;
}

.contact-form input {
  min-height: 50px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(49, 90, 88, 0.14);
}

.contact-form button {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.contact-details {
  color: var(--muted);
}

.contact-details h3 {
  margin-top: 0;
  color: var(--ink);
}

.contact-details h3:not(:first-child) {
  margin-top: 34px;
}

.contact-details p {
  margin: 0 0 18px;
}

.contact-details a {
  color: var(--green);
}

.form-status {
  margin: 0;
  padding: 12px;
  border-left: 4px solid var(--green);
  background: #edf4f0;
}

.form-status.error {
  border-color: #a2463c;
  background: #f8ece9;
}

.map-section {
  height: 380px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.privacy-section {
  min-height: 348px;
  display: grid;
  place-items: center;
  background-image: url("https://img1.wsimg.com/isteam/ip/0364baf8-5212-4a94-b99d-83fcd910f26e/ChatGPT%20Image%20Jun%2030%2C%202026%2C%2004_32_30%20PM%20(4).png/:/cr=t:0%25,l:0%25,w:100%25,h:100%25/rs=w:3070,m");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.privacy-overlay {
  width: 100%;
  min-height: 348px;
  padding: 54px max(24px, calc((100% - 800px) / 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(12, 26, 23, 0.42);
  text-align: center;
}

.privacy-overlay h2 {
  margin: 0 0 22px;
  font-size: 2.6rem;
  font-weight: 400;
}

.privacy-overlay p {
  margin: 0 0 22px;
  font-size: 1rem;
}

footer {
  padding: 56px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

footer nav {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

footer a {
  text-decoration: none;
}

footer > a {
  color: var(--muted);
}

footer p {
  width: min(1112px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: left;
}

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

.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;
}

@media (prefers-reduced-motion: reduce) {
  .impact-slide-image {
    transition: none;
  }
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: 82px 1fr auto;
    gap: 18px;
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav a,
  .phone {
    font-size: 0.9rem;
  }

  .hero-card {
    margin-right: 6vw;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    min-height: 150px;
  }

  .header-inner {
    position: relative;
    width: calc(100% - 36px);
    min-height: 145px;
    grid-template-columns: 48px 1fr 48px;
    grid-template-rows: 48px 82px;
    gap: 0;
    padding: 8px 0 7px;
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  .brand img {
    width: 80px;
    height: 80px;
  }

  .phone {
    grid-column: 2 / 4;
    grid-row: 1;
    align-self: center;
    justify-self: center;
  }

  .menu-toggle {
    grid-column: 1;
    grid-row: 1;
    width: 42px;
    height: 42px;
    padding: 11px 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .site-header nav {
    position: absolute;
    top: 58px;
    left: 0;
    z-index: 40;
    width: min(240px, calc(100vw - 36px));
    padding: 10px 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid #e0e4e2;
    background: var(--white);
    box-shadow: 0 14px 30px rgba(24, 44, 39, 0.16);
  }

  .site-header nav.is-open {
    display: flex;
  }

  .site-header nav > a,
  .nav-more summary {
    padding: 11px 16px;
  }

  .nav-more summary {
    justify-content: space-between;
  }

  .more-menu {
    position: static;
    border: 0;
    border-top: 1px solid #edf0ef;
    box-shadow: none;
  }

  .hero {
    min-height: 590px;
    background-position: 42% center;
  }

  .hero-card {
    width: 390px;
    height: 390px;
    margin: 0 auto;
    padding: 58px 48px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .programs-shell {
    width: calc(100% - 28px);
    margin-top: 36px;
  }

  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    gap: 34px;
  }

  .mission-copy {
    text-align: left;
  }

  .impact-stage {
    height: 520px;
    grid-template-columns: 34% 66%;
  }

  .involved-copy {
    padding: 36px 38px;
  }

  .involved-copy > p:not(.kicker) {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .section-heading {
    grid-template-columns: minmax(24px, 1fr) minmax(0, auto) minmax(24px, 1fr);
    gap: 12px;
  }

  .section-heading h2 {
    max-width: 270px;
    font-size: 1.65rem;
  }

  .hero {
    min-height: 380px;
  }

  .hero-card {
    width: min(286px, calc(100% - 28px));
    height: min(286px, calc(100vw - 28px));
    min-height: 286px;
    padding: 34px 26px;
  }

  .hero h1 {
    margin-bottom: 9px;
    font-size: 2rem;
  }

  .hero p {
    margin-bottom: 16px;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .hero .button {
    min-height: 44px;
    padding: 9px 24px;
  }

  .mission-section,
  .impact-section,
  .contact-section {
    padding: 44px 18px;
  }

  .mission-grid > img {
    height: 220px;
  }

  .impact-stage {
    height: 400px;
    display: block;
  }

  .impact-side-image {
    display: none;
  }

  .impact-main-wrap {
    height: 100%;
  }

  .impact-thumbnails button {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .involved-section {
    grid-template-columns: 1fr;
  }

  .involved-section > img {
    height: 300px;
  }

  .involved-copy {
    padding: 38px 22px 48px;
  }

  .involved-copy h2 {
    font-size: 2.2rem;
  }

  .map-section {
    height: 320px;
  }

  .privacy-overlay h2 {
    font-size: 2rem;
  }

  footer p {
    text-align: center;
  }
}
