/* The version 4 look for the inner pages. Loaded AFTER site.css, theme-b.css and the page's own sheet, it restyles the
   markup those pages already have (so programme.js, the forms and the apply window keep working) to match the new
   home page: dark header and footer, condensed capital headings, IBM Plex text, square corners, no shadows.
   shortcut: this is a restyling layer over the old sheets, not a rewrite; once every page uses it, fold the old
   sheets and this one into a single stylesheet shared with home-v4.css. */
:root, .px {
  --green: #0b7a1f; --green-dark: #095f18; --green-soft: #e4f3e6; --green-ink: #0a4a14; --lamp: #3ddc6b;
  --amber: #0b7a1f; --amber-soft: #e6e4dc;
  --ink: #0e1411; --ink-2: #3c4440; --muted: #57605b; --line: #d5d3ca; --paper: #eae8e2; --bg: #f3f2ed; --bg-2: #e6e4dc;
  --plate: #e6e4dc; --plate-line: #c9c6bb;
  --radius: 4px; --shadow: none;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
body { font-family: var(--sans); background: var(--bg); color: var(--ink); }
/* the old sheets name Manrope, Inter and Fraunces rule by rule; one rule here hands every element the page font,
   and the two below put the display and figure faces back where they belong */
body :where(*) { font-family: inherit !important; }
h1, h2 { font-family: var(--display) !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0; line-height: .98; }
.px .feebox .big, .px .feebox .big small, .px .soon-tag, .px .equip small, .course .fee, .px .course .fee.soon, .compare td b, .px .compare tbody th,
.px .timeline b, .module .n, .path .price, .cal-side b, .cmp-c .big, .pc-price b, .px-share b, .facts b { font-family: var(--mono) !important; letter-spacing: 0; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3, h4 { font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.px .phero h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: .96; max-width: none; color: var(--ink); }

/* labels above headings become the engraved plate used on the home page */
.kicker, .px .kicker, .px .eyebrow { display: inline-block; background: var(--ink); color: #fff; font: 600 13px/1 var(--display) !important; letter-spacing: .11em; text-transform: uppercase; padding: 7px 10px 6px; border-radius: 2px; }
.px .kicker::before, .px .eyebrow::before { display: none; }

/* buttons: square, one green */
.btn { border-radius: 4px; font-weight: 600; min-height: 48px; }
.btn-sm { min-height: 44px; }
.btn-primary { background: var(--green); color: #fff; }
.btn:active { transform: scale(.97); }

/* header, top bar, menus and footer: the dark chrome of the home page */
.topbar { background: var(--ink); color: #d8dcd9; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.topbar a { color: inherit; }
header.site { background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: none; backdrop-filter: none; }
.logo { display: flex; align-items: center; background: #fff; padding: 4px 10px; border-radius: 2px; }
.logo img { height: 34px; }
nav.main a { color: #cdd3cf; font-weight: 500; }
nav.main a:hover, nav.main a.active { color: #fff; }
nav.main .menu { background: #161e1a; border-color: rgba(255, 255, 255, .16); border-radius: 4px; box-shadow: none; }
nav.main .menu a { color: #fff; border-radius: 2px; }
nav.main .menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
nav.main .menu small { color: #aab2ad; }
header.site .head-cta .btn-outline { border-color: transparent; background: transparent; color: #cdd3cf; }
header.site .head-cta .btn-outline:hover { color: #fff; background: transparent; }
.burger { color: #fff; }
.mobile-nav { background: var(--ink); border-bottom-color: rgba(255, 255, 255, .14); }
.mobile-nav a { color: #fff; border-top-color: rgba(255, 255, 255, .12); }
.mobile-nav a.sub { color: #cdd3cf; }
footer.site { background: var(--ink); background-image: none; color: #cdd3cf; }
.band { background: var(--green); background-image: none; }
.band h2 { font-size: clamp(36px, 5.4vw, 80px); }
.band p { color: #fff; }

/* surfaces: flat, square, hairlines */
.alt { background: var(--bg-2); }
.feebox, .px .feebox { border-radius: 4px; box-shadow: none; }
.subnav { background: var(--bg); }
.px .subnav a { font: 500 15px/1 var(--sans) !important; letter-spacing: 0; text-transform: none; }
.sticky-cta { background: var(--bg); }
/* photographs: black and white like the home page, except the one at the top of the page */
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.feebox .kicker, .px .feebox .kicker { color: #fff !important; }
main img, main figure { box-shadow: none !important; }
.px .phero h1 { font-size: clamp(38px, 4.6vw, 64px); }
.band, .px .band { background: var(--green); background-image: none; }
.band .btn-light, .band .btn-primary { background: #fff; color: var(--ink); }
.band .btn-ghost, .band .btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
footer.site .socials a { border: 0; border-radius: 0; padding: 0; background: none; color: var(--lamp); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
footer.site .socials { gap: 20px; }
/* the apply window and forms */
.modal { background: rgba(10, 12, 13, .72); }
.modal .box { background: var(--bg); border-radius: 4px; border: 1px solid var(--line); }
.plan { border-width: 1px; border-radius: 4px; background: var(--bg); }
.plan.on { border-color: var(--green); background: var(--green-soft); }
form.std input, form.std select, form.std textarea { border-radius: 4px; }

/* MINIMAL + GLASS (MD, 25 Nov: "minimalist touch and glass oval like Apple"). The floating parts are glass capsules:
   the header, the section links, the fee box where it overlaps the photo, and the phone bar. Everything else gets
   quieter: plain labels, soft round corners, capsule buttons, more air. Each glass surface is nearly solid by
   default and only turns translucent where the browser can blur, and goes solid again for people who ask their
   device for less transparency or more contrast. */
:root { --glass-dark: rgba(14, 20, 17, .94); --glass-light: rgba(243, 242, 237, .96); --glass-blur: none; --round: 22px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass-dark: rgba(14, 20, 17, .72); --glass-light: rgba(243, 242, 237, .78); --glass-blur: blur(22px) saturate(180%); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root { --glass-dark: #0e1411; --glass-light: #f3f2ed; --glass-blur: none; }
}
.topbar { background: transparent; color: var(--muted); border-bottom: 0; font-size: 14px; }
.topbar a { color: var(--ink-2); }
header.site { top: 10px; background: transparent; border-bottom: 0; padding: 0 16px; pointer-events: none; }
header.site .wrap { pointer-events: auto; height: 60px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--glass-dark); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 30px rgba(14, 20, 17, .16); }
.logo { border-radius: 999px; padding: 4px 14px; }
nav.main .menu { top: 2.6rem; border-radius: var(--round); padding: 8px; background: var(--glass-dark); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 16px 40px rgba(14, 20, 17, .2); }
nav.main .menu a { border-radius: 14px; }
.mobile-nav { margin: 16px 16px 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--round); overflow: hidden; background: var(--glass-dark); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); position: sticky; top: 80px; z-index: 49; }
.mobile-nav a:first-child { border-top: 0; }

.btn { border-radius: 999px; padding-inline: 22px; }
.kicker, .px .kicker, .px .eyebrow { background: none; color: var(--muted); padding: 0; border-radius: 0; font: 500 15px/1.4 var(--sans) !important; letter-spacing: 0; text-transform: none; }
.feebox .kicker, .px .feebox .kicker { color: var(--muted) !important; }

.px .subnav { top: 80px; background: transparent; border: 0; padding: 0 16px; pointer-events: none; }
.px .subnav .wrap { pointer-events: auto; width: fit-content; max-width: 100%; margin-inline: auto; height: 46px; gap: 22px; padding: 0 24px; border-radius: 999px; background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(14, 20, 17, .1); box-shadow: 0 6px 20px rgba(14, 20, 17, .08); scrollbar-width: none; }
.px .subnav .wrap::-webkit-scrollbar { display: none; }

.px-shot > img, main img { border-radius: var(--round); }
.px .equip img { border-radius: 10px; }
.px .feebox { background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--round); box-shadow: 0 14px 40px rgba(14, 20, 17, .12); padding: 24px; }
.px .feebox::before, .px .feebox::after { display: none; }
.px-shot .feebox { margin-top: -120px; }
.px .feebox .btn { border-radius: 999px; }
.px-sched, .px .modules:not(.px-sched .modules) { border-color: var(--line); border-radius: var(--round); }
.modal .box { border-radius: 26px; }
.plan, form.std input, form.std select, form.std textarea { border-radius: 14px; }
.band, .px .band { margin: 0 16px 16px; border-radius: 28px; }
section { scroll-margin-top: 140px; }

.px .sticky-cta { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 6px; border: 1px solid rgba(14, 20, 17, .1); border-radius: 999px; background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 10px 30px rgba(14, 20, 17, .16); }
.px .sticky-cta .btn { border-radius: 999px; min-height: 44px; }
@media (max-width: 960px) { .px-shot .feebox { margin-top: -72px; } }
@media (max-width: 600px) { header.site { padding: 0 10px; } header.site .wrap { height: 56px; } .px .subnav { top: 74px; padding: 0 10px; } .px .subnav .wrap { padding: 0 18px; } .band, .px .band { margin: 0 10px 10px; } }
.feebox .kicker, .px .feebox .kicker { letter-spacing: 0 !important; }
.px main img, main.px img { border-radius: var(--round); }
.px .equip img, main.px .equip img { border-radius: 10px; }

/* UNSLOP PASS on the programme pages (25 Nov). What the audit found and this fixes: small spaced-capital labels,
   text under 13px, an equipment list mixing tiny photos with icons, three buttons in the hero, italics for notes,
   and a curriculum table that was the page's best content but looked like any table. */
/* labels and small print: sentence case, readable size, one muted colour */
.px .timeline b, .px-modhead, .px .feebox .big small, .px .soon-tag, .px-share b, .px-plate dt, .px .compare thead th { font: 500 14px/1.4 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; }
.px .timeline b { color: var(--muted); }
.px .feebox .big small { color: var(--muted); opacity: 1 !important; margin-top: 4px !important; }
.px .soon-tag { background: none; border: 0; padding: 0; margin-left: 8px; color: var(--muted); }
.px em, .px em.muted { font-style: normal; color: var(--muted); }
.px .equip small { font: 400 14px/1.45 var(--sans) !important; color: var(--muted); }
/* the equipment list: names and makes only; the 64px photos and the two icons said nothing at that size */
.px .equip > div { grid-template-columns: minmax(0, 1fr); padding: 16px 0; }
.px .equip .eq-th, .px .equip .eq-ico { display: none; }
/* the hero keeps one main button and one second button; WhatsApp becomes a plain link beside them */
.px .phero .acts { align-items: center; gap: 12px; }
.px .phero .acts .btn:nth-child(n+3) { min-height: 44px; padding: 0 8px; border-color: transparent; background: none; color: var(--green-ink); text-decoration: underline; text-underline-offset: 4px; }
/* the curriculum is this page's centrepiece: calm rows, real numbers, and a bar per module drawn from its weeks */
.px-sched, .px .modules:not(.px-sched .modules) { background: var(--bg); }
.px-modhead { background: none; color: var(--muted); border-bottom: 1px solid var(--line); padding: 16px 24px; }
.px .module { padding: 20px 24px; }
.px .module:hover { background: var(--bg-2); }
.px .module.final { background: var(--green-soft); }
.px .module .n, .px .module.final .n { font: 500 15px/1.6 var(--mono) !important; color: var(--muted); padding-top: 0; font-variant-numeric: tabular-nums; }
.px .module h4 { font-size: 18px; margin-bottom: 4px; }
.px .module .skills { margin-top: 8px; }
.px .module .skills span { font: 400 14px/1.4 var(--sans) !important; letter-spacing: 0; color: var(--muted); }
.px .module .dur { font: 500 15px/1.6 var(--mono) !important; color: var(--ink); padding-top: 0; font-variant-numeric: tabular-nums; }
.px .module .dur::after { content: ""; display: block; margin: 8px 0 0 auto; width: calc(var(--wk, 0) * 14px); height: 4px; border-radius: 2px; background: var(--ink); }
.px .module.final .dur::after { background: var(--green); }
.px .module.is-soon .dur::after { background: var(--muted); }
@media (max-width: 680px) { .px .module { padding: 16px; } .px .module .dur::after { margin-left: 0; } }
/* softer, not a full oval (MD, 25 Nov): the header matches the home page's gently rounded floating panel */
header.site .wrap { border-radius: 16px; }
.logo { border-radius: 10px; padding: 4px 10px; }
nav.main .menu, .mobile-nav { border-radius: 16px; }

/* COURSE LISTING PAGES (Professional Courses, 25 Nov): the same treatment for the parts the Academy Programme page
   does not have: the course cards, the summary box on the photo and the comparison table. */
.px .course { border-radius: var(--round); border: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--bg); padding: 20px; }
.px .course.is-soon { border-top-color: var(--line); }
.px .course > .tag { font: 400 14px/1.45 var(--sans) !important; letter-spacing: 0; text-transform: none; color: var(--muted); }
.px .course .pic { border-radius: 14px; }
.px .course h3 { font-size: 20px; }
.px .course .fee { font: 500 24px/1.2 var(--mono) !important; color: var(--ink); }
.px .course .fee small { font: 400 14px/1.4 var(--sans) !important; color: var(--muted); }
.px .course .fee.soon { font: 500 15px/1.4 var(--sans) !important; background: none; padding: 0; color: var(--muted); }
.px .course .btn, .px .course .btn-primary { border-radius: 999px; }
.px .course summary { cursor: pointer; }
/* the summary box on the hero photo is the same frosted glass as the fee box */
.px-plate { background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--round); box-shadow: 0 14px 40px rgba(14, 20, 17, .12); padding: 20px 24px; color: var(--ink); }
.px-plate::before, .px-plate::after { display: none; }
.px-plate b.t { font: 500 15px/1.4 var(--sans) !important; letter-spacing: 0; text-transform: none; color: var(--muted); border-bottom-color: rgba(14, 20, 17, .12); }
.px-plate dl { font: 400 15px/1.5 var(--sans) !important; gap: 6px 16px; }
.px-plate dt { text-transform: none !important; letter-spacing: 0 !important; color: var(--muted); }
.px-shot .px-plate { margin-top: -96px; width: min(400px, 84%); }
/* the comparison table: quiet header, plain course names, hairlines */
.px .compare-wrap { border-color: var(--line); border-radius: var(--round); overflow: hidden; }
.px .compare thead th, .px .compare thead th:first-child { background: none; color: var(--muted); border-bottom: 1px solid var(--line); }
.px .compare tbody th, .px .compare.names tbody th { font: 600 16px/1.4 var(--sans) !important; letter-spacing: 0; text-transform: none; color: var(--ink); background: none; }
.px .compare tbody tr:hover td { background: var(--bg-2); }
.px .compare td, .px .compare th { background: var(--bg); }
@media (max-width: 960px) { .px-shot .px-plate { margin-top: -64px; } }

/* PAGES WITH A PLAIN TITLE BAND (training calendar first, 27 Nov; the remaining pages use the same band). Outside
   the programme pages the title band was a green gradient with a circuit pattern: it becomes the home page's
   solid dark, with quiet labels. */
main:not(.px) .phero { background: var(--ink); background-image: none; color: #fff; padding-block: 48px 56px; }
main:not(.px) .phero h1 { color: #fff; max-width: none; }
main:not(.px) .phero .lead { color: #d8dcd9; }
main:not(.px) .phero a { color: #cdd3cf; }
.tag, .tag.amber { background: none; border: 0; border-radius: 0; padding: 0; font: 500 15px/1.4 var(--sans) !important; letter-spacing: 0; text-transform: none; color: var(--muted); }
main:not(.px) .phero .tag { color: #aab2ad; margin-bottom: 8px; }
.pill { background: none; border: 0; border-radius: 0; padding: 0; font: 500 14px/1.4 var(--sans) !important; letter-spacing: 0; text-transform: none; color: var(--green-ink); }
.card { border-radius: var(--round); box-shadow: none; }
/* the training calendar */
.tabs-cal { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs-cal button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 500 15px/1 var(--sans) !important; cursor: pointer; }
.tabs-cal button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal-month { font-size: 28px; margin: 40px 0 12px; }
.cal-rows { gap: 12px; }
.cal-row { background: var(--bg); border: 1px solid var(--line); border-radius: var(--round); box-shadow: none; padding: 20px 24px; }
.cal-date b { font: 500 32px/1 var(--mono) !important; color: var(--ink); font-variant-numeric: tabular-nums; }
.cal-date span { font-size: 14px; color: var(--muted); }
.cal-body h3 { font-size: 20px; }
.cal-body h3 small, .cal-body h3 span { font-weight: 400; color: var(--muted); }
.cal-body em { font-style: normal; color: var(--muted); }
.cal-side b { font: 500 22px/1.2 var(--mono) !important; color: var(--ink); }
.pill.ok, .pill.warn, .pill.bad, .pill.mut { background: none; }
.pill.ok { color: var(--green-ink); } .pill.warn { color: #7a5200; } .pill.bad { color: #7a1616; } .pill.mut { color: var(--muted); }

/* THE REMAINING PAGES (27 Nov): policy and article text, the compare tool, the facility page, contact and verify. */
/* long text: headings inside an article or policy read as text headings, not display capitals */
.prose h2 { font: 600 22px/1.3 var(--sans) !important; text-transform: none; letter-spacing: 0; margin-top: 40px; }
.prose h3 { font: 600 18px/1.35 var(--sans) !important; }
.prose { max-width: 720px; font-size: 17px; line-height: 1.65; }
.prose th { background: var(--bg-2); color: var(--ink); font-weight: 600; }
/* compare tool */
.pick-l, .cmp-l { font: 500 14px/1.45 var(--sans) !important; letter-spacing: 0; text-transform: none; color: var(--muted); }
.cmp-pick, .cmp-diff { border-radius: var(--round); }
.cmp-pick { background: var(--bg); }
.cmp-diff { background: var(--bg-2); }
.cmp-head { top: 84px; border-bottom: 1px solid var(--line); }
.cmp-sec { font: 600 20px/1.3 var(--sans) !important; color: var(--ink); text-transform: none; }
/* facility page */
.fx .eyebrow, .fx .kicker { font: 500 15px/1.4 var(--sans) !important; letter-spacing: 0; text-transform: none; color: var(--muted); display: block; }
.fx .eyebrow::before, .fx .kicker::before { display: none; }
.fx-film .eyebrow { color: #aab2ad; }
.fx-hero h1 em { font-style: normal; font-weight: inherit; color: var(--green); }
.fx .plate { background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--round); box-shadow: 0 14px 40px rgba(14, 20, 17, .12); color: var(--ink); }
.fx .plate::before, .fx .plate::after { display: none; }
.fx .plate b, .fx .plate dt { font: 500 14px/1.4 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--muted); }
.fx .plate dl, .fx .plate dd { font: 400 14px/1.5 var(--sans) !important; }
.sched th { font: 500 14px/1.4 var(--sans) !important; letter-spacing: 0; text-transform: none; background: none; color: var(--muted); border-bottom: 1px solid var(--line); }
/* cards and form fields everywhere */
.card { background: var(--bg-2); border-color: transparent; }
form.std input, form.std select, form.std textarea, .card input, .card select { background: var(--bg); }
.course { border-radius: var(--round); }
.course .pic { border-radius: 14px; }

/* Programmes menu: cover the gap under the button so the menu stays open while the mouse crosses it */
nav.main .menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 20px; }

/* OBSERVATIONS OF 28 NOV */
/* section menu: a green bubble on the section you are reading */
.px .subnav .wrap { gap: 0; }
.px .subnav a { padding: 8px 12px; border-radius: 999px; }
.px .subnav a[aria-current] { background: rgba(11, 122, 31, .12); color: var(--green); }
/* course overview headline: it carries a whole sentence, so it reads better smaller */
.px #overviewText h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; max-width: 26ch; }
.fx .intro.wide { max-width: none; }
