:root {
  --bg: #f7f4ed;
  --surface: #fffdf8;
  --surface-strong: #f1eadf;
  --teal: #0f5f5d;
  --teal-deep: #0a3d3f;
  --green: #7f9d78;
  --sage: #d8e0d2;
  --gold: #ccb181;
  --text: #253238;
  --muted: #556870;
  --line: rgba(37, 50, 56, 0.12);
  --shadow: 0 30px 70px rgba(15, 41, 48, 0.12);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(127, 157, 120, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 46%, #f6f2ea 100%);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 237, 0.84);
  border-bottom: 1px solid rgba(37, 50, 56, 0.08);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
}

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

.brand-mark {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 14px 30px rgba(15, 95, 93, 0.14);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.96rem;
}

.nav-link:hover {
  background: rgba(15, 95, 93, 0.08);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.text-link:hover,
.resource-body a:hover,
.audience-card a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

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

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal-deep);
  color: white;
  box-shadow: 0 16px 28px rgba(10, 61, 63, 0.2);
}

.button-primary:hover {
  background: var(--teal);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--teal-deep);
  border-color: rgba(15, 95, 93, 0.16);
}

.button-secondary:hover {
  background: white;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 61, 63, 0.08);
  cursor: pointer;
}

.mobile-menu summary span {
  width: 24px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 999px;
}

.mobile-panel {
  position: absolute;
  right: 24px;
  top: calc(100% + 12px);
  width: min(280px, calc(100vw - 48px));
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 95, 93, 0.12);
}

.hero-section {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.card-eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.7rem);
  line-height: 0.95;
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
  max-width: 14ch;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.08;
}

p {
  margin: 0;
  line-height: 1.7;
}

.hero-text,
.statement-copy,
.section-heading.split > p,
.donation-copy p,
.newsletter-grid > div p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-band span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-deep);
  border: 1px solid rgba(15, 95, 93, 0.09);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.visual-card {
  position: absolute;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-photo {
  inset: 0 48px 72px 0;
  background:
    linear-gradient(180deg, rgba(9, 32, 34, 0.08), rgba(9, 32, 34, 0.38)),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.55), transparent 18%),
    linear-gradient(145deg, #cfe0d0 0%, #8ba79a 32%, #597a75 100%);
}

.visual-photo::before {
  content: "";
  position: absolute;
  inset: 12% 10% 28%;
  border-radius: 32px 32px 120px 32px;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.35), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.photo-overlay {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: grid;
  gap: 8px;
  color: white;
}

.photo-overlay span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-overlay strong {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 12ch;
  line-height: 1.05;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.visual-note,
.visual-stat {
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 95, 93, 0.08);
}

.visual-note {
  right: 0;
  top: 68px;
  width: 240px;
  padding: 22px;
}

.visual-note p,
.visual-stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.visual-note strong,
.visual-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.visual-stat {
  left: 34px;
  bottom: 0;
  width: 260px;
  padding: 22px;
}

.audience-section,
.statement-section,
.programs-section,
.resources-section,
.newsletter-section {
  padding: 42px 0 100px;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.section-heading.split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  justify-content: space-between;
}

.audience-grid,
.program-grid,
.resource-grid,
.stats-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

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

.audience-card,
.program-card,
.resource-card,
.stat-card,
.newsletter-form,
.donation-panel {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(15, 95, 93, 0.09);
  box-shadow: var(--shadow);
}

.audience-card {
  padding: 30px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
}

.audience-card a {
  margin-top: auto;
  padding-top: 18px;
}

.audience-card p:not(.card-eyebrow),
.program-card p,
.resource-body p,
.stat-card span,
.footer-brand p,
.site-footer li,
.site-footer span {
  color: var(--muted);
}

.audience-card a,
.resource-body a,
.text-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 600;
  color: var(--teal-deep);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 42px;
  align-items: start;
  padding: 48px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(15, 95, 93, 0.08), rgba(204, 177, 129, 0.1));
  border: 1px solid rgba(15, 95, 93, 0.09);
}

.statement-copy {
  display: grid;
  gap: 24px;
}

blockquote {
  margin: 0;
  padding: 26px 28px;
  border-left: 4px solid var(--gold);
  border-radius: 0 24px 24px 0;
  background: rgba(255, 255, 255, 0.56);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.35rem;
  line-height: 1.45;
}

.stats-section {
  padding: 42px 0 100px;
}

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

.stat-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
  display: grid;
  align-content: space-between;
}

.stat-card strong {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  color: var(--teal-deep);
}

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

.program-card {
  padding: 28px;
  border-radius: 28px;
}

.program-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

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

.resource-card {
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.resource-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.resource-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-body a {
  margin-top: auto;
  padding-top: 18px;
}

.donation-section {
  padding: 0 0 100px;
}

.donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 32px;
  padding: 44px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(204, 177, 129, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(15, 95, 93, 0.98), rgba(10, 61, 63, 0.94));
  color: white;
}

.donation-panel .eyebrow,
.donation-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.donation-panel .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
}

.donation-panel .button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: start;
}

.newsletter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  border-radius: 30px;
}

.newsletter-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text);
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(37, 50, 56, 0.12);
  background: white;
}

.newsletter-form input:focus {
  outline: 2px solid rgba(15, 95, 93, 0.18);
  border-color: rgba(15, 95, 93, 0.3);
}

.full-width {
  grid-column: 1 / -1;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-row input {
  margin-top: 0.3rem;
}

.newsletter-form button {
  width: fit-content;
  grid-column: 1 / -1;
}

.site-footer {
  padding: 38px 0 24px;
  background: #143133;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
  align-items: start;
}

.footer-brand {
  max-width: 320px;
}

.site-footer .footer-disclaimer,
.site-footer .footer-brand .footer-disclaimer {
  color: #ffffff;
}

.footer-brand img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

  .mobile-menu {
    display: block;
    position: relative;
    justify-self: end;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .hero-grid,
  .statement-grid,
  .donation-panel,
  .newsletter-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .program-grid,
  .resource-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .topbar {
    padding: 14px 0;
  }

  .brand-copy span {
    display: none;
  }

  .hero-section {
    padding-top: 34px;
  }

  h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .visual-photo {
    inset: 0 0 88px 0;
  }

  .visual-note {
    width: 210px;
    top: 26px;
  }

  .visual-stat {
    left: 18px;
    width: 220px;
  }

  .audience-grid,
  .program-grid,
  .resource-grid,
  .stats-grid,
  .footer-grid,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .statement-grid,
  .donation-panel,
  .newsletter-form {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}