/* OOJO — statische site. Geen frameworks, geen build-stap nodig. */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #000;
  --ink-soft: #141414;
  --muted: #8a8a8a;
  --line: #dfdfdf;
  --paper: #fff;
  --gutter: clamp(26px, 4.9vw, 70px);
  --header-pad: clamp(26px, 2.1vw, 30px);
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 25px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 3000;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: var(--paper);
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader__lines { display: flex; gap: 7px; align-items: center; height: 40px; }
.loader__lines span {
  width: 2px; height: 100%; background: var(--ink);
  transform-origin: center; animation: loader-line 1s var(--ease) infinite;
}
.loader__lines span:nth-child(2) { animation-delay: .12s; }
.loader__lines span:nth-child(3) { animation-delay: .24s; }
.loader__lines span:nth-child(4) { animation-delay: .36s; }
@keyframes loader-line {
  0%, 100% { transform: scaleY(.25); }
  50% { transform: scaleY(1); }
}
.is-loaded .loader { opacity: 0; visibility: hidden; }
.no-js .loader { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--header-pad);
  background: var(--paper);
  transition: box-shadow .3s var(--ease), transform .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.logo { display: block; width: 40px; }
.logo img { width: 100%; height: auto; }

.menu-toggle {
  position: relative; z-index: 1001;
  width: 44px; height: 44px; margin-right: -8px;
  border: 0; background: none; cursor: pointer; color: var(--ink);
}
.menu-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  background: var(--paper);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { overflow: hidden; }
.menu a {
  display: inline-block;
  font-size: clamp(44px, 9vw, 110px); font-weight: 300; line-height: 1.1;
  text-decoration: none;
  transform: translateY(105%);
  transition: transform .7s var(--ease-out);
}
.menu-open .menu a { transform: none; transition-delay: calc(.15s + var(--i, 0) * .08s); }
.menu a[aria-current="page"] { font-weight: 500; }
.menu a:hover { font-weight: 500; }
.menu-open { overflow: hidden; }

/* ---------- Layout helpers ---------- */
.section { padding: 0 var(--gutter); }
.tagline {
  display: block;
  font-size: 15px; line-height: 25px; font-weight: 400; text-transform: uppercase;
  margin-bottom: 19px;
}

/* ---------- Hero ---------- */
.hero { padding-top: 90px; padding-bottom: 35px; }
.hero__title {
  font-size: clamp(44px, 7.3vw, 125px);
  line-height: .98; font-weight: 300; letter-spacing: -1.1px;
}
.hero__sub {
  margin-top: 40px;
  font-size: 23px; line-height: 30px; font-weight: 300; letter-spacing: -.575px;
}

/* Letters schuiven één voor één omhoog */
.split .word { display: inline-block; white-space: nowrap; }
.split .char {
  display: inline-block;
  opacity: 0; transform: translateY(.45em);
  transition: opacity .6s var(--ease), transform .8s var(--ease-out);
  transition-delay: calc(var(--ci) * 22ms);
}
.split.is-in .char { opacity: 1; transform: none; }

/* Highlight-woord: een kopie schuift er van onder in */
.hl {
  position: relative; display: inline-block; font-weight: 400;
  overflow: hidden; vertical-align: top; padding-bottom: .08em;
}
.hl__orig { display: inline-block; transition: transform .9s var(--ease-out); }
.hl__copy {
  position: absolute; left: 0; top: 0;
  transform: translateY(100%);
  transition: transform .9s var(--ease-out);
}
.is-in .hl__orig { transform: translateY(-100%); transition-delay: var(--hl-delay, .9s); }
.is-in .hl__copy { transform: none; transition-delay: var(--hl-delay, .9s); }

