/**
 * Hidden scrollbars, carried HERE rather than imported (15-09-2026).
 *
 * This was `@import url("../../apps/toolkit/scroll.css")`. apps/toolkit/ is an
 * internal repo: we COPY things out of it, we never wire an app to it. That
 * import made a deployed file depend on a folder that must not be deployed, so
 * on the server it resolved to a 404, the 404 handler answered with HTML, and
 * the page logged "Refused to apply style ... MIME type ('text/html')".
 *
 * The rules below were copied out of the toolkit on 15-09-2026 and now belong to
 * this file. There is no link back: edit them here.
 *
 * The lists and the page still scroll; only the bar itself is out of sight.
 * A scrollbar is the one sign that a list continues, so a view that needs that
 * sign asks for it back with the class `show-scrollbar`.
 */

/* The page, the elements that scroll by nature, and the container families. */
html, body, pre, textarea, select,
[class*="scroll"], [class*="overflow-"],
[class*="list"], [id$="-list"], [id$="List"],
[class*="modal"], [id$="Body"], [id$="-body"],
[class*="table"], [class*="wrap"], [class*="grid"],
[class*="content"], [class*="body"], [class*="panel"], [class*="pane"],
[class*="input"], [class*="textarea"], [class*="field"], [class*="editor"],
[class*="chat"], [class*="thread"], [class*="messages"], [class*="history"],
[class*="menu"], [class*="toolbar"], [class*="sidebar"], [class*="rail"],
[class*="picker"], [class*="suggest"], [class*="stack"], [class*="column"],
[class*="form"], [class*="dock"], [class*="tab-"], [class*="preview"],
[id*="panel" i], [id*="container" i], [id*="content" i],
.dash, .main, .card, .sheet-edit main {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

:is(
  html, body, pre, textarea, select,
  [class*="scroll"], [class*="overflow-"],
  [class*="list"], [id$="list" i],
  [class*="modal"], [id$="body" i],
  [class*="table"], [class*="wrap"], [class*="grid"],
  [class*="content"], [class*="body"], [class*="panel"], [class*="pane"],
  [class*="input"], [class*="textarea"], [class*="field"], [class*="editor"],
  [class*="chat"], [class*="thread"], [class*="messages"], [class*="history"],
  [class*="menu"], [class*="toolbar"], [class*="sidebar"], [class*="rail"],
  [class*="picker"], [class*="suggest"], [class*="stack"], [class*="column"],
  [class*="form"], [class*="dock"], [class*="tab-"], [class*="preview"],
  [id*="panel" i], [id*="container" i], [id*="content" i],
  .dash, .main, .card, .sheet-edit main
)::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* The way back, for a view that must show that the content continues. */
.show-scrollbar {
  scrollbar-width: thin;
  -ms-overflow-style: auto;
}
.show-scrollbar::-webkit-scrollbar { width: 10px; height: 10px; }

/* ════════════════════════════════════════════════════════════════
   master.css — the ONE shared 5.1 dark chrome.
   Loaded by site_shared/master.php on every subpage built via
   site_master(). Holds design tokens + all chrome: preloader, bar,
   menu, brand lockup, footer, .ask button, guide chat, reveal util.
   Page-specific content styling lives in each page's own CSS file,
   linked AFTER this one (so it can use the tokens defined here).
   Do NOT add page-specific rules here.
   ════════════════════════════════════════════════════════════════ */

/* ── design tokens (shared with 5.1) ───────────────────── */
:root {
  --ink:        #0f0e0b;
  --ink-2:      #161410;
  --cream:      #f4efe3;
  --cream-2:    #ece5d3;
  --gold:       #FFD900;
  --line-dark:  rgba(244,239,227,0.14);
  --line-light: rgba(15,14,11,0.16);
  --sans:  'AvenirNextCn', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --brand: 'Bungee', 'AvenirNextCn', system-ui, sans-serif;
  --gutter: clamp(18px, 3.5vw, 48px);
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  /* Every size below is a RATIO on --fs-base, so a subtree can re-base the whole
     scale with one declaration instead of overriding six sizes. That is what the
     chrome guard under "shell chrome scale" does. */
  --fs-base: 1rem;
  --fs-display: clamp(calc(var(--fs-base) * 1.8), 4.8vw, calc(var(--fs-base) * 4.2));
  --fs-h2: clamp(calc(var(--fs-base) * 1.2), 2.1vw, calc(var(--fs-base) * 1.7));
  --fs-h3: calc(var(--fs-base) * 1.5);           /* card/list titles — 24px (above body) */
  --fs-body: calc(var(--fs-base) * 1.375);       /* running text — 22px (was 16px) */
  --fs-body-sm: calc(var(--fs-base) * 1.125);    /* secondary copy — cards, steps, tiles — 18px */
  --fs-label: calc(var(--fs-base) * 0.95);       /* kickers, tags, captions — ~15.2px (was 13px) */
  --ls-label: 0.2em;

  /* The MATERIAL TOKENS (glass, ambient, shadow, radius) used to sit here and now
     live in css/material.css, which both this shell and the homepage load —
     otherwise the homepage would have needed a copy. The rules that APPLY that
     material to this file's components do live here, at the bottom under "THE
     GLASS": those components exist only in this shell. */
}

/* ── shell chrome scale ────────────────────────────────────
   The chrome below is the SAME component on every page, and its boxes are sized
   in px: 22px panel padding, 14px gaps, a 480px chat panel. Its type is rem, so
   a host page that raises the root font-size scales the type and nothing else —
   the proportions come apart. That is exactly what happened on the four
   experience pages: `belevingen.css` raises the root to 125% for readability, and
   the chat panel came out with a 30px title in an 18px-padded head, 19px chips
   that no longer fit their row, and an intro that wrapped to three lines with an
   orphan word. Nothing looked broken — it looked like sloppy design.

   So a host page that rescales the root declares HOW MUCH (`--host-scale`), and
   the chrome divides it back out. Dividing 1rem (rather than hardcoding 16px)
   keeps the reader's own browser font-size setting intact — we undo the page's
   scale, never theirs. Pages that do not rescale need nothing: the fallback is 1.

   font-size/family/line-height are set too because the chrome must not inherit a
   host page's body type either (belevingen.css sets 1em Poppins on <body>).
   Anything master.php renders outside <main> belongs in this list.

   The six sizes are repeated here on purpose, and re-basing needs all of them: a
   custom property substitutes its var()s where it is DECLARED, so --fs-body keeps
   the :root --fs-base no matter what a descendant sets. Overriding --fs-base
   alone looks right and changes nothing — verified, that is why the block reads
   like a duplicate. Drift between these ratios and :root's is caught by
   apps/local/tests/shell_chroom/. */
.preloader, .skip-link, .bar, .brand-lockup, .menu, .menu-scrim, .ask, .guide, .foot {
  --fs-base: calc(1rem / var(--host-scale, 1));
  --fs-display: clamp(calc(var(--fs-base) * 1.8), 4.8vw, calc(var(--fs-base) * 4.2));
  --fs-h2: clamp(calc(var(--fs-base) * 1.2), 2.1vw, calc(var(--fs-base) * 1.7));
  --fs-h3: calc(var(--fs-base) * 1.5);
  --fs-body: calc(var(--fs-base) * 1.375);
  --fs-body-sm: calc(var(--fs-base) * 1.125);
  --fs-label: calc(var(--fs-base) * 0.95);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
}

/* The chrome keeps the site's focus vocabulary even when the host app brings its
   own. belevingen.css styles every :focus (not just :focus-visible), so opening
   the chat drew a 2px ring around its input the moment JS put the caret there —
   a keyboard affordance shown on a mouse action. Class-level specificity, so a
   page stylesheet loaded after this one cannot win on order alone. */
.bar :focus, .menu :focus, .guide :focus, .foot :focus, .ask:focus { outline: none; }
.bar :focus-visible, .menu :focus-visible, .guide :focus-visible,
.foot :focus-visible, .ask:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ── chrome overlay band ───────────────────────────────────
   The menu drawer and the chat panel are the SITE's modal layer. Apps mounted in
   this shell carry their own fixed overlays an order of magnitude higher — the
   ember canvas at 999, the floating total and the dish modal at 1000/1001 — so at
   270 the chat panel had a yellow "TOTAAL €359,60" badge painted straight through
   its input row on a phone, and embers drifting over the panel. Only OPEN panels
   occupy this band: closed, they are visibility:hidden / translated off-canvas,
   so nothing here can block a page it is not covering.
   Contract for apps in this shell: keep your own overlays below --z-chrome-panel.
   The .ask pill deliberately stays out of the band (230) — it should duck under
   an app's modal, not float on top of it. The three users of this token sit with
   their own rules further down (.menu-scrim, .menu, .guide) so each panel keeps
   its properties in one place. */
:root { --z-chrome-panel: 10000; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; overflow-x: clip; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6;
  /* clip on BOTH html and body: body's clip alone does not contain the
     position:fixed off-canvas panels (.menu, .guide-panel) that translate
     off-screen — a fixed element is clipped by the viewport/ICB, not by an
     overflow:clip on body. Clipping html too kills the phantom h-scroll they
     created site-wide. */
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}

/* ── ultrawide cap ─────────────────────────────────────────
   On a 3440px screen the art direction falls apart. Every hero photo is
   background-size: cover, so it crops to a letterbox strip and loses its
   subject. The hero copy sits in one corner with a void beside it, and a line
   of running text runs the full 3440px.

   The cap goes on <body>, not on each section. Two reasons:
   - The absolute chrome (.bar, .brand-lockup) then resolves against the shell
     instead of the viewport, so it stays over the content.
   - One declaration covers every page, also the pages we add later.

   position: relative makes body that containing block. It does NOT capture the
   position: fixed chrome: only transform / filter / perspective do that. So
   .grain, .preloader, .menu and .guide stay full-screen, which is what they
   must be. The two fixed items that must follow the shell edge (.progress,
   .ask) get --shell-pad below.

   html carries the background, so the surround is the same warm black.
   Mirrored in css/index.css — the homepage carries its own copy of the shell.
   Guarded by apps/local/tests/site_ultrawide/run.sh. */
:root { --shell-max: 1920px; }
html { background: var(--ink); color: var(--cream); }
body { max-width: var(--shell-max); margin-inline: auto; position: relative; }

/* Half the dark surround. max() keeps it 0 below the cap. 100vw includes the
   scrollbar gutter, which puts these two items a few px off the shell edge —
   invisible on a hairline and on a floating button. */
:root { --shell-pad: max(0px, (100vw - var(--shell-max)) / 2); }

/* Subtle film grain over the flat dark surfaces — tactile/printed craft cue.
   Pure CSS (inline SVG noise), fixed, non-interactive, very low opacity. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9990;
  pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 300;
  background: var(--gold); color: var(--ink); padding: 10px 16px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 10px; }

/* ── grain ─────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── scroll progress hairline ──────────────────────────── */
.progress {
  /* left/right, not width: the hairline must span the SHELL, not the viewport.
     --shell-pad is 0 below the cap, so this is the old full-width rule there. */
  position: fixed; top: 0; left: var(--shell-pad); right: var(--shell-pad);
  height: 2px; width: auto; z-index: 260;
  transform-origin: 0 50%; transform: scaleX(0); background: var(--gold);
}

/* ── loading curtain ────────────────────────────────────
   Used to live here. Now one source for the whole site: css/preloader.css,
   loaded by both site_shared/master.php and site/index.php. This block was
   duplicated here AND in index.css with "keep in sync" above it, and the two had
   drifted two fix rounds apart. Add nothing about .preloader or .pl-* here — that
   belongs in preloader.css. */

/* ── reveal on scroll ──────────────────────────────────── */
.r {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.r.in { opacity: 1; transform: none; }

/* ── footer ────────────────────────────────────────────── */
.foot {
  /* Bottom padding reserves space for the fixed .ask pill. Without it the pill
     sits ON TOP of the footer's bottom-right corner — exactly where the
     Instagram/Webshop links live — and swallows their clicks entirely
     (elementFromPoint on those links returned button.ask, not the link). The
     mobile breakpoint already reserved this; desktop never did. */
  padding: clamp(20px,3vw,36px) var(--gutter) clamp(88px,7vw,112px);
  text-align: center;
  border-top: 1px solid var(--line-dark);
}
.foot .foot-logo { display: block; margin: 0 auto clamp(18px,3vh,30px); height: clamp(56px,8vw,84px); width: auto; }
.foot .toast {
  display: inline-block; text-decoration: none; font-family: var(--sans); font-weight: 400;
  font-size: var(--fs-display); line-height: 1; text-transform: uppercase;
  letter-spacing: -0.02em; color: var(--cream); transition: color 0.3s;
}
.foot .toast:hover { color: var(--gold); font-style: italic; }
.foot-meta {
  margin-top: clamp(24px,5vh,48px); display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 28px; border-top: 1px solid var(--line-dark);
  padding-top: 20px; font-size: calc(var(--fs-base) * 0.82); letter-spacing: 0.06em;
  color: rgba(244,239,227,0.5); text-align: left;
}
.foot-meta nav { display: flex; flex-wrap: wrap; gap: 18px; }
/* 24px tikdoel (WCAG 2.5.8). Deze links waren 21px hoog en staan onderaan, waar de
   duim toch al krap zit; de padding verandert niets aan de regelhoogte eromheen. */
.foot-meta a { text-decoration: none; display: inline-block; padding: 3px 0; transition: color 0.25s var(--ease); }
.foot-meta a:hover { color: var(--gold); }
.foot-legal {
  margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line-dark);
  font-size: calc(var(--fs-base) * 0.75); letter-spacing: 0.06em; color: rgba(244,239,227,0.35);
  text-align: center;
}
/* Break BETWEEN the four items, never inside one — an IBAN split over two lines is
   worse than a second line. See the markup note in master.php. */
.foot-legal > span { white-space: nowrap; }
.foot-legal > span:not(:last-child)::after { content: ' ·'; }
/* Privacybeleid had no hover at all — the only link on the page with none.
   It also inherited the legal line's 0.35 cream, which measured 2.92:1 against
   the footer — well under AA, on the one link that has to be findable for legal
   reasons. The surrounding legal text may stay quiet; a LINK may not. */
.foot-legal a {
  text-decoration: none; display: inline-block; padding: 6px 0;
  color: rgba(244, 239, 227, 0.72);
  transition: color 0.25s var(--ease);
}
.foot-legal a:hover, .foot-legal a:focus-visible { color: var(--gold); }

/* ── paneel-typografie: vier rollen, vier maten ─────────────
   De maten hadden hun betekenis verloren. Het paneel draaide op 24 / 22 / 16 /
   15,2px, waarbij 24 zowel de paneeltitel ALS de vraag van de gast droeg, 15,2
   zowel een sprekerlabel als een knop, en de invoer op een kale 16px stond — de
   enige waarde in het paneel zonder token. Naast 15,2 is dat een verschil van
   0,8px: niet te zien als bedoeling, wel als slordigheid. Onder een gesprek van
   22px las die hele onderstrook als een ander, kleiner scherm.

   Sinds 2026-08-26 heeft elke maat nog één betekenis:
     --fs-h3      24px   de identiteit van het paneel — alleen de titel
     --fs-body    22px   alles wat het paneel ZEGT (vraag, antwoord, kaarttitel)
     --fs-body-sm 18px   alles wat je BEDIENT of aftikt, plus het kaartbijschrift
     --fs-label   15,2px de fluistering: het sprekerlabel boven een bericht
   18px was de trede die de site al had en dit paneel nooit gebruikte; die vulde
   precies het gat van 22 naar 15,2 (factor 1,45).

   De invoer gebruikt max(16px, …) — 16px is geen maatkeuze maar een ONDERGRENS:
   iOS zoomt de hele pagina in zodra een veld daaronder komt. Met een token blijft
   het veld wél meeschalen met de lezer die zijn browser groter zet; op de
   belevingen-pagina's blijft de --fs-base-herbasering ook heel (gemeten: 18px).
   Gemeten kosten op 360px: het veld toont 32 in plaats van 38 tekens, en alles
   blijft op één regel (kopstrook houdt 14px speling op 320px).
   Bewaakt door apps/local/tests/shell_chroom/paneel_typografie.sh. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-lockup { opacity: 1; transform: none; transition: none; }
  .cursor { display: none !important; }
  .menu, .menu ol a, .menu .menu-foot, .menu-scrim, .guide, .guide-backdrop, .guide-panel { transition: none; }
  .menu { transform: none; }
  /* Decorative EFFECTS (preloader spinner + logo pulse, .ask cue dot/ring,
     chat typing dots) keep animating regardless of reduced-motion — locked
     owner decision (same as the hero particle canvas), and matches index. */
}

