:root {
  --deep: #07263a; --deep-2: #0c3a55; --tide: #14708c; --shallows: #8fd0d6;
  --foam: #f2f7f8; --paper: #ffffff; --ink: #12222c; --ink-soft: #46606e; --rule: #d5e2e6;
  --buoy: #ff5a36; --buoy-dark: #d93f1d;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem; --wrap-text: 40rem; --gutter: clamp(1.25rem, 4vw, 2.5rem); --radius: 0.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--tide); text-underline-offset: 0.2em; }
a:hover { color: var(--deep-2); }
:focus-visible { outline: 3px solid var(--buoy); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.6em; color: var(--deep); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100; width: auto; height: auto; clip: auto; background: var(--paper); color: var(--deep); padding: 0.75rem 1rem; }

.btn { display: inline-block; font: 700 1rem/1 var(--font-body); padding: 0.95rem 1.5rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--donate { background: var(--buoy); color: #fff; }
.btn--donate:hover { background: var(--buoy-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn--small { padding: 0.65rem 1.1rem; font-size: 0.9375rem; }
.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { background: var(--deep-2); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--deep); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.site-brand { font: 600 1.5rem/1 var(--font-display); color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.site-brand:hover { color: var(--shallows); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 0.6rem 0.8rem; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.975rem; border-radius: var(--radius); }
.primary-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 15rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--deep-2); padding: 0.5rem; border-radius: var(--radius); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.5); color: #fff; font: 700 0.9375rem var(--font-body); padding: 0.55rem 0.9rem; border-radius: 999px; cursor: pointer; }
@media (max-width: 62rem) {
  .nav-toggle { display: inline-block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); padding: 0.75rem var(--gutter) 1.5rem; max-height: calc(100vh - 4.25rem); overflow-y: auto; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .primary-nav .sub-menu { display: flex; position: static; box-shadow: none; background: none; padding: 0 0 0 1rem; }
}

.hero { position: relative; background: radial-gradient(120% 90% at 85% 0%, var(--deep-2) 0%, transparent 60%), linear-gradient(180deg, var(--deep) 0%, #052031 100%); color: #fff; padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(7rem, 14vw, 11rem); overflow: hidden; }
.hero__inner { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.75rem, 8.2vw, 6.25rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; max-width: 14ch; margin-bottom: 0.45em; }
.hero__sub { max-width: 34rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #d6e8ee; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__waves svg { width: 100%; height: clamp(4rem, 10vw, 8rem); }
.hero__waves path:nth-child(1) { fill: rgba(20,112,140,.55); }
.hero__waves path:nth-child(2) { fill: rgba(143,208,214,.35); }
.hero__waves path:nth-child(3) { fill: var(--foam); }

.hero--image { min-height: clamp(36rem, 86vh, 56rem); display: flex; align-items: flex-start; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(5rem, 9vw, 7rem); background: var(--deep); }
.hero__photo { position: absolute; top: 0; left: 0; z-index: 0; width: 116%; max-width: none; height: 100%; object-fit: cover; object-position: 0% 40%; }
.hero--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,38,58,.92) 0%, rgba(7,38,58,.78) 30%, rgba(7,38,58,.3) 50%, rgba(7,38,58,0) 64%), linear-gradient(180deg, rgba(7,38,58,.5) 0%, rgba(7,38,58,0) 34%); }
.hero--image .hero__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); }
.hero--image h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); max-width: 20ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(4,26,40,.45); }
.hero--image .hero__sub { max-width: 31rem; font-size: clamp(1rem, 1.35vw, 1.1rem); line-height: 1.6; text-shadow: 0 1px 14px rgba(4,26,40,.55); }
.hero--image .hero__waves path:nth-child(-n+2) { display: none; }
.hero--image .hero__waves svg { height: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 44rem) {
  .hero--image { display: block; min-height: 0; padding-top: 0; padding-bottom: 0; }
  .hero--image::before { display: none; }
  .hero--image .hero__inner { padding-top: 2rem; padding-bottom: 3.5rem; }
  .hero--image h1 { max-width: 14ch; text-shadow: none; }
  .hero--image .hero__sub { max-width: none; text-shadow: none; font-size: 1.05rem; }
  .hero__photo { position: static; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: 68% 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__waves path:nth-child(1) { animation: drift 14s ease-in-out infinite alternate; }
  .hero__waves path:nth-child(2) { animation: drift 10s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { from { transform: translateX(-2%); } to { transform: translateX(2%); } }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--foam { background: var(--foam); }
.section__head { max-width: 38rem; margin-bottom: 2.5rem; }
.section__head p { color: var(--ink-soft); font-size: 1.125rem; }

.facts { margin: 0; display: grid; gap: 1.25rem; }
.facts--row { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; }
.facts div { border-top: 3px solid var(--tide); padding-top: 0.75rem; }
.facts dt { font: 600 2.25rem/1 var(--font-display); color: var(--deep); }
.facts dd { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.975rem; }
@media (max-width: 34rem) { .facts--row { grid-template-columns: 1fr; gap: 1.5rem; } }

.focus { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.focus a { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr auto; gap: 1.5rem; align-items: baseline; padding: 1.5rem 0.25rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: background-color .15s, padding .15s; }
.focus a:hover { background: var(--foam); padding-inline: 1rem; }
.focus__name { font: 600 1.625rem/1.1 var(--font-display); color: var(--deep); }
.focus__desc { color: var(--ink-soft); }
.focus__go { font-weight: 700; color: var(--tide); white-space: nowrap; }
@media (max-width: 44rem) { .focus a { grid-template-columns: 1fr; gap: 0.35rem; } }

.wins { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.win { border-left: 3px solid var(--shallows); padding-left: 1.25rem; }
.win h3 { margin-bottom: 0.4em; }
.win p { color: var(--ink-soft); margin: 0; }
@media (max-width: 52rem) { .wins { grid-template-columns: 1fr; } }

.news { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.news__item a { text-decoration: none; color: inherit; display: block; }
.news__img { aspect-ratio: 3 / 2; width: 100%; border-radius: var(--radius); margin-bottom: 1rem; background: linear-gradient(135deg, var(--deep-2), var(--tide)); }
.news__date { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.35rem; display: block; }
.news__title { font: 600 1.3rem/1.2 var(--font-display); color: var(--deep); margin: 0 0 0.5rem; }
.news__item a:hover .news__title { color: var(--tide); text-decoration: underline; }
.news__more { margin-top: 2.25rem; }
@media (max-width: 52rem) { .news { grid-template-columns: 1fr; } }

.give { background: var(--deep); color: #fff; }
.give__inner { display: grid; gap: 2.5rem; grid-template-columns: 1.3fr 1fr; align-items: center; }
.give h2 { color: #fff; }
.give p { color: #d6e8ee; font-size: 1.15rem; max-width: 34rem; }
.give__panel { background: var(--deep-2); border-radius: var(--radius); padding: 2rem; }
.give__panel ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.75rem; }
.give__panel li { padding-left: 1.5rem; position: relative; color: #e6f2f5; }
.give__panel li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.7rem; height: 3px; background: var(--buoy); }
.give__note { font-size: 0.9rem !important; color: #a9c6d0 !important; margin: 1rem 0 0; }
@media (max-width: 52rem) { .give__inner { grid-template-columns: 1fr; } }

.signup { background: var(--foam); }
.signup__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.signup h2 { margin-bottom: 0.25em; font-size: clamp(1.5rem, 3vw, 2rem); }
.signup p { margin: 0; color: var(--ink-soft); }

.site-footer { background: #041a28; color: #b9d0d8; padding: 4rem 0 2rem; font-size: 0.975rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr repeat(4, 1fr); }
.site-footer h2 { font: 700 0.95rem var(--font-body); letter-spacing: 0; color: #fff; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; }
.site-footer__brand { font: 600 1.6rem/1 var(--font-display); color: #fff; margin-bottom: 1rem; display: block; text-decoration: none; }
.site-footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.9rem; }
@media (max-width: 52rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .site-footer__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.site-brand { display: inline-flex; align-items: center; }
.site-brand img { display: block; height: 3.75rem; width: auto; }
.site-footer__brand img { display: block; height: 4.5rem; width: auto; }

/* focus photo placeholders */
.focus__photo { display: grid; place-items: center; align-content: center; gap: 0.35rem; aspect-ratio: 4 / 3; border: 2px dashed var(--shallows); border-radius: var(--radius); background: var(--foam); color: var(--tide); font-size: 0.9rem; font-weight: 700; }
@media (min-width: 56.01rem) {
  .focus a { grid-template-columns: 15rem minmax(9rem, 1fr) 2fr auto; gap: 1.5rem 2rem; align-items: center; }
}
@media (max-width: 56rem) {
  .focus a { grid-template-columns: 1fr; gap: 0.75rem; }
  .focus__photo { aspect-ratio: 16 / 9; }
}

.focus__photo--img { display: block; width: 100%; height: auto; border: 0; background: none; object-fit: cover; }

.site-footer h2 a { color: #fff; text-decoration: none; }
.site-footer h2 a:hover, .site-footer h2 a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }

.policy { padding: clamp(2rem, 5vw, 3.5rem) 0 4.5rem; }
.policy h2 { font-size: 1.35rem; margin: 2.25rem 0 0.6rem; }
.policy p, .policy li { line-height: 1.65; }
.policy ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.policy li { margin-bottom: 0.4rem; }
.policy address { font-style: normal; line-height: 1.7; }

.supporters__list { columns: 2 16rem; column-gap: 2.5rem; list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.supporters__list li { break-inside: avoid; padding: 0.5rem 0; border-bottom: 1px solid var(--shallows); margin: 0; }
.thankyou__links { margin-top: 2rem; }

.site-footer__social { display: inline-flex; gap: 0.6rem; vertical-align: middle; margin-left: 0.5rem; }
.site-footer__social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.site-footer__social a:hover, .site-footer__social a:focus-visible { background: rgba(255,255,255,0.15); border-color: #fff; }

img.news__img { display: block; object-fit: cover; height: auto; background: var(--foam); }

