/* ==========================================================================
   Yuri van Dorst, cv
   Kleuren van BYB Advertising (petrol, turquoise, gebroken wit).
   Eén lettertype: Anybody, variabel in breedte en gewicht.
   Vormregel: knoppen volledig rond, kaarten en rijen 18px, logotegels 16px.
   ========================================================================== */

:root {
  --teal: #042322;
  --teal-deep: #021615;
  --teal-2: #0b3533;
  --accent: #04cdc4;
  --accent-hov: #03b5ad;
  --accent-ink: #03837d;
  --accent-soft: #d8f5f3;

  --paper: #f6f6f4;
  --white: #ffffff;
  --ink: #042322;
  --ink-2: #3f4b4a;
  --line: #e0e0dc;

  --on-dark: #eef5f4;
  --on-dark-2: #9fb7b5;
  --line-dark: rgba(255, 255, 255, .14);

  --ease: cubic-bezier(.2, .8, .2, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  /* typeschaal: één maat per rol */
  --fs-h2: clamp(2.3rem, 4.8vw, 4.1rem);
  --fs-h3: clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-lead: clamp(.95rem, 1.1vw, 1.05rem);
  --fs-card: 16px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--teal);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Anybody', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-stretch: 105%;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }

::selection { background: var(--accent); color: var(--teal); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Tijdens het scrollen geen hover-effecten die onder de muis doorschieten */
html.is-scrolling main { pointer-events: none; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}
.skip:focus { top: 16px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Laadscherm: kort, bij elk bezoek en herladen, overslaan met klik of toets.
   Werkt volledig met CSS; JavaScript is alleen nodig om over te slaan.
   -------------------------------------------------------------------------- */
@property --pct {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: var(--on-dark);
  background-color: var(--teal);
  background-image:
    radial-gradient(55% 60% at 50% 50%, rgba(4, 205, 196, .12), rgba(4, 205, 196, 0) 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  background-position: center, center top, center top;
  cursor: pointer;
  animation: loader-out .6s cubic-bezier(.76, 0, .24, 1) 1.3s forwards;
}
.loader.is-skipped { animation: loader-out .35s cubic-bezier(.76, 0, .24, 1) forwards; }

@keyframes loader-out {
  to { transform: translateY(-100%); visibility: hidden; }
}

.loader-stage {
  text-align: center;
  animation: loader-lift .6s cubic-bezier(.76, 0, .24, 1) 1.3s forwards;
}
@keyframes loader-lift { to { transform: translateY(-60px); opacity: 0; } }

.loader-frame {
  position: relative;
  display: inline-block;
  padding: .08em .14em .12em;
  font-size: clamp(1.9rem, 6.6vw, 5.4rem);
  font-weight: 850;
  font-stretch: 150%;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.loader-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.25em);
  animation: loader-in .45s var(--ease) .05s forwards;
}
@keyframes loader-in { to { opacity: 1; transform: none; } }

/* Het kader tekent zich van links naar rechts */
.loader-box {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  clip-path: inset(0 100% 0 0);
  animation: loader-draw .55s var(--ease) .3s forwards;
}
@keyframes loader-draw { to { clip-path: inset(0 0 0 0); } }

.loader .handle {
  transform-origin: center;
  opacity: 0;
  animation: loader-pop .25s var(--ease) forwards;
}
.loader .h-tl { left: 0;  top: 0;    translate: -50% -50%; transform: none; animation-delay: .32s; }
.loader .h-bl { left: 0;  bottom: 0; translate: -50% 50%;  transform: none; animation-delay: .4s; }
.loader .h-tr { right: 0; top: 0;    translate: 50% -50%;  transform: none; animation-delay: .72s; }
.loader .h-br { right: 0; bottom: 0; translate: 50% 50%;   transform: none; animation-delay: .8s; }
@keyframes loader-pop { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }

/* Label onder het kader telt op tot 100% */
.loader-pct {
  position: absolute;
  left: 50%;
  top: 100%;
  translate: -50% 14px;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--teal);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  counter-reset: pct var(--pct);
  animation: loader-count 1.15s cubic-bezier(.3, .6, .2, 1) .1s forwards;
}
.loader-pct::after { content: counter(pct) "%"; }
@keyframes loader-count { to { --pct: 100; } }

/* De cursor schuift naar de hoek van het kader */
.loader-cursor {
  --c: var(--accent);
  left: 100%;
  top: 100%;
  font-size: 13px;
  translate: 38vw 30vh;
  animation: loader-cursor .85s cubic-bezier(.2, .8, .2, 1) .2s forwards;
}
@keyframes loader-cursor { to { translate: 2px 2px; } }

.loader-sub {
  margin: 58px 0 0;
  font-size: 13px;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  opacity: 0;
  animation: loader-in .4s var(--ease) .5s forwards;
}
.loader-sub i { font-style: italic; font-weight: 300; font-stretch: 60%; color: var(--accent); text-transform: none; letter-spacing: 0; }

.loader-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: loader-bar 1.15s cubic-bezier(.3, .6, .2, 1) .1s forwards;
}
@keyframes loader-bar { to { transform: scaleX(1); } }

@media (max-width: 640px) {
  .loader-frame { font-size: 6vw; }
  .loader-cursor { left: calc(100% - 10px); font-size: 11px; }
  .loader-sub { margin-top: 52px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}

/* --------------------------------------------------------------------------
   Navigatie: transparant op de hero, licht zodra je verder scrolt
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: var(--on-dark);
  background: linear-gradient(var(--teal) 30%, rgba(4, 35, 34, 0));
  transition: color .2s var(--ease);
}

.nav.is-solid {
  background: var(--teal);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -18px rgba(0, 0, 0, .6);
}

.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.nav.is-solid .nav-progress { opacity: 1; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 var(--gutter);
  font-size: 11px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav-name {
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(22px, 7vw, 110px);
}

.nav-links a {
  position: relative;
  text-decoration: none;
  padding: 10px 0;
  opacity: .72;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: .14em;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after,
.nav-links a.is-current::after { transform: scaleX(1); }
.nav-links a.is-current { opacity: 1; color: var(--accent); }

/* Hamburger (alleen mobiel) */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

#mobMenu {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .32s;
}
#mobMenu.is-open { visibility: visible; transition: visibility 0s; }

/* Links blijft de site zichtbaar, gedimd; tikken sluit het menu */
.mob-scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 22, 21, .55);
  opacity: 0;
  transition: opacity .32s var(--ease);
}
#mobMenu.is-open .mob-scrim { opacity: 1; }

