:root {
  --ink: #082437;
  --ink-soft: #385366;
  --blue: #0099c7;
  --blue-dark: #007da4;
  --sky: #dcf5fb;
  --mint: #e7f6ed;
  --green: #659e85;
  --cream: #f7f4ec;
  --gold: #f3b747;
  --white: #ffffff;
  --line: rgba(8, 36, 55, 0.14);
  --shadow: 0 24px 70px rgba(8, 36, 55, 0.15);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.25rem, 7vw, 6.8rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.45rem; }
p { color: var(--ink-soft); }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.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; }
.eyebrow { margin-bottom: 18px; color: var(--blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.topbar { background: var(--ink); color: #fff; font-size: .82rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; color: #fff; font-weight: 700; letter-spacing: .04em; }
.heart { color: var(--gold); margin-right: 5px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: rgba(255,255,255,.88); text-decoration: none; }
.topbar a:hover, .topbar a:focus-visible { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(8,36,55,.08); }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 25px rgba(0,153,199,.22); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1rem; letter-spacing: -.01em; }
.brand small { margin-top: 4px; color: var(--blue-dark); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a { position: relative; color: var(--ink); font-size: .91rem; font-weight: 700; text-decoration: none; }
.nav-links a:not(.nav-donate)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.active::after { right: 0; }
.nav-donate { padding: 12px 20px; background: var(--blue); color: #fff !important; border-radius: 999px; }
.nav-donate:hover, .nav-donate:focus-visible { background: var(--blue-dark); }
.menu-button { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--sky); cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 21px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; padding: 86px 0 105px; background: linear-gradient(130deg, #f9fdfe 0%, #edfafd 55%, #fffaf1 100%); }
.hero-pattern { position: absolute; width: 660px; height: 660px; right: -180px; top: -280px; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0 22px, rgba(0,153,199,.07) 23px 25px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(45px, 7vw, 96px); }
.hero-copy { padding-top: 10px; }
.hero-copy h1 span { color: var(--blue); }
.hero-lead { max-width: 640px; margin-bottom: 30px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(0,153,199,.24); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-dark); }
.button-ghost { color: var(--ink); border-color: var(--ink); background: rgba(255,255,255,.55); }
.button-ghost:hover, .button-ghost:focus-visible { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); white-space: nowrap; }
.button-full { width: 100%; border: 0; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.hero-visual { position: relative; min-height: 610px; }
.hero-photo-frame { position: absolute; inset: 0 0 55px 48px; border-radius: 44% 44% 24px 24px; overflow: hidden; box-shadow: var(--shadow); }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,36,55,.24), transparent 48%); }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; left: 0; top: 50px; width: 200px; padding: 24px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.note-mark { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 3rem; line-height: .7; }
.hero-note p { margin: 14px 0 10px; color: #fff; font-size: 1.05rem; line-height: 1.4; }
.hero-note strong { color: var(--gold); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-mini { position: absolute; display: flex; align-items: center; gap: 13px; left: 62px; right: -20px; bottom: 0; max-width: 360px; margin-left: auto; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.hero-mini img { width: 82px; height: 67px; border-radius: 12px; object-fit: cover; }
.hero-mini span { display: grid; line-height: 1.25; }
.hero-mini strong { font-size: .91rem; }
.hero-mini small { margin-top: 5px; color: var(--ink-soft); font-size: .75rem; }

.mission { background: #fff; }
.mission-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(55px, 9vw, 130px); }
.section-heading h2 { max-width: 610px; }
.mission-copy { padding-top: 42px; }
.large-copy { color: var(--ink); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.45; letter-spacing: -.02em; }
.mission-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 45px; padding-top: 32px; border-top: 1px solid var(--line); }
.mission-principles span { display: block; margin-bottom: 10px; color: var(--blue-dark); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mission-principles p { margin: 0; }

.focus { overflow: hidden; background: var(--cream); }
.focus-intro { display: grid; grid-template-columns: .45fr 1.15fr .75fr; align-items: end; gap: 34px; margin-bottom: 55px; }
.focus-intro .eyebrow { align-self: start; }
.focus-intro h2, .focus-intro p { margin-bottom: 0; }
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; }
.focus-item { display: grid; grid-template-columns: 54px 1fr; gap: 19px; padding: 28px 0; border-top: 1px solid var(--line); }
.focus-item > span { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.focus-item h3 { margin: 0 0 8px; }
.focus-item p { margin: 0; }

.programs { background: var(--ink); color: #fff; }
.programs p { color: rgba(255,255,255,.68); }
.programs .eyebrow { color: #73d9f0; }
.programs-head { display: grid; grid-template-columns: 1.1fr .6fr; align-items: end; gap: 80px; margin-bottom: 52px; }
.programs-head h2 { max-width: 720px; margin-bottom: 0; }
.programs-head > p { margin-bottom: 8px; }
.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 280px 330px; gap: 18px; }
.story { position: relative; grid-column: span 4; margin: 0; overflow: hidden; border-radius: 20px; background: #16384d; }
.story-wide { grid-column: span 7; }
.story-tall { grid-column: span 5; }
.story:nth-child(2) { grid-column: span 5; }
.story:nth-child(3) { grid-column: span 7; }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.story:hover img { transform: scale(1.035); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,22,33,.88), transparent 57%); }
.story figcaption { position: absolute; left: 24px; right: 24px; bottom: 21px; z-index: 2; display: grid; }
.story figcaption strong { font-size: 1.13rem; }
.story figcaption span { color: rgba(255,255,255,.72); font-size: .82rem; }

.event { padding: 70px 0; background: var(--blue); }
.event-wrap { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 42px; color: #fff; }
.event-date { width: 112px; height: 130px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.48); border-radius: 20px; line-height: 1; }
.event-date span, .event-date small { font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.event-date strong { margin: 7px 0; font-size: 3.1rem; }
.event-copy .eyebrow { margin-bottom: 10px; color: #d4f7ff; }
.event-copy h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.7vw, 3.5rem); }
.event-copy p { max-width: 720px; margin-bottom: 18px; color: rgba(255,255,255,.83); }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #fff; font-size: .82rem; font-weight: 800; }
.event-meta span::before { content: "•"; margin-right: 9px; color: var(--gold); }

.involved { background: #fff; }
.centered { max-width: 760px; margin: 0 auto 55px; text-align: center; }
.centered h2 { margin-left: auto; margin-right: auto; }
.centered > p:last-child { font-size: 1.06rem; }
.involved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.involved-card { min-height: 345px; display: flex; flex-direction: column; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.involved-card.featured { border-color: transparent; background: var(--sky); }
.card-number { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: auto; border-radius: 50%; background: var(--cream); color: var(--blue-dark); font-size: .76rem; font-weight: 900; }
.featured .card-number { background: #fff; }
.involved-card h3 { margin: 34px 0 10px; font-size: 1.75rem; }
.involved-card p { margin-bottom: 24px; }
.involved-card a { margin-top: auto; color: var(--blue-dark); font-weight: 900; text-decoration: none; }
.involved-card a:hover, .involved-card a:focus-visible { text-decoration: underline; }

.donate { overflow: hidden; background: linear-gradient(130deg, var(--mint), #f4fcf7); }
.donate-grid { display: grid; grid-template-columns: .95fr .75fr; align-items: center; gap: clamp(60px, 10vw, 140px); }
.donate-copy h2 { max-width: 660px; }
.donate-copy > p:not(.eyebrow) { max-width: 650px; font-size: 1.08rem; }
.donate-copy ul { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-weight: 700; }
.donate-copy li::before { content: "✓"; display: inline-grid; width: 24px; height: 24px; place-items: center; margin-right: 10px; border-radius: 50%; background: var(--green); color: #fff; font-size: .72rem; }
.donation-panel { padding: 38px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.panel-label { color: var(--ink); font-weight: 900; }
.amount-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 15px 0 23px; }
.amount-options button { min-height: 54px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font-weight: 900; cursor: pointer; }
.amount-options button:hover, .amount-options button:focus-visible, .amount-options button.selected { border-color: var(--blue); background: var(--sky); color: var(--blue-dark); }
.custom-amount { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: .84rem; font-weight: 800; }
.custom-field { display: flex; align-items: center; height: 54px; margin-bottom: 15px; padding: 0 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.custom-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,153,199,.13); }
.custom-field span { margin-right: 7px; color: var(--ink-soft); font-weight: 800; }
.custom-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.secure-note { margin: 17px 0 0; font-size: .75rem; line-height: 1.45; text-align: center; }
.secure-note span { margin-right: 5px; color: var(--green); }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-heading p:last-child { max-width: 480px; font-size: 1.06rem; }
.contact-details { border-top: 1px solid var(--line); }
.contact-details > a, .contact-details > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-details span { color: var(--blue-dark); font-size: .76rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.contact-details strong { overflow-wrap: anywhere; font-size: 1.08rem; }
.contact-details a:hover strong, .contact-details a:focus-visible strong { color: var(--blue-dark); text-decoration: underline; }

.site-footer { background: #061b29; color: #fff; }
.footer-main { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 68px; height: 68px; border-radius: 15px; }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: 1.08rem; }
.footer-brand span { margin-top: 5px; color: rgba(255,255,255,.6); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 28px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: .84rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; text-decoration: underline; }
.footer-bottom { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.55); font-size: .74rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .83rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-visual { min-height: 530px; }
  .hero-note { width: 175px; padding: 20px; }
  .focus-intro { grid-template-columns: 1fr 1.5fr; }
  .focus-intro > p:last-child { grid-column: 2; }
  .event-wrap { grid-template-columns: 110px 1fr; }
  .event-wrap .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .topbar-links a:last-child { display: none; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 126px; left: 20px; right: 20px; display: none; align-items: stretch; gap: 0; padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 13px 12px; font-size: .95rem; }
  .nav-links a::after { display: none; }
  .nav-donate { margin-top: 8px; text-align: center; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { padding-top: 62px; }
  .hero-grid, .mission-grid, .donate-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 660px; width: 100%; min-height: 620px; margin: 25px auto 0; }
  .mission-grid, .donate-grid, .contact-grid { gap: 45px; }
  .mission-copy { padding-top: 0; }
  .focus-grid { column-gap: 35px; }
  .programs-head { grid-template-columns: 1fr; gap: 18px; }
  .involved-grid { grid-template-columns: 1fr; }
  .involved-card { min-height: 280px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .topbar-inner { min-height: 42px; }
  .topbar-links { gap: 10px; }
  .nav { height: 78px; }
  .brand img { width: 50px; height: 50px; }
  .brand strong { font-size: .88rem; }
  .brand small { font-size: .7rem; }
  .nav-links { top: 112px; left: 14px; right: 14px; }
  .hero { padding: 48px 0 72px; }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 8px; }
  .hero-visual { min-height: 490px; }
  .hero-photo-frame { inset: 0 0 58px 0; border-radius: 120px 120px 24px 24px; }
  .hero-note { top: 18px; left: -5px; width: 155px; padding: 16px; }
  .hero-note p { font-size: .9rem; }
  .hero-mini { left: 26px; right: -4px; max-width: 305px; }
  .hero-mini img { width: 66px; height: 58px; }
  .mission-principles, .focus-grid { grid-template-columns: 1fr; }
  .focus-intro { grid-template-columns: 1fr; gap: 10px; }
  .focus-intro > p:last-child { grid-column: auto; }
  .focus-item { grid-template-columns: 42px 1fr; }
  .story-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .story, .story-wide, .story-tall, .story:nth-child(2), .story:nth-child(3) { grid-column: auto; height: 280px; }
  .event { padding: 60px 0; }
  .event-wrap { grid-template-columns: 88px 1fr; gap: 22px; }
  .event-date { width: 82px; height: 105px; }
  .event-date strong { font-size: 2.3rem; }
  .event-copy h2 { font-size: 2rem; }
  .event-copy p, .event-meta { grid-column: 1 / -1; }
  .event-wrap .button { grid-column: 1 / -1; width: 100%; }
  .involved-card, .donation-panel { padding: 28px; }
  .amount-options { grid-template-columns: 1fr 1fr; }
  .contact-details > a, .contact-details > div { grid-template-columns: 1fr; gap: 5px; }
  .footer-main { align-items: flex-start; flex-direction: column; padding: 42px 0; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 20px 0; }
}

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

.volunteer-request { background: var(--cream); scroll-margin-top: 110px; }
.volunteer-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.volunteer-panel h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.volunteer-details { background: var(--white); padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.volunteer-details ul { padding-left: 22px; margin-bottom: 26px; color: var(--ink-soft); }
.volunteer-details li { margin-bottom: 8px; }
.volunteer-help { font-size: .88rem; margin: 15px 0 22px; }
.volunteer-download { color: var(--blue-dark); font-weight: 700; text-underline-offset: 4px; }
.volunteer-phone { margin: 22px 0 0; font-size: .95rem; }
@media (max-width: 800px) { .volunteer-panel { grid-template-columns: 1fr; } }