/* ════════════════════════════════════════════════════════════════
   Shared form component — the contact/interest form field styling.
   Used by any page that embeds a .cform (contact, huurbrouwen, …).
   Page-specific GRID wrappers (.contact, .hw-interest) stay in the
   page CSS; these field/control styles live here once.
   ════════════════════════════════════════════════════════════════ */
/* form */
.cform { display: grid; gap: clamp(16px, 2.4vh, 22px); }
.cform-row { display: grid; gap: clamp(16px, 2.4vh, 22px); }
@media (min-width: 601px) { .cform-row.is-split { grid-template-columns: 1fr 1fr; } }

.cfield { display: grid; gap: 8px; min-width: 0; }
.cfield > .cfield-label {
  font-size: var(--fs-label); letter-spacing: var(--ls-label);
  text-transform: uppercase; color: rgba(244,239,227,0.6);
}
.cfield .req { color: var(--gold); }

.cinput {
  width: 100%; background: var(--ink-2); color: var(--cream);
  border: 1px solid var(--line-dark); border-radius: 12px;
  font: inherit; font-size: 16px; padding: 14px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cinput::placeholder { color: rgba(244,239,227,0.32); }
.cinput:hover { border-color: rgba(244,239,227,0.28); }
.cinput:focus { outline: none; border-color: var(--gold); background: #1c1913; }
textarea.cinput { resize: vertical; min-height: 150px; line-height: 1.6; }

/* select — explicitly style text + options on the dark UI (house rule) */
select.cinput {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f4efe3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select.cinput option { background: var(--ink-2); color: var(--cream); }

/* honeypot — off-screen, real people never see or fill it */
.cgotcha { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.cfield.has-error .cinput { border-color: #e0726a; background: #1f1411; }
.cfield-opt { color: rgba(244,239,227,0.35); }

/* ── live character counter under the bericht field ── */
.ccount {
  justify-self: end; white-space: nowrap;
  font-size: 0.78rem; color: rgba(244,239,227,0.45);
  transition: color 0.25s var(--ease);
}
.ccount.is-ok { color: #9ce6b4; }

/* ── attachment picker: native input stays focusable, the label is the button ── */
.cfile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.cfile-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* .cfile-btn IS THE SHARED BUTTON — see css/button.css. It used to be declared here at
   12px 22px, which made it a different shape from the submit button on the same form. Only the
   focus ring stays, because it hangs off the hidden input beside it and is not a button look. */
.cfile-input:focus-visible + .cfile-btn { outline: 2px solid var(--gold); outline-offset: 3px; }
.cfile-name {
  flex: 1 1 auto; min-width: 0; font-size: 0.9rem; color: rgba(244,239,227,0.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cfile-name.has-file { color: var(--cream); }
.cfile-clear {
  flex: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  background: none; border: 1px solid var(--line-dark); color: rgba(244,239,227,0.7);
  font: inherit; font-size: 1.1rem; line-height: 1; padding: 0;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.cfile-clear:hover { border-color: var(--gold); color: var(--gold); }
.cfile-clear[hidden] { display: none; }
.cfile-msg { font-size: 0.8rem; color: rgba(244,239,227,0.45); line-height: 1.5; text-wrap: pretty; }
.cfile-msg.is-err { color: #f3b1a9; }
/* The red error border for .cfile-btn moved to css/button.css — it is a button look. */

/* live answer-before-you-ask panel */
.cb-suggest {
  border: 1px solid rgba(255,217,0,0.32); border-left: 3px solid var(--gold);
  border-radius: 12px; background: rgba(255,217,0,0.05);
  padding: 16px 18px; display: grid; gap: 12px;
  animation: cb-in 0.35s var(--ease);
}
.cb-suggest[hidden] { display: none; }
@keyframes cb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cb-suggest-head {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-label); letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--gold);
}
.cb-suggest-head .cb-close {
  margin-left: auto; background: none; border: 0; cursor: pointer;
  color: rgba(244,239,227,0.6); font: inherit; font-size: 1.2rem;
  line-height: 1; padding: 0 2px; transition: color 0.2s var(--ease);
}
.cb-suggest-head .cb-close:hover { color: var(--gold); }
.cb-item { display: grid; gap: 4px; }
.cb-item + .cb-item { border-top: 1px solid var(--line-dark); padding-top: 12px; }
.cb-item-title { font-weight: 600; font-size: 1rem; color: var(--cream); }
.cb-item-answer { font-size: 0.95rem; line-height: 1.55; color: rgba(244,239,227,0.82); }
.cb-item-link {
  justify-self: start; margin-top: 2px; text-decoration: none;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold);
}
.cb-item-link:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .cb-suggest { animation: none; } }

/* ── in-textarea keyword highlight (backdrop sits exactly behind the field) ──
   .cb-hl-wrap is a plain relative block — NOT display:grid — so the backdrop
   (position:absolute;inset:0) is a true overlay and never stacks as a grid row. */
.cb-hl-wrap { position: relative; display: block; }
.cb-hl-backdrop {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  pointer-events: none; border-radius: 12px;
  background: var(--ink-2); border: 1px solid transparent;
}
.cb-hl-wrap > .cinput { position: relative; z-index: 1; background: transparent; display: block; }
.cb-hl-wrap > .cinput:focus { background: transparent; }
/* metrics MUST mirror textarea.cinput exactly so glyphs line up over the marks */
.cb-hl-content {
  font-family: inherit; font-size: 16px; line-height: 1.6;
  padding: 14px 16px; border: 1px solid transparent; box-sizing: border-box;
  min-height: 150px; color: transparent;
  white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word;
}
.cb-hl-content mark { /* no padding — it would shift the text metrics */
  background: rgba(255,217,0,0.28); color: transparent; border-radius: 3px;
}

/* ── "analysing" cue under the message field ── */
.cb-analyzing {
  display: flex; align-items: center; gap: 10px; padding: 2px;
  font-size: var(--fs-label); letter-spacing: 0.04em;
  color: rgba(244,239,227,0.7); animation: cb-in 0.3s var(--ease);
}
.cb-analyzing[hidden] { display: none; }
.cb-analyzing-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--gold); animation: cb-pulse 1.1s var(--ease) infinite;
}
@keyframes cb-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50%      { opacity: 1;   transform: scale(1); }
}

/* ── suggestion footer: link + thumbs-up + post-send states ── */
.cb-item-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.cb-helpful {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--gold); border: none;
  color: #111827; border-radius: 999px;
  font: inherit; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 14px;
  transition: filter 0.15s var(--ease), transform 0.15s var(--ease);
  line-height: 1;
}
.cb-helpful:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cb-helpful:disabled { opacity: 0.55; cursor: wait; transform: none; filter: none; }
/* Sent state stays on the SAME button so keyboard focus is never destroyed. */
.cb-helpful.is-sent {
  background: rgba(58,208,106,0.16); color: #9ce6b4; opacity: 1; cursor: default;
  text-transform: none; letter-spacing: 0.01em; font-size: 0.82rem;
}
.cb-helpful.is-sent svg { width: 14px; height: 14px; }
.cb-helpful svg { width: 13px; height: 13px; flex: none; stroke-width: 2.5; }
.cb-item-sent { display: inline-flex; align-items: center; gap: 8px; color: #9ce6b4; font-size: 0.92rem; font-weight: 600; }
.cb-item-sent svg { width: 16px; height: 16px; flex: none; }
.cb-item-hint { flex-basis: 100%; font-size: 0.85rem; color: #f3b1a9; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .cb-analyzing-dot { animation: none; } }

.cform-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 22px; margin-top: 4px;
}
/* `.cbtn` LIVES IN css/button.css, not here. It was one of six copies of the same pill; see
   the header of that file for the list and for why the homepage forced the duplication. */
.cform-note { font-size: 0.8rem; color: rgba(244,239,227,0.45); max-width: 40ch; line-height: 1.5; }

/* inline feedback (no native dialogs) */
.cfeedback {
  margin: 0; border-radius: 12px; font-size: 0.98rem; line-height: 1.55;
  padding: 0; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.4s var(--ease);
}
.cfeedback.is-shown { max-height: 240px; opacity: 1; padding: 14px 18px; }
.cfeedback.is-ok  { background: rgba(58,208,106,0.1);  border: 1px solid rgba(58,208,106,0.4);  color: #9ce6b4; }
.cfeedback.is-err { background: rgba(224,114,106,0.1); border: 1px solid rgba(224,114,106,0.45); color: #f3b1a9; }

/* ════════════════════════════════════════════════════════════════
   Blueprint content vocabulary — the shared building blocks every
   subpage composes (modelled on index.css so pages look like the
   blueprint by construction). A page writes NO new CSS: it arranges
   .hero / .chapter + .ch-head / .feature-list / .steps / .badges /
   .info-grid / .contact + .cinfo. Full-bleed by design — sections
   span the gutter, no centred max-width column.
   ════════════════════════════════════════════════════════════════ */

/* ── hero: every subpage opens with the masked-line wipe ───────── */
.hero {
  min-height: max(320px, 34svh);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(96px,12vh,124px) var(--gutter) clamp(10px,1.5vh,18px);
  position: relative;
}
/* hop particle field — Canvas 2D background, auto-injected by master.php JS.
   Sits behind the hero text; all hero children are raised above it. */
.hero > #hop-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero > .kicker, .hero > h1, .hero > .hero-foot { position: relative; z-index: 1; }
.hero .kicker {
  margin: 0 0 clamp(14px,3vh,28px);
  font-size: 0.95rem; letter-spacing: var(--ls-label); text-transform: uppercase;
  color: rgba(244,239,227,0.55);
}
.hero h1 {
  margin: 0; font-family: var(--sans); font-weight: 400;
  font-size: var(--fs-display); line-height: 1.02;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; transform: translateY(112%); transition: transform 1s var(--ease); }
/* delays start the wipe AS the preloader clears (validated timing) */
body.is-loaded .hero h1 .ln:nth-child(1) > span { transform: none; transition-delay: 0.65s; }
body.is-loaded .hero h1 .ln:nth-child(2) > span { transform: none; transition-delay: 0.82s; }
body.is-loaded .hero h1 .ln:nth-child(3) > span { transform: none; transition-delay: 0.99s; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .hero-foot {
  margin-top: auto; display: flex; align-items: flex-end; justify-content: flex-start;
  flex-wrap: wrap; gap: 18px 32px; border-top: 1px solid var(--line-dark); padding-top: 18px;
  text-align: left;
  opacity: 0; transition: opacity 0.8s 0.7s;
}
body.is-loaded .hero .hero-foot { opacity: 1; }
.hero .hero-foot p { margin: 0; max-width: 48ch; font-size: 1.05rem; color: rgba(244,239,227,0.66); }
@media (min-width: 900px) { .hero .hero-foot p { white-space: nowrap; max-width: none; } }

/* ── chapter: full-bleed content section with a border-topped head ─ */
.chapter { position: relative; padding: clamp(16px,2vh,28px) var(--gutter); }
.ch-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px;
  border-top: 1px solid var(--line-dark); padding-top: 22px;
  margin-bottom: clamp(14px,2vh,24px);
}
.ch-head .num { font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--gold); white-space: nowrap; }
.ch-head h2 {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h2);
  line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance;
}
/* variant: eyebrow .num scaled to the h2 — gold + cream read as one matched
   duo heading (e.g. "ZO WERKT HET — HUURBROUWEN?") instead of small-tag + title */
.ch-head.num-lg .num {
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-h2);
  line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase;
}
.ch-head .ch-side { flex-basis: 100%; margin: 0; max-width: 64ch; font-size: var(--fs-body); line-height: 1.6; color: rgba(244,239,227,0.72); text-wrap: pretty; }
.chapter > p { margin: 0 0 14px; max-width: 72ch; font-size: var(--fs-body); line-height: 1.7; color: rgba(244,239,227,0.78); }
.chapter > p:last-of-type { margin-bottom: 0; }
.chapter .muted { font-size: var(--fs-label); color: rgba(244,239,227,0.52); }
/* utility: keep a short one-liner on a single line from 900px up (it wraps
   naturally below that). Drops the max-width so nowrap text isn't clipped. */
@media (min-width: 900px) { .nowrap-lg { white-space: nowrap; max-width: none; } }

/* lead — the page-intro paragraph under a hero/intro h1 */
.lead { margin: 0; max-width: 64ch; font-size: var(--fs-body); line-height: 1.6; color: rgba(244,239,227,0.72); }

/* intro — lighter page opener (form/utility pages, no hero animation) */
.intro { padding: clamp(96px,12vh,124px) var(--gutter) clamp(20px,3.5vh,28px); }
.intro h1 { margin: 0 0 clamp(14px,2.5vh,20px); font-family: var(--sans); font-weight: 400; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; }
.intro h1 em { font-style: italic; color: var(--gold); }

/* legal-body — plain long-form text for utility pages (privacy, terms) */
.legal-body { padding: 0 var(--gutter) clamp(64px,10vh,96px); max-width: 74ch; }
.legal-body p { margin: 0 0 1.1em; font-size: var(--fs-body-sm); line-height: 1.65; color: rgba(244,239,227,0.78); }
.legal-body ul { margin: 0 0 1.4em; padding-left: 1.2em; font-size: var(--fs-body-sm); line-height: 1.65; color: rgba(244,239,227,0.78); }
.legal-body li { margin-bottom: 0.5em; }
.legal-body h2 { margin: clamp(28px,4vh,40px) 0 0.6em; font-family: var(--sans); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.005em; color: var(--gold); }
.legal-body a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--gold); }

