/* Hallmark · shape: catalogue, the solutions named on the home page with one page each · genre: modern-minimal · theme: custom · job: hire · idea: "Show the mailbox being worked through, not adjectives about AI" · vibe: "precise, calm, Belgian B2B, quietly technical"
 * paper: #F5F4F2 (Clay) · accent: #6A58E6 (Violet, deepened for text contrast; #8B7CF6 on the field) · display: Sora (the Elara brand board headline face) · body: Inter (the brand board's face) · hero: a shared inbox sorting itself beside a seven-word promise · nav: edge-aligned, wordmark, three anchors and one quiet action · footer: index columns on the midnight field, a real sitemap of six modules and the company pages · imagery: the product built as samples, and the team's own portraits · signature: the shared inbox, each mail labelled and routed
 * axes: light/grotesk-sans/neutral · posture: committed (the midnight field carries hero, the statement band and the footer, from the Elara brand board, Obsidian field) · brand: Elara (renamed from Corvus; brand board and logo supplied by the user, 2026-11-11) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: S, a sorted inbox could belong to any triage tool; anchored it in the four tasks only Elara sells and the three people who deliver them */
/* Hallmark · hero-review: in-thread · 3 findings · 3 resolved (four-line head widened to three, sample wording, a truncated subject) */
/* Hallmark · finish-review: in-thread · 3 findings · 2 resolved 1 unresolved · gap: the split hero with a product panel is a familiar SaaS shape, kept because the inbox is the product */
/* Hallmark · dismissed F18 · every data-slot on these pages is a product sample built in code (inbox, chat, orders), there is no photo for the client to drop in */
/* Hallmark · answered F4 · one violet primary everywhere (the brand board's button); .on-field only re-asserts its text colour over the field link colour */
/* Hallmark · answered F15 · sections share one 96px column gap; the 24px gaps are inside a form row and a sample screen, not section columns */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Base additions ---------- */
body { font-weight: 400; }
h1, h2, h3 { font-weight: 500; letter-spacing: var(--tracking-display); color: inherit; }
h1, h2 { font-weight: 600; }
h1 { font-size: var(--text-display); line-height: 1.02; max-width: 16ch; }
h2 { font-size: var(--text-section); line-height: 1.06; max-width: 22ch; }
h3 { font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 48ch; }
small, .small { font-size: var(--text-sm); }
a:hover { text-decoration-color: var(--color-accent); }
a:active { color: var(--color-accent-2); }
strong { font-weight: 600; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; 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:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); color: var(--color-accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule-strong); }
.btn--quiet:hover { background: var(--color-paper-2); border-color: var(--color-ink); color: var(--color-ink); }
.on-field .btn:not(.btn--quiet) { color: var(--color-accent-ink); }
.on-field .btn--quiet { background: transparent; color: var(--color-field-ink); border-color: var(--color-field-muted); }
.on-field .btn--quiet:hover { background: var(--color-field-2); border-color: var(--color-field-ink); color: var(--color-field-ink); }

/* ---------- Field (dark brand surface) ---------- */
.on-field { background: var(--color-field); color: var(--color-field-ink); }
.on-field .lead, .on-field p { color: var(--color-field-muted); }
.on-field a { color: var(--color-field-ink); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-field); color: var(--color-field-ink); }
.nav__in { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-field-ink); text-decoration: none; margin-right: auto; }
.brand:active { color: var(--color-field-muted); }
.brand .logo { width: auto; height: 28px; flex-shrink: 0; }
.footer .brand .logo { height: 32px; }
.footer .tagline { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.02em; color: var(--color-field-ink); margin-bottom: var(--space-xs); }
.nav__links { display: flex; align-items: center; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); color: var(--color-field-muted); text-decoration: none; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-field-ink); background: var(--color-field-2); }
.nav__links a:active { background: var(--color-field-3); }
.nav__links a[aria-current] { color: var(--color-field-ink); }
.nav__menu { display: none; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-field-muted); border-radius: var(--radius-pill); background: transparent; color: var(--color-field-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.nav__menu:hover { background: var(--color-field-2); }
.nav__menu:active { background: var(--color-field-3); }

/* ---------- Hero ---------- */
.hero { min-height: max(calc(100svh - var(--nav-h)), 560px); display: grid; align-items: center; padding-block: var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.hero h1 { margin-bottom: var(--space-lg); }
.hero .lead { margin-bottom: var(--space-xl); color: var(--color-field-muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* The shared inbox (product sample) */
.inbox { margin: 0; min-height: 520px; display: grid; align-content: center; border-radius: var(--radius-panel); background: var(--color-field-2); padding: var(--space-lg); }
.inbox__head { display: flex; justify-content: space-between; gap: var(--space-md); padding: 0 var(--space-xs) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-field-rule); font-size: var(--text-sm); color: var(--color-field-muted); }
.inbox__head strong { color: var(--color-field-ink); font-weight: 500; }
.inbox ol { list-style: none; margin: 0; padding: 0; }
.inbox li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); padding: var(--space-md) var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-field-rule); }
.inbox li:last-child { border-bottom: 0; }
.inbox .from { font-weight: 500; color: var(--color-field-ink); }
.inbox .subj { grid-column: 1; color: var(--color-field-muted); font-size: var(--text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox .tag { grid-row: 1; grid-column: 2; justify-self: end; }
.inbox .route { grid-column: 2; justify-self: end; font-size: var(--text-sm); color: var(--color-field-ink); }
.inbox figcaption { padding: var(--space-md) var(--space-xs) 0; font-size: var(--text-sm); color: var(--color-field-muted); }

.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; background: var(--color-field-3); color: var(--color-field-ink); }
.tag--order { background: var(--color-accent); color: var(--color-accent-ink); }
.tag--doubt { background: var(--color-field-ink); color: var(--color-field); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap); }
.section--s { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap-l); }
.head { margin-bottom: var(--space-2xl); display: grid; gap: var(--space-md); }

