/* ==========================================================================
   Van der Haven: "Groen licht"
   Type: Quicksand, chosen by the client
   ========================================================================== */

@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
	--ink: #262c29;
	--ink-2: #2f3632;
	--ink-3: #3a423d;
	--night: #1f2522;
	--paper: #f2f1ec;
	--paper-2: #e6e5de;
	--signal: #19b360;
	--signal-deep: #0b7a40;
	--signal-glow: rgba(25, 179, 96, .55);
	--amber: #f5a524;
	--red: #e4352b;
	--muted-dark: rgba(242, 241, 236, .74);
	--muted-light: #575d59;
	--line-dark: rgba(242, 241, 236, .12);
	--line-light: rgba(38, 44, 41, .14);

	--f-display: "Quicksand", "Helvetica Neue", Arial, sans-serif;
	--f-text: "Quicksand", "Helvetica Neue", Arial, sans-serif;
	--w-head: 600;
	--ds: .6;

	--pad: clamp(20px, 4vw, 64px);
	--max: 1520px;
	--nav-h: 96px;
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
}


/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--f-text);
	font-size: 17px;
	line-height: 1.55;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-variant-numeric: lining-nums;
	overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: var(--signal); color: var(--ink); font-weight: 700; transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip:focus { transform: none; }

/* Grain ------------------------------------------------------------------ */
.grain {
	position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .065;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
	0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
	60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Type atoms ------------------------------------------------------------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--f-text); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow--signal { color: var(--signal); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(25, 179, 96, .18); animation: blink 2.4s ease-in-out infinite; }
.hero__eyebrow::before { display: none; }
@keyframes blink { 50% { box-shadow: 0 0 0 9px rgba(25, 179, 96, 0); } }

.display, .intro__title, .courses__title, .team__title, .stars__title, .finale__title {
	font-family: var(--f-display); font-weight: var(--w-head);  line-height: 1.08;
}

/* Licence category plate (B, AM, A, BE, C, CE) */
.plate {
	display: inline-grid; place-items: center; min-width: 46px; height: 38px; padding: 0 9px;
	border: 1.5px solid currentColor; border-radius: 3px;
	font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(22px * var(--ds));  line-height: 1;
}
.plate--sm { min-width: 32px; height: 26px; font-size: 15px; padding: 0 6px; border-width: 1.2px; }
.plate--sign { border: 0; padding: 0; min-width: 0; }
.plate--sign svg { width: 40px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }

/* Buttons & links --------------------------------------------------------- */
.btn {
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	height: 48px; padding: 0 22px; border-radius: 3px; overflow: hidden;
	font-family: var(--f-text); font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
	transition: background-color .25s ease, color .25s ease;
}
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #2fc874; }
.btn--signal:active { background: var(--signal-deep); color: var(--paper); }
.btn__label { line-height: 1.2; }
.btn .icon { width: 20px; height: 20px; transition: transform .25s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--xl { height: 68px; padding: 0 30px; font-size: 18px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 36px;
	font-family: var(--f-text); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.link-arrow span { position: relative; padding-bottom: 4px; }
.link-arrow span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; opacity: .35; transition: opacity .25s ease; }
.link-arrow:hover span::after { opacity: 1; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
	position: fixed; inset: 0 0 auto; z-index: 60; color: var(--paper);
	transition: transform .6s var(--ease-out), background-color .4s, border-color .4s;
	border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(38, 44, 41, .96); border-color: var(--line-dark); }
.nav.is-hidden { transform: translateY(-101%); }
.menu-open .nav { transform: none; background: var(--ink); border-color: var(--line-dark); }
.nav__links, .nav__phone, .nav__cta { transition: opacity .4s, visibility .4s; }
.menu-open .nav__links, .menu-open .nav__phone, .menu-open .nav__cta { opacity: 0; visibility: hidden; }

.nav__bar { display: flex; align-items: center; gap: 28px; height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.logo { flex: none; display: block; }
.logo img { width: 216px; height: auto; }
.nav__links { display: flex; gap: 30px; margin-left: 28px; }
.nav__links a { position: relative; font-weight: 600; font-size: 15px; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--signal); opacity: 0; transition: opacity .25s ease; }
.nav__links a:hover::after, .nav__links a.is-current::after { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-text); font-size: 14px; font-weight: 500; }
.nav__phone .icon { width: 17px; height: 17px; color: var(--signal); }
.nav__phone:hover { color: var(--signal); }

