/* =========================================================
   YKKPA — website stylesheet
   Colours come from the theme tokens below (brand or mockup).
   Change a colour or font here and every page updates.
   ========================================================= */

/* Self-hosted brand fonts (SIL Open Font License, see assets/fonts) */
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  /* ---------------------------------------------------------------
     COLOUR THEMES
     The site uses the semantic tokens below (--c-*). Two themes exist:
       brand  = YKKPA Brand Guidelines 2026 (navy + emerald + gold)
       mockup = colours sampled from the page mockups (deep green + gold + terracotta)
     Pick one with "theme" in _source/build.py (sets <html data-theme="...">).
     --------------------------------------------------------------- */
  /* brand (default) */
  --c-bg: #f3f1eb;            --c-bg-rgb: 243, 241, 235;
  --c-bg-alt: #ffffff;
  --c-card: #ffffff;
  --c-dark: #051650;          --c-dark-rgb: 5, 22, 80;     /* hero, dark bands, header UI */
  --c-dark-2: #14472e;                                     /* second dark band colour */
  --c-footer: #051650;
  --c-heading: #051650;
  --c-accent: #ce872a;        --c-accent-rgb: 206, 135, 42; /* rules, icons, borders */
  --c-accent-text: #14472e;   /* eyebrow labels + numbers on light backgrounds */
  --c-accent-on-dark: #ce872a;
  --c-link: #14472e;
  --c-btn-bg: #ce872a;        --c-btn-text: #051650;
  --c-btn-hover-bg: #051650;  --c-btn-hover-text: #ffffff;
  --c-cta: #14472e;           --c-cta-rgb: 20, 71, 46;
  --c-wa: #14472e;
  --c-letter-2: #051650;
  --c-eyebrow-on-dark: #ffffff;
  --c-link-on-dark: #ffffff;
  --c-route-bg: #ffffff;
  --btn-radius: 999px;
  --btn-weight: 700;
  --white: #ffffff;

  /* Neutral text tones (guidelines p.09: body copy uses neutral/darker tones) */
  --ink: #26262b;
  --ink-soft: #55565c;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.82);
  --line: rgba(var(--c-dark-rgb), 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.22);

  /* Typography (guidelines p.08) */
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: 20px;
  --radius: 14px;
  --section-y: clamp(44px, 6.5vw, 92px);
}

/* mockup theme — sampled from "1. Home.png" … "5. Contact Us.png".
   Gold text is deepened slightly (#8f6220) where it sits on cream, because the
   mockup gold (#c08a3e) is only 2.8:1 there and fails readability guidelines. */
:root[data-theme="mockup"] {
  --c-bg: #fbf6ef;            --c-bg-rgb: 251, 246, 239;
  --c-bg-alt: #f2e9dc;
  --c-card: #ffffff;
  --c-dark: #0b3b34;          --c-dark-rgb: 11, 59, 52;
  --c-dark-2: #0b3b34;
  --c-footer: #062f29;
  --c-heading: #10302b;
  --c-accent: #c08a3e;        --c-accent-rgb: 192, 138, 62;
  --c-accent-text: #8f6220;
  --c-accent-on-dark: #d3b259;
  --c-link: #b5452e;
  --c-btn-bg: #c24e36;        --c-btn-text: #ffffff;
  --c-btn-hover-bg: #0b3b34;  --c-btn-hover-text: #ffffff;
  --c-cta: #a84836;           --c-cta-rgb: 168, 72, 54;
  --c-wa: #c24e36;
  --c-letter-2: #10302b;
  --c-eyebrow-on-dark: #d3b259;
  --c-link-on-dark: #f2805f;
  --c-route-bg: #f7f0e6;
  --btn-radius: 3px;
  --btn-weight: 500;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--c-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); }
a:hover { color: var(--c-heading); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--c-heading);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 7.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 40em; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--c-dark); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--c-bg-alt); }
.section--navy, .section--green { color: var(--on-dark); }
.section--navy { background: var(--c-dark); }
.section--green { background: var(--c-dark-2); }
.section--navy h2, .section--navy h3, .section--green h2, .section--green h3 { color: var(--white); }
.section--navy .lead, .section--green .lead, .section--navy p, .section--green p { color: var(--on-dark-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrow label: gold rule + small caps.
   Text stays green/navy on light backgrounds because gold text fails contrast there. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-accent-text); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--c-accent); flex: none; }
.section--navy .eyebrow, .section--green .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--c-eyebrow-on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ----------
   Gold background + navy text = 5.8:1 contrast (white on gold fails at 2.9:1). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-body); font-weight: var(--btn-weight); font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--btn-radius); border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--gold { background: var(--c-btn-bg); color: var(--c-btn-text); }
