:root {
  color-scheme: light;
  --ink: #1d2528;
  --muted: #5f6b70;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dfe4df;
  --clay: #a44f3e;
  --clay-dark: #75362d;
  --moss: #536b4e;
  --teal: #1e6f78;
  --gold: #c58a2b;
  --shadow: 0 18px 50px rgba(29, 37, 40, 0.12);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(29, 37, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand__mark {
  width: 76px;
  height: 58px;
  border-radius: 0;
  object-fit: contain;
}

.brand__text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.76rem;
  font-weight: 700;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav a {
  padding: 9px 8px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: #eef1eb;
  color: var(--ink);
}

.submenu-toggle {
  width: 24px;
  height: 34px;
  margin-left: -7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 260px;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.submenu a:hover {
  background: #eef1eb;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.is-open .submenu {
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(92vh - var(--header-height));
  position: relative;
  display: block;
  padding: clamp(8px, 1.4vw, 18px) clamp(28px, 6vw, 72px) clamp(28px, 6vw, 72px);
  color: #fff;
  background-image: linear-gradient(90deg, rgba(18, 24, 23, 0.76), rgba(18, 24, 23, 0.32), rgba(18, 24, 23, 0.08)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero__content {
  min-height: calc(92vh - var(--header-height) - clamp(8px, 1.4vw, 18px) - clamp(28px, 6vw, 72px));
}

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

.hero .eyebrow {
  color: #ffe36e;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.68);
}

.hero h1,
.section-hero h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.7rem, 4.2vw, 4.2rem);
  max-width: 560px;
}

.hero__lead {
  position: absolute;
  left: clamp(28px, 6vw, 72px);
  right: clamp(28px, 6vw, 72px);
  bottom: clamp(24px, 5vw, 58px);
  max-width: min(900px, calc(100% - clamp(56px, 12vw, 144px)));
  margin: 0;
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: min(860px, calc(100% - 40px));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--clay);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.hero__actions .button {
  min-width: 230px;
  min-height: 64px;
  padding: 16px 26px;
  font-size: 1.12rem;
}

.button:hover {
  background: var(--clay-dark);
}

.button--light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.button--ghost {
  background: #fff;
  border-color: #fff;
  color: var(--clay);
}

.button--ghost:hover {
  background: #fff6f3;
  color: var(--clay-dark);
}

.intro-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 4vw, 48px);
  background: #eef1eb;
}

.page-intro {
  padding: clamp(36px, 7vw, 82px) clamp(18px, 4vw, 48px);
  background: #eef1eb;
  border-bottom: 1px solid var(--line);
}

.page-intro h2 {
  margin: 0 0 18px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.page-intro p:not(.eyebrow) {
  max-width: 900px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.intro-grid h2,
.content-block h2,
.subsection h2 {
  margin: 0 0 14px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-grid p,
.content-block p {
  margin: 0 0 16px;
  color: var(--muted);
}

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

.metric {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.metric strong {
  display: block;
  color: var(--teal);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section-hero {
  min-height: clamp(360px, 52vh, 560px);
  display: flex;
  align-items: flex-end;
  padding: clamp(70px, 11vw, 140px) clamp(18px, 4vw, 48px) clamp(42px, 7vw, 88px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(18, 24, 23, 0.82), rgba(18, 24, 23, 0.5) 48%, rgba(18, 24, 23, 0.22)),
    var(--section-hero-image);
  background-size: cover;
  background-position: center;
}

.section-hero__inner,
.section-body {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-hero p {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.section-hero .eyebrow {
  color: #ffe36e;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.section-hero h1 {
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.section-body {
  padding: clamp(30px, 6vw, 72px) clamp(18px, 4vw, 48px);
}

.section-body--wide {
  width: 100%;
  max-width: none;
}

.section-nav {
  width: min(1180px, 100%);
  margin: 0 auto clamp(24px, 4vw, 42px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-nav a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
}

.section-nav--featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-nav--featured a {
  min-height: 88px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-radius: var(--radius);
  border-left: 5px solid var(--teal);
  background: #eef1eb;
  color: var(--ink);
}

.subsection {
  width: min(1180px, 100%);
  margin: 0 auto clamp(34px, 7vw, 76px);
  padding-top: 8px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.subsection__header {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1.22fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  margin-bottom: 24px;
}

.subsection__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.activity-story {
  margin: 0 auto 24px;
  padding: clamp(18px, 3vw, 28px);
  border-left: 5px solid var(--gold);
  background: #eef1eb;
}

.activity-story h3 {
  margin: 0 0 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.activity-story p {
  max-width: 980px;
  margin: 0 0 12px;
  color: var(--muted);
}

.activity-story p:last-child {
  margin-bottom: 0;
}

.process-note {
  margin: 0 auto 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  background: var(--surface);
}

.process-note strong {
  display: block;
  margin-bottom: 6px;
}

.process-note p {
  margin: 0;
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 24px;
}

.story-block {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  background: var(--surface);
}

.story-block h3 {
  margin: 0 0 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

.story-block p {
  margin: 0 0 12px;
  color: var(--muted);
}

.story-block p:last-child {
  margin-bottom: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef1eb;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 800;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.activity-step {
  min-height: 116px;
  padding: 14px;
  border-left: 4px solid var(--clay);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(29, 37, 40, 0.06);
}

.activity-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.activity-step span {
  color: var(--muted);
  font-size: 0.88rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.media-card {
  grid-column: span 4;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(29, 37, 40, 0.08);
}

.media-card--photo {
  grid-column: span 3;
}

.media-card__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #dfe4df;
}

.media-card--video .media-card__frame {
  aspect-ratio: 16 / 9;
}

.media-card--video {
  background: #111;
}

.media-card--audio {
  grid-column: span 6;
  padding: 18px;
  background: var(--ink);
  color: #fff;
}

.audio-card__visual {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px;
  border-left: 5px solid var(--gold);
  background: linear-gradient(135deg, rgba(197, 138, 43, 0.18), rgba(30, 111, 120, 0.24));
}

.audio-card__visual span {
  color: #ffe36e;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.audio-card__visual strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.5rem;
}

.media-card--audio audio {
  width: 100%;
  margin-top: 14px;
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card video {
  background: #111;
}

.media-card__body {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.media-card__body strong {
  font-size: 0.92rem;
}

.media-card__body a {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.media-card__body a:hover {
  text-decoration: underline;
}

.is-lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(12, 18, 18, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: min(1120px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.empty-state {
  padding: 22px;
  border: 1px dashed #b8c0ba;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(29, 37, 40, 0.08), rgba(29, 37, 40, 0.78)), var(--card-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.link-card strong {
  font-size: 1.15rem;
}

.link-card span {
  color: rgba(255, 255, 255, 0.82);
}

.content-block {
  width: min(980px, 100%);
  margin: 0 auto;
}

.resource-links {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.program {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef1eb;
}

.program__heading h3 {
  margin: 0 0 20px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

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

.program__item {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: var(--surface);
  border-left: 4px solid var(--teal);
}

.program__item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links,
.footer-partner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-partner {
  gap: 8px;
}

.footer-partner img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1250px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    border-radius: var(--radius);
  }

  .nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .submenu-toggle {
    width: 44px;
    height: 42px;
    margin: 0;
    border-left: 1px solid var(--line);
  }

  .submenu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin: 2px 0 8px 12px;
    border: 0;
    border-left: 3px solid var(--teal);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    display: none;
  }

  .nav-item.is-open .submenu {
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  .intro-grid,
  .subsection__header,
  .story-grid {
    grid-template-columns: 1fr;
  }

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

  .media-card,
  .media-card--photo,
  .media-card--audio {
    grid-column: span 6;
  }

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

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

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand__mark {
    width: 58px;
    height: 46px;
  }

  .brand__text {
    max-width: 180px;
    white-space: normal;
    line-height: 1.05;
  }

  .hero {
    min-height: calc(88vh - var(--header-height));
    padding: 26px 18px;
  }

  .hero__content {
    min-height: calc(88vh - var(--header-height) - 52px);
  }

  .hero h1,
  .section-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.25rem);
  }

  .hero__actions {
    top: 58%;
    gap: 12px;
  }

  .hero__actions .button {
    min-width: 0;
    flex: 1 1 150px;
    min-height: 54px;
    padding: 12px 16px;
    font-size: 0.98rem;
  }

  .hero__lead {
    left: 18px;
    right: 18px;
    bottom: 26px;
    max-width: none;
    font-size: 1rem;
  }

  .metrics,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .media-card,
  .media-card--photo,
  .media-card--audio {
    grid-column: span 12;
  }

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

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

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

  .footer-links,
  .footer-partner {
    flex-wrap: wrap;
  }

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