/* Scroll-progress traffic light */
.signal { display: inline-flex; flex-direction: column; gap: 3px; padding: 5px 4px; background: var(--night); border: 1px solid var(--line-dark); border-radius: 8px; }
.signal__lamp { width: 7px; height: 7px; border-radius: 50%; background: #3f4843; transition: background-color .4s, box-shadow .4s; }
.signal[data-stage="0"] .signal__lamp--red { background: var(--red); box-shadow: 0 0 8px var(--red); }
.signal[data-stage="1"] .signal__lamp--amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.signal[data-stage="2"] .signal__lamp--green { background: var(--signal); box-shadow: 0 0 10px var(--signal); }

.burger { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px 0 6px; font-family: var(--f-text); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.burger__lines { position: relative; width: 30px; height: 12px; }
.burger__lines i { position: absolute; left: 0; height: 2px; background: currentColor; transition: transform .6s var(--ease-io), width .6s var(--ease-io), top .6s var(--ease-io); }
.burger__lines i:first-child { top: 0; width: 100%; }
.burger__lines i:last-child { top: 10px; width: 62%; }
.burger:hover .burger__lines i:last-child { width: 100%; }
.menu-open .burger__lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger__lines i:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

/* Fullscreen menu ---------------------------------------------------------- */
.menu {
	position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
	visibility: hidden; clip-path: inset(0 0 100% 0); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
}
.menu__road { position: absolute; top: 0; bottom: 0; left: calc(var(--pad) * .45); width: 4px; overflow: hidden; opacity: .5; }
.menu__road i { position: absolute; inset: -80px 0 0; background: repeating-linear-gradient(to bottom, var(--paper) 0 34px, transparent 34px 70px); animation: road-v 1.6s linear infinite; }
@keyframes road-v { to { transform: translateY(70px); } }
.menu__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 6vw; max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + 4vh) var(--pad) 6vh; min-height: 100%; }
.menu__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4vw; align-content: start; }
.menu__item { padding: 10px 0 14px; border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.menu__link { display: inline-block; font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(40px, 4.6vw, 78px) * var(--ds)); line-height: 1.08; transition: color .3s, transform .5s var(--ease-out); }
.menu__link span { display: inline-block; }
.menu__list:hover .menu__item { opacity: .55; transition: opacity .3s; }
.menu__list .menu__item:hover { opacity: 1; }
.menu__link:hover { color: var(--signal); }
.menu__item.is-current .menu__link { color: var(--signal); }
.menu__item.is-current .menu__link span::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .14em; border-radius: 50%; background: currentColor; vertical-align: .62em; }
.menu__sub { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.menu__sub a { font-size: 15px; color: var(--muted-dark); transition: color .25s; }
.menu__sub a:hover { color: var(--signal); }
.menu__aside { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; font-size: 16px; }
.menu__aside .eyebrow { margin-top: 18px; color: var(--muted-dark); }
.menu__aside .eyebrow:first-child { margin-top: 0; }
.menu__lines a:hover { color: var(--signal); }
.menu__cta { margin-top: 26px; align-self: flex-start; }
.menu__social { display: flex; gap: 22px; margin-top: 8px; }
.menu__social a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark); }
.menu__social a:hover { color: var(--paper); }

