/* Paddogids — veldgids-wereld: wit papier, aarde-inkt, kneuzingsblauw */

:root {
  --ground: #ffffff;
  --ground-2: #f5f7f2;
  --ground-3: #dfe4d8;
  --ink: #1b201a;
  --ink-2: #3f483d;
  --accent: #1a5c84;
  --accent-ink: #ffffff;
  --accent-soft: #c9dce6;
  --moss: #4d5f30;
  --moss-soft: #d7e0c3;
  --warn: #8c2f22;
  --warn-soft: #f0d6cd;
  --field: #20291f;
  --field-2: #2b3529;
  --field-ink: #eef0e7;
  --field-ink-2: #c4cbbb;
  --field-accent: #93c8e8;

  /* illustratie */
  --il-line: #2f3a2c;
  --il-myc: #9aa58c;
  --il-cap: #b9864a;
  --il-cap-2: #9c6c35;
  --il-stem: #ece4cf;
  --il-kit: #c9cfbe;
  --il-white: #fbfaf4;
  --il-perl: #f7f6f0;
  --il-box: rgba(160, 196, 214, .28);
  --il-blue: #2e6fa8;
  --il-trich: #6e8b2f;
  --il-trich-2: #4a6420;
  --il-web: #a7aaa3;
  --il-wet: #b89a4a;
  --il-card: #d8bd92;
  --il-card-2: #c4a577;
  --il-trash: #b9bfb0;

  --font-display: "Young Serif", Georgia, serif;
  --font-text: "Public Sans", system-ui, sans-serif;

  --fs-display: clamp(1.9rem, 7.6vw, 6rem);
  --fs-h2: clamp(1.9rem, 5vw, 3.4rem);
  --fs-lead: clamp(1.15rem, 1.8vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;

  --gutter: 16px;
  --gap-sec: clamp(88px, 12vw, 176px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: 520ms;
  --bar-h: 60px;
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #131712;
    --ground-2: #1b2119;
    --ground-3: #273024;
    --ink: #e8ebe1;
    --ink-2: #bcc4b3;
    --accent: #8cc4e6;
    --accent-ink: #0d1a22;
    --accent-soft: #1d3a4b;
    --moss: #b2c98a;
    --moss-soft: #2a3720;
    --warn: #f2a593;
    --warn-soft: #3d221c;
    --field: #0c0f0b;
    --field-2: #182016;
    --field-ink: #e8ebe1;
    --field-ink-2: #bcc4b3;
    --field-accent: #8cc4e6;

    --il-line: #c9d1bf;
    --il-myc: #56614b;
    --il-cap: #a87a44;
    --il-cap-2: #8a5f2f;
    --il-stem: #d8d0bb;
    --il-kit: #485241;
    --il-white: #e9e7dd;
    --il-perl: #d8d8d0;
    --il-box: rgba(140, 196, 230, .12);
    --il-blue: #5a9ad4;
    --il-card: #7d6849;
    --il-card-2: #6a583d;
    --il-trash: #3d463a;
  }
}
:root[data-theme="dark"] {
    --ground: #131712;
    --ground-2: #1b2119;
    --ground-3: #273024;
    --ink: #e8ebe1;
    --ink-2: #bcc4b3;
    --accent: #8cc4e6;
    --accent-ink: #0d1a22;
    --accent-soft: #1d3a4b;
    --moss: #b2c98a;
    --moss-soft: #2a3720;
    --warn: #f2a593;
    --warn-soft: #3d221c;
    --field: #0c0f0b;
    --field-2: #182016;
    --field-ink: #e8ebe1;
    --field-ink-2: #bcc4b3;
    --field-accent: #8cc4e6;

    --il-line: #c9d1bf;
    --il-myc: #56614b;
    --il-cap: #a87a44;
    --il-cap-2: #8a5f2f;
    --il-stem: #d8d0bb;
    --il-kit: #485241;
    --il-white: #e9e7dd;
    --il-perl: #d8d8d0;
    --il-box: rgba(140, 196, 230, .12);
    --il-blue: #5a9ad4;
    --il-card: #7d6849;
    --il-card-2: #6a583d;
    --il-trash: #3d463a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--ink-2) var(--ground-2);
}

::selection { background: var(--accent); color: var(--accent-ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground-2); }
::-webkit-scrollbar-thumb { background: var(--ink-2); border: 3px solid var(--ground-2); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }
input, select, textarea, button { caret-color: var(--accent); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2.5px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--fs-display); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.025em; }
h3 { font-size: var(--fs-lead); line-height: 1.2; letter-spacing: -.01em; margin-top: 2.2em; margin-bottom: .6em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }

[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.ic-lg { width: 2rem; height: 2rem; }
.flip { transform: scaleX(-1); }
.small { font-size: var(--fs-small); color: var(--ink-2); }
.muted { color: var(--ink-2); max-width: 65ch; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 46px; padding: 10px 18px;
  font: 600 1rem/1.2 var(--font-text);
  color: var(--accent-ink); background: var(--accent);
  border: 2px solid var(--accent); border-radius: 0;
  cursor: pointer; touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color 160ms;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-sm { min-height: 40px; padding: 6px 12px; font-size: var(--fs-small); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ---------- Navigatie ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.bar.is-scrolled { background: color-mix(in srgb, var(--ground) 100%, transparent); box-shadow: 0 6px 18px -12px rgba(0,0,0,.35); }
.bar-in { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); min-height: var(--bar-h); display: flex; align-items: center; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; margin-right: auto; min-height: 44px; }
.wordmark svg { width: 30px; height: 30px; }
.wm-cap { fill: var(--accent); }
.wm-stem { fill: var(--ink); }
.theme-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; color: var(--ink); border: 2px solid var(--ground-3); cursor: pointer; transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .ic-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ic-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ic-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .ic-moon { display: none; }
}
@media (min-width: 1180px) { .theme-btn { order: 3; } }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: transparent; color: var(--ink); border: 2px solid var(--ground-3); font: 600 1rem var(--font-text); cursor: pointer; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 2px; position: relative; }
.nav a:not(.nav-action)::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--accent); }
.nav-action { background: var(--accent); color: var(--accent-ink) !important; padding: 10px 16px !important; }
.nav.is-open { display: flex; flex-direction: column; position: absolute; top: var(--bar-h); left: 0; right: 0; background: var(--ground); padding: 8px var(--gutter) 20px; box-shadow: 0 16px 24px -16px rgba(0,0,0,.4); }
.nav.is-open a { padding: 12px 0; font-size: 1.125rem; }
.nav.is-open .nav-action { margin-top: 8px; text-align: center; }

