/* Horticoop Invest: the shared stylesheet for the static pages (phase 2) and the port's reference.
   Shell (§3), section blocks (§4) and page patterns (§5) of design-system.md, values only from tokens.css.
   Ported from ../home.css in its locked state only: no viewer, no toggles, no unchosen variants.
   Motion gate: every effect sits under .fx-on (set by site.js: motion allowed and wider than 800px). Without it every page is static and complete. */

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--cream-300) var(--bg-page); accent-color: var(--blue-700); caret-color: var(--blue-700); }
body { --pad: max(var(--gutter), calc((100% - var(--cap)) / 2 + var(--gutter)));
  margin: 0; overflow-x: clip; background: var(--bg-page); color: var(--text); font: var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.w-on-dark :focus-visible, .w-hero :focus-visible, .w-chain :focus-visible, .w-ct :focus-visible { outline-color: var(--green-500); }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { overflow-wrap: break-word; }
::selection { background: var(--blue-100); color: var(--ink); }
.w-arrow { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.w-chev { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-base) var(--ease-out); }
.w-skip { position: absolute; left: var(--gutter); top: 8px; z-index: 40; padding: 12px 18px; background: var(--white); color: var(--ink); font: 700 .9375rem/1 var(--font-head); transform: translateY(-200%); }
.w-skip:focus { transform: none; }
.w-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ===== Shared parts ===== */
.w-sec { padding: var(--sec-pad) var(--pad); }
.w-sec-flush { padding-top: 0; }      /* follows a section on the same ground: they share one padding */
.w-sec-white { background: var(--white); }
.w-nowrap { white-space: nowrap; }
.w-sec h2, .w-chain h2, .w-band h2, .w-ct h2 { font: 600 clamp(2.25rem, 4.4vw, 4rem)/1.04 var(--font-head); letter-spacing: -.025em; text-wrap: balance; }
.w-sec h2 { max-width: 18ch; color: var(--blue-900); }
.w-intro { max-width: 36rem; margin-top: 28px; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); }
.w-head { margin-bottom: var(--head-gap); }
.w-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.w-head-row > div { flex: 1 1 20rem; }
.w-more { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font: 600 1rem/1.4 var(--font-head); color: var(--link); text-underline-offset: 6px; }
.w-more::after { content: ""; position: absolute; inset: -11px 0; }
.w-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.w-head-row .w-more { margin: 0 0 8px; }
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 22px; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--green-600); color: var(--blue-900); font: 700 .9375rem/1 var(--font-head); text-decoration: none; transition: background var(--dur-fast); } /* navy on green, 5.7:1 */
.w-btn:hover { background: var(--green-500); }
.w-btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
/* Placeholder: a missing item, named in square brackets with its D-xx or task. Block (.w-ph) or inline in running text (.w-ph-t) */
.w-ph { display: grid; place-items: center; padding: 16px; background: var(--cream-100); border: 1px dashed var(--cream-300); color: var(--grey-700); font: 600 .8125rem/1.4 var(--font-head); text-align: center; }
.w-ph + .w-ph { margin-top: 24px; }
.w-ph-map { aspect-ratio: var(--ratio-map); }
.w-ph-t { padding: 0 .3em; background: var(--cream-100); outline: 1px dashed var(--cream-300); color: var(--grey-700); font: 600 .9em/1.5 var(--font-head); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.w-on-dark .w-ph, .w-chain .w-ph { background: var(--fill-on-dark); border-color: var(--line-on-dark); color: var(--blue-300); }

/* ===== Menu bar (§3) ===== */
/* In the flow, cream, sticky. On the home it overlays the film (.w-nav-over): transparent with the white logo until the film is behind it (site.js sets data-tone) */
.w-nav { position: sticky; top: 0; z-index: 20; height: var(--header-h); }
.w-nav-over { height: 0; }
.w-bar { position: relative; display: flex; align-items: center; gap: 32px; height: var(--header-h); padding: 0 var(--pad);
  background: var(--nav-bg); color: var(--nav-fg); box-shadow: 0 1px 0 var(--nav-line);
  --nav-bg: var(--bg-page); --nav-fg: var(--ink); --nav-line: var(--border);
  transition: padding var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.w-nav[data-tone="film"] .w-bar { --nav-bg: transparent; --nav-fg: var(--white); --nav-line: transparent; padding-inline: var(--gutter); }
.w-nav[data-tone="film"] .w-bar > :focus-visible, .w-nav[data-tone="film"] .w-nl > li > :focus-visible, .w-nav[data-tone="film"] .w-lang :focus-visible { outline-color: var(--green-500); }
@media (prefers-reduced-motion: reduce) { .w-bar, .w-chev { transition: none; } }
.w-logo img { width: auto; height: var(--logo-height); }
.w-nav .w-logo img { height: var(--logo-height-small); transition: filter var(--dur-base) var(--ease-out); }
.w-nav[data-tone="film"] .w-logo img { filter: brightness(0) invert(1); }
.w-bar nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font: 600 .9375rem/1 var(--font-head); }
.w-nl { display: flex; align-items: stretch; gap: 28px; height: var(--header-h); }
.w-nl > li { position: relative; display: flex; align-items: center; }
.w-nl a, .w-lang a { text-decoration: none; }
.w-nl a:hover, .w-dd > button:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.w-dd > button { display: inline-flex; align-items: center; gap: 6px; padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.w-dd > button[aria-expanded="true"] .w-chev { transform: rotate(180deg); }
/* Hit areas (WCAG 2.5.8): larger than the 15px labels, with no change to the layout */
.w-nl > li > :is(a, button), .w-lang a { position: relative; }
.w-nl > li > :is(a, button)::after, .w-lang a::after { content: ""; position: absolute; inset: -15px -6px; }
/* Current section: a 3px navy bar on the bar's lower edge under the top item (13:1 on cream), so it differs from the 1px hover underline */
.w-nl > li:is([data-current], :has(> a[aria-current="page"]))::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue-900); }
.w-nav[data-tone="film"] .w-nl > li::before { background: var(--white); }
/* Dropdown panel: white, square, the menu shadow, 48px rows. Click or Enter opens it (site.js); without the script, hover and focus do */
.w-dd-panel { display: none; position: absolute; top: 100%; left: -16px; z-index: 1; min-width: 15rem; padding: 8px 0; background: var(--white); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 1rem; }
.w-dd > button[aria-expanded="true"] + .w-dd-panel, html:not(.js) .w-dd:is(:hover, :focus-within) > .w-dd-panel { display: block; }
.w-dd-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 20px; }
.w-dd-panel a[aria-current="page"] { background: linear-gradient(var(--blue-900), var(--blue-900)) left / 3px 100% no-repeat; }
.w-dd-panel :focus-visible { outline-color: var(--focus); outline-offset: -3px; }
.w-lang { display: inline-flex; align-items: center; gap: 4px; font: 600 .875rem/1 var(--font-head); }
.w-menu { display: none; min-height: 44px; padding: 0 18px; font: 700 .9375rem/1 var(--font-head); color: inherit; background: none; border: 1px solid currentColor; border-radius: var(--radius-pill); cursor: pointer; }
@media (max-width: 1023px) {
  .w-bar { gap: 12px; }
  .w-bar .w-btn { margin-left: auto; }
  .w-menu { display: inline-flex; align-items: center; }
  .w-bar nav { display: none; }
  /* The open menu: a white panel under the bar; the dropdowns become accordions with the same buttons */
  .w-bar[data-open] nav { position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px;
    max-height: calc(100svh - var(--header-h) - 16px); overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 1.0625rem; }
  .w-bar[data-open] nav :focus-visible { outline-color: var(--focus); outline-offset: -3px; }
  .w-bar[data-open] .w-nl { flex-direction: column; height: auto; gap: 0; }
  .w-bar[data-open] .w-nl > li { display: block; }
  .w-bar[data-open] .w-nl > li + li, .w-bar[data-open] .w-lang { border-top: 1px solid var(--border); }
  .w-bar[data-open] .w-nl > li > :is(a, button) { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px; }
  .w-bar[data-open] :is(.w-nl > li > *, .w-lang a)::after { content: none; }
  .w-bar[data-open] .w-nl > li::before { display: none; }
  .w-bar[data-open] .w-nl > li > a[aria-current="page"] { background: linear-gradient(var(--blue-900), var(--blue-900)) left / 3px 100% no-repeat; }
  .w-bar[data-open] .w-dd-panel { position: static; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; font-size: inherit; }
  .w-bar[data-open] .w-dd-panel a { padding-left: 32px; }
  .w-bar[data-open] .w-lang { gap: 6px; padding: 0 4px; }
  .w-bar[data-open] .w-lang :is(a, b) { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 12px; }
  /* Without the script the links stay reachable: everything wraps under the bar, the sub-pages flat, the inert group buttons hidden */
  html:not(.js) .w-menu { display: none; }
  html:not(.js) .w-nav { position: static; height: auto; }
  html:not(.js) .w-bar { flex-wrap: wrap; height: auto; padding-block: 16px; }
  html:not(.js) .w-bar nav { display: flex; flex-wrap: wrap; gap: 8px 20px; order: 3; flex-basis: 100%; margin: 4px 0; }
  html:not(.js) .w-nl { display: contents; }
  html:not(.js) .w-nl > li, html:not(.js) .w-dd-panel { display: contents; }
  html:not(.js) .w-dd > button, html:not(.js) .w-nl > li::before { display: none; }
  html:not(.js) .w-nl a, html:not(.js) .w-lang { min-height: 32px; display: inline-flex; align-items: center; }
  html:not(.js) .w-dd-panel a { min-height: 32px; padding: 0; font-size: .9375rem; background: none; }
  html:not(.js) .w-nl a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}