.hours { display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 24px; max-width: 260px; }
.hours dt { color: var(--muted-dark); }
.hours dd { font-family: var(--f-text); font-size: 14px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { position: absolute; inset: 0; visibility: hidden; }
.hero__img.is-active { visibility: visible; }
/* Monochrome grade: the green type and buttons are the only colour in the hero. */
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: grayscale(1) contrast(1.08) brightness(.92); transform: scale(1.08); }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(38, 44, 41, .92) 0%, rgba(38, 44, 41, .72) 38%, rgba(38, 44, 41, .5) 62%, rgba(38, 44, 41, .68) 100%),
		linear-gradient(0deg, rgba(38, 44, 41, .95) 0%, rgba(38, 44, 41, 0) 42%),
		linear-gradient(180deg, rgba(38, 44, 41, .7) 0%, rgba(38, 44, 41, 0) 22%);
}
.hero__content {
	position: relative; height: 100%;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); grid-template-rows: auto 1fr;
	column-gap: 48px; padding-top: calc(var(--nav-h) + 4vh); padding-bottom: clamp(96px, 13vh, 150px);
}
.hero__eyebrow { grid-column: 1 / -1; align-self: start; color: var(--muted-dark); }
.hero__title {
	align-self: end; margin: 0;
	font-family: var(--f-display); font-weight: var(--w-head);
	font-size: calc(clamp(76px, 14.5vw, 252px) * var(--ds)); line-height: 1.02;
}
.hero__rot { position: relative; display: block; height: 1.18em; overflow: hidden; color: var(--signal); }
.hero__word { position: absolute; left: 0; top: 0; line-height: 1.18; white-space: nowrap; transform: translateY(125%); }
.hero__word.is-active { transform: none; }
.hero__line { display: block; }
.hero__line--indent { padding-left: .92em; }
.hero__side { align-self: end; padding-bottom: .6vw; }
.hero__captions { display: grid; min-height: 84px; }
.hero__caption { grid-area: 1 / 1; font-size: 19px; line-height: 1.4; opacity: 0; visibility: hidden; }
.hero__caption.is-active { opacity: 1; visibility: visible; }
.hero__lanes { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line-dark); }
.lane { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 14px 0 12px; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); transition: color .3s; }
.lane__label { font-weight: 600; font-size: 15px; }
.lane__go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-text); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease-out); }
.lane__go .icon { width: 15px; height: 15px; }
.lane__bar { grid-column: 1 / -1; grid-row: 2; height: 2px; background: var(--line-dark); overflow: hidden; }
.lane__bar i { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.lane.is-active, .lane:hover { color: var(--paper); }
.lane.is-active .lane__go, .lane:hover .lane__go { opacity: 1; transform: none; }

.hero__road { position: absolute; left: 0; right: 0; bottom: clamp(36px, 5vh, 56px); height: 5px; overflow: hidden; opacity: .55; }
.hero__road i { position: absolute; top: 0; bottom: 0; left: -200px; right: -200px; background: repeating-linear-gradient(90deg, var(--paper) 0 64px, transparent 64px 112px); }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro { position: relative; background: var(--paper); color: var(--ink); padding: clamp(72px, 8vw, 128px) 0 clamp(80px, 8vw, 128px); overflow: hidden; }
/* The road threads between title and lead, then drives into the fleet photo. */
.intro__route { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.intro .wrap > :not(.intro__route) { position: relative; z-index: 1; }
.route__base { fill: none; stroke: var(--paper-2); stroke-width: 54; }
.route__dash { fill: none; stroke: var(--signal); stroke-width: 3; stroke-dasharray: 16 18; }
.route__mask { fill: none; stroke: #fff; stroke-width: 64; }
.intro .wrap { position: relative; }
.intro .eyebrow { color: var(--muted-light); }
.intro__title { margin-top: 28px; font-size: calc(clamp(50px, 7.6vw, 128px) * var(--ds)); }
.intro__lead { margin-top: clamp(40px, 6vw, 92px); max-width: 27ch; margin-left: auto; font-size: clamp(27px, 3.3vw, 52px); line-height: 1.16; letter-spacing: -.012em; font-weight: 500; }
.intro__lead strong { font-weight: 700; color: var(--signal-deep); }
.intro__lead .w { opacity: .14; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); margin-top: clamp(56px, 6.5vw, 104px); align-items: start; }
.intro__photo { position: relative; }
.intro__photo-inner { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--ink); }
.intro__photo-inner img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 60%; }
.intro__photo figcaption { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--f-text); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.intro__photo figcaption .icon { width: 16px; height: 16px; color: var(--signal-deep); }
.intro__body { padding-top: 8px; }
.intro__body > p { font-size: 18px; max-width: 50ch; }
.intro__body > p + p, .intro__body > .chips + p { margin-top: 22px; }
.intro__body a:not(.link-arrow) { color: var(--signal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { display: inline-flex; border: 1px solid var(--line-light); border-radius: 3px; font-weight: 600; font-size: 15px; background: rgba(255, 255, 255, .45); transition: border-color .3s, background-color .3s; }
.chips li > a, .chips li > span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 7px; }
.chips li > a::before, .chips li > span::before { content: ""; width: 7px; height: 7px; background: var(--signal); border-radius: 50%; }
.intro__body .chips a { color: inherit; font-weight: inherit; text-decoration: none; }
.chips li:has(> a:hover), .chips li:has(> a:focus-visible) { border-color: var(--signal); background: rgba(25, 179, 96, .1); }
.intro__body .chips a:hover { color: var(--signal-deep); }

/* ==========================================================================
   COURSES (pinned horizontal)
   ========================================================================== */
.courses { position: relative; background: var(--ink); color: var(--paper); }
.courses__pin { position: relative; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.courses__track { display: flex; align-items: stretch; gap: 22px; width: max-content; padding-inline: var(--pad); will-change: transform; }
.courses__intro { flex: none; width: min(460px, 84vw); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-right: 60px; }
.courses__title { font-size: calc(clamp(60px, 7.2vw, 124px) * var(--ds)); }
.courses__intro > p:not(.eyebrow) { color: var(--muted-dark); max-width: 40ch; }
.courses__hint { display: inline-flex; align-items: center; gap: 12px; color: var(--paper) !important; font-weight: 600; }
.courses__hint .icon { color: var(--signal); width: 22px; height: 22px; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.course {
	position: relative; flex: none; display: flex; flex-direction: column;
	width: clamp(300px, 25vw, 390px); height: min(70svh, 600px); min-height: 500px; padding: 26px 26px 24px;
	background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; isolation: isolate;
	transition: background-color .5s var(--ease-out), color .5s var(--ease-out), border-color .5s;
}
.course__ghost {
	position: absolute; right: -.04em; bottom: -.2em; z-index: -1;
	font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(300px * var(--ds)); line-height: 1.08; 
	color: transparent; -webkit-text-stroke: 1.5px rgba(242, 241, 236, .1); transition: -webkit-text-stroke-color .5s, transform .8s var(--ease-out);
}
.course__head { display: flex; justify-content: flex-end; align-items: center; }
.course__label { font-family: var(--f-text); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); transition: color .5s; }
.course .plate { color: var(--signal); transition: color .5s; }
.course__disc { width: 56%; aspect-ratio: 1; margin: 28px 0 0; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 8px rgba(242, 241, 236, .04); transition: transform .4s ease, box-shadow .3s; }
.course__disc img { width: 100%; height: 100%; object-fit: cover; }
.course__body { margin-top: auto; display: grid; gap: 12px; }
.course__title { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(36px * var(--ds)); line-height: 1.08; }
.course__text { font-size: 15px; line-height: 1.5; color: var(--muted-dark); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; transition: color .5s; }
.course__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-family: var(--f-text); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); transition: color .5s; }
.course__more .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.course:hover, .course:focus-visible { background: var(--ink-3); border-color: rgba(25, 179, 96, .55); }
.course:hover .course__ghost { -webkit-text-stroke-color: rgba(242, 241, 236, .16); }
.course:hover .course__disc { transform: scale(1.03); }
.course:hover .course__more .icon { transform: translateX(3px); }