/* ── feature list (→ bullets) ──────────────────────────────────── */
.feature-list {
  list-style: none; padding: 0; margin: clamp(16px,2vh,24px) 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 12px 32px;
}
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-body-sm); line-height: 1.55; color: rgba(244,239,227,0.82); }
.feature-list li::before { content: '→'; flex: none; color: var(--gold); font-size: 0.9rem; margin-top: 2px; }

/* ── badges (audience / tag pills) ─────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(16px,2vh,24px); }
.badge {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-dark);
  font-size: var(--fs-label); letter-spacing: 0.04em; color: rgba(244,239,227,0.72);
  white-space: nowrap;
}

/* ── numbered step cards ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: clamp(16px,2.5vw,28px); margin-top: clamp(8px,2vh,18px); }
.step {
  position: relative;
  display: flex; flex-direction: column; gap: 12px; padding: clamp(22px,3vw,34px);
  border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-dark);
  transition: border-color 0.25s var(--ease);
}
.step:hover { border-color: rgba(255,217,0,0.28); }

/* ── workflow flow: 1 › 2 › 3 › MAIL with chevron connectors ────── */
.steps.is-flow { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .steps.is-flow { grid-template-columns: 1fr; } }
/* chevron sits in the gutter between cards (horizontal layout) */
.steps.is-flow .step:not(:last-child)::after {
  content: '\203A'; position: absolute; top: 50%; right: calc(-1 * clamp(16px,2.5vw,28px) / 2);
  transform: translate(50%, -50%); color: var(--gold); opacity: 0.7;
  font-size: 1.9rem; line-height: 1; pointer-events: none;
}
@media (max-width: 880px) {
  /* stacked → arrow points down, centred under each card */
  .steps.is-flow .step:not(:last-child)::after {
    content: '\2193'; top: auto; right: auto; left: 50%; bottom: calc(-1 * clamp(16px,2.5vw,28px) / 2);
    transform: translate(-50%, 50%); font-size: 1.5rem;
  }
}
/* the MAIL endpoint — a clickable gold-accent action card */
a.step.is-cta { text-decoration: none; background: rgba(255,217,0,0.06); border-color: rgba(255,217,0,0.42); justify-content: center; }
a.step.is-cta:hover { border-color: var(--gold); background: rgba(255,217,0,0.12); transform: translateY(-2px); }
.step.is-cta .step-num { color: var(--gold); opacity: 1; }
.step.is-cta h3 { color: var(--gold); }
/* .step.is-cta legitimately adds a background fade to the shared reveal, so it
   keeps its own rule; all other card reveals come from the :where() rule below. */
