/* PEIL Amsterdam - web estate v2 (VW-666 P3, S4). The approved P1 mockups
   and sites/DESIGN-RULES-WEB.md v2 govern this file. Colour literals live
   only in :root; every sentence is sans, headings are serif and mono is
   reserved for the estate's fixed registers. */
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plex-serif-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/plex-serif-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/plex-sans-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plex-mono-400-latin.woff2") format("woff2");
}

:root {
  --navy: #0d2b45; --navy-soft: #3a5570; --red: #e1251b;
  --paper: #f5f3ef; --paper-deep: #edeae2; --white: #ffffff;
  --line: rgba(13, 43, 69, .18); --line-strong: rgba(13, 43, 69, .4);
  --serif: "IBM Plex Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --size-ui: .9375rem; --size-body: 1.0625rem; --size-lead: 1.375rem;
  --size-h2: 1.875rem; --size-h1: clamp(2.5rem, 5.5vw, 3.75rem);
  --measure: 68ch; --section: 4.5rem; --radius: 10px;
  --label: 9rem; --label-wide: 13rem;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 var(--size-body)/1.55 var(--sans); }
a { color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--white); }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 20; padding: .7rem 1rem; border: 1px solid var(--line-strong); background: var(--white); font: 600 var(--size-ui) var(--sans); }
.skip-link:focus { top: 1rem; }
.wrap { width: min(1080px, calc(100% - 2.5rem)); margin: 0 auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { max-width: 16ch; font-size: var(--size-h1); line-height: 1.05; }
h2 { font-size: var(--size-h2); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.lead { max-width: 36rem; margin-top: 1.2rem; color: var(--navy-soft); font-size: var(--size-lead); line-height: 1.45; }
.tagline { margin-top: .8rem; color: var(--navy); font-family: var(--serif); font-size: 1.6rem; }
.kicker { margin: 0 0 .5rem; color: var(--navy-soft); font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.textlink { font: 600 var(--size-ui) var(--sans); }
.button { display: inline-block; padding: .85rem 1.5rem; border-radius: 8px; background: var(--red); color: var(--white); font: 600 var(--size-ui) var(--sans); text-decoration: none; }
.button:hover { background: var(--navy); }
section { padding: var(--section) 0 0; }
code { font-family: var(--mono); font-size: .92em; }

/* Fixed registers: values, dates, states, source lines and colophon lines. */
.bronregel, .standregel, .colofon, .impressum, .val, .waarde, .stand, .crumb, .eenheid, .code, .brand-url { font-family: var(--mono); }
.bronregel, .standregel, .colofon, .impressum, .crumb { color: var(--navy-soft); font-size: var(--size-ui); font-weight: 400; line-height: 1.5; }
.stand { color: var(--navy-soft); font-size: var(--size-ui); }
.row .stand { white-space: nowrap; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 80px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 700 1.35rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; }
.brand .dot { color: var(--red); }
.brand .je { font-weight: 400; }
.brand svg { display: block; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.site-nav a { font: 600 var(--size-ui) var(--sans); text-decoration: none; }
.site-nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.lang { display: inline-flex; gap: .15rem; margin-left: .6rem; padding-left: .9rem; border-left: 1px solid var(--line-strong); }
.lang a { padding: .15rem .35rem; color: var(--navy-soft); font: 600 .78rem var(--sans); letter-spacing: .06em; text-decoration: none; }
.lang a[aria-current] { color: var(--navy); text-decoration: underline; text-underline-offset: .3em; }

.hero { padding: 3.2rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
.hero .standregel { margin-top: 1rem; }

.rows { margin-top: 1.2rem; border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: var(--label-wide) 1fr auto; gap: 1.4rem; align-items: baseline; padding: 1.1rem .4rem; border-bottom: 1px solid var(--line); color: var(--navy); }
.row .wat { color: var(--navy-soft); }
.row h3 { font-size: 1.15rem; }

.feiten { margin-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.feit { display: grid; grid-template-columns: var(--label) 11rem 1fr; gap: .8rem 1.2rem; align-items: baseline; padding: .8rem .3rem; border-bottom: 1px solid var(--line); }
.feit .lbl { color: var(--navy-soft); }
.feit .waarde { color: var(--navy); }
.feit .bronregel { margin-top: .3rem; }
.feiten.breed .feit { grid-template-columns: var(--label-wide) 1fr; }
.feiten.breed .waarde { font-family: var(--serif); }
.kkd { max-width: 60rem; }
.kkd .feit { grid-template-columns: var(--label) 1fr; }
.kkd .feit .lbl { color: var(--navy); font: 600 var(--size-ui) var(--sans); }
.kkd .feit p + p { margin-top: .35rem; color: var(--navy-soft); font-size: var(--size-ui); }
.tijd .feit { grid-template-columns: 8rem 1fr; }

.band { margin-top: 2.4rem; padding: 2rem clamp(1.4rem, 4vw, 2.6rem); border-radius: var(--radius); background: var(--navy); color: var(--white); }
.band h2, .band h3 { color: var(--white); }
.band .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.2rem; }
.band .term { display: block; margin-bottom: .25rem; color: var(--white); font: 400 .9rem var(--mono); }
.band p { color: var(--white); font-size: var(--size-ui); opacity: .85; }

.folds { margin-top: 1rem; }
details { padding: .7rem .2rem; border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font: 600 1rem var(--sans); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--navy-soft); font: 400 1.1rem var(--mono); }
details[open] summary::after { content: "\2212"; }
details > *:not(summary) { max-width: 64ch; margin-top: .6rem; }
details p + p { margin-top: .5rem; }

.lijst { max-width: 40rem; margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.lijst.breed { max-width: var(--measure); }
.lijst li { padding: .7rem .2rem; border-bottom: 1px solid var(--line); }
.lijst li::before { display: inline-block; width: .45rem; height: .45rem; margin-right: .8rem; background: var(--navy); content: ""; }

footer.site { margin-top: var(--section); padding: 2rem 0 3rem; border-top: 1px solid var(--line-strong); }
footer.site .cols { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
footer.site .merk { font: 600 1.05rem var(--serif); }
footer.site .merk .dot { color: var(--red); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
footer.site nav a { font: 600 var(--size-ui) var(--sans); text-decoration: none; }
footer.site .impressum { margin-top: 1.4rem; }
footer.site .colofon { margin-top: .45rem; }

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .site-nav { gap: .8rem 1.1rem; }
  .row { grid-template-columns: 1fr; gap: .25rem; }
  .row .stand { white-space: normal; }
  .feit, .feiten.breed .feit, .kkd .feit, .tijd .feit { grid-template-columns: 1fr; gap: .2rem; }
  .band .cols3 { grid-template-columns: 1fr; }
}

.mt-08 { margin-top: .8rem; }
.measure { max-width: var(--measure); }
