:root {
  --bg: #07142b;
  --surface: rgba(7, 20, 43, 0.76);
  --surface-strong: #0a1d40;
  --surface-light: #f5f8ff;
  --text: #eaf0ff;
  --text-dark: #12213c;
  --muted: #adc0e9;
  --blue: #0f4fe0;
  --blue-soft: #3f7cff;
  --gold: #ffd44d;
  --gold-deep: #f5b400;
  --green: #3ac76f;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 80px rgba(3, 8, 22, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(76, 123, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 212, 77, 0.14), transparent 32%),
    linear-gradient(180deg, #050d1e 0%, #08162d 36%, #0a1f3f 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.sparkle-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.page-shell,
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(234, 242, 255, 0.98)),
    linear-gradient(120deg, rgba(15, 79, 224, 0.08), transparent 40%);
  color: var(--text-dark);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(8, 28, 58, 0.98), rgba(4, 17, 36, 0.98)),
    radial-gradient(circle at 20% 10%, rgba(255, 212, 77, 0.18), transparent 32%);
}

.section-gallery {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.98));
  color: var(--text-dark);
}

.section-testimonials {
  background:
    linear-gradient(180deg, rgba(11, 23, 45, 0.98), rgba(11, 32, 69, 0.98)),
    radial-gradient(circle at 80% 20%, rgba(255, 212, 77, 0.16), transparent 24%);
}

.section-cta {
  padding-top: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
  color: var(--text-dark);
}

.country-hero {
  padding-top: 3.2rem;
  background:
    linear-gradient(135deg, rgba(10, 28, 76, 0.96), rgba(17, 71, 184, 0.82) 62%, rgba(255, 212, 77, 0.7)),
    radial-gradient(circle at top right, rgba(255, 212, 77, 0.16), transparent 28%);
}

.country-hero-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.country-hero-copy h1,
.contact-copy h1 {
  position: static;
  left: auto;
  transform: none;
  width: 100%;
  margin: 0.8rem 0 0;
  white-space: normal;
  text-align: left;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.strategy-hero .country-hero-copy h1 {
  font-size: clamp(2.7rem, 5.5vw, 5rem);
}

.country-hero-copy p {
  color: #eef4ff;
  line-height: 1.8;
  font-size: 1.04rem;
}

.country-hero .media-stack img {
  min-height: 28rem;
  object-fit: cover;
}

.story-callout {
  padding: 1.5rem 1.7rem;
  border-radius: 24px;
  background: white;
  color: #44516a;
  box-shadow: var(--shadow);
  line-height: 1.85;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.story-card {
  overflow: hidden;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.story-card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  background: #f2f5fb;
}

.story-card-body {
  padding: 1.35rem;
}

.story-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--text-dark);
}

.story-card p {
  margin: 0.9rem 0 0;
  color: #44516a;
  line-height: 1.75;
}

.story-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 800;
}

.about-hero {
  padding-top: 3.5rem;
  min-height: 34rem;
  display: grid;
  align-items: center;
}

.about-hero-inner {
  max-width: 58rem;
  text-align: center;
  margin: 0 auto;
}

.about-hero h1 {
  position: static;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
  margin: 0.7rem 0 0;
  white-space: normal;
  text-align: center;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.about-mission p + p {
  margin-top: 1rem;
}

.about-sponsors {
  background:
    linear-gradient(135deg, rgba(13, 39, 82, 0.96), rgba(18, 79, 200, 0.88)),
    radial-gradient(circle at top right, rgba(255, 212, 77, 0.16), transparent 28%);
}

.about-heading-dark {
  color: white;
}

.about-heading-dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.sponsor-grid,
.team-grid,
.donation-grid {
  display: grid;
  gap: 1.25rem;
}

.sponsor-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.donation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sponsor-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  text-align: center;
  box-shadow: var(--shadow);
}

.sponsor-card img {
  width: 100%;
  height: 6rem;
  object-fit: contain;
}

