/* assets/css/site.css - pfasradar.nl, theme v1 (23-11-2026, "bodemkaart")
   Loam paper, humus ink, one deep moss green for the brand. The four soil classes are the only loud colours and are
   always shown with their words (.lvl.c0-.c3), never colour alone: sand (around the background value), ochre (a bit
   higher), rust (clearly higher), wine (much higher). Soil strata close the header and open the footer. The map leads
   on the home page and on every gemeente page. Fonts self-hosted: Bitter (headings, logo; OFL), Figtree (body; OFL).
   Bump ?v= in _partials/head-assets.html after every change. */

@font-face { font-family: "Bitter"; src: url("/assets/fonts/bitter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --paper: #f5efe4; --paper-2: #ece3d3; --card: #fffdf8; --ink: #2b2219; --muted: #6b5d4f; --rule: #d9ccb6;
  --brand: #1f5c4d; --brand-2: #2f7a66; --brand-soft: #dfeae4; --clay: #8a5a33; --ochre: #d6a23a;
  --c0: #a99f86; --c1: #d6a23a; --c2: #c0602a; --c3: #7b2d43;
  --head: "Bitter", Georgia, serif; --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s--1: .875rem; --s0: 1.0625rem; --s1: 1.25rem; --s2: 1.6rem; --s3: 2.15rem; --s4: 2.75rem;
  --radius: 14px; --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s0)/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 1.6em 0 .5em; letter-spacing: -.01em; }
h1 { font-size: var(--s3); font-weight: 800; margin-top: .3em; }
h2 { font-size: var(--s2); font-weight: 750; }
h3 { font-size: var(--s1); font-weight: 700; }
p, ul, ol, dl, table { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }
.lead { font-size: var(--s1); color: var(--muted); max-width: 44rem; }
.source { font-size: var(--s--1); color: var(--muted); }
[hidden] { display: none !important; }

