/* Hallmark · shape: custom (the advisory dossier) · genre: editorial · theme: custom · idea: "AIChecked reads like a well-set advisory dossier: large light Fraunces heads, one measured grid, hairlines and space instead of boxes, ivory as the only light" · vibe: "understated digital luxury, quiet and exact" · redesign: full (/), restyle (the other routes) · job: hire
 * paper: oklch(21.71% 0.0200 173.1) #101D19 Midnight Forest · ink: oklch(94.92% 0.0111 89.7) #F1EEE6 Soft Ivory · secondary: oklch(71.62% 0.0136 86.8) #A7A39A Muted Stone · display: Fraunces 300 · body: Manrope 400/600 · hero: the owner's two-line message beside the founder's cut-out portrait, partners in the hero's foot · nav: edge-aligned bar, kept links · footer: kept columns, quiet colophon · signature: the services set as an index of six rows, and the three real case figures set in Fraunces at poster size
 * axes: dark/roman-serif/neutral · posture: restrained (three colours, no accent hue; ivory carries the primary action) · contrast: pass (ivory on forest 14.95:1, stone on forest 6.89:1) · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: S and H, seventeen hand-copied page bundles share one inline stylesheet each; the home is recomposed in full, the other routes take the system, and every legacy colour literal is mapped onto the three tokens by a generated map in tokens.css */

/* Hallmark · waive 23 · the ivory surfaces are the ink colour used as a declared surface, the brand has no accent hue · AIChecked runs on three colours, so the ivory close band and ivory primary buttons are paper contrast, not a signal */
/* Hallmark · reworded "Wij laten AI voor je werken." to "AI, software en digitale groei. Gebouwd voor wat hierna komt." · the owner supplied this message as the home's lead */
/* Hallmark · reworded "Je krijgt niet vier losse specialisten," to "Je krijgt geen losse specialisten," · the index now lists six services, so four no longer held */

/* ==========================================================================
   1. Legacy tokens, remapped onto the three colours
   Every inline page stylesheet reads these names; literal colours are mapped in tokens.css.
   ========================================================================== */
:root {
  --bg: var(--color-paper);
  --panel: var(--color-paper-2);
  --panel-2: var(--color-paper-2);
  --panel-3: var(--color-paper-3);
  --line: var(--color-rule);
  --line-strong: var(--color-rule-strong);
  --text: var(--color-ink);
  --white: var(--color-ink);
  --muted: var(--color-muted);
  --muted-2: var(--color-muted);
  --green: var(--c-ivory);
  --green-soft: color-mix(in oklab, var(--c-ivory) 8%, transparent);
  --green-line: color-mix(in oklab, var(--c-stone) 45%, transparent);
  --green-glow: transparent;
  --font-primary: var(--font-body);
  --sans: var(--font-body);
  --serif: var(--font-display);
  --cookie-sans: var(--font-body);
  --mono: var(--font-body);
  --ease: var(--ease-out);
  --radius: var(--radius-card);
  --content: var(--container);
}

html { scroll-behavior: smooth; background: var(--color-paper); }
body { background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); line-height: 1.65; }
/* the decorative grid, the vignette and the floating orbs are imitation material (47c, 29): the paper carries the page */
body::before, body::after { content: none; display: none; }
.orb, .hero-orb, .bg-orb { display: none !important; }

/* ==========================================================================
   2. Type · Fraunces 300 for heads, Manrope for everything that works
   ========================================================================== */
h1, h2, h3,
.hero-title, .display, .growth-system-title, .cases-cta-title,
.service-card h3, .mega-card strong, .metric-card .value, .step .num, .route-card .route-problem,
.website-problem-item h3, .article-feature .article-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  font-optical-sizing: auto;
  letter-spacing: var(--tracking-display);
  color: var(--color-ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h4, h5 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; color: var(--color-ink); }
.hero-title, .display { line-height: 1.02; }
.display { font-size: var(--text-section); }
section .display[style] { font-size: var(--text-section) !important; }
.service-hero .display, .service-hero .display[style] { font-size: var(--text-display-s) !important; line-height: 1.02; max-width: 17ch; }
h2.growth-system-title { font-size: var(--text-section); line-height: 1.04; max-width: 22ch; }
h2.growth-system-title span { display: block; }
/* one head, one colour (38iii): no word is set apart */
.hero-title em, .display em, .growth-system-title strong, h1 em, h2 em, h3 em,
h1 .accent, h2 .accent, h3 .accent, .display .accent, .hero-title .accent { color: inherit; font-style: normal; font-weight: inherit; }
.lead { font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink-2); max-width: 58ch; }
.lead[style*="font-size:16px"] { font-size: var(--text-md) !important; }
.small, .muted { color: var(--color-muted); }
.small { font-size: var(--text-sm); line-height: 1.65; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; }

