/* ==========================================================================
   Dale Carnegie South Africa - theme styles

   Direction: a light, cool off-white page with near-black type, natural-colour
   photography, and the Dale Carnegie brand teal used with confidence: teal
   primary buttons, deep-teal dark sections (the AI statement and the closing
   section that runs into the footer), teal highlights and figures.

   Type: Cabinet Grotesk (display) + Satoshi (text), self-hosted (Fontshare,
   free for commercial use).

   Shape rule: buttons and chips are full pills; inputs 6px; photographs are
   square with one curved corner, the curve of the Dale Carnegie monogram.
   ========================================================================== */

@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@property --mh { syntax: "<number>"; inherits: true; initial-value: 62; }
@property --mx { syntax: "<number>"; inherits: true; initial-value: 95; }
@property --my { syntax: "<number>"; inherits: true; initial-value: 52; }
@property --mi { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
	/* Neutrals: one cool-grey family. */
	--ink: #121518;
	--ink-2: #1C2024;
	--ink-3: #2B3035;
	--paper: #F4F5F2;
	--surface: #FBFBF9;
	--mist: #E8EAE6;
	--line: #D5D8D3;
	--line-2: #B9BEB8;
	--stone: #51575D;
	--quiet: #858B86;

	/* Brand teal family (one hue, several strengths). */
	--accent: #00B6B3;
	--accent-ink: #00716C;
	--accent-wash: #DCF2F0;
	--deep: #0B3533;
	--deep-2: #12423F;

	--on-ink: #F4F5F2;
	--on-ink-muted: rgba(244, 245, 242, .72);
	--line-ink: rgba(244, 245, 242, .16);

	/* Legacy names used by templates. */
	--white: var(--surface);
	--slate: var(--stone);
	--teal: var(--accent);
	--teal-ink: var(--accent-ink);
	--teal-wash: var(--accent-wash);

	--font-display: "Cabinet Grotesk", "Segoe UI", system-ui, sans-serif;
	--font-text: "Satoshi", "Segoe UI", system-ui, sans-serif;

	--fs-display: clamp(3rem, 1.2rem + 4.2vw, 5.75rem);
	--fs-h1: clamp(2.6rem, 1.55rem + 3.6vw, 5rem);
	--fs-h2: clamp(2.1rem, 1.4rem + 2.4vw, 3.6rem);
	--fs-h3: clamp(1.25rem, 1.1rem + .55vw, 1.6rem);
	--fs-lead: clamp(1.1rem, 1rem + .4vw, 1.35rem);
	--fs-body: 1.09rem;
	--fs-small: .96rem;
	--fs-xs: .84rem;

	--wrap: 1280px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--sec: clamp(5rem, 3rem + 7vw, 10rem);
	--header-h: 76px;
	--curve: clamp(48px, 8vw, 150px);
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);

	--z-header: 100;
	--z-menu: 99;
	--z-float: 50;
	--z-grain: 110;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--stone);
	font-family: var(--font-text);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.6;
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* Fine film grain, fixed and inert, so large flat areas don't feel sterile. */
body::after {
	content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.025em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
figure { margin: 0; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.is-ink :focus-visible, .cta :focus-visible, .site-footer :focus-visible, .hero__statement :focus-visible { outline-color: var(--on-ink); }
::selection { background: var(--ink); color: var(--paper); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: var(--paper); padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--paper); }
.site-main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: var(--sec) calc(var(--sec) * 1.08); }
.is-light { background: var(--paper); }
.is-mist { background: var(--mist); }
.is-ink { background: var(--ink); color: var(--on-ink-muted); }
.is-ink h1, .is-ink h2, .is-ink h3, .is-ink h4 { color: var(--on-ink); }
.is-ink a:not(.btn) { color: var(--on-ink); }
.sec.is-light + .sec.is-light { padding-top: calc(var(--sec) * .55); }
.sec.is-mist + .sec.is-mist { padding-top: 0; }
.sec.is-light + .sec.is-light::before { content: ""; position: absolute; top: 0; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); height: 1px; background: var(--line); }

.sec__head { max-width: 50rem; margin-bottom: clamp(2.5rem, 1.75rem + 3vw, 4.5rem); }
.sec__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.sec__head--split > div:first-child { max-width: 50rem; }
.sec__title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.032em; line-height: 1; margin: 0; }
.sec__intro { font-size: var(--fs-lead); line-height: 1.5; margin: 1.25rem 0 0; max-width: 38rem; color: var(--stone); }
.is-ink .sec__intro { color: var(--on-ink-muted); }

.prose { max-width: 40rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); }
.is-ink .prose strong { color: var(--on-ink); }
.prose blockquote { margin: 1.6em 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); font-size: var(--fs-lead); color: var(--ink); }
.prose a { color: var(--accent-ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: var(--fs-small); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6em .75em .6em 0; text-align: left; }

/* ---------- Buttons & links ---------- */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2.25rem; }
.btn {
	--btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent);
	--btn-hbg: var(--ink); --btn-hfg: var(--paper);
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 54px; padding: .85rem 1.75rem;
	border: 1.5px solid var(--btn-bd); border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-text); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em;
	text-decoration: none; white-space: nowrap;
	transition: color .4s var(--ease), border-color .4s var(--ease), transform .25s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-hbg); border-radius: inherit;
	transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--btn-hfg); border-color: var(--btn-hbg); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn span { position: relative; }
.btn--ink { /* default */ }
/* Primary actions are brand teal everywhere; on dark sections they hover to off-white. */
.btn--teal { /* same as the default teal button */ }
.hero__statement .btn, .is-ink .btn--teal, .cta .btn--light { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent); --btn-hbg: var(--paper); --btn-hfg: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); --btn-hbg: var(--accent); --btn-hfg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-hbg: var(--ink); --btn-hfg: var(--paper); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: rgba(244, 245, 242, .45); --btn-hbg: var(--paper); --btn-hfg: var(--ink); }
.btn--sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .94rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .7; pointer-events: none; }