/* ===== Footer (§3) ===== */
.w-ft { padding: clamp(80px, 10vw, 144px) var(--pad) 40px; background: var(--cream-100); color: var(--ink); }
.w-pay { padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--ink); font: 600 clamp(2.75rem, 6.4vw, 6rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--blue-900); }
.w-ft-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 48px 0; }
.w-ft-grid p { margin-top: 12px; font-size: .9375rem; color: var(--text-muted); }
.w-ft-grid ul { display: grid; font: 600 .9375rem/1.4 var(--font-head); }
.w-ft-grid nav a { display: block; padding-block: 5px; text-decoration: none; }
.w-ft-grid .w-ft-lang a { display: inline-block; }
.w-ft-grid nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.w-ft-grid nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.w-disc, .w-copy { font-size: .8125rem; color: var(--grey-500); }
.w-copy { margin-top: 8px; }
@media (max-width: 800px) { .w-ft-grid { grid-template-columns: 1fr 1fr; } .w-ft-grid > div { grid-column: 1 / -1; } }

/* ===== 1. Film hero (§4.1, homepage only) ===== */
.w-hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--blue-900) url("../assets/hero-v2-poster.jpg") center / cover; color: var(--white); }
.w-media, .w-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), var(--scrim-hold)) 26%, rgba(var(--scrim), .55) 55%, rgba(var(--scrim), 0) 82%); }
.w-hero-body { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 128px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: end; gap: 32px 64px; }
.w-hero :is(h1, .w-h1) { font: 600 clamp(2.75rem, 6.2vw, 6rem)/1 var(--font-head); letter-spacing: -.03em; max-width: 13ch; }
.w-accent { color: var(--green-500); }
.w-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.w-line > span { display: block; }
.w-cycle { display: inline-grid; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: bottom; }
.w-cycle > span { grid-area: 1 / 1; display: block; }
.fx-on .w-cycle > span { transition: transform var(--dur-slow) var(--ease-out); }
.fx-on .w-cycle > .in { transform: translateY(105%); }
.fx-on .w-cycle > .out { transform: translateY(-105%); }
.w-lead { padding-bottom: .5em; font-size: var(--fs-lead); line-height: 1.5; }
.w-rail { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px;
  min-height: 89px; padding: 20px var(--gutter); border-top: 1px solid var(--line-on-dark); font: 600 .9375rem/1.3 var(--font-head); }
.w-rail .w-pause { grid-column: 3; }
.w-pause { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--white); background: transparent; border: 1px solid var(--line-on-dark-strong); border-radius: 50%; cursor: pointer; }
.w-pause svg { width: 20px; height: 20px; fill: currentColor; }
.w-pause .play, .w-pause[aria-pressed="true"] .bars { display: none; }
.w-pause[aria-pressed="true"] .play { display: block; }
@media (max-width: 800px) {
  .w-hero-body { grid-template-columns: 1fr; bottom: 168px; }
  .w-rail { grid-template-columns: 1fr auto; row-gap: 6px; }
  .w-rail p:nth-child(2) { grid-row: 2; }
  .w-pause { grid-row: 1 / 3; grid-column: 2; }
}
@media (max-width: 480px) { .w-hero-body { bottom: 156px; } .w-lead { font-size: 1.0625rem; } .w-pause { display: none; } }

