/* ==========================================================================
   Bezinningsgroep Energie: component stylesheet (bge-*), "Cirkels" direction.
   Loads after tokens.css. Every value is a token, except the container-query
   widths (480 / 768 / 1024 / 1280 px = breakpoint tokens; @container cannot read var()).
   Brand colours come only from --color-brand-* and the generated scales, so a
   new logo palette re-themes everything without touching this file.
   ========================================================================== */

/* ---------- 0. Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--space-96); }
body {
  margin: 0; background: var(--color-surface-page); color: var(--color-text-primary);
  font-family: var(--font-serif); font-size: var(--font-size-body); line-height: var(--font-line-height-body);
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline: var(--border-focus-width) solid var(--color-focus-ring); outline-offset: var(--border-focus-offset); }
.bge-on-brand { --color-focus-ring: var(--color-focus-ring-on-brand); }
.bge-on-ink { --color-focus-ring: var(--color-focus-ring-on-dark); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; scroll-behavior: auto !important; } }
.bge-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bge-skip-link { position: absolute; left: var(--space-16); top: var(--space-16); z-index: var(--z-skip-link); transform: translateY(-200%); padding: var(--space-12) var(--space-20); border-radius: var(--radius-full); background: var(--color-surface-ink); color: var(--color-text-on-ink); font-family: var(--font-sans); font-weight: var(--font-weight-medium); text-decoration: none; }
.bge-skip-link:focus-visible { transform: none; }

/* ---------- 1. Type roles ------------------------------------------ */
.bge-display, .bge-h1, .bge-h2, .bge-h3, .bge-h4 { font-family: var(--font-sans); font-weight: var(--font-weight-medium); text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.bge-display { font-size: var(--font-size-display); line-height: var(--font-line-height-display); letter-spacing: var(--font-letter-spacing-display); }
.bge-h1 { font-size: var(--font-size-heading-1); line-height: var(--font-line-height-heading-1); letter-spacing: var(--font-letter-spacing-heading-1); }
.bge-h2 { font-size: var(--font-size-heading-2); line-height: var(--font-line-height-heading-2); letter-spacing: var(--font-letter-spacing-heading-2); }
.bge-h3 { font-size: var(--font-size-heading-3); line-height: var(--font-line-height-heading-3); }
.bge-h4 { font-size: var(--font-size-heading-4); line-height: var(--font-line-height-heading-4); }
.bge-eyebrow { display: flex; align-items: flex-start; gap: var(--space-12); font-family: var(--font-serif); font-size: var(--font-size-eyebrow); line-height: var(--font-line-height-eyebrow); letter-spacing: var(--font-letter-spacing-eyebrow); font-weight: var(--font-weight-regular); color: var(--color-text-primary); }
.bge-eyebrow::before { content: ""; flex: none; width: var(--size-eyebrow-dot); height: var(--size-eyebrow-dot); margin: calc((1lh - var(--size-eyebrow-dot)) / 2) var(--space-8) 0 0; border-radius: var(--radius-full); background: var(--color-motif-circle-2); box-shadow: var(--space-8) 0 0 var(--color-motif-circle-1); }
.bge-lead { font-family: var(--font-serif); font-size: var(--font-size-lead); line-height: var(--font-line-height-lead); }
.bge-body, .bge-prose { font-family: var(--font-serif); font-size: var(--font-size-body); line-height: var(--font-line-height-body); max-width: var(--layout-measure-body); }
.bge-prose > * + * { margin-top: var(--space-18); }
.bge-prose h2 { font-family: var(--font-sans); font-weight: var(--font-weight-medium); font-size: var(--font-size-heading-3); line-height: var(--font-line-height-heading-3); margin-top: var(--space-40); }
.bge-prose h3 { font-family: var(--font-sans); font-weight: var(--font-weight-medium); font-size: var(--font-size-heading-4); margin-top: var(--space-28); }
.bge-prose h2 + *, .bge-prose h3 + * { margin-top: var(--space-12); }
.bge-prose ul, .bge-prose ol { padding-left: 1.25em; }
.bge-prose blockquote { font-style: italic; font-size: var(--font-size-quote); line-height: var(--font-line-height-quote); padding-left: var(--space-24); border-left: var(--border-width-ring) solid var(--color-motif-ring-2); }
.bge-meta { font-family: var(--font-sans); font-size: var(--font-size-meta); line-height: var(--font-line-height-meta); font-weight: var(--font-weight-medium); font-variant-numeric: tabular-nums; }
.bge-caps { font-family: var(--font-sans); font-size: var(--font-size-caps); line-height: var(--font-line-height-caps); letter-spacing: var(--font-letter-spacing-caps); text-transform: uppercase; font-weight: var(--font-weight-semibold); }
.bge-small { font-family: var(--font-sans); font-size: var(--font-size-small); line-height: var(--font-line-height-small); }
.bge-secondary { color: var(--color-text-secondary); }
.bge-link, .bge-prose a { color: var(--color-text-link); text-underline-offset: 0.2em; text-decoration-thickness: var(--border-width-hairline); }
.bge-link:hover, .bge-prose a:hover { color: var(--color-text-link-hover); text-decoration-thickness: var(--border-width-strong); }
/* The price disc is excepted because it is not on the brand ground: it is a yellow
   circle on it, and white on yellow is the one pair this band must not produce. It
   keeps the ink its own rule gives it. */
.bge-on-brand a:not(.bge-button):not(.bge-price-disc), .bge-on-brand .bge-link { color: var(--color-text-on-brand); }

/* ---------- 2. Layout ---------------------------------------------- */
.bge-region { container-type: inline-size; }
.bge-container { width: 100%; max-width: calc(var(--layout-container-max) + 2 * var(--layout-gutter)); margin-inline: auto; padding-inline: var(--layout-gutter); }
.bge-section { padding-block: var(--layout-section-space); }
.bge-section--page { background: var(--color-surface-page); }
.bge-section--raised { background: var(--color-surface-raised); }
.bge-section--cool { background: var(--color-surface-cool); }
.bge-section--brand { background: var(--color-surface-brand); color: var(--color-text-on-brand); }
/* **A photograph as the ground of a section.** The image is an element rather than a CSS
   background, because the veil is a filter and a filter cannot be put on a background
   alone. `isolation` keeps the negative z-index inside this section, so the picture lands
   over the section's own colour and under everything in it; without it the image would
   slide behind the page and disappear. The colour underneath stays, which is what an
   image that is still loading shows. */
.bge-section--photo { position: relative; isolation: isolate; --section-photo-veil: 0; --section-photo-x: 50%; --section-photo-y: 50%; }
/* **A second veil, on top of the one that is already in the file, and only for looks.**
   Since 18 November 2026 the anonymising veil lives in the bytes of the photograph, which
   is what makes it a protection. This one is a sheet of the ground colour laid over the
   picture, nothing more, and it exists because a background has to sit behind text that
   must stay readable -- which is a different question from whether a face can be made out,
   and one the editor can answer per section.

   `--section-photo-veil` is 0 unless something sets it, so a section that does not ask for
   it is unchanged. `::after` rather than `::before`, because both it and the image sit at
   `z-index: -1` and what decides which is on top is tree order.

   It can only make a photograph paler, never sharper: the file it covers is already
   veiled, so the floor is the floor whatever the editor picks. Saying that plainly here,
   because a stylesheet that washes a photograph is what this site did until the veil moved
   into the file, and the difference between then and now is the whole point. */
.bge-section--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-surface-raised); opacity: var(--section-photo-veil); pointer-events: none; }
/* **`cover` crops, and something has to say where.** A section and a photograph rarely
   have the same shape, so part of the picture is always outside the frame, and the default
   is the middle -- the one choice that is never deliberate.

   **Both directions, and the second one is a correction.** This said at first that
   horizontal could stay centred because a section is wide. That holds on a desktop and is
   wrong on a telephone, where the hero is tall and narrow and a wide photograph loses its
   left and right instead of its top and bottom. The same picture therefore needs both
   ends of the decision, and the editor who places it is the one who knows which part
   matters. */
.bge-section__photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: var(--section-photo-x) var(--section-photo-y); }
.bge-section-head { display: grid; gap: var(--space-content-md); max-width: var(--layout-measure-intro); margin-bottom: var(--space-content-2xl); }
.bge-section-head p { font-family: var(--font-serif); font-size: var(--font-size-body); line-height: var(--font-line-height-body); color: var(--color-text-secondary); }
.bge-section--brand .bge-section-head p { color: var(--color-text-on-brand); }
.bge-split { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-48) var(--layout-content-gap); }
.bge-split > * { min-width: 0; }
/* A split whose art column is empty still reads from the right: without this the one
   child it has left sits at the start of the row, and a section that was meant to
   alternate with its neighbours looks like it forgot to. */
