/* =========================================================
   janmevius.com
   ========================================================= */

:root {
    --bg: #090c11;
    --surface: #11161f;
    --surface-2: #171d29;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .15);
    --text: #eef1f6;
    --muted: #9aa4b5;
    --faint: #7a8598;
    --accent: #c5f547;
    --accent-ink: #10150a;
    --accent-soft: rgba(197, 245, 71, .12);
    --blue: #5b9dff;

    --radius: 20px;
    --maxw: 1120px;
    --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
svg { flex: none; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
    width: min(100% - 40px, var(--maxw));
    margin-inline: auto;
}

.accent { color: var(--accent); }

.skip {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Achtergrond ---------- */

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg);
}

.bg__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 75%);
            mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 75%);
}

.bg__glow {
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    filter: blur(130px);
}
.bg__glow--a {
    top: -300px;
    right: -140px;
    background: var(--accent);
    opacity: .15;
    animation: drift 24s ease-in-out infinite alternate;
}
.bg__glow--b {
    top: 45vh;
    left: -340px;
    background: var(--blue);
    opacity: .12;
    animation: drift 30s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    to { transform: translate3d(-90px, 70px, 0) scale(1.15); }
}

/* ---------- Navigatie ---------- */

.nav {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 50;
    transform: translateX(-50%);
    width: min(100% - 24px, var(--maxw));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 8px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(11, 14, 20, .6);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
            backdrop-filter: blur(16px) saturate(1.4);
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-scrolled {
    background: rgba(11, 14, 20, .86);
    border-color: var(--line-2);
    box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .9);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.nav__mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font: 600 12.5px var(--mono);
}

.nav__links { display: flex; gap: 2px; }
.nav__links a {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 14.5px;
    color: var(--muted);
    transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .08); }

@media (max-width: 860px) {
    .nav__links { display: none; }
}

/* ---------- Knoppen & kleine onderdelen ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.2;
    letter-spacing: -.01em;
    white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(197, 245, 71, .55); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line-2);
    color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: none; }

.btn--small { padding: 9px 16px; font-size: 14px; }
.btn--small svg { width: 16px; height: 16px; }

.iconbtn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    transition: transform .3s var(--ease), background .2s, border-color .2s, color .2s;
}
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.iconbtn:active { transform: scale(.95); }

.pulse {
    position: relative;
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
.pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
    to { transform: scale(3.2); opacity: 0; }
}

.pill,
.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 13px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font: 500 12.5px/1.4 var(--mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.status { padding: 4px 11px; font-size: 11.5px; }
.status--now { border-color: rgba(197, 245, 71, .35); background: var(--accent-soft); color: var(--accent); }
.status--idle { color: var(--faint); }

.eyebrow {
    font: 500 13px/1.4 var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow b { color: var(--accent); font-weight: 500; }

.card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}

/* Lichtvlek die de muis volgt */
.spot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(197, 245, 71, .1), transparent 62%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}
.spot:hover::before { opacity: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
    padding: 4px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: 500 12.5px/1.5 var(--mono);
    color: var(--muted);
}

/* ---------- Secties ---------- */

.section {
    padding-block: clamp(72px, 10vw, 128px);
    scroll-margin-top: 20px;
}
.section--clip { overflow-x: clip; }

.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2,
.contact h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4.4vw, 48px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.section__sub { margin-top: 14px; color: var(--muted); max-width: 520px; }
.section__sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Scroll-animatie */
.js .reveal {
    opacity: 0;
    translate: 0 22px;
    transition:
        opacity .9s var(--ease) var(--d, 0s),
        translate .9s var(--ease) var(--d, 0s),
        transform .35s var(--ease),
        border-color .3s,
        box-shadow .3s;
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Hero ---------- */

.hero {
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 120px 0 72px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 40px;
}

.hero__text > *,
.hero__visual {
    animation: rise 1s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}
@keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(52px, 8.4vw, 96px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.05em;
}

.hero__tag {
    margin-top: 20px;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 500;
    letter-spacing: -.02em;
}

.hero__lead {
    margin-top: 14px;
    max-width: 500px;
    color: var(--muted);
    font-size: 17.5px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.workchip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding: 7px 16px 7px 7px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    font-size: 14.5px;
    color: var(--muted);
    transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.workchip strong { color: var(--text); font-weight: 600; }
.workchip:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.workchip__logo {
    display: grid;
    place-items: center;
    padding: 4px 6px;
    border-radius: 9px;
    background: #fff;
}
.workchip__logo img { height: 28px; width: auto; }

/* Portret met ring en rondcirkelende labels */

.hero__visual {
    --size: clamp(190px, 19vw, 250px);
    --r: calc(var(--size) / 2 + 73px);
    position: relative;
    display: grid;
    place-items: center;
    min-height: 500px;
}

.portrait {
    position: relative;
    width: var(--size);
    aspect-ratio: 1;
}

.portrait__img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 5px solid var(--bg);
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface);
}