.step.is-cta.r { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease); transition-delay: var(--d, 0ms); }
.step-num { font-family: var(--sans); font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--gold); opacity: 0.34; white-space: nowrap; }
.step h3 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.step p { margin: 0; font-size: var(--fs-body-sm); line-height: 1.65; color: rgba(244,239,227,0.74); }

/* ── tiles: clickable choice cards (e.g. "kies je beleving") ─────── */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(16px,2.5vw,28px); margin-top: clamp(8px,2vh,18px); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px,3vw,34px); border-radius: 16px; background: var(--ink-2);
  border: 1px solid var(--line-dark); text-decoration: none; color: var(--cream);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tile:hover { border-color: rgba(255,217,0,0.4); transform: translateY(-3px); }
/* CREAM, NOT GOLD, and that is a deliberate walk-back of 10-09-2026.
   A badge is a LABEL. The button under it is the action. Both were gold, so one desktop view
   of /brouwerij/ carried nine separate gold items — three badges, three buttons, the chapter
   number, the chat button, the cursor — and the owner read it as "yellow overload". Measured:
   the gold AREA was only 1.84% of the screen, so the problem was the item count, never the
   amount. Dimming the labels hands the gold back to the three buttons.
   The alternative on the table was a green button. It was rejected: green already means
   ok/paid/confirmed in the suite, and a second accent colour adds a colour rather than
   removing one. Gold stays the site's only accent — see the greyscale rule on the brouwerij
   photos, which exists for the same reason.
   Measured after the change, on rendered pixels: 8.4:1 on the card fill, well over AA. */
