/* tijgermuggen.nl_www - theme v1 (design v0.1, 04-11-2026, "veldgids met zebrastrepen")
   Cool paper, ink, signal yellow, a green risk meter. Orange only as the logo's offset shadow and the search box
   shadow. Comic line: 3 px ink borders and hard ink shadows on panels. Zebra stripes are the signature: the band at
   the top and bottom of every page and the bars of the finds chart.
   Fonts self-hosted: Luckiest Guy (logo, kickers, buttons; Apache 2.0), Bricolage Grotesque (headings; OFL),
   Atkinson Hyperlegible (body; OFL, chosen for readability of health text). Licences beside the files.
   Bump ?v= in _partials/head-assets.html after every change. */
@font-face { font-family: "Luckiest Guy"; src: url(/assets/fonts/luckiest-guy-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url(/assets/fonts/bricolage-grotesque-latin-variable.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f3f6f0; --white: #ffffff; --ink: #141414; --ink-2: #3d4440; --muted: #5a635d; --rule: #c9d0ca;
  --yellow: #ffd23f; --yellow-soft: #fff2bf; --green: #1f6b45; --green-soft: #dcefe2; --orange: #ff6a1a;
  --r: 18px; --r-sm: 12px; --wrap: 72rem; --text: 44rem; --g: clamp(1rem, 4vw, 2rem);
  --f-display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --f-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --s--1: clamp(.86rem, .84rem + .1vw, .92rem); --s0: clamp(1rem, .97rem + .2vw, 1.0625rem);
  --s1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); --s2: clamp(1.55rem, 1.25rem + 1.2vw, 2.3rem);
  --s3: clamp(2.1rem, 1.4rem + 3.2vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  font: 400 var(--s0)/1.62 var(--f-body); }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 4px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 10px 14px; border: 3px solid var(--ink); border-radius: var(--r-sm); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: var(--s3); }
h2 { font-size: var(--s2); margin-top: 1.6em; }
h3 { font-size: var(--s1); margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
.num, .tab { font-variant-numeric: tabular-nums; }

/* zebra band */
.zebra { height: 14px; background: repeating-linear-gradient(-60deg, var(--ink) 0 14px, var(--white) 14px 28px); border-bottom: 3px solid var(--ink); }
.zebra--bottom { border-bottom: 0; border-top: 3px solid var(--ink); }

/* header */
.site-header { background: var(--white); border-bottom: 3px solid var(--ink); position: relative; z-index: 5; }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: .55rem var(--g); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand__logo { height: 62px; width: auto; display: block; }
.menu-toggle { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .8rem; background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px; font: 1rem var(--f-display); letter-spacing: .04em; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem 1.2rem; flex-wrap: wrap; }
.site-nav__link { display: inline-block; padding: .55rem .2rem; font: 700 1.02rem var(--f-head); text-decoration: none; color: var(--ink); }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { box-shadow: inset 0 -6px 0 var(--yellow); }
@media (max-width: 52rem) {
  .brand__logo { height: 46px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 3px solid var(--ink); padding: .5rem var(--g) 1rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__link { display: block; padding: .8rem 0; border-bottom: 2px dashed var(--rule); }
}

/* buttons, kicker, stamp */
.btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .7rem 1.25rem .55rem; background: var(--ink); color: var(--white);
  border: 3px solid var(--ink); border-radius: 999px; font: 1.05rem var(--f-display); letter-spacing: .05em; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--yellow); }
.btn:hover { color: var(--white); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--yellow); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--light:hover { color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.kicker { display: inline-block; font: 1rem var(--f-display); letter-spacing: .04em; background: var(--yellow); border: 3px solid var(--ink);
  padding: .32rem .7rem .12rem; transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--ink); }
.stamp { display: inline-block; font: 1.05rem/1.05 var(--f-display); color: var(--green); border: 3px solid var(--green); background: var(--green-soft);
  padding: .5rem .7rem .3rem; border-radius: 8px; transform: rotate(6deg); text-align: center; }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; padding: clamp(1.6rem, 5vw, 3.6rem) 0 2rem; position: relative; }