.btn--gold:hover { background: var(--c-btn-hover-bg); color: var(--c-btn-hover-text); border-color: var(--c-btn-hover-bg); }
.section--navy .btn--gold:hover, .hero .btn--gold:hover, .cta-band .btn--gold:hover { background: var(--white); color: var(--c-dark); border-color: var(--white); }
.btn--outline { border-color: currentColor; color: var(--c-heading); background: transparent; }
.btn--outline:hover { background: var(--c-dark); color: var(--white); border-color: var(--c-dark); }
.btn--whatsapp { background: var(--c-wa); color: var(--white); }
.btn--whatsapp:hover { background: var(--c-dark); color: var(--white); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--c-link); text-decoration: none;
  border-bottom: 2px solid var(--c-accent); padding-bottom: 2px;
}
.text-link:hover { color: var(--c-heading); }
.section--navy .text-link, .section--green .text-link { color: var(--white); }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--c-bg-rgb), 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--c-heading); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav__list a:hover { background: rgba(var(--c-dark-rgb), 0.06); }
.nav__list a[aria-current="page"] { color: var(--c-accent-text); box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
}
.lang-switch a, .lang-switch span { padding: 7px 12px; text-decoration: none; color: var(--c-heading); }
.lang-switch span { background: var(--c-dark); color: var(--white); }
.lang-switch a:hover { background: rgba(var(--c-dark-rgb), 0.08); }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; border-radius: 10px; background: transparent; color: var(--c-heading); cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 1019px) {
  .nav__list {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px rgba(var(--c-dark-rgb), 0.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .menu-open .nav__list { opacity: 1; visibility: visible; transform: none; }
  .nav__list a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a[aria-current="page"] { box-shadow: none; }
}
@media (min-width: 1020px) {
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }
  .brand img { height: 52px; }
  .site-header .wrap { min-height: 84px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-dark); color: var(--on-dark);
  min-height: clamp(460px, 68vh, 640px);
  display: flex; align-items: center;
  padding: 72px 0 120px;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 70% 30%); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--c-dark-rgb),.94) 0%, rgba(var(--c-dark-rgb),.82) 45%, rgba(var(--c-dark-rgb),.35) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__content { max-width: 540px; }
.hero h1 { color: var(--white); }
.hero p { color: var(--on-dark-soft); font-size: clamp(1.05rem, 1.7vw, 1.22rem); max-width: 30em; }
.hero p.eyebrow { font-size: 0.78rem; color: var(--c-eyebrow-on-dark); }
.hero .btn { margin-top: 12px; }
.hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(48px, 7vw, 96px); z-index: 2; }
@media (max-width: 759px) {
  /* Phones: photo on top, text below, so faces aren't covered by the headline */
  .hero { display: block; min-height: 0; padding: 0 0 96px; }
  .hero__media { position: relative; height: clamp(240px, 62vw, 340px); }
  .hero__media::after { background: linear-gradient(180deg, rgba(var(--c-dark-rgb),0) 45%, var(--c-dark) 100%); }
  .hero .wrap { margin-top: -28px; }
}
@media (min-width: 900px) {
  /* On desktop the photo sits on the right so low-resolution source images stay sharp */
  .hero__media { left: auto; width: 58%; }
  .hero__media::after { background: linear-gradient(90deg, var(--c-dark) 0%, rgba(var(--c-dark-rgb),.55) 30%, rgba(var(--c-dark-rgb),0) 70%); }
}

/* ---------- Generic grids ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.arch-img { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: 0 0 0 6px var(--c-card), 0 0 0 7px var(--c-accent); }
.arch-img img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.round-img { border-radius: var(--radius); overflow: hidden; }
.round-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stages (Home: three financial stages) ---------- */
.stages { display: grid; gap: 18px; counter-reset: stage; }
.stage {
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; background: var(--c-card);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.stage__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stage__body { padding: 22px 22px 26px; }
.stage__num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--c-accent-text); display: block; margin-bottom: 10px; }
.stage__num::after { content: ""; display: block; width: 32px; height: 2px; background: var(--c-accent); margin-top: 12px; }
.stage h3 { margin-bottom: 8px; }
.stage p { color: var(--ink-soft); margin: 0; }
.stages__note { margin-top: 26px; font-style: italic; font-family: var(--font-display); font-size: 1.25rem; color: var(--c-accent-text); }
@media (min-width: 760px) { .stages { grid-template-columns: repeat(3, 1fr); } }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.strip img { aspect-ratio: 3 / 4; }
@media (min-width: 760px) { .strip { gap: 18px; } .strip img { aspect-ratio: 16 / 10; } }

/* ---------- Programme cards ---------- */
.programmes { display: grid; gap: 28px; }
.programme { display: grid; gap: 22px; align-items: center; }
.programme + .programme { border-top: 1px solid var(--line-on-dark); padding-top: 28px; }
.programme__img { border-radius: var(--radius); overflow: hidden; }
.programme__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.programme__num { font-family: var(--font-display); font-size: 2.2rem; color: var(--c-accent-text); line-height: 1; }
.section--navy .programme__num, .section--green .programme__num { color: var(--c-accent-on-dark); }
.programme h3 { margin: 8px 0 4px; }
.programme__sub { font-weight: 700; color: var(--c-accent-on-dark); margin-bottom: 10px; letter-spacing: .01em; }
.section--white .programme__sub, .programme--light .programme__sub, .prog-detail .programme__sub { color: var(--c-accent-text) !important; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 20px; }
.tags li { font-size: .85rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-on-dark); color: var(--white); }
@media (min-width: 900px) {
  .programme { grid-template-columns: 0.9fr 1.1fr; gap: 44px; }
  .programmes--grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .programmes--grid .programme { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .programmes--grid .programme + .programme { border-top: 0; padding-top: 0; border-left: 1px solid var(--line-on-dark); padding-left: 40px; }
}

/* ---------- Pillars (Confidence · Stability · Resilience) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 1px solid var(--line); }
.pillars li { list-style: none; padding: 18px 8px 0; text-align: center; font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--c-heading); }
.pillars li + li { border-left: 1px solid var(--c-accent); }
.pillars { padding: 0; }

/* ---------- Route cards (Take part) ---------- */
.routes { display: grid; gap: 18px; }
.route {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: var(--c-card); border-radius: var(--radius); padding: 26px;
  border-top: 3px solid var(--c-accent);
}
.route h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-heading); margin-bottom: 6px; }
.route p { color: var(--ink-soft); margin-bottom: 14px; }
@media (min-width: 760px) { .routes { grid-template-columns: 1fr 1fr; gap: 24px; } }