.sponsor-card span {
  font-weight: 800;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 21rem;
  object-fit: cover;
}

.team-grid-country {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card-portrait img {
  height: 18rem;
  object-fit: contain;
  object-position: top center;
  background: #f4f8fd;
  padding: 1rem;
}

.team-card-contain img {
  object-fit: contain;
  background: #f4f8fd;
  padding: 1rem;
}

.team-card-body {
  padding: 1.5rem;
}

.team-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  color: var(--text-dark);
}

.team-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--blue);
}

.team-card p {
  margin: 1rem 0 0;
  color: #44516a;
  line-height: 1.8;
}

.contact-page {
  padding-top: 3rem;
}

.contact-copy h1 {
  color: var(--text-dark);
}

.contact-copy p,
.contact-block p {
  color: #44516a;
  line-height: 1.85;
}

.contact-block {
  margin-top: 1.5rem;
}

.contact-block h3 {
  margin: 0 0 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-dark);
}

.contact-form-panel {
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  border: 1px solid rgba(18, 33, 60, 0.08);
  box-shadow: 0 24px 60px rgba(8, 25, 55, 0.12);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form .cta-field span {
  color: var(--text-dark);
}

.contact-form .cta-field input,
.contact-form .cta-field textarea {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(18, 33, 60, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text-dark);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form .cta-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form .cta-field input::placeholder,
.contact-form .cta-field textarea::placeholder {
  color: rgba(68, 81, 106, 0.72);
}

.contact-form .cta-field input:focus,
.contact-form .cta-field textarea:focus {
  border-color: rgba(255, 212, 77, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 212, 77, 0.14);
}

.contact-privacy {
  margin: 0;
  color: #2d4f86;
  line-height: 1.7;
}

.section-overlap {
  margin-top: -4rem;
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(4, 12, 25, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 40;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.45rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.brand span {
  display: flex;
  flex-direction: column;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
}

.brand strong {
  font-size: 1.05rem;
  color: var(--gold);
}

.brand small {
  margin-top: 0.22rem;
  color: var(--text);
  font-size: 0.9rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav li {
  position: relative;
}

.primary-nav li > a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  color: var(--text);
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav li:hover > a,
.primary-nav li:focus-within > a,
.primary-nav li.is-open > a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  transform: translateY(-1px);
}

.nav-panel {
  position: absolute;
  top: calc(100% + 0.12rem);
  left: 0;
  min-width: 250px;
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem;
  border-radius: 18px;
  background: rgba(6, 18, 38, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.has-panel:hover .nav-panel,
.has-panel:focus-within .nav-panel,
.has-panel.is-open .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel a {
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  color: var(--text);
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.nav-panel a:hover {
  background: linear-gradient(135deg, rgba(15, 79, 224, 0.28), rgba(255, 212, 77, 0.16));
  color: #fff4c7;
  transform: translateX(4px);
}

.header-cta {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #0f8f4b);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 40px rgba(36, 160, 88, 0.3);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 5px auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  overflow: clip;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.55;
  animation: floatBlob 18s ease-in-out infinite;
}

.hero-gradient-a {
  width: 34rem;
  height: 34rem;
  top: -8rem;
  left: -5rem;
  background: rgba(28, 109, 255, 0.45);
}

.hero-gradient-b {
  width: 26rem;
  height: 26rem;
  right: -3rem;
  bottom: 1rem;
  background: rgba(255, 198, 59, 0.32);
  animation-delay: -6s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 95%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 0 3rem;
}

.hero-copy {
  width: 100%;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.hero-copy-top {
  margin-top: -2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f9df7d;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #000000;
}

.eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3bf, #ffc64c);
  box-shadow: 0 0 14px rgba(255, 212, 77, 0.6);
}

.hero h1,
.section-heading h2,
.split-copy h2,
.cta-panel h2 {
  margin: 0.45rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(3.6rem, 8vw, 7rem);
  display: block;
  width: max-content;
  max-width: none;
  text-align: center;
  white-space: nowrap;
}

.hero-subtitle {
  margin: 0.3rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.45;
  color: #f4f7ff;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #12213c;
  box-shadow: 0 20px 50px rgba(245, 180, 0, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
}

.button-outline {
  background: transparent;
  border: 1px solid rgba(18, 33, 60, 0.16);
  color: inherit;
}

.button-card {
  background: #0d47a1;
  border: 1px solid #0d47a1;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(13, 71, 161, 0.24);
}

.button-card:hover,
.button-card:focus-visible {
  color: var(--gold);
  background: #0b3d89;
  border-color: #0b3d89;
}

.glass-card,
.spotlight-card,
.strategy-card,
.testimonial-card,
.cta-panel,
.media-stack img {
  box-shadow: var(--shadow);
}

.glass-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.glass-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.2rem;
}

.glass-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-video-shell {
  width: 100%;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #02060f;
}

.hero-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stat-label,
.spotlight-kicker,
.footer-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cards-three,
.strategy-grid,
.testimonial-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-three-stack {
  grid-template-columns: 1fr;
}

.cards-three-stack .stat-label {
  color: #000000;
}

.spotlight-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
  color: var(--text-dark);
  overflow: hidden;
  border: 1px solid rgba(15, 79, 224, 0.1);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.45rem;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 77, 0.18), rgba(255, 212, 77, 0));
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cards-three-stack .spotlight-card:hover,
.cards-three-stack .spotlight-card:focus-within {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(255, 212, 77, 0.42);
  background: linear-gradient(180deg, #ffffff, #fffaf0);
  box-shadow: 0 30px 70px rgba(8, 25, 55, 0.22);
}

.cards-three-stack .spotlight-card:hover::after,
.cards-three-stack .spotlight-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.cards-three-stack .spotlight-card:hover h2,
.cards-three-stack .spotlight-card:focus-within h2 {
  color: #0b3bb3;
}

.spotlight-card-featured {
  background:
    linear-gradient(155deg, rgba(8, 34, 74, 0.98), rgba(16, 76, 201, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: white;
}

.spotlight-card h2 {
  margin: 0.65rem 0 0;
  font-size: 2rem;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
}

.icon-list,
.country-grid {
  list-style: none;
  margin: 1.35rem 0 1.8rem;
  padding: 0;
}

.icon-list li,
.country-grid li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.25rem;
  border-bottom: 1px solid rgba(18, 33, 60, 0.08);
}

.spotlight-card-featured .icon-list li {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.icon-list li::before,
.country-grid li::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.country-grid li a {
  color: inherit;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: inherit;
}

.heading-nowrap {
  white-space: nowrap;
}

.partial-fragment {
  display: contents;
}

.section-heading p,
.split-copy p,
.cta-panel p,
.footer-brand p,
.footer-column a {
  line-height: 1.8;
}

.strategy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strategy-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 24px;
  background: white;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 79, 224, 0.12);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.strategy-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.45rem;
  background: linear-gradient(180deg, var(--blue), var(--gold));
  transition: width 220ms ease, opacity 220ms ease;
}

.strategy-card::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 77, 0.18), rgba(255, 212, 77, 0));
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 220ms ease, transform 220ms ease;
}

.strategy-card h3 {
  margin: 0 0 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.strategy-card p {
  margin: 0;
  color: #44516a;
}

.strategy-card a {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--blue);
  font-weight: 800;
}

.strategy-card:hover,
.strategy-card:focus-within {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 212, 77, 0.45);
  background: linear-gradient(180deg, #ffffff, #fffaf0);
  box-shadow: 0 30px 70px rgba(8, 25, 55, 0.22);
}

.strategy-card:hover::before,
.strategy-card:focus-within::before {
  width: 0.75rem;
}

.strategy-card:hover::after,
.strategy-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.strategy-card:hover h3,
.strategy-card:focus-within h3 {
  color: #0b3bb3;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.reverse-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.split-copy h2,
.cta-panel h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.split-copy .mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.split-copy .mini-links a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.media-stack img {
  border-radius: 28px;
  width: 100%;
  object-fit: cover;
}

.media-stack video {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #02060f;
}

.cause-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cause-card {
  position: relative;
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.cause-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.45rem;
  background: linear-gradient(180deg, var(--blue), var(--gold));
  transition: width 220ms ease, opacity 220ms ease;
}

.cause-card::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 77, 0.18), rgba(255, 212, 77, 0));
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cause-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: var(--gold);
}

.cause-card p {
  margin: 0;
  color: #eef4ff;
  line-height: 1.75;
}

.cause-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #fff4c7;
  font-weight: 800;
}