/* ===== 2. Widening photo panels (§4.2) ===== */
.w-panels { display: flex; gap: 8px; height: clamp(480px, 70vh, 760px); }
.w-panels > li { position: relative; flex: 1 1 0; min-width: 13.5rem; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-900); color: var(--white); }
.w-panels img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-panels > li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .62) 0%, rgba(var(--scrim), .42) 30%, rgba(var(--scrim), 0) 62%); }
.w-ico { display: block; width: var(--icon); height: var(--icon); margin-bottom: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.w-panels h3, .w-pfront span { display: block; max-width: 16ch; font: 600 clamp(1.125rem, 1.35vw, 1.3rem)/1.25 var(--font-head); overflow-wrap: normal; }
.w-pfront { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px 20px; color: var(--white); }
.w-pcard { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 20px 28px; background: var(--white); color: var(--grey-700); transform: translate3d(0, 101%, 0); will-change: transform; }
.w-pcard h3 { max-width: none; margin-bottom: 10px; color: var(--blue-700); }
.w-pcard .w-ico { color: var(--blue-700); }
.w-pcard p { font-size: .9375rem; line-height: 1.5; }
.w-panels > li:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.w-panels > li:is(:hover, :focus-visible) .w-pcard { transform: none; }
.w-panels > li:is(:hover, :focus-visible) .w-pfront { opacity: 0; }
@media (hover: none) { .w-panels > li:focus .w-pcard { transform: none; } .w-panels > li:focus .w-pfront { opacity: 0; } }
@media (max-width: 1279px) {
  .w-panels { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 22rem); gap: 12px; height: 460px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); overscroll-behavior-x: contain; scrollbar-width: none; }
  .w-panels::-webkit-scrollbar { display: none; }
  .w-panels > li { min-width: 0; scroll-snap-align: start; }
}
/* The panel under the pointer widens; card and front title keep fixed widths so nothing inside re-flows */
@media (hover: hover) and (min-width: 1280px) {
  .w-panels { container-type: inline-size; --oth: max(13.5rem, calc((100cqw - 32px) / 6.6)); --wo: calc(100cqw - 32px - 4 * var(--oth)); }
  .w-panels > li:hover { flex-grow: 2.6; }
  .w-pcard { right: auto; width: var(--wo); }
  .w-pfront { right: auto; width: var(--oth); }
}
.fx-on .w-panels > li { transition: flex-grow var(--dur-slow) var(--ease-card); }
.fx-on .w-pcard { transition: transform var(--dur-card-out) var(--ease-card); }
.fx-on .w-panels > li:is(:hover, :focus-visible, :focus) .w-pcard { transition-duration: var(--dur-card-in); }
.fx-on .w-pfront { transition: opacity var(--dur-base) var(--ease-card); }

/* ===== 3. Navy tabs band (§4.3): the one navy section per page ===== */
/* Default, and always without the script or at 800px and below: the stacked list. With the script and wider than 800px: four tabs over the photo */
.w-chain { padding: var(--sec-pad-band) var(--pad); background: var(--blue-900); color: var(--white); }
.w-chain h2 { max-width: none; color: var(--white); }
.w-chain .w-intro { color: var(--blue-100); }
.w-chain .w-head { margin-bottom: clamp(40px, 5vw, 64px); }
.w-chain + .w-mdk { margin-top: clamp(56px, 7vw, 112px); }
.w-tabs, .w-stage { display: none; }
.w-steps > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(40px, 6vw, 112px); align-items: center; padding: 48px 0; border-top: 1px solid var(--line-on-dark); }
.w-steps > li > :not(.w-still-m) { grid-column: 2; }
.w-still-m { grid-row: 1 / span 5; aspect-ratio: var(--ratio-still); overflow: hidden; border-radius: var(--radius-lg); }
.w-still-m img, .w-still img { width: 100%; height: 100%; object-fit: cover; }
.w-steps h3 { font: 600 clamp(2.25rem, 4.2vw, 4rem)/1.05 var(--font-head); letter-spacing: -.025em; }
.w-steps p { max-width: 30rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--blue-100); }
.w-steps ul { display: flex; flex-wrap: wrap; gap: 8px; max-width: 34rem; }
.w-steps ul li { padding: 8px 16px; border: 1px solid var(--line-on-dark); border-radius: var(--radius-pill); font: 600 .9375rem/1.3 var(--font-head); }
@media (max-width: 800px) {
  .w-steps > li { grid-template-columns: 1fr; }
  .w-steps > li > :not(.w-still-m) { grid-column: 1; }
  .w-still-m { grid-row: auto; }
}
@media (min-width: 801px) {
  .js .w-chain .w-intro { margin-top: 20px; font-size: 1.0625rem; } /* the intro and the link names a step smaller than the stacked list, as on the locked homepage */
  .js .w-steps h3 { font-size: clamp(2.25rem, 3.8vw, 3.5rem); }
  .js .w-chain-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; gap: 28px clamp(48px, 7vw, 120px); align-items: start; }
  .js .w-tabs { display: flex; justify-content: space-between; gap: 4px 20px; grid-column: 1; grid-row: 1; border-bottom: 1px solid var(--line-on-dark); }
  .js .w-tabs button { position: relative; min-height: 56px; padding: 8px 0 14px; font: 600 clamp(1.125rem, 1.6vw, 1.625rem)/1.2 var(--font-head); letter-spacing: -.015em; color: var(--blue-300); background: none; border: 0; cursor: pointer; }
  .js .w-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--green-500); transform: scaleX(0); transform-origin: left; }
  .js .w-tabs button:is(:hover, [aria-pressed="true"]) { color: var(--white); }
  .js .w-tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
  .js .w-tabs button:focus-visible { outline-offset: 2px; }
  .js .w-stage { display: block; grid-column: 1; grid-row: 2; }
  .js .w-frame { position: relative; width: 100%; aspect-ratio: var(--ratio-still); overflow: hidden; border-radius: var(--radius-lg); }
  .js .w-still { position: absolute; inset: 0; opacity: 0; }
  .js .w-steps { grid-column: 2; grid-row: 1 / -1; align-self: center; }
  .js .w-steps > li { display: none; flex-direction: column; align-items: flex-start; gap: 20px; padding: 0; border: 0; }
  .js .w-still-m { display: none; }
  .js .w-chain[data-active="1"] :is(.w-steps > li, .w-still)[data-step="1"], .js .w-chain[data-active="2"] :is(.w-steps > li, .w-still)[data-step="2"],
  .js .w-chain[data-active="3"] :is(.w-steps > li, .w-still)[data-step="3"], .js .w-chain[data-active="4"] :is(.w-steps > li, .w-still)[data-step="4"] { display: flex; opacity: 1; }
  .js .w-chain[data-active] .w-still { display: block; }
  .fx-on .w-tabs button { transition: color var(--dur-base); }
  .fx-on .w-tabs button::after { transition: transform var(--dur-base) var(--ease-out); }
  .fx-on .w-still { transition: opacity var(--dur-slow) var(--ease-out); }
  .fx-on .w-chain .w-steps > li[data-step] { transition: opacity var(--dur-swap) var(--ease-out); }
  @starting-style { .fx-on .w-chain .w-steps > li[data-step] { opacity: 0; } }
}