.icon-badge {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(var(--c-accent-rgb), 0.16); color: var(--c-heading);
}
.icon-badge svg { width: 28px; height: 28px; }
.section--navy .icon-badge, .section--green .icon-badge { background: rgba(255,255,255,.08); color: var(--c-accent-on-dark); border: 1px solid rgba(var(--c-accent-rgb),.6); }

/* ---------- Vision / Mission ---------- */
.vm { display: grid; gap: 34px; }
.vm h3 { font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-on-dark); margin-bottom: 12px; }
.vm p { font-family: var(--font-display); font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.25; color: var(--white) !important; margin: 0; }
@media (min-width: 860px) { .vm { grid-template-columns: 1fr 1fr; gap: 0; } .vm > div + div { border-left: 1px solid var(--c-accent); padding-left: 48px; } .vm > div:first-child { padding-right: 48px; } }

/* ---------- Numbered rows (How we help) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows__num { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--c-accent-text); grid-row: span 2; }
.rows h3 { font-size: 1.3rem; margin: 0; }
.rows p { margin: 0; color: var(--ink-soft); }
@media (min-width: 860px) {
  .rows li { grid-template-columns: 70px 260px 1fr; align-items: center; }
  .rows__num { grid-row: auto; }
}

/* ---------- Promise letters (C · S · R) ---------- */
.letters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.letters li { text-align: center; padding: 6px 10px; }
.letters li + li { border-left: 1px solid var(--c-accent); }
.letters__big { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; color: var(--c-accent-text); display: block; }
.letters li:nth-child(2) .letters__big { color: var(--c-letter-2); }
.letters h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.letters p { font-size: clamp(.82rem, 1.3vw, .92rem); color: var(--ink-soft); margin: 0; }
@media (max-width: 559px) {
  .letters { grid-template-columns: 1fr; }
  .letters li { display: grid; grid-template-columns: 64px 1fr; text-align: left; align-items: center; column-gap: 14px; padding: 16px 0; }
  .letters li + li { border-left: 0; border-top: 1px solid var(--c-accent); }
  .letters__big { grid-row: span 2; font-size: 3.2rem; }
  .letters h3 { margin: 0; }
}

/* ---------- Registration facts ---------- */
.facts { background: var(--c-card); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); border-left: 4px solid var(--c-accent); }
.facts dl { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0; font-size: 1.08rem; color: var(--c-heading); font-weight: 500; }
@media (min-width: 640px) {
  .facts dl { grid-template-columns: 170px 1fr; }
  .facts dt { margin-top: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .facts dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--c-cta); color: var(--white); padding: clamp(64px, 9vw, 110px) 0; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--c-cta-rgb),.97) 0%, rgba(var(--c-cta-rgb),.88) 50%, rgba(var(--c-cta-rgb),.55) 100%); }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: var(--white); max-width: 16em; }
.cta-band p { color: var(--on-dark-soft); max-width: 34em; font-size: 1.1rem; }

/* ---------- Ecosystem / feature columns ---------- */
.cols { display: grid; gap: 0; list-style: none; padding: 0; margin: 28px 0 0; }
.cols li { padding: 18px 0; border-top: 1px solid var(--line); }
.cols__num { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--c-accent-text); }
.cols h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.cols p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
@media (min-width: 600px) { .cols { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
@media (min-width: 1000px) {
  .cols--5 { grid-template-columns: repeat(5, 1fr); column-gap: 0; }
  .cols--5 li { border-top: 0; border-left: 1px solid var(--c-accent); padding: 4px 20px; }
}

/* ---------- Icon grid (ways to partner, governance) ---------- */
.icon-grid { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.icon-grid li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.section--navy .icon-grid li, .section--green .icon-grid li { border-top-color: var(--line-on-dark); }
.icon-grid h3 { font-size: 1.25rem; margin: 2px 0 6px; }
.icon-grid p { margin: 0; color: var(--ink-soft); }
@media (min-width: 760px) { .icon-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1060px) { .icon-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Programme page detail ---------- */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 18px 0; margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-weight: 500; color: var(--c-heading); font-size: .95rem; }
.feature-list .icon-badge { width: 50px; height: 50px; }
.feature-list .icon-badge svg { width: 24px; height: 24px; }
@media (min-width: 640px) { .feature-list li { flex-direction: row; text-align: left; justify-content: flex-start; } }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); }
.prog-detail h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--c-heading); margin: 0 0 10px; }
.quote-band { padding: clamp(40px, 6vw, 64px) 0; }
.quote-band p { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 0; color: var(--white) !important; max-width: 20em; }
.quote-band p::after { content: ""; display: block; width: 64px; height: 2px; background: var(--c-accent-on-dark); margin-top: 22px; }

