@font-face {
  font-family: "Young Serif";
  src: url("../assets/fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  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: "Young Serif";
  src: url("../assets/fonts/young-serif-latin-ext.woff2") format("woff2");
  font-weight: 400;
  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;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  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: "Figtree";
  src: url("../assets/fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  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 {
  --mint: #EEF5F1;
  --paper: #FFFFFF;
  --ink: #14322B;
  --moss: #46635A;
  --groen: #2E7D5B;
  --blauw: #3A6FB0;
  --amber: #E0A23A;
  --roze: #C8506A;
  --wood: #D8B98A;
  --line: #CFE0D7;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --dock: 4.75rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(46, 125, 91, 0.18);
  scroll-padding-bottom: calc(var(--dock) + 1rem + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--groen); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blauw); outline-offset: 3px; border-radius: 6px; }

[id] { scroll-margin-top: 1.5rem; }

button, summary { touch-action: manipulation; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  border-radius: 999px;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.top { padding: 1.1rem var(--gutter) 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.brand svg { width: 34px; height: 34px; flex: none; }

.dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  translate: -50% 0;
  padding: 0.35rem;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 50, 43, 0.22);
}
.dock ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.dock a, .dock-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #DDEBE4;
  font: 600 0.95rem var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.dock a:hover, .dock-more:hover { color: var(--paper); background: rgba(255, 255, 255, 0.1); }
.dock a[aria-current="page"] { background: var(--mint); color: var(--ink); }
.dock svg { width: 22px; height: 22px; display: none; }
.dock-more { display: none; }

.sheet {
  width: min(28rem, 100%);
  max-width: none;
  margin: auto auto 0;
  padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-radius: 28px 28px 0 0;
  background: var(--paper);
  color: var(--ink);
}
.sheet:modal { overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(20, 50, 43, 0.35); overflow: hidden; overscroll-behavior: contain; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.sheet-title { font-family: var(--serif); font-size: 1.3rem; margin: 0; }
.sheet ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.sheet li a { display: flex; align-items: center; min-height: 48px; padding: 0 0.25rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.sheet li a[aria-current="page"] { color: var(--groen); }
.sheet small { display: block; color: var(--moss); font-size: 0.9rem; margin: 0.75rem 0 0.25rem; }

@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: sheet-in 0.25s ease-out; }
  @keyframes sheet-in { from { translate: 0 2rem; opacity: 0; } to { translate: 0 0; opacity: 1; } }
}

.button-plain {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.95rem var(--sans);
  cursor: pointer;
}
.button-plain:hover { border-color: var(--groen); color: var(--groen); }

main { padding-bottom: 2.5rem; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.intro { color: var(--moss); max-width: 42rem; font-size: 1.1rem; }

.panel {
  background: var(--paper);
  border-radius: 28px;
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.hero { padding-block: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 5vw, 3rem); text-align: center; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 40ch; margin-inline: auto; margin-bottom: clamp(1.25rem, 3vw, 2rem); }

.tafel {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, min(27rem, 46vh)) 1fr;
  grid-template-areas:
    ". n ."
    "w t e"
    ". s .";
  gap: 1rem 1.5rem;
  align-items: center;
  justify-items: center;
  max-width: 64rem;
  margin-inline: auto;
}
.tafel-blad {
  grid-area: t;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  padding: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 9%, var(--groen) 0 9px, transparent 10px),
    radial-gradient(circle at 91% 50%, var(--blauw) 0 9px, transparent 10px),
    radial-gradient(circle at 50% 91%, var(--amber) 0 9px, transparent 10px),
    radial-gradient(circle at 9% 50%, var(--roze) 0 9px, transparent 10px),
    radial-gradient(circle at 50% 42%, #F7FBF9 0 52%, #E3EFE8 70%);
  box-shadow: inset 0 0 0 14px var(--wood), inset 0 0 0 16px #C7A574;
}
.tafel-blad p { margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink); }

