:root {
  --bg: #f4ecde;
  --surface: rgba(255, 250, 242, 0.8);
  --surface-strong: #fff9f0;
  --surface-dark: #18392f;
  --text: #102218;
  --muted: #536359;
  --accent: #bf5122;
  --accent-soft: #f2c078;
  --line: rgba(16, 34, 24, 0.12);
  --shadow: 0 24px 60px rgba(16, 34, 24, 0.12);
  --radius: 28px;
  --container: 1640px;
  --font-display: "Newsreader", serif;
  --font-body: "Space Grotesk", sans-serif;
  --app-height: 100vh;
  --header-height: 0px;
  --reveal-distance: 26px;
  --reveal-duration: 560ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: var(--app-height);
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(243, 241, 240, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(24, 57, 47, 0.18), transparent 24%),
    linear-gradient(180deg, #f5f7f8 0%, #e8e5ee 100%);
  overflow-x: clip;
}

body.is-mobile {
  --reveal-distance: 18px;
  --reveal-duration: 460ms;
}

body.is-compact {
  --reveal-distance: 14px;
  --reveal-duration: 420ms;
}

body.is-menu-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

body::before {
  width: 260px;
  height: 260px;
  left: -60px;
  top: 30vh;
  background: rgba(242, 192, 120, 0.34);
}

body::after {
  width: 320px;
  height: 320px;
  right: -80px;
  top: 12vh;
  background: rgba(24, 57, 47, 0.14);
}

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

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

.page-frame {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: grid;
  gap: 0.32rem;
  padding: 0.05rem;
  margin-bottom: 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.92), rgba(246, 235, 219, 0.84)),
    radial-gradient(circle at top right, rgba(191, 81, 34, 0.12), transparent 34%),
    radial-gradient(circle at 10% 18%, rgba(24, 57, 47, 0.08), transparent 24%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 16px 40px rgba(16, 34, 24, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 48%);
}

body.is-scrolled .site-header {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 24px 54px rgba(16, 34, 24, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(246, 235, 219, 0.9)),
    radial-gradient(circle at top right, rgba(191, 81, 34, 0.16), transparent 34%),
    radial-gradient(circle at 10% 18%, rgba(24, 57, 47, 0.1), transparent 24%);
}

.site-header__topline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.7rem;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  padding: 0.48rem 0.72rem 0.5rem 0.78rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 244, 234, 0.88)),
    radial-gradient(circle at 12% 20%, rgba(24, 57, 47, 0.08), transparent 22%),
    radial-gradient(circle at 15% 82%, rgba(242, 192, 120, 0.22), transparent 20%);
  border: 1px solid rgba(16, 34, 24, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(16, 34, 24, 0.08);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 52%);
  pointer-events: none;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(16, 34, 24, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 20px 38px rgba(16, 34, 24, 0.1);
  outline: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(12rem, 27vw, 22rem);
  max-width: 200px;
  height: 200px;
  object-fit: contain;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(16, 34, 24, 0.08));
}

.header-art {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  width: 1300px;
  height: 200px;
  max-width: none;
  padding: 0.2rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(249, 240, 227, 0.9)),
    radial-gradient(circle at 100% 50%, rgba(191, 81, 34, 0.12), transparent 40%);
  border: 1px solid rgba(16, 34, 24, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 34px rgba(16, 34, 24, 0.08);
  overflow: hidden;
  justify-self: stretch;
}

.header-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.header-utility {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(16, 34, 24, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.68rem 0.92rem 0.68rem 0.86rem;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d8a64, #5abf96);
  box-shadow: 0 0 0 0.28rem rgba(90, 191, 150, 0.18);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.82rem 1.12rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #114737, #1f6d52);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(17, 71, 55, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(17, 71, 55, 0.28);
  filter: brightness(1.03) saturate(1.06);
  outline: none;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  flex-wrap: wrap;
  padding: 0.28rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(248, 240, 229, 0.6));
  border: 1px solid rgba(16, 34, 24, 0.08);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  overflow-x: auto;
  scrollbar-width: none;
  transition: opacity 180ms ease, transform 220ms ease, visibility 220ms ease, box-shadow 180ms ease;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  padding: 0.54rem 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(191, 81, 34, 0.12);
  color: var(--text);
  transform: translateY(-1px);
  outline: none;
}

.site-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(191, 81, 34, 0.18), rgba(242, 192, 120, 0.22));
  color: var(--text);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(191, 81, 34, 0.14);
}