.mob-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(82vw, 380px);
  padding: calc(14px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
  color: var(--on-dark);
  background-color: var(--teal);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .55);
  transform: translateX(calc(100% + var(--drag, 0px)));
  transition: transform .32s var(--ease);
  touch-action: pan-y;
  overflow-y: auto;
}
#mobMenu.is-open .mob-panel { transform: translateX(var(--drag, 0px)); }
.mob-panel.is-dragging { transition: none; }

.mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 28px;
}
.mob-title {
  font-size: 11px;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.mob-close {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-dark);
  cursor: pointer;
  touch-action: manipulation;
}
.mob-close span {
  position: absolute;
  top: 21px;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.mob-close span:nth-child(1) { transform: rotate(45deg); }
.mob-close span:nth-child(2) { transform: rotate(-45deg); }

.mob-links { display: grid; margin: 0; padding: 0; list-style: none; }
.mob-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.7rem, 8vw, 2.3rem);
  font-weight: 850;
  font-stretch: 135%;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-decoration: none;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease), color .2s var(--ease);
}
.mob-links a::after { content: "↗"; font-size: .5em; font-weight: 400; color: var(--accent); }
.mob-links a:active { color: var(--accent); }
#mobMenu.is-open .mob-links a { transform: none; opacity: 1; }
#mobMenu.is-open .mob-links li:nth-child(2) a { transition-delay: .04s; }
#mobMenu.is-open .mob-links li:nth-child(3) a { transition-delay: .08s; }
#mobMenu.is-open .mob-links li:nth-child(4) a { transition-delay: .12s; }

.mob-foot { margin-top: auto; display: grid; gap: 14px; }
.mob-foot .btn { width: 100%; }
.mob-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--on-dark-2); }
.mob-contact a { text-decoration: none; }

html.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  min-height: 80svh;
  padding: 120px var(--gutter) 48px;
  overflow: hidden;
  color: var(--on-dark);
  background-color: var(--teal);
  background-image:
    radial-gradient(55% 60% at 50% 45%, rgba(4, 205, 196, .12), rgba(4, 205, 196, 0) 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  background-position: center, center top, center top;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Licht dat de muis volgt over het raster (hero en contact) */
.spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(4, 205, 196, .16), rgba(4, 205, 196, 0) 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.has-spot.is-lit .spot { opacity: 1; }
.contact .wrap { position: relative; z-index: 1; }

.hero-hello {
  margin: 0;
  font-size: 13px;
  font-stretch: 120%;
  color: var(--on-dark-2);
}
.hero-hello strong { color: var(--on-dark); font-weight: 700; }

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(2.9rem, 6.4vw, 6rem);
  font-weight: 850;
  font-stretch: 150%;
  line-height: .92;
  letter-spacing: -.045em;
  color: var(--paper);
}

.hero-line {
  position: relative;
  display: block;
  width: fit-content;
  margin-inline: auto;
  white-space: nowrap;
}

.hero-line-2 { margin-top: max(.3em, 34px); }

.hero-line-2 i {
  font-style: italic;
  font-weight: 250;
  font-stretch: 50%;
  letter-spacing: -.01em;
  color: var(--accent);
  margin-right: .12em;
}

/* Selectiekader zoals in een designtool */
.frame {
  position: relative;
  display: inline-block;
  padding: 0 .06em;
}

.frame::before {
  content: "";
  position: absolute;
  inset: .02em -.02em .06em;
  border: 2px solid var(--accent);
  pointer-events: none;
}

