/* Simblos, v2. De kennisbank: het web en de tabel op /kennis, en de publicaties op /kennis/<naam>.
   Tot 15 november 2026 stond dit in kennis.html zelf; sinds iedere publicatie een eigen pagina is, delen zij dit bestand. */
/* De namen uit de oude kennisbank, vertaald naar de tokens van v2, zodat het web en de publicaties ongewijzigd werken. */
body { --bg-raised: var(--bg-soft); --ink-muted: var(--muted); --radius-widget: 16px; --radius-card: var(--r-card); --radius-pill: 999px; }
.caps { font: 500 12px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
/* De soort als data in Geist Mono, op een zachte pil (brand kit: vlakken zonder rand, pil of ruime hoek). Kleur is voorbehouden aan de methodes. */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--bg-soft); font: 500 12px/1 var(--font-mono); color: var(--ink); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-weight: 500; font-size: 12px; }
.textlink { font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ── Overgenomen uit prototype/kennisbank.html: het web, de tabel, de publicatie ── */
/* Zonder JavaScript is er geen web om te tekenen; de tabel met alle publicaties staat dan direct onder de titel. */
html:not(.js) .webstage { display: none; }


/* ── Kennisbank: het web ─────────────────────────────────────────── */
.webstage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; border-bottom: 1px solid var(--line); }
#web { display: block; overflow: visible; width: 100%; height: clamp(520px, 72vh, 700px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.active-filter { position: absolute; z-index: 2; top: 20px; left: 0; display: none; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg-raised); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.active-filter.on { display: inline-flex; }
/* Een web in inkt. Drie soorten lijnen, van sterk naar zacht: de stam (korf → soort), de takken (soort → publicatie) en de draden
   tussen publicaties die thema's delen of naar elkaar verwijzen. Alles staat er in rust; de volgorde komt van de lijndikte.
   De enige kleur is oker: de korf zelf, en de draad die bij aanwijzen van de korf naar het punt loopt, zoals de honing in het logo. */
