/* Dr. Frits Winter: huisstijl: lichtblauw (#42b1d2) en warmgrijs (#787065) */

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/static/fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/static/fonts/source-serif-4-var-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #42b1d2;
  --blue-600: #1f86a6;
  --blue-700: #176a84;
  --blue-800: #12536a;
  --blue-50: #eef8fb;
  --blue-100: #d9eff6;
  --grey: #787065;
  --grey-700: #5a544c;
  --grey-200: #e4e0da;
  --grey-100: #edebe9;
  --paper: #f8f6f3;
  --ink: #27231f;
  --ink-soft: #4d4741;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(39, 35, 31, .06), 0 2px 8px rgba(39, 35, 31, .05);
  --shadow: 0 2px 4px rgba(39, 35, 31, .05), 0 12px 32px -8px rgba(39, 35, 31, .14);
  --shadow-lg: 0 24px 60px -20px rgba(18, 83, 106, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-800); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
code { font-size: .9em; background: var(--grey-100); padding: .1em .35em; border-radius: 4px; word-break: break-all; }
small { font-size: .82em; color: var(--grey-700); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--sm { width: .95em; height: .95em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700); margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px;
  font: 600 .98rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: 0 6px 16px -8px rgba(23, 106, 132, .7); }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue-800); border-color: var(--blue-100); background: var(--white); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-800); }
.btn--light { background: #fff; color: var(--blue-800); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--blue-700); }
.text-link:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--grey-700); background: var(--grey-100); border-radius: 999px; padding: .2rem .6rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header::before {
  /* Blur lives on a pseudo-element so the header does not become the containing block of the fixed mobile menu. */
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.menu-open .site-header::before { background: #fff; }
.site-header.is-scrolled { border-bottom-color: var(--grey-200); box-shadow: 0 6px 24px -18px rgba(39, 35, 31, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: clamp(210px, 24vw, 290px); }

.menu-button {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .9rem;
  font: 600 .95rem var(--font); color: var(--ink); background: var(--grey-100); border: 0; border-radius: 999px; cursor: pointer;
}
.menu-button__bars { display: grid; gap: 4px; width: 18px; }
.menu-button__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-open .menu-button__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-button__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-button__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav__toggle { background: none; border: 0; color: inherit; cursor: pointer; display: inline-grid; place-items: center; }
.nav__toggle .icon { transition: transform .2s var(--ease); }
.nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__sub a { display: block; text-decoration: none; color: var(--ink); }
.nav__sub small { display: block; color: var(--grey); font-size: .8rem; line-height: 1.35; }
.nav__sub a[aria-current="page"] span { color: var(--blue-700); font-weight: 600; }

@media (max-width: 1023px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto;
    padding: 1rem var(--gutter) 2rem; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    border-top: 1px solid var(--grey-200);
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu-open { overflow: hidden; }
  .nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--grey-100); }
  .nav__link { display: block; padding: .95rem 0; font-size: 1.15rem; font-family: var(--serif); font-weight: 600; }
  .nav__link--plain { cursor: pointer; }
  .nav__item.is-active > .nav__link { color: var(--blue-700); }
  .nav__toggle {
    width: 40px; height: 40px; margin: 4px 0 4px .5rem; border-radius: 50%;
    background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-700);
    transition: background-color .2s, color .2s, border-color .2s;
  }
  .nav__toggle .icon { width: 18px; height: 18px; }
  .nav__toggle:hover { background: var(--blue-100); border-color: var(--blue); }
  .nav__item.is-open > .nav__toggle { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
  .nav__sub { grid-column: 1 / -1; display: none; padding: 0 0 .9rem .9rem; border-left: 2px solid var(--blue-100); margin-bottom: .8rem; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub a { padding: .5rem .6rem; border-radius: var(--radius-sm); }
  .nav__link { transition: color .2s; }
  .nav__link:hover, .nav__item:hover > .nav__link { color: var(--blue-700); }
  .nav__sub a { transition: background-color .18s, color .18s; }
  .nav__sub a:hover, .nav__sub a:active { background: var(--blue-50); color: var(--blue-700); }
}

@media (min-width: 1024px) {
  .menu-button { display: none; }
  .nav__list { display: flex; align-items: center; gap: .15rem; }
  .nav__item { position: relative; display: flex; align-items: center; border-radius: 999px; transition: background-color .2s var(--ease); }
  .nav__item:hover, .nav__item.is-open { background: var(--blue-50); }
  .nav__link {
    display: block; padding: .55rem .75rem; border-radius: 999px; font-size: .97rem;
    background: linear-gradient(var(--blue), var(--blue)) no-repeat 50% calc(100% - .3rem) / 0 2px;
    transition: color .2s, background-size .25s var(--ease);
  }
  .nav__item:hover > .nav__link, .nav__item.is-open > .nav__link { color: var(--blue-700); background-size: calc(100% - 1.5rem) 2px; }
  .nav__item.has-sub:hover > .nav__link, .nav__item.has-sub.is-open > .nav__link { background-size: calc(100% - .95rem) 2px; background-position: calc(.75rem - 1px) calc(100% - .3rem); }
  .nav__item:hover > .nav__toggle, .nav__item.is-open > .nav__toggle { color: var(--blue-700); }
  .nav__item.is-active > .nav__link { background-image: none; }
  .nav__item.has-sub > .nav__link { padding-right: .2rem; }
  .nav__link:hover, .nav__link--plain:hover { color: var(--blue-700); }
  .nav__link--plain { cursor: default; }
  .nav__item.is-active > .nav__link { color: var(--blue-700); }
  .nav__item.is-active > .nav__link::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--blue); border-radius: 2px; }
  .nav__toggle { width: 28px; height: 32px; border-radius: 6px; color: var(--grey); }
  .nav__toggle:hover { color: var(--blue-700); }
  .nav__sub {
    position: absolute; top: calc(100% + 10px); left: -.5rem; min-width: 280px; padding: .5rem;
    background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  }
  .nav__item.has-sub:nth-last-child(2) > .nav__sub { left: auto; right: -.5rem; }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__item.has-sub:hover > .nav__sub,
  .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__sub a { position: relative; padding: .6rem .8rem .6rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; line-height: 1.35; transition: background-color .18s, color .18s, padding-left .2s var(--ease); }
  .nav__sub a::before { content: ""; position: absolute; left: .45rem; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--blue); transform: translateY(-50%); transition: height .2s var(--ease); }
  .nav__sub a:hover, .nav__sub a:focus-visible { background: var(--blue-50); color: var(--blue-700); padding-left: 1.3rem; }
  .nav__sub a:hover::before, .nav__sub a:focus-visible::before { height: 1.1em; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: 0 0 1.4rem; padding: 0; font-size: .87rem; color: var(--grey-700); }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--grey); border-top: 1.5px solid var(--grey); transform: rotate(45deg); opacity: .7; }
