:root {
  --ink: #18212b;
  --muted: #5a6573;
  --paper: #fffaf4;
  --surface: #ffffff;
  --line: #d9ded8;
  --teal: #007f7a;
  --teal-dark: #075f5b;
  --coral: #d94f3d;
  --sun: #f4bd45;
  --leaf: #627d46;
  --shadow: 0 18px 45px rgba(24, 33, 43, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 244, 0.94);
  border-bottom: 1px solid rgba(24, 33, 43, 0.1);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(24, 33, 43, 0.06);
}

.brand-text {
  max-width: 180px;
  font-size: 0.92rem;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--teal-dark);
}

.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 76px);
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  width: clamp(92px, 12vw, 132px);
  height: clamp(92px, 12vw, 132px);
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(24, 33, 43, 0.09);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.secondary {
  background: transparent;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

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

.hero-visual img {
  position: absolute;
  width: min(68%, 430px);
  border-radius: 8px;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(24, 33, 43, 0.08);
}

.hero-visual img:nth-child(1) {
  top: 30px;
  right: 0;
  width: min(50%, 310px);
  border-radius: 50%;
  z-index: 1;
}

.hero-visual img:nth-child(2) {
  top: 0;
  right: 12%;
  z-index: 4;
}

.hero-visual img:nth-child(3) {
  top: 148px;
  left: 0;
  z-index: 2;
}

.hero-visual img:nth-child(4) {
  right: 0;
  bottom: 0;
  width: min(54%, 330px);
  z-index: 5;
}

.section-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  padding: clamp(54px, 7vw, 96px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro p:not(.eyebrow),
.sanctuary p,
.strategy p {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(240px, 0.4fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

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

.metric-grid article,
.program,
.team-card,
.survey-panel,
.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid article {
  min-height: 174px;
  padding: 22px;
}

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

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

.featured-work {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 30px);
  color: var(--ink);
  background: #f7f0e8;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(24, 33, 43, 0.08);
}

.featured-media {
  position: relative;
}

.featured-media img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  border: 1px solid rgba(24, 33, 43, 0.1);
}

.featured-media img:last-child {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(24, 33, 43, 0.2);
}

.featured-work h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.featured-work p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.featured-work span {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal-dark);
  font-weight: 900;
}

.featured-work:hover,
.featured-work:focus {
  transform: translateY(-2px);
}

.program {
  min-height: 245px;
  padding: 24px;
}

.program-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  font-weight: 900;
}

.program:nth-child(2n) .program-icon {
  color: #fff;
  background: var(--teal);
}

.program:nth-child(3n) .program-icon {
  color: #fff;
  background: var(--coral);
}

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

.gallery {
  background: var(--paper);
}

.gallery-intro {
  max-width: 760px;
  margin: -10px 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(24, 33, 43, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: block;
  padding: 9px 10px;
  background: rgba(24, 33, 43, 0.78);
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.2;
}

.gallery-item:hover img,
.gallery-item:focus img {
  opacity: 0.86;
  transform: scale(1.035);
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 3;
}

.gallery-item.poster {
  grid-row: span 3;
  background: #eef2e4;
}

.sanctuary {
  background: var(--ink);
  color: #fff;
}

.sanctuary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.sanctuary .eyebrow {
  color: var(--sun);
}

.sanctuary p {
  color: rgba(255, 255, 255, 0.76);
}

.survey-panel {
  padding: 28px;
  color: var(--ink);
  background: #f7f0e8;
}

.survey-stat {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(24, 33, 43, 0.16);
}

.survey-stat span {
  color: var(--coral);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
}

.survey-stat p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 0 0 22px 28px;
  border-left: 4px solid var(--teal);
}

.timeline span {
  color: var(--coral);
  font-weight: 900;
}

.team {
  background: var(--paper);
}

.team-card {
  min-height: 310px;
  padding: 24px;
}

.team-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-card p {
  color: var(--muted);
}

.team-supplementary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.team-supplementary-block {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-supplementary-block h3 {
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.team-supplementary-block p {
  margin: 0;
  color: var(--muted);
}

.report-card {
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(24, 33, 43, 0.08);
}

.report-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  background: #eee;
}

.report-card span {
  display: block;
  padding: 18px 18px 8px;
  font-size: 1.04rem;
  font-weight: 900;
}

.report-card p {
  min-height: 118px;
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
}

.report-card:hover,
.report-card:focus {
  transform: translateY(-3px);
}

.resource-card-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 360px;
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.site-footer {
  color: #fff;
  background: var(--teal-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 32px;
}

.footer-logo {
  width: 106px;
  height: 106px;
  object-fit: contain;
  margin-bottom: 22px;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.site-footer .eyebrow {
  color: var(--sun);
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

address a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(24, 33, 43, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  width: min(1120px, 100%);
  max-height: 92vh;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #111820;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox figcaption {
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero,
  .split,
  .sanctuary-layout,
  .footer-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

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

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

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

@media (max-width: 620px) {
  .brand-text {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.7rem, 17vw, 4.4rem);
  }

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

  .hero-visual img {
    width: 74%;
  }

  .hero-visual img:nth-child(2) {
    top: 96px;
  }

  .hero-visual img:nth-child(3) {
    top: 128px;
  }

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

  .metric-grid,
  .program-grid,
  .team-grid,
  .team-supplementary,
  .report-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.poster {
    grid-column: auto;
    grid-row: span 1;
  }

  .gallery-item.poster {
    grid-row: span 2;
  }

  .report-card img {
    height: 300px;
  }
}