.courses__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(26px, 5vh, 52px); height: 16px; }
.courses__lane { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: repeating-linear-gradient(90deg, rgba(242, 241, 236, .28) 0 22px, transparent 22px 40px); }
.courses__car { position: absolute; top: 0; left: 0; width: 34px; height: 16px; border-radius: 6px 9px 9px 6px; background: var(--signal); box-shadow: 0 0 22px var(--signal-glow); transform: translateX(calc(var(--p, 0) * (min(100vw, var(--max)) - var(--pad) * 2 - 34px))); }
.courses__car::after { content: ""; position: absolute; right: 3px; top: 3px; width: 3px; height: 10px; border-radius: 2px; background: var(--paper); box-shadow: 0 0 6px var(--paper); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { position: relative; background: var(--paper); color: var(--ink); padding: clamp(72px, 8vw, 128px) 0; overflow: hidden; }
.team .eyebrow { color: var(--muted-light); }
.team__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 6vw; align-items: end; }
.team__head .eyebrow { grid-column: 1 / -1; }
.team__title { font-size: calc(clamp(52px, 7.4vw, 124px) * var(--ds)); }
.team__intro { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 34ch; padding-bottom: 10px; }
.team__list { margin-top: clamp(36px, 4.5vw, 68px); border-top: 2px solid var(--ink); display: grid; grid-template-columns: 72px minmax(0, 1.5fr) minmax(0, 1fr) minmax(230px, auto); column-gap: 28px; }
/* Rows share the list's tracks so role and plate columns line up across members */
.member {
	position: relative; display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; gap: 28px;
	padding: 18px 0; border-bottom: 1px solid var(--line-light);
	transition: background-color .25s ease;
}
.member__photo { width: 72px; height: 86px; overflow: hidden; background: var(--paper-2); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s; }
.member__mono { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(28px * var(--ds)); color: var(--muted-light); }
.member__name { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(30px, 3.5vw, 58px) * var(--ds)); line-height: 1.08; }
.member__role { font-size: 16px; color: var(--muted-light); transition: color .45s; }
.member__cats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
@media (hover: hover) and (pointer: fine) {
	.member:hover { background: rgba(255, 255, 255, .6); }
	.member:hover .member__photo img { filter: none; }
	.member:hover .plate { color: var(--signal-deep); }
}
.team__float { position: absolute; top: 0; left: 0; z-index: 3; width: 190px; height: 230px; overflow: hidden; pointer-events: none; opacity: 0; border: 4px solid #fff; box-shadow: 0 20px 40px -20px rgba(38, 44, 41, .45); background: var(--ink); }
.team__float img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   FIVE STARS
   ========================================================================== */
.stars { background: var(--signal); color: var(--ink); padding: clamp(52px, 6vw, 92px) 0; }
.stars__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 70px); align-items: center; }
.stars__row { display: flex; gap: clamp(6px, .8vw, 12px); }
.star { width: clamp(38px, 4.6vw, 74px); height: auto; overflow: visible; }
.star-outline { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linejoin: miter; }
.star-fill { fill: var(--ink); transform-box: fill-box; transform-origin: 50% 55%; }
.stars__title { font-size: calc(clamp(42px, 6vw, 108px) * var(--ds)); }
.link-arrow--ink { margin-top: 0; align-self: end; }

/* ==========================================================================
   FINALE
   ========================================================================== */
