/* ============================================================
   SheFound.Africa — Group Site Stylesheet
   Palette: brand navy + SheFound pink, warm paper, gold accent
   Type: Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --navy:       #242753;
  --navy-deep:  #1A1C3D;
  --pink:       #E13162;
  --pink-dark:  #C2204E;
  --pink-soft:  #FBEAF0;
  --cream:      #FAF7F2;
  --paper:      #FFFFFF;
  --gold:       #E8A33D;
  --gold-soft:  #FBF3E4;
  --ink:        #1E2033;
  --muted:      #5D6070;
  --line:       #E5E1D8;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

img { max-width: 100%; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Ripple motif (brand signature) ---------- */
.ripple {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(225, 49, 98, 0.25);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 14px rgba(26, 28, 61, 0.25);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.01em; transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--pink); color: #fff !important;
  padding: 9px 20px; border-radius: 5px; font-weight: 600 !important;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--pink-dark); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; transition: 0.2s; }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    padding: 24px 28px; gap: 20px;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(22,24,53,0.93) 0%, rgba(36,39,83,0.86) 55%, rgba(36,39,83,0.62) 100%),
    url('../images/hero-home.jpg') center 30%/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  max-width: 850px;
  font-weight: 600;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede {
  margin-top: 26px; font-size: 1.12rem; max-width: 620px;
  color: rgba(255,255,255,0.82); line-height: 1.7;
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 6px;
  font-weight: 600; font-size: 0.95rem; transition: all 0.15s;
}
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.tint { background: var(--paper); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.pinksoft { background: var(--pink-soft); }

.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink);
  margin-bottom: 16px;
}
.section.navy .eyebrow { color: var(--gold); }

.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 760px; }
.section .sub { margin-top: 18px; color: var(--muted); max-width: 660px; font-size: 1.04rem; }
.section.navy .sub { color: rgba(255,255,255,0.78); }

/* ---------- Stat strip ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px;
}
.stat .num {
  font-family: 'Fraunces', serif; font-size: 2.9rem; font-weight: 600;
  color: var(--pink); line-height: 1;
}
.section.navy .stat .num { color: var(--gold); }
.stat .label { margin-top: 10px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.section.navy .stat .label { color: rgba(255,255,255,0.75); }
@media (max-width: 880px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Pillar cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 36px 30px; position: relative; overflow: hidden;
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--pink);
}
.pillar:nth-child(2)::before { background: var(--gold); }
.pillar:nth-child(3)::before { background: var(--navy); }
.pillar h3 { font-size: 1.45rem; margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 0.96rem; }
.pillar a.more { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 0.9rem; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Anchor (two voices) ---------- */
.voice {
  border-left: 4px solid var(--pink);
  padding: 8px 0 8px 34px; margin-top: 48px;
}
.voice.second { border-color: var(--gold); }
.voice h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 500; line-height: 1.4;
}
.voice .tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pink); display: block; margin-bottom: 12px;
}
.voice.second .tag { color: var(--gold); }