.crumbs a { color: var(--grey-700); text-decoration: none; }
.crumbs a:hover { color: var(--blue-700); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Page header ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(2.2rem, 5vw, 3.4rem);
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--grey-200);
}
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 177, 210, .22), rgba(66, 177, 210, 0) 70%); pointer-events: none;
}
.page-head h1 { max-width: 22ch; margin-bottom: .35em; }
.page-head__lead { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; margin: .2rem 0 0; }
.page-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--grey-700); font-size: .92rem; margin: 0 0 .9rem; }
.page-head__meta .icon { color: var(--blue-700); }

.page-head__grid { display: grid; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.page-head__text { min-width: 0; position: relative; z-index: 1; }
.page-head__photo { margin: 0; position: relative; z-index: 1; }
.page-head__photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); background: var(--blue-50); }
@media (min-width: 960px) {
  .page-head--photo { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
  .page-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .page-head--photo h1 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); }
}
@media (max-width: 959px) {
  .page-head__photo img { aspect-ratio: 16 / 9; }
}

.profile-head { display: grid; gap: 2rem; align-items: center; }
.profile-head__photo { margin: 0; justify-self: center; max-width: 320px; }
.profile-head__photo img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.profile-head__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .profile-head { grid-template-columns: 1.4fr 1fr; } .profile-head__photo { justify-self: end; } }