@media (min-width: 1180px) {
  .menu-btn { display: none; }
  .nav, .nav.is-open { display: flex; flex-direction: row; position: static; padding: 0; box-shadow: none; gap: 26px; align-items: center; background: none; }
  .nav.is-open a { font-size: 1rem; padding: 10px 2px; }
  .nav.is-open .nav-action { margin-top: 0; }
}

/* ---------- Secties ---------- */
.sec { padding: var(--gap-sec) 0; }
.sec-tone { background: var(--ground-2); }
.sec-head { max-width: 980px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 20px; }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 60ch; color: var(--ink); margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; gap: 24px; align-items: start; }
.hero h1 { margin-bottom: clamp(20px, 3vw, 40px); }
.hero h1 span { white-space: nowrap; }
@media (min-width: 700px) { .hero h1 span { display: block; } }
.statement { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.38; max-width: 32ch; margin: 0 0 32px; }
.doors { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 560px; }
.door {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; min-height: 76px;
  background: var(--ground-2); color: var(--ink); text-decoration: none;
  transition: background-color 200ms, transform 300ms var(--ease-out);
}
.door .ic-lg { color: var(--accent); }
.door-t { display: flex; flex-direction: column; flex: 1; }
.door-t strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.door-t span { color: var(--ink-2); font-size: var(--fs-small); }
.door-arrow { color: var(--accent); transition: transform 300ms var(--ease-out); }
.door:hover { background: var(--ground-3); }
.door:hover .door-arrow { transform: translateX(5px); }
.hero-note { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; font-size: var(--fs-small); color: var(--ink-2); max-width: 52ch; }
.hero-note .ic { color: var(--warn); margin-top: 3px; }
.hero-art { margin: 0; position: relative; width: 100%; height: min(60vh, 100vw); min-height: 300px; }
.hero-svg { width: 100%; height: 100%; display: block; margin: 0 auto; }
.hero3d { position: absolute; inset: 0; display: none; touch-action: pan-y; }
.hero-art.has-3d .hero-svg { display: none; }
.hero-art.has-3d .hero3d { display: block; }
.hero3d canvas { display: block; width: 100% !important; height: 100% !important; outline: none; }
.hero3d-label {
  position: absolute; left: 0; top: 0; margin: 0; pointer-events: none; white-space: nowrap;
  font: 600 .875rem/1.2 var(--font-text); color: var(--accent-ink); background: var(--accent);
  padding: 7px 11px; opacity: 0; transform: translate3d(var(--x, 0px), var(--y, 0px), 0) translate(-50%, -100%);
  transition: opacity 500ms var(--ease-out);
}
.hero3d-label::before { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 12px; margin-left: -1px; background: var(--accent); }
.hero3d-label.is-on { opacity: 1; }
.hero3d-replay { position: absolute; right: 0; bottom: 0; background: var(--ground); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; }
  .hero-art { order: 0; height: min(64vh, 600px); min-height: 420px; }
}

.myc path { fill: none; stroke: var(--il-myc); stroke-width: 2.2; stroke-linecap: round; }
.kit-side { fill: var(--il-kit); }
.kit-top { fill: var(--il-white); }
.kit-fuzz { fill: none; stroke: var(--il-white); stroke-width: 6; stroke-linecap: round; }
.shroom .stem { fill: var(--il-stem); stroke: var(--il-line); stroke-width: 2; }
.shroom .cap { fill: var(--il-cap); stroke: var(--il-line); stroke-width: 2; }
.shroom .gills { fill: none; stroke: var(--il-cap-2); stroke-width: 2.5; }
.shroom .bruise { fill: var(--il-blue); opacity: .85; }
.pin path { fill: var(--il-cap); stroke: var(--il-line); stroke-width: 2; }

