@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Syne:wght@600;700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --bg:          #0e0f11;
    --bg-surface:  #141619;
    --bg-card:     #17191d;
    --border:      rgba(255,255,255,.07);
    --border-hi:   rgba(255,255,255,.12);

    --text:        #ececef;
    --text-2:      #a0a1ad;
    --text-3:      #6b6c77;

    --accent:      #5b8fff;
    --accent-soft: rgba(91,143,255,.10);
    --accent-2:    #3dffc0;

    --radius:      14px;
    --radius-sm:   8px;

    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --maxw: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14,15,17,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.site-nav .container {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -.01em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ============================================================
   TYPOGRAPHY & SHARED
   ============================================================ */
.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.page-title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--text-2); max-width: 620px; }

section { padding: 88px 0; }
.facts-section { padding: 56px 0; }
section + section { border-top: 1px solid var(--border); }

.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 28px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4a7ef0; }
.btn-ghost { border-color: var(--border-hi); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    color: var(--text-2);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero { padding: 96px 0 88px; }
.hero .container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 72px;
    align-items: center;
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 28px;
}
.status::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
}
.hero h1 { font-size: clamp(48px, 6.5vw, 80px); margin-bottom: 14px; }
.hero h1 span { color: var(--accent); }
.hero-role { font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 20px; }
.hero-intro { color: var(--text-2); max-width: 500px; margin-bottom: 36px; }

.socials { display: flex; gap: 8px; margin-top: 28px; }
.socials a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    color: var(--text-2);
    transition: color .2s, border-color .2s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }

.hero-photo {
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-hi);
    background: var(--bg-card);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 24px; }
.fact .label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 6px;
}
.fact .value { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

/* Focus */
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.focus-grid h3 { font-size: 20px; margin-bottom: 8px; }
.focus-grid p { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
}
.cta h3 { font-size: 20px; margin-bottom: 4px; }
.cta p { color: var(--text-2); font-size: 15px; }

/* ============================================================
   ABOUT
   ============================================================ */
.page-header { padding: 88px 0 72px; }

.about-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-blocks .num { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.about-blocks h3 { font-size: 20px; margin-bottom: 10px; }
.about-blocks p { color: var(--text-2); font-size: 15px; }

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.skills-grid h3 { font-size: 16px; margin-bottom: 16px; color: var(--text-2); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.skill-group + .skill-group { margin-top: 18px; }
.skill-group .label { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }

.timeline { border-left: 1px solid var(--border-hi); padding-left: 28px; }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: '';
    position: absolute;
    left: -32px; top: 8px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--accent);
}
.timeline li:first-child::before { background: var(--accent); }
.timeline .period { font-size: 13px; color: var(--text-3); margin-bottom: 2px; }
.timeline .title { font-weight: 600; }
.timeline .place { color: var(--text-2); font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .label { color: var(--text-3); font-size: 14px; }
.contact-list a { color: var(--text); transition: color .2s; }
.contact-list a:hover { color: var(--accent); }
.cv-card h3 { font-size: 20px; margin-bottom: 8px; }
.cv-card p { color: var(--text-2); font-size: 15px; margin-bottom: 24px; }

/* ============================================================
   PROJECTS
   ============================================================ */
.project-list { display: grid; gap: 20px; }
.project { padding: 36px; }
.project-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 16px;
}
.project-meta { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.project h2 { font-size: 26px; margin-bottom: 4px; }
.project .subtitle { color: var(--text-2); font-size: 15px; }
.badge {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-2);
    border: 1px solid rgba(61,255,192,.3);
    border-radius: 6px;
    padding: 4px 10px;
}
.project .desc { color: var(--text-2); margin: 16px 0 28px; max-width: 760px; }
.project-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.project-cols h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 10px;
}
.project-cols li { font-size: 14.5px; color: var(--text-2); padding: 3px 0; }
.contribution { margin-top: 24px; }
.contribution h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.contribution p { color: var(--text-2); font-size: 15px; max-width: 820px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--border); padding: 32px 0; }
footer .container { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-3); }
footer .nav-logo { font-size: 15px; color: var(--text-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 48px; }
    .hero-photo { max-width: 320px; }
    .facts { grid-template-columns: 1fr 1fr; }
    .focus-grid, .about-blocks, .skills-grid, .contact-grid, .project-cols { grid-template-columns: 1fr; }
    .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .container { padding: 0 20px; }
    section, .page-header { padding: 64px 0; }
    .hero { padding: 64px 0; }
    .nav-links a { padding: 8px 10px; font-size: 13px; }
    .project { padding: 24px; }
    .project-head { flex-direction: column; }
    footer .container { flex-direction: column; }
}

