/* GAP Education — shared styles
   Layout: calm single-column reading measure, wide bands for hero and programmes, footer anchored in navy. */
@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Brand palette from the GAP Education brand board:
   navy #0F2D4A, teal #028C92, light teal #3FC1BB, ivory #FAF8F3.
   --teal is a darker shade of brand teal used for small text and buttons so it passes WCAG AA;
   --brand-teal is the exact brand colour for large type, letters and graphics. */
:root {
  --ivory: #FAF8F3;
  --paper: #FFFFFF;
  --navy: #0F2D4A;
  --brand-teal: #028C92;
  --light-teal: #3FC1BB;
  --teal: #026A6F;
  --teal-light: #DDF2F0;
  --ink: #0F2D4A;
  --muted: #4A5D70;
  --line: #E4E0D6;
  --band: #F2EFE7;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B9CAD6;
  --logo: #0F2D4A;
  --btn-text: #FFFFFF;
  --focus: #028C92;
  --font: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ivory: #0A1E31; --paper: #10283F; --navy: #071726; --brand-teal: #3FC1BB; --light-teal: #3FC1BB;
    --teal: #3FC1BB; --teal-light: #12394A; --ink: #EAF1F5; --muted: #A8B9C6; --line: #1E3A55;
    --band: #0D2338; --on-navy: #FFFFFF; --on-navy-muted: #A8B9C6; --logo: #FFFFFF; --btn-text: #071726; --focus: #3FC1BB;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ivory: #0A1E31; --paper: #10283F; --navy: #071726; --brand-teal: #3FC1BB; --light-teal: #3FC1BB;
  --teal: #3FC1BB; --teal-light: #12394A; --ink: #EAF1F5; --muted: #A8B9C6; --line: #1E3A55;
  --band: #0D2338; --on-navy: #FFFFFF; --on-navy-muted: #A8B9C6; --logo: #FFFFFF; --btn-text: #071726; --focus: #3FC1BB;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 300;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; text-wrap: balance; font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0; }
strong { font-weight: 600; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.measure { max-width: 68ch; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 14px; }
.brand { display: flex; align-items: baseline; gap: .5rem; text-decoration: none; color: var(--ink); }
.brand-mark { font-size: 1.7rem; font-weight: 700; letter-spacing: .02em; color: var(--navy); }
.brand-word { font-size: 1rem; font-weight: 400; color: var(--teal); letter-spacing: .04em; }

.nav-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-list a {
  display: block; padding: .45rem .75rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 400;
}
.nav-list a:hover { background: var(--teal-light); }
.nav-list a[aria-current="page"] { background: var(--navy); color: var(--on-navy); }

.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; padding: .45rem .9rem; border: 1px solid var(--line);
  border-radius: 999px; font-size: .95rem; font-weight: 500;
}
.menu summary::-webkit-details-marker { display: none; }
@media (max-width: 1140px) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  .menu[open] .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px));
  }
  .menu[open] .nav-list a { padding: .8rem .75rem; border-radius: 10px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); position: relative; }
.hero-arc { position: absolute; right: -120px; top: -60px; width: 560px; max-width: none; opacity: .5; pointer-events: none; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-weight: 500; }
.tagline { font-size: clamp(2.4rem, 6.5vw, 4.4rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.tagline span { display: block; }
.tagline span + span { color: var(--brand-teal); }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px;
  font-weight: 500; text-decoration: none; font-size: 1rem; border: 1.5px solid var(--teal);
}
.btn-primary { background: var(--teal); color: var(--btn-text); }
.btn-ghost { color: var(--teal); background: transparent; }

/* Page header (inner pages) */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }

/* Sections */
.section .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-band { background: var(--band); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; max-width: 68ch; }
.section-head p { color: var(--muted); }

