:root {
  --forest: #08352c;
  --forest-deep: #05241e;
  --teal: #0f6b56;
  --teal-mid: #1a8a6e;
  --mint: #d7ede4;
  --sand: #f4efe4;
  --cream: #fbf8f1;
  --clay: #c24e1d;
  --clay-hover: #a33e14;
  --gold: #c49a2a;
  --ink: #14241f;
  --ink-soft: #3d4f48;
  --muted: #5c6e67;
  --line: rgba(8, 53, 44, 0.12);
  --white: #fffefb;
  --shadow: 0 18px 50px rgba(8, 53, 44, 0.08);
  --radius: 22px;
  --header: 118px;
  --max: 1180px;
  --font-display: "Merriweather", Georgia, "Times New Roman", serif;
  --font: "Nunito Sans", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4,
.display {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  line-height: 1.18;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 100;
  background: var(--gold);
  color: var(--forest);
  padding: 0.5rem 0.8rem;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2.4rem), var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(calc(100% - 2.4rem), 1320px);
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

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

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.8rem;
}

.section-head h2,
.display-lg {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--clay-hover);
  color: var(--white);
}

.btn-dark {
  background: var(--forest);
}

.btn-dark:hover {
  background: #0b463b;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 254, 251, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 254, 251, 0.1);
  color: var(--white);
}

.btn-line {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-line:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.site-announce {
  background: var(--forest-deep);
  color: #e7efe9;
  font-size: 0.86rem;
}

.site-announce .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.site-announce a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--forest);
  flex-shrink: 0;
}

.brand img,
.brand svg,
.brand .custom-logo {
  width: 188px;
  height: auto;
}

.site-footer .brand {
  display: inline-flex;
  background: var(--cream);
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.site-footer .brand img {
  width: 220px;
  height: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.primary-nav a[aria-current="page"],
.primary-nav a.is-active,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--teal);
}

.admin-bar .site-header {
  top: 32px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  position: relative;
  transition: 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 36, 30, 0.2) 0%, rgba(5, 36, 30, 0.58) 46%, rgba(5, 36, 30, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 36, 30, 0.38) 0%, transparent 58%),
    url("../images/hero.jpg") center 22% / cover no-repeat;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 48rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 0 0 1.1rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: #f3e3b0;
}

.hero .lede {
  color: #e8efe9;
  max-width: 38rem;
}

.memorial {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 254, 251, 0.2);
  color: #dce8e2;
  font-size: 0.98rem;
  max-width: 34rem;
}

.stats {
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--forest);
  color: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat {
  padding: 1.6rem 1.3rem;
  border-right: 1px solid rgba(255, 254, 251, 0.08);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  color: #d5e5dd;
  font-size: 0.92rem;
}

.split-sand {
  background: var(--sand);
}

.split-mint {
  background: var(--mint);
}

.split-forest {
  background: var(--forest);
  color: var(--white);
}

.split-forest .kicker,
.split-forest .lede,
.split-forest p {
  color: #d7e5de;
}

.split-forest h2,
.split-forest h3 {
  color: var(--white);
}

.program-list {
  display: grid;
  gap: 0;
}

.program-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.2rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.program-row:last-child {
  border-bottom: 1px solid var(--line);
}

.program-row:hover h3 {
  color: var(--teal);
}

.program-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.program-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
}

.program-row p {
  color: var(--ink-soft);
  max-width: 42rem;
}

.program-tag {
  align-self: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.photo-frame,
.feature-media {
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 254, 251, 0.16), transparent 28%),
    linear-gradient(160deg, #1a8a6e 0%, #08352c 80%);
}

.photo-frame::after,
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 140px;
  opacity: 0.45;
}

.photo-frame.warm,
.feature-media.warm {
  background: linear-gradient(160deg, #c24e1d 0%, #08352c 88%);
}

.photo-frame.gold,
.feature-media.gold {
  background: linear-gradient(160deg, #c49a2a 0%, #0f6b56 86%);
}

.quote-block {
  padding: 0.4rem 0 0;
}

.quote-block blockquote {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value {
  padding: 1.2rem 1.2rem 1.3rem;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.value h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.barrier {
  padding: 1.4rem;
  background: var(--white);
  border-radius: 20px;
  border-top: 4px solid var(--teal);
  min-height: 100%;
}

.barrier.alt {
  border-top-color: var(--clay);
}

.barrier h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.phase {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.2rem;
  padding: 1.3rem 1.4rem;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.phase b {
  color: var(--teal);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 36, 30, 0.5) 0%, rgba(5, 36, 30, 0.78) 100%),
    url("../images/hero.jpg") center 24% / cover no-repeat;
}

.page-hero::before {
  display: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 0 0 0.8rem;
  max-width: 16ch;
}

.page-hero .lede {
  color: #e4eee8;
  max-width: 40rem;
}

.program-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.program-detail:last-child {
  border-bottom: 0;
}

.program-detail h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.7rem;
}

.activity-list,
.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.activity-list li,
.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
}

.activity-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.feature-media {
  min-height: 280px;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  padding: 0.85rem 1rem;
  background: var(--mint);
  border-radius: 12px;
  color: var(--forest);
}

.give-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.give-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
}

.give-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.site-footer {
  background: var(--forest-deep);
  color: #d5e3db;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 254, 251, 0.08);
}

.site-footer a {
  color: #e8f1ea;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.footer-brand p {
  max-width: 26rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: #9fb4aa;
}

.notice {
  background: #fff6d8;
  border: 1px solid #ead48a;
  color: #5a4710;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 1rem 0 0;
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .stats-grid,
  .cta-band,
  .program-detail,
  .footer-grid,
  .give-cards,
  .values,
  .phase {
    grid-template-columns: 1fr;
  }

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

  .program-tag {
    grid-column: 2;
  }

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

  .header-cta .btn-line {
    display: none;
  }

  .primary-nav {
    position: fixed;
    inset: calc(var(--header) + 36px) 0 0 0;
    background: var(--cream);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .primary-nav a {
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  .brand img,
  .brand svg,
  .brand .custom-logo {
    width: 148px;
    height: auto;
  }

  .site-footer .brand img {
    width: 180px;
    height: auto;
  }

  .site-announce .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 86vh;
    align-items: end;
  }

  .photo-frame,
  .feature-media {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