.tile .tile-badge {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(244,239,227,0.20);
  color: rgba(244,239,227,0.72); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; white-space: nowrap;
}
.tile h3 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.tile p { margin: 0; font-size: var(--fs-body-sm); line-height: 1.6; color: rgba(244,239,227,0.74); }
/* LAYOUT ONLY. The look of `.tile-go` is the shared button in css/button.css — it used to be
   the one CTA on the site that was not a pill (gold text with an arrow), which is exactly
   what the owner spotted: "BBQ BOEKEN vs BEKIJK DE BIEREN, why is this different".
   `margin-top: auto` stays here: it pushes the button to the bottom of the card so a row of
   tiles lines up even when one description wraps to an extra line. */
/* LAYOUT ONLY — the look, and the arrow, are the shared button in css/button.css. `.tile-go`
   used to be the one CTA on the site that was not a pill (gold text with an arrow), which is
   exactly what the owner spotted: "BBQ BOEKEN vs BEKIJK DE BIEREN, why is this different".
   `margin-top: auto` stays here: it pushes the button to the bottom of the card so a row of
   tiles lines up even when one description wraps to an extra line. */
.tile .tile-go { margin-top: auto; align-self: flex-start; }

/* ── info-grid: copy beside a form (interest / enquiry blocks) ──── */
.info-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,1fr);
  gap: clamp(28px,4vw,64px); align-items: start;
  padding: clamp(16px,2vh,28px) var(--gutter); border-top: 1px solid var(--line-dark);
}
.info-grid .info-copy h2 { margin: 0 0 16px; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; }
.info-grid .info-copy .num { display: block; margin-bottom: 12px; font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--gold); white-space: nowrap; }
.info-grid .info-copy p { margin: 0; max-width: 60ch; font-size: var(--fs-body); line-height: 1.7; color: rgba(244,239,227,0.78); }
/* collapse at the same 900px as .contact — both are "copy beside a form/details"
   two-column layouts; stacking them at different widths broke intermediate sizes. */
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