.choose { list-style: none; margin: 0; padding: 0; }
.choose li { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.choose li:last-child { border-bottom: 1px solid var(--line); }
.choose h3 { font-size: 1.3rem; margin: 0; }
.choose small { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: 2px; }
.choose .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 760px) { .choose li { grid-template-columns: auto 1fr auto; } .choose .btn { grid-column: auto; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 18px; counter-reset: c; }
.contact-card { background: var(--c-card); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; border-top: 3px solid var(--c-accent); }
.contact-card__num { font-family: var(--font-display); font-size: 2rem; color: var(--c-accent-text); line-height: 1; }
.contact-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 8px; }
.contact-card p { color: var(--ink-soft); flex: 1; }
.contact-card .btn { align-self: flex-start; }
@media (min-width: 860px) { .contact-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.direct { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.direct li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-on-dark); }
.direct small { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.direct a { color: var(--white); text-decoration: none; font-size: 1.2rem; font-weight: 500; }
.direct a:hover { text-decoration: underline; text-decoration-color: var(--c-accent-on-dark); }
@media (min-width: 860px) { .direct { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } }
.note { font-size: .92rem; color: var(--ink-soft); }

.motto { padding: clamp(48px, 7vw, 80px) 0; }
.motto h2 { margin-bottom: 6px; }
.motto em { font-family: var(--font-display); font-size: 1.3rem; color: var(--c-accent-text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer); color: var(--on-dark-soft); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 34px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand em { display: block; margin-top: 14px; font-family: var(--font-display); font-size: 1.25rem; color: var(--white); }
.footer-brand small { display: block; margin-top: 4px; color: var(--on-dark-soft); }
.site-footer h2 { font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-on-dark); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--c-accent-on-dark); }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact svg { width: 20px; height: 20px; color: var(--c-accent-on-dark); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-on-dark); align-items: center; justify-content: center; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-on-dark); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-wa); color: var(--white); text-decoration: none;
  padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 24px rgba(var(--c-dark-rgb), .28); border: 2px solid var(--c-accent);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: var(--c-dark); color: var(--white); }
@media (max-width: 479px) { .wa-float span { display: none; } .wa-float { padding: 13px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .btn { margin: 8px 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================
   MOTION & INTERACTION
   All motion is added by assets/js/main.js (it tags elements
   automatically, so new sections animate without extra code).
   Without JavaScript, or with "reduce motion" switched on,
   everything simply shows as normal.
   ========================================================= */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* Header compacts after scrolling */
.site-header { transition: box-shadow .3s, background-color .3s; }
.site-header .wrap, .brand img { transition: min-height .3s var(--ease-out), height .3s var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(var(--c-dark-rgb), .10); }
@media (min-width: 1020px) {
  .site-header.is-scrolled .wrap { min-height: 66px; }
  .site-header.is-scrolled .brand img { height: 42px; }
}

/* Scroll reveal */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), clip-path 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal--left { transform: translateX(-36px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal--wipe { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 220px 220px 0 0); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--wipe.is-in { clip-path: inset(-12px -12px -12px -12px round 0 0 0 0); }
/* Gold rule on eyebrow labels draws in */
.js .reveal .eyebrow::before, .js .eyebrow.reveal::before { width: 0; transition: width .7s var(--ease-out) .25s; }
.js .reveal.is-in .eyebrow::before, .js .eyebrow.reveal.is-in::before { width: 36px; }
/* Big C·S·R letters pop in */
.js .letters li.reveal .letters__big { display: inline-block; transform: scale(.4) rotate(-8deg); opacity: 0; transition: transform .7s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + 150ms), opacity .4s calc(var(--d, 0ms) + 150ms); }
.js .letters li.reveal.is-in .letters__big { transform: none; opacity: 1; }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.js .hero__content > * { opacity: 0; animation: rise .9s var(--ease-out) forwards; }
.js .hero__content > :nth-child(1) { animation-delay: .15s; }
.js .hero__content > :nth-child(2) { animation-delay: .28s; }
.js .hero__content > :nth-child(3) { animation-delay: .44s; }
.js .hero__content > :nth-child(4) { animation-delay: .6s; }
.hero__media img { animation: kenburns 14s var(--ease-out) both; }
.hero__media { will-change: transform; overflow: hidden; }
.hero__curve-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease-out) .5s forwards; }

/* Buttons and links */
.btn { will-change: transform; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(var(--c-dark-rgb), .18); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn svg, .text-link svg { transition: transform .25s var(--ease-out); }
.btn:hover svg:last-child, .text-link:hover svg { transform: translateX(4px); }
.btn:hover svg:first-child:not(:last-child) { transform: rotate(-10deg) scale(1.1); }
.text-link { background: linear-gradient(var(--c-accent), var(--c-accent)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.text-link:hover { background-size: 100% 2px; }

/* Cards lift on hover */
.stage, .route, .contact-card, .facts {
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), opacity .8s var(--ease-out);
}
.stage:hover, .route:hover, .contact-card:hover {
  transform: translateY(-6px); box-shadow: 0 18px 40px rgba(var(--c-dark-rgb), .14);
}
.stage__img, .programme__img, .round-img { overflow: hidden; }
.stage__img img, .programme__img img, .round-img img { transition: transform .9s var(--ease-out); }
.stage:hover .stage__img img, .programme:hover .programme__img img, .round-img:hover img { transform: scale(1.06); }
.stage__num::after { transition: width .4s var(--ease-out); }
.stage:hover .stage__num::after { width: 64px; }

/* Icon badges fill with the accent colour on hover */
.icon-badge { transition: background-color .3s, color .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.route:hover .icon-badge, .icon-grid li:hover .icon-badge, .choose li:hover .icon-badge,
.feature-list li:hover .icon-badge, .direct li:hover .icon-badge {
  background: var(--c-accent); color: var(--white); transform: scale(1.08) rotate(-6deg);
}

/* List rows highlight */
.rows li, .icon-grid li, .choose li { transition: background-color .3s, padding .3s var(--ease-out); }
.rows li:hover { background: rgba(var(--c-accent-rgb), .08); padding-left: 10px; }
.rows__num { transition: transform .3s var(--ease-out); }
.rows li:hover .rows__num { transform: translateX(4px); }
.cols li { transition: transform .3s var(--ease-out); }
.cols li:hover { transform: translateY(-4px); }
.tags li { transition: background-color .25s, color .25s, border-color .25s; }
.tags li:hover { background: var(--c-accent-on-dark); color: var(--c-dark); border-color: var(--c-accent-on-dark); }

/* Arched photos tilt toward the pointer (desktop) */
.arch-img { transition: transform .5s var(--ease-out), clip-path 1.1s var(--ease-out), opacity .8s; transform-style: preserve-3d; }

/* Floating WhatsApp button: arrives, then pulses a few times */
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb), .55); } 100% { box-shadow: 0 0 0 18px rgba(var(--c-accent-rgb), 0); } }
.wa-float { animation: wa-in .6s var(--ease-out) 1.2s both; transition: transform .25s var(--ease-out), background-color .2s; }
.wa-float::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; animation: wa-ring 1.8s ease-out 2s 3; pointer-events: none; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }

