:root {
  --purple-950: #210451;
  --purple-850: #351080;
  --purple-700: #4b24a0;
  --purple-100: #f3edff;
  --purple-50: #fbf8ff;
  --pink-500: #ec5b92;
  --pink-100: #ffe6f0;
  --green-500: #5cb85c;
  --green-100: #eaf8ee;
  --ink: #1f1730;
  --muted: #6f637f;
  --line: rgba(75, 36, 160, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(33, 4, 81, 0.12);
  --soft-shadow: 0 16px 48px rgba(33, 4, 81, 0.08);
  --radius: 8px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(75, 36, 160, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(33, 4, 81, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(78px, 8vw, 112px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  color: var(--purple-950);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a:not(.nav-action)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pink-500);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--purple-850);
  box-shadow: 0 12px 26px rgba(75, 36, 160, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--purple-850);
}

.section {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  background:
    linear-gradient(135deg, rgba(243, 237, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 44%, rgba(255, 230, 240, 0.42) 100%),
    var(--white);
}

.hero-copy {
  max-width: 710px;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  margin-top: 0.08em;
  color: var(--pink-500);
}

.hero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  font-weight: 500;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-850), var(--pink-500));
  box-shadow: 0 18px 40px rgba(236, 91, 146, 0.22);
}

.button-secondary {
  color: var(--purple-950);
  border-color: rgba(236, 91, 146, 0.42);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(33, 4, 81, 0.08);
}

.button-text {
  color: var(--purple-850);
  background: transparent;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--purple-100);
  box-shadow: var(--shadow);
}

.hero-media::before {
  position: absolute;
  inset: 18px auto auto 18px;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-top: 7px solid var(--green-500);
  border-left: 7px solid var(--pink-500);
  border-radius: var(--radius);
  content: "";
}

.hero-media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--purple-950);
}

.intro-card {
  display: grid;
  gap: 10px;
  padding: clamp(26px, 3vw, 42px);
  color: var(--white);
  background: var(--purple-950);
}

.intro-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.12;
}

.intro-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.6;
}

.split-section,
.focus-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: start;
  gap: clamp(34px, 6vw, 78px);
}

.section-label {
  margin: 0 0 16px;
  color: var(--pink-500);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section h2 {
  max-width: 840px;
  font-size: clamp(2.05rem, 3.8vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
}

.section-copy p:not(.section-label),
.section-heading p:not(.section-label),
.contact-copy p:not(.section-label) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.75;
}

.mission-grid {
  display: grid;
  gap: 18px;
}

.mission-card,
.values-grid article,
.programme-list article,
.outcome-grid article,
.focus-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.mission-card {
  padding: clamp(28px, 4vw, 42px);
}

.mission-card h3,
.values-grid h3,
.programme-list h3,
.outcome-grid h3,
.focus-panel h3 {
  margin: 0 0 12px;
  color: var(--purple-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.mission-card p,
.values-grid p,
.programme-list p,
.outcome-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.mission-card-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-950), var(--purple-700));
}

.mission-card-dark h3,
.mission-card-dark p {
  color: var(--white);
}

.values-section,
.why-section,
.impact-section {
  background: var(--purple-50);
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.section-label) {
  margin-top: 20px;
}

.values-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.values-grid article,
.outcome-grid article {
  padding: 26px;
}

.value-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  place-items: center;
  color: var(--purple-950);
  background: var(--green-100);
  font-weight: 950;
}

.programmes-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.programmes-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.programmes-media img {
  width: 100%;
  min-height: 650px;
  object-fit: cover;
}

.programme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.programme-list article {
  padding: 24px;
}

.why-section {
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1060px, 100%);
  margin: 42px auto 0;
}

.impact-grid span,
.partner-tags span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(75, 36, 160, 0.12);
  border-radius: var(--radius);
  color: var(--purple-850);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.focus-section {
  background:
    linear-gradient(90deg, var(--white) 0 54%, var(--purple-950) 54% 100%);
}

.focus-panel {
  padding: clamp(28px, 4vw, 48px);
}

.focus-panel ul {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.focus-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.focus-panel li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--pink-500);
  box-shadow: 0 0 0 6px rgba(236, 91, 146, 0.12);
}

.contact-section {
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(33, 4, 81, 0.98), rgba(75, 36, 160, 0.95)),
    var(--purple-950);
}

.contact-section h2,
.contact-section .section-label {
  color: var(--white);
}

.contact-copy p:not(.section-label) {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.partner-tags span {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--purple-950);
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(75, 36, 160, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: 600 1rem/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(236, 91, 146, 0.12);
  outline: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--purple-850);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  justify-items: center;
  padding: 42px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.site-footer img {
  width: 150px;
  margin-inline: auto;
}

.site-footer p {
  max-width: 560px;
  margin: 18px 0 0;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: center;
  gap: 16px 24px;
}

.footer-links a {
  color: var(--purple-850);
  font-weight: 900;
  text-decoration-color: rgba(75, 36, 160, 0.24);
  text-underline-offset: 4px;
}

.copyright {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 0;
  font-size: 0.9rem;
}

.copyright a {
  color: var(--purple-850);
  font-weight: 900;
  text-decoration-color: rgba(75, 36, 160, 0.28);
  text-underline-offset: 4px;
}

.copyright a:hover,
.copyright a:focus-visible {
  color: var(--pink-500);
  text-decoration-color: currentColor;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .programmes-section,
  .focus-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img,
  .programmes-media img {
    min-height: 420px;
  }

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

  .focus-section {
    background: var(--white);
  }
}

@media (max-width: 880px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-action {
    margin-top: 8px;
  }

  .intro-band {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .programme-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 76px;
  }

  .section {
    padding: 62px 18px;
  }

  .site-header {
    padding: 13px 18px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.06;
  }

  .hero-actions,
  .contact-details {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .contact-details a,
  .contact-details span {
    width: 100%;
  }

  .hero-media img,
  .programmes-media img {
    min-height: 310px;
  }

  .values-grid,
  .outcome-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid article,
  .outcome-grid article {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