/* ---------- Layout ---------- */
.page-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(2.2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.page-single { padding-top: clamp(2.2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); max-width: 860px; }
@media (min-width: 960px) { .page-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; } .page-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.page-main { min-width: 0; }
.page-aside { display: grid; gap: 1.25rem; }
.layout-wide .page-single { max-width: var(--container); }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--blue); }
.prose strong { font-weight: 650; }
.prose img { border-radius: var(--radius-sm); margin: 1rem 0; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.3em; border-left: 3px solid var(--blue); font-family: var(--serif); font-size: 1.15rem; color: var(--ink-soft); }
.prose--lead p:first-child, .prose__lead { font-family: var(--serif); font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft); }
.prose--article > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 3.6em; line-height: .85; padding: .08em .1em 0 0; color: var(--blue-700); font-weight: 600; }
.prose--small { font-size: .95rem; }
.prose--small p:last-child { margin-bottom: 0; }
.prose .btn { margin: .3rem 0; }
.h-section { margin-top: 2.4rem; }
.file-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }

.timeline h3 { position: relative; font-family: var(--font); font-size: 1.08rem; font-weight: 650; padding-left: 1.6rem; margin-top: 2rem; }
.timeline h3::before { content: ""; position: absolute; left: 0; top: .38em; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.timeline p { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.timeline p::before { content: ""; position: absolute; left: 5px; top: -1.4rem; bottom: -1.6rem; width: 1px; background: var(--grey-200); }
.timeline > p:last-child::before { bottom: 0; }

/* ---------- Side cards ---------- */
.side-card { background: var(--paper); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.4rem; }
.side-card h2 { font-size: 1.12rem; margin-bottom: .75rem; }
.side-card p { font-size: .95rem; color: var(--ink-soft); }
.side-card .btn + .btn { margin-top: .55rem; }
.side-card--accent { background: linear-gradient(160deg, var(--blue-50), #fff 70%); border-color: var(--blue-100); }
.side-card--author { text-align: center; }
.side-card--author h2 { margin-bottom: .5rem; }
.side-card--author p { font-size: .92rem; line-height: 1.55; }
.author-card__role { display: inline-block; margin: 0 0 .45rem; padding: .15rem .65rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .74rem !important; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.side-card__portrait { display: grid; place-items: center; margin: -.2rem 0 .8rem; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav li + li { border-top: 1px solid var(--grey-200); }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .62rem 0; text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.side-nav a .icon { color: var(--grey); opacity: 0; transform: translateX(-4px); transition: .2s var(--ease); }
.side-nav a:hover { color: var(--blue-700); }
.side-nav a:hover .icon, .side-nav a[aria-current] .icon { opacity: 1; transform: none; color: var(--blue-700); }
.side-nav a[aria-current] { color: var(--blue-700); font-weight: 600; }
.address { display: flex; gap: .6rem; align-items: flex-start; }
.address .icon { color: var(--blue-700); margin-top: .25rem; }

.mini-books { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.mini-books--row { grid-template-columns: repeat(3, minmax(0, 150px)); gap: 1.2rem; }
.mini-book { display: grid; gap: .45rem; text-decoration: none; color: var(--ink); font-size: .86rem; font-weight: 600; line-height: 1.3; }
.mini-book__cover { border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.15), 0 8px 18px -8px rgba(0,0,0,.35); transition: transform .25s var(--ease); aspect-ratio: 2 / 3; object-fit: cover; }
.mini-book:hover .mini-book__cover { transform: translateY(-3px) rotate(-1deg); }
.mini-book:hover { color: var(--blue-700); }
.mini-books:has(> :only-child) { grid-template-columns: minmax(0, 150px); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) and (max-width: 999px) { .grid--3 .card__body, .grid--3 .feature__body { padding: 1.05rem 1.1rem 1.2rem; } .grid--3 .card__title, .grid--3 .feature__body h3 { font-size: 1.08rem; } .grid--3 .card__body p, .grid--3 .feature__body p { font-size: .92rem; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card__media { aspect-ratio: 16 / 8; background: var(--blue-50); overflow: hidden; }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__media--type { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--grey-100)); }
.card__media--type span { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; color: rgba(23, 106, 132, .35); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.35rem 1.4rem; }
.card__body p { color: var(--ink-soft); font-size: .97rem; }
.card__meta { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--grey-700); margin-bottom: .5rem !important; }
.card__meta .icon { color: var(--blue-700); }
.card__title { font-size: 1.22rem; margin-bottom: .5rem; }
.card__link { color: var(--ink); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__link, .card__link:focus-visible { color: var(--blue-700); }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--blue-700); }
.card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); margin-bottom: 1rem; }
.card__icon .icon { width: 22px; height: 22px; }

.link-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 700px) { .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-card { position: relative; display: grid; gap: .25rem; height: 100%; padding: 1.1rem 3rem 1.15rem 1.2rem; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.link-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.link-card__kind { font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.link-card strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.link-card span:last-of-type { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.link-card__arrow { position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--blue-700); transition: transform .2s var(--ease); }
.link-card:hover .link-card__arrow { transform: translate(3px, -50%); }

  display: grid; gap: 1.2rem; align-items: center; margin: clamp(2.4rem, 5vw, 3.4rem) 0;
  padding: clamp(1.5rem, 4vw, 2.3rem); border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-600) 55%, var(--blue) 140%); color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}

.more { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--grey-200); }

