/* Corporate navy and white with one clear blue accent */
:root {
  --bg: #FFFFFF;
  --alt: #F4F6FA;
  --surface: #FFFFFF;
  --line: #E2E7EF;
  --text: #0F1B2D;
  --muted: #56627A;
  --blue: #1F5FD6;
  --blue-soft: #EAF1FD;
  --navy: #0B1F3A;
  --navy-2: #102A4C;
  --navy-line: rgba(255, 255, 255, 0.12);
  --on-navy: #FFFFFF;
  --on-navy-muted: #B4C2D8;
  --sky: #8CB8FF;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.05), 0 8px 24px rgba(15, 27, 45, 0.06);
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; }
p, ul, ol, dl { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 31, 58, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--navy-line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-navy); }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--on-navy); color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.brand-name { font-size: 16px; font-weight: 650; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
nav a { color: var(--on-navy-muted); transition: color 0.15s; }
nav a:hover { color: var(--on-navy); }
#lang { background: transparent; color: var(--on-navy-muted); border: 1px solid var(--navy-line); border-radius: 6px; font: 600 12px/1 var(--sans); padding: 8px 10px; cursor: pointer; }
#lang:hover { color: var(--on-navy); border-color: var(--on-navy-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 15px/1.2 var(--sans); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: #184DB0; border-color: #184DB0; }
.btn.small { padding: 9px 16px; font-size: 14px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; }
nav .nav-cta, nav .nav-cta:hover { color: #fff; }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); padding: 104px 0 112px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(50% 70% at 90% 0%, rgba(31, 95, 214, 0.35), transparent 70%),
  linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 44px 44px;
  pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.eyebrow, .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.eyebrow { display: inline-block; color: var(--sky); background: rgba(140, 184, 255, 0.1); border: 1px solid rgba(140, 184, 255, 0.25); padding: 6px 12px; border-radius: 999px; font-size: 12px; }
.hero h1 { margin-top: 26px; }
.hero .name { display: block; font-size: clamp(44px, 6.6vw, 76px); line-height: 1.04; font-weight: 750; letter-spacing: -0.03em; }
.hero .name em { font-style: normal; }
.hero .role { display: block; margin-top: 14px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; color: var(--sky); letter-spacing: -0.01em; }
.lead { margin-top: 24px; max-width: 600px; font-size: 18px; line-height: 1.7; color: var(--on-navy-muted); }
.hero .links { margin-top: 36px; }
.hero .btn:not(.primary) { background: transparent; color: var(--on-navy); border-color: rgba(255, 255, 255, 0.25); }
.hero .btn:not(.primary):hover { border-color: var(--on-navy); background: rgba(255, 255, 255, 0.06); }

.profile-card { background: var(--surface); color: var(--text); border-radius: 14px; padding: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.pc-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pc-avatar { display: grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 19px; font-weight: 750; }
.pc-name { font-size: 19px; font-weight: 700; }
.pc-role { color: var(--muted); font-size: 14px; margin-top: 2px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 22px 0; }
.facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.profile-card .tags { padding-top: 20px; border-top: 1px solid var(--line); }

/* Sections */
.section { padding: 112px 0; }
.section.alt { background: var(--alt); }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section h2, .cta h2 { font-size: clamp(32px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -0.025em; margin-top: 12px; }
.intro { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.prose { display: grid; gap: 18px; }
.prose p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.prose p:first-child { color: var(--text); font-size: 19px; font-weight: 500; }
.sectors { list-style: none; padding: 0; margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sectors li { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15.5px; box-shadow: var(--shadow); }
.sectors li svg { padding: 9px; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); }
.sectors svg, .icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Expertise */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 27, 45, 0.05), 0 16px 40px rgba(15, 27, 45, 0.1); }
.card.wide { grid-column: span 2; }
.icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--blue-soft); margin-bottom: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card .tags { margin-top: 22px; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--alt); color: var(--navy-2); border: 1px solid var(--line); }

/* How I work */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 20px; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 52px; right: -24px; height: 2px; background: var(--line); }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Experience */
.exp { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.timeline { display: grid; gap: 20px; }
.job { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; box-shadow: var(--shadow); border-left: 4px solid var(--blue); }
.when { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }
.job .when { justify-self: start; }
.job h3 { font-size: 21px; margin-top: 12px; }
.where { color: var(--text); font-size: 15px; font-weight: 600; margin-top: 2px; }
.desc { color: var(--muted); font-size: 15.5px; margin-top: 12px; max-width: 700px; }
.bullets { margin-top: 14px; padding-left: 20px; color: var(--muted); font-size: 15.5px; display: grid; gap: 6px; max-width: 700px; }
.bullets li::marker { color: var(--blue); }
.exp-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.panel { background: var(--navy); color: var(--on-navy); border-radius: 14px; padding: 28px; }
.panel-title { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--navy-line); }
.panel .when { color: var(--sky); background: rgba(140, 184, 255, 0.12); }
.edu { font-size: 18px; font-weight: 700; margin-top: 10px; line-height: 1.35; }
.panel .where { color: var(--on-navy-muted); font-size: 14.5px; font-weight: 500; margin-top: 4px; }
.langs { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15.5px; font-weight: 600; }
.langs li { display: flex; justify-content: space-between; gap: 12px; }
.langs .lvl { color: var(--on-navy-muted); font-weight: 500; font-size: 14.5px; }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 20px; }
.app { display: flex; align-items: center; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; color: var(--text); box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.app:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 27, 45, 0.05), 0 16px 40px rgba(15, 27, 45, 0.1); }
.app img { border-radius: 15px; flex-shrink: 0; }
.app-text { flex: 1; min-width: 0; }
.app-text h3 { font-size: 21px; }
.app-text p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.platforms { display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 8px; }
.get { flex-shrink: 0; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 8px; }

