@charset "UTF-8";

/* ------------------------------------------------------------------
   Transformacia, design concept v3 (modern, light only)
   Forest + lime on soft paper. Rounded shapes, tinted surfaces,
   gentle depth, one typeface (Onest, self-hosted).
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/fonts/onest-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/fonts/onest-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #f7f8f3;
  --mint: #e6f0df;
  --mint-2: #d3e5c6;
  --lime: #d8f478;
  --lime-soft: #eef8c4;
  --surface: #ffffff;
  --ink: #183d38;
  --muted: #566459;
  --line: #dce3da;
  --field-line: #7b8a80;
  --accent: #183d38;
  --accent-hover: #285b4c;
  --accent-text: #3c6b1d;
  --on-accent: #ffffff;
  --r-lg: 36px;
  --r-md: 24px;
  --r-sm: 14px;
  --shadow-sm: 0 1px 2px rgb(24 61 56 / .05), 0 8px 20px -10px rgb(24 61 56 / .16);
  --shadow-md: 0 2px 4px rgb(24 61 56 / .05), 0 28px 50px -22px rgb(24 61 56 / .30);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Onest', system-ui, 'Segoe UI', Arial, sans-serif;
  --gutter: 32px;
  --header-h: 84px;
  --measure: 65ch;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 156px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
p { text-wrap: pretty; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

h2, .h2 { font-size: clamp(34px, 4vw, 56px); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 46ch; margin-top: 20px; }
mark {
  background: linear-gradient(transparent 58%, var(--lime) 58% 94%, transparent 94%);
  color: inherit; padding: 0 .06em; margin: 0 -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---- Scroll reveal (only when JS is running) ---- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Controls ---- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  border: 0; border-radius: var(--r-sm);
  background: var(--accent); color: var(--on-accent);
  font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgb(24 61 56 / .55);
  transition: background-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.button:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgb(24 61 56 / .45); }
.button:active { transform: translateY(0) scale(.98); }
.button-small { min-height: 44px; padding: 0 22px; font-size: 15px; box-shadow: none; }

.link {
  display: inline-block; padding: 0 2px 3px; border: 0; border-radius: 0;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 7px no-repeat;
  font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink);
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(247 248 243 / .82);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid rgb(24 61 56 / .07);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: auto; height: 64px; }
.site-footer .brand img { height: 56px; }
.site-nav { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.site-nav > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border: 0; border-radius: 999px; background: none; font: inherit; color: inherit;
  transition: background-color .2s;
}
.site-nav > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--mint); }
.site-nav > a[aria-current], .nav-trigger[aria-current] { background: var(--mint); }
.site-nav .button { margin-left: 10px; }
.nav-trigger .plus { width: 12px; height: 12px; background: none; }
.nav-trigger .plus::before, .nav-trigger .plus::after { left: 1px; top: 5px; width: 10px; height: 2px; }

/* ---- Megamenu ---- */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(1200px, calc(100% - var(--gutter) * 2));
  background: var(--bg); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-md);
}
.mega-inner { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 36px; }
.mega-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-content: start; }
.mega-group h3 { margin-bottom: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--accent-text); }
.mega-link { display: block; margin: 0 -16px; padding: 12px 16px; border-radius: 16px; transition: background-color .2s; }
.mega-link:hover { background: var(--mint); }
.mega-link strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.mega-link span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.mega-feature { display: flex; flex-direction: column; align-self: start; padding: 12px; border-radius: 24px; background: var(--lime-soft); }
.mega-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.mega-feature-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 12px 12px; }
.mega-feature .kind { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--lime); font-size: 13px; font-weight: 600; }
.mega-feature h3 { margin-top: 6px; font-size: 24px; }
.mega-feature p { font-size: 15px; color: var(--muted); }
.mega-feature .link { align-self: flex-start; margin-top: 10px; }
.mega-foot { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }

.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--mint); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--ink); }