/* ===== 4. Photo band with ledger (§4.4) ===== */
.w-mdk { padding: 0 0 var(--sec-pad); }
.w-band { position: relative; height: clamp(520px, 88vh, 940px); overflow: hidden; color: var(--white); }
.w-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), var(--scrim-hold)) 42%, rgba(var(--scrim), 0) 72%); }
.w-band-body { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(40px, 6vw, 88px); z-index: 1; }
.w-band h2 { color: var(--white); font-size: clamp(2.75rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -.03em; }
/* Plain band: the photo alone, no text on it, so no scrim (page header, detail) */
.w-band-plain { height: clamp(320px, 60vh, 720px); background: var(--cream-100); }
.w-band-plain::after { content: none; }
.w-band-plain > .w-ph { position: absolute; inset: 0; }
.w-pillars { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); margin: clamp(64px, 8vw, 112px) var(--pad) 0; border-top: 1px solid var(--ink); }
.w-sec .w-pillars { margin-inline: 0; }
.w-pillars-even { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.w-pillars > li { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 3; grid-template-rows: subgrid; padding: 32px 28px 8px; border-left: 1px solid var(--cream-300); }
.w-pillars > li:first-child { padding-left: 0; border-left: 0; }
.w-figs { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; justify-content: start; align-items: end; align-content: start; gap: 10px 32px; }
.w-fig { display: contents; }
.w-num { font: 600 clamp(2.75rem, 4vw, 4rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--blue-900); font-variant-numeric: lining-nums tabular-nums; }
.w-fig2 .w-num { font-size: clamp(2rem, 2.6vw, 2.5rem); }
.w-num .w-ph-t { font-size: .45em; letter-spacing: 0; } /* a missing figure: the slot, not a fake number */
.w-fl { align-self: start; max-width: 24ch; font: 600 .9375rem/1.35 var(--font-head); color: var(--grey-700); }
.w-conts { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; font: 600 .875rem/1.5 var(--font-head); color: var(--grey-700); }
.w-pillars h3 { margin: 24px 0 12px; font: 600 1.375rem/1.3 var(--font-head); color: var(--blue-900); }
.w-pillars p:not(.w-fig):not(.w-conts) { color: var(--text-muted); }
@media (max-width: 1100px) {
  .w-pillars, .w-pillars-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-pillars > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .w-pillars > li:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--cream-300); }
}
@media (max-width: 640px) {
  .w-pillars, .w-pillars-even { grid-template-columns: 1fr; }
  .w-pillars > li { padding: 32px 0 8px; border-left: 0; }
  .w-pillars > li + li { margin-top: 32px; border-top: 1px solid var(--cream-300); }
}

/* ===== 5. Term sheet (§4.5) ===== */
.w-cr { background: var(--white); }
.w-routes { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.w-route { display: flex; flex-direction: column; gap: 12px; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg); }
.w-route h3 { margin-bottom: 16px; font: 600 1.25rem/1.3 var(--font-head); }
.w-amt { font: 600 clamp(3rem, 5.6vw, 5.5rem)/1 var(--font-head); letter-spacing: -.035em; white-space: nowrap; }
.w-amt small { font-size: .4em; letter-spacing: 0; }
.w-unit { margin-bottom: 20px; font: 600 1rem/1 var(--font-head); }
.w-route p:last-child { max-width: 28rem; margin-top: auto; }
.w-route-a { background: var(--blue-900); color: var(--white); }
.w-route-a h3, .w-route-a p:last-child { color: var(--blue-100); }
.w-route-b { background: var(--cream-50); border: 1px solid var(--cream-200); }
.w-route-b .w-amt { color: var(--blue-900); }
.w-route-b h3, .w-route-b p:last-child { color: var(--text-muted); }
.w-or { position: relative; z-index: 1; align-self: center; display: grid; place-items: center; width: 88px; height: 88px; margin-inline: -44px;
  background: var(--white); border: 1px solid var(--cream-300); border-radius: 50%; font: 600 1.25rem/1 var(--font-head); color: var(--green-text); }
.w-both-t { margin: clamp(56px, 6vw, 80px) 0 20px; font: 600 1.25rem/1.3 var(--font-head); color: var(--blue-900); }
.w-both { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--cream-300); }
.w-both li { display: flex; align-items: center; gap: 16px; padding: 28px 24px; border-left: 1px solid var(--cream-300); font: 600 1.0625rem/1.35 var(--font-head); }
.w-both li:first-child { padding-left: 0; border-left: 0; }
.w-both svg { flex: none; width: var(--icon-sm); height: var(--icon-sm); fill: none; stroke: var(--blue-700); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) {
  .w-both { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-both li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .w-both li:nth-child(n+3) { border-top: 1px solid var(--cream-300); }
}
@media (max-width: 800px) { .w-routes { grid-template-columns: 1fr; } .w-or { margin: -28px auto; width: 64px; height: 64px; } }
@media (max-width: 520px) { .w-both { grid-template-columns: 1fr; } .w-both li { padding: 20px 0; border-left: 0; } .w-both li + li { border-top: 1px solid var(--cream-300); } }

/* ===== 6. Square tile grid (§4.6) ===== */
.w-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.w-tile { position: relative; isolation: isolate; display: block; aspect-ratio: var(--ratio-tile); overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-700); color: var(--white); text-decoration: none; }
.w-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-tile-txt { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 8px; height: 14rem; padding: 56px 72px 24px 24px;
  background: linear-gradient(to top, rgba(var(--scrim), .94) 0%, rgba(var(--scrim), .9) 76%, rgba(var(--scrim), 0)); }
