/* Chapter pages, extends styles.css */

.cp-page { background: var(--white); min-height: 100vh; }

/* HERO -------------------------------------------------------------- */
.cp-hero {
  padding: 80px 64px 60px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.cp-hero-inner { max-width: 1240px; margin: 0 auto; }
.cp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.cp-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.cp-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.1;
  letter-spacing: -0.015em; margin: 0 0 24px;
  max-width: 1000px; text-wrap: balance;
}
.cp-title em { color: var(--primary); font-style: normal; }
.cp-lead {
  font-size: 19px; line-height: 1.55; color: var(--ink);
  margin: 0; max-width: none; text-wrap: pretty;
}

/* Hero stats, outline rounded cards in 4-up */
.cp-stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 56px;
}
.cp-stat-card {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white);
  transition: border-color .2s, transform .15s;
}
.cp-stat-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.cp-stat-card .cp-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em;
  line-height: 1;
}
.cp-stat-card .cp-lab {
  font-size: 13px; line-height: 1.4; color: var(--muted);
}

/* SECTIONS ---------------------------------------------------------- */
.cp-section {
  padding: 80px 64px;
  border-bottom: 1px solid var(--line);
}
.cp-section.cp-section-grey { background: var(--grey); }
.cp-section.cp-section-ink { background: var(--ink); color: var(--white); }
.cp-section.cp-section-ink .cp-h2 { color: var(--white); }
.cp-section.cp-section-ink .cp-sublead { color: var(--muted-light); }
.cp-section-inner { max-width: 1240px; margin: 0 auto; }

.cp-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.025em;
  line-height: 1.15; margin: 0 0 16px;
  text-wrap: balance;
}
.cp-h2 em { color: var(--primary); font-style: normal; }
.cp-sublead {
  font-size: 17px; line-height: 1.55; color: var(--muted);
  margin: 0 0 40px; max-width: none; text-wrap: pretty;
}

/* Context stats (Employability 10.1% / 32.2% / 50%) ---------------- */
.cp-context-stats {
  display: flex; flex-direction: column; gap: 14px;
  margin: 0;
}
.cp-context-stat {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 20px 32px;
  display: flex; align-items: baseline; gap: 24px;
  background: var(--white);
}
.cp-context-stat b {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; letter-spacing: -0.025em;
  color: var(--primary); flex-shrink: 0; min-width: 80px;
}
.cp-context-stat span { font-size: 15px; line-height: 1.5; color: var(--ink); }

.cp-context-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; align-items: stretch; margin-top: 8px;
}
.cp-context-photo { border-radius: 16px; overflow: hidden; }
.cp-context-photo img {
  width: 100%; height: 100%; min-height: 320px;
  object-fit: cover; display: block; border-radius: 16px;
}
.cp-context-split .cp-context-stats { justify-content: center; margin: 0; }
@media (max-width: 860px) {
  .cp-context-split { grid-template-columns: 1fr; }
  .cp-context-photo img { min-height: 220px; }
}

/* Numbered pillars list (Learning Journey) ------------------------- */
.cp-num-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.cp-num-list li {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 20px; padding: 22px 0;
  border-top: 1px solid var(--line);
}
.cp-num-list li:last-child { border-bottom: 1px solid var(--line); }
.cp-num-list .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; color: var(--primary);
}
.cp-num-list strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 18px; margin-bottom: 6px;
}
.cp-num-list span { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* Programme timeline cards ----------------------------------------- */
.cp-timeline { display: flex; flex-direction: column; gap: 14px; }
.cp-tl-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 28px;
  background: var(--white);
  transition: border-color .2s;
}
.cp-tl-card:hover { border-color: var(--primary); }
.cp-tl-when {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; color: var(--primary);
  margin-bottom: 8px;
}
.cp-tl-title {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.cp-tl-desc { font-size: 15px; color: var(--muted); line-height: 1.55; }
.cp-tl-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cp-tl-tag {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: 999px;
  background: var(--grey); color: var(--ink);
}

/* Alumni cards (People Behind the Numbers) ------------------------ */
.cp-alumni-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cp-alumni-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  display: flex; flex-direction: column;
}
.cp-alumni-photo {
  width: 100%; aspect-ratio: 4/3;
  background: var(--grey);
  overflow: hidden;
}
.cp-alumni-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-alumni-body { padding: 22px 24px; }
.cp-alumni-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.cp-alumni-role { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--primary); margin-bottom: 14px; }
.cp-alumni-quote { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

/* Feature image sets (1 main + 2 side) ----------------------------- */
.cp-imgset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.cp-imgset img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; min-height: 0; }
.cp-imgset .cp-imgset-main { grid-column: span 2; aspect-ratio: 21 / 9; }
.cp-imgset img:not(.cp-imgset-main) { aspect-ratio: 4 / 3; }
@media (max-width: 720px) {
  .cp-imgset .cp-imgset-main { aspect-ratio: 16 / 10; }
}

