/* ==========================================================================
   Centered on Hope — Saratoga Center for the Family capital campaign site
   Style guide: Open Sans; #133e68 navy, #3179b5 blue, #d7e7f7 light blue,
   #f9cf63 yellow. H1 48 EB / H2 36 EB / H3 16 Bold Italic / H4 24 EB /
   P1 16 Regular / P2 18 Regular.
   ========================================================================== */

:root {
  --navy: #133e68;
  --blue: #3179b5;
  --light-blue: #d7e7f7;
  --yellow: #f9cf63;
  --yellow-hover: #f5c23f;
  --ink: #231f20;
  --white: #ffffff;
  --gray: #86888b; /* darkened slightly from #939598 so white placeholder text passes contrast */
  --track: #c7c8ca;
  --progress: #00aeef;

  --font: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --h1: clamp(30px, 2.5vw, 48px);
  --h2: clamp(28px, 3vw, 36px);
  --h3: 16px;
  --h4: clamp(20px, 2vw, 24px);
  --p1: 16px;
  --p2: 18px;

  --container: 1400px;
  --gutter: clamp(20px, 5vw, 96px);
  --header-h: 110px;
  --section-pad: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--p1);
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

/* Skip link: visible only when focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
}
.skip-link:focus { top: 0; outline: 3px solid var(--navy); outline-offset: 2px; }

/* Keyboard focus ring, visible on both dark and yellow backgrounds */
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn:focus-visible,
.band-yellow :focus-visible,
.testimonials :focus-visible,
.impact :focus-visible,
.panel-light-blue :focus-visible,
.photo-strip :focus-visible,
main > .section :focus-visible { outline-color: var(--navy); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Type scale ---------- */

h1, h2, h3, h4, .h1, .h2, .h3, .h4 { margin: 0; line-height: 1.1; }

h1, .h1 { font-size: var(--h1); font-weight: 800; text-transform: uppercase; }
h2, .h2 { font-size: var(--h2); font-weight: 800; text-transform: uppercase; color: var(--navy); }
h3, .h3, .eyebrow {
  font-size: var(--h3);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.eyebrow { color: inherit; line-height: 1.1; }
h4, .h4 { font-size: var(--h4); font-weight: 800; text-transform: uppercase; color: var(--navy); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.p2 { font-size: var(--p2); }

.eyebrow { display: block; margin-bottom: 14px; }
.eyebrow + h1, .eyebrow + h2, .eyebrow + .h2 { margin-bottom: 18px; }

.text-center { text-align: center; }
.text-white { color: var(--white); }

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

.measure { max-width: 1150px; margin-inline: auto; }
.measure-narrow { max-width: 920px; margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 24px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--yellow-hover); }
.btn:active { transform: translateY(1px); }

.btn-nav {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 26px;
}

/* ==========================================================================
   Header / navigation (sticky)
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header::before {
  /* subtle dark scrim so the white nav type stays legible over photos */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% + 15px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.2) 75%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header .container { position: relative; }
.site-header.is-scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  height: 84px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .brand img {
  height: 72px;
  width: auto;
  transition: height 0.3s ease;
}
.site-header.is-scrolled .brand img { height: 56px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a:not(.btn) {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  position: absolute;
  left: 9px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero (split: navy panel + photo)
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  min-height: 780px;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  position: absolute;
  right: 0; top: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy) 0%,
    var(--navy) 40%,
    rgba(19, 62, 104, 0.85) 48%,
    rgba(19, 62, 104, 0.35) 58%,
    rgba(19, 62, 104, 0) 70%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 480px);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 18px; max-width: 12ch; }
.hero-copy p { max-width: 42ch; }
.hero-copy .eyebrow { margin: 20px 0 0; }

/* Full-bleed static photo hero (Our Project) */
.hero-slider {
  position: relative;
  height: clamp(420px, 36vw, 680px);
  background: var(--navy);
  overflow: hidden;
}
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.hero-slider img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Givebutter donate widget
   ========================================================================== */

.donate-widget {
  width: 100%;
  max-width: 320px;
  justify-self: start;
  scroll-margin-top: 100px; /* clear the fixed header when the Donate link jumps here */
}
/* The placeholder mock is shown until the Givebutter script defines the element. */
.donate-placeholder { display: none; }
.donate-widget:has(givebutter-widget:not(:defined)) .donate-placeholder { display: block; }
.donate-widget:not(:has(givebutter-widget:defined)) .donate-placeholder { display: block; }