/* Modules: a switcher */
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0 0 var(--space-xl); padding: 0; border: 0; }
.tabs button { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.tabs button:hover { border-color: var(--color-ink); }
.tabs button:active { background: var(--color-paper-2); }
.tabs button[aria-selected="true"] { background: var(--color-paper-2); border-color: var(--color-ink); color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-ink); }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.panel h3 { margin-bottom: var(--space-md); }
.panel p { color: var(--color-ink-2); }
.facts { margin: var(--space-xl) 0 0; display: grid; gap: var(--space-md); }
.facts div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--color-ink-2); }
.js .panel[hidden] { display: none; }
html:not(.js) .panel + .panel { margin-top: var(--space-3xl); }
.more { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }

/* The sample screens inside each module */
.sample { margin: 0; min-height: 440px; display: grid; align-content: center; gap: var(--space-md); padding: var(--space-xl); border-radius: var(--radius-panel); background: var(--color-card); box-shadow: var(--shadow-card), 0 0 0 var(--rule-hair) var(--color-rule); }
.sample figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.mail { display: grid; gap: var(--space-2xs); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.mail .from { font-weight: 600; }
.mail .body { color: var(--color-ink-2); }
.result { margin: 0; display: grid; gap: var(--space-xs); min-height: 7.5rem; }
.result div { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: var(--space-md); }
.result dt { color: var(--color-muted); }
.result dd { margin: 0; font-weight: 500; }
.result[data-state="waiting"] dd { color: var(--color-muted); font-weight: 400; }
.try { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule-strong); white-space: nowrap; }
td { padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
tr:last-child td { border-bottom: 0; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); }
.pdf { padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-ink-2); display: grid; gap: var(--space-2xs); }
.pdf strong { color: var(--color-ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: minmax(0, 5rem) minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.cell { display: inline-block; padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-card); background: var(--color-accent-wash); color: var(--color-ink); font-size: var(--text-sm); }
.cell--free { background: transparent; color: var(--color-muted); }

/* Werkwijze: rows */
.rows-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; }
.rows-wrap .head { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: minmax(0, 4rem) minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-lg); align-items: baseline; padding: var(--space-xl) 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.steps li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.steps li::before { content: counter(step); font-size: var(--text-title); font-weight: 500; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.steps p { color: var(--color-ink-2); }

/* Statement band */
.statement h2 { font-size: var(--text-display-s); max-width: 16ch; margin-bottom: var(--space-lg); }
.statement p { max-width: 52ch; font-size: var(--text-lead); }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.person figure { margin: 0 0 var(--space-lg); aspect-ratio: 4 / 4.4; border-radius: var(--radius-card); overflow: hidden; background: var(--color-photo); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person h3 { margin-bottom: var(--space-2xs); }
.person .role { color: var(--color-accent-2); font-weight: 500; margin-bottom: var(--space-sm); }
.person p { color: var(--color-ink-2); }

/* Contact form */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.contact > div:first-child { display: grid; gap: var(--space-md); align-content: start; }
.contact .facts { margin-top: var(--space-lg); }
.form { display: grid; gap: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-panel); background: var(--color-card); box-shadow: 0 0 0 var(--rule-hair) var(--color-rule); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-weight: 500; }
.field input, .field textarea { min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-card); color: var(--color-ink); font: inherit; outline: 2px solid transparent; outline-offset: -3px; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid], .field textarea[aria-invalid] { border-color: var(--color-error); }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); align-items: start; color: var(--color-ink-2); font-size: var(--text-sm); }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-accent); }
.consent input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.form .btn { justify-self: start; }