.handle {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 2px solid var(--accent);
}
.h-tl { left: -.02em;  top: .02em;    transform: translate(-50%, -50%); }
.h-tr { right: -.02em; top: .02em;    transform: translate(50%, -50%); }
.h-bl { left: -.02em;  bottom: .06em; transform: translate(-50%, 50%); }
.h-br { right: -.02em; bottom: .06em; transform: translate(50%, 50%); }

.frame-size {
  position: absolute;
  left: 50%;
  top: calc(100% - .06em);
  transform: translate(-50%, 12px);
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--teal);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Cursors, zoals meekijkers in een designbestand */
.cursor {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: 0;
  color: var(--teal);
  pointer-events: none;
  transition: translate 1.1s var(--ease);
}

.cursor svg {
  width: 14px;
  height: 16px;
  flex: none;
  fill: var(--c);
  stroke: var(--teal);
  stroke-width: .8px;
}

.cursor-label {
  margin: 13px 0 0 -3px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--c);
  white-space: nowrap;
}

.cursor-a { --c: var(--accent);      left: calc(100% - .1em + 5px); top: 90%; }
.cursor-b { --c: var(--white);       left: -.35em;            top: calc(100% + .12em + 8px); }
.cursor-c { --c: var(--accent-soft); right: -.2em;            top: calc(100% + .12em + 12px); }

.hero-sub {
  max-width: 54ch;
  margin: clamp(62px, 6vw, 76px) auto 0;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--on-dark-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(880px, 100%);
  margin: clamp(44px, 7vh, 80px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  text-align: center;
}

.hero-stats dt {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-h3);
  font-weight: 850;
  font-stretch: 150%;
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.hero-stats dd {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--on-dark-2);
}

/* --------------------------------------------------------------------------
   Kaartwaaier (in Over mij)
   -------------------------------------------------------------------------- */