.cause-card:hover,
.cause-card:focus-within {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 212, 77, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 250, 240, 0.08));
  box-shadow: 0 30px 70px rgba(8, 25, 55, 0.28);
}

.cause-card:hover::before,
.cause-card:focus-within::before {
  width: 0.75rem;
}

.cause-card:hover::after,
.cause-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.cause-card:hover h3,
.cause-card:focus-within h3 {
  color: #fff1a8;
}

.subscribe-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 20, 43, 0.38), rgba(7, 20, 43, 0.48)),
    url("https://zoeliving.org/wp-content/uploads/2023/12/footer_img.jpeg") center/cover no-repeat;
}

.subscribe-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.32));
}

.subscribe-hero-inner {
  position: relative;
  max-width: 56rem;
  text-align: center;
  padding: 5rem 0;
}

.subscribe-hero-inner h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1.05;
  color: #ffffff;
}

.subscribe-hero-tagline {
  margin: 1rem 0 0;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  color: #ffffff;
}

.subscribe-hero-privacy {
  margin: 0.75rem 0 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--gold);
  font-weight: 700;
}

.subscribe-form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  margin: 2rem auto 0;
}

.form-status {
  min-height: 1.25rem;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #1d6f42;
}

.form-status.is-error {
  color: #a32d2d;
}