/* Mobile menu items slide in */
@keyframes slide-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (max-width: 1019px) {
  .menu-open .nav__list li { animation: slide-in .4s var(--ease-out) both; }
  .menu-open .nav__list li:nth-child(2) { animation-delay: .05s; }
  .menu-open .nav__list li:nth-child(3) { animation-delay: .1s; }
  .menu-open .nav__list li:nth-child(4) { animation-delay: .15s; }
  .menu-open .nav__list li:nth-child(5) { animation-delay: .2s; }
  .menu-toggle svg { transition: transform .3s var(--ease-out); }
  .menu-open .menu-toggle svg { transform: rotate(90deg); }
}

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal--wipe, .js .letters li.reveal .letters__big { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero__content > *, .hero__media img, .hero__curve-line, .wa-float, .wa-float::after, .menu-open .nav__list li { animation: none !important; opacity: 1 !important; }
  .hero__curve-line { stroke-dasharray: none; }
  .btn:hover, .stage:hover, .route:hover, .contact-card:hover, .cols li:hover, .wa-float:hover { transform: none; }
  .scroll-progress { display: none; }
}


/* =========================================================
   MOCKUP LAYOUT DETAILS (matches "1. Home.png")
   ========================================================= */
/* Mockup theme: eyebrow labels without the leading rule; hero label plain */
:root[data-theme="mockup"] .eyebrow::before { display: none; }
:root[data-theme="mockup"] .eyebrow { font-weight: 500; letter-spacing: .18em; }
.section--tight { padding-top: clamp(40px, 6vw, 72px); }