/* kaartmaat volgt de breedte van de fotokolom, zodat de waaier nooit over de tekst valt */
.deck {
  position: relative;
  container-type: inline-size;
  height: clamp(440px, 44vw, 600px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: var(--radius);
}
.deck:active { cursor: grabbing; }

.card {
  --x: 0%; --y: 0%; --r: 0deg;
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(240px, 25vw, 350px);
  width: min(55cqi, 360px);
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 34px 60px -26px rgba(4, 35, 34, .45), 0 0 0 1px rgba(4, 35, 34, .06);
  transform:
    translate(-50%, -50%)
    translate(var(--x), var(--y))
    translate(var(--dx, 0px), var(--dy, 0px))
    rotate(calc(var(--r) + var(--dr, 0deg)));
  transition: transform .45s var(--ease), scale .45s var(--ease);
  will-change: transform;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.card[data-pos="0"] { --x: 36%;  --y: 9%;   --r: 7deg;   z-index: 3; }
.card[data-pos="1"] { --x: 0%;   --y: 0%;   --r: -3deg;  z-index: 2; }
.card[data-pos="2"] { --x: -36%; --y: -9%;  --r: -12deg; z-index: 1; }

@media (hover: hover) and (pointer: fine) {
  .deck:hover .card[data-pos="0"] { --x: 46%;  --y: 10%;  --r: 9deg; }
  .deck:hover .card[data-pos="2"] { --x: -40%; --y: -10%; --r: -14deg; }
}

/* weggooien blijft binnen beeld: iets opzij, omlaag en kleiner, daarna achteraan */
.card.is-thrown { --x: 44%; --y: 12%; --r: 14deg; scale: .88; transition-duration: .22s; transition-timing-function: var(--ease); }

/* --------------------------------------------------------------------------
   Skills
   -------------------------------------------------------------------------- */
.skills {
  background: var(--white);
  padding: clamp(60px, 7vw, 96px) 0;
}

.skills-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.skills-head { padding-bottom: 12px; }

.skills-kicker {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
}

.skills-areas {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 800;
  font-stretch: 125%;
}

.echo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 850;
  font-stretch: 150%;
  line-height: .9;
  letter-spacing: -.04em;
}

.echo-title {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}

.echo-ghost {
  display: block;
  height: .42em;
  overflow: hidden;
  color: #ededea;
  user-select: none;
}
.echo-ghost-top span { display: block; margin-top: -.48em; }
.echo-ghost-bottom span { display: block; }

.skill-rows {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill {
  display: grid;
  grid-template-columns: 44px minmax(0, .9fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 16px 32px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.skill-mark {
  font-size: 30px;
  font-style: italic;
  font-weight: 300;
  font-stretch: 55%;
  line-height: 1;
  color: var(--accent-ink);
  transition: color .25s var(--ease);
}

.skill-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 800;
  font-stretch: 140%;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.skill-level {
  font-size: 11px;
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  transition: color .25s var(--ease);
}

.skill-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  transition: color .25s var(--ease);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tools li {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.tools img { width: 18px; height: 18px; }

.skill.is-active { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }
.skill.is-active .skill-mark,
.skill.is-active .skill-level { color: var(--accent); }
.skill.is-active .skill-desc { color: var(--on-dark-2); }
.skill.is-active .tools li { box-shadow: none; }

/* --------------------------------------------------------------------------
   Gedeelde sectiekop
   -------------------------------------------------------------------------- */
.section-title {
  margin: 0 0 clamp(28px, 4vw, 52px);
  font-size: var(--fs-h2);
  font-weight: 850;
  font-stretch: 150%;
  line-height: .95;
  letter-spacing: -.04em;
}

/* --------------------------------------------------------------------------
   Loopbaan: tijdlijn waarin werk en studie naast elkaar lopen
   -------------------------------------------------------------------------- */
.career {
  background: var(--paper);
  padding: clamp(68px, 8.5vw, 120px) 0;
}

.career-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.career-head .section-title { margin: 0; }

.legend {
  display: flex;
  gap: 22px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li::before {
  content: "";
  width: 22px;
  height: 10px;
  border-radius: 999px;
}
.legend-work::before { background: var(--teal); }
.legend-edu::before { background: var(--accent); }

.timeline { --label: 400px; --gap: 32px; --span: 72; }

.tl-axis {
  position: relative;
  height: 30px;
  margin-left: calc(var(--label) + var(--gap));
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.tl-axis span {
  position: absolute;
  left: calc(var(--m) / var(--span) * 100%);
  bottom: 8px;
  padding-left: 6px;
  font-variant-numeric: tabular-nums;
}
.tl-axis span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 1px;
  height: 10px;
  background: var(--line);
}
.tl-axis .tl-now { color: var(--accent-ink); font-weight: 800; }
.tl-axis .tl-now::before { background: var(--accent); width: 2px; }

.tl-rows {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Verticale lijn op "nu" door alle rijen heen */
.tl-rows::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--label) + var(--gap) + (100% - var(--label) - var(--gap)) * 69 / 72);
  width: 2px;
  background: var(--accent);
  opacity: .55;
  pointer-events: none;
}

.tl-row {
  display: grid;
  grid-template-columns: var(--label) minmax(0, 1fr);
  align-items: center;
  gap: var(--gap);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.tl-label {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.tl-logo {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  padding: 9px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.tl-logo img { width: 100%; height: 100%; object-fit: contain; }
.tl-logo--ikea   { background: #ffdb00; box-shadow: none; }
.tl-logo--teal   { background: var(--teal); box-shadow: none; }
.tl-logo--fontys { background: #663366; box-shadow: none; padding: 11px; }
.tl-logo--blue   { padding: 11px; }
.tl-logo--pad { padding: 7px; }

.tl-text { min-width: 0; }

.tl-role {
  margin: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: var(--fs-card);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.25;
}

.tl-org {
  margin: 3px 0 0;
  font-size: 14px;
}
.tl-org a {
  text-decoration-color: rgba(4, 35, 34, .25);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease);
}
.tl-org a:hover { text-decoration-color: var(--accent-ink); }

.tl-when {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}

.tl-track {
  position: relative;
  height: 16px;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}

.tl-bar {
  position: absolute;
  top: 0;
  height: 100%;
  left: calc(var(--s) / var(--span, 72) * 100%);
  width: calc((var(--e) - var(--s)) / var(--span, 72) * 100%);
  border-radius: 999px;
}
.tl-bar {
  transform-origin: left center;
  transition: transform .7s var(--ease), box-shadow .2s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms), 0s;
}
.timeline.tl-pre .tl-bar { transform: scaleX(0); }

/* Looptijd verschijnt boven het einde van de balk */
.tl-bar::after {
  content: attr(data-dur);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 700;
  font-stretch: 110%;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.tl-bar--edu::after { background: var(--accent-ink); }

.tl-row { transition: opacity .2s var(--ease), background-color .2s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .tl-rows:hover .tl-row:not(:hover) { opacity: .38; }
  .tl-row:hover .tl-bar::after { opacity: 1; transform: none; }
  .tl-row:hover .tl-bar { box-shadow: 0 0 0 4px rgba(4, 205, 196, .22); }
}

/* Punt bovenaan de "nu"-lijn */
.tl-rows::before {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(var(--label) + var(--gap) + (100% - var(--label) - var(--gap)) * 69 / 72 - 4px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--paper);
  z-index: 1;
}

.tl-bar--work { background: var(--teal); }
.tl-bar--edu { background: var(--accent); }
.tl-bar--stage { background: repeating-linear-gradient(-45deg, var(--teal) 0 4px, #3d6361 4px 8px); }

.tl-years {
  display: none;
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  height: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  pointer-events: none;
}
.tl-years span { position: absolute; left: calc(var(--m) / 72 * 100%); padding-left: 3px; }

/* Opleiding van vóór de tijdas (2021): label aan het begin van de balk */
.tl-earlier {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  background: var(--accent-ink);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.2;
  white-space: nowrap;
}
.tl-earlier::before { content: "←"; font-weight: 400; }

.certs { margin-top: clamp(56px, 7vw, 88px); }

.certs-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-list li {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cert-list img { flex: none; width: 28px; height: 28px; transition: transform .35s var(--ease); }
.cert-list li::before {
  content: "";
  position: absolute;
  inset: 6px -14px;
  z-index: -1;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 16px 30px -20px rgba(4, 35, 34, .45);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.cert-valid {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 115%;
  color: var(--accent-ink);
}
@media (hover: hover) and (pointer: fine) {
  .cert-list li:hover::before { opacity: 1; transform: none; }
  .cert-list li:hover img { transform: rotate(-14deg) scale(1.12); }
  .cert-valid {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .cert-list li:hover .cert-valid { opacity: 1; transform: none; }
}

.cert-name {
  margin: 0;
  font-size: var(--fs-card);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.25;
}

.cert-meta {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Merken: logotegels die doorlinken
   -------------------------------------------------------------------------- */
.brands {
  background: var(--white);
  color: var(--ink);
  padding: clamp(64px, 8vw, 112px) 0;
}

.brands .section-title { margin-bottom: 14px; }

.brands-sub {
  margin: 0 0 clamp(36px, 5vw, 56px);
  font-size: var(--fs-lead);
  color: var(--ink-2);
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 28px 18px 0;
  position: relative;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.brand-list a::after {
  content: "↗";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--accent-ink);
  transition: transform .2s var(--ease);
}
.brand-list a:hover::after { transform: translate(3px, -3px); }

.brand-name {
  font-size: var(--fs-card);
  font-weight: 800;
  font-stretch: 115%;
  overflow-wrap: anywhere;
  line-height: 1.25;
  transition: color .2s var(--ease);
}
.brand-list a:hover .brand-name { color: var(--accent-ink); }

.brand-url {
  font-size: 13px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Portfolio: laptop met echte websites die door het scherm scrollen
   -------------------------------------------------------------------------- */
.brands .section-title { margin-bottom: 0; }

.pf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.pf-intro {
  max-width: 40ch;
  margin: 0 0 6px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
}

.pf-stage {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.pf-tabs { display: grid; gap: 8px; }

.pf-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pf-tab:hover { border-color: rgba(4, 35, 34, .3); }
.pf-tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }

/* hoe ver je door de site bent (JS zet --p) */
.pf-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.pf-tab[aria-selected="true"]::after { transform: scaleX(var(--p, 0)); }

.pf-name { font-size: var(--fs-card); font-weight: 800; font-stretch: 115%; line-height: 1.25; }
.pf-type { font-size: 13px; color: var(--ink-2); transition: color .2s var(--ease); }
.pf-tab[aria-selected="true"] .pf-type { color: var(--on-dark-2); }

.pf-device { min-width: 0; padding-inline: 3%; text-align: center; }

.laptop {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.lp-lid {
  position: relative;
  padding: max(14px, 2.4%) 2.4% 3.2%;
  border-radius: 20px 20px 8px 8px;
  background: #101a19;
  box-shadow: inset 0 0 0 1px #2c3836, 0 50px 80px -50px rgba(4, 35, 34, .55);
}
/* camera */
.lp-lid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: max(4px, 1.1%);
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #2c3836;
}

.lp-screen {
  overflow: hidden;
  border-radius: 6px;
  background: var(--white);
}

.lp-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 30px;
  padding: 0 12px;
  background: #f1f1ef;
  border-bottom: 1px solid var(--line);
}
.lp-dots { display: flex; gap: 6px; flex: none; }
.lp-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d9d9d5; }
.lp-url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  height: 20px;
  border-radius: 6px;
  background: var(--white);
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-10px);
}

.lp-view {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

/* elke site is een eigen scrollvenster: vanzelf (JS) of zelf met muis, trackpad of vinger */
.pf-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.pf-shot::-webkit-scrollbar { display: none; }
.pf-shot.is-active { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.pf-shot:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.pf-shot img { display: block; width: 100%; height: auto; }

/* eigen scrollbalk: laat zien dat het scherm scrolt en waar je bent */
.lp-rail {
  position: absolute;
  top: 6px;
  right: 5px;
  bottom: 6px;
  z-index: 2;
  width: 4px;
  border-radius: 4px;
  background: rgba(120, 130, 129, .28);
  pointer-events: none;
}
.lp-thumb {
  display: block;
  height: calc(var(--h, .2) * 100%);
  min-height: 14px;
  border-radius: inherit;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(4, 35, 34, .35);
  transform: translateY(calc(var(--p, 0) * (100% / var(--h, .2) - 100%)));
}

.pf-hint {
  --c: var(--accent);
  right: 18px;
  bottom: 16px;
  transition: opacity .35s var(--ease), translate .35s var(--ease);
}
.pf-hint .cursor-label { box-shadow: 0 6px 16px -6px rgba(4, 35, 34, .5); }
.lp-view.is-used .pf-hint { opacity: 0; translate: 0 6px; }

.lp-base {
  position: relative;
  height: clamp(10px, 1.6vw, 17px);
  margin: 0 -5.5%;
  border-radius: 0 0 18px 18px / 0 0 14px 14px;
  background: linear-gradient(#c9cfcd, #8e9896 70%, #6f7977);
  box-shadow: 0 24px 34px -22px rgba(4, 35, 34, .55);
}
.lp-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #7d8785;
}

.pf-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 700;
  font-stretch: 115%;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s var(--ease);
}
.pf-live::after { content: "↗"; color: var(--accent-ink); transition: transform .2s var(--ease); }
.pf-live:hover { color: var(--accent-ink); }
.pf-live:hover::after { transform: translate(2px, -2px); }

.pf-sub {
  margin: clamp(72px, 9vw, 120px) 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 850;
  font-stretch: 150%;
  letter-spacing: -.035em;
  line-height: 1;
}
.portfolio .brands-sub { margin-bottom: clamp(24px, 3vw, 36px); }

/* --------------------------------------------------------------------------
   Over mij
   -------------------------------------------------------------------------- */
.about {
  background: var(--paper);
  padding: clamp(64px, 8vw, 112px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.about-title { grid-column: 1 / -1; margin-bottom: 0; }

.about-text p {
  margin: 0 0 1.1em;
  max-width: 54ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
}
.about-text em { color: var(--accent-ink); font-weight: 600; }


/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .1s ease-out;
}
.btn:active { transform: scale(.97); }

/* Magnetische knoppen: schuiven een paar pixels mee met de muis */
.btn.is-magnetic { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .1s ease-out, translate .25s var(--ease); }

.btn-icon { display: inline-block; margin-left: 8px; transition: transform .2s var(--ease); }
.btn:hover .btn-icon { transform: translateY(2px); }

.btn-dark { background: var(--teal); color: var(--on-dark); }
.btn-dark:hover { background: var(--teal-deep); }

.btn-accent { background: var(--accent); color: var(--teal); }
.btn-accent:hover { background: var(--accent-hov); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .3);
  color: var(--on-dark);
}
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .05); }

.btn-line {
  background: transparent;
  border-color: rgba(4, 35, 34, .3);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 8.5vw, 120px) 0;
  color: var(--on-dark);
  background-color: var(--teal);
  background-image:
    radial-gradient(50% 60% at 85% 20%, rgba(4, 205, 196, .12), rgba(4, 205, 196, 0) 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

.contact-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.contact-title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 850;
  font-stretch: 150%;
  line-height: .95;
  letter-spacing: -.04em;
}

.contact-lead {
  max-width: 32ch;
  margin: 0 0 8px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--on-dark-2);
}

.contact-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line-dark);
}

.c-row {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line-dark);
}

.c-label {
  font-size: 14px;
  font-weight: 600;
  font-stretch: 120%;
  color: var(--on-dark-2);
}

.c-value {
  justify-self: start;
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.c-value::after {
  content: "↗";
  display: inline-block;
  margin-left: .3em;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s var(--ease);
}
.c-value:hover { color: var(--accent); }
.c-value:hover::after { transform: translate(4px, -4px); }

.c-copy {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .1s ease-out;
}
.c-copy:hover { border-color: var(--accent); color: var(--accent); }
.c-copy:active { transform: scale(.96); }
.c-copy.is-done { background: var(--accent); border-color: var(--accent); color: var(--teal); }

/* "Jij" wijst van links naar de kopieerknop */
.c-copy-wrap { position: relative; display: inline-flex; justify-self: end; }
.cursor-you { --c: var(--accent); right: calc(100% + 5px); top: 6px; flex-direction: row-reverse; }
.cursor-you svg { transform: scaleX(-1); }
.cursor-you .cursor-label { margin: 10px -3px 0 0; }

.c-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--teal-deep);
  color: var(--on-dark-2);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  font-size: 12px;
}
.footer-inner p { margin: 0; }

.footer-byb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-byb:hover { color: var(--on-dark); }
.footer-byb img { width: 22px; height: auto; }

/* --------------------------------------------------------------------------
   Responsief
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .brand-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { --label: 330px; --gap: 24px; }
}

@media (max-width: 960px) {
  .hero { min-height: 0; }

  .pf-stage { grid-template-columns: minmax(0, 1fr); }
  .laptop { width: 92%; }
  .pf-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
  .pf-device { order: 1; }

  /* Over mij blijft naast elkaar tot tabletformaat, met een kleinere waaier */
  .about-grid { gap: 36px; }
  .deck { height: 440px; }
  .card { width: min(30vw, 280px); width: min(61cqi, 290px); }
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card[data-pos="0"] { --x: 24%;  --y: 7%;  --r: 5deg; }
  .card[data-pos="2"] { --x: -24%; --y: -7%; --r: -8deg; }
  @media (hover: hover) and (pointer: fine) {
    .deck:hover .card[data-pos="0"] { --x: 30%;  --y: 8%;  --r: 7deg; }
    .deck:hover .card[data-pos="2"] { --x: -28%; --y: -8%; --r: -10deg; }
  }

  .skill {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 22px;
  }
  .skill-body { grid-column: 2; }
  .skill-mark { font-size: 26px; }

  .skill { grid-template-columns: 30px minmax(0, 1fr); }

  .cert-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  /* contact in twee regels: label + kopieerknop, daaronder de waarde */
  .c-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label copy" "value value";
    gap: 10px 16px;
  }
  .c-label { grid-area: label; }
  .c-value { grid-area: value; }
  .c-copy, .c-copy-wrap { grid-area: copy; }
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .deck { height: 480px; }
  .card { width: min(62vw, 300px); }

  /* Tijdlijn: elke rij een eigen kaart met balk, looptijd en jaartallen */
  .timeline { --gap: 0px; }
  .tl-axis { display: none; }
  .tl-rows { display: grid; gap: 12px; }
  .tl-rows::after, .tl-rows::before { display: none; }
  .tl-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 18px 16px 12px;
    border: 0;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--line);
  }
  .tl-track { height: 10px; margin: 40px 0 26px; }
  .tl-bar::after { opacity: 1; transform: none; bottom: calc(100% + 7px); }
  .tl-track::before {
    content: "";
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: calc(69 / 72 * 100%);
    width: 2px;
    background: var(--accent);
  }
  .tl-years { display: block; }
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav-inner { height: 60px; gap: 12px; font-size: 11px; letter-spacing: .1em; }

  .hero { padding-top: 104px; padding-bottom: 36px; }
  .hero-title { position: relative; font-size: 8vw; margin-top: 46px; }
  .hero-line-2 { margin-top: 30px; }
  .frame::before { border-width: 1.5px; }
  .handle { width: 8px; height: 8px; border-width: 1.5px; }
  .frame-size { font-size: 11px; padding: 3px 6px; transform: translate(-50%, 7px); }
  .cursor { font-size: 11px; }
  .cursor-label { padding: 5px 8px; }
  /* telefoon: "Yuri" wijst van bovenaf naar de hoek van het kader,
     de andere twee staan links en rechts onder de titel */
  .cursor-a { left: auto; right: -.1em; top: auto; bottom: calc(100% + 9px); flex-direction: row-reverse; align-items: flex-end; }
  .cursor-a svg { transform: scale(-1, -1); }
  .cursor-a .cursor-label { margin: 0 -3px 13px 0; }
  .hero-line-2 { position: static; }
  .cursor-b { left: 0; top: calc(100% + 8px); }
  .cursor-c { left: auto; right: 0; top: calc(100% + 14px); }

  .hero-sub { margin-top: 56px; }
  .hero-actions .btn { flex: 1 1 140px; padding: 0 18px; }
  .hero-stats { margin-top: 48px; padding-top: 20px; }
  .hero-stats dt { font-size: 1.25rem; }
  .hero-stats dd { font-size: 12px; }

  .card { width: min(62vw, 290px); }
  .deck { height: 450px; }
  .card[data-pos="0"] { --x: 16%;  --y: 6%; }
  .card[data-pos="2"] { --x: -16%; --y: -6%; }
  .card.is-thrown { --x: 18%; --y: 10%; --r: 12deg; }

  .skills-areas { font-size: 14px; }
  :root { --fs-h2: 7.4vw; } /* net onder de hero, die op de telefoon 8vw is */

  .tl-logo { width: 48px; height: 48px; padding: 8px; border-radius: 12px; }
  :root { --fs-card: 15px; }

  .brand-list { grid-template-columns: minmax(0, 1fr); }
  .laptop { width: 88%; }
  .pf-tab { padding: 13px 14px; }
  .pf-type { font-size: 12px; }
  .lp-bar { height: 22px; gap: 8px; padding: 0 8px; }
  .lp-dots i { width: 6px; height: 6px; }
  .lp-dots { gap: 4px; }
  .lp-url { height: 16px; line-height: 16px; font-size: 11px; border-radius: 4px; }
  .lp-lid { border-radius: 12px 12px 6px 6px; }
  .pf-hint { right: 12px; bottom: 10px; font-size: 10px; }
  .pf-hint svg { width: 11px; height: 13px; }
  .pf-hint .cursor-label { margin-top: 10px; padding: 4px 7px; }
  .pf-hint-more { display: none; }
  .lp-rail { top: 4px; right: 3px; bottom: 4px; width: 3px; }

  .c-value { font-size: 5.3vw; font-stretch: 110%; }
  .c-copy { min-height: 38px; padding: 0 14px; font-size: 11px; }
}

@media (max-width: 400px) {
  .tl-label { gap: 12px; }
  .tl-logo { width: 40px; height: 40px; padding: 6px; border-radius: 10px; }
  :root { --fs-card: 14px; }
  .hero-stats { column-gap: 8px; }
  .hero-stats dd { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; }
  .pf-tab { padding: 12px; }
  .pf-name { overflow-wrap: anywhere; hyphens: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { transition: none; }
  .card { transition-duration: .01s; }
  .brand-list a::after, .brand-name { transition: none; }
  .tl-bar { transition: none; }
  .pf-hint { transition: none; }
  #mobMenu, .mob-scrim, .mob-panel, .mob-links a, .nav-toggle span, .spot, .btn.is-magnetic { transition: none; }
  .timeline.tl-pre .tl-bar { transform: none; }
}

/* --------------------------------------------------------------------------
   Afdrukken: een strak cv op A4
   -------------------------------------------------------------------------- */
@page { size: A4; margin: 12mm 14mm 12mm; }

@media print {
  :root {
    --ink: #0d1c1b;
    --ink-2: #4a5655;
    --line: #dcdcd8;
  }

  html, body { background: #fff !important; color: var(--ink); font-size: 9.5pt; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .loader, .nav, #mobMenu, .spot, .skip, .deck, .pf-head, .pf-stage, .pf-sub, .cert-valid, .cursor, .echo-ghost, .handle, .frame-size,
  .hero-actions, .contact-lead, .footer, .brands, .c-copy, .c-row--app, .tl-rows::before,
  .skills-kicker, .skills-areas, .tl-axis, .legend { display: none !important; }
  .tl-rows::after { display: none; }

  section { background: none !important; color: var(--ink) !important; padding: 0 !important; }
  .wrap { max-width: none; padding: 0; }

  .hero { display: block; min-height: 0; overflow: visible; text-align: left; background: none !important; }
  .hero-copy { text-align: left; margin: 0; }
  .hero-hello { font-size: 11pt; color: var(--ink); }
  .hero-hello strong { color: var(--ink); }
  .hero-title { margin-top: 1pt; font-size: 21pt; color: var(--ink); letter-spacing: -.03em; }
  .hero-line { margin: 0; }
  .hero-line-2 { margin-top: 0; }
  .hero-line-2 i { color: var(--accent-ink); }
  .frame { padding: 0; }
  .frame::before { display: none; }
  .hero-sub { max-width: none; margin: 4pt 0 0; font-size: 9.5pt; color: var(--ink-2); }
  .hero-stats { position: static; transform: none; display: flex; gap: 28pt; width: auto; margin: 5pt 0 0; padding: 0; border: 0; text-align: left; }
  .hero-stats dt { font-size: 13pt; color: var(--ink); }
  .hero-stats dd { font-size: 8.5pt; color: var(--ink-2); }
  .hero-stats dd br { display: none; }


  .skills-top { display: block; margin: 0; }
  .skills-head { display: none; }
  .echo { display: block; margin: 8pt 0 2pt; font-size: 12.5pt; }
  .about-grid { gap: 0; }
  .section-title { font-size: 12.5pt; margin: 8pt 0 2pt !important; }

  .skill-rows { max-width: none; gap: 0; }
  .skill, .skill.is-active {
    grid-template-columns: 120pt minmax(0, 1fr);
    padding: 2.5pt 0;
    background: none;
    color: var(--ink);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    break-inside: avoid;
  }
  .skill-mark { display: none; }
  .skill-name { font-size: 10pt; }
  .skill-body { grid-column: auto; }
  .skill-desc, .skill.is-active .skill-desc { color: var(--ink-2); font-size: 8.3pt; line-height: 1.35; }
  .skill-level, .skill.is-active .skill-level { font-size: 6.5pt; color: var(--accent-ink); }
  .tools { display: none; }

  .career-head { margin: 0; }
  .tl-row { grid-template-columns: 290pt minmax(0, 1fr); gap: 12pt; padding: 2.5pt 0; break-inside: avoid; }
  .tl-logo { width: 22pt; height: 22pt; padding: 2.5pt; border-radius: 5pt; }
  .tl-label { gap: 8pt; }
  .tl-role { font-size: 9pt; }
  .tl-org, .tl-when { font-size: 8pt; margin: 0; line-height: 1.3; }
  .tl-org a { text-decoration: none; }
  .tl-track { height: 7pt; }
  .tl-earlier { padding: 1pt 5pt; font-size: 7pt; }

  .certs { margin-top: 6pt; }
  .certs-title { font-size: 7.5pt; margin-bottom: 2pt; }
  .cert-list { grid-template-columns: repeat(3, 1fr); gap: 0 12pt; }
  .cert-list li { padding: 3pt 0; gap: 6pt; }
  .cert-list img { width: 14pt; height: 14pt; }
  .cert-name { font-size: 8.5pt; }
  .cert-meta { font-size: 7.5pt; }

  .about-grid { display: block; }
  .about-copy .section-title { margin-bottom: 4pt; }
  .about-text p { max-width: none; font-size: 8.8pt; line-height: 1.4; margin-bottom: 2pt; }

  .contact-head { display: block; margin: 0; }
  .contact-title { margin-top: 8pt; font-size: 12.5pt; color: var(--ink); }
  .contact-rows { display: flex; flex-wrap: wrap; gap: 3pt 16pt; margin-top: 2pt; border: 0; }
  .c-row { display: inline-flex; gap: 4pt; padding: 0; border: 0; }
  .c-label { font-size: 8.5pt; font-weight: 700; color: var(--ink); }
  .c-value { font-size: 8.5pt; font-weight: 500; color: var(--ink); letter-spacing: 0; }
  .c-value::after { content: none; }
  .tl-bar { transform: none !important; }
  .tl-bar::after, .tl-years, .tl-track::before { display: none !important; }
}
