:root {
  --paper: #f6ecd5;
  --paper-deep: #ead9b7;
  --forest: #1c4d4f;
  --forest-soft: #315f5f;
  --sky: #d9edf2;
  --sea: #2d6f88;
  --sun: #f4bf57;
  --warm: #cf5b26;
  --warm-deep: #b7481a;
  --mist: rgba(255, 249, 235, 0.88);
  --shadow: rgba(39, 44, 52, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  color: var(--forest);
  background:
    radial-gradient(circle at top, rgba(255, 247, 220, 0.92), rgba(240, 232, 211, 0.98)),
    linear-gradient(180deg, #dcecf1 0%, #f6ecd5 42%, #e2efe7 100%);
}

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

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

.page-shell {
  min-height: 100vh;
  background: #3781d1 url("assets/overall/katahdin-bg.jpg") center top / cover no-repeat fixed;
}

.site-header,
.hero,
.programs,
.standards {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0 0.75rem;
}

.header-donate {
  min-height: 2.4rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 10px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 24rem);
}

.brand-logo img {
  width: 100%;
  max-width: 23rem;
  height: auto;
  display: block;
}

.brand-name,
.hero h1,
.section-title,
.program-card h3 {
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand-name {
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 0.95;
}

.brand-tag {
  margin: 0;
  font-size: 1.55rem;
  color: #ca7a25;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.7rem, 1.55vw, 1.7rem);
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff4dc;
}

.site-nav a {
  padding: 0.35rem 0;
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #1f4146;
}

.site-nav a.nav-disabled {
  cursor: default;
  pointer-events: none;
}

.site-nav a.nav-disabled::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #fff4dc;
  transition: transform 260ms ease, opacity 260ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  container-type: inline-size;
}

.site-footer-text {
  display: block;
  width: 100%;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  padding: 1rem 1.6rem;
  border-radius: 1.25rem;
  border: 2px solid rgba(162, 132, 88, 0.22);
  background: linear-gradient(180deg, rgba(255, 251, 241, 0.96), rgba(248, 236, 208, 0.94));
  box-shadow: 0 16px 32px rgba(67, 59, 39, 0.14);
  font-weight: 700;
  color: #2f4b4f;
  font-size: 1.25cqi;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.85rem;
  padding: 0.8rem 1.45rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(66, 55, 36, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(66, 55, 36, 0.18);
  filter: saturate(1.05);
}

.button-warm {
  color: #fff8f1;
  background: linear-gradient(180deg, #dd6b2b, var(--warm-deep));
}

.button-cool {
  color: #fffaf0;
  background: linear-gradient(180deg, #267097, #145473);
}

.button-large {
  min-width: min(100%, 21rem);
  font-size: 1.15rem;
}

.hero {
  position: relative;
  padding: 1.75rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-scroll {
  display: none;
}

@media (min-width: 1025px) {
  .hero-scroll {
    display: block;
    max-width: 28rem;
    width: 40%;
    height: auto;
    flex-shrink: 0;
    cursor: pointer;
    transition: filter 260ms ease, transform 260ms ease;
  }

  .hero-scroll:hover,
  .hero-scroll:focus-visible {
    outline: none;
    transform: translateY(-2px);
    filter:
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.85))
      drop-shadow(0 0 34px rgba(255, 255, 255, 0.55));
  }
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 36, 0.62);
}

.modal-dialog {
  position: relative;
  max-width: 56rem;
  width: 100%;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding: 2.25rem 2.25rem 2rem;
  border-radius: 1.25rem;
  border: 2px solid rgba(162, 132, 88, 0.28);
  background: linear-gradient(180deg, rgba(255, 251, 241, 0.98), rgba(248, 236, 208, 0.98));
  box-shadow: 0 24px 60px rgba(20, 32, 36, 0.35);
  color: #2f4b4f;
  font-size: 1.05rem;
  line-height: 1.55;
}

.modal-dialog h2 {
  margin: 0 0 1rem;
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #1c4d4f;
}

.modal-dialog p {
  margin: 0 0 1rem;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: #1c4d4f;
  cursor: pointer;
}

.flyer-modal-dialog {
  position: relative;
  max-width: min(98vw, 90rem);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}

.flyer-modal-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem;
  background: rgba(255, 251, 241, 0.96);
  border-radius: 0.75rem;
  border: 2px solid rgba(162, 132, 88, 0.28);
}

.flyer-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  background: transparent;
  color: #1c4d4f;
  cursor: pointer;
  border-radius: 0.5rem;
  text-decoration: none;
}