.w-tag { font: 600 .875rem/1 var(--font-head); color: var(--green-500); }
.w-tile h3 { font: 600 clamp(1.5rem, 2vw, 2rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.w-tile-p { font-size: 1rem; line-height: 1.45; color: var(--blue-100); }
.w-tile > .w-arrow { position: absolute; right: 24px; bottom: 24px; width: 24px; height: 24px; }
.w-tile:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.w-tile:focus-visible { outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .fx-on .w-tile > img { transition: transform var(--dur-slow) var(--ease-out); }
  .fx-on .w-tile:is(:hover, :focus-visible) > img { transform: scale(1.04); }
}
/* A tile that is not a link (team as tiles, viewer toggle "Team"): no hover underline or zoom, the face sits a little high so the scrim clears it */
.w-tile:not(a):hover h3 { text-decoration: none; }
.fx-on .w-tile:not(a):hover > img { transform: none; }
.w-grid-team .w-tile > img { object-position: 50% 25%; }
.w-grid-team .w-tile-txt { height: auto; gap: 6px; padding: 96px 24px 20px; background: linear-gradient(to top, rgba(var(--scrim), .88) 0%, rgba(var(--scrim), .72) 38%, rgba(var(--scrim), .35) 68%, rgba(var(--scrim), 0) 100%); }
@media (max-width: 1000px) { .w-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .w-grid { grid-template-columns: 1fr; } .w-tile:not(:has(> img)) { aspect-ratio: var(--ratio-card); } }

/* ===== 7. CTA band (§4.7): the closing block of every page ===== */
.w-ct { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding: clamp(80px, 9vw, 128px) var(--pad); overflow: hidden; color: var(--white); }
.w-ct > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-ct::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .94) 0%, rgba(var(--scrim), .84) 70%, rgba(var(--scrim), .45) 100%); }
.w-ct-body { display: contents; }
.w-ct-body > * { position: relative; z-index: 1; }
.w-ct h2 { flex: 1 1 100%; }
.w-ct-body p { flex: 1 1 24rem; max-width: 32rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--blue-100); }

/* ===== Page patterns (§5) ===== */

/* 5.1 Page header: no film. Breadcrumb, h1 a step above section h2, intro. Optionally followed by a plain photo band */
.w-pagehead { padding: clamp(56px, 8vw, 128px) var(--pad) clamp(56px, 7vw, 112px); }
.w-pagehead :is(h1, .w-h1) { max-width: 16ch; font: 600 clamp(2.75rem, 5.6vw, 5rem)/1.02 var(--font-head); letter-spacing: -.03em; color: var(--blue-900); text-wrap: balance; }
.w-pagehead .w-intro { margin-top: 32px; }
.w-kicker { display: block; margin-bottom: 20px; font: 600 .9375rem/1.3 var(--font-head); color: var(--text-muted); }
.w-kicker .w-k-tag { color: var(--green-text); }
.w-crumbs { margin-bottom: clamp(32px, 4vw, 48px); font: 600 .875rem/1.4 var(--font-head); color: var(--text-muted); }
.w-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.w-crumbs li + li::before { content: "/"; content: "/" / ""; /* the second hides the separator from screen readers where supported */ margin: 0 10px; color: var(--grey-500); }
.w-crumbs a { position: relative; color: var(--link); text-underline-offset: 4px; }
.w-crumbs a::after { content: ""; position: absolute; inset: -12px -4px; }
.w-crumbs [aria-current="page"] { color: var(--ink); }
/* Page header with the photo behind it (viewer toggle "Paginakop", default since 11 Nov): the menu floats over it, slim (content width) from the start. Scrim for the text at the foot and the menu at the top */
.w-nav-slim[data-tone="film"] .w-bar { padding-inline: var(--pad); }
.w-pagehead-photo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(560px, 82vh, 900px); padding-top: calc(var(--header-h) + 64px); overflow: hidden; background: var(--blue-900); color: var(--white); }
.w-pagehead-photo > img, .w-pagehead-photo > .w-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-pagehead-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim), .88) 0%, rgba(var(--scrim), var(--scrim-hold)) 38%, rgba(var(--scrim), .15) 70%, rgba(var(--scrim), .5) 100%); }
.w-pagehead-photo > :not(img, .w-ph) { position: relative; z-index: 1; }
.w-pagehead-photo :is(h1, .w-h1) { color: var(--white); }
.w-pagehead-photo :is(.w-intro, .w-kicker, .w-crumbs, .w-crumbs [aria-current="page"]) { color: rgba(255, 255, 255, .88); }
.w-pagehead-photo .w-crumbs a, .w-pagehead-photo .w-intro a, .w-pagehead-photo .w-more { color: var(--white); }
.w-pagehead-photo .w-crumbs li + li::before { color: rgba(255, 255, 255, .6); }
.w-pagehead-photo .w-k-tag { color: var(--green-500); }
.w-pagehead-photo :focus-visible { outline-color: var(--green-500); }
.w-pagehead-photo .w-ph-t { background: var(--fill-on-dark); outline-color: var(--line-on-dark); color: var(--blue-300); }
/* Viewer toggle "Kophoogte" compact: the header photo at 2/3 of its height, behind or under the header (the text still pushes it taller where it needs room) */
[data-kophoogte="compact"] .w-pagehead-photo { min-height: clamp(373px, 55vh, 600px); }
[data-kophoogte="compact"] .w-band-plain { height: clamp(213px, 40vh, 480px); }
.w-pagehead + .w-sec, .w-band-plain + .w-sec { padding-top: clamp(64px, 8vw, 128px); }

