.main-menu > a.active::after { right: 0; }
.main-menu .active-button { outline: 3px solid rgba(71, 207, 87, .25); }

.inner-hero {
  position: relative;
  min-height: 510px;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--hero-image) center 38% / cover no-repeat;
  isolation: isolate;
}
.inner-hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 14, 30, .88), rgba(14, 30, 63, .52) 58%, rgba(14, 30, 63, .18)); }
.inner-hero-content { padding-block: 120px 82px; }
.inner-hero h1 { max-width: 850px; margin: 12px 0 18px; font-size: clamp(46px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.inner-hero-content > p:last-child { max-width: 720px; margin: 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 42px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--green); }

.content-section { position: relative; padding: 100px 0; }
.soft-section { background: var(--soft); }
.blue-section { color: #fff; background: var(--blue-dark); }
.green-section { color: #fff; background: linear-gradient(135deg, #159848, #40cf5a); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; }
.align-center { align-items: center; }
.narrow { max-width: 840px; }
.prose h2, .content-section .section-center > h2 { font-size: clamp(38px, 5vw, 58px); }
.prose > p:not(.eyebrow), .lead-copy { color: var(--muted); font-size: 17px; }
.blue-section .prose > p:not(.eyebrow), .green-section .prose > p:not(.eyebrow), .green-section .lead-copy { color: rgba(255,255,255,.88); }
.lead-copy { font-size: clamp(18px, 2vw, 21px) !important; line-height: 1.6; }
.feature-image, .image-panel { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-image img, .image-panel img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.feature-image figcaption { padding: 16px 20px; color: var(--muted); background: #fff; font-size: 13px; }
.image-panel { background: #fff; }
.green-section .image-panel { box-shadow: 0 25px 70px rgba(0,72,32,.28); }

.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.statement-card { position: relative; overflow: hidden; min-height: 300px; padding: 46px; color: #fff; background: var(--blue); border-radius: var(--radius); }
.statement-card:nth-child(2) { background: var(--green-dark); }
.statement-card > span { position: absolute; right: 24px; top: 8px; color: rgba(255,255,255,.1); font-size: 118px; font-weight: 900; line-height: 1; }
.statement-card h2 { position: relative; margin-bottom: 22px; }
.statement-card p { position: relative; max-width: 570px; margin: 0; color: rgba(255,255,255,.86); font-size: 19px; }

.info-grid { display: grid; gap: 24px; margin-top: 45px; }
.four-up { grid-template-columns: repeat(4, 1fr); }
.three-up { grid-template-columns: repeat(3, 1fr); }
.info-card { padding: 32px 25px; background: #fff; border: 1px solid #e9ecf3; border-radius: 15px; box-shadow: 0 18px 46px rgba(31,50,87,.09); text-align: left; }
.info-card h3 { margin: 20px 0 8px; font-size: 21px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.number-badge { width: 54px; height: 54px; display: grid; place-items: center; color: #fff; border-radius: 50%; font-size: 18px; font-weight: 900; }
.number-badge.yellow { color: #392f00; background: var(--yellow); }
.number-badge.green { background: var(--green); }
.number-badge.blue { background: var(--blue); }
.number-badge.deep { background: var(--green-dark); }

.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 45px; }
.board-card { overflow: hidden; min-width: 0; min-height: 390px; display: flex; flex-direction: column; padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 14px; box-shadow: 0 18px 45px rgba(4,18,55,.22); text-align: left; transition: transform .22s ease, box-shadow .22s ease; }
.board-card:hover, .board-card:focus-visible { transform: translateY(-7px); box-shadow: 0 24px 58px rgba(4,18,55,.32); }
.board-card:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.board-card > img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center top; background: #e6eaf3; }
.board-card-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; }
.board-card-copy strong { font-size: 18px; line-height: 1.2; }
.board-card-copy > span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.board-card-copy b { margin-top: auto; padding-top: 17px; color: var(--blue); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

.team-dialog { width: min(980px, calc(100% - 30px)); max-width: none; max-height: min(88vh, 850px); padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 20px; box-shadow: 0 40px 110px rgba(4,12,35,.48); }
.team-dialog::backdrop { background: rgba(4,10,24,.78); backdrop-filter: blur(7px); }
.team-dialog-layout { display: grid; grid-template-columns: minmax(280px, .78fr) 1.22fr; min-height: min(710px, 84vh); }
.team-dialog-photo { min-height: 100%; background: #e9edf5; }
.team-dialog-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-dialog-copy { overflow-y: auto; max-height: min(88vh, 850px); padding: 55px 54px 45px; text-align: left; }
.team-dialog-copy h2 { padding-right: 34px; font-size: clamp(34px, 5vw, 52px); }
.team-dialog-role { margin: 9px 0 0; color: var(--blue); font-weight: 900; }
.team-bio p { color: #4f5663; font-size: 16px; line-height: 1.7; }
.team-bio p:first-child { margin-top: 0; }
.team-bio p:last-child { margin-bottom: 0; }
.team-dialog-close { position: fixed; z-index: 2; top: max(12px, calc(6vh + 6px)); right: max(12px, calc((100vw - min(980px, 100vw - 30px)) / 2 + 12px)); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 50%; box-shadow: 0 8px 24px rgba(4,12,35,.22); font-size: 31px; line-height: 1; }
.team-dialog-close:hover, .team-dialog-close:focus-visible { color: #fff; background: var(--blue); }

.program-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 58px; }
.program-tile { display: grid; grid-template-columns: 43% 57%; overflow: hidden; min-height: 315px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .22s ease; }
.program-tile:hover, .program-tile:focus-visible { transform: translateY(-7px); }
.program-tile > img { width: 100%; height: 100%; object-fit: cover; }
.program-tile-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 34px 28px; }
.program-tile-copy small { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.program-tile-copy strong { margin: 10px 0; font-size: 24px; line-height: 1.15; }
.program-tile-copy > span { color: var(--muted); }
.program-tile-copy b { margin-top: auto; padding-top: 22px; color: var(--blue); font-size: 14px; }

.stage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 45px; text-align: left; }
.stage-card { min-height: 270px; padding: 28px 22px; background: #fff; border-top: 5px solid var(--blue); border-radius: 12px; box-shadow: 0 16px 42px rgba(22,41,79,.08); }
.stage-card:nth-child(2) { border-color: var(--green); }
.stage-card:nth-child(3) { border-color: var(--yellow); }
.stage-card:nth-child(4) { border-color: var(--green-dark); }
.stage-card:nth-child(5) { border-color: var(--blue-dark); }
.stage-card > span { color: #d9dfed; font-size: 38px; font-weight: 900; }
.stage-card h3 { margin: 18px 0 10px; font-size: 20px; line-height: 1.18; }
.stage-card p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-strip { color: #fff; background: var(--blue-dark); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-panel h2 { max-width: 720px; margin: 0; }
.light-cta { padding: 48px; background: var(--soft); border-radius: var(--radius); }
.light-cta h2 { font-size: clamp(30px, 4vw, 46px); }
.button-outline { color: var(--blue); background: transparent; border: 2px solid var(--blue); box-shadow: none; }
.dark-buttons { margin-top: 30px; }

.event-callout { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding: 18px; background: var(--soft); border-radius: 12px; }
.event-callout > span { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.event-callout > strong { padding-right: 14px; border-right: 1px solid #d8ddea; font-size: 34px; line-height: 1; }
.event-callout div { display: grid; }
.event-callout small { color: var(--muted); }
.highlight-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.highlight-list span { padding: 18px; color: var(--ink); background: #fff; border-radius: 999px; font-weight: 900; }

.large-list { gap: 14px; margin-top: 28px; }
.large-list li { padding-left: 36px; font-size: 16px; }
.large-list li::before { width: 24px; height: 24px; }
.donate-layout { align-items: start; }
.secure-note, .content-note { margin-top: 26px !important; padding: 18px; background: var(--soft); border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; font-size: 13px !important; }
.zeffy-frame { min-height: 680px; overflow: hidden; background: #fff; border: 1px solid #e4e7ef; border-radius: var(--radius); box-shadow: var(--shadow); }
.zeffy-frame iframe { width: 100%; height: 760px; border: 0; }

.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.news-card { overflow: hidden; background: #fff; border: 1px solid #e7eaf1; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(23,45,89,.1); }
.news-card > img, .video-card { width: 100%; height: 290px; object-fit: cover; }
.news-card > img { object-fit: cover; }
.news-card > div:not(.video-card) { padding: 30px; }
.news-card h2, .news-card h3 { margin: 6px 0 12px; line-height: 1.14; }
.news-card h2 { font-size: 34px; }
.news-card h3 { font-size: 24px; }
.news-card p:not(.eyebrow) { color: var(--muted); }
.featured-news { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; }
.featured-news > img { height: 100%; min-height: 440px; }
.featured-news > div { display: flex; flex-direction: column; justify-content: center; }
.text-link { color: var(--blue); font-weight: 900; }
.video-card { position: relative; }
.video-card img { width: 100%; height: 100%; object-fit: cover; }

.article-shell { max-width: 880px; }
.article-meta { margin: 0 0 22px; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.article-meta span { padding-inline: 7px; color: var(--yellow); }
.article-featured { width: 100%; max-height: 570px; object-fit: cover; margin-bottom: 48px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-prose { color: #343944; font-size: 18px; line-height: 1.78; }
.article-prose p { margin: 0 0 24px; }
.article-prose .article-lead { color: var(--ink); font-size: 22px; line-height: 1.65; }
.article-prose h2 { margin: 58px 0 20px; color: var(--ink); font-size: clamp(30px, 4vw, 44px); }
.article-prose ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 8px 0 34px; padding: 0; list-style: none; }
.article-prose li { position: relative; padding: 12px 14px 12px 38px; background: var(--soft); border-radius: 10px; }
.article-prose li::before { position: absolute; left: 15px; top: 17px; content: ""; width: 9px; height: 9px; background: var(--green); border-radius: 50%; }
.article-prose blockquote { margin: 38px 0; padding: 28px 32px; color: var(--ink); background: #fffbea; border-left: 6px solid var(--yellow); border-radius: 0 14px 14px 0; font-size: 21px; font-weight: 800; font-style: italic; }
.article-back { margin-top: 24px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; margin: 0; border-radius: 14px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; color: #fff; background: rgba(8,13,24,.72); border-radius: 9px; font-size: 13px; font-weight: 800; backdrop-filter: blur(6px); }

.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 45px; text-align: left; }
.country-card { position: relative; overflow: hidden; min-height: 310px; padding: 34px; color: #fff; background: var(--blue); border-radius: var(--radius); }
.country-card:nth-child(2) { background: var(--green-dark); }
.country-card:nth-child(3) { color: var(--ink); background: var(--yellow); }
.country-card > span { color: rgba(255,255,255,.16); font-size: 82px; font-weight: 900; line-height: 1; }
.country-card:nth-child(3) > span { color: rgba(16,17,20,.1); }
.country-card h3 { margin: 14px 0 8px; font-size: 28px; }
.country-card p { margin: 0 0 22px; }
.country-card small { opacity: .72; font-weight: 800; }

.contact-detail-card { display: grid; gap: 2px; margin-bottom: 14px; padding: 17px 20px; background: var(--soft); border-radius: 10px; }
.contact-detail-card span { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail-card a { color: var(--blue); font-size: 18px; font-weight: 900; }
.contact-detail-card address { font-style: normal; font-weight: 800; }

@media (max-width: 1050px) {
  .stage-grid { grid-template-columns: repeat(3, 1fr); }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .four-up { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .inner-hero { min-height: 470px; }
  .content-section { padding: 78px 0; }
  .two-col, .statement-grid, .program-link-grid, .news-grid { grid-template-columns: 1fr; }
  .featured-news { grid-column: auto; display: block; }
  .featured-news > img { height: 320px; min-height: 0; }
  .three-up, .country-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-list { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-dialog-layout { grid-template-columns: 1fr; }
  .team-dialog-photo { min-height: 320px; max-height: 380px; }
  .team-dialog-copy { max-height: none; padding: 38px 28px 35px; }
}

@media (max-width: 560px) {
  .inner-hero { min-height: 500px; background-position: center; }
  .inner-hero-content { padding-block: 95px 58px; }
  .breadcrumb { margin-bottom: 28px; }
  .content-section { padding: 65px 0; }
  .four-up, .board-grid, .stage-grid, .highlight-list { grid-template-columns: 1fr; }
  .program-tile { grid-template-columns: 1fr; }
  .program-tile > img { height: 230px; }
  .feature-image img, .image-panel img { min-height: 300px; }
  .statement-card { min-height: 260px; padding: 32px 26px; }
  .light-cta { padding: 30px 24px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery-item.wide { grid-column: auto; }
  .gallery-item.tall { grid-row: auto; }
  .event-callout { align-items: flex-start; flex-wrap: wrap; }
  .zeffy-frame iframe { height: 820px; }
  .board-card { min-height: 0; }
  .board-card > img { aspect-ratio: 4 / 4.2; }
  .team-dialog { max-height: 92vh; }
  .team-dialog-layout { display: block; max-height: 92vh; overflow-y: auto; }
  .team-dialog-photo { height: 300px; min-height: 0; }
  .team-dialog-copy { overflow: visible; }
  .team-dialog-close { top: 22px; right: 22px; }
  .article-featured { margin-bottom: 34px; }
  .article-prose { font-size: 17px; }
  .article-prose .article-lead { font-size: 20px; }
  .article-prose ul { grid-template-columns: 1fr; }
  .article-prose blockquote { padding: 24px 22px; font-size: 19px; }
}