/* ---- Plus / minus marker ---- */
.plus { position: relative; display: block; width: 40px; height: 40px; margin-left: auto; flex: none; border-radius: 50%; background: var(--mint); transition: background-color .2s; }
.plus::before, .plus::after { content: ''; position: absolute; left: 13px; top: 19px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.plus::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
[aria-expanded="true"] > .plus::after, details[open] > summary .plus::after { transform: rotate(0); }
details[open] > summary .plus { background: var(--lime); }

/* ---- Home: hero ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 72px; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48% 55% at 92% 8%, rgb(216 244 120 / .5), transparent 70%),
    radial-gradient(44% 50% at 0% 100%, rgb(211 229 198 / .7), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.05em; font-weight: 620; }
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-visual { position: relative; padding: 28px 0 40px 28px; }
.hero-visual::before { content: ''; position: absolute; top: 0; right: -24px; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); }
.hero-visual::after { content: ''; position: absolute; bottom: 8px; left: -8px; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--mint-2); }
.hero-photo { position: relative; z-index: 1; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: 160px 36px 36px 36px; box-shadow: var(--shadow-md); }
.chip { position: absolute; z-index: 2; display: flex; flex-direction: column; padding: 14px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-md); line-height: 1.25; }
.chip strong { font-size: 30px; font-weight: 620; letter-spacing: -.04em; line-height: 1; }
.chip span { margin-top: 4px; font-size: 13px; color: var(--muted); }
.chip-a { left: -8px; bottom: 6px; }
.chip-b { right: -10px; top: 6px; background: var(--ink); }
.chip-b strong { color: var(--lime); }
.chip-b span { color: #c9d9d2; }

/* ---- Home: clients marquee ---- */
.clients { padding: 0 0 24px; }
.clients p { margin-bottom: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 75s linear infinite; }
.marquee-set { display: flex; flex: none; align-items: center; gap: 64px; padding-right: 64px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: auto; height: 38px; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .75; flex: none; }
/* three identical sets of 15 distinct logos, shifting by exactly one set: no gaps on wide screens, no repeats within a screen */
@keyframes marquee { to { transform: translateX(-33.3333%); } }

/* ---- Home: programmes ---- */
.section { padding: 112px 0; }
.clients + .section { padding-top: 80px; }
.section-head { max-width: 40rem; }
.bento { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: 1fr 1fr; gap: 24px; margin-top: 56px; }
.program {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.program-media { overflow: hidden; border-radius: 26px; }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program:hover .program-media img { transform: scale(1.05); }
.program-body { display: flex; flex-direction: column; flex: 1; padding: 26px 32px 32px; }
.program-kind { align-self: flex-start; padding: 5px 14px; border-radius: 999px; background: var(--lime); font-size: 13px; font-weight: 600; }
.program h3 { margin-top: 16px; font-size: 30px; }
.program-text { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 38ch; }
.program-meta { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--accent-text); }
.program .link { margin-top: 24px; align-self: flex-start; }
.program-lead { grid-row: span 2; background: var(--mint); padding: 12px; }
.program-lead .program-media img { aspect-ratio: 3 / 2; }
.program-lead .program-body { padding: 26px 24px 24px; }
.program-lead h3 { font-size: 40px; }
.program-row { flex-direction: row; padding: 12px; }
.program-row .program-media { width: 240px; flex: none; }
.program-row .program-body { padding: 14px 22px 14px 28px; justify-content: center; }
.program-row:nth-child(3) { background: var(--lime-soft); }

/* ---- Home: organisations ---- */
.org-panel { position: relative; overflow: hidden; padding: 80px 72px; border-radius: 48px; background: var(--mint); }
.org-panel::after { content: ''; position: absolute; top: -90px; right: -70px; width: 320px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); }
.org-panel > * { position: relative; z-index: 1; }
.org-panel h2 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.045em; max-width: 12em; }
.org-body { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; margin-top: 56px; align-items: start; }
.org-body .prose p:first-child { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; letter-spacing: -.01em; }
.org-body .prose p + p { margin-top: 20px; color: var(--muted); max-width: var(--measure); }
.services { display: flex; flex-wrap: wrap; gap: 12px; }
.services li { padding: 14px 24px; border-radius: 999px; background: var(--surface); font-size: 18px; font-weight: 550; letter-spacing: -.01em; line-height: 1.3; box-shadow: var(--shadow-sm); transition: background-color .25s, transform .3s var(--ease); }
.services li:hover { background: var(--lime); transform: translateY(-3px); }

