:root {
  --pink: #ED1879;
  --coral: #F1663E;
  --orange: #F49E13;
  --purple: #4D0087;
  --purple-dark: #2E004F;
  --ink: #17111D;
  --ink-2: #201828;
  --text: #2d2832;
  --muted: #6e6877;
  --border: rgba(77, 0, 135, 0.12);
  --bg: #fcf9f7;
  --surface: #ffffff;
  --surface-2: #f7f2eb;
  --shadow: 0 20px 60px rgba(23, 17, 29, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1200px, calc(100% - 2rem));
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

::selection { background: rgba(237, 24, 121, 0.2); color: var(--ink); }

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.section-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.75rem;
}
.section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
  color: var(--ink);
}
.section p {
  color: var(--muted);
  max-width: 700px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--coral));
  color: white;
  box-shadow: 0 12px 30px rgba(237, 24, 121, 0.22);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(237, 24, 121, 0.28); }
.btn-secondary {
  background: white;
  color: var(--purple);
  border-color: rgba(77,0,135,0.14);
}
.btn-secondary:hover { border-color: var(--pink); color: var(--pink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-left: 0;
}
.btn-ghost:hover { color: var(--pink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--pink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(23,17,29,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-header .brand img {
  height: clamp(64px, 7vw, 88px);
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.4rem 0.1rem;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--coral));
  transition: width var(--transition);
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.site-nav .btn { padding: 0.75rem 1.1rem; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(23,17,29,0.86) 0%, rgba(23,17,29,0.25) 50%, rgba(23,17,29,0.1) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,17,29,0.84) 0%, rgba(77,0,135,0.18) 45%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,17,29,0.8) 0%, rgba(23,17,29,0.3) 50%, rgba(23,17,29,0.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: 7rem 0 5rem;
  color: white;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  max-width: 760px;
}
.hero h1 span { color: #ffd0b9; }
.hero p {
  color: rgba(255,255,255,0.86);
  max-width: 680px;
  font-size: 1.06rem;
  margin: 0 0 1.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.hero-controls {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: white;
  backdrop-filter: blur(8px);
}
.hero-dots { display: flex; gap: 0.4rem; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,0.4); }
.hero-dots button.active { background: white; }

.impact-strip {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
.impact-band {
  background: white;
  border: 1px solid rgba(77,0,135,0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
}
.impact-item {
  text-align: center;
  padding: 0.5rem 0.2rem;
}
.impact-value {
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 0.15rem;
}
.impact-label {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.card-grid { display: grid; gap: 1.4rem; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.story-card, .project-card, .team-card, .partner-card, .media-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.story-card:hover, .project-card:hover, .team-card:hover, .partner-card:hover, .media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 65px rgba(23,17,29,0.11);
}
.card-media { aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.story-card:hover .card-media img, .project-card:hover .card-media img, .media-card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.2rem 1.35rem; }
.card-body h3 { font-size: 1.1rem; margin: 0 0 0.6rem; color: var(--ink); }
.card-body p { font-size: 0.95rem; margin: 0; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; margin-top: 1rem; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; }

.about-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.about-card {
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.about-card h3 { font-size: 1.3rem; color: var(--ink); margin-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.pillar {
  background: linear-gradient(135deg, rgba(237,24,121,0.08), rgba(241,102,62,0.04));
  border: 1px solid rgba(77,0,135,0.08);
  border-radius: 20px;
  padding: 1.25rem;
}
.pillar strong { display: block; color: var(--purple); margin-bottom: 0.3rem; }

.highlight-band {
  background: linear-gradient(135deg, rgba(77,0,135,0.08), rgba(237,24,121,0.07));
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(77,0,135,0.08);
}

.section-alt { background: #f7f0ea; }

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.split-layout .image-card { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.split-layout .image-card img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

.quote-box {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.quote-box blockquote { font-size: 1.1rem; color: var(--ink); margin: 0 0 0.7rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  text-align: center;
}
.stat-box strong { font-size: 1.8rem; color: var(--purple); display: block; margin-bottom: 0.2rem; }

.partner-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.partner-card {
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.newsletter {
  background: linear-gradient(135deg, var(--ink), var(--purple-dark));
  color: white;
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 24px 60px rgba(23,17,29,0.18);
}
.newsletter form { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.newsletter input {
  flex: 1 1 280px;
  min-height: 50px;
  border-radius: 999px;
  border: 0;
  padding: 0 1rem;
}
.newsletter .btn-primary {
  box-shadow: none;
}
.newsletter .note { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-top: 0.8rem; }

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  padding: 4.5rem 0 2rem;
}
.footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.5rem; }
.footer h4 { color: white; margin-bottom: 0.7rem; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li + li { margin-top: 0.5rem; }
.footer .brand img { height: 56px; margin-bottom: 1rem; }
.footer .bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.page-hero {
  background: linear-gradient(120deg, rgba(77,0,135,0.95), rgba(237,24,121,0.9));
  color: white;
  padding: 4.5rem 0 3.5rem;
}
.page-hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.9rem; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 760px; }
.page-content { padding: 4rem 0 6rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--purple); }

.page-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 0.9rem 1rem; background: #fcfbfa;
}
.field textarea { min-height: 120px; resize: vertical; }
.check-row { display: flex; gap: 0.7rem; align-items: start; }
.check-row input { margin-top: 0.18rem; }

.timeline { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.timeline-item {
  flex: 1 1 180px;
  min-width: 180px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.65s ease, box-shadow 0.65s ease, opacity 0.65s ease;
}
.reveal.visible .timeline-item { opacity: 1; transform: translateY(0); }
.reveal.visible .timeline-item:nth-child(2) { transition-delay: 0.08s; }
.reveal.visible .timeline-item:nth-child(3) { transition-delay: 0.16s; }
.reveal.visible .timeline-item:nth-child(4) { transition-delay: 0.24s; }
.reveal.visible .timeline-item:nth-child(5) { transition-delay: 0.32s; }
.timeline-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(23,17,29,0.14);
}
.timeline-item strong { color: var(--purple); display: block; margin-bottom: 0.35rem; }
.timeline-item p { margin: 0; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .tall { grid-row: span 2; }
.video-frame { display: block; background: #000; }
.video-frame iframe { width: 100%; height: 100%; min-height: 260px; border: 0; background: #000; }
.lightbox { position: fixed; inset: 0; background: rgba(9, 7, 12, 0.86); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 2rem; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,0.28); }
.lightbox button { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.16); color: white; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.is-hidden { display: none; }

@media (max-width: 1024px) {
  .card-grid-4, .partner-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-panel, .split-layout, .two-col { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .impact-band { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 4.5rem 0; }
  .site-header .container { min-height: 70px; }
  .site-header .brand img { height: 58px; }
  .site-nav { position: fixed; top: 70px; left: 1rem; right: 1rem; padding: 1rem; background: white; border-radius: 20px; box-shadow: var(--shadow); flex-direction: column; align-items: start; display: none; }
  .site-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-2); }
  .hero-content { padding: 5rem 0 4rem; }
  .hero-actions { flex-direction: column; align-items: start; }
  .impact-band { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2, .card-grid-3, .card-grid-4, .partner-row, .gallery-grid, .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid .wide, .gallery-grid .tall { grid-column: span 1; grid-row: span 1; }
  .newsletter { padding: 2rem; grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; align-items: stretch; }
  .newsletter input, .newsletter .btn { width: 100%; }
  .footer .container { grid-template-columns: 1fr; }
  .section-intro { flex-direction: column; align-items: start; }
  .pillars { grid-template-columns: 1fr; }
  .hero-controls { left: 1rem; right: 1rem; bottom: 1rem; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