.finale { position: relative; background: var(--ink); color: var(--paper); }
.finale__pin { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 2vh) 0 6vh; overflow: hidden; }
.finale__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 150px); align-items: center; }
.light { position: relative; display: flex; flex-direction: column; gap: 16px; width: clamp(104px, 11vw, 160px); padding: 18px; background: var(--night); border: 1px solid rgba(242, 241, 236, .08); border-radius: 26px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .04), 0 40px 80px rgba(0, 0, 0, .5); }
.light::after { content: ""; position: absolute; left: 50%; top: 100%; width: 18px; height: 60vh; margin-left: -9px; background: linear-gradient(90deg, #1f2522, #323a35 50%, #1f2522); }
.light__lamp { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3b433e, #2a302c 70%); box-shadow: inset 0 4px 12px rgba(0, 0, 0, .7); transition: background .5s, box-shadow .5s; }
.light__lamp::before { content: ""; position: absolute; left: -8%; right: -8%; top: -10%; height: 46%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #181c1a, rgba(24, 28, 26, 0)); }
.light__lamp.is-on.light__lamp--red { background: radial-gradient(circle at 50% 42%, #ff8a7d, var(--red) 55%, #9c1d16); box-shadow: 0 0 40px rgba(228, 53, 43, .75), 0 0 120px rgba(228, 53, 43, .35); }
.light__lamp.is-on.light__lamp--amber { background: radial-gradient(circle at 50% 42%, #ffd88a, var(--amber) 55%, #a86800); box-shadow: 0 0 40px rgba(245, 165, 36, .75), 0 0 120px rgba(245, 165, 36, .35); }
.light__lamp.is-on.light__lamp--green { background: radial-gradient(circle at 50% 42%, #9cf5c2, var(--signal) 55%, #0a6b37); box-shadow: 0 0 46px rgba(25, 179, 96, .85), 0 0 160px rgba(25, 179, 96, .4); }
.finale__title { font-size: calc(clamp(60px, 9.6vw, 176px) * var(--ds)); max-width: 13em; color: var(--paper); }
.finale__title .go { color: var(--signal); }
.finale__lead { margin-top: 30px; font-size: clamp(19px, 1.6vw, 24px); max-width: 38ch; color: var(--muted-dark); }
.finale__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: 44px; }
.finale__call { max-width: 30ch; font-size: 15px; color: var(--muted-dark); }
.finale__call a { color: var(--paper); font-family: var(--f-text); font-weight: 600; white-space: nowrap; border-bottom: 1.5px solid var(--signal); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--night); color: var(--paper); padding-top: clamp(60px, 6.5vw, 100px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 4vw, 64px); }
.footer__logo img { width: 200px; }
.footer__stars { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; font-weight: 700; }
.footer__starline { display: inline-flex; gap: 4px; }
.footer__starline .star { width: 18px; }
.footer__starline .star-outline { stroke: var(--signal); stroke-width: 6; }
.footer__starline .star-fill { fill: var(--signal); }
.footer__about { margin-top: 14px; max-width: 46ch; color: var(--muted-dark); font-size: 15px; }
.footer .eyebrow { color: var(--muted-dark); margin-bottom: 22px; }
.footer__contact { display: grid; gap: 14px; font-size: 15px; }
.footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.footer__contact .icon { color: var(--signal); margin-top: 2px; }
.footer__contact a:hover, .footer__links a:hover { color: var(--signal); }
.footer .hours { font-size: 15px; }
.footer__links { display: grid; gap: 9px; font-size: 15px; }
.footer__links a { position: relative; transition: color .25s; }

.footer__word { display: grid; margin: clamp(40px, 5vw, 80px) 0 0; font-family: var(--f-display); font-weight: var(--w-head); font-size: clamp(90px, 20.5vw, 330px); line-height: 1.08;  color: var(--ink-3); user-select: none; }
.footer__word span:last-child { justify-self: end; color: var(--signal); }
.footer__word span { display: block; overflow: hidden; padding-top: .06em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 28px; padding: 22px 0 30px; border-top: 1px solid var(--line-dark); font-family: var(--f-text); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.footer__social { display: flex; align-items: center; gap: 22px; }
.footer__social a:hover { color: var(--signal); }
.footer__social .icon { width: 19px; height: 19px; }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }

/* Mobile conversion dock --------------------------------------------------- */
.dock { display: none; }
@media (max-width: 640px) {
	.dock {
		position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 58;
		display: flex; gap: 8px; padding: 8px; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 8px;
		box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease-out);
	}
	.dock.is-visible { transform: none; }
	.menu-open .dock { transform: translateY(calc(100% + 30px)); }
	.dock__call { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 4px; background: var(--ink-3); color: var(--signal); }
	.dock__call .icon { width: 22px; height: 22px; }
	.dock__cta { flex: 1; justify-content: space-between; height: 52px; font-size: 16px; }
}

/* WhatsApp float (every page) ---------------------------------------------- */
.wa {
	position: fixed; right: calc(24px + env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 57;
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .18);
	transition: transform .35s var(--ease-out), bottom .6s var(--ease-out), opacity .3s ease, background-color .25s;
}
.wa svg { width: 32px; height: 32px; }
.wa:hover { background: #1ebe5b; transform: scale(1.07); }
.wa:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wa__tip {
	position: absolute; right: calc(100% + 14px); top: 50%; padding: 9px 14px; border-radius: 4px; white-space: nowrap;
	background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; line-height: 1;
	opacity: 0; pointer-events: none; transform: translate(8px, -50%); transition: opacity .25s ease, transform .35s var(--ease-out);
}
@media (hover: hover) {
	.wa:hover .wa__tip, .wa:focus-visible .wa__tip { opacity: 1; transform: translate(0, -50%); }
}
.menu-open .wa { opacity: 0; pointer-events: none; transform: scale(.6); }
@media (max-width: 640px) {
	.wa { right: calc(14px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
	.wa svg { width: 29px; height: 29px; }
	.wa__tip { display: none; }
	/* Sit above the conversion dock (70px tall + 12px gap) while it is showing. */
	.dock.is-visible ~ .wa { bottom: calc(94px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
	.wa, .wa__tip { transition: none; }
}


/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* Page hero ----------------------------------------------------------------- */
.phero { position: relative; background: var(--ink); color: var(--paper); min-height: clamp(460px, 64svh, 640px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: -2; overflow: hidden; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.9); transform: scale(1.06); }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(38, 44, 41, .55) 32%, rgba(38, 44, 41, .1) 70%), linear-gradient(0deg, var(--ink) 0%, rgba(38, 44, 41, 0) 40%); }
.phero__ghost { position: absolute; right: -.04em; bottom: -.22em; z-index: -1; font-family: var(--f-display); font-weight: 900; font-size: clamp(260px, 34vw, 560px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 241, 236, .09); pointer-events: none; }
.phero--img .phero__ghost { -webkit-text-stroke-color: rgba(242, 241, 236, .16); }
.phero__inner { position: relative; padding-top: calc(var(--nav-h) + 28px); padding-bottom: clamp(70px, 9vh, 104px); display: grid; gap: clamp(40px, 9vh, 96px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--f-text); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.crumbs a:hover { color: var(--signal); }
.crumbs [aria-current] { color: var(--paper); }
.crumbs__sep { opacity: .4; }
.phero__head { max-width: min(1000px, 70%); }
.phero__eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.phero__eyebrow .plate { color: var(--signal); }
.phero__title { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(54px, 8.4vw, 150px) * var(--ds)); line-height: 1.08;  overflow-wrap: anywhere; hyphens: auto; }
.phero__sub { margin-top: 22px; max-width: 46ch; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; color: var(--muted-dark); }
.phero__road { bottom: 26px; }

/* Body + aside ------------------------------------------------------------- */
.page__body { background: var(--paper); color: var(--ink); padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 110px); }
.page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 110px); align-items: start; }
.side { position: sticky; top: calc(var(--nav-h) + 20px); }
.side__inner { display: grid; gap: 18px; }
.side__nav { padding: 22px 0 6px; border-top: 2px solid var(--ink); }
.side__nav .eyebrow { color: var(--muted-light); margin-bottom: 12px; }
.side__nav li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-light); font-weight: 600; font-size: 15px; transition: color .25s; }
.side__nav li a .icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease-out); }
.side__nav li a:hover { color: var(--signal-deep); }
.side__nav li a:hover .icon, .side__nav li.is-current .icon { opacity: 1; transform: none; }
.side__nav li.is-current a { color: var(--signal-deep); }
.side__card { background: var(--ink); color: var(--paper); padding: 26px; border-radius: 4px; display: grid; gap: 16px; }
.side__title { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(30px * var(--ds)); line-height: 1.08; }
.side__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-text); font-size: 18px; font-weight: 600; }
.side__phone .icon { color: var(--signal); }
.side__phone:hover { color: var(--signal); }
.side__btn { justify-content: space-between; }
.side__hours { padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 14px; }

/* Prose ---------------------------------------------------------------------- */
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { margin: 1.5em 0 .5em; font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(36px, 3.8vw, 58px) * var(--ds)); line-height: 1.08; }
.prose h3 { margin: 1.7em 0 .45em; font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(25px, 2.2vw, 32px) * var(--ds)); line-height: 1; }
.prose h4 { margin: 1.4em 0 .4em; font-size: 19px; font-weight: 800; }
.prose strong { font-weight: 700; }
.prose a { color: var(--signal-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); text-decoration-color: var(--signal); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: .45em; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 8px; background: var(--signal); }
.prose ol { counter-reset: li; }
.prose ol > li::before { counter-increment: li; content: counter(li); position: absolute; left: 0; top: .1em; font-family: var(--f-text); font-size: 13px; font-weight: 600; color: var(--signal-deep); }
.prose .rbw { float: right; width: clamp(150px, 22vw, 230px); aspect-ratio: 1; margin: 6px 0 20px 32px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 10px var(--paper-2); shape-outside: circle(50%); }
.prose .photo { float: right; width: clamp(180px, 30vw, 320px); margin: 6px 0 20px 32px; }
.prose .wide { display: block; clear: both; width: 100%; height: auto; margin: 1.6em 0; }
.prose .mid { display: block; clear: both; width: min(100%, 520px); height: auto; margin: 1.6em 0; }
.prose .photo { height: auto; }
.team__photo { margin-top: clamp(40px, 5vw, 72px); }
.team__photo img { width: 100%; height: auto; }
.prose .badge { float: left; width: 110px; margin: 4px 24px 12px 0; }
.prose .banner { display: block; margin: 0 0 1.6em; }
.prose .banner img { width: 100%; height: auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose .notice { position: relative; margin: 0 0 1.5em; padding: 18px 22px 16px 24px; background: #fff; border-left: 5px solid var(--signal); font-weight: 600; line-height: 1.5; }
.prose .notice--warn { border-left-color: var(--amber); }
.prose .lead { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.prose--dark { color: var(--paper); }
.prose--dark a { color: var(--signal); }

/* Price packages (inside page content) */
.prose .packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 1.2em 0 1.6em; }
.prose .package { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line-light); border-top: 5px solid var(--ink); transition: border-color .3s, transform .5s var(--ease-out), box-shadow .5s; }
.prose .package:hover { border-top-color: var(--signal); }
.prose .package h3 { margin: 0; font-size: 26px; }
.prose .package p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted-light); }
.prose .package .amount { margin-top: auto; padding-top: 10px; font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(46px * var(--ds)); line-height: 1; color: var(--ink); white-space: nowrap; }
.prose .package ul { margin: 0; font-size: 15px; line-height: 1.5; }
.prose .package li { padding-left: 18px; margin-bottom: .25em; }
.prose .package li::before { width: 6px; height: 6px; top: .6em; }
.prose .package--wide { grid-column: 1 / -1; }
.prose .packages--2 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.prose .rates { margin: 0 0 1.4em; border-top: 2px solid var(--ink); }
.prose .rates li { padding: 12px 0 10px; margin: 0; border-bottom: 1px solid var(--line-light); font-family: var(--f-text); font-size: 15px; line-height: 1.5; }
.prose .rates li::before { display: none; }
.prose .rates__title { margin-top: 1.4em; }