/* Follow-up stats (alumni small numbers) -------------------------- */
.cp-followup {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
}
.cp-fu-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cp-fu-num {
  font-family: var(--font-display); font-weight: 700; font-size: 32px;
  letter-spacing: -0.025em; color: var(--primary); line-height: 1;
}
.cp-fu-lab { font-size: 15px; color: var(--ink); }

/* Interactive alumni follow-up bars (Entrepreneurship) ----------- */
.cp-fu2-list { border-top: 1px solid var(--line); }
.cp-fu2-row {
  display: grid; grid-template-columns: 84px 1fr; gap: 24px;
  align-items: center; padding: 20px 16px 20px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: background .2s;
}
.cp-fu2-row:hover { background: rgba(31,163,166,0.05); }
.cp-fu2-frac {
  font-family: var(--font-display); font-weight: 700; font-size: 32px;
  letter-spacing: -0.025em; color: var(--primary); line-height: 1;
}
.cp-fu2-frac span { font-size: 17px; font-weight: 600; opacity: 0.5; }
.cp-fu2-top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; margin-bottom: 10px;
}
.cp-fu2-lab { font-size: 15px; color: var(--ink); }
.cp-fu2-pct {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--primary); flex: 0 0 auto;
}
.cp-fu2-track {
  height: 8px; background: var(--grey-2); border-radius: 999px; overflow: hidden;
}
.cp-fu2-fill {
  height: 100%; background: var(--primary); border-radius: 999px;
  transition: width .25s linear;
}
@media (max-width: 720px) {
  .cp-fu2-row { grid-template-columns: 64px 1fr; gap: 16px; }
  .cp-fu2-frac { font-size: 26px; }
  .cp-fu2-pct { display: none; }
}

/* Gap cards (Closing the Gap) ------------------------------------- */
.cp-gap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Funder logos grid (replaces programme timeline) ----------------- */
.cp-funders-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.cp-funder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  min-height: 180px;
  transition: border-color .2s, transform .15s;
}
.cp-funder:hover { border-color: var(--primary); transform: translateY(-2px); }
.cp-funder img {
  max-width: 80%; max-height: 70px;
  width: auto; height: auto;
  object-fit: contain;
  filter: none; opacity: 1;
  transition: filter .2s, opacity .2s;
}
.cp-funder:hover img { filter: grayscale(0); opacity: 1; }
.cp-funder-name {
  font-family: var(--font-display); font-weight: 500; font-size: 12px;
  letter-spacing: 0.04em; color: var(--muted);
  text-align: center;
  text-wrap: balance;
}
.cp-gap-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: var(--white);
}
.cp-gap-num {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.1em; color: var(--primary); margin-bottom: 10px;
}
.cp-gap-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }

/* Quote callout ---------------------------------------------------- */
.cp-quote {
  border-left: 4px solid var(--primary);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
  max-width: 880px;
}
.cp-quote p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45; color: var(--ink);
  margin: 0 0 16px; text-wrap: pretty;
}
.cp-quote .attr {
  display: block; font-family: var(--font-display);
  font-weight: 500; font-size: 14px; color: var(--muted);
}

