/* Poppins, self-hosted (latin subset: covers English and Dutch accents). Licence: SIL Open Font License. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-latin.woff2") format("woff2"); }

/* ---------- Tokens (single source; pages no longer carry their own copy) ---------- */
:root {
  --lime: #aadb1e; --bloo: #307fe2; --camo: #76881d; --ice: #c3d7ee; --cream: #f9f5ef; --blac: #222223; --paper: #ffffff; --chalet: #e7e7e7;
  --surface: #f9f5ef; --surface-raised: #ffffff; --ink: #222223; --line: #e7e7e7;
  --ink-muted: rgba(34,34,35,0.82); --ink-quiet: rgba(34,34,35,0.75); --paper-muted: rgba(255,255,255,0.82);
  --accent: #aadb1e; --on-accent: #222223; --focus-ring: #307fe2;
  --font-sans: "Poppins", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --radius-pill: 9999px; --radius-md: 16px; --radius-block: 32px;
  --shadow-button: 0 4px 8px rgba(34,34,35,0.2);
  --on-bloo: #ffffff; --on-camo: #ffffff; --on-ice: #222223;
  --container: 1200px; --gutter: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-fast: 150ms; --dur-base: 220ms;
}

/* ---------- Base ---------- */
body { margin: 0; font-family: var(--font-sans); background: var(--surface); color: var(--ink); }
.page { font-family: var(--font-sans); color: var(--ink); min-height: 100vh; } /* background comes from body */
a { color: var(--ink); }
a { transition: text-decoration-thickness var(--dur-fast) var(--ease-out), text-underline-offset var(--dur-fast) var(--ease-out); }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
.link-secondary:hover { text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.dark a:not(.ss-btn) { color: var(--lime); }
.dark a:focus-visible { outline-color: var(--lime); }
/* Links inside a black content panel take the panel's text colour; lime stays for actions (the closing block keeps lime links beside its button) */
.ss-panel-blac a:not(.ss-btn) { color: inherit; }
.ss-panel-blac a:focus-visible { outline-color: var(--paper); }
::selection { background: var(--lime); color: var(--blac); }

/* Touch: every link and button gets a 44px hit area; links inside running sentences stay inline */
.tap { display: inline-flex; align-items: center; min-height: 44px; }
.link-secondary { font-size: 15px; font-weight: 600; }

/* ---------- Type roles (DESIGN.md hierarchy) ---------- */
.t-headline { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 700; }
.t-title { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; }
.t-title-sm { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; }
.t-lead { margin: 0; font-size: 18px; line-height: 1.66; max-width: 36em; color: var(--ink-muted); }
.t-body-muted { margin: 0; font-size: 16px; line-height: 1.66; color: var(--ink-muted); }
.t-label { margin: 0; font-size: 15px; line-height: 1.66; font-weight: 600; color: var(--ink-quiet); }

.t-display-page { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 700; max-width: 14ch; }

/* ---------- Step list (signature): numbered process rows; badge colour follows position lime -> ice -> blac ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.steps > li { display: flex; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.step-badge { flex: 0 0 auto; box-sizing: border-box; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--radius-pill); white-space: nowrap; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; background: var(--lime); color: var(--blac); }
.steps > li:nth-child(3n+2) .step-badge { background: var(--ice); }
.steps > li:nth-child(3n) .step-badge { background: var(--blac); color: var(--paper); }
.step-body { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Layout pieces ---------- */
.band-paper { background: var(--paper); }
/* ---------- Case pages (layout src/_includes/case.njk): every case uses these, no per-page styling ---------- */
.page-section { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 96px; }
.split { display: flex; flex-wrap: wrap; gap: 32px 96px; }
.split > :first-child { flex: 1 1 300px; }
.split > :last-child { flex: 2 1 520px; min-width: 0; }
.band-inner { padding-top: 112px; padding-bottom: 112px; }
.case-hero { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 96px; display: flex; flex-direction: column; gap: 28px; }
.case-logo { width: auto; display: block; align-self: flex-start; }
.case-result { padding-top: 112px; padding-bottom: 112px; }
.breadcrumb { font-size: 14px; line-height: 1.66; color: var(--ink-quiet); }
.breadcrumb a { color: inherit; }
.facts { margin: 0; background: var(--paper); border-radius: var(--radius-md); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px 40px; }
.facts:has(> div:nth-child(5):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
@media (min-width: 900px) { .facts:has(> div:nth-child(5):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 14px; line-height: 1.66; font-weight: 600; color: var(--ink-quiet); }
.facts dd { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose p { margin: 0; font-size: 16px; line-height: 1.66; max-width: 36em; }
.prose-loose { gap: 40px; }
.row-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.quote-card { margin: 0; background: var(--ice); color: var(--on-ice); border-radius: var(--radius-md); padding: clamp(24px, 6vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.quote-card blockquote { margin: 0; font-size: 18px; line-height: 1.66; }
.quote-card figcaption { font-size: 15px; line-height: 1.66; font-weight: 600; }
/* "meer werk": the next two cases, then the link to all of them. A hairline on the content column, dropped after a white band. */
.more-work { box-sizing: border-box; width: calc(100% - 2 * var(--gutter)); max-width: var(--container); margin: 0 auto; padding: 40px 0 112px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; border-top: 1px solid var(--line); }
.band-paper + .more-work { border-top: 0; padding-top: 56px; }
.more-work-list { width: 100%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 48px; }
.more-work-list li { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.more-work-client { font-size: 14px; line-height: 1.66; font-weight: 600; color: var(--ink-quiet); }
.more-work-link { font-size: 20px; line-height: 1.3; font-weight: 700; text-decoration: none; color: var(--ink); text-wrap: balance; }
.more-work-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.row-end { border-bottom: 1px solid var(--line); }

/* ---------- Sticky header: stays in reach, slides away while reading down, returns on any scroll up ---------- */
.header-bar { position: sticky; top: 0; z-index: 50; background: var(--surface); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.header-bar.is-stuck { box-shadow: 0 1px 0 var(--line); }
.header-bar.is-hidden { transform: translateY(-100%); box-shadow: none; }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { .header-bar { transition: none; } }

/* ---------- Site header: logo · nav · call on wide screens; logo + call, nav underneath on narrow ones ---------- */
.site-header { max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter); display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav cta"; align-items: center; gap: 12px 32px; }
.site-header .logo { grid-area: logo; display: block; line-height: 0; }
.site-header .logo img { height: 40px; width: auto; display: block; }
.site-header .cta { grid-area: cta; }
.site-nav { grid-area: nav; justify-self: end; display: flex; align-items: center; gap: 8px 32px; font-size: 15px; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.ss-btn) { position: relative; }
.site-nav a:not(.ss-btn)::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% + 12px); height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.site-nav a:not(.ss-btn):hover::after, .site-nav a:not(.ss-btn):focus-visible::after { transform: scaleX(1); }
.site-nav .lang-switch { position: relative; padding: 0 2px; margin-left: 24px; }
.site-nav .lang-switch::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav a[aria-current]::after { display: none; }
.has-menu .site-header.is-open .site-nav a::after { display: none; }
.menu-toggle { display: none; }
.site-nav .nav-cta { display: none; }
@media (max-width: 959px) {
  /* Fallback without JavaScript: logo + call on top, the four links in a row underneath */
  .site-header { grid-template-columns: 1fr auto; grid-template-areas: "logo cta" "nav nav"; padding: 16px var(--gutter) 8px; }
  .site-nav { justify-self: stretch; justify-content: space-between; gap: 8px; }

  /* With the menu script: logo · call · menu button; links fold into a panel under the header */
  .has-menu .site-header { position: relative; grid-template-columns: 1fr auto auto; grid-template-areas: "logo cta toggle"; padding: 16px var(--gutter); gap: 12px; }
  .has-menu .site-header .logo img { height: 34px; }
  .has-menu .menu-toggle { grid-area: toggle; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--blac); border-radius: 50%; background: transparent; color: var(--blac); cursor: pointer; }
  .has-menu .menu-toggle { transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
  .has-menu .menu-toggle svg { fill: currentColor; }
  .has-menu .site-header.is-open .icon-close { animation: icon-in var(--dur-base) var(--ease-out); }
  .has-menu .menu-toggle .icon-close { display: none; }
  .has-menu .menu-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
  .has-menu .site-header.is-open .menu-toggle { background: var(--blac); color: var(--paper); }
  .has-menu .site-header.is-open .icon-open { display: none; }
  .has-menu .site-header.is-open .icon-close { display: block; }
  /* Visible label stays available to screen readers only */
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .has-menu .site-nav { display: none; }
  .has-menu .site-header.is-open .site-nav { display: flex; position: absolute; z-index: 10; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px; background: var(--paper); border-radius: var(--radius-md); border: 1px solid var(--line); font-size: 22px; font-weight: 700; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; animation: menu-in var(--dur-base) var(--ease-out); }
  .has-menu .site-header.is-open .site-nav a { min-height: 56px; border-bottom: 1px solid var(--line); }
  .has-menu .site-header.is-open .site-nav a:last-child { border-bottom: 0; }
  .has-menu .site-header.is-open .site-nav .lang-switch { margin-left: 0; padding-left: 0; font-size: 17px; }
  .has-menu .site-header.is-open .site-nav .lang-switch::before { display: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes icon-in { from { opacity: 0; transform: rotate(-90deg); } }
/* Narrow phones: the header holds only logo and menu; "plan a call" moves to the top of the open menu.
   There is no room for a third item next to the logo at this width. */
@media (max-width: 419px) {
  .has-menu .site-header { grid-template-columns: 1fr auto; grid-template-areas: "logo toggle"; }
  .has-menu .site-header > .cta { display: none; }
  .has-menu .site-header.is-open .site-nav .nav-cta { display: flex; order: -1; justify-content: center; min-height: 48px; margin: 12px 0 8px; border-bottom: 0; font-size: 16px; }
}

/* ---------- Closing call-to-action block (ends every page) ---------- */
.cta-section { padding: 0 var(--gutter) 120px; }
/* After a white band the block needs its own cream above it, so it never sits on the white/cream seam */
.band-paper + .cta-section { padding-top: 120px; }
.cta-block { box-sizing: border-box; max-width: var(--container); margin: 0 auto; background: var(--blac); color: var(--paper); border-radius: var(--radius-block); padding: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cta-block-copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; }
.cta-block-copy h2 { margin: 0; font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05; font-weight: 700; max-width: 20ch; }
.cta-block-copy p { margin: 0; font-size: 18px; line-height: 1.66; color: var(--paper-muted); max-width: 30em; }
.cta-block-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-block-actions p { margin: 0; font-size: 15px; line-height: 1.66; color: var(--paper-muted); }
.cta-block-actions .reassure { margin-bottom: 8px; font-size: 14px; }
.cta-block-actions a:not(.ss-btn) { font-weight: 600; }

/* ---------- Site footer: brand, then link columns (services · platforms · company · contact), then the base line with KvK and the legal links ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer-inner { max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 48px 64px; font-size: 15px; line-height: 1.5; }
.site-footer-brand { flex: 1 1 200px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer-brand img { height: 30px; width: auto; display: block; }
.site-footer-cols { flex: 4 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 32px 32px; }
.site-footer-cols h2 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; font-weight: 700; }
.site-footer-cols ul { margin: 0; padding: 0; list-style: none; }
.site-footer-cols a { text-decoration: none; color: var(--ink-muted); }
.site-footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.site-footer-cols .plain { padding: 10px 0; color: var(--ink-quiet); }
.site-footer-cols address { font-style: normal; }
.site-footer-base { width: calc(100% - 2 * var(--gutter)); max-width: var(--container); margin: 0 auto; padding: 8px 0 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-quiet); display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
.site-footer-base p { margin: 0; }
.site-footer-base ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; column-gap: 24px; }
.site-footer-base a { color: var(--ink-quiet); text-decoration: none; }
.site-footer-base a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 719px) { .site-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Component library (ss-*) ---------- */
.ss-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; padding: var(--space-6); }
.ss-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--space-6); padding: var(--space-6); }

/* Button: the lime call-to-action pill */
.ss-btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; box-sizing: border-box; white-space: nowrap; font-family: var(--font-sans); font-size: 16px; line-height: 1.66; font-weight: 700; text-transform: lowercase; letter-spacing: 0; padding: var(--space-2) var(--space-6); border: 0; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-button); cursor: pointer; text-decoration: none; }
.ss-btn { transition: filter var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.ss-btn > span { display: flex; transition: transform var(--dur-base) var(--ease-out); }
.ss-btn:hover { filter: brightness(0.95); }
.ss-btn:hover > span, .ss-btn:focus-visible > span { transform: translateX(4px) scale(1.15); }
.ss-btn:hover img, .ss-btn:focus-visible img { animation: arrow-turn 600ms var(--ease-out) 1; }
.ss-btn { transform: translate(var(--mx, 0px), var(--my, 0px)); }
.ss-btn:active { transform: translate(var(--mx, 0px), calc(var(--my, 0px) + 1px)); box-shadow: 0 2px 4px rgba(34,34,35,0.2); transition-duration: 80ms; }
@keyframes arrow-turn { to { transform: rotate(360deg); } }
.ss-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ss-btn[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.ss-btn-sm { font-size: 14px; padding: var(--space-1) var(--space-4); }
.ss-btn img, .ss-btn svg { width: 1.1em; height: 1.1em; display: block; }

/* Pill: tagline pill and small labels */
.ss-pill { display: inline-flex; align-items: center; font-family: var(--font-sans); font-size: 12px; line-height: 1.66; font-weight: 600; padding: 2px var(--space-3); border-radius: var(--radius-pill); white-space: nowrap; }
.ss-pill-blac { background: var(--blac); color: var(--paper); }
.ss-pill-paper { background: var(--paper); color: var(--blac); }
.ss-pill-lime { background: var(--lime); color: var(--blac); }
.ss-pill-ice { background: var(--ice); color: var(--blac); }
.ss-pill-bloo { background: var(--bloo); color: var(--paper); font-weight: 700; }
.ss-pill-camo { background: var(--camo); color: var(--paper); font-weight: 700; }

/* Panel: a rounded colour block */
.ss-panel { border-radius: var(--radius-md); padding: var(--space-8); font-family: var(--font-sans); }
.ss-panel h3 { margin: 0 0 var(--space-4); font-size: 24px; line-height: 1.22; font-weight: 700; }
.ss-panel p { margin: 0 0 var(--space-3); font-size: 14px; line-height: 1.66; }
.ss-panel > :last-child { margin-bottom: 0; }
.ss-panel-bloo { background: var(--bloo); color: var(--on-bloo); }
.ss-panel-camo { background: var(--camo); color: var(--on-camo); }
.ss-panel-lime { background: var(--lime); color: var(--on-accent); }
.ss-panel-ice { background: var(--ice); color: var(--on-ice); }
.ss-panel-chalet { background: var(--chalet); color: var(--blac); }
.ss-panel-blac { background: var(--blac); color: var(--paper); }

/* Card: the paper card that sits on cream or on a colour block */
.ss-card { background: var(--surface-raised); color: var(--ink); border: 1px solid transparent; border-radius: var(--radius-md); padding: var(--space-4); font-family: var(--font-sans); font-size: 14px; line-height: 1.66; }
.ss-panel .ss-card, .ss-arch .ss-card { background: var(--paper); color: var(--blac); border-color: transparent; }
.ss-card-title { display: block; font-weight: 700; margin-bottom: var(--space-1); }
.ss-card p { margin: 0; }

/* Arch: a column with a half-round top, holding a title and cards */
.ss-arch { display: flex; flex-direction: column; gap: var(--space-3); padding: 0 var(--space-6) var(--space-8); padding-top: 33%; border-radius: 9999px 9999px 0 0; font-family: var(--font-sans); min-width: 0; }
/* Titles are written lowercase in source; no text-transform, so product names (Alumio, SAP) keep their capitals.
   The negative margin lifts the title into the arch; side padding keeps long titles clear of the curve. */
.ss-arch-title { margin: 0 0 var(--space-3); margin-top: -12%; padding: 0 var(--space-4); text-align: center; font-size: 24px; line-height: 1.22; font-weight: 700; text-wrap: balance; }
.ss-arch-lime { background: var(--lime); color: var(--blac); }
.ss-arch-bloo { background: var(--bloo); color: var(--paper); }
.ss-arch-ice { background: var(--ice); color: var(--blac); }
.ss-arch-camo { background: var(--camo); color: var(--paper); }
.ss-arch-cream { background: var(--cream); color: var(--blac); }

/* Dark theme: blac fills on the blac ground get a storm hairline so they stay visible */

/* ---------- Team (about page) ---------- */
.team-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 64px 48px; }
.team-member { display: flex; flex-direction: column; gap: 24px; }
.team-photo { margin: 0; aspect-ratio: 4 / 5; width: 100%; max-width: 320px; border-radius: var(--radius-md); overflow: hidden; background: var(--blac); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: clamp(56px, 8vw, 96px); font-weight: 700; line-height: 1; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { margin: 0; font-size: 28px; line-height: 1.22; font-weight: 700; }
.team-role { margin: 4px 0 0; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink-quiet); }
.team-bio { display: flex; flex-direction: column; gap: 16px; max-width: 36em; }
.team-bio p { margin: 0; font-size: 16px; line-height: 1.66; color: var(--ink-muted); }
.team-bio p:first-child { font-size: 18px; color: var(--ink); }

/* ---------- Link panels: a whole coloured panel that leads to another page ---------- */
.link-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.link-panel { transition: transform var(--dur-base) var(--ease-out); display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius-md); text-decoration: none; min-height: 180px; box-sizing: border-box; }
.link-panel h3 { margin: 0; font-size: 24px; line-height: 1.22; font-weight: 700; }
.link-panel p { margin: 0; font-size: 16px; line-height: 1.66; }
.link-panel .go { margin-top: auto; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.link-panel:hover { transform: translateY(-4px); }
.link-panel:hover .go { text-decoration-thickness: 2px; }
.link-panel:active { transform: translateY(-1px); transition-duration: 80ms; }
.link-panel-ice { background: var(--ice); color: var(--blac); }
.link-panel-paper { background: var(--paper); color: var(--blac); }

/* ---------- Statement rows: heading left, one short paragraph right (sustainability, AI) ---------- */
.statements { margin: 0; padding: 0; list-style: none; }
.statements > li { display: flex; flex-wrap: wrap; gap: 8px 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.statements > li:last-child { border-bottom: 1px solid var(--line); }
.statements h3 { flex: 1 1 220px; }
.statements p { flex: 2 1 360px; }

/* ---------- Legal pages (Read mode): one comfortable column, clear headings ---------- */
.legal { max-width: 72ch; margin: 0 auto; padding: 0 var(--gutter) 120px; box-sizing: content-box; font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal h2 { margin: 56px 0 12px; font-size: 26px; line-height: 1.22; font-weight: 700; }
.legal h3 { margin: 32px 0 8px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.legal p, .legal ul, .legal ol { margin: 0 0 16px; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-bottom: 6px; }
.legal a { text-underline-offset: 3px; }
.legal { overflow-wrap: break-word; }
.legal-title { overflow-wrap: anywhere; max-width: none !important; }
@media (max-width: 720px) { .legal, .legal-title { hyphens: auto; } }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 24px; }
.table-scroll:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.legal table { border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-toc { margin: 0 0 48px; padding: 24px 28px; background: var(--paper); border-radius: var(--radius-md); }
.legal-toc h2 { margin: 0 0 12px; font-size: 17px; line-height: 1.3; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; columns: 2 280px; column-gap: 32px; font-size: 15px; line-height: 1.5; }
.legal-toc li { margin: 0 0 8px; break-inside: avoid; }
.legal h2[id] { scroll-margin-top: 96px; }
.legal th, .legal td { padding: 10px 14px; border: 1px solid var(--line, rgba(0,0,0,.12)); text-align: left; vertical-align: top; min-width: 140px; }
.legal th { background: var(--surface); font-weight: 600; }
.legal hr { margin: 48px 0; border: 0; border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
.legal-meta { margin: 0; font-size: 14px; color: var(--ink-quiet); }
.legal-pending { margin: 0; padding: 32px; background: var(--paper); border-radius: var(--radius-md); font-size: 17px; }
.legal-download { margin: 0 0 40px; }

/* ---------- Home hero: headline across the full width, then copy left and the route graphic right ---------- */
.hero { max-width: var(--container); margin: 0 auto; padding: 96px var(--gutter) 128px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-areas: "title title" "copy fig"; gap: 48px 64px; align-items: start; }
.hero-title { grid-area: title; margin: 0; font-size: clamp(33px, 7vw, 88px); line-height: 1; font-weight: 700; letter-spacing: 0; }
.hero-title span { display: block; }
.hero-title span:last-child { color: var(--camo); }
.hero-copy { grid-area: copy; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero-figure { grid-area: fig; margin: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 859px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "copy" "fig"; padding-top: 48px; padding-bottom: 64px; gap: 32px; }
  .hero-figure { max-width: 420px; }
}

/* ---------- Motion ---------- */
/* Page-to-page cross-fade where the browser supports it (header and footer stay put visually) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 120ms var(--ease-out) both vt-out; }
::view-transition-new(root) { animation: 260ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* The one authored moment: the hero route assembles. Shopify, the nine dots (data in motion), then SAP. */
@keyframes tile-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes dot-in { from { opacity: 0; transform: scale(0.6); } }
@keyframes dot-pulse { 40% { transform: scale(1.3); } }
.route-tiles > * { animation: tile-in 520ms var(--ease-out) backwards; }
.route-tiles > :nth-child(1) { animation-delay: 80ms; }
.route-tiles > :nth-child(2) { animation-delay: 160ms; }
.route-tiles > :nth-child(3) { animation-delay: 560ms; }
/* The dots pulse larger than their resting size, and the edge dots touch the viewBox: let them grow past it instead of being clipped */
.route-tiles svg, .chain-dots svg, .chain-dots { overflow: visible; }
.route-tiles svg circle { transform-box: fill-box; transform-origin: center; animation: dot-in 360ms var(--ease-out) backwards; }
.route-tiles svg circle:nth-child(1) { animation-delay: 220ms; }
.route-tiles svg circle:nth-child(2) { animation-delay: 260ms; }
.route-tiles svg circle:nth-child(3) { animation-delay: 300ms; }
.route-tiles svg circle:nth-child(4) { animation-delay: 340ms; }
.route-tiles svg circle:nth-child(5) { animation-delay: 380ms; }
.route-tiles svg circle:nth-child(6) { animation-delay: 420ms; }
.route-tiles svg circle:nth-child(7) { animation-delay: 460ms; }
.route-tiles svg circle:nth-child(8) { animation-delay: 500ms; }
.route-tiles svg circle:nth-child(9) { animation-delay: 540ms; }
.route-name { display: block; text-wrap: balance; }
.route-name.is-swap { animation: route-swap 440ms var(--ease-out); }
@keyframes route-swap { 0% { opacity: 1; } 45%, 55% { opacity: 0.12; } 100% { opacity: 1; } }
/* Each swap sends one order through: the dots pulse in sequence, like the hover state */
.route-tiles.is-pulse svg circle { animation: dot-pulse 520ms var(--ease-out) both; }
.route-tiles.is-pulse svg circle:nth-child(1) { animation-delay: 0ms; }
.route-tiles.is-pulse svg circle:nth-child(2) { animation-delay: 70ms; }
.route-tiles.is-pulse svg circle:nth-child(3) { animation-delay: 140ms; }
.route-tiles.is-pulse svg circle:nth-child(4) { animation-delay: 210ms; }
.route-tiles.is-pulse svg circle:nth-child(5) { animation-delay: 420ms; }
.route-tiles.is-pulse svg circle:nth-child(6) { animation-delay: 280ms; }
.route-tiles.is-pulse svg circle:nth-child(7) { animation-delay: 350ms; }
.route-tiles.is-pulse svg circle:nth-child(8) { animation-delay: 350ms; }
.route-tiles.is-pulse svg circle:nth-child(9) { animation-delay: 420ms; }
/* Hover or focus the route and the data flows: dots pulse in sequence, left to right */
.hero-figure:hover .route-tiles svg circle { animation: dot-pulse 520ms var(--ease-out) both; }
.hero-figure:hover .route-tiles svg circle:nth-child(1) { animation-delay: 0ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(2) { animation-delay: 70ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(3) { animation-delay: 140ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(4) { animation-delay: 210ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(5) { animation-delay: 420ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(6) { animation-delay: 280ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(7) { animation-delay: 350ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(8) { animation-delay: 350ms; }
.hero-figure:hover .route-tiles svg circle:nth-child(9) { animation-delay: 420ms; }


/* Scroll reveal (classes added by assets/js/motion.js, so nothing is hidden without the script) */
.js-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }
.steps > li.is-in .step-badge { animation: badge-pop 620ms var(--ease-out) calc(var(--d, 0ms) + 140ms) backwards; }
@keyframes badge-pop { from { transform: scale(0.5); opacity: 0; } }

/* Scroll-linked depth in the hero: headline lifts, the route graphic drifts slower than the page */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @supports (animation-timeline: scroll()) {
    .hero-title { animation: hero-lift linear both; animation-timeline: scroll(root block); animation-range: 0 70vh; }
    .hero-figure { animation: hero-drift linear both; animation-timeline: scroll(root block); animation-range: 0 90vh; }
    @keyframes hero-lift { to { transform: translateY(-36px); } }
    @keyframes hero-drift { to { transform: translateY(-56px); } }
  }
}

/* ---------- Chain: shop, hub, back-office systems (CloudSuite and platform pages), with its motion ---------- */
/* CloudSuite chain: shop, hub, back-office systems. Stacks vertically on narrow screens. */
.chain { display: flex; align-items: center; justify-content: center; gap: 24px 28px; }
.chain .tile { box-sizing: border-box; background: #ffffff; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1.2; font-weight: 700; color: #222223; }
.chain-hub { width: 132px; height: 132px; border-radius: 50%; background: #222223; color: #aadb1e; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 20px; line-height: 1.2; font-weight: 700; padding: 0 14px; box-sizing: border-box; flex: 0 0 auto; }
.chain-stack { display: flex; flex-direction: column; gap: 12px; }
.chain-stack .tile { min-width: 132px; height: 52px; padding: 0 20px; }
.chain-shop { min-width: 156px; height: 84px; padding: 0 24px; }
@media (max-width: 639px) {
  .chain { flex-direction: column; }
  .chain-dots { transform: rotate(90deg); margin: 18px 0; }
  .chain-stack { align-items: stretch; width: 100%; max-width: 240px; }
  .chain-shop { width: 100%; max-width: 240px; }
}

/* Chain motion: the chain assembles once (hub first, dots outward from it, then the systems settle in). After that data
   keeps moving: a packet runs shop -> Alumio -> systems, and after a pause back again, so the sync reads as two-way.
   Each connector holds a resting row of dots (.d) plus two invisible rows (.fx.f forward, .fx.r return) that light up in
   sequence; --g is the dot's position from the shop (0) to the systems (7). The hub beats and rings as each packet
   passes through. Same keyframe family as the hero (tile-in, dot-in). Nothing is hidden until assets/js/chain.js adds
   chain-ready, so no script means a static, fully visible diagram. */
.chain-fig { isolation: isolate; }
.chain-hub { position: relative; }
.chain-hub::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #307fe2; opacity: 0; z-index: -1; }
.chain-dots circle { transform-box: fill-box; transform-origin: center; }
.chain-dots .fx { opacity: 0; }
.chain > .chain-dots:nth-child(2) .d:nth-child(4), .chain > .chain-dots:nth-child(4) .d:nth-child(1) { --k: 0; }
.chain > .chain-dots:nth-child(2) .d:nth-child(3), .chain > .chain-dots:nth-child(4) .d:nth-child(2) { --k: 1; }
.chain > .chain-dots:nth-child(2) .d:nth-child(2), .chain > .chain-dots:nth-child(4) .d:nth-child(3) { --k: 2; }
.chain > .chain-dots:nth-child(2) .d:nth-child(1), .chain > .chain-dots:nth-child(4) .d:nth-child(4) { --k: 3; }
@keyframes hub-in { from { opacity: 0; transform: scale(0.7); } }
@keyframes dot-rest { from { opacity: 0; transform: scale(0.6); } to { opacity: 0.55; transform: scale(1); } }
/* 5.2s cycle: the forward packet reaches the hub at about 15%, the return packet at about 65% */
@keyframes flow-pulse { 0% { opacity: 0; transform: scale(1); } 6% { opacity: 1; transform: scale(1.55); } 14%, 100% { opacity: 0; transform: scale(1); } }
@keyframes hub-beat { 0%, 10%, 20%, 60%, 70%, 100% { transform: scale(1); } 15%, 65% { transform: scale(1.05); } }
@keyframes hub-ring { 0%, 12% { opacity: 0; transform: scale(1); } 15% { opacity: 0.4; transform: scale(1); } 33% { opacity: 0; transform: scale(1.5); } 34%, 62% { opacity: 0; transform: scale(1); } 65% { opacity: 0.4; transform: scale(1); } 83%, 100% { opacity: 0; transform: scale(1.5); } }
.chain-fig.chain-ready:not(.is-live) :is(.chain-shop, .chain-hub, .chain-dots, .chain-stack .tile) { opacity: 0; }
/* The flow plays once (about five seconds) and then rests; hovering, focusing or tapping the diagram plays it again (chain.js toggles is-looping) */
.chain-fig.is-live .chain-hub { animation: hub-in 560ms var(--ease-out) backwards; }
.chain-fig.is-looping .chain-hub { animation: hub-in 560ms var(--ease-out) backwards, hub-beat 5200ms ease-in-out 1000ms 1 both; }
.chain-fig.is-looping .chain-hub::before { animation: hub-ring 5200ms var(--ease-out) 1000ms 1 backwards; }
.chain-fig.is-live .chain-shop { animation: tile-in 520ms var(--ease-out) 520ms backwards; }
.chain-fig.is-live .chain-stack .tile { animation: tile-in 520ms var(--ease-out) backwards; }
.chain-fig.is-live .chain-stack .tile:nth-child(1) { animation-delay: 560ms; }
.chain-fig.is-live .chain-stack .tile:nth-child(2) { animation-delay: 640ms; }
.chain-fig.is-live .chain-stack .tile:nth-child(3) { animation-delay: 720ms; }
.chain-fig.is-live .chain-dots .d { animation: dot-rest 360ms var(--ease-out) both; animation-delay: calc(220ms + var(--k) * 40ms); }
.chain-fig.is-looping .chain-dots .fx { animation: flow-pulse 5200ms ease-in-out 1 backwards; }
.chain-fig.is-looping .chain-dots .f { animation-delay: calc(1000ms + var(--g) * 130ms); }
.chain-fig.is-looping .chain-dots .r { animation-delay: calc(3600ms + (7 - var(--g)) * 130ms); }
/* The loop only runs while the chain is on screen and the tab is visible (assets/js/chain.js sets is-inview and is-paused) */
.chain-fig:not(.is-inview) :is(.chain-hub, .chain-dots circle), .chain-fig:not(.is-inview) .chain-hub::before, .chain-fig.is-paused :is(.chain-hub, .chain-dots circle), .chain-fig.is-paused .chain-hub::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .chain-fig *, .chain-fig *::before { animation: none !important; } }

/* Reduced motion: no travel, no spin, no stagger; colour and underline feedback stays */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .route-tiles > *, .route-tiles svg circle, .hero-figure:hover .route-tiles svg circle { animation: none; }
  .ss-btn:hover > span, .ss-btn:focus-visible > span { transform: none; }
  .ss-btn:hover img, .ss-btn:focus-visible img { animation: none; }
  .ss-btn:active, .link-panel:hover, .link-panel:active { transform: none; }
  .has-menu .site-header.is-open .site-nav, .has-menu .site-header.is-open .icon-close { animation: none; }
}

/* Systems strip on the home page: every name looks the same at rest; the ones with a page underline on hover and focus */
.system-list a { text-decoration: none; }
/* Twelve names: two even rows of six on desktop (no orphan on a second line); a left-aligned wrap on tablets */
@media (min-width: 1024px) { .system-list { display: grid !important; grid-template-columns: repeat(6, auto); justify-content: space-between; } }
@media (min-width: 720px) and (max-width: 1023px) { .system-list { justify-content: flex-start !important; column-gap: 32px !important; } }
.system-list a:hover, .system-list a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Print ---------- */
/* A printed or PDF-saved page shows everything, whether or not the reader scrolled through it: no hidden scroll reveals,
   the chain fully drawn, and a header that sits at the top of page one instead of sticking or hiding. */
@media print {
  .js-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chain-fig *, .chain-fig *::before, .route-tiles *, .steps .step-badge { animation: none !important; }
  .chain-fig.chain-ready :is(.chain-shop, .chain-hub, .chain-dots, .chain-stack .tile) { opacity: 1 !important; }
  .chain-dots .fx { opacity: 0 !important; }
  .header-bar { position: static; transform: none !important; box-shadow: none; }
  .menu-toggle { display: none !important; }
  .ss-btn { box-shadow: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Long compounds ("integratiebeheer.", "integratieprojecten.", "commercetools,") are wider than a phone column at display
   sizes. They carry a soft hyphen in the source at the right joint; it only takes effect on phones, so desktop headings
   never break mid-word. overflow-wrap is the safety net for any word that has none. */
h1, h2 { hyphens: none; -webkit-hyphens: none; }
@media (max-width: 480px) { h1, h2 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: anywhere; } }

/* Text for screen readers only, e.g. "(opent in een nieuw tabblad)" on the booking links */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Pull quote: one approved client sentence (home "ons werk", cases page). Type carries it; no card, no coloured rule. */
.pull-quote { margin: 0; display: flex; flex-direction: column; gap: 12px; max-width: 30em; }
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p { margin: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 600; text-wrap: pretty; }
.pull-quote figcaption { font-size: 14px; line-height: 1.66; color: var(--ink-quiet); }
.pull-quote-name { font-weight: 600; color: var(--ink); }
.pull-quote a { color: inherit; }
.pull-quote a:hover { color: var(--ink); }

/* Skip link: first thing a keyboard user reaches; hidden until focused, then a lime pill over the header */
.skip-link { position: absolute; left: var(--gutter); top: 12px; z-index: 100; padding: 10px 20px; border-radius: var(--radius-pill); background: var(--lime); color: var(--on-accent); font-size: 15px; font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; outline: 2px solid var(--blac); outline-offset: 2px; }
main:focus { outline: none; }

/* A single pull quote between sections (training, integratiebeheer), and the full quotes on the cases page */
.quote-section { padding-top: 112px; padding-bottom: 0; }
.quote-section .pull-quote { max-width: 34em; }
.quotes-section { display: flex; flex-direction: column; gap: 40px; padding-bottom: 120px; }
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; align-items: start; }
.quotes-grid .quote-card blockquote { font-size: 16px; }

/* Collected FAQ page: one block per topic, heading and "more on …" link left, questions right */
.faq-group-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
/* Every FAQ group gets the same column split: a long heading ("integratiebeheer.") must not widen its column and squeeze the answers */
.faq-group > :first-child { flex: 1 1 0; min-width: 240px; }
.faq-group > :last-child { flex: 2 1 0; min-width: min(100%, 420px); }
.faq-group .t-headline { font-size: clamp(28px, 3.2vw, 36px); overflow-wrap: anywhere; }
/* Home shows the six steps in pairs ("1–2"): one fixed width so the texts beside them line up */
.step-badge-range { width: 56px; padding: 0; }

/* ---------- Comparison table: what is yours and where can you get at it (Alumio versus sinsou-managed n8n) ---------- */
.compare { width: 100%; border-collapse: collapse; text-align: left; }
.compare thead th { padding: 0 24px 12px 0; font-size: 15px; font-weight: 600; color: var(--ink-quiet); }
.compare tbody th, .compare td { padding: 20px 24px 20px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 16px; line-height: 1.66; }
.compare tbody th { width: 24%; font-weight: 700; }
.compare td { color: var(--ink-muted); }
.compare tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
@media (max-width: 719px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tbody tr { padding: 20px 0; border-top: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { width: auto; padding: 0 0 8px; border: 0 !important; }
  .compare td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 600; color: var(--ink-quiet); }
}