/* 5.2 Long-form text: one column at --measure, h2/h3 rhythm, lists with markers, quote, inline placeholders */
.w-prose { max-width: var(--measure); }
.w-prose > * + * { margin-top: 1.1em; }
.w-prose h2 { max-width: none; margin-top: 2em; font: 600 clamp(1.75rem, 2.6vw, 2.375rem)/1.15 var(--font-head); letter-spacing: -.02em; color: var(--blue-900); }
.w-prose h3 { margin-top: 1.8em; font: 600 1.375rem/1.3 var(--font-head); color: var(--blue-900); }
.w-prose > :first-child { margin-top: 0; }
.w-prose :is(h2, h3) + * { margin-top: .6em; }
.w-prose .w-lede { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); }
.w-prose ul, .w-prose ol { padding-left: 1.4em; }
.w-prose ul { list-style: disc; }
.w-prose ol { list-style: decimal; }
.w-prose li + li { margin-top: .5em; }
.w-prose li::marker { color: var(--blue-700); }
.w-prose a { color: var(--link); text-underline-offset: 3px; }
.w-prose .w-ph { justify-items: start; text-align: left; }
.w-prose figure img, .w-prose figure .w-ph { width: 100%; aspect-ratio: var(--ratio-news); object-fit: cover; }
.w-prose figcaption { margin-top: 10px; font-size: .875rem; color: var(--text-muted); }
.w-quote { margin-block: 2em; padding-top: 28px; border-top: 1px solid var(--ink); }
.w-quote p { font: 600 clamp(1.5rem, 2.4vw, 2.125rem)/1.25 var(--font-head); letter-spacing: -.015em; color: var(--blue-900); }
.w-quote figcaption { margin-top: 16px; font: 600 .9375rem/1.4 var(--font-head); color: var(--text-muted); }

/* 5.3 Listing with filters: pill filters over the tile grid (Portfolio) or the 16:9 card list (Nieuws), count, empty state, pagination.
   Without the script the filters cannot work, so they are hidden and every item shows */
.w-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; }
html:not(.js) .w-filters { display: none; }
.w-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.w-pills button { min-height: 44px; padding: 0 18px; font: 600 .9375rem/1 var(--font-head); color: var(--ink); background: transparent; border: 1px solid var(--field-border); border-radius: var(--radius-pill); cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast); }
.w-pills button:hover { border-color: var(--ink); }
.w-pills button[aria-pressed="true"] { background: var(--blue-900); border-color: var(--blue-900); color: var(--white); }
.w-count { font: 600 .9375rem/1.4 var(--font-head); color: var(--text-muted); }
.w-filters .w-ph { min-height: 44px; padding: 8px 16px; }
[data-chain][hidden] { display: none; }
.w-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.w-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.w-card > img, .w-card > .w-ph { width: 100%; aspect-ratio: var(--ratio-news); object-fit: cover; margin-bottom: 8px; }
.w-card-meta { font: 600 .875rem/1.4 var(--font-head); color: var(--text-muted); }
.w-card h3 { font: 600 1.375rem/1.25 var(--font-head); color: var(--blue-900); }
.w-card p { color: var(--text-muted); }
.w-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.w-card:focus-visible { outline-offset: 6px; }
@media (max-width: 1000px) { .w-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .w-cards { grid-template-columns: 1fr; } }
.w-empty { display: grid; justify-items: start; gap: 12px; padding: clamp(40px, 6vw, 72px); background: var(--white); border: 1px solid var(--border); }
.w-empty[hidden] { display: none; }
.w-empty h3 { font: 600 1.5rem/1.25 var(--font-head); color: var(--blue-900); }
.w-empty p { max-width: 40ch; color: var(--text-muted); }
.w-empty .w-more { margin-top: 8px; padding: 0; font: inherit; font-family: var(--font-head); font-weight: 600; background: none; border: 0; cursor: pointer; text-decoration: underline; }
.w-pager { margin-top: clamp(56px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--cream-300); }
.w-pager ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font: 600 1rem/1 var(--font-head); }
.w-pager a, .w-pager span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; text-decoration: none; }
.w-pager a:hover { text-decoration: underline; text-underline-offset: 5px; }
.w-pager [aria-current="page"] { background: var(--blue-900); color: var(--white); }
.w-pager .w-pager-prev { margin-right: auto; color: var(--link); }
.w-pager .w-pager-next { margin-left: auto; color: var(--link); }
.w-pager .w-pager-prev .w-arrow { transform: scaleX(-1); }
.w-pager [aria-disabled="true"] { color: var(--grey-500); }

