/* Give Basic Needs Spark - page styles
   Base layout first, then palette and component overrides in the order they apply. */
:root {
  --ink: #153b39;
  --teal: #147b73;
  --deep: #0c4e4b;
  --cream: #f9f5ed;
  --gold: #e9b75d;
  --muted: #56706a;
  --line: #dce8e3;
  --pale: #edf6f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.6 system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  background: #fff;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  line-height: 1.11;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  max-width: 70ch;
}

.wrap {
  max-width: 1180px;
  padding: 0 28px;
  margin: auto;
}

.notice {
  background: #e9f5f1;
  color: #265f57;
  font-size: 12px;
  text-align: center;
  padding: 8px 15px;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  gap: 18px;
}

.wordmark {
  text-decoration: none;
  font-weight: 850;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.wordmark small {
  display: block;
  color: var(--teal);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 5px;
}

.links {
  display: flex;
  gap: 25px;
}

.links a {
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 7px;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  line-height: 1.3;
  transition: transform 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.white {
  background: #fff;
  color: var(--deep);
  border-color: #fff;
}

.btn.line {
  background: transparent;
  color: var(--teal);
}

.eyebrow {
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal);
  font-size: 0.75rem;
  margin-bottom: 16px;
}

.section {
  padding: 100px 0;
}

.lead {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  line-height: 1.55;
}

.hero {
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 660px;
  align-items: stretch;
}

.hero-copy {
  padding: 116px 38px 108px 0;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: #f3d19a;
}

.hero-copy p {
  font-size: 1.19rem;
  color: #dfebe7;
  max-width: 580px;
  margin-bottom: 30px;
}

.hero-art {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: radial-gradient(circle at 54% 40%, #e7bd72 0 13%, transparent 13.3%),
    linear-gradient(160deg, #7da991, #315f50 60%, #183d37);
}

.hero-art:before {
  content: "";
  position: absolute;
  border: 20px solid #fff3;
  aspect-ratio: 1;
  border-radius: 50%;
  width: 390px;
  top: 9%;
  left: 7%;
}

.hero-art:after {
  content: "";
  position: absolute;
  bottom: -140px;
  right: -160px;
  width: 550px;
  height: 550px;
  border: 2px solid #ffffff62;
  border-radius: 50%;
}

.photo-tag {
  position: absolute;
  bottom: 27px;
  left: 24px;
  right: 24px;
  padding: 16px 19px;
  background: #073a36cb;
  color: white;
  border-radius: 10px;
  font-size: 0.83rem;
  line-height: 1.35;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.photo {
  border-radius: 18px;
  min-height: 395px;
  background: linear-gradient(140deg, #d8ba7b, #79a38b 48%, #1a5248);
  position: relative;
  overflow: hidden;
}

.photo:before {
  content: "";
  position: absolute;
  right: 10%;
  top: 12%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 18px solid #ffffff38;
}

.photo .photo-tag {
  right: 20px;
  left: 20px;
  bottom: 20px;
}

.highline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.35;
}

.gold-rule {
  width: 85px;
  height: 5px;
  background: var(--gold);
  border-radius: 4px;
  margin: 0 0 22px;
}

.impact-band {
  background: var(--cream);
  padding: 55px 0;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.micro {
  border-left: 3px solid var(--gold);
  padding-left: 23px;
}

.micro strong {
  font-size: 1.12rem;
  display: block;
  margin-bottom: 5px;
}

.micro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.projects {
  background: var(--pale);
}

.sectiontop {
  max-width: 750px;
  margin-bottom: 44px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature {
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
}

.feature-visual {
  height: 215px;
  background: linear-gradient(145deg, #f1ce94, #7da590, #315c50);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
}

.feature-visual.darkv {
  background: linear-gradient(145deg, #1b665e, #578e80, #d8bd8e);
}

.feature-visual span {
  display: inline-block;
  padding: 7px 12px;
  background: #103f38c7;
  border-radius: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  font-weight: 750;
}

.feature-content {
  padding: 30px;
}

.feature-content p {
  color: var(--muted);
}

.smalltag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 850;
  margin-bottom: 10px;
}

.transition {
  background: var(--deep);
  color: white;
  padding: 86px 0;
  text-align: center;
}

.transition h2 {
  max-width: 850px;
  margin: 0 auto 20px;
}

.transition p {
  color: #d3e6e1;
  margin: 0 auto 27px;
  font-size: 1.13rem;
  max-width: 700px;
}

.ways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.way {
  padding: 30px 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.way .num {
  font-weight: 800;
  color: var(--teal);
  font-size: 0.83rem;
  margin-bottom: 22px;
}

.way p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

.belong {
  background: var(--cream);
}

.belong-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 68px;
  align-items: center;
}

.audience {
  padding: 22px 0;
  border-top: 1px solid #cddbd4;
}

.audience:last-child {
  border-bottom: 1px solid #cddbd4;
}

.audience strong {
  font-size: 1.15rem;
}

.audience p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.pillar {
  background: #edf6f2;
  border-radius: 13px;
  padding: 22px 17px;
}

.pillar b {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.journey {
  background: #fff;
}

.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pathcard {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 29px;
}

.pathcard .step {
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal);
}

.pathcard h3 {
  margin: 10px 0;
}

.pathcard p {
  color: var(--muted);
  margin: 0;
}

.end {
  padding: 45px 0 90px;
}

.end-inner {
  background: var(--deep);
  color: white;
  border-radius: 24px;
  padding: 70px 35px;
  text-align: center;
}

.end-inner h2 {
  max-width: 700px;
  margin: 0 auto 20px;
}

.end-inner p {
  color: #d6e8e3;
  margin: 0 auto 28px;
}

.foot {
  background: #092e2d;
  color: #e1efeb;
  padding: 37px 0;
}

.foot a {
  color: #e1efeb;
}

.fine {
  font-size: 0.8rem;
  color: #adc7c2;
  max-width: none;
}

.footlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 8px 0 18px;
}

.footlinks a {
  text-decoration: none;
}

.note {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 920px) {
  .links {
    display: none;
  }
  .hero-grid,
  .story,
  .belong-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 78px 0 72px;
  }
  .hero-art {
    min-height: 335px;
  }
  .three,
  .ways,
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .story,
  .belong-grid {
    gap: 28px;
  }
  .section {
    padding: 70px 0;
  }
}

@media (max-width: 610px) {
  .wrap {
    padding: 0 20px;
  }
  .hero-copy {
    padding: 60px 0;
  }
  .hero-art {
    min-height: 280px;
  }
  .nav > .btn {
    display: none;
  }
  .cards,
  .three,
  .ways,
  .pillars,
  .path {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 55px 0;
  }
  .impact-band {
    padding: 45px 0;
  }
  .photo {
    min-height: 260px;
  }
  .transition {
    padding: 64px 0;
  }
  .end-inner {
    padding: 52px 22px;
  }
  h1 {
    font-size: 3rem;
  }
}

/* Concept refinements (later sections below override these colours with the GBN palette) */
:root {
  --ink: #143e3b;
  --teal: #087d78;
  --deep: #07514e;
  --cream: #faf6ec;
  --gold: #f5bc58;
  --muted: #536b67;
  --line: #d6e7df;
  --pale: #eff8f4;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

.nav {
  min-height: 82px;
}

.wordmark {
  font-weight: 900;
}

.wordmark:before {
  content: "✳";
  display: inline-block;
  color: #e5a73a;
  margin-right: 9px;
  font-size: 1.1em;
}

h1 em {
  font-style: normal;
  color: #f8ce79;
}

h1 {
  letter-spacing: -0.055em;
}

.hero {
  background: linear-gradient(120deg, #063b39 2%, #08615b 100%);
}

.hero-art {
  background: radial-gradient(circle at 47% 43%, #f5bd55 0 8%, transparent 8.4%),
    radial-gradient(circle at 53% 36%, #e9d9a0 0 14%, transparent 14.5%),
    linear-gradient(150deg, #91bfad, #206e68 52%, #0a403f);
}

.hero-art:before {
  border: 3px solid #fff8;
  width: 300px;
  top: 18%;
  left: 10%;
  box-shadow:
    0 0 0 65px #ffffff0a,
    0 0 0 130px #ffffff09;
}

.hero-art:after {
  border: 2px dashed #ffffff78;
}

.spark-mark {
  color: #ffcb65;
  font-size: 24px;
  vertical-align: middle;
  margin-right: 5px;
}

.hero-copy {
  padding-top: 125px;
}

.btn {
  border-radius: 100px;
}

.btn:hover {
  box-shadow: 0 9px 25px #042e2c33;
}

.gold-rule {
  background: #e6ae45;
}

.way {
  border-top: 5px solid var(--gold);
  background: #fff;
  box-shadow: 0 6px 22px #0c4f3d0a;
}

.feature-visual {
  background: radial-gradient(circle at 82% 30%, #efc67b 0 11%, transparent 12%),
    linear-gradient(140deg, #bbd9c8, #378477, #0e4f4a);
}

.feature-visual.darkv {
  background: radial-gradient(circle at 22% 45%, #f5bd58 0 10%, transparent 11%),
    linear-gradient(140deg, #0a5d57, #62a596, #e9c78a);
}

.feature,
.pathcard,
.pillar {
  box-shadow: 0 8px 28px #184d3b0a;
}

.transition {
  background: linear-gradient(110deg, #07514e, #136e65);
}

.stats-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}

.stats-heading p {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 10px;
}

.stats > div {
  background: #fff;
  padding: 26px 24px;
  border-radius: 14px;
  border: 1px solid #e5e1d5;
}

.stats strong {
  display: block;
  color: var(--deep);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.stats span {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
  margin-top: 6px;
}

.stat-source {
  font-size: 0.77rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.stat-source a {
  color: var(--teal);
  font-weight: 700;
}

.foot {
  background: #083d3b;
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stats-heading {
    display: block;
  }
  .hero-copy {
    padding-top: 70px;
  }
  .hero-art {
    min-height: 290px;
  }
}

/* Onboarding, guidance note, support cards and interest form */
.story-link {
  color: var(--teal);
  font-weight: 800;
  text-underline-offset: 4px;
}

.story-link:hover {
  color: var(--deep);
}

.support {
  background: #f6faf8;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.support-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.support-card .emoji {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.guidance {
  background: #fff9eb;
  border-top: 1px solid #f3deae;
  border-bottom: 1px solid #f3deae;
  padding: 27px 0;
}

.guidance-inner {
  display: flex;
  align-items: start;
  gap: 22px;
}

.guidance .pill {
  flex: none;
  border: 1px solid #e9c773;
  border-radius: 20px;
  background: #fff;
  padding: 8px 13px;
  font-weight: 850;
  color: #79591e;
  font-size: 0.78rem;
}

.guidance p {
  margin: 0;
  color: #5b533f;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.onstep {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
}

.onstep b {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

.onstep p {
  color: var(--muted);
  font-size: 0.93rem;
}

.tier-note {
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 12px;
  background: var(--pale);
  color: var(--ink);
}

.fine-line {
  font-size: 0.78rem;
  color: var(--muted);
}

.form-shell {
  background: #fff;
  border-radius: 17px;
  padding: 32px;
  max-width: 800px;
  margin: 30px auto 0;
  text-align: left;
  color: var(--ink);
  box-shadow: 0 20px 60px #002e2940;
}

.form-shell h3 {
  margin-bottom: 8px;
}

.form-shell p {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 700;
  font-size: 0.86rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 12px;
  border: 1px solid #accdc4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 46px;
}

.form-field textarea {
  min-height: 85px;
}

.form-wide {
  grid-column: 1/-1;
}

.demo-banner {
  background: #fff4d8;
  color: #6b5222;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 0.83rem;
  margin: 20px 0;
}

.privacy {
  font-size: 0.78rem !important;
}

.cta-mini {
  font-size: 0.85rem;
  color: #d4e4df;
}

.mini-link {
  color: var(--teal);
  font-weight: 750;
}

.steps .onstep h3 {
  font-size: 1.2rem;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 920px) {
  .steps,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 610px) {
  .steps,
  .support-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .guidance-inner {
    display: block;
  }
  .guidance .pill {
    display: inline-block;
    margin-bottom: 10px;
  }
  .form-shell {
    padding: 20px;
  }
  .form-wide {
    grid-column: 1;
  }
}

/* Photos: real images replace the gradient placeholders; the dark wash keeps captions readable */
.hero-art.has-photo,
.photo.has-photo,
.feature-visual.has-photo {
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-art.has-photo:before,
.hero-art.has-photo:after,
.photo.has-photo:before {
  display: none;
}

.hero-art.has-photo {
  background-image: linear-gradient(180deg, #0a016000 55%, #07514e99),
    url(../images/spark-hero-katani-health-check-child.webp);
  background-position: 52% center;
}

.photo.has-photo {
  background-image: linear-gradient(180deg, #0a016000 55%, #0a0160a6),
    url(../images/spark-kpatinga-wound-care-children.webp);
  background-position: 40% center;
}

.feature-visual.has-photo {
  background-image: linear-gradient(180deg, #0a016000 50%, #0a0160a6),
    url(../images/spark-kpatinga-night-outreach-tents.webp);
  background-position: center 60%;
}

.feature-visual.darkv.has-photo {
  background-image: linear-gradient(180deg, #0a016000 50%, #0a0160a6),
    url(../images/spark-snow-cone-stand-maya-at3.webp);
  background-position: center 12%;
}

/* Give Basic Needs org palette (Wameer): dark blue #0a0160 base, purple #3f169a for text accents and gradients, teal #6ad6c3 for buttons and fills, yellow #ffc042 as a sparing highlight */
:root {
  --ink: #0a0160;
  --teal: #3f169a;
  --deep: #0a0160;
  --cream: #fff9eb;
  --gold: #ffc042;
  --muted: #4a5573;
  --line: #e2e8f0;
  --pale: #effaf7;
  --purple: #3f169a;
  --sky: #6ad6c3;
}

.notice {
  background: #0a0160;
  color: #cfe9f5;
}

.wordmark {
  color: #0a0160;
}

.wordmark:before {
  color: #ffc042;
}

.wordmark small {
  color: #3f169a;
}

.hero {
  background: linear-gradient(125deg, #0a0160 0%, #1c0b80 55%, #3f169a 100%);
}

.hero .eyebrow {
  color: #ffc042;
}

.spark-mark {
  color: #ffc042;
}

h1 em {
  color: #ffc042;
}

.hero-copy p {
  color: #dfe3f5;
}

.hero-art {
  background: linear-gradient(150deg, #6ad6c3, #1c0b80 55%, #3f169a);
}

.photo-tag {
  background: #0a0160d1;
}

.btn {
  background: #3f169a;
  border-color: #3f169a;
  color: #fff;
}

.btn:hover {
  background: #0a0160;
  border-color: #0a0160;
}

.btn:hover {
  box-shadow: 0 9px 25px #0a016033;
}

.btn.white {
  background: #fff;
  color: #0a0160;
  border-color: #fff;
}

.btn.white:hover {
  background: #ffc042;
  border-color: #ffc042;
}

.btn.line {
  background: transparent;
  color: #3f169a;
  border-color: #3f169a;
}

.btn.line:hover {
  background: #3f169a;
  color: #fff;
}

.eyebrow,
.smalltag,
.way .num,
.pathcard .step,
.onstep b,
.mini-link,
.story-link,
.highline {
  color: #3f169a;
}

.gold-rule {
  background: #ffc042;
}

.way {
  border-top-color: #ffc042;
}

.feature-visual span {
  background: #0a0160c7;
}

.projects {
  background: #effaf7;
}

.transition {
  background: linear-gradient(110deg, #0a0160, #1c0b80 60%, #3f169a);
}

.transition p {
  color: #d6dcf2;
}

.belong {
  background: #fff9eb;
}

.audience,
.audience:last-child {
  border-color: #ecdcb5;
}

.support {
  background: #f8fafc;
}

.pillar {
  background: #effaf7;
  border-top: 3px solid #6ad6c3;
}

.guidance {
  background: #fff6dc;
  border-color: #ffe2a0;
}

.guidance .pill {
  border-color: #ffc042;
  color: #3f169a;
}

.guidance p {
  color: #3d3a52;
}

.tier-note {
  background: #effaf7;
  border-left: 4px solid #6ad6c3;
}

.end-inner {
  background: linear-gradient(135deg, #3f169a, #0a0160 70%);
}

.end-inner p {
  color: #dfe3f5;
}

.end-inner .form-shell p {
  color: #4a5573;
  margin: 0;
}

.form-shell {
  box-shadow: 0 20px 60px #0a016066;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-color: #cbc3e8;
  color: #0a0160;
}

.demo-banner {
  background: #fff6dc;
  color: #5a4410;
}

.foot {
  background: #07004a;
  color: #e3e7f7;
}

.foot a {
  color: #e3e7f7;
}

.fine {
  color: #a9b2d6;
}

/* Sticky header with the GBN logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fffffff7;
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 14px #0a01600f;
}

.site-header .nav {
  min-height: 76px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-spark {
  font-weight: 850;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0160;
  background: #ffc042;
  border-radius: 100px;
  padding: 5px 11px;
}

.links a {
  color: #0a0160;
}

.links a:hover {
  color: #3f169a;
}

html {
  scroll-padding-top: 90px;
}

/* Hero polish: soft glows, framed photo with a yellow offset, pill eyebrow */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 12% 18%, #6ad6c32e 0, transparent 45%),
    radial-gradient(ellipse at 92% 100%, #3f169acc 0, transparent 55%),
    linear-gradient(125deg, #0a0160 0%, #1c0b80 60%, #2a0f8a 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ffffff14 1px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
}

.hero-grid {
  min-height: 640px;
  align-items: center;
  gap: 20px;
}

.hero-copy {
  padding: 96px 30px 96px 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff12;
  border: 1px solid #ffffff26;
  border-radius: 100px;
  padding: 7px 15px 7px 11px;
  margin-bottom: 26px;
}

.hero-pill .spark-mark {
  font-size: 18px;
  margin: 0;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.hero-link {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 2px solid #ffc042;
  padding-bottom: 2px;
}

.hero-link:hover {
  color: #ffc042;
}

.hero-art.has-photo {
  min-height: 520px;
  margin: 56px 18px 56px 0;
  border-radius: 26px;
  box-shadow:
    18px 18px 0 #ffc042,
    0 30px 60px #0a016073;
}

.hero-art .photo-tag {
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 920px) {
  .hero-copy {
    padding: 64px 0 10px;
  }
  .hero-art.has-photo {
    min-height: 360px;
    margin: 20px 18px 60px 0;
  }
}

@media (max-width: 610px) {
  .site-header .nav {
    min-height: 64px;
  }
  .brand img {
    height: 40px;
  }
  .hero-copy {
    padding: 48px 0 6px;
  }
  .hero-art.has-photo {
    min-height: 360px;
    margin: 16px 14px 48px 0;
    border-radius: 20px;
    box-shadow:
      12px 12px 0 #ffc042,
      0 20px 40px #0a016066;
  }
}

/* Header buttons and menu */
.links {
  gap: 28px;
}

.links a {
  font-size: 0.95rem;
}

/* Footer */
.foot {
  position: relative;
  background: radial-gradient(ellipse at 90% 0%, #3f169a99 0, transparent 55%),
    linear-gradient(160deg, #0a0160, #07004a);
  color: #e6e3f7;
  padding: 64px 0 30px;
}

.foot:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #6ad6c3, #ffc042 50%, #3f169a);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ffffff1f;
}

.foot-logo {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  line-height: 0;
}

.foot-logo img {
  height: 44px;
  width: auto;
}

.foot-tag {
  font-weight: 850;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 18px 0 8px;
  color: #fff;
}

.foot-tag span {
  color: #ffc042;
}

.foot-mission {
  color: #c4c0e6;
  font-size: 0.92rem;
  max-width: 300px;
  margin: 0;
}

.foot h4 {
  margin: 4px 0 16px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6ad6c3;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col a {
  color: #e6e3f7;
  text-decoration: none;
  font-size: 0.95rem;
  width: fit-content;
}

.foot-col a:hover {
  color: #ffc042;
}

.foot-cta {
  background: #ffffff0d;
  border: 1px solid #ffffff1f;
  border-radius: 18px;
  padding: 24px;
}

.foot-cta p {
  color: #c4c0e6;
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.foot .foot-btn {
  background: #ffc042;
  border-color: #ffc042;
  color: #0a0160;
}

.foot .foot-btn:hover {
  background: #fff;
  border-color: #fff;
}

.foot-bottom {
  padding-top: 22px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.foot-bottom span {
  flex: none;
  font-size: 0.82rem;
  color: #c4c0e6;
  font-weight: 700;
}

.foot-bottom .fine {
  margin: 0;
  font-size: 0.74rem;
  color: #9a95c9;
}

@media (max-width: 920px) {
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand,
  .foot-cta {
    grid-column: 1/-1;
  }
}

@media (max-width: 610px) {
  .foot {
    padding-top: 50px;
  }
  .foot-top {
    gap: 30px;
  }
  .foot-bottom {
    display: block;
  }
  .foot-bottom .fine {
    margin-top: 10px;
  }
}

/* Header button, mobile menu and small-screen polish */
.nav-cta {
  font-size: 0.9rem;
  padding: 11px 20px;
}

.menu-cta,
.menu-toggle {
  display: none;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: #f1effa;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #0a0160;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.site-header.open .menu-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.site-header.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.open .menu-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

body {
  overflow-x: clip;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: flex;
  }
  .nav-cta {
    display: none !important;
  }
  .site-header .links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 18px 30px #0a01601f;
    padding: 8px 20px 22px;
  }
  .site-header.open .links {
    display: flex;
  }
  .site-header .links a {
    font-size: 1.05rem;
    padding: 14px 4px;
    border-bottom: 1px solid #eeecf6;
  }
  .site-header .links .menu-cta {
    display: flex;
    margin-top: 16px;
    border-bottom: 0;
    padding: 14px 20px;
    color: #fff;
    font-size: 1rem;
  }
  .cards,
  .belong-grid,
  .story {
    gap: 28px;
  }
  .foot-cta .btn {
    width: 100%;
  }
}

@media (max-width: 610px) {
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero-actions {
    flex-wrap: nowrap;
    gap: 18px;
  }
  .hero-actions .btn {
    white-space: nowrap;
    font-size: 0.92rem;
    padding: 12px 18px;
  }
  .hero-link {
    white-space: nowrap;
    font-size: 0.92rem;
  }
  .hero-art .photo-tag {
    font-size: 0.78rem;
  }
  .feature-content,
  .form-shell {
    padding: 22px;
  }
  .end {
    padding: 30px 0 60px;
  }
  .end-inner {
    border-radius: 20px;
    padding: 46px 16px;
  }
  .guidance {
    padding: 22px 0;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .form-shell .btn {
    width: 100%;
  }
}

.guidance .pill {
  border-color: #3f169a;
}

/* Smiley interest form embed */
.gbn-embed {
  position: relative;
  min-height: 640px;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.gbn-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 610px) {
  .gbn-embed {
    min-height: 760px;
  }
}

/* Hero: two-photo composition (medical + clean water) */
.hero-media {
  position: relative;
  align-self: center;
  padding: 40px 0 70px;
}

.hero-media .hero-art.has-photo {
  margin: 0 18px 0 48px;
}

.hero-media .hero-art .photo-tag {
  top: 18px;
  bottom: auto;
  left: auto;
  right: 18px;
  max-width: 58%;
  font-size: 0.76rem;
  padding: 12px 14px;
}

.hero-water {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 44%;
  height: 290px;
  border-radius: 20px;
  border: 6px solid #fff;
  overflow: hidden;
  background: #3f169a url(../images/spark-hero-jingbang-borehole-water.webp) 94% center/cover
    no-repeat;
  box-shadow: 0 24px 50px #0a016073;
  z-index: 2;
}

.hero-water .photo-tag {
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 12px;
  font-size: 0.72rem;
  border-radius: 10px;
  background: #0a0160cc;
}

@media (max-width: 920px) {
  .hero-media {
    padding: 16px 0 64px;
  }
  .hero-media .hero-art.has-photo {
    margin: 0 18px 0 30px;
    min-height: 380px;
  }
  .hero-water {
    width: 42%;
    height: 240px;
    bottom: 20px;
  }
}

@media (max-width: 610px) {
  .hero-media {
    padding: 12px 0 56px;
  }
  .hero-media .hero-art.has-photo {
    margin: 0 14px 0 24px;
    min-height: 340px;
  }
  .hero-media .hero-art .photo-tag {
    max-width: 62%;
    left: auto;
    right: 12px;
    top: 12px;
    padding: 9px 11px;
    font-size: 0.7rem;
  }
  .hero-media .hero-art .photo-tag strong {
    display: none;
  }
  .hero-water {
    width: 46%;
    height: 190px;
    bottom: 16px;
    border-width: 4px;
    border-radius: 16px;
  }
  .hero-water .photo-tag strong {
    display: none;
  }
}

.note-mail {
  color: #3f169a;
  text-decoration: underline;
  text-decoration-color: #ffc042;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.note-mail:hover {
  color: #0a0160;
}

@media (max-width: 374px) {
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .btn {
    font-size: 0.8rem;
    padding: 11px 13px;
  }
  .hero-link {
    font-size: 0.8rem;
  }
}
