:root {
  color-scheme: light;
  --bg: #f3f7fa; --paper: #fff; --ink: #161c28; --muted: #56616f;
  --line: #d0dde5; --green: #007d91; --green-soft: #def8fb; --gold: #c3127c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 38px; line-height: 1.12; font-weight: 650; }
h2 { font-size: 32px; line-height: 1.2; font-weight: 600; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, .result:focus-visible { outline: 3px solid #75a991; outline-offset: 4px; }
[hidden] { display: none !important; }
.content-width { width: min(1260px, calc(100% - 80px)); margin-inline: auto; }
.site-header { height: 76px; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: 40px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; font-size: 20px; font-weight: 750; white-space: nowrap; }
.brand-icon { font-size: 34px; margin-right: 10px; font-weight: 400; }
.brand-dot { color: var(--gold); }
nav { display: flex; height: 100%; gap: 32px; }
nav a { display: flex; align-items: center; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
nav a:hover, nav a[aria-current] { color: var(--green); border-color: var(--green); }
.refresh-label { font-size: 12px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.refresh-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.explore-section { background: #edf8fb; }
.section-intro { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding-top: 32px; padding-bottom: 8px; }
.scan-card { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.scan-card > span { font-size: 36px; font-weight: 400; }
.scan-card small { color: var(--muted); font-size: 12px; max-width: 70px; }
.globe-stage { position: relative; height: min(510px, 58svh); min-height: 310px; background: #f2f7f8; overflow: hidden; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; }
#map-status { position: absolute; top: 65px; left: 40px; right: 55px; font-size: 12px; padding: 8px; background: white; }
.map-legend { position: absolute; bottom: 40px; left: 40px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); pointer-events: none; }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.map-legend i.selected { background: var(--gold); margin-left: 12px; }
.selection-strip { display: flex; align-items: center; gap: 40px; padding-block: 22px; border-top: 1px solid #d8e4e8; }
.detail-card { flex: 1; min-width: 0; }
.detail-card .eyebrow { font-size: 10px; margin-bottom: 6px; }
.detail-card h2 { font-size: 18px; display: inline; }
.detail-card > p { display: inline; font-size: 13px; line-height: 1.5; }
.detail-card > p.eyebrow { display: block; }
.detail-card > p:last-child { display: none; }
.detail-card > p strong { font-weight: 400; margin-left: 10px; }
.detail-card .detail-meta { margin-top: 9px; }
.section-link { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.section-link span { font-size: 24px; }
.programs-section { padding-block: 60px 72px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
#reset-filters { color: var(--muted); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; font-size: 13px; }
.search-toolbar { display: grid; grid-template-columns: 1.2fr 3fr; gap: 20px; border-block: 1px solid var(--line); padding: 20px 0; margin-bottom: 28px; }
label { display: grid; gap: 8px; min-width: 0; }
label > span { font-size: 11px; font-weight: 650; color: var(--muted); }
input, select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); padding: 12px; font-size: 13px; }
input::placeholder { color: #7f8d89; }
.filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.results-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.result { position: relative; border: 1px solid var(--line); border-radius: 6px; background: white; padding: 24px; display: flex; flex-direction: column; gap: 15px; min-width: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.result::before { content: ""; width: 28px; height: 3px; background: #86b49c; }
.result:nth-child(3n+2)::before { background: #739bab; }
.result:nth-child(3n)::before { background: #bca76e; }
.result:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #183b3410; border-color: #a8c4b5; }
.result.active { border-color: var(--green); }
.result h3 { font-size: 17px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.result p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.opportunity-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 24px; margin: 0; padding: 18px 0; border-block: 1px solid var(--line); }
.opportunity-facts div { min-width: 0; }
.opportunity-facts dt, .application-detail h4 { font-size: 11px; font-weight: 700; color: var(--green); margin: 0 0 6px; }
.opportunity-facts dd { margin: 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.application-detail p { margin: 0; overflow-wrap: anywhere; }
.opportunity-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.opportunity-actions a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; font-size: 13px; font-weight: 600; line-height: 1.6; }
.opportunity-actions small { color: var(--muted); font-size: 10px; }
.opportunity-actions a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
@media(max-width:380px) { .opportunity-facts { grid-template-columns: 1fr; } }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 10px; font-weight: 600; color: var(--muted); background: #f0f5f2; border-radius: 3px; padding: 5px 7px; overflow-wrap: anywhere; }
.pill:nth-child(2) { background: #edf3f8; color: #537080; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; }
footer .brand { font-size: 15px; }
footer > span, footer > a:last-child { font-size: 12px; color: var(--muted); }
.map-program { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; padding: 10px 4px; color: var(--ink); overflow-wrap: anywhere; }
.maplibregl-popup-content { max-height: 230px; overflow-y: auto; padding: 22px 12px 10px; font-family: inherit; }
.maplibregl-popup-close-button { font-size: 22px; width: 28px; height: 28px; }
.maplibregl-ctrl-top-right { right: 30px; top: 10px; }
@media (max-width: 950px) {
 .refresh-label { display: none; }
 .search-toolbar { grid-template-columns: 1fr; }
 .results-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
 .site-header { height: 94px; flex-wrap: wrap; gap: 0; padding: 10px 20px 0; }
 .brand { font-size: 17px; }
 .brand-icon { font-size: 24px; }
 nav { height: 38px; width: 100%; gap: 25px; }
 nav a { font-size: 12px; }
 .content-width { width: calc(100% - 40px); }
 html { scroll-padding-top: 110px; }
 h1 { font-size: 28px; }
 h2 { font-size: 27px; }
 .section-intro { padding-top: 24px; gap: 14px; }
 .section-intro .eyebrow { font-size: 9px; }
 .scan-card { flex-direction: column; gap: 2px; align-items: flex-end; }
 .scan-card > span { font-size: 28px; }
 .scan-card small { font-size: 10px; text-align: right; }
 .globe-stage { height: 350px; min-height: 0; }
 #map-status { left: 20px; }
 .maplibregl-ctrl-top-right { right: 10px; top: 2px; }
 .map-legend { left: 20px; bottom: 45px; }
 .selection-strip { flex-direction: column; align-items: stretch; gap: 14px; padding-block: 18px; }
 .section-link { justify-content: space-between; }
 .detail-card h2 { display: block; font-size: 16px; }
 .detail-card > p strong { margin-left: 0; }
 .programs-section { padding-block: 40px; }
 .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .results-list { grid-template-columns: 1fr; }
 .result { padding: 20px; }
 footer { flex-wrap: wrap; gap: 16px; }
 footer > span { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .result, nav a { transition: none; }
}
.newsletter { background: var(--green); color: var(--paper); }
.newsletter-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; }
.newsletter-copy { display: flex; flex-direction: column; gap: 8px; margin: 0; max-width: none; min-width: 0; }
.newsletter-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold); line-height: 1; }
.newsletter h2 { margin: 0; font-size: 26px; line-height: 1.1; color: var(--paper); }
.newsletter p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--paper); }
.newsletter-cta { flex: none; background: var(--paper); color: var(--green); padding: 13px 20px; font-weight: 600; font-size: 13px; line-height: 1; text-decoration: none; }
.newsletter-cta:hover { text-decoration: underline; }
@media(max-width:620px) { .newsletter-bar { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 22px; } .newsletter-cta { min-height: 48px; font-size: 16px; } nav { gap: 20px; } }

.site-header { border-bottom: 2px solid var(--ink); box-shadow: 0 3px 0 #50e5ef; }
.brand, h1, h2 { font-family: "Bahnschrift", "Arial Narrow", system-ui, sans-serif; }
.eyebrow, .scan-card, .refresh-label, .pill, nav, .map-legend { font-family: "Cascadia Code", "Consolas", monospace; }
.eyebrow { color: var(--green); }
.section-intro { border-left: 3px solid var(--gold); padding-left: 20px; }
.globe-stage { background: #edf8fb; border-bottom: 1px solid #8cdce7; }
.scan-card > span { color: var(--gold); font-weight: 600; }
.result { border-radius: 2px; box-shadow: 3px 3px 0 #e6edf2; }
.result::before { background: #00bed1; width: 38px; }
.result:nth-child(3n+2)::before { background: #db2594; }
.result:nth-child(3n)::before { background: #a1be24; }
.result.active { border-color: var(--green); box-shadow: 3px 3px 0 #a0edf2; }
.result:hover { border-color: var(--gold); box-shadow: 4px 4px 0 #f4c5e1; }
.pill { background: #e5f7f8; color: #206571; }
.pill:nth-child(2) { background: #fce8f4; color: #952061; }
input, select { border-radius: 2px; }
.maplibregl-popup-content { border: 1px solid var(--green); border-radius: 2px; box-shadow: 4px 4px 0 #a0edf2; line-height: 1.5; overflow-wrap: anywhere; }
.maplibregl-popup-content p { margin-block: 8px; color: var(--muted); }
.selection-strip { border-top: 1px solid #8cdce7; }
.detail-card h2, .detail-card > p { overflow-wrap: anywhere; }