/* ---------- Country cards ---------- */
.countries { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
.country {
  border-radius: 12px; padding: 42px 38px; color: #fff;
  background: var(--navy); position: relative; overflow: hidden;
}
.country.ng { background: var(--pink-dark); }
.country .status {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; background: rgba(255,255,255,0.16);
  padding: 5px 12px; border-radius: 30px; margin-bottom: 20px;
}
.country h3 { color: #fff; font-size: 1.8rem; }
.country p { margin-top: 12px; color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.country .link { display: inline-block; margin-top: 24px; color: #fff; font-weight: 600; border-bottom: 1.5px solid rgba(255,255,255,0.5); padding-bottom: 2px; }
@media (max-width: 820px) { .countries { grid-template-columns: 1fr; } }

/* ---------- Logo rows ---------- */
.logo-row-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin: 44px 0 22px;
}
.logo-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.logo-row img { height: 46px; width: auto; opacity: 0.85; filter: grayscale(20%); }

/* ---------- Standard page: five tests ---------- */
.tests { margin-top: 56px; display: grid; gap: 2px; }
.test {
  background: var(--paper); padding: 34px 38px;
  display: grid; grid-template-columns: 70px 1fr; gap: 26px; align-items: start;
  border-left: 3px solid var(--line); transition: border-color 0.2s;
}
.test:hover { border-left-color: var(--pink); }
.test .n {
  font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 600; color: var(--pink);
  line-height: 1;
}
.test h3 { font-size: 1.25rem; margin-bottom: 8px; }
.test p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 600px) { .test { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Model pipeline ---------- */
.pipeline { margin-top: 64px; display: grid; gap: 22px; }
.stage {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 38px; display: grid; grid-template-columns: 170px 1fr; gap: 32px;
  align-items: start;
}
.stage .name {
  font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 600;
}
.stage.aspire .name { color: var(--pink); }
.stage.bloom .name { color: var(--gold); }
.stage.apex .name { color: var(--navy); }
.stage .for {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px;
}
.stage p { color: var(--muted); font-size: 0.97rem; }
.stage .outcome { margin-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.stage .outcome span { color: var(--pink); }
@media (max-width: 680px) { .stage { grid-template-columns: 1fr; gap: 14px; } }

.flow {
  margin: 64px auto 0; text-align: center; font-family: 'Fraunces', serif;
  font-size: clamp(1rem, 2.4vw, 1.5rem); color: var(--navy); font-weight: 500;
  letter-spacing: 0.01em;
}
.flow span { color: var(--pink); padding: 0 10px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.member img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: top center; }
.member .info { padding: 24px 26px 28px; }
.member h3 { font-size: 1.2rem; }
.member .role { color: var(--pink); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }
.member p { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 880px) { .team { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- Reports grid ---------- */
.reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.report {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 32px 30px; display: flex; flex-direction: column;
}
.report .year {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 14px;
}
.report h3 { font-size: 1.2rem; margin-bottom: 10px; }
.report p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.report .btn { margin-top: 22px; text-align: center; font-size: 0.88rem; padding: 11px 20px; }
@media (max-width: 880px) { .reports { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 44px; max-width: 640px; margin-top: 48px;
}
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; background: #fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--pink);
}
.form-row textarea { min-height: 110px; resize: vertical; }

/* ---------- Partner paths ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.path {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 34px 30px;
}
.path h3 { font-size: 1.3rem; margin-bottom: 12px; }
.path p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 880px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Story ---------- */
.story { max-width: 720px; }
.story p { margin-bottom: 24px; font-size: 1.05rem; line-height: 1.8; color: #33364a; }
.story p strong { color: var(--navy); }
.story .opener {
  font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--navy); font-weight: 600;
}

/* ---------- Mission / vision ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
.mv-card {
  border-radius: 10px; padding: 40px 36px;
}
.mv-card.mission { background: var(--navy); color: #fff; }
.mv-card.vision { background: var(--pink-soft); }
.mv-card .tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px; display: block;
}
.mv-card.mission .tag { color: var(--gold); }
.mv-card.vision .tag { color: var(--pink); }
.mv-card p { font-size: 1.02rem; line-height: 1.7; }
.mv-card.mission p { color: rgba(255,255,255,0.92); }
@media (max-width: 820px) { .mv { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: 40px;
  padding: 12px 24px; font-size: 0.9rem; font-weight: 600; color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 70px 0 36px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-grid h4 {
  color: #fff; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 700;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 34px; margin-bottom: 18px; }
.footer-about { font-size: 0.9rem; max-width: 300px; line-height: 1.6; }
.footer-bottom {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy); color: #fff; padding: 88px 0 80px; position: relative; overflow: hidden;
}
.page-hero.has-img {
  background:
    linear-gradient(100deg, rgba(22,24,53,0.94) 0%, rgba(36,39,83,0.88) 55%, rgba(36,39,83,0.68) 100%),
    var(--hero-img) center 32%/cover no-repeat;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 800px; }
.page-hero .lede { margin-top: 20px; color: rgba(255,255,255,0.8); max-width: 640px; font-size: 1.08rem; }

/* ---------- Note / sources ---------- */
.sources { margin-top: 44px; font-size: 0.78rem; color: var(--muted); max-width: 680px; line-height: 1.6; }

/* ---------- Big quote band ---------- */
.band { background: var(--pink); color: #fff; padding: 80px 0; }
.band h2 {
  color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 500;
  max-width: 880px; line-height: 1.35;
}

/* ---------- Photo strip ---------- */
.photo-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 64px; }
.photo-strip img { border-radius: 10px; width: 100%; height: 320px; object-fit: cover; }
@media (max-width: 720px) { .photo-strip { grid-template-columns: 1fr; } .photo-strip img { height: 240px; } }
.story-photo { border-radius: 10px; margin: 36px 0; max-width: 720px; }
.model-photo { border-radius: 10px; margin-top: 48px; width: 100%; max-height: 380px; object-fit: cover; }

/* ---------- Richer photo layouts ---------- */
.photo-strip.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 720px) { .photo-strip.three { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.split img { border-radius: 10px; width: 100%; height: 100%; max-height: 440px; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.stage img.stage-photo {
  border-radius: 8px; width: 100%; height: 150px; object-fit: cover; margin-top: 18px;
}

/* ---------- Story two-column ---------- */
.story-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
.story-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.story-side img { border-radius: 10px; width: 100%; object-fit: cover; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-side { position: static; grid-template-columns: 1fr; } }

/* ---------- Expandable bios ---------- */
.bio-full { display: none; }
.bio-full.open { display: block; }
.bio-full p { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.bio-toggle {
  margin-top: 16px; background: none; border: 1.5px solid var(--pink); color: var(--pink);
  padding: 8px 18px; border-radius: 5px; font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: all 0.15s;
}
.bio-toggle:hover { background: var(--pink); color: #fff; }