/* GAP acronym */
.acronym { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acronym > div { background: var(--paper); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.acronym .letter { font-size: 3.2rem; font-weight: 700; color: var(--brand-teal); line-height: 1; }
.acronym .word { font-size: 1.15rem; font-weight: 600; }
.acronym p { color: var(--muted); font-size: .98rem; }
@media (max-width: 720px) { .acronym { grid-template-columns: minmax(0, 1fr); } }

/* Programme cards */
.programmes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .programmes { grid-template-columns: minmax(0, 1fr); } }
.prog {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0;
}
.prog h3 { font-size: 1.35rem; }
.prog .sub { font-weight: 500; color: var(--teal); }
.prog p { color: var(--muted); }
.prog .more { margin-top: auto; font-weight: 500; }
.pill {
  align-self: flex-start; font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.pill-first { background: var(--teal-light); border-color: transparent; color: var(--ink); }

/* Detail blocks on programmes page */
.prog-detail { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 2.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.prog-detail:first-of-type { border-top: 0; padding-top: 0; }
.prog-detail aside { display: flex; flex-direction: column; gap: .6rem; }
.prog-detail aside .sub { color: var(--teal); font-weight: 500; }
@media (max-width: 760px) { .prog-detail { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } }
.activity-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.activity-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; }
.activity-list strong { display: block; margin-bottom: .2rem; }
ul.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
ul.ticks li { padding-left: 1.6rem; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .8rem; height: 2px; background: var(--teal); }
.status-note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--teal); padding-left: .9rem; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
@media (max-width: 820px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: minmax(0, 1fr); } }
.values div { display: flex; flex-direction: column; gap: .35rem; border-top: 2px solid var(--teal); padding-top: .9rem; }
.values p { color: var(--muted); font-size: .98rem; }

/* Trustees */
.trustees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 600px) { .trustees { grid-template-columns: minmax(0, 1fr); } }
.trustees li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .15rem; }
.trustees .name { font-weight: 600; }
.trustees .role { color: var(--teal); font-size: .95rem; }