/* Reviews */
.prose .reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 1.4em 0; }
.prose .review { position: relative; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--line-light); }
.prose .review::before { content: "\201C"; position: absolute; right: 18px; top: -6px; font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(110px * var(--ds)); line-height: 1; color: var(--signal); }
.prose .review blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.prose .review figcaption { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-light); }
.prose .review figcaption strong { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(22px * var(--ds)); }
.prose .review figcaption span { font-family: var(--f-text); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-deep); }

/* Link cards (Snelkeuze, 404) */
.linkcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 1.4em 0; padding: 0; list-style: none; }
.linkcards li { padding: 0 !important; margin: 0 !important; }
.linkcards li::before { display: none !important; }
.linkcards a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 22px; background: var(--ink); color: var(--paper) !important; text-decoration: none !important; font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(26px * var(--ds)); line-height: 1; transition: background-color .35s, color .35s; }
.linkcards a .icon { color: var(--signal); transition: transform .25s ease; }
.linkcards a:hover { background: var(--ink-3); }
.linkcards a:hover .icon { transform: translateX(3px); }

/* Download button inside content */
.prose .download { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; border-radius: 3px; transition: background-color .3s, color .3s; }
.prose .download:hover { background: var(--signal); color: var(--ink); }

/* Card grids (Opleidingen, Prijzen) -------------------------------------------- */
.grid-section { background: var(--paper); color: var(--ink); padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 110px); }
.grid-section--dark { background: var(--ink); color: var(--paper); }
.grid-section__intro { margin-bottom: clamp(32px, 4vw, 56px); }
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.course--grid { width: auto; height: auto; min-height: 520px; }
.link-arrow--light { color: var(--paper); }

.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line-light); min-height: 460px; overflow: hidden; transition: background-color .45s var(--ease-out), color .45s, border-color .45s, transform .5s var(--ease-out); }
.pcard__head { display: flex; justify-content: flex-end; align-items: center; }
.pcard__label { font-family: var(--f-text); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); transition: color .45s; }
.pcard .plate { color: var(--signal-deep); transition: color .45s; }
.pcard__disc { width: 46%; aspect-ratio: 1; margin: 10px 0 8px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 8px var(--paper-2); transition: transform .4s ease; }
.pcard__disc img { width: 100%; height: 100%; object-fit: cover; }
.pcard__title { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(34px * var(--ds)); line-height: 1.08; margin-top: auto; }
.pcard__text { font-size: 15px; line-height: 1.5; color: var(--muted-light); transition: color .45s; }
.pcard__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-family: var(--f-text); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-deep); transition: color .45s; }
.pcard__more .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.pcard:hover { border-color: var(--ink); box-shadow: 0 14px 30px -22px rgba(38, 44, 41, .4); }
.pcard:hover .pcard__disc { transform: scale(1.03); }
.pcard:hover .pcard__more .icon { transform: translateX(3px); }

