/* ==========================================================================
   TrusterLabs: site styles
   One stylesheet for every page. Colours and spacing are set as variables
   in :root, so a change there applies across the whole site.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff") format("woff");
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display-700.woff") format("woff");
  font-weight: 600 800; font-style: normal; font-display: swap;
}

:root {
  /* Brand */
  --navy-950: #0B1A45;
  --navy-900: #0F2257;
  --navy-800: #163070;
  --navy-700: #1E3D86;
  --blue-600: #2F6BFF;     /* Signal Blue ("TRUSTER" in the logo): fills, borders, focus rings */
  --blue-700: #0021AC;     /* Royal Blue (padlock): text and links on light backgrounds */
  --blue-300: #8EB0FF;     /* blue for text on navy */
  --gold-400: #F3AC01;     /* Sentinel Gold (padlock, "LABS"): buttons and accents on navy */
  --gold-600: #A87A00;     /* decorative gold rule on light backgrounds */

  /* Neutrals */
  --ink: #0B1530;
  --text: #2E3A55;
  --muted: #56627C;
  --paper: #F4F6FB;
  --white: #FFFFFF;
  --line: #DCE2EE;
  --on-navy: #E9EEFA;
  --on-navy-muted: #B7C3DE;

  /* Type & layout */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(8, 18, 43, .06), 0 8px 24px rgba(8, 18, 43, .06);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--blue-600);
  --focus-dark: 0 0 0 3px var(--navy-900), 0 0 0 6px var(--gold-400);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.012em; }