.donate-placeholder {
  background: var(--white);
  color: #1f2937;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  font-size: 13px;
  text-transform: none;
}
.donate-placeholder .dp-body { padding: 20px 20px 16px; }
.donate-placeholder .dp-title {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; margin-bottom: 14px; position: relative;
}
.donate-placeholder .dp-title::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; background: #16a34a;
}
.donate-placeholder .dp-title::after {
  content: "\00d7"; position: absolute; right: 0; top: -4px; font-size: 20px; color: #111;
}
.donate-placeholder .dp-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #f3f4f6; border-radius: 8px; padding: 4px; margin-bottom: 14px;
}
.donate-placeholder .dp-toggle span { text-align: center; padding: 8px; border-radius: 6px; font-weight: 600; }
.donate-placeholder .dp-toggle span.is-on { background: #c7d2fe; border: 1px solid #6366f1; }
.donate-placeholder .dp-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.donate-placeholder .dp-amounts span { background: #f3f4f6; border-radius: 6px; padding: 10px; text-align: center; font-weight: 600; }
.donate-placeholder .dp-other {
  background: #f3f4f6; border-radius: 6px; padding: 10px 12px;
  display: flex; justify-content: space-between; color: #4b5563; margin-bottom: 14px;
}
.donate-placeholder .dp-other b { color: #111; font-weight: 600; }
.donate-placeholder .dp-check { display: flex; align-items: center; gap: 8px; color: #374151; margin-bottom: 6px; }
.donate-placeholder .dp-check::before { content: ""; width: 12px; height: 12px; border: 1px solid #d1d5db; border-radius: 3px; }
.donate-placeholder .dp-continue {
  margin-top: 14px; background: #4f46e5; color: #fff; text-align: center;
  padding: 12px; border-radius: 6px; font-weight: 600;
}
.donate-placeholder .dp-foot {
  background: #f9fafb; padding: 10px; text-align: center; font-size: 11px; font-weight: 600; color: #111;
}

/* ==========================================================================
   Bands & sections
   ========================================================================== */

.band { padding-block: 44px; text-align: center; }
.band-yellow { background: var(--yellow); color: #000; }
.band-blue { background: var(--blue); color: var(--white); }
.band-blue h2, .band-blue h4, .band-blue .h4 { color: var(--white); }
.band-yellow h4, .band-yellow .h4 { color: #000; }
.band .h4 { max-width: 900px; margin-inline: auto; line-height: 1.35; font-size: clamp(17px, 1.3vw, 20px); font-weight: 700; }

.band-slim { padding-block: 24px; }
.band-slim .h4 { font-size: 20px; }

/* Three-up icon features */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 64px);
  text-align: center;
}
.feature-icon {
  height: 110px;
  margin: 0 auto 26px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.feature-icon img { max-height: 110px; width: auto; }
.feature .h4 { margin-bottom: 14px; font-size: clamp(18px, 1.55vw, 24px); text-wrap: balance; }
.feature p { max-width: 36ch; margin-inline: auto; }
.feature .feature-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.feature .feature-link:hover { text-decoration: underline; }

/* Split image / panel */
.split {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  min-height: 560px;
}
.split-media { position: relative; }
.split-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-media img.focus-top { object-position: center top; } /* keep heads in frame when the panel is taller than the photo */
.split-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 4vw, 64px);
}
.split-panel.panel-light-blue { background: var(--light-blue); }
.split-panel h2:not(.eyebrow) { color: var(--ink); margin-bottom: 18px; font-size: clamp(22px, 1.8vw, 36px); text-wrap: balance; }
.split-panel .btn { margin-top: 32px; align-self: flex-start; }
.split.split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* Team photo: the photo's own proportions set the row height, so nothing is cropped top or bottom at any width.
   If the text panel is taller, the photo only trims the empty wall/plant at its sides. */
.split.split-even .split-media { aspect-ratio: 2000 / 1578; min-height: 0; align-self: stretch; }

/* ==========================================================================
   Goal / progress section with confetti video
   ========================================================================== */

.goal {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.goal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.goal .container { position: relative; z-index: 1; }
.goal h2 { margin-bottom: 12px; }
.goal .lede { max-width: 72ch; margin: 0 auto 48px; }

.progress {
  max-width: 1150px;
  margin: 0 auto 64px;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: var(--p2);
  margin-bottom: 10px;
  padding-inline: 16px;
}
.progress-bar {
  height: 30px;
  background: var(--track);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--progress);
  border-radius: 999px 0 0 999px;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.goal .features p { font-size: var(--p2); }
.goal .feature-icon { height: 90px; margin-bottom: 20px; }
.goal .feature-icon img { max-height: 90px; }

/* ==========================================================================
   Carousel (testimonials, hero slider, photo strip)
   ========================================================================== */

.carousel { position: relative; }
.carousel-viewport { overflow: hidden; min-width: 0; }
.carousel { min-width: 0; }
.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0; /* figure/blockquote default side margins would widen the slide */
}
.carousel-slide blockquote { margin-inline: 0; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 56px; height: 56px;
  background: transparent;
  border: 0;
  padding: 0;
  color: currentColor;
  display: grid;
  place-items: center;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.carousel-btn:hover { opacity: 1; }
.carousel-btn.prev { left: clamp(8px, 2vw, 40px); }
.carousel-btn.next { right: clamp(8px, 2vw, 40px); }
.carousel-btn svg { width: 22px; height: 40px; stroke: currentColor; fill: none; stroke-width: 2; }
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 20px;
}
/* 24px touch target with an 8px visible dot */
.carousel-dots button:not(.carousel-pause) {
  width: 24px; height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  color: inherit;
}
.carousel-dots button:not(.carousel-pause)::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
.carousel-dots button[aria-current="true"]::before { opacity: 1; }
.carousel-dots .carousel-pause { width: 32px; height: 32px; }

/* Pause / play control for auto-rotating content */
.carousel-pause {
  width: 32px; height: 32px;
  margin-left: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  display: inline-grid;
  place-items: center;
  padding: 0;
  opacity: 0.8;
}
.carousel-pause:hover { opacity: 1; }
.carousel-pause svg { width: 12px; height: 12px; fill: currentColor; }
.carousel-pause--floating {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 3;
  margin: 0;
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
}
.donor-band .carousel-pause {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  margin: 0;
  color: var(--white);
}
.donor-band { position: relative; }

/* Testimonial carousel (yellow band) */
.testimonials {
  background: var(--yellow);
  color: #000;
  padding-block: 64px;
  text-align: center;
}
.testimonials .carousel-slide { padding-inline: clamp(64px, 8vw, 140px); }
.carousel-slide .testimonial-quote {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 1000px;
  margin: 0 auto 16px; /* auto side margins center the block; must out-rank `.carousel-slide blockquote` */
}
.testimonial-cite {
  font-style: normal;
  font-weight: 700;
  font-size: var(--p2);
}

/* Team testimonials inside light-blue panel */
.team-panel { --team-pad: 56px; }
.team-panel .carousel-slide { padding-inline: var(--team-pad); }
.team-panel .eyebrow { padding-inline: var(--team-pad); margin-bottom: 28px; }
.team-panel .carousel-slide .testimonial-quote { text-align: left; margin-inline: 0; color: var(--ink); }
.team-panel .testimonial-cite { display: block; text-align: left; color: var(--ink); }
.team-panel .carousel-btn { color: var(--navy); }
.team-panel .carousel-dots { color: var(--navy); }

/* Photo strip (3 up) */
.photo-strip { background: var(--gray); color: var(--white); }
.photo-strip .carousel-slide { flex-basis: calc(100% / 3); height: clamp(220px, 24vw, 400px); }
.photo-strip .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip .photo-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  background: var(--gray);
}
.photo-strip .carousel-btn { color: var(--white); }

/* Donor thank-you band */
.donor-band {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding-block: 22px;
  min-height: 72px;
  display: grid;
  place-items: center;
}
.donor-band .h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  transition: opacity 0.5s ease;
}
.donor-band .h4.is-fading { opacity: 0; }

/* Video placeholder */
.video-placeholder {
  background: var(--gray);
  color: var(--white);
  min-height: clamp(320px, 42vw, 720px);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  margin-top: 16px;
}
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Impact list (yellow) */
.impact {
  background: var(--yellow);
  color: #000;
}
.impact .container {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.impact h2 { color: var(--ink); margin-bottom: 14px; font-size: clamp(24px, 2.3vw, 36px); text-wrap: balance; }
.impact ul { margin: 0 0 16px; padding: 0; list-style: none; }
.impact li { margin-bottom: 6px; padding-left: 14px; position: relative; }
.impact li::before { content: "\2022"; position: absolute; left: 0; }

/* Intro page title (Our Project) — sized to the H2 scale per the design proportions */
.page-title {
  color: var(--navy);
  font-size: clamp(26px, 2.2vw, 36px);
  margin-bottom: 28px;
  text-wrap: balance;
}

/* Phases */
.phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  max-width: 1000px;
  margin: 48px auto 0;
  text-align: center;
}
.phases .h4 { font-size: 28px; margin-bottom: 14px; }
.phases .h4 span { padding-inline: 10px; font-weight: 400; }

/* ==========================================================================
   Partners + footer
   ========================================================================== */

.partners {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 36px 0 44px;
  border-bottom: 10px solid var(--yellow);
}
.partners h2 { color: var(--white); font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.partners .h4 {
  color: var(--white);
  font-size: var(--p2);
  font-weight: 700;
  text-transform: none;
  margin-bottom: 36px;
}
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  flex-wrap: wrap;
}
.partner-logos img { height: clamp(40px, 4vw, 64px); width: auto; }
.partner-logos a, .partner-logos span { display: block; line-height: 0; }
.footer-brand .logo-scff-link { display: block; line-height: 0; }

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 72px;
}
.footer-brand {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  margin-bottom: 64px;
}
.footer-brand .logo-campaign { height: clamp(90px, 9vw, 140px); width: auto; }
.footer-brand .logo-scff { height: clamp(90px, 9vw, 140px); width: auto; }
.footer-contact {
  border-left: 3px solid var(--white);
  padding-left: 20px;
  font-weight: 700;
  font-size: var(--p2);
  line-height: 1.6;
}
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.signup .h4 { color: var(--white); font-size: 20px; margin-bottom: 20px; }
.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: clamp(16px, 4vw, 60px);
  align-items: center;
}
.signup-form input {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.signup-form .btn { height: 44px; padding-inline: 30px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 300px minmax(0, 1fr); }
  .hero-media img { width: 55%; }
  .split, .split.split-even { grid-template-columns: minmax(0, 1fr); }
  .split-media { min-height: 360px; }
  .split-media img { position: absolute; }
}