.menu-toggle {
  display: none;
  align-self: center;
  border: 1px solid rgba(16, 34, 24, 0.08);
  padding: 0.64rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 236, 222, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: var(--surface-dark);
  font-size: 0.84rem;
  font-weight: 700;
  font: inherit;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.menu-toggle.is-active {
  background: linear-gradient(135deg, rgba(17, 71, 55, 0.96), rgba(31, 109, 82, 0.9));
  color: #fff;
  box-shadow: 0 16px 34px rgba(17, 71, 55, 0.18);
}

.section {
  margin: 0 0 3rem;
}

.page-links-grid,
.subpage-grid,
.subpage-grid-tight,
.detail-grid {
  display: grid;
  gap: 1rem;
}

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

.page-link-card,
.text-panel,
.note-panel,
.page-kpi,
.subpage-feature {
  display: block;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 249, 240, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.page-link-card {
  min-height: 15rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.page-link-card:hover,
.page-link-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(16, 34, 24, 0.16);
  border-color: rgba(191, 81, 34, 0.18);
  outline: none;
}

.page-link-card h3,
.text-panel h3,
.note-panel h3,
.subpage-feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 0.95;
}

.page-link-card p,
.text-panel p,
.note-panel p,
.subpage-feature p,
.bullet-list li {
  color: var(--muted);
  line-height: 1.7;
}

.page-link-arrow {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.subpage-main {
  display: grid;
  gap: 2.4rem;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
  align-items: stretch;
}

.subpage-hero__copy,
.subpage-hero__media,
.subpage-feature {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.subpage-hero__copy {
  padding: 1.7rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.9), rgba(246, 235, 219, 0.82)),
    radial-gradient(circle at top right, rgba(191, 81, 34, 0.12), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.subpage-hero__copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.subpage-hero__copy p {
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.75;
}

.subpage-hero__media {
  min-height: 24rem;
  background: #d9d0c3;
}

.subpage-hero__media img {
  height: 100%;
  object-fit: cover;
}

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

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

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

.text-panel,
.note-panel,
.page-kpi,
.subpage-feature {
  height: 100%;
}

.text-panel h3,
.note-panel h3,
.subpage-feature h3 {
  margin-bottom: 0.9rem;
}

.bullet-list {
  margin: 0;
  padding-left: 1.15rem;
}

.bullet-list li + li {
  margin-top: 0.65rem;
}

.page-kpi {
  text-align: center;
}

.page-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 0.95;
}

.page-kpi span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.back-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 34, 24, 0.08);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.section-label {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) ease, transform var(--reveal-duration) ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: end;
}

.section-heading h2,
.hero h1,
.hero-story-card h2,
.contact-card h3,
.event-card h3,
.service-card h3,
.leadership-card h3,
.voice-card h3,
.partner-card h3 {
  margin: 0;
}

.section-heading h2,
.hero h1,
.hero-story-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 2rem;
}

.hero h1 {
  font-size: clamp(1.4rem, 2.6vw, 2.8rem);
  letter-spacing: -0.04em;
}

.hero-summary,
.section-copy,
.hero-story-card p,
.mission-note li,
.contact-card p,
.service-card p,
.voice-quote,
.partner-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-summary {
  max-width: 38rem;
  font-size: 1.05rem;
  margin: 1rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #d86f30);
  box-shadow: 0 16px 32px rgba(191, 81, 34, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 34, 24, 0.08);
}

.hero-provenance {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.hero-photo,
.mission-banner,
.event-card,
.service-card,
.leadership-card,
.voice-card,
.partner-card,
.network-panel,
.contact-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo {
  min-height: 34rem;
  transform: rotate(-2deg);
  background: #d9d0c3;
}

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

.hero-story-card {
  position: absolute;
  left: -0.5rem;
  bottom: 6.8rem;
  width: min(24rem, calc(100% - 1rem));
  padding: 1.3rem;
  background: rgba(255, 249, 240, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(16, 34, 24, 0.14);
}

.hero-story-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 700;
}

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

.metric-card,
.partner-stat {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(24, 57, 47, 0.98), rgba(33, 76, 63, 0.98));
  color: #fff;
}

.metric-value,
.partner-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 0.9;
}

.metric-label,
.partner-stat-label {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.2rem;
}

.mission-banner {
  min-height: 22rem;
  background: #d9d0c3;
}

.mission-banner img {
  height: 100%;
  object-fit: cover;
}