/* Statistic */
.stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; }
.stat .figure { font-size: clamp(2.8rem, 7vw, 4rem); font-weight: 700; color: var(--brand-teal); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .source { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 560px) { .stat { grid-template-columns: minmax(0, 1fr); gap: .8rem; } }

/* Three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 820px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.pillars div { display: flex; flex-direction: column; gap: .4rem; }
.pillars h3 { color: var(--teal); }
.pillars p { color: var(--muted); }

/* Audience grid (get involved) */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 720px) { .audiences { grid-template-columns: minmax(0, 1fr); } }
.audiences > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.audiences p { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.contact-card .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-card a { font-size: 1.15rem; font-weight: 500; word-break: break-word; }
.alert { background: var(--teal-light); border-radius: 14px; padding: 1.2rem 1.4rem; }
.alert strong { display: block; margin-bottom: .2rem; }

/* Policies table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .97rem; }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

/* CTA band */
.cta { background: var(--navy); color: var(--on-navy); }
.cta .wrap { padding-block: clamp(2.5rem, 6vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { color: var(--on-navy); }
.cta p { color: var(--on-navy-muted); max-width: 52ch; }
.cta .btn-primary { background: var(--light-teal); border-color: var(--light-teal); color: #071726; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); border-top: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
.site-footer .wrap { padding-block: 3rem 2.5rem; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { color: var(--on-navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; margin-bottom: .8rem; }
.site-footer a { color: var(--on-navy); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot-brand { display: flex; flex-direction: column; gap: .6rem; }
.foot-brand .logo { color: #FFFFFF; height: 80px; }
.foot-brand .gapline { color: var(--light-teal); font-weight: 500; letter-spacing: .04em; }
.foot-status { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; font-size: .88rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-arc path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s ease-out .2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Logo (inline SVG so "Education" renders in the self-hosted Lexend) */
.logo { display: block; height: 60px; width: auto; aspect-ratio: 870 / 465; color: var(--logo); }
.logo .wm { font-family: var(--font); }
@media (max-width: 520px) { .logo { height: 50px; } }
@media (max-width: 720px) { .hero-arc { display: none; } }
.hero-logo { height: clamp(120px, 22vw, 190px); }

/* ---------- v2 additions ---------- */
.nav-list a { white-space: nowrap; }

/* Hero with optional photo */
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); position: relative; z-index: 1; }
.hero-grid > .stack { flex: 1 1 440px; min-width: 0; }
.hero-photo { flex: 1 1 360px; margin: 0; min-width: 0; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px 28px 28px 120px; }

/* Optional photos anywhere */
figure.photo { margin: 0; }
figure.photo img { display: block; width: 100%; object-fit: cover; border-radius: 18px; }
.prog > figure.photo { margin: -1.6rem -1.6rem .4rem; }
.prog > figure.photo img { aspect-ratio: 3 / 2; border-radius: 18px 18px 0 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.feature:not(:has(figure)) { grid-template-columns: minmax(0, 1fr); }
.feature figure.photo img { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } }
.page-photo img { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .page-photo img { aspect-ratio: 4 / 3; } }

/* Featured first-programme block */
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.offer-list li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.offer-list .n { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--teal-light); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.offer-list strong { display: block; }
.offer-list span.d { color: var(--muted); font-size: .98rem; }

/* Programme detail pages */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.facts > div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.facts .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 2.5rem; padding-block: 2.2rem; border-top: 1px solid var(--line); }
.two-col:first-child { border-top: 0; padding-top: 0; }
.two-col > h2 { font-size: 1.35rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 640px) { .areas { grid-template-columns: minmax(0, 1fr); } }
.areas li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .3rem; }
.areas strong { font-weight: 600; }
.areas span { color: var(--muted); font-size: .98rem; }
td.wk { font-weight: 600; color: var(--brand-teal); font-variant-numeric: tabular-nums; width: 4.5rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.next-progs { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stats .stat { grid-template-columns: minmax(0, 1fr); gap: .8rem; align-items: start; }
.stat .def { font-size: .9rem; color: var(--muted); }

/* News */
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.news article { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.news time { font-size: .85rem; letter-spacing: .06em; color: var(--teal); font-weight: 500; }

/* Policy / legal pages */
.legal h2 { font-size: 1.35rem; margin-top: 1.2rem; }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.contact-lines li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; }
.contact-lines strong { display: block; }
.tel { font-variant-numeric: tabular-nums; font-weight: 600; }
.updated { font-size: .9rem; color: var(--muted); }
.policy-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .policy-links { grid-template-columns: minmax(0, 1fr); } }
.policy-links a { display: flex; flex-direction: column; gap: .3rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem; text-decoration: none; color: var(--ink); }
.policy-links a:hover { border-color: var(--teal); }
.policy-links strong { color: var(--teal); }
.policy-links span { color: var(--muted); font-size: .96rem; }

/* Founder statement (preview only, pending approval) */
.founder { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.founder blockquote { margin: 0; font-size: 1.12rem; line-height: 1.75; }
.draft-flag { align-self: flex-start; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: #FCE9C8; color: #6B4300; padding: .25rem .7rem; border-radius: 999px; }

/* Enquiry routes */
.route { gap: .7rem; }
.route .btn { align-self: flex-start; margin-top: auto; font-size: .95rem; padding: .6rem 1.1rem; }
.footer-cols ul { gap: .45rem; }
.feature figure.photo img { border-radius: 28px 28px 28px 120px; }

/* ---------- v3: signature bridge ---------- */
.tagline-3 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.hero-bridge .bridge-wrap { flex: 1 1 380px; min-width: 0; }
.bridge-art { display: block; width: 100%; height: auto; max-width: 640px; margin-inline: auto; }
.bridge-art .bank { fill: var(--navy); }
.bridge-art .edge { stroke: var(--light-teal); stroke-width: 4; }
.bridge-art .arch { fill: none; stroke: var(--brand-teal); stroke-width: 24; stroke-linecap: round; }
.bridge-art .arch-inner { fill: none; stroke: var(--light-teal); stroke-width: 7; stroke-linecap: round; }
.bridge-art .step { fill: var(--ink); }
.bridge-art .bank-label { fill: #FFFFFF; font-family: var(--font); font-weight: 600; font-size: 21px; letter-spacing: 3px; }
.bridge-art .bank-sub { fill: #B9CAD6; font-family: var(--font); font-weight: 300; font-size: 15px; }
.bridge-art .gap-label { fill: var(--muted); font-family: var(--font); font-size: 15px; font-style: italic; }
:root[data-theme="dark"] .bridge-art .bank { fill: #163A5C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bridge-art .bank { fill: #163A5C; } }
@media (prefers-reduced-motion: no-preference) {
  .bridge-art .step { animation: step-in .5s ease-out both; }
  @keyframes step-in { from { opacity: .15; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

.statement { background: var(--navy); color: var(--on-navy); }
.statement .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); display: flex; flex-direction: column; gap: 1rem; }
.statement-text { font-size: clamp(1.5rem, 3.6vw, 2.5rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; text-wrap: balance; color: #FFFFFF; }
.statement-text span { color: var(--light-teal); }
.statement-sub { color: var(--on-navy-muted); font-size: 1.1rem; }

/* connected programme pathways */
.programmes.pathways { position: relative; padding-top: 28px; }
.programmes.pathways::before { content: ""; position: absolute; left: 8%; right: 8%; top: 8px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand-teal), var(--light-teal)); }
.programmes.pathways .prog { position: relative; }
.programmes.pathways .prog::before { content: ""; position: absolute; top: -27px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--paper); border: 4px solid var(--brand-teal); }
@media (max-width: 900px) { .programmes.pathways::before, .programmes.pathways .prog::before { display: none; } .programmes.pathways { padding-top: 0; } }

/* value icons */
.icon-values > div { border-top: 0; padding-top: 0; gap: .5rem; }
.v-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; }
.v-icon svg { width: 26px; height: 26px; }
.values-band { background: var(--navy); }
.values-band h2, .values-band h3 { color: #FFFFFF; }
.values-band .eyebrow { color: var(--light-teal); }
.values-band .values p { color: var(--on-navy-muted); }
.values-band .v-icon { background: rgba(63, 193, 187, .16); color: var(--light-teal); }

/* journey */
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px) minmax(0, 1fr); gap: 1.25rem; align-items: center; position: relative; }
.journey::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 4px; background: linear-gradient(90deg, var(--line), var(--brand-teal) 45%, var(--brand-teal) 55%, var(--light-teal)); border-radius: 4px; z-index: 0; }
.j-side, .j-mid { position: relative; z-index: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.j-mid { text-align: center; align-items: center; border: 2px solid var(--brand-teal); }
.j-mid svg { width: 110px; height: auto; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { font-size: .92rem; padding: .3rem .75rem; border-radius: 999px; background: var(--band); border: 1px solid var(--line); color: var(--muted); }
.chips-to li { background: var(--teal-light); border-color: transparent; color: var(--ink); }
.mid-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-weight: 500; }
.journey-note { margin-top: 1.5rem; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 860px) {
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey::before { left: 50%; right: auto; top: 4%; bottom: 4%; width: 4px; height: auto; margin-left: -2px; background: linear-gradient(180deg, var(--line), var(--brand-teal) 45%, var(--brand-teal) 55%, var(--light-teal)); }
}
.tagline-3 { font-size: clamp(2rem, 4.2vw, 3rem); }
.hero-bridge .hero-grid > .stack { flex: 1 1 420px; }
.hero-bridge .bridge-wrap { flex: 1.2 1 440px; }

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 820px) { .founder-grid { grid-template-columns: minmax(0, 1fr); } .founder-grid .founder-photo { max-width: 320px; } }
.founder-grid .stack { max-width: 66ch; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 28px 28px 28px 120px; }
.founder-photo::after { content: ""; position: absolute; left: -10px; bottom: -10px; width: 60%; height: 60%; border-left: 4px solid var(--brand-teal); border-bottom: 4px solid var(--brand-teal); border-radius: 0 0 0 128px; pointer-events: none; }
.founder-role { color: var(--teal); font-weight: 500; }
.founder-close { font-size: 1.2rem; font-weight: 600; color: var(--ink); border-left: 4px solid var(--brand-teal); padding-left: 1rem; }
.founder-grid .btn { align-self: flex-start; }

.story-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: 2.5rem; align-items: center; }
@media (max-width: 760px) { .story-head-grid { grid-template-columns: minmax(0, 1fr); } .founder-photo-sm { max-width: 200px; } }
.story-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.byline { color: var(--muted); font-style: italic; }
.story-body { max-width: calc(66ch + 32px); display: flex; flex-direction: column; gap: 2.2rem; font-size: 1.1rem; line-height: 1.8; }
.story-ch { display: flex; flex-direction: column; gap: .9rem; }
.story-ch h2 { font-size: 1.55rem; margin-bottom: .2rem; }
.pull { margin: .5rem 0; padding: 1.2rem 0 1.2rem 1.4rem; border-left: 5px solid var(--brand-teal); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 500; line-height: 1.4; color: var(--ink); text-wrap: balance; }
.pull-big { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 600; color: var(--brand-teal); }
.signoff { margin-top: .5rem; }

/* ================= v4: calmer visuals, programme pages ================= */
/* Photos: clean, gently rounded, labelled */
.hero-photo img, .feature figure.photo img, figure.photo img { border-radius: 16px; }
.founder-photo img { border-radius: 16px; }
.founder-photo::after { display: none; }
figure.photo { position: relative; }
figure.photo figcaption {
  position: absolute; right: 10px; bottom: 10px; font-size: .72rem; letter-spacing: .04em;
  background: rgba(15, 45, 74, .78); color: #FFFFFF; padding: .2rem .55rem; border-radius: 999px;
}
.prog > figure.photo figcaption { bottom: 10px; }
.hero-photo img { aspect-ratio: 4 / 3.4; }
.hero .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Dropdown navigation */
.has-sub { position: relative; }
details.sub > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem;
  padding: .45rem .75rem; border-radius: 999px; font-size: .95rem; font-weight: 400; white-space: nowrap; color: var(--ink);
}
details.sub > summary::-webkit-details-marker { display: none; }
details.sub > summary:hover { background: var(--teal-light); }
details.sub > summary.is-active { background: var(--navy); color: #FFFFFF; }
.chev { width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
details.sub[open] .chev { transform: rotate(-135deg) translateY(-1px); }
.sub-list { list-style: none; margin: 0; padding: .4rem; }
.nav-desktop .sub-list {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; z-index: 30;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(15, 45, 74, .12);
}
.sub-list a { display: block; padding: .55rem .8rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.sub-list a:hover { background: var(--teal-light); }
.sub-list a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.menu .sub-list { padding: 0 0 .4rem 1rem; border-left: 2px solid var(--line); margin-left: .9rem; }
.menu details.sub > summary { padding: .8rem .75rem; border-radius: 10px; }
@media (max-width: 1140px) { .menu[open] .nav-list { max-height: calc(100vh - 90px); overflow-y: auto; } }
@media (min-width: 1141px) and (max-width: 1240px) { .nav-list a, details.sub > summary { padding-inline: .55rem; } }

/* Three stages */
.center-head { margin-inline: auto; text-align: center; align-items: center; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; counter-reset: none; }
.stages::before { content: ""; position: absolute; top: 34px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); }
.stages li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding-inline: .5rem; }
.stages p { color: var(--muted); max-width: 30ch; }
.s-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand-teal); color: var(--teal); display: grid; place-items: center; position: relative; z-index: 1; }
.stages li:nth-child(2) .s-icon { background: var(--teal); border-color: var(--teal); color: var(--btn-text); }
.s-icon svg { width: 30px; height: 30px; }
.stages-note { margin: 2.2rem auto 0; max-width: 60ch; text-align: center; font-size: 1.15rem; font-weight: 500; color: var(--ink); }
@media (max-width: 760px) {
  .stages { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .stages::before { left: 50%; right: auto; top: 34px; bottom: 34px; width: 2px; height: auto; }
}
.j-mid .s-icon { width: 60px; height: 60px; }

/* Programme themes */
.theme-families { --prog: #028C92; --prog-tint: #E3F4F2; }
.theme-forward  { --prog: #0F2D4A; --prog-tint: #E6ECF2; }
.theme-together { --prog: #A8692A; --prog-tint: #F7ECDD; }
:root[data-theme="dark"] .theme-families, :root[data-theme="dark"] .theme-forward, :root[data-theme="dark"] .theme-together { --prog-tint: #10283F; }
:root[data-theme="dark"] .theme-forward { --prog: #9FC3E6; }
:root[data-theme="dark"] .theme-together { --prog: #E3A867; }
:root[data-theme="dark"] .theme-families { --prog: #3FC1BB; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-families, :root:not([data-theme="light"]) .theme-forward, :root:not([data-theme="light"]) .theme-together { --prog-tint: #10283F; }
  :root:not([data-theme="light"]) .theme-forward { --prog: #9FC3E6; }
  :root:not([data-theme="light"]) .theme-together { --prog: #E3A867; }
  :root:not([data-theme="light"]) .theme-families { --prog: #3FC1BB; }
}
.prog-hero { background: var(--prog-tint, var(--band)); border-bottom: 1px solid var(--line); }
.prog-hero .wrap { padding-block: clamp(2rem, 5vw, 3.5rem); }
.prog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prog-tag { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 500; color: var(--ink); }
.pill-prog { background: var(--paper); border-color: var(--prog, var(--line)); color: var(--ink); }
[class^="theme-"] .two-col > h2 { padding-left: .8rem; border-left: 4px solid var(--prog); }
[class^="theme-"] .ticks li::before { background: var(--prog); }
[class^="theme-"] td.wk { color: var(--prog); }
.prog-families .pill:not(.pill-first) { border-color: #028C92; }
.prog.prog-forward { border-top: 4px solid #0F2D4A; }
.prog.prog-families { border-top: 4px solid #028C92; }
.prog.prog-together { border-top: 4px solid #A8692A; }
.prog > figure.photo { margin-top: -1.6rem; }
.prog > figure.photo img { border-radius: 14px 14px 0 0; }
.programmes.pathways::before, .programmes.pathways .prog::before { display: none; }

/* Programme overview rows */
.prog-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.prog-row figure.photo img { aspect-ratio: 4 / 3; }
.prog-row .btn { align-self: flex-start; }
.prog-row .sub { color: var(--teal); font-weight: 500; }
.prog-row.prog-families { border-left: 5px solid #028C92; }
.prog-row.prog-forward { border-left: 5px solid #0F2D4A; }
.prog-row.prog-together { border-left: 5px solid #A8692A; }
@media (max-width: 760px) { .prog-row { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; } }

.policy-links.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .policy-links.three { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.25rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq summary h2 { font-size: 1.08rem; font-weight: 600; display: inline; }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--ink); }

.route-rel { font-size: .92rem; color: var(--muted); }
.small-note { font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.site-footer .wrap { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }
.foot-brand { align-items: flex-start; }
@media (max-width: 1280px) { .nav-desktop { display: none; } .menu { display: block; } }
@media (max-width: 1280px) {
  .menu[open] .nav-list { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 90px); overflow-y: auto; }
  .menu[open] .nav-list a { padding: .8rem .75rem; border-radius: 10px; }
}
@media (min-width: 1281px) { .nav-list a, details.sub > summary { padding-inline: .6rem; } }
.feature:not(:has(figure)) > .stack { max-width: 72ch; }

/* ---------- v5: user-selected graphics ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-photo img { aspect-ratio: 3 / 2; object-position: center 40%; }

.values-panel { background: var(--navy); color: #FFFFFF; border-radius: 24px; padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.6rem; }
.values-panel .eyebrow { color: var(--light-teal); letter-spacing: .18em; }
.vp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.5rem; }
@media (min-width: 1000px) { .vp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vp-grid { grid-template-columns: minmax(0, 1fr); } }
.vp-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; align-items: start; }
.vp-item h3 { color: #FFFFFF; font-size: 1.15rem; margin-bottom: .25rem; }
.vp-item p { color: #C3D2DD; font-size: .97rem; }
.vp-item .v-icon { width: 56px; height: 56px; color: #0F2D4A; }
.vp-equity .v-icon { background: #CDEDEA; }
.vp-inclusion .v-icon { background: #F6C9B8; }
.vp-empowerment .v-icon { background: #DCEBC6; }
.vp-collaboration .v-icon { background: #CFE0F2; }
.vp-integrity .v-icon { background: #F5E2BF; }
.vp-belonging .v-icon { background: #C9EEE6; }

.journey-graphic { margin: 0; position: relative; }
.journey-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #FBF8F3; }
.journey-scroll img { display: block; width: 100%; min-width: 820px; height: auto; }
.journey-graphic figcaption { position: absolute; right: 10px; bottom: 10px; font-size: .72rem; background: rgba(15,45,74,.78); color: #FFFFFF; padding: .2rem .55rem; border-radius: 999px; }