.portrait__ring {
    position: absolute;
    inset: -3px;
    z-index: 1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), transparent 26%, transparent 52%, var(--blue) 76%, var(--accent));
    animation: spin 10s linear infinite;
}
.portrait__ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    filter: blur(26px);
    opacity: .55;
}
@keyframes spin {
    to { transform: rotate(1turn); }
}

.portrait__orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, .13);
    border-radius: 50%;
}
.portrait__orbit--1 { inset: calc(var(--size) / 2 - var(--r)); }
.portrait__orbit--2 { inset: calc(var(--size) / 2 - var(--r) - 44px); border-style: solid; border-color: rgba(255, 255, 255, .05); }

.chips {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.chips li {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(17, 22, 31, .88);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    font: 500 13px/1.4 var(--mono);
    white-space: nowrap;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8);
    transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
    animation: orbit 60s linear infinite;
}
.chips li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
@keyframes orbit {
    to { transform: translate(-50%, -50%) rotate(calc(var(--a) + 1turn)) translateX(var(--r)) rotate(calc(var(--a) * -1 - 1turn)); }
}

@media (max-width: 1040px) {
    .hero { padding-top: 110px; }
    .hero__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .hero__visual { order: -1; --size: 172px; min-height: 0; display: block; }
    .portrait { margin-inline: auto; }
    .portrait__orbit { display: none; }
    .hero__lead { margin-inline: auto; }
    .hero__cta { justify-content: center; }

    .chips {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        max-width: 420px;
        margin: 26px auto 0;
    }
    .chips li {
        position: static;
        transform: none;
        animation: none;
        font-size: 12px;
        padding: 5px 11px;
    }
}

/* ---------- Over mij ---------- */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.about__text { display: grid; gap: 18px; font-size: 18.5px; color: #cfd5df; }

.lofi {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    font: 400 14.5px/1.5 var(--mono);
    color: var(--muted);
}

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i {
    width: 3px;
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
    transform-origin: bottom;
    animation: eq 1.1s ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.eq i:nth-child(3) { animation-duration: 1.3s; animation-delay: -.6s; }
.eq i:nth-child(4) { animation-duration: .95s; animation-delay: -.15s; }
@keyframes eq {
    from { transform: scaleY(.25); }
    to { transform: scaleY(1); }
}

.work {
    display: grid;
    gap: 6px;
    padding: 26px;
    transition: transform .35s var(--ease), border-color .3s;
}
.work:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.work__logo { padding: 8px 12px; border-radius: 12px; background: #fff; }
.work__logo img { height: 46px; width: auto; }
.work h3 { font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.work__role { font: 500 13.5px/1.5 var(--mono); color: var(--accent); }
.work__desc { margin: 8px 0 14px; color: var(--muted); font-size: 15.5px; }
.work__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-weight: 600;
    font-size: 15px;
}
.work__link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.work:hover .work__link svg { transform: translate(3px, -3px); }

@media (max-width: 860px) {
    .about { grid-template-columns: 1fr; }
    .about__text { font-size: 17.5px; }
}

/* ---------- Certificaten: de kaartenstapel ---------- */

.certs {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
}
.certs__side { order: -1; }
.certs__stage { padding-top: 9%; }

.deck {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    touch-action: pan-y;
}
.deck:focus-visible { outline-offset: 10px; border-radius: 26px; }

.deck__skeleton {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
    animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
    to { background-position: -300% 0; }
}

.cert {
    position: absolute;
    inset: 0;
    perspective: 1600px;
    cursor: grab;
    -webkit-user-select: none;
            user-select: none;
    transition: transform .65s var(--ease), opacity .45s ease;
    will-change: transform;
}
.cert.is-dragging { cursor: grabbing; transition: none; }

.cert[data-pos="0"] { transform: none; --dim: 0; }
.cert[data-pos="1"] { transform: translate3d(3.4%, -6.4%, 0) rotate(3deg) scale(.955); --dim: .38; }
.cert[data-pos="2"] { transform: translate3d(-3%, -11.6%, 0) rotate(-3.5deg) scale(.91); --dim: .6; }
.cert[data-pos="3"] { transform: translate3d(0, -14%, 0) scale(.86); opacity: 0; --dim: .85; }

.cert__inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform .8s var(--ease);
}
.cert.is-flipped .cert__inner { transform: rotateY(180deg); }

.cert__face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid var(--line-2);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .85);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}

.cert__blur {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    max-width: none;
    object-fit: cover;
    filter: blur(30px) saturate(1.35) brightness(.62);
    opacity: 0;
    transition: opacity .6s;
}
.cert__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 13px;
    object-fit: contain;
    opacity: 0;
    transition: opacity .6s;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .45));
}
.cert__front.is-loaded .cert__blur,
.cert__front.is-loaded .cert__img { opacity: 1; }