.bge-split--end { justify-content: flex-end; }

/* ---------- 3. Buttons -------------------------------------------- */
.bge-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  min-height: var(--button-height); padding: 0 var(--button-padding-x); border-radius: var(--button-radius);
  border: var(--border-width-hairline) solid transparent; text-decoration: none; cursor: pointer;
  font-family: var(--font-sans); font-size: var(--font-size-button); line-height: var(--font-line-height-button); font-weight: var(--font-weight-medium);
  transition: background-color var(--duration-fast) var(--easing-standard), border-color var(--duration-fast) var(--easing-standard);
}
.bge-button svg { width: var(--size-icon-md); height: var(--size-icon-md); flex: none; }
.bge-button--primary { background: var(--button-primary-background); color: var(--button-primary-text); }
.bge-button--primary:hover, .bge-button--primary.is-hover { background: var(--button-primary-background-hover); }
.bge-button--primary:active { background: var(--color-action-primary-active); }
.bge-button--accent { background: var(--button-accent-background); color: var(--button-accent-text); }
.bge-button--accent:hover, .bge-button--accent.is-hover { background: var(--button-accent-background-hover); }
.bge-button--accent:active { background: var(--color-action-accent-active); }
.bge-button--secondary { background: var(--button-secondary-background); color: var(--button-secondary-text); border-color: var(--button-secondary-border); }
.bge-button--secondary:hover, .bge-button--secondary.is-hover { background: var(--color-action-secondary-hover); }
.bge-button--on-brand { background: var(--button-on-brand-background); color: var(--button-on-brand-text); font-weight: var(--font-weight-semibold); }
.bge-button--on-brand:hover, .bge-button--on-brand.is-hover { background: var(--color-action-on-brand-hover); }
.bge-button--sm { min-height: var(--size-control-height-sm); padding-inline: var(--space-20); font-size: var(--font-size-navigation); }
.bge-button--block { width: 100%; }
.bge-button:disabled, .bge-button[aria-disabled="true"] { background: var(--color-action-disabled); color: var(--color-action-on-disabled); border-color: var(--color-action-disabled); cursor: not-allowed; }
.is-focus { outline: var(--border-focus-width) solid var(--color-focus-ring); outline-offset: var(--border-focus-offset); }
.bge-actions { display: flex; flex-wrap: wrap; gap: var(--space-12); }
@container (max-width: 479px) { .bge-actions--stack > .bge-button { width: 100%; } }

/* ---------- 4. Header ---------------------------------------------- */
.bge-header { background: var(--color-surface-page); font-family: var(--font-sans); }
.bge-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-12) var(--space-32); padding-block: var(--space-16); }
.bge-logo img { height: var(--size-logo-header-sm); width: auto; }
.bge-nav { display: none; }
.bge-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--header-gap-pill); }
.bge-nav__link { display: inline-flex; align-items: center; min-height: var(--size-touch-target); padding: var(--nav-pill-padding-y) var(--nav-pill-padding-x); border-radius: var(--radius-full); color: var(--color-text-primary); text-decoration: none; font-size: var(--font-size-navigation); font-weight: var(--font-weight-medium); }
.bge-nav__link:hover, .bge-nav__link[aria-current] { background: var(--nav-pill-background-hover); }
.bge-event-pill { display: inline-flex; align-items: center; gap: var(--space-10); min-height: var(--size-control-height-sm); padding: 0 var(--space-16) 0 var(--space-6); border-radius: var(--radius-full); background: var(--color-surface-raised); color: var(--color-text-primary); text-decoration: none; font-size: var(--font-size-navigation); font-weight: var(--font-weight-medium); }
.bge-date-dot { display: grid; place-items: center; width: var(--size-date-dot); height: var(--size-date-dot); border-radius: var(--radius-full); background: var(--color-surface-accent); color: var(--color-text-on-accent); font-size: var(--font-size-helper); font-weight: var(--font-weight-semibold); flex: none; }
.bge-header__end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--header-gap-group); }
.bge-header__end .bge-event-pill { display: none; }
/* Lid worden + Inloggen: two equal pills (the wider label sets both widths) */
.bge-header__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--header-gap-group); }
.bge-menu-toggle { display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--size-touch-target); padding: 0 var(--space-16); border: var(--border-width-hairline) solid var(--color-border-strong); border-radius: var(--radius-full); background: var(--color-surface-raised); cursor: pointer; font-family: var(--font-sans); font-weight: var(--font-weight-medium); font-size: var(--font-size-navigation); }
.bge-menu-toggle svg { width: var(--size-icon-md); height: var(--size-icon-md); }
.bge-menu-toggle .bge-icon-close { display: none; }
.bge-menu-toggle[aria-expanded="true"] .bge-icon-close { display: block; }
.bge-menu-toggle[aria-expanded="true"] .bge-icon-menu { display: none; }
.bge-mobile-nav { padding-bottom: var(--space-24); }
.bge-mobile-nav[hidden] { display: none; }
.bge-mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.bge-mobile-nav a.bge-nav__link { width: 100%; background: var(--color-surface-raised); padding-inline: var(--space-20); }
.bge-mobile-nav .bge-event-pill { width: 100%; margin-top: var(--space-6); }
/* < 768: row 1 = logo + Menu, row 2 = Lid worden + Inloggen side by side */
@container (max-width: 767px) {
  .bge-header__bar { row-gap: var(--space-12); }
  .bge-header__end { display: contents; }
  .bge-menu-toggle { order: 1; margin-left: auto; }
  .bge-header__actions { order: 2; flex-basis: 100%; }
}
@container (min-width: 768px) { .bge-logo img { height: var(--size-logo-header); } }
@container (min-width: 1024px) { .bge-header__end .bge-event-pill { display: inline-flex; } }
@container (min-width: 1280px) {
  .bge-header__bar { column-gap: var(--header-gap-bar); flex-wrap: nowrap; }
  .bge-header__end { flex-wrap: nowrap; }
  .bge-nav { display: block; }
  .bge-menu-toggle, .bge-mobile-nav { display: none !important; }
}

/* ---------- 5. Hero: text + circle composition + event card ---------- */
.bge-hero { padding-block: var(--space-32) var(--layout-section-space); }
.bge-hero__text { flex: 1 1 var(--layout-hero-text-basis); max-width: var(--layout-hero-text-max); display: grid; gap: var(--space-content-lg); }
.bge-hero__text .bge-actions { margin-top: var(--space-8); }
.bge-hero__art { position: relative; flex: 1 1 var(--layout-split-art-basis); aspect-ratio: var(--ratio-hero-art); max-width: var(--size-hero-art); min-width: var(--layout-hero-art-min); }
.bge-circle { position: absolute; aspect-ratio: var(--ratio-square); border-radius: var(--radius-full); overflow: hidden; }
.bge-circle img { width: 100%; height: 100%; object-fit: cover; }
/* **A white veil over both photographs of people**, asked for on 11 November 2026 so the
   faces in them recede. One rule for the two so they cannot be washed out differently:
   the meeting photograph in the hero and the location photograph by the contact details.

   **Contrast down first, then brightness up**, and in that order it is a veil rather than
   a brighter photograph. Lifting the brightness alone was tried and did the opposite of
   what was wanted: the hero picture is a dark room, so it simply came out correctly
   exposed and the faces grew clearer. Flattening the contrast to under a third collapses
   the picture towards one tone and the brightness then carries that tone to near-white.

   Not a white layer over the top: a layer needs an element, and the contact photograph
   *is* the `<img>` with nowhere to put one. Dropping the opacity instead would blend each
   photograph into whatever sits behind it -- near-white in the hero, brand blue at the
   contact details -- which is a white veil on one and a blue one on the other. Washing
   the pixels themselves is the same veil wherever the photograph sits.

   `docs/CONTENT-PROVENANCE.md` has the standing question this answers in part -- about
   thirty faces are recognisable in the hero photograph and whether they agreed is not
   settled. **This washes out; it does not anonymise.** A pale face is a face. Blur is
   what makes somebody unrecognisable, and consent is what makes it allowed. */
/* **The veil moved into the files on 18 November 2026** and is not repeated here. It was
   `filter: contrast(0.28) brightness(1.7)`, which washed the picture out on screen and
   left the upload untouched on the server -- so the original came back in full by opening
   the `src`. `bge_veil_attachment()` now rewrites the file itself. Applying the filter as
   well would wash a washed photograph a second time, and an unveiled one would be shown
   clean, which is the failure this is here to prevent: better that it is visible than
   that it is hidden by a stylesheet. */