.flyer-modal-btn:hover,
.flyer-modal-btn:focus-visible {
  background: rgba(28, 77, 79, 0.12);
}

.flyer-modal-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 2rem);
  width: auto;
  height: auto;
  border-radius: 1rem;
  border: 2px solid rgba(162, 132, 88, 0.28);
  background: #fffaf0;
  box-shadow: 0 24px 60px rgba(20, 32, 36, 0.35);
}

.hero-copy {
  max-width: 34rem;
  padding: 2rem 0 0 1rem;
  text-shadow: 0 2px 14px rgba(255, 248, 230, 0.18);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 251, 240, 0.68);
  font-weight: 800;
  color: #34595d;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.92;
  color: #fff4dc;
}

.hero-subtitle {
  margin: 1rem 0 1.8rem;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  color: #ffefcd;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.4rem;
  border-radius: 1.25rem;
  border: 2px solid rgba(162, 132, 88, 0.22);
  background: linear-gradient(180deg, rgba(255, 251, 241, 0.96), rgba(248, 236, 208, 0.94));
  box-shadow: 0 16px 32px rgba(67, 59, 39, 0.14);
  font-weight: 700;
  color: #2f4b4f;
}

.badge-icon {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 2px solid #c0904f;
  color: #305257;
  background: rgba(255, 246, 227, 0.95);
  font-size: 1.45rem;
  line-height: 1;
}

.badge-floating {
  position: absolute;
  right: 1.25rem;
  bottom: 3.5rem;
  max-width: 24rem;
}

.programs {
  position: relative;
  margin-top: -0.75rem;
  padding: 2rem 0 3rem;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.6rem);
  color: #fff4dc;
  white-space: nowrap;
}

.section-title::before,
.section-title::after {
  content: "";
  width: clamp(3rem, 8vw, 7rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, #5dabc7, transparent);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.program-card {
  overflow: hidden;
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.95), rgba(247, 239, 219, 0.97)),
    var(--paper);
  box-shadow:
    0 18px 38px rgba(59, 54, 41, 0.14),
    inset 0 0 0 1px rgba(164, 140, 96, 0.18);
}

.card-image {
  min-height: 280px;
  background-image:
    linear-gradient(180deg, rgba(255, 237, 192, 0.08), rgba(34, 63, 72, 0.08)),
    url("assets/overall/maine-deeper-dive.png");
  background-repeat: no-repeat;
  background-size: cover, 1160px auto;
  border-bottom: 1px solid rgba(123, 135, 141, 0.18);
}

.image-tidepool {
  background-position: center, left 74% top 50%;
}

.image-forest {
  background-position: center, center 53%;
}

.image-sensory {
  background-position: center, right 10% top 55%;
}

img.card-image {
  width: 100%;
  height: auto;
  min-height: 0;
  background: none;
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem 1.25rem 1.3rem;
  text-align: center;
}

.program-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.program-card p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--forest-soft);
}

.card-meta {
  font-weight: 700;
  color: #315258;
}

.card-body .button {
  align-self: center;
  min-width: 11rem;
  margin-top: 0.2rem;
}

.programs-cta {
  display: flex;
  justify-content: center;
  padding-top: 1.8rem;
}