.cert__fallback {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    padding: 24px;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.02em;
}
.cert__front.is-broken .cert__fallback { display: grid; }
.cert__front.is-broken img { display: none; }

.cert__hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(9, 12, 17, .78);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    font: 500 12px/1.4 var(--mono);
    opacity: 0;
    transition: opacity .4s;
}
.cert__hint svg { width: 14px; height: 14px; }
.cert[data-pos="0"] .cert__hint { opacity: 1; }

.cert__shade {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: #05070a;
    opacity: var(--dim, 0);
    transition: opacity .55s;
    pointer-events: none;
}

/* Achterkant */
.cert__back {
    container-type: inline-size;
    transform: rotateY(180deg);
    background:
        radial-gradient(90% 90% at 100% 0%, rgba(197, 245, 71, .16), transparent 60%),
        linear-gradient(160deg, #1a2130, #0d1118);
}
.cert__backin {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 1.6cqw;
    padding: 5.4cqw;
    overflow: hidden;
}
.cert__backtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cert__date { font: 500 clamp(11px, 2.5cqw, 13.5px)/1.4 var(--mono); color: var(--muted); }
.cert__name {
    margin-top: 2cqw;
    font-size: clamp(22px, 7.6cqw, 42px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
}
.cert__full { font-size: clamp(13px, 3.3cqw, 18px); line-height: 1.35; color: #cfd5df; }
.cert__issuer { font: 500 clamp(11.5px, 2.6cqw, 14px)/1.4 var(--mono); color: var(--accent); }

.cert__extras {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
    margin-top: 1cqw;
    font: 400 clamp(11px, 2.5cqw, 13.5px)/1.6 var(--mono);
}
.cert__extras dt { color: var(--faint); }
.cert__extras dd { min-width: 0; }
.copy {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    border-radius: 6px;
    transition: color .2s;
}
.copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy svg { width: 13px; height: 13px; opacity: .55; }
.copy:hover { color: var(--accent); }
.copy.is-done { color: var(--accent); }

.cert__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.cert__actions .btn { padding: clamp(7px, 1.9cqw, 10px) clamp(12px, 3cqw, 17px); font-size: clamp(12.5px, 2.8cqw, 14.5px); }
.cert__actions .btn svg { width: 15px; height: 15px; }

/* Bijschrift en bediening */
.deckcap { transition: opacity .2s, translate .3s var(--ease); }
.deckcap.is-swapping { opacity: 0; translate: 0 8px; }
.deckcap__count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--mono);
    color: var(--faint);
    font-size: 16px;
}
.deckcap__count b {
    font-size: clamp(52px, 7vw, 76px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--accent);
}
.deckcap__name {
    margin-top: 14px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.03em;
}
.deckcap__full { margin-top: 6px; color: #cfd5df; font-size: 17px; line-height: 1.4; }
.deckcap__full:empty { display: none; }
.deckcap__meta { margin-top: 8px; color: var(--muted); font: 400 14.5px/1.5 var(--mono); min-height: 1.5em; }

.deckctl { display: flex; align-items: center; gap: 10px; margin-top: 28px; }

.dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.dot {
    position: relative;
    width: 14px;
    height: 20px;
    transition: width .45s var(--ease);
}
.dot::before {
    content: '';
    position: absolute;
    inset: 8px 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .2);
    transition: background .3s;
}
.dot:hover::before { background: rgba(255, 255, 255, .5); }
.dot.is-active { width: 38px; }
.dot.is-active::before { background: var(--accent); }

.livenote {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font: 400 13px/1.5 var(--mono);
    color: var(--faint);
}
.livenote a { color: var(--accent); text-decoration: underline; }
.livenote.is-offline .pulse,
.livenote.is-offline .pulse::after { background: var(--faint); animation: none; }

@media (max-width: 900px) {
    .certs { grid-template-columns: 1fr; gap: 30px; }
    .certs__side { order: 0; text-align: center; }
    .certs__stage { padding-top: 11%; }
    .deck { aspect-ratio: 5 / 4; }
    .cert__img { padding: 9px; }
    .deckcap__count { justify-content: center; }
    .deckcap__count b { font-size: 44px; }
    .deckcap__name { margin-top: 8px; }
    .deckctl, .dots, .livenote { justify-content: center; }
    .deckctl { margin-top: 20px; }
    .dots { margin-top: 18px; }
    .livenote { margin-top: 18px; }
}

/* ---------- Roadmap ---------- */

.road {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.road__step { position: relative; padding-top: 58px; }

/* Verbindingslijn naar de volgende stap */
.road__step::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 38px;
    right: -20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) calc(var(--p) * 1%), var(--line-2) calc(var(--p) * 1%));
    transform-origin: left;
}
.road__step:last-child::before { right: 0; background: linear-gradient(90deg, var(--line-2), transparent); }

