/* ---- 01-base.css ---- */
/* The Training Room, professional: tokens, type, buttons, shared pieces */
:root {
  --bg: #f6f7fa; --bg-2: #eef1f6; --white: #ffffff; --tint: #f4f5fd;
  --ink: #0f1b33; --ink-2: #3a4560; --ink-3: #5a6480; --line: #e2e6ee; --line-2: #ccd2df;
  --navy: #0f1b33;
  --violet: #cf5fe6; --peri: #7781e9; --cyan: #4ecadd;
  --grad: linear-gradient(90deg, #cf5fe6 0%, #7781e9 52%, #4ecadd 100%);
  --accent: #4651c4; --accent-t: #eef0fd;
  --soft: #8d36b2; --soft-t: #f8f0fc;
  --tech: #4651c4; --tech-t: #eef0fd;
  --team: #0a7789; --team-t: #e6f5f7;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 16px; --r-sm: 10px;
  --sh-1: 0 1px 2px rgba(15, 27, 51, .05), 0 1px 3px rgba(15, 27, 51, .04);
  --sh-2: 0 1px 2px rgba(15, 27, 51, .04), 0 12px 32px -14px rgba(15, 27, 51, .18);
  --sh-3: 0 2px 6px rgba(15, 27, 51, .05), 0 32px 70px -26px rgba(15, 27, 51, .32);
  --gut: 40px;
  --head-h: 72px;
  --sec: clamp(72px, 9vw, 128px);
}
@media (max-width: 720px) { :root { --gut: 16px; --head-h: 62px; } }

.t-soft { --tc: var(--soft); --tt: var(--soft-t); }
.t-tech { --tc: var(--tech); --tt: var(--tech-t); }
.t-team { --tc: var(--team); --tt: var(--team-t); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ico { width: 20px; height: 20px; flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tc, var(--accent)); flex: none; }

.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---- type ---- */
.h1 {
  font: 450 clamp(44px, 5.1vw, 76px)/1.03 var(--serif); letter-spacing: -.028em; font-optical-sizing: auto;
  text-wrap: balance;
}
.h1 .l { display: block; }
.h1 em {
  font-style: italic; font-weight: 400; padding-right: .04em;
  background: var(--grad) no-repeat 0 94% / 100% .055em;
}
.h2 {
  font: 450 clamp(34px, 3.7vw, 56px)/1.06 var(--serif); letter-spacing: -.022em; text-wrap: balance;
}
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 500 12.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 50ch; margin: 0; }
.sec-head { margin-bottom: clamp(36px, 4.6vw, 60px); }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 56px; align-items: end; }
.sec-head.split .lede { padding-bottom: 6px; }
@media (max-width: 900px) { .sec-head.split { grid-template-columns: 1fr; } .sec-head.split .lede { padding-bottom: 0; } }
.tag {
  display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 1px 7px; border: 1px solid var(--line-2); border-radius: 5px;
  font: 500 11px/1.5 var(--mono); color: var(--ink-2); letter-spacing: .02em; white-space: nowrap;
}