/* Skill chips ------------------------------------------------------ */
.cp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  color: var(--ink);
  background: var(--white);
}

/* Skill tiles (icon grid) ----------------------------------------- */
.cp-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.cp-skill-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.cp-skill-tile:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26,22,35,0.07);
}
.cp-skill-ic {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(31,163,166,0.10);
  color: var(--primary);
}
.cp-skill-ic svg { width: 22px; height: 22px; display: block; }
.cp-skill-name {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  line-height: 1.3; color: var(--ink); text-wrap: balance;
}
@media (max-width: 900px) { .cp-skill-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cp-skill-grid { grid-template-columns: 1fr; } }

/* SME challenge cards (Entrepreneurship) -------------------------- */
.cp-challenge-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cp-challenge-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
}
.cp-challenge-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; letter-spacing: -0.025em;
  color: var(--primary); margin-bottom: 10px; line-height: 1;
}
.cp-challenge-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* Big stat grid (6-up Measured Impact) ---------------------------- */
.cp-stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.cp-stat-tile {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  background: var(--white);
}
.cp-stat-tile-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; letter-spacing: -0.025em; line-height: 1;
  color: var(--ink); margin-bottom: 8px;
}
.cp-stat-tile-lab { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Business case cards (Entrepreneurship) -------------------------- */
.cp-case-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.cp-case-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
}
.cp-case-tag {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.cp-case-name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  margin-bottom: 4px;
}
.cp-case-meta {
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  color: var(--muted); margin-bottom: 14px;
}
.cp-case-body { font-size: 14px; line-height: 1.55; color: var(--ink); margin: 0; }

/* Capability list (Knowledge full-spectrum) ----------------------- */
.cp-cap-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cp-cap-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
}
.cp-cap-title {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  margin-bottom: 10px;
}
.cp-cap-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Knowledge partner programme cards ------------------------------- */
.cp-kp-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  margin-bottom: 14px;
}
.cp-kp-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cp-kp-meta span {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--grey); color: var(--ink);
}
.cp-kp-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.cp-kp-desc { font-size: 15px; line-height: 1.55; color: var(--muted); margin-bottom: 14px; }
.cp-kp-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-kp-tags span {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 500;
}

/* Language chips --------------------------------------------------- */
.cp-lang { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-lang span {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
}

/* Interactive localisation demo ---------------------------------- */
.cp-lang-demo {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 14px;
  background: var(--white);
  padding: 22px 26px;
}
.cp-lang-demo-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  color: var(--muted); margin-bottom: 12px;
}
.cp-lang-demo-head strong { color: var(--primary); font-weight: 600; }
.cp-lang-demo-flagdot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: 0 0 auto; }
.cp-lang-demo-phrase {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.32;
  letter-spacing: -0.01em; color: var(--ink); margin: 0;
  animation: cpLangFade .35s ease;
}
@keyframes cpLangFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cp-lang-demo-hint {
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: 13px; color: var(--muted);
}
.cp-lang-demo-hint svg { color: var(--primary); flex: 0 0 auto; }

.cp-lang-interactive { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-lang-chip {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  color: var(--ink); background: var(--white);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.cp-lang-chip:hover { border-color: var(--primary); transform: translateY(-1px); }
.cp-lang-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (prefers-reduced-motion: reduce) { .cp-lang-demo-phrase { animation: none; } }

/* Partner cards (Trusted by) -------------------------------------- */
.cp-partner-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  align-items: stretch;
}
.cp-partner-grid .cp-partner-card { margin-bottom: 0; }
.cp-partner-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 12px;
  display: block;
  background: var(--white);
}
.cp-partner-link {
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.cp-partner-link:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -16px rgba(26,22,35,0.18);
}
.cp-partner-logos {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cp-partner-icon { height: 32px; width: auto; display: block; }
.cp-partner-logo-headline { height: 36px; width: auto; display: block; }
.cp-partner-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.cp-partner-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Pillar/principle cards ------------------------------------------- */
.cp-principles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cp-principle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 22px 30px;
}
.cp-principle-title {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  margin-bottom: 4px; text-align: center;
}
.cp-principle-desc { font-size: 14px; color: var(--muted); line-height: 1.5; text-align: center; }