/* ---------- Home: hero (portret als achtergrond) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(560px, 82vh, 760px); padding: clamp(3rem, 7vw, 5rem) 0 clamp(6rem, 11vw, 8.5rem); background: var(--blue-50); }
.hero__media { position: absolute; inset: 0 0 0 auto; width: min(64%, 1040px); z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
/* Zachte overgang van de foto naar de lichte achtergrond links en naar de volgende sectie onder. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, #fff 100%),
    linear-gradient(90deg, rgba(238, 248, 251, .7) 30%, rgba(238, 248, 251, 0) 55%); }
.hero__inner { width: 100%; }
.hero__content { max-width: 560px; }
.hero__title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); max-width: 13ch; margin-bottom: .35em; }
.hero__text { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.5; color: var(--ink-soft); max-width: 32ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
@media (max-width: 899px) {
  .hero { align-items: flex-end; min-height: 0; padding-top: clamp(17rem, 62vw, 26rem); padding-bottom: 5.5rem; }
  .hero__media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero__media { height: clamp(26rem, 105vw, 40rem); bottom: auto; }
  .hero__bg { object-position: 50% 8%; }
  .hero { background: var(--blue-800); }
  .hero::before { background: linear-gradient(180deg, rgba(18, 83, 106, 0) 0%, rgba(18, 83, 106, 0) clamp(10rem, 40vw, 16rem), rgba(18, 83, 106, .85) clamp(20rem, 80vw, 32rem), var(--blue-800) clamp(26rem, 105vw, 40rem)); }
  .hero__title { font-size: clamp(2.3rem, 1.6rem + 4vw, 3.6rem); }
  .hero__content, .hero__title, .hero .eyebrow { color: #fff; }
  .hero .eyebrow::before { background: #fff; }
  .hero__text { color: rgba(255, 255, 255, .92); }
  .hero .btn--primary { background: #fff; color: var(--blue-800); }
  .hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
}

/* ---------- Home: sections ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; position: relative; }
.section--features { padding-top: 0; margin-top: -3.2rem; z-index: 3; padding-bottom: clamp(1rem, 3vw, 2rem); }
.section--alt { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 60%, #fff 100%); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-lead { max-width: 70ch; color: var(--ink-soft); margin: -0.8rem 0 2.2rem; }

.feature { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
.feature__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature:hover .feature__img { transform: scale(1.04); }
.feature__label { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.94); color: var(--blue-800); font-size: .78rem; font-weight: 650; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 999px; }
.feature__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.feature__body h3 { margin-bottom: .45rem; }
.feature__body p { color: var(--ink-soft); font-size: .97rem; }
.feature__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--blue-700); }
.feature:hover .card__link { color: var(--blue-700); }
.feature:has(.card__link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

.intro { display: grid; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.intro__head h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); margin-bottom: 0; }
.intro__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.intro__text { border-left: 3px solid var(--blue-100); padding-left: clamp(1.2rem, 3vw, 2.2rem); }
.intro__text p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.75; }
.intro__text p:first-child { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); line-height: 1.6; color: var(--ink); }
@media (max-width: 899px) { .intro__actions { order: 2; } }
.section--intro { isolation: isolate; }

.section--shelf { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); }
@media (min-width: 900px) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shelf__book { display: grid; gap: .5rem; text-decoration: none; color: var(--ink); }
.shelf__book img { aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 24px 40px -18px rgba(39, 35, 31, .55); transition: transform .35s var(--ease), box-shadow .35s; margin-bottom: .6rem; }
.shelf__book:hover img { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 34px 50px -20px rgba(39, 35, 31, .6); }
.shelf__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.shelf__book:hover .shelf__title { color: var(--blue-700); }
.shelf__intro { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }

.section--practice { background: linear-gradient(180deg, var(--grey-700) 0%, #3d3833 70%, #2f2b27 100%); color: #fff; overflow: hidden; }
.section--practice::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(66, 177, 210, .35), transparent 65%); }
.practice { position: relative; z-index: 1; display: grid; gap: 2rem; align-items: center; }
.practice h2 { color: #fff; }
.practice__text p { color: rgba(255,255,255,.86); max-width: 58ch; }

/* ---------- Books ---------- */
.book-grid { display: grid; gap: 1.4rem; margin-top: 2rem; }
@media (min-width: 640px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.book-card { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; padding: 1.2rem; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s; }
.book-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); }
.book-card__cover img { aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 14px 26px -12px rgba(39,35,31,.55); transition: transform .3s var(--ease); }
.book-card:hover .book-card__cover img { transform: rotate(-1.5deg) translateY(-2px); }
.book-card__title { font-size: 1.25rem; margin-bottom: .2rem; }
.book-card__title a { color: var(--ink); text-decoration: none; }
.book-card__title a:hover { color: var(--blue-700); }
.book-card__sub { font-size: .85rem; font-weight: 600; color: var(--grey-700); margin-bottom: .5rem; }
.book-card__body p { font-size: .95rem; color: var(--ink-soft); }
.book-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; }

