:root {
  --paper: #f3f0e8;
  --ink: #171816;
  --muted: #676861;
  --line: #c9c6bc;
  --acid: #d7ff43;
  --orange: #ff5c35;
  --blue: #65a7ff;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], [id="werkwijze"] { scroll-margin-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--acid); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 86px;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgb(243 240 232 / .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { height: 68px; box-shadow: 0 1px 0 var(--line), 0 12px 30px rgb(23 24 22 / .06); }
.header-right { justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.menu-toggle { display: none; width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 1.5px; background: var(--ink); transform: translate(-50%, -4px); transition: transform .25s ease; }
.menu-toggle span:last-child { transform: translate(-50%, 3px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.site-header nav a.is-active::after { right: 0; }
.nav-contact { display: none; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .82rem; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); font: 500 .72rem "DM Mono", monospace; }
.site-header nav { display: flex; gap: clamp(1.3rem, 3vw, 2.75rem); font-size: .78rem; font-weight: 600; }
.site-header nav a, .text-link { position: relative; }
.site-header nav a::after, .text-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.3rem; height: 1px; background: currentColor; transition: right .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after, .text-link:hover::after { right: 0; }
.header-cta { font-size: .78rem; font-weight: 700; }
.header-cta span { display: inline-block; margin-left: .35rem; transition: transform .2s ease; }
.header-cta:hover span { transform: translate(3px, -3px); }

.hero {
  width: min(100%, calc(var(--max) + 2 * var(--pad)));
  min-height: 690px;
  margin: auto;
  padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}
.eyebrow, .section-label, .work-tag, .coordinate { font: 500 .68rem "DM Mono", monospace; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.8rem; }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #58b258; box-shadow: 0 0 0 5px rgb(88 178 88 / .15); }
h1 { max-width: 800px; margin: 0; font-size: clamp(4rem, 7.3vw, 7.6rem); line-height: .88; letter-spacing: -.075em; font-weight: 600; }
h1 em, .contact h2 em { font-family: "Playfair Display", serif; font-weight: 600; }
.hero-intro { max-width: 610px; margin: 2.2rem 0 1.8rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75; }
.hero-proof { list-style: none; margin: 0 0 2.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-proof li { padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; font: 500 .68rem "DM Mono", monospace; letter-spacing: .06em; }
.hero-proof li::before { content: "✦"; margin-right: .5rem; color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.button { min-height: 3.5rem; padding: 0 1.4rem; display: inline-flex; justify-content: center; align-items: center; gap: 1.3rem; border-radius: 2px; font-size: .78rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #30312e; }
.button-light { color: var(--ink); background: var(--paper); }
.text-link { font-size: .78rem; font-weight: 700; }

.hero-object { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-object::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: var(--acid); clip-path: polygon(6% 13%, 77% 0, 100% 76%, 24% 100%, 0 63%); animation: morph 9s ease-in-out infinite alternate; }
.orbit { position: absolute; z-index: 1; border: 1px solid rgb(23 24 22 / .34); border-radius: 50%; }
.orbit-one { inset: 0 10%; transform: rotate(25deg); }
.orbit-two { inset: 11% 0; transform: rotate(-35deg); }
.core { position: relative; z-index: 2; width: 9.5rem; height: 9.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; color: white; background: var(--ink); box-shadow: 0 16px 40px rgb(0 0 0 / .18); font: 400 .67rem "DM Mono", monospace; letter-spacing: .12em; }
.core strong { margin: .35rem; color: var(--acid); font-size: 1.3rem; }
.orbit-label { position: absolute; z-index: 3; padding: .45rem .65rem; border: 1px solid var(--ink); background: var(--paper); font: 500 .62rem "DM Mono", monospace; }
.label-ai { top: 7%; left: 23%; transform: rotate(-8deg); }
.label-code { right: 1%; top: 46%; transform: rotate(7deg); }
.label-device { bottom: 8%; left: 12%; transform: rotate(-5deg); }
.coordinate { position: absolute; color: var(--muted); }
.coordinate-top { top: -1.5rem; right: 1rem; }
.coordinate-bottom { bottom: -1.5rem; left: 0; }
@keyframes morph { 50% { clip-path: polygon(18% 0, 97% 20%, 80% 97%, 5% 84%, 0 25%); transform: rotate(3deg); } }

.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--acid); }
.ticker-track { width: max-content; padding: .85rem 0; display: flex; align-items: center; gap: 2rem; animation: ticker 28s linear infinite; font: 500 .72rem "DM Mono", monospace; letter-spacing: .16em; }
.ticker-track i { font-style: normal; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { width: min(100%, calc(var(--max) + 2 * var(--pad))); margin: auto; padding: clamp(6rem, 10vw, 10rem) var(--pad); }
.section-label { display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.section-label span { color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; align-items: start; }
.about-content h2 { max-width: 970px; margin: -.25rem 0 clamp(3rem, 6vw, 5.5rem); font-size: clamp(2.3rem, 4.5vw, 4.6rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 500; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.about-grid p { margin: 0; color: var(--muted); line-height: 1.8; }

.services { padding-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.service { position: relative; display: flex; flex-direction: column; padding: clamp(1.8rem, 3vw, 2.6rem); border-right: 1px solid var(--line); transition: background .25s ease; }
.service:last-child { border-right: 0; }
.service:hover { background: #ebe8de; }
.service-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 2.2rem; border-radius: 50%; background: var(--acid); font-size: 1.3rem; }
.service:nth-child(2) .service-icon { background: var(--orange); }
.service:nth-child(3) .service-icon { color: var(--paper); background: var(--ink); }
.service h3 { margin: 0 0 1rem; font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: -.035em; font-weight: 600; line-height: 1.15; }
.service p { margin: 0 0 1.6rem; color: var(--muted); line-height: 1.7; font-size: .95rem; }
.service-examples { margin-top: auto !important; padding-top: 1.2rem; }
.service-examples { --_x: 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ink) !important; font: 500 .66rem "DM Mono", monospace !important; letter-spacing: .08em; line-height: 1.8 !important; }

.process { padding-top: clamp(5rem, 8vw, 8rem); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--ink); }
.process-steps li { padding: 2rem 1.6rem 2.2rem 0; background: var(--paper); }
.process-steps li + li { padding-left: 1.6rem; }
.process-steps b { display: block; margin-bottom: 1.4rem; color: var(--orange); font: 400 .65rem "DM Mono", monospace; letter-spacing: .12em; }
.process-steps h3 { margin: 0 0 .7rem; font-size: 1.3rem; letter-spacing: -.03em; font-weight: 600; }
.process-steps p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }

.work { padding-top: 0; }
.section-heading { padding-bottom: 2.5rem; display: flex; justify-content: space-between; align-items: flex-end; }
.section-heading > p { max-width: 330px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.work-list { border-top: 1px solid var(--ink); }
.work-item { min-height: 200px; padding-block: 2rem; display: grid; grid-template-columns: 5rem 6rem 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 3rem); border-bottom: 1px solid var(--line); transition: background .25s ease, padding .25s ease; }
.work-item:hover { padding-inline: 1.2rem; background: #ebe8de; }
.work-number { align-self: start; padding-top: 2rem; color: var(--muted); font: 400 .65rem "DM Mono", monospace; }
.work-icon { width: 4.2rem; height: 4.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--acid); font-size: 1.8rem; }
.work-item:nth-child(2) .work-icon { background: var(--orange); }
.work-item:nth-child(3) .work-icon { background: var(--blue); }
.work-item:nth-child(4) .work-icon { color: var(--paper); background: var(--ink); }
.work-tag { margin: 0 0 .7rem; color: var(--muted); }
.work-copy h3 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 2.7vw, 2.6rem); letter-spacing: -.045em; font-weight: 500; }
.work-copy > p:last-child { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.6; }
.work-link { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.work-link span { transition: transform .2s ease; }
.work-link:hover, .work-link:focus-visible { color: var(--paper); background: var(--ink); }
.work-link:hover span { transform: translate(3px, -3px); }

.arena {
  position: relative;
  min-height: min(82vw, 900px);
  display: grid;
  grid-template-columns: minmax(360px, .9fr) 1.1fr;
  color: var(--paper);
  background: #11120f;
}
.arena-image { position: relative; min-height: 720px; overflow: hidden; }
.arena-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, #11120f), linear-gradient(0deg, rgb(0 0 0 / .35), transparent 40%); pointer-events: none; }
.arena-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 30%; filter: saturate(.75) contrast(1.08); transition: filter .7s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.arena:hover .arena-image img { filter: saturate(1) contrast(1.03); transform: scale(1.025); }
.arena-caption { position: absolute; z-index: 2; left: var(--pad); bottom: 2rem; font: 500 .6rem "DM Mono", monospace; letter-spacing: .14em; }
.arena-copy { align-self: center; max-width: 780px; padding: clamp(4rem, 9vw, 9rem) var(--pad); }
.arena-copy .eyebrow { color: var(--orange); }
.arena-copy h2 { margin: 0; font-size: clamp(3.3rem, 6vw, 7rem); line-height: .96; letter-spacing: -.07em; font-weight: 500; }
.arena-copy h2 em { color: var(--acid); font-family: "Playfair Display", serif; font-weight: 600; }
.arena-copy > p:not(.eyebrow) { max-width: 630px; margin: 2.2rem 0 3rem; color: #aaa9a2; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.8; }
.arena-principles { max-width: 640px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgb(243 240 232 / .25); }
.arena-principles span { padding: 1.3rem .5rem 1.3rem 0; font-size: .72rem; font-weight: 600; }
.arena-principles b { display: block; margin-bottom: .55rem; color: var(--orange); font: 400 .6rem "DM Mono", monospace; }

.profile { border-top: 1px solid var(--line); }
.profile-layout { margin-top: 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 10vw, 10rem); }
.quote-mark { height: 4rem; margin: 0; color: var(--orange); font: italic 600 7rem/1 "Playfair Display", serif; }
blockquote { max-width: 530px; margin: 2rem 0 0; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.16; letter-spacing: -.045em; }
.profile-details { border-top: 1px solid var(--ink); }
.detail-row { padding: 1.5rem 0; display: grid; grid-template-columns: 1fr 1.6fr; border-bottom: 1px solid var(--line); }
.detail-row h3 { margin: 0; font: 500 .68rem "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.detail-row p { margin: 0; color: var(--muted); line-height: 1.8; }

.contact { position: relative; overflow: hidden; min-height: 650px; padding: clamp(5rem, 10vw, 9rem) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); display: flex; align-items: center; color: var(--paper); background: var(--ink); }
.contact::after { content: ""; position: absolute; inset: auto -8% -35% auto; width: 48vw; min-width: 620px; aspect-ratio: 1; border: 1px solid rgb(243 240 232 / .15); border-radius: 50%; }
.contact-copy { position: relative; z-index: 2; }
.contact .eyebrow { color: var(--acid); }
.contact h2 { margin: 0 0 2.8rem; font-size: clamp(3.6rem, 7vw, 7.5rem); line-height: .95; letter-spacing: -.07em; font-weight: 500; }
.contact h2 em { color: var(--acid); }
.contact-sub { max-width: 520px; margin: -1.2rem 0 2.6rem; color: #aaa9a2; line-height: 1.75; font-size: 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.copy-email { display: inline-flex; align-items: center; gap: .9rem; padding: 0; border: 0; background: none; color: var(--paper); cursor: pointer; font: 500 .8rem "DM Mono", monospace; letter-spacing: .04em; }
.copy-email-text { border-bottom: 1px solid rgb(243 240 232 / .4); padding-bottom: .15rem; }
.copy-email-hint { padding: .3rem .55rem; border: 1px solid rgb(243 240 232 / .3); border-radius: 999px; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #aaa9a2; transition: background .2s, color .2s; }
.copy-email:hover .copy-email-hint, .copy-email.is-copied .copy-email-hint { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.contact-disc { position: absolute; z-index: 3; right: clamp(2rem, 9vw, 10rem); width: clamp(12rem, 20vw, 18rem); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--orange); animation: float 4s ease-in-out infinite; }
.contact-disc span { position: absolute; inset: 1rem; text-align: center; font: 500 .6rem "DM Mono", monospace; letter-spacing: .14em; }
.contact-disc strong { font-size: 3rem; letter-spacing: -.08em; }
@keyframes float { 50% { transform: translateY(-12px) rotate(2deg); } }

footer { min-height: 110px; padding: 1.5rem max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; color: var(--paper); background: var(--ink); border-top: 1px solid rgb(243 240 232 / .2); font-size: .72rem; }
footer p { margin: 0; justify-self: end; color: #989991; }
.footer-nav { display: flex; gap: 1.6rem; font-weight: 600; }
.footer-nav a { opacity: .8; transition: opacity .2s; }
.footer-nav a:hover { opacity: 1; }
.footer-brand .brand-mark { color: var(--ink); background: var(--paper); }

.reveal { transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .nav-contact { display: block; }
  .site-header nav { display: none; position: fixed; inset: 86px 0 auto 0; padding: 1.5rem var(--pad) 2.2rem; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 30px 60px rgb(23 24 22 / .12); font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }
  .site-header.is-scrolled nav { top: 68px; }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .site-header nav a::after { display: none; }
  .site-header nav a.is-active { color: var(--orange); }
  .service-grid { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li { padding: 1.8rem 1.4rem 2rem 0; }
  .process-steps li + li { padding-left: 0; }
  .process-steps li:nth-child(even) { padding-left: 1.4rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-object { width: min(78vw, 500px); margin: 2rem auto 0; }
  .about { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; gap: 2rem; flex-direction: column; }
  .work-item { grid-template-columns: 3rem 5rem 1fr auto; }
  .arena { min-height: auto; grid-template-columns: 1fr 1fr; }
  .arena-image { min-height: 680px; }
  .profile-layout { grid-template-columns: 1fr; }
  .contact-disc { opacity: .22; right: -3rem; }
  footer { grid-template-columns: 1fr; gap: 1.2rem; padding-block: 2rem; }
  footer p { justify-self: start; }
  .footer-nav { flex-wrap: wrap; gap: .9rem 1.4rem; }
}

@media (max-width: 600px) {
  .site-header { height: 74px; }
  .site-header.is-scrolled { height: 64px; }
  .site-header nav { inset-block-start: 74px; }
  .site-header.is-scrolled nav { top: 64px; }
  .header-cta { display: none; }
  .brand > span:last-child { display: none; }
  .hero { padding-top: 4.5rem; }
  h1 { font-size: clamp(3.35rem, 14.5vw, 4rem); letter-spacing: -.065em; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .button { width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .work-item { padding: 2rem 0; grid-template-columns: 3.5rem 1fr auto; align-items: start; }
  .work-item:hover { padding-inline: .5rem; }
  .work-number { display: none; }
  .work-icon { width: 3.5rem; height: 3.5rem; font-size: 1.4rem; }
  .work-item { grid-template-columns: 3.5rem 1fr; }
  .work-copy { grid-column: 2; }
  .work-link { grid-column: 2; justify-self: start; margin-top: .5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li, .process-steps li:nth-child(even) { padding: 1.6rem 0 1.8rem; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .arena { grid-template-columns: 1fr; }
  .arena-image { min-height: 75vh; max-height: 760px; }
  .arena-image::after { background: linear-gradient(0deg, #11120f 0, transparent 38%); }
  .arena-copy { padding-top: 3rem; }
  .arena-copy h2 { font-size: clamp(3.3rem, 15vw, 4.8rem); }
  .arena-principles { grid-template-columns: 1fr; }
  .arena-principles span + span { border-top: 1px solid rgb(243 240 232 / .18); }
  .detail-row { grid-template-columns: 1fr; gap: .8rem; }
  .contact { min-height: 590px; }
  .contact h2 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .contact-disc { bottom: -5rem; right: -3rem; }
  footer p { font-size: .68rem; line-height: 1.6; }
}

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

/* ---------- Over: portret + ervaring ---------- */
.about-layout { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 9 / 11; object-fit: cover; display: block; border-radius: 2px; filter: saturate(.9); }
.portrait figcaption { margin-top: .8rem; font: 500 .62rem "DM Mono", monospace; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.about-grid { grid-template-columns: 1fr 1fr; }
.about-grid p:nth-child(3) { grid-column: 1 / -1; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--ink); }
.experience { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.experience div { padding: 1.3rem 1.2rem; background: var(--paper); }
.experience b { display: block; margin-bottom: .5rem; font-size: .8rem; font-weight: 700; }
.experience span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.6; }

/* ---------- Projecten als links ---------- */
a.work-item { color: inherit; }
a.work-item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.work-link { pointer-events: none; }
.work-item:hover .work-link, .work-item:focus-visible .work-link { color: var(--paper); background: var(--ink); }
.work-item:hover .work-link span { transform: translateX(3px); }

/* ---------- Profiel & contact: links ---------- */
.detail-row p b { color: var(--ink); font-weight: 600; }
.inline-link { display: inline-block; padding: .2rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; transition: border-color .2s; }
.inline-link:hover { border-color: var(--ink); }
.contact-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.contact-links a { padding: .55rem .9rem; border: 1px solid rgb(243 240 232 / .3); border-radius: 999px; font-size: .72rem; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.contact-links a:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }

/* ---------- Projectpagina's ---------- */
.project-hero { padding-bottom: clamp(3rem, 5vw, 4rem); }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 2.5rem; font-size: .78rem; font-weight: 700; }
.back-link span { transition: transform .2s; }
.back-link:hover span { transform: translateX(-3px); }
.project-hero .work-tag { margin-bottom: 1.2rem; }
.project-hero h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: .95; letter-spacing: -.06em; }
.project-intro { max-width: 720px; margin: 1.8rem 0 2.6rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.project-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 2.6rem; background: var(--line); border-block: 1px solid var(--ink); }
.project-meta div { padding: 1.1rem 1.2rem 1.1rem 0; background: var(--paper); }
.project-meta div + div { padding-left: 1.2rem; }
.project-meta dt { margin-bottom: .45rem; font: 500 .62rem "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-meta dd { margin: 0; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.project-gallery { width: min(100%, calc(var(--max) + 2 * var(--pad))); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.project-gallery figure { margin: 0; }
.project-gallery .gallery-main { grid-column: 1 / -1; }
.project-gallery img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 4px; background: #11120f; box-shadow: 0 30px 60px rgb(23 24 22 / .12); }
.project-gallery figcaption { margin-top: .8rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.project-details { padding-top: clamp(4rem, 7vw, 7rem); }
.project-columns { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2.5rem, 7vw, 7rem); }
.project-details .section-label { margin-bottom: 1.8rem; }
.project-text { margin: 0; max-width: 520px; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.5; letter-spacing: -.02em; }
.feature-list { margin: 0; border-top: 1px solid var(--ink); }
.feature-list div { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.feature-list dt { font-size: .92rem; font-weight: 700; letter-spacing: -.01em; }
.feature-list dd { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.project-learned { margin-top: clamp(4rem, 7vw, 7rem); padding-top: clamp(2.5rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.learned { max-width: 820px; margin: 0; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.3; letter-spacing: -.03em; }
.contact-compact { min-height: 480px; }
.contact-compact h2 { font-size: clamp(3rem, 5.5vw, 5.5rem); }
.next-project { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: #aaa9a2; }
.next-project b { color: var(--paper); font-weight: 700; }
.next-project span { transition: transform .2s; }
.next-project:hover span { transform: translateX(4px); }

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .experience { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr 1fr; }
  .project-meta div { padding-left: 0 !important; }
  .project-meta div:nth-child(even) { padding-left: 1.2rem !important; }
  .project-columns { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; }
  .project-meta div:nth-child(even) { padding-left: 0 !important; }
  .feature-list div { grid-template-columns: 1fr; gap: .5rem; }
}
.project-gallery figure:nth-child(2):last-child { grid-column: 1 / -1; }

.mantra { grid-column: 1 / -1; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font: 500 .78rem "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.mantra-accent { color: var(--orange); }
.portrait img { aspect-ratio: 4 / 5; }

/* ---------- Ervaring & opleiding ---------- */
.experience-section { padding-top: 0; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.tl-when { display: flex; flex-direction: column; gap: .4rem; }
.tl-when b { font: 500 .8rem "DM Mono", monospace; letter-spacing: .06em; }
.tl-when span { font: 400 .62rem "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl-body h3 { margin: 0 0 .3rem; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.03em; font-weight: 600; }
.tl-org { margin: 0 0 .8rem !important; color: var(--muted); font-size: .92rem; }
.tl-body p { margin: 0; max-width: 640px; color: var(--muted); line-height: 1.7; font-size: .95rem; }
.tl-kw { margin-top: .9rem !important; font: 500 .66rem "DM Mono", monospace !important; letter-spacing: .08em; color: var(--ink) !important; }
.education { margin-top: 4rem; display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; align-items: start; }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--ink); }
.edu-grid > div { padding-top: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.edu-grid .tl-kw { margin-top: 0 !important; color: var(--muted) !important; }
.edu-grid b { font-size: .98rem; font-weight: 700; }
.edu-grid > div > span:last-child { color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 900px) {
  .timeline li { grid-template-columns: 1fr; gap: .8rem; }
  .education { grid-template-columns: 1fr; gap: 1.5rem; }
  .edu-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ---------- Geluid ---------- */
.sound-toggle { display: inline-flex; align-items: center; gap: .55rem; height: 2.2rem; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font: 500 .62rem "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; transition: border-color .2s, background .2s; }
.sound-toggle:hover { border-color: var(--ink); }
.sound-toggle[aria-pressed="true"] { background: var(--acid); border-color: var(--acid); }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: .8rem; }
.sound-bars i { width: 2px; height: 30%; background: currentColor; }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: bars .9s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: .15s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: .3s; }
@keyframes bars { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@media (max-width: 600px) { .sound-label { display: none; } .sound-toggle { padding: 0 .6rem; } }

/* ---------- Projecttiers ---------- */
.work-tier { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; flex-wrap: wrap; margin: clamp(3rem, 6vw, 5rem) 0 1.1rem; }
.work .work-tier:first-of-type { margin-top: clamp(1rem, 2vw, 2rem); }
.work-tier > span:first-child { font: 500 .82rem "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.work-tier-sub { color: var(--muted); font-size: .85rem; }
.work .timeline { margin-top: 0; }
.work .timeline .tl-body h3 a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.work .timeline .tl-body h3 a:hover { border-color: var(--ink); }
.work .timeline .tl-body h3 a span { display: inline-block; transition: transform .2s; }
.work .timeline .tl-body h3 a:hover span { transform: translateX(3px); }

/* ---------- Projecthero met achtergrondbeeld ---------- */
.project-hero.has-bg {
  position: relative; color: var(--paper);
  margin-top: 1.5rem; border-radius: 14px; overflow: hidden;
  padding: clamp(2.5rem,5vw,4rem) clamp(1.5rem,4vw,3rem) clamp(2.5rem,5vw,3.5rem);
  background: linear-gradient(100deg, rgba(11,12,10,.94), rgba(11,12,10,.82) 50%, rgba(11,12,10,.6)), var(--hero-bg) center/cover no-repeat;
}
.project-hero.has-bg .back-link,
.project-hero.has-bg h1,
.project-hero.has-bg .text-link { color: var(--paper); }
.project-hero.has-bg .work-tag { color: #9fb3c9; }
.project-hero.has-bg .project-intro { color: #cfd4d1; }
.project-hero.has-bg .project-meta { background: rgba(243,240,232,.22); border-color: rgba(243,240,232,.3); }
.project-hero.has-bg .project-meta div { background: transparent; }
.project-hero.has-bg .project-meta dt { color: #aab6bd; }
.project-hero.has-bg .project-meta dd { color: var(--paper); }
.project-hero.has-bg .button-dark { background: var(--paper); color: var(--ink); }
.project-hero.has-bg .button-dark:hover { background: #fff; }

/* ===== Agent Thomas — gescripte AI-gids (client-side, geen backend) ===== */
.agent-thomas { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90; font-family: "Manrope", sans-serif; }
.agent-thomas *, .agent-thomas *::before, .agent-thomas *::after { box-sizing: border-box; }
.agent-thomas [hidden] { display: none !important; }

.at-launcher { position: relative; width: 4rem; height: 4rem; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--ink); cursor: pointer; box-shadow: 0 12px 30px rgb(23 24 22 / .22); transition: transform .2s ease, box-shadow .2s ease; }
.at-launcher:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgb(23 24 22 / .3); }
.at-launcher img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.at-launcher::after { content: ""; position: absolute; right: .05rem; bottom: .05rem; width: .9rem; height: .9rem; border-radius: 50%; background: #58b258; border: 2px solid var(--paper); }
.agent-thomas[data-open="true"] .at-launcher { display: none; }
.at-ring { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--acid); opacity: 0; animation: at-pulse 2.8s ease-out infinite; }
@keyframes at-pulse { 0% { transform: scale(.82); opacity: .6; } 100% { transform: scale(1.16); opacity: 0; } }

.at-teaser { position: absolute; right: .2rem; bottom: 5rem; width: 15rem; padding: .8rem 1.9rem .8rem .9rem; background: var(--acid); color: var(--ink); border: 1px solid var(--ink); border-radius: 14px 14px 3px 14px; font-size: .86rem; line-height: 1.45; font-weight: 500; box-shadow: 0 12px 30px rgb(23 24 22 / .18); cursor: pointer; }
.at-teaser-x { position: absolute; top: .3rem; right: .45rem; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 1.05rem; line-height: 1; cursor: pointer; }

.at-panel { position: absolute; right: 0; bottom: 0; width: min(23rem, calc(100vw - 2rem)); height: min(34rem, calc(100vh - 2rem)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 26px 64px rgb(23 24 22 / .3); transform-origin: bottom right; }
.agent-thomas[data-open="true"] .at-panel { animation: at-in .28s cubic-bezier(.16, 1, .3, 1); }
@keyframes at-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.at-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: var(--ink); color: var(--paper); }
.at-head img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; }
.at-id { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.at-id b { font-size: .92rem; font-weight: 700; letter-spacing: -.01em; }
.at-status { display: flex; align-items: center; gap: .4rem; margin-top: .15rem; font: 500 .6rem "DM Mono", monospace; letter-spacing: .1em; color: #c7c8bd; text-transform: uppercase; }
.at-status i { width: .48rem; height: .48rem; border-radius: 50%; background: #58b258; }
.at-close { padding: .1rem .35rem; border: 0; border-radius: 6px; background: transparent; color: var(--paper); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.at-close:hover { background: rgb(255 255 255 / .13); }

.at-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; scroll-behavior: smooth; }
.at-msg { max-width: 86%; padding: .6rem .8rem; font-size: .88rem; line-height: 1.5; border-radius: 14px; }
.at-bot { align-self: flex-start; background: #ebe8de; color: var(--ink); border-bottom-left-radius: 3px; }
.at-user { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 3px; white-space: pre-wrap; }
.at-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.at-actions a { padding: .38rem .72rem; background: var(--acid); color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; font-size: .76rem; font-weight: 700; transition: transform .15s ease; }
.at-actions a:hover { transform: translateY(-2px); }

.at-typing { align-self: flex-start; display: flex; gap: .28rem; padding: .75rem .85rem; background: #ebe8de; border-radius: 14px; border-bottom-left-radius: 3px; }
.at-typing i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--muted); animation: at-blink 1.2s infinite; }
.at-typing i:nth-child(2) { animation-delay: .18s; }
.at-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes at-blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.at-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .5rem; }
.at-chips:empty { display: none; }
.at-chip { padding: .42rem .78rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .77rem "Manrope", sans-serif; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.at-chip:hover { background: #ebe8de; border-color: var(--ink); }

.at-input { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.at-input input { flex: 1; min-width: 0; padding: .62rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fbfaf6; color: var(--ink); font: 400 .88rem "Manrope", sans-serif; }
.at-input input:focus { outline: 2px solid var(--acid); outline-offset: 0; border-color: var(--ink); }
.at-input button { flex: none; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.1rem; cursor: pointer; transition: background .2s ease; }
.at-input button:hover { background: #30312e; }
.at-fineprint { margin: 0; padding: 0 1rem .65rem; font: 400 .6rem "DM Mono", monospace; letter-spacing: .04em; color: var(--muted); text-align: center; }

.agent-thomas :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (max-width: 520px) {
  .at-panel { width: calc(100vw - 1.5rem); height: min(32rem, calc(100vh - 4.5rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .at-ring { display: none; }
  .at-launcher:hover { transform: none; }
  .agent-thomas[data-open="true"] .at-panel { animation: none; }
  .at-typing i { animation: none; }
  .at-actions a:hover { transform: none; }
}

/* ===== Recruiter-polish: disciplines, subtitels & resultaten ===== */
.hero-disciplines { margin: 1.5rem 0 0; font: 500 clamp(.72rem, 1vw, .82rem) "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: 1.9; }
.hero-disciplines span:not(:last-child)::after { content: "·"; margin: 0 .55rem; color: var(--orange); }
.work-subtitle { margin: .3rem 0 .6rem; font: 500 .92rem/1.4 "Manrope", sans-serif; color: var(--muted); }
.project-result { margin: 1.8rem 0 0; padding: .95rem 1.15rem; border-left: 3px solid var(--acid); background: rgb(215 255 67 / .12); }
.project-result .lbl { display: block; margin: 0 0 .3rem; font: 500 .62rem "DM Mono", monospace; letter-spacing: .14em; color: var(--muted); }
.project-result p { margin: 0; font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.project-hero.has-bg .project-result { background: rgb(215 255 67 / .14); }
.project-hero.has-bg .project-result .lbl { color: #cfe0b0; }
.project-hero.has-bg .project-result p { color: var(--paper); }