/* ── contact: form + details aside (folded from contact page) ──── */
.contact { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,1fr); gap: clamp(28px,4vw,64px); align-items: start; padding: clamp(16px,2vh,28px) var(--gutter); border-top: 1px solid var(--line-dark); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.cinfo { display: grid; gap: clamp(20px,3vh,28px); align-content: start; }
.cinfo h2 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; }
.cinfo-block { display: grid; gap: 5px; }
.cinfo-block .lbl { font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgba(244,239,227,0.5); white-space: nowrap; }
.cinfo-block a, .cinfo-block span { font-size: 1.05rem; color: var(--cream); text-decoration: none; }
.cinfo-block a { transition: color 0.2s var(--ease); width: fit-content; }
.cinfo-block a:hover { color: var(--gold); }
.cinfo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* The buttons inside are the shared pill — see css/button.css, which lists
   `.cinfo-actions a` among its aliases. This container only lays them out. */

/* ════════════════════════════════════════════════════════════════
   Extended content vocabulary — additive blocks for the next wave of
   pages (about / news / policy / pricing / FAQ). All token-driven and
   full-bleed-friendly; compose them inside a .chapter like the rest.
   Add nothing page-specific here.
   ════════════════════════════════════════════════════════════════ */

/* ── prose: long-form editorial body (about / news / policy) ─────── */
.prose { max-width: 72ch; font-size: var(--fs-body); line-height: 1.7; color: rgba(244,239,227,0.78); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: clamp(28px,4vh,44px) 0 14px; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; color: var(--cream); text-wrap: balance; }
.prose h3 { margin: clamp(20px,3vh,30px) 0 10px; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.01em; color: var(--cream); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.3em; }
.prose li { margin: 0 0 6px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose em { font-style: italic; }
.prose blockquote { margin: 18px 0; padding-left: 20px; border-left: 2px solid var(--gold); color: rgba(244,239,227,0.82); font-style: italic; }
.prose.is-twocol { max-width: none; column-count: 2; column-gap: clamp(28px,4vw,64px); }
@media (max-width: 820px) { .prose.is-twocol { column-count: 1; } }

/* ── media / figure / gallery: shared image vocabulary ───────────── */
.media { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-dark); background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.is-wide { aspect-ratio: 16 / 9; }
.media.is-square { aspect-ratio: 1 / 1; }
.media.is-portrait { aspect-ratio: 4 / 5; }
.media.is-cinematic { aspect-ratio: 21 / 9; }

/* ── media--graded: post-production treatment for low-res video ──────
   Lifts contrast + warmth on the video itself, then lays two overlays:
   1. vignette — radial dark edge, hides compression fringe + draws eye in
   2. grain    — same SVG noise as body::after, breaks up blocky artifacts */
.media--graded { position: relative; }
.media--graded video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.96) contrast(1.12) saturate(1.18);
}
.media--graded::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 38%, rgba(15,14,11,0.62) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: cover, 160px 160px;
  opacity: 0.72;
  mix-blend-mode: multiply;
}
/* fill the slot with footage once it lands: <video> drops in like <img> */
.media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── video-slot: drop-in placeholder for forthcoming drone footage ──
   Once a clip exists, replace the inner markup with
   <video poster="…" muted loop autoplay playsinline><source src="…" type="video/mp4"></video>
   The .media wrapper + aspect ratio stay identical, so layout never shifts. */