/* ---- Home: approach ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; align-items: start; }
.step { padding: 32px 28px 34px; border-radius: var(--r-md); background: var(--tint, var(--surface)); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step:nth-child(1) { --tint: var(--surface); }
.step:nth-child(2) { --tint: var(--mint); margin-top: 32px; }
.step:nth-child(3) { --tint: var(--lime-soft); margin-top: 64px; }
.step:nth-child(4) { --tint: var(--lime); margin-top: 96px; }
.step h3 { font-size: 28px; }
.step p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.step:nth-child(4) p { color: #40564d; }

/* ---- Home: people ---- */
.people-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
.people-grid .prose > p { margin: 20px 0 28px; color: var(--muted); max-width: 48ch; }
.person-list { display: grid; gap: 16px; }
.person-list li { display: flex; align-items: center; gap: 24px; padding: 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.person-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.person-list li:nth-child(2) { margin-left: 40px; }
.person-list img { width: 128px; height: 128px; flex: none; object-fit: cover; object-position: top; border-radius: 18px; }
.person-list .name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.person-list .role { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---- Contact ---- */
.contact-panel { position: relative; overflow: hidden; padding: 88px 72px; border-radius: 48px; background: var(--lime); }
.contact-panel::before { content: ''; position: absolute; right: -120px; bottom: -160px; width: 460px; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .38); }
.contact-panel::after { content: ''; position: absolute; right: 140px; top: -70px; width: 180px; aspect-ratio: 1; border-radius: 50%; background: rgb(24 61 56 / .07); }
.contact-panel > * { position: relative; z-index: 1; }
.contact h2 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.045em; max-width: 11em; }
.contact-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 44px; flex-wrap: wrap; }
.contact-row .lede { margin-top: 0; color: #3f5a41; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; font-size: 18px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; font-weight: 550; }
.contact-lines a .icon { width: 22px; height: 22px; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-panel .button:hover { background: var(--surface); }

/* ---- Footer ---- */
.site-footer { padding: 24px 0 32px; font-size: 16px; }
.site-footer .wrap-wide { width: min(1760px, calc(100% - 48px)); }
.footer-panel { --fp: clamp(28px, 5.2vw, 96px); position: relative; overflow: hidden; container-type: inline-size; padding: calc(var(--fp) * .9) var(--fp) 0; border-radius: 48px; background: var(--mint); }
.footer-panel::before { content: ''; position: absolute; top: -150px; right: -130px; width: clamp(300px, 24vw, 460px); aspect-ratio: 1; border-radius: 50%; background: var(--lime); opacity: .85; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 72px); }
.footer-about { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer-tag { max-width: 14em; font-size: clamp(28px, 2.9vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.footer-col h3 { margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--accent-text); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 6px no-repeat; padding-bottom: 1px; transition: background-size .3s var(--ease); }
.footer-col a:hover { background-size: 100% 6px; }
.footer-place { color: #3f5a41; }
.footer-giant {
  position: relative; z-index: 1; margin: 56px calc(var(--fp) * -1) 0; padding-inline: 0;
  font-size: 17.6cqw; font-weight: 650; letter-spacing: -.06em; line-height: .8; text-align: center; white-space: nowrap;
  color: rgb(255 255 255 / .62); height: .62em; overflow: hidden; user-select: none;
}
.footer-bottom { display: flex; align-items: center; gap: 28px; margin-top: 20px; padding: 4px 8px; font-size: 14px; color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-top-link { margin-left: auto; }

/* ---- Enquiry dialog ---- */
.enquiry-dialog { width: min(540px, calc(100% - 32px)); max-height: 90dvh; overflow: auto; padding: 44px; border: 0; border-radius: 32px; background: var(--bg); color: var(--ink); box-shadow: var(--shadow-md); }
.enquiry-dialog::backdrop { background: rgb(16 40 36 / .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.dialog-open { overflow: hidden; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--mint); font-size: 20px; transition: background-color .2s; }
.dialog-close:hover { background: var(--lime); }
.enquiry-dialog h2 { font-size: 40px; }
.dialog-topic { margin: 10px 0 28px; color: var(--muted); font-size: 15px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 550; }
.form-field input, .form-field textarea { display: block; width: 100%; padding: 14px 18px; border: 1px solid var(--field-line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime); }
.form-field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { margin-top: 6px; font-size: 14px; color: #b3261e; }
.form-note { margin: 4px 0 24px; font-size: 14px; color: var(--muted); }
.enquiry-result { padding-top: 8px; }
.enquiry-result h3 { font-size: 30px; margin-bottom: 12px; }
.enquiry-result p { color: var(--muted); font-size: 16px; }
.enquiry-result > a { display: block; margin: 16px 0 28px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==================================================================
   Course page
   ================================================================== */
.course-hero { position: relative; isolation: isolate; padding: 24px 0 24px; }
.course-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 60% at 96% 0%, rgb(216 244 120 / .45), transparent 70%); -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; font-size: 14px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
.course-hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.course-hero h1 { font-size: clamp(44px, 5.8vw, 82px); line-height: 1; letter-spacing: -.05em; font-weight: 620; }
.course-lead { margin-top: 24px; font-size: clamp(20px, 2vw, 25px); line-height: 1.4; letter-spacing: -.015em; max-width: 26ch; }
.course-description { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.course-hero .hero-actions { margin-top: 32px; }
.intake-note { margin-top: 20px; display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--lime-soft); font-size: 14px; }
.course-hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 140px 36px 36px 36px; box-shadow: var(--shadow-md); }

.course-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.fact { padding: 26px 28px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.fact:nth-child(2) { background: var(--mint); }
.fact:nth-child(3) { background: var(--lime-soft); }
.fact:nth-child(4) { background: var(--lime); }
.fact strong { display: block; font-size: 48px; font-weight: 620; letter-spacing: -.045em; line-height: 1; }
.fact strong span { margin-left: 6px; font-size: 20px; letter-spacing: -.02em; font-weight: 500; }
.fact p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.fact:nth-child(4) p { color: #40564d; }

.course-subnav { position: sticky; top: var(--header-h); z-index: 30; margin-top: 40px; padding: 10px 0; background: rgb(247 248 243 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(24 61 56 / .07); }
.course-subnav .wrap { display: flex; gap: 6px; }
.course-subnav a { padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background-color .2s; }
.course-subnav a:hover { background: var(--mint); }

.course-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.course-section { padding: 72px 0 24px; scroll-margin-top: 150px; }
.course-section:first-child { padding-top: 64px; }
.course-section h2 { font-size: clamp(32px, 3.4vw, 46px); }
.course-section > p { margin-top: 20px; color: var(--muted); max-width: var(--measure); }
.course-section > .section-intro { margin-top: 24px; color: var(--ink); font-size: 20px; line-height: 1.5; }
.subheading { margin-top: 48px; font-size: 22px; letter-spacing: -.02em; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.audience > div { padding: 24px 26px 26px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.audience > div:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience > div:nth-child(2), .audience > div:nth-child(3) { background: var(--mint); }
.audience h4 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.audience p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.outcome-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r-md); background: var(--mint); font-size: 17px; line-height: 1.45; }
.outcome-list .tick { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); }
.outcome-list .tick .icon { width: 16px; height: 16px; }

.curriculum-list, .faq-list { display: grid; gap: 12px; margin-top: 32px; }
details { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: background-color .3s; }
details[open] { background: var(--mint); }
summary { display: flex; align-items: center; gap: 20px; cursor: pointer; list-style: none; padding: 22px 24px 22px 28px; border-radius: var(--r-md); }
summary::-webkit-details-marker { display: none; }
.summary-title { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.summary-title small { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--accent-text); }
details[open] > summary { padding-bottom: 12px; }
.module-body { padding: 0 32px 28px 28px; max-width: 68ch; }
.module-body > p { font-size: 17px; }
.module-body ul { margin: 16px 0 20px; padding-left: 20px; list-style: disc; color: var(--muted); line-height: 1.75; }
.module-body li::marker { color: var(--accent-text); }
.module-body .practice { display: inline-block; padding: 8px 16px; border-radius: 14px; background: var(--lime); color: var(--ink); font-size: 15px; line-height: 1.45; }
.module-body .practice b { font-weight: 650; margin-right: 6px; }
.faq-list summary { padding-block: 20px; }
.faq-list .summary-title { font-size: 18px; font-weight: 580; letter-spacing: -.01em; line-height: 1.4; }
.faq-list details > p { max-width: 62ch; padding: 0 32px 24px 28px; color: var(--muted); font-size: 16px; }

.assessment { margin-top: 32px; padding: 36px 36px 40px; border-radius: var(--r-md); background: var(--lime); }
.assessment h3 { font-size: 26px; }
.assessment p { margin-top: 10px; color: #3f5a41; max-width: 52ch; }

.trainers { display: grid; gap: 16px; margin-top: 32px; }
.trainer { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; padding: 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.trainer img { width: 150px; height: 170px; object-fit: cover; object-position: top; border-radius: 18px; }
.trainer h3 { font-size: 24px; }
.trainer .role { margin-top: 6px; font-size: 15px; font-weight: 550; color: var(--accent-text); }
.trainer p:last-child { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 52ch; }
.other-trainers { margin-top: 20px; padding: 18px 24px; border-radius: var(--r-sm); background: var(--mint); color: var(--muted); font-size: 16px; max-width: none; }
.other-trainers b { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }

.testimonial { margin-top: 72px; padding: 56px 56px 52px; border-radius: var(--r-lg); background: var(--lime-soft); }
.testimonial blockquote { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -.025em; font-weight: 550; max-width: 22em; text-wrap: balance; }
.quote-source { margin-top: 28px; font-size: 15px; color: var(--muted); }
.quote-source strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }

.source-note { margin-top: 32px; font-size: 14px; color: var(--muted); max-width: 62ch; }

.course-sidebar { position: sticky; top: calc(var(--header-h) + 76px); padding: 72px 0 48px; }
.enrolment { padding: 32px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-md); }
.enrolment h2 { font-size: 32px; }
.enrolment-status { margin-top: 24px; padding: 14px 18px; border-radius: 16px; background: var(--lime-soft); }
.enrolment-status span { display: block; font-size: 14px; color: var(--muted); }
.enrolment-status strong { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; }
.enrolment > p { margin-top: 16px; color: var(--muted); font-size: 15px; }
.enrolment .button { width: 100%; margin-top: 22px; }
.enrolment ul { display: grid; gap: 10px; margin: 24px 0; font-size: 15px; }
.enrolment li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; }
.enrolment li .tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); }
.enrolment li .icon { width: 12px; height: 12px; }
.brochure-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--mint); font-size: 15px; font-weight: 600; line-height: 1.3; transition: background-color .2s; }
.brochure-link:hover { background: var(--lime); }
.brochure-link .icon { width: 28px; height: 28px; }
.brochure-link small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--muted); }
.group-enquiry { padding: 32px 8px 0; }
.group-enquiry h3 { font-size: 22px; }
.group-enquiry p { margin: 12px 0 18px; color: var(--muted); font-size: 15px; }

.course-page .section.contact { padding-top: 96px; }

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 1080px) {
  .mega-inner { grid-template-columns: 1fr 280px; gap: 32px; padding: 28px; }
  .org-panel, .contact-panel { padding: 64px 48px; }
  .org-body { gap: 48px; }
  .people-grid { gap: 48px; }
  .course-content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .program-row .program-media { width: 190px; }
  .steps { gap: 14px; }
}

