/* Global Water Storage Plan — deep blues / aqua, mobile-first, no frameworks */

:root {
  --navy: #06283d;
  --navy-deep: #041c2c;
  --aqua: #2dd4ee;
  --aqua-deep: #0ea5c4;
  --foam: #eaf7fb;
  --white: #ffffff;
  --ink: #10394f;
  --muted: #5b7b8d;
  --sand: #f7f4ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(4, 28, 44, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.container.narrow { width: min(760px, 92%); }

h1, h2, h3 { line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .8rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; color: var(--aqua-deep); margin-bottom: .6rem;
}
.section-dark .eyebrow { color: var(--aqua); }
.aqua { color: var(--aqua); }

.lede, .section-lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-dark .lede, .section-dark .section-lede { color: #b9d6e2; }
.section-lede { margin-bottom: 2.2rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 40, 61, .96); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(45, 212, 238, .25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--white); font-size: 1.05rem; }
.brand strong { font-weight: 800; }
.brand-drop { width: 26px; height: 26px; fill: var(--aqua); flex: none; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: #d7ecf4; text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--aqua); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.7rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--aqua); color: var(--navy-deep); box-shadow: var(--shadow); }
.btn-primary:hover { background: #7ce7fa; }
.btn-ghost { border: 2px solid rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.btn-donate { background: #ffb020; color: #3a2400; box-shadow: var(--shadow); }
.btn-donate:hover { background: #ffc44d; }
.btn-large { font-size: 1.15rem; padding: 1rem 2.6rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #0a3d5c 100%);
  color: var(--white); padding: 5.5rem 0 7rem;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lede { color: #c4dde9; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; }
.hero-waves svg { width: 100%; height: 100%; display: block; }
.hero-waves path { fill: var(--white); }

/* ---------- stats band ---------- */
.stats-band { background: var(--foam); border-bottom: 1px solid #d8ecf3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem 0; }
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--navy); }
.stat-label { font-size: .88rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section-dark { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e6f3f9; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 2rem 0; }
.crisis-card, .region-card {
  background: var(--white); border: 1px solid #dcebf2; border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
}
.crisis-card h3, .region-card h3 { margin-top: .6rem; }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--aqua-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.center-note { text-align: center; color: var(--muted); max-width: 60ch; margin: 1.5rem auto 0; }
.section-dark .center-note { color: #b9d6e2; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 0 0 3rem; counter-reset: step; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(45,212,238,.25); border-radius: var(--radius); padding: 1.5rem 1.3rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--aqua); color: var(--navy-deep); font-weight: 800; margin-bottom: .8rem;
}
.step p { font-size: .95rem; color: #c4dde9; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.pillar { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.5rem 1.3rem; }
.pillar p { font-size: .93rem; color: #c4dde9; }
.pillar .icon { stroke: var(--aqua); }

/* withheld callouts */
.withheld {
  border-left: 4px solid var(--aqua); background: rgba(45,212,238,.08);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.4rem 1.6rem;
}
.withheld h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.withheld p { font-size: .95rem; color: #c4dde9; }
.withheld-light { background: var(--foam); border-left-color: var(--aqua-deep); }
.withheld-light p { color: var(--ink); }

/* region cards */
.region-flag { font-size: 2.2rem; }
.region-tag { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--aqua-deep); background: var(--foam); border-radius: 999px; padding: .25rem .8rem; margin: .4rem 0 .8rem; }
.region-card ul { margin: 1rem 0 0 1.1rem; color: var(--muted); }
.region-card li { margin-bottom: .35rem; }

/* about */
#about p { margin-bottom: 1.1rem; color: #cfe3ed; max-width: 62ch; }
.bio-placeholder {
  border: 1px dashed rgba(45,212,238,.5); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; margin: 1.6rem 0; background: rgba(255,255,255,.04);
}
.bio-placeholder h3 { font-size: 1rem; color: var(--aqua); }
.bio-placeholder p { font-size: .93rem; margin: 0; }
.mission-quote {
  border-left: 4px solid var(--aqua); margin: 2rem 0 0; padding: .6rem 0 .6rem 1.4rem;
  font-size: 1.25rem; font-style: italic; color: var(--white);
}

/* donate */
.donate-section { background: linear-gradient(180deg, var(--sand) 0%, #fff 100%); }
.donate-card {
  background: var(--white); border: 1px solid #e3dcc8; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.2rem; text-align: center; margin-top: 1.6rem;
}
.donate-card ul { list-style: none; text-align: left; max-width: 46ch; margin: 0 auto 1.8rem; }
.donate-card li { padding: .55rem 0 .55rem 1.8rem; position: relative; color: var(--muted); }
.donate-card li::before { content: "💧"; position: absolute; left: 0; }
.donate-card li strong { color: var(--navy); }
.donate-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy-deep); color: #9db9c8; padding: 2.6rem 0; font-size: .9rem; }
.footer-inner { display: grid; gap: .7rem; }
.footer-brand { display: flex; align-items: center; gap: .5rem; color: var(--white); font-weight: 700; }
.footer-brand .brand-drop { width: 22px; height: 22px; }
.footer-disclaimer { max-width: 70ch; }
.footer-copy { color: #6e8a99; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .steps, .pillars { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}
@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
  .steps, .pillars { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; align-items: stretch;
    padding: 1rem 4%; gap: 0; border-bottom: 1px solid rgba(45,212,238,.25);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav a.btn-donate { margin-top: .6rem; text-align: center; border-top: 0; }
  .hero { padding: 3.5rem 0 5.5rem; }
  .section { padding: 3rem 0; }
}