.link {
	display: inline-flex; align-items: center; gap: .45rem; padding-bottom: .2rem;
	font-family: var(--font-text); font-weight: 700; color: var(--ink); text-decoration: none;
	background: linear-gradient(var(--line-2), var(--line-2)) left bottom / 100% 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) left bottom / 0 1.5px no-repeat;
	transition: background-size .5s var(--ease), color .2s;
}
.link:hover, .link:focus-visible { background-size: 100% 1.5px, 100% 1.5px; color: var(--ink); }
.link .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.link--light, .is-ink .link { color: var(--on-ink); background-image: linear-gradient(rgba(244,245,242,.4), rgba(244,245,242,.4)), linear-gradient(var(--accent), var(--accent)); }
.link--light:hover { color: var(--on-ink); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Photography ---------- */
.photo { position: relative; overflow: hidden; border-radius: 0 var(--curve) 0 0; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; bottom: 0; z-index: 1; padding: .5rem .85rem; background: var(--paper); color: var(--ink); font-size: var(--fs-xs); font-weight: 500; }
.graphic img { width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: var(--z-header);
	background: rgba(244, 245, 242, .9);
	-webkit-backdrop-filter: saturate(1.2) blur(16px); backdrop-filter: saturate(1.2) blur(16px);
	border-bottom: 1px solid transparent;
	transition: transform .5s var(--ease), border-color .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: block; flex: none; }
.brand .logo-img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
	position: relative; display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none;
	font-weight: 500; font-size: .99rem;
}
.nav__link::after {
	content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 1.5px;
	background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__item:hover > .nav__link::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__item.is-current > .nav__link::after { transform: scaleX(1); background: var(--accent); height: 2px; }
.nav__link:hover { color: var(--ink); }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: -.6rem; padding: 0; border: 0; background: none; color: var(--ink); }
.nav__toggle .icon { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.nav__item.is-open .nav__toggle .icon { transform: rotate(180deg); }
.nav__panel {
	position: absolute; top: calc(100% + 18px); left: -1rem; min-width: 270px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 0 28px 0 0;
	box-shadow: 0 30px 60px -30px rgba(18, 21, 24, .35);
	padding: 1.1rem; opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__item.is-open > .nav__panel, .nav__item.has-panel:hover > .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__item--wide > .nav__panel { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1rem 2rem; width: min(760px, 80vw); padding: 1.6rem; }
.nav__panel-title { margin: 0 0 .5rem; font-size: var(--fs-xs); font-weight: 500; color: var(--quiet); }
.nav__courses ul, .nav__sub { list-style: none; }
.nav__courses a, .nav__sub a {
	display: block; padding: .6rem .7rem; margin-inline: -.7rem; border-radius: 10px;
	color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.25;
	transition: background .25s;
}
.nav__courses a span, .nav__sub a span { display: block; font-family: var(--font-text); font-weight: 400; font-size: var(--fs-xs); color: var(--stone); margin-top: .15rem; }
.nav__courses a:hover, .nav__sub a:hover { background: var(--mist); }
.nav__item--wide .nav__sub { border-left: 1px solid var(--line); padding-left: 1.5rem; align-self: start; }
.nav__extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.menu-toggle {
	display: none; align-items: center; gap: .6rem; height: 44px; padding: 0 1rem 0 .8rem;
	border: 1.5px solid var(--ink); border-radius: 999px; background: none; color: var(--ink);
	font-weight: 700; font-size: .94rem;
}
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1179px) {
	:root { --header-h: 68px; }
	.brand .logo-img { height: 40px; }
	.menu-toggle { display: inline-flex; }
	/* backdrop-filter would make the header the containing block of the fixed menu panel. */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu);
		background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
		padding: .5rem var(--gutter) 2rem; display: flex; flex-direction: column;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__link { flex: 1; padding: 1.05rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; }
	.nav__link::after { display: none; }
	.nav__toggle { width: 48px; height: 48px; margin: 0; }
	.nav__toggle .icon { width: 22px; height: 22px; }
	.nav__panel, .nav__item--wide > .nav__panel { position: static; width: 100%; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 0 0 1rem; }
	.nav__item.is-open > .nav__panel, .nav__item--wide.is-open > .nav__panel { display: block; }
	.nav__item--wide .nav__sub { border-left: 0; padding-left: 0; margin-top: .75rem; }
	.nav__courses a, .nav__sub a { margin-inline: 0; padding-inline: 0; }
	.nav__extra { display: flex; flex-direction: column; gap: .9rem; margin-top: auto; padding-top: 2rem; }
	.nav__extra .btn { width: 100%; }
	.nav__contact { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 500; }
	.nav__contact .icon { width: 20px; height: 20px; color: var(--accent-ink); }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 600px) { .site-header__cta { display: none; } .brand .logo-img { height: 36px; } }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--paper); }
.hero__stage { position: relative; display: flex; flex-direction: column; }
.hero__grid { position: relative; z-index: 2; order: -1; padding-block: clamp(2.75rem, 2rem + 4vw, 5rem) 2.5rem; }
.hero__text { max-width: 44rem; }
.hero__title { font-size: var(--fs-display); line-height: .94; letter-spacing: -.045em; font-weight: 800; margin: 0; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--stone); margin: 1.6rem 0 0; max-width: 31rem; }
.hero__media {
	--mh: 100; --mx: 50; --my: 50;
	position: relative; z-index: 1; width: min(88vw, 540px); aspect-ratio: 100 / 96; margin: 0 var(--gutter) 0 auto;
	-webkit-mask: url("../img/brand/monogram.svg") no-repeat; mask: url("../img/brand/monogram.svg") no-repeat;
	-webkit-mask-size: auto calc(var(--mh) * var(--mi) * 1%); mask-size: auto calc(var(--mh) * var(--mi) * 1%);
	-webkit-mask-position: calc(var(--mx) * 1%) calc(var(--my) * 1%); mask-position: calc(var(--mx) * 1%) calc(var(--my) * 1%);
	background: var(--ink);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__fill, .hero__veil { display: none; }
.hero__statement { position: relative; z-index: 3; background: var(--deep); color: var(--on-ink-muted); padding-block: clamp(4rem, 3rem + 5vw, 7rem); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.hero__statement-title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h1); line-height: .98; letter-spacing: -.04em; color: var(--on-ink); margin: 0; max-width: 14ch; text-wrap: balance; }
.hero__statement-text { font-size: var(--fs-lead); line-height: 1.5; max-width: 36rem; margin: 1.6rem 0 2.25rem; color: var(--on-ink-muted); }