/* 5.4 Detail template: page header with kicker, plain photo band, key facts as a ledger, text, quote, website link, previous / next */
.w-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.w-facts > div { padding: 24px 28px 8px; border-left: 1px solid var(--cream-300); }
.w-facts > div:first-child { padding-left: 0; border-left: 0; }
.w-facts dt { font: 600 .875rem/1.4 var(--font-head); color: var(--text-muted); }
.w-facts dd { margin-top: 10px; font: 600 1.375rem/1.3 var(--font-head); color: var(--blue-900); }
.w-facts .w-ph-t { font-size: .875rem; }
.w-detail-body { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); gap: 40px clamp(48px, 7vw, 120px); margin-top: clamp(56px, 7vw, 96px); }
.w-detail-aside { align-self: start; display: grid; justify-items: start; gap: 8px; }
.w-detail-aside .w-more { margin: 0; }
.w-prevnext { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--cream-300); }
.w-prevnext a { display: grid; gap: 8px; padding: 28px 0; text-decoration: none; }
.w-prevnext a + a { justify-items: end; text-align: right; padding-left: 24px; border-left: 1px solid var(--cream-300); }
.w-prevnext span { display: inline-flex; align-items: center; gap: 8px; font: 600 .875rem/1.4 var(--font-head); color: var(--text-muted); }
.w-prevnext span .w-arrow.w-back { transform: scaleX(-1); }
.w-prevnext b { font: 600 clamp(1.375rem, 2vw, 1.75rem)/1.2 var(--font-head); color: var(--blue-900); }
.w-prevnext a:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 1000px) {
  .w-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .w-facts > div:nth-child(n+3) { border-top: 1px solid var(--cream-300); }
  .w-detail-body { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .w-facts { grid-template-columns: 1fr; }
  .w-facts > div { padding-left: 0; border-left: 0; }
  .w-facts > div + div { border-top: 1px solid var(--cream-300); }
  .w-prevnext { grid-template-columns: 1fr; }
  .w-prevnext a + a { justify-items: start; text-align: left; padding-left: 0; border-left: 0; border-top: 1px solid var(--cream-300); }
}

/* 5.5 People grid: landscape photo (DES-07), name, role, LinkedIn. No e-mail, no bio unless D-19 says so */
.w-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.w-person > img, .w-person > .w-ph { width: 100%; height: auto; aspect-ratio: var(--ratio-person); object-fit: cover; margin-bottom: 20px; }
.w-person h3 { font: 600 1.375rem/1.25 var(--font-head); color: var(--blue-900); }
.w-person p { margin-top: 4px; color: var(--text-muted); }
.w-person .w-more { margin-top: 12px; }
@media (max-width: 1000px) { .w-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .w-people { grid-template-columns: 1fr; } }

/* 5.6 Contact routes: name, role, LinkedIn per route, on the ledger rule; address beside them */
.w-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.w-contacts > div { display: grid; align-content: start; gap: 6px; padding: 28px 28px 8px; border-left: 1px solid var(--cream-300); }
.w-contacts > div:first-child { padding-left: 0; border-left: 0; }
.w-contacts h3 { margin-bottom: 10px; font: 600 1.25rem/1.3 var(--font-head); color: var(--blue-900); }
.w-contacts p { color: var(--text-muted); }
.w-contacts .w-more { margin-top: 10px; }
@media (max-width: 800px) {
  .w-contacts { grid-template-columns: 1fr; }
  .w-contacts > div { padding-left: 0; border-left: 0; }
  .w-contacts > div + div { margin-top: 24px; border-top: 1px solid var(--cream-300); }
}

/* 5.7 Form: visible labels, hint and error between label and field, white fields with a 6:1 outline, one submit button */
.w-form { display: grid; gap: 28px; max-width: 40rem; }
.w-field { display: grid; gap: 8px; }
.w-field > label, .w-form legend { font: 600 1rem/1.4 var(--font-head); color: var(--ink); }
.w-opt { font-weight: 600; color: var(--text-muted); }
.w-hint { font-size: .9375rem; color: var(--text-muted); }
.w-err { font: 600 .9375rem/1.4 var(--font-head); color: var(--error); }
.w-err:empty { display: none; }
.w-form :is(input:not([type="radio"], [type="checkbox"]), textarea, select) { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--field-border); border-radius: 0; }
.w-form textarea { min-height: 10rem; resize: vertical; }
.w-form :is(input, textarea, select):focus-visible { outline-offset: 2px; }
.w-form [aria-invalid="true"] { border: 2px solid var(--error); }
.w-form fieldset { display: grid; gap: 4px; margin: 0; padding: 0; border: 0; }
.w-form legend { margin-bottom: 4px; padding: 0; }
.w-choice { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.w-choice input { width: 20px; height: 20px; margin: 0; flex: none; }
.w-form-alert { padding: 20px 24px; background: var(--white); border: 2px solid var(--error); }
.w-form-alert h3 { font: 600 1.125rem/1.3 var(--font-head); color: var(--error); }
.w-form-alert ul { margin-top: 8px; padding-left: 1.2em; list-style: disc; }
.w-form-alert a { color: var(--link); text-underline-offset: 3px; }
.w-form-ok { padding: 20px 24px; background: var(--white); border: 1px solid var(--blue-900); }
.w-form-alert[hidden], .w-form-ok[hidden] { display: none; }
.w-form .w-btn { justify-self: start; }
.w-sec .w-form-t { margin: clamp(72px, 9vw, 128px) 0 32px; font: 600 clamp(1.75rem, 2.6vw, 2.375rem)/1.15 var(--font-head); letter-spacing: -.02em; color: var(--blue-900); } /* the form's heading, at the text-h2 size */

/* 5.10 Two lists on the ledger rule: a heading and short items between hairlines, side by side */
.w-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(40px, 6vw, 112px); }
.w-lists > div { padding-top: 28px; border-top: 1px solid var(--ink); }
.w-lists h3 { margin-bottom: 12px; font: 600 1.375rem/1.3 var(--font-head); color: var(--blue-900); }
.w-lists li { padding: 18px 0; font: 600 1.0625rem/1.4 var(--font-head); }
.w-lists li + li { border-top: 1px solid var(--cream-300); }
@media (max-width: 800px) { .w-lists { grid-template-columns: 1fr; } }
/* A marked line under the term sheet (e.g. the ticket size while D-42 is open) */
.w-both + .w-lists { margin-top: clamp(72px, 8vw, 120px); }
.w-cr-note { margin-top: 24px; font: 600 1.0625rem/1.4 var(--font-head); color: var(--ink); }

/* 5.11 Chapter: one long topic per section on the ink rule. Number and figures on the left, h2, text and an optional photo on the right.
   .w-chapter-flip puts the photo first. Consecutive chapters share the section padding */