.bge-circle--photo { left: 30%; top: 0; width: 62%; --circle-photo-veil: 0; --circle-photo-x: 50%; --circle-photo-y: 50%; }
/* A circle is the hardest frame to centre by accident: it is square, most photographs are
   not, and it then rounds off what is left. So it gets the same two ends as a background. */
.bge-circle--photo img { object-position: var(--circle-photo-x) var(--circle-photo-y); }
/* The same dimmer as a section background, on the circle at the top of the page. Inside
   the circle, so it is under the two brand circles that multiply over it and the order of
   the composition does not change. 0 unless the editor says otherwise. */
.bge-circle--photo::after { content: ""; position: absolute; inset: 0; background: var(--color-surface-raised); opacity: var(--circle-photo-veil); pointer-events: none; }
.bge-circle--primary { left: 0; top: 34%; width: 50%; background: var(--color-motif-circle-1); mix-blend-mode: multiply; opacity: 0.9; }
.bge-circle--accent { left: 42%; top: 46%; width: 46%; background: var(--color-motif-circle-2); mix-blend-mode: multiply; opacity: 0.88; }
.bge-event-card { position: absolute; z-index: var(--z-raised); right: 0; bottom: 0; display: grid; gap: var(--space-2); padding: var(--event-card-padding-y) var(--event-card-padding-x); border-radius: var(--event-card-radius); background: var(--event-card-background); color: var(--event-card-text); text-decoration: none; font-family: var(--font-sans); }
.bge-event-card__label { color: var(--event-card-label); }
.bge-event-card__date { font-size: var(--font-size-event-date); line-height: var(--font-line-height-event-date); font-weight: var(--font-weight-medium); }
.bge-event-card:hover .bge-event-card__date { text-decoration: underline; text-underline-offset: 0.15em; }
@container (max-width: 479px) { .bge-event-card { position: relative; right: auto; bottom: auto; margin-top: 92%; } .bge-hero__art { aspect-ratio: auto; min-height: 0; } }

/* ---------- 6. Quote disc + text ------------------------------------- */
/* **Capped at its own basis since 17 November 2026, not at --size-quote-disc.** The three
   member quotes moved into this section that day and BGE asked for the circle to come down
   a size or go altogether if the section got busy. It stays, because it is the only
   picture here and the page's rhythm counts on it, but at 380 rather than 505 it reads as
   the motto beside the text instead of as the subject of the section. The cap is the
   column basis this element already flexes on, so there is no new number anywhere. */
.bge-quote-disc { flex: 1 1 var(--layout-split-art-basis); max-width: var(--layout-split-art-basis); aspect-ratio: var(--ratio-square); border-radius: var(--radius-full); background: var(--quote-disc-background); color: var(--color-text-on-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-16); text-align: center; padding: var(--quote-disc-padding); }
.bge-quote-disc blockquote { font-family: var(--font-serif); font-style: italic; font-size: var(--font-size-quote); line-height: var(--font-line-height-quote); }
.bge-quote-disc figcaption { color: var(--quote-disc-caption); }
/* **Three photographs that overlap**, in the art column of a split, asked for on
   18 November 2026 when the activiteiten heading moved to the right and left the column
   empty. A square box with three squares placed inside it by percentage: no length here
   is a number of pixels, so the whole thing scales with the column it sits in and there
   is nothing to promote to a token.

   The stack reads back to front -- first photograph behind, third in front -- and each is
   a degree or so off the horizontal, which is what keeps three squares from reading as a
   table. The same tilt the quote cards had when they lay over the member web.

   `aria-hidden` on the container and empty alt on each: see parts/collage.php. */
.bge-collage { flex: 1 1 var(--layout-split-art-basis); max-width: calc(var(--layout-split-art-basis) * 1.5); position: relative; aspect-ratio: var(--ratio-square); }
.bge-collage__photo { position: absolute; width: 58%; aspect-ratio: var(--ratio-square); object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); background: var(--color-surface-raised); }
.bge-collage__photo:nth-child(1) { left: 0; top: 2%; rotate: -2.5deg; }
.bge-collage__photo:nth-child(2) { right: 0; top: 16%; rotate: 2deg; }
.bge-collage__photo:nth-child(3) { left: 16%; bottom: 0; rotate: -1deg; }
/* One photograph fills the column it is given rather than hiding in a corner of it, and
   two share it. Only three make a stack. */
.bge-collage__photo:only-child { position: static; width: 100%; rotate: 0deg; }
.bge-collage:has(.bge-collage__photo:nth-child(2):last-child) .bge-collage__photo { width: 66%; }
.bge-split__text { flex: 1.2 1 var(--layout-split-text-basis); max-width: var(--layout-split-text-max); display: grid; gap: var(--space-18); }
.bge-split__text p { font-size: var(--font-size-body); line-height: var(--font-line-height-body); }

/* ---------- 7. People (board) ---------------------------------------- */
.bge-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--size-card-min)), 1fr)); gap: var(--space-32) var(--layout-grid-gap); text-align: center; font-family: var(--font-sans); }
/* **Both columns start at the top**, asked for on 18 November 2026: the text belongs
   under the title it follows, and centring it against four portraits pushed it half a
   screen down the page. The portraits are the shorter column now and sit where they
   begin. The membership band below still centres its circle, which is a different
   question: there the circle is an ornament beside a paragraph, not the thing being
   read. */
.bge-mensen { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-48) var(--space-72); }
/* The column the member web used to fill, holding the section's text since 18 November
   2026. Capped at the measure the section head uses, or a paragraph in a column this wide
   runs to a line nobody can follow back. `.bge-mensen` centres its columns against one
   another, which is what sets the four portraits level with the middle of the text. */
.bge-mensen__text { flex: 3 1 var(--layout-band-main-basis); max-width: var(--layout-measure-intro); display: grid; gap: var(--space-content-md); }
.bge-mensen__text p { font-family: var(--font-serif); font-size: var(--font-size-body); line-height: var(--font-line-height-body); color: var(--color-text-secondary); }
/* Kept for the day the web comes back; nothing renders it at the moment. */
.bge-mensen__web { flex: 3 1 var(--layout-band-main-basis); display: grid; justify-items: center; align-items: center; }
/* Narrower than the basis it flexes on, so the four portraits come out at about 126
   instead of 156: the whole section was asked to come down a size on 9 November 2026 and
   the portraits size themselves off this column, not off a width of their own. */
.bge-mensen__people { flex: 2 1 var(--layout-band-aside-basis); max-width: var(--layout-field-basis); }
.bge-people--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bge-people--compact .bge-person__name { font-size: var(--font-size-label); line-height: var(--font-line-height-body); }
.bge-people--compact .bge-person__role { font-size: var(--font-size-helper); }
.bge-people--compact .bge-person__photo { width: min(100%, calc(var(--size-portrait) * 0.75 * 0.75)); }
/* **Grey, and only here.** The four portraits are the one place on this site where a
   photograph shows a named person on purpose, so they are deliberately not veiled -- see
   docs/SECURITY.md under (c). Taking the colour out is therefore a plain design choice and
   not a protection: at this size four different photographs, taken in four different rooms
   with four different white balances, read as four colour casts before they read as four
   people. */
.bge-people--compact .bge-person__photo img { filter: grayscale(1); }
.bge-web { display: block; width: 100%; max-width: var(--size-auth-circle-1); height: auto; }
.bge-web__links line { stroke: var(--color-border-subtle); stroke-width: var(--border-width-hairline); }
.bge-web__node { fill: var(--color-motif-tint-3); }
/* The web keeps the size the quote cards gave it. It filled its whole column until
   9 November 2026 -- 772 wide at 1440 -- and that made the section the tallest on the page
   for a picture that is a background; the cards have gone and the restraint stays. */
.bge-mensen__web .bge-web { max-width: var(--size-quote-disc); }
/* The organisations, under the two columns and across the whole section. The space above
   them is the one a section head leaves: they are a part of the section in their own
   right, not a footnote to the portraits beside them. */
/* Inside the text column since 18 November 2026, so the names take the width of the
   paragraph that introduces them rather than the width of the page. Centred across the
   whole section they read as a second block; here they are the close of the sentence
   above them. */
.bge-mensen__orgs { display: grid; gap: var(--space-content-md); }
/* **Three across, under the text of the kennis- en netwerkgroep.** They were a scatter
   over the member web until 17 November 2026 -- two left, one right, each off the
   horizontal by a degree -- which is a composition that needs the mesh under it to be
   worth anything. On a plain ground a row reads better than a tilt, so the rotation and
   the two-column placement are gone with the web.

   `auto-fit` down to the card minimum rather than a query: three cards where there is
   room, fewer where there is not, and no breakpoint to keep in step with the section. */