.story-page-wrap {
  max-width: 62rem;
}

.story-page-title {
  margin: 0.8rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
}

.story-page-media {
  margin-top: 2rem;
}

.story-page-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.story-rich {
  max-width: 56rem;
  margin: 0 auto;
  color: var(--text-dark);
}

.story-rich > :first-child {
  margin-top: 0;
}

.story-rich h1,
.story-rich h2,
.story-rich h3,
.story-rich h4,
.story-rich h5,
.story-rich h6 {
  margin: 2rem 0 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  color: var(--text-dark);
}

.story-rich h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.story-rich h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.story-rich h3,
.story-rich h4 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.story-rich p,
.story-rich li,
.story-rich figcaption {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #3a4b69;
}

.story-rich p + p,
.story-rich ul + p,
.story-rich ol + p {
  margin-top: 1rem;
}

.story-rich a {
  color: var(--blue);
  font-weight: 700;
}

.story-rich ul,
.story-rich ol {
  padding-left: 1.25rem;
}

.story-rich figure {
  margin: 2rem 0;
}

.story-rich img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.causes-showcase {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    url("https://zoeliving.org/wp-content/uploads/2023/12/boys_img.jpeg") center/cover no-repeat;
}

.causes-showcase-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 251, 251, 0.4), rgba(251, 251, 251, 0.5));
}

.causes-showcase .container {
  position: relative;
}

.causes-heading {
  color: #241c15;
}

.causes-heading p {
  color: #241c15;
}

.cause-grid-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.cause-card-color {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #454545;
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

.cause-card-color h3 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.06;
  color: #241c15;
}

.cause-card-color p {
  margin: 0;
  color: #241c15;
  line-height: 1.7;
}

.cause-card-color:hover,
.cause-card-color:focus-within {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(8, 25, 55, 0.24);
  border-color: #1b2d50;
  filter: saturate(1.05);
}

