* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #fbf8f7;
    --paper: #ffffff;
    --text: #242120;
    --muted: #746b67;
    --line: #eadfdb;
    --rose: #d8aaa5;
    --rose-soft: #f3e4e1;
    --rose-deep: #9a6862;
    --shadow: 0 18px 45px rgba(36, 33, 32, 0.08);
    --max: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Inter, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img,
iframe {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 248, 247, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.nav {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    font-size: 0.95rem;
}

.nav a[aria-current="page"],
.nav a:hover {
    color: var(--rose-deep);
}

.site-main {
    min-height: calc(100vh - 170px);
}

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

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
    align-items: stretch;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    padding: 72px clamp(24px, 6vw, 82px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}

.eyebrow {
    color: var(--rose-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.5rem, 7vw, 6.7rem);
    font-weight: 750;
}

.hero-copy p {
    max-width: 520px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid var(--text);
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.button:hover {
    transform: translateY(-2px);
    background: var(--rose-deep);
    border-color: var(--rose-deep);
}

.hero-image {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.section-head {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.section-head p {
    max-width: 520px;
    color: var(--muted);
}

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

.project-card {
    display: block;
    text-decoration: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--rose);
}

.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: contain;
    display: block;
    background: #fff;
}

.project-card-body {
    padding: 16px;
}

.project-card h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.meta {
    color: var(--muted);
    font-size: 0.88rem;
}

.split {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(28px, 6vw, 84px);
    align-items: start;
}

.portrait {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.text-block {
    display: grid;
    gap: 18px;
}

.text-block h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.text-block p {
    color: var(--muted);
    max-width: 680px;
}

.soft-panel {
    background: var(--rose-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.skills li {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--muted);
    font-size: 0.9rem;
}

.work-section + .work-section {
    margin-top: 72px;
}

.work-section h2 {
    margin-bottom: 22px;
    font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.project-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 72px 24px 34px;
    text-align: center;
}

.project-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    margin-bottom: 14px;
}

.project-hero p {
    color: var(--muted);
    text-align: left;
    margin-top: 26px;
}

.image-grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px 24px 84px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.orientation-groups {
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px 24px 84px;
    display: grid;
    gap: 54px;
}

.orientation-section h2 {
    margin-bottom: 18px;
    font-size: clamp(1.3rem, 2vw, 2rem);
}

.orientation-section .image-grid {
    max-width: none;
    margin: 0;
    padding: 0;
}

.orientation-section .landscape-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.droomwereld-gallery .landscape-grid {
    grid-template-columns: 1fr;
}

.metafoor-gallery .portrait-grid {
    grid-template-columns: minmax(280px, 620px);
    justify-content: center;
}

.biomorfevormen-gallery .landscape-grid,
.biomorfevormen-gallery .portrait-grid {
    grid-template-columns: minmax(280px, 780px);
    justify-content: center;
}

.vlag-gallery .landscape-grid,
.vlag-gallery .portrait-grid {
    grid-template-columns: minmax(280px, 820px);
    justify-content: center;
}

.chatterbox-gallery .landscape-grid,
.chatterbox-gallery .portrait-grid {
    grid-template-columns: minmax(280px, 820px);
    justify-content: center;
}

.image-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.fakenews-gallery img[src*="ExamenopdrachtPoster"],
.fakenews-gallery img[src*="ExamenopdrachtBoekenlegger"] {
    height: clamp(320px, 48vw, 620px);
    object-fit: contain;
}

.centered-image {
    max-width: var(--max);
    margin: 0 auto 54px;
    padding: 0 24px;
}

.centered-image a,
.centered-image img {
    display: block;
}

.centered-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.centered-pdf {
    max-width: var(--max);
    margin: 0 auto 84px;
    padding: 0 24px;
}

.centered-pdf iframe {
    width: 100%;
    height: min(78vh, 900px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    display: block;
}

.file-list {
    max-width: 760px;
    margin: 0 auto 84px;
    padding: 0 24px;
    display: grid;
    gap: 12px;
}

.file-list a {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    text-decoration: none;
}

.file-list a:hover {
    border-color: var(--rose);
}

.resume-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 72px 24px;
}

.resume-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.resume-header h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.resume-viewer {
    width: 100%;
    height: 720px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.resume-body {
    margin-top: 36px;
    display: grid;
    gap: 28px;
}

.resume-section {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.resume-section h2 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rose-deep);
    margin-bottom: 16px;
}

.resume-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

.resume-year,
.resume-item p {
    color: var(--muted);
}

.contact-links {
    max-width: 760px;
    margin: 0 auto;
    padding: 96px 24px;
    text-align: center;
}

.contact-links h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    margin-bottom: 18px;
}

.contact-links p {
    color: var(--muted);
    margin: 0 auto 28px;
    max-width: 560px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 26px 24px;
    display: flex;
    justify-content: space-between;
    gap: 22px;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
}

.footer-inner a {
    text-decoration: none;
}

.reveal {
    animation: reveal 520ms ease both;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero,
    .split {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
    }

    .hero-image {
        min-height: 440px;
        order: -1;
    }

    .project-grid,
    .image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nav,
    .section-head,
    .resume-header,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav ul {
        gap: 14px;
        flex-wrap: wrap;
    }

    .container {
        padding: 52px 18px;
    }

    .hero-copy {
        padding: 42px 18px;
    }

    .project-grid,
    .image-grid {
        grid-template-columns: 1fr;
    }

    .resume-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .resume-viewer {
        height: 520px;
    }
}