.bge-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-20); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--size-card-min)), 1fr)); font-family: var(--font-sans); }
.bge-quotes > li { display: grid; }
/* What follows a split gets the space a section head leaves under itself: the quotes in
   the kennis- en netwerkgroep, and since 18 November 2026 the timeline, which until
   then followed a section head that brought its own margin. */
.bge-split + .bge-quotes, .bge-split + .bge-timeline { margin-top: var(--space-content-2xl); }
.bge-quote-card { margin: 0; padding: var(--space-20) var(--space-24); display: grid; gap: var(--space-16); background: var(--color-surface-raised); border: var(--border-width-hairline) solid var(--color-border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); }
/* Source Serif 4 italic, which is what the design system sets a quotation in: the same
   face, style and line height QuoteDisc uses for the motto. The body step and not
   --font-size-quote, because that one is drawn for a 520 circle with one sentence in it
   and these cards are a third as wide. It was the small body step until 17 November 2026,
   when the cards came off the member web into a row of their own and could carry a size
   more. */
.bge-quote-card blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: var(--font-size-body); line-height: var(--font-line-height-quote); }
.bge-quote-card figcaption { color: var(--color-text-muted); }
/* **A card with nothing under the sentence centres it**, asked for on 17 November 2026.
   With a name and an organisation beneath it the quote is the top half of something and
   reads from the left like any other text; without them the sentence is the whole card,
   and ragged against the top-left of a box sized by the longest of its neighbours it looks
   like it fell there. The card answers this from its own content, so the partial does not
   have to pass a modifier it could forget. */
.bge-quote-card:not(:has(figcaption)) { align-content: center; text-align: center; }
.bge-web__node--1 { fill: var(--color-motif-ring-1); }
.bge-web__node--2 { fill: var(--color-motif-ring-2); }
.bge-web__node--3 { fill: var(--color-motif-ring-3); }
.bge-web__node--4 { fill: var(--color-motif-ring-4); }
/* A column rather than a grid, so the role can be pushed to the foot of the card. The
   cards in a row are stretched to the same height by the grid above, so a role at the
   foot of one is level with the role at the foot of the next -- which is what makes
   "Vaste gespreksleider" sit where "Penningmeester" sits even though the name above it
   runs to two lines. Spare height is created only when a sibling is taller, so at widths
   where no name wraps the cards look exactly as they did. */
.bge-person { display: flex; flex-direction: column; align-items: center; gap: var(--space-14); }
.bge-person__photo { width: min(100%, var(--size-portrait)); aspect-ratio: var(--ratio-square); border-radius: var(--radius-full); overflow: hidden; outline: var(--border-width-ring) solid var(--color-border-subtle); outline-offset: var(--portrait-ring-offset); }
.bge-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.bge-person__name { font-size: var(--font-size-heading-3); font-weight: var(--font-weight-medium); line-height: var(--font-line-height-heading-3); }
/* The foot of the card, and the whole of the alignment. It holds for names of any
   length; what it cannot do is line up the first line of two roles of different
   lengths, because then it is their last lines that meet. Subgrid would do both and
   was refused: in a subgridded axis the parent's row-gap replaces the card's own, so
   the space between photo, name and role would become the space between people. */
.bge-person__role { color: var(--color-text-secondary); margin-top: auto; }

/* ---------- 8. Membership band -------------------------------------- */
.bge-membership { display: flex; flex-wrap: wrap; gap: var(--space-48) var(--space-72); }
.bge-membership__main { flex: 3 1 var(--layout-band-main-basis); display: grid; gap: var(--space-20); align-content: start; }
/* The mail button moved into this column on 18 November 2026, and a grid item stretches:
   without this it would be a button as wide as the paragraph above it. */
.bge-membership__main .bge-button { justify-self: start; }
.bge-membership__join { flex: 2 1 var(--layout-band-aside-basis); align-self: center; display: grid; justify-items: center; gap: var(--space-20); text-align: center; }
/* **The band with nothing in its left column.** The organisations and the sentence that
   introduced them moved to the mensen section on 17 November 2026, and without a paragraph
   of its own the main column is a heading beside a lot of blue. So when there is no text
   the two columns become one invitation down the middle: the title over the circle, the
   circle over the words, and the band says the one thing it is still for. The partial
   decides, because it is the only place that knows whether the paragraph is there. */
.bge-membership--invite { justify-content: center; text-align: center; }
.bge-membership--invite .bge-membership__main { flex-basis: 100%; justify-items: center; gap: 0; }
.bge-membership--invite .bge-membership__join { flex-basis: auto; }
.bge-org-pills { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-8); font-family: var(--font-sans); font-size: var(--font-size-pill); font-weight: var(--font-weight-medium); }
.bge-org-pills li { padding: var(--org-pill-padding-y) var(--org-pill-padding-x); border-radius: var(--radius-full); border: calc(var(--border-width-hairline) * 2) solid var(--color-motif-ring-1); }
.bge-org-pills li:nth-child(4n+2) { border-color: var(--color-motif-ring-2); }
.bge-org-pills li:nth-child(4n+3) { border-color: var(--color-motif-ring-3); }
.bge-org-pills li:nth-child(4n+4) { border-color: var(--color-motif-ring-4); }
/* On blue the pill is filled rather than outlined. As a white outline with white text it
   was readable only in the sense that the letters were there -- "lijkt moeite kosten
   (energie) om te lezen", the board, 8 November 2026 -- and these are the organisations
   the membership comes from, which is not decoration. */
.bge-on-brand .bge-org-pills li { background: var(--color-surface-raised); color: var(--color-text-primary); border-color: var(--org-pill-border); }
/* And on a photograph, for the same reason they are filled on the blue band: a hairline
   outline disappears into a picture, and thirty-two names with no shape left around them
   stop being a list and become a paragraph of fragments. */
.bge-section--photo .bge-org-pills li { background: var(--color-surface-raised); }
/* The circle becomes a sun when you hover it: twelve yellow pills come out from behind
   the disc, evenly round, and the disc is the core. Asked for on 11 November 2026.

   **Each ray is a pill at the centre that rotates and then moves out**, and the rotation
   is on the pill itself rather than on a box around it. That is not a style choice. A
   wrapper the size of the disc, rotated, has corners further from the centre than any ray
   -- 203 against 161 at 375 -- and the browser counts a transformed box's corners as
   scrollable overflow even where nothing is painted. The page scrolled sideways by 16 on
   hover with nobody able to see why. A pill is 3 by 11 per cent, so its own corners are
   nowhere.

   The translate is a percentage of the pill's own height, which is a percentage of the
   box, so the whole sun scales with the circle: 363 per cent of 11 is 40 per cent of the
   box, 540 is 59.4. At rest the far end sits inside the rim; on hover it stands clear of
   it. The disc keeps its full --size-price-disc and the rays are extra, which is the
   order the owner asked for.

   The `margin-block` is the room the rays need vertically -- a ray is positioned, so it
   paints over a neighbour rather than pushing it away. Sideways it reaches into the
   column gap, which is wider than it needs. On a narrow container there is no such gap,
   so the query at the foot of this block brings the whole sun down a size. Hovering returns it to full length and the tip appears.
   Scaling one transform is cheaper than animating a length, and it keeps every ray the
   same distance out however wide the circle is drawn.

   Decorative, and `aria-hidden` in the markup: hovering is the only way to see this, so
   nothing may depend on it. The global reduced-motion rule zeroes the duration, which
   leaves the sun without the animation rather than without the sun. */
/* **The sun as a whole takes the room the circle had**, rather than the circle keeping
   it and the rays reaching into the paragraph underneath. The box is still
   --size-price-disc; the disc inside it gives up a fifth of that to the rays. So
   nothing around it moves, and the circle comes out a size smaller, which is the
   other half of what review item 06 asked for. */
.bge-sun { position: relative; display: grid; place-items: center; width: min(100%, var(--size-price-disc)); aspect-ratio: var(--ratio-square); margin-block: var(--space-48); }
/* The disc keeps the size it always had and the rays live outside it, which is what
   was asked for on 11 November 2026: the sun is the circle plus its rays, not a
   circle that gave up a ring to make room. */