.book-hero { background: linear-gradient(180deg, var(--blue-50) 0%, var(--paper) 100%); padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--grey-200); }
.book-hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .book-hero__grid { grid-template-columns: minmax(0, 440px) 1fr; } }
.book-hero h1 { margin-bottom: .2em; }
.book-hero__subtitle { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--grey-700); margin-bottom: 1rem; }
.book-hero__intro { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 50ch; }
.book-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 1rem; }
.book-hero__isbn { font-size: .85rem; color: var(--grey-700); letter-spacing: .04em; }

.cover-viewer { display: grid; gap: 1rem; justify-items: center; }
.cover-viewer__stage { display: grid; grid-template-columns: minmax(0, 300px); gap: 1rem; justify-content: center; }
.cover-viewer--duo .cover-viewer__stage { grid-template-columns: repeat(2, minmax(0, 210px)); }
.cover-viewer.is-tabbed .cover-viewer__stage { grid-template-columns: minmax(0, 320px); }
.cover-viewer__panel { margin: 0; text-align: center; }
.cover-viewer__panel[hidden] { display: none; }
.cover-viewer__panel img { border-radius: 4px 8px 8px 4px; box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 32px 60px -24px rgba(39, 35, 31, .65); animation: cover-in .45s var(--ease); }
.cover-viewer__panel figcaption { font-size: .82rem; color: var(--grey-700); margin-top: .7rem; }
.cover-viewer.is-tabbed figcaption { display: none; }
.cover-viewer__zoom { display: block; cursor: zoom-in; }
@keyframes cover-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.cover-viewer__tabs { display: none; padding: 4px; background: #fff; border: 1px solid var(--grey-200); border-radius: 999px; box-shadow: var(--shadow-sm); }
.cover-viewer.is-tabbed .cover-viewer__tabs { display: inline-flex; order: 2; }
.cover-viewer__tabs button { font: 600 .9rem var(--font); padding: .5rem 1.1rem; border: 0; border-radius: 999px; background: none; color: var(--grey-700); cursor: pointer; min-height: 40px; }
.cover-viewer__tabs [aria-selected="true"] { background: var(--blue-700); color: #fff; }

.layout-wide .page-single > .book-section { max-width: 980px; }
.book-section { margin-top: clamp(1.5rem, 4vw, 2.4rem); }
.book-section + .book-section { padding-top: clamp(1.5rem, 4vw, 2.4rem); border-top: 1px solid var(--grey-200); }
.backcover { margin: 0; padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3vw, 2.2rem); background: var(--paper); border-radius: var(--radius); border-left: 4px solid var(--blue); font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; color: var(--ink-soft); max-width: 75ch; }
.backcover p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-tile { display: grid; gap: .3rem; align-content: start; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--grey-200); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
a.contact-tile:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.contact-tile > .icon { width: 28px; height: 28px; color: var(--blue-700); margin-bottom: .5rem; }
.contact-tile__label { font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-700); }
.contact-tile strong { font-size: 1.05rem; word-break: break-word; }