.standards {
  min-height: 360px;
  padding: 2rem 0 5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.badge-wide {
  min-width: min(100%, 47rem);
  justify-content: center;
  font-size: clamp(1.2rem, 2.1vw, 1.9rem);
}

.info-strip {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-strip article {
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 249, 235, 0.8);
  box-shadow: inset 0 0 0 1px rgba(164, 140, 96, 0.16);
  backdrop-filter: blur(6px);
}

.info-strip h2 {
  margin: 0 0 0.6rem;
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.info-strip p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--forest-soft);
}

.bottom-nav {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.35rem auto 0;
  padding: 0 0 1.35rem;
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.3rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.92), rgba(247, 239, 219, 0.95)),
    var(--paper);
  box-shadow:
    0 18px 38px rgba(59, 54, 41, 0.14),
    inset 0 0 0 1px rgba(164, 140, 96, 0.18);
}

.bottom-nav-inner a {
  position: relative;
  padding: 0.25rem 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--forest);
  transition: color 180ms ease;
}

.bottom-nav-inner a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.bottom-nav-inner a:hover,
.bottom-nav-inner a:focus-visible,
.bottom-nav-inner a[aria-current="page"] {
  color: var(--warm-deep);
}

.bottom-nav-inner a:hover::after,
.bottom-nav-inner a:focus-visible::after,
.bottom-nav-inner a[aria-current="page"]::after {
  transform: scaleX(1);
}

.about-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.about-hero {
  min-height: 20rem;
  display: flex;
  align-items: end;
  padding: 2rem 0 2.5rem;
}

.about-hero-copy {
  max-width: 46rem;
  padding-left: 1rem;
  text-shadow: 0 2px 14px rgba(255, 248, 230, 0.18);
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  color: #fff4dc;
}

.about-lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: #fff2d7;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.about-card {
  padding: 1.65rem 1.45rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(247, 239, 219, 0.97)),
    var(--paper);
  box-shadow:
    0 18px 38px rgba(59, 54, 41, 0.14),
    inset 0 0 0 1px rgba(164, 140, 96, 0.18);
}

.about-card h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.about-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--forest-soft);
}

.about-card p + p {
  margin-top: 0.95rem;
}

.about-card-wide {
  grid-column: 1 / -1;
}

.about-card-accent {
  background:
    linear-gradient(180deg, rgba(245, 251, 252, 0.96), rgba(227, 240, 233, 0.95)),
    var(--paper);
}

.about-list {
  margin: 0;
  padding-left: 1.3rem;
  color: var(--forest-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-card-img {
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  margin-bottom: 1rem;
  object-fit: cover;
  max-height: 16rem;
}

.about-card-img-mission {
  max-width: 28rem;
  max-height: none;
  display: block;
  margin: 0 auto 1.2rem;
  object-fit: contain;
}

.about-card-mission h2 {
  text-align: center;
}

.about-wil-badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.about-wil-badges img {
  max-height: 5rem;
  width: auto;
}

.about-card-training {
  display: grid;
  grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: center;
}

.about-card-split,
.about-card-founder {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(14rem, 0.7fr);
  gap: 1.5rem;
  align-items: center;
}

.about-card-img-side {
  width: 100%;
  height: 100%;
  max-height: 24rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(164, 140, 96, 0.16);
}

.programs-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.programs-hero {
  min-height: 20rem;
  display: flex;
  align-items: end;
  padding: 2rem 0 2.5rem;
}

.programs-hero-copy {
  max-width: 46rem;
  padding-left: 1rem;
  text-shadow: 0 2px 14px rgba(255, 248, 230, 0.18);
}

.programs-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  color: #fff4dc;
}

.programs-lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: #fff2d7;
  font-weight: 700;
}

.programs-page-section {
  margin-top: 0;
  padding-top: 0.25rem;
}

.landlab-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.landlab-hero {
  min-height: 20rem;
  display: flex;
  align-items: end;
  padding: 2rem 0 2.5rem;
}

.landlab-hero-copy {
  max-width: 46rem;
  padding-left: 1rem;
  text-shadow: 0 2px 14px rgba(255, 248, 230, 0.18);
}

.landlab-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  color: #fff4dc;
}