.bge-sun .bge-price-disc { width: 100%; position: relative; z-index: 1; text-decoration: none; }
/* The focus ring is yellow on this band, and the disc is yellow. Ink instead. */
a.bge-price-disc { --color-focus-ring: var(--color-border-strong); }
.bge-sun__rays { position: absolute; inset: 0; pointer-events: none; }
.bge-sun__rays span { position: absolute; left: 50%; top: 50%; width: 3%; height: 11%; margin: -5.5% 0 0 -1.5%; border-radius: var(--radius-full); background: var(--color-surface-accent); transform: rotate(var(--bge-ray, 0deg)) translateY(-363%); transition: transform var(--duration-base) var(--easing-standard); }
.bge-sun:hover .bge-sun__rays span, .bge-sun:focus-within .bge-sun__rays span { transform: rotate(var(--bge-ray, 0deg)) translateY(-540%); }
/* Below this the column is the whole page and a ray has nowhere to overhang into. */
@container (max-width: 480px) { .bge-sun { width: min(70%, var(--size-price-disc)); } }
.bge-sun__rays span:nth-child(1) { --bge-ray: 0deg; }
.bge-sun__rays span:nth-child(2) { --bge-ray: 18deg; }
.bge-sun__rays span:nth-child(3) { --bge-ray: 36deg; }
.bge-sun__rays span:nth-child(4) { --bge-ray: 54deg; }
.bge-sun__rays span:nth-child(5) { --bge-ray: 72deg; }
.bge-sun__rays span:nth-child(6) { --bge-ray: 90deg; }
.bge-sun__rays span:nth-child(7) { --bge-ray: 108deg; }
.bge-sun__rays span:nth-child(8) { --bge-ray: 126deg; }
.bge-sun__rays span:nth-child(9) { --bge-ray: 144deg; }
.bge-sun__rays span:nth-child(10) { --bge-ray: 162deg; }
.bge-sun__rays span:nth-child(11) { --bge-ray: 180deg; }
.bge-sun__rays span:nth-child(12) { --bge-ray: 198deg; }
.bge-sun__rays span:nth-child(13) { --bge-ray: 216deg; }
.bge-sun__rays span:nth-child(14) { --bge-ray: 234deg; }
.bge-sun__rays span:nth-child(15) { --bge-ray: 252deg; }
.bge-sun__rays span:nth-child(16) { --bge-ray: 270deg; }
.bge-sun__rays span:nth-child(17) { --bge-ray: 288deg; }
.bge-sun__rays span:nth-child(18) { --bge-ray: 306deg; }
.bge-sun__rays span:nth-child(19) { --bge-ray: 324deg; }
.bge-sun__rays span:nth-child(20) { --bge-ray: 342deg; }
.bge-price-disc { width: min(100%, var(--size-price-disc)); aspect-ratio: var(--ratio-square); border-radius: var(--radius-full); background: var(--price-disc-background); color: var(--price-disc-text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-6); text-align: center; padding: var(--space-40); font-family: var(--font-sans); }
/* The invitation is the circle's subject and the fee is a detail of it, which is the
   other way round from how this was drawn. Asked for on 11 November 2026: "Lid worden mag
   aandacht en groot in de gele bol, maar het bedrag moet subtiel klein genoemd worden."
   --font-size-price is no longer used by anything; it stays a token because the scale is
   generated, and nothing is hand-edited out of it. */
.bge-price-disc__call { font-size: var(--font-size-heading-2); line-height: var(--font-line-height-heading-2); font-weight: var(--font-weight-medium); }
.bge-price-disc__amount { font-size: var(--font-size-body); line-height: var(--font-line-height-body); font-variant-numeric: lining-nums; }

/* ---------- 9. Timeline -------------------------------------------- */
.bge-timeline { position: relative; list-style: none; margin: 0; padding: var(--space-12) 0 var(--space-16); display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; gap: var(--space-32) 0; font-family: var(--font-sans); scrollbar-width: thin; scrollbar-color: var(--timeline-line) transparent; }
.bge-timeline::-webkit-scrollbar { height: var(--space-6); }
.bge-timeline::-webkit-scrollbar-track { background: transparent; }
.bge-timeline::-webkit-scrollbar-thumb { background: var(--timeline-line); border-radius: var(--radius-full); }
.bge-timeline__item { position: relative; flex: 0 0 var(--layout-timeline-item-basis); scroll-snap-align: start; padding-right: var(--space-24); display: grid; gap: var(--space-6); align-content: start; }
.bge-timeline__item::before { content: ""; position: absolute; left: 0; right: 0; top: var(--timeline-line-offset); height: var(--border-width-strong); background: var(--timeline-line); }
.bge-timeline__dot { position: relative; width: var(--size-timeline-dot); height: var(--size-timeline-dot); border-radius: var(--radius-full); background: var(--timeline-dot-past); margin-bottom: var(--space-12); }
.bge-timeline__item--next .bge-timeline__dot { background: var(--timeline-dot-upcoming); box-shadow: 0 0 0 var(--space-6) var(--timeline-halo); }
.bge-timeline__item--upcoming .bge-timeline__dot { background: var(--color-surface-raised); border: var(--border-width-dot) solid var(--timeline-dot-upcoming); }
.bge-timeline__date { font-weight: var(--font-weight-semibold); color: var(--timeline-date-past); }
.bge-timeline__item--next .bge-timeline__date, .bge-timeline__item--upcoming .bge-timeline__date { color: var(--timeline-date-upcoming); }
.bge-timeline__title { font-size: var(--font-size-heading-4); line-height: var(--font-line-height-heading-4); font-weight: var(--font-weight-medium); }
.bge-timeline__text { font-family: var(--font-serif); font-size: var(--font-size-body-small); color: var(--color-text-secondary); }
/* Time and place, under the speaker and quieter than it: review item 08 wants all four
   facts on the card, and a card that shouts all four shouts none. */
.bge-timeline__meta { font-size: var(--font-size-helper); color: var(--color-text-muted); }
/* ---------- 10. Contact band & footer --------------------------------- */
.bge-contact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-40) var(--space-80); padding-block: var(--layout-section-space-compact); }
.bge-contact__photo { flex: none; width: clamp(var(--layout-contact-photo-min), 18cqi, var(--size-contact-photo)); aspect-ratio: var(--ratio-square); border-radius: var(--radius-full); object-fit: cover; outline: var(--border-width-ring) solid var(--color-motif-ring-2); outline-offset: var(--portrait-ring-offset); }
.bge-contact__text { flex: 1 1 var(--layout-contact-text-basis); display: grid; gap: var(--space-16); }
.bge-contact address { flex: 0 1 var(--layout-band-aside-basis); font-family: var(--font-sans); font-size: var(--font-size-body-small); line-height: 1.75; }
.bge-footer { background: var(--footer-background); color: var(--color-text-on-brand); font-family: var(--font-sans); }
.bge-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-20); padding-block: var(--space-24) var(--space-32); border-top: var(--border-width-hairline) solid var(--color-border-on-brand-divider); font-size: var(--font-size-small); }
.bge-footer a { color: var(--color-text-on-brand); }
.bge-logo-tab { display: block; padding: var(--logo-tab-padding); border-radius: var(--logo-tab-radius); background: var(--footer-logo-tab); }
.bge-logo-tab img { height: var(--size-logo-footer); width: auto; }