@media (min-width: 1180px) {
	.hero__stage { min-height: min(calc(100dvh - var(--header-h)), 900px); justify-content: center; }
	/* The photo is its own monogram-shaped frame on the right, so the whole picture shows. */
	.hero__media { --mh: 100; --mx: 50; --my: 50; position: absolute; top: 50%; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); width: min(38vw, 580px); aspect-ratio: 100 / 96; margin: 0; background: transparent; transform: translateY(-46%); }
	.hero__grid { padding-block: 3rem 6rem; }
	.hero__text { max-width: min(44rem, 56%); }
	.hero__statement { margin-top: clamp(2rem, 4vw, 4rem); }
}

@media (prefers-reduced-motion: no-preference) {
	.js .hero__text > * { opacity: 0; transform: translateY(28px); }
	.js .hero.is-ready .hero__text > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
	.js .hero.is-ready .hero__text > :nth-child(2) { transition-delay: .12s; }
	.js .hero.is-ready .hero__text > :nth-child(3) { transition-delay: .24s; }
	.js .hero:not(.is-ready) .hero__media { --mi: .42; }
	.js .hero:not(.is-ready) .hero__text > * { animation: dcShow .01s 3s forwards; }
	.js .hero .hero__media { transition: --mi 1.9s cubic-bezier(.22, 1, .36, 1) .1s; }
	.js .hero .hero__img { transform: scale(1.12); transition: transform 2.4s cubic-bezier(.22, 1, .36, 1) .1s; }
	.js .hero.is-ready .hero__img { transform: none; }
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--accent-wash), var(--paper) 78%); }
.page-hero.is-ink { background: var(--paper); color: var(--stone); }
.page-hero.is-ink h1 { color: var(--ink); }
.page-hero__grid { display: grid; gap: 2.75rem; align-items: end; }
.page-hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.042em; line-height: .96; margin: 0; max-width: 16ch; }
.page-hero__lead { font-size: var(--fs-lead); line-height: 1.5; margin: 1.6rem 0 0; max-width: 36rem; }
.page-hero__media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
	.page-hero.has-media .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); }
}

/* ---------- Proof strip ---------- */
.proof { padding-block: 2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.proof__title { margin: 0 0 1rem; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.proof__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 1.25rem 2rem; align-items: center; }
.proof__item { display: flex; align-items: center; gap: .9rem; font-size: var(--fs-xs); line-height: 1.35; color: var(--stone); font-weight: 500; }
.proof__img { height: 48px; width: auto; max-width: 60px; object-fit: contain; flex: none; }

/* ---------- Principles ---------- */
.principles { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); }
.principles__source { margin: 1.75rem 0 1.5rem; font-size: var(--fs-small); font-style: italic; color: var(--stone); }
.principles__list { list-style: none; border-top: 1px solid var(--ink); }
.principle { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 1rem; padding: clamp(1.4rem, 1rem + 1.2vw, 2.1rem) 0; border-bottom: 1px solid var(--line); }
.principle__n { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--quiet); padding-top: .55rem; font-variant-numeric: tabular-nums; transition: color .5s var(--ease); }
.principle__text { grid-column: 2; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.05rem + 1.55vw, 2.5rem); line-height: 1.08; letter-spacing: -.028em; color: var(--ink); transition: color .5s var(--ease); }
.principle__note { grid-column: 2; margin: .85rem 0 0; max-width: 34rem; font-size: var(--fs-small); color: var(--stone); }
.dc-motion .principle__text { color: #9DA39D; }
.dc-motion .principle__note { display: grid; margin: 0; opacity: 0; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.dc-motion .principle.is-active .principle__text { color: var(--ink); }
.dc-motion .principle.is-active .principle__n { color: var(--accent-ink); }
.principle::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.1rem; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.dc-motion .principle.is-active::before { transform: scaleX(1); }
.dc-motion .principle.is-active .principle__note { opacity: 1; max-height: 8rem; margin-top: .85rem; }
@media (min-width: 1000px) {
	.principles { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); }
	.principles__side { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
}

/* ---------- Course index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.filters--stack { margin: 1.75rem 0 0; }
.filter {
	display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1.05rem;
	border: 1.5px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink);
	font-weight: 500; font-size: .94rem; text-decoration: none;
	transition: border-color .25s, background .25s, color .25s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--deep); border-color: var(--deep); color: var(--paper); }

.course-index { list-style: none; border-top: 1px solid var(--ink); }
.course-row { border-bottom: 1px solid var(--line); }
.course-row[hidden] { display: none; }
.course-row__link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1.5rem; align-items: center; padding: 1.6rem 0; text-decoration: none; color: var(--ink); }
.course-row__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.25vw, 2.35rem); letter-spacing: -.03em; line-height: 1.04; transition: transform .6s var(--ease); }
.course-row__tag { grid-column: 1; font-size: var(--fs-small); color: var(--stone); line-height: 1.45; }
.course-row__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: .5rem; }
.course-row__meta span { font-size: var(--fs-xs); font-weight: 500; color: var(--accent-ink); }
.course-row__meta span + span::before { content: "/"; margin-right: .5rem; color: var(--line-2); }
.course-row__price { grid-column: 2; grid-row: 1; justify-self: end; font-weight: 500; font-size: 1.05rem; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.course-row__go { grid-column: 2; grid-row: 2 / span 2; justify-self: end; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--ink); transition: background .35s, border-color .35s, color .35s, transform .6s var(--ease); }
.course-row__link:hover .course-row__name, .course-row__link:focus-visible .course-row__name { transform: translateX(10px); }
.course-row__link:hover .course-row__go { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(-45deg); }
@media (min-width: 900px) {
	.course-row__link { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 7rem auto; padding: 1.9rem 0; gap: .4rem 2.25rem; }
	.course-row__name { grid-column: 1; grid-row: 1 / span 2; }
	.course-row__tag { grid-column: 2; grid-row: 1; }
	.course-row__meta { grid-column: 2; grid-row: 2; }
	.course-row__price { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
	.course-row__go { grid-column: 4; grid-row: 1 / span 2; }
}
.course-index--compact .course-row__name { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem); }
.course-index__preview { position: fixed; left: 0; top: 0; z-index: var(--z-float); width: 300px; aspect-ratio: 4 / 3; pointer-events: none; border-radius: 0 60px 0 0; overflow: hidden; opacity: 0; transform: translate3d(-999px, -999px, 0) scale(.85); transition: opacity .35s var(--ease); box-shadow: 0 40px 70px -35px rgba(18, 21, 24, .55); }
.course-index__preview.is-on { opacity: 1; }
.course-index__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 899px) { .course-index__preview { display: none; } }

/* ---------- Outcome + pathway ---------- */
.outcome { display: grid; gap: 2.5rem clamp(2rem, 6vw, 6rem); margin-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.outcome__fig { margin: 0; border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.outcome__fig--b { border-top: 3px solid var(--accent); }
.outcome__num { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 3rem + 11vw, 14rem); line-height: .82; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.outcome__fig--a .outcome__num { color: var(--line-2); }
.outcome__fig--b .outcome__num { color: var(--accent); }
.outcome__fig figcaption { margin-top: 1.25rem; max-width: 26rem; font-size: var(--fs-lead); line-height: 1.45; color: var(--stone); }
.outcome__fig figcaption strong { color: var(--ink); font-weight: 700; }
.outcome__note { grid-column: 1 / -1; margin: 0; max-width: 44rem; font-size: var(--fs-xs); color: var(--quiet); }
@media (min-width: 800px) { .outcome { grid-template-columns: 1fr 1fr; } }

.pathway { list-style: none; display: grid; gap: 2rem 1.75rem; }
.pathway__step { position: relative; padding-top: 1.1rem; border-top: 1px solid var(--line-2); }
.pathway__n { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--accent-ink); margin-bottom: 1.6rem; }
.pathway__title { font-size: var(--fs-h3); margin: 0 0 .55rem; }
.pathway__text { font-size: var(--fs-small); margin: 0; max-width: 28rem; }
@media (min-width: 700px) { .pathway { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pathway { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }

/* ---------- Graduates (photo + quote grid) ---------- */
.stories { display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.stories__cell { margin: 0; min-height: 260px; }
.stories__photo img { position: absolute; inset: 0; }
.stories__quote { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.stories__quote blockquote { margin: 0; }
.stories__quote p { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.25rem); line-height: 1.14; letter-spacing: -.022em; }
.stories__quote figcaption { display: flex; flex-direction: column; font-size: var(--fs-small); }
.stories__quote figcaption strong { font-weight: 700; }
.stories__quote--1 { background: var(--deep); color: var(--on-ink-muted); }
.stories__quote--1 p, .stories__quote--1 strong { color: var(--on-ink); }
.stories__quote--2 { background: var(--accent-wash); color: var(--stone); }
.stories__quote--2 p, .stories__quote--2 strong { color: var(--ink); }
.stories__quote--2 p { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); }
@media (min-width: 900px) {
	.stories { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: minmax(300px, auto) minmax(300px, auto); }
	.stories__photo--1 { grid-column: 1; grid-row: 1 / span 2; }
	.stories__quote--1 { grid-column: 2 / span 2; grid-row: 1; }
	.stories__photo--2 { grid-column: 2; grid-row: 2; border-radius: 0; }
	.stories__quote--2 { grid-column: 3; grid-row: 2; }
}
@media (max-width: 899px) { .stories__photo--1 { aspect-ratio: 4 / 3; } .stories__photo--2 { aspect-ratio: 16 / 10; border-radius: 0; } .stories__cell { min-height: 0; } }

/* ---------- Sliders ---------- */
.slider { overflow: hidden; cursor: grab; touch-action: pan-y; }
.slider.is-dragging { cursor: grabbing; }
.slider.is-dragging a { pointer-events: none; }
.slider__track { list-style: none; display: flex; gap: clamp(1rem, 2vw, 1.5rem); padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); will-change: transform; transition: transform .8s var(--ease); user-select: none; -webkit-user-select: none; }
.slider.is-dragging .slider__track { transition: none; }
.slider-nav { display: flex; gap: .5rem; }
.slider-nav__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); transition: background .3s, color .3s, border-color .3s, opacity .3s; }
.slider-nav__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slider-nav__btn:active { transform: scale(.96); }
.slider-nav__btn[disabled] { opacity: .3; pointer-events: none; }
.slider-progress { height: 1px; background: var(--line); margin-top: 2.5rem; position: relative; overflow: hidden; }
.slider-progress span { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--sp, .2)); transition: transform .6s var(--ease); }