/* A fact the client still has to give */
.fill { padding: 0 var(--space-2xs); border: var(--rule-hair) dashed var(--color-muted); border-radius: var(--radius-card); color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.on-field .fill { border-color: var(--color-field-muted); color: var(--color-field-muted); }

/* Footer */
.footer { padding-block: var(--space-3xl) var(--space-xl); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; padding-bottom: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-field-rule); }
.footer .brand { margin-bottom: var(--space-lg); }
.footer p { max-width: 48ch; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; }
.footer__links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--color-field-ink); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-field-muted); }

/* ---------- Long document (privacy, voorwaarden) ---------- */
.doc-head { padding-block: var(--space-3xl) var(--space-2xl); }
.doc-head h1 { font-size: var(--text-display-s); max-width: 18ch; margin-bottom: var(--space-md); }
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; padding-block: var(--space-3xl) var(--section-gap-s); }
.toc { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); font-size: var(--text-sm); }
.toc ol { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--text-xl); max-width: none; margin: var(--space-2xl) 0 var(--space-sm); scroll-margin-top: calc(var(--nav-h) + var(--space-lg)); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { line-height: 1.7; color: var(--color-ink-2); }
.prose p + p { margin-top: var(--space-sm); }
.prose ul { margin: var(--space-sm) 0 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); }
.prose ul + p, .prose table + p { margin-top: var(--space-md); }
.prose table { margin-top: var(--space-sm); font-size: var(--text-sm); }
.prose td, .prose th { vertical-align: top; }
.prose .who { margin-top: var(--space-sm); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); line-height: 1.7; }


/* ---------- Multi-page additions ---------- */
.hero--banner { min-height: 0; padding-block: var(--space-4xl) var(--space-3xl); }
.hero--banner + .section { padding-top: var(--space-2xl); }
.hero--banner h1 { margin-bottom: var(--space-lg); max-width: 18ch; }
.hero--banner .lead { margin-bottom: var(--space-xl); }
.hero--banner .lead:last-child { margin-bottom: 0; }

.index { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.index li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xs) var(--space-lg); align-items: baseline; padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.index h3 a { text-decoration: none; }
.index h3 a:hover { color: var(--color-accent-2); text-decoration: underline; text-decoration-thickness: 2px; }
.index p { color: var(--color-ink-2); justify-self: end; text-align: right; }
.index small { color: var(--color-muted); }

.band { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.band h2 { font-size: var(--text-section); margin-bottom: var(--space-sm); }
.band p { color: var(--color-ink-2); font-size: var(--text-lead); }

.others__h { font-size: var(--text-title); margin-bottom: var(--space-lg); }
.others__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.steps--plain li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.steps--plain li::before { content: none; }
.rows-wrap .head .facts { margin-top: var(--space-lg); }

.person__name { font-size: var(--text-title); margin-bottom: var(--space-2xs); }

.footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); }
.footer__h { font-family: var(--font-body); font-size: var(--text-md); font-weight: 600; letter-spacing: 0; margin-bottom: var(--space-sm); color: var(--color-field-ink); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.footer__cols a { white-space: nowrap; display: inline-flex; min-height: 32px; align-items: center; color: var(--color-field-muted); text-decoration: none; }
.footer__cols a:hover { color: var(--color-field-ink); text-decoration: underline; }
.footer__cols a:active { color: var(--color-signal); }

.field select { min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-card); color: var(--color-ink); font: inherit; outline: 2px solid transparent; outline-offset: -3px; }
.field select:focus-visible { outline-color: var(--color-focus); }
.contact-page { padding-block: var(--space-3xl); }
.contact-page h1 { font-size: var(--text-display-s); max-width: 14ch; }
.contact-page .field textarea { min-height: 6rem; }

