/*
 * ICT Business Campus — gebaseerd op het Lucenta-thema (MIT, xocothemes),
 * omgezet naar platte HTML/CSS/JS zonder build-stap.
 * VOICE   zelfverzekerd, direct, voor 16–21-jarigen en hun ouders
 * IDEA    een studio-portfolio waarin de opleidingen de "projecten" zijn
 * PICTURE getekende schermen: leerplatform, netwerk, code, Scrum-bord
 * COLOUR  #0075be (hoofdkleur, uit het logo) en #0f395c (secundair), koel wit
 * TYPE    Epilogue 800 voor koppen, Mona Sans voor tekst (zelf gehost)
 */

@font-face {
  font-family: "Epilogue";
  src: url("../fonts/epilogue-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Epilogue";
  src: url("../fonts/epilogue-latin-ext.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF;
}

:root {
  --blue: #0075be;
  --navy: #0f395c;
  --deep: #0a2238;

  --paper: #f4f6f9;
  --paper-2: #e4eaf1;
  --ink: #0a1e30;
  --ink-2: #2f4255;
  --mute: #5b6b7c;
  --line: rgb(10 30 48 / 0.13);
  --line-strong: rgb(10 30 48 / 0.3);
  --signal: var(--blue);
  --on-signal: #ffffff;

  --font-display: "Epilogue", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 4.5rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --radius: clamp(0.75rem, 0.4rem + 1vw, 1.5rem);
  color-scheme: light;
}

/* Donkere secties: dezelfde tokens, omgekeerd, op het secundaire blauw. */
.on-ink {
  --paper: var(--navy);
  --paper-2: #164a74;
  --ink: #f4f6f9;
  --ink-2: #d3deea;
  --mute: #a3b8cc;
  --line: rgb(244 246 249 / 0.16);
  --line-strong: rgb(244 246 249 / 0.36);
  --signal: #5cb8f0;
  --on-signal: var(--deep);
  color-scheme: dark;
  background: var(--paper);
  color: var(--ink);
}

/* Een sectie in de kleur van een opleiding; --tint wordt inline gezet. */
.on-tint {
  background: var(--tint);
  color: var(--ink);
  --ink: #ffffff;
  --ink-2: rgb(255 255 255 / 0.88);
  --mute: rgb(255 255 255 / 0.76);
  --line: rgb(255 255 255 / 0.24);
  --line-strong: rgb(255 255 255 / 0.5);
  --paper: var(--tint);
  --paper-2: rgb(255 255 255 / 0.12);
  --signal: #ffffff;
  --on-signal: var(--tint);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}
button {
  cursor: pointer;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

html {
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
::selection {
  background: var(--blue);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */

.shell {
  width: 100%;
  max-width: 110rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(5rem, 3rem + 8vw, 11rem);
}
.section-tight {
  padding-block: clamp(3.5rem, 2rem + 5vw, 7rem);
}
.pb-0 {
  padding-bottom: 0;
}
.page-top {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 7rem));
}
.gap-head {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.grid-12 {
  display: grid;
  gap: 2rem;
}
@media (min-width: 64rem) {
  .grid-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .c2 { grid-column: span 2; }
  .c4 { grid-column: span 4; }
  .c10 { grid-column: span 10; }
  .c5 { grid-column: span 5; }
  .c6 { grid-column: span 6; }
  .c7 { grid-column: span 7; }
  .c8 { grid-column: span 8; }
  .c-start-6 { grid-column: 6 / span 7; }
  .c-start-7 { grid-column: 7 / span 6; }
}
.measure {
  max-width: 44rem;
}
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: clamp(3rem, 6vw, 4rem); }
.mute { color: var(--mute); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-wrap: balance;
}
.display-xxl { font-size: clamp(2.6rem, 0.4rem + 9.2vw, 12rem); }
.display-xl { font-size: clamp(2.4rem, 0.6rem + 6.6vw, 7.75rem); }
.display-lg { font-size: clamp(2rem, 0.8rem + 3.9vw, 4.75rem); line-height: 0.95; }
.display-md { font-size: clamp(1.6rem, 0.95rem + 2.2vw, 2.9rem); line-height: 1; letter-spacing: -0.045em; }
.display-sm { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.05; letter-spacing: -0.035em; }
.subhead {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.lead {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink-2);
}
.meta {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Links & knoppen ---------- */

.link {
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px;
  transition: background-size 0.5s var(--ease-out-expo);
  padding-bottom: 0.05em;
}
a:hover .link,
.link:hover,
a:focus-visible .link {
  background-size: 100% 1px;
  background-position-x: 0;
}
.link-under {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size 0.5s var(--ease-out-expo);
  padding-bottom: 0.05em;
}
.link-under:hover {
  background-size: 0 1px;
  background-position-x: 100%;
}
.inline-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--signal);
}
.inline-link:hover {
  text-decoration-thickness: 2px;
}

/* Tekst die omhoog rolt bij hover. */
.roll {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  line-height: 1.2;
}
.roll > span {
  display: block;
  transition: transform 0.55s var(--ease-out-expo);
}
.roll > span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
}
a:hover .roll > span,
button:hover .roll > span,
a:focus-visible .roll > span,
button:focus-visible .roll > span {
  transform: translateY(-100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 3.25rem;
  padding-inline: 1.5rem 0.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.975rem;
  white-space: nowrap;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.btn .btn-dot {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--signal);
  color: var(--on-signal);
  transition: transform 0.55s var(--ease-out-expo);
}
.on-tint .btn .btn-dot,
.on-tint .btn-ghost .btn-dot {
  background: #fff;
  color: var(--tint);
}
.on-tint .btn:not(.btn-ghost) {
  background: #fff;
  color: var(--tint);
}
.on-tint .btn:not(.btn-ghost) .btn-dot {
  background: var(--tint);
  color: #fff;
}
.btn:hover .btn-dot {
  transform: rotate(-45deg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.on-tint .btn-ghost:hover {
  color: var(--tint);
}
.btn-plain {
  padding-inline: 1.5rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.arrow-circle {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor;
  transition: background-color 0.4s, color 0.4s, transform 0.55s var(--ease-out-expo);
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding-inline: 0.85rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.chip-sm {
  height: 1.75rem;
  padding-inline: 0.75rem;
  font-size: 0.75rem;
}
.chip-solid {
  background: rgb(10 30 48 / 0.5);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ---------- Media ---------- */

.media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  isolation: isolate;
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Een foto die over een getekende afbeelding valt. Ontbreekt de foto, dan blijft de tekening staan. */
.photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s, transform 1.2s var(--ease-out-expo);
}
.photo.is-loaded {
  opacity: 1;
}
.zoom-img {
  transition: transform 1.2s var(--ease-out-expo);
}
.group:hover .zoom-img {
  transform: scale(1.045);
}

/* ---------- Beweging ---------- */

.mask-line {
  display: block;
  overflow: hidden;
  padding-block: 0.14em 0.18em;
  margin-block: -0.14em -0.18em;
}
.mask-line > span {
  display: inline-block;
  animation: line-up 1.2s var(--ease-out-expo) both;
  animation-delay: calc(var(--i, 0) * 90ms + 80ms);
}
@keyframes line-up {
  from {
    transform: translateY(105%) rotate(2deg);
  }
}
.rise {
  animation: rise 1.1s var(--ease-out-expo) both;
  animation-delay: calc(var(--i, 0) * 90ms + 200ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
    animation-delay: 0s;
  }
  .reveal-img {
    animation: unveil linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }
}
@keyframes unveil {
  from {
    clip-path: inset(18% 6% 0 6% round var(--radius));
  }
  to {
    clip-path: inset(0);
  }
}
.can-reveal .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.can-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: 0.5s var(--ease-in-out) both page-out;
  }
  ::view-transition-new(root) {
    animation: 0.9s var(--ease-out-expo) 0.15s both page-in;
  }
}
@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-3rem);
  }
}
@keyframes page-in {
  from {
    clip-path: inset(100% 0 0 0);
    transform: translateY(4rem);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@view-transition {
  navigation: auto;
}

/* ---------- Header ---------- */

.site-header {
  --fg: var(--ink);
  --bg: #f4f6f9;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--fg);
  background: var(--surface, var(--bg));
  transition: transform 0.6s var(--ease-out-expo), color 0.35s, background-color 0.35s;
}
.site-header[data-tone="dark"] {
  --fg: #f4f6f9;
  --bg: var(--navy);
}
.site-header[data-hidden] {
  transform: translateY(-110%);
}
.header-bar {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Logo: inline SVG. Kleur via variabelen; op donkere vlakken volledig wit,
   net als het diapositief. */
.logo {
  --logo-blue: #007dc5;
  --logo-navy: #043d60;
  --logo-grey: #7694a5;
  --logo-t1: #4098d4;
  --logo-t2: #7aafde;
  --logo-t3: #adcaea;
  position: relative;
  z-index: 1;
  display: block;
}
[data-tone="dark"] .logo,
.on-ink .logo,
.on-tint .logo {
  --logo-blue: #fff;
  --logo-navy: #fff;
  --logo-grey: #fff;
  --logo-t1: #fff;
  --logo-t2: #fff;
  --logo-t3: #fff;
}
.logo-svg {
  display: block;
  width: auto;
  height: 2.35rem;
  overflow: visible;
}
@media (min-width: 48rem) {
  .logo-svg { height: 2.75rem; }
}
.logo-svg path,
.logo-svg rect {
  transition: fill 0.4s, stroke 0.4s;
}
.lg-blue { fill: var(--logo-blue); }
.lg-navy { fill: var(--logo-navy); }
.lg-grey { fill: var(--logo-grey); }
.lg-t1 { fill: var(--logo-t1); }
.lg-t2 { fill: var(--logo-t2); }
.lg-t3 { fill: var(--logo-t3); }
.logo-svg .lg-rule {
  fill: none;
  stroke: var(--logo-blue);
  stroke-width: 2.13px;
}
.logo-owl {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease-out-expo);
}
a:hover > .logo .logo-owl {
  transform: rotate(-6deg);
}
/* Twee uilen: de gekleurde op lichte vlakken, de diapositief-uil (eigen
   tekening, met lijnen) op donkere vlakken. */
.logo-owl-dia {
  fill: #fff;
  opacity: 0;
}
.logo-owl-color,
.logo-owl-dia {
  transition: transform 0.6s var(--ease-out-expo), opacity 0.4s;
}
[data-tone="dark"] .logo-owl-color,
.on-ink .logo-owl-color,
.on-tint .logo-owl-color { opacity: 0; }
[data-tone="dark"] .logo-owl-dia,
.on-ink .logo-owl-dia,
.on-tint .logo-owl-dia { opacity: 1; }
.main-nav {
  display: none;
}
@media (min-width: 64rem) {
  .main-nav { display: block; }
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.975rem;
  font-weight: 500;
}
.nav-link {
  position: relative;
  display: inline-flex;
  padding-block: 0.4rem;
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.35rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: currentColor;
  translate: -50% 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta {
  display: none;
  align-items: center;
  height: 2.75rem;
  padding-inline: 1.25rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--surface, var(--bg));
  font-weight: 600;
  font-size: 0.925rem;
  transition: background-color 0.35s, color 0.35s;
}
.site-header[data-tone="light"] .header-cta {
  background: var(--blue);
  color: #fff;
}
@media (min-width: 40rem) {
  .header-cta { display: inline-flex; }
}
.header-menu {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
}
@media (min-width: 64rem) {
  .header-menu { display: none; }
}
.menu-lines {
  display: grid;
  gap: 0.4rem;
  width: 1.5rem;
}
.menu-lines span {
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.menu-lines span:last-child {
  width: 65%;
}

/* ---------- Menu (mobiel) ---------- */

.menu {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  overflow-y: auto;
}
.menu[open] {
  display: block;
  animation: menu-in 0.7s var(--ease-out-expo) both;
}
.menu::backdrop {
  background: transparent;
}
@keyframes menu-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.menu-inner {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}
.menu-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
}
.menu nav {
  flex: 1;
  padding-block: 2.5rem;
}
.menu-item {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.menu-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 0.9rem 0.6rem;
  font-size: clamp(2.3rem, 10vw, 5rem);
  transition: color 0.3s;
}
.menu[open] .menu-link {
  animation: line-up 0.9s var(--ease-out-expo) both;
  animation-delay: calc(var(--i) * 60ms + 150ms);
}
.menu-link .meta {
  padding-top: 0.6rem;
}
.menu-link[aria-current="page"] {
  color: var(--signal);
}
.menu-foot {
  display: grid;
  gap: 1rem;
  padding-block: 2rem;
}

/* ---------- Sectiekop ---------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

/* ---------- Hero ---------- */

/* De kop vult de volle breedte: op één regel, op smalle schermen op twee. */
.hero-shell {
  container-type: inline-size;
}
.hero-title {
  font-size: 9.3cqi;
  line-height: 0.9;
  white-space: nowrap;
}
@media (max-width: 47.99rem) {
  .hero-title {
    font-size: 16.4cqi;
  }
  .hero-title .mask-line > span {
    display: block;
  }
}

/* Intro en knoppen onder de kop. Op brede schermen naast elkaar: de tekst
   links onder "Make IT", de knoppen rechts, gelijk met de punt van de kop. */
.hero-actions {
  margin-top: clamp(2rem, 1.2rem + 3vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.hero-lead {
  max-width: 77ch;
  text-wrap: pretty;
}
@media (min-width: 64rem) {
  .hero-actions {
    /* flex-direction: row; */
    align-items: center;
    justify-content: space-between;
    /* gap: 3rem;
    padding-top: clamp(2rem, 3vw, 3rem); */
  }
  .hero-actions .btn-row {
    flex-wrap: nowrap;
  }
}
@media (max-width: 35.99rem) {
  .hero-actions {
    align-items: stretch;
  }
  .hero-actions .btn-row {
    flex-direction: column;
  }
  .hero-actions .btn {
    justify-content: space-between;
  }
  .hero-actions .btn-plain {
    justify-content: center;
  }
}
.capsule {
  position: relative;
  display: inline-block;
  width: 1.55em;
  height: 0.72em;
  margin-left: 0.12em;
  vertical-align: 0.02em;
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper-2);
}
.capsule > span,
.showcase-frame {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.capsule > span {
  display: grid;
  place-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.3em;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}
.capsule > span img {
  height: 78%;
  width: auto;
}
.capsule > [data-active],
.showcase-frame[data-active] {
  visibility: visible;
  animation: frame-in 1.6s var(--ease-out-expo) both;
}
@keyframes frame-in {
  from { transform: scale(1.12); }
}

.showcase {
  --p: 1;
  /* margin-top: clamp(3rem, 6vw, 6rem); */
}
.showcase-media {
  position: relative;
  display: block;
  height: clamp(30rem, 92svh, 60rem);
  overflow: hidden;
  background: var(--deep);
  clip-path: inset(calc((1 - var(--p)) * 9%) calc((1 - var(--p)) * (var(--gutter) + 9vw)) round calc((1 - var(--p)) * 3rem));
  will-change: clip-path;
  color: #fff;
}
.showcase-frame {
  display: grid;
  place-items: center;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(7rem, 12vw, 9rem);
  background: var(--fbg, var(--blue));
}
.showcase-bar {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter);
  background: linear-gradient(transparent, rgb(6 22 38 / 0.6));
  opacity: calc(var(--p) * 1.6 - 0.6);
}
.showcase-bar .meta {
  color: rgb(255 255 255 / 0.85);
}
.showcase-labels {
  display: grid;
  text-align: right;
}
.showcase-labels > span {
  grid-area: 1 / 1;
  visibility: hidden;
}
.showcase-labels > span[data-active] {
  visibility: visible;
  animation: line-up 0.9s var(--ease-out-expo) both;
}
.showcase-labels .subhead {
  color: rgb(255 255 255 / 0.78);
}

/* ---------- Getekende schermen ---------- */

.mock {
  width: min(100%, 64rem);
  font-size: clamp(0.62rem, 0.45rem + 0.6vw, 1rem);
  color: var(--ink-m, #0a1e30);
}
.win {
  border-radius: 1em;
  background: #fff;
  box-shadow: 0 2.5em 5em -1.5em rgb(4 16 28 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.12);
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 0.45em;
  height: 2.6em;
  padding-inline: 1em;
  background: #eef2f7;
  font-size: 0.85em;
  color: #5b6b7c;
}
.win-bar i {
  width: 0.8em;
  height: 0.8em;
  border-radius: 999px;
  background: #c9d3de;
}
.win-bar b {
  margin-left: 0.8em;
  font-weight: 600;
}
.lp {
  display: grid;
  grid-template-columns: 15em 1fr;
  min-height: 25em;
}
.lp-side {
  padding: 1.4em 1.1em;
  background: #f4f7fb;
  border-right: 1px solid #e3e9f0;
}
.lp-side p {
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a99a8;
}
.lp-side li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.55em;
  padding: 0.55em 0.75em;
  border-radius: 0.6em;
  font-weight: 600;
  font-size: 0.95em;
}
.lp-side li.on {
  background: #0075be;
  color: #fff;
}
.lp-side li em {
  font-style: normal;
  font-size: 0.85em;
  opacity: 0.7;
}
.lp-main {
  padding: 1.6em 1.8em;
}
.lp-main h4 {
  font-size: 1.7em;
  letter-spacing: -0.04em;
}
.lp-bar {
  height: 0.65em;
  margin-top: 0.9em;
  border-radius: 999px;
  background: #e3e9f0;
  overflow: hidden;
}
.lp-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0075be, #2f9be0);
}
.lp-tasks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8em;
  margin-top: 1.4em;
}
.lp-task {
  padding: 0.95em;
  border-radius: 0.8em;
  border: 1px solid #e3e9f0;
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.25;
}
.lp-task small {
  display: block;
  margin-top: 0.5em;
  font-weight: 500;
  color: #6c7b8a;
}
.lp-task.done {
  background: #e8f3fb;
  border-color: #b8dcf2;
}
.lp-task.done::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  margin-bottom: 0.6em;
  border-radius: 999px;
  background: #0075be;
  color: #fff;
  font-size: 0.85em;
}
.lp-task.now {
  border-color: #0075be;
  box-shadow: 0 0 0 2px rgb(0 117 190 / 0.18);
}
.lp-task.now::before {
  content: "";
  display: block;
  width: 1.5em;
  height: 1.5em;
  margin-bottom: 0.6em;
  border-radius: 999px;
  border: 2px solid #0075be;
}
.lp-task.next {
  color: #9aa7b4;
}
.lp-task.next::before {
  content: "";
  display: block;
  width: 1.5em;
  height: 1.5em;
  margin-bottom: 0.6em;
  border-radius: 999px;
  background: #eef2f7;
}
.lp-review {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-top: 1.2em;
  padding: 0.9em 1em;
  border-radius: 0.8em;
  background: #0f395c;
  color: #fff;
  font-size: 0.95em;
}
.lp-review span {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 999px;
  background: #5cb8f0;
  color: #0a2238;
  font-weight: 800;
  flex: none;
}
.code {
  padding: 1.4em 1.6em 1.8em;
  background: #0a2238;
  color: #d3deea;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.05em;
  line-height: 1.75;
  white-space: pre;
  overflow: hidden;
}
.code .k { color: #5cb8f0; }
.code .s { color: #9fe3b0; }
.code .c { color: #6f8aa3; }
.code .f { color: #ffd479; }
.code .ai {
  color: rgb(211 222 234 / 0.42);
}
.code .ai-tag {
  display: inline-block;
  margin-left: 0.6em;
  padding: 0 0.6em;
  border-radius: 0.4em;
  background: #0075be;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78em;
  font-weight: 600;
  line-height: 1.7;
}
.win-dark .win-bar {
  background: #0f2d48;
  color: #a3b8cc;
}
.win-dark .win-bar i {
  background: #26506f;
}
.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
  padding: 1.4em;
  background: #f4f7fb;
}
.board h5 {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.15em;
  letter-spacing: -0.03em;
}
.board h5 em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.8em;
  color: #8a99a8;
}
.card-s {
  margin-top: 0.7em;
  padding: 0.85em 0.9em;
  border-radius: 0.7em;
  background: #fff;
  box-shadow: 0 1px 0 #e3e9f0, 0 0.4em 1em -0.6em rgb(10 30 48 / 0.25);
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.3;
}
.card-s small {
  display: flex;
  gap: 0.4em;
  align-items: center;
  margin-top: 0.55em;
  font-weight: 500;
  color: #6c7b8a;
}
.card-s small b {
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 999px;
  background: #0f395c;
  color: #fff;
  font-size: 0.85em;
}
.card-s.blue {
  border-left: 0.3em solid #0075be;
}
.card-s.done {
  opacity: 0.6;
  text-decoration: line-through;
  text-decoration-color: #0075be;
}
.sprint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1.4em;
  border-bottom: 1px solid #e3e9f0;
  font-weight: 600;
}
.sprint span {
  padding: 0.25em 0.8em;
  border-radius: 999px;
  background: #e8f3fb;
  color: #0075be;
  font-size: 0.85em;
}

/* De netwerktekening schaalt mee met haar kader. */
.net {
  width: min(100%, 60rem);
  height: auto;
}

@media (max-width: 40rem) {
  .lp { grid-template-columns: 1fr; }
  .lp-side { display: none; }
  .lp-tasks { grid-template-columns: 1fr 1fr; }
  .lp-tasks .next { display: none; }
  .board { grid-template-columns: 1fr 1fr; }
  .board > :last-child { display: none; }
  .code { font-size: 0.95em; }
}

/* ---------- Opleidingskaarten (stack) ---------- */

.stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.stack-card {
  aspect-ratio: 4 / 5;
}
@media (min-width: 48rem) {
  .stack-card { aspect-ratio: 16 / 9; }
}
.stack-inner {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
}
.stack-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 5% 8% 14%;
  background: var(--tint);
}
.stack-art {
  grid-template-rows: minmax(0, 1fr);
}
.stack-art .net {
  width: auto;
  height: 100%;
  max-width: 100%;
}
.stack-art .mock {
  width: min(100%, 52rem);
}
.stack-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.6vw, 2.5rem);
  background: linear-gradient(rgb(6 22 38 / 0.3), transparent 26%), linear-gradient(transparent 45%, rgb(6 22 38 / 0.62));
}
.stack-top,
.stack-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.stack-top {
  align-items: flex-start;
}
.stack-top > .meta {
  flex: none;
  white-space: nowrap;
}
.stack-bottom {
  align-items: flex-end;
  gap: 1.5rem;
}
.stack-overlay .meta {
  color: rgb(255 255 255 / 0.88);
}
.stack-headline {
  font-size: clamp(1.1rem, 0.9rem + 0.9vw, 1.75rem);
  color: rgb(255 255 255 / 0.92);
}
.stack-side {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
@media (min-width: 40rem) {
  .stack-side { display: flex; }
}
.stack-arrow {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.group:hover .stack-arrow {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

/* Opleidingenpagina: de twee opleidingen naast elkaar op brede schermen. */
@media (min-width: 64rem) {
  .stack-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stack-duo .stack-card {
    aspect-ratio: 4 / 5;
  }
  .stack-duo .display-xl {
    font-size: clamp(2.2rem, 0.6rem + 3.2vw, 4.5rem);
    text-wrap: balance;
  }
  .stack-duo .stack-headline {
    font-size: clamp(1.05rem, 0.8rem + 0.5vw, 1.4rem);
  }
  .stack-duo .stack-side > .meta {
    display: none;
  }
}

/* ---------- Manifest + cijfers ---------- */

.manifesto {
  --p: 1;
  /* max-width: 30ch; */
  font-size: clamp(1.6rem, 0.8rem + 2.9vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.manifesto span {
  opacity: clamp(0.13, calc(var(--p) * var(--n) * 1.15 - var(--w)), 1);
  transition: opacity 0.2s linear;
}
.figures {
  margin-top: clamp(4rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 1.5rem;
}
@media (min-width: 64rem) {
  .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.figures > div {
  display: flex;
  flex-direction: column;
}
.figures dd {
  margin-top: auto;
  padding-top: 1rem;
}
.figures dd small {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--mute);
}

/* ---------- Lijst met regels (diensten-stijl) ---------- */

.rows {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.rows > li {
  border-bottom: 1px solid var(--line);
}
.row-link {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: start;
  gap: 0.5rem 1.25rem;
  padding-block: clamp(1.25rem, 2.4vw, 2.25rem);
}
.row-link .meta {
  padding-top: 0.4em;
}
.row-title {
  transition: transform 0.7s var(--ease-out-expo), color 0.4s;
}
.row-summary {
  grid-column: 2;
  max-width: 34ch;
  color: var(--mute);
}
.row-arrow {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}
@media (min-width: 64rem) {
  .row-link {
    grid-template-columns: 4rem 1fr 24rem auto;
    align-items: center;
  }
  .row-summary { grid-column: 3; }
  .row-arrow { grid-column: 4; }
}
.row-link:hover .row-title {
  transform: translateX(clamp(0.5rem, 2vw, 2rem));
  color: var(--signal);
}
.row-link:hover .row-arrow {
  background: var(--signal);
  color: var(--on-signal);
  box-shadow: none;
  transform: rotate(45deg);
}

/* Kaartje dat de muis volgt boven een lijst. */
.follow-wrap {
  position: relative;
}
.follow-float {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: clamp(15rem, 20vw, 22rem);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.4s, scale 0.6s var(--ease-out-expo);
}
.follow-float[data-active] {
  opacity: 1;
  scale: 1;
}
.follow-float > div {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  background: var(--fbg, var(--blue));
  color: #fff;
  text-align: center;
}
.follow-float > div[data-active] {
  opacity: 1;
}
.follow-float svg {
  width: 45%;
  height: auto;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .follow-float { display: none; }
}

/* ---------- Looptekst + citaat ---------- */

.marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 0.35em;
  height: 0.35em;
  border-radius: 999px;
  background: var(--blue);
}
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-item[aria-hidden] { display: none; }
}
.quote-wrap {
  margin-top: clamp(4rem, 8vw, 8rem);
}
.quote-mark {
  height: 0.5em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 5rem + 10vw, 16rem);
  font-weight: 800;
  line-height: 0.7;
  color: var(--blue);
}
.quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.quote-cap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.quote-cap::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: var(--ink);
}
.quote-cap b {
  display: block;
}

/* ---------- Kaarten met data (open dagen) ---------- */

.event-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 48rem) {
  .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.event-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 17rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.4s, transform 0.6s var(--ease-out-expo);
}
.event-card:hover {
  box-shadow: inset 0 0 0 1px var(--blue);
  transform: translateY(-0.25rem);
}
.event-card.is-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
  --mute: rgb(255 255 255 / 0.8);
  --line-strong: rgb(255 255 255 / 0.5);
}
.event-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 0.85;
}
.event-day small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.32em;
  letter-spacing: -0.03em;
}
.event-card .chips {
  margin-top: auto;
}