p, ul, ol, dl { margin: 0 0 1rem; }
a { color: var(--blue-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
em { font-style: normal; font-weight: 600; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 820px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.small { font-size: .9rem; color: var(--muted); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold-400); color: var(--navy-900); font-weight: 700;
  padding: .7rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; box-shadow: var(--focus-dark); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-gold { background: var(--gold-400); color: var(--navy-900); }
.btn-gold:hover { background: #FFBE2E; box-shadow: 0 8px 28px rgba(243, 172, 1, .28); }
.btn-outline-light { border-color: rgba(233, 238, 250, .55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.75rem 0 0; }

.text-link { font-weight: 650; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link::after { content: " →"; }
.text-link:hover { border-bottom-color: transparent; }

/* Dark surfaces share these overrides */
.site-header, .hero, .page-intro, .section-navy, .cta-band, .site-footer { color: var(--on-navy); }
.site-header :focus-visible, .hero :focus-visible, .page-intro :focus-visible,
.section-navy :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { box-shadow: var(--focus-dark); }
.hero h1, .page-intro h1, .section-navy h2, .section-navy h3, .cta-band h2 { color: var(--white); }
.hero a:not(.btn), .page-intro a:not(.btn), .section-navy a:not(.btn), .cta-band a:not(.btn), .site-footer a { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(142, 176, 255, .12);
  position: relative; z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: auto; }
.brand .brand-logo { width: 200px; height: auto; display: block; }
@media (max-width: 480px) { .brand .brand-logo { width: 168px; } }
@media (max-width: 360px) { .brand .brand-logo { width: 148px; } }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.38rem; letter-spacing: -0.02em; color: var(--white); }
.brand-name span { color: var(--gold-400); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--on-navy); text-decoration: none; font-weight: 550;
}
.site-nav ul a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.site-nav ul a[aria-current="page"] { color: var(--white); background: rgba(142, 176, 255, .14); }
.site-nav .nav-cta { color: var(--navy-900); }

.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  min-height: 44px; padding: .5rem .9rem;
  background: transparent; color: var(--white); font: inherit; font-weight: 600;
  border: 1px solid rgba(233, 238, 250, .35); border-radius: 999px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  /* Without JavaScript the menu simply wraps below the logo. */
  .header-inner { flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: .5rem 1rem; padding-bottom: .4rem; }
  .site-nav ul { flex-wrap: wrap; }

  /* With JavaScript: a toggle button and a collapsible panel. */
  .js .nav-toggle { display: inline-flex; }
  .js .header-inner { flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem; background: var(--navy-900);
    border-bottom: 1px solid rgba(142, 176, 255, .18);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .js .site-nav .nav-cta { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(47, 107, 255, .28), transparent 60%),
    radial-gradient(900px 600px at 10% 0%, rgba(30, 61, 134, .55), transparent 70%),
    radial-gradient(800px 500px at 0% 100%, rgba(243, 172, 1, .05), transparent 60%),
    var(--navy-900);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  position: relative;
}
.hero > .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 1.1rem;
  font-size: .82rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-300);
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--gold-400); vertical-align: middle; margin-right: .6rem; transform: translateY(-2px); }
.hero h1 { margin-bottom: .45em; max-width: 15ch; }
.hero h1 .eyebrow { display: block; width: max-content; max-width: 100%; font-family: var(--font); line-height: 1.4; }
.hero h1 .h1-main { display: block; }
.hero h1 .accent { display: block; color: var(--blue-300); }
.hero h1 .accent > span { display: block; }
.nowrap { white-space: nowrap; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 .accent { background: linear-gradient(90deg, #A9C2FF 0%, #6E98FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.hero .eyebrow { color: var(--gold-400); letter-spacing: .14em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--on-navy-muted); max-width: 60ch; }
.hero .lead { color: var(--on-navy); opacity: .92; }
.hero-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .93rem; color: var(--on-navy-muted); }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }

.hero-visual { display: flex; justify-content: center; }
/* Hero globe (assets/js/globe.js). The canvas animates; without JavaScript the still picture shows.
   It stops off-screen and shows a still picture for visitors who prefer reduced motion. */
.globe-wrap { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; }
.globe-canvas, .globe-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-wrap.is-live .globe-still { display: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .globe-wrap { max-width: 380px; margin-inline: auto; }
  .hero h1 { max-width: none; }
}

/* ---------- Inner page intro ---------- */
.page-intro {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(47, 107, 255, .2), transparent 60%),
    var(--navy-900);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.75rem, 6vw, 4rem);
}
.page-intro h1 { font-size: clamp(2rem, 4.6vw, 3rem); max-width: 22ch; }
.page-intro-compact h1 { max-width: none; }
.page-intro-404 { padding-bottom: clamp(4rem, 10vw, 7rem); }
.on-page { margin-top: 2rem; }
.on-page ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.on-page a {
  display: inline-block; padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid rgba(142, 176, 255, .35); text-decoration: none; font-size: .93rem; font-weight: 550;
}
.on-page a:hover { border-color: var(--blue-300); background: rgba(255, 255, 255, .05); }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; scroll-margin-top: 1rem; }
[id] { scroll-margin-top: 1rem; }
.section-light { background: var(--paper); }
.section-navy { background: var(--navy-800); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-intro { font-size: 1.12rem; color: var(--muted); }
.section-navy .section-intro, .section-navy p { color: var(--on-navy-muted); }
.section-outro { max-width: 760px; margin-top: 2rem; color: var(--muted); }
.section-navy .section-outro { color: var(--on-navy); }
.kicker { font-size: .95rem; font-weight: 650; color: var(--blue-700); margin-bottom: .5rem; }
.kicker-light { color: var(--gold-400); }
.after-grid { margin-top: 2.25rem; }
.note {
  margin-top: 1.75rem; padding: 1rem 1.25rem; max-width: 760px;
  border-left: 3px solid var(--gold-600); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Numbered steps */
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.steps-list.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-list li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 1.25rem; }
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: .6rem;
  font-size: .9rem; font-weight: 700; letter-spacing: .06em; color: var(--blue-700);
}
.steps-list p { color: var(--muted); margin: 0; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1rem, 3vw, 2.5rem); counter-reset: proc; }
.process li { counter-increment: proc; padding-top: 1rem; border-top: 2px solid var(--ink); }
.process li::before { content: counter(proc) "."; display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--blue-700); margin-bottom: .35rem; }
.process h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.process p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Pathways (home) */
.pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pathway {
  display: flex; flex-direction: column;
  padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow); border-top: 4px solid var(--blue-600);
}
.pathway:nth-child(2) { border-top-color: var(--gold-400); }
.pathway:nth-child(3) { border-top-color: var(--navy-700); }
.pathway p { color: var(--muted); }
.pathway .text-link { margin-top: auto; align-self: flex-start; }
.pathway-tag { font-size: .95rem; font-weight: 650; color: var(--blue-700); margin-bottom: .4rem; }
.pathway .pathway-tag { color: var(--blue-700); }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.partner { padding: 1.9rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(142, 176, 255, .2); }
.partner-type { font-size: .9rem; font-weight: 650; color: var(--gold-400) !important; margin-bottom: .4rem; }
.partner h3 { font-size: 1.35rem; }

