/* ============================================================
   PROJECT 22 — Fundraising That Makes an Impact
   Brand: deep navy · golden yellow · duck orange · wave blue
   Type:  Quicksand (display) · Nunito Sans (body)
   ============================================================ */

:root {
  --navy-900: #0A2A43;
  --navy-800: #0E3A5D;
  --navy-700: #14477D;
  --navy-600: #1B5A8A;
  --gold-500: #F5A623;
  --gold-400: #FFB733;
  --gold-300: #FFCD6B;
  --orange-500: #E8641B;
  --wave-300: #A9D6E5;
  --wave-200: #CDE8F2;
  --cream: #FBF7EF;
  --paper: #F4F8FB;
  --white: #FFFFFF;
  --ink: #1E2A35;
  --ink-soft: #4A5A68;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 34px rgba(10, 42, 67, 0.12);
  --shadow-lift: 0 18px 48px rgba(10, 42, 67, 0.20);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4, .display {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.15;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-600); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- kicker / eyebrow ---------- */
.kicker {
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 14px;
}
.kicker--gold { color: var(--gold-500); }

/* ---------- top ribbon ---------- */
.ribbon {
  background: var(--navy-900);
  color: var(--wave-200);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px 16px;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
}
.ribbon strong { color: var(--gold-400); }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 71, 125, 0.10);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.nav__brand img { width: 54px; height: 54px; }
.nav__brand span {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav__links a {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-700);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__links a:hover { color: var(--orange-500); }
.nav__links a.is-active { border-color: var(--gold-500); color: var(--navy-900); }
.nav__cta {
  background: var(--gold-500);
  color: var(--navy-900) !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  border-bottom: none !important;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 166, 35, 0.5); color: var(--navy-900) !important; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__links--mobile-keep { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.45);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(245, 166, 35, 0.55); }
.btn--ghost {
  border: 2px solid var(--wave-300);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(169, 214, 229, 0.14); transform: translateY(-3px); }
.btn--navy {
  background: var(--navy-700);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(20, 71, 125, 0.35);
}
.btn--navy:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 71, 125, 0.45); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 42, 67, 0.94) 0%, rgba(14, 58, 93, 0.72) 55%, rgba(14, 58, 93, 0.35) 100%);
}
.hero__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 24px 150px;
}
.hero__inner--short { padding: 80px 24px 120px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-400);
  position: relative;
  white-space: nowrap;
}
.hero p.lede {
  font-size: 1.18rem;
  max-width: 52ch;
  color: var(--wave-200);
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .kicker { color: var(--gold-400); }

/* wave divider */
.wave {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: -1px;
}
.wave--flip { transform: scaleY(-1); }

/* animated load-in */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.18s; }
.rise-3 { animation-delay: 0.32s; }
.rise-4 { animation-delay: 0.46s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.bob { animation: bob 5s ease-in-out infinite; }

/* ---------- stat band ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin: -70px auto 0;
  max-width: 1120px;
  padding: 0 24px;
}
.stats__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 30px 26px;
  text-align: center;
  border-right: 1px dashed rgba(20, 71, 125, 0.18);
}
.stat:last-child { border-right: none; }
.stat b {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-size: 2rem;
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: 8px;
}
.stat b span { color: var(--gold-500); }
.stat small {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
@media (max-width: 800px) {
  .stats__card { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px dashed rgba(20, 71, 125, 0.18); }
}

/* ---------- sections ---------- */
.section { padding: 90px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-800); color: var(--wave-200); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; max-width: 24ch; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.img-frame--tilt { transform: rotate(-2deg); }
.img-frame--tilt2 { transform: rotate(2deg); }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  border-top: 6px solid var(--gold-500);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--gold-400);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

/* partner cards */
.partner {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.partner__band { height: 10px; background: linear-gradient(90deg, var(--navy-700), var(--wave-300)); }
.partner__band--red { background: linear-gradient(90deg, #8E1F1F, #C0392B); }
.partner__band--green { background: linear-gradient(90deg, #1F5E3D, #3E8E63); }
.partner__body { padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.partner h3 { font-size: 1.3rem; }
.partner .where {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.partner p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.partner a.more {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  color: var(--navy-700);
  text-decoration: none;
}
.partner a.more:hover { color: var(--orange-500); }

/* ---------- pull quote ---------- */
.pull {
  border-left: 6px solid var(--gold-500);
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 26px 30px;
  box-shadow: var(--shadow-soft);
  font-size: 1.15rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  color: var(--navy-800);
}

/* ---------- big 22 ---------- */
.twentytwo {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(7rem, 18vw, 13rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 3px var(--gold-500);
  opacity: 0.9;
}

/* ---------- CTA banner ---------- */
.cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 166, 35, 0.25), transparent 45%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lift);
}
.cta h2 { color: var(--white); margin-bottom: 10px; }
.cta p { color: var(--wave-200); max-width: 48ch; }
.cta > div:first-child { flex: 1 1 380px; }

/* ---------- footer ---------- */
.footer {
  background: var(--navy-900);
  color: var(--wave-200);
  padding: 70px 0 34px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: var(--gold-400);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: var(--wave-200); text-decoration: none; }
.footer a:hover { color: var(--gold-300); }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer__brand img { width: 62px; height: 62px; }
.footer__brand span { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--white); }
.footer .tagline { font-size: 0.95rem; max-width: 40ch; }
.footer__bottom {
  border-top: 1px solid rgba(169, 214, 229, 0.2);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(205, 232, 242, 0.65);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 166, 35, 0.18), transparent 40%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero .hero__inner { padding: 76px 24px 110px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p.lede { color: var(--wave-200); font-size: 1.12rem; max-width: 58ch; margin-top: 16px; }

/* ---------- stub notice ---------- */
.stub-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-300);
  color: var(--navy-900);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

/* ---------- forms (stub) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
label {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-800);
  margin-bottom: 6px;
}
input, textarea, select {
  width: 100%;
  border: 2px solid rgba(20, 71, 125, 0.18);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--gold-500); }

/* ---------- misc ---------- */
.checklist { list-style: none; margin: 22px 0; }
.checklist li {
  padding-left: 38px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.section--navy .checklist li { color: var(--wave-200); }

.crisis {
  background: var(--cream);
  border: 2px dashed var(--gold-500);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.crisis b { color: var(--navy-800); }