/* ---------- 11. Forms ---------------------------------------------- */
.bge-form { display: grid; gap: var(--space-20); }
.bge-field { display: grid; gap: var(--space-8); min-width: 0; }
.bge-label { font-family: var(--font-sans); font-size: var(--font-size-label); line-height: var(--font-line-height-label); font-weight: var(--font-weight-medium); }
.bge-label__optional { font-weight: var(--font-weight-regular); color: var(--color-text-secondary); }
.bge-hint { font-family: var(--font-sans); font-size: var(--font-size-helper); line-height: var(--font-line-height-helper); color: var(--color-text-secondary); margin-top: calc(-1 * var(--space-4)); }
.bge-input, .bge-textarea { width: 100%; min-height: var(--input-height); padding: var(--space-12) var(--input-padding-x); border: var(--border-width-hairline) solid var(--color-border-control); border-radius: var(--input-radius); background: var(--color-surface-raised); font-family: var(--font-sans); font-size: var(--font-size-label); }
.bge-textarea { min-height: var(--size-textarea-min); resize: vertical; line-height: 1.55; }
.bge-input::placeholder, .bge-textarea::placeholder { color: var(--color-text-muted); opacity: 1; }
.bge-input:hover, .bge-textarea:hover, .bge-input:focus-visible, .bge-textarea:focus-visible { border-color: var(--color-border-strong); }
.bge-input[aria-invalid="true"], .bge-textarea[aria-invalid="true"] { border: var(--border-width-strong) solid var(--color-status-error); padding-inline: calc(var(--input-padding-x) - var(--border-width-hairline)); }
.bge-input.is-valid { border: var(--border-width-strong) solid var(--color-status-success); }
.bge-input:disabled { background: var(--color-surface-disabled); border-color: var(--color-border-disabled); color: var(--color-text-disabled); cursor: not-allowed; }
.bge-input[readonly] { background: var(--color-surface-cool); border-color: var(--color-border-subtle); }
.bge-field-message { display: flex; gap: var(--space-8); align-items: flex-start; font-family: var(--font-sans); font-size: var(--font-size-helper); font-weight: var(--font-weight-medium); }
.bge-field-message svg { width: var(--size-icon-md); height: var(--size-icon-md); flex: none; }
.bge-field-message--error { color: var(--color-text-error); }
.bge-field-message--success { color: var(--color-text-success); }
.bge-password { position: relative; }
.bge-password .bge-input { padding-right: var(--space-128); }
.bge-password__toggle { position: absolute; right: var(--space-6); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: var(--space-6); min-height: var(--size-touch-target); padding: 0 var(--space-12); border: 0; border-radius: var(--radius-full); background: transparent; color: var(--color-text-link); font-family: var(--font-sans); font-size: var(--font-size-helper); font-weight: var(--font-weight-medium); cursor: pointer; }
.bge-password__toggle:hover { background: var(--color-surface-primary-tint); }
.bge-password__toggle svg { width: var(--size-icon-md); height: var(--size-icon-md); }
.bge-password__toggle .bge-icon-eye-off { display: none; }
.bge-password__toggle[aria-pressed="true"] .bge-icon-eye-off { display: block; }
.bge-password__toggle[aria-pressed="true"] .bge-icon-eye { display: none; }
.bge-checkbox { display: grid; grid-template-columns: var(--size-checkbox) minmax(0, 1fr); gap: var(--space-12); align-items: start; min-height: var(--size-touch-target); padding-block: var(--space-8); font-family: var(--font-sans); font-size: var(--font-size-label); cursor: pointer; }
.bge-checkbox input { appearance: none; -webkit-appearance: none; margin: 0; width: var(--size-checkbox); height: var(--size-checkbox); border: var(--border-width-hairline) solid var(--color-border-control); border-radius: var(--radius-sm); background: var(--color-surface-raised); cursor: pointer; }
.bge-checkbox input:checked { background: var(--color-action-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / var(--space-18) no-repeat; border-color: var(--color-action-primary); }
.bge-checkbox input[aria-invalid="true"] { border: var(--border-width-strong) solid var(--color-status-error); }
.bge-checkbox input:disabled { background-color: var(--color-surface-disabled); cursor: not-allowed; }

/* ---------- 12. Feedback ------------------------------------------- */
.bge-alert { display: grid; grid-template-columns: var(--size-icon-md) minmax(0, 1fr); gap: var(--space-12); padding: var(--space-16) var(--space-20); border-radius: var(--radius-md); border: var(--border-width-hairline) solid; font-family: var(--font-sans); font-size: var(--font-size-label); line-height: 1.5; color: var(--color-text-primary); }
.bge-alert svg { width: var(--size-icon-md); height: var(--size-icon-md); margin-top: var(--space-2); }
.bge-alert__title { font-weight: var(--font-weight-medium); }
.bge-alert__body { display: grid; gap: var(--space-4); }
.bge-alert__body ul { margin: var(--space-4) 0 0; padding-left: 1.1em; }
.bge-alert--info { background: var(--color-status-info-surface); border-color: var(--color-status-info); } .bge-alert--info svg { color: var(--color-status-info); }
.bge-alert--success { background: var(--color-status-success-surface); border-color: var(--color-status-success); } .bge-alert--success svg { color: var(--color-status-success); }
.bge-alert--warning { background: var(--color-status-warning-surface); border-color: var(--color-status-warning); } .bge-alert--warning svg { color: var(--color-status-warning); }
.bge-alert--error { background: var(--color-status-error-surface); border-color: var(--color-status-error); } .bge-alert--error svg { color: var(--color-status-error); }
.bge-tag { display: inline-flex; align-items: center; gap: var(--space-6); padding: var(--space-4) var(--space-12); border-radius: var(--radius-full); border: var(--border-width-hairline) solid var(--color-border-subtle); background: var(--color-surface-raised); font-family: var(--font-sans); font-size: var(--font-size-helper); font-weight: var(--font-weight-medium); white-space: nowrap; }
.bge-tag svg { width: var(--size-icon-sm); height: var(--size-icon-sm); }
.bge-tag--upcoming { background: var(--color-surface-accent-tint); border-color: var(--color-status-warning); }
.bge-tag--success { background: var(--color-status-success-surface); border-color: var(--color-status-success); color: var(--color-text-success); }
.bge-empty { display: grid; justify-items: center; gap: var(--space-12); padding: var(--space-40) var(--space-24); text-align: center; border-radius: var(--radius-lg); background: var(--color-surface-cool); font-family: var(--font-sans); }
.bge-empty__icon { display: grid; place-items: center; width: var(--size-empty-icon); height: var(--size-empty-icon); border-radius: var(--radius-full); background: var(--color-surface-raised); }
.bge-empty__icon svg { width: var(--size-icon-lg); height: var(--size-icon-lg); color: var(--color-text-link); }
.bge-empty__title { font-size: var(--font-size-heading-4); font-weight: var(--font-weight-medium); }
.bge-empty p { color: var(--color-text-secondary); max-width: 34em; }

/* ---------- 13. Members area ---------------------------------------- */
.bge-auth { min-height: 100svh; display: grid; align-content: start; justify-items: center; gap: var(--space-20); padding: var(--space-32) var(--layout-gutter); background: var(--color-surface-page); position: relative; overflow: hidden; }
.bge-auth::before, .bge-auth::after { content: ""; position: absolute; border-radius: var(--radius-full); mix-blend-mode: multiply; pointer-events: none; }
.bge-auth::before { width: var(--size-auth-circle-1); height: var(--size-auth-circle-1); right: calc(-1 * var(--size-auth-circle-1) / 3); top: calc(-1 * var(--size-auth-circle-1) / 3.5); background: var(--color-motif-circle-1); opacity: 0.9; }
.bge-auth::after { width: var(--size-auth-circle-2); height: var(--size-auth-circle-2); left: calc(-1 * var(--size-auth-circle-2) * 0.4); bottom: calc(-1 * var(--size-auth-circle-2) * 0.37); background: var(--color-motif-circle-2); opacity: 0.88; }
@container (min-width: 768px) { .bge-auth { align-content: center; } }
.bge-auth__panel { position: relative; z-index: 1; width: 100%; max-width: var(--size-login-panel); padding: var(--space-28); border-radius: var(--radius-lg); background: var(--color-surface-raised); display: grid; gap: var(--space-20); }
@container (min-width: 480px) { .bge-auth__panel { padding: var(--space-40); } }
.bge-auth__panel .bge-logo { justify-self: center; }
.bge-auth__panel .bge-logo img { height: var(--size-logo-login); }
.bge-auth > .bge-back-link { position: relative; z-index: 1; min-height: var(--size-touch-target); padding: 0 var(--space-20); border-radius: var(--radius-full); background: var(--color-surface-raised); }
.bge-auth__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-12); font-family: var(--font-sans); font-size: var(--font-size-helper); }
.bge-auth__note { font-family: var(--font-sans); font-size: var(--font-size-helper); color: var(--color-text-secondary); padding-top: var(--space-20); border-top: var(--border-width-hairline) solid var(--color-border-subtle); }
.bge-back-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: var(--space-8); min-height: var(--size-touch-target); font-family: var(--font-sans); font-weight: var(--font-weight-medium); color: var(--color-text-link); text-decoration: none; }
.bge-back-link svg { width: var(--size-icon-sm); height: var(--size-icon-sm); }
.bge-back-link:hover { text-decoration: underline; }
/* Short viewports: the whole login screen, error message included, without scrolling.
   Measured on staging, 31 October 2026: at the generous spacing the document runs to
   nine hundred device pixels with no message and over a thousand with the longest one,
   against the six hundred to nine hundred fifty a laptop actually gives a page. A login
   screen that fits only when nothing went wrong fits on exactly the occasions nobody
   needed it to, so the error case sets the budget.
   (Written out in words because tools/check.py scans comments too, and a number followed
   by the unit reads to it as a literal that should have been a token.)
   --input-height and --button-height are component tokens, so they are given a different
   value inside this region rather than overriding the control rules. */
@media (max-height: 860px) {
.bge-auth { padding-block: var(--space-10); gap: var(--space-8); --input-height: var(--size-control-height-sm); --button-height: var(--size-control-height-sm); }
.bge-auth__panel { padding: var(--space-20); gap: var(--space-12); }
.bge-auth__panel .bge-logo img { height: var(--size-logo-header-sm); }
.bge-auth .bge-form { gap: var(--space-10); }
.bge-auth .bge-checkbox { min-height: 0; padding-block: 0; }
.bge-auth__links { font-size: var(--font-size-small); }
.bge-auth__note { padding-top: var(--space-10); font-size: var(--font-size-small); }
}
/* Genuinely cramped: a laptop with a bookmarks bar, or a half-height window. Here the
   sentence about how to obtain an account gives way to being able to reach the login
   button at all -- the same information is on the public page and in the invitation
   e-mail, and a visitor who cannot submit the form is worse off than one who has to ask. */