/* Hero: text sits over the photo on every screen size (like the mockup) */
@media (max-width: 759px) {
  .hero { display: flex; align-items: center; min-height: 460px; padding: 64px 0 96px; }
  .hero__media { position: absolute; inset: 0; height: auto; }
  .hero .wrap { margin-top: 0; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}
@media (max-width: 899px) {
  /* Mockup look: green on the left, photo stays bright on the right */
  .hero__media::after { background: linear-gradient(90deg, rgba(var(--c-dark-rgb),.94) 0%, rgba(var(--c-dark-rgb),.78) 38%, rgba(var(--c-dark-rgb),.15) 72%, rgba(var(--c-dark-rgb),0) 100%); }
  .hero__content { max-width: 440px; }
  .hero p { text-shadow: 0 1px 12px rgba(var(--c-dark-rgb), .6); }
}
@media (max-width: 479px) {
  /* Small phones: text spans the full width, so keep more of the photo shaded */
  .hero__media::after { background: linear-gradient(90deg, rgba(var(--c-dark-rgb),.92) 0%, rgba(var(--c-dark-rgb),.72) 60%, rgba(var(--c-dark-rgb),.35) 100%); }
}

/* Challenge: numbered timeline with photos fading in from the right */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 44px 22px minmax(0, 1fr) minmax(0, 42%);
  min-height: 112px;
}
.timeline__num { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1; color: var(--c-accent-text); }
.timeline__rail { position: relative; align-self: stretch; }
.timeline__rail::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--c-accent); }
.timeline li:first-child .timeline__rail::before { top: 50%; }
.timeline li:last-child .timeline__rail::before { bottom: 50%; }
.timeline__rail::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--c-accent); }
.timeline__body { padding: 14px 16px 14px 14px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.timeline li + li .timeline__body { border-top: 1px solid rgba(var(--c-accent-rgb), .55); }
.timeline__body h3 { font-size: clamp(1.25rem, 2.9vw, 1.7rem); margin: 0 0 6px; }
.timeline__body p { margin: 0; color: var(--ink-soft); font-size: clamp(.86rem, 1.4vw, 1rem); line-height: 1.55; }
.timeline__img { position: relative; align-self: stretch; margin: 6px calc(-1 * var(--gutter)) 6px 0; overflow: hidden; min-height: 108px; }
.timeline__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
@media (min-width: 900px) {
  .timeline li { grid-template-columns: 80px 30px minmax(0, 1fr) minmax(0, 46%); min-height: 170px; }
  .timeline__img { margin-right: 0; border-radius: 0 var(--radius) var(--radius) 0; }
  .timeline__body { padding-left: 24px; }
}

/* Programmes on the home page: image left, text right, gold dividers */
.prog-rows { display: grid; }
.prog-row { display: grid; gap: 20px; padding: 26px 0; }
.prog-row + .prog-row { border-top: 1px solid rgba(var(--c-accent-rgb), .7); }
.prog-row:first-child { padding-top: 4px; }
.prog-row__img { border-radius: 10px; overflow: hidden; }
.prog-row__img img { width: 100%; aspect-ratio: 4 / 2.9; object-fit: cover; transition: transform .9s var(--ease-out, ease); }
.prog-row:hover .prog-row__img img { transform: scale(1.05); }
.prog-row h3 { margin: 6px 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prog-row__sub { color: var(--c-eyebrow-on-dark) !important; font-weight: 500; margin-bottom: 10px; }
.prog-row__tags { color: var(--c-eyebrow-on-dark) !important; font-size: .9rem; padding-top: 12px; margin: 14px 0 12px; border-top: 1px solid rgba(var(--c-accent-rgb), .7); max-width: 34em; }
@media (min-width: 600px) {
  .prog-row { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 28px; align-items: center; }
}
@media (min-width: 1000px) { .prog-row { gap: 48px; } }

/* Terracotta text links with arrow (mockup style) */
.accent-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-link); text-decoration: none; }
.accent-link svg { width: 18px; height: 18px; transition: transform .25s; }
.accent-link:hover svg { transform: translateX(4px); }
.accent-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section--navy .accent-link, .section--green .accent-link { color: var(--c-link-on-dark); }

/* Who we are: text left, circular photo bleeding off the right edge */
.who { overflow: hidden; }
.who__grid { display: grid; gap: 28px; align-items: center; }
.circle-img {
  position: relative; border-radius: 50%; aspect-ratio: 1; overflow: hidden;
  box-shadow: 0 0 0 7px var(--c-bg), 0 0 0 8px var(--c-accent);
  width: min(100%, 420px); justify-self: center;
}
.circle-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transition: transform .9s var(--ease-out, ease); }
.circle-img:hover img { transform: scale(1.05); }
.who__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 28px; }
.who__foot .pillars { margin: 0; border-top: 0; flex: 1 1 320px; max-width: 460px; }
.who__foot .pillars li { padding: 4px 8px; }
@media (min-width: 600px) {
  .who__grid { grid-template-columns: 1.1fr 1fr; gap: 20px; }
  .circle-img { width: 118%; max-width: 560px; justify-self: start; margin: calc(-1 * var(--section-y) - 10px) calc(-1 * var(--gutter) - 70px) 12px 0; }
  .who__foot { margin-top: 18px; }
}