.w-chapter + .w-chapter { padding-top: 0; }
.w-chapter-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(48px, 7vw, 120px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.w-chapter-side { display: grid; align-content: start; gap: 32px; }
.w-chapter-no { font: 600 .9375rem/1 var(--font-head); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.w-chapter .w-chapter-side h2 { max-width: 14ch; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.w-chapter-main { display: grid; align-content: start; gap: 40px; }
.w-chapter-main > :is(img, .w-ph) { width: 100%; aspect-ratio: var(--ratio-still); object-fit: cover; }
.w-chapter-main > .w-ph-map { aspect-ratio: var(--ratio-map); }
.w-chapter-main .w-prose { font-size: var(--fs-lead); line-height: 1.55; }
@media (max-width: 900px) { .w-chapter-in { grid-template-columns: 1fr; } }

/* 5.12 Plain cards: a company without its own page or photo (early stage on Over Horticoop). White box, tag, name, one sentence */
.w-cards-plain { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.w-card-plain { display: grid; align-content: start; gap: 12px; min-height: 13rem; padding: 28px; background: var(--white); border: 1px solid var(--border); }
.w-card-plain .w-k-tag { font: 600 .875rem/1.3 var(--font-head); color: var(--green-text); }
@media (max-width: 1100px) { .w-cards-plain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .w-cards-plain { grid-template-columns: 1fr; } .w-card-plain { min-height: 0; } }

/* 5.13 Timeline: year in the large-figure style, then a short line, one row each between hairlines */
.w-timeline { border-top: 1px solid var(--ink); }
.w-timeline > li { display: grid; grid-template-columns: minmax(7rem, 2fr) minmax(0, 5fr); gap: 8px 40px; align-items: baseline; padding: 28px 0; }
.w-timeline > li + li { border-top: 1px solid var(--cream-300); }
.w-timeline .w-num { font-size: clamp(2.25rem, 3.4vw, 3.25rem); }
.w-timeline h3 { font: 600 1.375rem/1.3 var(--font-head); color: var(--blue-900); }
.w-timeline p { margin-top: 6px; color: var(--text-muted); }
@media (max-width: 600px) { .w-timeline > li { grid-template-columns: 1fr; } }

/* ===== Cookie panel (§3): non-modal, nothing blocks the page. Hidden until site.js finds no stored choice; without the script it never shows (no script, no analytics) =====
   A box at the bottom left, clear of the hero's pause control (corner layout, chosen 12 Nov over a full-width bar). Full width at the foot at 600px and below.
   White ground, ink text, links blue-700, buttons navy on green: only existing pairs. */
.w-ck { position: fixed; z-index: 15; /* under the menu bar (20) and its open panels, over the page */ left: var(--gutter); bottom: var(--gutter); width: min(26rem, calc(100% - 2 * var(--gutter)));
  max-height: 50dvh; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 16px; padding: 24px;
  background: var(--white); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 1rem; }
.w-ck[hidden] { display: none; }
.w-ck .w-ck-t { margin: 0; font: 600 1.25rem/1.3 var(--font-head); color: var(--blue-900); }
.w-ck p { margin-top: 6px; max-width: var(--measure); color: var(--text-muted); }
.w-ck p a { color: var(--link); text-underline-offset: 4px; }
.w-ck-now { font: 600 .9375rem/1.4 var(--font-head); }
.w-ck-now[hidden] { display: none; }
.w-ck-act { display: flex; flex-wrap: wrap; gap: 12px; }
.w-ck-act .w-btn { flex: 1 1 8rem; min-width: 8rem; } /* Accept and Decline: the same button, the same size, side by side (no dark pattern) */
@media (max-width: 600px) { .w-ck { left: 0; bottom: 0; width: 100%; padding: 20px var(--gutter); border-width: 1px 0 0; } }
.w-ft-ck { padding: 5px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.w-ft-ck:hover { text-decoration: underline; text-underline-offset: 4px; }
html:not(.js) .w-ft-ck { display: none; }  /* without the script there is no analytics, so no choice to change */
main:focus { outline: none; }                /* focus lands on main after a first choice, not on a control */
.fx-on .w-ck { transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
@starting-style { .fx-on .w-ck { opacity: 0; transform: translateY(16px); } }

/* Review notes: prototype only, never ported. The open items of a page, under its footer */
.notes { margin: 0; padding: 40px var(--pad) 56px; list-style: decimal inside; background: var(--ink); color: var(--cream-100); font-size: .9375rem; line-height: 1.55; }
.notes::before { content: "Notities voor review (prototype)"; display: block; margin-bottom: 12px; font: 700 1rem/1.3 var(--font-head); color: var(--white); }
.notes li { max-width: 80ch; }
.notes li + li { margin-top: 6px; }
.notes code { font: .875rem ui-monospace, Consolas, monospace; }

/* ===== Motion (only under the gate) ===== */
.fx-on .w-line > span { transform: translateY(105%); transition: transform var(--dur-hero) var(--ease-out); }
.fx-on .w-line + .w-line > span { transition-delay: var(--stagger-hero); }
.fx-on .w-line + .w-line + .w-line > span { transition-delay: calc(2 * var(--stagger-hero)); }
.fx-on .w-lead, .fx-on .w-rail { opacity: 0; transition: opacity var(--dur-hero-fade) var(--ease-out) var(--delay-hero-fade); }
.fx-on .w-hero.in .w-line > span { transform: none; }
.fx-on .w-hero.in .w-lead, .fx-on .w-hero.in .w-rail { opacity: 1; }
/* Fade in once on entering view: text rises 16px, blocks with photos only fade */
.fx-on .rv { transition: opacity var(--dur-reveal) var(--ease-out) var(--d, 0ms), transform var(--dur-reveal) var(--ease-out) var(--d, 0ms), background-color var(--dur-fast); }
.fx-on .rv:not(.rv-in) { opacity: 0; transform: translateY(16px); }
.fx-on :is(.w-panels, .w-grid > li, .w-band-plain, .w-cards > li, .w-people > li).rv:not(.rv-in) { transform: none; }

/* World map (pattern 18, DES-12): inline SVG built from locations per company. Land cream-300, countries with a location navy,
   markers green-500 with a navy outline (6.3:1 on navy, 10.6:1 on land), one shape per kind. Square Benelux inset. */
.w-map { margin: 0; }
.w-map > svg { display: block; width: 100%; height: auto; overflow: visible; }
.w-map-inset svg { overflow: hidden; }
.w-map-world path { fill: var(--cream-300); stroke: var(--cream-50); stroke-width: .5; vector-effect: non-scaling-stroke; }
.w-map-world .w-map-on { fill: var(--blue-900); }
.w-map-sea { fill: var(--cream-50); }
.w-map-zoom { fill: none; stroke: var(--field-border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.w-map-inset text { font: 600 18px var(--font-head); fill: var(--ink); }
.w-map-pin { fill: var(--green-500); stroke: var(--blue-900); stroke-width: 1.5; }
.w-map-key { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; font: 600 .875rem/1.4 var(--font-head); }
.w-map-key li, .w-map-list li li { display: flex; align-items: center; gap: 12px; }
.w-map-key svg, .w-map-list svg { flex: none; width: 18px; height: 18px; overflow: visible; }
.w-map-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(32px, 4vw, 64px); margin-top: var(--head-gap); }
.w-map-list > li { padding-top: 24px; border-top: 1px solid var(--ink); }
.w-map-list h3 { margin-bottom: 8px; font: 600 1.375rem/1.3 var(--font-head); color: var(--blue-900); }
.w-map-list li li { padding: 10px 0; }
.w-map-list li li + li { border-top: 1px solid var(--cream-300); }
.w-map-type { display: block; font: 600 .875rem/1.4 var(--font-head); color: var(--text-muted); }
.w-map-note { margin-top: 16px; color: var(--text-muted); }
@media (max-width: 1000px) { .w-map-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .w-map-list { grid-template-columns: 1fr; }
  .w-map-pins, .w-map-inset, .w-map-key { display: none; } /* too small to read: the countries stay, the list carries the locations */
}