.hero h1 { margin: 1rem 0 .8rem; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: inherit; padding: 0 .08em; }
.lead { font-size: var(--s1); color: var(--ink-2); max-width: 36rem; line-height: 1.5; }
.hero__art { position: relative; text-align: center; }
.hero__art .mascot { width: 100%; max-width: 400px; animation: tm-hover 3.2s ease-in-out infinite; }
.hero__art .stamp { position: absolute; right: 0; top: 0; }
@keyframes tm-hover { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .hero__art .mascot { animation: none; } }
.search { display: flex; margin-top: 1.4rem; max-width: 32rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--white); box-shadow: 5px 5px 0 var(--orange); overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; padding: .95rem 1.3rem; font: inherit; font-size: 1.1rem; background: transparent; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.search button { border: 0; border-left: 3px solid var(--ink); background: var(--ink); color: var(--white); font: 1.05rem var(--f-display); letter-spacing: .05em; padding: 0 1.4rem; cursor: pointer; min-height: 48px; }
.search__result { margin-top: 1rem; max-width: 32rem; }
.search__result .panel { padding: 1rem 1.2rem; }
@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art .mascot { max-width: 230px; }
  .hero__art .stamp { right: 4%; font-size: .9rem; }
}

/* panels and grids */
.panel { background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); padding: clamp(1.1rem, 2.4vw, 1.5rem); }
.panel > :last-child { margin-bottom: 0; }
.panel--yellow { background: var(--yellow); }
.panel--green { background: var(--green-soft); }
.grid { display: grid; gap: 1.5rem; margin: 1.5rem 0; }
.grid--2 { grid-template-columns: 1.3fr 1fr; }
.grid--even { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 52rem) { .grid--2, .grid--even, .grid--3 { grid-template-columns: 1fr; } }
.sec { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; }
.sec h2 { margin: 0; }
.sec__n { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; padding-top: .2rem; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 1.35rem var(--f-display); }

/* finds: counter, bars, list (client-side from /data/vondsten.json) */
.big { font: clamp(3rem, 2rem + 3vw, 4.6rem)/1 var(--f-display); }
.big small { display: block; margin-top: .35rem; font: 700 1rem var(--f-body); color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: .7rem; height: 180px; margin: 1.2rem 0 2.2rem; border-bottom: 3px solid var(--ink); }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar i { display: block; width: 100%; min-height: 4px; background: repeating-linear-gradient(-60deg, var(--ink) 0 8px, var(--white) 8px 16px); border: 3px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.bar.is-now i { background: var(--yellow); }
.bar__v { font: 700 .95rem var(--f-head); }
.bar__y { position: absolute; bottom: -1.75rem; font: 700 .9rem var(--f-head); color: var(--muted); }
.finds { list-style: none; margin: 0; padding: 0; }
.finds li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .65rem 0; border-bottom: 2px dashed var(--rule); }
.finds b { font-family: var(--f-head); }
.tag { white-space: nowrap; font: 700 .82rem var(--f-head); background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 999px; padding: .08rem .6rem; }
.source { font-size: var(--s--1); color: var(--muted); margin-top: 1rem; }

/* recognise */
.check { list-style: none; padding: 0; margin: .6rem 0 1rem; }
.check li { position: relative; padding: .4rem 0 .4rem 2.3rem; }
.check li::before { content: "\2713"; position: absolute; left: 0; top: .35rem; width: 1.55rem; height: 1.55rem; display: grid; place-items: center;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; font-weight: 700; font-size: .85rem; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vs figure { margin: 0; text-align: center; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-sm); padding: .8rem; }
.vs img { height: 110px; width: auto; }
.vs figcaption { font: 700 .95rem var(--f-head); margin-top: .3rem; }