.cause-card-butter {
  background: #fffbc2;
}

.cause-card-orchid {
  background: #ea7cf8;
}

.cause-card-mint {
  background: #37f6d0;
}

.cause-card-plain {
  background: #ffffff;
}

.cause-card-plain h3 {
  color: #241c15;
}

.projects-showcase {
  background: #f7f7f7;
  color: var(--text-dark);
}

.projects-carousel {
  overflow: hidden;
  width: 100%;
}

.projects-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: projectShift 22s linear infinite;
}

.projects-carousel:hover .projects-track {
  animation-play-state: paused;
}

.project-slide {
  flex: 0 0 clamp(16rem, 30vw, 24rem);
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: #ffffff;
}

.project-slide img {
  display: block;
  width: 100%;
  height: clamp(14rem, 24vw, 20rem);
  object-fit: cover;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
  border-radius: 24px;
  min-height: 19rem;
  background: white;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card p {
  margin: 0 0 1.5rem;
  color: #f0f5ff;
  font-size: 1.05rem;
}

.testimonial-card strong {
  display: block;
  color: var(--gold);
}

.testimonial-card span {
  color: var(--muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 2rem;
  align-items: center;
  padding: 2.2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(13, 39, 82, 0.96), rgba(18, 79, 200, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  box-shadow: var(--shadow);
}

.cta-privacy {
  color: #f9df7d;
}

.cta-form {
  display: grid;
  gap: 1rem;
}

.cta-field {
  display: grid;
  gap: 0.45rem;
}

.cta-field span {
  color: #f4f7ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-field input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta-field input::placeholder {
  color: rgba(234, 240, 255, 0.72);
}

.cta-field input:focus {
  border-color: rgba(255, 212, 77, 0.55);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(255, 212, 77, 0.14);
}

.cta-submit {
  width: 100%;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background: linear-gradient(180deg, #040d1e, #050914);
}

.footer-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 22rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 212, 77, 0.18), transparent 22%),
    radial-gradient(circle at 85% 0, rgba(15, 79, 224, 0.28), transparent 26%);
  pointer-events: none;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  position: relative;
}

.footer-brand img {
  width: 68px;
  border-radius: 50%;
}

.footer-brand h2 {
  margin: 1rem 0 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--gold);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.footer-column a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-social-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-label {
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(15, 79, 224, 0.95), rgba(255, 212, 77, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px rgba(3, 8, 22, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(3, 8, 22, 0.34);
  filter: saturate(1.1) brightness(1.05);
}

.social-link svg {
  width: 1.35rem;
  height: 1.35rem;
}

.magnetic {
  will-change: transform;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 24px, 0) scale(1.06);
  }
}

@keyframes projectShift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 1100px) {
  .hero-inner,
  .split-layout,
  .country-hero-grid,
  .contact-grid,
  .strategy-grid,
  .cards-three,
  .cause-grid,
  .cause-grid-showcase,
  .story-grid,
  .sponsor-grid,
  .donation-grid,
  .team-grid,
  .project-gallery,
  .testimonial-grid,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-social-row {
    justify-content: flex-start;
  }

  .team-grid-country {
    grid-template-columns: 1fr;
  }

  .project-slide {
    flex-basis: clamp(18rem, 58vw, 24rem);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: rgba(4, 12, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > ul {
    display: grid;
    gap: 0.6rem;
  }

  .primary-nav li > a {
    width: 100%;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-panel {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    margin-top: 0.35rem;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 0;
  }

  .hero-copy-top {
    margin-top: -1.1rem;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .section-heading h2,
  .split-copy h2,
  .cta-panel h2 {
    font-size: 2.6rem;
  }

  .spotlight-card,
  .strategy-card,
  .testimonial-card,
  .cta-panel {
    padding: 1.4rem;
  }

  .country-grid {
    grid-template-columns: 1fr;
  }

  .project-slide {
    flex-basis: 82vw;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .sparkle-layer {
    display: none;
  }
}