/* Labels: the body face, a step smaller, sentence case, untracked (67), in stone */
.eyebrow, .kicker, .panel-kicker, .label, .tag, .route-tag, .route-service, .route-arrow, .more, .mini-note,
.service-card .tag, .service-card .more, .metric-card .label, .trust-cell .label,
.breadcrumb-row, .hero-home-slider-label, .field label, .footer-grid h4, .cookie-label,
.pill, .risk-pill, .snippet-badge, .signal-top, .timeline-top,
.cases-count, .case-filter-btn, .case-num, .case-meta-line span, .case-tag, .case-cta, .case-stat-label,
.ai-flow-status, .ai-flow-state, .ai-result-tags span, .badge, .inline-links .inline-link, .status-row .state,
.website-detail-card .num, .article-category, .articles-count, .article-feature .read-more, .article-meta, .breadcrumb {
  font-family: var(--font-body);
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-variant-caps: normal;
}
:is(.tag, .label, .kicker, .panel-kicker, .snippet-badge, .mini-note, .ai-flow-status, .ai-flow-state, .route-tag, .case-tag, .case-stat-label, .metric-card .label, .trust-cell .label, .service-card .tag, .service-card .more, .badge, .state) { font-size: var(--text-xs) !important; }
.eyebrow { display: block; font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); margin-bottom: var(--space-lg); }
.eyebrow::before { content: none; display: none; }
.mini-note, .kicker, .panel-kicker, .label, .tag, .trust-cell .label, .metric-card .label { color: var(--color-muted); }
/* data written in capitals (case types, channels) reads in sentence case without touching the data */
.case-tag, .case-meta-line span, .case-cta { text-transform: lowercase !important; display: inline-block; }
.case-tag::first-letter, .case-meta-line span::first-letter, .case-cta::first-letter { text-transform: uppercase; }
.breadcrumb-row { font-size: var(--text-sm); color: var(--color-muted); gap: var(--space-xs); }
.breadcrumb-row a { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-rule-strong); }
.breadcrumb-row a:hover { color: var(--color-ink); text-decoration-color: var(--color-ink); }

/* ==========================================================================
   3. Controls · ivory primary, forest secondary, one quiet radius, eight states
   ========================================================================== */
.btn {
  min-height: 48px;
  padding: 0 var(--space-lg);
  gap: var(--space-xs);
  border-radius: var(--radius-control);
  border: 1px solid var(--color-rule-strong);
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn::before, .hover-sheen::before { content: none; display: none; }
.btn:hover { border-color: var(--c-ivory); background: color-mix(in oklab, var(--c-ivory) 6%, transparent); transform: none; box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; box-shadow: none; transform: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--c-ivory); border-color: var(--c-ivory); color: var(--c-forest); }
.btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--c-forest); }
.btn-primary:active { background: var(--c-ivory); }
.btn-ghost { background: transparent; }
.btn-row { gap: var(--space-sm); }

.nav-portal { background: var(--c-ivory); border-color: var(--c-ivory); color: var(--c-forest); border-radius: var(--radius-control); box-shadow: none; transition: background-color var(--dur-short) var(--ease-out); }
.nav-portal:hover { background: var(--color-accent-hover); color: var(--c-forest); box-shadow: none; }
.nav-portal:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; box-shadow: none; }

.inline-link { border-radius: var(--radius-control); border-color: var(--color-rule-strong); background: transparent; transition: border-color var(--dur-short) var(--ease-out); }
.inline-link:hover { border-color: var(--c-ivory); }

a:focus-visible, button:focus-visible, [role="button"]:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.route-card:focus-visible, .service-card:focus-visible, .kb-card:focus-visible, .mega-card:focus-visible,
.nav-toggle:focus-visible, .cookie-close:focus-visible, .cookie-launcher:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: none;
}

/* ==========================================================================
   4. Navigation · an edge-aligned bar on forest, a hairline once scrolled
   ========================================================================== */
#main-nav {
  top: 0; left: 0; right: 0;
  min-height: var(--nav-height);
  padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: var(--color-veil);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