.topic { flex: 0 0 clamp(270px, 29vw, 380px); }
.topic__inner { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 320px; padding: 2rem 2rem 5rem; background: var(--surface); color: var(--stone); text-decoration: none; overflow: hidden; border-radius: 0 40px 0 0; transition: color .4s; }
.is-light .topic__inner { background: var(--mist); }
.topic__inner::before { content: ""; position: absolute; right: -1px; bottom: -1px; width: 150px; height: 150px; background: var(--accent); border-radius: 150px 0 0 0; transform: scale(0); transform-origin: bottom right; transition: transform .7s var(--ease); }
.topic__title { position: relative; font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.2rem); font-weight: 800; margin: 0 0 1rem; letter-spacing: -.035em; line-height: 1; }
.topic__text { position: relative; margin: 0; font-size: var(--fs-small); line-height: 1.55; max-width: 26ch; }
.topic__go { position: absolute; right: 1.4rem; bottom: 1.4rem; color: var(--ink); z-index: 1; transition: transform .6s var(--ease), color .4s; }
.topic__go .icon { width: 30px; height: 30px; }
a.topic__inner:hover::before { transform: scale(1); }
a.topic__inner:hover .topic__go { color: var(--ink); transform: translate(2px, -2px); }

.photos__item { flex: 0 0 clamp(280px, 42vw, 580px); }
.photos .photo { aspect-ratio: 16 / 10; }

/* ---------- Testimonials (single rotating quote) ---------- */
.quotes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.quotes__nav { display: flex; align-items: center; gap: 1rem; }
.quotes__count { margin: 0; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: center; }
.quotes__stage { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .9s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote__text { margin: 0; }
.quote__text p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); max-width: 24ch; margin: 0; text-wrap: balance; }
.quote__text p::before { content: "\201C"; color: var(--accent-ink); }
.quote__text p::after { content: "\201D"; color: var(--accent-ink); }
.quote__by { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.quote__by strong { color: var(--ink); font-size: 1.05rem; }
.quote__by span { color: var(--stone); font-size: var(--fs-small); }
.is-ink .quote__text p, .is-ink .quote__by strong, .is-ink .quotes__count { color: var(--on-ink); }
.is-ink .slider-nav__btn { border-color: var(--line-ink); color: var(--on-ink); }

/* ---------- Clients ---------- */
.sec--clients { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.sec--clients::before { display: none; }
.clients__title { font-size: var(--fs-small); font-family: var(--font-text); font-weight: 500; color: var(--stone); letter-spacing: 0; margin: 0 0 2.25rem; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { list-style: none; display: flex; align-items: center; gap: clamp(3rem, 6vw, 5.5rem); padding-right: clamp(3rem, 6vw, 5.5rem); }
.marquee__logo { height: 38px; width: auto; max-width: 150px; object-fit: contain; }
@keyframes dcShow { to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask: none; mask: none; }
	.marquee__track { animation: none; width: auto; }
	.marquee__list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); row-gap: 2rem; }
	.marquee__list[aria-hidden="true"] { display: none; }
}

