:root {
  --navy: #0d2f4f;
  --navy-deep: #07233c;
  --blue: #3194c6;
  --sky: #82cbee;
  --gold: #f2a431;
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #14283b;
  --muted: #596a79;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Lato", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 100; transform: translateY(-110%); background: white; padding: .75rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 90px; padding: 0 clamp(1rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; color: white; background: var(--navy-deep); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 900; line-height: 1.25; }
.brand-logo { width: 72px; height: 72px; object-fit: contain; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--sky); }

.hero { min-height: 690px; position: relative; display: grid; align-items: end; overflow: hidden; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 50% 52%; }
.hero-shade { background: linear-gradient(90deg, rgba(5,25,43,.92) 0%, rgba(5,25,43,.62) 45%, rgba(5,25,43,.1) 78%), linear-gradient(0deg, rgba(5,25,43,.55), transparent 48%); }
.hero-content { position: relative; z-index: 1; width: min(780px, 90%); margin: 0 0 clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1rem; color: var(--sky); text-transform: uppercase; letter-spacing: .18em; font-size: .77rem; font-weight: 900; }
.eyebrow.dark { color: #267fac; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 1rem; font: 700 clamp(3.2rem, 7vw, 6.4rem)/.88 var(--serif); letter-spacing: -.035em; }
h1 em { color: var(--gold); font-weight: 600; }
.hero-copy { max-width: 650px; margin-bottom: 1.75rem; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 3px; padding: .8rem 1.35rem; font: 900 .86rem/1 var(--sans); letter-spacing: .045em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.button-primary { color: #102b43; background: var(--gold); }
.button-primary:hover, .button-primary:focus-visible { background: #ffc060; }
.button-secondary { color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.75); }
.button-dark { color: #fff; background: var(--navy); }

.campaign-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 1.25rem clamp(1.25rem, 7vw, 7rem); color: #fff; background: var(--blue); }
.campaign-strip div { display: flex; align-items: baseline; gap: 1rem; }
.campaign-strip strong { font: 700 2.3rem/1 var(--serif); }
.strip-label { text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 900; }
.campaign-strip p { margin: 0; }
.campaign-strip > a { font-weight: 900; text-decoration: none; white-space: nowrap; }

.section { padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 7vw, 7rem); }
.story { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr); align-items: center; gap: clamp(2rem, 6vw, 6.5rem); background: var(--cream); }
.story h2, .section-heading h2, .give h2, .trust h2, dialog h2 { margin-bottom: 1.4rem; font: 700 clamp(2.7rem, 5vw, 4.8rem)/.96 var(--serif); letter-spacing: -.025em; }
.story-copy > p:not(.eyebrow), .trust p { color: var(--muted); }
.feature-figure { margin: 0; }
.feature-figure img { aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 20px 50px rgba(13,47,79,.2); }
figcaption { margin-top: .8rem; color: var(--muted); font-size: .82rem; font-style: italic; }

.project { background: var(--paper); }
.section-heading { max-width: 820px; margin-bottom: 3rem; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #d7dde2; border: 1px solid #d7dde2; }
.project-grid article { min-height: 250px; padding: 2rem; background: #fff; }
.project-grid span { color: var(--gold); font: 700 2rem/1 var(--serif); }
.project-grid h3 { margin: 2.5rem 0 .65rem; font: 700 1.65rem/1 var(--serif); }
.project-grid p { color: var(--muted); }

.give { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(370px, 1.15fr); gap: clamp(2rem, 7vw, 7rem); padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 7vw, 7rem); color: #fff; background: var(--navy); }
.give-copy > p:not(.eyebrow):not(.demo-note) { max-width: 580px; font-size: 1.12rem; }
.secure-note { max-width: 560px; margin: 1rem 0 0; color: #b9cedf; font-size: .84rem; }
.give-options { display: grid; align-content: center; gap: 1rem; }
.give-card { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 1.35rem; color: var(--ink); background: #fff; }
.give-number { color: var(--gold); font: 700 2.5rem/1 var(--serif); }
.give-card h3 { margin-bottom: .35rem; font: 700 1.65rem/1 var(--serif); }
.give-card p:last-child { margin-bottom: 0; }
.download-link { padding-top: .8rem; color: var(--sky); font-weight: 900; text-decoration: none; }
.trust { text-align: center; background: var(--cream); }
.trust h2 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.trust p { max-width: 920px; margin-left: auto; margin-right: auto; font-size: .92rem; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 3rem clamp(1.25rem, 7vw, 7rem); color: #fff; background: var(--navy-deep); }
.mahalo { margin-bottom: .3rem; font: italic 600 3rem/1 var(--serif); }
footer p { margin-bottom: .35rem; }
.footer-contact { display: grid; align-content: start; gap: .2rem; text-align: right; }

dialog { width: min(620px, calc(100% - 2rem)); border: 0; border-top: 8px solid var(--gold); padding: 2.2rem; color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(4,20,34,.75); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: .5rem; right: .7rem; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
dialog h2 { font-size: 2.8rem; }

@media (max-width: 900px) {
  .site-header { height: auto; min-height: 84px; }
  nav a:not(:last-child) { display: none; }
  .hero { min-height: 620px; }
  .hero-content { margin-left: 1.25rem; }
  .campaign-strip { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .campaign-strip p { grid-column: 1 / -1; grid-row: 2; }
  .story, .give { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .brand-name { display: none; }
  .brand-logo { width: 62px; height: 62px; }
  .site-header { padding: .7rem 1rem; }
  .hero { min-height: 650px; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,25,43,.94) 0%, rgba(5,25,43,.55) 65%, rgba(5,25,43,.12)); }
  .hero-image { object-position: 58% 50%; }
  .hero-content { width: auto; margin: 0 1.25rem 3rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions .button { width: 100%; }
  .campaign-strip { grid-template-columns: 1fr; padding: 1.2rem; }
  .campaign-strip p { grid-column: auto; grid-row: auto; }
  .campaign-strip > a { white-space: normal; }
  .story { padding-top: 4rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid article { min-height: 200px; }
  footer { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