/* ---------- HTML-sitemap ---------- */
.btn.btn--sm { padding: .5rem 1rem; font-size: .88rem; min-height: 0; box-shadow: none; }
.btn.btn--sm .icon { width: 16px; height: 16px; }
.sitemap { columns: 3 300px; column-gap: clamp(1rem, 2.4vw, 1.6rem); }
.sitemap__group { break-inside: avoid; margin-bottom: clamp(1rem, 2.4vw, 1.6rem); background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.4rem 1.4rem 1rem; box-shadow: var(--shadow-sm); }
.sitemap__group h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; margin: 0 0 .8rem; padding-bottom: .9rem; border-bottom: 1px solid var(--grey-200); }
.sitemap__group h2 small { margin-left: auto; font-family: var(--font); font-size: .78rem; font-weight: 650; color: var(--blue-800); background: var(--blue-50); border-radius: 999px; padding: .15rem .6rem; }
.sitemap__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); flex: none; }
.sitemap__icon .icon { width: 20px; height: 20px; }
.sitemap__group ul { list-style: none; margin: 0; padding: 0; }
.sitemap__item a { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; margin: 0 -.6rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; line-height: 1.35; font-size: .97rem; }
.sitemap__item a span { flex: 1; }
.sitemap__item a time { font-size: .8rem; color: var(--grey-700); white-space: nowrap; }
.sitemap__item a .icon { color: var(--grey); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); flex: none; }
.sitemap__item a:hover, .sitemap__item a:focus-visible { background: var(--blue-50); color: var(--blue-800); }
.sitemap__item a:hover .icon, .sitemap__item a:focus-visible .icon { opacity: 1; transform: none; color: var(--blue-700); }
.sitemap__item--hub > a { font-weight: 600; }
.sitemap__item--hub:not(:first-child) { margin-top: .5rem; }
.sitemap__item--child a { padding-left: 1.6rem; position: relative; }
.sitemap__item--child a::before { content: ""; position: absolute; left: .7rem; top: 50%; width: .5rem; height: 1px; background: var(--grey); }
.sitemap__xml { margin-top: 2rem; font-size: .9rem; color: var(--grey-700); }

/* ---------- Footer ---------- */
.footer { position: relative; background: #2a2622; color: rgba(255,255,255,.72); font-size: .94rem; margin-top: 0; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue-700), var(--blue), var(--blue-700)); }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.4rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(2.4rem, 5vw, 3.5rem); }
.footer__brand { grid-column: 1 / -1; }
.footer__contact { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__contact { grid-column: auto; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 2.5rem; } .footer__brand { grid-column: auto; padding-right: 1rem; } }
.footer h2 { font-family: var(--font); font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer li { line-height: 1.4; }
.footer__brand p { max-width: 38ch; color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.65; margin: .9rem 0 0; }
.wordmark { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.footer__contact p { margin: 0 0 .6rem; }
.footer__contact p strong { color: #fff; font-weight: 600; }
.footer__contact a { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.footer__contact .icon { flex: none; width: 18px; height: 18px; color: var(--blue); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.15); }
.footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.2rem; font-size: .84rem; color: rgba(255,255,255,.5); }
.footer__bar-inner p { margin: 0; }
.footer__bar-inner ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer__bar-inner a { color: rgba(255,255,255,.6); }

/* ---------- Small screens ---------- */
@media (max-width: 639px) {
  body { font-size: 1.02rem; }
  .book-card { grid-template-columns: 88px 1fr; padding: 1rem; }
  .mini-books--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cover-viewer--duo .cover-viewer__stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro__portrait figcaption { left: .6rem; }
  .crumbs [aria-current] { max-width: 24ch; }
}

@media print {
  .site-header, .footer, .page-aside { display: none !important; }
  body { color: #000; }
}