@media (max-height: 660px) {
.bge-auth { padding-block: var(--space-8); }
.bge-auth__panel { gap: var(--space-10); }
.bge-auth__note { display: none; }
}

.bge-portal { min-height: 100svh; background: var(--color-surface-page); font-family: var(--font-sans); container-name: portal; }
.bge-portal-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-12) var(--space-24); padding-block: var(--space-14); }
.bge-portal-header__brand { display: flex; align-items: center; gap: var(--space-16); }
.bge-portal-header__label { display: none; padding: var(--space-6) var(--space-14); border-radius: var(--radius-full); background: var(--color-surface-raised); font-size: var(--font-size-caps); letter-spacing: var(--font-letter-spacing-caps); text-transform: uppercase; font-weight: var(--font-weight-semibold); color: var(--color-text-link); }
.bge-portal-header__user { display: flex; align-items: center; gap: var(--space-12); }
.bge-portal-header__name { display: none; color: var(--color-text-secondary); font-size: var(--font-size-meta); }
@container (min-width: 768px) { .bge-portal-header__label, .bge-portal-header__name { display: inline-block; } }
.bge-member-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.bge-member-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); min-height: var(--size-meeting-dot); padding: var(--space-8); border-radius: var(--radius-md); background: var(--color-surface-raised); color: var(--color-text-primary); text-decoration: none; font-size: var(--font-size-helper); font-weight: var(--font-weight-medium); text-align: center; }
.bge-member-nav a svg { width: var(--size-icon-md); height: var(--size-icon-md); }
.bge-member-nav a[aria-current="page"] { background: var(--portal-nav-active); box-shadow: inset 0 0 0 var(--border-width-strong) var(--color-action-primary); }
/* "Terug naar website" is the only way out of the portal that is not signing out, and it
   was hidden below 1024: the sidebar showed it, the tile grid and the pill row did not. On
   a phone a member therefore had one exit, and it was the account action. Shown at every
   width since 2 November 2026, on its own row under the items and behind the same hairline
   the sidebar uses, so it still reads as separate from the three destinations above it. */
.bge-member-nav__secondary { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; margin-top: var(--space-16) !important; padding-top: var(--space-16) !important; border-top: var(--border-width-hairline) solid var(--color-border-subtle); }
.bge-portal__body { display: grid; gap: var(--space-24); padding-bottom: var(--layout-section-space); }
.bge-portal__main { min-width: 0; }
@container (min-width: 768px) { .bge-member-nav ul { display: flex; flex-wrap: wrap; } .bge-member-nav a { flex-direction: row; gap: var(--space-8); min-height: var(--size-control-height-sm); padding: 0 var(--space-20); border-radius: var(--radius-full); font-size: var(--font-size-navigation); } }
@container (min-width: 1024px) {
  .bge-portal__body { grid-template-columns: var(--size-portal-sidebar) minmax(0, 1fr); gap: var(--space-48); }
  .bge-member-nav ul { display: grid; grid-template-columns: 1fr; }
  .bge-member-nav a { justify-content: flex-start; }
  .bge-member-nav__secondary { display: grid !important; margin-top: var(--space-24) !important; padding-top: var(--space-24) !important; border-top: var(--border-width-hairline) solid var(--color-border-subtle); }
}
.bge-page-header { display: grid; gap: var(--space-14); margin-bottom: var(--space-36); max-width: var(--layout-measure-intro); }
/* The page heading spans both columns, so the navigation starts level with the first item
   of the content rather than level with the heading. Asked for by the project owner; a
   deliberate departure from the reference markup, which keeps the heading inside the
   content column. See docs/DECISIONS.md. */
.bge-page-header { grid-column: 1 / -1; margin-bottom: 0; }
.bge-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-16); margin-bottom: var(--space-24); }
.bge-toolbar .bge-field { flex: 1 1 var(--layout-field-basis); max-width: var(--size-search-field); }
.bge-search { position: relative; }
.bge-search svg { position: absolute; left: var(--space-16); top: 50%; transform: translateY(-50%); width: var(--size-icon-md); height: var(--size-icon-md); color: var(--color-text-secondary); }
.bge-search .bge-input { padding-left: var(--space-48); border-radius: var(--radius-full); }

.bge-member-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); }
.bge-member { display: grid; grid-template-columns: var(--size-avatar) minmax(0, 1fr); gap: var(--space-6) var(--space-16); padding: var(--space-16) var(--space-20); border-radius: var(--radius-md); background: var(--color-surface-raised); min-height: var(--size-table-row); }
.bge-avatar { width: var(--size-avatar); height: var(--size-avatar); border-radius: var(--radius-full); display: grid; place-items: center; background: var(--color-motif-tint-1); color: var(--color-text-primary); font-weight: var(--font-weight-medium); font-size: var(--font-size-meta); }
.bge-member:nth-child(3n+2) .bge-avatar { background: var(--color-motif-tint-2); }
.bge-member:nth-child(3n+3) .bge-avatar { background: var(--color-motif-tint-3); }
.bge-member__name { font-size: var(--font-size-label); font-weight: var(--font-weight-medium); }
.bge-member__role, .bge-member__org { color: var(--color-text-secondary); font-size: var(--font-size-helper); }
/* Organisation and function are one cell now, so the wrapper takes the column the
   organisation had. They line up on their own: same cell, same left edge. */
.bge-member__work, .bge-member__contact { grid-column: 2; }
.bge-member__contact { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-16); font-size: var(--font-size-helper); }
.bge-member__contact a { display: inline-flex; align-items: center; gap: var(--space-6); min-height: var(--space-32); color: var(--color-text-link); text-decoration: none; overflow-wrap: anywhere; }
.bge-member__contact a:hover { text-decoration: underline; }
.bge-member__contact svg { width: var(--size-icon-sm); height: var(--size-icon-sm); flex: none; }
@container (min-width: 768px) {
  .bge-member { grid-template-columns: var(--size-avatar) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; }
  .bge-member__work, .bge-member__contact { grid-column: auto; }
}

.bge-meeting-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); }
.bge-meeting { position: relative; display: grid; grid-template-columns: var(--size-meeting-dot) minmax(0, 1fr); gap: var(--space-6) var(--space-16); align-items: center; padding: var(--space-16) var(--space-20); border-radius: var(--radius-md); background: var(--color-surface-raised); }
/* `align-content: center` and not only `place-items`. The two are different questions:
   place-items centres each line inside its own track, align-content places the tracks
   inside the circle -- and its initial value for a grid is stretch, so the day and the
   month were pushed to opposite ends of the 56. Measured 2 November 2026: the month sat
   37 down and 6 from the bottom instead of the pair sitting together in the middle. */
.bge-meeting__dot { grid-row: span 2; width: var(--size-meeting-dot); height: var(--size-meeting-dot); border-radius: var(--radius-full); display: grid; place-items: center; align-content: center; text-align: center; line-height: 1; background: var(--color-motif-tint-1); font-weight: var(--font-weight-semibold); }
.bge-meeting__dot small { display: block; font-size: var(--font-size-caps); text-transform: uppercase; letter-spacing: var(--font-letter-spacing-caps); }
.bge-meeting--upcoming .bge-meeting__dot { background: var(--color-surface-accent); color: var(--color-text-on-accent); }
.bge-meeting__title { font-size: var(--font-size-heading-4); font-weight: var(--font-weight-medium); }
.bge-meeting__title a { color: var(--color-text-primary); text-decoration: none; }
.bge-meeting__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bge-meeting:hover .bge-meeting__title a { text-decoration: underline; }
.bge-meeting:has(a:focus-visible) { outline: var(--border-focus-width) solid var(--color-focus-ring); outline-offset: var(--border-focus-offset); }
.bge-meeting a:focus-visible { outline: none; }
.bge-meeting__meta { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-16); color: var(--color-text-secondary); font-size: var(--font-size-helper); }
.bge-meeting__meta span { display: inline-flex; gap: var(--space-4); align-items: center; }
.bge-meeting__meta svg { width: var(--size-icon-sm); height: var(--size-icon-sm); }
.bge-year { font-size: var(--font-size-heading-3); font-weight: var(--font-weight-medium); margin: var(--space-32) 0 var(--space-12); }
.bge-year-group { border-top: var(--border-width-hairline) solid var(--color-border-subtle); }
.bge-year-group__head { display: flex; align-items: center; gap: var(--space-12); cursor: pointer; list-style: none; padding-block: var(--space-20); }
/* The H2 keeps its own margins elsewhere; inside the summary they would push the year
   down against the count beside it, which is the misalignment this removes. */