.mission-note,
.network-panel {
  padding: 1.4rem;
  background: rgba(255, 249, 240, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(16px);
}

.mission-highlights {
  margin: 0;
  padding-left: 1.2rem;
}

.mission-highlights li + li {
  margin-top: 0.75rem;
}

.events-grid,
.services-grid,
.leadership-grid,
.voices-grid,
.partners-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.events-grid,
.services-grid,
.leadership-grid,
.voices-grid,
.partners-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card,
.service-card,
.leadership-card,
.voice-card,
.partner-card,
.contact-card {
  background: rgba(255, 249, 240, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.event-card figure {
  aspect-ratio: 4 / 3;
  background: #d9d0c3;
}

.event-card img,
.leadership-card img {
  height: 100%;
  object-fit: cover;
}

.event-card,
.leadership-card {
  display: flex;
  flex-direction: column;
}

.event-card h3,
.service-card h3,
.voice-card h3,
.partner-card h3,
.contact-card h3 {
  font-size: 1.1rem;
}

.event-card h3,
.event-card .event-date {
  padding-inline: 1.2rem;
}

.event-card .event-date {
  margin: 1rem 0 0.4rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.event-card h3 {
  padding-bottom: 1.3rem;
}

.service-card,
.voice-card,
.partner-card,
.contact-card {
  padding: 1.3rem;
}

.service-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: rgba(191, 81, 34, 0.35);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.leadership-card figure {
  aspect-ratio: 4 / 5;
  background: #d9d0c3;
}

.leadership-copy {
  padding: 1.25rem;
}

.role-pill {
  display: inline-flex;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(191, 81, 34, 0.12);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.voice-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 16rem;
}

.voice-quote {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.voice-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.voice-person img {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  object-fit: cover;
}

.voice-person p,
.partner-location {
  margin: 0.2rem 0 0;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.gallery-card {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #d9d0c3;
}

.gallery-card:nth-child(1) {
  grid-column: span 7;
  min-height: 28rem;
}

.gallery-card:nth-child(2) {
  grid-column: span 5;
}

.gallery-card:nth-child(3),
.gallery-card:nth-child(4),
.gallery-card:nth-child(5),
.gallery-card:nth-child(6) {
  grid-column: span 3;
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, transparent, rgba(16, 34, 24, 0.78));
}

.network {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
}

.partner-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.resource-toolbar {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.resource-search-label {
  font-size: 0.9rem;
  font-weight: 700;
}

.resource-search {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  color: var(--text);
}

.resource-search:focus-visible {
  outline: 2px solid rgba(191, 81, 34, 0.32);
  outline-offset: 2px;
}

.resource-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 34, 24, 0.08);
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(191, 81, 34, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.resource-card span:last-child {
  color: var(--accent);
  font-size: 0.82rem;
}

.empty-state {
  margin: 0;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.footer-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .hero,
  .subpage-hero,
  .mission-layout,
  .network,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

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

  .events-grid,
  .services-grid,
  .leadership-grid,
  .voices-grid,
  .partners-grid,
  .contact-grid,
  .subpage-grid,
  .subpage-grid-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5),
  .gallery-card:nth-child(6) {
    grid-column: span 6;
    min-height: 18rem;
  }

  .hero-story-card {
    position: static;
    width: auto;
  }

  .hero-photo {
    transform: none;
    min-height: 28rem;
  }
}

@media (max-width: 820px) {
  .page-frame {
    width: min(calc(100% - 1rem), var(--container));
  }

  .site-header {
    padding: 0.45rem;
    border-radius: 24px;
  }

  .site-header__topline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .header-art {
    display: none;
  }

  .brand {
    padding: 0.42rem 0.58rem;
    border-radius: 18px;
  }

  .header-utility {
    grid-column: 1 / -1;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.4rem;
    border-radius: 22px;
  }

  .header-status,
  .header-cta {
    flex: 1 1 12rem;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0.6rem;
    border-radius: 22px;
    background: rgba(255, 250, 244, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    max-height: min(calc(var(--app-height, 100vh) - var(--header-height, 0px) - 1.25rem), 28rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.7rem) scale(0.98);
    transform-origin: top center;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
  }

  .brand-logo {
    width: min(100%, 15rem);
  }

  .events-grid,
  .services-grid,
  .leadership-grid,
  .voices-grid,
  .partners-grid,
  .contact-grid,
  .resource-grid,
  .page-links-grid,
  .subpage-grid,
  .subpage-grid-tight,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5),
  .gallery-card:nth-child(6) {
    grid-column: auto;
    min-height: 16rem;
  }

  .metric-ribbon,
  .partner-stats {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .page-frame {
    width: min(calc(100% - 0.75rem), var(--container));
    padding-bottom: 2rem;
  }

  .site-header {
    top: 0.5rem;
    margin-bottom: 0.7rem;
  }

  .hero,
  .subpage-hero {
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-photo {
    min-height: 22rem;
  }

  .hero-story-card {
    padding: 1.1rem;
  }

  .metric-card,
  .partner-stat,
  .page-link-card,
  .text-panel,
  .note-panel,
  .page-kpi,
  .subpage-feature,
  .event-card,
  .service-card,
  .leadership-card,
  .voice-card,
  .partner-card,
  .network-panel,
  .contact-card {
    border-radius: 22px;
  }
}

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

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