/* Team page */
.team--page { padding-top: clamp(56px, 6vw, 96px); }
.team__prose { max-width: 640px; }
.member--vacancy .member__name, .member--vacancy .member__role { color: var(--signal-deep); }
.member--vacancy .member__role { font-weight: 600; }
.member--vacancy .member__mono { color: var(--signal-deep); font-size: 34px; }

/* Contact ------------------------------------------------------------------------ */
.contact { background: var(--paper); color: var(--ink); padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 110px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 90px); align-items: start; }
.contact__info { display: grid; gap: 30px; }
.contact__info .prose { font-size: 17px; }
.contact__big { display: grid; gap: 6px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); transition: color .3s; }
.contact__big .eyebrow { color: var(--muted-light); }
.contact__value { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(44px, 6vw, 92px) * var(--ds)); line-height: 1.08; transition: color .3s; }
.contact__value--mail { font-size: clamp(32px, 4.2vw, 64px); text-transform: none; }
.contact__big:hover .contact__value { color: var(--signal-deep); }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact__row .eyebrow { color: var(--muted-light); margin-bottom: 12px; }
.contact__row address { font-size: 17px; line-height: 1.6; }
.contact__row .link-arrow { margin-top: 18px; }
.contact .hours dt, .request .hours dt { color: var(--muted-light); }
.map { position: sticky; top: calc(var(--nav-h) + 20px); aspect-ratio: 4 / 5; background: var(--ink); color: var(--paper); overflow: hidden; border-radius: 4px; }
.map::before { content: ""; position: absolute; inset: 0; background:
	repeating-linear-gradient(0deg, transparent 0 46px, rgba(242, 241, 236, .05) 46px 48px),
	repeating-linear-gradient(90deg, transparent 0 46px, rgba(242, 241, 236, .05) 46px 48px); }
.map::after { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 26px; background: var(--ink-3); transform: rotate(-14deg); box-shadow: 0 0 0 2px rgba(242, 241, 236, .06); }
.map__placeholder { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px; text-align: center; }
.map__pin { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--signal); color: var(--ink); box-shadow: 0 0 0 14px rgba(25, 179, 96, .18); animation: blink 2.4s ease-in-out infinite; }
.map__pin .icon { width: 32px; height: 32px; }
.map__addr { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(30px * var(--ds)); line-height: 1; }
.map__note { font-size: 13px; color: var(--muted-dark); }
.map iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; }

