:root{--brand:#343c52;--brand-deep:#252b3b;--accent:#a3262a;--accent-soft:#f7e9e9;--brand-soft:#eef0f5;--accent-on-dark:#f08a8c;}
/* Shared foundation site styles. Brand colors are injected above as :root tokens. */
:root {
  --ink: #1d2230;
  --text: #3d4352;
  --muted: #6a7080;
  --line: #e2e4ea;
  --bg: #ffffff;
  --tint: #f6f7f9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 8px 24px rgba(20, 24, 40, .07);
  --head: "Poppins", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); border-top: 4px solid var(--brand); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.brand-name { font-family: var(--head); font-weight: 600; font-size: 1rem; line-height: 1.15; max-width: 15ch; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-nav .nav-donate { color: var(--accent); }
.site-nav .nav-donate .i { width: .85em; height: .85em; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.bars { top: 20px; }
.bars::before { top: -6px; left: 0; }
.bars::after { top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: calc(var(--header-h) + 4px) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .brand-name { font-size: .9rem; }
  .brand img { width: 40px; height: 40px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font: 600 .98rem/1.2 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--brand); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* ---------- banner + hero ---------- */
.eyebrow { font: 600 .78rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.banner { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; padding: 56px 0 52px; position: relative; overflow: hidden; }
.banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255,255,255,.05); }
.banner h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
.banner .eyebrow { color: var(--accent-on-dark); }
.banner-lead { margin: 12px 0 0; max-width: 60ch; color: rgba(255,255,255,.85); font-size: 1.1rem; }

.hero { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--accent-on-dark); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
.hero-lead { color: rgba(255,255,255,.88); font-size: 1.15rem; margin: 18px 0 28px; max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photos { position: relative; aspect-ratio: 1 / .82; }
.hp { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.28); border: 4px solid rgba(255,255,255,.9); }
.hp-1 { width: 74%; aspect-ratio: 16/10; left: 0; top: 0; }
.hp-2 { width: 56%; aspect-ratio: 4/3; right: 0; top: 30%; z-index: 2; }
.hp-3 { width: 52%; aspect-ratio: 16/10; left: 8%; bottom: 0; }

.facts { margin-top: -44px; position: relative; z-index: 3; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.fact { padding: 22px 26px; display: flex; flex-direction: column; gap: 2px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-n { font: 700 1.6rem/1.2 var(--head); color: var(--brand); }
.fact-l { color: var(--muted); font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--brand); margin-bottom: 16px; }
.section-title.small { font-size: 1.3rem; }
.prose { margin: 0 0 18px; max-width: 64ch; }
.prose-strong { color: var(--ink); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

.mission-grid, .about-grid, .meetings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.mission-lead { margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .i { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }

.quick-links { display: grid; gap: 12px; }
.quick { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.quick:hover { border-color: var(--accent); transform: translateX(3px); box-shadow: var(--shadow); }
.quick-t { font: 600 1.05rem/1.3 var(--head); color: var(--ink); }
.quick-d { grid-column: 1; color: var(--muted); font-size: .95rem; }
.quick .i { grid-row: 1 / span 2; grid-column: 2; color: var(--accent); width: 22px; height: 22px; }

/* ---------- board ---------- */
.people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 28px; }
.person { flex: 0 1 calc((100% - 56px) / 3); min-width: 240px; max-width: 340px; }
.person-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--brand-soft); box-shadow: var(--shadow); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .4s; }
.person:hover .person-photo img { transform: scale(1.03); }
.person-name { font-size: 1.15rem; font-weight: 600; margin-top: 16px; }
.person-role { margin: 2px 0 0; color: var(--accent); font-weight: 600; }
.person-loc { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; }
.footnote { text-align: center; color: var(--muted); font-size: .95rem; margin: 40px 0 0; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, background .15s; }
.doc-link span { flex: 1; }
.doc-link .i:first-child { color: var(--accent); }
.doc-link .i:last-child { color: var(--muted); width: .95em; height: .95em; }
.doc-link:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- schools ---------- */
.schools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.school a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.school a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.school-img { aspect-ratio: 2 / 1; overflow: hidden; background: var(--brand-soft); }
.school-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.school a:hover .school-img img { transform: scale(1.04); }
.school-name { font: 600 1.05rem/1.3 var(--head); color: var(--ink); padding: 16px 18px 4px; }
.school-visit { display: inline-flex; align-items: center; gap: 6px; padding: 0 18px 18px; margin-top: auto; color: var(--accent); font-weight: 600; font-size: .95rem; }
.school-visit .i { width: .9em; height: .9em; }

.map-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 1.7fr; gap: 40px; align-items: start; }
.school-index { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.school-index li { display: flex; align-items: center; gap: 12px; }
.school-index .num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 .8rem/28px var(--head); text-align: center; }
.school-index a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 5px 0; }
.school-index a:hover { color: var(--accent); text-decoration: underline; }
.map-frame { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--brand-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- RFP ---------- */
.rfp-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.rfp-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.latest { border-top: 4px solid var(--accent); }
.latest-t { font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search .i { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 0; font: inherit; background: transparent; }
.rfp-year + .rfp-year { margin-top: 36px; }
.rfp-year-h { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; padding-bottom: 10px; border-bottom: 2px solid var(--line); margin-bottom: 8px; }
.rfp-list { list-style: none; margin: 0; padding: 0; }
.rfp-link { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.rfp-list li:last-child .rfp-link { border-bottom: 0; }
.rfp-link > .i { color: var(--accent); }
.rfp-link:hover { background: var(--accent-soft); }
.rfp-link:hover .rfp-title { text-decoration: underline; }
.rfp-title { flex: 1; font-weight: 600; overflow-wrap: anywhere; }
.badge { flex: none; font: 600 .72rem/1 var(--head); letter-spacing: .04em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.badge-pdf, .badge-word { background: var(--accent-soft); color: var(--accent); }
.empty { color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.form { margin-top: 12px; display: grid; gap: 18px; }
.req { color: var(--accent); }
.req-note { margin: -8px 0 0; font-style: italic; color: var(--muted); font-size: .95rem; }
fieldset { border: 0; margin: 0; padding: 0; }
legend, .field > span { font-weight: 600; color: var(--ink); margin-bottom: 6px; display: block; padding: 0; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.name-row legend { grid-column: 1 / -1; }
.name-row label span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
input, textarea { width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid #cdd1da; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c0392b; }
textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; }
.form .btn { justify-self: start; min-width: 140px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #1e7a46; }
.form-status.err { color: #b3261e; }
.contact-side { display: grid; gap: 20px; }
.donate-card { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); border: 0; color: rgba(255,255,255,.88); }
.donate-card > .i { width: 34px; height: 34px; color: var(--accent-on-dark); margin-bottom: 10px; }
.donate-card .section-title { color: #fff; }
.donate-card .btn-primary:hover { background: #fff; color: var(--brand); }
.addr { display: flex; gap: 10px; margin: 0 0 14px; color: var(--ink); }
.addr .i { color: var(--accent); margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.75); padding: 56px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font: 600 1.05rem/1.25 var(--head); margin-bottom: 12px; }
.footer-brand img { border-radius: 8px; background: #fff; }
.footer-h { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer p { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; font-size: .88rem; color: rgba(255,255,255,.55); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .mission-grid, .about-grid, .meetings-grid, .map-grid, .rfp-layout, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photos { max-width: 560px; }
  .schools { grid-template-columns: repeat(2, 1fr); }
  .rfp-side, .map-frame { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 76px; }
  .banner { padding: 40px 0 36px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact { flex-direction: row; align-items: baseline; gap: 10px; padding: 16px 20px; }
  .schools { grid-template-columns: 1fr; }
  .person { flex-basis: 100%; max-width: 420px; }
  .card { padding: 22px; }
  .name-row { grid-template-columns: 1fr; }
  .rfp-link { flex-wrap: wrap; gap: 6px 12px; }
  .rfp-link .badge { margin-left: 34px; }
  .rfp-title { flex-basis: calc(100% - 40px); }
  .footer-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 3 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
