/* inbraakalert.nl_www - theme v1 (05-11-2026, "buurtbord bij nacht")
   Night blue and warm street-lamp yellow on off-white paper, like a neighbourhood-watch sign. Red only for "more than
   last year", green for "fewer". Calm and factual: no fear pictures, numbers first.
   Fonts self-hosted: Big Shoulders Display 800 (logo, kickers, big numbers; OFL), Public Sans 400/700 (headings and
   body; OFL). Licences beside the files. Bump ?v= in _partials/head-assets.html after every change. */
@font-face { font-family: "Big Shoulders Display"; src: url(/assets/fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/assets/fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/assets/fonts/public-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f7f5ef; --white: #ffffff; --night: #10223f; --night-2: #1d3560; --ink: #16202e; --muted: #56606e;
  --rule: #dcd7cb; --yellow: #f6c343; --yellow-soft: #fdf1cc; --red: #b8322a; --red-soft: #f8e1de;
  --green: #2c7a4b; --green-soft: #dcefe3;
  --r: 14px; --r-sm: 8px; --wrap: 72rem; --text: 44rem; --g: clamp(1rem, 4vw, 2rem);
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Public Sans", 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.5rem, 1.25rem + 1.1vw, 2.2rem);
  --s3: clamp(2rem, 1.4rem + 3vw, 3.6rem);
}
*, *::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.6 var(--f-body); }
main { flex: 1 0 auto; padding-bottom: 2rem; }
img, svg { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--night); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--night); }
:focus-visible { outline: 3px solid var(--yellow); 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: 2px solid var(--night); 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-body); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--night); }
h1 { font-size: var(--s3); letter-spacing: -.025em; }
h2 { font-size: var(--s2); margin-top: 1.6em; }
h3 { font-size: var(--s1); margin-top: 1.3em; }
p, ul, ol { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.kicker { font: 800 1.05rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--night); margin: 0 0 .5rem; }
.kicker a { color: inherit; }
.lead { font-size: var(--s1); max-width: 46rem; }
.note { color: var(--muted); font-size: var(--s--1); }
.more { font-weight: 700; margin-right: 1.2rem; white-space: nowrap; }
.more::after { content: " \2192"; }
.btn { display: inline-block; min-height: 44px; padding: .6rem 1.2rem; border-radius: 999px; background: var(--night); color: var(--white);
  font: 700 1rem/1.5 var(--f-body); text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--night-2); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--night); }
.btn--yellow:hover { background: #f2b51c; color: var(--night); }

/* header */
.site-header { background: var(--night); color: var(--white); position: relative; z-index: 5; border-bottom: 4px solid var(--yellow); }
.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: 52px; width: auto; display: block; }
.menu-toggle { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; background: var(--yellow); color: var(--night);
  border: 0; border-radius: 999px; font: 800 1.05rem var(--f-display); letter-spacing: .06em; cursor: pointer; }
.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: .2rem 1.3rem; flex-wrap: wrap; }
.site-nav__link { display: inline-block; padding: .55rem .1rem; font-weight: 700; color: var(--white); text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { border-bottom-color: var(--yellow); }
@media (max-width: 52rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); padding: .4rem var(--g) 1rem; border-bottom: 4px solid var(--yellow); }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; }
  .brand__logo { height: 42px; }
}

