/* =========================================================
   Daniel Koenders — persoonlijke site
   ========================================================= */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  --bg: #f5f5f7;
  --bg-elev: #ffffff;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, .09);
  --line-2: rgba(0, 0, 0, .05);
  --link: #0066cc;
  --blue: #0071e3;
  --sel: #0a63d6;

  --menubar-bg: rgba(246, 246, 248, .62);
  --menubar-fg: #1d1d1f;
  --mb-logo-fg: #f5f5f7;
  --menu-bg: rgba(242, 242, 245, .82);
  --dock-bg: rgba(246, 246, 250, .55);
  --dock-bg-solid: rgba(250, 250, 252, .9);
  --menubar-bg-solid: rgba(248, 248, 250, .92);
  --dock-border: rgba(255, 255, 255, .55);
  --label-bg: rgba(236, 236, 240, .92);
  --label-fg: #1d1d1f;

  --win-bg: #ffffff;
  --win-side: rgba(233, 233, 238, .82);
  --win-bar: #f6f6f8;
  --win-shadow: 0 30px 90px -10px rgba(0, 0, 0, .35), 0 0 0 .5px rgba(0, 0, 0, .22);

  --about: #f2585a;
  --work: #b07033;
  --skills: #5e55e6;
  --edu: #0c9a69;
  --contact: #d4206c;

  --r-card: 26px;
  --ease: cubic-bezier(.22, .9, .25, 1);
  --spring: cubic-bezier(.32, 1.4, .5, 1);
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-elev: #111113;
  --card: #1c1c1e;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .06);
  --link: #2997ff;
  --blue: #0a84ff;
  --sel: #0a6ce0;

  --menubar-bg: rgba(28, 28, 32, .55);
  --menubar-fg: #f5f5f7;
  --mb-logo-fg: #1c1c1e;
  --menu-bg: rgba(40, 40, 44, .82);
  --dock-bg: rgba(40, 40, 46, .5);
  --dock-bg-solid: rgba(36, 36, 40, .9);
  --menubar-bg-solid: rgba(28, 28, 32, .92);
  --dock-border: rgba(255, 255, 255, .14);
  --label-bg: rgba(52, 52, 56, .92);
  --label-fg: #f2f2f2;

  --win-bg: #1e1e20;
  --win-side: rgba(44, 44, 48, .82);
  --win-bar: #2a2a2d;
  --win-shadow: 0 30px 90px -10px rgba(0, 0, 0, .7), 0 0 0 .5px rgba(255, 255, 255, .14);

  --about: #ff7a6b;
  --work: #e0a064;
  --skills: #8a83ff;
  --edu: #3ddc97;
  --contact: #ff7fb3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 48px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.012em;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
img, svg { display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
kbd {
  font-family: var(--font); font-size: .78em; font-weight: 500;
  padding: 1px 6px; border-radius: 5px;
  background: var(--line-2); border: 1px solid var(--line);
  color: var(--text-2);
}
.muted { color: var(--text-3); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--blue) 28%, transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 980px;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  transition: background-color .2s, transform .2s var(--ease), color .2s;
  text-decoration: none !important;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--blue) 88%, #000); }
.btn-primary:active { transform: scale(.97); }
.btn-link { color: var(--link); padding: 0 6px; }
.btn-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn-link:hover svg { transform: translateX(3px); }
.btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover { background: color-mix(in srgb, var(--card) 90%, var(--text)); }
.btn-small { height: 34px; padding: 0 16px; font-size: 14px; }

/* =========================================================
   MENU BAR
   ========================================================= */
.menubar {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: 32px; padding: 0 10px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--menubar-fg);
  background: var(--menubar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-bottom: .5px solid var(--line);
  user-select: none;
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 2px; min-width: 0; }
.mb-nav { display: flex; align-items: center; gap: 2px; }
.mb-item {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: 5px; color: inherit; white-space: nowrap; letter-spacing: -.005em;
}
a.mb-item:hover { text-decoration: none; }
.mb-item:hover, .mb-item[aria-expanded="true"] { background: rgba(127, 127, 127, .18); }
.mb-logo svg { width: 17px; height: 17px; color: var(--menubar-fg); }
.mb-app { font-weight: 700; margin-right: 4px; }
.mb-nav .mb-item.is-current { font-weight: 600; }
.mb-icon svg { width: 16px; height: 16px; }
.mb-clock { font-variant-numeric: tabular-nums; cursor: default; }
.mb-clock:hover { background: none; }
#themeBtn .ic-sun { display: none; }
[data-theme="dark"] #themeBtn .ic-sun { display: block; }
[data-theme="dark"] #themeBtn .ic-moon { display: none; }