.landlab-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: #fff2d7;
  font-weight: 700;
}

.landlab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.landlab-card {
  padding: 1.65rem 1.45rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(247, 239, 219, 0.97)),
    var(--paper);
  box-shadow:
    0 18px 38px rgba(59, 54, 41, 0.14),
    inset 0 0 0 1px rgba(164, 140, 96, 0.18);
}

.landlab-card h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.landlab-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--forest-soft);
}

.landlab-card p + p {
  margin-top: 0.95rem;
}

.landlab-card-wide {
  grid-column: 1 / -1;
}

.landlab-card-accent {
  background:
    linear-gradient(180deg, rgba(245, 251, 252, 0.96), rgba(227, 240, 233, 0.95)),
    var(--paper);
}

.landlab-list {
  margin: 1rem 0 0;
  padding-left: 1.3rem;
  color: var(--forest-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.landlab-card-split {
  display: grid;
  grid-template-columns: minmax(14rem, 0.6fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: center;
}

.landlab-card-split-reverse {
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.6fr);
}

.landlab-card-img-side {
  width: 100%;
  height: 100%;
  max-height: 22rem;
  border-radius: 1rem;
  object-fit: cover;
}

.landlab-card-img-banner {
  width: 100%;
  height: auto;
  max-height: 16rem;
  border-radius: 0.85rem;
  object-fit: cover;
  margin-bottom: 1rem;
}

.landlab-callout {
  display: block;
}

.landlab-actions {
  display: flex;
  flex-direction: row;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.contact-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.contact-hero {
  min-height: 12rem;
  display: flex;
  align-items: start;
  padding: 2rem 0 2.5rem;
}

.contact-hero-copy {
  max-width: 46rem;
  padding-left: 1rem;
  text-shadow: 0 2px 14px rgba(255, 248, 230, 0.18);
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  color: #fff4dc;
}

.contact-lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: #fff2d7;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.contact-card {
  padding: 1.65rem 1.45rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(247, 239, 219, 0.97)),
    var(--paper);
  box-shadow:
    0 18px 38px rgba(59, 54, 41, 0.14),
    inset 0 0 0 1px rgba(164, 140, 96, 0.18);
}

.contact-card h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.contact-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--forest-soft);
}

.contact-card p + p {
  margin-top: 0.7rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form-message {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.contact-form-message p {
  margin: 0;
}

.contact-form-success {
  color: #26494d;
  background: rgba(233, 244, 241, 0.84);
  box-shadow: inset 0 0 0 1px rgba(107, 149, 136, 0.18);
}

.contact-form-error {
  color: #7e3317;
  background: rgba(255, 239, 228, 0.92);
  box-shadow: inset 0 0 0 1px rgba(192, 108, 73, 0.2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest);
}

.form-group .required {
  color: var(--warm);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 1.05rem;
  padding: 0.65rem 0.85rem;
  border: 2px solid rgba(164, 140, 96, 0.3);
  border-radius: 0.65rem;
  background: rgba(255, 252, 244, 0.8);
  color: var(--forest);
  transition: border-color 180ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sea);
}

.form-group textarea {
  resize: vertical;
}

.contact-card-info {
  align-self: start;
}

.directors-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.directors-hero {
  min-height: 20rem;
  display: flex;
  align-items: start;
  padding: 2rem 0 2.5rem;
}

.directors-hero-copy {
  max-width: 48rem;
  padding-left: 1rem;
  text-shadow: 0 2px 14px rgba(255, 248, 230, 0.18);
}

.directors-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  color: #fff4dc;
}

.directors-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: #fff2d7;
  font-weight: 700;
}

.directors-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.8fr);
  gap: 1.35rem;
  align-items: start;
}

.directors-main,
.directors-sidecard {
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(247, 239, 219, 0.97)),
    var(--paper);
  box-shadow:
    0 18px 38px rgba(59, 54, 41, 0.14),
    inset 0 0 0 1px rgba(164, 140, 96, 0.18);
}

.directors-main {
  padding: 1.4rem;
}