.video-slot {
  position: relative;
  display: grid; place-items: center; gap: 14px; padding: 24px; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,217,0,0.035) 0 14px, transparent 14px 28px),
    var(--ink-2);
  border-style: dashed; border-color: rgba(255,217,0,0.34);
}
.video-slot svg { width: clamp(36px,4.2vw,54px); height: auto; color: rgba(255,217,0,0.6); }
.video-slot__label {
  font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase;
  color: rgba(244,239,227,0.58); max-width: 42ch; line-height: 1.55; margin: 0;
}
.video-slot__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--sans); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 4px 9px; border-radius: 4px;
}

.figure { margin: 0; display: grid; gap: 10px; }
.figure figcaption { font-size: var(--fs-label); line-height: 1.5; color: rgba(244,239,227,0.52); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(12px,2vw,20px); margin-top: clamp(8px,2vh,18px); }
/* image-only clickable card (showcase etalage) — reuses .media + .is-square */
.show-card { display: block; cursor: pointer; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.show-card img { transition: transform 0.6s var(--ease); }
.show-card:hover { transform: translateY(-4px); border-color: rgba(255,217,0,0.45); }
.show-card:hover img { transform: scale(1.06); }
.show-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── cta-band: full-bleed mid-page conversion block (uses .cbtn) ──── */
.cta-band {
  padding: clamp(28px,5vh,56px) var(--gutter); border-radius: 16px;
  background: rgba(255,217,0,0.06); border: 1px solid rgba(255,217,0,0.42);
  display: grid; gap: 16px; justify-items: start; margin-top: clamp(8px,2vh,18px);
}
.cta-band h2 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; }
.cta-band p { margin: 0; max-width: 60ch; font-size: var(--fs-body); line-height: 1.7; color: rgba(244,239,227,0.78); }

/* ── faq: JS-free disclosure on native <details>/<summary> ───────── */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink-2); padding: 0 18px; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer; padding: 16px 0;
  font-family: var(--sans); font-size: var(--fs-h3); line-height: 1.25; text-transform: uppercase; letter-spacing: 0.01em; color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: 0 0 16px; max-width: 72ch; font-size: var(--fs-body); line-height: 1.7; color: rgba(244,239,227,0.78); }

/* ── pullquote: testimonial / press quote ────────────────────────── */
.pullquote { margin: 0; font-style: italic; font-size: var(--fs-h3); line-height: 1.5; color: rgba(244,239,227,0.82); border-left: 2px solid var(--gold); padding-left: 20px; }
.pullquote cite { display: block; margin-top: 10px; font-style: normal; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgba(244,239,227,0.5); }

/* ── table: openingstijden / prijslijst / specs ──────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line-dark); text-align: left; }
.table th { font-family: var(--sans); font-weight: 400; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgba(244,239,227,0.5); }
.table td { color: rgba(244,239,227,0.82); }

/* ── pricing/plan: MODIFIERS on the existing .tile shell ─────────── */
.tile-price { font-family: var(--sans); font-size: 2rem; line-height: 1; color: var(--cream); }
.tile-price small { font-size: var(--fs-label); letter-spacing: 0.04em; color: rgba(244,239,227,0.5); }
.tile.is-featured { border-color: rgba(255,217,0,0.42); background: rgba(255,217,0,0.04); }

/* ── breadcrumb: for deeper page hierarchies ─────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; list-style: none; margin: 0; padding: 0; font-size: var(--fs-label); letter-spacing: 0.04em; text-transform: uppercase; color: rgba(244,239,227,0.5); }
.breadcrumb a { text-decoration: none; transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: '\203A'; margin-right: 12px; color: rgba(244,239,227,0.3); }

/* ══════════════════════════════════════════════════════════════════════
   THE GLASS — the material layer applied to the existing components (2026-09-01)

   Above, the components are built: what they ARE, how they measure, how they
   behave. This block only says what they are MADE OF, and it sits at the bottom
   for a reason: each of those components already set a flat
   `background: var(--ink-2)` above, and on equal specificity the last one wins.

   One rule for every panel-like component, not a copy per component. That is
   exactly why the site was flat: there WAS no material layer, so every component
   invented its own fill.

   WHAT IT DOES, AND WHY EACH PART IS IN THERE:
     - a band of light fading in from the top (200px, FIXED and not a percentage):
       light falls from above, and that should not depend on whether a card is
       300 or 1200px tall. In percentages a short card reads brighter than a tall
       one, and that is exactly the kind of difference that makes a page look
       untidy.
     - glass in warm ink underneath (alpha 0.62 — kept high, because translucent
       surfaces lift the background under every label and that eats contrast).
     - backdrop-filter, so the ambient light and the embers behind it come
       THROUGH instead of being covered up. Without those two layers behind it,
       glass is just a grey card.
     - a lit hairline inside plus a shadow: the edge of the material and its
       distance from the page.

   Variants with a colour of their own (a.step.is-cta, .tile.is-featured,
   .cta-band) override only their fill and therefore keep the glass and the depth
   — they sit above with a higher specificity and stay gold.
   ══════════════════════════════════════════════════════════════════════ */
.step,
.tile,
.faq details,
.show-card {
  background:
    linear-gradient(180deg, var(--sbv-panel-lit), rgba(244, 239, 227, 0) 200px),
    var(--sbv-surface-1);
  border-color: var(--sbv-panel-border);
  backdrop-filter: var(--sbv-blur);
  -webkit-backdrop-filter: var(--sbv-blur);
  box-shadow: var(--sbv-surface-sheen), var(--sbv-elev-2);
}

/* The gold variants: no new fill, only the same depth. Their tint is set above
   and has to stay — gold means "this is the action" here. */
.cta-band {
  backdrop-filter: var(--sbv-blur);
  -webkit-backdrop-filter: var(--sbv-blur);
  box-shadow: var(--sbv-surface-sheen), var(--sbv-elev-2);
}

/* Hover now lifts the material too instead of only recolouring the border: the
   card comes towards you. NO brand glow added — in this house a glow means a
   STATE (busy, blocked, done), and that meaning disappears the moment it also
   sits on an ordinary hover. See apps/branding/surfaces.css. */
.step:hover,
.tile:hover,
.show-card:hover { box-shadow: var(--sbv-surface-sheen), var(--sbv-elev-3); }

/* ── shared reveal contract for card-like components ─────────────────
   Zero-specificity :where() so a base one-property transition (e.g.
   .step's border-color) can never out-specify the reveal. To make a NEW
   card revealable, add its selector to this list — never redeclare a
   per-component `.r` transition. (.step.is-cta.r keeps its own rule above
   because it additionally fades `background`.) Sits after every component
   definition so source order also favours it on a specificity tie. */
