.surface-movement { background: radial-gradient(ellipse at 102% 6%, var(--green-overlay), transparent 59%), linear-gradient(115deg, var(--pink), var(--mist) 65%, var(--green-glow)); }
.surface-movement-soft { background: radial-gradient(ellipse at 110% 15%, var(--green-glow-soft), transparent 45%), linear-gradient(110deg, var(--pink-soft), var(--paper) 55%); }
.container { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.utility-bar { background: var(--ink); color: var(--white); font-size: 0.6875rem; }
.utility-inner { display: flex; align-items: center; gap: 32px; min-height: 44px; }
.utility-inner > span { margin-right: auto; text-transform: uppercase; }
.utility-inner a { display: inline-flex; align-items: center; min-height: 44px; }
.utility-inner a:hover, .site-footer a:hover { color: var(--white); text-decoration-color: var(--white); }
.site-footer .button:hover { color: var(--ink); text-decoration: none; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu-utility, .menu-primary { display: flex; gap: 24px; }
.main-bar { min-height: 92px; display: flex; align-items: center; gap: 32px; }
.site-header { position: relative; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--ink); }
.site-logo { flex: 0 0 150px; }
.site-logo img { width: 150px; height: 67px; object-fit: contain; }
.desktop-nav { margin-left: 32px; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.menu-primary > li { position: relative; }
.desktop-nav .sub-menu { display: none; position: absolute; top: 100%; left: -7px; min-width: 200px; padding: 16px; background: var(--paper); border: 1px solid var(--ink); list-style: none; }
.desktop-nav li:focus-within > .sub-menu, .desktop-nav li:hover > .sub-menu { display: block; }
.header-actions { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.header-actions .button { padding-inline: 20px; }
.header-search { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.header-search:hover { background: var(--green-pale); }
.header-search:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }
.menu-toggle { display: none; width: 52px; padding: 12px !important; }
.menu-icon, .menu-icon::before, .menu-icon::after { width: 24px; height: 2px; background: currentColor; position: relative; display: block; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.no-script-menu { display: none; min-height: 44px; align-items: center; }
.mobile-menu { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; padding: 0 0 64px; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.mobile-menu::backdrop { background: var(--backdrop); }
.menu-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; }
.menu-dialog-head img { width: 128px; }
.menu-dialog-body { padding-top: 32px; }
.menu-dialog-body h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.menu-dialog-body .menu-primary, .expanded-navigation .menu-primary { display: block; }
.menu-dialog-body .menu-primary > li, .expanded-navigation .menu-primary > li { position: relative; border-bottom: 1px solid var(--ink); }
.menu-dialog-body .menu-primary > li > a, .expanded-navigation .menu-primary > li > a { display: block; padding: 24px 0; font-size: clamp(1.625rem, 2.778vw, 2.5rem); font-weight: 800; text-transform: uppercase; }
.menu-dialog-body .sub-menu, .expanded-navigation .sub-menu { display: flex; flex-wrap: wrap; gap: 0 16px; list-style: none; padding: 0 0 16px; }
.menu-dialog-body .sub-menu a, .expanded-navigation .sub-menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(0.8125rem, 1.112vw, 1rem); }
.cta-band { background: var(--green); color: var(--ink); padding-block: 48px; }
.cta-band .eyebrow { color: var(--ink); }
.cta-band > .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(1.875rem, 3.889vw, 3.5rem); margin-bottom: 24px; }
.cta-band .eyebrow { margin-bottom: 16px; }
.cta-band p:last-child { margin-bottom: 0; }
.cta-band .button { flex-shrink: 0; min-width: 280px; }
.cta-band a:hover { color: var(--white); }
.cta-band .button:hover { background: var(--ink); }
.site-footer { background: var(--green-dark); color: var(--white); padding-top: 48px; }
.footer-mobile { display: none; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand img { width: 150px; }
.footer-brand p { font-size: 2.25rem; font-weight: 800; text-transform: uppercase; line-height: 1.22; margin-top: 32px; }
.site-footer h2 { color: var(--green-pale); font-size: 0.75rem; letter-spacing: .02em; margin: 16px 0 24px; }
.site-footer .menu a { display: inline-flex; min-height: 44px; align-items: center; font-size: 0.8125rem; }
.footer-credit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px 0; }
.credit { min-width: 0; margin: 0; font-size: 0.8125rem; }
.credit p { margin: 0; }
.credit a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; text-underline-offset: 3px; }
.credit .credit-management { font-size: 0.6875rem; color: var(--green-pale); }
.credit-emojis { display: inline-block; width: 2.52em; min-width: 2.52em; height: 1.3em; object-fit: contain; vertical-align: -.25em; opacity: 1; visibility: visible; }
.credit a:hover, .credit a:focus-visible { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; border-top: 1px solid var(--footer-rule); padding-block: 16px; font-size: 0.6875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-left: auto; }
.footer-archive-link { display: inline-flex; align-items: center; min-height: 44px; }
.menu-footer_legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom .menu a { font-size: 0.6875rem; }
.page-hero { padding-block: clamp(32px, 4.445vw, 64px); }
.page-hero h1 { max-width: 1100px; margin-bottom: 32px; overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.page-intro { font-size: clamp(1.125rem, 1.389vw, 1.25rem); max-width: 848px; margin: 0; }
.section-finder { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.section-finder h2 { white-space: nowrap; }
.country-map { align-self: end; padding-top: 24px; }
.country-map ul { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: repeat(8, 48px); gap: 2px; max-width: 448px; padding: 0; list-style: none; margin: 0; }
.country-tile, .country-placeholder { grid-column: var(--column); grid-row: var(--row); min-width: 0; }
.country-tile a, .country-placeholder > span { display: flex; align-items: center; justify-content: center; min-height: 44px; height: 100%; background: var(--green); color: var(--ink); font-weight: 700; font-size: 0.6875rem; border: 1px solid transparent; }
.country-tile.tile-candidate a { background: var(--green-pale); }
.country-tile.tile-interest a { background: var(--paper); color: var(--green-dark); border: 1px dashed var(--green-dark); }
.country-tile a:hover, .country-tile.tile-interest a:hover { background: var(--green-dark); color: var(--white); text-decoration: none; }
.map-caption { color: var(--muted); font-size: 0.6875rem; margin-top: 24px; margin-bottom: 0; }
.finder-empty { margin-top: 24px; }
@media (max-width: 1399px) {
  .desktop-nav, .desktop-action, .utility-bar { display: none; }
  .main-bar { min-height: 100px; }
  .menu-toggle:not([hidden]), .no-script-menu { display: inline-flex; }
  .grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-finder { gap: 32px; }
  .section-finder h2 { white-space: normal; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-social { grid-column: 2 / -1; }
  .footer-social .menu { display: flex; flex-wrap: wrap; gap: 16px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .section-finder { grid-template-columns: 1fr; }
  .country-map ul { max-width: 448px; }
}
@media (max-width: 767px) {
  .main-bar { gap: 16px; }
  .site-logo { flex-basis: 128px; }
  .site-logo img { width: 128px; }
  .header-actions { gap: 12px; }
  .header-actions .button { padding-inline: 16px; }
  .menu-toggle { width: 44px; min-height: 52px; }
  .grid-three { grid-template-columns: 1fr; }
  .section-heading { gap: 16px; align-items: flex-start; }
  .section-heading .text-link { font-size: 0.6875rem; flex-shrink: 0; }
  .cta-band { padding-block: 40px; }
  .cta-band > .container { display: block; }
  .cta-band .button { width: 100%; min-width: 0; margin-top: 24px; }
  .cta-band p { font-size: 0.9375rem; }
  .section-finder { grid-template-columns: 1fr; }
  .country-map ul { grid-template-columns: repeat(9, minmax(24px, 1fr)); grid-template-rows: repeat(8, auto); max-width: 342px; }
  .country-tile a, .country-placeholder > span { min-height: 24px; aspect-ratio: 1; }

  .country-map { padding-top: 0; }
  .site-footer > .container { display: flex; flex-direction: column; }
  .footer-grid, .footer-credit-row { display: contents; }
  .footer-desktop { display: none; }
  .footer-mobile { display: block; order: 2; }
  .footer-mobile .menu a { min-height: 36px; }
  .footer-brand { order: 1; }
  .footer-social { order: 4; }
  .footer-social h2 { display: none; }
  .footer-credit-row .credit { order: 5; margin-block: 8px 24px; }
  .footer-bottom { order: 6; }
  .footer-brand p { font-size: 1.875rem; margin-bottom: 32px; }
  .site-footer h2 { margin-top: 24px; margin-bottom: 8px; }
  .footer-grid nav { margin-bottom: 16px; }
  .footer-social .menu { gap: 16px; }
  .footer-bottom { display: block; padding-bottom: 24px; }
  .footer-bottom nav { margin: 8px 0; }
}
@media (max-width: 359px) {
  .site-logo { flex-basis: 96px; }
  .site-logo img { width: 96px; }
  .main-bar { gap: 8px; }
  .header-actions { gap: 8px; }
  .header-actions .button { padding-inline: 10px; font-size: 0.6875rem; }
  .section-heading { flex-wrap: wrap; }
}

.footer-social .menu a { min-width: 44px; justify-content: flex-start; padding-block: 8px; }
.expanded-navigation .menu-primary > li { position: relative; border-block: 1px solid var(--ink); }
.expanded-navigation .menu-primary > li + li { border-top: 0; }
.expanded-navigation .menu-primary > li > a { padding: 24px 40px 24px 0; font-size: clamp(1.625rem, 2.778vw, 2.5rem); line-height: 1.2; }
.expanded-navigation .menu-primary > li > a::after { content: '>'; position: absolute; right: 8px; font-size: 1.75rem; font-weight: 700; color: var(--green-dark); }
.expanded-navigation .sub-menu a { font-size: clamp(0.8125rem, 1.112vw, 1rem); color: var(--muted); }
.map-legend { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; }
.map-legend span::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: middle; background: var(--green); border: 1px solid var(--green-dark); }
.map-legend .tile-candidate::before { background: var(--green-pale); }
.map-legend .tile-interest::before { background: var(--paper); border: 1px dashed var(--green-dark); }
.map-legend [data-map-gap-legend]::before { background: var(--paper); border-color: var(--muted); }
.country-tile a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; position: relative; z-index: 1; }

.menu-dialog-body .menu-primary { border-top: 1px solid var(--ink); }
.menu-dialog-body .menu-primary > li > a::after { content: '>'; position: absolute; right: 8px; font-size: 1.75rem; font-weight: 700; color: var(--green-dark); }

.expanded-navigation { margin-block: 32px; }

/* One end spacing for content; a final full-width band meets the footer. */
main { --main-end-space: 64px; display: flow-root; }
main > :last-child, main > .container > :last-child, .as-body > :last-child { margin-bottom: 0; }
.entry-content > :last-child, .as-entry-content > :last-child, .journeys-fields > :last-child, .as-section-story > :last-child { margin-bottom: 0; }
.editorial-main > .container > article:last-child .entry-content { margin-bottom: 0; }
.activities-funding > p:last-of-type, .mu-type-samples > :last-child { margin-bottom: 0; }
.activities-funder-logos:has(> *) { margin-top: 24px; }
main:has(> .cta-band:last-child) { padding-bottom: 0; min-height: 0; }
main > .cta-band:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  main { --main-end-space: 48px; }
}

.country-placeholder > span { background: var(--paper); color: var(--muted); border-color: var(--muted); }