/* Makerspace timeline cards --------------------------------------- */
.cp-ms-grid { display: flex; flex-direction: column; gap: 14px; }
.cp-ms-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 30px;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 28px; align-items: start;
}
.cp-ms-photo {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 12px; background: var(--grey); overflow: hidden;
}
.cp-ms-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-ms-photo[data-missing] { display: flex; align-items: center; justify-content: center; }
.cp-ms-photo[data-missing]::after {
  content: 'Photo coming soon';
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.cp-ms-when { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.cp-ms-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.cp-ms-desc { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.cp-ms-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.cp-ms-stats span {
  font-family: var(--font-display); font-weight: 500; font-size: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--grey); color: var(--ink);
}

/* 4-step list (We Help Others Build) ------------------------------ */
.cp-steps {
  display: flex; flex-direction: column; gap: 0;
}
.cp-steps li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; padding: 22px 0;
  border-top: 1px solid var(--line);
}
.cp-steps li:last-child { border-bottom: 1px solid var(--line); }
.cp-steps .num {
  font-family: var(--font-display); font-weight: 700; font-size: 28px;
  color: var(--primary); letter-spacing: -0.025em;
}
.cp-steps strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.cp-steps span { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* SDG badges ------------------------------------------------------- */
.cp-sdg { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-sdg-badge {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}

/* Before / After grid --------------------------------------------- */
.cp-baw {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cp-baw-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
}
.cp-baw-tag {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}
.cp-baw-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }

/* Impact area cards (Action - 6up) -------------------------------- */
.cp-areas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.cp-area-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
}
.cp-area-card h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  margin: 0 0 8px;
}
.cp-area-card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Future focus (What Comes Next) ---------------------------------- */
.cp-future {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cp-future-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
}
.cp-future-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.cp-future-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Crowdfund cards ------------------------------------------------- */
.cp-fund-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cp-fund-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
}
.cp-fund-tag {
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  color: var(--muted); margin-bottom: 10px;
}
.cp-fund-num {
  font-family: var(--font-display); font-weight: 700; font-size: 40px;
  letter-spacing: -0.03em; color: var(--primary);
  line-height: 1; margin-bottom: 12px;
}
.cp-fund-desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