/* ---------- Paginakop (binnenpagina's) ---------- */

.page-head {
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
.page-title {
  font-size: clamp(3rem, 0.6rem + 9vw, 11rem);
  line-height: 0.88;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
@media (min-width: 40rem) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.facts dd {
  margin-top: 0.25rem;
  font-weight: 500;
}
.case-cover {
  background: linear-gradient(var(--tint) 30%, transparent 30%);
  padding-inline: var(--gutter);
}
.cover-frame {
  max-width: 110rem;
  margin-inline: auto;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 6% 8%;
  background: var(--deep);
}
@media (max-width: 40rem) {
  .cover-frame { aspect-ratio: 4 / 3.4; padding: 6% 4%; }
}

/* ---------- Lopende tekst ---------- */

.prose {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-2);
}
.prose > * + * {
  margin-top: 1.25em;
}
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: 1.35rem;
  color: var(--ink);
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.7em;
}
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--signal);
}
.prose a:hover {
  text-decoration-thickness: 2px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose ul {
  list-style: disc;
  padding-left: 1.25em;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.25em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose li::marker {
  color: var(--blue);
}
.prose ul.chips {
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
}
.prose ul.chips li + li {
  margin-top: 0;
}
.prose .chips .chip {
  height: auto;
  min-height: 2.25rem;
  padding-block: 0.35rem;
  font-size: 0.95rem;
  white-space: normal;
  color: var(--ink);
}
.callout {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.callout-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}
.callout-blue p,
.callout-blue strong,
.callout-blue a {
  color: #fff;
}
.callout-blue a {
  text-decoration-color: #fff;
}

/* ---------- Stappen ---------- */

.steps {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: 3rem 2rem;
}
@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.step-num {
  display: block;
  font-size: clamp(3.5rem, 2rem + 4vw, 6rem);
  color: var(--signal);
}
.step p a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------- Vergelijkingstabel ---------- */

.compare {
  width: 100%;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-collapse: collapse;
  font-size: 1.05rem;
}
.compare th,
.compare td {
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.compare tbody th {
  font-weight: 500;
  color: var(--mute);
  width: 28%;
}
@media (max-width: 40rem) {
  .compare thead { display: none; }
  .compare tr { display: grid; padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { border: 0; padding: 0.2rem 0; width: auto; }
  .compare td::before { content: attr(data-l) ": "; font-weight: 600; }
}

/* ---------- Tijdlijsten (open dagen, vakanties) ---------- */

.timeline {
  border-top: 1px solid var(--line);
}
.timeline > li {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: clamp(1.25rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .timeline > li {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
    align-items: center;
  }
  .timeline > li > :last-child {
    justify-self: end;
  }
}
.timeline .when {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.timeline .when small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--mute);
}
.timeline .time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 500;
}
.timeline li.is-past {
  display: none;
}
.timeline li.is-next .when {
  color: var(--blue);
}
.empty-note {
  display: none;
  padding-block: 2rem;
}
.timeline:not(:has(li:not(.is-past))) + .empty-note {
  display: block;
}

/* ---------- Formulier + FAQ ---------- */

.form {
  display: grid;
  gap: 2rem;
}
.field {
  display: grid;
  gap: 0.5rem;
}
.field label,
.field legend {
  font-size: 0.875rem;
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.6rem 0 0.75rem;
  border-bottom: 1.5px solid var(--line-strong);
  border-radius: 0;
  font-size: 1.2rem;
  transition: border-color 0.3s;
}
.field textarea {
  resize: vertical;
  min-height: 7rem;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field [aria-invalid="true"] {
  border-color: #c2321a;
}
.field-error {
  color: #b42d16;
  font-size: 0.875rem;
}
.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pick {
  position: relative;
}
.pick span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 1.2rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.pick:hover span {
  box-shadow: inset 0 0 0 1px var(--ink);
}
.pick input:checked + span {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}
.pick input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.form-result {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}
.form-result a {
  text-decoration: underline;
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.6rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.5s var(--ease-out-expo), background-color 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.9rem;
  height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
}
.faq-icon::after {
  rotate: 90deg;
}
.faq[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--signal);
  color: var(--on-signal);
  box-shadow: none;
}
.faq-body {
  max-width: 48rem;
  padding-bottom: 1.75rem;
  color: var(--ink-2);
}
.faq-body a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------- Contactblok ---------- */

.contact-list {
  display: grid;
  gap: 1.75rem;
  align-content: start;
}
fieldset {
  border: 0;
}
.contact-list dd {
  margin-top: 0.35rem;
  font-size: 1.2rem;
  font-weight: 500;
}

/* ---------- Video ---------- */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  background: radial-gradient(circle at 30% 20%, #1a6aa8, transparent 55%), linear-gradient(135deg, var(--blue), var(--navy));
  text-align: center;
}
.video-start > div {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}
.video-play {
  display: grid;
  place-items: center;
  width: clamp(4.5rem, 8vw, 7rem);
  height: clamp(4.5rem, 8vw, 7rem);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  transition: transform 0.6s var(--ease-out-expo);
}
.video-start:hover .video-play {
  transform: scale(1.08);
}
.video-owl {
  position: absolute;
  right: 6%;
  bottom: -4%;
  width: clamp(5rem, 14vw, 12rem);
  opacity: 0.22;
}

/* ---------- Volgende opleiding ---------- */

.next {
  display: block;
}
.next-inner {
  display: grid;
  align-items: end;
  gap: 2.5rem;
  padding-block: clamp(4rem, 9vw, 9rem);
}
@media (min-width: 64rem) {
  .next-inner { grid-template-columns: 7fr 5fr; }
}
.next-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 8%;
  background: var(--deep);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
}
.page-end-dark + .site-footer {
  border-top: 1px solid var(--line);
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
}
.footer-cta .display {
  transition: transform 0.7s var(--ease-out-expo);
}
.footer-cta:hover .display {
  transform: translateX(0.08em);
}
.footer-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 0.9em;
  height: 0.9em;
  font-size: clamp(2.4rem, 0.6rem + 6.6vw, 7.75rem);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  transform: scale(0.7);
  transition: transform 0.7s var(--ease-out-expo);
}
.footer-arrow svg {
  width: 0.5em;
  height: 0.5em;
}
.footer-cta:hover .footer-arrow {
  transform: scale(0.8) rotate(45deg);
}
.footer-grid {
  margin-top: 4rem;
  display: grid;
  gap: 3rem;
}
@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: 4fr 2fr 2fr 4fr; }
}
.footer-grid ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-link {
  color: var(--ink-2);
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--ink);
}
.footer-grid address {
  margin-top: 1rem;
  font-style: normal;
  color: var(--ink-2);
}
.footer-bottom {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--mute);
}
.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
}
.footer-owl {
  position: absolute;
  right: var(--gutter);
  top: clamp(4rem, 2rem + 6vw, 8rem);
  width: clamp(4rem, 9vw, 8rem);
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 40rem) {
  .footer-owl { display: none; }
}

.cover-frame,
.next-media {
  grid-template-rows: minmax(0, 1fr);
}
.cover-frame .net,
.next-media .net {
  width: auto;
  height: 100%;
  max-width: 100%;
}
.next-media .mock {
  font-size: clamp(0.55rem, 0.4rem + 0.45vw, 0.8rem);
}

.rocva-text{
  color:#e4002b;
}

.white-text{
  color:white !important;
}