/* Founder */
.founder-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.profile-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 1.75rem; position: relative; overflow: hidden;
}
.profile-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--gold-400)); }
.profile-name { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: .1rem; }
.profile-role { color: var(--muted); font-weight: 550; }
.profile-card-title { font-size: 1rem; margin: 0 0 .75rem; }
.profile-card-title + .profile-facts { margin-bottom: 1.5rem; }
.profile-facts { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .7rem; }
.profile-card-title + .profile-facts { margin-top: 0; }
.profile-facts li { position: relative; padding-left: 1.3rem; font-size: .97rem; line-height: 1.5; }
.profile-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-600); }

.founder-profile .founder-head { margin-bottom: 2rem; }
.founder-profile .founder-head h2 { margin-bottom: .2rem; }
.founder-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose h3 { margin-top: 1.75rem; }
.prose > * { max-width: 70ch; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 620px; }
.cta-inner p { color: var(--on-navy-muted); margin: 0; }
.cta-inner .btn-row { margin: 0; }

/* Programme detail */
.programme { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.programme-head p:not(.pathway-tag) { color: var(--muted); }
.programme-details { margin: 0; border-top: 1px solid var(--line); }
.programme-details > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.programme-details dt { font-weight: 700; color: var(--ink); font-size: .97rem; }
.programme-details dd { margin: 0; }
.programme-details ul { margin: 0; padding-left: 1.1rem; }
.programme-details li + li { margin-top: .3rem; }
.section-light .note { background: var(--white); }

/* Certificates terms */
.terms-grid { margin: 0; max-width: 900px; border-top: 1px solid rgba(142, 176, 255, .3); }
.terms-grid > div { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid rgba(142, 176, 255, .18); }
.terms-grid dt { font-weight: 700; color: var(--white); }
.terms-grid dd { margin: 0; color: var(--on-navy-muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 650; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue-700);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.25rem; color: var(--muted); max-width: 70ch; }

/* Two-column text, info cards */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.split-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.info-card { padding: 1.4rem clamp(1rem, 3vw, 2.5rem) .5rem 0; }
.info-card + .info-card { padding-left: clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.info-card p { color: var(--muted); margin: 0; }
.info-card-accent h3 { color: var(--blue-700); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before {
  content: ""; position: absolute; left: .15rem; top: .45em; width: .7rem; height: .4rem;
  border-left: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(-45deg);
}

.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem clamp(1.25rem, 3vw, 2.5rem); }
.values li { padding: 0; }
.values p { margin: 0; color: var(--muted); }

.facts-table { margin: 0; border-top: 1px solid var(--line); }
.facts-table > div { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts-table dt { font-weight: 650; color: var(--ink); }
.facts-table dd { margin: 0; }

/* Video blocks */
.video-list { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.video-block { margin: 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.video-block figcaption h3 { margin-bottom: .4rem; }
.video-block figcaption p { color: var(--muted); margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(47, 107, 255, .35), transparent 60%),
    var(--navy-900);
  color: var(--on-navy);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder, .video-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem); gap: .2rem;
}
.video-placeholder p, .video-consent p { color: var(--on-navy-muted); max-width: 46ch; margin: 0 0 .75rem; font-size: .98rem; }
.video-placeholder a, .video-consent a { color: var(--white); }
.video-placeholder-title { color: var(--white) !important; font-weight: 700; font-size: 1.2rem !important; margin-bottom: .35rem !important; }
.video-placeholder-icon {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: .9rem;
  border: 2px solid var(--gold-400); position: relative;
}
.video-placeholder-icon::after {
  content: ""; position: absolute; left: 17px; top: 13px;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid var(--gold-400);
}
.video-consent .btn-row { margin-top: .25rem; }
.video-frame :focus-visible { box-shadow: var(--focus-dark); }
.video-transcript { margin-top: .75rem; }

/* Contact */
.routes { margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.route { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) auto; gap: 1rem clamp(1.5rem, 4vw, 3rem); align-items: center; padding: 1.4rem 0; border-bottom: 1px solid #C9D1E0; }
.route h3 { margin: 0; font-size: 1.2rem; }
.route p { margin: 0; color: var(--muted); }
.route .btn { font-size: .93rem; overflow-wrap: anywhere; }
.contact-list { margin: 0; }
.contact-list > div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: .15rem 0 0; font-size: 1.12rem; font-weight: 600; }
.contact-list dd .small { font-weight: 400; margin: .35rem 0 0; }
.address-block { font-size: 1.12rem; line-height: 1.6; margin-bottom: 1rem; }

/* Legal pages */
.legal h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal .updated { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .35rem; }

.link-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.link-list a {
  display: inline-block; padding: .55rem 1.05rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  border: 1px solid rgba(142, 176, 255, .4);
}
.link-list a:hover { background: rgba(255, 255, 255, .06); }

/* ---------- Motto band ---------- */
.motto-band { background: var(--navy-950); color: var(--on-navy); padding: clamp(1.75rem, 4vw, 2.5rem) 0; border-top: 1px solid rgba(142, 176, 255, .12); }
.motto-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.motto-row li { padding: .25rem clamp(1rem, 3vw, 2.25rem); border-left: 1px solid rgba(142, 176, 255, .2); }
.motto-row li:first-child { padding-left: 0; border-left: 0; }
.motto-row strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: .25rem; }
.motto-row span { color: var(--on-navy-muted); font-size: .98rem; }

/* ---------- Doers ---------- */
.doers { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.doers-intro h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); max-width: 14ch; }
.expect-rows { margin: 0; }
.expect-rows div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.expect-rows div:last-child { border-bottom: 1px solid var(--line); }
.expect-rows dt { font-weight: 700; color: var(--ink); }
.expect-rows dd { margin: 0; color: var(--muted); }

/* ---------- Offer index (home) ---------- */
.offer-index { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.offer-index li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "title desc" "source desc"; column-gap: clamp(1.5rem, 5vw, 4rem); padding: 1.4rem 0; border-bottom: 1px solid #C9D1E0; }
.offer-index h3 { grid-area: title; margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.offer-index h3 a { color: var(--ink); text-decoration: none; }
.offer-index h3 a::after { content: " →"; color: var(--blue-700); }
.offer-index h3 a:hover { color: var(--blue-700); text-decoration: underline; }
.offer-source { grid-area: source; margin: .3rem 0 0; font-size: .9rem; color: var(--muted); }
.offer-desc { grid-area: desc; margin: 0; color: var(--text); align-self: center; }

/* ---------- Cyberium feature (home) ---------- */
.cyberium-feature { background: var(--navy-800); }
.cyb-feature-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cyb-feature-grid p { color: var(--on-navy-muted); max-width: 52ch; margin-bottom: 1.5rem; }
.screen-shot { margin: 0; }
.screen-shot img { width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(142, 176, 255, .25); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.screen-shot figcaption { margin-top: .7rem; font-size: .85rem; color: var(--on-navy-muted); }

/* ---------- Partners line (home) ---------- */
.partners-line h2 { margin-bottom: 1.25rem; }
.partner-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; align-items: center; }
.partner-list li { display: flex; align-items: center; gap: 1rem; }
.partner-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.partner-list strong { display: block; color: var(--ink); }
.partner-list img { height: 60px; width: auto; }
.partner-wordmark { font-weight: 700; font-size: .78rem; line-height: 1.2; color: #0F4C81; border: 1px solid var(--line); border-radius: 6px; padding: .55rem .6rem; text-align: center; }

/* ---------- Partners ---------- */
.partner-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.partner-strip li { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.partner-logo {
  flex: 0 0 auto; display: grid; place-items: center; width: 132px; height: 84px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .5rem;
}
.partner-logo img { max-height: 68px; width: auto; }
.partner-logo-text { font-weight: 700; font-size: .8rem; line-height: 1.25; color: #0F4C81; text-align: center; letter-spacing: .01em; }
.partner-detail { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; max-width: 980px; }
.partner-detail-logo {
  display: grid; place-items: center; width: 200px; height: 160px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.partner-detail-logo img { max-height: 120px; width: auto; }
.partner-detail-logo.partner-logo-text { font-size: 1.05rem; }
.partner-detail h3 { margin-top: 1.5rem; font-size: 1.05rem; }
.badge-gold, .badge-blue {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px; margin-bottom: .9rem;
}
.badge-gold { background: #FFF4C2; color: #5C4300; border: 1px solid #E8C300; }
.badge-blue { background: #E6EEFF; color: var(--blue-700); border: 1px solid #B9CCFF; }

/* ---------- Cyberium catalogue ---------- */
.page-intro-split .intro-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem; align-items: center; }
.level-scale { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.level-scale li { position: relative; padding-top: 2.3rem; font-size: .78rem; font-weight: 600; color: var(--muted); }
.level-scale span {
  position: absolute; top: 0; left: 0; right: 0; height: 1.8rem; display: grid; place-items: center;
  font-size: .85rem; font-weight: 700; color: var(--white); border-radius: 4px;
}
.level-scale li:nth-child(1) span { background: #2A62EE; } .level-scale li:nth-child(2) span { background: #1F56DE; }
.level-scale li:nth-child(3) span { background: #174AC8; } .level-scale li:nth-child(4) span { background: #123FAE; }
.level-scale li:nth-child(5) span { background: #0E3494; } .level-scale li:nth-child(6) span { background: #0B2A78; }
.level-scale li:nth-child(7) span { background: var(--navy-900); color: var(--gold-400); }
.families { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.family-col { display: grid; gap: 1.25rem; }
.family { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.family-head { padding: 1.4rem 1.5rem 1rem; border-top: 4px solid var(--blue-600); }
.family-defence .family-head { border-top-color: var(--navy-700); }
.family-offence .family-head { border-top-color: var(--gold-400); }
.family-industrial .family-head { border-top-color: #38A3C9; }
.family-head h3 { margin-bottom: .35rem; display: flex; align-items: baseline; gap: .6rem; }
.family-code { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); background: var(--paper); border-radius: 4px; padding: .1rem .45rem; }
.family-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.family-head .family-count { margin-top: .5rem; font-size: .82rem; font-weight: 650; color: var(--blue-700); }
.prog-list { list-style: none; margin: 0; padding: 0 1.5rem 1rem; }
.prog-list li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .97rem; }
.lvl { font-size: .74rem; font-weight: 700; text-align: center; padding: .2rem .3rem; border-radius: 4px; color: var(--white); background: #1F56DE; }
.lvl-1 { background: #2A62EE; } .lvl-2 { background: #1F56DE; } .lvl-3 { background: #174AC8; } .lvl-4 { background: #123FAE; }
.lvl-5 { background: #0E3494; } .lvl-6 { background: #0B2A78; } .lvl-7 { background: var(--navy-900); color: var(--gold-400); }
.prog-name { font-weight: 600; color: var(--ink); }
.prog-code { font-size: .8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

.course-chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.course-chips li { padding: .35rem .8rem; border-radius: 999px; background: var(--white); border: 1px solid #B9CCFF; color: var(--blue-700); font-weight: 650; font-size: .9rem; }

/* ---------- About ---------- */
.values-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.values h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.pillars { list-style: none; padding: 1rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(142, 176, 255, .3); }
.pillar { padding: 1rem clamp(1rem, 3vw, 2rem) 0; border-left: 1px solid rgba(142, 176, 255, .25); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar-now h3 { color: var(--gold-400) !important; }
.pillar-status { font-size: .88rem; font-weight: 650; color: var(--on-navy-muted) !important; margin-bottom: .4rem; }
.pillar-now .pillar-status { color: var(--gold-400) !important; }
.pillar h3 { font-size: 1.15rem; }
.pillar p:last-child { margin: 0; }

/* ---------- Numbered video stories (Cyberium) ---------- */
.story-list { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.story { margin: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(1.25rem, 3vw, 2.75rem); align-items: center; }
.story:nth-child(even) { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.story:nth-child(even) .video-frame { order: 2; }
.story-num {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .8rem;
  font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700);
}
.story-num b { font-size: 1.05rem; letter-spacing: 0; color: var(--ink); }
.story h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: .6rem; }
.story figcaption p { color: var(--muted); margin: 0 0 .6rem; }
.story .meta { font-size: .88rem; font-weight: 600; color: var(--blue-700); }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* ---------- What happens next (contact) ---------- */
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1rem, 3vw, 2.5rem); counter-reset: nx; }
.next-steps li { counter-increment: nx; padding-top: 1rem; border-top: 2px solid var(--ink); }
.next-steps li::before { content: counter(nx) "."; display: block; font-family: var(--font-display); font-weight: 700; color: var(--blue-700); margin-bottom: .3rem; }
.next-steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.next-steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--on-navy-muted); max-width: 34ch; margin-top: 1rem; }
.footer-motto { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400) !important; font-weight: 650; }
.footer-heading { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: var(--on-navy); overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-note { color: var(--on-navy-muted); font-size: .88rem; }
.site-footer address { color: var(--on-navy-muted); }
.footer-bottom { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(142, 176, 255, .14); font-size: .86rem; color: var(--on-navy-muted); }
.footer-bottom p { margin: 0 0 .5rem; }
.footer-tm { font-size: .8rem; opacity: .85; max-width: 90ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps-list.steps-4, .process, .values, .pathways-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li { margin-bottom: 1.5rem; }
  .values-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doers { grid-template-columns: 1fr; }
  .doers-intro h2 { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .routes { grid-template-columns: 1fr; }
  .route .btn { align-self: flex-start; }
}
@media (max-width: 860px) {
  .steps-list, .pathways, .partner-grid, .founder-grid, .founder-body, .programme, .two-col, .split-cards, .video-block,
  .motto-row, .cyb-feature-grid, .families, .pillars, .page-intro-split .intro-split, .next-steps { grid-template-columns: 1fr; }
  .motto-row li, .pillar { border-left: 0; padding: .6rem 0; }
  .pillar { border-top: 1px solid rgba(142, 176, 255, .2); padding-top: 1rem; }
  .pillar:first-child { border-top: 0; }
  .route { grid-template-columns: 1fr; gap: .5rem; }
  .route .btn { justify-self: start; }
  .offer-index li { grid-template-columns: 1fr; grid-template-areas: "title" "source" "desc"; }
  .offer-desc { margin-top: .5rem; }
  .expect-rows div, .terms-grid > div { grid-template-columns: 1fr; gap: .3rem; }
  .split-cards { grid-template-columns: 1fr; }
  .info-card + .info-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .next-steps li { margin-bottom: 1.25rem; }
  .partner-detail { grid-template-columns: 1fr; }
  .story, .story:nth-child(even) { grid-template-columns: 1fr; }
  .story:nth-child(even) .video-frame { order: 0; }
  .next-steps { grid-template-columns: 1fr; }
  .intro-logo { justify-content: flex-start; }
  .intro-logo img, .cyb-logo-wrap img { max-width: 180px; }
  .cyb-logo-wrap { justify-content: flex-start; }
  .programme-details > div, .facts-table > div { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .steps-list.steps-4, .process, .values, .values-5, .footer-grid, .pathways-4 { grid-template-columns: 1fr; }
  .level-scale li { font-size: 0; }
  .partner-strip li { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .cta-inner .btn-row { width: 100%; }
  .brand-name { font-size: 1.2rem; }
}

@media print {
  .site-header, .site-footer, .skip-link, .hero-visual, .cta-band, .on-page { display: none !important; }
  body { color: #000; }
  .page-intro, .hero, .section-navy { background: none !important; color: #000; }
  .page-intro h1, .hero h1, .section-navy h2, .section-navy h3 { color: #000; }
}
