:root {
  --purple: #4B3B9E;
  --purple-dk: #352B78;
  --purple-lt: #EAE7F8;
  --yellow: #F5C842;
  --yellow-dk: #C9A22A;
  --yellow-lt: #FDF4D0;
  --dark: #1C1825;
  --mid: #5A556B;
  --muted: #8B87A0;
  --light: #F8F7F4;
  --border: rgba(28, 24, 37, 0.09);
  --white: #FFFFFF;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 120px 52px 60px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background: url('../img/uploads/hero-image.jpg') center 40% / cover no-repeat;
  opacity: 0.15;
}
.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.page-header-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--yellow);
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--yellow);
}
.page-header-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #f3f3f3;
  font-weight: 300;
  max-width: 540px;
}

/* ── COMMON ── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-lt);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.section-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.section-h em {
  font-style: italic;
  color: var(--purple);
}

/* ── OUR STORY ── */
.about-story {
  padding: 80px 52px;
  background: var(--white);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-story-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 16px;
}
.about-story-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.about-story-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.about-story-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: var(--yellow-lt);
  border-radius: 16px;
  z-index: -1;
}

/* ── MISSION ── */
.mission-section {
  padding: 80px 52px;
  background: var(--light);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mission-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.mission-card:hover {
  box-shadow: 0 12px 36px rgba(75, 59, 158, 0.10);
  transform: translateY(-4px);
}
.mission-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.mission-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.mission-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
}

/* ── IMPACT ── */
.impact-section {
  padding: 80px 52px;
  background: var(--dark);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.impact-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s;
}
.impact-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.impact-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.impact-num span {
  color: var(--yellow);
}
.impact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.50);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ── TEAM ── */
.team-section {
  padding: 80px 52px;
  background: var(--white);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.team-card {
  background: var(--light);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.team-card:hover {
  box-shadow: 0 8px 28px rgba(75, 59, 158, 0.10);
  transform: translateY(-3px);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── PARTNERS ── */
.partners-section {
  padding: 80px 52px;
  background: var(--light);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.partner-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.partner-card:hover {
  box-shadow: 0 8px 28px rgba(75, 59, 158, 0.10);
}
.partner-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 auto 14px;
}
.partner-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}
.partner-type {
  font-size: 11px;
  color: var(--muted);
}

/* ── JOIN / NEWSLETTER SECTION ── */
.join-newsletter {
  padding: 80px 52px;
  background: var(--purple);
  position: relative;
  overflow: hidden;
}

.join-newsletter::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(245, 200, 66, 0.06);
  pointer-events: none;
}

.join-newsletter::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(245, 200, 66, 0.04);
  pointer-events: none;
}

.join-nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left: Text */
.join-nl-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.join-nl-left h2 em {
  font-style: italic;
  color: var(--yellow);
}

.join-nl-left p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-weight: 300;
  max-width: 400px;
}

/* Right: Form */
.join-nl-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#newsletterForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Form rows */
.nl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nl-row-submit {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.nl-row-submit .nl-input {
  flex: 1;
}

/* Input fields */
.nl-input {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  padding: 11px 14px;
  font-size: 13px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.nl-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.nl-input:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.15);
}

/* Submit button */
.btn-nl {
  background: var(--yellow);
  color: var(--dark);
  padding: 11px 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  min-width: 130px;
}

.btn-nl:hover {
  background: #e8ba38;
  transform: translateY(-1px);
}

.btn-nl:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Alert messages */
.nl-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  display: none;
}

.nl-alert-error {
  background: rgba(220, 38, 38, 0.12);
  color: #ff8a8a;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-left: 3px solid #ff6b6b;
}

.nl-alert-success {
  background: rgba(26, 122, 74, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(26, 122, 74, 0.25);
  border-left: 3px solid #4ade80;
}

/* Note text */
.nl-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
  min-height: 16px;
  transition: color 0.3s;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 1;
  transform: translateY(22px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .page-header,
  .about-story,
  .mission-section,
  .impact-section,
  .team-section,
  .partners-section,
  .join-newsletter {
    padding-left: 28px;
    padding-right: 28px;
  }
  
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-story-image img {
    height: 320px;
  }
  
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .join-nl-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .join-nl-left p {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .page-header,
  .about-story,
  .mission-section,
  .impact-section,
  .team-section,
  .partners-section,
  .join-newsletter {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .page-header {
    padding-top: 96px;
  }
  
  .mission-grid,
  .team-grid,
  .partners-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }
  
  .join-newsletter {
    padding: 56px 16px;
  }
  
  .nl-row {
    grid-template-columns: 1fr;
  }
  
  .nl-row-submit {
    flex-direction: column;
  }
  
  .btn-nl {
    width: 100%;
  }
}