/* Contact */
.cta { background: var(--navy); color: var(--on-navy); padding: 104px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 80% at 10% 100%, rgba(31, 95, 214, 0.35), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 36px 64px; flex-wrap: wrap; }
.cta-inner > div:first-child { flex: 1 1 460px; }
.cta h2 { margin-top: 0; }
.cta p { color: var(--on-navy-muted); max-width: 580px; margin-top: 14px; font-size: 18px; }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); }
.btn.light:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.btn.ghost { background: transparent; color: var(--on-navy); border-color: rgba(255, 255, 255, 0.25); }
.btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.foot { background: #081729; color: var(--on-navy-muted); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.foot-links { display: flex; gap: 22px; }
.foot a { color: var(--on-navy-muted); }
.foot a:hover { color: #fff; }

/* 404 page */
body > main.wrap.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px max(28px, calc((100% - 1084px) / 2)); max-width: none; }
body > main.wrap.hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.03em; }
body > main.wrap.hero .lead a { color: var(--sky); }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner, .split, .exp { grid-template-columns: 1fr; gap: 48px; }
  .exp-side { position: static; grid-template-columns: 1fr 1fr; }
  .cards, .steps, .sectors { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .brand-name { display: none; }
  nav { gap: 12px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .steps, .exp-side { grid-template-columns: 1fr; }
  .sectors { gap: 10px; }
  .sectors li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; font-size: 14.5px; }
  .card.wide { grid-column: auto; }
  .card, .job { padding: 24px; }
  .sectors { margin-top: 48px; }
  .profile-card { padding: 24px; }
  .facts { grid-template-columns: 1fr; }
  .app { flex-wrap: wrap; }
  .cta { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Print / "Download CV (PDF)": a clean A4 document */
@media print {
  @page { size: A4; margin: 16mm 15mm; }
  html { font-size: 10pt; }
  body { background: #fff; font-size: 9.5pt; line-height: 1.5; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .top, .profile-card, .hero .links, #werkwijze, .cta, .foot, .sectors, .get, .intro, .icon, .kicker { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .hero { background: none; color: var(--text); padding: 0 0 10pt; border-bottom: 2px solid var(--navy); }
  .hero::before { display: none; }
  .hero-inner { display: block; }
  .eyebrow { background: none; border: 0; padding: 0; color: var(--blue); font-size: 8pt; }
  .hero h1 { margin-top: 4pt; }
  .hero .name { font-size: 28pt; color: var(--navy); }
  .hero .role { color: var(--blue); font-size: 13pt; margin-top: 2pt; }
  .lead { color: var(--muted); font-size: 10pt; margin-top: 6pt; max-width: none; }
  .section, .section.alt { padding: 14pt 0 0; background: none; }
  .section-head, .section-head.row { display: block; margin-bottom: 8pt; }
  .section h2 { font-size: 15pt; color: var(--navy); margin-top: 0; border-bottom: 1px solid var(--line); padding-bottom: 3pt; }
  .split { display: block; }
  .split-head { margin-bottom: 8pt; }
  .prose { gap: 6pt; }
  .prose p, .prose p:first-child { font-size: 9.5pt; font-weight: 400; color: var(--muted); line-height: 1.5; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10pt 18pt; }
  .card, .card.wide { padding: 0; border: 0; box-shadow: none; grid-column: auto; break-inside: avoid; }
  .card h3 { font-size: 11pt; margin-bottom: 2pt; }
  .card p, .desc, .bullets { font-size: 9.2pt; }
  .card .tags { margin-top: 4pt; }
  .tags li { font-size: 7.5pt; padding: 1pt 5pt; }
  .exp { grid-template-columns: 1fr 52mm; gap: 8mm; }
  .exp-side { position: static; }
  .timeline { gap: 8pt; }
  .job { padding: 0 0 0 9pt; border: 0; border-left: 2px solid var(--blue); border-radius: 0; box-shadow: none; break-inside: avoid; }
  .job h3 { font-size: 11.5pt; margin-top: 3pt; }
  .when { font-size: 7.5pt; padding: 1pt 6pt; }
  .where { font-size: 9pt; }
  .desc, .bullets { margin-top: 3pt; }
  .bullets { gap: 2pt; }
  .panel { padding: 10pt; border-radius: 6pt; }
  .panel-title { font-size: 8pt; margin-bottom: 6pt; padding-bottom: 4pt; }
  .edu { font-size: 10pt; }
  .panel .where, .langs, .langs .lvl { font-size: 9pt; }
  .app { padding: 8pt; box-shadow: none; }
  .app img { width: 34px; height: 34px; border-radius: 8px; }
  .app-text h3 { font-size: 11.5pt; }
  .app-text p { font-size: 9.2pt; }
  .platforms { font-size: 8pt; margin-top: 2pt; }
  a { color: inherit; }
}
