/* ==========================================================================
   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);
  --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; }

/* --------------------------------------------------------------------------
   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 {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.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 {
  text-decoration: none;
  padding: 10px 0;
  opacity: .72;
  transition: opacity .2s var(--ease);
}
.nav-links a:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  min-height: 88svh;
  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;
}

.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(3rem, 8.4vw, 8.2rem);
  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: .3em; }

.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); top: 90%; }
.cursor-b { --c: var(--white);       left: -.35em;            top: 96%; }
.cursor-c { --c: var(--accent-soft); right: -.2em;            top: 100%; }

.hero-sub {
  max-width: 54ch;
  margin: clamp(56px, 7vw, 84px) auto 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  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(56px, 8vh, 96px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  text-align: center;
}

.hero-stats dt {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 850;
  font-stretch: 150%;
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
}

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

/* --------------------------------------------------------------------------
   Kaartwaaier (in Over mij)
   -------------------------------------------------------------------------- */
.deck {
  position: relative;
  height: clamp(400px, 40vw, 540px);
  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(210px, 21vw, 300px);
  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);
  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: 50%;  --y: 11%;  --r: 10deg; }
  .deck:hover .card[data-pos="2"] { --x: -50%; --y: -11%; --r: -15deg; }
}

.card.is-thrown { --x: 110%; --y: 4%; --r: 22deg; transition-duration: .22s; transition-timing-function: var(--ease); }

.card-web  { background: var(--accent); color: var(--teal); }
.card-meta { background: var(--teal);   color: var(--on-dark); }

.card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 22px;
}

.card-top {
  font-size: 11px;
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-meta .card-top { color: var(--accent); }

.card-big {
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 850;
  font-stretch: 150%;
  line-height: .88;
  letter-spacing: -.04em;
}

.card-foot {
  max-width: 20ch;
  font-size: 13px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Skills
   -------------------------------------------------------------------------- */
.skills {
  background: var(--white);
  padding: clamp(72px, 8vw, 112px) 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: clamp(3.4rem, 9vw, 8rem);
  font-weight: 850;
  font-stretch: 150%;
  line-height: .9;
  letter-spacing: -.045em;
}

.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: clamp(1.3rem, 2.1vw, 1.75rem);
  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(36px, 5vw, 64px);
  font-size: clamp(2.6rem, 6vw, 5rem);
  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(88px, 11vw, 150px) 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;
  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 { max-width: 100%; max-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-logo--sm { width: 40px; height: 40px; padding: 6px; border-radius: 10px; }

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

.tl-role {
  margin: 0;
  font-size: 16px;
  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--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-before {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}
.tl-before a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: rgba(4, 35, 34, .25); }

.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 {
  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; }

.cert-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.3;
}

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

/* --------------------------------------------------------------------------
   Merken: logotegels die doorlinken
   -------------------------------------------------------------------------- */
.brands {
  background: var(--teal);
  color: var(--on-dark);
  padding: clamp(88px, 11vw, 150px) 0;
}

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

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

.brand-list {
  display: grid;
  grid-template-columns: repeat(3, 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-dark);
  text-decoration: none;
}
.brand-list a::after {
  content: "↗";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--accent);
  transition: transform .2s var(--ease);
}
.brand-list a:hover::after { transform: translate(3px, -3px); }

.brand-name {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 800;
  font-stretch: 120%;
  line-height: 1.25;
  transition: color .2s var(--ease);
}
.brand-list a:hover .brand-name { color: var(--accent); }

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

/* --------------------------------------------------------------------------
   Over mij
   -------------------------------------------------------------------------- */
.about {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 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: 46ch;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  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); }

.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 {
  background: var(--white);
  color: var(--ink);
  padding: clamp(80px, 10vw, 140px) 0;
}

.contact-title { margin-bottom: 20px; }

.contact-lead {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.contact-actions .btn { min-width: 200px; }

.socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .2s var(--ease);
}
.socials a:hover { border-color: var(--accent-ink); }

.socials span {
  font-size: 15px;
  font-weight: 700;
  font-stretch: 120%;
}
.socials span::after { content: " ↗"; color: var(--accent-ink); }

.socials small {
  font-size: 14px;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   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(2, minmax(0, 1fr)); }
  .timeline { --label: 330px; --gap: 24px; }
}

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

  .deck { height: 440px; }

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

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

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

@media (max-width: 760px) {
  /* Tijdlijn: label boven de balk, jaartallen blijven boven de rijen */
  .timeline { --gap: 12px; }
  .tl-axis { margin-left: 0; }
  .tl-rows::after { display: none; }
  .tl-row { grid-template-columns: minmax(0, 1fr); padding: 16px 0 18px; }
  .tl-track { height: 12px; }
}

@media (max-width: 640px) {
  .nav-inner { height: 56px; gap: 12px; font-size: 11px; letter-spacing: .06em; }
  .nav-links { gap: 16px; }
  .nav-hide-sm { display: none; }

  .hero { padding-top: 104px; padding-bottom: 36px; }
  .hero-title { font-size: 9vw; margin-top: 34px; }
  .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; }
  .cursor-a { left: auto; right: -.15em; top: -100%; }
  .cursor-b { left: -.1em; top: 100%; }
  .cursor-c { right: 0; top: 112%; }

  .hero-sub { margin-top: 64px; font-size: 15px; }
  .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(58vw, 250px); }
  .deck { height: 400px; }
  .card[data-pos="0"] { --x: 26%;  --y: 8%; }
  .card[data-pos="2"] { --x: -26%; --y: -8%; }

  .skills-areas { font-size: 14px; }

  .tl-logo { width: 48px; height: 48px; padding: 8px; border-radius: 12px; }
  .tl-role { font-size: 15px; }

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

  .contact-actions .btn { width: 100%; }
  .socials { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .socials a { padding: 16px 0; }
}

@media (max-width: 400px) {
  .nav-hide-xs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { transition: none; }
  .card { transition-duration: .01s; }
  .brand-list a::after, .brand-name { transition: 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; }

  .nav, .skip, .deck, .cursor, .echo-ghost, .handle, .frame-size,
  .hero-actions, .contact-actions, .contact-lead, .footer, .brands,
  .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-before { margin-top: 4pt; font-size: 8pt; }
  .tl-before .tl-logo { width: 20pt; height: 20pt; }

  .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-title { margin-top: 6pt !important; }
  .socials { display: flex; gap: 16pt; margin: 2pt 0 0; }
  .socials a { display: inline; border: 0; padding: 0; }
  .socials span { font-size: 8.5pt; }
  .socials span::after { content: ": "; color: var(--ink); }
  .socials small { font-size: 8.5pt; color: var(--ink); }
}