/* ============================================================
   ACCENTS — wat meer karakter
   ============================================================ */
.grad-text {
    background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero h1 span { color: transparent; }

/* zachte, statische gloed achter hero en paginatitels */
.hero, .page-header { position: relative; overflow: hidden; }
.hero::before, .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 15% 20%, rgba(91,143,255,.13), transparent 70%),
        radial-gradient(500px 360px at 90% 85%, rgba(61,255,192,.07), transparent 70%);
    pointer-events: none;
}
.hero .container, .page-header .container { position: relative; }

/* subtiel raster in de hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    pointer-events: none;
}

/* foto met verschoven kader */
.hero-photo-wrap { position: relative; }
.hero-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: translate(14px, 14px);
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .7;
}
.hero-photo { position: relative; }

/* knoppen */
.btn-primary { background: linear-gradient(135deg, #5b8fff, #4a7ef0); box-shadow: 0 6px 24px rgba(91,143,255,.25); }
.btn-primary:hover { background: linear-gradient(135deg, #6c9bff, #5b8fff); box-shadow: 0 8px 30px rgba(91,143,255,.35); }
.btn { transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }

/* eyebrow met lijntje */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before {
    content: '';
    width: 22px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* feitenbalk */
.facts-section { background: var(--bg-surface); }
.fact { position: relative; padding-left: 18px; }
.fact::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(var(--accent), var(--accent-2));
    opacity: .7;
}

/* kaarten: accentlijn + hover */
.card { position: relative; overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity .25s;
}
.card:hover { border-color: rgba(91,143,255,.28); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.card:hover::before { opacity: 1; }
.project.card:hover { transform: none; }

.icon-box {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid rgba(91,143,255,.2);
    color: var(--accent);
    margin-bottom: 18px;
}
.icon-box.green { background: rgba(61,255,192,.08); border-color: rgba(61,255,192,.2); color: var(--accent-2); }

.tag { transition: border-color .2s, color .2s; }
.card:hover .tag { border-color: rgba(91,143,255,.25); color: var(--text); }

/* projecten: groot nummer + accent links */
.project { padding-left: 44px; }
.project::after {
    content: '';
    position: absolute;
    left: 0; top: 28px; bottom: 28px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(var(--accent), var(--accent-2));
}
.project-num {
    position: absolute;
    right: 32px; top: 18px;
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.08);
    pointer-events: none;
}
.project .badge + .project-num, .project-head:has(.badge) ~ .project-num { display: none; }

/* skills- en contact-sectie afwisselen */
.alt { background: var(--bg-surface); }

/* tijdlijn kleur */
.timeline { border-image: linear-gradient(var(--accent), rgba(255,255,255,.08) 70%) 1; }

@media (prefers-reduced-motion: reduce) {
    .card, .btn { transition: none; }
}

@media (max-width: 900px) {
    .hero-photo-wrap { max-width: 320px; }
    .hero-photo-wrap::before { transform: translate(10px, 10px); }
}
@media (max-width: 600px) {
    .project { padding-left: 28px; }
    .project-num { font-size: 52px; right: 20px; }
}

/* ============================================================
   MOBIEL
   ============================================================ */
@media (max-width: 900px) {
    .hero .container { gap: 40px; }
    .hero-photo-wrap { order: -1; width: 220px; max-width: 220px; }
    .hero-photo { max-width: none; }
}
@media (max-width: 600px) {
    .hero { padding: 40px 0 56px; }
    .hero h1 { font-size: 46px; }
    .hero-role { font-size: 16px; }
    .hero-intro { font-size: 15px; margin-bottom: 28px; }
    .btn-row .btn { flex: 1; justify-content: center; white-space: nowrap; padding: 12px 14px; }
    .facts { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .fact .value { font-size: 16px; }
    .facts-section { padding: 40px 0; }
    .page-header { padding: 48px 0 40px; }
    .page-title { font-size: 36px; }
    .lead { font-size: 16px; }
    .section-head { margin-bottom: 28px; }
    .section-head h2 { font-size: 24px; }
    .card { padding: 22px; }
    .project { padding: 24px 22px 24px 26px; }
    .project h2 { font-size: 22px; }
    .project-num { display: none; }
    .project-cols { gap: 18px; padding: 18px 0; }
    .contact-list li { flex-direction: column; gap: 2px; }
    .cta .btn { width: 100%; justify-content: center; }
    .card:hover { transform: none; }
}