/* Collapse the nav into the menu button early enough for the wide logo */
@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .brand img { height: 56px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-trigger { padding: 16px 18px; font-size: 17px; }
  .nav-trigger { width: 100%; justify-content: space-between; }
  .site-nav .button { margin: 12px 0 0; min-height: 52px; }
  .mega { position: static; transform: none; width: auto; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .mega-inner { grid-template-columns: 1fr; padding: 4px 8px 8px; gap: 0; }
  .mega-groups { grid-template-columns: 1fr; gap: 16px; }
  .mega-feature, .mega-foot { display: none; }
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-about { grid-column: 1 / -1; }
  .mega-inner { grid-template-columns: 1fr; }
  .mega-feature { display: none; }
  .hero-grid, .course-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .course-hero-photo { max-width: 560px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .program-lead { grid-row: auto; }
  .program-lead .program-media img { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .step:nth-child(n) { margin-top: 0; }
  .org-body, .people-grid { grid-template-columns: 1fr; }
  .person-list li:nth-child(2) { margin-left: 0; }
  .course-facts { grid-template-columns: 1fr 1fr; }
  .course-content-grid { display: flex; flex-direction: column; gap: 0; }
  .course-sidebar { position: static; width: 100%; padding: 40px 0 0; order: -1; }
  .group-enquiry { display: none; }
}

@media (max-width: 780px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 120px; }
  .brand img { height: 50px; }
  .hero { padding: 32px 0 72px; }
  .hero-visual { padding: 20px 0 36px 12px; }
  .chip strong { font-size: 24px; }
  .section { padding: 72px 0; }
  .program-row { flex-direction: column; }
  .program-row .program-media { width: 100%; aspect-ratio: 16 / 9; }
  .program-row .program-body { padding: 20px 14px 14px; }
  .program-lead h3 { font-size: 32px; }
  .org-panel, .contact-panel { padding: 48px 26px; border-radius: 32px; }
  .org-body { margin-top: 36px; }
  .steps { grid-template-columns: 1fr; margin-top: 44px; }
  .person-list li { gap: 16px; }
  .person-list img { width: 96px; height: 96px; }
  .contact-row { margin-top: 32px; }
  .enquiry-dialog { padding: 36px 24px; }
  .breadcrumbs { margin-bottom: 24px; }
  .course-facts { margin-top: 40px; gap: 12px; }
  .fact { padding: 20px; }
  .fact strong { font-size: 38px; }
  .course-subnav { margin-top: 28px; }
  .course-subnav .wrap { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .course-subnav .wrap::-webkit-scrollbar { display: none; }
  .course-section { padding: 56px 0 8px; }
  .audience, .outcome-list { grid-template-columns: 1fr; }
  .summary-title { font-size: 19px; }
  summary { padding: 18px 16px 18px 20px; }
  .module-body { padding: 0 20px 24px; }
  .faq-list details > p { padding: 0 20px 22px; }
  .trainer { grid-template-columns: 96px 1fr; gap: 18px; }
  .trainer img { width: 96px; height: 120px; }
  .testimonial { padding: 36px 26px; margin-top: 48px; }
  .assessment { padding: 28px 24px; }
  .footer-panel { --fp: 26px; padding: 40px 26px 0; border-radius: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-giant { margin-top: 40px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 24px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
  .hero h1 { font-size: 42px; }
  .chip-b { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-set[aria-hidden="true"] { display: none; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