:where(.step, .tile, .media, .figure, .pullquote, .cta-band).r {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), border-color 0.25s var(--ease);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .ln > span { transform: none; transition: none; }
  .hero .hero-foot { opacity: 1; transition: none; }
  /* .step / .tile reveal stagger keeps animating — locked owner override:
     decorative effects run regardless of prefers-reduced-motion. */
}

/* ── phone (canonical ≤600px breakpoint) ─────────────────────────
   Site-wide phone tuning for the shared shell. Standardize new phone
   rules here rather than inventing 540/720/820 one-offs. */
@media (max-width: 600px) {
  /* keep the last section clear of the FAB so its final lines aren't covered */
  .foot { padding-bottom: clamp(72px, 16vw, 96px); }
}

/* ==================================================================
   Cross-document View Transition (11-09-2026, UXfancy.md §10 "pagefade").
   A same-origin navigation between two documents that BOTH carry this
   rule cross-fades (250ms, browser default) instead of painting blank
   while the next page loads. Every subpage gets it from here; the
   landing page emits the same rule in its <head> behind the $motionD
   switch, so landing ↔ subpage can be turned off in one place while
   subpage ↔ subpage always fades. Firefox has no support and simply
   navigates. The curtain is untouched: the new document's first frame
   IS the short curtain, so the old page fades into it rather than
   cutting to it.
================================================================== */
@view-transition { navigation: auto; }

/* ==================================================================
   Tier D polish, shell side (UXfancy.md §10, 11-09-2026). Keyed on
   body[data-motion~="…"], emitted by master.php from
   site_shared/motion_flags.php. The button family's press is in
   button.css; this is everything else the shell draws.
================================================================== */

/* press — 140ms to 0.97 on pointer-down. Elements with an existing
   transition keep it and gain transform; the rest get transform only. */
body[data-motion~="press"] .bar .menu-btn { transition: transform 180ms var(--ease); }
body[data-motion~="press"] .g-chip        { transition: border-color 0.25s, color 0.25s, transform 180ms var(--ease); }
body[data-motion~="press"] .g-card        { transition: padding-left 0.3s var(--ease), color 0.25s, transform 180ms var(--ease); }

body[data-motion~="press"] .bar .menu-btn:active,
body[data-motion~="press"] .g-chip:active,
body[data-motion~="press"] .g-card:active,
body[data-motion~="press"] .ask:active {
  transform: scale(0.97);
}

/* Tiles, steps, show-cards and the drawer links are REVEAL blocks (.r) or
   carry a slow entrance transition of their own. Their transition shorthand
   must not be replaced — the first version did, and the steps on /brouwerij/
   lost their fade and snapped in. Instead the press shortens the transition
   only while pressed. */
body[data-motion~="press"] .tile:active,
body[data-motion~="press"] a.step:active,
body[data-motion~="press"] .show-card:active,
body[data-motion~="press"] .menu ol a:active {
  transform: scale(0.97);
  transition-duration: 140ms;
}

/* Touch: a tap fires :hover and it sticks. No pointer, no lift. */
@media (hover: none) {
  body[data-motion~="press"] .ask:hover,
  body[data-motion~="press"] .tile:hover,
  body[data-motion~="press"] a.step.is-cta:hover,
  body[data-motion~="press"] .show-card:hover,
  body[data-motion~="press"] .cb-helpful:hover { transform: none; }
  body[data-motion~="press"] .show-card:hover img { transform: none; }
  body[data-motion~="press"] .g-card:hover       { padding-left: 0; }
}

/* stagger — members of a group inside a reveal block arrive one at a
   time. The parent .r keeps its own entrance (it usually carries the
   heading too); each member fades and rises 24px on its own, 120ms after
   the block starts and 70ms per index. --d is set inline on the parent
   and inherits.

   `:not(.r)` is load-bearing. Every subpage today ALREADY staggers its
   steps and tiles by making each one its own .r with a hand-set --d
   (80/200/320/440ms on the flow steps, 120ms apart on tiles); the first
   version of this rule stacked on top of that and doubled the tile
   delays. A member that reveals itself is left alone; this rule is the
   generic path for a future group that does not. */
body[data-motion~="stagger"] .r .steps > .step:not(.r),
body[data-motion~="stagger"] .r .tiles > .tile:not(.r),
body[data-motion~="stagger"] .r .gallery > .show-card:not(.r) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 120ms + var(--i, 0) * 70ms);
}

body[data-motion~="stagger"] .r.in .steps > .step:not(.r),
body[data-motion~="stagger"] .r.in .tiles > .tile:not(.r),
body[data-motion~="stagger"] .r.in .gallery > .show-card:not(.r) {
  opacity: 1;
  transform: none;
  /* Once landed, hand transform back to the hover rules — the entrance
     transition would otherwise slow the lift to 0.7s. */
  transition: opacity 0.7s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

/* Those members have hover lifts of their own; the `transform: none`
   above outranks them by specificity, so restate the lifts here. */
body[data-motion~="stagger"] .r.in .tiles > .tile:not(.r):hover        { transform: translateY(-3px); }
body[data-motion~="stagger"] .r.in .steps > a.step.is-cta:not(.r):hover { transform: translateY(-2px); }
body[data-motion~="stagger"] .r.in .gallery > .show-card:not(.r):hover  { transform: translateY(-4px); }

body[data-motion~="stagger"] .r .steps > :nth-child(2),
body[data-motion~="stagger"] .r .tiles > :nth-child(2),
body[data-motion~="stagger"] .r .gallery > :nth-child(2) { --i: 1; }
body[data-motion~="stagger"] .r .steps > :nth-child(3),
body[data-motion~="stagger"] .r .tiles > :nth-child(3),
body[data-motion~="stagger"] .r .gallery > :nth-child(3) { --i: 2; }
body[data-motion~="stagger"] .r .steps > :nth-child(4),
body[data-motion~="stagger"] .r .tiles > :nth-child(4),
body[data-motion~="stagger"] .r .gallery > :nth-child(4) { --i: 3; }
body[data-motion~="stagger"] .r .steps > :nth-child(5),
body[data-motion~="stagger"] .r .tiles > :nth-child(5),
body[data-motion~="stagger"] .r .gallery > :nth-child(5) { --i: 4; }
body[data-motion~="stagger"] .r .steps > :nth-child(6),
body[data-motion~="stagger"] .r .tiles > :nth-child(6),
body[data-motion~="stagger"] .r .gallery > :nth-child(6) { --i: 5; }