.road__node {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--line-2);
    border-radius: 50%;
    background: var(--bg);
    font: 500 14px var(--mono);
    color: var(--faint);
}
.road__step.is-started .road__node { border-color: var(--accent); color: var(--accent); }
.road__step.is-current .road__node {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 0 0 6px var(--accent-soft), 0 0 30px rgba(197, 245, 71, .45);
}

.road__card {
    height: 100%;
    padding: 22px;
    transition: transform .35s var(--ease), border-color .3s;
}
.road__card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.road__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.road__pct { font: 500 14px var(--mono); color: var(--muted); }
.road__pct b { font-size: 22px; font-weight: 500; color: var(--text); letter-spacing: -.03em; }
.road__card h3 { margin-top: 18px; font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.road__card p { margin-top: 6px; color: var(--muted); font-size: 15.5px; min-height: 3.1em; }

.road__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-weight: 600;
    font-size: 14.5px;
    transition: color .2s;
}
.road__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.road__link:hover { color: var(--accent); }
.road__link:hover svg { transform: translate(3px, -3px); }

.bar {
    height: 6px;
    margin-top: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}
.bar span {
    display: block;
    height: 100%;
    width: calc(var(--p) * 1%);
    border-radius: inherit;
    background: linear-gradient(90deg, #8fd41f, var(--accent));
    box-shadow: 0 0 14px rgba(197, 245, 71, .6);
}
.js .bar span { width: 0; transition: width 1.5s var(--ease) .35s; }
.js .is-in .bar span { width: calc(var(--p) * 1%); }

@media (max-width: 860px) {
    .road { grid-template-columns: 1fr; gap: 16px; }
    .road__step { padding: 0 0 0 58px; }
    .road__step::before {
        top: 38px;
        bottom: -16px;
        left: 18px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--accent) calc(var(--p) * 1%), var(--line-2) calc(var(--p) * 1%));
    }
    .road__step:last-child::before { display: none; }
    .road__card p { min-height: 0; }
}

/* ---------- Projecten ---------- */

.projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
    padding: 22px;
    transition: transform .35s var(--ease), border-color .3s;
}
a.project:hover { transform: translateY(-4px); border-color: var(--line-2); }

.project--skeleton {
    background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
    animation: shimmer 1.6s linear infinite;
}

.project__top { display: flex; align-items: center; gap: 10px; }
.project__top svg { width: 19px; height: 19px; color: var(--muted); }
.project__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 500 17px var(--mono); letter-spacing: -.01em; }
.project__top .project__arrow { transition: transform .3s var(--ease), color .2s; }
a.project:hover .project__arrow { transform: translate(3px, -3px); color: var(--accent); }
.project__desc { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.project__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: auto;
    padding-top: 12px;
    font: 400 12.5px/1.5 var(--mono);
    color: var(--faint);
}
.project__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project__meta svg { width: 13px; height: 13px; }
.langdot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--accent)); }

@media (max-width: 900px) {
    .projects { grid-template-columns: 1fr; }
    .project { min-height: 0; }
}

/* ---------- Ervaring ---------- */

.timeline { max-width: 780px; }

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0 44px;
    padding-bottom: 40px;
}
.timeline__item:last-child { padding-bottom: 0; }

/* Lijn en punt */
.timeline__item::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: -12px;
    left: 171px;
    width: 2px;
    background: var(--line);
}
.timeline__item:last-child::before { background: linear-gradient(180deg, var(--line), transparent); bottom: 0; }
.timeline__item::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 166px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--faint);
    border-radius: 50%;
    background: var(--bg);
}
.timeline__item.is-now::after {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-soft);
}

.timeline__when { padding-top: 3px; text-align: right; font: 500 13.5px/1.5 var(--mono); color: var(--muted); }
.timeline__item.is-now .timeline__when { color: var(--accent); }
.timeline__body h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.timeline__org { margin-top: 4px; font: 500 13.5px/1.5 var(--mono); color: var(--muted); }
.timeline__body p:last-child { margin-top: 10px; color: var(--muted); font-size: 16px; }

@media (max-width: 640px) {
    .timeline__item { grid-template-columns: 1fr; padding-left: 32px; }
    .timeline__item::before { left: 5px; }
    .timeline__item::after { left: 0; }
    .timeline__when { text-align: left; padding: 0 0 4px; }
}

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

.contact {
    padding: clamp(36px, 7vw, 76px) clamp(22px, 6vw, 72px);
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(70% 120% at 50% 120%, rgba(197, 245, 71, .16), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}
.contact .section__sub { margin-inline: auto; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    font: 400 13px/1.6 var(--mono);
    color: var(--faint);
}

/* ---------- Minder beweging ---------- */

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