/* Chapter footer nav (prev/next) ---------------------------------- */
.cp-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 60px 64px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.cp-nav-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s, transform .15s;
  cursor: pointer;
}
.cp-nav-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.cp-nav-card.next { text-align: right; align-items: flex-end; }
.cp-nav-card .dir {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.cp-nav-card .name {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
}

/* Hero stat numbers — Anchor Blue for authority -------------------- */
.cp-hero .cp-stat-card .cp-num { color: var(--secondary); }
.cp-hero .cp-stat-card:hover .cp-num { color: var(--primary); }

/* Grey section variant — Anchor Blue accents for visual rhythm ---- */
.cp-section.cp-section-grey .cp-eyebrow { color: var(--secondary); }
.cp-section.cp-section-grey .cp-eyebrow::before { background: var(--secondary); }
.cp-section.cp-section-grey .cp-h2 em { color: var(--secondary); }
.cp-section.cp-section-grey .cp-context-stat b { color: var(--secondary); }
.cp-section.cp-section-grey .cp-num-list .num { color: var(--secondary); }
.cp-section.cp-section-grey .cp-tl-when { color: var(--secondary); }
.cp-section.cp-section-grey .cp-challenge-num { color: var(--secondary); }
.cp-section.cp-section-grey .cp-fu-num { color: var(--secondary); }
.cp-section.cp-section-grey .cp-gap-num { color: var(--secondary); }
.cp-section.cp-section-grey .cp-steps .num { color: var(--secondary); }
.cp-section.cp-section-grey .cp-case-tag { color: var(--secondary); }
.cp-section.cp-section-grey .cp-baw-tag { color: var(--secondary); }
.cp-section.cp-section-grey .cp-fund-num { color: var(--secondary); }
.cp-section.cp-section-grey .cp-quote { border-left-color: var(--secondary); }
.cp-section.cp-section-grey .cp-kp-tags span { background: var(--secondary); }
.cp-section.cp-section-grey .cp-stat-card .cp-num { color: var(--secondary); }

/* Responsive ------------------------------------------------------- */
@media (max-width: 1180px) {
  .cp-hero, .cp-section, .cp-nav { padding-left: 32px; padding-right: 32px; }
  .cp-stat-row, .cp-areas { grid-template-columns: repeat(2, 1fr); }
  .cp-alumni-grid, .cp-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-partner-grid { grid-template-columns: 1fr; }
  .cp-funders-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-ms-card { grid-template-columns: 1fr; }
  .cp-ms-photo { aspect-ratio: 16/9; }
}
@media (max-width: 720px) {
  .cp-hero, .cp-section, .cp-nav { padding-left: 20px; padding-right: 20px; padding-top: 56px; padding-bottom: 56px; }
  .cp-stat-row, .cp-context-stats, .cp-alumni-grid, .cp-gap-grid, .cp-stat-grid,
  .cp-challenge-grid, .cp-case-grid, .cp-cap-grid, .cp-principles, .cp-baw,
  .cp-areas, .cp-future, .cp-fund-grid, .cp-nav, .cp-funders-grid { grid-template-columns: 1fr; }
  .cp-stat-card, .cp-context-stat, .cp-principle { border-radius: 16px; padding: 20px 24px; }
  .cp-context-stat { flex-direction: column; gap: 6px; align-items: flex-start; }
  .cp-context-stat b { min-width: 0; }
  .cp-nav-card.next { text-align: left; align-items: flex-start; }
  .cp-ms-card { padding: 20px 22px; }
  .cp-quote { padding-left: 20px; }
}

/* Blue section variant — Horizon Blue accents on dark */
.cp-section.cp-section-blue {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cp-section.cp-section-blue::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(92,125,184,0.18) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(31,163,166,0.12) 0%, transparent 40%);
  pointer-events: none;
}
.cp-section.cp-section-blue .cp-eyebrow { color: var(--primary); }
.cp-section.cp-section-blue .cp-eyebrow::before { background: var(--primary); }
.cp-section.cp-section-blue .cp-h2 { color: var(--white); }
.cp-section.cp-section-blue .cp-h2 em { color: var(--primary); }
.cp-section.cp-section-blue .cp-sublead { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-num-list .num { color: var(--primary); }
.cp-section.cp-section-blue .cp-num-list li { border-top-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-num-list li:last-child { border-bottom-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-num-list span { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: var(--white); }
.cp-section.cp-section-blue .cp-tl-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-tl-card:hover { border-color: rgba(255,255,255,0.28); }
.cp-section.cp-section-blue .cp-tl-when { color: var(--primary); }
.cp-section.cp-section-blue .cp-tl-desc { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-tl-tag { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.cp-section.cp-section-blue .cp-fu-row { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-fu-num { color: var(--primary); }
.cp-section.cp-section-blue .cp-fu-lab { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-followup { border-top-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-alumni-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-alumni-role { color: var(--primary); }
.cp-section.cp-section-blue .cp-alumni-quote { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-challenge-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-challenge-num { color: var(--primary); }
.cp-section.cp-section-blue .cp-challenge-card p { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-stat-tile { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-stat-tile-num { color: var(--white); }
.cp-section.cp-section-blue .cp-stat-tile-lab { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-case-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-case-tag { color: var(--primary); }
.cp-section.cp-section-blue .cp-case-meta { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-case-body { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-cap-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-cap-desc { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-gap-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-gap-num { color: var(--primary); }
.cp-section.cp-section-blue .cp-gap-card p { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-ms-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-ms-when { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-ms-desc { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-ms-stats span { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.cp-section.cp-section-blue .cp-steps .num { color: var(--primary); }
.cp-section.cp-section-blue .cp-steps li { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-steps span { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-area-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-area-card p { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-future-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-future-card p { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-quote { border-left-color: var(--primary); }
.cp-section.cp-section-blue .cp-quote p { color: var(--white); }
.cp-section.cp-section-blue .cp-quote .attr { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-context-stat { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-context-stat b { color: var(--primary); }
.cp-section.cp-section-blue .cp-context-stat span { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-kp-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-kp-meta span { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.cp-section.cp-section-blue .cp-kp-desc { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-kp-tags span { background: var(--primary); }
.cp-section.cp-section-blue .cp-fund-card { border-color: rgba(255,255,255,0.14); }
.cp-section.cp-section-blue .cp-fund-tag { color: var(--muted-light); }
.cp-section.cp-section-blue .cp-fund-num { color: var(--primary); }
.cp-section.cp-section-blue .cp-fund-desc { color: var(--muted-light); }


/* ===== Chapter photo galleries ===== */
.cp-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 12px; }
.cp-ph { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #edecea; grid-column: span 2; }
.cp-ph img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.cp-ph.cp-span-3 { grid-column: span 3; }
.cp-ph.cp-span-4 { grid-column: span 4; }
.cp-ph.cp-span-6 { grid-column: span 6; }
.cp-ph.cp-span-4 img { aspect-ratio: 16 / 9; }
.cp-ph.cp-span-6 img { aspect-ratio: 21 / 9; }
.cp-ph figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px; line-height: 1.4;
  background: linear-gradient(transparent, rgba(20, 18, 28, 0.72));
}
@media (max-width: 860px) {
  .cp-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cp-ph { grid-column: span 1; }
  .cp-ph.cp-span-3 { grid-column: span 1; }
  .cp-ph.cp-span-4, .cp-ph.cp-span-6 { grid-column: span 2; }
}

/* Wider / larger screens ------------------------------------------ */
@media (min-width: 1600px) {
  .cp-hero-inner, .cp-section-inner { max-width: 1440px; }
}
@media (min-width: 2000px) {
  .cp-hero-inner, .cp-section-inner { max-width: 1640px; }
}


/* ===== Skills-training photo cards ===== */
.cp-skills-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; align-items: start; }
.cp-skill-card { border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cp-skill-card-media { position: relative; aspect-ratio: 3 / 2; background: var(--grey); flex: none; width: 100%; min-height: 0; overflow: hidden; }
.cp-skill-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-skill-card-num { position: absolute; top: 12px; left: 12px; background: rgba(20,18,28,0.72); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; padding: 4px 11px; border-radius: 999px; }
.cp-skill-card-body { padding: 18px 20px 22px; }
.cp-skill-card-body strong { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.25; margin-bottom: 7px; }
.cp-skill-card-body span { color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 860px) { .cp-skills-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cp-skills-cards { grid-template-columns: 1fr; } }


/* ===== Client logos on knowledge programme cards ===== */
.cp-kp-logos { display: flex; align-items: center; gap: 22px; margin: 4px 0 14px; flex-wrap: wrap; }
.cp-kp-logos img { height: 30px; width: auto; max-width: 150px; object-fit: contain; display: block; }


/* ===== Wider / larger screens: scale chapter typography & widen band ===== */
@media (min-width: 1500px) {
  .cp-hero-inner, .cp-section-inner { max-width: 1480px; }
  .cp-hero { padding-left: max(64px, calc((100% - 1480px) / 2)); padding-right: max(64px, calc((100% - 1480px) / 2)); }
  .cp-section { padding-left: max(64px, calc((100% - 1480px) / 2)); padding-right: max(64px, calc((100% - 1480px) / 2)); }
  .cp-eyebrow { font-size: 13px; }
  .cp-title { font-size: clamp(56px, 4.4vw, 84px); }
  .cp-lead { font-size: 21px; }
  .cp-h2 { font-size: clamp(38px, 2.9vw, 50px); }
  .cp-sublead { font-size: 19px; }
  .cp-stat-card .cp-num { font-size: clamp(30px, 2.2vw, 40px); }
  .cp-stat-card .cp-lab { font-size: 14.5px; }
  .cp-stat-tile-num { font-size: 40px; }
  .cp-num-list .num, .cp-num-list strong { font-size: 20px; }
  .cp-num-list span { font-size: 16.5px; }
  .cp-ms-name { font-size: 21px; }
  .cp-ms-desc { font-size: 15.5px; }
  .cp-alumni-name { font-size: 19px; }
  .cp-alumni-role { font-size: 14px; }
  .cp-alumni-quote { font-size: 15.5px; }
  .cp-skill-card-body strong { font-size: 19px; }
  .cp-skill-card-body span { font-size: 15.5px; }
}
@media (min-width: 2100px) {
  .cp-hero-inner, .cp-section-inner { max-width: 1720px; }
  .cp-hero { padding-left: max(64px, calc((100% - 1720px) / 2)); padding-right: max(64px, calc((100% - 1720px) / 2)); padding-top: 110px; padding-bottom: 90px; }
  .cp-section { padding-left: max(64px, calc((100% - 1720px) / 2)); padding-right: max(64px, calc((100% - 1720px) / 2)); padding-top: 130px; padding-bottom: 130px; }
  .cp-eyebrow { font-size: 14.5px; }
  .cp-title { font-size: clamp(72px, 4.6vw, 104px); }
  .cp-lead { font-size: 24px; }
  .cp-h2 { font-size: clamp(48px, 3vw, 62px); }
  .cp-sublead { font-size: 21px; }
  .cp-stat-card .cp-num { font-size: clamp(40px, 2.3vw, 52px); }
  .cp-stat-card .cp-lab { font-size: 16px; }
  .cp-stat-tile-num { font-size: 52px; }
  .cp-num-list .num, .cp-num-list strong { font-size: 23px; }
  .cp-num-list span { font-size: 18.5px; }
  .cp-ms-name { font-size: 24px; }
  .cp-ms-desc { font-size: 17px; }
  .cp-alumni-name { font-size: 22px; }
  .cp-alumni-role { font-size: 15.5px; }
  .cp-alumni-quote { font-size: 17px; }
  .cp-skill-card-body strong { font-size: 22px; }
  .cp-skill-card-body span { font-size: 17px; }
}


/* ===== Icon capability cards (Spaces principles) ===== */
.cp-cap-grid-icons .cp-cap-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 26px 28px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.cp-cap-grid-icons .cp-cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 38px rgba(20,35,40,0.10);
}
.cp-cap-icon {
  flex: none;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  transition: background .35s ease, color .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.cp-cap-icon svg { width: 26px; height: 26px; display: block; }
.cp-cap-grid-icons .cp-cap-card:hover .cp-cap-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}
.cp-cap-body { min-width: 0; }
.cp-cap-grid-icons .cp-cap-title { margin-bottom: 7px; }
@media (max-width: 760px) {
  .cp-cap-grid-icons .cp-cap-card { padding: 20px 22px; gap: 14px; }
  .cp-cap-icon { width: 44px; height: 44px; }
}


/* ===== Interactive step cards (We Help Others Build) ===== */
.cp-steps-cards {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.cp-steps-cards li {
  border: 1px solid var(--line); border-top: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  align-items: start;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.cp-steps-cards li:last-child { border-bottom: 1px solid var(--line); }
.cp-steps-cards li::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--primary); transform: scaleY(0); transform-origin: top;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cp-steps-cards li:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 38px rgba(20,35,40,0.10);
}
.cp-steps-cards li:hover::before { transform: scaleY(1); }
.cp-steps-cards .num {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  font-size: 22px;
  transition: background .35s ease, color .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.cp-steps-cards li:hover .num {
  background: var(--primary); color: #fff;
  transform: scale(1.06) rotate(-3deg);
}
.cp-steps-cards li { grid-template-columns: 46px 1fr; }
@media (min-width: 700px) {
  .cp-steps-cards { grid-template-columns: 1fr 1fr; }
}