.bge-year-group__head .bge-year { margin: 0; }
.bge-year-group__head::-webkit-details-marker { display: none; }
.bge-year-group__head:focus-visible { outline: var(--border-focus-width) solid var(--color-focus-ring); outline-offset: var(--border-focus-offset); }
.bge-year-group__count { font-family: var(--font-serif); font-size: var(--font-size-body-small); color: var(--color-text-secondary); }
.bge-year-group__head svg { margin-inline-start: auto; width: var(--size-icon-md); height: var(--size-icon-md); color: var(--color-text-secondary); transition: transform var(--duration-fast) var(--easing-standard); }
.bge-year-group[open] > .bge-year-group__head svg { transform: rotate(180deg); }
.bge-year-group > .bge-meeting-list { margin-block-end: var(--space-32); }
/* display:grid on a direct child of <details> overrides the browser's own hiding, so a
   closed year kept showing its meetings. Put back explicitly. */
.bge-year-group:not([open]) > .bge-meeting-list { display: none; }

.bge-meeting-detail { display: grid; gap: var(--space-40); }
.bge-meeting-detail__venue { margin-top: var(--space-24); padding-top: var(--space-20); border-top: var(--border-width-hairline) solid var(--color-border-subtle); font-family: var(--font-sans); font-size: var(--font-size-helper); color: var(--color-text-secondary); }
.bge-meta-list { display: grid; gap: var(--space-14); padding: var(--space-24); border-radius: var(--radius-lg); background: var(--color-surface-raised); }
.bge-meta-list dt { font-size: var(--font-size-caps); letter-spacing: var(--font-letter-spacing-caps); text-transform: uppercase; font-weight: var(--font-weight-semibold); color: var(--color-text-secondary); }
.bge-meta-list dd { margin: 0; font-size: var(--font-size-label); }
/* A year on the documents tab holds one block per kind: a label and the list under it.
   The lists bring their own top margin, so the only thing wanted here is air between one
   kind and the next, and a foot under the last one inside the disclosure. */
.bge-doc-kinds { display: grid; gap: var(--space-24); margin-block-end: var(--space-32); }
.bge-doc-kind { margin: 0; color: var(--color-text-secondary); }
.bge-doc-list { list-style: none; margin: var(--space-12) 0 0; padding: 0; display: grid; gap: var(--space-8); }
.bge-doc { position: relative; display: grid; grid-template-columns: var(--size-doc-icon) minmax(0, 1fr) var(--size-icon-md); gap: var(--space-12); align-items: center; padding: var(--space-12) var(--space-16); border-radius: var(--radius-md); background: var(--color-surface-raised); font-size: var(--font-size-helper); }
.bge-doc__icon { width: var(--size-doc-icon); height: var(--size-doc-icon); border-radius: var(--radius-full); display: grid; place-items: center; background: var(--color-motif-tint-1); }
.bge-doc svg { width: var(--size-icon-md); height: var(--size-icon-md); }
.bge-doc a { color: var(--color-text-link); font-weight: var(--font-weight-medium); text-decoration: none; overflow-wrap: anywhere; }
.bge-doc a::after { content: ""; position: absolute; inset: 0; }
.bge-doc:hover a { text-decoration: underline; }
.bge-doc__meta { display: block; color: var(--color-text-secondary); }
/* The authored list puts the author in a column of its own, right of the document.
   `subgrid` is what makes that column line up across the rows: each row is its own
   grid, so an `auto` track would be a different width on every one of them. The
   track is `max-content`, so the column is as wide as the longest name and needs no
   number of its own. */
.bge-doc__author { color: var(--color-text-secondary); overflow-wrap: anywhere; }
@container portal (min-width: 640px) {
  /* fit-content, not max-content: the author column is as wide as the longest name but
     never past a third of the row, so a name like "Steven van Polen (PBL), Annedebora van
     Kooij (Tilburg) en Nabil Tanouti (Amsterdam)" cannot starve the title beside it. A
     percentage rather than a width, so there is no pixel here to promote to a token. */
  /* The first track is wider than the icon in it, so the title and the line under it
     start clear of the circle instead of hard against it. Asked for on 3 November
     2026. Only on this list: the meeting detail's documents sit in a narrow aside
     where the same indent would cost more than it gives. */
  .bge-doc-list--authored { grid-template-columns: calc(var(--size-doc-icon) + var(--space-20)) minmax(0, 1fr) fit-content(30%) var(--size-icon-md); }
  /* start, not centre: a title that wraps to three lines otherwise drags the icon and the
     author down to the middle of the row and the list stops reading as rows. */
  .bge-doc-list--authored .bge-doc { grid-column: 1 / -1; grid-template-columns: subgrid; align-items: start; }
  .bge-doc-list--authored .bge-doc > svg:last-child { margin-top: var(--space-2); }
}
/* Narrow: no room for a fourth column, so the author drops under the title and the
   download icon is pinned beside it rather than following the author down. */
@container portal (max-width: 639px) {
  .bge-doc-list--authored .bge-doc > svg:last-child { grid-row: 1; grid-column: 3; }
  .bge-doc-list--authored .bge-doc__author { grid-column: 2; }
}
/* The side column of a meeting has no rhythm of its own in the design system: the
   reference markup hand-spaces its one heading with an inline style, which is a sign that
   nothing was specified rather than that nothing was needed. A grid gap does it once, and
   the way back out is a button standing clear of the panel above it. */
.bge-portal-aside { display: grid; gap: var(--space-24); justify-items: start; }
/* The two sharing switches belong to the directory switch above them and do nothing
   without it, so they are out of the way until it is on. `:has()` and no script: the
   JavaScript budget is full, and a browser without `:has()` simply shows all three,
   which is what this replaced. */
.bge-switch-group { display: grid; gap: var(--space-6); padding-inline-start: var(--space-28); }
.bge-portal-panel:has(#bge-in-directory:not(:checked)) .bge-switch-group { display: none; }
.bge-portal-aside > * { margin-block: 0; }
.bge-portal-aside__back { margin-top: var(--space-16); }
/* The portal screens stack several blocks under one heading: a toolbar, a count and a
   list, or a form in sections. The design system draws each block and says nothing about
   the rhythm between them, so until 2 November 2026 they sat against each other.
   These come **after** the list components on purpose: those set `margin: 0`, and at equal
   specificity the later rule wins. Placed earlier, the lists ignored this spacing and the
   member count sat directly on top of the first row. */
.bge-portal__main > * + * { margin-top: var(--space-28); }
.bge-portal__main > .bge-portal-count { margin-top: var(--space-32); }
/* The section's own gap is what separates the fields inside it: on the profile screen the
   form is the parent of the sections, not a child, so a `.bge-portal-section .bge-form`
   rule matched nothing. Measured 2 November 2026. */
.bge-portal-section { display: grid; gap: var(--space-24); }
.bge-portal-section + .bge-portal-section { margin-top: var(--space-48); }
/* "Mijn gegevens": the three visibility switches in a panel beside the fields that feed
   them, so a member reads what other members see while filling the form in. Asked for on
   2 November 2026 and a departure from guide/08, which gives this screen a plain stacked
   form; see docs/DECISIONS.md.
   The threshold is 1280 and not 1024 because layout-gutter is fluid: below about 1280 the
   content column is still growing and has nothing to give, so at 1024 the split would be
   born cramped -- roughly 290 of field against a 280 minimum -- and pass through a state
   worse than stacking. At 1280 it starts at its final width. Between the two the panel
   simply sits under the fields, which is the honest arithmetic rather than a compromise. */
.bge-profile { display: grid; gap: var(--space-40); align-items: start; }
.bge-profile > * { min-width: 0; }
.bge-profile > .bge-actions { grid-column: 1 / -1; }
.bge-portal-panel { display: grid; gap: var(--space-20); padding: var(--space-24); border-radius: var(--radius-lg); background: var(--color-surface-raised); }
@container portal (min-width: 1280px) {
.bge-profile { grid-template-columns: minmax(0, 1fr) var(--size-meeting-aside); column-gap: var(--space-48); }
}
/* Addressed to the named `portal` region, not to the nearest container. The nearest
   container inside the content column is that column itself, which tops out at
   layout-container-max minus size-portal-sidebar minus space-48 -- 876 -- so the 1024 this
   rule carried from 30 October could never match and the meeting detail has been a single
   column at every width since. Found on 2 November 2026. */
@container portal (min-width: 1280px) { .bge-meeting-detail { grid-template-columns: minmax(0, 1fr) var(--size-meeting-aside); align-items: start; } }