/* ---------- Text + photo ---------- */
.split__grid { display: grid; gap: clamp(2.75rem, 6vw, 6.5rem); align-items: center; }
.split__text .sec__title { margin-bottom: 1.5rem; }
.split__text .prose p:first-child { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.is-ink .split__text .prose p:first-child { color: var(--on-ink); }
.split__media.photo { aspect-ratio: 4 / 5; }
.split__media.graphic img { border-radius: 0 28px 0 0; box-shadow: 0 40px 70px -40px rgba(18, 21, 24, .45); }
@media (min-width: 900px) {
	.split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
	.split--left .split__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); }
	.split--left .split__media { order: -1; }
	.split--left .photo { border-radius: var(--curve) 0 0 0; }
	.split--text .split__grid { grid-template-columns: minmax(0, 1fr); }
}
.ticks { list-style: none; margin: 1.9rem 0 0; display: grid; gap: .85rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .85rem; align-items: start; color: var(--ink); line-height: 1.45; }
.ticks .icon { width: 20px; height: 20px; color: var(--accent-ink); margin-top: 2px; }
.is-ink .ticks li { color: var(--on-ink); }

@media (prefers-reduced-motion: no-preference) {
	.dc-motion [data-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
	.dc-motion [data-reveal].is-in { clip-path: inset(0 0 0 0); }
	.dc-motion [data-reveal] img { transform: scale(1.1); transition: transform 1.8s var(--ease); }
	.dc-motion [data-reveal].is-in img { transform: none; }
}

/* ---------- Podcast ---------- */
.episodes { list-style: none; display: grid; gap: 1.75rem; }
.episode__link { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1.25rem; align-items: center; text-decoration: none; color: var(--stone); }
.episode__cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0 30px 0 0; background: var(--ink); }
.episode__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.episode__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18, 21, 24, .45); color: var(--paper); opacity: 0; transition: opacity .3s; }
.episode__play .icon { width: 34px; height: 34px; }
.episode__link:hover .episode__play { opacity: 1; }
.episode__link:hover img { transform: scale(1.05); }
.episode__body { display: flex; flex-direction: column; gap: .35rem; }
.episode__date { font-size: var(--fs-xs); font-weight: 500; color: var(--accent-ink); }
.episode__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; color: var(--ink); letter-spacing: -.02em; }
.episode__cta { font-size: var(--fs-small); font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .3em; }
@media (min-width: 900px) { .episodes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; } .episode__link { grid-template-columns: 1fr; align-items: start; } }

/* ---------- White papers ---------- */
.papers { display: grid; gap: 2.5rem clamp(3rem, 7vw, 7rem); }
.papers__cover { display: block; margin: 2.25rem 0; overflow: hidden; border-radius: 0 var(--curve) 0 0; }
.papers__cover img { transition: transform .9s var(--ease); }
.papers__cover:hover img { transform: scale(1.03); }
.papers__list { list-style: none; border-top: 1px solid var(--ink); align-self: start; }
.paper { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.25rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.paper__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.018em; transition: transform .5s var(--ease); }
.paper__date { grid-column: 1; font-size: var(--fs-xs); color: var(--stone); }
.paper__go { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .3s, border-color .3s, color .3s; }
.paper:hover .paper__title { transform: translateX(6px); }
.paper:hover .paper__go { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (min-width: 900px) { .papers { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- Posts ---------- */
.post-grid { display: grid; gap: 3rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); border-radius: 0 44px 0 0; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--line-2); }
.post-card__ph .monogram { width: 60px; height: auto; }
.post-card__body { padding-top: 1.35rem; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 .55rem; font-size: var(--fs-xs); font-weight: 500; color: var(--accent-ink); }
.post-card__title { font-size: 1.45rem; line-height: 1.12; margin: 0 0 .65rem; letter-spacing: -.022em; }
.post-card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) left 95% / 0 1.5px no-repeat; transition: background-size .55s var(--ease); }
.post-card__title a:hover { background-size: 100% 1.5px; }
.post-card__excerpt { font-size: var(--fs-small); margin: 0; }
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 3.5rem; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .75rem; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2.75rem clamp(3rem, 7vw, 7rem); }
.faq__side .btn, .faq__side .link { margin-top: 1.9rem; }
.faq__search { position: relative; margin-top: 1.9rem; }
.faq__search .icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--stone); width: 20px; height: 20px; }
.faq__search input { width: 100%; height: 56px; padding: 0 1rem 0 3.1rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); }
.faq__search input::placeholder { color: var(--quiet); }
.faq__search input:focus { border-color: var(--ink); outline: none; }
.faq__list { border-top: 1px solid var(--ink); }
.faq--full .faq__list { border-top: 0; }
.faq--full .faq__group + .faq__group { margin-top: 3rem; }
.faq--full .faq__group .qa:first-of-type { border-top: 1px solid var(--ink); }
.faq__group[hidden] { display: none; }
.faq__group-title { font-size: var(--fs-small); font-family: var(--font-text); font-weight: 500; color: var(--accent-ink); letter-spacing: 0; margin: 0 0 .6rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa[hidden] { display: none; }
.qa__q { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.qa__q::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .35s, border-color .35s, transform .5s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .3s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--paper); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__q:hover .qa__icon { border-color: var(--ink); }
.qa__a { overflow: hidden; }
.qa__a .prose { padding: 0 3rem 1.7rem 0; font-size: 1.02rem; max-width: 44rem; }
.faq__none { padding: 1.5rem 0; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); } .faq__side { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; } }