.seat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 17rem;
  min-height: 44px;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  line-height: 1.3;
  border: 2px solid transparent;
}
.seat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.seat span:last-child { font-size: 0.95rem; color: var(--moss); }
.seat:hover, .seat:focus-visible { border-color: var(--seat); }
.chair { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--seat); }
@media (prefers-reduced-motion: no-preference) {
  .chair { transition: scale 0.2s ease; }
  .seat:hover .chair, .seat:focus-visible .chair { scale: 1.15; }
}
.seat-n { grid-area: n; }
.seat-e { grid-area: e; justify-self: start; }
.seat-s { grid-area: s; }
.seat-w { grid-area: w; justify-self: end; }

[data-kleur="groen"] { --seat: var(--groen); }
[data-kleur="blauw"] { --seat: var(--blauw); }
[data-kleur="amber"] { --seat: var(--amber); }
[data-kleur="roze"] { --seat: var(--roze); }

@media (max-width: 860px) {
  .tafel { grid-template-columns: 1fr 1fr; grid-template-areas: "t t" "n e" "w s"; gap: 0.75rem; }
  .tafel-blad {
    aspect-ratio: auto;
    padding: 2.25rem 1.75rem;
    background: radial-gradient(circle at 50% 42%, #F7FBF9 0 52%, #E3EFE8 90%);
    border-radius: 32px;
    max-width: 32rem;
    margin-bottom: 0.75rem;
  }
  .seat { justify-self: stretch; max-width: none; border-radius: 22px; }
  .seat-e, .seat-w { justify-self: stretch; }
}
@media (max-width: 520px) {
  .tafel { grid-template-columns: 1fr; grid-template-areas: "t" "n" "e" "s" "w"; }
}

.rows { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.5rem 1rem 1rem;
  background: var(--paper);
  border-radius: 20px;
  border-left: 8px solid var(--seat);
}
.row[hidden] { display: none; }
.row img { border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.row h2, .row h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.row h2 a, .row h3 a { color: var(--ink); text-decoration: none; }
.row h2 a::after, .row h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.row:hover h2 a, .row:hover h3 a { color: var(--groen); text-decoration: underline; }
.row:has(a:focus-visible) { outline: 3px solid var(--blauw); outline-offset: 3px; }
.row a:focus-visible { outline: none; }
.row p { margin: 0; color: var(--moss); }
.row .meta { margin-top: 0.6rem; font-size: 0.95rem; color: var(--ink); }
@media (max-width: 600px) {
  .row { grid-template-columns: 1fr; gap: 0.9rem; padding: 0.75rem 0.75rem 1.1rem; border-left-width: 0; border-top: 8px solid var(--seat); }
}

.duo { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 860px) {
  .duo { grid-template-columns: 1fr 1fr; }
}
.duo p { margin: 0; }

.tool { display: grid; gap: 2rem; margin-top: 1.5rem; }
@media (min-width: 900px) {
  .tool { grid-template-columns: minmax(14rem, 18rem) 1fr; align-items: center; }
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1.25rem; }
.field .label, .field legend, .field > label { font-weight: 700; }
fieldset.field { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 0.3rem; }
.field select {
  min-height: 48px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: 1rem var(--sans);
}
.field-hint { color: var(--moss); font-size: 0.9rem; margin: 0; }
.counter { display: flex; align-items: center; gap: 0.6rem; }
.counter button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--mint);
  color: var(--ink);
  font: 700 1.3rem var(--sans);
  cursor: pointer;
}
.counter button:hover { background: #DCEBE3; }
.counter button:disabled { opacity: 0.4; cursor: not-allowed; }
.counter output, .result-big { font-variant-numeric: tabular-nums; }
.counter output { min-width: 2ch; text-align: center; font-family: var(--serif); font-size: 2rem; }
.radio { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.45rem 0; cursor: pointer; font-weight: 600; }
.radio input { width: 20px; height: 20px; margin: 0.2rem 0 0; accent-color: var(--groen); flex: none; }
.radio small { display: block; color: var(--moss); font-size: 0.9rem; font-weight: 400; }

.board-host { container-type: inline-size; }
.board { display: grid; gap: 1.5rem; }
@container (min-width: 540px) {
  .board { grid-template-columns: minmax(13rem, 18rem) 1fr; align-items: center; }
}
.board svg { width: 100%; max-width: 18rem; margin-inline: auto; }
.board-table { fill: #F4F9F6; stroke: var(--wood); stroke-width: 9; }
.board-line { stroke: var(--ink); stroke-width: 2; opacity: 0.55; }
.board-line.thin { stroke-dasharray: 5 6; opacity: 0.45; }
.board-line.hint { stroke: var(--blauw); stroke-dasharray: 2 5; opacity: 0.8; }
.board-seat { stroke: var(--paper); stroke-width: 3; }
.board-seat.k0 { fill: var(--groen); }
.board-seat.k1 { fill: var(--blauw); }
.board-seat.k2 { fill: var(--amber); }
.board-seat.k3 { fill: var(--roze); }
.board-seat.lead { stroke: var(--ink); stroke-width: 4; }
.board-num { fill: var(--paper); font: 700 14px var(--sans); text-anchor: middle; dominant-baseline: central; }
.result p { margin-bottom: 0.7rem; }
.result-big { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--groen); line-height: 1; margin-bottom: 0.4rem; }
.result-note { padding: 0.9rem 1.1rem; background: var(--mint); border-radius: 16px; }

.table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  container-type: inline-size;
  background: var(--paper);
  border-radius: 28px;
}
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.98rem; }
caption { text-align: left; padding: 1.4rem 1.4rem 0.4rem; font-family: var(--serif); font-size: 1.3rem; }
th, td { text-align: left; vertical-align: top; padding: 0.9rem 1.4rem; border-bottom: 1px solid var(--line); }
thead th { color: var(--moss); font-weight: 700; font-size: 0.9rem; }
tbody th { font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
@container (width < 620px) {
  .table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tbody tr { border-bottom: 1px solid var(--line); padding: 0.6rem 0; }
  .table-wrap tbody tr:last-child { border-bottom: 0; }
  .table-wrap tbody th { padding-bottom: 0.2rem; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
  .table-wrap td { border-bottom: 0; padding-top: 0.25rem; padding-bottom: 0.25rem; }
  .table-wrap td::before { content: attr(data-label); display: block; color: var(--moss); font-size: 0.85rem; font-weight: 700; }
}

.pair { display: grid; gap: 1.25rem; }
@media (min-width: 860px) {
  .pair { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
}
.glossary-entry h2 a { color: var(--ink); }
.glossary-entry p { color: var(--moss); }
.tokens { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.tokens span { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--seat); }

.contact h3 { font-size: 1.1rem; margin: 1.4rem 0 0.5rem; }
.contact p:last-child { margin-bottom: 0; }
.contact ul { margin: 0; padding-left: 1.1rem; }
.contact-list { margin: 1rem 0 0; display: grid; gap: 0.1rem 1.25rem; }
@media (min-width: 480px) {
  .contact-list { grid-template-columns: auto 1fr; }
}
.contact-list dt { color: var(--moss); }
.contact-list dd { margin: 0 0 0.5rem; overflow-wrap: anywhere; }

.notice { max-width: 46rem; margin: 0 auto; color: var(--moss); font-size: 0.95rem; text-align: center; }
.notice strong { color: var(--ink); }

.page-head { padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 3vw, 2rem); }
.page-head h1 { max-width: 20ch; }
.page-head p { color: var(--moss); font-size: 1.15rem; max-width: 42rem; margin: 0; }

.photo { margin: 0 0 2rem; border-radius: 28px; overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--groen); }

.toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 2rem; margin-top: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.95rem var(--sans);
  cursor: pointer;
}
.filters button::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--seat, var(--line)); }
.filters button[data-theme="alle"]::before {
  background: conic-gradient(var(--groen) 0 25%, var(--blauw) 0 50%, var(--amber) 0 75%, var(--roze) 0);
}
.filters button:hover { border-color: var(--line); }
.filters button[aria-pressed="true"] { border-color: var(--ink); }
.toolbar .field { margin: 0; min-width: 14rem; }