@media (max-width: 60rem) {
  .index li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .index p { justify-self: start; text-align: left; }
  .hero .sample { min-height: 0; padding: var(--space-lg); font-size: var(--text-md); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .steps--plain li { grid-template-columns: minmax(0, 1fr); }
  .steps--plain li p { grid-column: 1; }
  .hero--banner { padding-block: var(--space-3xl) var(--space-2xl); }
}


/* Samples are light screens: they keep paper ink even on the midnight field */
.on-field .sample, .on-field .sample p, .on-field .sample a { color: var(--color-ink); }
.on-field .sample .btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule-strong); }
.on-field .sample .btn--quiet:hover { background: var(--color-paper-2); border-color: var(--color-ink); color: var(--color-ink); }
.hero .sample { min-height: 600px; padding: var(--space-2xl); font-size: var(--text-lead); gap: var(--space-lg); }
.hero .sample figcaption { font-size: var(--text-md); }
.hero .sample td, .hero .sample th { padding-block: var(--space-md); }
.hero .sample .pdf { font-size: var(--text-md); padding: var(--space-lg); gap: var(--space-xs); }
.panel h2 { margin-bottom: var(--space-md); }
.hero [data-slot="triage"], .hero [data-slot="booking"], .hero [data-slot="chat"] { font-size: var(--text-md); }
.result div { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); }


/* Home: the solutions, two groups of rows */
.group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; }
.group .head { margin-bottom: 0; }
.solutions { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.solution { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-xl); align-items: center; padding: var(--space-xl) 0; border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.solution h3 { grid-column: 1; }
.solution h3 a { text-decoration: none; }
.solution h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.solution p { grid-column: 1; color: var(--color-ink-2); max-width: 52ch; }
.solution .btn { grid-column: 2; grid-row: 1 / span 2; }

/* Home: maatwerk on the midnight field */
.maatwerk-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.maatwerk-split h2 { margin-bottom: var(--space-md); }
.maatwerk-split .lead { margin-bottom: var(--space-xl); }
.mw-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mw-list li { display: grid; gap: var(--space-2xs); padding: var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.mw-list li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.mw-list p { color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .group { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .maatwerk-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
}
@media (max-width: 40rem) { .solution { grid-template-columns: minmax(0, 1fr); } .solution .btn { grid-column: 1; grid-row: auto; justify-self: start; } }


/* Home: data safety on the midnight field */
.safe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.safe__head h2 { font-size: var(--text-display-s); max-width: 12ch; margin-bottom: var(--space-md); }
.safe__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.safe__list li { display: grid; gap: var(--space-xs); align-content: start; padding-top: var(--space-md); border-top: 2px solid var(--color-accent); }
.safe__list h3 { color: var(--color-field-ink); }
.safe__more { grid-column: 2; }
@media (max-width: 60rem) { .safe { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .safe__more { grid-column: 1; } }
@media (max-width: 40rem) { .safe__list { grid-template-columns: minmax(0, 1fr); } }


/* Home: website group beside a short chat */
.web-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.web-split .head { margin-bottom: var(--space-xl); }
.web-split .sample { min-height: 360px; }
@media (max-width: 60rem) { .web-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .web-split .sample { min-height: 0; } }

/* Chat samples (klantenchat, afspraken) */
.chat__head { padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.chat__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xs) var(--space-md); }
.chat__head strong { font-weight: 600; }
.chat__head span { color: var(--color-muted); }
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.msg { max-width: 85%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-panel); line-height: 1.45; }
.msg--in { justify-self: end; background: var(--color-ink); color: var(--color-paper); border-bottom-right-radius: var(--radius-card); }
.msg--bot { justify-self: start; background: var(--color-paper-2); color: var(--color-ink); border-bottom-left-radius: var(--radius-card); }
.msg small { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.slots { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xs); }
.slot { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--color-card); box-shadow: 0 0 0 var(--rule-hair) var(--color-rule-strong); font-size: var(--text-sm); font-weight: 500; }
.on-field .sample .msg--in { color: var(--color-paper); }


/* Oplossingen page: each group a side with head and sample, the modules as roomy rows */
.catalog { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.catalog__side { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); display: grid; gap: var(--space-md); }
.catalog__side .sample { margin-top: var(--space-lg); min-height: 0; }
.mods { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
.mod { display: grid; gap: var(--space-sm); justify-items: start; padding: var(--space-2xl) 0; border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.mod h3 a { text-decoration: none; }
.mod h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.mod p { color: var(--color-ink-2); max-width: 52ch; }
.mod__links { font-size: var(--text-sm); }
.mod__links strong { color: var(--color-ink); margin-right: var(--space-2xs); }
.mod .btn { margin-top: var(--space-xs); }
.more-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-strong); }
.more-row__h { font-size: var(--text-title); max-width: none; }
@media (max-width: 60rem) { .catalog { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .catalog__side { position: static; } }

/* ---------- Responsive ---------- */
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; align-items: center; }
  .nav.is-open .nav__links { display: grid; position: absolute; inset: var(--nav-h) 0 auto 0; padding: var(--space-sm) var(--gutter) var(--space-lg); background: var(--color-field); gap: var(--space-2xs); }
  .nav.is-open .nav__links a { min-height: 48px; }
  .hero { min-height: 0; padding-block: var(--space-2xl) var(--space-3xl); }
  .hero__grid, .panel, .rows-wrap, .contact, .footer__grid, .doc { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .inbox, .sample { min-height: 0; }
  .rows-wrap .head, .toc { position: static; }
  .steps li { grid-template-columns: minmax(0, 3rem) minmax(0, 1fr); }
  .steps li p { grid-column: 2; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__links { justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .team, .form__row, .split2 { grid-template-columns: minmax(0, 1fr); }
  .inbox, .sample, .form { padding: var(--space-lg) var(--space-md); }
  .inbox li { grid-template-columns: minmax(0, 1fr); }
  .inbox .tag, .inbox .route { grid-column: 1; grid-row: auto; justify-self: start; }
  .facts div, .result div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--space-xs); }
}
.band-soft { background: var(--color-paper-2); }
/* "Maandagochtend," is one long word: the hero head is sized so it never breaks inside it */
.hero h1 { font-size: clamp(2.25rem, 4.2vw + 1rem, 4.6rem); max-width: 18ch; }

/* ---------- Field depth: every dark band carries the brand board's parallelogram structure at the logo's slant.
   Default lights the right side; .field-left mirrors it, so the bands alternate down a page ---------- */
:where(section, header, footer).on-field:where(:not(.nav)) { position: relative; isolation: isolate; overflow: hidden; }
:where(section, header, footer).on-field:where(:not(.nav))::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 75% at 82% 40%, var(--color-field-2), transparent 72%); }
:where(section, header, footer).on-field:where(:not(.nav))::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='136'%3E%3Cpath d='M140 0L0 136M0 0.5H140M0 68.5H140' fill='none' stroke='%232D3242' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 140px 136px; background-position: right -20px top -10px;
  -webkit-mask-image: linear-gradient(105deg, transparent 38%, var(--mask-solid) 78%); mask-image: linear-gradient(105deg, transparent 38%, var(--mask-solid) 78%);
  opacity: 0.9; }
