@font-face {
  font-family: Silka;
  src: url("silka-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #191916;
  --muted: #62625d;
  --line: #deded8;
  --red: #d44535;
  --margin: clamp(1.15rem, 4.6vw, 5rem);
  --header: 4.25rem;
  --filter: 4rem;
  font-family: Silka, Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; line-height: 1.55; }
h1,h2,h3,h4,strong,b { font-weight: 400; }
h1,h2,h3,h4,p,figure,ol { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .3em; }
a,button,summary { touch-action: manipulation; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 2px solid #535d76; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 2 * var(--margin)), 99rem); margin-inline: auto; }
.skip { position: fixed; top: -8rem; left: 1rem; z-index: 20; background: white; padding: .65rem; }
.skip:focus { top: .2rem; }
header { position: sticky; top: 0; z-index: 8; background: white; }
.nav,nav,footer,.filterbar,.filters { display: flex; align-items: center; }
.nav { justify-content: space-between; min-height: var(--header); }
.signature { font-size: clamp(1.1rem,1.8vw,1.6rem); letter-spacing: -.065em; text-decoration: none; }
nav { gap: clamp(.8rem,2.7vw,3rem); }
nav a,footer a { text-decoration: none; font-size: .93rem; }
nav a:hover,footer a:hover { text-decoration: underline; }
.talk { border-bottom: 1px solid currentColor; }
.hero { display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  padding-block: clamp(4rem,9vw,10rem) clamp(2.7rem,5.5vw,6rem); }
h1 { font-size: clamp(3.3rem,6.65vw,7.9rem); line-height: 1.05; letter-spacing: -.063em; }
.opening-line { display: block; white-space: nowrap; }
.reel { white-space: nowrap; }
.caret { display: inline-block; width: .035em; min-width: 2px; height: .82em; background: var(--red); vertical-align: -.03em; margin-left: .05em; }
#motion { flex-shrink: 0; background: none; border: 0; padding: .75rem 0; color: var(--muted); font-size: .85rem; }
#motion::before { content: "Ⅱ"; display: inline-block; margin-right: .45rem; }
#motion[aria-pressed=true]::before { content: "▷"; }
.profile-spread { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1fr); align-items: center; gap: clamp(2.5rem,8vw,9rem); }
.photo { background: #f2f1ec; overflow: hidden; aspect-ratio: 1.35; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.intro-block { max-width: 37rem; padding-block: 1.75rem; }
.availability,.kicker,.tag,.when,.count,small { font-size: .88rem; line-height: 1.45; }
.availability { color: var(--muted); margin-bottom: 1.1rem; }
.availability i { display: inline-block; width: .42rem; height: .42rem; margin: 0 .45rem .1rem 0; border-radius: 50%; background: var(--red); }
.intro { font-size: clamp(1.55rem,2.8vw,3.1rem); letter-spacing: -.055em; line-height: 1.14; }
.intro-body { max-width: 46ch; margin: 1rem 0 0; }
.primary { display: inline-block; padding: .2rem 0; margin-top: 1.35rem; text-decoration: none; border-bottom: 1px solid var(--ink); }
.primary:hover,.talk:hover { border-bottom-style: dashed; }
.facts { display: grid; grid-template-columns: 1fr .7fr 1.15fr 1.2fr; gap: 1rem; padding: 1.2rem 0; margin-top: 2.25rem; border-block: 1px solid var(--line); }
.facts div { display: grid; gap: .18rem; }
small,.count,.when,.tag,.kicker { color: var(--muted); }
.facts strong { font-size: clamp(.97rem,1.3vw,1.27rem); letter-spacing: -.035em; }
.history,.contact { padding-top: clamp(4rem,8vw,8rem); }
h2 { font-size: clamp(3.4rem,7.5vw,7.7rem); line-height: 1.06; letter-spacing: -.065em; margin: .45rem 0 1.8rem; }
.filterbar { position: sticky; top: var(--header); z-index: 5; background: white; justify-content: space-between; gap: .65rem; padding: .6rem 0; border-block: 1px solid var(--line); }
.filters { flex-wrap: wrap; gap: clamp(.75rem,2.5vw,2.5rem); }
.filters button { border: 0; background: none; color: var(--muted); padding: .5rem 0; font-size: 1rem; }
.filters button[aria-pressed=true],.filters button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .4em; }
.count { white-space: nowrap; }
.timeline { list-style: none; padding: 0; }
.milestone { display: grid; grid-template-columns: minmax(9rem, .52fr) minmax(0,1.48fr); border-bottom: 1px solid var(--line); scroll-margin-top: var(--filter); padding-block: clamp(1.7rem,3.5vw,3.6rem); }
.when { padding: .2rem 1rem 0 0; }
.tag { margin-bottom: .55rem; }
.milestone h3 { font-size: clamp(1.8rem,3.2vw,3.35rem); letter-spacing: -.052em; line-height: 1.1; max-width: 26ch; }
.feature h3 { font-size: clamp(2.15rem,4.5vw,4.8rem); max-width: 22ch; }
.excerpt,.story p,.contact p:not(.kicker) { line-height: 1.65; max-width: 63ch; }
.excerpt { margin-top: .8rem; }
.story { max-width: 65ch; }
.story h4 { font-size: 1.22rem; letter-spacing: -.035em; margin: 1.2rem 0 .28rem; }
.story a { display: inline-block; margin-top: 1rem; }
summary { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; list-style: none; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; margin-top: .35rem; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; }
details[open]>summary::before { content: "−"; }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-block: 1.3rem; }
.examples div { border-top: 1px solid var(--line); padding-top: .65rem; }
.workflow { padding: 0 0 0 1.75rem; }
.workflow li { padding-left: .55rem; }
.contact { padding-bottom: clamp(4rem,7vw,7rem); }
footer { justify-content: space-between; padding-block: 1.1rem; border-top: 1px solid var(--line); }
@media(max-width:720px) {
  :root { --header: 3.8rem; }
  nav a { font-size: .82rem; }
  .hero { align-items: start; flex-direction: column; gap: .6rem; }
  .profile-spread { gap: 1.25rem; }
  .photo { aspect-ratio: .83; }
  .facts { grid-template-columns: 1fr 1fr; }
  .count { display:none; }
  .milestone { grid-template-columns: 7rem minmax(0,1fr); }
}
@media(max-width:540px) {
  h1 { font-size: clamp(2rem,9.6vw,3.2rem); }
  .hero { padding-block: 3.2rem 1.5rem; }
  .profile-spread { grid-template-columns: 1fr; gap: 1.65rem; }
  .photo { aspect-ratio: 1.48; }
  .intro-block { padding: 0; }
  .milestone { display:block; }
  .when { margin-bottom: .3rem; }
  .tag { font-size: .8rem; }
  .filters { gap: 1rem; }
  .filters button { font-size: .9rem; }
  .examples { grid-template-columns: 1fr; }
  .signature { font-size: 1rem; }
  nav { gap:.65rem; }
}
@media(prefers-reduced-motion:no-preference) {
  .opening-line { animation: enter .7s cubic-bezier(.15,.76,.28,1) both; }
  .opening-line + .opening-line { animation-delay: .09s; }
  .arriving article,details[open] .story { animation: enter .48s ease-out both; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@keyframes enter { from { opacity:0; transform:translateY(.25em); } to { opacity:1; transform:none; } }

/* Keep the typed line steady even when the longest interest is visible. */
.hero h1 { font-size:clamp(2.8rem,5.95vw,6.9rem); }
.reel { display:inline-grid; vertical-align:baseline; }
.reel::after { content:"consultancy."; visibility:hidden; grid-area:1/1; padding-right:.09em; }
#typed { grid-area:1/1; }
.reel .caret { display:none; }
#typed::after { content:""; display:inline-block; width:max(2px,.035em); height:.82em; background:var(--red); vertical-align:-.03em; margin-left:.05em; }
.intro-block .intro { font-size:clamp(1.55rem,2.35vw,2.65rem); line-height:1.18; }
.intro-links { display:flex; flex-wrap:wrap; align-items:baseline; gap:.65rem 1.45rem; }
.intro-links a:not(.primary) { font-size:.9rem; color:var(--muted); }
.job-heading { display:flex; align-items:center; gap:1rem; }
.job-heading img { display:block; width:3.4rem; height:3.4rem; object-fit:contain; flex:none; }
.job-heading .tag { margin-bottom:.2rem; }
.job-role { margin:.7rem 0 .2rem; font-size:1.13rem; }
.job .excerpt { margin-top:.25rem; }
.work-preview { margin:1.35rem 0 .2rem; max-width:44rem; }
.work-preview img { width:100%; height:auto; display:block; border:1px solid var(--line); }
.work-preview figcaption { margin:.5rem 0; color:var(--muted); font-size:.84rem; }
.work-preview a { display:inline-block; }
@media(max-width:900px) { .hero { flex-direction:column; align-items:start; gap:.45rem; } }
@media(max-width:720px) {
  .hero h1 { font-size:clamp(2.35rem,8.6vw,3.8rem); }
  .opening-line:nth-child(2) { white-space:normal; }
  .intro-block { padding-block:0; }
  .profile-spread { grid-template-columns:1fr; gap:1.5rem; }
  .profile-spread .photo { aspect-ratio:1.62; }
}
@media(max-width:540px) {
  .opening-line .reel { display:grid; width:max-content; }
}

.hero-heading { min-width:0; }
.hero h1 { font-size:clamp(2.35rem,4.85vw,5.9rem); }
.hero .opening-line { white-space:normal; }
.hero .reel { display:grid; width:max-content; }
@media(max-width:540px) {
  .hero h1 { font-size:clamp(2.1rem,8.5vw,3rem); }
}

.school .job-heading img[src$="de-rooi-pannen.svg"] { width:5.6rem; }
.tax-logo { display:block; object-fit:contain; margin:.8rem 0; }

/* Jump straight to the contact heading even from the top of a long timeline. */
html { scroll-behavior:auto; }
.contact { min-height:calc(100svh - var(--header)); }
.intro-links .primary { padding:.7rem 1.25rem; border:1px solid var(--ink); border-radius:.35rem; color:white; background:var(--ink); }
.intro-links .primary:hover { background:#393937; }
.contact-details { display:grid; justify-items:start; gap:.3rem; margin-top:1.4rem; font-style:normal; }
.contact-details a { padding-block:.25rem; overflow-wrap:anywhere; }
