/* Shared foundation for all three design options.
   Fonts are self-hosted (faster, no Google tracking). Atkinson Hyperlegible
   was designed by the Braille Institute for low-vision readers. */
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Atkinson", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

/* Skip link + visible focus for keyboard and switch users */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: #fff; color: #00264d; border-radius: .5rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--focus, #ffbf47); outline-offset: 3px; border-radius: 4px; }

/* Header / navigation (mobile first) */
.site-header { position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-name { font-weight: 700; font-size: .95rem; line-height: 1.15; }
.brand-name small { display: block; font-weight: 400; font-size: .8rem; opacity: .85; }

.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem .9rem; font: inherit; font-weight: 700; border-radius: 999px; cursor: pointer; background: transparent; border: 2px solid currentColor; color: inherit; }
.nav-toggle .bars { width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }

.site-nav { display: none; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 0 1.25rem; display: grid; gap: .25rem; }
.site-nav a { display: block; padding: .8rem .25rem; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.no-js .site-nav { display: block; }
.no-js .nav-toggle { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.header-donate { display: none; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; }
  .site-nav ul { display: flex; gap: .25rem; padding: 0; }
  .site-nav a { font-size: 1rem; padding: .6rem .8rem; border-radius: 999px; }
  .header-donate { display: inline-flex; }
  .mobile-donate { display: none !important; }
  .brand img { width: 52px; }
  .brand-name { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Option A — "Live & Warm": full-bleed photo hero, brand navy + teal, warm cream page */
:root {
  --navy: #002b55;
  --navy-2: #0b3d6e;
  --teal: #007f8e;
  --teal-dark: #006b78;
  --cream: #f6f3ea;
  --sand: #dbdacb;
  --ink: #1b2430;
  --muted: #4a5563;
}
body { background: var(--cream); color: var(--ink); }
h1, h2, h3 { font-family: "Atkinson", system-ui, sans-serif; font-weight: 700; color: var(--navy); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy) var(--hero-sm) 96% center / cover no-repeat; min-height: 92svh; display: flex; flex-direction: column; }
@media (min-width: 800px) { .hero { background-image: var(--hero); background-position: center; } }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,40,.50) 0%, rgba(0,20,40,.05) 22%, rgba(0,20,40,.78) 46%, rgba(0,20,40,.95) 100%); }
@media (min-width: 1024px) { .hero::before { background: linear-gradient(90deg, rgba(0,20,40,.88) 0%, rgba(0,20,40,.55) 45%, rgba(0,20,40,.05) 75%); } }
.hero > * { position: relative; }
.hero h1, .hero .lead { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.site-header { color: #fff; z-index: 30; }
.site-nav.open { background: #001a33; margin: 0; padding: 0 1.25rem 1rem; position: absolute; top: 72px; left: -1.25rem; right: -1.25rem; z-index: 30; box-shadow: 0 20px 30px rgba(0,0,0,.35); }
.mobile-donate a { background: var(--teal); border-radius: 999px; text-align: center; margin-top: .5rem; }
@media (min-width: 1200px) { .site-nav.open { position: static; background: none; margin: 0; padding: 0; } .site-nav a:hover { background: rgba(255,255,255,.14); } }
.site-nav a { color: #fff; }
.header-row { flex-wrap: wrap; position: relative; }

.hero-body { margin-top: auto; padding-block: 3rem 3.5rem; max-width: 1160px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 7vw, 3.6rem); max-width: 16ch; letter-spacing: -.01em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #8fe6f0; margin-bottom: .75rem; }
.eyebrow.dark { color: var(--teal-dark); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 38ch; color: #e8eef5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-actions .btn { flex: 1 1 180px; }
@media (min-width: 600px) { .hero-actions .btn { flex: 0 0 auto; } }

.btn-donate { background: var(--teal); color: #fff; }
.btn-donate:hover { background: var(--teal-dark); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }

/* Ways cards — overlap the hero slightly on large screens */
.ways { display: grid; gap: 1rem; margin-top: -2rem; position: relative; z-index: 2; }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(3, 1fr); margin-top: -3.5rem; gap: 1.25rem; } }
.way { display: block; background: #fff; border-radius: 18px; padding: 1.5rem; text-decoration: none; color: var(--ink); box-shadow: 0 10px 30px rgba(0,30,60,.10); border: 1px solid rgba(0,43,85,.08); transition: transform .15s ease, box-shadow .15s ease; }
.way:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,30,60,.16); }
.way h3 { font-size: 1.35rem; margin: .75rem 0 .35rem; }
.way p { color: var(--muted); margin-bottom: .75rem; }
.way-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e3f6f8; }
.way-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way-link { font-weight: 700; color: var(--teal-dark); }

/* About */
.about { display: grid; gap: 2rem; padding-block: 4rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; padding-block: 6rem; } }
.about h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.text-link { font-weight: 700; color: var(--teal-dark); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pillars li { background: #fff; border-left: 5px solid var(--teal); border-radius: 12px; padding: 1.1rem 1.25rem; color: var(--muted); }
.pillars strong { display: block; color: var(--navy); font-size: 1.1rem; }

/* Story band */
.story { background: var(--navy); color: #e6edf5; padding-block: 3.5rem; }
.story-inner { display: grid; gap: 1.5rem; align-items: center; }
.story img { width: 96px; }
@media (min-width: 760px) { .story-inner { grid-template-columns: 140px 1fr; gap: 3rem; } .story img { width: 140px; } }
.story h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.story p { max-width: 60ch; }

/* CTA */
.cta { text-align: center; padding-block: 4rem; }
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.cta p { color: var(--muted); }

/* Footer */
.site-footer { background: #eae6da; padding-top: 2.5rem; color: var(--ink); }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; } }
.footer-name { font-weight: 700; color: var(--navy); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer nav a { display: inline-block; padding: .5rem 0; }
.copyright { font-size: .9rem; color: var(--muted); padding-block: 1.25rem; margin: 1rem auto 0; border-top: 1px solid rgba(0,0,0,.08); }

/* Inner pages: shorter photo hero */
.hero-page { min-height: 92svh; background-position: 72% center; }
@media (max-width: 1023px) { .hero-page::before { background: linear-gradient(180deg, rgba(0,20,40,.55) 0%, rgba(0,20,40,.10) 22%, rgba(0,20,40,.80) 45%, rgba(0,20,40,.95) 100%); } }
.hero-page h1, .hero-page .lead { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
@media (min-width: 800px) { .hero-page { min-height: 78vh; background-position: center 55%; } }

/* Services page */
.zoose { padding-block: 3.5rem 1.5rem; max-width: 820px; }
.zoose h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.zoose p { font-size: 1.15rem; color: var(--muted); }
.services { display: grid; gap: 1.25rem; padding-bottom: 2rem; }
@media (min-width: 860px) { .services { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.service { background: #fff; border-radius: 18px; padding: 1.75rem 1.5rem; box-shadow: 0 10px 30px rgba(0,30,60,.08); border: 1px solid rgba(0,43,85,.08); }
.service h3 { font-size: 1.35rem; margin: .9rem 0 .5rem; }
.service p { color: var(--muted); }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e3f6f8; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.roster-label { font-weight: 700; color: var(--navy) !important; margin-bottom: .5rem; }
.roster { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.roster li { background: var(--navy); color: #fff; border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .95rem; }
.small { font-size: .95rem; }

/* Split hero (navy, text + framed photo) */
.hero-split { min-height: 0; background: var(--navy); }
.hero-split::before { display: none; }
.split-body { display: grid; gap: 2rem; padding-block: 1.5rem 3.5rem; align-items: center; }
@media (min-width: 900px) { .split-body { grid-template-columns: 1.1fr .9fr; gap: 4rem; padding-block: 3rem 5rem; } }
.hero-split h1 { color: #fff; font-size: clamp(2rem, 6.5vw, 3.3rem); max-width: 18ch; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

.split-media figcaption { font-size: .9rem; color: #b9c7d8; margin-top: .6rem; }

/* Accessibility Bridges page */
.pilot { padding-block: 3.5rem 4rem; }
.pilot-head { max-width: 760px; }
.pilot-head h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); margin-top: .75rem; }
.pilot-head p { font-size: 1.15rem; color: var(--muted); }
.status-pill { display: inline-block; background: #fff3d6; color: #6b4a00; border: 1px solid #f0d58c; border-radius: 999px; padding: .3rem .85rem; font-weight: 700; font-size: .9rem; }
.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.steps li { background: #fff; border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,30,60,.08); border: 1px solid rgba(0,43,85,.08); }
.steps h3 { font-size: 1.25rem; margin: .85rem 0 .35rem; }
.steps p { color: var(--muted); margin: 0; }
.step-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e3f6f8; }
.step-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust { background: #fff; border-left: 5px solid var(--teal); border-radius: 12px; padding: 1.25rem 1.5rem; max-width: 760px; }
.trust h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.trust p { color: var(--muted); margin: 0; }
.dev-note { margin-top: 1.25rem; font-size: .95rem; color: var(--muted); }
.story-noimg { grid-template-columns: 1fr !important; }
.story .eyebrow { color: #8fe6f0; }

/* Home hero on phones: show the whole photo at the top, text below on navy */
@media (max-width: 799px) {
  .hero:not(.hero-page):not(.hero-split) { min-height: 0; background-size: 100% auto; background-position: center top; }
  .hero:not(.hero-page):not(.hero-split)::before { background: linear-gradient(180deg, rgba(0,20,40,.55) 0, rgba(0,20,40,0) 96px, rgba(0,20,40,0) calc(75vw - 90px), var(--navy) 75vw); }
  .hero:not(.hero-page):not(.hero-split) .hero-body { margin-top: calc(75vw - 100px); padding-top: 1rem; padding-bottom: 3.25rem; }
}

/* About page */
.about-head { padding-block: 1.25rem 5.5rem; }
@media (min-width: 900px) { .about-head { padding-block: 3rem 9rem; } }
.hero-about h1 { color: #fff; font-size: clamp(2rem, 6.5vw, 3.3rem); max-width: 20ch; }
.about-photo { margin: -4rem auto 0; position: relative; z-index: 2; }
@media (min-width: 900px) { .about-photo { margin-top: -7rem; } }
.about-photo img { width: 100%; border-radius: 20px; box-shadow: 0 20px 45px rgba(0,30,60,.22); }
.about-body { display: grid; gap: 2rem; padding-block: 3.5rem 4rem; }
@media (min-width: 900px) { .about-body { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 5rem; } }
.about-block h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.about-block p { color: var(--muted); font-size: 1.1rem; }
.story-noimg p { max-width: 65ch; }

/* Simple page header (navy) */
.page-head { padding-block: 1.25rem 3rem; }
@media (min-width: 900px) { .page-head { padding-block: 2.5rem 4.5rem; } }
.page-head h1 { color: #fff; font-size: clamp(2rem, 6.5vw, 3.3rem); max-width: 20ch; }
.page-head .lead { max-width: 52ch; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Vision */
.vision { padding-block: 3.5rem 1rem; max-width: 900px; }
.vision-quote { font-size: clamp(1.35rem, 3.6vw, 1.9rem); line-height: 1.35; color: var(--navy); font-weight: 700; }
.vision-body { font-size: 1.1rem; color: var(--muted); max-width: 70ch; }
.mission { padding-block: 2.5rem 4rem; }
.mission h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.mission-list { list-style: none; counter-reset: m; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .mission-list { grid-template-columns: 1fr 1fr; gap: 1.25rem; } .mission-list li:last-child { grid-column: 1 / -1; } }
.mission-list li { counter-increment: m; position: relative; background: #fff; border-radius: 18px; padding: 1.5rem 1.5rem 1.5rem 4.75rem; box-shadow: 0 10px 30px rgba(0,30,60,.08); border: 1px solid rgba(0,43,85,.08); }
.mission-list li::before { content: counter(m); position: absolute; left: 1.4rem; top: 1.4rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; }
.mission-list h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.mission-list p { color: var(--muted); margin: 0; }

/* Events */
.events { padding-block: 3.5rem 4rem; display: grid; gap: 2rem; }
@media (min-width: 900px) { .events { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.event-empty { background: #fff; border-radius: 20px; padding: 2rem 1.75rem; box-shadow: 0 10px 30px rgba(0,30,60,.08); border: 1px solid rgba(0,43,85,.08); }
.event-empty h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-top: 1rem; }
.event-empty p { color: var(--muted); font-size: 1.1rem; }
.event-promise a { color: var(--teal-dark); font-weight: 700; }

/* Privacy (long text) */
.prose { max-width: 760px; padding-block: 3rem 4rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--teal-dark); font-weight: 700; }

/* Forms */
.form-layout { display: grid; gap: 2rem; padding-block: 3rem 4rem; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1.6fr 1fr; align-items: start; gap: 3rem; } }
.form-card { background: #fff; border-radius: 20px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,30,60,.08); border: 1px solid rgba(0,43,85,.08); display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form-card { padding: 2rem; } }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .roles legend, .role-fields legend { font-weight: 700; color: var(--navy); }
.hint { font-weight: 400; color: var(--muted); font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1.05rem; width: 100%; min-height: 48px; padding: .7rem .85rem; border: 2px solid #b9c2cc; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-dark); outline: 3px solid #ffbf47; outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.roles { display: grid; gap: .6rem; }
.roles legend { margin-bottom: .6rem; font-size: 1.1rem; }
.role-option { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1rem; border: 2px solid #d3d9df; border-radius: 12px; cursor: pointer; }
.role-option:has(input:checked) { border-color: var(--teal-dark); background: #e8f6f7; }
.role-option input, .consent input { width: 24px; height: 24px; margin-top: .15rem; accent-color: var(--teal-dark); flex: none; }
.role-option strong { display: block; color: var(--navy); }
.role-option span { color: var(--muted); }
.role-fields { display: grid; gap: 1rem; padding: 1.25rem; border-radius: 12px; background: #f6f3ea; }
.role-fields[hidden] { display: none; }
.role-fields legend { float: left; width: 100%; font-size: 1.1rem; margin-bottom: .25rem; }
.consent { display: flex; gap: .85rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent a, .form-aside a { color: var(--teal-dark); font-weight: 700; }
.form-status { margin: 0; padding: .85rem 1rem; border-radius: 10px; background: #fdecea; color: #8a1c12; font-weight: 700; border: 1px solid #f3b8b0; }
.submit-btn { justify-self: start; min-width: 200px; }
.submit-btn:disabled { opacity: .7; cursor: wait; }
@media (max-width: 599px) { .submit-btn { justify-self: stretch; } }
.form-aside h2 { font-size: 1.4rem; }
.form-aside p { color: var(--muted); }

/* Success */
.success-head { padding-block: 3rem 5rem; }
@media (min-width: 900px) { .success-head { padding-block: 5rem 8rem; } }
.success-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); margin-bottom: 1rem; }
.success-check svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