@media (max-width: 900px) {
  :root { --header-h: 84px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 24px;
    gap: 0;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .site-nav .btn-nav { margin-top: 16px; text-align: center; }
  .site-header .brand img { height: 56px; }

  .hero {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 48px;
    display: block;
  }
  .hero-media {
    position: relative;
    height: 60vw;
    min-height: 300px;
  }
  .hero-media img { width: 100%; }
  .hero-media::after {
    background: linear-gradient(180deg,
      rgba(19, 62, 104, 0.35) 0%,
      rgba(19, 62, 104, 0) 40%,
      rgba(19, 62, 104, 0) 70%,
      var(--navy) 100%);
  }
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -40px;
  }
  .hero-copy { order: -1; }
  .hero-copy h1 { max-width: none; }
  .donate-widget { justify-self: center; }

  .features { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .phases { grid-template-columns: 1fr; gap: 40px; }
  .impact .container { grid-template-columns: minmax(0, 1fr); }
  .impact .donate-widget { justify-self: center; }
  .photo-strip .carousel-slide { flex-basis: 50%; }
  /* Footer: compact row of logos + contact, instead of a tall stack */
  .site-footer { padding: 44px 0 48px; }
  .footer-brand {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 40px;
    margin-bottom: 40px;
  }
  .footer-brand .logo-campaign,
  .footer-brand .logo-scff { height: 76px; }
  .footer-contact { font-size: 16px; padding-left: 16px; }
  .signup-form { grid-template-columns: 1fr 1fr; gap: 14px; }
  .signup-form .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 600px) {
  .testimonials .carousel-slide { padding-inline: 44px; }
  .team-panel { --team-pad: 36px; }
  .carousel-btn { width: 40px; }
  .photo-strip .carousel-slide { flex-basis: 100%; }
  .progress-labels { font-size: 15px; }

  /* Partner logos: stack and span the same width so none look small next to Bonacio */
  .partner-logos { flex-direction: column; gap: 28px; }
  .partner-logos a, .partner-logos span { display: block; width: 100%; max-width: 320px; }
  .partner-logos img { width: 100%; height: auto; }

  .footer-brand { gap: 20px 28px; margin-bottom: 32px; }
  .footer-brand .logo-campaign,
  .footer-brand .logo-scff { height: 60px; }
  .footer-contact {
    width: 100%;
    border-left: 0;
    padding-left: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    font-size: 15px;
  }
  .signup-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track, .progress-fill { transition: none; }
}

/* Givebutter inline donation form (iframe of the campaign embed) */
.donate-embed { display: block; width: 100%; height: 540px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
