:root {
  --violet: #6042f5;
  --violet-deep: #482bd7;
  --navy: #0c1838;
  --coral: #ff452f;
  --pink: #f497b3;
  --yellow: #ffd20a;
  --white: #ffffff;
  --mist: #f4f5fb;
  --ink: #10172d;
  --muted: #5d6578;
  --line: rgba(12, 24, 56, .13);
  --shadow: 0 18px 50px rgba(12, 24, 56, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", system-ui, sans-serif; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; width: 132px; height: 58px; overflow: hidden; border-radius: 4px; background: var(--violet); }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav > a:not(.button):hover { color: var(--violet); }
.site-nav > a[aria-current="page"]:not(.button) { color: var(--violet); text-decoration: underline; text-underline-offset: .45em; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; }

h1, h2, h3 { margin: 0; font-family: "Manrope", system-ui, sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 790px; font-size: clamp(3rem, 6.5vw, 6.1rem); color: white; }
h2 { font-size: clamp(2.2rem, 4vw, 4.15rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.eyebrow { margin-bottom: 18px; color: var(--yellow); font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dark { color: var(--violet); }
.section { padding: 110px 0; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(12,24,56,.2); }
.button-coral { color: var(--navy); background: #ffcc91; }
.button-coral:hover { background: #ffc078; }
.button-navy { color: white; background: var(--navy); }
.button-small { min-height: 44px; padding: 0 20px; }
.text-link { font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: white; }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; background: var(--navy); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(12,24,56,.96) 0%, rgba(12,24,56,.82) 37%, rgba(12,24,56,.18) 71%, rgba(12,24,56,.03) 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 0 105px; }
.hero-copy { max-width: 650px; margin: 28px 0 34px; color: rgba(255,255,255,.88); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-connect-arrow { display: inline-block; margin-left: 8px; }
.hero-statement { position: absolute; z-index: 3; right: 30px; bottom: 24px; color: white; font-family: "Manrope"; font-size: .77rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }

.mission-section { background: white; }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: start; }
.mission-copy { padding-top: 8px; color: var(--muted); font-size: 1.16rem; }
.mission-copy p { margin-bottom: 23px; }
.mission-copy .founded { display: inline-block; margin-top: 12px; padding: 10px 16px; color: var(--navy); background: var(--yellow); font-size: .86rem; font-weight: 800; border-radius: 999px; }

.pillars-section { background: var(--mist); }
.pillars-heading { margin-bottom: 42px; }
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar-card { min-height: 430px; padding: 42px; border-radius: 30px; display: flex; flex-direction: column; }
.pillar-card h3 { margin-bottom: 18px; font-size: clamp(2rem, 3vw, 3.1rem); }
.pillar-card > p:not(.pillar-label) { max-width: 540px; font-size: 1.07rem; }
.pillars-grid .pillar-card > .button { margin-top: auto; }
.pillar-card ul { margin: auto 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid currentColor; }
.pillar-card li { position: relative; margin-top: 12px; padding-left: 25px; font-weight: 700; }
.pillar-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.pillar-label { margin-bottom: 45px; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pillar-education { color: white; background: var(--violet); }
.pillar-housing { color: var(--navy); background: var(--yellow); }
.bridge-statement { margin: 24px 0 0; padding: 24px 28px; color: var(--navy); background: white; border-left: 7px solid var(--coral); border-radius: 8px 18px 18px 8px; box-shadow: 0 10px 30px rgba(12,24,56,.08); font-size: 1.08rem; }

.education-section { background: #eef2ff; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-heading > p { color: var(--muted); font-size: 1.1rem; }
.education-section .section-heading { position: relative; isolation: isolate; overflow: hidden; align-items: center; padding: clamp(32px, 5vw, 62px); color: white; background: linear-gradient(120deg, var(--violet-deep), var(--violet)); border-radius: 32px; box-shadow: 0 20px 45px rgba(72,43,215,.2); }
.education-section .section-heading::after { content: ""; position: absolute; z-index: -1; top: -165px; right: -115px; width: 370px; height: 370px; border: 54px solid rgba(255,210,10,.32); border-radius: 50%; }
.education-section .section-heading h2 { color: white; }
.education-section .section-heading .eyebrow { color: var(--yellow); }
.education-section .section-heading > p { color: rgba(255,255,255,.94); }
.education-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.education-cta { margin: 32px 0 0; }
.who-we-help { margin-block: 32px; padding: clamp(24px, 4vw, 36px); color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 24px; }
.who-we-help h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.who-we-help p { margin: 0; }
.education-card { min-height: 290px; padding: 34px; border-radius: 26px; display: flex; flex-direction: column; }
.education-card h3 { margin-top: 32px; margin-bottom: 14px; font-size: 1.65rem; }
.education-card p { margin: 0; max-width: 490px; }
.card-number { font-family: "Manrope"; font-weight: 800; font-size: .85rem; }
.card-violet { color: white; background: var(--violet); }
.card-yellow { background: var(--yellow); }
.card-pink { background: var(--pink); }
.card-navy { color: white; background: var(--navy); }
.card-coral { color: white; background: var(--coral); }
.card-sky { color: var(--navy); background: #9bdcff; }

.about-intro { background: radial-gradient(circle at 100% 0%, #fff1a3 0%, transparent 45%), var(--yellow); }
.about-intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.about-intro h1 { color: var(--navy); font-size: clamp(2.8rem, 5vw, 5rem); }
.about-intro .eyebrow { color: var(--violet-deep); }
.about-lead { color: var(--navy); font-size: 1.18rem; }
.about-lead p + p { margin-top: 24px; }
.about-focus { color: white; background: var(--navy); }
.about-focus .eyebrow { color: var(--yellow); }
.about-focus h2 { max-width: 720px; margin-bottom: 45px; }
.about-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-focus-grid article { min-height: 290px; padding: 34px; color: var(--ink); background: white; border-radius: 24px; }
.about-focus-grid h3 { margin: 24px 0 16px; font-size: 1.5rem; }
.about-focus-grid p { color: var(--muted); }
.about-number { color: var(--violet-deep); font-family: "Manrope", system-ui, sans-serif; font-weight: 800; }
.board-section { background: white; }
.board-section h2 { margin-bottom: 24px; }
.board-intro { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 24px; margin-top: 40px; }
.board-card { overflow: hidden; background: var(--mist); border-radius: 24px; text-align: center; }
.board-photo { position: relative; width: min(220px, calc(100% - 40px)); aspect-ratio: 1 / 1; margin: 24px auto 0; overflow: hidden; border-radius: 18px; background-color: #e9ebef; }
.board-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.board-card-body { padding: 20px 24px 26px; }
.board-card-body h3 { margin-bottom: 6px; }
.board-card-body p { color: var(--muted); }
.board-card-body .board-role { color: var(--violet-deep); font-weight: 800; }
.board-subheading { margin: 64px 0 18px; font-size: 1.8rem; }
@media (max-width: 900px) { .about-intro-grid { grid-template-columns: 1fr; gap: 32px; } .about-focus-grid { grid-template-columns: 1fr 1fr; } .board-grid { grid-template-columns: repeat(2, minmax(0, 300px)); } }
@media (max-width: 700px) { .about-focus-grid { grid-template-columns: 1fr; } .board-grid { grid-template-columns: minmax(0, 1fr); max-width: 320px; margin-inline: auto; } }

@media (max-width: 1120px) {
  .nav-wrap { min-height: 72px; }
  .brand { width: 112px; height: 50px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 24px 20px 30px; flex-direction: column; align-items: stretch; gap: 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { text-align: center; }
}

.partners-section { background: var(--mist); }
.partners-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.partners-layout h2 { margin-bottom: 22px; }
.partners-layout p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 1.1rem; }
.partner-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.partner-card { min-height: 170px; padding: 32px; display: flex; flex-direction: column; justify-content: center; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 30px rgba(12,24,56,.06); }
.partner-logo { width: 100%; max-height: 235px; object-fit: contain; }
.partner-name { color: var(--navy); font-family: "Manrope", system-ui, sans-serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.15; }
.partner-type { margin-top: 12px; color: var(--violet-deep); font-weight: 700; }
@media (max-width: 700px) { .partners-layout { grid-template-columns: 1fr; gap: 24px; } }

.connect-section { color: white; background: var(--violet); }
.connect-section h2 { margin-bottom: 48px; }
.connect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.connect-grid-six { grid-template-columns: repeat(3, 1fr); }
.connect-card { min-height: 355px; padding: 26px; color: var(--ink); background: white; border-radius: 22px; display: flex; flex-direction: column; }
.connect-card h3 { margin: 22px 0 13px; }
.connect-card p { color: var(--muted); }
.connect-card a { margin-top: auto; color: var(--violet-deep); font-weight: 800; text-decoration: none; }
.icon-block { width: 54px; height: 54px; display: grid; place-items: center; color: white; background: var(--violet); border-radius: 17px 17px 17px 2px; font-family: "Manrope"; font-size: 1.2rem; font-weight: 800; }
.icon-yellow { color: var(--navy); background: var(--yellow); }
.icon-pink { color: var(--navy); background: var(--pink); }
.icon-coral { background: var(--coral); }

.contact-section { background: white; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.contact-intro > p:not(.eyebrow) { margin: 26px 0; color: var(--muted); font-size: 1.1rem; }
.direct-contact { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.direct-contact a, .direct-contact span { width: fit-content; color: var(--violet-deep); font-size: 1.08rem; font-weight: 800; }
.contact-form { padding: 38px; background: var(--mist); border-radius: 28px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 18px; font-weight: 700; font-size: .93rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid rgba(12,24,56,.2); border-radius: 10px; color: var(--ink); background: white; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(96,66,245,.14); }
.contact-form textarea { resize: vertical; }
.contact-form .honeypot { display: none; }
.submission-frame { display: none; }
.contact-form .button:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 1.5em; margin: 14px 0 0; color: var(--muted); font-weight: 700; }
.form-status.is-success { color: #17643b; }
.form-status.is-error { color: #a62f32; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .8rem; }

.site-footer { padding: 65px 0 25px; color: white; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 45px; }
.footer-logo { width: 145px; height: auto; margin-bottom: 20px; border-radius: 4px; }
.footer-grid p { color: rgba(255,255,255,.7); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.35; }
.footer-contact p { margin: 0; }
.footer-socials { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4px; color: white; transition: color .15s ease; }
.footer-social-link:hover { color: var(--yellow); }
.footer-social-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.footer-contact a, .footer-contact span { font-weight: 700; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.55); font-size: .78rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .split-grid, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 690px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(12,24,56,.94), rgba(12,24,56,.57)); }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .hero { min-height: 720px; align-items: end; }
  .hero-image { object-position: 61% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(12,24,56,.98) 12%, rgba(12,24,56,.76) 59%, rgba(12,24,56,.2) 100%); }
  .hero-content { padding: 210px 0 70px; }
  .hero-copy { margin: 20px 0 26px; font-size: 1.05rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; text-align: left; }
  .hero .hero-actions { align-items: center; text-align: center; }
  .hero-connect-arrow { transform: rotate(90deg); }
  .hero-statement { display: none; }
  .education-grid, .connect-grid, .footer-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 390px; padding: 28px; }
  .pillar-label { margin-bottom: 32px; }
  .education-card { min-height: 255px; padding: 27px; }
  .connect-card { min-height: 295px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.housing-section {
  color: white;
  background-color: var(--navy);
  background-image: linear-gradient(90deg, rgba(12,24,56,.94) 0%, rgba(12,24,56,.8) 48%, rgba(12,24,56,.52) 100%), url("housing-education-community.webp");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.housing-section .section-heading { padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.26); }
.housing-section .eyebrow { color: var(--yellow); }
.housing-section h1 { color: white; font-size: clamp(3rem, 6vw, 5.7rem); }
.housing-section .section-heading > p { color: rgba(255,255,255,.9); }
.housing-section .connect-card { box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.housing-connect-grid { grid-template-columns: repeat(3, 1fr); }
.housing-connect-grid .connect-card h2 { margin: 22px 0 13px; font-size: 1.35rem; }
@media (max-width: 900px) { .housing-connect-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .housing-connect-grid { grid-template-columns: 1fr; } }

/* Accessible controls and primary page headings. */
.page-heading { max-width: none; color: inherit; font-size: clamp(2.2rem, 4vw, 4.15rem); }
.connect-section .page-heading { margin-bottom: 48px; }
.button-coral, .card-coral { color: var(--navy); }
.button-coral:hover { background: #ffc078; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; box-shadow: 0 0 0 6px white; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 2px; }


/* Separate direct donations from conversations about giving. */
.zeffy-bubble { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: #ffcc91; color: var(--navy); font-size: .82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.zeffy-bubble:hover { background: #ffc078; }
.site-nav > a.zeffy-bubble { font-size: .82rem; }
.giving-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.connect-card .giving-actions a { margin-top: 0; }
.connect-card a.zeffy-bubble { color: var(--navy); }