#main-nav.scrolled { min-height: var(--nav-height); background: var(--color-paper); border-bottom-color: var(--color-rule); box-shadow: none; backdrop-filter: none; }
.logo { font-family: var(--font-body); font-weight: 600; color: var(--color-ink); letter-spacing: -0.005em; }
.logo span { color: var(--color-muted); }
.logo-mark { animation: none !important; box-shadow: none !important; width: 8px; height: 8px; background: var(--c-ivory) !important; border-radius: 1px; }
.nav-links { gap: var(--space-xl); }
.nav-links > li > a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-muted);
  transition: color var(--dur-short) var(--ease-out);
}
.nav-link-chevron { color: var(--color-muted); }
.nav-links > li > a::after {
  width: 100% !important;
  opacity: 0;
  background: var(--c-ivory) !important;
  transition: opacity var(--dur-short) var(--ease-out) !important;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--color-ink); }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after,
.nav-dropdown.open > a::after, .nav-dropdown:focus-within > a::after { opacity: 1; }
.nav-dropdown.open > a .nav-link-chevron, .nav-dropdown:focus-within > a .nav-link-chevron { color: var(--color-ink); }
.nav-dropdown-panel { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-card); box-shadow: none; backdrop-filter: none; padding: var(--space-xs); }
.nav-dropdown-link { background: transparent; border: 0; border-radius: var(--radius-card); color: var(--color-ink-2); box-shadow: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav-dropdown-link:hover, .nav-dropdown-link:focus-visible { background: color-mix(in oklab, var(--c-ivory) 6%, transparent); color: var(--color-ink); border-color: transparent; box-shadow: none; }
.mega { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-card); box-shadow: none; backdrop-filter: none; }
.mega-card { background: transparent; border-radius: var(--radius-card); box-shadow: none; }
.mega-card:hover { background: var(--color-paper-3); border-color: transparent; box-shadow: none; }
.mega-card strong { font-size: var(--text-xl); }
.nav-toggle { border-color: var(--color-rule-strong); border-radius: var(--radius-control); background: transparent; box-shadow: none; }
.nav-toggle:hover { border-color: var(--c-ivory); box-shadow: none; }
.nav-toggle span { background: var(--color-ink); }
.mobile-menu { background: var(--color-paper); backdrop-filter: none; }
.mobile-menu.open { backdrop-filter: none; }
.mobile-menu a, .mobile-menu button { font-family: var(--font-display); font-weight: 300; color: var(--color-ink); }
.mobile-nav-trigger { background: transparent; border-color: var(--color-rule); border-radius: var(--radius-card); }
.mobile-nav-panel a { font-family: var(--font-body); color: var(--color-ink-2); background: transparent; border-radius: var(--radius-card); }
.mobile-nav-panel { transition: opacity var(--dur-short) var(--ease-out); }
/* the closed mobile menu sat invisible over the page with focusable links: hide it until it opens */
.mobile-menu:not(.open) { visibility: hidden; transition: opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.mobile-menu.open { visibility: visible; transition: opacity var(--dur-short) var(--ease-out), visibility 0s; }

/* ==========================================================================
   5. Home hero · the owner's message on the left, the founder on the right,
   partners in the hero's foot
   ========================================================================== */
.hero-shell { padding: calc(var(--nav-height) + var(--space-xl)) 0 0; min-height: min(100svh, 1000px); }
.hero-home-grid {
  max-width: var(--container);
  padding: 0 var(--gutter);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: var(--gap-columns);
  row-gap: 0;
  align-items: end;
}
.hero-home-copy { align-self: center; padding-bottom: var(--space-2xl); }
.hero-home-copy .hero-title { font-size: var(--text-display); line-height: 0.98; letter-spacing: -0.03em; max-width: none; }
.hero-home-copy .hero-title .line { display: block; font-size: inherit; line-height: inherit; white-space: normal; }
/* the second line: same ink, a second size, the stress carried by scale (38iii) */
.hero-home-copy .hero-title .line-second { font-size: 0.5em; line-height: 1.15; letter-spacing: -0.015em; margin-top: var(--space-md); max-width: none; }
.hero-home-support { margin-top: var(--space-xl); max-width: 36ch; font-size: var(--text-lead); line-height: 1.55; color: var(--color-muted); }
.hero-home-actions { margin-top: var(--space-xl); }
.hero-home-actions .btn { min-height: 52px; padding: 0 var(--space-xl); }
.hero-home-media { min-height: 0; align-self: end; justify-content: flex-end; }
.hero-home-portrait { width: min(100%, 500px); aspect-ratio: 2 / 3; }
.hero-home-portrait picture { display: contents; }
.hero-home-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.hero-home-partners { grid-column: 1 / -1; margin-top: 0; }
.hero-home-slider, .logo-slider-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: var(--space-2xl);
  padding: var(--space-lg) 0 var(--space-xl);
  border: 0;
  border-top: 1px solid var(--color-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero-home-slider-label { margin: 0; font-size: var(--text-sm); color: var(--color-muted); font-weight: 400; }
.logo-marquee { overflow: visible; padding: 0; }
/* three real partners, set still, side by side, instead of a loop (18) */
.logo-track, .logo-slider-track { animation: none !important; transform: none !important; width: 100%; }
.logo-group[aria-hidden="true"] { display: none; }
.logo-group { gap: var(--space-xl); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-slide { height: 56px; border: 0; border-radius: 0; background: transparent; padding: 0; justify-content: flex-start; opacity: 0.9; transition: opacity var(--dur-short) var(--ease-out); }
.logo-slide:hover { opacity: 1; transform: none; background: transparent; }
.logo-slide img { max-height: 44px; width: auto; max-width: 100%; transition: none; }
.logo-slide:hover img { transform: none; }

/* the hero settles once from an already-visible state: an 8px rise, never a fade from nothing (62) */
@keyframes hmSettle { from { transform: translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-home-copy > * { opacity: 1; animation: hmSettle var(--dur-long) var(--ease-out) both; }
  .hero-home-copy > *:nth-child(2) { animation-delay: 60ms; }
  .hero-home-copy > *:nth-child(3) { animation-delay: 120ms; }
}

/* ==========================================================================
   6. Sections · space and hairlines, never a card in a card
   ========================================================================== */
.wrap { max-width: var(--container); padding-inline: var(--gutter); }
.section { padding-block: var(--section-gap-s); }
.section-tight { padding-block: calc(var(--section-gap-s) / 2); }
#page-home .section-tight { padding-block: calc(var(--section-gap-s) / 2 + var(--space-xl)); }

.surface, .surface-2 { background: var(--color-paper-2); border: 0; border-radius: var(--radius-card); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.thin-grid { background: var(--color-rule); }

/* the services: an index of six rows (service, the problem it solves, a line, the link) */
.growth-system-panel { background: transparent !important; border: 0 !important; padding: 0 !important; margin-top: var(--space-2xl) !important; box-shadow: none !important; border-radius: 0 !important; backdrop-filter: none !important; }
.route-grid { display: grid; grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; border-radius: 0 !important; border: 0 !important; border-top: 1px solid var(--color-rule) !important; overflow: visible !important; background: transparent !important; }
.route-card {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr) auto;
  grid-template-areas: "service problem copy arrow";
  align-items: baseline;
  column-gap: var(--gap-columns);
  padding: var(--space-xl) 0;
  min-height: 0;
  border: 0 !important;
  border-bottom: 1px solid var(--color-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  transition: background-color var(--dur-short) var(--ease-out);
}
.route-card:nth-child(2n) { padding-left: 0; border-left: 0 !important; }
.route-card:hover, .route-card:active { background: transparent; box-shadow: none; transform: none; }
.route-card .route-tag { display: none; }
.route-card > * { margin: 0 !important; align-self: first baseline; }
.route-card .route-service { grid-area: service; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.route-card .route-problem { grid-area: problem; font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.015em; color: var(--color-ink); }
.route-card .route-copy { grid-area: copy; font-size: var(--text-sm); line-height: 1.6; color: var(--color-muted); max-width: 42ch; }
.route-card .route-arrow { grid-area: arrow; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.route-card:hover .route-arrow, .route-card:focus-visible .route-arrow { text-decoration-color: var(--c-ivory); transform: none; }
.route-card:hover .route-problem { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--color-rule-strong); }

/* cards on the other routes: one rung, a faint ivory well, no border, no radius to speak of */
.service-card, .case-card, .table-card, .metric-card, .portal-card, .module-card, .upload-card, .kb-card, .legal-card, .note-card, .overview-card,
.cta-card, .form-card, .trust-strip, .steps, .service-proof-card, .authority-card, .website-detail-card, .signal-card, .website-problem-shell, .article-feature, .cta-panel, .source-note {
  background: var(--color-paper-2);
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.service-card:hover, .case-card:hover, .kb-card:hover, .portal-card:hover, .module-card:hover, .upload-card:hover, .overview-card:hover, .note-card:hover, .legal-card:hover, .metric-card:hover, .article-feature:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
.service-card::before, .case-card::before, .table-card::before, .metric-card::before, .portal-card::before, .module-card::before, .upload-card::before, .kb-card::before, .legal-card::before, .note-card::before, .overview-card::before { content: none !important; display: none !important; }
a.service-card:hover, a.kb-card:hover, a.case-card:hover, .article-feature:hover { background: var(--color-paper-3); }
.overview-card .overview-card, .overview-card .note-card, .overview-card .metric-card, .cta-card .overview-card,
.form-card .overview-card, .form-card .note-card, .surface .overview-card, .surface .metric-card {
  background: transparent;
  padding-inline: 0;
  border-radius: 0;
  border-top: 1px solid var(--color-rule);
}
.service-card .issue, .service-card p, .step p, .trust-cell p { color: var(--color-ink-2); opacity: 1; }
.service-card .icon { color: var(--color-muted); }
.step, .trust-cell { background: var(--color-paper-2); backdrop-filter: none; }
.steps, .trust-strip { background: var(--color-rule); border-radius: var(--radius-card); }
.step .num { font-variant-numeric: tabular-nums; color: var(--color-ink); opacity: 1; }
.website-problem-item { border-color: var(--color-rule); }
.step h4 { font-family: var(--font-display); font-weight: 300; font-size: var(--text-title); }

/* list markers: a short stone rule, never a dot */
.bullet-list li { color: var(--color-ink-2); font-size: var(--text-md); line-height: 1.6; }
.bullet-list li::before { width: 10px; height: 1px; top: 0.85em; border-radius: 0; background: var(--c-stone); box-shadow: none; }

/* home: "waarom dit beter werkt" sits on the paper, its list parted by hairlines */
#page-home .overview-card { background: transparent; padding: 0; border-top: 1px solid var(--color-rule); padding-top: var(--space-xl); border-radius: 0; }
#page-home .overview-card .bullet-list { gap: 0; }
#page-home .overview-card .bullet-list li { padding: var(--space-md) 0 var(--space-md) var(--space-xl); border-bottom: 1px solid var(--color-rule); }
#page-home .overview-card .bullet-list li::before { top: calc(var(--space-md) + 0.85em); }

/* home: the three real cases, their figures set at poster size */
.home-cases-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap; margin-bottom: var(--space-2xl); }
.home-cases-head .display { margin: 0; max-width: 16ch; }
.home-cases-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); }
.home-case { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: var(--space-sm); padding: var(--space-xl) var(--space-xl) var(--space-xl) 0; min-width: 0; }
.home-case + .home-case { padding-left: var(--space-xl); border-left: 1px solid var(--color-rule); }
.home-case-figure { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: var(--text-figure); line-height: 0.95; letter-spacing: -0.04em; color: var(--color-ink); font-variant-numeric: tabular-nums lining-nums; }
.home-case-label { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.home-case-title { margin: var(--space-lg) 0 0; font-size: var(--text-lg); line-height: 1.3; letter-spacing: -0.01em; max-width: 26ch; }
.home-case-title a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.home-case-title a:hover { text-decoration-color: var(--c-ivory); }
.home-case-meta { margin: 0; font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; }
.home-case-note { margin: var(--space-sm) 0 0; font-size: var(--text-xs); color: var(--color-muted); line-height: 1.5; max-width: 40ch; }

/* about: the photographs stay, the figures become a hairlined row */
.about-home { gap: var(--space-2xl); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.photo-grid { background: transparent; border: 0; box-shadow: none; padding: 0; gap: var(--space-md); border-radius: 0; }
.about-collage .main-photo, .about-collage .side-photo { border-radius: var(--radius-card); object-fit: cover; }
.about-badge { background: transparent !important; border: 0; color: var(--color-muted) !important; font-size: var(--text-sm); min-height: 0; padding: 0; border-radius: 0; box-shadow: none; }
.about-stats { gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); margin-top: var(--space-xl); margin-bottom: var(--space-xl); }
.about-stats .metric-card { background: transparent; padding: var(--space-md) var(--space-md) 0 0; border-radius: 0; }
.about-stats .metric-card + .metric-card { padding-left: var(--space-md); border-left: 1px solid var(--color-rule); }
.metric-card .value { font-size: var(--text-2xl); color: var(--color-ink); }
.metric-card .delta { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.4; }

/* the home's close: the one ivory surface on the site, forest type on it */
.home-close { background: var(--c-ivory) !important; color: var(--c-forest); border-radius: var(--radius-card); }
.home-close[style] { padding: var(--space-3xl) var(--space-2xl) !important; }
.home-close .display, .home-close h2 { color: var(--c-forest) !important; }
.home-close .lead { color: color-mix(in oklab, var(--c-forest) 82%, var(--c-ivory)); }
.home-close .btn-primary { background: var(--c-forest); border-color: var(--c-forest); color: var(--c-ivory); }
.home-close .btn-primary:hover { background: color-mix(in oklab, var(--c-forest) 88%, var(--c-ivory)); border-color: color-mix(in oklab, var(--c-forest) 88%, var(--c-ivory)); color: var(--c-ivory); }
.home-close .btn-ghost { border-color: color-mix(in oklab, var(--c-forest) 45%, transparent); color: var(--c-forest); }
.home-close .btn-ghost:hover { border-color: var(--c-forest); background: color-mix(in oklab, var(--c-forest) 6%, transparent); color: var(--c-forest); }
.home-close .btn:focus-visible { outline-color: var(--c-forest); }

.cta-card[style]:not(.home-close) { padding: var(--space-2xl) !important; }
.website-closing-panel { background: var(--color-paper-2); border: 0; border-radius: var(--radius-card); box-shadow: none; }
.pill, .risk-pill { border-color: var(--color-rule-strong); border-radius: var(--radius-control); font-size: var(--text-sm); }

/* ==========================================================================
   7. Forms · stone edges at 6.9:1, outline focus, fields share the button height
   ========================================================================== */
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.field input, .field select, .field textarea {
  background: var(--color-paper);
  border: 1px solid var(--c-stone);
  border-radius: var(--radius-control);
  color: var(--color-ink);
  font-size: var(--text-md);
  box-shadow: none;
  transition: border-color var(--dur-short) var(--ease-out);
}
.field input, .field select { height: 48px; min-height: 48px; padding-block: 0; }
.field textarea { min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-ivory); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; box-shadow: none; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==========================================================================
   8. Footer · the existing columns, set quiet
   ========================================================================== */
footer { border-top: 1px solid var(--color-rule); padding: var(--space-3xl) 0 var(--space-xl); margin-top: var(--space-2xl); background: var(--color-paper); }
.footer-grid { gap: var(--gap-columns); }
.footer-grid h4 { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); margin-bottom: var(--space-md); }
.footer-grid a, .footer-grid p { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; }
.footer-grid a { transition: color var(--dur-short) var(--ease-out); }
.footer-grid a:hover { color: var(--color-ink); }
.footer-trust { color: var(--color-muted); font-size: var(--text-sm); }
.footer-bottom { border-top: 1px solid var(--color-rule); }
.footer-bottom p { color: var(--color-muted); font-size: var(--text-sm); }

/* ==========================================================================
   9. Cookie banner · the consent logic is untouched, only its dress changes
   ========================================================================== */
.cookie-banner {
  width: min(420px, calc(100% - 32px));
  background: var(--color-paper-2);
  color: var(--color-ink);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px var(--color-shade);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: var(--space-lg);
  transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.cookie-title { font-family: var(--font-display); font-weight: 300; font-size: var(--text-xl); color: var(--color-ink); }
.cookie-label { font-size: var(--text-sm); color: var(--color-muted); }
.cookie-label::before { content: none; display: none; }
.cookie-text { color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.6; }
.cookie-link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule-strong); border: 0; }
.cookie-link:hover { text-decoration-color: var(--c-ivory); color: var(--color-ink); }
.cookie-close { width: 44px; height: 44px; min-width: 44px; border: 1px solid var(--color-rule-strong); border-radius: var(--radius-control); background: transparent; color: var(--color-ink-2); transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.cookie-close:hover { border-color: var(--c-ivory); color: var(--color-ink); transform: none; background: transparent; }
.cookie-actions .btn { flex: 1 1 160px; min-height: 48px; font-size: var(--text-sm); padding: 0 var(--space-md); }
.cookie-launcher { width: 48px; height: 48px; background: var(--color-paper-2); color: var(--color-ink); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-control); box-shadow: none; font-size: 0; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.cookie-launcher svg { width: 22px; height: 22px; }
.cookie-launcher:hover { border-color: var(--c-ivory); transform: none; box-shadow: none; }
.cookie-actions .cookie-btn-primary, .button, .cookie-btn-primary { background: var(--c-ivory); border: 1px solid var(--c-ivory); color: var(--c-forest); }
.cookie-actions .cookie-btn-ghost, .cookie-btn-ghost { background: transparent; border: 1px solid var(--color-rule-strong); color: var(--color-ink); }
.button, .cookie-btn-primary, .cookie-btn-ghost, .cookie-actions .cookie-btn-primary, .cookie-actions .cookie-btn-ghost {
  min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-control);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em; text-transform: none; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.button:hover, .cookie-btn-primary:hover, .cookie-actions .cookie-btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--c-forest); transform: none; }
.cookie-btn-ghost:hover, .cookie-actions .cookie-btn-ghost:hover { border-color: var(--c-ivory); background: transparent; }
.button:focus-visible, .cookie-btn-primary:focus-visible, .cookie-btn-ghost:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.button:active, .cookie-btn-primary:active, .cookie-btn-ghost:active { transform: translateY(1px); }

/* ==========================================================================
   10. Route-specific details found by a computed-style sweep
   ========================================================================== */
.case-filter-btn, .case-tag, .case-meta-line span, .case-stat-label, .case-cta, .badge { font-size: var(--text-sm); }
.case-cta { font-weight: 600; color: var(--color-ink); }
.case-cta-arrow, .cases-count { display: none !important; }
.case-filter-btn { color: var(--color-muted); }
.case-filter-btn.active { color: var(--color-ink); }
.cases-cta-title { font-size: var(--text-section); line-height: 1.04; }
.cases-cta-link { color: var(--color-ink); text-decoration-color: var(--color-rule-strong); }
.article-category { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.articles-count { font-size: var(--text-sm); color: var(--color-muted); }
.articles-count::before, .article-meta span + span::before { content: none; display: none; }
.article-meta { color: var(--color-muted); font-size: var(--text-sm); }
.article-meta span + span { padding-left: var(--space-md); border-left: 1px solid var(--color-rule); }
.article-feature .read-more { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); transition: none; }
.article-feature .read-more::after { content: none; }
.article-feature:hover .read-more { transform: none; }
.breadcrumb { color: var(--color-muted); font-size: var(--text-sm); }
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb span[aria-hidden="true"] { color: var(--color-muted); }
.article-content p, .article-content li { color: var(--color-ink-2); }
.article-content a { color: var(--color-ink); border-bottom-color: var(--color-rule-strong); }
.article-content li::marker { color: var(--c-stone); }
.source-note { border-left: 1px solid var(--c-stone); }
.footer-logo { font-family: var(--font-body); }
.footer-logo i { background: var(--c-ivory) !important; border-radius: 1px; width: 7px; height: 7px; }
.footer-links { color: var(--color-muted); }
.footer-links a:hover { color: var(--color-ink); }
.accent { color: inherit; }

/* ==========================================================================
   11. Motion · one reveal (motion.js), transform and opacity only
   ========================================================================== */
.aic-reveal { transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .main-photo:hover, .side-photo:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aic-reveal { opacity: 1 !important; transform: none !important; }
  .hero-home-copy > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   12. The client portal dashboards keep the colours they shipped with
   (their literals fall back through tokens.css; their roles are restored here)
   ========================================================================== */
#page-klantportaal, #page-admin { background: var(--color-paper); }
#page-klantportaal .btn-primary, #page-admin .btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
#page-klantportaal .btn, #page-admin .btn { border-radius: 999px; }

/* ==========================================================================
   13. Responsive · each breakpoint decided, not shrunk
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: var(--space-lg); }
  .route-card { grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) auto; grid-template-areas: "service problem arrow" ". copy ."; row-gap: var(--space-xs); }
}
@media (max-width: 1024px) {
  .hero-home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-stats .metric-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-stats .metric-card:nth-child(n+3) { border-top: 1px solid var(--color-rule); margin-top: var(--space-md); }
  .home-case { padding-right: var(--space-lg); }
  .home-case + .home-case { padding-left: var(--space-lg); }
}
@media (max-width: 860px) {
  .hero-shell { min-height: 0; }
  .hero-home-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-home-copy { padding-bottom: var(--space-xl); }
  .hero-home-media { justify-content: center; }
  .hero-home-portrait { width: min(100%, 380px); }
  .hero-home-slider, .logo-slider-card { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .route-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "service arrow" "problem problem" "copy copy"; row-gap: var(--space-sm); padding: var(--space-lg) 0; }
  .about-home { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .home-cases-list { grid-template-columns: minmax(0, 1fr); }
  .home-case, .home-case + .home-case { padding: var(--space-xl) 0; border-left: 0; }
  .home-case + .home-case { border-top: 1px solid var(--color-rule); }
  .home-close[style] { padding: var(--space-2xl) var(--space-xl) !important; }
}
@media (max-width: 767px) {
  .hero-shell { padding-bottom: 0; }
  .hero-home-grid { padding: 0 var(--gutter); gap: var(--space-lg); }
  .hero-home-actions { align-items: stretch; padding: 0; }
  .hero-home-actions .btn, .hero-home-actions a, .hero-home-actions button {
    width: 100%; max-width: none; min-height: 52px; margin: 0; padding: 0 var(--space-lg);
    font-size: var(--text-sm); letter-spacing: 0.01em; white-space: nowrap; line-height: 1;
  }
  .hero-home-media { width: 100%; max-width: 380px; padding: 0; border-radius: 0; background: transparent; }
  .hero-home-partners { width: 100%; max-width: none; margin: 0; overflow: visible; }
  .hero-home-slider { padding: var(--space-lg) 0 var(--space-xl); border-radius: 0; }
  .hero-home-slider-label { padding: 0; font-size: var(--text-sm); letter-spacing: 0; }
  .logo-marquee { margin-top: 0; overflow: hidden; }
  .logo-track, .logo-slider-track { width: 100%; }
  .logo-group { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; width: 100%; gap: var(--space-md) var(--space-xl); padding: 0; }
  .logo-slide { flex: 0 0 auto; width: auto; height: 40px; }
  .hero-home-partners .logo-slide img { width: auto; height: 30px; max-width: none; max-height: 30px; object-fit: contain; }
}
@media (max-width: 640px) {
  .hero-home-copy .hero-title { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .hero-home-copy .hero-title .line-second { font-size: 0.56em; }
  .hero-home-actions .btn { flex: 1 1 100%; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .cookie-launcher { left: 16px; bottom: 16px; }
  .cta-card[style]:not(.home-close) { padding: var(--space-xl) var(--space-lg) !important; }
  .home-close[style] { padding: var(--space-xl) var(--space-lg) !important; }
  .about-stats .metric-card .value { font-size: var(--text-xl); }
  .home-case-figure { font-size: clamp(3rem, 16vw, 4.5rem); }
}
@media (max-width: 400px) {
  .hero-home-actions .btn, .hero-home-actions a, .hero-home-actions button { padding: 0 var(--space-md); }
}

/* ==========================================================================
   14. One quiet radius on every public route (the legacy bundles hard-code 14 to 30px)
   ========================================================================== */
:root:not(.ac-light) .page:not(#page-klantportaal):not(#page-admin):not(#page-home) :is(div, article, section, aside, figure, a, ul, li, img, span, button):not(.btn):not(.nav-toggle) { border-radius: var(--radius-card); }
.cookie-banner, .cookie-banner *, .mega, .nav-dropdown-panel, .nav-dropdown-link { border-radius: var(--radius-card); }
.cookie-banner .btn, .cookie-close { border-radius: var(--radius-control); }
.cases-cta-link span { display: none; }
.cases-cta-link { text-decoration: underline; text-decoration-color: var(--color-rule-strong); text-underline-offset: 0.25em; border: 0 !important; }
.cases-cta-link:hover { text-decoration-color: var(--c-ivory); }

/* ==========================================================================
   15. Gradients and stray whites found by the rendered-colour sweep: flat forest wells instead
   ========================================================================== */
.website-growth-item, .seo-why-card, .service-impact, .ads-benefit-card, .ads-pattern-card, .em-point,
.ai-flow-visual, .ai-problem-shell, .ai-result-block, .case-visual-frame, .ai-application-card, .website-closing-panel, #page-sitemap .card, .sitemap-card, .card {
  background-image: none !important;
  background-color: var(--color-paper-2) !important;
  box-shadow: none !important;
}
.ads-route-cta { background-image: none !important; background-color: var(--c-ivory) !important; color: var(--c-forest) !important; }
.ads-route-cta * { color: var(--c-forest) !important; }
.ai-flow-node { border-color: var(--color-rule) !important; }

.cookie-actions .cookie-btn-primary:focus-visible, .cookie-actions .cookie-btn-ghost:focus-visible { outline: 2px solid var(--color-focus) !important; outline-offset: 3px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