/* ---------- Parallax ---------- */
.parallax {
  position: relative; overflow: hidden;
  height: var(--ph, 530px);
  background: var(--ink-soft);
  color: #fff;
}
.parallax picture, .parallax__img {
  position: absolute; left: 0; width: 100%;
  top: -15%; height: 130%;
}
.parallax__img { object-fit: cover; will-change: transform; }
.parallax__content {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(60px, 14vw, 200px);
  z-index: 1;
}
.parallax__content .tagline { color: #fff; }
.parallax__title {
  font-size: clamp(40px, 5.6vw, 80px); line-height: 1.03; font-weight: 400; letter-spacing: -1.1px;
}
.parallax--tall { --ph: clamp(600px, 52vw, 820px); }
.parallax--hero { --ph: clamp(325px, 65vw, 1000px); }
.parallax--quote { --ph: clamp(700px, 96vw, 1390px); }
.parallax::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.parallax--hero::after { display: none; }

/* ---------- Content (home) ---------- */
.motto {
  text-align: right;
  padding-top: 7px; padding-bottom: 120px; padding-right: 25px;
  font-size: 15px; color: #acacac;
}
.statement { padding-bottom: 22px; }
.statement__title, .services__list {
  font-size: 40px; line-height: 45px; font-weight: 400; letter-spacing: -1px;
  max-width: 650px;
}
.columns {
  display: grid; gap: 20px 32px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 120px;
  color: #030303;
}
.columns p { margin: 10px 0; }
.services { padding-bottom: 300px; }
.services__list { list-style: none; margin: 0; padding: 0; }

/* Typewriter */
.typeout { font-size: clamp(38px, 4.7vw, 68px); line-height: 1.125; font-weight: 400; letter-spacing: -1.7px; }
.typeout__text { min-height: 2.3em; display: inline; }
.typeout__cursor { display: inline-block; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Contact ---------- */
.contact-form {
  display: grid; grid-template-columns: 1fr; gap: 30px;
  max-width: 685px;
  padding-top: 60px; padding-bottom: 130px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; }
.field label .req { color: var(--muted); }
.field input, .field textarea {
  font: inherit; color: inherit;
  border: 1px solid var(--line); border-radius: 0;
  font-size: 16px; padding: 10px 15px; background: var(--paper);
  transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 105px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.btn {
  justify-self: start;
  font: inherit; font-size: 16px; line-height: 16px; font-weight: 500;
  color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 4px;
  padding: 15px 30px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: progress; }
.form-status { grid-column: 1 / -1; min-height: 1.6em; font-size: 15px; }
.form-status.is-error { color: #c0392b; }

/* ---------- Footer & back to top ---------- */
.site-footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px calc(var(--gutter) + 60px) 26px var(--gutter);
  font-size: 13px; color: var(--muted);
}
.site-footer a { text-decoration: none; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper); text-decoration: none;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 16px; height: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .split .char { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .columns { grid-template-columns: 1fr 1fr; }
  .columns > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .logo { width: 40px; }
  .columns { grid-template-columns: 1fr; gap: 0; padding-top: 10px; }
  .statement__title, .services__list { font-size: 30px; line-height: 33.75px; letter-spacing: -.75px; }
  .parallax--tall { --ph: 640px; }
  .parallax--quote { --ph: 620px; }
  .hero__sub { margin-top: 70px; }
  .hero { padding-bottom: 18px; }
}

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .parallax__img { transform: none !important; }
}

/* Vliegtuigstreep zit onderaan in het beeld: uitsnede daarop richten */
.parallax--quote .parallax__img { object-position: 50% 96%; }

/* ---------- Desktop: gewone navigatie i.p.v. hamburger ---------- */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .menu {
    position: static; inset: auto; z-index: auto;
    padding: 0; background: none;
    clip-path: none; visibility: visible; transition: none;
  }
  .menu ul { display: flex; gap: 40px; }
  .menu li { overflow: visible; }
  .menu a, .menu-open .menu a {
    font-size: 16px; line-height: 16px; font-weight: 400; letter-spacing: .5px; text-transform: uppercase;
    transform: none; transition: background-size .35s var(--ease);
    padding: 6px 0;
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  }
  .menu a:hover, .menu a[aria-current="page"] { font-weight: 400; background-size: 100% 1px; }
}
.nowrap { white-space: nowrap; }

/* ---------- Persoonlijke versie (december 2026) ---------- */
.statement { display: block; }
.portrait img { width: 100%; height: auto; filter: grayscale(1); }
.services__note { margin-top: 28px; color: #6b6b68; }
.services__note a, .contact-intro a, .site-footer a { text-underline-offset: 3px; }
.typeout__note { margin-top: 18px; font-size: 15px; opacity: .8; }
.outro { padding-top: clamp(90px, 10vw, 140px); padding-bottom: clamp(90px, 10vw, 140px); }
.outro__title { font-size: 40px; line-height: 45px; letter-spacing: -1px; max-width: 650px; }
.outro__aside { margin-top: 12px; color: #6b6b68; }
.outro__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.outro__links .btn { display: inline-block; text-decoration: none; }
.btn--ghost { background: var(--paper); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.contact-intro { padding-top: 40px; }
.contact-intro__text { font-size: 23px; line-height: 30px; font-weight: 300; letter-spacing: -.575px; max-width: 685px; }
.contact-direct { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 680px) {
  .statement { grid-template-columns: 1fr; }
  .portrait { width: 70%; max-width: 300px; }
  .outro__title { font-size: 30px; line-height: 33.75px; }
  .contact-intro__text { font-size: 20px; line-height: 27px; }
}

/* ---------- Track record + OOJO (2 kolommen) ---------- */
.track { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; padding-bottom: 300px; }
.track__intro { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: end; }
.track__intro p { font-size: 23px; line-height: 30px; font-weight: 300; letter-spacing: -.575px; }
.track__portrait img { width: 100%; height: auto; filter: grayscale(1); }
.track__list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.track__list li { display: grid; grid-template-columns: 150px 1fr auto; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.track__org { font-weight: 500; }
.track__years { color: #6b6b68; white-space: nowrap; font-variant-numeric: tabular-nums; }
.track__mark { aspect-ratio: 733 / 715; display: grid; place-items: center; background: #f5f5f5; }
.track__mark img { width: 52%; height: auto; }
.track__oojo .track__list li { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; padding-bottom: 160px; }
}
@media (max-width: 520px) {
  .track__intro { grid-template-columns: 110px 1fr; }
  .track__intro p { font-size: 18px; line-height: 25px; }
  .track__list li { grid-template-columns: 1fr auto; }
  .track__role { grid-column: 1 / -1; grid-row: 2; color: #3a3a38; }
}
.track__list--cv li { grid-template-columns: 1fr auto; }
.track__list--cv .track__role { grid-column: 1 / -1; grid-row: 2; color: #3a3a38; }
