/* Sophorion Academy — site stylesheet (v4)
   One design system for every page: white paper, ink text, one violet for
   actions, gold only for status marks. Class names used by assets/main.js
   (navbar, nav-dropdown, nav-toggle, cookie-*) and assets/script.js
   (modal, opportunity-*, field, consent, error) are kept on purpose. */

/* avoid-ai-design-ignore-file: T2, C2, K2 (shadows only on floating menus, modals and the cookie banner) */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt).
   Variable fonts, subset to Latin plus the symbols this site uses. */
@font-face { font-family: "Sora"; src: url("fonts/sora-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --mist: #F4F2FA;
  --wash: #F3EFFC;
  --rule: #E8E5F1;
  --rule-2: #DCD7EC;
  --field: #857F9F;  /* 3.79:1 on white, WCAG 1.4.11 for input edges */
  --ink: #051934;      /* brand navy, from the logo mark */
  --ink-2: #3A3655;
  --body: #4A4664;
  --slate: #5E5A78;
  --violet: #652AC4;
  --violet-deep: #150357; /* brand indigo, from the wordmark */
  --violet-press: #0E023D;
  --on-violet: #E6DDF8;
  --gold: #FAAD06;
  --term-text: #DCD6EC;
  --term-dim: #9A94B4;
  --term-rule: #2A2545;
  --term-hi: #C9B2FF;
  --term-add: #9FE0B0;
  --term-del: #F2A7A7;
  --danger: #B42318;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1560px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-bg: #EEE7FB;
  --nav-rule: #D9CCF4;
  --navbar-h: 85px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; scroll-padding-bottom: 120px; }
html { color-scheme: light; }
@media (pointer: fine) { html { overscroll-behavior-y: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; }
a { color: var(--violet); }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.band :focus-visible { outline-color: #FFFFFF; }
[hidden] { display: none !important; }
.hidden { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 808px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.muted { color: var(--slate); }
.nowrap { white-space: nowrap; }
.sr-only, .sr-only-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn, .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 16px; padding: 15px 24px; border-radius: 8px; border: 1.5px solid var(--violet); background: var(--violet); color: #fff; text-decoration: none; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out; }
.btn:hover, .btn-primary:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }
.btn:active { background: var(--violet-press); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--sm { font-size: 14px; padding: 9px 16px; white-space: nowrap; }
.btn--ghost, .btn-outline-dark, .secondary-btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 8px; border: 1.5px solid var(--field); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .15s ease-out, background-color .15s ease-out; }
.btn--ghost:hover, .btn-outline-dark:hover, .secondary-btn:hover { border-color: var(--violet); color: var(--violet-deep); background: var(--wash); }
.btn--light { background: #fff; color: var(--violet-deep); border-color: #fff; }
.btn--light:hover { background: var(--wash); border-color: var(--wash); color: var(--violet-deep); }
.link { font-weight: 600; text-underline-offset: 4px; }
/* button elements used as inline links ─────────────────────────────── */
button.link { background: none; border: none; padding: 0; color: inherit; font-size: inherit; cursor: pointer; text-decoration: underline; }
.arrow:empty { display: none; }

/* ── Header / navigation ─────────────────────────────────────────────── */
.navbar { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); border-bottom: 3px solid var(--gold); }
.navbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 9px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; white-space: nowrap; }
.brand img { height: 66px; width: auto; display: block; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-dropdown-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-links > li > a:hover, .nav-dropdown-btn:hover { color: var(--ink); background: rgba(255, 255, 255, .75); }
.nav-links > li > a[aria-current="page"] { color: var(--violet-deep); font-weight: 600; }
.nav-links > li.nav-cta { margin-left: 8px; }
.nav-links > li.nav-cta > a,
.nav-links > li.nav-cta > button { background: var(--violet); color: #fff; font-weight: 600; padding: 9px 16px; border: none; font: inherit; cursor: pointer; border-radius: 6px; }
.nav-links > li.nav-cta > a:hover,
.nav-links > li.nav-cta > button:hover { background: var(--violet-deep); color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown-btn .chev { width: 10px; height: 10px; transition: transform .15s ease-out; }
.nav-dropdown-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 8px; background: #1B0A52; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; box-shadow: 0 20px 50px rgba(5, 25, 52, .5); display: none; }
.nav-dropdown-menu.open { display: block; }
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #FFFFFF; font-size: 14px; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: rgba(255, 255, 255, .10); }
.nav-dropdown-menu a:hover .dd-title, .nav-dropdown-menu a:focus-visible .dd-title { color: var(--gold); }
.nav-dropdown-menu .dd-title { display: block; font-weight: 500; }
.nav-dropdown-menu .dd-sub { display: block; font-size: 13px; color: #C9BEEA; margin-top: 2px; }
.nav-dropdown-menu .dd-label { padding: 10px 12px 4px; font-size: 12px; color: #C9BEEA; }
.nav-dropdown-menu hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 6px 4px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--field); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--nav-bg); border-bottom: 1px solid var(--nav-rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; max-height: calc(100vh - var(--navbar-h)); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .nav-dropdown-btn { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav-dropdown-menu { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav-links > li.nav-cta { margin: 16px 0 0; }
  .nav-links > li.nav-cta > a,
  .nav-links > li.nav-cta > button { justify-content: center; border-radius: 8px; border-bottom: 0; }
  .navbar-inner { position: relative; }
}

/* ── Page sections ───────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--mist { background: var(--mist); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 700; max-width: 820px; }
.section-head p { font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 520px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--body); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 30px; color: var(--ink); margin-top: 48px; }
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 32px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { font-weight: 600; }

/* Page header for inner pages */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--rule); }
.crumbs { font-size: 14px; color: var(--slate); margin-bottom: 20px; }
.crumbs a { color: var(--slate); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; max-width: 900px; }
.page-head .lead { margin-top: 24px; }
.page-head .actions { margin-top: 32px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 20px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.dot--grey { background: #C9C3DD; }

/* Fact strip on course pages */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 48px; }
.facts div { padding: 20px 20px 20px 0; }
.facts dt { font-size: 13px; color: var(--slate); }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }

/* ── Home hero ───────────────────────────────────────────────────────── */
.hero { padding: 96px 0 104px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-end; }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(56px, 8vw, 104px); line-height: .98; font-weight: 700; letter-spacing: -0.03em; }
.audience { font-size: 14px; color: var(--slate); }
.batches { min-width: 0; background: var(--mist); border-radius: 16px; padding: 28px 28px 20px; }
.batches h2 { font-size: 18px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.batches > .muted { font-size: 14px; margin-bottom: 18px; }
.batches table { width: 100%; border-collapse: collapse; font-size: 15px; }
.batches th { text-align: left; font-size: 13px; font-weight: 500; color: var(--slate); padding: 0 8px 10px 0; }
.batches th:last-child, .batches td:last-child { text-align: right; padding-right: 0; }
.batches tbody tr { border-top: 1px solid #E1DDEE; }
.batches td { padding: 14px 8px 14px 0; color: var(--ink-2); }
.batches td:first-child { font-weight: 600; color: var(--ink); }
.batches td:first-child a { color: var(--ink); text-decoration: none; }
.batches td:first-child a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.batches td:nth-child(2) { white-space: nowrap; }
.batches .dot { margin-right: 8px; }

/* ── Violet band and lab sheet ───────────────────────────────────────── */
.band { background: var(--violet); color: #fff; padding: 120px 0; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.band-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.band h2 { font-size: clamp(36px, 4.4vw, 48px); line-height: 1.05; font-weight: 700; }
.band-copy p { font-size: 17px; line-height: 1.65; color: var(--on-violet); }
.band-copy p.small { font-size: 15px; }
.band a:not(.btn) { color: #fff; }
.lab { flex: 1.4 1 560px; min-width: 0; background: #fff; color: var(--ink); border-radius: 16px; padding: 36px; }
.lab-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.lab-head h3 { font-size: 24px; line-height: 1.25; margin-top: 4px; }
.lab-head p { font-size: 13px; color: var(--slate); }
.lab-head .target { align-self: flex-end; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps li > div { min-width: 0; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tick--open { background: none; border: 2px solid #C9C3DD; }
.steps .name { font-weight: 600; }
.steps .desc { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--body); }
code.block { display: block; margin-top: 10px; font-family: var(--mono); font-size: 14px; background: var(--mist); padding: 12px 14px; border-radius: 8px; overflow-x: auto; white-space: pre; }

/* ── Programme table ─────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; }
.programmes { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; text-align: left; }
.programmes thead tr { border-bottom: 1.5px solid var(--ink); }
.programmes th { padding: 12px 16px; font-size: 13px; font-weight: 500; color: var(--slate); }
.programmes th:first-child, .programmes td:first-child { padding-left: 0; }
.programmes th:last-child, .programmes td:last-child { padding-right: 0; }
/* Right-align only when the last column is numbers (module hours) */
.programmes td[data-label="Hours"]:last-child, .programmes:has(td[data-label="Hours"]:last-child) th:last-child { text-align: right; }
.programmes tbody tr { border-bottom: 1px solid var(--rule); }
.programmes td { padding: 26px 16px; vertical-align: top; color: var(--ink-2); }
.programmes .prog { display: block; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.programmes .prog:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 4px; }
.programmes .sub { display: block; margin-top: 6px; font-size: 14px; color: var(--slate); }
.programmes .fee { font-weight: 600; color: var(--ink); white-space: nowrap; }
.after-table { margin-top: 32px; font-size: 15px; color: var(--slate); }
@media (max-width: 700px) {
  .programmes { min-width: 0; }
  .programmes thead { display: none; }
  .programmes, .programmes tbody, .programmes tr, .programmes td { display: block; width: 100%; }
  .programmes tbody tr { padding: 20px 0; }
  .programmes td, .programmes td:last-child { padding: 4px 0; text-align: left; }
  .programmes td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--slate); margin-top: 8px; }
}

/* ── Lists of programmes / tracks (rows, not cards) ──────────────────── */
.rows { border-top: 1.5px solid var(--ink); }
.row-item { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.row-item h3 { font-size: 20px; }
.row-item h3 a { color: var(--ink); text-decoration: none; }
.row-item h3 a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 4px; }
.row-item .kicker { font-size: 13px; color: var(--slate); margin-top: 6px; }
.row-item p { font-size: 15px; line-height: 1.6; color: var(--body); }
.row-item .row-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 760px) { .row-item { grid-template-columns: 1fr; gap: 10px; } }

/* ── Course detail: outcomes, skills, prerequisites ──────────────────── */
.course-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .course-grid { grid-template-columns: 1fr; gap: 48px; } }
.block-title { font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.outcomes { list-style: none; padding: 0; margin: 0; }
.outcomes li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.aside-block + .aside-block { margin-top: 40px; }
.aside-block h3 { font-size: 18px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: var(--wash); color: #3D1C7A; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.plain li:last-child { border-bottom: 0; }
.modules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--rule); }
.modules li { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.modules li span { display: block; font-size: 12px; color: var(--slate); margin-bottom: 4px; }

/* Robotics levels */
.levels { border-top: 1.5px solid var(--ink); }
.level { border-bottom: 1px solid var(--rule); }
.level summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; }
.level summary::-webkit-details-marker { display: none; }
.level .lv { font-family: var(--mono); font-size: 13px; color: var(--violet); }
.level .lv-head { font-size: inherit; font-weight: inherit; letter-spacing: 0; margin: 0; }
.level .lv-name { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.level .lv-grade { display: block; }
.level .lv-grade { font-size: 14px; color: var(--slate); }
.level .sign { color: var(--violet); font-size: 22px; line-height: 1; transition: transform .15s ease-out; }
.level[open] .sign { transform: rotate(45deg); }
.level-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding: 0 0 28px 140px; }
.level-body h4 { font-size: 16px; margin-bottom: 10px; }
.level-body ol { padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.level-body ol li + li { margin-top: 6px; }
.level-body p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.level-body p + h4 { margin-top: 18px; }
@media (max-width: 760px) {
  .level summary { grid-template-columns: 1fr auto; }
  .level .lv { grid-column: 1 / -1; }
  .level-body { grid-template-columns: 1fr; padding-left: 0; gap: 20px; }
}

/* Split blocks (text + list) */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; }
.split h2 + p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--body); }
.checklist { list-style: none; padding: 0; margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
.checklist li:last-child { border-bottom: 0; }

/* Certificate sample */
.cert { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cert-card { background: #fff; border-radius: 12px; padding: 36px; border: 1px solid var(--rule-2); display: flex; flex-direction: column; gap: 14px; }
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cert-top img { height: 44px; width: auto; }
.tag { font-size: 12px; font-weight: 600; color: var(--slate); background: var(--mist); padding: 4px 10px; border-radius: 999px; }
.cert-name { font-size: 26px; font-weight: 700; }
.cert-id { font-family: var(--mono); font-size: 14px; margin-top: 8px; }
.cert figcaption { font-size: 14px; color: var(--slate); }

/* FAQ */
.faq h2 { font-size: 36px; font-weight: 700; margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--rule); padding: 20px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .sign { color: var(--violet); font-size: 22px; line-height: 1; transition: transform .15s ease-out; flex: none; }
.faq details[open] .sign { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--body); }

/* Closing call to action */
.cta-band { background: var(--violet-deep); color: #fff; padding: 80px 0; }
.cta-band .btn--light { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta-band .btn--light:hover { background: #FFC23D; border-color: #FFC23D; color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; max-width: 640px; }
.cta-band p { margin-top: 12px; color: var(--on-violet); font-size: 17px; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact h2 { font-size: clamp(34px, 4vw, 44px); line-height: 1.1; font-weight: 700; }
address { font-style: normal; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
address a { text-decoration: none; font-weight: 600; }
.map { border-radius: 12px; background: #fff; border: 1px solid var(--rule-2); overflow: hidden; }
.map-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.map-actions .label { font-weight: 600; }
.map-actions .hint { font-size: 13px; color: var(--slate); margin-top: 2px; }
.map-buttons { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.map-buttons button { font: inherit; font-weight: 600; color: var(--violet); background: none; border: 1.5px solid var(--violet); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.map-buttons button:hover { background: var(--wash); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ── Forms (contact enquiry + opportunity templates) ─────────────────── */
.form-card { flex: 1 1 480px; min-width: 0; background: #fff; border-radius: 16px; padding: 36px; }
.form-card h3 { font-size: 20px; margin-bottom: 4px; }
.form-card > p { font-size: 14px; color: var(--slate); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.form-grid .full, .field.full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, fieldset legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); outline: 3px solid rgba(101, 42, 196, .18); outline-offset: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.error { font-size: 13px; color: var(--danger); }
.error:empty { display: none; }
.hint { font-size: 13px; color: var(--slate); }
.phone-row { display: flex; align-items: stretch; border: 1px solid var(--field); border-radius: 8px; overflow: hidden; }
.phone-row .country-code { display: flex; align-items: center; padding: 0 12px; background: var(--mist); color: var(--ink-2); font-size: 15px; border-right: 1px solid var(--field); }
.phone-row input { border: 0; border-radius: 0; }
.field.invalid .phone-row { border-color: var(--danger); }
.select-wrap { position: relative; }
.segmented { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.segmented .options { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 500; }
.segmented input { accent-color: var(--violet); }
.segmented label:has(input:checked) { border-color: var(--violet); background: var(--wash); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--violet); width: 16px; height: 16px; flex: none; }
.consent.invalid { color: var(--danger); }
.consent + .error { display: block; margin-top: 6px; }
.submit-btn { width: 100%; margin-top: 20px; }
.form-card .fine { margin-top: 12px; font-size: 13px; color: var(--slate); }

/* ── Modals (success, opportunity, cookie) ───────────────────────────── */
.modal, .cookie-modal { position: fixed; inset: 0; z-index: 200; background: rgba(20, 17, 43, .55); display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px; overflow-y: auto; }
.success-box, .opportunity-box, .cookie-modal-box { position: relative; background: #fff; border-radius: 16px; width: 100%; padding: 36px; box-shadow: 0 24px 60px rgba(20, 17, 43, .25); }
.success-box { max-width: 460px; text-align: center; margin-top: 10vh; }
.success-icon { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.success-box h2 { font-size: 26px; margin: 4px 0 10px; }
.success-box p { color: var(--body); line-height: 1.6; margin-bottom: 24px; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; color: var(--violet); }
.opportunity-box { max-width: 760px; }
.opportunity-close, .cookie-modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--mist); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.opportunity-close svg, .cookie-modal-x svg { width: 18px; height: 18px; }
.opportunity-choices h2 { font-size: 28px; margin: 6px 0 8px; }
.opportunity-choices-sub { color: var(--slate); margin-bottom: 24px; }
.opportunity-choice-grid { display: grid; gap: 12px; }
.opportunity-choice { display: flex; gap: 16px; align-items: center; text-align: left; font: inherit; padding: 18px; border: 1px solid var(--rule-2); border-radius: 12px; background: #fff; cursor: pointer; }
.opportunity-choice:hover { border-color: var(--violet); background: var(--wash); }
.opportunity-choice-icon { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; }
.opportunity-choice-icon svg { width: 26px; height: 26px; }
.opportunity-choice-icon svg * { stroke: var(--violet); }
.opportunity-choice strong { display: block; font-size: 16px; }
.opportunity-choice small, .opportunity-choice .oc-legacy { color: var(--slate); font-size: 14px; }
.opportunity-back { font: inherit; font-size: 14px; font-weight: 600; color: var(--violet); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 16px; }
.opportunity-back svg { width: 16px; height: 16px; }
.opportunity-form-title { font-size: 24px; margin: 4px 0 20px; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--rule-2); border-radius: 16px; box-shadow: 0 16px 40px rgba(20, 17, 43, .16); padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cookie-banner-text { flex: 1 1 380px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cookie-banner-text h2, .cookie-banner-text strong { font-size: 15px; color: var(--ink); }
.cookie-banner-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.cookie-banner-links a, .cookie-link-btn { font: inherit; font-size: 14px; font-weight: 600; color: var(--violet); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions .btn { font-size: 15px; padding: 12px 20px; }
.cookie-modal-box { max-width: 560px; }
.cookie-modal-head h3 { font-size: 22px; padding-right: 48px; }
.cookie-modal-intro { margin: 10px 0 20px; color: var(--body); font-size: 15px; line-height: 1.6; }
.cookie-cat { border-top: 1px solid var(--rule); padding: 16px 0; }
.cookie-cat-row { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.cookie-cat-row input { margin-top: 4px; accent-color: var(--violet); width: 18px; height: 18px; flex: none; }
.cookie-cat-row strong { display: block; font-size: 15px; }
.cookie-cat-row small, .cookie-cat-row span { font-size: 14px; color: var(--slate); line-height: 1.55; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Floating WhatsApp button */
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; gap: 10px; }
.fab { position: relative; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(20, 17, 43, .22); }
.fab svg { width: 26px; height: 26px; }
.fab-whatsapp { background: #1F8F4E; }
.fab-tooltip { position: absolute; right: 62px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease-out; }
.fab:hover .fab-tooltip, .fab:focus-visible .fab-tooltip { opacity: 1; }
body:has(.cookie-banner:not(.hidden)) .floating-actions { bottom: 120px; }

/* Certificate verification */
.verify-row { display: flex; gap: 12px; align-items: flex-start; }
.verify-row .field { flex: 1 1 auto; }
.verify-result { margin-top: 24px; border-radius: 12px; padding: 20px 22px; border: 1px solid var(--rule-2); background: #fff; }
.verify-result.ok { border-color: #8FD3A8; background: #F1FBF4; }
.verify-result.bad { border-color: #F2B8B5; background: #FEF3F2; }
.verify-result dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 16px; margin: 12px 0 0; font-size: 15px; }
.verify-result dt { color: var(--slate); }
.verify-result dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .verify-row { flex-direction: column; } .verify-row .btn { width: 100%; } }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--rule); padding: 64px 0 40px; font-size: 14px; color: var(--slate); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 16px; }
.footer-brand img { height: 72px; width: auto; display: block; }
.footer-about { margin-top: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h3 { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--slate); text-decoration: none; }
.footer-col a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-bottom a { color: var(--slate); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; color: var(--ink-2); }
.footer-social a:hover { background: var(--mist); color: var(--violet); }
.footer-social svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ── Small screens ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 56px 0 72px; }
  .band { padding: 80px 0; }
  .section { padding: 72px 0; }
  .page-head { padding: 48px 0 40px; }
  .lab, .form-card, .cert-card, .success-box, .opportunity-box, .cookie-modal-box { padding: 24px; }
  .batches { padding: 22px 18px 14px; }
  .batches table { font-size: 14px; }
}

/* Opportunity picker cards (markup carried over from the previous footer) */
.opportunity-choice h3 { font-size: 16px; letter-spacing: 0; }
.opportunity-choice p { font-size: 14px; color: var(--slate); margin-top: 2px; line-height: 1.5; }
.cta-band :focus-visible { outline-color: #FFFFFF; }

/* Utilities and late additions */
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.self-center { align-self: center; }
.checklist--ol { list-style: decimal; padding-left: 22px; }
.note { margin-top: 24px; font-size: 15px; line-height: 1.6; }
.verify-btn { margin-top: 30px; }
@media (max-width: 520px) { .verify-btn { margin-top: 0; } }
.opportunity-choice .oc-body { display: block; }
.opportunity-choice .oc-title { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.opportunity-choice .oc-text { display: block; font-size: 14px; line-height: 1.5; color: var(--slate); margin-top: 6px; }
.opportunity-choice-icon { color: var(--violet); }

/* ── Lab captures: real terminal output, kept as text ───────────── */
.captures { display: flex; flex-direction: column; gap: 48px; }
.capture { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.capture figcaption, .builds figcaption, .worksheet-fig figcaption { font-size: 15px; line-height: 1.6; color: var(--slate); max-width: 760px; }
.capture figcaption strong { color: var(--ink); font-weight: 600; }
.term { background: var(--ink); color: var(--term-text); border-radius: 12px; overflow: hidden; }
.term-bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; font-size: 12px; color: var(--term-dim); border-bottom: 1px solid var(--term-rule); }
.term pre { margin: 0; padding: 18px 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre; tab-size: 4; }
.term pre:focus-visible { outline: 2px solid var(--term-hi); outline-offset: -2px; }
.term .prompt { color: var(--term-dim); user-select: none; }
.term b { color: #FFFFFF; font-weight: 600; }
.term mark { background: transparent; color: var(--term-hi); font-weight: 600; }
.term .dim { color: var(--term-dim); }
.term .diff .del { color: var(--term-del); }
.term .diff .add { color: var(--term-add); }
.term code, .capture code, .walk code { font-family: var(--mono); font-size: .92em; }

/* AppSec walkthrough: four real steps in order */
.walk { list-style: none; padding: 0; margin: 0; counter-reset: w; display: flex; flex-direction: column; }
.walk > li { counter-increment: w; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 16px 48px; align-items: start; padding: 32px 0; border-top: 1px solid var(--rule); }
.walk > li:last-child { border-bottom: 1px solid var(--rule); }
.walk h3 { font-size: 20px; font-weight: 700; }
.walk h3::before { content: "Step " counter(w) ". "; color: var(--violet); }
.walk .step-text p { font-size: 15px; line-height: 1.6; color: var(--body); margin-top: 8px; }
@media (max-width: 900px) { .walk > li { grid-template-columns: minmax(0, 1fr); } }

/* Robotics: what each level builds */
.builds { margin: 0 0 48px; display: flex; flex-direction: column; gap: 16px; }
.build-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.build-list li { padding: 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.build-media { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--mist); margin-bottom: 12px; }
.build-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.build-list p { font-size: 14px; line-height: 1.45; color: var(--body); }
.build-list .build-lv { font-size: 13px; font-weight: 600; color: var(--violet); }
.ln { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ln .fill { fill: var(--wash); }
.ln .faint { stroke: #B9B3CF; }
.ln .acc { stroke: var(--violet); }
.ln .dash { stroke-dasharray: 4 4; }
.ln .t { fill: var(--ink); stroke: none; font: 600 10px var(--sans); text-anchor: middle; }
.ln text.t[x="114"] { text-anchor: start; fill: var(--violet); }
@media (max-width: 900px) { .build-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .build-list { grid-template-columns: minmax(0, 1fr); } }

/* Schools: sample worksheet */
.split--wide > figure { flex: 1.3 1 480px; }
.worksheet-fig { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.worksheet { background: #FFFFFF; border: 1px solid var(--rule-2); border-radius: 8px; padding: 28px; font-size: 14px; color: var(--ink); }
.ws-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.ws-kicker { font-size: 12px; color: var(--slate); }
.ws-head h3 { font-size: 19px; margin-top: 2px; }
.ws-meta { font-size: 12px; color: var(--slate); align-self: flex-end; }
.ws-task { margin: 16px 0; line-height: 1.55; }
.ws-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sms { background: var(--mist); border-radius: 14px 14px 14px 4px; padding: 14px 16px; }
.sms-from { font-size: 11px; color: var(--slate); margin-bottom: 6px; font-family: var(--mono); }
.sms-msg { line-height: 1.6; }
.hl { border-bottom: 2px solid var(--violet); }
.hl::after { content: attr(data-n); display: inline-block; margin-left: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--violet); color: #FFFFFF; font-size: 10px; font-weight: 700; line-height: 15px; text-align: center; vertical-align: 2px; }
.ws-answers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-answers li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; line-height: 1.45; }
.ws-answers .n { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--violet); color: var(--violet); font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; font-family: var(--sans); }
@media (max-width: 560px) { .ws-body { grid-template-columns: minmax(0, 1fr); } .worksheet { padding: 20px; } }

/* Verify: where the ID is printed */
.cert-help { margin-top: 40px; }
.cert--callout .cert-card { position: relative; }
.cert-id-mark { outline: 2px solid var(--violet); outline-offset: 5px; border-radius: 2px; }
.cert-callout-note { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--violet); margin-top: 6px; }
.cert-arrow { width: 30px; height: 16px; color: var(--violet); flex: none; transform: translateY(-5px); }


/* ── Web interface guideline fixes ──────────────────────────────── */
/* Headings and paragraphs break evenly */
h1, h2, h3 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
/* Long words, URLs and IDs never overflow narrow screens */
p, li, dd, td, figcaption, .error, .hint { overflow-wrap: break-word; }
/* Numbers in tables and facts line up */
.batches td, .programmes td, .facts dd, .verify-result dd { font-variant-numeric: tabular-nums; }
/* Taps feel immediate; the tap flash is replaced by our own states */
a, button, summary, label, select, input[type="checkbox"], input[type="radio"] { touch-action: manipulation; -webkit-tap-highlight-color: rgba(101, 42, 196, .12); }
/* Hover states for disclosure rows and close buttons */
.level summary, .faq summary { transition: color .15s ease-out; }
.level summary:hover .lv-name, .faq summary:hover { color: var(--violet); }
.level summary:hover .sign, .faq summary:hover .sign { color: var(--violet-deep); }
.opportunity-close, .cookie-modal-x { transition: background-color .15s ease-out; }
.opportunity-close:hover, .cookie-modal-x:hover { background: var(--wash); }
/* Disclosure rows show keyboard focus */
.level summary:focus-visible, .faq summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
/* Compound controls: the group shows focus, so the ring isn't clipped */
.phone-row { transition: border-color .15s ease-out; }
.phone-row:focus-within { border-color: var(--violet); outline: 3px solid rgba(101, 42, 196, .18); outline-offset: 0; }
.field .phone-row input:focus { outline: none; }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.field.invalid .phone-row:focus-within { border-color: var(--danger); }
/* Scrolling inside a dialog never moves the page behind it */
.modal, .cookie-modal, .promo { overscroll-behavior: contain; }
body.dialog-open { overflow: hidden; }
/* Inline form status (replaces browser alerts) */
.form-status { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--danger); }
.form-status:empty { display: none; }

/* Walkthrough extras */
.term-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.term .ln-no { color: var(--term-dim); user-select: none; }

/* ── Home: "Evolve to Impact" hero ──────────────────────────────────
   One choreographed entrance per page load: the curve draws, each
   milestone appears as the line reaches it, the headline lands last.
   Timings come from tools/evolve.py; reduced motion shows the end state. */
.hero-art { padding: 8px 0 0; }
.evolve { position: relative; container-type: inline-size; border-radius: 20px; overflow: hidden; background: var(--paper); }
.evolve-art { display: block; width: 100%; height: auto; }
.evolve-art--tall { display: none; }
.ev-label { font-family: var(--sans); font-weight: 600; fill: var(--ink); letter-spacing: -0.01em; }
.ev-step--lead .ev-label { font-weight: 700; }
.evolve-copy { position: absolute; left: 0; top: 3cqw; display: flex; flex-direction: column; align-items: flex-start; }
.evolve-title { width: fit-content; margin: 0; color: var(--violet); font-size: clamp(40px, 8.6cqw, 112px); line-height: .92; font-weight: 700; letter-spacing: -0.035em; max-width: 7.2em; }
.evolve-tagline { margin: 1.6cqw 0 0; color: var(--violet-deep); font-size: clamp(17px, 2.1cqw, 26px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 699px) {
  .evolve-art--wide { display: none; }
  .evolve-art--tall { display: block; }
  .evolve { border-radius: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ev-curve { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ev-draw 1.8s linear .2s forwards; }
  .ev-dot { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.3); animation: ev-pop .32s cubic-bezier(.2, .7, .2, 1) var(--d) forwards; }
  .ev-label { opacity: 0; transform: translateY(8px); animation: ev-rise .45s ease-out calc(var(--d) + .08s) forwards; }
  .evolve-title { opacity: 0; transform: translateY(18px); animation: ev-rise .6s cubic-bezier(.2, .7, .2, 1) var(--ev-title) forwards; }
}
@keyframes ev-draw { to { stroke-dashoffset: 0; } }
@keyframes ev-pop { to { opacity: 1; transform: scale(1); } }
@keyframes ev-rise { to { opacity: 1; transform: none; } }

.hero-follow { padding: 48px 0 88px; }
.hero-follow .lead { font-size: clamp(19px, 2vw, 22px); }
.hero-lead { margin: 0 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.class-preview { min-width: 0; }
.class-preview h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.class-preview > .muted { font-size: 15px; margin: 8px 0 20px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

/* ── Home: where do you start? ──────────────────────────────────── */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.path { padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 12px; }
.path + .path { padding-left: 28px; border-left: 1px solid var(--rule); }
.path h3 { font-size: 22px; letter-spacing: -0.02em; }
.path .who { font-size: 14px; color: var(--slate); }
.path ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.path li a { display: block; font-weight: 600; color: var(--ink); text-decoration: none; }
.path li a:hover { color: var(--violet); }
.path li a:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.path li span { display: block; font-size: 14px; color: var(--slate); margin-top: 2px; }
@media (max-width: 900px) {
  .paths { grid-template-columns: minmax(0, 1fr); }
  .path, .path + .path { padding: 24px 0; border-left: 0; }
  .path + .path { border-top: 1px solid var(--rule); }
}

/* ── Home: career support ───────────────────────────────────────── */
.career { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.career-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--rule-2); }
.career-list li { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule-2); }
.career-list strong { font-weight: 600; color: var(--ink); }
.career-list span { color: var(--body); }
.career-note { margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--slate); }
@media (max-width: 900px) {
  .career { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .career-list li { grid-template-columns: minmax(0, 1fr); }
}

/* evolve-timings:start (generated by tools/evolve.py) */
.evolve { --ev-title: 2.15s; }
.evolve-art--wide .ev-step:nth-of-type(1) { --d: 0.44s; }
.evolve-art--wide .ev-step:nth-of-type(2) { --d: 0.74s; }
.evolve-art--wide .ev-step:nth-of-type(3) { --d: 1.00s; }
.evolve-art--wide .ev-step:nth-of-type(4) { --d: 1.24s; }
.evolve-art--wide .ev-step:nth-of-type(5) { --d: 1.46s; }
.evolve-art--wide .ev-step:nth-of-type(6) { --d: 1.69s; }
.evolve-art--tall .ev-step:nth-of-type(1) { --d: 0.30s; }
.evolve-art--tall .ev-step:nth-of-type(2) { --d: 0.50s; }
.evolve-art--tall .ev-step:nth-of-type(3) { --d: 0.72s; }
.evolve-art--tall .ev-step:nth-of-type(4) { --d: 0.98s; }
.evolve-art--tall .ev-step:nth-of-type(5) { --d: 1.27s; }
.evolve-art--tall .ev-step:nth-of-type(6) { --d: 1.54s; }
/* evolve-timings:end */

/* Hero call to action, inside the dark area, arriving with the headline */
.evolve-cta { margin-top: 3.2cqw; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.evolve-link { color: var(--violet-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(101, 42, 196, .45); }
.evolve-link:hover { text-decoration-color: var(--violet); color: var(--violet); }
.evolve-link:focus-visible, .evolve-cta .btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
@media (max-width: 699px) {
}
@media (prefers-reduced-motion: no-preference) {
  .evolve-tagline { opacity: 0; transform: translateY(10px); animation: ev-rise .5s cubic-bezier(.2, .7, .2, 1) calc(var(--ev-title) + .2s) forwards; }
  .evolve-cta { opacity: 0; transform: translateY(12px); animation: ev-rise .5s cubic-bezier(.2, .7, .2, 1) calc(var(--ev-title) + .4s) forwards; }
}

.career h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 700; }
.career-top { padding: 96px 0 88px; }
.career-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; }
.career-head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.career-head .lead { max-width: 560px; }
.career-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.career-grid li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 8px 0; }
.career-grid li + li { padding-left: 24px; border-left: 1px solid var(--rule-2); }
.career-grid strong { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.career-grid span { font-size: 15px; line-height: 1.6; color: var(--body); }
.career-top .career-note { margin-top: 28px; }
@media (max-width: 1180px) {
  .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .career-grid li, .career-grid li + li { padding: 20px 24px 20px 0; border-left: 0; border-top: 1px solid var(--rule-2); }
  .career-grid li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule-2); }
}
@media (max-width: 640px) {
  .career-grid { grid-template-columns: minmax(0, 1fr); }
  .career-grid li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Career list in the hero: top right, above the curve, on wide screens;
   below the artwork on tablets and phones */
.evolve-career { margin: 8px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule-2); }
.evolve-career-title { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--violet-deep); }
.evolve-career ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.evolve-career li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.evolve-career li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.evolve-career-more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--violet-deep); text-underline-offset: 4px; }
.evolve-career-more:hover { color: var(--violet); }
.evolve-career-more:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 2px; }
@media (min-width: 700px) and (max-width: 1199px) {
  .evolve-career ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1200px) {
  .evolve-career { position: absolute; left: 51cqw; top: 3.4cqw; width: 30cqw; margin: 0; padding: 1.6cqw 0 0; border-top: 0; }
  .evolve-career-title { font-size: clamp(14px, 1.15cqw, 17px); margin-bottom: 1cqw; }
  .evolve-career ul { gap: .55cqw; }
  .evolve-career li { font-size: clamp(14px, 1.3cqw, 19px); padding-left: 1.5em; }
  .evolve-career-more { margin-top: 1.1cqw; font-size: clamp(14px, 1.1cqw, 16px); }
}
@media (prefers-reduced-motion: no-preference) {
  .evolve-career { opacity: 0; transform: translateY(10px); animation: ev-rise .5s cubic-bezier(.2, .7, .2, 1) calc(var(--ev-title) + .6s) forwards; }
}

/* Under 1200px the text sits above the drawing instead of on it */
@media (max-width: 1199px) {
  .evolve { display: flex; flex-direction: column; overflow: visible; }
  .evolve-copy { position: static; order: -1; padding: 24px 0 8px; }
  .evolve-title { font-size: clamp(44px, 11cqw, 96px); max-width: none; }
  .evolve-tagline { margin-top: 14px; font-size: clamp(18px, 3cqw, 24px); }
  .evolve-cta { margin-top: 24px; }
  .evolve-art { margin-top: 8px; }
}
@media (max-width: 699px) {
  .evolve-title { font-size: clamp(40px, 13.5cqw, 72px); }
  .evolve-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Top bar: brand indigo with gold text. The logo is navy and indigo, so it sits on a
   white plate; it is never placed directly on a dark background. */
.navbar { background: var(--violet-deep); border-bottom: 3px solid var(--gold); }
.brand img { background: #FFFFFF; border-radius: 10px; padding: 5px 10px; height: 64px; }
.nav-links > li > a, .nav-dropdown-btn { color: #FFFFFF; }
.nav-links > li > a:hover, .nav-dropdown-btn:hover, .nav-dropdown-btn[aria-expanded="true"] { color: var(--gold); background: rgba(255, 255, 255, .10); }
.nav-links > li > a[aria-current="page"] { color: var(--gold); }
.nav-links > li > a:focus-visible, .nav-dropdown-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-links > li.nav-cta > a,
.nav-links > li.nav-cta > button { background: var(--gold); color: var(--violet-deep); }
.nav-links > li.nav-cta > a:hover,
.nav-links > li.nav-cta > button:hover { background: #FFC23D; color: var(--violet-deep); }
.nav-toggle { border-color: var(--gold); color: var(--gold); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 1024px) {
  .nav-links { background: var(--violet-deep); border-bottom: 3px solid var(--gold); }
  .nav-links > li > a, .nav-dropdown-btn { border-bottom-color: rgba(255, 255, 255, .14); }
  .nav-dropdown-menu { background: transparent; }
  .nav-dropdown-menu a { color: var(--gold); }
  .nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: rgba(255, 255, 255, .10); color: #FFC23D; }
  .nav-dropdown-menu .dd-sub, .nav-dropdown-menu .dd-label { color: var(--on-violet); }
  .nav-dropdown-menu hr { border-top-color: rgba(255, 255, 255, .14); }
}

/* Wide curve from 480px up; the steep phone curve only on small phones */
@media (min-width: 480px) and (max-width: 699px) {
  .evolve-art--wide { display: block; }
  .evolve-art--tall { display: none; }
}

/* Career bullets: beside headline ≥1200px; below artwork on tablet/mobile */
@media (max-width: 1199px) {
  .evolve-career { display: block; padding-top: 20px; border-top: 1px solid var(--rule-2); }
}
@media (max-width: 699px) {
  /* On phones, show just the title sentence + link; hide the bullet list */
  .evolve-career ul { display: none; }
  .evolve-career-title { font-size: 15px; color: var(--ink); font-weight: 500; }
  .evolve-career-title strong { font-weight: 700; color: var(--violet-deep); }
}

/* Career-support popup (native dialog) */
.promo { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px 32px 32px; border: 0; border-radius: 16px; background: var(--violet-deep); color: #FFFFFF; box-shadow: 0 24px 60px rgba(5, 25, 52, .35); }
.promo::backdrop { background: rgba(5, 25, 52, .55); }
.promo-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .10); color: #FFFFFF; cursor: pointer; }
.promo-close:hover { background: rgba(255, 255, 255, .18); }
.promo-close svg { width: 20px; height: 20px; }
.promo :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.promo-kicker { margin: 0 48px 10px 0; font-size: 14px; font-weight: 600; color: var(--gold); }
.promo h2 { margin: 0; font-size: clamp(26px, 6vw, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.promo-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.promo-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.45; color: #FFFFFF; }
.promo-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.promo-note { margin: 20px 0 0; font-size: 15px; line-height: 1.55; color: var(--on-violet); }
.promo-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.promo-btn { background: var(--gold); border-color: var(--gold); color: var(--violet-deep); }
.promo-btn:hover { background: #FFC23D; border-color: #FFC23D; color: var(--violet-deep); }
.promo-more { color: #FFFFFF; font-weight: 600; font-size: 15px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .5); }
.promo-more:hover { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .promo[open] { animation: ev-rise .3s cubic-bezier(.2, .7, .2, 1); }
}

/* ── Home: "what a class looks like" slides carousel (light, beside batches) ── */
.slides { min-width: 0; }
.slides-viewport { overflow: hidden; transition: height .3s ease-out; }
.slides-track { display: flex; align-items: flex-start; list-style: none; margin: 0; padding: 0; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.slide { flex: 0 0 100%; width: 100%; }
@media (prefers-reduced-motion: reduce) { .slides-track, .slides-viewport { transition: none; } }
.slide-card { min-width: 0; }
.term--slide { border: 1px solid var(--term-rule); }
.term--slide .term-bar { font-size: 11.5px; }
.term--slide pre { font-size: 12.5px; line-height: 1.75; padding: 16px 18px 18px; min-height: 196px; }
.slide-tag { margin: 18px 0 0; font-size: 13px; font-weight: 600; color: var(--violet); letter-spacing: .01em; }
.slide-card h3 { margin: 5px 0 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.slide-desc { margin: 9px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.slides-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.slides-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--rule-2); background: #FFFFFF; color: var(--violet-deep); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out; }
.slides-arrow:hover { background: var(--wash); border-color: var(--violet); color: var(--violet-deep); }
.slides-arrow svg { width: 19px; height: 19px; }
.slides-dots { display: flex; align-items: center; gap: 9px; }
.slides-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--rule-2); cursor: pointer; transition: width .2s ease-out, background-color .2s ease-out; }
.slides-dot[aria-current="true"] { width: 24px; border-radius: 5px; background: var(--violet); }
.slides :focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.slides-viewport:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* Certificate under career support */
.career-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 32px 64px; align-items: center; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule-2); }
.career-foot .career-note { margin: 0; }
.career-foot .cert { margin: 0; max-width: 360px; }
@media (max-width: 860px) { .career-foot { grid-template-columns: minmax(0, 1fr); } }

/* ── Class-preview panel: violet background, light controls ─────────── */
.class-preview { background: var(--violet); border-radius: 20px; padding: 32px; color: #FFFFFF; }
.class-preview h2 { color: #FFFFFF; }
.class-preview > .muted { color: var(--on-violet); }
.class-preview .slide-tag { color: #fff; }
.class-preview .slide-card h3 { color: #FFFFFF; }
.class-preview .slide-desc { color: var(--on-violet); }
.class-preview .slides-arrow { border-color: rgba(255, 255, 255, .5); background: transparent; color: #FFFFFF; }
.class-preview .slides-arrow:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #FFFFFF; }
.class-preview .slides-dot { background: rgba(255, 255, 255, .4); }
.class-preview .slides-dot[aria-current="true"] { background: var(--gold); }
.class-preview .slides :focus-visible, .class-preview .slides-viewport:focus-visible { outline-color: var(--gold); }
@media (max-width: 980px) { .class-preview { padding: 24px; } }

/* Robotics image slide */
.slide-media { border-radius: 12px; overflow: hidden; background: #0E0A1F; height: 236px; }
.slide-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .slide-media { height: auto; aspect-ratio: 1294 / 472; } }

/* Terminal themes per slide */
.term--green { background: #05080A; }
.term--green .term-bar { color: #4FB06A; border-bottom-color: #123320; }
.term--green pre { color: #39E06B; }
.term--green b { color: #BFFFD2; }
.term--green mark { color: #ECFBEF; background: transparent; }
.term--green .dim, .term--green .prompt { color: #2C8C50; }

.term--red { background: #0A0607; }
.term--red .term-bar { color: #C98B8B; border-bottom-color: #331818; }
.term--red pre { color: #F2ECEC; }
.term--red b { color: #FF6B6B; }
.term--red mark { color: #FF5C5C; background: transparent; }
.term--red .dim { color: #8A6A6A; }
.term--red .diff .add { color: #7CE6A0; }

.term--git { background: #FFFFFF; border: 1px solid var(--rule-2); }
.term--git .term-bar { color: #57606A; border-bottom-color: #E1E4E8; }
.term--git pre { color: #24292F; }
.term--git .prompt { color: #6E7781; }
.term--git b { color: #24292F; }
.term--git mark { color: #9A6700; background: transparent; }
.term--git .dim { color: #6E7781; }
.term--git .diff .add { color: #1A7F37; }
.term--git .diff .del { color: #CF222E; }

/* ── Home: one-line scrolling intro ─────────────────────────────────
   The ticker is decorative (aria-hidden); the full sentence stays in
   .hero-lead for screen readers, and is shown instead of the ticker
   when the visitor prefers reduced motion. */
.ticker { display: flex; align-items: center; gap: 12px; margin: 0 0 40px; }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-group { display: flex; align-items: center; flex: none; white-space: nowrap; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--body); }
.ticker-group > span { padding: 0 26px; }
.ticker-group > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-toggle { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--rule-2); border-radius: 50%; background: #FFFFFF; color: var(--violet-deep); cursor: pointer; }
.ticker-toggle:hover { border-color: var(--violet); background: var(--wash); }
.ticker-toggle:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.ticker-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.ticker-toggle .i-play, .ticker.is-paused .ticker-toggle .i-pause { display: none; }
.ticker.is-paused .ticker-toggle .i-play { display: block; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-lead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .ticker { display: none; } }

/* ── Enquiry bar above the menu, on every page ─────────────────────── */
.topbar { background: var(--violet-press); color: var(--on-violet); font-size: 13.5px; }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.topbar-phone svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar-label { color: var(--on-violet); font-weight: 400; }
.topbar-phone:hover { color: var(--gold); }
.topbar-social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.topbar-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; color: var(--on-violet); }
.topbar-social a:hover { color: var(--gold); background: rgba(255, 255, 255, .08); }
.topbar-social svg { width: 17px; height: 17px; }
.topbar a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 420px) { .topbar-label { display: none; } .topbar-social { gap: 0; } }

/* ── Phone-only call bar, fixed to the bottom of the screen ─────────── */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: grid; grid-template-columns: 1fr 1fr; background: var(--violet-deep); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a,
  .callbar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 10px; font-size: 14.5px; font-weight: 600; color: #FFFFFF; text-decoration: none; text-align: center; background: none; border: none; font: inherit; cursor: pointer; width: 100%; }
  .callbar a + button,
  .callbar a + a { background: var(--gold); color: var(--violet-deep); }
  .callbar svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
  .callbar a:focus-visible,
  .callbar button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -4px; }
  body { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
  .floating-actions { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .cookie-banner { bottom: calc(66px + env(safe-area-inset-bottom)); }
  body:has(.cookie-banner:not(.hidden)) .floating-actions { display: none; }
}

/* Next batches fills the height of the class panel beside it; the trial
   prompt sits at the bottom of the card. */
@media (min-width: 981px) {
  .hero-grid { align-items: stretch; }
  .batches { display: flex; flex-direction: column; }
}
.batches-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid #E1DDEE; }
.batches table { margin-bottom: 18px; }
.batches-foot p { font-size: 14.5px; line-height: 1.55; color: var(--body); }
.batches-foot strong { color: var(--ink); font-weight: 600; }
.batches-actions { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.batches-actions .link { font-size: 14.5px; }

/* Round call button above WhatsApp. Phones already have the call bar. */
.fab-call { background: var(--violet); }
.fab-call:hover { background: var(--violet-deep); }
.fab:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
@media (max-width: 760px) { .fab-call { display: none; } }

/* ── Blog ─────────────────────────────────────────────────────────── */
/* Gold action button, matching the nav "Book a trial" treatment. */
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--violet-deep); }
.btn--gold:hover { background: #FFC23D; border-color: #FFC23D; color: var(--violet-deep); }
.btn--gold:active { background: #E89D00; }

/* Category chips. Each colour pair meets AA for small text. */
.chip { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--wash); color: var(--violet-deep); white-space: nowrap; }
.chip--sec { background: #EBF7F0; color: #0C6B3F; border-color: #CDEBDA; }
.chip--ai { background: #F3EBFD; color: #5B22B0; border-color: #E2D2F7; }
.chip--se { background: #EAF1FC; color: #16467F; border-color: #CFE0F5; }
.chip--robo { background: #FFF3DC; color: #7A4F00; border-color: #F6E2B4; }

/* Listing grid */
.blog-list .post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); transition: border-color .15s ease-out; }
.post-card:hover { border-color: var(--violet); }
.post-card > a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 26px; text-decoration: none; color: var(--ink); }
.post-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--slate); margin: 0; }
.post-card h2 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.post-card p { font-size: 15px; line-height: 1.55; color: var(--body); margin: 0; }
.post-card-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--violet); }
.post-empty { color: var(--slate); font-size: 17px; }

/* Article page: a single readable column */
.post { padding: 64px 0 24px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (min-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 760px) 280px; column-gap: 72px; justify-content: center; }
}
.post .crumbs { margin-bottom: 24px; }
.post-head { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--slate); margin: 0 0 18px; }
.post-head h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.post-excerpt { margin-top: 20px; }
.post-body { font-size: 18px; line-height: 1.7; color: var(--body); }
.post-body > * + * { margin-top: 20px; }
.post-body h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-top: 44px; }
.post-body h2 + p { margin-top: 16px; }
.post-body a { color: var(--violet); }
.post-body strong { color: var(--ink); font-weight: 600; }

/* Subscribe + join card */
.blog-cta-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.blog-cta-subscribe h2 { font-size: clamp(26px, 3.5vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.blog-cta-subscribe > p { margin-top: 12px; color: var(--body); font-size: 16px; line-height: 1.6; max-width: 520px; }
.subscribe-form { margin-top: 24px; }
.subscribe-row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.subscribe-row .field { flex: 1 1 200px; }
.subscribe-btn { flex: none; }
.subscribe-form .consent { margin-top: 14px; }
.subscribe-status { font-size: 15px; color: var(--violet-deep); font-weight: 500; margin-top: 12px; }
.subscribe-status:empty { display: none; }
.subscribe-form .fine { margin-top: 10px; font-size: 13px; color: var(--slate); }
.blog-cta-join { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; }
.blog-cta-join h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.blog-cta-join p { margin-top: 10px; color: var(--body); font-size: 15px; line-height: 1.55; }
.blog-cta-join .btn { margin-top: 18px; width: 100%; }
.blog-cta-join-sub { margin-top: 14px; font-size: 14px; }

@media (max-width: 860px) {
  .blog-cta-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .subscribe-row { flex-direction: column; }
  .subscribe-btn { width: 100%; }
}

/* ── Course Fees enquiry modal ─────────────────────────────────── */
.fees-modal .fees-box {
  position: fixed; inset: 0; margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: 0 24px 60px rgba(5, 25, 52, .22);
  z-index: 400;
}
.fees-modal.hidden { display: none; }
.fees-modal:not(.hidden) { display: flex; position: fixed; inset: 0; align-items: center; justify-content: center; background: rgba(5, 25, 52, .55); backdrop-filter: blur(4px); z-index: 399; }
.fees-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wash); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--slate);
}
.fees-close svg { width: 16px; height: 16px; }
.fees-close:hover { background: var(--rule); color: var(--ink); }
.fees-modal .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); display: block; margin-bottom: 8px; }
.fees-modal h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.fees-sub { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--body); margin-bottom: 20px; }
.fees-modal .form-grid { gap: 16px; }
.fees-modal .consent { margin-top: 14px; }
.fees-modal .fine { margin-top: 10px; font-size: 13px; color: var(--slate); }
@media (max-width: 480px) {
  .fees-modal .fees-box { padding: 28px 20px 24px; border-radius: 16px; }
}

/* ---- Touch targets: 44px minimum on tablets, phones and coarse pointers ---- */
@media (max-width: 1024px), (pointer: coarse) {
  .footer-col li + li { margin-top: 0; }
  .footer-col a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .faq summary { min-height: 44px; align-items: center; padding: 10px 0; }
  .level summary { min-height: 44px; }
  .programmes .prog { display: flex; align-items: center; min-height: 44px; }
  .cookie-banner-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .cookie-banner-links a, .cookie-link-btn { display: inline-flex; align-items: center; min-height: 44px; }
  .evolve-link, .evolve-career-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }
  .slides-dot { position: relative; }
  .slides-dot::after { content: ""; position: absolute; inset: -17px -6px; }
  .slides-dots { gap: 12px; }
  .footer-about a { display: inline-flex; align-items: center; min-height: 44px; }
  .topbar-phone { display: inline-flex; align-items: center; min-height: 44px; }
  .topbar-social a { width: 44px; height: 44px; }
  .actions .link, a.link.self-center { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ── Courses mega-menu ────────────────────────────────────────────────
   Category rail on the left, course cards on the right. The panel hangs off the
   navbar (not the viewport) so it sits flush under it whether or not the top bar
   has scrolled away. Cards are violet-banded; the logo is not involved. */
.nav-dropdown--mega { position: static; }
.nav-dropdown--mega::before { display: none; }
.nav-dropdown-menu.mega { position: absolute; top: calc(100% + 3px); left: 0; right: 0; min-width: 0; padding: 0; border: 0; border-radius: 0 0 16px 16px; background: var(--paper); box-shadow: 0 24px 40px -12px rgba(5, 25, 52, .35); max-height: calc(100vh - var(--navbar-h) - 8px); overflow-y: auto; overscroll-behavior: contain; }
.nav-mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 24px; position: relative; }
.nav-mega-close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--mist); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-mega-close svg { width: 18px; height: 18px; }
.nav-mega-close:hover { background: #fff; color: var(--violet); border-color: var(--violet); }
.nav-mega-close:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.courses-page-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-right: 48px; }
.courses-sidebar { background: #fff; border: 1px solid var(--rule-2); border-radius: 14px; padding: 16px; box-shadow: 0 6px 18px -10px rgba(21, 3, 87, .25); }
.cs-label { margin: 4px 8px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.courses-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.courses-cat-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: 600; text-align: left; color: var(--ink); cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out; }
.courses-cat-btn:hover { background: var(--mist); }
.courses-cat-btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.courses-cat-btn .cc-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--mist); color: var(--violet); display: flex; align-items: center; justify-content: center; transition: background-color .15s ease-out, color .15s ease-out; }
.courses-cat-btn .cc-icon svg { width: 18px; height: 18px; }
.courses-cat-btn.active { background: #ECE4FA; color: var(--violet-deep); }
.courses-cat-btn.active .cc-icon { background: var(--violet); color: #fff; }

.courses-panel[hidden] { display: none; }
.courses-panel-head { margin-bottom: 20px; }
.cp-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.cp-title { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.cp-sub { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.55; color: var(--slate); }

.courses-main .course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.courses-main .course-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.courses-main .course-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.courses-main .course-grid--single { grid-template-columns: minmax(0, 380px) !important; }
.nav-dropdown-menu.mega .course-card { display: flex; flex-direction: column; border: 1px solid var(--rule-2); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out; }
.nav-dropdown-menu.mega .course-card:hover, .nav-dropdown-menu.mega .course-card:focus-within { transform: translateY(-3px); border-color: var(--violet); box-shadow: 0 14px 28px -14px rgba(21, 3, 87, .4); }
.nav-dropdown-menu.mega a.course-card-main { display: flex; flex-direction: column; flex: 1; padding: 0; border-radius: 0; color: var(--ink); text-decoration: none; background: none; }
.nav-dropdown-menu.mega a.course-card-main:hover { background: none; color: var(--ink); }
.nav-dropdown-menu.mega a.course-card-main:focus-visible { outline: 2px solid var(--violet); outline-offset: -3px; }
.course-card-foot { padding: 0 20px 20px; }
.course-card-foot .btn { width: 100%; justify-content: center; min-height: 44px; }
.course-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px; background: linear-gradient(135deg, var(--violet-deep), var(--violet)); }
.course-card-badge { padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--violet-deep); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.course-card-pill { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.course-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 16px; }
.course-card-title { font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.course-card-desc { flex: 1; font-size: 14px; line-height: 1.55; color: var(--slate); }
.course-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--violet); }
.course-card-link svg { width: 14px; height: 14px; transition: transform .15s ease-out; }
a.course-card-main:hover .course-card-link svg { transform: translateX(3px); }
.courses-main-foot { margin: 20px 0 0; font-size: 14px; }
.nav-dropdown-menu.mega .courses-main-foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--violet-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(101, 42, 196, .45); }
.nav-dropdown-menu.mega .courses-main-foot a:hover { background: none; color: var(--violet); }

@media (max-width: 1199px) and (min-width: 1025px) {
  .courses-page-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
}

/* Phones and tablets: the mega-menu becomes a white card inside the open drawer;
   categories turn into a two-column tab grid above the cards. */
@media (max-width: 1024px) {
  .nav-dropdown-menu.mega { position: static; max-height: none; overflow: visible; margin: 8px 0 4px; border-radius: 14px; background: #fff; box-shadow: none; }
  .nav-mega-inner { padding: 14px; }
  .nav-mega-close { display: none; }
  .courses-page-layout { grid-template-columns: 1fr; gap: 18px; padding-right: 0; }
  .courses-sidebar { padding: 0; border: 0; box-shadow: none; background: none; }
  .cs-label { margin: 0 2px 8px; }
  .courses-cat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .courses-cat-btn { padding: 8px; font-size: 14px; border: 1px solid var(--rule-2); background: #fff; }
  .courses-cat-btn.active { border-color: var(--violet); }
  .cp-title { font-size: 19px; }
  .courses-main .course-grid, .courses-main .course-grid:has(> :nth-child(2):last-child), .courses-main .course-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .courses-main .course-grid--single { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 620px) {
  .courses-main .course-grid, .courses-main .course-grid:has(> :nth-child(2):last-child), .courses-main .course-grid:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
  .course-card-top { padding: 14px 12px; }
  .course-card-body { padding: 14px 16px 12px; }
  .course-card-foot { padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-menu.mega .course-card, .courses-cat-btn, .course-card-link svg { transition: none; }
  .nav-dropdown-menu.mega .course-card:hover, .nav-dropdown-menu.mega .course-card:focus-within { transform: none; }
}

/* Enroll now buttons beside "Starts…" status in course rows, and in the courses table */
.row-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.row-action .btn { min-height: 44px; }
.td-enroll { margin-top: 12px; display: flex; min-height: 44px; }
@media (max-width: 760px) { .row-action { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; } }

/* Four cards in one row on wide screens (2x2 below 1200px, set earlier) */
.course-card-meta { margin-top: -4px; font-size: 13px; font-weight: 600; color: var(--violet-deep); }
@media (min-width: 1200px) {
  .courses-page-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .courses-main .course-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .courses-main .course-grid:has(> :nth-child(4)) .course-card-body { padding: 16px 16px 12px; }
  .courses-main .course-grid:has(> :nth-child(4)) .course-card-foot { padding: 0 16px 16px; }
  .courses-main .course-grid:has(> :nth-child(4)) .course-card-title { font-size: 16px; }
  .courses-main .course-grid:has(> :nth-child(4)) .course-card-top { min-height: 64px; align-content: center; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  .courses-main .course-grid:has(> :nth-child(4)) .course-card-top { flex-wrap: nowrap; gap: 6px; padding: 14px 8px; }
  .courses-main .course-grid:has(> :nth-child(4)) .course-card-badge, .courses-main .course-grid:has(> :nth-child(4)) .course-card-pill { padding: 5px 9px; font-size: 11px; }
}

/* ── Sample certificate and Impact Scorecard (verify page) ──────────────
   Built as live HTML, never as an image file, so there is nothing to "save as".
   Everything is sized in cqw, so the sheet scales as one piece like a page in a
   PDF viewer. Selection, drag, copy, right-click and print are blocked and a
   SAMPLE watermark runs across it. The logo is the real file on a white field. */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
@media (max-width: 900px) { .docs { grid-template-columns: minmax(0, 520px); justify-content: center; } }
.doc { margin: 0; container-type: inline-size; }
.doc, .doc * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.doc img { pointer-events: none; -webkit-user-drag: none; }
.doc figcaption { margin-top: 14px; font-size: 14px; color: var(--slate); text-align: center; }
@media print { .doc { display: none !important; } }
.doc-sheet { position: relative; aspect-ratio: 740 / 1040; overflow: hidden; background: radial-gradient(120% 60% at 90% 12%, #F4F0FD 0%, rgba(255,255,255,0) 60%), radial-gradient(80% 40% at 8% 60%, #F7F4FE 0%, rgba(255,255,255,0) 70%), #fff; border: .45cqw solid var(--gold); box-shadow: 0 18px 40px -18px rgba(21, 3, 87, .35); color: var(--ink); }
.doc-sheet::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22320%22 height=%22200%22 viewBox=%220 0 320 200%22%3E%3Ctext x=%22160%22 y=%22110%22 text-anchor=%22middle%22 transform=%22rotate%28-32 160 100%29%22 font-family=%22Sora,Arial,sans-serif%22 font-weight=%22800%22 font-size=%2230%22 letter-spacing=%224%22 fill=%22%23652AC4%22 fill-opacity=%22.07%22%3ESAMPLE%3C/text%3E%3C/svg%3E"); background-size: 43cqw 27cqw; }
.doc-corner { position: absolute; width: 23cqw; height: 23cqw; z-index: 0; }
.doc-corner--tl { top: 0; left: 0; }
.doc-corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.doc-corner--br { bottom: 0; right: 0; transform: rotate(180deg); }
.doc-inner { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 4.8cqw 8cqw 4.2cqw; text-align: center; }
.doc-inner p { margin: 0; }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; text-align: left; padding-left: 7cqw; }
.doc-logo { width: 36cqw; height: auto; display: block; }
.doc-tag { margin-top: 3cqw !important; font-size: 1.75cqw; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.45; color: var(--violet-deep); padding-bottom: 1.6cqw; border-bottom: .3cqw solid var(--gold); border-image: linear-gradient(90deg, var(--gold) 0 40%, transparent 40%) 1; }
.doc-h { font-size: 10.6cqw; line-height: 1; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; color: var(--violet-deep); }
.doc-sub { margin-top: 1.4cqw !important; font-size: 3.2cqw; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--ink); padding-left: .42em; }
.doc-rule { margin-top: 2.4cqw !important; display: flex; align-items: center; justify-content: center; }
.doc-rule::before, .doc-rule::after { content: ""; height: .3cqw; width: 28cqw; background: var(--gold); }
.doc-rule i { width: 2.4cqw; height: 2.4cqw; margin: 0 1.4cqw; border: .4cqw solid var(--gold); transform: rotate(45deg); }
.doc-lead { font-size: 2.6cqw; color: var(--ink-2); }
.doc-lead--2 { margin-top: .5cqw; }
.doc-name { font-size: 6.4cqw; line-height: 1.1; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--violet-deep); padding-bottom: 1.8cqw; margin: 0 -2cqw !important; border-bottom: .3cqw solid var(--gold); }
.doc-course { background: #EFEBFB; border: .25cqw solid #CFC3F0; border-radius: 1.6cqw; padding: 2.6cqw 2cqw; }
.doc-course-t { font-size: 3.7cqw; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--violet-deep); }
.doc-course-s { margin-top: .8cqw !important; font-size: 2cqw; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.doc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4cqw; }
.doc-box { display: flex; align-items: center; gap: 2.6cqw; text-align: left; background: #fff; border-radius: 1.6cqw; padding: 2.2cqw 2.8cqw; box-shadow: 0 .6cqw 2cqw -.4cqw rgba(21, 3, 87, .22); }
.doc-box p { display: flex; flex-direction: column; gap: .6cqw; }
.doc-box span { font-size: 1.9cqw; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.doc-box b { font-size: 2.7cqw; font-weight: 800; color: var(--violet-deep); }
.doc-ic { width: 4cqw; height: 4cqw; color: var(--violet-deep); flex: none; }
.doc-ic--lg { width: 5.2cqw; height: 5.2cqw; }
.doc-sign { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 3cqw; text-align: left; }
.doc-date { display: flex; flex-direction: column; gap: .8cqw; font-size: 1.9cqw; color: var(--ink-2); }
.doc-date b { font-size: 2.3cqw; font-weight: 700; color: var(--ink); padding-bottom: .8cqw; border-bottom: .2cqw solid var(--ink-2); }
.doc-sigs { display: flex; gap: 3.4cqw; justify-content: center; }
.doc-sigs p { flex: 1; font-size: 1.7cqw; letter-spacing: .06em; text-transform: uppercase; text-align: center; color: var(--ink-2); }
.doc-sigs i { display: block; height: 5.4cqw; border-bottom: .2cqw solid var(--ink); margin-bottom: 1.2cqw; }
.doc-qr { display: flex; flex-direction: column; align-items: center; gap: .8cqw; }
.doc-qr-svg { width: 12.5cqw; height: 12.5cqw; color: var(--ink); }
.doc-qr p { font-size: 1.5cqw; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.doc-id { font-size: 1.8cqw; line-height: 1.6; color: var(--ink-2); }
.doc-id b { color: var(--ink); font-weight: 700; }
.doc-journey { display: flex; align-items: center; justify-content: center; gap: 2.2cqw; font-size: 1.85cqw; color: var(--violet-deep); }
.doc-journey i { width: .25cqw; height: 1.8cqw; background: var(--gold); }

.doc-wm { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw; transform: rotate(-32deg); pointer-events: none; }
.doc-wm-big { font-size: 27cqw; line-height: 1; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: rgba(101, 42, 196, .16); }
.doc-wm-small { font-size: 3.2cqw; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; color: rgba(21, 3, 87, .3); }

/* Scorecard */
.doc-score-title { text-align: left; margin-top: 1.5cqw; }
.doc-h--s { font-size: 5.6cqw; letter-spacing: -0.01em; color: var(--ink); }
.doc-h--s em { font-style: normal; color: var(--violet); }
.doc-lead--l { margin-top: 1.4cqw !important; font-size: 2.5cqw; line-height: 1.45; max-width: 66cqw; }
.doc-student { display: flex; align-items: center; gap: 3cqw; text-align: left; background: #EFEBFB; border-radius: 1.6cqw; padding: 2.4cqw 3cqw; }
.doc-student span { font-size: 2.5cqw; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.doc-student b { font-size: 3.2cqw; font-weight: 800; text-transform: uppercase; color: var(--violet-deep); }
.doc-rows { list-style: none; margin: 0; padding: 0; }
.doc-row { display: grid; grid-template-columns: 7.2cqw 5.6cqw minmax(0, 1fr) 29cqw 7.4cqw; align-items: center; gap: 2cqw; padding: .95cqw 0; border-bottom: .2cqw solid var(--rule); text-align: left; }
.doc-row:last-child { border-bottom: 0; }
.doc-num { width: 7.2cqw; height: 7.2cqw; border-radius: 50%; background: var(--violet-deep); color: #fff; font-size: 2.6cqw; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.doc-row-t { display: flex; flex-direction: column; gap: .5cqw; margin: 0; }
.doc-row-t b { font-size: 2.5cqw; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.doc-row-t span { font-size: 1.75cqw; color: var(--ink-2); }
.doc-bar { height: 2cqw; border-radius: 99px; background: #E4E1EC; overflow: hidden; }
.doc-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--violet-deep), var(--violet)); }
.doc-pct { font-size: 2.7cqw; font-weight: 800; text-align: right; color: var(--violet-deep); }
.doc-overall { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2.6cqw; text-align: left; background: #F3F0FB; border-radius: 1.8cqw; padding: 2.4cqw 3cqw; }
.doc-overall p { display: flex; flex-direction: column; gap: .5cqw; }
.doc-overall b { font-size: 2.4cqw; font-weight: 800; text-transform: uppercase; color: var(--violet-deep); }
.doc-overall p span { font-size: 1.8cqw; color: var(--ink-2); }
.doc-overall strong { font-size: 8.2cqw; line-height: 1; font-weight: 800; color: var(--violet-deep); padding-left: 2.6cqw; border-left: .25cqw solid var(--gold); }
.doc-overall em { font-style: normal; font-size: 2.5cqw; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--violet-deep); background: #E4DCF7; border-radius: 1.2cqw; padding: 1.8cqw 2.4cqw; }
.doc-jt { font-size: 2.1cqw; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--violet-deep); }
.doc-foot { font-size: 1.7cqw; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; text-align: left; color: var(--violet-deep); }

/* Syllabus download page */
.syllabus-card .actions{margin:16px 0 0}

/* "View syllabus" triggers */
.syllabus-link{display:inline-flex;align-items:center;min-height:44px;padding:0;margin-top:4px;background:none;border:0;font:inherit;font-weight:600;font-size:.95rem;color:var(--violet);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.syllabus-link:hover{text-decoration-thickness:2px}
.syllabus-link:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
td .syllabus-link{display:flex}
.cta-buttons{display:flex;flex-wrap:wrap;gap:12px}
.btn--outline-light{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7)}
.btn--outline-light:hover{background:rgba(255,255,255,.1);border-color:#fff}

/* Article extras: figures, tables, code, sub-headings and lists */
.post-body h3 { font-size: 21px; line-height: 1.3; font-weight: 600; color: var(--ink); margin-top: 32px; }
.post-body h3 + * { margin-top: 12px; }
.post-body ul { padding-left: 1.2em; }
.post-body li + li { margin-top: 10px; }
.post-body code { font-family: var(--mono); font-size: .86em; background: var(--mist); padding: .12em .38em; border-radius: 5px; overflow-wrap: anywhere; }
.post-figure { margin-left: 0; margin-right: 0; }
.post-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.post-body > .post-figure { margin-top: 28px; }
.post-body > .post-figure + * { margin-top: 28px; }
.post-code { background: var(--violet-deep); color: #F4F2FA; border-radius: 10px; padding: 16px 18px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.post-code code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; white-space: pre; }
.post-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: 12px; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.post-table th, .post-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--rule); }
.post-table thead th { border-top: 0; background: var(--mist); color: var(--ink); font-weight: 600; font-size: 14px; }
.post-table tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.post-table td code { font-size: .84em; }
@media (max-width: 640px) { .post-table table { min-width: 560px; } .post-table tbody th { white-space: normal; } }
.post-sources { font-size: 14px; color: var(--slate); }
.post-body > .post-table + .post-sources { margin-top: 10px; }

.syllabus-card form h2 { font-size: 22px; }
.syllabus-card form > p { margin-top: 8px; color: var(--body); }
.syllabus-card form .form-grid { margin-top: 20px; }
.syllabus-card form .submit-btn { margin-top: 18px; }
#syllabusClaimForm.hidden { display: none; }

/* Article sidebar: contents list and course card (desktop only) */
.post-aside { display: none; }
@media (min-width: 1100px) {
  .post-aside { display: block; padding-top: 64px; }
  .post-aside-inner { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 28px; }
}
.post-aside-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 0 0 12px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.post-toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--body); font-size: 15px; line-height: 1.4; text-decoration: none; }
.post-toc li a:hover { color: var(--violet); }
.post-toc li a[aria-current="true"] { color: var(--violet); border-left-color: var(--violet); font-weight: 600; }
.post-course { background: var(--mist); border: 1px solid var(--rule); border-radius: 16px; padding: 22px; }
.post-course-title { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.post-course-blurb { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.post-course .btn { margin-top: 16px; }
.post-body h2 { scroll-margin-top: 120px; }