/* Take part: light panels with gold top rule and a gold divider between them */
.route { background: var(--c-route-bg); border-radius: 2px; border-top-width: 2px; }
.route h3 { font-size: .98rem; letter-spacing: .08em; color: var(--c-heading); }
:root[data-theme="mockup"] .route .icon-badge { background: rgba(var(--c-accent-rgb), .2); color: var(--c-accent); width: 64px; height: 64px; }
@media (min-width: 600px) {
  .routes { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .route + .route { margin-left: 26px; position: relative; overflow: visible; }
  .route + .route::before { content: ""; position: absolute; left: -14px; top: 18px; bottom: 18px; width: 1px; background: var(--c-accent); }
}

/* Footer tagline in gold with a short rule (mockup) */
.footer-brand em { color: var(--c-eyebrow-on-dark); }
.footer-brand em::before { content: ""; display: block; width: 120px; height: 1px; background: var(--c-accent); margin-bottom: 12px; opacity: .8; }

/* Phones: timeline photo moves under the text so lines don't get too narrow */
@media (max-width: 559px) {
  .timeline li { grid-template-columns: 40px 20px minmax(0, 1fr); grid-template-rows: auto auto; min-height: 0; }
  .timeline__num { grid-row: 1 / span 2; align-self: center; }
  .timeline__rail { grid-row: 1 / span 2; }
  .timeline__body { grid-column: 3; padding: 16px 0 10px 12px; }
  .timeline__img { grid-column: 3; grid-row: 2; margin: 0 calc(-1 * var(--gutter)) 16px 12px; min-height: 120px; }
}

/* =========================================================
   MOCKUP COMPONENTS (About, Programmes, Partnership, Contact)
   ========================================================= */
/* Image with a curved left edge that bleeds off the right side of the screen */
.curve-split { display: grid; gap: 28px; align-items: center; }
.curve-img { position: relative; isolation: isolate; min-height: 260px; }
.curve-img::before, .curve-img::after { content: ""; position: absolute; z-index: 0; clip-path: ellipse(100% 78% at 100% 50%); }
.curve-img::before { inset: -10px 0 -10px -10px; background: var(--c-accent); }
.curve-img::after { inset: -9px 0 -9px -9px; background: var(--c-bg); }
.curve-img img { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 260px; object-fit: cover; clip-path: ellipse(100% 78% at 100% 50%); }
.curve-split .curve-img { margin-right: calc(-1 * var(--gutter)); }
@media (min-width: 600px) {
  .curve-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
  .curve-split > :first-child { align-self: center; }
  .curve-split .curve-img {
    margin: calc(-1 * var(--section-y)) calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter))) calc(-1 * var(--section-y)) 0;
  }
  .curve-split .curve-img img { position: absolute; inset: 0; }
}

/* Wavy top/bottom edges for dark sections (with a gold line) */
.wavy { position: relative; }
.wave { position: absolute; left: 0; width: 100%; height: clamp(26px, 5vw, 60px); display: block; z-index: 2; pointer-events: none; }
.wave--top { top: 1px; transform: translateY(-100%); }
.wave--bottom { bottom: 1px; transform: translateY(100%) scaleY(-1); }
.wave path.fill { fill: var(--wave-fill, var(--c-dark)); }
.wave path.line { fill: none; stroke: var(--c-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.section--green .wave { --wave-fill: var(--c-dark-2); }

/* Three photos blended into one strip (About: why we exist) */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); height: clamp(150px, 26vw, 340px); margin-top: 28px; }
.photo-strip img { width: 120%; max-width: none; height: 100%; object-fit: cover; }
.photo-strip > div { overflow: visible; position: relative; }
.photo-strip > div + div img { margin-left: -10%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.photo-strip > div:first-child img { width: 110%; }
.photo-strip > div:last-child img { width: 110%; }
.photo-strip { overflow: hidden; }

/* Text over a photo that fades in from the right */
.fade-split { position: relative; overflow: hidden; }
.fade-split__media { position: relative; height: 220px; margin: 22px calc(-1 * var(--gutter)) 0; }
.fade-split__media img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }
@media (min-width: 600px) {
  .fade-split { min-height: clamp(260px, 34vw, 440px); display: flex; align-items: center; }
  .fade-split .wrap { position: relative; z-index: 1; }
  .fade-split__text { max-width: 54%; }
  .fade-split__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: auto; margin: 0; }
  .fade-split__media img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
}

/* Wide photo above a block of text (Programmes) */
.wide-img { border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.wide-img img { width: 100%; aspect-ratio: 3 / 1.05; object-fit: cover; transition: transform .9s var(--ease-out, ease); }
.wide-img:hover img { transform: scale(1.04); }
.wide-img--bleed { border-radius: 0 0 28px 0; margin-left: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter))); margin-right: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter))); }
.wide-img--bleed img { aspect-ratio: 3 / 1; }
/* Desktop: keep low-resolution photos inside the page width so they aren't over-enlarged */
@media (min-width: 900px) {
  .wide-img--bleed { margin-left: 0; margin-right: 0; border-radius: 12px; }
  .wide-img--bleed img { aspect-ratio: 2.3 / 1; }
}
.prog-detail { max-width: 860px; }
.prog-detail h2 { margin: 2px 0 4px; }
.prog-detail .programme__sub { font-weight: 700; color: var(--c-heading) !important; margin-bottom: 8px; }

/* CTA band variants */
.cta-band--green { background: var(--c-dark); }
.cta-band--green .cta-band__media::after { background: none; }
@media (min-width: 600px) {
  .cta-band--inline .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .cta-band--inline h2 { margin: 0; max-width: 18em; }
  .cta-band--inline .btn { flex: none; }
}
.cta-band--inline { padding: clamp(40px, 6vw, 64px) 0; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: var(--white); color: var(--c-cta); border-color: var(--white); }

/* Registration facts without a card */
.facts--plain { background: none; border: 0; padding: 0; }
.facts--plain dl { grid-template-columns: 1fr; }
.facts--plain dt { border: 0 !important; color: var(--ink-soft); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .95rem; padding: 6px 0 0 !important; }
.facts--plain dd { border: 0 !important; padding: 2px 0 6px !important; font-size: 1rem; }
@media (min-width: 600px) {
  .facts--plain dl { grid-template-columns: minmax(110px, 170px) 1fr; column-gap: 0; }
  .facts--plain dt { padding: 6px 16px 6px 0 !important; }
  .facts--plain dd { padding: 6px 0 6px 16px !important; border-left: 1px solid var(--c-accent) !important; }
}