/* ---- buttons ---- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans); text-decoration: none; white-space: nowrap; letter-spacing: -.005em;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.btn .ico { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(15, 27, 51, .2), 0 8px 18px -10px rgba(15, 27, 51, .55); }
.btn-primary:hover { background: #1f2f57; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-lg { min-height: 56px; padding: 15px 26px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* reveal on scroll (opacity + a short rise; the separate translate property never fights a transform) */
.js [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* a soft highlight when a value changes */
@keyframes flash { from { background-color: rgba(119, 129, 233, .2); } to { background-color: rgba(119, 129, 233, 0); } }
.flash { animation: flash 1.1s var(--ease); }
@keyframes bump { 0% { color: var(--accent); } 100% { color: inherit; } }
.bump { animation: bump 1s var(--ease); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 300; display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px; border-radius: 12px; background: var(--navy); color: #fff;
  font-size: 15px; box-shadow: 0 18px 40px -16px rgba(15, 27, 51, .6);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast-b { min-height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: transparent; color: #fff; font-weight: 500; }
.toast-b:hover { border-color: #fff; }
@media (max-width: 720px) { .toast { bottom: 84px; } }

/* ---- 02-header.css ---- */
/* ---- header ---- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 250, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.head-in { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; height: var(--head-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 38px; height: 31px; }
.brand-word { font: 600 19px/1 var(--sans); letter-spacing: -.015em; white-space: nowrap; }
.brand-word span { font-weight: 400; color: var(--ink-3); }
.nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 32px); list-style: none; }
.nav a { position: relative; display: block; padding: 10px 0; font: 500 15px/1 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-here { color: var(--ink); }
.nav a:hover::after, .nav a.is-here::after { transform: scaleX(1); }

/* "Plan for Finance team · 3": slides open once the hero's plan cover has scrolled away */
.plan-tag {
  display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; max-width: 0; padding: 0; margin-left: -12px;
  overflow: hidden; opacity: 0; border: 1px solid transparent; border-radius: 10px; background: #fff;
  font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; pointer-events: none;
  transition: max-width .5s var(--ease), padding .5s var(--ease), margin .5s var(--ease), opacity .3s var(--ease), border-color .3s;
}
.plan-tag.show { max-width: 300px; padding: 0 6px 0 12px; margin-left: 0; opacity: 1; border-color: var(--line); pointer-events: auto; }
.plan-tag:hover { border-color: var(--line-2); }
.plan-tag .ico { width: 17px; height: 17px; color: var(--accent); }
.pt-k { color: var(--ink-3); }
.pt-name { font-weight: 600; color: var(--ink); max-width: 15ch; overflow: hidden; text-overflow: ellipsis; }
.pt-n { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px; background: var(--bg-2); display: grid; place-items: center; font: 600 12.5px/1 var(--mono); color: var(--ink); transition: background-color .3s, color .3s; }
.plan-tag.has .pt-n { background: var(--navy); color: #fff; }
.head-cta { flex: none; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; place-items: center; flex: none; }
.mb-lines, .mb-lines::before, .mb-lines::after { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.mb-lines { position: relative; }
.mb-lines::before, .mb-lines::after { content: ""; position: absolute; left: 0; }
.mb-lines::before { top: -6px; } .mb-lines::after { top: 6px; }
.menu-btn[aria-expanded=true] .mb-lines { background: transparent; }
.menu-btn[aria-expanded=true] .mb-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded=true] .mb-lines::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gut) 16px; box-shadow: 0 20px 30px -20px rgba(15, 27, 51, .25); }
.mnav[hidden] { display: none; }
.mnav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 17px; text-decoration: none; }
.mnav a.mnav-plan { border-bottom: 0; color: var(--accent); }

@media (max-width: 1240px) { .hide-l { display: none; } }
@media (max-width: 1100px) { .plan-tag .pt-k { display: none; } }
@media (max-width: 1000px) {
  .nav, .plan-tag { display: none; }
  .menu-btn { display: grid; }
  .brand { margin-right: auto; }
}
@media (max-width: 420px) {
  .brand-word span { display: none; }
  .head-cta { padding-inline: 14px; }
}

/* ---- 03-hero.css ---- */
/* ---- hero: the headline on the left, the plan cover on the right ---- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 6vw, 92px) 0 clamp(64px, 7.5vw, 112px);
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(119, 129, 233, .11), transparent 62%),
    radial-gradient(700px 420px at 70% 92%, rgba(78, 202, 221, .08), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(40px, 5.5vw, 96px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 30px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.eb-rule { width: 28px; height: 2px; border-radius: 2px; background: var(--grad); flex: none; }
.deck { font-size: clamp(17.5px, 1.32vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 50ch; margin: 30px 0 38px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; gap: 18px 36px; list-style: none; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.proof li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: var(--ink-3); }
.proof .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.proof b { display: block; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.proof small { display: block; font-size: inherit; }

/* the cover of a training-year plan, addressed to the visitor's team */
.hero-doc { position: relative; padding: 0 18px 18px 0; }
.doc-glow { position: absolute; inset: 6% 4% 2% 12%; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: .17; pointer-events: none; }
.doc-under { position: absolute; inset: 18px 0 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fbfbfd; box-shadow: var(--sh-1); }
.doc {
  position: relative; overflow: hidden; padding: 30px 34px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3);
}
.doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.doc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.doc-brand { display: flex; align-items: center; gap: 10px; font: 600 14.5px/1 var(--sans); letter-spacing: -.01em; }
.doc-logo { width: 27px; height: 22px; }
.doc-type, .doc-k { font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.doc-k { display: block; margin-bottom: 8px; }
.doc-field { position: relative; padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.doc-input {
  display: block; width: 100%; padding: 2px 0 10px; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0; background: transparent;
  font: 450 clamp(30px, 2.7vw, 42px)/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); outline: none;
  transition: border-color .25s var(--ease);
}
.doc-input::placeholder { color: #a3aabd; font-style: italic; opacity: 1; }
.doc-input:focus { border-bottom-color: var(--accent); }
.doc-input:focus-visible { outline: none; }
.doc-hint { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.doc-hint i { font-style: normal; color: var(--ink-2); font-weight: 500; }
.doc-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.doc-meta div { padding: 18px 0 18px 20px; border-left: 1px solid var(--line); }
.doc-meta div:first-child { padding-left: 0; border-left: 0; }
.doc-meta dt { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.doc-meta dd { margin-top: 6px; font: 450 30px/1 var(--serif); letter-spacing: -.01em; }
.doc-plan { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.dp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dp-head .doc-k { margin: 0; }
.dp-count { font-size: 14px; color: var(--ink-3); }
.dp-count b { font: 600 15px var(--mono); color: var(--ink); }
.dp-qs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 14px 0 16px; }
.dp-qs li { display: grid; grid-template-columns: 1fr auto; gap: 7px 6px; align-items: baseline; }
.dp-q { font: 500 12.5px/1 var(--mono); color: var(--ink-2); }
.dp-n { grid-row: 1; grid-column: 2; font: 600 12.5px/1 var(--mono); color: var(--ink-3); transition: color .3s; }
.dp-qs li.has .dp-n { color: var(--ink); }
.dp-bar { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.dp-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--f, 0) * 100%); border-radius: 3px; background: var(--grad); background-size: 400px 100%; transition: width .6s var(--ease); }
.dp-go { display: inline-flex; align-items: center; gap: 6px; font: 500 15px var(--sans); color: var(--accent); text-decoration: none; }
.dp-go .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.dp-go:hover .ico { transform: translateX(3px); }
.doc-people { display: flex; align-items: center; gap: 16px; padding-top: 18px; }
.faces { display: flex; flex: none; }
.face { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); object-fit: cover; margin-left: -10px; background: var(--bg-2); }
.face:first-child { margin-left: 0; }
.face-mono { display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 10.5px/1 var(--mono); letter-spacing: .04em; }
.dpp-t { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.dpp-t .doc-k { margin-bottom: 3px; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-doc { max-width: 620px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 30px; }
  .eyebrow { margin-bottom: 20px; font-size: 11.5px; }
  .eb-rule { display: none; }
  .h1 { font-size: clamp(42px, 11.4vw, 54px); }
  .deck { margin: 22px 0 28px; }
  .cta-row .btn { width: 100%; }
  .proof { gap: 10px 18px; margin-top: 26px; padding-top: 18px; }
  .proof li { gap: 6px; }
  .proof b { font-size: 14.5px; }
  .proof small { display: none; }
  .hero-doc { padding: 0 10px 10px 0; margin-top: 8px; }
  .doc-under { inset: 10px 0 0 10px; }
  .doc { padding: 24px 20px 20px; }
  .doc-type { display: none; }
  .doc-meta dd { font-size: 25px; }
  .doc-meta div { padding-left: 14px; }
  .doc-meta dt { font-size: 10px; }
  .dp-qs { gap: 8px; }
}

/* ---- 04-index.css ---- */
/* ---- programme index: all 21 at a glance, grouped by track ---- */
.index { padding: var(--sec) 0; background: #fff; border-top: 1px solid var(--line); }
.ix-group { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 24px 56px; padding: 34px 0 30px; border-top: 1px solid var(--ink); }
.ix-group + .ix-group { border-top-color: var(--line-2); }
.ix-side { padding-top: 6px; }
.ix-title { display: flex; align-items: center; gap: 12px; font: 450 30px/1.1 var(--serif); letter-spacing: -.015em; }
.ix-title .dot { width: 10px; height: 10px; }
.ix-count { margin: 12px 0 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
.ix-line { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.ix-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-content: start; }
.ix-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ix-n { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.ix-body { min-width: 0; }
.ix-name { display: block; font: 600 17px/1.35 var(--sans); letter-spacing: -.01em; }
.ix-sub { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.4; color: var(--ink-3); }
.ix-add {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink-2); font: 500 14px/1 var(--sans); white-space: nowrap;
  transition: border-color .2s, color .2s, background-color .2s;
}
.ix-add .ico { width: 16px; height: 16px; }
.ix-item:hover .ix-add, .ix-add:hover { border-color: var(--tc); color: var(--tc); }
.ix-add.is-planned { background: var(--tt); border-color: transparent; color: var(--tc); }
@media (max-width: 1100px) { .ix-group { grid-template-columns: 1fr; } .ix-line { max-width: 60ch; } }
@media (max-width: 760px) {
  .ix-list { grid-template-columns: 1fr; }
  .ix-item { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; min-height: 0; }
  .ix-add { min-height: 44px; padding: 0 12px; }
  .ix-add .ix-add-t { font-size: 13.5px; }
  .ix-title { font-size: 27px; }
}

/* ---- inside a session ---- */
.session { padding: var(--sec) 0; background: var(--bg); border-top: 1px solid var(--line); }
.ss { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); }
.ss-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ss-tab {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 28px 22px; text-align: left;
  border: 0; border-left: 1px solid var(--line); background: var(--bg); color: var(--ink-3); transition: background-color .25s, color .25s;
}
.ss-tab:first-child { border-left: 0; }
.ss-tab::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ss-tab[aria-selected=true] { background: #fff; color: var(--ink); }
.ss-tab[aria-selected=true]::after { transform: scaleX(1); }
.ss-tab:hover { color: var(--ink); }
.ss-tab:focus-visible { outline-offset: -4px; }
.ss-tk { display: flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
.ss-tn { font: 450 21px/1.2 var(--serif); letter-spacing: -.01em; }
.agenda { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); }
.agenda[hidden] { display: none; }
.agenda:focus-visible { outline-offset: -4px; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.agenda.swap { animation: swapIn .45s var(--ease); }
.ag-main { padding: 40px 48px 44px; }
.ag-title { font: 450 clamp(26px, 2.3vw, 36px)/1.15 var(--serif); letter-spacing: -.018em; max-width: 26ch; }
.ag-motto { margin: 10px 0 0; font: italic 400 20px/1.4 var(--serif); color: var(--ink-2); }
.ag-list { list-style: none; margin-top: 28px; border-bottom: 1px solid var(--line); }
.ag-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 22px; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ag-n { font: 500 13px/1 var(--mono); color: var(--ink-3); transition: color .4s; }
.ag-t { font-size: 17px; line-height: 1.45; }
.ag-c { width: 20px; height: 20px; color: var(--tc); opacity: .14; transition: opacity .45s var(--ease), transform .45s var(--ease); transform: scale(.85); }
.ag-list li.done .ag-c { opacity: 1; transform: none; }
.ag-list li.done .ag-n { color: var(--tc); }
.ag-side { display: flex; flex-direction: column; padding: 40px 36px 36px; border-left: 1px solid var(--line); background: var(--bg); }
.wo-k { margin: 0; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.wo-t { margin: 10px 0 32px; font: 450 27px/1.2 var(--serif); letter-spacing: -.015em; }
.ag-facts { margin: 0 0 22px; border-top: 1px solid var(--line); }
.ag-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.ag-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ag-facts dt { color: var(--ink-3); }
.ag-facts dd { font-weight: 500; }
.ag-side .btn.is-planned { background: var(--tt); border-color: transparent; color: var(--tc); }
@media (max-width: 900px) {
  .agenda { grid-template-columns: 1fr; }
  .ag-side { border-left: 0; border-top: 1px solid var(--line); }
  .ag-facts { margin-top: 0; }
}
@media (max-width: 720px) {
  .ss-tabs { grid-template-columns: 1fr; }
  .ss-tab { border-left: 0; border-top: 1px solid var(--line); padding: 14px 18px 16px; flex-direction: row; align-items: center; justify-content: space-between; }
  .ss-tab:first-child { border-top: 0; }
  .ss-tab::after { top: 0; bottom: 0; right: auto; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
  .ss-tab[aria-selected=true]::after { transform: scaleY(1); }
  .ss-tn { font-size: 18px; text-align: right; }
  .ag-main { padding: 26px 18px 28px; }
  .ag-side { padding: 24px 18px; }
  .ag-list li { grid-template-columns: 34px minmax(0, 1fr) 20px; }
  .ag-t { font-size: 16px; }
}

/* ---- 05-planner.css ---- */
/* ---- planner: a white scheduling board on a pale grey band (white theme, from Jonas's 6 Oct message) ---- */
.plan { position: relative; padding: var(--sec) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 420px at 10% 0%, rgba(207, 95, 230, .06), transparent 60%),
              radial-gradient(800px 460px at 94% 32%, rgba(78, 202, 221, .07), transparent 62%);
}
.plan > .wrap { position: relative; }
.plan .h2 [data-team] { font-style: italic; }

.board { position: relative; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 2px 6px rgba(15, 27, 51, .04), 0 40px 80px -36px rgba(15, 27, 51, .26); }
.board::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.bd-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding: 22px 28px 20px; border-bottom: 1px solid var(--line); }
.bd-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bd-logo { width: 36px; height: 29px; flex: none; }
.bd-k { margin: 0 0 2px; font: 450 22px/1.15 var(--serif); letter-spacing: -.01em; }
.bd-for { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink-3); }
.bd-for-k { white-space: nowrap; }
.bd-input {
  width: 16ch; min-width: 0; padding: 2px 0; border: 0; border-bottom: 1px dashed var(--line-2); border-radius: 0; background: transparent;
  font: 600 14.5px/1.3 var(--sans); color: var(--ink); outline: none; transition: border-color .2s;
}
.bd-input::placeholder { color: #9aa1b4; font-weight: 400; }
.bd-input:focus { border-bottom: 1px solid var(--accent); }
.bd-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 9px;
  background: transparent; font: 500 14.5px/1 var(--sans); color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip > span:last-child { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.chip:hover { color: var(--ink); }
.chip.is-on { background: #fff; color: var(--ink); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }

.bd-lib { padding: 22px 28px 28px; border-bottom: 1px solid var(--line); }
.lib-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.lib-h { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lib-n { margin: 0; font-size: 14px; color: var(--ink-3); }
.lib-n b { font: 600 14px var(--mono); color: var(--ink); }
.pl-pool { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 10px; min-height: 62px; border-radius: 12px; transition: background-color .2s, box-shadow .2s; }
.pl-pool.is-over { background: var(--accent-t); box-shadow: 0 0 0 8px var(--accent-t); }
.pool-empty { display: none; grid-column: 1 / -1; margin: 0; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: 10px; text-align: center; font-size: 15px; color: var(--ink-3); }
.pl-pool.pool-empty-on .pool-empty { display: block; }

.bd-cal { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.pl-qs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 24px 24px 28px 28px; }
.q {
  display: flex; flex-direction: column; min-height: 228px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.q-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 4px 12px; }
.q-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font: 600 15px/1.2 var(--mono); }
.q-m { font: 400 12px/1.2 var(--mono); color: var(--ink-3); }
.q-n { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 7px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font: 600 12px/1 var(--mono); color: var(--ink-3); transition: background-color .3s, color .3s, border-color .3s; }
.q.has-notes .q-n { background: var(--navy); border-color: var(--navy); color: #fff; }
.q-list { display: flex; flex-direction: column; gap: 8px; }
.q-empty { display: grid; place-items: center; flex: 1; margin: 0; padding: 20px 10px; border: 1.5px dashed var(--line-2); border-radius: 9px; text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); transition: border-color .2s; }
.q.has-notes .q-empty { display: none; }
.qe-touch { display: none; }
@media (hover: none), (pointer: coarse) { .qe-fine { display: none; } .qe-touch { display: inline; } }
.q.is-over { border-color: var(--peri); background: var(--accent-t); box-shadow: 0 0 0 3px rgba(119, 129, 233, .2); }
.q.is-over .q-empty { border-color: var(--peri); }

.pl-sum { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 24px; border-left: 1px solid var(--line); background: #fafbfd; border-radius: 0 0 20px 0; }
.sum-h { font: 450 23px/1.15 var(--serif); letter-spacing: -.01em; }
.sum-count { margin: -8px 0 0; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.plan.has-plan .sum-count { color: var(--accent); }
.sum-lines { border-bottom: 1px solid var(--line); }
.sum-line { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.sum-line dt { font: 600 13px/1.5 var(--mono); color: var(--ink-3); }
.sum-line dd { color: var(--ink-3); }
.sum-line.has dt { color: var(--ink); }
.sum-line.has dd { color: var(--ink); }
.sum-row { display: grid; gap: 8px; }
.sum-row .btn { width: 100%; }
.sum-foot { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.sum-clear { align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sum-clear:hover { color: var(--ink); text-decoration-color: currentColor; }
.sum-note { margin: 0; font-size: 12.5px; color: var(--ink-3); }

/* phone: a slim bar with the counts and "Send plan" stays at the bottom of the screen while the board is in view */
.pl-bar { display: none; }

@media (max-width: 1180px) {
  .bd-cal { grid-template-columns: 1fr; }
  .pl-sum { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 20px 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 32px; align-items: start; }
  .pl-sum .sum-h, .pl-sum .sum-count, .pl-sum .sum-lines { grid-column: 1; }
  .pl-sum .btn-block, .pl-sum .sum-row, .pl-sum .sum-foot { grid-column: 2; }
  .pl-sum .btn-block { grid-row: 1; }
  .pl-sum .sum-row { grid-row: 2 / span 2; }
  .pl-sum .sum-foot { grid-row: 4; margin-top: 0; }
  .pl-sum .sum-lines { grid-row: 3 / span 2; }
}
@media (max-width: 860px) {
  .pl-qs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-sum { display: flex; }
}
@media (max-width: 720px) {
  .board { border-radius: 16px; }
  .board::before { left: 16px; right: 16px; }
  .bd-bar { padding: 18px 16px 16px; }
  .bd-filters { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .chip { justify-content: center; min-height: 44px; padding: 0 10px; font-size: 14px; }
  .bd-lib { padding: 18px 12px 20px; }
  .lib-head { padding: 0 4px; }
  .pl-pool { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pl-qs { grid-template-columns: 1fr; padding: 18px 12px 20px; gap: 10px; }
  .q { min-height: 0; }
  .q-empty { padding: 14px 10px; }
  .pl-sum { padding: 20px 16px 22px; border-radius: 0 0 16px 16px; }
  .pl-bar {
    position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 14px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2);
    box-shadow: 0 2px 6px rgba(15, 27, 51, .06), 0 18px 34px -14px rgba(15, 27, 51, .3);
  }
  .pb-counts { display: flex; gap: 10px; font: 500 12.5px/1 var(--mono); color: var(--ink-3); }
  .pb-counts b { color: var(--ink); font-weight: 600; }
  .pl-bar .btn { box-shadow: none; }
}

/* ---- 06-prog.css ---- */
/* ---- a programme on the board (library, quarter lanes, and the drag copy) ---- */
.prog {
  position: relative; display: flex; align-items: stretch; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-1);
  transition: border-color .2s, box-shadow .25s var(--ease), opacity .2s;
}
.prog[hidden] { display: none; }
.prog::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; border-radius: 10px 0 0 10px; background: var(--tc); }
.prog:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.prog-main {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 11px 4px 11px 12px;
  border: 0; border-radius: 10px; background: none; text-align: left; cursor: grab; touch-action: manipulation;
}
.prog-main:focus-visible { outline-offset: -2px; }
.prog-grip { width: 16px; height: 16px; flex: none; color: #b1b8c8; transition: color .2s; }
.prog:hover .prog-grip { color: var(--ink-3); }
.prog-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.prog-track { font: 500 10.5px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--tc); }
.prog-name { font: 600 14.5px/1.3 var(--sans); letter-spacing: -.005em; color: var(--ink); }
.prog-tag { flex: none; align-self: center; padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 5px; font: 500 10.5px/1.5 var(--mono); color: var(--ink-2); white-space: nowrap; }
.prog-info, .prog-x {
  flex: none; width: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: none; color: #8d95aa;
  transition: color .2s, background-color .2s;
}
.prog-info .ico, .prog-x .ico { width: 18px; height: 18px; }
.prog-info:hover { color: var(--accent); background: var(--accent-t); }
.prog-x { display: none; }
.prog-x:hover { color: #b3261e; background: #fdeeee; }
.prog-info:focus-visible, .prog-x:focus-visible { outline-offset: -3px; }

/* in a quarter: tighter, the track shows as the colour bar only, the remove button appears */
.prog.compact .prog-track { display: none; }
.prog.compact .prog-main { padding: 9px 2px 9px 10px; gap: 6px; }
.prog.compact .prog-grip { width: 14px; height: 14px; }
.prog.compact .prog-name { font-size: 14px; }
.prog.compact .prog-info, .prog.compact .prog-x { width: 32px; }
.prog.compact .prog-x { display: grid; }
.prog.compact .prog-tag { display: none; }

.prog.is-lifted { opacity: .35; box-shadow: none; }
.prog.is-lifted::after { content: ""; position: absolute; inset: -1px; border: 1.5px dashed var(--line-2); border-radius: 10px; }
.prog.is-choosing { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(70, 81, 196, .16); }
.prog.is-hidden-for-land { opacity: 0; }
@keyframes landed { from { box-shadow: 0 0 0 3px rgba(119, 129, 233, .5), var(--sh-2); } to { box-shadow: 0 0 0 3px rgba(119, 129, 233, 0), var(--sh-1); } }
.prog.landed { animation: landed 1.1s var(--ease); }
.prog.flying { z-index: 2; }

.prog.ghost {
  position: fixed; left: 0; top: 0; z-index: 400; margin: 0; pointer-events: none; will-change: transform;
  border-color: var(--line-2); box-shadow: 0 22px 44px -14px rgba(15, 27, 51, .38), 0 2px 6px rgba(15, 27, 51, .08);
}
.prog.ghost .prog-main { cursor: grabbing; }
html.is-dragging, html.is-dragging * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }

@media (hover: none), (pointer: coarse) {
  .prog-grip { display: none; }
  .prog-main { cursor: pointer; padding-left: 14px; }
}
@media (max-width: 720px) {
  .prog-main { padding: 10px 2px 10px 12px; min-height: 58px; }
  .prog-name { font-size: 14px; }
  .prog-tag { display: none; }
  .prog-info, .prog-x { width: 40px; }
  .prog.compact .prog-info, .prog.compact .prog-x { width: 44px; }
  .prog.compact .prog-main { min-height: 50px; }
}

/* ---- the "Put it in Q1-Q4" card: a popover by the programme on a pointer screen, a bottom sheet on phones ---- */
.place-sheet {
  position: absolute; z-index: 120; width: 344px; padding: 18px 18px 12px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3);
  animation: popIn .22s var(--ease);
}
.place-sheet[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.place-sheet.above { animation-name: popInUp; }
@keyframes popInUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ps-caret { position: absolute; top: -7px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.place-sheet.above .ps-caret { top: auto; bottom: -7px; transform: translateX(-50%) rotate(225deg); }
.ps-k, .ps-qk { margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ps-name { margin: 6px 0 2px; font: 450 23px/1.15 var(--serif); letter-spacing: -.01em; }
.ps-full { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.ps-full[hidden] { display: none; }
.ps-bullets { list-style: none; margin: 12px 0 14px; padding: 10px 0 0; border-top: 1px solid var(--line); }
.ps-bullets li { position: relative; padding: 3px 0 3px 16px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ps-bullets li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.place-sheet.is-outline .ps-bullets { font-size: 15px; }
.ps-qs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 8px 0 8px; }
.ps-qs button {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; padding: 8px 2px; border: 1px solid var(--line-2); border-radius: 9px;
  background: #fff; transition: border-color .2s, background-color .2s, color .2s;
}
.ps-qs b { font: 600 15px/1 var(--mono); }
.ps-qs span { font: 400 10.5px/1.2 var(--mono); color: var(--ink-3); white-space: nowrap; }
.ps-qs button:hover { border-color: var(--ink); }
.ps-qs button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ps-qs button[aria-pressed=true] span { color: rgba(255, 255, 255, .7); }
.ps-row { display: flex; justify-content: space-between; gap: 8px; }
.ps-remove, .ps-close { min-height: 40px; padding: 0 6px; border: 0; background: none; font-size: 14px; color: var(--ink-2); }
.ps-remove { color: #a3261f; }
.ps-remove[hidden] { visibility: hidden; display: block; }
.ps-close { margin-left: auto; font-weight: 500; }
.sheet-back { position: fixed; inset: 0; z-index: 110; background: transparent; }
.sheet-back[hidden] { display: none; }
.sheet-back.dim { background: rgba(15, 27, 51, .42); animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.place-sheet.as-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 86vh; overflow: auto;
  padding: 22px 18px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; animation: sheetUp .32s var(--ease);
}
.place-sheet.as-sheet .ps-caret { display: none; }
.place-sheet.as-sheet::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line-2); }
.place-sheet.as-sheet .ps-qs button { min-height: 60px; }
.place-sheet.as-sheet .ps-remove, .place-sheet.as-sheet .ps-close { min-height: 48px; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

/* ---- 07-levy.css ---- */
/* ---- HRD Corp claims: calculator, estimate statement, claim steps ---- */
.levy { padding: var(--sec) 0; background: #fff; }
.levy-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.calc { display: grid; gap: 30px; padding: 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.field label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 16px; }
.stepper { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; max-width: 320px; height: 56px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.stepper:focus-within, .money:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(70, 81, 196, .14); }
.step { display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-2); transition: background-color .2s, color .2s; }
.step:hover { background: var(--bg); color: var(--ink); }
.step .ico { width: 18px; height: 18px; }
.stepper input { min-width: 0; width: 100%; border: 0; border-inline: 1px solid var(--line); text-align: center; font: 500 22px/1 var(--mono); outline: none; background: #fff; }
.money { display: flex; align-items: center; gap: 10px; max-width: 320px; height: 56px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.money span { font: 500 15px var(--mono); color: var(--ink-3); }
.money input { min-width: 0; width: 100%; border: 0; font: 500 22px/1 var(--mono); outline: none; background: transparent; }
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: 420px; height: 28px; margin: 18px 0 2px; background: transparent; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--pct, 10%) 100% no-repeat, var(--line-2); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-2); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: var(--sh-2); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.range:focus-visible { outline-offset: 2px; }
.range-ends { display: flex; justify-content: space-between; max-width: 420px; font: 400 12px var(--mono); color: var(--ink-3); }
.help { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); max-width: 46ch; }

.stmt { position: relative; overflow: hidden; padding: 32px 36px 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-2); font-variant-numeric: tabular-nums; }
.stmt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.st-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.st-brand { display: flex; align-items: center; gap: 10px; font: 600 15px/1.2 var(--sans); }
.st-logo { width: 28px; height: 23px; flex: none; }
.st-doc { text-align: right; }
.st-title { margin: 0; font: 450 26px/1.1 var(--serif); letter-spacing: -.01em; }
.st-sub { margin: 6px 0 0; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.st-for { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.st-for span { color: var(--ink-3); }
.st-for b { font-weight: 600; text-align: right; }
.st-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 4px 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; border-radius: 4px; }
.st-row dt { color: var(--ink-2); }
.st-row dd { font: 500 16px/1.3 var(--mono); white-space: nowrap; }
.st-note { margin: 0; padding: 10px 0 14px; font-size: 13.5px; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.st-tot .st-row dt { color: var(--ink); font-weight: 500; }
.st-tot .st-big { border-bottom: 0; padding-top: 14px; }
.st-big dt { font-weight: 600 !important; }
.st-big dd { font: 600 27px/1.1 var(--mono); letter-spacing: -.02em; }
/* 27 Oct 2026 (Jonas): no fee claim here - the site has no prices, so the course fees are what the quotation in Step 3 gives */
.st-quote {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 14px 18px;
  border: 1.5px dashed #c9cfe0; border-radius: 11px; background: var(--tint); font-weight: 500;
}
.st-quote b { font: 600 15px/1.2 var(--sans); color: var(--accent); }
.st-plan { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.st-plan span { flex: 1; color: var(--ink-2); }
.st-plan b { font: 600 16px var(--mono); }
.st-plan a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: none; }
.st-plan a .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.st-plan a:hover .ico { transform: translateX(3px); }
.st-foot { margin: 14px 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }

.claim { margin-top: clamp(52px, 6.5vw, 88px); }
.claim-h { margin-bottom: 26px; font: 450 28px/1.15 var(--serif); letter-spacing: -.01em; }
.claim-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.claim-steps li { position: relative; padding: 26px 28px 0 0; }
.claim-steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.cs-n { display: block; margin-bottom: 12px; font: 500 13px/1 var(--mono); color: var(--accent); }
.claim-steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 30ch; }
@media (max-width: 960px) {
  .levy-grid { grid-template-columns: 1fr; }
  .claim-steps { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .claim-steps li { padding-bottom: 26px; }
}
@media (max-width: 720px) {
  .calc { padding: 22px 18px; }
  .stmt { padding: 26px 18px 22px; }
  .st-head { flex-direction: column; gap: 12px; }
  .st-doc { text-align: left; }
  .st-big dd { font-size: 23px; }
  .claim-steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--ink); margin-left: 6px; }
  .claim-steps li { padding: 0 0 24px 24px; }
  .claim-steps li::before { left: -6px; top: 0; }
}

/* ---- 08-people.css ---- */
/* ---- about / how we work ---- */
.about { padding: var(--sec) 0; background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about .lede { margin-top: 22px; }
.org { margin-top: 36px; border-top: 1px solid var(--line-2); }
.org div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.5; }
.org dt { padding-top: 3px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.org a { color: var(--accent); text-decoration: none; }
.org a:hover { text-decoration: underline; }
.org-reg { color: var(--ink-3); }
.how { padding: 34px 40px 36px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-2); }
.how-k { margin: 0 0 6px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.how-list { list-style: none; }
.how-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.how-n { font: 400 40px/1 var(--serif); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-h { font: 600 18px/1.35 var(--sans); letter-spacing: -.01em; }
.how-list p { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.how-end { margin: 22px 0 0; font: italic 400 20px/1.45 var(--serif); color: var(--ink-2); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .how { padding: 24px 18px; } .how-list li { grid-template-columns: 48px minmax(0, 1fr); } .how-n { font-size: 32px; } }

/* ---- trainers ---- */
.trainers { padding: var(--sec) 0; background: #fff; }
.tr-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tr-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.tr-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tr:hover .tr-frame img { transform: scale(1.03); }
.tr-mono { display: grid; place-items: center; background: linear-gradient(160deg, #ffffff 0%, var(--bg-2) 100%); }
.tr-mono::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 30%; height: 2px; background: var(--grad); opacity: .9; }
.mono { font: 400 clamp(52px, 5vw, 76px)/1 var(--serif); letter-spacing: .02em; color: var(--ink); }
.tr-name { margin: 18px 0 6px; font: 450 24px/1.2 var(--serif); letter-spacing: -.012em; }
.tr-post { margin-left: 8px; font: 500 12px/1 var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.tr-focus { margin: 0 0 10px; font: 500 11.5px/1.55 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.tr-bio { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1000px) { .tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 520px) { .tr-grid { grid-template-columns: 1fr; } .tr-frame { aspect-ratio: 5 / 4; } .tr-frame img { object-position: 50% 22%; } }

/* ---- feedback ---- */
.feedback { padding: var(--sec) 0; background: var(--tint); }
.fb-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 20px; }
.fb { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); }
.fb-feature { position: relative; overflow: hidden; grid-row: span 2; justify-content: space-between; padding: 44px 40px 34px; box-shadow: var(--sh-2); }
.fb-feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.fb-q { width: 30px; height: 23px; color: var(--peri); }
.fb-text { margin: 0; }
.fb-text p { margin: 0; font: 400 19px/1.5 var(--serif); letter-spacing: -.005em; }
.fb-feature .fb-text p { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.32; letter-spacing: -.015em; }
.fb-tr { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.fb-tr span { display: inline-block; margin-right: 8px; padding: 0 5px; border: 1px solid var(--line-2); border-radius: 4px; font: 500 10.5px/1.6 var(--mono); color: var(--ink-2); vertical-align: 1px; }
.fb-cap { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; font-size: 14px; line-height: 1.35; color: var(--ink-3); }
.fb-cap b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.fb-av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); font: 600 12.5px/1 var(--mono); color: var(--ink-2); }
.fb-feature .fb-q { width: 38px; height: 29px; }
@media (max-width: 1000px) { .fb-grid { grid-template-columns: 1fr 1fr; } .fb-feature { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 640px) { .fb-grid { grid-template-columns: 1fr; } .fb-feature { padding: 30px 22px 26px; } .fb { padding: 24px 20px 20px; } }

/* ---- 09-close.css ---- */
/* ---- FAQ ---- */
.faq { padding: var(--sec) 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--head-h) + 32px); }
.faq-side .lede { margin-top: 20px; }
.faq-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.faq-ask p { margin: 0; font-weight: 500; }
.faq-list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 12px; align-items: center; padding: 22px 0; list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: 4px; }
.qa-n { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.qa-q { font: 450 21px/1.3 var(--serif); letter-spacing: -.01em; }
.qa-pm { position: relative; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .25s, border-color .25s; }
.qa-pm::before, .qa-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 1px; background: var(--ink); transition: transform .3s var(--ease), background-color .25s; }
.qa-pm::after { transform: rotate(90deg); }
.qa[open] .qa-pm { background: var(--navy); border-color: var(--navy); }
.qa[open] .qa-pm::before, .qa[open] .qa-pm::after { background: #fff; }
.qa[open] .qa-pm::after { transform: rotate(0deg); }
.qa summary:hover .qa-pm { border-color: var(--ink); }
.qa-a { overflow: hidden; }
.qa-a p { margin: 0; padding: 0 44px 26px 56px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }
@media (max-width: 720px) {
  .qa summary { grid-template-columns: 30px minmax(0, 1fr) 32px; gap: 10px; padding: 18px 0; }
  .qa-q { font-size: 19px; }
  .qa-a p { padding: 0 0 22px 40px; font-size: 16px; }
}

/* ---- contact ---- */
.contact { position: relative; overflow: hidden; padding: clamp(84px, 10vw, 144px) 0; background: var(--bg-2); }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 420px at 85% 100%, rgba(119, 129, 233, .1), transparent 62%), radial-gradient(600px 360px at 0% 0%, rgba(207, 95, 230, .06), transparent 60%);
}
.contact::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad); opacity: .7; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.close-h { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.04; }
.close-h [data-team] { font-style: italic; }
.contact .lede { margin-top: 24px; }
.ct-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.ct-list { list-style: none; border-top: 1px solid var(--ink); }
.ct-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.ct-list .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.ct-list b { display: block; font-weight: 600; color: var(--ink); }
.ct-list a { color: var(--accent); text-decoration: none; }
.ct-list a:hover { text-decoration: underline; }
.ct-zero { padding-left: 34px !important; position: relative; }
.ct-zero::before { content: ""; position: absolute; left: 4px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .ct-cta .btn { width: 100%; } }

/* ---- footer ---- */
.site-foot { padding: 48px 0 40px; background: #fff; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 48px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand .brand-mark { width: 40px; height: 32px; }
.foot-name { margin: 0; font: 600 17px/1.3 var(--sans); color: var(--ink); }
.foot-name span { display: block; font-weight: 400; font-size: 14px; color: var(--ink-3); }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; padding-top: 6px; }
.foot-nav a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-addr { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 24px; border-top: 1px solid var(--line); font-style: normal; line-height: 1.6; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--accent); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { color: var(--ink-3); text-decoration: none; font-size: 14px; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* a policy page's own text (index.php): readable body copy, its headings, lists and the contact table */
.prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); margin-top: 28px; }
.prose p { margin: 0 0 16px; }
.prose h2 { font: 600 clamp(20px, 1.6vw, 23px)/1.3 var(--sans); color: var(--ink); margin: 40px 0 12px; }
.prose h3 { font: 600 17.5px/1.35 var(--sans); color: var(--ink); margin: 28px 0 8px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15.5px; }
.prose td { border: 1px solid var(--line); padding: 10px 14px; vertical-align: top; }
.prose td:first-child { width: 30%; color: var(--ink); font-weight: 600; }
.foot-preview { grid-column: 1 / -1; margin: 0; font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr; } .foot-nav { justify-content: flex-start; } }

/* ---- 10-motion-print.css ---- */
/* ---- hero entrance: the copy rises in line by line, the plan cover settles after it ---- */
.js .hero .eyebrow, .js .hero .h1 .l, .js .hero .deck, .js .hero .cta-row, .js .hero .proof, .js .hero .steps, .js .hero .hero-doc {
  opacity: 0; translate: 0 14px;
}
.js .hero .hero-doc { translate: 0 24px; }
.hero.go .eyebrow, .hero.go .h1 .l, .hero.go .deck, .hero.go .cta-row, .hero.go .proof, .hero.go .steps, .hero.go .hero-doc {
  opacity: 1; translate: 0 0; transition: opacity .8s var(--ease), translate .9s var(--ease);
}
.hero.go .h1 .l:nth-child(1) { transition-delay: .06s; }
.hero.go .h1 .l:nth-child(2) { transition-delay: .12s; }
.hero.go .h1 .l:nth-child(3) { transition-delay: .18s; }
.hero.go .deck { transition-delay: .24s; }
.hero.go .cta-row { transition-delay: .32s; }
.hero.go .proof, .hero.go .steps { transition-delay: .4s; }
.hero.go .hero-doc { transition-delay: .22s; transition-duration: 1s, 1.1s; }
.hero.go .h1 em { animation: underline 1.1s var(--ease) .7s both; }
@keyframes underline { from { background-size: 0 .055em; } to { background-size: 100% .055em; } }

/* the name, wherever it appears, gets a soft highlight when it changes */
@keyframes rewrite { from { background-color: rgba(119, 129, 233, .22); } to { background-color: rgba(119, 129, 233, 0); } }
[data-team].rewrite { animation: rewrite 1.2s var(--ease); border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero .eyebrow, .js .hero .h1 .l, .js .hero .deck, .js .hero .cta-row, .js .hero .proof, .js .hero .steps, .js .hero .hero-doc { opacity: 1; translate: 0 0; }
}

/* ---- "Print for my boss": one clean page built from the plan, the estimate and the claim steps ---- */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 15mm 16mm 14mm; }
  html.print-plan, html.print-plan body { background: #fff !important; }
  html.print-plan body > *:not(.print-sheet):not(.sprite) { display: none !important; }
  html.print-plan .print-sheet { display: block; color: #0f1b33; font: 10pt/1.45 var(--sans); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid #0f1b33; }
  .pp-brand { display: flex; align-items: center; gap: 10px; }
  .pp-logo { width: 40px; height: 32px; }
  .pp-org { margin: 0; font: 600 13pt/1.1 var(--sans); }
  .pp-sub { margin: 2px 0 0; font-size: 8.5pt; color: #5a6480; }
  .pp-kind { margin: 0; font: 500 8pt/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5a6480; text-align: right; }
  .pp-title { margin: 20px 0 2px; font: 450 25pt/1.05 var(--serif); letter-spacing: -.01em; }
  .pp-team { margin: 0 0 14px; font-size: 11pt; color: #3a4560; }
  .pp-team b { color: #0f1b33; font-weight: 600; }
  .pp-q { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
  .pp-q th, .pp-q td { border-top: 1px solid #ccd2df; padding: 7px 8px; vertical-align: top; text-align: left; }
  .pp-q tr:last-child th, .pp-q tr:last-child td { border-bottom: 1px solid #ccd2df; }
  .pp-q th { width: 92px; font: 600 10.5pt/1.2 var(--mono); }
  .pp-q th span { display: block; font-weight: 400; font-size: 8pt; color: #5a6480; }
  .pp-q ul { margin: 0; padding-left: 15px; }
  .pp-q li { margin: 0 0 2px; }
  .pp-none { color: #77809a; font-style: italic; }
  .pp-h2 { margin: 4px 0 6px; font: 450 13pt/1.2 var(--serif); }
  .pp-levy { width: 100%; border-collapse: collapse; margin: 0 0 6px; }
  .pp-levy td { padding: 4px 0; border-bottom: 1px solid #e2e6ee; }
  .pp-levy td:last-child { text-align: right; font-family: var(--mono); }
  .pp-levy tr.pp-strong td { font-weight: 600; }
  .pp-note { margin: 0 0 14px; font-size: 8.5pt; color: #5a6480; }
  .pp-steps { margin: 0 0 12px; padding-left: 18px; }
  .pp-steps li { margin: 0 0 3px; }
  .pp-zero { margin: 0 0 16px; padding: 8px 10px; border: 1.5px solid #0f1b33; border-radius: 4px; }
  .pp-foot { padding-top: 10px; border-top: 1px solid #ccd2df; font-size: 9pt; color: #3a4560; }
  .pp-foot p { margin: 0 0 3px; }
  .pp-small { margin-top: 6px !important; font-size: 8pt; color: #77809a; }
}

/* ---- 11-pages.css ---- */
/* ---- 11 Oct 2026 (Jonas, 10 Oct): homepage leads with the programmes; the planner has its own page in named steps ---- */

/* header: the page you are on */
.nav a[aria-current=page] { color: var(--ink); }
.nav a[aria-current=page]::after { transform: scaleX(1); }

/* step badge: "STEP 0" ... "STEP 3", the same everywhere */
.step-badge {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 30px; padding: 0 10px;
  border-radius: 8px; background: var(--navy); color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}

/* ---- homepage hero: the programme catalogue card ---- */
.cat { padding-bottom: 24px; }
.cat-list { list-style: none; margin-top: 4px; }
.cat-list li + li { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 12px 18px; align-items: center; padding: 20px 2px 20px 0; color: var(--ink); text-decoration: none; }
.cat-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cat-head .dot { width: 10px; height: 10px; }
.cat-t { font: 450 clamp(23px, 1.9vw, 27px)/1.15 var(--serif); letter-spacing: -.012em; transition: color .2s; }
.cat-n { margin-left: auto; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tc); white-space: nowrap; }
.cat-eg { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-eg span { padding: 5px 10px; border-radius: 999px; background: var(--tt); font-size: 13.5px; line-height: 1.2; color: var(--ink-2); }
.cat-eg .cat-more { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }
.cat-go { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.cat-row:hover .cat-t { color: var(--tc); }
.cat-row:hover .cat-go { color: var(--tc); transform: translateY(3px); }
.cat .doc-people { border-top: 1px solid var(--line); }

/* ---- programme index: each programme opens to show what is in it ---- */
.ix-item { grid-template-columns: minmax(0, 1fr) auto; }
.ix-open {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; padding: 2px 0;
  border: 0; background: none; color: inherit; text-align: left;
}
.ix-open .ix-n { padding-top: 5px; }
.ix-open:hover .ix-name { color: var(--tc); }
.ix-name { transition: color .2s; }
.ix-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; font: 500 13.5px/1 var(--sans); color: var(--accent); }
.ix-more .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ix-item.is-open .ix-more .ico { transform: rotate(180deg); }
.ix-out { grid-column: 1 / -1; margin: 2px 0 6px 48px; padding: 14px 18px 16px; border-left: 2px solid var(--tc); border-radius: 0 10px 10px 0; background: var(--tt); }
.ix-out[hidden] { display: none; }
.ix-out.swap { animation: swapIn .4s var(--ease); }
.ix-bul { list-style: none; display: grid; gap: 6px; }
.ix-bul li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ix-bul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--tc); }
.ix-ask { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin-top: 8px; font: 500 14px/1.2 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.ix-ask:hover { text-decoration-color: currentColor; }
.ix-ask .ico { width: 16px; height: 16px; color: var(--tc); }
@media (max-width: 760px) {
  .ix-item { grid-template-columns: minmax(0, 1fr) auto; }
  .ix-open { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .ix-out { margin-left: 38px; padding: 12px 14px 14px; }
}

/* ---- homepage: the one section that sends people to the planner page ---- */
.pcta { position: relative; overflow: hidden; padding: var(--sec) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pcta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 420px at 10% 0%, rgba(207, 95, 230, .06), transparent 60%),
              radial-gradient(800px 460px at 94% 32%, rgba(78, 202, 221, .07), transparent 62%);
}
.pcta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(40px, 5.5vw, 96px); align-items: center; }
.pcta .lede { margin-top: 22px; }
.pcta-note { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pcta-note[hidden] { display: none; }

/* the steps, listed (homepage) or as links down the page (planner hero) */
.steps { list-style: none; max-width: 580px; margin: 30px 0 34px; border-top: 1px solid var(--line-2); }
.steps li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.step-t { font: 500 17px/1.35 var(--sans); letter-spacing: -.005em; }
.steps-nav { margin: 34px 0 0; }
.steps-nav li { padding: 0; }
.steps-nav a { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 56px; padding: 10px 2px 10px 0; color: var(--ink); text-decoration: none; }
.steps-nav .step-t { flex: 1; }
.step-state { font: 500 12px/1.2 var(--mono); color: var(--team); white-space: nowrap; }
.steps-nav .ico { flex: none; width: 18px; height: 18px; margin-left: 10px; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.steps-nav a:hover .step-t { color: var(--accent); }
.steps-nav a:hover .ico { transform: translateY(3px); color: var(--accent); }
.steps-nav li.done .step-badge { background: var(--team); }

@media (max-width: 1100px) {
  .pcta-grid { grid-template-columns: 1fr; }
  .pcta .hero-doc { max-width: 620px; }
}
@media (max-width: 720px) {
  .step-badge { min-width: 64px; height: 28px; font-size: 11px; }
  .steps li { gap: 12px; }
  .step-t { font-size: 15.5px; }
  .steps-nav a { gap: 12px; }
  .step-state { display: none; }
  .pcta .cta-row .btn { width: 100%; }
}

/* ---- planner page: one step header per step ---- */
.sh { display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.sh .step-badge { margin-top: 3px; }
.sh-txt { min-width: 0; }
.sh-h { font: 450 clamp(25px, 2.2vw, 32px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.sh-p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-3); max-width: 64ch; }
.ico-inline { display: inline-block; width: 17px; height: 17px; vertical-align: -3px; color: var(--ink-2); }
.sh-lg { margin-bottom: clamp(32px, 4vw, 52px); }
.sh-lg .step-badge { margin-top: 10px; }
.sh-lg .sh-h { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -.022em; }
.sh-lg .sh-p { margin-top: 14px; font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.6; color: var(--ink-2); max-width: 66ch; }

.bd-step { align-items: flex-end; padding: 26px 28px 22px; }
.bd-step .sh { flex: 1 1 460px; }
.bd-step-1 { background: #fbfbfe; }
.bd-step-1 .bd-for { padding-bottom: 6px; }
.st-next { margin-top: 4px; }

/* Step 3: the plan, ready to send */
.send { padding: var(--sec) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.sendcard {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(15, 27, 51, .04), 0 40px 80px -36px rgba(15, 27, 51, .26);
}
.sendcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.sc-plan { padding: 34px 38px 30px; font-variant-numeric: tabular-nums; }
.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.sc-title { margin: 0; font: 450 26px/1.1 var(--serif); letter-spacing: -.01em; }
.sc-lines .sum-line { grid-template-columns: 150px minmax(0, 1fr); padding: 12px 0; font-size: 15.5px; }
.sc-lines .sum-line dt { font-size: 14px; }
.sc-lines .sum-line dt span { margin-left: 6px; font-weight: 400; color: var(--ink-3); }
.sc-empty { display: none; margin: 14px 0 4px; font-size: 15px; color: var(--ink-2); }
html:not(.has-plan) .sc-empty { display: block; }
.sc-empty a { color: var(--accent); font-weight: 500; }
.sc-rows { margin-top: 8px; }
.sc-rows .st-row:last-child { border-bottom: 0; }
.sc-act { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 34px 32px; border-left: 1px solid var(--line); background: #fafbfd; }
.sc-act .sum-note { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; }
.sc-k { margin: 0; font: 600 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sc-plan .st-quote { margin-top: 14px; }
.sc-copy { display: grid; gap: 10px; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.sc-copy-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-copy-btns .btn { flex: 1 1 auto; justify-content: center; }
.sc-act .btn { white-space: normal; text-align: center; }
.send .claim { margin-top: clamp(52px, 6vw, 80px); }

@media (max-width: 960px) {
  .sendcard { grid-template-columns: minmax(0, 1fr); }
  .sc-act { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .sh { flex-direction: column; gap: 12px; }
  .sh .step-badge, .sh-lg .step-badge { margin-top: 0; }
  .bd-step { padding: 20px 16px 16px; }
  .bd-step .sh { flex-basis: auto; }
  .sc-plan { padding: 26px 18px 22px; }
  .sc-act { padding: 22px 18px 24px; }
  .sc-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sc-lines .sum-line { grid-template-columns: 1fr; gap: 2px; }
}

/* homepage headline: three lines on a laptop, the last one ("HRD Corp claimable.") kept whole */
[data-page=home] .hero .h1 { font-size: clamp(42px, 4.45vw, 66px); }
/* planner page: the board follows the hero closely; the contact close is white after the grey Step 3 band */
[data-page=plan] .plan { padding-top: clamp(36px, 4.5vw, 64px); }
[data-page=plan] .contact { background: #fff; }

/* ---- 12-menu.css ---- */
/* ---- 19 Oct 2026 (Jonas, 18 Oct): the Programmes menu, "a dropdown menu that feature a mini dashboard with featured
   courses" - tracks on the left, that track's courses and two featured ones beside them, the numbers along the bottom ---- */

/* the header item that opens it, styled like the other links */
.nav-btn {
  position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 0; border: 0; background: none;
  font: 500 15px/1 var(--sans); color: var(--ink-2); white-space: nowrap; transition: color .2s;
}
.nav-btn .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-btn::after { content: ""; position: absolute; left: 0; right: 20px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-btn:hover, .nav-btn.is-here, .nav-btn[aria-expanded=true] { color: var(--ink); }
.nav-btn:hover::after, .nav-btn.is-here::after, .nav-btn[aria-expanded=true]::after { transform: scaleX(1); }
.nav-btn[aria-expanded=true] .ico { transform: rotate(180deg); }

/* the panel: a white card under the header */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gut) 0; pointer-events: none; }
.mega[hidden] { display: none; }
.mega-in {
  position: relative; width: min(1240px, 100%); margin: 0 auto; overflow: auto; max-height: calc(100vh - var(--head-h) - 24px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; pointer-events: auto; container-type: inline-size;
  box-shadow: 0 2px 6px rgba(15, 27, 51, .05), 0 40px 80px -30px rgba(15, 27, 51, .34);
  opacity: 0; translate: 0 -6px; transition: opacity .2s var(--ease), translate .3s var(--ease);
}
.mega-in::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); z-index: 1; }
.mega.is-open .mega-in { opacity: 1; translate: 0 0; }
.mega-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(15, 27, 51, .14); opacity: 0; transition: opacity .25s var(--ease); }
.mega-scrim[hidden] { display: none; }
.mega-scrim.is-open { opacity: 1; }

.mega-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.mega-k { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* left: the three tracks (hover, focus or tap switches what shows beside them) */
.mega-tracks { padding: 26px 18px 22px 22px; background: var(--bg); border-right: 1px solid var(--line); }
.mega-tracks .mega-k { padding-left: 12px; }
.mt-list { display: grid; gap: 6px; }
.mt {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: start; width: 100%;
  padding: 14px 14px 14px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--ink); text-align: left;
  transition: background-color .2s, border-color .2s, box-shadow .25s;
}
.mt:hover { background: rgba(255, 255, 255, .7); }
.mt[aria-selected=true] { background: #fff; border-color: var(--line); box-shadow: var(--sh-1); }
.mt[aria-selected=true]::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--tc); }
.mt:focus-visible { outline-offset: -2px; }
.mt-ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--tt); color: var(--tc); }
.mt-ico .ico { width: 22px; height: 22px; }
.mt-txt { min-width: 0; }
.mt-t { display: block; font: 600 16.5px/1.25 var(--sans); letter-spacing: -.01em; }
.mt-line { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.mt-n { grid-column: 2; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tc); }
.mt-n b { font-weight: 600; }

/* middle and right: the chosen track's courses, and two featured ones */
.mp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
.mp[hidden] { display: none; }
.mp.swap { animation: swapIn .35s var(--ease); }
.mp-list { padding: 26px 22px 22px 26px; }
.mp-list .mega-k { color: var(--tc); }
.mp-list ul { list-style: none; display: grid; gap: 1px; }
.mp-list li a {
  display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 7px 10px; margin: 0 -10px; border-radius: 9px;
  font: 500 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; transition: background-color .15s, color .15s;
}
.mp-list li a:hover, .mp-list li a:focus-visible { background: var(--tt); color: var(--tc); }
.mp-n { flex: none; width: 20px; font: 500 12px/1 var(--mono); color: var(--ink-3); }
.mp-t { min-width: 0; }
.mp-list .tag { margin-left: 0; }
.mp-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 500 14.5px/1.3 var(--sans); color: var(--accent); text-decoration: none; }
.mp-all .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mp-all:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mp-all:hover .ico { transform: translateX(3px); }

.mp-feat { padding: 26px 26px 24px 4px; }
.mf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mf { position: relative; display: flex; flex-direction: column; min-width: 0; }
.mf-cv { display: block; border-radius: 12px; outline-offset: 2px; }
.mf-cv .cover { transition: transform .5s var(--ease); }
.mf:hover .mf-cv .cover { transform: scale(1.015); }
.mf-t { margin: 14px 0 4px; font: 600 16.5px/1.3 var(--sans); letter-spacing: -.01em; }
.mf-t a { color: var(--ink); text-decoration: none; }
.mf-t a:hover { color: var(--tc); }
.mf-line { flex: 1; margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.mf .btn-book { min-height: 44px; padding: 9px 12px; font-size: 14.5px; }
.mf-more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 36px; margin-top: 6px; font: 500 14px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.mf-more .ico { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.mf-more:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mf-more:hover .ico { transform: translateX(3px); }

/* bottom: the mini dashboard */
.mega-dash { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding: 14px 26px; border-top: 1px solid var(--line); background: #fbfbfd; }
.md-stats { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.md-stats li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.md-stats b { font: 450 26px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.md-stats .ico { width: 18px; height: 18px; color: var(--team); }
.md-stats li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.md-links { display: flex; align-items: center; gap: 20px; }
.md-all { display: inline-flex; align-items: center; gap: 6px; font: 500 14.5px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.md-all .ico { width: 16px; height: 16px; }
.md-all:hover span { text-decoration: underline; text-underline-offset: 3px; }
.md-links .btn .ico { width: 17px; height: 17px; color: var(--accent); }

@container (max-width: 1120px) {
  .mega-grid { grid-template-columns: 270px minmax(0, 1fr); }
  .mp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mf-row { grid-template-columns: 1fr; }
  .mf + .mf { display: none; }
  .md-stats li + li { padding-left: 0; border-left: 0; }
}

/* ---- phone / tablet menu: Programmes opens to the three tracks, each to its courses ---- */
.mnav { max-height: calc(100vh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; }
.mn-b, .mn-t {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink); font: 500 17px/1.2 var(--sans); text-align: left;
}
.mn-bt { flex: 1; min-width: 0; }
.mn-n { min-width: 26px; padding: 3px 7px; border-radius: 6px; background: var(--bg-2); font: 500 12px/1.2 var(--mono); color: var(--ink-2); text-align: center; }
.mn-b .ico, .mn-t .ico { width: 18px; height: 18px; color: var(--ink-3); transition: transform .3s var(--ease); }
.mn-b[aria-expanded=true] .ico, .mn-t[aria-expanded=true] .ico { transform: rotate(180deg); }
.mn-prog { padding-left: 14px; border-left: 2px solid var(--line); margin: 4px 0 6px; }
.mn-prog[hidden], .mn-list[hidden] { display: none; }
.mn-t { min-height: 50px; font-size: 16px; }
.mn-t .dot { width: 9px; height: 9px; }
.mn-list { list-style: none; padding: 4px 0 8px 19px; border-bottom: 1px solid var(--line); }
.mnav .mn-list a { min-height: 44px; gap: 10px; border-bottom: 0; font-size: 15.5px; color: var(--ink-2); }
.mnav .mn-list a:hover { color: var(--tc); }
.mnav a.mn-all { color: var(--accent); font-size: 15.5px; border-bottom: 0; }
.mnav a.mnav-plan { border-bottom: 1px solid var(--line); color: var(--accent); }
.mnav > a:last-child { border-bottom: 0; }

@media (max-width: 1000px) { .mega, .mega-scrim { display: none !important; } }
@media (max-width: 420px) { .head-cta .ico { display: none; } .head-cta { padding-inline: 13px; } }

/* ---- 13-cards.css ---- */
/* ---- 19 Oct 2026: the course cover and the course card (homepage list, "More in" on a course page, the menu) ---- */

/* The drawn cover, until their own photo is set in build.py (MEDIA): the track's tint on a fine dot grid, a white
   lens holding a line drawing of the course, the course number set large and the logo mark. Everything is
   sized from the cover's own width (cqw), so one design works from a menu thumbnail to the course page hero. */
.cover {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px;
  container-type: inline-size; isolation: isolate;
  background-color: var(--tt);
  background-image:
    radial-gradient(110% 95% at 100% 0%, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 62%),
    radial-gradient(circle, color-mix(in srgb, var(--tc) 24%, transparent) 1px, transparent 1.4px);
  background-size: auto, 14px 14px;
  background-position: 0 0, 7px 7px;
}
.cover::before {
  content: ""; position: absolute; z-index: -1; right: 7cqw; top: 50%; width: 50cqw; aspect-ratio: 1; translate: 0 -50%;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc) 16%, transparent), 0 0 0 5cqw rgba(255, 255, 255, .45),
              0 0 0 calc(5cqw + 1px) color-mix(in srgb, var(--tc) 12%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--tc) 45%, transparent);
}
.cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tc); opacity: .55; }
.cv-ico {
  position: absolute; right: 17cqw; top: 50%; width: 30cqw; height: 30cqw; translate: 0 -50%; overflow: visible;
  color: var(--tc); fill: none; stroke: currentColor; stroke-width: clamp(1.4px, .62cqw, 3px); stroke-linecap: round; stroke-linejoin: round;
}
.cv-n {
  position: absolute; left: 6.5cqw; bottom: 3.5cqw; font: 300 24cqw/.8 var(--serif); letter-spacing: -.05em;
  font-variant-numeric: lining-nums; color: var(--tc); font-optical-sizing: auto;
}
.cv-logo { position: absolute; left: 6.5cqw; top: 6.5cqw; width: max(18px, 6cqw); height: max(14.5px, 4.85cqw); }
.cover.has-photo { background: var(--bg-2); }
.cover.has-photo::before, .cover.has-photo::after { display: none; }
.cover.has-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- the course card, after a22a's (Jonas's screenshot): cover, title, three points, the main button ---- */
.pc {
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.pc:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.pc-cv { display: block; padding: 8px 8px 0; border-radius: 16px 16px 0 0; }
.pc-cv .cover { border-radius: 10px; transition: transform .6s var(--ease); }
.pc:hover .pc-cv .cover { transform: scale(1.012); }
.pc-cv:focus-visible { outline-offset: -2px; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pc-k { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tc); }
.pc-k .dot { width: 7px; height: 7px; }
.pc-n { margin-left: auto; color: var(--ink-3); letter-spacing: .04em; }
.pc-k .tag { margin-left: 0; text-transform: none; letter-spacing: .02em; }
.pc-t { margin: 0; font: 600 19px/1.25 var(--sans); letter-spacing: -.014em; }
.pc-t a { color: var(--ink); text-decoration: none; transition: color .2s; }
.pc-t a:hover { color: var(--tc); }
.pc-sub { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.pc-bul { list-style: none; display: grid; gap: 6px; margin: 14px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.pc-bul li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.42; color: var(--ink-2); }
.pc-bul li::before { content: ""; position: absolute; left: 1px; top: .56em; width: 6px; height: 6px; border-radius: 50%; background: var(--tc); }
.pc-act { display: grid; gap: 8px; margin-top: auto; }
.btn-book { white-space: normal; text-align: center; line-height: 1.25; }
.pc .btn-book { min-height: 46px; padding: 10px 14px; font-size: 15px; gap: 8px; }
.pc .btn-book .ico { width: 18px; height: 18px; }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font: 500 14.5px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.pc-more .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pc-more:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pc-more:hover .ico { transform: translateX(3px); }

.pc-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pc-grid > li { display: flex; min-width: 0; }

/* ---- homepage: the programmes, one group of cards per track ---- */
.tk { padding-top: 34px; border-top: 1px solid var(--ink); }
.tk + .tk { margin-top: clamp(48px, 5vw, 72px); border-top-color: var(--line-2); }
.tk-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 52ch); grid-template-areas: "t l" "c l";
  gap: 4px 48px; align-items: end; margin-bottom: 26px;
}
.tk-head .ix-title { grid-area: t; }
.tk-head .ix-count { grid-area: c; margin: 8px 0 0; }
.tk-head .ix-line { grid-area: l; max-width: none; text-align: right; }
.tk-swipe { display: none; }

@media (max-width: 1180px) { .pc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tk-head { grid-template-columns: 1fr; grid-template-areas: "t" "c" "l"; }
  .tk-head .ix-line { text-align: left; margin-top: 10px; max-width: 60ch; }
}
/* phones: each track is one row of cards to swipe through, so the page stays short and easy to scan */
@media (max-width: 720px) {
  .pc-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 12px; scroll-padding-inline: var(--gut); scrollbar-width: none;
  }
  .pc-grid::-webkit-scrollbar { display: none; }
  .pc-grid > li { flex: 0 0 min(84%, 330px); scroll-snap-align: start; }
  .js .pc-grid [data-reveal] { opacity: 1; translate: 0 0; }
  .tk { padding-top: 26px; }
  .tk-head { margin-bottom: 16px; }
  .tk-swipe { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .tk-swipe .ico { width: 15px; height: 15px; }
  .pc-t { font-size: 18px; }
}

/* "Inside a session": the main button first, then the plan, then the whole course */
.ag-side .btn-book { margin-bottom: 10px; }
.ag-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 500 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.ag-more .ico { width: 16px; height: 16px; color: var(--tc); transition: transform .25s var(--ease); }
.ag-more:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ag-more:hover .ico { transform: translateX(3px); }

/* ---- 14-course.css ---- */
/* ---- 19 Oct 2026: a page for every course, after the excelerate.asia course page Jonas sent ---- */

/* breadcrumb */
.crumbs { padding: 20px 0 0; background: var(--bg); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); rotate: 45deg; opacity: .7; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* hero: the full title, their motto and lede, the main button; the cover on the right; key facts under both */
.ch {
  position: relative; overflow: hidden; padding: clamp(26px, 3.2vw, 44px) 0 clamp(36px, 4vw, 56px);
  background:
    radial-gradient(900px 520px at 90% 10%, rgba(119, 129, 233, .09), transparent 62%),
    radial-gradient(700px 420px at 72% 100%, rgba(78, 202, 221, .07), transparent 60%),
    var(--bg);
}
.ch-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 84px); align-items: center; }
.ch-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 20px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tc); }
.ch-k .dot { width: 9px; height: 9px; }
.ch-kn { padding-left: 12px; border-left: 1px solid var(--line-2); color: var(--ink-3); }
.ch-h { font: 450 clamp(38px, 3.9vw, 60px)/1.04 var(--serif); letter-spacing: -.026em; text-wrap: balance; }
.ch-ha { display: block; }
.ch-hb { display: block; margin-top: .16em; font-size: .6em; line-height: 1.16; letter-spacing: -.014em; color: var(--ink-2); }
.ch-motto { margin: 18px 0 0; font: italic 400 clamp(20px, 1.6vw, 25px)/1.35 var(--serif); color: var(--ink-2); }
.ch-lede { margin: 16px 0 0; max-width: 56ch; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); }
.ch-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ch-cta .btn-book { white-space: nowrap; }
.ch-cta [data-add].is-planned, .jump [data-add].is-planned { background: var(--tt); border-color: transparent; color: var(--tc); }
.ch-note { margin: 16px 0 0; max-width: 58ch; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.ch-note a { color: var(--accent); font-weight: 500; }
.ch-frame { position: relative; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3); }
.ch-frame::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.ch-frame .cover { border-radius: 12px; }

/* key facts: one row of tiles on a laptop, two columns on a phone */
.facts {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; overflow: hidden;
  margin-top: clamp(30px, 3.6vw, 46px); background: var(--line); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1);
}
.fact { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; align-content: start; padding: 18px 20px; background: #fff; }
.fact .ico { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 1px; color: var(--tc); }
.fact-k { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fact-v { font: 600 15.5px/1.35 var(--sans); color: var(--ink); }
.fact-v a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(70, 81, 196, .35); text-underline-offset: 3px; }
.fact-v a:hover { text-decoration-color: currentColor; }

/* body: "On this page" on the left (it stays in view), the course on the right */
.cbody { padding: clamp(40px, 4.5vw, 64px) 0 clamp(64px, 7vw, 104px); background: var(--bg); border-top: 1px solid var(--line); }
.cbody-grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.jump { position: sticky; top: calc(var(--head-h) + 24px); padding: 20px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); }
.jump-k { margin: 0 0 8px 12px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.jump-list { list-style: none; display: grid; gap: 2px; margin-bottom: 16px; }
.jump-list a {
  position: relative; display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 9px;
  font: 500 15px/1.3 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s;
}
.jump-list a:hover { background: var(--bg); color: var(--ink); }
.jump-list a.is-here { background: var(--tt); color: var(--tc); }
.jump-list a.is-here::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--tc); }
.jump-act { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.jump .btn-book { min-height: 48px; padding: 11px 14px; font-size: 15px; }
.jump .btn-line { min-height: 46px; font-size: 15px; }
.jump-note { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.jump-note .ico { width: 16px; height: 16px; margin-top: 1px; color: var(--team); }

.cmain { min-width: 0; display: grid; gap: clamp(52px, 5.5vw, 76px); }
.cs { scroll-margin-top: calc(var(--head-h) + 24px); }
.cs-h { margin: 0 0 20px; font: 450 clamp(28px, 2.5vw, 38px)/1.1 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.cs-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; }
.cs-top .cs-h { margin: 0; }
.cs-sub { margin: 10px 0 20px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.cs-h + .cs-sub { margin-top: -8px; }

/* who it's for */
.who { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.who li { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.who .ico { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--tc); }
.who b { display: block; font: 600 16px/1.35 var(--sans); }
.who li > span > span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* what you'll learn */
.learn { list-style: none; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.learn li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 20px 24px; }
.learn li + li { border-top: 1px solid var(--line); }
.learn-n { font: 400 30px/1 var(--serif); letter-spacing: -.02em; color: var(--tc); }
.learn-t { font-size: 17px; line-height: 1.55; }
.learn-t b { display: block; margin-bottom: 2px; font-weight: 600; }

/* course modules: an accordion with "Expand all" */
.mod-all {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink); font: 500 14.5px/1 var(--sans); transition: border-color .2s;
}
.mod-all:hover { border-color: var(--ink); }
.mod-all .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mod-all[aria-expanded=true] .ico { transform: rotate(45deg); }
.mods { list-style: none; display: grid; gap: 10px; }
.mod { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, box-shadow .3s var(--ease); }
.mod.is-open { border-color: var(--line-2); box-shadow: var(--sh-1); }
.mod-h { margin: 0; font: inherit; }
.mod-b {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto 30px; align-items: center; gap: 8px 16px; width: 100%;
  padding: 18px 20px; border: 0; background: none; color: var(--ink); text-align: left;
}
.mod-b:focus-visible { outline-offset: -3px; }
.mod-n { padding: 6px 9px; border-radius: 7px; background: var(--tt); font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--tc); }
.mod-t { font: 600 17px/1.35 var(--sans); letter-spacing: -.008em; }
.mod-c { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.mod-pm { position: relative; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .25s, border-color .25s; }
.mod-pm::before, .mod-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; border-radius: 1px; background: var(--ink); transition: transform .3s var(--ease), background-color .25s; }
.mod-pm::after { transform: rotate(90deg); }
.mod-b:hover .mod-pm { border-color: var(--ink); }
.mod.is-open .mod-pm { background: var(--navy); border-color: var(--navy); }
.mod.is-open .mod-pm::before, .mod.is-open .mod-pm::after { background: #fff; }
.mod.is-open .mod-pm::after { transform: rotate(0deg); }
.mod-p { overflow: hidden; }
.mod-p[hidden] { display: none; }
.mod-p > :first-child { margin-top: 0; }
.mod-goal, .mod-pts { margin-left: 20px; margin-right: 20px; }
.mod-p::before { content: ""; display: block; height: 1px; margin: 0 20px 16px; background: var(--line); }
.mod-goal { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mod-goal b { display: block; margin-bottom: 3px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mod-pts { list-style: none; display: grid; gap: 9px; padding-bottom: 20px; }
.mod-pts li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.mod-pts li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 8px; height: 8px; border: 1.6px solid var(--tc); border-radius: 2px; }

/* the full outline, for the four courses whose own page has no module list */
.outline-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px;
  padding: clamp(24px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2);
}
.outline-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.outline-ico { width: 52px; height: 52px; padding: 14px; border-radius: 13px; background: var(--tt); color: var(--tc); }
.outline-card .cs-h { margin-bottom: 10px; }
.outline-card p { max-width: 56ch; margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* learning outcomes */
.outc { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.outc li { display: flex; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; line-height: 1.5; }
.outc .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--tc); }

/* how booking and the HRD Corp claim work */
.bk { position: relative; overflow: hidden; padding: clamp(26px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2); }
.bk::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.bk-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 6px 0 22px; }
.bk-steps li { display: grid; align-content: start; gap: 14px; padding: 18px; border-radius: 12px; background: var(--bg); }
.bk-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); font: 500 13px/1 var(--mono); color: #fff; }
.bk-k { margin: 0 0 4px; font: 600 16px/1.35 var(--sans); }
.bk-steps p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.bk-who { margin: 0 0 24px; padding-left: 14px; border-left: 2px solid var(--tc); font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
.bk-who b { display: block; margin-bottom: 2px; color: var(--ink); }
.bk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.bk-levy { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 500 15px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.bk-levy .ico { width: 16px; height: 16px; color: var(--accent); transition: transform .25s var(--ease); }
.bk-levy:hover span { text-decoration: underline; text-underline-offset: 3px; }
.bk-levy:hover .ico { transform: translateX(3px); }

/* the course FAQ reuses the homepage FAQ rows */
.cmain .faq-list { background: transparent; }

/* a video, once they send one */
.cs-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 16px; box-shadow: var(--sh-2); }
.cs-video video, .cs-video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: var(--navy); }

/* more courses in the same track */
.more { padding: clamp(64px, 7vw, 104px) 0; background: #fff; border-top: 1px solid var(--line); }
.more-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 30px; }
.more-h { font-size: clamp(30px, 3vw, 46px); }
.more-all { display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1.3 var(--sans); color: var(--accent); text-decoration: none; }
.more-all .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more-all:hover span { text-decoration: underline; text-underline-offset: 3px; }
.more-all:hover .ico { transform: translateX(3px); }
.pc-grid.pc-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* phones: the main button stays at the thumb */
.bookbar { display: none; }

@media (max-width: 1100px) {
  .ch-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .facts { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .fact:last-child:nth-child(3n + 2) { grid-column: span 2; }
}
/* tablets and phones: "On this page" becomes a bar along the top */
@media (max-width: 1000px) {
  .cbody-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .jump {
    top: var(--head-h); z-index: 30; display: flex; align-items: center; gap: 12px; margin: 0 calc(-1 * var(--gut));
    padding: 8px var(--gut); border-width: 0 0 1px; border-radius: 0; box-shadow: 0 10px 20px -18px rgba(15, 27, 51, .4);
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  }
  .jump-k, .jump-note, .jump-add { display: none; }
  .jump-list { display: flex; flex: 1; min-width: 0; gap: 4px; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .jump-list::-webkit-scrollbar { display: none; }
  .jump-list a { min-height: 40px; padding: 8px 12px; font-size: 14.5px; }
  .jump-list a.is-here::before { left: 12px; right: 12px; top: auto; bottom: 3px; width: auto; height: 2px; }
  .jump-act { flex: none; display: block; padding: 0; border: 0; }
  .jump .btn-book { min-height: 42px; padding: 8px 14px; font-size: 14px; white-space: nowrap; }
  .cbody { padding-top: 0; }
  .cmain { padding-top: 8px; }
  .cs { scroll-margin-top: calc(var(--head-h) + 76px); }
}
@media (max-width: 860px) {
  .ch-grid { grid-template-columns: 1fr; }
  .ch-art { max-width: 560px; }
  .who, .outc { grid-template-columns: 1fr; }
  .bk-steps { grid-template-columns: 1fr; }
  .pc-grid.pc-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .crumbs { padding-top: 14px; }
  .crumbs ol { font-size: 13.5px; }
  .ch-h { font-size: clamp(34px, 9.4vw, 44px); }
  .ch-hb { font-size: .64em; }
  .ch-cta { flex-direction: column; align-items: stretch; }
  .ch-cta .btn { width: 100%; white-space: normal; }
  .ch-art { max-width: none; }
  .ch-frame { padding: 8px; border-radius: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:last-child:nth-child(3n + 1), .fact:last-child:nth-child(3n + 2) { grid-column: auto; }
  .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fact { padding: 14px 14px; gap: 4px 10px; grid-template-columns: 20px minmax(0, 1fr); }
  .fact .ico { width: 20px; height: 20px; }
  .fact-v { font-size: 14.5px; }
  .jump-act { display: none; }
  .mod-b { grid-template-columns: minmax(0, 1fr) 30px; gap: 8px 12px; padding: 16px; }
  .mod-n { justify-self: start; grid-column: 1; }
  .mod-t { grid-column: 1; }
  .mod-c { grid-column: 1; }
  .mod-pm { grid-column: 2; grid-row: 1 / span 3; }
  .mod-goal, .mod-pts { margin-left: 16px; margin-right: 16px; }
  .mod-p::before { margin: 0 16px 14px; }
  .learn li { grid-template-columns: 40px minmax(0, 1fr); padding: 16px 18px; }
  .learn-n { font-size: 24px; }
  .outline-card { grid-template-columns: 1fr; }
  .bk-cta .btn { width: 100%; }
  .more-head { margin-bottom: 18px; }
  .bookbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -12px 28px -20px rgba(15, 27, 51, .45);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    translate: 0 110%; transition: translate .35s var(--ease);
  }
  .bookbar.show { translate: 0 0; }
  .bookbar .btn-book { flex: 1; min-height: 50px; padding: 8px 14px; font-size: 15px; }
  .bb-add { flex: none; justify-content: center; width: 50px; min-height: 50px; padding: 0; }
  .bb-add .ico { width: 20px; height: 20px; }
  [data-page=course] .site-foot { padding-bottom: 96px; }
  [data-page=course] .toast { bottom: 88px; }
}

/* ---- 15-media.css ---- */
/* ---- 19 Oct 2026: their own videos, once they send them (TRAINER_VIDEO in build.py) ---- */
.tr-watch {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px;
  border: 0; border-radius: 999px; background: rgba(15, 27, 51, .82); color: #fff; font: 500 14px/1 var(--sans);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s;
}
.tr-watch:hover { background: var(--navy); }
.tr-watch .ico { width: 18px; height: 18px; }

.vd { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.vd::backdrop { background: rgba(15, 27, 51, .7); }
.vd-box { aspect-ratio: 16 / 9; }
.vd-box video, .vd-box iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.vd-close {
  position: absolute; right: 10px; top: 10px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
}
.vd-close:hover { background: rgba(255, 255, 255, .26); }

/* ---- 16-reels.css ---- */
/* ---- 27 Oct 2026: their own class reels (Jonas's Drive folder "Reels"), vertical 9:16 clips ---- */
.reels { --n: 3; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; max-width: calc(var(--n) * 250px); }
.reel { margin: 0; min-width: 0; }
.reel-frame {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 14px; background: var(--navy);
  box-shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 22px 44px -26px rgba(15, 27, 51, .45);
}
.reel-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
/* a play button over the poster until the clip first plays (the native controls only show on hover) */
.reel-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .25s var(--ease), background-color .2s;
}
.reel-play .ico { width: 26px; height: 26px; margin-left: 3px; }
.reel-frame:hover .reel-play { transform: scale(1.06); background: #fff; }
.reel-frame.played .reel-play { display: none; }
.reel figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }

/* the homepage section: four across on a laptop, a swipeable row on a phone */
.reels-sec { padding: var(--sec) 0; background: var(--bg); border-top: 1px solid var(--line); }
.reels-home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: none; }
.reels-home .reel-frame { border-radius: 16px; }
.reels-home figcaption { display: grid; gap: 4px; margin-top: 14px; }
.reel-t { display: flex; align-items: center; gap: 8px; font: 450 21px/1.15 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.reel-t::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); flex: none; }
.reels-home figcaption a {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content; font-size: 14.5px; font-weight: 500;
  color: var(--accent); text-decoration: none;
}
.reels-home figcaption a .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.reels-home figcaption a:hover .ico { transform: translateX(3px); }

/* "Video" on a course card's cover */
.pc-cv { position: relative; }
.pc-vid {
  position: absolute; left: 18px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px;
  border-radius: 999px; background: rgba(15, 27, 51, .78); color: #fff; font: 500 12.5px/1 var(--sans);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none;
}
.pc-vid .ico { width: 14px; height: 14px; }

/* a trainer's "Watch" dialog takes the shape of a vertical clip */
.vd.is-tall { width: min(400px, calc(100vw - 32px), calc((100vh - 48px) * 9 / 16)); }
.vd.is-tall .vd-box { aspect-ratio: 9 / 16; }

@media (max-width: 1100px) and (min-width: 641px) {
  .reels { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 900px) and (min-width: 641px) {
  .reels-home { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 640px) {
  .reels, .reels-home {
    max-width: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    margin: 0 -16px; padding: 0 16px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 62%; scroll-snap-align: start; }
  .reels-home .reel { flex-basis: 70%; }
}

/* ---- WordPress (tools/build_theme.py) ---- */
body.admin-bar .site-head { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-head { top: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar .site-head { top: 0; } }
.reel-frame video:not([poster]) { background: #0f1b33; }