/* ---------- Closing CTA (dark, runs into the footer) ---------- */
.cta { position: relative; background: var(--deep); color: var(--on-ink-muted); padding-block: clamp(5rem, 3.5rem + 7vw, 10rem) clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta__grid { display: grid; gap: 3.5rem clamp(3rem, 7vw, 7rem); align-items: end; }
.cta__title { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 6rem); font-weight: 800; letter-spacing: -.045em; line-height: .94; color: var(--on-ink); margin: 0; max-width: 12ch; }
.cta__text { font-size: var(--fs-lead); line-height: 1.5; color: var(--on-ink-muted); margin: 1.75rem 0 0; max-width: 32rem; }
.cta .btn-row { margin-top: 2.5rem; }
.cta__people-title { margin: 0 0 1rem; font-size: var(--fs-small); color: var(--on-ink-muted); }
.cta__people ul { list-style: none; display: grid; gap: .1rem; }
.cta__people li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; border-top: 1px solid var(--line-ink); font-size: var(--fs-small); }
.cta__people li:last-child { border-bottom: 1px solid var(--line-ink); }
.cta__people span { color: var(--on-ink-muted); }
.cta__people a { color: var(--on-ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.cta__people a:hover { color: var(--accent); }
@media (min-width: 950px) { .cta__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); } }

/* ---------- Columns ---------- */
.cols { list-style: none; display: grid; gap: 2.75rem 2.75rem; }
.col { padding-top: 1.4rem; border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
.col__title { font-size: var(--fs-h3); margin: 0 0 .8rem; }
.col__text { font-size: var(--fs-small); margin: 0 0 1.4rem; }
.col .link { margin-top: auto; align-self: flex-start; }
@media (min-width: 700px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cols--3 { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 2.75rem 2rem; }
.step { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.step__n { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.25rem, 2.4rem + 3vw, 5rem); line-height: .9; letter-spacing: -.05em; color: var(--accent); margin-bottom: 1.25rem; }
.step__title { font-size: var(--fs-h3); margin: 0 0 .6rem; }
.step__text { font-size: var(--fs-small); margin: 0; max-width: 24rem; }
.steps + .btn-row { margin-top: 3rem; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }

/* ---------- Dates ---------- */
.dates { list-style: none; border-top: 1px solid var(--ink); }
.date-row { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr) auto; gap: .25rem 1.25rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.date-row[hidden] { display: none; }
.date-row p { margin: 0; }
.date-row__when { grid-row: 1 / span 3; display: flex; flex-direction: column; line-height: 1; }
.date-row__day { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); letter-spacing: -.05em; }
.date-row__month { font-size: var(--fs-xs); font-weight: 500; color: var(--accent-ink); margin-top: .3rem; }
.date-row__course a { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; line-height: 1.2; letter-spacing: -.015em; }
.date-row__course a:hover { color: var(--accent-ink); }
.date-row__where { font-size: var(--fs-small); color: var(--stone); }
.date-row__where strong { color: var(--ink); font-weight: 500; }
.date-row__where span::before { content: ", "; }
.date-row__mode, .date-row__price { font-size: var(--fs-small); }
.date-row__price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.date-row .btn { grid-column: 3; grid-row: 1 / span 3; }
@media (max-width: 699px) { .date-row { grid-template-columns: 4rem minmax(0, 1fr); } .date-row .btn { grid-column: 2; grid-row: auto; justify-self: start; margin-top: .6rem; } .date-row__mode { display: none; } }
@media (min-width: 900px) {
	.date-row { grid-template-columns: 5.5rem minmax(0, 1.6fr) minmax(0, 1fr) 7rem 6rem auto; gap: 1.5rem; }
	.date-row__when, .date-row .btn { grid-row: auto; }
	.date-row .btn { grid-column: auto; }
	.dates:not(.dates--all) .date-row { grid-template-columns: 5.5rem minmax(0, 1.4fr) 8rem 6rem auto; }
}
.empty { padding: 2rem 0; }
.empty--inline { padding: 2rem 2.25rem; background: var(--surface); border-radius: 0 28px 0 0; }
.is-light .empty--inline { background: var(--mist); }
.empty--inline p { margin: 0 0 1.25rem; max-width: 40rem; color: var(--ink); }
.empty__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }

/* ---------- Team ---------- */
.team__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 50rem; }
.team__head .sec__intro { margin: 0; }
.team__photo { background: #0d0f11; overflow: hidden; border-radius: 0 var(--curve) 0 0; }
.team__photo img { width: 100%; }
.team__people { list-style: none; display: grid; gap: 1.5rem 2rem; margin-top: 2.75rem; }
.team__people li { display: flex; flex-direction: column; gap: .2rem; padding-top: 1.1rem; border-top: 1px solid var(--ink); font-size: var(--fs-small); }
.team__people strong { color: var(--ink); font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.015em; }
.team__people a { color: var(--stone); text-decoration: none; overflow-wrap: anywhere; }
.team__people a:hover { color: var(--accent-ink); }
@media (min-width: 900px) { .team__people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Facts ---------- */
.facts { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); align-items: center; }
.facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2rem; margin: 2.75rem 0 0; }
.fact { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.fact__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.6rem); line-height: .95; letter-spacing: -.045em; color: var(--ink); }
.fact__label { margin: .55rem 0 0; font-size: var(--fs-small); line-height: 1.4; }
.facts__media img { width: 100%; }
@media (min-width: 900px) { .facts--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .facts:not(.facts--media) .facts__list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 2.75rem clamp(3rem, 7vw, 7rem); align-items: start; }
.aside-list { list-style: none; margin-top: 2.25rem; display: grid; gap: 1rem; }
.aside-list li { position: relative; padding-left: 2.1rem; color: var(--ink); line-height: 1.45; }
.aside-list li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.1rem; height: 1.05rem; background: var(--accent); -webkit-mask: url("../img/brand/monogram.svg") no-repeat center / contain; mask: url("../img/brand/monogram.svg") no-repeat center / contain; }
.card-form { background: var(--surface); padding: clamp(1.6rem, 1rem + 2.6vw, 3rem); border-radius: 0 40px 0 0; box-shadow: 0 30px 60px -45px rgba(18, 21, 24, .35); }
.is-light .card-form { background: var(--surface); }
.card-form__title { font-size: 1.6rem; margin: 0 0 1.6rem; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } .form-layout__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); } }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .45rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--half { grid-column: span 1; }
@media (max-width: 560px) { .field--half { grid-column: 1 / -1; } }
.field > label, .field > legend { font-size: var(--fs-small); font-weight: 500; color: var(--ink); padding: 0; }
.field > legend { margin-bottom: .6rem; }
.field__req { color: var(--accent-ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea, .select select {
	width: 100%; min-height: 54px; padding: .85rem 1rem; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--paper); color: var(--ink);
	transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 124px; line-height: 1.5; }
.field input:hover, .field textarea:hover, .select select:hover { border-color: var(--stone); }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px rgba(11, 149, 143, .25); }
.select { position: relative; }
.select select { padding-right: 2.75rem; cursor: pointer; }
.select .icon { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--ink); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #A8261B; }
.field__error { font-size: var(--fs-xs); color: #A8261B; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: .45rem 1.05rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: var(--fs-small); font-weight: 500; transition: background .25s, border-color .25s, color .25s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; cursor: pointer; font-size: var(--fs-small); line-height: 1.45; color: var(--ink); }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--quiet); border-radius: 6px; background: var(--paper); transition: background .25s, border-color .25s; }
.check__box .icon { width: 16px; height: 16px; color: var(--paper); opacity: 0; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box .icon { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__nav { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1.9rem; flex-wrap: wrap; }
.form__nav .btn--ghost { margin-right: auto; }
.form__status { margin: 1rem 0 0; font-size: var(--fs-small); font-weight: 500; color: #A8261B; min-height: 1px; }
.form__status:empty { margin: 0; }
.form__legal { font-size: var(--fs-xs); margin: 1rem 0 0; color: var(--stone); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 2.25rem; }
.form__progress li { display: flex; align-items: center; gap: .6rem; padding-top: .85rem; border-top: 2px solid var(--line); font-size: var(--fs-xs); font-weight: 500; color: var(--quiet); transition: border-color .5s, color .5s; }
.form__progress li.is-active, .form__progress li.is-done { border-top-color: var(--ink); color: var(--ink); }
.form__progress-n { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; font-size: .75rem; }
.form__progress li.is-done .form__progress-n { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 560px) { .form__progress-l { display: none; } .form__progress li.is-active .form__progress-l { display: inline; } }
.form__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__step[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .form__step.is-active { animation: stepIn .6s var(--ease); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.form-done { padding: 1rem 0; }
.form-done:focus { outline: none; }
.form-done__mark { display: block; width: 52px; color: var(--accent); margin-bottom: 1.4rem; }
.form-done__mark .monogram { width: 52px; height: auto; }
@media (prefers-reduced-motion: no-preference) { .form-done:not([hidden]) .form-done__mark { animation: doneIn 1s var(--ease); } }
@keyframes doneIn { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.form-done__title { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--ink); margin: 0 0 .55rem; letter-spacing: -.035em; }
.form-done__text { margin: 0; max-width: 32rem; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); align-items: start; }
.contact__details { margin: 2.25rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact__details div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact__details dt { display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--stone); font-size: var(--fs-small); }
.contact__details dt .icon { width: 19px; height: 19px; color: var(--accent-ink); }
.contact__details dd { margin: 0; color: var(--ink); }
.contact__details a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact__details a:hover { color: var(--accent-ink); }
.contact__sub { font-size: 1.3rem; margin: 2.75rem 0 1.1rem; }
.people { list-style: none; display: grid; gap: 1.1rem; }
.person { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center; }
.person__initials { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 0 20px 0 0; background: var(--deep); color: var(--accent); font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.person__body { display: flex; flex-direction: column; font-size: var(--fs-small); min-width: 0; }
.person__body strong { color: var(--ink); font-family: var(--font-display); font-size: 1.12rem; }
.person__body a { color: var(--stone); text-decoration: none; overflow-wrap: anywhere; }
.person__body a:hover { color: var(--accent-ink); }
.socials { list-style: none; display: flex; gap: .5rem; margin-top: 1.75rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-ink); color: var(--on-ink); transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.socials .icon { width: 19px; height: 19px; }
.socials--dark a { border-color: var(--line-2); color: var(--ink); }
.socials--dark a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.map { margin-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); height: clamp(320px, 40vw, 480px); background: var(--mist); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__load { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; border: 0; background: var(--mist); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; transition: background .3s; }
.map__load .icon { width: 34px; height: 34px; color: var(--accent-ink); }
.map__load small { font-family: var(--font-text); font-weight: 400; font-size: var(--fs-small); color: var(--stone); }
.map__load:hover { background: var(--accent-wash); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- Course page ---------- */
.course-hero { padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--accent-wash), var(--paper) 78%); }
.course-hero__grid { display: grid; gap: 2.75rem; align-items: center; }
.crumbs { font-size: var(--fs-small); margin: 0 0 1.4rem; color: var(--stone); }
.crumbs a { color: var(--stone); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin: 0 .4rem; color: var(--line-2); }
.course-hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.042em; line-height: .96; margin: 0; }
.course-hero__tagline { font-size: var(--fs-lead); margin: 1.25rem 0 0; color: var(--stone); max-width: 34rem; }
.course-hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 2.5rem 0 0; max-width: 36rem; }
.course-hero__facts div { border-top: 1px solid var(--ink); padding-top: .8rem; }
.course-hero__facts dt { font-size: var(--fs-xs); color: var(--stone); }
.course-hero__facts dd { margin: .25rem 0 0; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.course-hero__media { aspect-ratio: 4 / 3; }
@media (min-width: 950px) { .course-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 5rem; } }

.course-toc { position: sticky; top: var(--header-h); z-index: 20; background: rgba(244, 245, 242, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
.admin-bar .course-toc { top: calc(var(--header-h) + 32px); }
body.header-hidden .course-toc { top: 0; }
.course-toc ul { list-style: none; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.course-toc ul::-webkit-scrollbar { display: none; }
.course-toc a { display: block; padding: 1rem .9rem; white-space: nowrap; color: var(--stone); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 1.5px solid transparent; }
.course-toc a:hover { color: var(--ink); }
.course-toc a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.course-body__grid { display: grid; gap: 3rem clamp(3rem, 7vw, 7rem); align-items: start; }
.course-block { padding-bottom: clamp(2.75rem, 2rem + 2vw, 3.75rem); margin-bottom: clamp(2.75rem, 2rem + 2vw, 3.75rem); border-bottom: 1px solid var(--line); }
.course-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.course-block__title { font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.5rem); letter-spacing: -.03em; margin: 0 0 1.4rem; }
.course-block__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); margin: 0; max-width: 40rem; }
.course-block .ticks { margin-top: 0; }
@media (min-width: 700px) { .course-block .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
.topic-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-list li { padding: .55rem 1.05rem; background: var(--mist); color: var(--ink); font-weight: 500; font-size: var(--fs-small); border-radius: 999px; }
.competencies { display: grid; gap: 1.35rem; margin: 0; }
.competencies div { display: grid; gap: .3rem; }
.competencies dt { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.12rem; }
.competencies dd { margin: 0; font-size: var(--fs-small); }
@media (min-width: 700px) { .competencies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; } }
.course-card { background: var(--surface); padding: 2.1rem; border-top: 3px solid var(--accent); border-radius: 0 40px 0 0; box-shadow: 0 30px 60px -45px rgba(18, 21, 24, .35); }
.course-card__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; letter-spacing: -.045em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.course-card__price span { display: block; font-family: var(--font-text); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; color: var(--stone); margin-bottom: .55rem; }
.course-card__price--quote { font-size: 1.7rem; letter-spacing: -.03em; }
.course-card__note { font-size: var(--fs-xs); margin: .65rem 0 1.6rem; }
.course-card__accred { margin: 1.9rem 0 0; display: grid; gap: .75rem; font-size: var(--fs-small); }
.course-card__accred div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.course-card__accred div:first-child { grid-template-columns: 1fr; gap: .2rem; }
.course-card__accred dt { color: var(--stone); }
.course-card__accred dd { margin: 0; color: var(--ink); font-weight: 500; }
.course-card__programme { margin: 1.3rem 0 0; font-size: var(--fs-xs); font-weight: 500; color: var(--accent-ink); }
@media (min-width: 1000px) { .course-body__grid { grid-template-columns: minmax(0, 1fr) 350px; } .course-body__aside { position: sticky; top: calc(var(--header-h) + 84px); } }

/* ---------- Article ---------- */
.article__head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2.75rem; }
.article__title { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 1.6rem 0 0; font-size: var(--fs-small); color: var(--stone); }
.article__media { margin-bottom: clamp(2.75rem, 2rem + 2vw, 4rem); }
.article__media img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 0 var(--curve) 0 0; }
.article__body { font-size: 1.15rem; line-height: 1.7; }
.article__body > p:first-of-type { font-size: var(--fs-lead); color: var(--ink); }
.article__foot { padding-block: 2.5rem var(--sec); }
.article__share { display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--ink); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.article__share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.article__share a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.article__share .icon { width: 18px; height: 18px; }

/* ---------- 404 + search ---------- */
.notfound__inner { max-width: 780px; }
.notfound__mark { width: 68px; color: var(--accent); margin-bottom: 2rem; }
.notfound__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.042em; line-height: .98; }
.notfound__text { font-size: var(--fs-lead); }
.notfound__links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.25rem; }
.notfound__links a { font-weight: 700; color: var(--ink); }
.searchform { position: relative; max-width: 520px; margin-top: 2.25rem; }
.searchform input { width: 100%; height: 58px; padding: 0 3.6rem 0 1.3rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); }
.searchform input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 149, 143, .25); }
.searchform button { position: absolute; right: 6px; top: 6px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.searchform .icon { width: 20px; height: 20px; }

/* ---------- Footer (continues the dark closing chapter) ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--deep); color: var(--on-ink-muted); padding-top: clamp(4rem, 3rem + 3vw, 5.5rem); font-size: var(--fs-small); }
.cta + .site-footer, main:has(> .cta:last-child) + .site-footer, main:has(.cta:last-child) + .site-footer { padding-top: 0; }
.cta + .site-footer .wrap > .site-footer__grid, main:has(.cta:last-child) + .site-footer .site-footer__grid { padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); border-top: 1px solid var(--line-ink); }
.site-footer__mark { position: absolute; right: -4vw; bottom: -6vw; width: clamp(280px, 34vw, 520px); height: auto; color: var(--deep-2); pointer-events: none; }
.site-footer .wrap { position: relative; }
.site-footer__grid { display: grid; gap: 2.75rem 3rem; }
.site-footer__logo { display: inline-block; margin-bottom: 1.5rem; }
.site-footer__logo .logo-img { height: 58px; width: auto; }
.site-footer__brand p { max-width: 24rem; }
.site-footer__title { color: var(--on-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--accent); }
.site-footer address { margin-bottom: 1rem; color: var(--on-ink-muted); }
.site-footer__contact a { color: var(--on-ink); }
.site-footer__accred { display: flex !important; flex-wrap: wrap; gap: .5rem !important; margin-top: 3.5rem; }
.site-footer__accred li { padding: .45rem .95rem; border: 1px solid var(--line-ink); border-radius: 999px; font-size: var(--fs-xs); font-weight: 500; color: var(--on-ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; padding-block: 1.75rem; border-top: 1px solid var(--line-ink); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom > p:first-child { flex: 1 1 22rem; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer__credit a { color: var(--on-ink); font-weight: 700; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); } }

/* ---------- Elementor compatibility ---------- */
.elementor-section.dc-el-section > .elementor-container { max-width: none !important; }
.dc-el-section > .elementor-container > .elementor-column > .elementor-widget-wrap, .dc-el-section .elementor-element-populated { padding: 0 !important; }
.elementor-widget[class*="elementor-widget-dc_"] { margin-bottom: 0 !important; width: 100%; }
.elementor-widget[class*="elementor-widget-dc_"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-editor-active .hero__text > *, .elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.elementor-editor-active .hero__media { --mi: 1 !important; }
.elementor-editor-active .principle__note { opacity: 1 !important; max-height: none !important; margin-top: .85rem !important; }
.elementor-editor-active .principle__text { color: var(--ink) !important; }
.full-width-content > .elementor { width: 100%; }
/* Elementor's ".elementor img { height: auto }" outranks single classes; restate sized images. */
.dc .photo img, .dc .hero__img, .dc .hero__fill img, .dc .episode__cover img, .dc .post-card__img, .dc .course-index__preview img { height: 100%; max-width: 100%; }
.dc .proof__img { height: 48px; width: auto; max-width: 60px; }
.dc .marquee__logo { height: 38px; width: auto; max-width: 150px; }
.dc .team__photo img, .dc .facts__media img, .dc .papers__cover img, .dc .graphic img { height: auto; }
.dc .elementor a { box-shadow: none; }
/* Elementor wraps each widget, so the "light + light" divider needs its own selector. */
.dc-el-section + .dc-el-section .sec.is-light { position: relative; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
	body::after { display: none; }
	.site-header, .site-footer, .cta, .marquee, .slider-nav, .map, .course-toc { display: none !important; }
	.is-ink { background: none; color: #000; }
}