.dossier-block { padding-block: clamp(2.5rem, 6vw, 4rem); }
.dossier { display: grid; gap: 2rem; }
@media (min-width: 1000px) {
  .dossier { grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); gap: 3rem; align-items: start; }
}
.dossier-text { background: var(--paper); border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.75rem); border-top: 10px solid var(--seat); }
.dossier-text > h2 { display: flex; align-items: flex-start; gap: 0.75rem; }
.dossier-text > h2::before { content: ""; flex: none; width: 1.6rem; height: 1.6rem; margin-top: 0.15em; border-radius: 50%; background: var(--seat); }
.dossier-text p, .dossier-text ul, .dossier-text ol, .dossier-text h3 { max-width: 42rem; }
.dossier-text ul, .dossier-text ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.dossier-text li { margin-bottom: 0.45em; }
.dossier-text li::marker { color: var(--seat); }
.dossier-side { display: grid; gap: 1rem; }
@media (min-width: 1000px) {
  .dossier-side { position: sticky; top: 1.5rem; }
}
.dossier-side img { border-radius: 20px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.facts { margin: 0; padding: 1.25rem; background: var(--paper); border-radius: 20px; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; font-size: 0.95rem; }
.facts dt { color: var(--moss); }
.facts dd { margin: 0; }

.scheme { margin: 2rem 0; padding: 1.25rem; background: var(--mint); border-radius: 20px; }
.scheme svg { width: 100%; max-width: 26rem; margin-inline: auto; }
.scheme figcaption { color: var(--moss); font-size: 0.95rem; margin-top: 0.75rem; }
.scheme text { font-family: var(--sans); fill: var(--ink); font-size: 15px; }
.scheme .muted { fill: var(--moss); font-size: 13px; }
.scheme .warm { fill: var(--ink); font-weight: 700; }
.scheme .line { stroke: var(--moss); stroke-width: 1.5; fill: none; }
.scheme .line.warm { stroke: var(--seat); stroke-width: 2.5; fill: none; }
.scheme .box { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.scheme .box.warm { stroke: var(--seat); stroke-width: 2.5; fill: var(--paper); }
.scheme .dot { fill: var(--amber); }
.scheme .ring { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 4 4; }

.scenario { margin: 2rem 0; padding: 1.4rem 1.5rem; background: var(--mint); border-radius: 24px; border: 2px dashed var(--seat); }
.scenario h3 { margin-top: 0; }
.scenario-label { color: var(--moss); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.scenario ol { margin-bottom: 0; }
.source { color: var(--moss); font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 1rem; margin: 2rem 0 0; }

.term {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline dotted var(--groen);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  cursor: help;
}
.term:hover { color: var(--groen); }

.term-card {
  width: min(32rem, calc(100% - 2rem));
  padding: 1.75rem;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
}
.term-card:modal { overscroll-behavior: contain; }
.term-card::backdrop { background: rgba(20, 50, 43, 0.35); overflow: hidden; overscroll-behavior: contain; }
.term-card h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.term-card p { color: var(--moss); }
.term-card form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.25rem; }

.glossary-list { display: grid; gap: 0.6rem; margin-top: 1.5rem; max-width: 48rem; }
.glossary-list details { background: var(--paper); border-radius: 20px; }
.glossary-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 56px;
  padding: 0.8rem 1.25rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  cursor: pointer;
}
.glossary-list summary::-webkit-details-marker { display: none; }
.glossary-list summary::before {
  content: "";
  flex: none;
  width: 0.65em;
  height: 0.65em;
  border-right: 2px solid var(--groen);
  border-bottom: 2px solid var(--groen);
  rotate: -45deg;
}
.glossary-list details[open] > summary::before { rotate: 45deg; }
.glossary-list .def { padding: 0 1.25rem 1.2rem 2.85rem; }
.glossary-list .def p:last-child { margin-bottom: 0; }
.glossary-list .eg { color: var(--moss); }
.glossary-list details::details-content { overflow: clip; contain: layout; }
.glossary-list details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .glossary-list summary::before { transition: rotate 0.2s; }
  .glossary-list details::details-content {
    interpolate-size: allow-keywords;
    transition: block-size 0.3s ease-in-out, content-visibility 0.3s allow-discrete;
  }
}