/* diseases */
.disease h3 { margin-top: 0; font-size: 1.5rem; }
.disease__alias { color: var(--muted); font-size: .95rem; margin-top: -.4rem; }
.risk { margin: 1rem 0 .3rem; font: 700 .85rem var(--f-head); text-transform: uppercase; letter-spacing: .06em; }
.meter { display: flex; gap: 4px; margin-bottom: .8rem; }
.meter span { flex: 1; height: 12px; border: 2px solid var(--ink); border-radius: 4px; background: var(--white); }
.meter .on { background: var(--green); }
.more { display: inline-block; margin-top: .4rem; font: 700 1rem var(--f-head); text-decoration: none; border-bottom: 4px solid var(--yellow); }

/* protect block */
.protect { background: var(--ink); color: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.4rem); margin: 2rem 0; }
.protect h2 { margin-top: 0; color: var(--yellow); font: var(--s2) var(--f-display); letter-spacing: .02em; }
.protect a { color: var(--white); }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.tips li { background: var(--white); color: var(--ink); border-radius: 14px; padding: 1rem; border: 3px solid var(--yellow); }
.tips li a { color: var(--ink); }
.tips b { display: block; font: 800 1.1rem var(--f-head); margin: .2rem 0; }
.tips .ic { font-size: 1.8rem; line-height: 1; }
.protect .note { font-size: var(--s--1); color: #c8cfc9; margin: 1rem 0 0; }
@media (max-width: 60rem) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 26rem) { .tips { grid-template-columns: 1fr; } }

/* text pages */
.crumbs { font-size: var(--s--1); color: var(--muted); padding-top: 1.2rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "\203A"; margin-right: .3rem; }
.page-head { padding: 1.2rem 0 .4rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 2.4rem; align-items: start; padding-bottom: 2rem; }
.layout__aside { display: grid; gap: 1.3rem; position: sticky; top: 1rem; }
@media (max-width: 60rem) { .layout { grid-template-columns: 1fr; } .layout__aside { position: static; } }
.prose { max-width: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose .lead { font-size: var(--s1); }
.prose ul li, .prose ol li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; background: var(--white); border: 3px solid var(--ink); }
.prose th, .prose td { text-align: left; padding: .55rem .7rem; border-bottom: 2px solid var(--rule); vertical-align: top; }
.prose th { font-family: var(--f-head); background: var(--yellow-soft); }
.callout { background: var(--green-soft); border: 3px solid var(--green); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.callout--warn { background: var(--yellow-soft); border-color: var(--ink); }
.callout > :last-child { margin-bottom: 0; }
.aside-card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 5px 5px 0 var(--ink); padding: 1rem 1.1rem; }
.aside-card__head { font: 1rem var(--f-display); letter-spacing: .04em; margin: 0 0 .5rem; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-bottom: 2px dashed var(--rule); }
.aside-links a { display: block; padding: .5rem 0; text-decoration: none; font-weight: 700; }
.aside-links a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: .6rem; }
.aside-mascot { width: 140px; display: block; margin: 0 auto .4rem; }

/* disclosure (platform partial) */
.disclosure, [class^="disclosure-"] { font-size: var(--s--1); color: var(--muted); }

/* footer */
.site-footer { margin-top: 3rem; background: var(--white); border-top: 3px solid var(--ink); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2rem var(--g) 1rem; display: grid; grid-template-columns: 9rem 1.6fr 1fr 1fr; gap: 1.6rem 2rem; align-items: start; }
.site-footer__sticker { width: 130px; }
.site-footer p { color: var(--muted); font-size: .95rem; }
.site-footer__head { font: 1rem var(--f-display) !important; letter-spacing: .04em; color: var(--ink) !important; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .3rem 0; text-decoration: none; font-weight: 700; }
.site-footer__small { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g) 1.4rem; font-size: var(--s--1); color: var(--muted); }
@media (max-width: 52rem) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__inner > div:first-child, .site-footer__inner > div:nth-child(2) { grid-column: 1 / -1; } }
.sr-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aside-card.panel--yellow { background: var(--yellow); }