.on-field:is(.field-left, .footer)::before { background: radial-gradient(55% 75% at 18% 45%, var(--color-field-2), transparent 72%); }
.on-field:is(.field-left, .footer)::after { background-position: left -20px top -10px;
  -webkit-mask-image: linear-gradient(285deg, transparent 38%, var(--mask-solid) 78%); mask-image: linear-gradient(285deg, transparent 38%, var(--mask-solid) 78%); }
.hero--banner::after, .doc-head.on-field::after { -webkit-mask-image: linear-gradient(105deg, transparent 50%, var(--mask-solid) 92%); mask-image: linear-gradient(105deg, transparent 50%, var(--mask-solid) 92%); }
.footer.on-field::before { opacity: 0.6; }
.footer.on-field::after { opacity: 0.45; -webkit-mask-image: linear-gradient(285deg, transparent 55%, var(--mask-solid) 95%); mask-image: linear-gradient(285deg, transparent 55%, var(--mask-solid) 95%); }
.hero .inbox { position: relative; box-shadow: 0 0 0 var(--rule-hair) var(--color-field-rule), 0 40px 80px -40px var(--shadow-deep); }

/* The inbox sorts itself once on load: each mail arrives, then gets its label and route */
@media (prefers-reduced-motion: no-preference) {
  .hero .inbox li { animation: inbox-row var(--dur-long) var(--ease-out) both; }
  .hero .inbox .tag, .hero .inbox .route { animation: inbox-route var(--dur-short) var(--ease-out) both; }
  .hero .inbox li:nth-child(1) { animation-delay: 300ms; } .hero .inbox li:nth-child(1) :is(.tag, .route) { animation-delay: 750ms; }
  .hero .inbox li:nth-child(2) { animation-delay: 450ms; } .hero .inbox li:nth-child(2) :is(.tag, .route) { animation-delay: 1000ms; }
  .hero .inbox li:nth-child(3) { animation-delay: 600ms; } .hero .inbox li:nth-child(3) :is(.tag, .route) { animation-delay: 1250ms; }
  .hero .inbox li:nth-child(4) { animation-delay: 750ms; } .hero .inbox li:nth-child(4) :is(.tag, .route) { animation-delay: 1500ms; }
}
@keyframes inbox-row { from { opacity: 0; transform: translateY(8px); } }
@keyframes inbox-route { from { opacity: 0; transform: translateX(-6px); } }