.directors-refresh {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.directors-refresh {
  margin-bottom: 1rem;
  color: #27404d;
  background: rgba(244, 236, 206, 0.92);
  box-shadow: inset 0 0 0 1px rgba(171, 144, 88, 0.2);
}

.directors-feed {
  display: grid;
  gap: 1.15rem;
}

.directors-post {
  overflow: hidden;
  border-radius: 1.15rem;
  background: rgba(255, 249, 235, 0.82);
  box-shadow: inset 0 0 0 1px rgba(164, 140, 96, 0.16);
}

.directors-post-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid rgba(123, 135, 141, 0.18);
}

.directors-post-body {
  padding: 1.35rem 1.25rem 1.3rem;
}

.directors-post-meta {
  margin: 0 0 0.65rem;
  color: #4f716a;
  font-weight: 700;
  font-size: 0.98rem;
}

.directors-post-meta span {
  margin: 0 0.4rem;
}

.directors-post h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.04;
}

.directors-post-excerpt {
  color: var(--forest-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.directors-post-excerpt p {
  margin: 0 0 1rem;
}

.directors-post .button {
  margin-top: 0.35rem;
}

.directors-sidebar {
  display: grid;
  gap: 1rem;
}

.directors-sidecard {
  padding: 1.35rem 1.2rem;
}

.directors-sidecard h2 {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
}

.directors-sidecard p {
  margin: 0;
  color: var(--forest-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.directors-sidecard a,
.directors-empty a {
  color: var(--warm-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

.directors-archive-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.directors-archive-list li + li {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(164, 140, 96, 0.2);
}

.directors-archive-list a {
  display: block;
  color: var(--warm-deep);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

.directors-archive-list span,
.directors-archive-empty {
  display: block;
  margin-top: 0.35rem;
  color: var(--forest-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.directors-empty {
  padding: 1.25rem;
  border-radius: 1rem;
  color: var(--forest-soft);
  background: rgba(255, 249, 235, 0.82);
  box-shadow: inset 0 0 0 1px rgba(164, 140, 96, 0.16);
  line-height: 1.65;
}

.directors-post-image-link,
.directors-post h2 a {
  display: block;
}

.directors-post h2 a:hover,
.directors-post h2 a:focus-visible {
  color: var(--warm-deep);
}

.post-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.post-hero {
  min-height: 20rem;
  display: flex;
  align-items: end;
  padding: 2rem 0 2.5rem;
}

.post-hero-copy {
  width: min(100%, 68rem);
  padding-left: 1rem;
  text-shadow: 0 2px 14px rgba(255, 248, 230, 0.18);
}

.post-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.post-back-link {
  color: #fff2d7;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.post-back-link:hover,
.post-back-link:focus-visible {
  color: #1f4146;
}

.post-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  color: #fff4dc;
}

.post-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  color: #fff2d7;
  font-weight: 700;
}

.post-layout {
  display: block;
}

.post-shell {
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(247, 239, 219, 0.97)),
    var(--paper);
  box-shadow:
    0 18px 38px rgba(59, 54, 41, 0.14),
    inset 0 0 0 1px rgba(164, 140, 96, 0.18);
}

.post-shell {
  overflow: hidden;
  width: min(100%, 52rem);
}

.post-message {
  margin: 1.4rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  color: #27404d;
  background: rgba(244, 236, 206, 0.92);
  box-shadow: inset 0 0 0 1px rgba(171, 144, 88, 0.2);
  font-weight: 700;
  line-height: 1.5;
}

.post-feature-image {
  padding: 1rem;
  background: rgba(255, 249, 235, 0.68);
  border-bottom: 1px solid rgba(123, 135, 141, 0.18);
}

.post-feature-image img {
  width: 100%;
  height: auto;
  max-height: 70rem;
  object-fit: contain;
  border-radius: 1rem;
}

.post-body {
  padding: 1.45rem 1.35rem 1.55rem;
}

.post-meta {
  margin: 0 0 1rem;
  color: #4f716a;
  font-weight: 700;
  font-size: 0.98rem;
}

.post-meta span {
  margin: 0 0.4rem;
}

.post-content {
  color: var(--forest-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.post-content > :first-child {
  margin-top: 0;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote {
  margin: 0 0 1.15rem;
}

.post-content h2,
.post-content h3 {
  margin: 1.6rem 0 0.75rem;
  color: var(--forest);
  line-height: 1.08;
}

.post-content a,
.post-lead a {
  color: var(--warm-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

.post-content img {
  border-radius: 1rem;
  margin: 1.2rem 0;
}

.post-shell-full {
  width: min(100%, 68rem);
}

@media (max-width: 1024px) {
  .site-nav {
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1.2vw, 1.2rem);
    font-size: 1rem;
  }

  .hero {
    min-height: 700px;
    padding-top: 1.25rem;
  }

  .hero-copy {
    max-width: 31rem;
    padding-top: 1.25rem;
  }

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

  .about-card-founder,
  .about-card-split,
  .about-card-training {
    grid-template-columns: 1fr;
  }

  .landlab-callout {
    grid-template-columns: 1fr;
  }

  .directors-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .page-shell {
    background-attachment: scroll;
    background-position: 64% top;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 1rem 0 0.75rem;
  }

  .header-donate {
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .brand-logo img {
    max-width: 16rem;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.75rem 0 0.5rem;
    font-size: 1.1rem;
  }

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

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid rgba(255, 244, 220, 0.12);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 1rem 0 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero-scroll {
    display: block;
    width: 60%;
    max-width: 15.4rem;
    height: auto;
    order: -1;
    align-self: center;
  }

  .hero-copy {
    padding: 1.5rem 0 0;
    max-width: 23rem;
  }

  .badge-floating {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 3rem;
    max-width: none;
  }

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

  .card-image {
    min-height: 240px;
    background-size: cover, 920px auto;
  }

  .section-title::before,
  .section-title::after {
    display: none;
  }

  .program-card h3 {
    font-size: 1.7rem;
  }

  .badge-wide {
    padding-inline: 1rem;
    font-size: 1.05rem;
  }

  .info-strip {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
  }

  .bottom-nav {
    display: none;
  }

  .about-page {
    padding-top: 0.75rem;
  }

  .programs-page {
    padding-top: 0.75rem;
  }

  .landlab-page {
    padding-top: 0.75rem;
  }

  .directors-page {
    padding-top: 0.75rem;
  }

  .post-page {
    padding-top: 0.75rem;
  }

  .about-hero {
    min-height: auto;
    padding: 1.75rem 0 2rem;
  }

  .programs-hero {
    min-height: auto;
    padding: 1.75rem 0 2rem;
  }

  .landlab-hero {
    min-height: auto;
    padding: 1.75rem 0 2rem;
  }

  .directors-hero {
    min-height: auto;
    padding: 1.75rem 0 2rem;
  }

  .post-hero {
    min-height: auto;
    padding: 1.75rem 0 2rem;
  }

  .about-hero-copy {
    padding-left: 0;
    max-width: 24rem;
  }

  .programs-hero-copy {
    padding-left: 0;
    max-width: 24rem;
  }

  .landlab-hero-copy {
    padding-left: 0;
    max-width: 24rem;
  }

  .directors-hero-copy {
    padding-left: 0;
    max-width: 24rem;
  }

  .post-hero-copy {
    padding-left: 0;
    max-width: 24rem;
  }

  .post-hero-topline {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .landlab-card-split,
  .landlab-card-split-reverse {
    grid-template-columns: 1fr;
  }

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

  .contact-page {
    padding-top: 0.75rem;
  }

  .directors-main {
    padding: 1rem;
  }

  .post-message {
    margin: 1rem;
  }

  .post-feature-image {
    padding: 0.85rem;
  }

  .post-body {
    padding: 1.15rem 1rem 1.25rem;
  }

  .about-image-panel {
    min-height: 16rem;
  }
}