.link { fill: none; stroke: var(--ink); stroke-width: 1; transition: opacity .3s ease; }
.link.stam { stroke-width: 1.25; opacity: .38; }
.link.tak { opacity: .22; }
.link.draad { opacity: .13; }
.node { cursor: pointer; transition: opacity .3s ease; -webkit-user-drag: none; transform-box: fill-box; transform-origin: center; }
.node circle.body { fill: var(--ink); stroke: var(--oker); stroke-width: 0; transition: stroke-width .25s ease, fill .3s ease; }
.node.root circle.body { fill: var(--oker); }
.node.root .korf { fill: #141412; }
.node text { font-family: var(--font-text); fill: var(--ink-muted); font-size: 12.5px; text-anchor: middle; paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; pointer-events: none; transition: fill .25s ease; }
.node.cat text { font: 700 18px var(--font-display); letter-spacing: -.02em; fill: var(--ink); }
.node:focus-visible { outline: none; }
.node:focus-visible circle.body, .node.active circle.body { stroke-width: 4px; }
.node.active text { fill: var(--ink); }
#web.has-focus .node:not(.hl) { opacity: .14; }
#web.has-focus .link:not(.hl) { opacity: .05; }
#web.has-focus .link.hl { opacity: .7; }
#web.has-focus .link.draad.hl { opacity: .55; }
#web.has-focus .link.honey { stroke: var(--oker); stroke-width: 2; opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: honey .45s var(--ease) var(--hd, 0s) forwards; }
#web .node.honey circle.body { fill: var(--oker); transition-delay: 0s, var(--hd, 0s); }
@keyframes honey { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { #web.has-focus .link.honey { animation: none; stroke-dashoffset: 0; } #web .node.honey circle.body { transition-delay: 0s; } }
/* De thema's van een publicatie staan als knoppen in de toelichting: klikken filtert het web en de tabel. */
.thema { display: inline-flex; align-items: center; margin: 0; height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font: 500 13.5px var(--font-text); cursor: pointer; transition: background .2s ease, color .2s ease; }
.thema:hover, .thema:focus-visible { background: var(--ink); color: var(--bg); outline: none; }
a.thema { text-decoration: none; }
.node.off { opacity: .1; pointer-events: none; }
.link.off { opacity: .04; }
#web.compact .node.art text { display: none; }
#web.compact .node.hl text { display: block; }
#web.intro .node { animation: nodeIn .8s var(--ease) backwards; }
#web.intro .link { animation: linkIn .9s ease .5s backwards; }
@keyframes nodeIn { from { opacity: 0; scale: .6; } }
@keyframes linkIn { from { opacity: 0; } }

.preview { display: grid; gap: 14px; padding: 24px 0; }
.preview h3 { font: 700 24px/1.12 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.preview p { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.preview ul { display: grid; gap: 8px; font-size: 14.5px; }
.preview ul a { text-decoration: none; }
.preview ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta { display: grid; grid-template-columns: 104px 1fr; font-size: 14px; border-top: 1px solid var(--line); }
.meta dt, .meta dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.meta dt { font-weight: 600; }
.meta dd { color: var(--ink-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta dd a[rel="author"] { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.preview .btn { justify-self: start; }
@media (max-width: 900px) {
  .webstage { grid-template-columns: 1fr; gap: 0; }
  #web { height: 500px; }
  .preview { border-top: 1px solid var(--line); }
}

/* ── Kennisbank: alle publicaties ────────────────────────────────── */
.all { padding: clamp(64px, 9vw, 120px) 0; }
.all-head { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.all-head h2 { font: 700 clamp(30px, 4vw, 44px)/1.04 var(--font-display); letter-spacing: -.025em; }
.segments { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg-raised); max-width: 100%; overflow-x: auto; }
.segments button { height: 36px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: transparent; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.segments button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.all-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); }
.search { height: 38px; width: 240px; max-width: 100%; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg-raised); font-size: 14px; }
.search::placeholder { color: var(--ink-muted); }
.table-head, .row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.6fr) 190px 150px; gap: 24px; align-items: center; }
.table-head { padding: 14px 0; border-bottom: 1px solid var(--line); }
.row { padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.row b { font-weight: 600; }
.row .desc { color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .kind { display: flex; align-items: center; gap: 8px; }
.row .kind, .row .date { color: var(--ink-muted); }
.row:hover b, .row:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.row[hidden] { display: none; }
.empty { padding: 20px 0; color: var(--ink-muted); }
@media (max-width: 900px) {
  .table-head { display: none; }
  .row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .row b { grid-column: 1 / -1; font-size: 16px; }
  .row .desc { display: none; }
  .row .date { text-align: right; }
  .all-tools { border-bottom: 1px solid var(--line); }
}

/* ── Publicatie ──────────────────────────────────────────────────── */
.a-title { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); text-align: center; }
.a-title h1 { font: 700 clamp(32px, 4.4vw, 52px)/1.05 var(--font-display); letter-spacing: -.025em; max-width: 22ch; margin: 0 auto; text-wrap: balance; }
.a-title p { margin: 20px auto 0; max-width: 56ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--ink-muted); text-wrap: pretty; }
.a-grid { display: grid; grid-template-columns: 220px minmax(0, 640px) 240px; justify-content: space-between; gap: 48px; padding-bottom: clamp(64px, 9vw, 120px); }
.a-side { position: sticky; top: 92px; align-self: start; }
.side-title { display: block; padding: 12px 0; border-top: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
.points { padding: 24px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-card); display: grid; gap: 14px; }
.points h2 { font-size: 15px; font-weight: 600; }
.points ul { display: grid; gap: 10px; }
.points li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: baseline; }
.points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); translate: 0 -3px; }
.prose h2 { font: 700 clamp(24px, 2.6vw, 30px)/1.1 var(--font-display); letter-spacing: -.02em; margin: 56px 0 16px; scroll-margin-top: 100px; }
.prose p { font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 16px; }
.prose .placeholder { color: var(--ink-muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 4px; }
.stat { padding: 20px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-widget); display: grid; gap: 8px; align-content: start; }
.stat b { font: 700 34px/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.prose > :first-child { margin-top: 0; }
.points + .prose { margin-top: 44px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose .list { margin: 16px 0; padding-left: 22px; display: grid; gap: 6px; font-size: 17px; line-height: 1.65; }
.prose ul.list { list-style: disc; }
.prose ol.list { list-style: decimal; }
.fig { margin: 32px 0; }
.fig img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-widget); background: var(--bg-raised); }
.fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 10px 16px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { font-weight: 600; border-bottom-color: var(--ink); }
table.data .num { text-align: right; padding: 10px 0 10px 16px; }
.chart-title { margin-bottom: 12px; font-size: 15px; font-weight: 600; }
.chart svg { display: block; width: 100%; height: auto; font-family: var(--font-text); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; font-size: 13.5px; color: var(--ink-muted); }
.chart-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 2px; }
.fig details { margin-top: 12px; font-size: 14px; }
.fig summary { cursor: pointer; color: var(--ink-muted); }
.fig details[open] summary { margin-bottom: 8px; }
.back { display: inline-block; margin-top: 56px; }
.related { display: grid; gap: 10px; margin-top: 4px; }
.rel-card { display: grid; gap: 8px; padding: 16px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-widget); text-decoration: none; font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.rel-card span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 400; color: var(--ink-muted); }
.rel-card:hover { border-color: var(--ink); }

