/* Hidde's plakboek — design tokens uit docs/features/cv-website/design.md (bevroren 2026-11-27). */

@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../fonts/permanent-marker-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bureau: #111111;
  --papier: #fffdf5;
  --inkt: #000000;
  --wit: #ffffff;
  --geel: #ffe14d;
  --roze: #ff5ca8;
  --blauw: #5cc8ff;
  --tape-geel: #ffe14dcc;
  --tape-blauw: #5cc8ffcc;
  --tape-roze: #ff5ca8cc;
  --foto-fysiek: #fff3a8;
  --foto-screen: #e9e6da;
  --stift-roze: #d6246e;
  --stift-blauw: #1c7fbf;
  --fout: #b00020;
  --fout-bg: #fff0f2;
  --uit: #eceae2;
  --font-kop: "Archivo Black", "Arial Black", sans-serif;
  --font-tekst: "Work Sans", system-ui, sans-serif;
  --font-stift: "Permanent Marker", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--inkt); font-family: var(--font-tekst); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--inkt); }
a:hover { color: #333; }
:focus-visible { outline: 4px solid var(--blauw); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 10; background: var(--geel); border: 3px solid var(--inkt); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }

.desk { min-height: 100vh; background-color: var(--bureau); background-image: radial-gradient(#ffffff1f 1.5px, transparent 1.5px); background-size: 24px 24px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px 40px; display: flex; flex-direction: column; }

/* Typografie */
.hd { font-family: var(--font-kop); font-weight: 400; text-transform: uppercase; margin: 0; line-height: 1; }
.mk { font-family: var(--font-stift); }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; max-width: 460px; }
.prose p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; }
.mk-roze { color: var(--stift-roze); font-size: 22px; }
.mk-blauw { color: var(--stift-blauw); font-size: 22px; }
.t-88 { font-size: 88px; line-height: .9; }
.t-80 { font-size: 80px; line-height: .9; }
.t-72 { font-size: 72px; line-height: .92; }
.t-44 { font-size: 44px; }
.t-40 { font-size: 40px; }
.t-36 { font-size: 36px; }
.t-24 { font-size: 24px; }
.t-22 { font-size: 22px; }

/* Kop met tabbladen */
.kop { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; padding-top: 20px; }
.logo { display: flex; align-items: center; min-height: 48px; font-family: var(--font-kop); font-size: 26px; color: var(--papier); text-decoration: none; }
.logo:hover { color: var(--geel); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-end; font-weight: 700; font-size: 15px; }
.tab { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; color: var(--inkt); border: 3px solid var(--inkt); border-bottom: 0; text-decoration: none; text-transform: uppercase; }
.tab[aria-current="page"] { min-height: 60px; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tab-werk { background: var(--geel); }
.tab-over { background: var(--blauw); }
.tab-ervaring { background: var(--roze); }
.tab-contact { background: var(--papier); }
.lang { display: flex; margin: 0 0 6px 12px; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 3px solid var(--papier); color: var(--papier); font-weight: 700; text-decoration: none; }
.lang a + a { border-left: 0; }
.lang a[aria-current="true"] { background: var(--papier); color: var(--inkt); }

/* Bladzijden */
.spread { display: flex; flex-wrap: wrap; background: var(--papier); border: 4px solid var(--inkt); box-shadow: 14px 14px 0 var(--shadow, var(--geel)); }
.spread + .spread, .spread.gap { margin-top: 56px; }
.sh-geel { --shadow: var(--geel); }
.sh-roze { --shadow: var(--roze); }
.sh-blauw { --shadow: var(--blauw); }
.pg { flex: 1 1 460px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.pg + .pg { border-left: 4px dashed var(--inkt); }
.sheet { background: var(--papier); border: 4px solid var(--inkt); box-shadow: 14px 14px 0 var(--shadow, var(--geel)); padding: 48px; display: flex; flex-direction: column; gap: 32px; }
.end { align-self: flex-end; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-end { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }

/* Tape, polaroids, stickers */
.tape { position: absolute; height: 26px; width: 90px; border: 1px solid #00000033; pointer-events: none; }
.tape-geel { background: var(--tape-geel); }
.tape-blauw { background: var(--tape-blauw); }
.tape-roze { background: var(--tape-roze); }
.polaroid { position: relative; display: block; background: var(--wit); border: 3px solid var(--inkt); padding: 10px 10px 36px; box-shadow: 6px 6px 0 var(--inkt); text-decoration: none; }
.polaroid .ph { aspect-ratio: 1 / 1; }
.ph { display: flex; align-items: center; justify-content: center; background: var(--foto-screen); font-size: 13px; font-weight: 600; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-fysiek { background: var(--foto-fysiek); }
.taped { position: relative; border: 3px solid var(--inkt); box-shadow: 8px 8px 0 var(--inkt); background: var(--wit); display: block; }
.taped .ph { aspect-ratio: 16 / 10; }
.sticker { font-family: var(--font-kop); text-transform: uppercase; padding: 6px 12px; border: 3px solid var(--inkt); font-size: 14px; display: inline-block; }
.stickers { display: flex; gap: 8px; flex-wrap: wrap; }
.big .sticker { padding: 8px 14px; font-size: 16px; }
.r-1 { transform: rotate(-1deg); } .r1 { transform: rotate(1deg); }
.r-2 { transform: rotate(-2deg); } .r2 { transform: rotate(2deg); }
.r-3 { transform: rotate(-3deg); } .r3 { transform: rotate(3deg); }
.r-4 { transform: rotate(-4deg); } .r-5 { transform: rotate(-5deg); }
.bg-geel { background: var(--geel); } .bg-roze { background: var(--roze); } .bg-blauw { background: var(--blauw); }
.bg-wit { background: var(--wit); } .bg-zwart { background: var(--inkt); color: var(--geel); }

/* Labels en knoppen */
.label { display: inline-block; align-self: flex-start; padding: 4px 8px; border: 2px solid var(--inkt); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.label-zwart { background: var(--inkt); color: var(--geel); padding: 6px 12px; font-size: 13px; border: 0; }
.labels { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 3px solid var(--inkt); box-shadow: 4px 4px 0 var(--inkt); font-family: var(--font-tekst); font-size: 15px; font-weight: 700; text-decoration: none; text-transform: uppercase; color: var(--inkt); background: var(--wit); cursor: pointer; align-self: flex-start; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--inkt); color: var(--inkt); }
.btn-lg { min-height: 52px; padding: 0 22px; }
.btn-geel { background: var(--geel); }
.btn-roze { background: var(--roze); }
.btn-zwart { background: var(--inkt); color: var(--geel); box-shadow: 4px 4px 0 var(--roze); }
.btn-zwart:hover { color: var(--geel); box-shadow: 5px 5px 0 var(--roze); }
.link-strong { font-weight: 700; text-transform: uppercase; }
.back { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-transform: uppercase; }

/* Stroken (lijst van werk) */
.strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 3px solid var(--inkt); text-decoration: none; }
.strip strong { font-family: var(--font-kop); font-weight: 400; font-size: 22px; text-transform: uppercase; min-width: 0; overflow-wrap: anywhere; }
.strip span { flex-shrink: 0; }
.strip span { font-size: 13px; font-weight: 700; text-transform: uppercase; }

/* Projectkaarten */
.filter { display: flex; border: 3px solid var(--inkt); box-shadow: 4px 4px 0 var(--inkt); }
.filter a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; font-weight: 700; text-decoration: none; background: var(--wit); }
.filter a + a { border-left: 3px solid var(--inkt); }
.filter a[aria-current="true"] { background: var(--inkt); color: var(--geel); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; padding: 8px; }
.card { position: relative; display: flex; flex-direction: column; border: 3px solid var(--inkt); box-shadow: 8px 8px 0 var(--inkt); text-decoration: none; color: var(--inkt); }
.card .ph { aspect-ratio: 16 / 10; border-bottom: 3px solid var(--inkt); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.card-body strong { font-family: var(--font-kop); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.card-body p { margin: 0; font-size: 15px; line-height: 1.5; }
.empty { padding: 40px; border: 3px dashed var(--inkt); text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }

/* Gegevenskaart GitHub */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts > div { padding: 14px 18px; border-bottom: 3px solid var(--inkt); }
.facts > div:nth-child(odd) { border-right: 3px solid var(--inkt); }
.facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.facts dd { margin: 0; font-family: var(--font-kop); font-size: 20px; text-transform: uppercase; }
.small { font-size: 12px; color: #444; }
.pager { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; margin-top: 48px; }
.pager a { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--papier); border: 3px solid var(--inkt); text-decoration: none; }
.pager a.next { align-items: flex-end; }
.pager strong { font-family: var(--font-kop); font-weight: 400; font-size: 22px; text-transform: uppercase; }

/* Galerij + lightbox */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding: 8px; list-style: none; margin: 0; }
.gallery button { all: unset; cursor: zoom-in; display: block; }
.gallery button:focus-visible { outline: 4px solid var(--blauw); outline-offset: 4px; }
.video { position: relative; border: 3px solid var(--inkt); box-shadow: 8px 8px 0 var(--inkt); background: var(--inkt); aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.links { display: flex; flex-direction: column; gap: 10px; }
.links a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; background: var(--wit); border: 3px solid var(--inkt); font-weight: 700; text-decoration: none; }
dialog.lightbox { width: min(1200px, 96vw); max-height: 96vh; padding: 28px 40px; border: 0; background: transparent; color: var(--papier); }
dialog.lightbox::backdrop { background: #000000e6; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.lb-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lb-nav { flex: 0 0 72px; height: 72px; background: var(--papier); border: 3px solid var(--inkt); box-shadow: 4px 4px 0 var(--roze); font-size: 28px; font-weight: 700; cursor: pointer; }
.lb-photo { margin: 0; flex: 1; max-height: 72vh; background: var(--wit); border: 3px solid var(--inkt); padding: 16px 16px 56px; box-shadow: 12px 12px 0 var(--roze); transform: rotate(-1deg); display: flex; justify-content: center; }
.lb-photo img { max-height: calc(72vh - 72px); width: auto; object-fit: contain; }
.lb-thumbs { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.lb-thumbs button { width: 64px; height: 64px; border: 3px solid var(--papier); background: var(--foto-fysiek); padding: 0; cursor: pointer; overflow: hidden; }
.lb-thumbs button[aria-pressed="true"] { border-color: var(--geel); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Kleine polaroids (homepage) */
.mini-pols { display: flex; flex-wrap: wrap; gap: 18px; padding: 8px 0; text-decoration: none; }
.mini-pols .polaroid { width: 140px; padding-bottom: 30px; }

/* Tijdlijn */
.timeline { list-style: none; margin: 0; padding: 0 0 0 40px; border-left: 4px dashed var(--inkt); display: flex; flex-direction: column; gap: 32px; }
.tl-item { position: relative; display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 24px 28px; border: 3px solid var(--inkt); box-shadow: 6px 6px 0 var(--inkt); }
.tl-dot { position: absolute; left: -58px; top: 26px; width: 28px; height: 28px; border-radius: 50%; border: 4px solid var(--inkt); }
.tl-when { flex: 0 0 200px; display: flex; flex-direction: column; gap: 6px; }
.tl-what { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; }
.tl-what p { margin: 0; font-size: 16px; line-height: 1.6; }
.tl-mini { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 14px 0; border-top: 3px solid var(--inkt); }
.tl-mini > span:first-child { flex: 0 0 150px; font-weight: 700; }

/* Voet / contact */
.voet { padding: 48px 0 32px; display: flex; flex-direction: column; gap: 28px; }
.voet-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.envelope { flex: 2 1 420px; min-width: 0; position: relative; background: var(--roze); border: 4px solid var(--inkt); box-shadow: 10px 10px 0 var(--papier); padding: 36px; display: flex; flex-direction: column; gap: 14px; transform: rotate(-1deg); }
.stamp { position: absolute; top: 18px; right: 18px; width: 60px; height: 72px; background: var(--geel); border: 3px solid var(--inkt); display: flex; align-items: center; justify-content: center; font-family: var(--font-kop); font-size: 13px; transform: rotate(6deg); }
.socials { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.social { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 22px; border: 3px solid var(--inkt); box-shadow: 6px 6px 0 var(--papier); font-family: var(--font-kop); font-size: 22px; text-decoration: none; }
.voet-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #bdbdbd; font-size: 14px; }
.voet-bottom .mk { font-size: 18px; color: var(--geel); }

/* 404 */
.torn { position: relative; width: 300px; height: 360px; border: 3px dashed var(--inkt); transform: rotate(4deg); display: flex; align-items: center; justify-content: center; }

/* Mobiel */
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .wrap { padding: 0 16px 24px; }
  .logo { font-size: 18px; }
  .kop { padding: 16px 0; align-items: center; }
  .menu-toggle { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--geel); border: 3px solid var(--inkt); font-size: 22px; font-weight: 700; cursor: pointer; }
  .tabs { width: 100%; order: 3; flex-direction: column; align-items: stretch; display: none; }
  .tabs.open { display: flex; }
  .tab { border-bottom: 3px solid var(--inkt); min-height: 52px; }
  .tab[aria-current="page"] { min-height: 52px; }
  .lang { margin: 0; order: 2; }
  .spread, .sheet { box-shadow: 8px 8px 0 var(--shadow, var(--geel)); border-width: 3px; }
  .sheet { padding: 24px 20px; }
  .spread + .spread, .spread.gap { margin-top: 32px; }
  .pg { padding: 24px 20px; flex-basis: 100%; }
  .pg + .pg { border-left: 0; border-top: 4px dashed var(--inkt); }
  .t-88, .t-80 { font-size: 52px; }
  .t-72 { font-size: 44px; }
  .t-44, .t-40 { font-size: 30px; }
  .btn { align-self: stretch; }
  .tl-item { padding: 18px; }
  .mini-pols { gap: 10px; }
  .mini-pols .polaroid { width: calc((100% - 20px) / 3); padding: 6px 6px 20px; }
  .strip strong { font-size: 17px; }
  .timeline { padding-left: 24px; }
  .tl-dot { left: -40px; }
  .lb-nav { flex-basis: 48px; height: 48px; }
  dialog.lightbox { padding: 12px; }
  .envelope { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