@media (prefers-reduced-motion: no-preference) {
  .myc path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease-out) forwards; }
  .myc path:nth-child(2n) { animation-delay: .25s; }
  .myc path:nth-child(3n) { animation-delay: .5s; }
  .shroom { transform-box: fill-box; transform-origin: 50% 100%; animation: rise 1.1s var(--ease-out) both; }
  .shroom.s1 { animation-delay: .35s; }
  .shroom.s2 { animation-delay: .15s; }
  .shroom.s3 { animation-delay: .55s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: scaleY(.86); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Van kit tot oogst: visuele tijdlijn ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { position: relative; padding: 0 0 44px 64px; }
.st-axis { position: absolute; left: 0; top: 0; bottom: 0; width: 44px; }
.st-track, .st-fill { position: absolute; left: 21px; top: 0; bottom: 0; width: 3px; }
.st-track { background: var(--ground-3); }
.st-fill { background: var(--accent); transform-origin: top; }
.step:last-child .st-track, .step:last-child .st-fill { bottom: auto; height: 22px; }
.st-node {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font: 400 1.25rem/1 var(--font-display);
  background: var(--accent); color: var(--accent-ink);
}
.st-day { margin: 8px 0 12px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.st-art { width: 100%; max-width: 260px; background: var(--ground); margin-bottom: 14px; }
.st-art svg { display: block; width: 100%; height: auto; }
.st-title { margin: 0 0 8px; font-size: 1.3rem; }
.st-text { margin: 0 0 10px; max-width: 62ch; }
.step .ob { margin-bottom: 2px; }

/* animatie: de lijn tekent zich, de stap licht op */
.steps.is-anim .st-fill { transform: scaleY(0); transition: transform 900ms var(--ease-out); }
.steps.is-anim .st-node { background: var(--ground-3); color: var(--ink-2); transition: background-color 500ms var(--ease-out), color 500ms var(--ease-out); }
.steps.is-anim .st-art, .steps.is-anim .st-day { opacity: .45; transition: opacity 700ms var(--ease-out); }
.steps.is-anim .step.is-lit .st-fill { transform: none; }
.steps.is-anim .step.is-lit .st-node { background: var(--accent); color: var(--accent-ink); }
.steps.is-anim .step.is-lit .st-art, .steps.is-anim .step.is-lit .st-day { opacity: 1; }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .step { padding: 64px 32px 0 0; }
  .st-axis { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 44px; }
  .st-track, .st-fill { left: 22px; right: 0; top: 20px; bottom: auto; width: auto; height: 3px; }
  .st-fill { transform-origin: left; }
  .step:nth-child(3n) .st-track, .step:nth-child(3n) .st-fill { right: 32px; }
  .step:last-child .st-track, .step:last-child .st-fill { height: 3px; right: 32px; }
  .steps.is-anim .st-fill { transform: scaleX(0); }
  .st-day { margin-top: 0; }
  .st-art { max-width: none; }
  /* pijlpunt aan het eind van elke rij: de as loopt door op de volgende rij */
  .step:nth-child(3n):not(:last-child) .st-axis::after { content: ""; position: absolute; right: 26px; top: 15.5px; width: 10px; height: 10px; border-top: 3px solid var(--ground-3); border-right: 3px solid var(--ground-3); transform: rotate(45deg); }
  .steps.is-anim .step.is-lit:nth-child(3n) .st-axis::after, .steps:not(.is-anim) .step:nth-child(3n) .st-axis::after { border-color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .steps .st-fill { transform: none !important; }
}

.steps-src { margin: 8px 0 0; }
.steps-note { margin: 28px 0 0; padding: 16px 20px; background: var(--ground); max-width: 80ch; font-size: var(--fs-small); }

/* illustraties */
.st-art .sa-line { fill: none; stroke: var(--il-line); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.sa-card { fill: var(--il-card); }
.sa-card2 { fill: var(--il-card-2); stroke: var(--il-line); stroke-width: 2.2; stroke-linejoin: round; }
.sa-kit { fill: var(--il-kit); stroke: var(--il-line); stroke-width: 2.2; stroke-linejoin: round; }
.sa-myc { fill: var(--il-white); stroke: var(--il-line); stroke-width: 2; }
.sa-fuzz { fill: none; stroke: var(--il-myc); stroke-width: 1.6; stroke-linecap: round; }
.sa-ring { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.2; }
.sa-tick { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sa-bag { fill: var(--il-box); }
.sa-filter { fill: var(--il-white); stroke: var(--il-line); stroke-width: 1.6; stroke-dasharray: 2 2; }
.sa-clip { fill: none; stroke: var(--ink-2); stroke-width: 2.6; stroke-linecap: round; }
.sa-bottle { fill: var(--accent-soft); stroke: var(--il-line); stroke-width: 2.2; stroke-linejoin: round; }
.sa-mist circle { fill: var(--accent); }
.sa-air { fill: none; stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; }
.sa-pin { fill: var(--il-cap); stroke: var(--il-line); stroke-width: 1.6; }
.sa-stem { fill: var(--il-stem); stroke: var(--il-line); stroke-width: 2.2; }
.sa-cap { fill: var(--il-cap); stroke: var(--il-line); stroke-width: 2.2; stroke-linejoin: round; }
.sa-veil { fill: none; stroke: var(--il-white); stroke-width: 7; stroke-linecap: round; }
.sa-veil-l { fill: none; stroke: var(--il-line); stroke-width: 1.4; stroke-dasharray: 3 3; }
.sa-turn { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sa-water { fill: var(--accent-soft); }
.sa-wave { fill: none; stroke: var(--accent); stroke-width: 2.2; }
.sa-bub circle { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.sa-trash { fill: var(--il-trash); }
.sa-knot { fill: none; stroke: var(--il-line); stroke-width: 2.2; stroke-linecap: round; }
.sa-kit-ghost { fill: none; stroke: var(--il-line); stroke-width: 1.6; stroke-dasharray: 3 3; opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .step.is-lit .sa-mist circle { animation: sa-mist 1.8s ease-in-out infinite alternate; }
  .step.is-lit .sa-mist circle:nth-child(2n) { animation-delay: .4s; }
}
@keyframes sa-mist { from { transform: translateX(0); opacity: .45; } to { transform: translateX(5px); opacity: 1; } }

/* vier meters */
.meters-wrap { margin-top: clamp(56px, 7vw, 88px); }
.meters-wrap h3 { margin: 0 0 18px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
@media (min-width: 960px) { .meters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.meter { background: var(--ground); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.mt-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-small); }
.mt-head .ic { color: var(--accent); }
.mt-val { margin: 0; font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.05 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mt-scale { position: relative; height: 12px; background: var(--ground-3); margin-top: 4px; }
.mt-band { position: absolute; top: 0; bottom: 0; background: var(--moss); }
.mt-ends { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mt-ring { width: 56px; height: 56px; }
.mt-ring path { fill: var(--ground-3); }
.mt-ring path.on { fill: var(--il-cap); }
.mt-ring text { font: 700 11px var(--font-text); fill: var(--ink); }
.mt-ring .mt-air { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.mt-txt { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.meters-more { background: var(--ground); margin-top: 2px; }
.meters-more summary { cursor: pointer; padding: 14px 18px; font-weight: 700; min-height: 44px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.meters-more summary::-webkit-details-marker { display: none; }
.meters-more summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 300ms var(--ease-out); }
.meters-more[open] summary::after { transform: rotate(-135deg); }
#meters-more { display: grid; gap: 18px 40px; padding: 0 18px 20px; }
#meters-more h4 { margin: 0 0 4px; font: 700 1rem var(--font-text); }
#meters-more p { margin: 0; max-width: 65ch; }
@media (min-width: 900px) { #meters-more { grid-template-columns: 1fr 1fr; } }

/* onderbouwing: 1-3 stipjes */
.ob { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--ink-2); max-width: 100%; }
.ob-dots { display: inline-flex; gap: 3px; flex: none; }
.ob-dots i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.ob-dots i.on { background: var(--moss); box-shadow: none; }

/* ---------- Kweekbak ---------- */
.chamber { display: grid; gap: 32px; }
.ch-stage { position: sticky; top: calc(var(--bar-h) + 4px); z-index: 5; background: var(--ground); padding: 8px 0 10px; align-self: start; }
.ch-figure { margin: 0; background: var(--ground-2); padding: 10px 10px 12px; }
.ch-svg { display: block; width: 100%; height: auto; max-height: 30vh; }
.ch-cap { font-size: var(--fs-small); margin: 6px 4px 0; min-height: 2.9em; }
.ch-cap strong { color: var(--accent); }
.ch-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ch-ctrl .btn { min-height: 44px; padding: 8px 12px; font-size: var(--fs-small); }
.ch-count { font-size: var(--fs-small); color: var(--ink-2); text-align: center; }
.ch-text h3:first-child { margin-top: 0; }
.materials { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.materials li { display: flex; gap: 12px; align-items: flex-start; }
.materials .ic { color: var(--moss); margin-top: 2px; }
.materials .opt { color: var(--ink-2); }
.ch-steps { list-style: none; counter-reset: c; padding: 0; margin: 0; display: grid; gap: 4px; }
.ch-steps li { counter-increment: c; }
.ch-steps button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 2.4rem 1fr; gap: 12px;
  padding: 16px 14px; background: transparent; color: var(--ink); border: 0; cursor: pointer;
  font: inherit; scroll-margin-top: calc(var(--bar-h) + 46vh);
  transition: background-color 300ms var(--ease-out);
}
.ch-steps button::before { content: counter(c); font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--ink-2); transition: color 300ms; }
.ch-steps button:hover { background: var(--ground-2); }
.ch-steps button[aria-current="step"] { background: var(--accent-soft); }
.ch-steps button[aria-current="step"]::before { color: var(--accent); }
.conflict { margin-top: 24px; padding: 16px 18px; background: var(--ground-2); font-size: var(--fs-small); max-width: 70ch; }
@media (min-width: 900px) {
  .chamber { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .ch-stage { top: calc(var(--bar-h) + 24px); padding: 0; background: none; }
  .ch-figure { padding: 18px; }
  .ch-svg { max-height: none; }
  .ch-cap { font-size: 1rem; margin: 12px 4px 0; }
  .ch-steps button { scroll-margin-top: calc(var(--bar-h) + 40px); }
}

/* bak-illustratie */
.ch-svg * { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), fill 400ms, stroke 400ms; }
.box-front { fill: var(--il-box); stroke: var(--il-line); stroke-width: 2.5; }
.box-side { fill: var(--il-box); stroke: var(--il-line); stroke-width: 2.5; }
.lid-top { fill: var(--il-box); stroke: var(--il-line); stroke-width: 2.5; }
.lid-lip { fill: var(--il-line); opacity: .75; }
.lid { transform-box: view-box; transform-origin: 60px 120px; }
.l-holes circle, .lid-holes circle { fill: var(--il-line); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.l-blocks rect { fill: var(--il-cap-2); opacity: 0; transform: translateY(10px); }
.perl-fill { fill: var(--il-perl); stroke: var(--il-line); stroke-width: 1.5; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.perl-dots circle, .bucket-perl circle { fill: var(--il-myc); }
.perl-dots { opacity: 0; }
.l-kit { opacity: 0; transform: translateY(-40px); }
.tray { fill: var(--il-line); opacity: .55; }
.kit-body { fill: var(--il-kit); stroke: var(--il-line); stroke-width: 2; }
.kit-cake { fill: var(--il-white); stroke: var(--il-line); stroke-width: 2; }
.kpin { fill: var(--il-cap); stroke: var(--il-line); stroke-width: 1.5; }
.l-clean, .l-bucket, .l-thermo, .l-light, .l-mist, .l-refresh { opacity: 0; }
.wipe { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 9; }
.spark { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.bucket { fill: var(--il-kit); stroke: var(--il-line); stroke-width: 2.5; }
.bucket-rim { stroke: var(--il-line); stroke-width: 4; stroke-linecap: round; }
.drip { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.th-tube { fill: var(--il-white); stroke: var(--il-line); stroke-width: 2; }
.th-bulb { fill: var(--warn); }
.th-merc { fill: var(--warn); }
.th-txt { font: 600 15px var(--font-text); fill: var(--ink); }
.ray { stroke: var(--il-cap); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.window { fill: var(--accent-soft); stroke: var(--il-line); stroke-width: 2; }
.mist-drops circle { fill: var(--accent); }
.air { fill: none; stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }
.cyc, .cyc-h { fill: none; stroke: var(--moss); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

.ch-svg.on-1 .l-clean { opacity: 1; }
.ch-svg.on-2 .l-clean { opacity: 0; }
.ch-svg.on-2 .l-holes circle, .ch-svg.on-2 .lid-holes circle { opacity: 1; transform: scale(1); }
.ch-svg.on-2 .l-blocks rect { opacity: 1; transform: none; }
.ch-svg.cur-3 .l-bucket { opacity: 1; }
.ch-svg.on-4 .perl-fill { transform: scaleY(1); }
.ch-svg.on-4 .perl-dots { opacity: 1; }
.ch-svg.on-5 .l-kit { opacity: 1; transform: none; }
.ch-svg.cur-6 .l-light, .ch-svg.cur-6 .l-thermo { opacity: 1; }
.ch-svg.cur-7 .l-mist { opacity: 1; }
.ch-svg.cur-7 .lid { transform: rotate(-9deg) translateY(-12px); }
.ch-svg.cur-8 .l-refresh { opacity: 1; }
.ch-svg.cur-8 .perl-fill { fill: var(--moss-soft); }

/* huidige stap licht op */
.ch-svg.cur-2 .l-holes circle, .ch-svg.cur-2 .lid-holes circle { fill: var(--accent); }
.ch-svg.cur-2 .l-blocks rect { fill: var(--accent); }
.ch-svg.cur-4 .perl-fill { stroke: var(--accent); stroke-width: 3; }
.ch-svg.cur-5 .kit-body, .ch-svg.cur-5 .kit-cake { stroke: var(--accent); stroke-width: 3; }
.ch-svg.cur-1 .box-front, .ch-svg.cur-1 .box-side, .ch-svg.cur-1 .lid-top { stroke: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .ch-svg.cur-2 .l-holes circle { transition-delay: calc(var(--k, 0) * 6ms); }
  .ch-svg.cur-3 .drip { animation: drip 1.2s ease-in infinite; }
  .ch-svg.cur-3 .drip:nth-of-type(2) { animation-delay: .4s; }
  .ch-svg.cur-3 .drip:nth-of-type(3) { animation-delay: .8s; }
  .ch-svg.cur-7 .mist-drops circle { animation: mist 1.8s ease-in infinite; animation-delay: calc(var(--k) * 140ms); }
  .ch-svg.cur-7 .air { animation: sway 1.6s ease-in-out infinite alternate; }
  .ch-svg.cur-6 .ray { animation: shimmer 2.4s ease-in-out infinite alternate; }
  .ch-svg.cur-8 .l-refresh { animation: spin 3s linear infinite; transform-box: fill-box; transform-origin: center; }
  .ch-svg.cur-1 .wipe { animation: wipe 1.6s linear infinite; }
}
@keyframes drip { from { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } to { transform: translateY(14px); opacity: 0; } }
@keyframes mist { from { transform: translateY(-10px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(36px); opacity: 0; } }
@keyframes sway { from { transform: translateX(-8px); } to { transform: translateX(8px); } }
@keyframes shimmer { from { opacity: .3; } to { opacity: .75; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wipe { to { stroke-dashoffset: -26; } }

.mistakes { margin-top: clamp(64px, 8vw, 112px); background: var(--warn-soft); padding: clamp(24px, 4vw, 48px); }
.mistakes h3 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.mistakes ul { list-style: none; padding: 0; margin: 22px 0 16px; display: grid; gap: 16px 40px; }
.mistakes li { display: grid; grid-template-columns: auto 1fr; gap: 12px; max-width: 62ch; }
.mistakes li .ic { color: var(--warn); margin-top: 2px; }
@media (min-width: 900px) { .mistakes ul { grid-template-columns: 1fr 1fr; } }

/* ---------- Strains ---------- */
.caveat, .disclaimer { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--warn-soft); margin-bottom: 40px; max-width: 980px; }
.caveat .ic-lg { color: var(--warn); }
.caveat p, .disclaimer p { margin: 0; max-width: 75ch; }

.finder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin-bottom: 32px; }
.quiz, .filters { background: var(--ground); padding: clamp(20px, 3vw, 32px); }
.quiz h3, .filters h3 { margin-top: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
legend { font-weight: 600; margin-bottom: 10px; padding: 0; width: 100%; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: var(--ground-2); cursor: pointer; font-size: var(--fs-small); font-weight: 600; transition: background-color 200ms; user-select: none; }
.chip:hover { background: var(--ground-3); }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip::before { content: ""; width: 14px; height: 14px; flex: none; border: 2px solid var(--ink-2); background: var(--ground); transition: background-color 150ms, border-color 150ms; }
.chip:has(input[type="radio"])::before { border-radius: 50%; }
.chip:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.chip:has(input:checked)::before { border-color: var(--accent-ink); background: var(--accent-ink); box-shadow: inset 0 0 0 3px var(--accent); }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-error { color: var(--warn); font-weight: 600; margin: 10px 0 0; min-height: 0; }
.quiz-error:empty { display: none; }
.quiz-result:not(:empty) { margin-top: 22px; padding: 18px 20px; background: var(--accent-soft); }
.quiz-result h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0 0 10px; }
.quiz-result ol { margin: 0 0 12px; padding-left: 1.3em; }
.quiz-result li { margin-bottom: 8px; }
.quiz-result li button { font-weight: 700; }
.quiz-result p { margin: 0 0 8px; font-size: var(--fs-small); }
.quiz-result p:last-child { margin: 0; }
.reasons { display: block; font-size: var(--fs-small); color: var(--ink-2); }

.slider { margin-bottom: 20px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; }
.slider > label[for] { font-weight: 600; }
.slider output { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--accent); }
.slider input[type="range"], .slider .small, .slider .check { grid-column: 1 / -1; }
.slider .small { margin: 2px 0 6px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; background: linear-gradient(to right, var(--accent) 0 var(--fill, 40%), var(--ground-3) var(--fill, 40%)); }
input[type="range"]::-moz-range-track { height: 10px; background: var(--ground-3); }
input[type="range"]::-moz-range-progress { height: 10px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -8px; border-radius: 50%; background: var(--ground); border: 4px solid var(--accent); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ground); border: 4px solid var(--accent); }
input[type="range"]:focus-visible { outline-offset: 0; }
.check { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.check input, input[type="checkbox"] { accent-color: var(--accent); width: 20px; height: 20px; }
.sortline { display: grid; gap: 6px; margin-bottom: 20px; }
.sortline label { font-weight: 600; }
select { font: 600 1rem var(--font-text); color: var(--ink); background: var(--ground-2); border: 2px solid var(--ground-3); min-height: 46px; padding: 8px 12px; border-radius: 0; max-width: 100%; }
.filter-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.count { margin: 0; font-weight: 700; }
@media (min-width: 1000px) { .finder { grid-template-columns: 1.1fr .9fr; } }

/* tabel */
.compare { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1360px) { .compare { grid-template-columns: minmax(0, 1fr) 360px; } }
.table-wrap { min-width: 0; }
.strain-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--ground); font-variant-numeric: tabular-nums; }
.strain-table thead { display: none; }
.strain-table tbody { display: grid; gap: 2px; background: var(--ground-2); }
.strain-table tr {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px;
  grid-template-areas: "name name name" "gemak sterk oogst" "temp temp temp";
  padding: 16px; background: var(--ground); position: relative; cursor: pointer; transition: background-color 250ms;
}
.strain-table td { display: block; padding: 0; min-width: 0; }
.strain-table td[data-label]::before { content: attr(data-label); display: block; color: var(--ink-2); font-size: .8125rem; margin-bottom: 2px; }
.strain-table td.c-name { grid-area: name; }
.strain-table td.c-lvl:nth-child(2) { grid-area: gemak; }
.strain-table td.c-lvl:nth-child(3) { grid-area: sterk; }
.strain-table td.c-num { grid-area: oogst; font-weight: 600; }
.strain-table td.c-temp { grid-area: temp; }
.strain-table tr:hover { background: var(--ground-3); }
.strain-table tr.is-selected { background: var(--accent-soft); }
.strain-table tr.is-misfit .name-btn, .strain-table tr.is-misfit .t-txt { color: var(--ink-2); }
.name-btn { background: none; border: 0; padding: 0; font: 400 1.25rem/1.2 var(--font-display); color: var(--ink); text-align: left; cursor: pointer; letter-spacing: -.01em; min-height: 32px; }
.name-btn:hover { color: var(--accent); }
.name-desc { display: block; font-size: .875rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; color: var(--warn); font-weight: 600; margin-top: 4px; }
.rec-tag { display: none; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 2px 8px; margin-top: 6px; width: fit-content; max-width: 100%; }
tr.is-rec .rec-tag { display: inline-flex; }
.strain-table tr.is-rec { background: var(--accent-soft); }
.lvl { display: inline-flex; gap: 3px; vertical-align: -2px; margin-right: 8px; }
.lvl i { width: 9px; height: 14px; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.lvl i.on { background: var(--ink); }
.lvl-t { font-size: var(--fs-small); }
.t-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: var(--fs-small); }
.t-txt { font-weight: 600; }
.mini { display: block; position: relative; height: 10px; background: var(--ground-3); margin: 6px 0 2px; }
.mini-r { position: absolute; top: 0; bottom: 0; background: var(--moss); }
tr.is-misfit .mini-r { background: var(--ink-2); opacity: .45; }
.mini-m { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: var(--accent); transition: left 300ms var(--ease-out); }
.fit { display: inline-flex; align-items: center; font-weight: 600; font-size: .875rem; white-space: nowrap; }
.fit span { display: inline-flex; align-items: center; gap: 3px; }
.fit .ic { width: 1.05em; height: 1.05em; }
.fit-yes { color: var(--moss); }
.fit-no { color: var(--warn); }

@media (min-width: 900px) {
  .strain-table { table-layout: fixed; }
  .strain-table thead { display: table-header-group; }
  .strain-table tbody { display: table-row-group; background: none; }
  .strain-table tr { display: table-row; padding: 0; }
  .strain-table tbody tr.alt { background: color-mix(in srgb, var(--ground) 55%, var(--ground-2)); }
  .strain-table tbody tr.alt:hover, .strain-table tbody tr:hover { background: var(--ground-3); }
  .strain-table tbody tr.is-selected, .strain-table tbody tr.is-rec { background: var(--accent-soft); }
  .strain-table td, .strain-table th { display: table-cell; padding: 18px 14px; vertical-align: middle; text-align: left; }
  .strain-table td[data-label]::before { display: none; }
  .strain-table th { position: sticky; top: var(--bar-h); z-index: 3; font-size: var(--fs-small); font-weight: 600; background: var(--ground-3); padding: 0; }
  .strain-table th button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 6px; width: 100%; min-height: 48px; padding: 8px 14px; cursor: pointer; }
  .strain-table th.num button { justify-content: flex-end; }
  .strain-table th button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
  .strain-table th button:hover { background: var(--ground-2); }
  .strain-table th .ic { opacity: .5; width: 1em; height: 1em; }
  .strain-table th[aria-sort] { color: var(--accent); }
  .strain-table th[aria-sort] .ic { opacity: 1; }
  .strain-table th[aria-sort="descending"] .ic { transform: scaleY(-1); }
  .strain-table th:nth-child(1) { width: 29%; }
  .strain-table th:nth-child(2) { width: 15%; }
  .strain-table th:nth-child(3) { width: 14%; }
  .strain-table th:nth-child(4) { width: 23%; }
  .strain-table th:nth-child(5) { width: 19%; }
  .strain-table th { white-space: nowrap; }
  .t-txt { white-space: nowrap; }
  .strain-table td.c-num { text-align: right; white-space: nowrap; }
  .lvl { display: flex; margin: 0 0 4px; }
  .strain-table td.c-lvl { line-height: 1.2; }
}

@media (prefers-reduced-motion: no-preference) {
  tr.is-rec.rec-pop { animation: recpop 1.4s var(--ease-out); }
}
@keyframes recpop { 0% { box-shadow: inset 0 0 0 0 var(--accent); } 25% { box-shadow: inset 6px 0 0 0 var(--accent); } 100% { box-shadow: inset 0 0 0 0 var(--accent); } }

.empty { padding: 24px; background: var(--ground); margin: 0; font-weight: 600; }
.table-note { margin-top: 12px; }

/* detailpaneel */
.detail { background: var(--ground); padding: clamp(20px, 3vw, 30px); scroll-margin-top: calc(var(--bar-h) + 12px); }
@media (min-width: 1360px) { .detail { position: sticky; top: calc(var(--bar-h) + 16px); max-height: calc(100vh - var(--bar-h) - 32px); overflow-y: auto; } }
.detail h3 { margin: 0 0 4px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.detail .d-sub { color: var(--ink-2); margin: 0 0 14px; font-size: var(--fs-small); }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag { font-size: .875rem; font-weight: 600; padding: 3px 10px; background: var(--ground-2); }
.d-bars { display: grid; gap: 18px; margin: 4px 0 24px; }
.rb-head { display: flex; justify-content: space-between; gap: 10px; font-size: var(--fs-small); margin-bottom: 6px; }
.rb-head strong { font-size: 1rem; }
.rb-track { position: relative; height: 22px; background: var(--ground-3); }
.rb-base { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.rb-fill { position: absolute; top: 5px; bottom: 5px; background: var(--accent); transform-origin: left; }
.rb-fill.is-est { background: repeating-linear-gradient(135deg, var(--accent) 0 6px, color-mix(in srgb, var(--accent) 55%, var(--ground)) 6px 10px); }
.rb-mark { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; background: var(--warn); }
.rb-scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-2); margin-top: 3px; }
.rb-note { font-size: .875rem; color: var(--ink-2); margin: 4px 0 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .875rem; color: var(--ink-2); margin: -8px 0 22px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 18px; height: 10px; display: inline-block; }
.legend .lg-s { background: var(--accent); }
.legend .lg-b { background: color-mix(in srgb, var(--ink) 18%, transparent); }
.legend .lg-m { width: 3px; height: 14px; background: var(--warn); }
@media (prefers-reduced-motion: no-preference) {
  .detail.is-fresh .rb-fill { animation: grow 800ms var(--ease-out) both; animation-delay: calc(var(--i) * 110ms); }
  .detail.is-fresh .d-body { animation: fadeup 500ms var(--ease-out) both; }
}
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.d-dl { margin: 0; display: grid; gap: 14px; }
.d-dl dt { font-weight: 700; font-size: var(--fs-small); }
.d-dl dd { margin: 2px 0 0; }
.d-src { font-size: var(--fs-small); margin: 0; padding-left: 1.1em; }
.d-src li { margin-bottom: 4px; overflow-wrap: anywhere; }
.d-empty p { color: var(--ink-2); }
.d-empty .ic-lg { color: var(--accent); margin-bottom: 10px; }
.d-back { margin-top: 20px; }
@media (min-width: 1360px) { .d-back { display: none; } }

/* ---------- Contaminatie ---------- */
.plates { display: grid; gap: 48px; }
.plate-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.plate-ok h3 .ic { color: var(--moss); }
.plate-bad h3 .ic { color: var(--warn); }
.plate { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 0 0 40px; }
.plate svg { width: 100%; max-width: 220px; height: auto; display: block; background: var(--ground-2); }
.plate h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0 0 8px; line-height: 1.2; }
.plate p { margin: 0 0 8px; max-width: 62ch; }
.plate .lbl { font-weight: 700; }
@media (min-width: 560px) { .plate { grid-template-columns: 180px 1fr; gap: 22px; } }
@media (min-width: 1000px) { .plates { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.c-line { fill: none; stroke: var(--il-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-sub { fill: var(--il-kit); }
.c-myc { fill: var(--il-white); }
.c-cap { fill: var(--il-cap); stroke: var(--il-line); stroke-width: 2; }
.c-stem { fill: var(--il-stem); stroke: var(--il-line); stroke-width: 2; }
.c-blue { fill: var(--il-blue); }
.c-fuzz { fill: none; stroke: var(--il-white); stroke-width: 2.5; stroke-linecap: round; }
.c-fuzz-d { fill: none; stroke: var(--il-line); stroke-width: 1.2; stroke-linecap: round; opacity: .35; }
.c-spore { fill: #4a2f45; }
.c-tr { fill: var(--il-trich); }
.c-tr2 { fill: var(--il-trich-2); }
.c-trw { fill: var(--il-white); }
.c-web { fill: none; stroke: var(--il-web); stroke-width: 1.4; stroke-linecap: round; }
.c-wet { fill: var(--il-wet); opacity: .9; }
.c-gloss { fill: none; stroke: var(--il-white); stroke-width: 3; stroke-linecap: round; opacity: .8; }

/* ---------- Wet & veiligheid (ander veld) ---------- */
.sec-field { background: var(--field); color: var(--field-ink); --ink: var(--field-ink); --ink-2: var(--field-ink-2); --accent: var(--field-accent); --accent-ink: #0d1a22; --ground: var(--field-2); --ground-2: #34402f; --ground-3: #3d4a38; --warn: #f2a593; --warn-soft: #3d2620; --moss: #b2c98a; --moss-soft: #34452a; --accent-soft: #1d3a4b; }
.sec-field ::selection { background: var(--field-accent); color: #0d1a22; }
.sec-field h2, .sec-field h3, .sec-field h4 { color: var(--field-ink); }
.disclaimer { background: var(--warn-soft); }
.disclaimer .ic-lg { color: var(--warn); }
.law { display: grid; gap: 2px; margin-bottom: 20px; }
.law-row { display: grid; gap: 8px 28px; padding: 24px; background: var(--ground); }
.law-what { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; margin: 0; }
.law-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.0625rem; margin: 0; }
.law-status.ok { color: var(--moss); }
.law-status.no { color: var(--warn); }
.law-row p.law-txt { margin: 0; max-width: 70ch; }
.law-row .zk { margin-top: 4px; }
@media (min-width: 860px) { .law-row { grid-template-columns: 260px 260px 1fr; align-items: start; } }
.nuance { background: var(--ground); padding: 0; margin-bottom: clamp(56px, 7vw, 96px); }
.nuance summary { cursor: pointer; padding: 18px 24px; font-weight: 700; min-height: 44px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nuance summary::-webkit-details-marker { display: none; }
.nuance summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 300ms var(--ease-out); margin-right: 4px; }
.nuance[open] summary::after { transform: rotate(-135deg); }
.nuance ul { margin: 0; padding: 0 24px 22px 44px; display: grid; gap: 10px; max-width: 80ch; }
.hr-grid { display: grid; gap: 48px; }
.hr-grid h3 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 20px; }
.hr-block { margin-bottom: 28px; }
.hr-block h4 { font-family: var(--font-text); font-weight: 700; font-size: 1.0625rem; margin: 0 0 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hr-block ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: 65ch; }
.hr-block p { max-width: 65ch; margin-bottom: 6px; }
.contra-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.contra-list li { background: var(--ground); padding: 16px 18px; }
.contra-list strong { display: block; margin-bottom: 4px; }
.contra-list p { margin: 0 0 8px; font-size: var(--fs-small); }
@media (min-width: 1000px) { .hr-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.help { margin-top: 48px; display: grid; gap: 2px; }
.help-item { background: var(--field-accent); color: #0d1a22; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.help-item a { color: #0d1a22; font-weight: 700; }
.help-item p { margin: 0; }
.help-item .ic-lg { flex: none; }
.help-item.urgent { background: var(--warn); }
@media (min-width: 800px) { .help { grid-template-columns: 1.4fr 1fr; } }

/* ---------- Bronnen ---------- */
.quality { display: grid; gap: 2px; margin-bottom: 40px; }
.q-item { background: var(--ground-2); padding: 18px 20px; }
.q-item h3 { margin: 0 0 6px; font-size: 1.15rem; }
.q-item p { margin: 0; font-size: var(--fs-small); }
@media (min-width: 800px) { .quality { grid-template-columns: repeat(3, 1fr); } }
.sources { columns: 1; column-gap: 48px; }
@media (min-width: 760px) { .sources { columns: 2; } }
@media (min-width: 1200px) { .sources { columns: 3; } }
.src-group { break-inside: avoid; margin-bottom: 24px; }
.src-group h3 { font-family: var(--font-text); font-weight: 700; font-size: 1rem; margin: 0 0 6px; overflow-wrap: anywhere; }
.src-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.src-group a { font-size: var(--fs-small); overflow-wrap: anywhere; word-break: break-word; display: inline-block; padding: 4px 0; }

/* ---------- Footer ---------- */
.foot { background: var(--ground-2); padding: clamp(56px, 8vw, 104px) 0 40px; }
.foot-name { font-family: var(--font-display); font-size: clamp(3rem, 15vw, 12rem); line-height: .9; letter-spacing: -.045em; margin: 0 0 28px; color: var(--ink); }
.foot p:not(.foot-name) { max-width: 70ch; }

.doubt { background: var(--ground-2); padding: 20px 22px; }
.doubt h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin: 0 0 8px; }
.doubt p { margin: 0 0 8px; max-width: 60ch; }
.doubt p:last-child { margin: 0; }

/* bronlinks per blok */
.srcs { display: block; font-size: .8125rem; line-height: 1.5; color: var(--ink-2); margin: 8px 0 0; max-width: 70ch; }
.srcs a { color: var(--accent); overflow-wrap: anywhere; }
.caveat .srcs { margin-top: 10px; }

/* ---------- Wetenschap ---------- */
.sci-note { background: var(--ground); }
.sci-controls { display: grid; gap: 16px; align-items: end; margin-bottom: 12px; }
@media (min-width: 900px) { .sci-controls { grid-template-columns: 1fr auto; } }
.sci-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.sci-filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: var(--ground); color: var(--ink); border: 0; cursor: pointer;
  font: 600 var(--fs-small)/1.2 var(--font-text); transition: background-color 200ms, color 200ms;
}
.sci-filter:hover { background: var(--ground-3); }
.sci-filter[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.sci-filter .n { font-weight: 400; opacity: .85; font-variant-numeric: tabular-nums; }
.sci-sort { display: grid; gap: 6px; }
.sci-sort label { font-weight: 600; }
.sci-count { margin: 8px 0 20px; }
.sci-types { background: var(--ground); margin-bottom: 36px; max-width: 980px; }
.sci-types summary { cursor: pointer; padding: 16px 20px; font-weight: 700; min-height: 44px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sci-types summary::-webkit-details-marker { display: none; }
.sci-types summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 300ms var(--ease-out); flex: none; }
.sci-types[open] summary::after { transform: rotate(-135deg); }
.sci-types dl { margin: 0; padding: 0 20px 20px; display: grid; gap: 12px; }
.sci-types dt { font-weight: 700; }
.sci-types dd { margin: 2px 0 0; max-width: 70ch; color: var(--ink-2); }
@media (min-width: 900px) { .sci-types dl { grid-template-columns: 1fr 1fr; gap: 16px 40px; } }

.sci-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sci-item { display: grid; grid-template-columns: 1fr; gap: 6px 32px; padding: 28px 0; background: var(--ground-2); }
.sci-year { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.sci-year.is-repeat { visibility: hidden; }
.sci-body { min-width: 0; max-width: 78ch; }
.sci-body h3 { margin: 0 0 6px; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.25; }
.sci-meta { margin: 0 0 10px; font-size: var(--fs-small); color: var(--ink-2); }
.sci-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sci-tag { font-size: .875rem; font-weight: 600; padding: 3px 10px; background: var(--ground); color: var(--ink); }
.sci-tag.t-thema { background: var(--accent-soft); }
.sci-body p { margin: 0 0 8px; }
.sci-let { color: var(--ink-2); }
.sci-let strong { color: var(--ink); }
.sci-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; }
.sci-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-height: 44px; }
.sci-link .ic { width: 1em; height: 1em; }
.sci-unver { font-size: .8125rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.sci-unver::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-2); }
@media (min-width: 760px) { .sci-item { grid-template-columns: 120px 1fr; } }
.sci-empty { padding: 24px 0; font-weight: 600; }

.nav a { white-space: nowrap; }