/* How we help rows: three columns from tablet up */
@media (min-width: 600px) {
  .rows li { grid-template-columns: 56px 220px 1fr; align-items: center; }
  .rows__num { grid-row: auto; }
  .rows h3 { border-left: 1px solid var(--c-accent); padding-left: 14px; }
}
/* C·S·R letters: middle letter gold, short gold rule under each */
.letters li:nth-child(2) .letters__big { color: var(--c-accent-text); }
.letters__big::after { content: ""; display: block; width: 26px; height: 2px; background: var(--c-accent); margin: 8px auto 0; }
@media (max-width: 559px) { .letters__big::after { margin-left: 0; } }

/* Ecosystem: five columns from tablet up */
@media (min-width: 600px) {
  .cols--5 { grid-template-columns: repeat(5, 1fr); column-gap: 0; }
  .cols--5 li { border-top: 0; border-left: 1px solid var(--c-accent); padding: 4px 12px; }
  .cols--5 li:first-child { border-left: 0; padding-left: 0; }
  .cols--5 h3 { font-size: clamp(1rem, 1.9vw, 1.3rem); }
  .cols--5 p { font-size: clamp(.8rem, 1.3vw, .95rem); }
}

/* Icon grids: 2 columns from tablet; light version has uppercase titles + gold rules */
@media (min-width: 600px) { .icon-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.icon-grid--light li { border-top: 1px solid var(--c-accent); }
.icon-grid--light h3 { font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-heading); }
:root[data-theme="mockup"] .icon-grid--light .icon-badge { background: rgba(var(--c-accent-rgb), .18); color: var(--c-accent); width: 62px; height: 62px; }
.section--green .icon-grid li, .section--navy .icon-grid li { border-top: 1px solid rgba(var(--c-accent-rgb), .6); }
.section--green .icon-grid .icon-badge, .section--navy .icon-grid .icon-badge { background: none; border: 0; width: 46px; height: 46px; color: var(--c-accent-on-dark); }
.section--green .icon-grid .icon-badge svg, .section--navy .icon-grid .icon-badge svg { width: 38px; height: 38px; }
@media (min-width: 600px) {
  .icon-grid--divided { column-gap: 0; }
  .icon-grid--divided li:nth-child(odd) { padding-right: 24px; }
  .icon-grid--divided li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(var(--c-accent-rgb), .6); }
}

/* Choose your route: button beside the text from tablet up */
@media (min-width: 600px) { .choose li { grid-template-columns: auto 1fr auto; } .choose .btn { grid-column: auto; } }

/* Contact: three topics in columns with gold dividers */
.topics { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.topics li { padding: 18px 0; border-top: 1px solid rgba(var(--c-accent-rgb), .6); }
.topics__num { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--c-accent-text); }
.topics h3 { font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; margin: 12px 0 8px; }
.topics p { color: var(--ink-soft); margin-bottom: 12px; }
@media (min-width: 600px) {
  .topics { grid-template-columns: repeat(3, 1fr); }
  .topics li { border-top: 0; padding: 4px 22px; border-left: 1px solid rgba(var(--c-accent-rgb), .7); }
  .topics li:first-child { border-left: 0; padding-left: 0; }
}

/* Contact: WhatsApp block in place of the mockup's form */
.wa-block { display: grid; overflow: hidden; }
.wa-block__media { height: 220px; }
.wa-block__media img { width: 100%; height: 100%; object-fit: cover; }
.wa-block__body { padding: 36px var(--gutter) 40px; }
.wa-block__body .btn { width: 100%; margin-top: 10px; min-height: 54px; font-size: 1.05rem; }
.wa-steps { list-style: none; padding: 0; margin: 18px 0 8px; counter-reset: s; }
.wa-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wa-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--c-accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--c-accent-text); }
@media (min-width: 600px) {
  .wa-block { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: 460px; }
  .wa-block__media { height: auto; }
  .wa-block__media img { -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, #000 60%, transparent 100%); }
  .wa-block__body { padding: clamp(40px, 6vw, 80px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) clamp(40px, 6vw, 80px) 28px; align-self: center; }
}

/* Contact: direct details in three columns */
.direct--plain .icon-badge { background: none !important; border: 0 !important; width: 44px; height: 44px; color: var(--c-accent-on-dark); }
.direct--plain .icon-badge svg { width: 36px; height: 36px; }
.direct--plain small { color: var(--c-accent-on-dark); letter-spacing: .04em; text-transform: none; font-size: .95rem; }
.direct--plain a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; }
@media (min-width: 600px) {
  .direct--plain { grid-template-columns: repeat(3, 1fr); column-gap: 0; }
  .direct--plain li { border-top: 0; padding: 4px 18px; border-left: 1px solid rgba(var(--c-accent-rgb), .7); }
  .direct--plain li:first-child { border-left: 0; padding-left: 0; }
  .direct--plain a { font-size: clamp(1rem, 1.9vw, 1.4rem); word-break: break-word; }
}
.motto h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.curve-img img[src*="bridge"] { object-position: 22% 50%; }
.section--green .icon-grid p, .section--navy .icon-grid p { color: var(--on-dark-soft); }
@media (min-width: 600px) { .direct--plain a { font-size: clamp(1.05rem, 2.3vw, 1.5rem); } }
