:root {
  --ink: #172421;
  --muted: #65706c;
  --paper: #fbfaf6;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0a4f4a;
  --coral: #d85d4a;
  --sage: #dce8d8;
  --amber: #f4bf5f;
  --line: rgba(23, 36, 33, 0.14);
  --shadow: 0 24px 80px rgba(23, 36, 33, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 246, 0.84);
  border-bottom: 1px solid rgba(23, 36, 33, 0.08);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

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

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--teal);
  border-radius: 50%;
  color: var(--white);
  display: grid;
  flex: 0 0 42px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a {
  color: rgba(23, 36, 33, 0.74);
}

.desktop-nav a:hover {
  color: var(--teal);
}

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 100%;
}

.mobile-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
  left: 0;
  padding: 84px 24px 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 15;
}

.mobile-nav a {
  display: block;
  font-weight: 700;
  padding: 10px 0;
}

.hero {
  align-items: end;
  display: grid;
  min-height: min(640px, 74svh);
  overflow: hidden;
  padding: 112px clamp(22px, 5vw, 72px) 38px;
  position: relative;
}

.hero-media,
.hero-media img,
.hero-overlay {
  inset: 0;
  position: absolute;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 25, 22, 0.84) 0%, rgba(11, 25, 22, 0.5) 43%, rgba(11, 25, 22, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 25, 22, 0.3), rgba(11, 25, 22, 0.04));
}

.hero-content {
  color: var(--white);
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3.05rem, 8vw, 6.4rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h3 {
  font-size: 1.65rem;
}

.hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.button.primary {
  background: var(--coral);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-dark);
}

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

.stats-band {
  background: var(--ink);
  color: var(--white);
}

.stats-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.stat {
  background: rgba(255, 255, 255, 0.05);
  min-height: 142px;
  padding: 28px;
}

.stat strong {
  color: var(--amber);
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 0.94rem;
  margin-top: 10px;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(70px, 10vw, 120px) clamp(22px, 4vw, 44px);
}

.split {
  display: grid;
  gap: clamp(34px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.story-copy p,
.join-intro p,
.partners-section .section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

blockquote {
  border-left: 5px solid var(--teal);
  color: var(--teal-dark);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 26px;
  padding-left: 22px;
}

.campaign-grid,
.gallery-grid,
.partner-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

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

.campaign-card,
.partner-card,
.update-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(23, 36, 33, 0.06);
}

.campaign-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
}

.status-pill {
  align-self: start;
  background: var(--sage);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 10px;
  text-transform: uppercase;
}

.campaign-card h3 {
  margin-top: 24px;
}

.campaign-card p,
.program-item p,
.partner-card p,
.update-item p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 24px;
  padding-top: 18px;
}

.tag-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
}

.result {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  padding-top: 18px;
}

.photo-section {
  max-width: none;
  padding-left: clamp(22px, 4vw, 44px);
  padding-right: clamp(22px, 4vw, 44px);
}

.photo-section .section-heading,
.gallery-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.gallery-grid {
  grid-auto-flow: dense;
  grid-auto-rows: 190px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(23, 36, 33, 0.08);
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(7),
.gallery-item:nth-child(12) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(10) {
  grid-row: span 2;
}

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

.gallery-item figcaption {
  background: linear-gradient(transparent, rgba(10, 79, 74, 0.9));
  bottom: 0;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  left: 0;
  line-height: 1.35;
  padding: 52px 16px 15px;
  position: absolute;
  right: 0;
}

.gallery-item figcaption span {
  color: var(--amber);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.update-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.update-section .section-heading,
.updates-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  padding-left: clamp(22px, 4vw, 44px);
  padding-right: clamp(22px, 4vw, 44px);
}

.updates-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.update-item {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: 150px 1fr;
  padding: 24px;
}

.update-date {
  color: var(--coral);
  font-weight: 700;
}

.programs-section {
  border-top: 1px solid var(--line);
}

.program-list {
  display: grid;
  gap: 16px;
}

.program-item {
  border-left: 4px solid var(--teal);
  padding: 0 0 4px 20px;
}

.program-item strong {
  color: var(--coral);
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-card {
  padding: 24px;
}

.partner-card span {
  color: var(--coral);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-section {
  background: var(--teal-dark);
  color: var(--white);
  display: grid;
  gap: clamp(32px, 6vw, 70px);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  padding: clamp(70px, 9vw, 120px) clamp(22px, 5vw, 72px);
}

.join-section .eyebrow {
  color: var(--amber);
}

.join-intro p,
.contact-lines {
  color: rgba(255, 255, 255, 0.76);
}

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

.contact-lines a {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.signup-form {
  background: var(--paper);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
}

.signup-form h3 {
  margin-bottom: 2px;
}

.signup-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 7px;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.18);
}

.checkbox-row {
  align-items: start;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 18px 1fr;
}

.checkbox-row input {
  min-height: 18px;
  padding: 0;
}

.hidden-field {
  display: none;
}

.form-status {
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  min-height: 1.4em;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(22px, 5vw, 72px);
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    min-height: min(680px, 72svh);
  }

  .stats-grid,
  .campaign-grid,
  .gallery-grid,
  .partner-grid,
  .forms-shell,
  .join-section,
  .split {
    grid-template-columns: 1fr;
  }

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

  .campaign-card {
    min-height: auto;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(7),
  .gallery-item:nth-child(12) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 64px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .hero {
    min-height: 72svh;
    padding-bottom: 38px;
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(2.85rem, 16vw, 4.6rem);
  }

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

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

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(7),
  .gallery-item:nth-child(10),
  .gallery-item:nth-child(12) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .update-item {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
