:root {
  --ink: #142d48;
  --muted: #536274;
  --paper: #fff;
  --soft: #f5f7fb;
  --line: #dfe5ee;
  --purple: #673aa6;
  --purple-dark: #512b89;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 Arial, Helvetica, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 46px; letter-spacing: -1.2px; }
h2 { font-size: 29px; letter-spacing: -.5px; }
h3 { font-size: 21px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #e6d7f7; }
:focus-visible { outline: 3px solid #9063c7; outline-offset: 4px; }
.container { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fffffff5; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; max-width: 1250px; padding: 14px 32px; margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.brand strong { font-size: 18px; line-height: 1.3; }
.nav-brand { width: 140px; }
/* The PNG has its own alpha; no background is painted behind it. */
.spark-logo-frame { position: relative; display: block; overflow: hidden; aspect-ratio: 2.08; background: transparent; flex-shrink: 0; width: 110px; }
.spark-logo-frame > img { position: absolute; left: 0; top: -45.5%; width: 100%; height: auto; max-width: none; }
.navigation { display: flex; align-items: center; justify-content: center; gap: 28px; margin-inline: auto; font-size: 15px; }
.navigation > a { display: flex; align-items: center; min-height: 48px; border-bottom: 2px solid transparent; white-space: nowrap; }
.navigation > a:hover, .navigation > a[aria-current=page] { color: var(--purple); border-color: var(--purple); }
.navigation > a[aria-current=page] { font-weight: 700; }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 23px; border: 1px solid transparent; border-radius: 7px; background: var(--purple); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; }
.header-cta { white-space: nowrap; }
.header-cta:hover, .button:hover { background: var(--purple-dark); }
.menu-toggle { display: none; }
.inline-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--purple); text-decoration: underline; text-underline-offset: 5px; font-size: 15px; font-weight: 600; }
.inline-link:hover { color: var(--purple-dark); }
.eyebrow { font-size: 14px; color: var(--purple); margin-bottom: 16px; font-weight: 600; }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; padding-block: 56px; }
.hero-copy h1 { font-size: 52px; line-height: 1.13; letter-spacing: -1.5px; }
.hero-intro { font-size: 18px; line-height: 1.75; color: var(--muted); margin-top: 22px; max-width: 460px; }
.hero-details { font-size: 15px; line-height: 1.8; margin-top: 20px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 25px; }
.hero-photo img { width: 100%; height: 430px; object-fit: cover; object-position: 54% center; border-radius: 12px; }
.home-intro { border-top: 1px solid var(--line); padding-block: 42px 50px; }
.home-intro > p { color: var(--muted); font-size: 17px; line-height: 1.85; max-width: 720px; margin-top: 15px; }
.home-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.home-photo-grid img { height: 290px; width: 100%; object-fit: cover; border-radius: 10px; }
.home-intro > .inline-link { margin-top: 19px; }
.contact-band { background: #f3eff9; padding-block: 34px; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.band-inner h2 { font-size: 27px; }
.band-inner p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.site-footer { background: var(--soft); padding-block: 30px 22px; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 35px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; }
.footer-links > a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover, .footer-email:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }
.footer-email { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.page-heading { padding-block: 48px 34px; }
.page-heading h1 { font-size: 39px; }
.page-heading > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.85; max-width: 780px; margin-top: 17px; }
.page-heading .eyebrow { margin-bottom: 13px; font-size: 14px; }
.tutoring-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 65px; padding-block: 8px 45px; }
.tutoring-layout h2 { font-size: 26px; margin-bottom: 20px; }
.subject-list { border-top: 1px solid var(--line); }
.subject-list article { display: flex; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.row-number { font-size: 13px; color: var(--purple); padding-top: 4px; }
.subject-list h3 { font-size: 23px; }
.subject-list p { font-size: 16px; color: var(--muted); margin-top: 10px; }
.availability-note { font-size: 15px; color: var(--muted); margin-top: 20px; }
.availability-note a, .contact-guidance a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.tutoring-aside img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
figure > figcaption { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.bring-list { padding-top: 26px; }
.bring-list h3 { font-size: 23px; }
.bring-list p { color: var(--muted); font-size: 16px; margin-top: 13px; }
.bring-list .inline-link { margin-top: 15px; }
.age-support { padding-block: 0 40px; }
.age-support > h2 { font-size: 26px; margin-bottom: 22px; }
.age-support > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.age-support article { border-top: 1px solid var(--line); padding-top: 19px; }
.age-support h3 { font-size: 22px; }
.age-support p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.session-note { border-top: 1px solid var(--line); padding-block: 32px 48px; }
.session-note h2 { font-size: 27px; }
.session-note p { color: var(--muted); font-size: 16px; max-width: 750px; margin-top: 18px; }
.session-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.session-facts strong { color: var(--ink); }
.session-note .button { margin-top: 24px; }
.team-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; padding-block: 8px 45px; }
.team-group img { width: 100%; height: 510px; object-fit: cover; border-radius: 11px; }
.team-roster h2 { font-size: 26px; margin-bottom: 18px; }
.team-roster ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.team-roster li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.team-roster h3 { font-size: 22px; }
.team-roster p { color: var(--muted); font-size: 14px; margin-top: 5px; }
.team-story { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; border-top: 1px solid var(--line); padding-block: 35px 48px; align-items: center; }
.team-story p { font-size: 16px; color: var(--muted); margin-top: 18px; line-height: 1.85; }
.team-story img { width: 100%; height: 290px; object-fit: cover; border-radius: 10px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-block: 8px 48px; }
.gallery-photo { display: block; position: relative; width: 100%; border: 0; border-radius: 10px; padding: 0; background: var(--soft); overflow: hidden; }
.gallery-photo img { width: 100%; height: 330px; object-fit: cover; }
.gallery-photo > span { position: absolute; right: 12px; bottom: 12px; background: #ffffffee; color: var(--ink); padding: 7px 12px; border-radius: 5px; font-size: 13px; }
.gallery-item:last-child img { object-position: center 26%; }
.contact-booking { background: #f3eff9; border-radius: 10px; padding: 28px; margin-bottom: 30px; }
.contact-booking h2 { font-size: 26px; }
.contact-booking p { color: var(--muted); font-size: 16px; max-width: 850px; margin-top: 14px; }
.contact-booking .button { margin-top: 22px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; padding-block: 8px 40px; }
.email-panel { padding: 25px; border: 1px solid var(--line); border-radius: 10px; align-self: start; }
.contact-label { font-size: 14px; color: var(--muted); }
.contact-email { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.5px; line-height: 1.4; margin-top: 15px; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--purple); }
.email-panel > .contact-email + p { color: var(--muted); font-size: 15px; margin-top: 18px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; }
.copy-email { min-height: 48px; background: transparent; color: var(--purple); font-size: 14px; border: 0; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }
.copy-status { font-size: 13px; color: var(--muted); min-height: 20px; margin-top: 8px; }
.contact-guidance h2 { font-size: 25px; }
.contact-guidance p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-top: 14px; }
.contact-guidance article + article { margin-top: 28px; }
.location-details { border-top: 1px solid var(--line); padding-block: 28px 38px; }
.location-details h2 { font-size: 27px; }
.location-details p { color: var(--muted); font-size: 16px; margin-top: 16px; }
.location-details .inline-link { margin-top: 14px; }
.contact-photo { padding-bottom: 45px; }
.contact-photo img { height: 380px; width: 100%; object-fit: cover; border-radius: 10px; }
.not-found { min-height: 60vh; }
.not-found .button { margin-top: 25px; }
.lightbox { border: 0; border-radius: 10px; background: #fff; color: var(--ink); width: min(1100px, calc(100% - 32px)); max-height: 94dvh; padding: 16px; overflow: auto; }
.lightbox::backdrop { background: #112237df; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; font-size: 14px; }
.lightbox-close { min-width: 66px; min-height: 48px; border: 0; background: transparent; font-size: 14px; padding: 8px; }
.lightbox-body { display: flex; align-items: center; justify-content: center; gap: 10px; }
.lightbox-image { width: calc(100% - 116px); max-height: 72dvh; object-fit: contain; }
.lightbox-prev, .lightbox-next { width: 48px; height: 48px; flex-shrink: 0; border: 1px solid var(--line); background: var(--soft); border-radius: 6px; }
.lightbox-count { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
body.viewer-open { overflow: hidden; }
@media (max-width: 1050px) {
  .header-inner { gap: 18px; padding-inline: 25px; }
  .nav-brand { width: 112px; }
  .navigation { gap: 20px; font-size: 14px; }
  .home-hero, .tutoring-layout, .team-layout, .contact-layout { gap: 35px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-photo img { height: 430px; }
  .team-story { gap: 40px; }
  .footer-main { justify-content: flex-start; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; padding: 10px 20px; flex-wrap: wrap; gap: 0; }
  .nav-brand { width: 100px; }
  .nav-brand .spark-logo-frame { width: 96px; }
  .header-cta { min-height: 48px; margin-left: 16px; padding-inline: 18px; font-size: 14px; }
  .menu-toggle { margin-left: auto; }
  .js .menu-toggle { display: flex; align-items: center; justify-content: center; min-width: 70px; min-height: 48px; gap: 10px; padding: 8px 0; border: 0; background: transparent; font-size: 15px; }
  .menu-toggle span { font-size: 23px; line-height: 1; }
  .navigation { order: 5; width: 100%; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding-top: 12px; font-size: 16px; }
  .js .navigation {
    display: flex; max-height: 0; padding-top: 0; opacity: 0; visibility: hidden;
    overflow: hidden; transform: translateY(-6px);
    transition: max-height .3s ease, padding-top .3s ease, opacity .2s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .js .navigation.is-open {
    max-height: 420px; padding-top: 12px; opacity: 1; visibility: visible; transform: none;
    transition: max-height .3s ease, padding-top .3s ease, opacity .2s ease, transform .3s ease, visibility 0s;
  }
  .navigation > a { flex-shrink: 0; min-height: 50px; border-bottom: 1px solid var(--line); padding-inline: 8px; }
  .navigation > a[aria-current=page] { background: #f3eff9; border-radius: 5px; border-color: transparent; }
  .home-hero { padding-block: 34px; gap: 26px; }
  .hero-copy h1 { font-size: 41px; }
  .hero-intro { font-size: 17px; }
  .hero-photo img { height: 400px; }
  .team-group img { height: 500px; }
  .team-roster h3 { font-size: 20px; }
  .team-layout, .tutoring-layout { gap: 28px; }
  .contact-layout { gap: 28px; }
  .contact-email { font-size: 24px; }
  .gallery-photo img { height: 260px; }
  .footer-links { gap: 4px 25px; }
}
@media (max-width: 600px) {
  h1 { font-size: 35px; }
  h2 { font-size: 26px; }
  .header-inner { padding-inline: 20px; }
  .home-hero { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 30px; gap: 26px; }
  .hero-copy h1 { font-size: 39px; line-height: 1.13; letter-spacing: -1px; }
  .eyebrow { font-size: 14px; margin-bottom: 14px; }
  .hero-intro { font-size: 17px; margin-top: 19px; line-height: 1.75; }
  .hero-details { font-size: 15px; margin-top: 17px; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 9px; margin-top: 22px; }
  .hero-actions .button { width: 100%; min-height: 50px; font-size: 16px; }
  .hero-actions .inline-link { justify-content: center; font-size: 15px; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 3; border-radius: 10px; }
  .home-intro { padding-block: 30px 34px; }
  .home-intro h2 { font-size: 27px; }
  .home-intro > p { font-size: 16px; margin-top: 13px; }
  .home-photo-grid { gap: 14px; margin-top: 23px; }
  .home-photo-grid img { height: 165px; border-radius: 8px; }
  .home-intro > .inline-link { margin-top: 15px; }
  .contact-band { padding-block: 28px; }
  .band-inner { align-items: stretch; flex-direction: column; gap: 20px; }
  .band-inner h2 { font-size: 26px; }
  .band-inner .button { width: 100%; font-size: 16px; }
  .site-footer { padding-block: 26px 20px; }
  .footer-main { flex-direction: column; align-items: stretch; gap: 18px; }
  .footer-main .brand { gap: 15px; }
  .footer-main .spark-logo-frame { width: 90px; }
  .footer-main .brand strong { font-size: 16px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; font-size: 15px; }
  .footer-links > a { min-height: 48px; }
  .footer-email { min-height: 44px; font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 12px; margin-top: 20px; }
  .page-heading { padding-top: 30px; padding-bottom: 27px; }
  .page-heading h1 { font-size: 34px; }
  .page-heading > p:last-child { font-size: 16px; margin-top: 16px; }
  .page-heading .eyebrow { font-size: 13px; margin-bottom: 12px; }
  .tutoring-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .subject-list article { gap: 18px; padding-block: 21px; }
  .subject-list p { font-size: 16px; }
  .tutoring-aside img { aspect-ratio: 4 / 3; }
  .bring-list { padding-top: 22px; }
  .availability-note { font-size: 15px; }
  .age-support { padding-block: 0 32px; }
  .age-support > div { grid-template-columns: 1fr; gap: 22px; }
  .age-support p { font-size: 16px; }
  .session-note { padding-block: 28px 35px; }
  .session-note h2 { font-size: 26px; }
  .session-facts { grid-template-columns: 1fr; gap: 0; }
  .session-note .button { width: 100%; font-size: 16px; }
  .team-layout { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .team-group img { height: auto; aspect-ratio: 4 / 3; }
  .team-roster h3 { font-size: 22px; }
  .team-roster p { font-size: 15px; }
  .team-story { grid-template-columns: 1fr; gap: 25px; padding-block: 28px 34px; }
  .team-story img { height: auto; aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr; gap: 24px; padding-bottom: 35px; }
  .gallery-photo img { height: auto; aspect-ratio: 4 / 3; }
  .gallery-photo > span { font-size: 13px; }
  .gallery-item figcaption { font-size: 14px; }
  .contact-booking { padding: 23px 20px; margin-bottom: 26px; }
  .contact-booking h2 { font-size: 25px; }
  .contact-booking .button { width: 100%; font-size: 16px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .email-panel { padding: 22px 19px 16px; }
  .contact-email { font-size: 25px; }
  .contact-actions { align-items: stretch; flex-direction: column; gap: 4px; }
  .contact-actions .button { width: 100%; }
  .copy-email { align-self: center; }
  .contact-guidance h2 { font-size: 25px; }
  .location-details { padding-block: 26px 32px; }
  .location-details h2 { font-size: 25px; }
  .contact-photo { display: none; }
  .lightbox { padding: 12px; width: calc(100% - 16px); }
  .lightbox-toolbar { font-size: 13px; gap: 10px; padding-bottom: 8px; }
  .lightbox-body { gap: 7px; }
  .lightbox-prev, .lightbox-next { width: 44px; height: 48px; }
  .lightbox-image { width: calc(100% - 102px); }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .header-inner { padding-inline: 16px; }
  .nav-brand, .nav-brand .spark-logo-frame { width: 84px; }
  .header-cta { margin-left: 12px; padding-inline: 14px; }
  .js .menu-toggle { min-width: 65px; font-size: 14px; gap: 8px; }
  .hero-copy h1 { font-size: 36px; }
  .home-photo-grid img { height: 145px; }
  .footer-main .brand strong { font-size: 15px; }
  .contact-email { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
.site-header { animation: header-enter .35s ease-out both; transition: box-shadow .25s ease, background-color .2s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 18px #142d4810; }
main { animation: page-enter .3s ease-out both; }
.button, .header-cta, .inline-link, .footer-links a { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.donation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: start; padding-block: 8px 55px; }
.donation-panel { background: #f3eff9; padding: 32px; border-radius: 12px; }
.donation-icon { color: var(--purple); margin-bottom: 18px; }
.donation-label { font-size: 14px; font-weight: 600; color: var(--purple); margin-bottom: 10px; }
.donation-panel h2 { font-size: 28px; line-height: 1.3; }
.donation-panel > p[data-donation-copy] { color: var(--muted); font-size: 16px; margin-top: 18px; }
.donation-panel > .button { margin-top: 25px; }
.button:disabled { background: #e2daec; color: #655573; cursor: default; }
.donation-contact { font-size: 14px; color: var(--muted); margin-top: 25px; }
.donation-contact a { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }
.donation-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; }
@keyframes header-enter { from { opacity: .7; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover, .header-cta:hover { transform: translateY(-1px); box-shadow: 0 3px 10px #673aa61c; }
  .gallery-photo img { transition: transform .25s ease; }
  .gallery-photo:hover img { transform: scale(1.015); }
}
@media (max-width: 800px) { .donation-layout { gap: 28px; } .donation-panel { padding: 26px; } }
@media (max-width: 600px) {
  .donation-layout { grid-template-columns: 1fr; gap: 28px; padding-bottom: 35px; }
  .donation-panel { padding: 25px 22px; }
  .donation-panel h2 { font-size: 26px; }
  .donation-panel > .button { width: 100%; }
  .donation-photo img { height: auto; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.impact-section { padding-block: 8px 50px; }
.impact-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.impact-toolbar h2 { font-size: 27px; }
.impact-refresh { min-width: 150px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-grid article { background: #f3eff9; border-radius: 10px; padding: 27px 23px; }
.impact-value { color: var(--purple); font-size: 43px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.impact-grid h3 { font-size: 16px; font-weight: 500; margin-top: 14px; line-height: 1.5; }
.impact-status { color: var(--muted); font-size: 15px; margin-top: 23px; }
.impact-checked { color: var(--muted); font-size: 13px; min-height: 22px; margin-top: 5px; }
.impact-note { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 27px; max-width: 820px; }
.impact-note h2 { font-size: 25px; }
.impact-note p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-top: 14px; }
@media (max-width: 900px) { .impact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .impact-section { padding-bottom: 35px; }
  .impact-toolbar { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 22px; }
  .impact-toolbar h2 { font-size: 26px; }
  .impact-grid { gap: 14px; }
  .impact-grid article { padding: 22px 17px; }
  .impact-value { font-size: 36px; }
  .impact-grid h3 { font-size: 15px; margin-top: 11px; }
  .impact-status { font-size: 14px; }
}

/* Footer contact and social links */
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-social { display: flex; flex-wrap: wrap; gap: 20px; }
#impact { scroll-margin-top: 110px; }

/* Quiet, conventional footer: contacts left, page links right. */
.site-footer { background: #fafafa; color: #687076; border-top: 1px solid #eceeef; padding-block: 32px 20px; }
.footer-main { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 24px 60px; }
.footer-contact { gap: 0; font-size: 13px; font-weight: 400; }
.footer-name { color: #50585e; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.footer-contact a, .footer-email { min-height: 36px; font-size: 13px; font-weight: 400; }
.footer-contact .footer-name { font-size: 14px; font-weight: 500; }
.footer-social { gap: 18px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(100px, 1fr)); gap: 0 28px; font-size: 13px; font-weight: 400; }
.footer-links > a { min-height: 36px; }
.footer-bottom { color: #858b90; border-color: #e9ebed; margin-top: 24px; padding-top: 16px; font-weight: 400; }
@media (max-width: 600px) {
 .footer-main { flex-direction: column; gap: 24px; }
 .footer-links { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .footer-contact a, .footer-links > a { min-height: 44px; }
}

.contact-form-panel h2 { margin-top: 0; }
.contact-form { display: grid; gap: 10px; margin-top: 24px; }
.contact-form label { font-size: 14px; font-weight: 500; margin-top: 8px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #cdd1d5; border-radius: 6px; background: #fff; color: #252a30; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--purple); outline-offset: 2px; }
.contact-form .button { justify-self: start; margin-top: 8px; }
.form-note, .form-email-alternative { font-size: 13px; color: var(--muted); line-height: 1.6; }
.form-email-alternative { margin-top: 24px; }

.contact-form-status { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.contact-form-status:empty { display: none; }
.contact-form-status[data-state="error"] { color: #a22b2b; }
.contact-form-status[data-state="success"] { color: #286344; }
.contact-form button:disabled { opacity: .65; cursor: wait; }

/* Equal team profiles with generous spacing. */
.team-profiles { padding-block: 8px 80px; }
.team-profiles > h2 { font-size: 28px; margin-bottom: 38px; }
.team-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 44px; align-items: start; }
.team-profile, .team-profile:first-child { display: flex; flex-direction: column; grid-column: auto; gap: 24px; padding: 0; border: 0; min-width: 0; }
.team-portrait { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; background: #f0edf6; overflow: hidden; }
.team-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-profile-copy { width: 100%; }
.team-profile h3 { font-size: 24px; line-height: 1.3; margin: 0; font-weight: 600; }
.team-profile .team-role { color: var(--purple); font-size: 14px; font-weight: 500; line-height: 1.6; margin-top: 8px; min-height: 45px; }
.team-profile .team-bio { color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 18px; }
@media (max-width: 1000px) { .team-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 36px; } }
@media (max-width: 600px) {
 .team-profiles { padding-bottom: 48px; }
 .team-profile-grid { grid-template-columns: 1fr; gap: 48px; }
 .team-profile, .team-profile:first-child { gap: 22px; }
 .team-profile .team-role { min-height: 0; }
 .team-profile h3 { font-size: 24px; }
 .team-portrait { max-height: 460px; }
}

/* Donation section shares the site's typography, palette and card treatment. */
.donation-integrated { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; padding-bottom: 64px; }
.donation-story { padding-top: 12px; min-width: 0; }
.donation-story h2 { max-width: 360px; font-size: 34px; letter-spacing: -.7px; }
.donation-intro { color: var(--muted); margin-top: 18px; }
.donation-story .donation-photo { margin-top: 28px; }
.donation-story .donation-photo img { height: 310px; }
.donation-story figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }
.donation-card { min-width: 0; padding: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-top: 4px solid var(--purple); border-radius: 12px; box-shadow: 0 8px 28px #142d4808; }
.donation-card-heading { padding: 28px 28px 24px; background: #f3eff9; border-bottom: 1px solid #e8dff2; }
.donation-card-heading .eyebrow { margin-bottom: 10px; }
.donation-card-heading h2 { font-size: 28px; }
.donation-card-heading > p:last-child { color: var(--muted); margin-top: 10px; }
.donation-form-wrap { padding: 12px; background: white; }
.donation-embed { display: block; border: none; width: 100%; height: 660px; margin: 0 auto; background: white; }
.donation-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--soft); }
.donation-card-footer > span { color: var(--muted); font-size: 14px; }
.donation-card-footer .inline-link { font-size: 14px; }
@media (max-width: 800px) { .donation-integrated { grid-template-columns: 1fr; gap: 32px; } .donation-story h2 { max-width: none; } .donation-story .donation-photo img { height: auto; max-height: 360px; } }
@media (max-width: 600px) { .donation-card { padding: 0; } .donation-card-heading { padding: 24px 20px; } .donation-form-wrap { padding: 0; } .donation-card-footer { padding: 16px 20px; } .donation-story h2 { font-size: 28px; } }