/* Header: white-ish bar, logo, menu, strata */
.site-header { background: var(--card); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.brand { display: inline-flex; }
.brand__logo { height: 40px; width: auto; display: block; }
.indep { margin: 0; font-size: .8rem; color: var(--muted); background: var(--paper-2); text-align: center; padding: .3rem 1rem; }
.strata { height: 14px; background: linear-gradient(to bottom, var(--ochre) 0 4px, var(--clay) 4px 9px, #5e3d24 9px 14px); }
.strata--up { background: linear-gradient(to top, var(--ochre) 0 4px, var(--clay) 4px 9px, #5e3d24 9px 14px); }
.menu-toggle { display: none; align-items: center; gap: .4rem; background: none; border: 2px solid var(--rule); border-radius: 10px; padding: .4rem .7rem; font: 600 var(--s--1) var(--body); color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; 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; display: flex; flex-wrap: wrap; gap: .2rem; margin: 0; padding: 0; }
.site-nav__link { display: block; padding: .45rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 52rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-top: 1px solid var(--rule); padding: .6rem 1rem 1rem; z-index: 1001; box-shadow: 0 10px 20px rgba(43,34,25,.12); }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list { flex-direction: column; }
  .site-header__inner { flex-wrap: wrap; }
}

/* Buttons, pills */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: .7rem 1.15rem; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-2); color: #fff; }
.btn--light { background: var(--card); color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn--light:hover { background: var(--brand-soft); color: var(--brand); }
.btn--wide { width: 100%; }
.more { font-weight: 700; text-decoration: none; }
.more::after { content: " \2192"; }
.lvl { display: inline-block; font: 700 .78rem/1 var(--body); padding: .32rem .5rem; border-radius: 6px; color: #fff; background: var(--c0); white-space: nowrap; vertical-align: .1em; }
.lvl.c0 { background: var(--c0); color: var(--ink); } .lvl.c1 { background: var(--c1); color: var(--ink); } .lvl.c2 { background: var(--c2); } .lvl.c3 { background: var(--c3); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .8rem; padding: 0; margin: .4rem 0 .8rem; font-size: var(--s--1); }

/* Home: the map leads, the probe card sits on it */
.probe { display: grid; grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: 0; margin: 1.4rem 0 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--rule), 0 10px 30px rgba(43,34,25,.08); }
.probe__card { padding: 1.4rem 1.4rem 1.2rem; border-right: 1px solid var(--rule); }
.probe__card h1 { font-size: 2rem; margin: 0 0 .5rem; }
.probe__card .lead { font-size: 1.04rem; }
.probe__map { min-height: 30rem; background: var(--paper-2); position: relative; }
.probe__map .mapx, .probe__map [data-pfr-map-all] { position: absolute; inset: 0; }
.probe__fallback { padding: 1.4rem; color: var(--muted); }
@media (max-width: 52rem) { .probe { grid-template-columns: 1fr; } .probe__card { border-right: 0; border-bottom: 1px solid var(--rule); } .probe__map { min-height: 22rem; } }
.kicker { display: inline-block; font: 700 .78rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--clay); margin-bottom: .4rem; }
.search { display: flex; gap: .5rem; margin: .8rem 0 .4rem; }
.search input { flex: 1; min-width: 0; font: 400 1.05rem var(--body); padding: .7rem .8rem; border: 2px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink); }
.search input:focus { border-color: var(--brand); outline: none; }
.search__hint { font-size: var(--s--1); color: var(--muted); margin: 0; }
.answer { margin: 1rem 0 0; padding: 1rem; border-radius: 12px; background: var(--paper); border-left: 6px solid var(--c0); }
.answer.c1 { border-left-color: var(--c1); } .answer.c2 { border-left-color: var(--c2); } .answer.c3 { border-left-color: var(--c3); } .answer.none { border-left-color: var(--rule); }
.answer__head { font: 700 1.15rem var(--head); margin: 0 0 .35rem; }
.answer p { margin: 0 0 .5rem; }
.answer p:last-child { margin: 0; }
.answer__list { margin: .3rem 0 .6rem; padding-left: 1.1rem; }

.headline { font: 700 var(--s1)/1.35 var(--head); margin: 1.6rem 0 .3rem; }

/* Panels */
.panel { background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 1.6rem 0; }
.panel > h2:first-child { margin-top: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.6rem; }
@media (max-width: 52rem) { .cols { grid-template-columns: 1fr; } }
.toplist { list-style: none; counter-reset: t; padding: 0; margin: 0; }
.toplist li { counter-increment: t; display: grid; grid-template-columns: 2rem 1fr auto; gap: .2rem .6rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.toplist li::before { content: counter(t); font: 800 1rem var(--head); color: var(--clay); }
.toplist__v { grid-column: 2 / 4; font-size: var(--s--1); color: var(--muted); }
.news { list-style: none; padding: 0; margin: 0; }
.news li { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.news__d { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.news__t { font-weight: 700; }
.news__s { margin: .2rem 0 0; font-size: .96rem; }

/* Routes: soil, eggs, garden, fish, foam, swimming */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
@media (max-width: 52rem) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .routes { grid-template-columns: 1fr; } }
.route { display: flex; gap: .8rem; align-items: flex-start; background: var(--card); border-radius: var(--radius); padding: 1rem; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); height: 100%; }
.route:hover { border-color: var(--brand); color: var(--ink); }
.route__ic { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.4rem; --fa-p: var(--brand); --fa-s: var(--clay); }
.route__t { display: block; font: 700 1.08rem var(--head); }
.route__d { display: block; font-size: .93rem; color: var(--muted); }
.fa-icon { display: block; width: 1em; height: 1em; overflow: visible; }
.fa-icon .fa-p { fill: var(--fa-p, var(--brand)); }
.fa-icon .fa-s { fill: var(--fa-s, var(--clay)); opacity: var(--fa-o, .45); }

/* Map bits (Leaflet) */
.mapx { font-family: var(--body); }
.mapx__switch { display: flex; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.3); overflow: hidden; }
.mapx__switch button { border: 0; background: #fff; padding: .4rem .65rem; font: 600 .82rem var(--body); color: var(--ink); cursor: pointer; }
.mapx__switch button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.mapx__hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); background: rgba(43,34,25,.8); color: #fff; padding: .35rem .7rem; border-radius: 8px; font-size: .82rem; z-index: 800; pointer-events: none; }
.mapx__tip { font-weight: 700; }
.mapx__pop-g { font: 700 1rem var(--head); margin: 0 0 .3rem !important; }
.mapx__pop-l { color: var(--muted); font-size: .85rem; margin: .3rem 0 !important; }
.page-map { height: 24rem; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); margin: .6rem 0; }
.hub-map { height: 32rem; }
.map-note { font-size: .82rem; color: var(--muted); }

/* Text pages and gemeente pages */
.page-head { margin: .2rem 0 1rem; }
.page-head h1 { margin-bottom: .3rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2rem; align-items: start; margin-bottom: 2rem; }
@media (max-width: 56rem) { .layout { grid-template-columns: 1fr; } }
.prose { background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .35rem; }
.aside-card { background: var(--card); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1rem; border-top: 5px solid var(--rule); }
.aside-card--brand { border-top-color: var(--brand); }
.aside-card__head { font: 700 1.1rem var(--head); margin: 0 0 .4rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { padding: .3rem 0; border-bottom: 1px solid var(--rule); }
.aside-links a { text-decoration: none; font-weight: 600; }
.verdict { border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 0 0 1.4rem; background: var(--paper); border-left: 8px solid var(--c0); }
.verdict.c1 { border-left-color: var(--c1); } .verdict.c2 { border-left-color: var(--c2); } .verdict.c3 { border-left-color: var(--c3); }
.verdict__head { font: 700 1.25rem var(--head); margin: 0 0 .4rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data th, .data td { text-align: left; padding: .5rem .55rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 2px solid var(--rule); }
.data .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.near { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.near a { display: inline-block; padding: .35rem .65rem; border-radius: 999px; background: var(--paper-2); text-decoration: none; font-weight: 600; font-size: .93rem; }
.az { columns: 3 14rem; column-gap: 2rem; }
.az__group { break-inside: avoid; margin: 0 0 1rem; }
.az__letter { font: 800 1.3rem var(--head); color: var(--clay); margin: 0 0 .2rem; border-bottom: 2px solid var(--rule); }
.az ul { list-style: none; padding: 0; margin: 0; }
.az li { padding: .18rem 0; display: flex; gap: .4rem; align-items: baseline; }
.az .dot { flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c0); display: inline-block; }
.dot.c1 { background: var(--c1); } .dot.c2 { background: var(--c2); } .dot.c3 { background: var(--c3); }
.az__n { color: var(--muted); font-size: .85rem; }

/* BCM body classes */
.card { background: var(--card); border-radius: var(--radius); padding: 1.1rem 1.2rem; border: 1px solid var(--rule); }
.card--brand { background: var(--brand-soft); border-color: transparent; }
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 44rem) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.callout { background: var(--paper-2); border-left: 6px solid var(--ochre); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.callout--info { border-left-color: var(--brand); background: var(--brand-soft); }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 1.6rem; }
.check li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .7rem; height: .4rem; border: solid var(--brand); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.steps { counter-reset: st; list-style: none; padding: 0; }
.steps li { counter-increment: st; position: relative; padding-left: 2.4rem; margin-bottom: .8rem; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .9rem/1.7rem var(--body); text-align: center; }
.section { margin: 2rem 0; }

/* Alert form */
.alert { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
@media (max-width: 52rem) { .alert { grid-template-columns: 1fr; } }
.alert h2 { margin: .1rem 0 .5rem; color: #fff; }
.alert a { color: #fff; }
.alert__kicker { margin: 0; font: 700 .78rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); }
.alert__form { background: var(--card); color: var(--ink); border-radius: 12px; padding: 1.1rem; }
.alert__form a { color: var(--brand); }
.alert__field { display: block; margin: 0 0 .8rem; font-weight: 600; }
.alert__field span { display: block; margin-bottom: .25rem; }
.alert__field input, .alert__field select { width: 100%; font: 400 1rem var(--body); padding: .6rem .7rem; border: 2px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink); }
.alert__hp { position: absolute; left: -5000px; }
.alert__area { font-size: var(--s--1); color: var(--muted); }
.alert__consent { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }
.alert__msg { margin: .7rem 0 0; font-weight: 600; }
.alert__msg.is-err { color: var(--c3); } .alert__msg.is-ok { color: var(--brand); }
.alert__done { background: var(--card); color: var(--ink); border-radius: 12px; padding: 1.1rem; }
.alert__done-title { font: 700 1.3rem var(--head); margin: 0 0 .4rem; }
.alert__done-small { font-size: var(--s--1); color: var(--muted); }
.alert__example summary { cursor: pointer; font-weight: 700; }
.mailx { background: var(--card); color: var(--ink); border-radius: 10px; padding: .9rem 1rem; margin-top: .6rem; font-size: .94rem; }
.mailx__from { font-size: .8rem; color: var(--muted); margin: 0 0 .2rem; }
.mailx__subject { font-weight: 700; margin: 0 0 .5rem; }
.mailx__cta { display: inline-block; background: var(--brand); color: #fff; border-radius: 8px; padding: .4rem .8rem; font-weight: 700; }
.mailx__small { font-size: .78rem; color: var(--muted); margin: .6rem 0 0; }

/* Crumbs, footer */
.crumbs { font-size: var(--s--1); color: var(--muted); margin: 1.3rem 0 .4rem; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--rule); }
.site-footer { background: var(--ink); color: #e9dfcf; margin-top: 3rem; }
.site-footer a { color: #f5efe4; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 52rem) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__logo { height: 36px; width: auto; margin-bottom: .6rem; }
.site-footer__head { font: 700 1rem var(--head); color: var(--ochre); margin: 0 0 .4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer__small { max-width: var(--wrap); margin: 0 auto; padding: 1rem 1rem 1.6rem; font-size: .8rem; color: #b9ab95; border-top: 1px solid #45382b; }