.jobs { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 760px) {
  .jobs { grid-template-columns: 1fr 1fr; }
}
.job { padding: 1.6rem; background: var(--paper); border-radius: 24px; }
.job h2 { font-size: 1.4rem; }
.job-type { display: inline-block; margin-bottom: 0.7rem; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--mint); font-weight: 700; font-size: 0.9rem; }
.job ul { padding-left: 1.2rem; color: var(--moss); margin-bottom: 0; }
.job-apply { margin: 1.1rem 0 0; }
.job-apply a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--groen);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.job-apply a:hover { background: var(--ink); }
.apply { margin-top: 2.5rem; }

.pact { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.pact li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem 1.4rem; background: var(--paper); border-radius: 20px; }
.pact li::before { content: ""; width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; border-radius: 50%; background: var(--seat); }
.pact li:nth-child(4n + 1) { --seat: var(--groen); }
.pact li:nth-child(4n + 2) { --seat: var(--blauw); }
.pact li:nth-child(4n + 3) { --seat: var(--amber); }
.pact li:nth-child(4n + 4) { --seat: var(--roze); }
.pact h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.pact p { margin: 0; color: var(--moss); }

.site-foot { background: var(--paper); border-radius: 32px 32px 0 0; padding: clamp(2.5rem, 6vw, 3.5rem) var(--gutter) calc(var(--dock) + 2.5rem + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; gap: 2rem; max-width: 72rem; margin-inline: auto; }
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.foot-brand { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.4rem; }
.site-foot p { color: var(--moss); font-size: 0.95rem; max-width: 28rem; }
.site-foot h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
.site-foot ul a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; }
.site-foot ul a:hover, .site-foot ul a[aria-current="page"] { color: var(--groen); text-decoration: underline; }
.foot-contact { font-style: normal; margin-top: 1rem; color: var(--moss); font-size: 0.95rem; line-height: 1.9; overflow-wrap: anywhere; }
.foot-contact span { color: var(--moss); }
.foot-base { max-width: 72rem; margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--moss); font-size: 0.9rem; }
.foot-base p { margin: 0 0 0.4rem; max-width: none; }

.lost { min-height: 100vh; display: grid; place-content: center; padding: 2rem var(--gutter); max-width: 40rem; margin-inline: auto; }
.lost-code { font-family: var(--serif); font-size: clamp(4rem, 14vw, 8rem); color: var(--groen); line-height: 1; margin-bottom: 1rem; }
.lost p { color: var(--moss); }

@media (max-width: 759px) {
  :root { --dock: 4.25rem; }
  .dock {
    left: 0;
    right: 0;
    bottom: 0;
    translate: none;
    padding: 0.25rem 0.5rem calc(0.25rem + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -6px 20px rgba(20, 50, 43, 0.12);
  }
  .dock ul { justify-content: space-around; }
  .dock li.extra { display: none; }
  .dock a, .dock-more {
    flex-direction: column;
    gap: 0.15rem;
    min-width: 4.25rem;
    padding: 0.35rem 0.5rem;
    border-radius: 16px;
    font-size: 0.78rem;
  }
  .dock svg { display: block; }
  .dock-more { display: inline-flex; }
}