/* Request form ---------------------------------------------------------------- */
.request { background: var(--paper); color: var(--ink); padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 110px); }
.request__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.request__side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 26px; }
.request__side .eyebrow { color: var(--muted-light); }
.request__side > .eyebrow { margin-bottom: -12px; }
.request__side .contact__value { font-size: clamp(40px, 4.2vw, 66px); white-space: nowrap; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.field { grid-column: 1 / -1; display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--half { grid-column: span 1; }
.field label, .field legend { padding: 0; font-family: var(--f-text); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea {
	width: 100%; padding: 16px 18px 14px; background: #fff; color: var(--ink); border: 1.5px solid var(--line-light); border-radius: 3px;
	font: inherit; font-size: 17px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(25, 179, 96, .25); }
.field input::placeholder, .field textarea::placeholder { color: #9a9f9b; }
.field .is-invalid, .field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.field .choice { font-family: var(--f-text); font-size: 15px; letter-spacing: 0; text-transform: none; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 9px; background: #fff; border: 1.5px solid var(--line-light); border-radius: 3px; font-weight: 600; font-size: 15px; transition: background-color .25s, color .25s, border-color .25s; }
.choice span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .25s, border-color .25s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:checked + span::before { background: var(--signal); border-color: var(--signal); }
.choice input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { grid-column: 1 / -1; padding-top: 6px; }
.form__error { grid-column: 1 / -1; padding: 16px 20px; background: #fff; border-left: 5px solid var(--red); font-weight: 600; }

/* Closing band -------------------------------------------------------------------- */
.band { background: var(--ink); color: var(--paper); padding: clamp(56px, 6vw, 96px) 0; border-top: 1px solid var(--line-dark); }
.band__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; }
.band__light { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--night); border: 1px solid var(--line-dark); border-radius: 14px; }
.band__light i { width: 26px; height: 26px; border-radius: 50%; background: #3f4843; }
.band__light i { transition: background .3s, box-shadow .3s; }
.band__light i.is-red { background: var(--red); box-shadow: 0 0 22px rgba(228, 53, 43, .8); }
.band__light i.is-amber { background: var(--amber); box-shadow: 0 0 22px rgba(245, 165, 36, .8); }
.band__light i.is-on { background: radial-gradient(circle at 50% 42%, #9cf5c2, var(--signal) 55%, #0a6b37); box-shadow: 0 0 26px rgba(25, 179, 96, .8); }
.band__title { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(44px, 5.6vw, 96px) * var(--ds)); line-height: 1.08; }
.band__lead { margin-top: 14px; color: var(--muted-dark); font-size: 18px; max-width: 44ch; }
.band__actions { display: grid; gap: 14px; justify-items: start; }
.band__call { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-text); font-size: 15px; font-weight: 600; }
.band__call .icon { color: var(--signal); }
.band__call:hover { color: var(--signal); }

@media (max-width: 1100px) {
	.page__grid, .contact__grid, .request__grid { grid-template-columns: 1fr; }
	.side, .map, .request__side { position: static; }
	.side__inner { grid-template-columns: 1fr 1fr; align-items: start; }
	.map { aspect-ratio: 4 / 3; }
	.band__inner { grid-template-columns: auto 1fr; }
	.band__actions { grid-column: 1 / -1; }
	.phero__head { max-width: 100%; }
	.phero__media { width: 60%; opacity: .7; }
}
@media (max-width: 640px) {
	.phero { min-height: 0; }
	.phero__inner { gap: 48px; padding-bottom: 76px; }
	.phero__title { font-size: calc(clamp(46px, 13vw, 70px) * .86); }
	.phero__media { width: 100%; opacity: .45; }
	.side__inner { grid-template-columns: 1fr; }
	.prose { font-size: 17px; }
	.prose .rbw, .prose .photo { float: none; display: block; width: 180px; margin: 0 0 24px; }
	.prose .badge { width: 80px; }
	.form { grid-template-columns: 1fr; }
	.field--half { grid-column: 1 / -1; }
	.contact__row { grid-template-columns: 1fr; }
	.band__inner { grid-template-columns: 1fr; }
	.band__light { flex-direction: row; justify-self: start; }
	.pcard { min-height: 0; }
}

/* Fallback page ------------------------------------------------------------ */
.page-basic { background: var(--paper); color: var(--ink); padding: calc(var(--nav-h) + 12vh) 0 14vh; min-height: 70vh; }
.page-basic__title { font-family: var(--f-display); font-weight: var(--w-head); font-size: calc(clamp(48px, 7vw, 110px) * var(--ds)); line-height: 1.08; }
.page-basic__body { margin-top: 40px; max-width: 70ch; }
.page-basic__body p + p { margin-top: 1em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.nav__links { display: none; }
	.footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.hero__content { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
	.hero__title { font-size: calc(clamp(76px, 17vw, 200px) * var(--ds)); }
	.hero__side { max-width: 520px; margin-top: 30px; }
	.menu__inner { grid-template-columns: 1fr; }
	.menu__list { grid-template-columns: 1fr; }
	.intro__grid { grid-template-columns: 1fr; }
	.intro__route { display: none; }
	.team__head { grid-template-columns: 1fr; }
	.stars__inner { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 900px) {
	.nav__phone span { display: none; }
	/* Courses become a native swipe row */
	.courses__pin { height: auto; min-height: 0; padding: 72px 0 96px; }
	.courses__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; padding-bottom: 8px; }
	.courses__track::-webkit-scrollbar { display: none; }
	.courses__intro, .course { scroll-snap-align: start; }
	.courses__intro { width: 84vw; padding-right: 0; }
	.course { width: 80vw; height: auto; min-height: 520px; }
	.courses__progress { bottom: 50px; }
	.team__list { display: block; }
	.member { grid-template-columns: 60px minmax(0, 1fr); gap: 4px 18px; }
	.member__photo { width: 60px; height: 72px; grid-row: span 3; }
	.member__cats { justify-content: flex-start; margin-top: 6px; }
	.finale__inner { grid-template-columns: 1fr; }
	.light { flex-direction: row; width: auto; align-self: start; padding: 12px; border-radius: 20px; }
	.light__lamp { width: 54px; }
	.light::after { display: none; }
}
@media (max-width: 640px) {
	:root { --nav-h: 78px; }
	body { font-size: 16px; }
	.nav__bar { gap: 14px; }
	.logo img { width: 168px; }
	.nav__cta, .signal { display: none; }
	.hero { min-height: 600px; }
	.hero__title { font-size: calc(21vw * var(--ds)); }
	.hero__caption { font-size: 17px; }
	.hero__img img { object-position: 70% 50%; }
	.intro__lead { margin-left: 0; }
	.intro__body > p { font-size: 17px; }
	.course__ghost { font-size: 240px; }
	.btn--xl { height: 60px; padding: 0 22px; font-size: 16px; white-space: normal; text-align: left; }
	.footer__top { grid-template-columns: 1fr; }
	.footer__word { font-size: 18vw; }
	.footer__word span { white-space: nowrap; }
	.footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 104px; }
	.footer__social { width: 100%; }
	.footer__top-link { margin-left: auto; }
}

/* Without JS, or with reduced motion, the course drive is a plain swipe row. */
html:not(.js) .courses__pin, .courses.is-static .courses__pin { height: auto; padding: 120px 0; }
html:not(.js) .courses__track, .courses.is-static .courses__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .course, .courses.is-static .course { scroll-snap-align: start; }

/* Client remarks ------------------------------------------------------------- */
.hero__caption, .lane__label { text-shadow: 0 1px 8px rgba(38, 44, 41, .7); }
.map { background: var(--paper-2); }
.map::before, .map::after { display: none; }
.plate { font-size: 16px; }
.plate--sm { font-size: 13px; }
.side__title { font-size: 24px; }
.intro__more { display: grid; grid-template-columns: 2fr 3fr; gap: 12px; margin-top: 18px; }
.intro__more img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro__more img:first-child { object-position: 50% 22%; }
.team__list--founders { margin-top: clamp(36px, 4vw, 56px); }
.team__list--founders .member__photo img { filter: grayscale(1) contrast(1.05); }
.member__role--note { justify-self: end; }
.side__terms { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.form__terms { margin-top: 14px; }
.form__privacy { margin-top: 8px; font-size: .875rem; opacity: .8; }
.form__privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form__terms a { color: var(--signal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose .terms-note { clear: both; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 1.8em; padding: 18px 22px 16px 24px; background: #fff; border-left: 5px solid var(--signal); }
.prose .terms-note__text { margin: 0; font-weight: 700; line-height: 1.4; }
.prose .terms-link { display: inline-flex; align-items: center; gap: 8px; }
.prose .terms-link .icon { width: 17px; height: 17px; }

@media (max-width: 640px) {
	.member__role--note { justify-self: start; }
}

/* Reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.grain, .menu__road i, .courses__hint .icon, .eyebrow .dot { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