/* hero */
.hero { background: var(--night); color: var(--white); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 2rem; align-items: center; padding-top: 2.4rem; padding-bottom: 1.6rem; }
.hero h1 { color: var(--white); }
.hero .kicker { color: var(--yellow); }
.hero .lead { color: #dfe5ef; }
.hero__art img { width: 100%; max-width: 16rem; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.hero__more a { color: var(--white); font-weight: 700; }
@media (max-width: 52rem) { .hero__inner { grid-template-columns: 1fr; } .hero__art { display: none; } }

/* postcode search */
.search { margin: 1.2rem 0 .6rem; max-width: 34rem; }
.search__label { display: block; font: 800 1rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: .35rem; }
.panel .search__label { color: var(--night); }
.panel--night .search__label { color: var(--yellow); }
.search__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.search input { flex: 1 1 12rem; min-height: 52px; padding: .6rem 1rem; font: 700 1.25rem var(--f-body); letter-spacing: .04em; text-transform: uppercase;
  border: 3px solid var(--yellow); border-radius: var(--r-sm); background: var(--white); color: var(--night); }
.search button { min-height: 52px; padding: .6rem 1.3rem; border: 0; border-radius: var(--r-sm); background: var(--yellow); color: var(--night); font: 700 1.05rem var(--f-body); cursor: pointer; }
.search__result { display: grid; gap: .8rem; margin: .8rem 0 1.2rem; max-width: 40rem; color: var(--ink); }
.hit { background: var(--white); border-radius: var(--r); padding: 1rem 1.2rem; border-left: 8px solid var(--green); box-shadow: 0 8px 24px rgba(16,34,63,.18); }
.hit--alarm { border-left-color: var(--red); }
.hit__kicker { font: 800 .95rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.hit__name { margin: .1rem 0 .5rem; font-size: var(--s1); }
.hit__name span { display: block; font-size: var(--s--1); font-weight: 400; color: var(--muted); }
.hit__nums { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.hit__nums p { margin: 0; }
.hit__nums b { font: 800 2rem/1 var(--f-display); color: var(--night); margin-right: .2rem; }
.hit__change { color: var(--muted); margin: .5rem 0; }
.hit__msg { background: var(--white); color: var(--ink); border-radius: var(--r-sm); padding: .7rem 1rem; margin: 0; }

/* panels and numbers */
.page-head { padding: 1rem 0 .4rem; }
.panel { background: var(--white); border-radius: var(--r); padding: clamp(1rem, 3vw, 1.6rem); margin: 1.2rem 0; border: 1px solid var(--rule); }
.panel--night { background: var(--night); color: var(--white); border: 0; }
.panel--night .panel__h { color: var(--white); }
.panel__h { margin-top: 0; font-size: var(--s1); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.stat { border-top: 4px solid var(--night); padding-top: .5rem; }
.stat--quiet { border-top-color: var(--rule); }
.stat__label { font: 800 .95rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.stat__value { font: 800 clamp(2.6rem, 2rem + 2vw, 3.6rem)/1 var(--f-display); color: var(--night); margin: .15rem 0 .2rem; font-variant-numeric: tabular-nums; }
.stat__sub { margin: 0; color: var(--muted); font-size: var(--s--1); }
.trend { font-weight: 700; }
.trend--up { color: var(--red); }
.trend--down { color: var(--green); }

/* bars */
.bars { margin: 0; }
.bars figcaption { font: 800 .95rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.bars__plot { display: flex; align-items: flex-end; gap: 3px; height: 11rem; padding-top: 1.2rem; border-bottom: 2px solid var(--night); margin-bottom: 1.7rem; }
.bars__col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bars__bar { display: block; width: 100%; min-height: 2px; background: #9aa8bf; border-radius: 3px 3px 0 0; }
.bars__col.is-last .bars__bar { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--night); }
.bars__n { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bars__m { position: absolute; bottom: -1.4rem; font-size: .68rem; color: var(--muted); white-space: nowrap; }
.bars__col:nth-child(even) .bars__m { visibility: hidden; }
@media (max-width: 40rem) { .bars__n { display: none; } .bars__col .bars__m { visibility: hidden; } .bars__col:nth-child(6n+1) .bars__m, .bars__col.is-last .bars__m { visibility: visible; } }
.bars__table { margin-top: .4rem; font-size: var(--s--1); }
.bars__table summary { cursor: pointer; font-weight: 700; }
.bars__table table { border-collapse: collapse; margin-top: .5rem; }
.bars__table td, .bars__table th { padding: .25rem .8rem .25rem 0; border-bottom: 1px solid var(--rule); text-align: left; }

/* lists and tables */
.rank { padding-left: 1.6rem; columns: 2 18rem; column-gap: 2rem; }
.rank li { margin-bottom: .45rem; break-inside: avoid; }
.rank__v { font: 800 1.2rem var(--f-display); color: var(--night); margin-left: .3rem; }
.rank__n { color: var(--muted); font-size: var(--s--1); }
.az { columns: 3 13rem; column-gap: 2rem; }
.az__group { break-inside: avoid; margin-bottom: 1rem; }
.az__letter { font: 800 1.6rem/1 var(--f-display); color: var(--yellow); -webkit-text-stroke: 1px var(--night); margin: 0 0 .3rem; }
.az ul { list-style: none; margin: 0; padding: 0; }
.az li { padding: .15rem 0; }
.az__n { color: var(--muted); font-size: var(--s--1); font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--r); border: 1px solid var(--rule); }
.areas { width: 100%; border-collapse: collapse; min-width: 34rem; }
.areas th, .areas td { padding: .55rem .8rem; border-bottom: 1px solid var(--rule); text-align: left; }
.areas thead th { font: 800 .9rem var(--f-display); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.areas td.num, .areas thead th + th { text-align: right; }
.areas td.up { color: var(--red); font-weight: 700; }
.areas td.down { color: var(--green); font-weight: 700; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .35rem .8rem; background: var(--white); border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-weight: 700; }

/* buurt cards on the wijk page */
.buurten { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.buurt { background: var(--white); border-radius: var(--r); padding: 1rem 1.1rem; border: 1px solid var(--rule); border-top: 6px solid var(--green); scroll-margin-top: 1rem; }
.buurt--alarm { border-top-color: var(--red); }
.buurt:target { box-shadow: 0 0 0 4px var(--yellow); }
.buurt__name { margin: 0 0 .4rem; font-size: 1.15rem; }
.buurt__nums { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0 0 .3rem; font-size: var(--s--1); color: var(--muted); }
.buurt__nums b { font: 800 1.5rem/1 var(--f-display); color: var(--night); }
.buurt__change { font-size: var(--s--1); margin: 0 0 .4rem; }
.buurt__alert { margin: .5rem 0 0; font-size: var(--s--1); }
.strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin: .4rem 0 0; }
.strip__m { display: block; text-align: center; font-size: .7rem; line-height: 1.6rem; background: var(--paper); color: var(--muted); border-radius: 3px; font-variant-numeric: tabular-nums; }
.strip__m.is-on { background: var(--red-soft); color: var(--red); font-weight: 700; }
.strip__m:last-child { outline: 2px solid var(--night); outline-offset: -2px; }

/* alert sign-up */
.alert { background: var(--yellow); border-radius: var(--r); padding: clamp(1.1rem, 3vw, 1.8rem); margin: 1.6rem 0; color: var(--night); }
.alert__head { display: flex; gap: 1rem; align-items: flex-start; }
.alert__head img { width: 56px; flex: 0 0 56px; }
.alert h2 { margin: 0 0 .3rem; font-size: var(--s1); }
.alert__form { margin-top: .8rem; }
.alert__row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-bottom: .7rem; }
.alert__field { display: grid; gap: .25rem; flex: 0 1 10rem; font-weight: 700; font-size: var(--s--1); }
.alert__field--wide { flex: 1 1 16rem; }
.alert__field input, .alert__field select { min-height: 48px; padding: .5rem .8rem; font: 400 1rem var(--f-body); border: 2px solid var(--night); border-radius: var(--r-sm); background: var(--white); color: var(--ink); width: 100%; }
.alert .btn { min-height: 48px; }
.alert__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert__consent { font-size: var(--s--1); margin: 0; }
.alert__msg { margin: .6rem 0 0; padding: .5rem .8rem; border-radius: var(--r-sm); background: var(--white); font-weight: 700; }
.alert__msg.is-err { color: var(--red); }
.alert__msg.is-ok { color: var(--green); }
.alert__done { background: var(--white); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-top: .8rem; }
.alert__done-title { font: 800 1.8rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .4rem; }
.alert__done-small { font-size: var(--s--1); color: var(--muted); margin: 0; }

/* cta, tips, source */
.cta { background: var(--night); color: var(--white); border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.cta__title { font: 800 1.5rem/1.1 var(--f-display); letter-spacing: .03em; color: var(--yellow); margin: 0 0 .4rem; }
.cta__disc { font-size: var(--s--1); color: #c9d2e1; margin: .6rem 0 0; }
.tips { border-top: 4px solid var(--night); margin-top: 2rem; }
.tips ul { padding-left: 1.2rem; }
.tips li { margin-bottom: .45rem; }
.source { font-size: var(--s--1); color: var(--muted); border-top: 1px solid var(--rule); padding-top: .8rem; margin-top: 2rem; }

/* text pages */
.crumbs { font-size: var(--s--1); color: var(--muted); padding-top: 1.1rem; }
.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; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 2.4rem; align-items: start; }
.layout__aside { display: grid; gap: 1.2rem; position: sticky; top: 1rem; }
@media (max-width: 60rem) { .layout { grid-template-columns: 1fr; } .layout__aside { position: static; } }
.prose { max-width: var(--text); }
.prose--home { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose ul li, .prose ol li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; background: var(--white); }
.prose th, .prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { background: var(--yellow-soft); }
.prose .callout { background: var(--white); border-left: 6px solid var(--yellow); padding: .9rem 1.1rem; border-radius: var(--r-sm); }
.prose .steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.prose .steps li { counter-increment: s; background: var(--white); border-radius: var(--r); padding: 1rem 1.1rem; border: 1px solid var(--rule); }
.prose .steps li::before { content: counter(s); display: block; font: 800 2.4rem/1 var(--f-display); color: var(--yellow); -webkit-text-stroke: 1px var(--night); }
.aside-card { background: var(--white); border-radius: var(--r); padding: 1rem 1.1rem; border: 1px solid var(--rule); }
.aside-card--night { background: var(--night); color: var(--white); border: 0; }
.aside-card--night .btn { background: var(--yellow); color: var(--night); }
.aside-card__head { font: 800 1.15rem var(--f-display); letter-spacing: .05em; text-transform: uppercase; margin: 0 0 .5rem; }
.aside-card--night .aside-card__head { color: var(--yellow); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-bottom: 1px solid 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; }

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

/* footer */
.site-footer { background: var(--night); color: #dfe5ef; margin-top: 2rem; border-top: 4px solid var(--yellow); }
.site-footer a { color: var(--white); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2rem var(--g) 1rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer__logo { height: 40px; width: auto; margin-bottom: .8rem; }
.site-footer__head { font: 800 1.05rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin: 0 0 .4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer__small { max-width: var(--wrap); margin: 0 auto; padding: .8rem var(--g) 1.4rem; font-size: var(--s--1); color: #aab6c9; }
@media (max-width: 52rem) { .site-footer__inner { grid-template-columns: 1fr; } }