/* De inhoudsopgave staat als gewone lijst met ankers in de pagina, voor wie zonder JavaScript leest (zoekmachines, AI-assistenten).
   kennis-artikel.js tekent er het kleine web voor in de plaats; met JavaScript is de lijst dus nooit te zien. */
.js .toc-lijst { display: none; }
.toc-lijst { display: grid; gap: 10px; padding-top: 4px; font-size: 14.5px; line-height: 1.35; }
.toc-lijst a { text-decoration: none; color: var(--ink-muted); }
.toc-lijst a:hover { color: var(--ink); }
.toc svg { display: block; width: 100%; max-width: 220px; }
.toc .spine { fill: none; stroke: var(--line); stroke-width: 1.5; }
.toc .spine.done { stroke: var(--ink); transition: stroke-dasharray .5s var(--ease); }
.toc .cross { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .22; }
.toc .t-node { cursor: pointer; }
.toc .t-node circle.vis { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transition: fill .3s ease, stroke .3s ease, scale .3s var(--ease); }
.toc .t-node text { font-family: var(--font-text); font-size: 13.5px; fill: var(--ink-muted); dominant-baseline: middle; transition: fill .3s ease; }
.toc .t-node.read circle.vis { fill: var(--ink); stroke: var(--ink); }
.toc .t-node.read text { fill: var(--ink); }
.toc .t-node.current circle.vis { fill: var(--oker); stroke: var(--ink); scale: 1.45; }
.toc .t-node.current text { fill: var(--ink); font-weight: 600; }
.toc .t-node:hover text { fill: var(--ink); }
.toc .t-node:focus-visible { outline: none; }
.toc .t-node:focus-visible circle.vis { stroke-width: 3; }
.toc .t-top circle.vis { fill: var(--ink); stroke: var(--ink); }
.related-bottom { display: none; margin-top: 56px; }
@media (max-width: 1100px) {
  .a-grid { grid-template-columns: minmax(0, 640px); justify-content: center; gap: 36px; }
  .a-side { position: static; }
  .a-info { order: -2; } .toc { order: -1; }
  .a-info .related-block { display: none; }
  .related-bottom { display: block; }
}


/* ── Nieuw in v2: het web over de volle breedte van het scherm, met de toelichting op helder glas ── */
.k-hero { padding-top: clamp(44px, 7vw, 96px); display: grid; justify-items: center; gap: 20px; text-align: center; }
.k-hero .lead { max-width: 30em; }
.webstage { display: block; margin-top: clamp(8px, 2vw, 24px); border-bottom: 0; }
#web { height: clamp(540px, 78vh, 820px); }
.node text { font-size: 13px; }
.active-filter { left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: 16px; background: var(--bg-soft); }
/* De rechterrand van het glas valt samen met die van de header (de wrap), niet met de rand van het scherm. */
.preview { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: 50%; translate: 0 -50%; width: min(350px, calc(100% - 2 * var(--gutter))); padding: 26px; border-radius: 30px; }
.preview h3 { font-size: 23px; }
.preview .meta { border-top-color: var(--hair); }
.preview .meta dt, .preview .meta dd { border-bottom-color: var(--hair); }
.preview ul { max-height: 190px; overflow-y: auto; }
.all-head h2 { font-size: clamp(34px, 5.2vw, 72px); letter-spacing: -.035em; line-height: 1; }
.search { height: 44px; padding: 0 20px; background: var(--bg-soft); border-color: transparent; }
.segments { border-color: transparent; background: var(--bg-soft); padding: 4px; }
.segments button { height: 38px; }
.row { padding: 20px 0; transition: padding .4s var(--out); }
.row:hover { padding-left: 10px; }
.a-title h1 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.035em; line-height: 1; }
.a-cta { margin-top: 56px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--bg-soft); display: grid; gap: 16px; justify-items: start; }
.a-cta p { font: 700 clamp(22px, 2.2vw, 28px)/1.12 var(--font-display); letter-spacing: -.02em; }
.points { border: 0; }
.stat, .rel-card { border-color: transparent; }
@media (max-width: 1099px) {
  .preview { position: relative; right: auto; top: auto; translate: none; width: auto; margin: 0 var(--gutter); background: var(--bg-soft); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none !important; }
  #web { height: clamp(480px, 70vh, 640px); }
}