.menu {
  position: absolute; top: 30px; left: 6px; min-width: 250px;
  padding: 5px; border-radius: 10px;
  background: var(--menu-bg);
  -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22), 0 0 0 .5px var(--line), inset 0 0 0 .5px rgba(255, 255, 255, .25);
  animation: menuIn .14s ease-out;
}
.menu button {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 4px 10px; height: 26px; border-radius: 5px; font-size: 13.5px; text-align: left;
}
.menu button:hover, .menu button:focus-visible { background: var(--sel); color: #fff; outline: none; }
.menu button:hover kbd { color: rgba(255, 255, 255, .8); background: none; border-color: transparent; }
.menu kbd { background: none; border: 0; padding: 0; }
.menu-sep { height: 1px; margin: 5px 10px; background: var(--line); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-3px); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 150px;
  overflow: clip;
}
.wallpaper { position: absolute; inset: 0; z-index: -1; background: #e9eef6; overflow: hidden; }
[data-theme="dark"] .wallpaper { background: #07090e; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; will-change: transform; }
.b1 { width: 62vw; height: 62vw; left: -14vw; top: -22vw; background: radial-gradient(circle at 40% 40%, #a8c8ff, #7fa8f5 60%, transparent 70%); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 54vw; height: 54vw; right: -16vw; top: -6vw; background: radial-gradient(circle at 50% 50%, #ffcfae, #ffb38a 55%, transparent 70%); animation: drift2 30s ease-in-out infinite alternate; }
.b3 { width: 48vw; height: 48vw; left: 18vw; bottom: -26vw; background: radial-gradient(circle, #bfe6d9, #9ad6c4 55%, transparent 70%); animation: drift3 34s ease-in-out infinite alternate; }
.b4 { width: 34vw; height: 34vw; right: 14vw; bottom: -8vw; background: radial-gradient(circle, #e6d3ff, #cbb4fb 55%, transparent 70%); opacity: .55; animation: drift1 38s ease-in-out infinite alternate-reverse; }
[data-theme="dark"] .b1 { background: radial-gradient(circle at 40% 40%, #1d3f7a, #15306a 60%, transparent 70%); }
[data-theme="dark"] .b2 { background: radial-gradient(circle, #5a2a35, #44202c 55%, transparent 70%); }
[data-theme="dark"] .b3 { background: radial-gradient(circle, #0f4a42, #0c3a34 55%, transparent 70%); }
[data-theme="dark"] .b4 { background: radial-gradient(circle, #33215a, #261a45 55%, transparent 70%); }
.grain {
  position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vw) scale(.94); } }
@keyframes drift3 { to { transform: translate(5vw, -6vw) scale(1.1); } }

.hero-inner {
  width: min(1180px, 100% - 64px); margin: 0 auto;
  display: grid; grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: center;
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #30c85a; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

.hero-title {
  margin-top: 22px;
  font-size: clamp(44px, 5.3vw, 84px); line-height: 1.03; font-weight: 700; letter-spacing: -.042em;
}
.hero-title span { color: color-mix(in srgb, var(--text) 52%, transparent); }
.hero-lead { margin-top: 24px; max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: color-mix(in srgb, var(--text) 78%, transparent); letter-spacing: -.015em; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* =========================================================
   WINDOWS (shared)
   ========================================================= */
.window { border-radius: 12px; box-shadow: var(--win-shadow); background: var(--win-bg); overflow: hidden; }
.titlebar { position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px; user-select: none; }
[data-drag] { cursor: default; touch-action: none; }
.traffic { display: flex; gap: 8px; position: relative; z-index: 2; }
.tl {
  position: relative; width: 12px; height: 12px; border-radius: 50%; padding: 0; flex: none;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18);
  display: grid; place-items: center;
}
.tl svg { width: 8px; height: 8px; opacity: 0; transition: opacity .1s; }
.tl svg path { stroke: rgba(0, 0, 0, .62); stroke-width: 1.3; stroke-linecap: round; fill: none; }
.tl svg path.fill { fill: rgba(0, 0, 0, .62); stroke: none; }
.traffic:hover .tl svg, .traffic:focus-within .tl svg { opacity: 1; }
.tl-close { background: #ff5f57; }
.tl-min { background: #febc2e; }
.tl-max { background: #28c840; }
.tl-off { background: rgba(127, 127, 127, .28); box-shadow: none; }
.tl:active { filter: brightness(.82); }
.window:not(.is-active) .traffic:not(:hover) .tl:not(.tl-off) { background: rgba(127, 127, 127, .3); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08); }
.win-title {
  position: absolute; left: 0; right: 0; text-align: center; pointer-events: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: -.005em;
}
.win-title-ic { width: 13px; height: 13px; opacity: .8; }

/* ---------- Terminal ---------- */
.hero-term-slot { position: relative; min-height: 440px; }
.terminal {
  --tx: 0px; --ty: 0px;
  position: relative; z-index: 5;
  transform: translate(var(--tx), var(--ty));
  background: rgba(24, 24, 27, .86);
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  box-shadow: 0 40px 100px -20px rgba(10, 20, 50, .55), 0 0 0 .5px rgba(0, 0, 0, .55), inset 0 0 0 .5px rgba(255, 255, 255, .12);
  color: #e8e8ec;
  transition: box-shadow .3s;
}
.terminal .titlebar { background: linear-gradient(#323236, #29292c); border-bottom: .5px solid rgba(0, 0, 0, .6); height: 34px; }
.terminal .win-title { color: #b8b8be; font-weight: 500; }
.terminal.is-dragging { transition: none; cursor: grabbing; }
.term-body {
  height: 380px; overflow-y: auto; padding: 12px 16px 18px;
  font-family: var(--mono); font-size: 13.2px; line-height: 1.55; letter-spacing: 0;
  cursor: text; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.term-body::-webkit-scrollbar { width: 8px; }
.term-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 8px; }
#termOut > div { white-space: pre-wrap; word-break: break-word; min-height: 1.55em; }
.term-input-line { display: flex; gap: 8px; align-items: baseline; }
.term-input-line input { flex: 1; width: 0; min-width: 0; background: none; border: 0; outline: none; color: #fff; caret-color: #f5f5f7; font: inherit; padding: 0; }
.prompt { white-space: nowrap; color: #f5f5f7; }
.p-user { color: #64d2ff; font-weight: 600; }
.p-path { color: #30d158; }
.t-dim { color: #8c8c94; }
.t-acc { color: #64d2ff; }
.t-grn { color: #30d158; }
.t-yel { color: #ffd60a; }
.t-b { font-weight: 700; color: #fff; }
.t-cmd { color: #f5f5f7; }
.t-link { color: #64d2ff; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; background: none; border: 0; font: inherit; padding: 0; }
.t-link:hover { color: #9be3ff; }

.terminal.is-zoomed {
  position: fixed; z-index: 700; inset: 48px 4vw 110px 4vw; transform: none;
  display: flex; flex-direction: column;
}
.terminal.is-zoomed .term-body { height: auto; flex: 1; font-size: 14px; }
.terminal.is-hidden { visibility: hidden; }

.term-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 18px; font-size: 13px; color: color-mix(in srgb, var(--text) 60%, transparent); }
.term-chips button {
  font-family: var(--mono); font-size: 12.5px; padding: 4px 11px; border-radius: 99px;
  background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .15s, transform .15s;
}
.term-chips button:hover { background: rgba(255, 255, 255, .85); }
.term-chips button:active { transform: scale(.96); }
[data-theme="dark"] .term-chips button { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14); }
[data-theme="dark"] .term-chips button:hover { background: rgba(255, 255, 255, .16); }
.term-ghost {
  position: absolute; inset: 0 0 auto 0; height: 414px; border-radius: 14px;
  border: 1.5px dashed color-mix(in srgb, var(--text) 22%, transparent);
  display: grid; place-content: center; justify-items: center; gap: 12px;
  color: color-mix(in srgb, var(--text) 60%, transparent); font-size: 15px;
  animation: fadeIn .4s ease;
}
@keyframes fadeIn { from { opacity: 0; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.sec { position: relative; padding: 140px 0; --card: var(--bg-elev); }
.sec.alt { background: var(--bg-elev); --card: var(--bg); }
[data-theme="dark"] .sec { background: #000; --card: #161618; }
[data-theme="dark"] .sec.alt { background: #0b0b0c; --card: #1a1a1c; }
.wrap { width: min(1100px, 100% - 48px); margin: 0 auto; }
.eyebrow { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
[data-accent="about"] .eyebrow { color: var(--about); }
[data-accent="work"] .eyebrow { color: var(--work); }
[data-accent="skills"] .eyebrow { color: var(--skills); }
[data-accent="edu"] .eyebrow { color: var(--edu); }
[data-accent="contact"] .eyebrow { color: var(--contact); }
.sec-title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.038em; }
.sec-title .dim { color: var(--text-3); }

.card { background: var(--card); border-radius: var(--r-card); }
.card-kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 16px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Over mij ---------- */
.statement {
  font-size: clamp(30px, 4.2vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em;
  max-width: 18.5em;
}
.statement .w { transition: color .35s; color: color-mix(in srgb, var(--text) 18%, transparent); }
.statement .w.on { color: var(--text); }
html:not(.js) .statement { color: var(--text); }

.about-grid {
  margin-top: 90px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.about-photo { grid-column: span 4; grid-row: span 2; position: relative; overflow: hidden; min-height: 460px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 0%; transform: scale(1.1); transition: transform 1.8s var(--ease); }
.about-photo.in img { transform: scale(1); }
html:not(.js) .about-photo img { transform: none; }
.about-photo.in:hover img { transform: scale(1.035); transition-duration: 1.2s; }
.about-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; border-radius: 16px;
  display: flex; flex-direction: column; color: #fff; font-size: 14px;
  background: rgba(20, 20, 24, .4); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.about-photo figcaption strong { font-size: 16px; }
.about-photo figcaption span { opacity: .8; }
.about-info { grid-column: span 8; padding: 30px 32px; }
.settings-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-top: 1px solid var(--line-2); font-size: 16px; }
.settings-list > div:first-child { border-top: 0; padding-top: 0; }
.settings-list dt { color: var(--text-2); }
.settings-list dd { font-weight: 500; text-align: right; }
.about-free { grid-column: span 8; padding: 30px 32px; }
.free { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 20px; }
.free li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.free svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--line-2); color: var(--text-2); flex: none; }
.about-lang { grid-column: span 12; padding: 26px 32px; display: flex; align-items: center; gap: 40px; }
.about-lang .card-kicker { margin: 0; flex: none; }
.langs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; flex: 1; }
.langs li { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center; font-size: 16px; font-weight: 600; }
.langs i { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.langs i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--about); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.reveal.in .langs i::after, .about-lang.in .langs i::after { transform: scaleX(1); }
html:not(.js) .langs i::after { transform: none; }
.langs em { font-style: normal; font-weight: 400; color: var(--text-3); font-size: 14px; }

/* ---------- Ervaring / timeline ---------- */
.timeline { list-style: none; margin-top: 80px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 191px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--work), color-mix(in srgb, var(--work) 15%, transparent)); border-radius: 2px; opacity: .55; }
.tl-item { display: grid; grid-template-columns: 170px 44px 1fr; align-items: start; }
.tl-item + .tl-item { margin-top: 26px; }
.tl-when { padding-top: 28px; text-align: right; display: flex; flex-direction: column; gap: 4px; }
.tl-date { font-size: 15px; font-weight: 600; }
.tl-dur { font-size: 13.5px; color: var(--text-3); }
.tl-node { justify-self: center; margin-top: 32px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--work); position: relative; z-index: 1; }
.sec.alt .tl-node { background: var(--bg-elev); }
.is-now .tl-node { background: var(--work); box-shadow: 0 0 0 6px color-mix(in srgb, var(--work) 20%, transparent); }
.job { padding: 28px 30px; transition: transform .4s var(--ease), box-shadow .4s; }
.job:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .25); }
.job-head { display: flex; align-items: center; gap: 16px; }
.job-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-org { color: var(--text-2); font-size: 15.5px; }
.mono {
  width: 50px; height: 50px; flex: none; border-radius: 13px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 21px; letter-spacing: -.03em;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.m-daemen { background: linear-gradient(#2a6fdb, #164aa6); }
.m-xelnet { background: linear-gradient(#3a3a40, #17171a); }
.m-dirk { background: linear-gradient(#e0423a, #b0231d); font-size: 13px; letter-spacing: -.02em; }
.badge-now { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; padding: 3px 10px 3px 9px; border-radius: 99px; background: rgba(48, 200, 90, .13); color: #1c9a43; letter-spacing: 0; }
[data-theme="dark"] .badge-now { color: #4ade80; }
.badge-now .live-dot { width: 7px; height: 7px; }
.job-sum { margin-top: 16px; font-size: 17px; color: var(--text); }
.job-list { margin-top: 14px; padding-left: 0; list-style: none; display: grid; gap: 7px 30px; font-size: 15.5px; color: var(--text-2); }
.job-list.cols { grid-template-columns: 1fr 1fr; }
.job-list li { position: relative; padding-left: 18px; }
.job-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--work) 70%, transparent); }

/* ---------- Vaardigheden / bento ---------- */
.bento { margin-top: 70px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; padding: 30px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; transition: transform .45s var(--ease), box-shadow .45s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 22px 60px -30px rgba(0, 0, 0, .3); }
.tile.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 20%, 60% { box-shadow: 0 0 0 3px var(--skills); } }
.tile-kicker { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--skills); }
.tile h3 { font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; max-width: 16em; }
.tile p { color: var(--text-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13.5px; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--skills) 10%, transparent); color: color-mix(in srgb, var(--skills) 85%, var(--text)); }
.cert-badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: auto; font-size: 13px; font-weight: 600; padding: 6px 12px 6px 9px; border-radius: 10px; background: linear-gradient(135deg, #fff6dc, #ffe7a8); color: #7a5300; box-shadow: inset 0 0 0 .5px rgba(160, 110, 0, .25); }
[data-theme="dark"] .cert-badge { background: linear-gradient(135deg, #3b3015, #2c2410); color: #ffd66b; box-shadow: inset 0 0 0 .5px rgba(255, 214, 107, .25); }
.cert-badge svg { width: 16px; height: 16px; }

.t-m365 { grid-column: span 3; }
.t-jamf { grid-column: span 3; }
.t-net { grid-column: span 2; }
.t-sec { grid-column: span 2; }
.t-srv { grid-column: span 2; }
.t-os { grid-column: span 2; }
.t-id { grid-column: span 2; }
.t-sup { grid-column: span 2; }

.topo { width: 100%; height: auto; margin: 4px 0 6px; }
.topo-links path { stroke: var(--line); stroke-width: 2; fill: none; }
.topo-pulse path { stroke: var(--skills); stroke-width: 2; fill: none; stroke-dasharray: 8 140; animation: pulse 2.6s linear infinite; }
.topo-nodes rect, .topo-nodes circle { fill: var(--card); stroke: color-mix(in srgb, var(--skills) 60%, var(--text-3)); stroke-width: 2; }
@keyframes pulse { from { stroke-dashoffset: 148; } to { stroke-dashoffset: 0; } }

.scan { position: absolute; right: 26px; bottom: 22px; width: 76px; height: 88px; opacity: .9; }
.scan svg { width: 100%; height: 100%; }
.scan path:first-child { fill: color-mix(in srgb, var(--skills) 12%, transparent); stroke: var(--skills); stroke-width: 2.5; }
.scan .tick { fill: none; stroke: var(--skills); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.scan-line { position: absolute; left: -6px; right: -6px; height: 2px; top: 10%; background: linear-gradient(90deg, transparent, var(--skills), transparent); animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; opacity: 0; } 15%, 85% { opacity: 1; } 50% { top: 88%; } }
.t-sec h3, .t-sec p { padding-right: 70px; }
.scan { width: 56px; height: 66px; }

.racks { display: flex; flex-direction: column; gap: 5px; position: absolute; right: 26px; top: 28px; width: 70px; }
.racks span { height: 14px; border-radius: 4px; background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.racks span::after { content: ""; position: absolute; right: 7px; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: #30c85a; animation: led 1.4s steps(1) infinite; }
.racks span:nth-child(2)::after { animation-delay: .5s; }
.racks span:nth-child(3)::after { animation-delay: .9s; background: var(--skills); }
@keyframes led { 50% { opacity: .25; } }
.t-srv h3, .t-srv p { padding-right: 70px; }
.racks { width: 56px; }

.os-words { list-style: none; display: grid; gap: 2px; margin-top: 4px; }
.os-words li { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.os-words li:nth-child(2) { color: color-mix(in srgb, var(--text) 62%, transparent); }
.os-words li:nth-child(3) { color: color-mix(in srgb, var(--text) 36%, transparent); }

/* ---------- Opleiding ---------- */
.edu-grid { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.wallet { position: relative; height: 430px; }
.pass {
  --y: 0px;
  position: absolute; left: 0; right: 0; height: 236px;
  padding: 18px 22px; border-radius: 18px; color: #fff;
  transform: translateY(var(--y)); transition: transform .55s var(--spring), box-shadow .3s;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .25) inset, 0 14px 30px -12px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; overflow: hidden; outline: none;
}
.pass::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%); pointer-events: none; }
.wallet { --step: 78px; }
.pass { top: 0; cursor: pointer; --y: calc(var(--i, 0) * var(--step)); }
.pass:nth-child(1) { --i: 0; z-index: 1; }
.pass:nth-child(2) { --i: 1; z-index: 2; }
.pass:nth-child(3) { --i: 2; z-index: 3; }
.pass:not(.front):hover, .pass:not(.front):focus-visible { transform: translateY(calc(var(--y) - 10px)); }
.p-ms { background: linear-gradient(150deg, #2b67d1, #173c86); }
.p-jamf { background: linear-gradient(150deg, #44474f, #1c1d21); }
.p-kpn { background: linear-gradient(150deg, #13a083, #0a5f52); }
.pass-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.pass-title { margin-top: 8px; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; max-width: 92%; }
.pass-fields { display: flex; gap: 34px; margin-top: auto; }
.pass-fields small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; font-weight: 600; }
.pass-fields b { font-size: 15px; font-weight: 600; }
.pass-code { margin-top: 14px; height: 22px; border-radius: 4px; opacity: .55; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 12px, #fff 12px 13px, transparent 13px 16px); width: 62%; }
.wallet-hint { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 13px; color: var(--text-3); }

.diplomas { display: grid; gap: 18px; }
.diploma { display: flex; gap: 22px; padding: 26px 28px; align-items: center; }
.dip-level { flex: none; width: 82px; height: 82px; border-radius: 22px; display: grid; place-content: center; text-align: center; background: color-mix(in srgb, var(--edu) 12%, transparent); color: var(--edu); }
.dip-level small { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.dip-level b { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.diploma h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.dip-sub { color: var(--text-2); font-size: 15px; margin-top: 2px; }
.dip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; font-size: 14px; color: var(--text-3); }
.ok-pill { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--edu); font-size: 13.5px; }
.ok-pill svg { width: 14px; height: 14px; }

/* ---------- Contact ---------- */

.traffic.deco .tl { cursor: default; }

.footer { padding: 40px 0 130px; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--line-2); }
[data-theme="dark"] .footer { background: #0b0b0c; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* =========================================================
   DOCK
   ========================================================= */
.dock-wrap { position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 800; transition: transform .45s var(--ease); }
.dock {
  display: flex; align-items: flex-end; gap: 5px;
  height: 70px; padding: 0 9px 8px;
  border-radius: 24px;
  background: var(--dock-bg);
  -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  box-shadow: 0 14px 44px -8px rgba(0, 0, 0, .28), inset 0 0 0 .5px var(--dock-border), 0 0 0 .5px rgba(0, 0, 0, .14);
}
.dock-item {
  --s: 54px;
  position: relative; display: block; flex: none;
  width: var(--s); height: var(--s);
  transition: width .16s var(--ease), height .16s var(--ease);
  -webkit-tap-highlight-color: transparent; text-decoration: none !important;
}
.dock-item svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .22)) drop-shadow(0 .5px 0 rgba(0, 0, 0, .15)); transform-origin: 50% 100%; }
.dock-item:active svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .22)) brightness(.7); }
.dock-item::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: color-mix(in srgb, var(--text) 75%, transparent); opacity: 0; transition: opacity .3s;
}
.dock-item.is-running::after, .dock-item.is-current::after { opacity: 1; }
.dock-item:focus-visible { outline: none; }
.dock-item:focus-visible svg { filter: drop-shadow(0 0 0 2px var(--blue)) drop-shadow(0 0 6px var(--blue)); }
.dock-item.bounce svg { animation: bounce .9s cubic-bezier(.3, 0, .3, 1) 2; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-22px); } 70% { transform: translateY(0); } 85% { transform: translateY(-4px); } }
.dock-sep { width: 1px; height: 46px; margin: 0 5px 4px; background: color-mix(in srgb, var(--text) 22%, transparent); flex: none; align-self: flex-end; }
.dock-tiny { display: none; }

.dock-label {
  position: absolute; left: 0; bottom: calc(100% + 10px);
  padding: 4px 11px; border-radius: 7px; white-space: nowrap; pointer-events: none;
  font-size: 13.5px; font-weight: 500; color: var(--label-fg); background: var(--label-bg);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16), 0 0 0 .5px var(--line);
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .12s, transform .12s;
}
.dock-label::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--label-bg); }
.dock-label.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   FINDER
   ========================================================= */
.finder {
  position: fixed; z-index: 750; left: 50%; top: 50%;
  width: min(940px, 94vw); height: min(600px, calc(100vh - 160px));
  display: grid; grid-template-columns: 200px 1fr;
  transform-origin: 50% 50%;
}
.finder[hidden] { display: none; }
.f-side {
  background: var(--win-side);
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  border-right: 1px solid var(--line-2);
  padding-bottom: 12px; overflow-y: auto;
}
.f-side-bar { height: 52px; }
.f-side-h { padding: 12px 18px 4px; font-size: 11.5px; font-weight: 600; color: var(--text-3); }
.f-side-list { list-style: none; padding: 0 10px; }
.f-side-list a, .f-side-list button {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 28px; padding: 0 8px; border-radius: 6px;
  font-size: 13.5px; color: var(--text); text-align: left; text-decoration: none;
}
.f-side-list svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.f-side-list button:hover, .f-side-list a:hover { background: rgba(127, 127, 127, .14); }
.f-side-list .on { background: rgba(127, 127, 127, .24); }
.f-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--win-bg); }
.f-toolbar { height: 52px; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line-2); }
.f-nav { display: flex; gap: 2px; }
.f-nav button, .seg button { width: 30px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--text-2); }
.f-nav button svg, .seg svg { width: 17px; height: 17px; }
.f-nav button:hover:not(:disabled), .seg button:hover { background: var(--line-2); color: var(--text); }
.f-nav button:disabled { opacity: .3; cursor: default; }
.f-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-tools { display: flex; gap: 6px; align-items: center; }
.seg { display: flex; padding: 2px; border-radius: 8px; background: var(--line-2); }
.seg button { width: 30px; height: 24px; }
.seg button.on { background: var(--win-bg); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.f-chips { display: none; }
.f-body { flex: 1; display: grid; grid-template-columns: 1fr 260px; min-height: 0; }
.f-content { overflow-y: auto; padding: 18px; outline: none; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px 6px; align-content: start; }
.f-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; border-radius: 8px; text-align: center; cursor: default; }
.f-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 8px; padding: 4px; }
.f-icon svg { max-width: 100%; max-height: 100%; width: 64px; height: 64px; }
.f-icon svg.doc { width: 50px; height: 62px; }
.f-icon img { max-width: 52px; max-height: 66px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25), 0 0 0 .5px rgba(0, 0, 0, .12); background: #fff; }
.f-icon img.photo { max-width: 60px; max-height: 64px; border-radius: 3px; }
.f-name { font-size: 12.5px; line-height: 1.3; padding: 1px 6px; border-radius: 4px; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.f-item.sel .f-icon { background: rgba(127, 127, 127, .18); }
.f-item.sel .f-name { background: var(--sel); color: #fff; }
.f-list { width: 100%; border-collapse: collapse; font-size: 13px; }
.f-list th { text-align: left; font-weight: 500; color: var(--text-3); font-size: 12px; padding: 4px 10px; border-bottom: 1px solid var(--line-2); }
.f-list td { padding: 5px 10px; white-space: nowrap; }
.f-list td:first-child { display: flex; align-items: center; gap: 8px; }
.f-list td:first-child svg, .f-list td:first-child img { width: 18px; height: 18px; object-fit: contain; }
.f-list tr:nth-child(even) td { background: var(--line-2); }
.f-list tr.sel td { background: var(--sel); color: #fff; }
.f-list td:first-child { border-radius: 6px 0 0 6px; }
.f-list td:last-child { border-radius: 0 6px 6px 0; color: var(--text-3); }
.f-list tr.sel td:last-child { color: rgba(255, 255, 255, .8); }
.f-preview { border-left: 1px solid var(--line-2); padding: 20px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.f-preview > * { flex: none; }
.fp-visual { display: grid; place-items: center; min-height: 170px; padding: 6px; }
.fp-visual img.photo { width: 160px; border-radius: 6px; }
.fp-visual svg { width: 96px; height: 96px; }
.fp-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; word-break: break-word; }
.fp-kind { font-size: 12.5px; color: var(--text-3); margin-top: -8px; }
.fp-info { font-size: 12.5px; }
.fp-info h4 { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.fp-info div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px solid var(--line-2); }
.fp-info dt { color: var(--text-3); }
.fp-info dd { text-align: right; }
.fp-text { font-size: 13px; color: var(--text-2); }
.fp-text ul { padding-left: 16px; display: grid; gap: 3px; margin-top: 6px; }
.fp-actions { display: flex; gap: 8px; margin-top: 2px; }
.fp-actions .btn { flex: 1; justify-content: center; height: 30px; font-size: 13px; padding: 0 10px; }
.fp-empty { margin: auto; text-align: center; color: var(--text-3); font-size: 13px; }
.f-status { height: 28px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--line-2); }
.finder.is-zoomed { left: 8px !important; top: 40px !important; width: calc(100vw - 16px); height: calc(100vh - 140px); transform: none !important; }

/* =========================================================
   QUICK LOOK
   ========================================================= */
.ql-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn .2s; }
.quicklook {
  position: fixed; z-index: 1001; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(820px, 94vw); height: min(88vh, 1000px);
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  background: color-mix(in srgb, var(--win-bg) 82%, transparent);
  -webkit-backdrop-filter: blur(40px) saturate(170%); backdrop-filter: blur(40px) saturate(170%);
  box-shadow: var(--win-shadow);
  animation: qlIn .28s var(--ease);
}
@keyframes qlIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.94); } }
.quicklook[hidden], .ql-backdrop[hidden] { display: none; }
.ql-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px; border-bottom: 1px solid var(--line-2); flex: none; }
.ql-close { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.ql-close:hover { background: var(--line-2); color: var(--text); }
.ql-close svg { width: 18px; height: 18px; }
.ql-title { flex: 1; font-size: 14px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ql-actions { display: flex; gap: 8px; }
.ql-actions .btn { height: 30px; font-size: 13px; padding: 0 12px; }
.ql-body { flex: 1; overflow-y: auto; padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 22px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.ql-body img.photo { max-width: 100%; max-height: 100%; border-radius: 8px; }
.ql-doc { width: min(100%, 640px); background: var(--win-bg); border-radius: 10px; padding: 40px 44px; box-shadow: 0 4px 24px rgba(0, 0, 0, .1); }
.ql-doc small { color: var(--text-3); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ql-doc h3 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; margin: 6px 0 4px; line-height: 1.2; }
.ql-doc .sub { color: var(--text-2); }
.ql-doc ul { margin-top: 18px; padding-left: 20px; display: grid; gap: 8px; color: var(--text); font-size: 16px; }
.ql-doc p.note { margin-top: 18px; color: var(--text-2); }

/* =========================================================
   ABOUT WINDOW
   ========================================================= */
.about-win { position: fixed; z-index: 760; left: 50%; top: 50%; width: 300px; transform-origin: 50% 50%; background: var(--win-bg); }
.about-win[hidden] { display: none; }
.about-win .titlebar { height: 36px; }
.about-win-body { padding: 4px 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.aw-photo {
  --li-angle: 0deg;
  display: block; width: 92px; height: 115px; padding: 3px; border-radius: 28px;
  background: conic-gradient(from var(--li-angle), #ff5fa2, #8b7dff, #46b3ff, #ffb36b, #ff5fa2);
  box-shadow: 0 12px 26px -12px rgba(20, 10, 40, .5);
  animation: liSpin 7s linear infinite;
}
.aw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 25px; border: 2px solid var(--win-bg); }
.about-win h2 { margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.aw-sub { font-size: 13px; color: var(--text-3); }
.aw-specs { margin: 16px 0 18px; width: 100%; font-size: 12.5px; display: grid; gap: 4px; }
.aw-specs div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; text-align: left; }
.aw-specs dt { text-align: right; font-weight: 600; }
.aw-specs dd { color: var(--text-2); }
.aw-foot { margin-top: 16px; font-size: 10.5px; color: var(--text-3); line-height: 1.4; }

/* =========================================================
   SPOTLIGHT
   ========================================================= */
.spot-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(0, 0, 0, .12); }
.spotlight {
  position: fixed; z-index: 1101; left: 50%; top: 18vh; transform: translateX(-50%);
  width: min(640px, 92vw); border-radius: 22px; overflow: hidden;
  background: color-mix(in srgb, var(--win-bg) 72%, transparent);
  -webkit-backdrop-filter: blur(50px) saturate(190%); backdrop-filter: blur(50px) saturate(190%);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .4), 0 0 0 .5px var(--line), inset 0 0 0 .5px rgba(255, 255, 255, .2);
  animation: spotIn .2s var(--ease);
}
@keyframes spotIn { from { opacity: 0; transform: translateX(-50%) scale(.97); } }
.spotlight[hidden], .spot-backdrop[hidden] { display: none; }
.spot-field { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 60px; }
.spot-field svg { width: 22px; height: 22px; color: var(--text-3); flex: none; }
.spot-field input { flex: 1; border: 0; outline: none; background: none; font-size: 22px; letter-spacing: -.02em; }
.spot-field input::placeholder { color: var(--text-3); }
.spot-list { list-style: none; max-height: 52vh; overflow-y: auto; padding: 6px; border-top: 1px solid var(--line); }
.spot-list:empty { display: none; }
.spot-group { padding: 8px 12px 4px; font-size: 11.5px; font-weight: 600; color: var(--text-3); }
.spot-item { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; cursor: default; }
.spot-item svg { width: 30px; height: 30px; flex: none; }
.spot-item .s-t { font-size: 15px; font-weight: 500; }
.spot-item .s-s { font-size: 12.5px; color: var(--text-3); }
.spot-item .s-k { margin-left: auto; font-size: 12px; color: var(--text-3); }
.spot-item.on { background: var(--sel); color: #fff; }
.spot-item.on .s-s, .spot-item.on .s-k { color: rgba(255, 255, 255, .78); }
.spot-empty { padding: 18px; text-align: center; color: var(--text-3); font-size: 14px; }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed; z-index: 1200; left: 50%; bottom: 104px; transform: translate(-50%, 20px);
  padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 500;
  color: var(--text); background: color-mix(in srgb, var(--win-bg) 80%, transparent);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2), 0 0 0 .5px var(--line);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* toolbar traffic lights only on small screens (sidebar has them on desktop) */
.f-toolbar .traffic { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .mb-nav .mb-item { padding: 0 7px; }
}

@media (max-width: 960px) {
  .mb-nav { display: none; }
  .hero { padding: 96px 0 140px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-term-slot { min-height: 0; }
  .term-body { height: 330px; }
  .term-ghost { height: 364px; }
  .about-photo { grid-column: span 5; }
  .about-info, .about-free { grid-column: span 7; }
  .free { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .tile { grid-column: span 1; }
  .edu-grid { grid-template-columns: 1fr; }
  .wallet { max-width: 520px; }
  .finder { grid-template-columns: 170px 1fr; }
  .f-body { grid-template-columns: 1fr 220px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .sec { padding: 96px 0; }
  .wrap, .hero-inner { width: calc(100% - 36px); }
  .about-grid { margin-top: 56px; gap: 14px; }
  .about-photo, .about-info, .about-free, .about-lang { grid-column: span 12; }
  .about-photo { min-height: 420px; grid-row: auto; }
  .about-info, .about-free, .about-lang { padding: 24px; }
  .free { grid-template-columns: 1fr 1fr; }
  .about-lang { flex-direction: column; align-items: stretch; gap: 16px; }
  .langs { grid-template-columns: 1fr; gap: 16px; }
  .timeline { margin-top: 50px; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 16px 1fr; gap: 0 16px; }
  .tl-node { grid-column: 1; grid-row: 1 / span 2; margin-top: 4px; justify-self: start; }
  .tl-when { grid-column: 2; padding: 0 0 10px; text-align: left; flex-direction: row; gap: 10px; align-items: baseline; }
  .job { grid-column: 2; padding: 22px; }
  .job-list.cols { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento .tile { grid-column: auto; }
  .tile { padding: 24px; }
  .wallet { height: 476px; --step: 102px; }
  .pass { height: 226px; }
  .diploma { padding: 22px; gap: 16px; align-items: flex-start; }
  .dip-level { width: 64px; height: 64px; border-radius: 18px; }
  .dip-level b { font-size: 30px; }
  .footer { padding-bottom: 120px; }

  .menubar { height: 36px; padding: 0 6px; font-size: 14px; }
  .menu { top: 34px; }

  /* dock: compact, always labelled */
  .dock-wrap { bottom: max(8px, env(safe-area-inset-bottom)); width: calc(100% - 16px); }
  .dock { height: auto; padding: 8px 6px 6px; justify-content: space-between; gap: 0; border-radius: 26px; }
  .dock-item { --s: 40px !important; display: flex; flex-direction: column; align-items: center; width: auto; height: auto; flex: 1; min-width: 0; }
  .dock-item svg { width: 40px; height: 40px; }
  .dock-item::after { bottom: auto; top: 41px; width: 3px; height: 3px; }
  .dock-tiny { display: block; margin-top: 6px; font-size: 9.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .dock-sep { display: none; }
  .dock-label { display: none; }
  .toast { bottom: 108px; }

  /* finder: sheet */
  .finder { left: 0 !important; top: auto !important; bottom: 0; width: 100%; height: calc(100% - 48px); border-radius: 16px 16px 0 0; grid-template-columns: 1fr; transform: none !important; }
  .f-side { display: none; }
  .f-chips { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; border-bottom: 1px solid var(--line-2); scrollbar-width: none; }
  .f-chips button { flex: none; padding: 6px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 500; background: var(--line-2); }
  .f-chips button.on { background: var(--blue); color: #fff; }
  .f-body { grid-template-columns: 1fr; }
  .f-preview { display: none; }
  .f-content { padding-bottom: 120px; }
  .f-status { display: none; }
  .f-toolbar .traffic { display: flex; }
  .f-grid { grid-template-columns: repeat(3, 1fr); }
  .quicklook { width: 100%; height: 100%; border-radius: 0; }
  .ql-body { padding: 14px; }
  .ql-doc { padding: 26px 22px; }
  .terminal.is-zoomed { inset: 44px 8px 100px 8px; }
}

@media (hover: none) {
  .traffic .tl svg { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .menubar, .dock-wrap, .wallpaper, .hero-term-slot, .toast { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* neofetch art: tighter lines so the block letters connect */
#termOut > div.t-art { line-height: 1.2; min-height: 1.2em; }

/* =========================================================
   CONTRAST GUARD
   Dock and menu bar turn more opaque while they float over a
   busy surface (photo, terminal, certificate cards).
   ========================================================= */
.menubar { transition: background-color .45s var(--ease), border-color .45s; }
.dock { transition: background-color .45s var(--ease), box-shadow .45s var(--ease); }
.menubar.on-busy { background: var(--menubar-bg-solid); }
.dock-wrap.on-busy .dock {
  background: var(--dock-bg-solid);
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, .38), inset 0 0 0 .5px var(--dock-border), 0 0 0 .5px rgba(0, 0, 0, .18);
}
@media (max-width: 720px) {
  /* labels sit under the icons on phones, so the glass needs more body */
  .dock { background: color-mix(in srgb, var(--dock-bg-solid) 78%, transparent); }
  .dock-wrap.on-busy .dock { background: var(--dock-bg-solid); }
}

/* =========================================================
   IDENTITEIT & TOEGANG tile: user → lock opens → apps light up
   ========================================================= */
.access { width: 100%; height: auto; margin-top: auto; padding-top: 6px; overflow: visible; }
.access .ac-user circle, .access .ac-user path { fill: none; stroke: color-mix(in srgb, var(--skills) 70%, var(--text-3)); stroke-width: 3; stroke-linecap: round; }
.access .ac-line { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.access .ac-line:not(.ac-line-out) { stroke: var(--skills); stroke-dasharray: 5 7; animation: acFlow 1s linear infinite; }
.access .ac-line-out { stroke: var(--skills); stroke-dasharray: 42; stroke-dashoffset: 42; animation: acOut 4.8s var(--ease) infinite; }
.access .ac-lock rect { fill: var(--card); stroke: var(--skills); stroke-width: 3; }
.access .ac-shackle { fill: none; stroke: var(--skills); stroke-width: 3; stroke-linecap: round; transform-box: fill-box; transform-origin: 100% 100%; animation: acShackle 4.8s var(--spring) infinite; }
.access .ac-key { fill: var(--skills); }
.access .ac-apps rect { fill: color-mix(in srgb, var(--skills) 10%, transparent); stroke: color-mix(in srgb, var(--skills) 35%, transparent); stroke-width: 2; animation: acApp 4.8s ease infinite; }
.access .ac-apps rect:nth-child(2) { animation-delay: .08s; }
.access .ac-apps rect:nth-child(3) { animation-delay: .16s; }
.access .ac-apps rect:nth-child(4) { animation-delay: .24s; }
@keyframes acFlow { to { stroke-dashoffset: -12; } }
/* 0–30% locked · 30–40% unlocks · 40–80% access · 80–100% locks again */
@keyframes acShackle { 0%, 30% { transform: none; } 38%, 80% { transform: translateY(-6px) rotate(-18deg); } 90%, 100% { transform: none; } }
@keyframes acOut { 0%, 36% { stroke-dashoffset: 42; } 48%, 78% { stroke-dashoffset: 0; } 88%, 100% { stroke-dashoffset: -42; } }
@keyframes acApp { 0%, 44% { fill: color-mix(in srgb, var(--skills) 10%, transparent); } 52%, 78% { fill: var(--skills); } 90%, 100% { fill: color-mix(in srgb, var(--skills) 10%, transparent); } }

/* =========================================================
   HOSTING BADGE
   JS sets --badge-lift + .has-badge-lift only when the host's
   required badge overlaps the dock (phones, narrow tablets).
   ========================================================= */
.dock-wrap { transition: transform .45s var(--ease), bottom .35s var(--ease); }
.has-badge-lift .dock-wrap { bottom: var(--badge-lift); }
.has-badge-lift .toast { bottom: calc(104px + var(--badge-lift)); }
.has-badge-lift .footer { padding-bottom: calc(130px + var(--badge-lift)); }
.has-badge-lift .f-content { padding-bottom: calc(120px + var(--badge-lift)); }

/* Contact: quiet intro instead of a big headline */
.contact-intro { font-size: clamp(21px, 2vw, 26px); line-height: 1.35; font-weight: 500; letter-spacing: -.02em; color: var(--text); max-width: 20em; }

/* =========================================================
   CONTACT · LinkedIn card
   Window-style card with a slowly turning colour border, a glow
   behind it, a ring around the avatar and a 3D tilt + light that
   follows the pointer (JS sets --rx/--ry/--mx/--my).
   ========================================================= */
@property --li-angle { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes liSpin { to { --li-angle: 360deg; } }

.li-sec { position: relative; overflow: hidden; isolation: isolate; }
.li-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.li-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.li-aurora span:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: 8%; top: 18%; background: #ff6fae; animation: drift1 24s ease-in-out infinite alternate; }
.li-aurora span:nth-child(2) { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; right: 6%; top: 8%; background: #7d86ff; animation: drift2 28s ease-in-out infinite alternate; }
.li-aurora span:nth-child(3) { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: 34%; bottom: -12%; background: #4cc3ff; opacity: .22; animation: drift3 32s ease-in-out infinite alternate; }
[data-theme="dark"] .li-aurora span { opacity: .2; }
[data-theme="dark"] .li-aurora span:nth-child(3) { opacity: .14; }

.li-wrap { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.li-wrap .contact-intro { margin: 0 auto; max-width: none; }

.li-card {
  --li-angle: 0deg;
  position: relative; display: block; width: min(440px, 100%); margin-top: 52px;
  color: inherit; text-decoration: none !important; perspective: 1000px; isolation: isolate;
  -webkit-tap-highlight-color: transparent; border-radius: 26px;
  animation: liSpin 7s linear infinite;
}
.li-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--contact) 60%, transparent); outline-offset: 6px; }
.li-glow {
  position: absolute; inset: 22px -4px -16px; z-index: -1; border-radius: 40px;
  background: conic-gradient(from var(--li-angle), #ff5fa2, #8b7dff, #46b3ff, #ffb36b, #ff5fa2);
  filter: blur(36px); opacity: .5; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.li-card:hover .li-glow { opacity: .85; transform: scale(1.03); }
.li-inner {
  position: relative; display: block; border-radius: 26px; overflow: hidden;
  background: var(--win-bg); box-shadow: var(--win-shadow);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--spring);
}
.li-card.tilting .li-inner { transition: transform .1s linear; }
.li-border {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--li-angle), transparent 0deg 200deg, #ff6fae 260deg, #8b7dff 310deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.li-shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .16), transparent 50%);
}
[data-theme="dark"] .li-shine { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .08), transparent 50%); }
.li-card:hover .li-shine { opacity: 1; }

.li-bar { position: relative; display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px; background: var(--win-bar); border-bottom: 1px solid var(--line-2); }
.li-bar .traffic { flex: none; }
.li-url {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: 8px; background: var(--line-2); font-size: 12.5px; color: var(--text-2);
}
.li-url svg { width: 11px; height: 11px; flex: none; opacity: .7; }
.li-url span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.li-body { position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 28px 32px; }
.li-avatar {
  display: block; width: 116px; height: 116px; padding: 4px; border-radius: 50%;
  background: conic-gradient(from var(--li-angle), #ff5fa2, #8b7dff, #46b3ff, #ffb36b, #ff5fa2);
  box-shadow: 0 10px 30px -10px rgba(214, 32, 108, .45);
  transition: transform .6s var(--spring);
}
.li-card:hover .li-avatar { transform: translateZ(0) scale(1.04); }
.li-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--win-bg); }
.li-name { display: block; margin-top: 20px; font-size: 25px; font-weight: 700; letter-spacing: -.025em; color: var(--text); }
.li-role { display: block; margin-top: 3px; font-size: 15.5px; color: var(--text-2); }
.li-cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; height: 44px; padding: 0 22px; border-radius: 99px;
  background: var(--text); color: var(--bg-elev); font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.li-cta svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.li-card:hover .li-cta { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--text) 60%, transparent); }
.li-card:hover .li-cta svg { transform: translate(2px, -2px); }
.li-card:active .li-cta { transform: scale(.97); }

@media (max-width: 720px) {
  .li-card { margin-top: 36px; }
  .li-body { padding: 32px 20px 26px; }
  .li-avatar { width: 100px; height: 100px; }
  .li-name { font-size: 22px; }
}

/* =========================================================
   LinkedIn card · portrait avatar (overrides the round avatar)
   A 4:5 squircle-ish portrait so the whole head fits, the turning
   colour ring follows its shape, a soft ambient glow is made from
   the photo itself, and a light sweep passes over it on hover.
   ========================================================= */
.li-body { overflow: hidden; }
.li-body > *:not(.li-ambient) { position: relative; z-index: 1; }
.li-ambient {
  position: absolute; left: -10%; right: -10%; top: -30px; height: 300px; z-index: 0; pointer-events: none;
  background: url("../assets/linkedin-avatar.jpg") center 35% / cover no-repeat;
  filter: blur(46px) saturate(1.5); opacity: .42; transform: scale(1.15);
  -webkit-mask-image: linear-gradient(#000 25%, transparent 92%); mask-image: linear-gradient(#000 25%, transparent 92%);
  transition: opacity .6s var(--ease);
}
[data-theme="dark"] .li-ambient { opacity: .34; }
.li-card:hover .li-ambient { opacity: .6; }

.li-avatar {
  position: relative; width: 148px; height: 185px; padding: 4px;
  border-radius: 44px; overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(20, 10, 40, .55), 0 0 0 .5px rgba(0, 0, 0, .06);
}
.li-avatar img { border-radius: 40px; object-position: 50% 30%; }
.li-avatar-shine {
  position: absolute; inset: 4px; border-radius: 40px; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: soft-light;
}
.li-card:hover .li-avatar-shine { animation: liShine 1.1s var(--ease) both; }
@keyframes liShine { to { background-position: -50% 0; } }
.li-card:hover .li-avatar { transform: translateY(-2px) scale(1.03); }

@media (max-width: 720px) {
  .li-avatar { width: 124px; height: 155px; border-radius: 38px; }
  .li-avatar img, .li-avatar-shine { border-radius: 34px; }
}

/* Over mij portrait: card follows the photo's own 900×1303 proportions,
   so the whole head is visible and the caption sits on the sweater, not the face */
.about-photo { aspect-ratio: 900 / 1303; min-height: 0; align-self: start; }
