/* brand.css: GENERATED by dna.mjs tokens from brand/dna.json. Do not edit; change dna.json and regenerate.
   dna sha256 b1165e1a581d1bc7ea80b3f7f05aa779e68ee1a5b87b5727d48d4e176f5313de
   body sha256 d11daebc3cf5719f2cfadc1c690487a786f45fa51d5cb00aa91dad18488469ca
   --<name>       the client's exact colour: fills, large type (≥ 24px, or 18.66px bold), icons, bands
   --on-<name>    text on a --<name> fill, ≥ 4.5:1
   --fill-<name>  the same hue as a fill under white text, ≥ 4.5:1 (equals --<name> when it already reaches it)
   --ink-<name>   text in that colour on the page (--paper), ≥ 4.5:1, per theme
   Derived tokens change OKLCH lightness only (hue held, chroma clamped to sRGB). Set the page background to var(--paper). */
:root {
  --brand: #E60014; /* brand · own · site-css · verified */
  --on-brand: #FFFFFF; /* on-brand: white, 4.80:1 on #E60014 */
  --fill-brand: #E60014; /* fill-brand (under white text): 4.80:1 against #FFFFFF (source #E60014 4.80:1), ΔE00 0.0 from source, hue Δ0.0°, OKLCH L 0.581→0.581 */
  --ground: #0A0A0A; /* ground · own · site-css · high */
  --on-ground: #FFFFFF; /* on-ground: white, 19.80:1 on #0A0A0A */
  --fill-ground: #0A0A0A; /* fill-ground (under white text): 19.80:1 against #FFFFFF (source #0A0A0A 19.80:1), ΔE00 0.0 from source, OKLCH L 0.145→0.145 */
  --paper: #FFFFFF; /* paper · own · site-css · high */
  --on-paper: #777676; /* on-paper: 4.53:1 against #FFFFFF (source #FFFFFF 1.00:1), ΔE00 36.8 from source, OKLCH L 1.000→0.567 */
  --fill-paper: #777676; /* fill-paper (under white text): 4.53:1 against #FFFFFF (source #FFFFFF 1.00:1), ΔE00 36.8 from source, OKLCH L 1.000→0.567 */
  /* light theme (default): --paper is the page background the --ink-* tokens were derived against */
  --paper: #FFFFFF;
  --ink-brand: #E60014; /* ink-brand: 4.80:1 against #FFFFFF (source #E60014 4.80:1), ΔE00 0.0 from source, hue Δ0.0°, OKLCH L 0.581→0.581 */
  --ink-ground: #0A0A0A; /* ink-ground: 19.80:1 against #FFFFFF (source #0A0A0A 19.80:1), ΔE00 0.0 from source, OKLCH L 0.145→0.145 */
  --ink-paper: #777676; /* ink-paper: 4.53:1 against #FFFFFF (source #FFFFFF 1.00:1), ΔE00 36.8 from source, OKLCH L 1.000→0.567 */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0A0A0A;
    --ink-brand: #EE171D; /* ink-brand: 4.50:1 against #0A0A0A (source #E60014 4.12:1), ΔE00 2.5 from source, hue Δ0.1°, OKLCH L 0.581→0.602 */
    --ink-ground: #797978; /* ink-ground: 4.54:1 against #0A0A0A (source #0A0A0A 1.00:1), ΔE00 35.8 from source, OKLCH L 0.145→0.576 */
    --ink-paper: #FFFFFF; /* ink-paper: 19.80:1 against #0A0A0A (source #FFFFFF 19.80:1), ΔE00 0.0 from source, OKLCH L 1.000→1.000 */
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0A0A0A;
  --ink-brand: #EE171D; /* ink-brand: 4.50:1 against #0A0A0A (source #E60014 4.12:1), ΔE00 2.5 from source, hue Δ0.1°, OKLCH L 0.581→0.602 */
  --ink-ground: #797978; /* ink-ground: 4.54:1 against #0A0A0A (source #0A0A0A 1.00:1), ΔE00 35.8 from source, OKLCH L 0.145→0.576 */
  --ink-paper: #FFFFFF; /* ink-paper: 19.80:1 against #0A0A0A (source #FFFFFF 19.80:1), ΔE00 0.0 from source, OKLCH L 1.000→1.000 */
  color-scheme: dark;
}

.smap{margin:0;max-width:640px}
.smap__view{position:relative;overflow:hidden;border-radius:var(--r-md,12px)}
.smap__img{display:block;width:100%;height:420px;max-width:none;object-fit:none;object-position:50% 50%}
.smap__pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);color:var(--brand,currentColor)}
.smap__cap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}
/* Record Auto Onderdelen — direction A "Balie". Brand tokens (--brand, --ground, --paper, --ink-*, --on-*, --fill-*) come
   from brand.css, generated from brand/dna.json: never type a brand colour here. Neutrals below are greys (no chroma). */

/* ---------- tokens ---------- */
:root {
  --text: #0A0A0A;
  --muted: #3D3D3B;
  --line: #D8D8D4;
  --line-2: #BDBDB8;
  --paper-2: #F2F2F0;
  --band: var(--ground);          /* the dark band: header, hero panel, reviews */
  --band-2: #1A1A19;
  --on-band: #FFFFFF;
  --on-band-muted: #C9C9C5;
  --card: #FFFFFF;
  --on-card: #0A0A0A;
  --frame: #E6E6E2;
  --focus: var(--brand);
  --f-display: 'Ubuntu', 'Ubuntu Fallback', system-ui, sans-serif;
  --f-text: 'Barlow', 'Barlow Fallback', system-ui, sans-serif;
  /* type scale 1.25, base 18px */
  --t-sm: 0.889rem; --t-base: 1.125rem; --t-lead: 1.25rem; --t-h3: 1.4rem; --t-h2: clamp(1.85rem, 1.3rem + 2vw, 2.6rem); --t-h1: clamp(2.35rem, 1.5rem + 3.4vw, 4rem);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;
  --r-1: 2px; --r-2: 4px;          /* the old site's 4px radius: kept small and sharp */
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 76px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --text: #EDEDEA; --muted: #B4B4AF; --line: #2E2E2C; --line-2: #45453F; --paper-2: #141413; --band: #161615; --band-2: #222220; --frame: #1F1F1E; }
}
:root[data-theme="dark"] { --text: #EDEDEA; --muted: #B4B4AF; --line: #2E2E2C; --line-2: #45453F; --paper-2: #141413; --band: #161615; --band-2: #222220; --frame: #1F1F1E; }

/* metric-matched fallbacks so the font swap does not shift the layout (computed from Barlow-Regular.ttf / Ubuntu-Bold.ttf
   against Arial / Arial Bold: advance width of a Dutch sample sentence, hhea ascent, descent and line gap) */
@font-face { font-family: 'Barlow Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 400 600; size-adjust: 95.9%; ascent-override: 104.3%; descent-override: 20.9%; line-gap-override: 0%; }
@font-face { font-family: 'Ubuntu Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 500 700; size-adjust: 100.1%; ascent-override: 93.1%; descent-override: 18.9%; line-gap-override: 2.8%; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); scroll-padding-bottom: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 var(--t-base)/1.6 var(--f-text); font-feature-settings: "tnum" 0; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0; hyphens: manual; text-wrap: balance; }
p { margin: 0; }
address { font-style: normal; }
.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--card); color: var(--on-card); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 40em; }
.small { font-size: var(--t-sm); }
.muted { color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.todo { background: var(--paper-2); color: var(--text); outline: 1px dashed var(--line-2); padding: 0 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 2px solid transparent; border-radius: var(--r-2); font: 600 1.0625rem/1.2 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color var(--dur-feedback, 120ms) ease-out, border-color var(--dur-feedback, 120ms) ease-out, color var(--dur-feedback, 120ms) ease-out; }
.btn--lg { min-height: 56px; padding: 14px 24px; font-size: 1.125rem; }
.btn--red { background: var(--fill-brand); color: var(--on-brand); }
.btn--red:hover { background: color-mix(in oklch, var(--fill-brand) 82%, #000); }
.btn--ink { background: var(--ground); color: #fff; }
.btn--ink:hover { background: #2A2A29; }
.btn--line { background: transparent; color: var(--text); border-color: var(--text); }
.btn--line:hover { border-color: var(--brand); }
.btn__arrow { display: inline-flex; }

/* ---------- header (dark band, their logo) ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--band); color: var(--on-band); border-bottom: 1px solid #000; }
.hdr__in { display: flex; align-items: center; gap: var(--s-5); min-height: var(--hdr-h); }
.hdr__logo { display: block; padding-block: 10px; flex: none; }
.hdr__img { width: auto; height: 56px; }
.nav { margin-left: var(--s-6); }
.nav__list { list-style: none; display: flex; gap: var(--s-6); margin: 0; padding: 0; }
.nav a { color: var(--on-band); text-decoration: none; font-weight: 500; font-size: 1.0625rem; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--brand); }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.hdr__call { display: inline-flex; align-items: center; gap: 8px; color: var(--on-band); font: 600 1.125rem/1 var(--f-text); text-decoration: none; min-height: 44px; font-variant-numeric: tabular-nums; }
.hdr__call:hover .hdr__num { text-decoration: underline; text-decoration-color: var(--brand); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; color: var(--on-band); border: 1px solid #3A3A38; border-radius: var(--r-2); cursor: pointer; }

/* opening state (one line; site.js writes today's state, without JS it shows the week) */
.openstate { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; line-height: 1.3; color: var(--on-band-muted); min-height: 1.3em; }
.openstate__dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.openstate[data-state="open"] .openstate__dot { background: var(--on-band); border-color: var(--on-band); }
.openstate[data-state="open"] { color: var(--on-band); }
.openstate b { font-weight: 600; color: var(--on-band); }
.hdr__open { max-width: 19rem; }

@media (max-width: 63.99em) {
  :root { --hdr-h: 64px; }
  .hdr__img { height: 44px; }
  .hdr__open { display: none; }
  .hdr__num { font-size: 1rem; }
  .menu-btn { display: inline-flex; }
  .nav { margin: 0; }
  /* without JS the menu stays a visible row under the header */
  html:not(.js) .hdr__in { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; width: 100%; padding-bottom: 8px; }
  html:not(.js) .nav__list { flex-wrap: wrap; gap: 4px 20px; }
  html:not(.js) .menu-btn { display: none; }
  html.js .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--band); border-top: 1px solid #2A2A29; padding: 8px var(--gutter) 20px; display: none; }
  html.js .nav.is-open { display: block; }
  html.js .nav__list { flex-direction: column; gap: 0; }
  html.js .nav a { display: block; padding: 14px 0; border-bottom: 1px solid #2A2A29; font-size: 1.125rem; }
}
@media (max-width: 23.5em) { .hdr__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- hero: their counter photo | the counter top ---------- */
.hero { border-top: 4px solid var(--brand); display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); min-height: min(calc(100svh - var(--hdr-h)), 56rem); background: var(--band); color: var(--on-band); }
.hero__photo { position: relative; background: var(--frame); }
.hero__photo .photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__panel { display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); padding: var(--s-7) clamp(24px, 4vw, 64px); }
.hero__h { font-size: var(--t-h1); line-height: 1.02; }
@media (min-width: 64em) { .hero__h { font-size: min(4rem, 4.3vw); } }
.hero__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--on-band-muted); max-width: 32em; }
.hero__open { margin-top: var(--s-2); }
@media (min-width: 64em) { .hero__open { display: none; } }
@media (max-width: 63.99em) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__photo { aspect-ratio: 16 / 8; }
  .hero__panel { padding: var(--s-5) var(--gutter) var(--s-6); gap: var(--s-4); }
  .hero__lead { font-size: 1.0625rem; }
}

/* ---------- the kenteken card ---------- */
.ask { background: var(--card); color: var(--on-card); padding: var(--s-5); border-radius: var(--r-2); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); max-width: 34rem; }
.ask__title { font: 600 1.0625rem/1.35 var(--f-text); letter-spacing: 0; }
.ask__title label { cursor: pointer; }
.ask__row { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.plate { flex: 1 1 13rem; min-width: 0; display: flex; align-items: stretch; min-height: 56px; border: 3px solid #0A0A0A; border-radius: var(--r-2); background: #FFFFFF; overflow: hidden; }
.plate__nl { display: flex; align-items: flex-end; padding: 0 8px 7px; background: #0A0A0A; color: #FFFFFF; font: 600 0.8125rem/1 var(--f-text); letter-spacing: 0.04em; }
.plate__in { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: #0A0A0A; font: 700 1.6rem/1 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; padding: 0 14px; }
.plate__in::placeholder { color: #8A8A86; letter-spacing: 0.06em; }
.plate__in:focus { outline: none; }
.plate:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.ask__go { flex: 0 0 auto; }
.slip { border-top: 1px solid #D8D8D4; padding-top: var(--s-4); }
.slip__rows { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5); margin: 0; }
.slip__row dt { font-size: 0.875rem; color: #3D3D3B; letter-spacing: 0.02em; }
.slip__row dd { margin: 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; min-height: 1.3em; overflow-wrap: anywhere; }
.slip__status { margin-top: var(--s-3); font-size: 0.9375rem; color: #3D3D3B; min-height: 2.6em; }
.slip[data-found] .slip__row dd { color: #0A0A0A; }
.ask__next { display: none; }
.ask[data-found] .ask__next { display: block; }
.ask__next .btn { width: 100%; }
.slip--form { margin-top: var(--s-4); }
.req .slip__row dt, .req .slip__status { color: var(--muted); }
.req .plate { border-color: var(--text); }

/* ---------- sections ---------- */
.sec { padding-block: clamp(56px, 7vw, var(--s-9)); }
.sec--tight { padding-block: var(--s-7) clamp(56px, 7vw, var(--s-9)); }
.sec--paper2 { background: var(--paper-2); }
.sec--ink { background: var(--band); color: var(--on-band); }
.sec__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 46rem; }

/* over ons: two years set large, three values on rules (no boxes) */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6) var(--s-7); }
.about__h { grid-row: span 2; }
.about__years { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.year { display: grid; gap: var(--s-2); border-top: 3px solid var(--brand); padding-top: var(--s-4); }
.year__n { font: 700 clamp(2.6rem, 2rem + 2.4vw, 4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.year__t { color: var(--muted); max-width: 26em; }
.values { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.values div { border-top: 1px solid var(--line-2); padding-top: var(--s-4); }
.values dt { font: 700 1.25rem/1.2 var(--f-display); margin-bottom: var(--s-2); }
.values dd { margin: 0; color: var(--muted); }
@media (max-width: 63.99em) { .about { grid-template-columns: 1fr; } .about__h { grid-row: auto; } .values { grid-template-columns: 1fr; gap: var(--s-5); } }
@media (max-width: 35em) { .about__years { grid-template-columns: 1fr; } }

/* het team: everyone the same way, same crop, name under each (302 px originals: never wider than 241 px) */
.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-5); max-width: calc(6 * 241px + 5 * 24px); }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 302 / 400; object-fit: cover; background: #FFFFFF; border: 1px solid var(--line); border-bottom: 3px solid var(--brand); }
.person figcaption { margin-top: var(--s-2); font: 700 1.125rem/1.2 var(--f-display); }
/* their portraits are shot on white: in the dark theme the team keeps a light band, so they read as prints, not cut-outs */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec--team { background: #EDEDEA; color: #0A0A0A; } :root:not([data-theme="light"]) .sec--team .lead { color: #3D3D3B; } }
:root[data-theme="dark"] .sec--team { background: #EDEDEA; color: #0A0A0A; }
:root[data-theme="dark"] .sec--team .lead { color: #3D3D3B; }
@media (max-width: 63.99em) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); max-width: calc(3 * 188px + 2 * 16px); } }

/* reviews: their customers' own words on the dark band */
.reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6) var(--s-7); align-items: start; }
.reviews__q { display: grid; gap: var(--s-6); }
.quote { margin: 0; }
.quote::before { content: ""; display: block; width: 40px; height: 3px; background: var(--brand); margin-bottom: var(--s-4); }
.quote blockquote { margin: 0; }
.quote p { font: 500 clamp(1.25rem, 1rem + 0.9vw, 1.6rem)/1.35 var(--f-display); }
.quote figcaption { margin-top: var(--s-3); color: var(--on-band-muted); font-size: var(--t-sm); }
.reviews__more { grid-column: 2; display: inline-flex; align-items: center; gap: 8px; color: var(--on-band); font-weight: 600; min-height: 44px; }
@media (max-width: 63.99em) { .reviews { grid-template-columns: 1fr; } .reviews__more { grid-column: 1; } }

/* merken: one calm row, one tone (the logos are near-black files; light in the dark theme) */
.merken { border-block: 1px solid var(--line); padding-block: var(--s-6); }
.merken__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); align-items: center; gap: var(--s-6) var(--s-5); }
.merken__list li { display: flex; align-items: center; min-height: 44px; }
.merken__list img { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .merken__list img { filter: invert(1); } }
:root[data-theme="dark"] .merken__list img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .smap__img { filter: brightness(.82); } }
:root[data-theme="dark"] .smap__img { filter: brightness(.82); }

/* bezoek: address, the week, the static map */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6) var(--s-7); align-items: start; }
.visit__txt { display: grid; gap: var(--s-5); }
.visit__addr { font: 500 1.375rem/1.4 var(--f-display); }
.visit__map .smap { max-width: 100%; }
.smap__view { border-radius: var(--r-2); border: 1px solid var(--line); }
.smap__pin { color: var(--brand); }
.smap__cap a { font-weight: 600; }
@media (max-width: 63.99em) { .visit { grid-template-columns: minmax(0, 1fr); } }

.hours { margin: 0; display: grid; max-width: 22rem; font-variant-numeric: tabular-nums; }
.hours__row { display: flex; justify-content: space-between; gap: var(--s-4); padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours__row dt { font-weight: 500; }
.hours__row dd { margin: 0; }
.hours__row[data-today] { font-weight: 700; }
.hours--short .hours__row { padding: 4px 0; }
.hours__row[data-today] dt::after { content: " · vandaag"; font-weight: 500; color: var(--muted); }

/* ---------- inner pages ---------- */
.phead { padding-block: var(--s-6) 0; }
.phead__h { font-size: var(--t-h1); margin-top: var(--s-4); max-width: 18ch; }
.phead .lead { margin-top: var(--s-4); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: var(--t-sm); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }

.req { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-7); align-items: start; }
.req__aside { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: var(--s-3); padding: var(--s-5); background: var(--band); color: var(--on-band); border-top: 6px solid var(--brand); border-radius: var(--r-2); }
.req__aside a { color: var(--on-band); }
.req__aside .hours__row { border-color: #2E2E2C; }
.req__aside .hours__row[data-today] dt::after { color: var(--on-band-muted); }
.req__k { font-size: var(--t-sm); color: var(--on-band-muted); margin-top: var(--s-3); }
.req__phone { font: 700 1.75rem/1.1 var(--f-display); text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 63.99em) { .req { grid-template-columns: minmax(0, 1fr); } .req__aside { position: static; } }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; }
.split__txt { display: grid; gap: var(--s-5); }
.split__photo img { width: 100%; max-width: 30rem; }
@media (max-width: 63.99em) { .split { grid-template-columns: minmax(0, 1fr); } .split__photo img { max-width: 25rem; } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.contact-list li { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.contact-list .k { min-width: 6rem; color: var(--muted); }
.contact-list .v { font-weight: 600; }

/* ---------- forms ---------- */
.form { min-width: 0; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.group + .group { margin-top: var(--s-3); }
.group__l { font: 700 var(--t-h3)/1.2 var(--f-display); padding: 0 0 var(--s-2); margin-bottom: var(--s-2); width: 100%; border-bottom: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 40em) { .fields { grid-template-columns: 1fr; } }
.field { display: block; font-weight: 600; font-size: 1rem; }
.field > .input, .field > .textarea { display: block; margin-top: 6px; }
.seg > legend.field { margin-bottom: 6px; }
.field__hint { font-weight: 400; color: var(--muted); }
.input, .textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--line-2); border-radius: var(--r-2); background: var(--paper); color: var(--text); font: 400 1.0625rem/1.4 var(--f-text); }
.textarea { min-height: 7rem; resize: vertical; }
.input:focus, .textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--text); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.seg legend { width: 100%; padding: 0; margin-bottom: 6px; }
.seg label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 12px; border: 2px solid var(--line-2); border-radius: var(--r-2); font-weight: 600; cursor: pointer; }
.seg input { width: 18px; height: 18px; margin: 0; accent-color: var(--text); cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--text); }
.seg input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* the company field only for business customers: CSS from the first frame (no layout shift), always shown without JS */
html.js .form:not(:has([data-zakelijk]:checked)) [data-company] { display: none; }
.form-error { color: var(--ink-brand); font-weight: 600; }
.done { display: grid; gap: var(--s-4); padding: var(--s-5); border: 2px solid var(--text); border-radius: var(--r-2); }
.done[hidden] { display: none; }
.done__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--fill-brand); color: var(--on-brand); }
.done pre { white-space: pre-wrap; font: 400 0.9375rem/1.5 var(--f-text); background: var(--paper-2); padding: var(--s-4); margin: 0; border-radius: var(--r-2); overflow-wrap: anywhere; }

/* ---------- legal + 404 ---------- */
.prose { max-width: 42rem; display: grid; gap: var(--s-4); }
.prose h2 { font-size: 1.5rem; margin-top: var(--s-4); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.lost__code { font: 700 clamp(4rem, 10vw, 7rem)/1 var(--f-display); color: var(--ink-brand); }
.lost .lead { margin-top: var(--s-5); }
.lost .row { margin-top: var(--s-6); }

/* ---------- footer ---------- */
.ftr { background: var(--band); color: var(--on-band); padding-block: var(--s-8) var(--s-6); }
.ftr__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--s-6) var(--s-7); }
.ftr__q { font: 700 var(--t-h2)/1.08 var(--f-display); hyphens: manual; max-width: 12ch; }
.ftr__phone { display: inline-block; margin-top: var(--s-5); font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.1 var(--f-display); text-decoration: none; font-variant-numeric: tabular-nums; }
.ftr__phone:hover { text-decoration: underline; text-decoration-color: var(--brand); }
.ftr__mail { display: block; margin-top: var(--s-2); color: var(--on-band-muted); }
.ftr__k { font-size: var(--t-sm); color: var(--on-band-muted); margin-bottom: var(--s-3); }
.ftr__col { display: grid; gap: var(--s-3); align-content: start; }
.ftr__col a { color: var(--on-band); }
.ftr .hours__row { border-color: #2E2E2C; }
.ftr .hours__row[data-today] dt::after { color: var(--on-band-muted); }
.ftr__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); padding-top: var(--s-5); border-top: 1px solid #2E2E2C; font-size: var(--t-sm); color: var(--on-band-muted); }
.ftr__legal a { color: var(--on-band-muted); }
.motion-toggle { margin-left: auto; min-height: 44px; padding: 8px 14px; background: transparent; color: var(--on-band); border: 1px solid #45453F; border-radius: var(--r-2); font: 500 var(--t-sm)/1 var(--f-text); cursor: pointer; }
@media (max-width: 63.99em) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__lead { grid-column: 1 / -1; } }
@media (max-width: 35em) { .ftr__in { grid-template-columns: 1fr; } .motion-toggle { margin-left: 0; } }

/* ---------- phone action bar ---------- */
.actionbar { display: none; }
@media (max-width: 63.99em) {
  .ftr { padding-bottom: calc(var(--s-6) + 64px + env(safe-area-inset-bottom)); }
  .actionbar { display: grid; grid-template-columns: 1fr 1fr 2fr; position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--band); border-top: 1px solid #000; padding-bottom: env(safe-area-inset-bottom); }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 60px; color: var(--on-band); text-decoration: none; font-weight: 600; font-size: 1rem; }
  .actionbar a + a { border-left: 1px solid #2E2E2C; }
  .actionbar__main { background: var(--fill-brand); color: var(--on-brand); }
}

@media print { .hdr, .actionbar, .ftr__legal .motion-toggle { display: none; } }

/* ================= Direction B "Schap" (preview branch): the shelving behind the counter =================
   Same brand tokens, same content. What changes: condensed capitals from the drawer labels, a full-width counter
   photo with the promise on a solid shelf label (never type on the photo), numbered index rows and drawer cells. */
@font-face { font-family: 'Barlow Condensed Fallback'; src: local('Arial Narrow'), local('ArialNarrow'), local('Arial'); size-adjust: 88%; ascent-override: 112%; descent-override: 24%; line-gap-override: 0%; }
:root { --f-display: 'Barlow Condensed', 'Barlow Condensed Fallback', system-ui, sans-serif; --t-h2: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); }
h1, h2, h3 { text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.98; }
.nav a { text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; }
.hdr__call { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: 0.02em; }
.btn { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.125rem; }

/* hero: the counter, full width; the promise on a shelf label; a plain action list beside it */
.bhero { position: relative; background: var(--band); color: var(--on-band); border-top: 4px solid var(--brand); }
.bhero__photo { height: clamp(460px, 74svh, 760px); background: var(--frame); overflow: hidden; }
.bhero__photo .photo, .bhero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.bhero__in { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); padding-bottom: var(--s-7); }
.bhero__label { background: var(--band); padding: var(--s-5) var(--s-6) var(--s-6); width: max-content; max-width: 100%; border-bottom: 6px solid var(--brand); }
.bhero__eyebrow { font: 600 0.9375rem/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.14em; color: var(--on-band-muted); }
.bhero__h { margin-top: var(--s-3); font-size: min(5.6rem, 5.4vw); line-height: 0.9; }
.bhero__acts { flex: 0 0 23rem; background: var(--card); color: var(--on-card); display: grid; }
.act { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 60px; padding: 0 var(--s-5); color: var(--on-card); text-decoration: none; font: 600 1.25rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid #D8D8D4; }
.act:hover { background: #F2F2F0; }
.act--main { background: var(--fill-brand); color: var(--on-brand); border-bottom: 0; }
.act--main:hover { background: color-mix(in oklch, var(--fill-brand) 82%, #000); }
.act__arrow { display: inline-flex; }
.act__open { padding: var(--s-3) var(--s-5) var(--s-4); color: #3D3D3B; }
.act__open .openstate__dot { border-color: #3D3D3B; }
.act__open[data-state="open"], .act__open b { color: #0A0A0A; }
.act__open[data-state="open"] .openstate__dot { background: #0A0A0A; border-color: #0A0A0A; }
@media (max-width: 63.99em) {
  .bhero__photo { height: auto; aspect-ratio: 16 / 9; }
  .bhero__in { position: static; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .bhero__label { width: auto; max-width: none; padding: var(--s-5) var(--gutter) var(--s-5); border-bottom-width: 4px; }
  .bhero__h { font-size: clamp(2.6rem, 1.4rem + 6vw, 4rem); }
  .bhero__acts { flex: none; }
  .act { padding: 0 var(--gutter); }
}

/* kenteken band */
.kband { background: var(--paper-2); }
.kband__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-6) var(--s-7); align-items: center; }
.kband .ask { max-width: none; border: 1px solid var(--line); }
@media (max-width: 63.99em) { .kband__in { grid-template-columns: minmax(0, 1fr); } }

/* section labels like the drawer labels: a number, then the title */
.ihead { display: grid; gap: var(--s-2); margin-bottom: var(--s-6); max-width: 46rem; }
.ihead--solo { margin-bottom: var(--s-4); }
/* breathing room between a section title and its lead: 24px, the same in every section head */
.ihead .lead { margin-top: var(--s-4); }
.kband__txt .lead { margin-top: var(--s-5); }
.ihead__n { font: 600 0.9375rem/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-brand); font-variant-numeric: tabular-nums; }
.sec--ink .ihead__n { color: color-mix(in oklch, var(--brand) 72%, #FFFFFF); }
.sec--team .ihead__n { color: color-mix(in oklch, var(--brand) 86%, #000000); }
.reviews .ihead { grid-column: 1; margin-bottom: 0; }

/* over ons: numbered index rows on rules */
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.index { margin: 0; }
.index > div { display: grid; grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: var(--s-2) var(--s-6); align-items: baseline; padding: var(--s-5) 0; border-bottom: 1px solid var(--line-2); }
.index dt { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: baseline; }
.index dd { margin: 0; }
.index__n { font: 700 1.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--ink-brand); }
.index__t { font: 700 1.9rem/1 var(--f-display); text-transform: uppercase; }
.index dd { color: var(--muted); max-width: 40em; }
@media (max-width: 47.99em) { .index > div { grid-template-columns: minmax(0, 1fr); } .index dt { grid-template-columns: 4.5rem minmax(0, 1fr); } .index dd { padding-left: 4.5rem; } }

/* merken: one drawer per brand, numbered like the small-parts drawers */
.drawers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.drawer { position: relative; display: flex; align-items: center; justify-content: center; min-height: 7rem; padding: var(--s-5) var(--s-4) var(--s-4); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.drawer__n { position: absolute; top: 8px; left: 10px; font: 600 0.8125rem/1 var(--f-display); letter-spacing: 0.1em; color: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .drawer img { filter: invert(1); } }
:root[data-theme="dark"] .drawer img { filter: invert(1); }
.ftr__q, .ftr__phone, .req__phone, .visit__addr { font-family: var(--f-display); text-transform: uppercase; }
.hdr__call { position: relative; }
@media (max-width: 23.5em) { .hdr__num { display: none; } .hdr__call { min-width: 44px; justify-content: center; } }
.kband .ihead__n, .sec--paper2 .ihead__n { color: color-mix(in oklch, var(--brand) 80%, #000000); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kband .ihead__n, :root:not([data-theme="light"]) .sec--paper2 .ihead__n { color: color-mix(in oklch, var(--brand) 68%, #FFFFFF); } }
:root[data-theme="dark"] .kband .ihead__n, :root[data-theme="dark"] .sec--paper2 .ihead__n { color: color-mix(in oklch, var(--brand) 68%, #FFFFFF); }

/* review round 1 (direction B) */
.done { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.form { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.done__icon[data-done-icon="mail"] { background: var(--ground); color: #FFFFFF; }
/* the car rows appear with the RDW answer (without JS they stay, as a plain form) */
html.js .ask:not([data-found]) .slip__rows { display: none; }
html.js .ask:not([data-found]) .slip { padding-top: var(--s-3); }
.ftr__q { max-width: 18ch; }
.hdr__img { height: 64px; }
@media (max-width: 63.99em) { .hdr__img { height: 44px; } }

/* motion tokens: editorial-restrained, restrained band (generated by src/motion/personalities.mjs) */
:root {
  --dur-feedback: 120ms;
  --dur-state: 240ms;
  --dur-enter: 700ms;
  --dur-exit: 200ms;
  --dur-signature: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-signature: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-settle: linear(0, 0.0352, 0.1167, 0.2188, 0.3258, 0.4287, 0.5228, 0.6058, 0.6774, 0.738, 0.7886, 0.8304, 0.8646, 0.8923, 0.9147, 0.9326, 0.947, 0.9583, 0.9674, 0.9745, 0.9801, 0.9845, 0.988, 0.9907, 0.9928, 0.9944, 0.9957, 0.9967, 0.9974, 0.998, 0.9985, 0.9988, 1);
  --dist-enter: 16px;
  --stagger: 90ms;
  --scale-enter: 1;
  --rot-enter: 0deg;
  --press-depth: 1px;
  --dur-reveal: 900ms;
  --ease-reveal: cubic-bezier(.25, .1, .25, 1);
  --dist-reveal: 10px;
  --stagger-reveal: 100ms;
  --scale-reveal: 0.97;
}

/* ==========================================================================
   Motion layer. Two layers, one file:
     1. motion-core  (between the @motion-core markers): feedback only. Press, focus ring, field focus/valid/invalid, menu and
        dialog entrance, the page transition (crossfade, header held, shared elements), the "Minder beweging" toggle, the pause
        control for any loop, the click-to-load video facade, the logo strip and the photo frame. SHARED CODE: sha256-locked in src/motion/core.lock.json; tests/motion.test.mjs fails
        when a site edits it. Edit the skill's template instead (see src/motion/core.mjs).
     2. expression   (below the core): reveals, hero entrances, line draw, drawn underline, scroll story, ticker, signature
        helpers. Opt-in per element by data attribute; nothing here is global. The computer-style effects (glitch slice,
        pointer lean, shader, parallax) are NOT in this file: motion-extra.css, only when direction.json asks for it.
     3. bindings: this template's own components (adapt or delete per site).
   Timing comes from the generated token block (src/motion/personalities.mjs → :root{--dur-*;--ease-*;--dist-enter;--stagger;…}),
   already held inside the site's band (src/data/motion.json).

   The rule that keeps content safe: a start state that hides anything needs ALL of
     html.js  +  screen and (prefers-reduced-motion: no-preference)  +  not html[data-motion="reduce"]
     +  a mechanism known to run
   (@supports for scroll timelines; html.io-reveal / html.motion-ok, which motion.js sets only after
   its observers are attached). Without JS, with reduced motion (OS setting or the footer toggle), in print:
   everything is visible. The build appends the reduce blocks a second time under html[data-motion="reduce"].

   Cost grades follow the motion-audit scale: S = compositor (transform, translate, scale, rotate,
   opacity, clip-path, filter); C = paint (colours, mask, box-shadow, stroke-dashoffset). Paint recipes are
   marked. Nothing here animates a layout property (slopscan's layout-animation rule enforces it).
   ========================================================================== */

/* @motion-core:begin */
/* motion-core 1.1.0 */

/* ---------- C1. press + focus + field feedback ---------- */
[data-press] { transition: translate var(--dur-feedback) var(--ease-out), scale var(--dur-feedback) var(--ease-out); }
[data-press]:active { translate: 0 var(--press-depth); }
/* focus ring: zero specificity, so a site's own ring wins; the ring eases out by 2px instead of snapping (S/C, tiny) */
:where(a[href], button, input, select, textarea, summary, [tabindex]) { transition: outline-offset var(--dur-feedback) var(--ease-out); }
:where(a[href], button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus-ring, currentColor); outline-offset: 2px; }
/* fields: focus colour eases in; after the visitor has touched a field, invalid/valid show as a 2px underline (C: paint, colour only) */
:where(input, select, textarea) { transition: border-color var(--dur-feedback) var(--ease-out), box-shadow var(--dur-feedback) var(--ease-out); }
:where(input, select, textarea):user-invalid { box-shadow: inset 0 -2px 0 var(--field-invalid, #b3261e); }
:where(input, select, textarea):user-valid { box-shadow: inset 0 -2px 0 var(--field-valid, #1d7a46); }

/* ---------- C2. entrances without JS: @starting-style for [data-enter] (menus, toasts), dialog, popover (S) ---------- */
@media (prefers-reduced-motion: no-preference) {
  :is([data-enter], dialog, [popover]) {
    transition: opacity var(--dur-exit) var(--ease-out), translate var(--dur-exit) var(--ease-out), scale var(--dur-exit) var(--ease-out), display var(--dur-exit) allow-discrete, overlay var(--dur-exit) allow-discrete;
  }
  :is([data-enter]:not([hidden]), dialog[open], [popover]:popover-open) { transition-duration: var(--dur-state); }
  @starting-style {
    :is([data-enter]:not([hidden]), dialog[open], [popover]:popover-open) { opacity: 0; translate: 0 calc(var(--dist-enter) / -2); scale: max(var(--scale-enter), .97); }
  }
  :is([data-enter][hidden], dialog:not([open]), [popover]:not(:popover-open)) { opacity: 0; translate: 0 calc(var(--dist-enter) / -4); }
}

/* ---------- C3. cross-document view transitions (S), no JS: the page crossfades at --dur-state while the header (.hdr,
   the template's one persistent header) stays put. Shared elements: write data-vt="<id>" on the same photo or title on a
   list card and on its detail page; the build turns it into a unique view-transition-name (class vt-shared) and the
   browser morphs one into the other (280 ms, --ease-move). Browsers without support navigate plainly. ---------- */
.hdr { view-transition-name: site-header; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: var(--dur-state); animation-timing-function: var(--ease-out); }
  ::view-transition-group(*.vt-shared) { animation-duration: 280ms; animation-timing-function: var(--ease-move); }
}

/* ---------- C4. success tick: [data-motion-success] needs no CSS. When its [hidden] goes away motion.js runs success():
   the panel rises in, the first svg settles and its strokes draw (WAAPI; draw = C). ---------- */

/* ---------- C5. loops: any [data-loop] gets a visible pause button from motion.js ([data-motion-pause], WCAG 2.2.2) and
   pauses under reduced motion. The footer's "Minder beweging" / "Reduce motion" toggle is wired by motion.js too. ---------- */
:is([data-loop]) { position: relative; }
.m-pause { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; z-index: 1; font: inherit; font-size: .8125rem; }
[data-loop][data-paused], [data-loop][data-paused] * { animation-play-state: paused !important; }
.motion-toggle { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.motion-toggle[aria-pressed="true"]::before { content: "\2713\00a0"; }

/* ---------- C6. logo strip: <div data-logo-strip role="region" aria-label="…" tabindex="0"><ul class="m-strip__track"><li><img …></li>…</ul></div>
   A static row by default (a scrollable one when the logos do not fit and no JS runs). motion.js rolls it ONLY when the
   row overflows its box and motion is allowed: it adds a pause button, pauses on hover and focus, and stops under
   reduced motion. It is the site's one ambient loop (declare it in motion.json). ---------- */
[data-logo-strip] { overflow-x: auto; }
.m-strip__track { display: flex; align-items: center; width: max-content; min-width: 100%; justify-content: center; margin: 0; padding: 0; list-style: none; }
.m-strip__track > li { flex: 0 0 auto; margin-inline-end: var(--strip-gap, 2.5rem); }
.m-strip__track img { display: block; height: var(--strip-h, 2.5rem); width: auto; }
[data-logo-strip]:not([data-rolling]) .m-strip__track > li:last-child { margin-inline-end: 0; }
[data-logo-strip]:not([data-rolling]) [data-clone] { display: none; }
@keyframes m-strip { to { translate: -50% 0; } }
@media screen and (prefers-reduced-motion: no-preference) {
  html.motion-ok [data-logo-strip][data-rolling][data-loop] { overflow-x: hidden; }
  html.motion-ok [data-logo-strip][data-rolling][data-loop] .m-strip__track { justify-content: flex-start; min-width: 0; animation: m-strip var(--strip-dur, 40s) linear infinite; }
  html.motion-ok [data-logo-strip][data-rolling][data-loop]:is(:hover, :focus-within) .m-strip__track { animation-play-state: paused; }
}

/* ---------- C7. video facade: <div class="m-video" data-video="youtube:ID"><a class="m-video__link" href="the video"><img poster><span class="m-video__play">…</a></div>
   (build it with src/motion/facade.mjs). Nothing third-party loads until the visitor clicks; then motion.js puts a
   youtube-nocookie.com / player.vimeo.com iframe in its place. Without JS the link opens the video. No motion at all. ---------- */
.m-video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.m-video > a, .m-video > iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; }
.m-video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.m-video__play { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; background: rgb(0 0 0 / .62); transition: background-color var(--dur-state) var(--ease-out); }
.m-video__play::before { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; margin: -.7rem 0 0 -.4rem; border-style: solid; border-width: .7rem 0 .7rem 1.2rem; border-color: transparent transparent transparent #fff; }
.m-video__label { position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem .75rem; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .7)); }
.m-video__note { margin: .5rem 0 0; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) { .m-video__link:hover .m-video__play { background: rgb(0 0 0 / .85); } }

/* ---------- C8. reduced motion for the core: reduce, don't remove. (Replaces the old `* { animation: none !important }`
   kill switch, which also deleted feedback people rely on.) Applies to the OS setting and, through the build's generated
   copy, to the footer toggle (html[data-motion="reduce"]).
   - No travel, scale or rotation: tokens zero out distance/scale/rotation, so every recipe that still runs
     (entrances, @starting-style, success) becomes an opacity crossfade of at most 200 ms.
   - No view transitions, no loops (paused). Reveals, hero, draws and the story are gated in the expression layer. ---------- */
/* ---------- C9. photo frame: a content photo (main img[srcset], main picture img, anything in [data-frame]) sits on --frame
   (default: the brand page ground --paper, 8% toward the text colour, so it holds in both themes), so a photo that is still
   loading reads as an empty pane, never a white hole. Its width/height attributes reserve the box (qa:motion checks them).
   Zero specificity: a site sets --frame (e.g. a darker brand ground) or its own rule. ---------- */
:where(main img[srcset], main picture img, [data-frame] img):not(:where([data-logo-strip] img)) { background-color: var(--frame, color-mix(in oklab, var(--paper, Canvas) 92%, currentColor)); }

@media (prefers-reduced-motion: reduce) {
  :root {
    --dist-enter: 0px; --scale-enter: 1; --rot-enter: 0deg; --press-depth: 0px; --stagger: 0ms;
    --dist-reveal: 0px; --scale-reveal: 1; --stagger-reveal: 0ms; --dur-reveal: 200ms; --ease-reveal: ease-out;
    --dur-feedback: 100ms; --dur-state: 160ms; --dur-enter: 200ms; --dur-exit: 120ms; --dur-signature: 200ms;
    --ease-enter: ease-out; --ease-move: ease-out; --ease-settle: ease-out;
  }
  :is([data-enter], dialog, [popover]) { transition: opacity var(--dur-state) ease-out, display var(--dur-state) allow-discrete, overlay var(--dur-state) allow-discrete; }
  @starting-style {
    :is([data-enter]:not([hidden]), dialog[open], [popover]:popover-open) { opacity: 0; translate: none; scale: none; }
  }
  [data-press]:active { transform: none; translate: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}
/* @motion-core:end */

/* ==========================================================================
   Expression layer. Opt-in per element: nothing here runs unless the markup asks for it (data-reveal, data-hero,
   data-draw, data-story, data-count, data-signature, .m-underline). Budget: motion.json maxMovers.
   ========================================================================== */

/* ---------- keyframes (start states; the end state is the element's own style) ---------- */
@keyframes m-rise { from { opacity: 0; translate: 0 var(--dist-reveal); rotate: var(--rot-enter); } }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-scale { from { opacity: 0; scale: max(var(--scale-reveal), .95); } }
@keyframes m-clip { from { clip-path: inset(0 0 100% 0); translate: 0 calc(var(--dist-reveal) / 2); } }
/* mechanical: three hard steps on an 8px grid */
@keyframes m-step { from { opacity: 0; translate: 0 24px; animation-timing-function: steps(3, end); } }
/* handmade: a small rotation jitter on the way in */
@keyframes m-jitter { from { opacity: 0; translate: 0 var(--dist-reveal); rotate: -2deg; } 60% { opacity: 1; rotate: 1deg; } 82% { rotate: -.4deg; } }
/* organic / playful / tactile: weight, settled by the spring easing (--ease-settle overshoots) */
@keyframes m-settle { from { opacity: 0; scale: max(var(--scale-reveal), .95); } }
@keyframes m-pop { from { opacity: 0; scale: .95; rotate: calc(var(--rot-enter) * -1); translate: 0 var(--dist-reveal); } }
@keyframes m-lift { from { opacity: 0; translate: 0 var(--dist-reveal); scale: max(var(--scale-reveal), .95); } }
/* editorial: set like a line of type, left to right */
@keyframes m-line { from { clip-path: inset(0 100% 0 0); } }
/* calm: long, low-amplitude */
@keyframes m-drift { from { opacity: 0; translate: 0 calc(var(--dist-reveal) / 2); } }
/* cinematic (scrubbed): a curtain rises off the content */
@keyframes m-curtain { from { clip-path: inset(100% 0 0 0); translate: 0 var(--dist-reveal); } }
@keyframes m-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes m-grow-x { from { scale: 0 1; } }
@keyframes m-story-step { 0%, 100% { opacity: .35; } 30%, 70% { opacity: 1; } }
/* hero entrances: the h1 is visible (opacity ≥ .5, never clipped) from the first frame, so LCP never waits */
@keyframes m-hero-words { from { opacity: .55; translate: 0 min(.32em, var(--dist-enter, 24px)); } }
@keyframes m-hero-wipe { from { mask-position: 100% 0; } }
@keyframes m-hero-settle { from { opacity: .6; scale: .96; } }
@keyframes m-hero-step { from { opacity: .5; translate: 0 24px; animation-timing-function: steps(3, end); } }

/* ---------- 1. reveals: [data-reveal="<variant>"], [data-reveal-stagger="<variant>"] (the build resolves a bare one) ----------
   Two modes, chosen by the personality (html[data-reveal-mode]): scrub (cinematic only: progress follows the
   scroll on a view() timeline) and trigger (time-based: motion.js marks .is-in once and the variant plays with
   --dur-reveal / --ease-reveal / --stagger-reveal, the one calm content-entrance set). Browsers without view() always use
   trigger. A reveal that holds photos starts only once they are decoded (motion.js; [data-motion-wait] while it waits, at
   most 1.2 s); one already on screen at load with a photo still loading is shown at once (.is-still), never animated. */
[data-reveal="rise"], [data-reveal-stagger="rise"] { --rv: m-rise; }
[data-reveal="fade"], [data-reveal-stagger="fade"] { --rv: m-fade; }
[data-reveal="clip"], [data-reveal-stagger="clip"] { --rv: m-clip; }
[data-reveal="scale"], [data-reveal-stagger="scale"] { --rv: m-scale; }
[data-reveal="step"], [data-reveal-stagger="step"] { --rv: m-step; }
[data-reveal="jitter"], [data-reveal-stagger="jitter"] { --rv: m-jitter; }
[data-reveal="settle"], [data-reveal-stagger="settle"] { --rv: m-settle; --rve: var(--ease-settle); }
[data-reveal="pop"], [data-reveal-stagger="pop"] { --rv: m-pop; --rve: var(--ease-settle); }
[data-reveal="lift"], [data-reveal-stagger="lift"] { --rv: m-lift; }
[data-reveal="line"], [data-reveal-stagger="line"] { --rv: m-line; }
[data-reveal="drift"], [data-reveal-stagger="drift"] { --rv: m-drift; }
[data-reveal="curtain"], [data-reveal-stagger="curtain"] { --rv: m-curtain; }
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html.js[data-reveal-mode="scrub"]:not(.io-reveal, .io-arm, [data-motion="reduce"]) :is([data-reveal], [data-reveal-stagger] > *) {
      animation: var(--rv, m-rise) var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    /* Items in one row share a scroll position, so a stagger shifts their range instead of a delay. */
    html.js[data-reveal-mode="scrub"]:not(.io-reveal, .io-arm, [data-motion="reduce"]) [data-reveal-stagger] > * { animation-range: entry calc(var(--n, 0) * 8%) entry calc(60% + var(--n, 0) * 8%); }
  }
  /* trigger mode (and the fallback): held at the first frame (paused) until motion.js marks it .is-in.
     motion.js marks what is already on screen BEFORE it adds html.io-reveal, so nothing visible blinks out. */
  html.io-reveal:not([data-motion="reduce"]) :is([data-reveal], [data-reveal-stagger] > *) {
    animation: var(--rv, m-rise) var(--dur-reveal) var(--rve, var(--ease-reveal)) both paused;
    animation-delay: calc(var(--n, 0) * var(--stagger-reveal));
  }
  html.io-reveal:not([data-motion="reduce"]) :is([data-reveal].is-in, [data-reveal-stagger].is-in > *) { animation-play-state: running; }
  html.io-reveal:not([data-motion="reduce"]) :is([data-reveal].is-still, [data-reveal-stagger].is-still > *) { animation: none; }
}
[data-reveal-stagger] > :nth-child(2) { --n: 1; }
[data-reveal-stagger] > :nth-child(3) { --n: 2; }
[data-reveal-stagger] > :nth-child(4) { --n: 3; }
[data-reveal-stagger] > :nth-child(5) { --n: 4; }
[data-reveal-stagger] > :nth-child(n + 6) { --n: 5; }

/* ---------- 2. hero entrance: <h1 data-hero="kinetic-words|mask-wipe|scale-settle|stepped|none"> (the build resolves a bare one) ---------- */
.kin__w, .kin__i { display: inline-block; }
@media screen and (prefers-reduced-motion: no-preference) {
  html.js:not([data-motion="reduce"]) h1[data-hero="kinetic-words"] .kin__i { animation: m-hero-words var(--dur-enter) var(--ease-enter) both; animation-delay: calc(var(--i, 0) * var(--stagger)); }
  /* C: mask-position paints; the part not yet wiped stays at 55% so the h1 reads (and counts for LCP) at once */
  html.js:not([data-motion="reduce"]) h1[data-hero="mask-wipe"] { mask-image: linear-gradient(90deg, #000 45%, rgb(0 0 0 / .55) 55%); mask-size: 250% 100%; mask-position: 0 0; animation: m-hero-wipe calc(var(--dur-enter) * 1.4) var(--ease-out) both; }
  html.js:not([data-motion="reduce"]) h1[data-hero="scale-settle"] { transform-origin: 0 100%; animation: m-hero-settle var(--dur-enter) var(--ease-settle) both; }
  html.js:not([data-motion="reduce"]) h1[data-hero="stepped"] { animation: m-hero-step calc(var(--dur-enter) * 1.2) linear both; }
}

/* ---------- 3. SVG line draw: <svg data-draw="view|load"> with pathLength="1" on every stroke (C: paint) ---------- */
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html.js:not([data-motion="reduce"]) [data-draw="view"] { view-timeline-name: --m-draw; }
    html.js:not([data-motion="reduce"]) [data-draw="view"] [pathLength] {
      stroke-dasharray: 1;
      animation: m-draw linear both;
      animation-timeline: --m-draw;
      animation-range: entry 20% cover 45%;
    }
  }
  html.js:not([data-motion="reduce"]) [data-draw="load"] [pathLength] { stroke-dasharray: 1; animation: m-draw var(--dur-signature) var(--ease-enter) both; }
}

/* ---------- 5. link underline drawn by a scaled pseudo-element: class="m-underline" (S) ---------- */
.m-underline { position: relative; text-decoration: none; }
.m-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: max(1px, .08em);
  background: currentColor; scale: 0 1; transform-origin: 100% 50%;
  transition: scale var(--dur-state) var(--ease-out);
}
.m-underline:focus-visible::after { scale: 1 1; transform-origin: 0 50%; }
@media (hover: hover) and (pointer: fine) {
  .m-underline:hover::after { scale: 1 1; transform-origin: 0 50%; }
}

/* ---------- 8. scroll-told section: [data-story] > [data-story-stage] (sticky) + [data-story-step]s (S) ---------- */
[data-story-stage] { position: sticky; top: var(--story-top, 12vh); }
[data-story-progress] { display: block; height: 3px; background: currentColor; transform-origin: 0 50%; }
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html.js:not([data-motion="reduce"]) [data-story] { view-timeline-name: --m-story; }
    html.js:not([data-motion="reduce"]) [data-story-progress] { animation: m-grow-x linear both; animation-timeline: --m-story; animation-range: contain 0% contain 100%; }
    html.js:not([data-motion="reduce"]) [data-story-step] { animation: m-story-step linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}

/* ---------- 10. number ticker: [data-count] (motion.js builds odometer strips; transform only, S) ---------- */
[data-count] { font-variant-numeric: tabular-nums; white-space: nowrap; }
.odo__c { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: -0.25em; } /* hidden, not clip: the baseline becomes the box edge */
.odo__s { display: block; white-space: pre; line-height: 1.2em; }

/* ---------- 11. signature helpers (the recipes are WAAPI in motion.js; table in templates/motion/README.md) ---------- */
/* stop-motion-frames: [data-frames] is a window, its children the frames. Without JS (and with reduced motion)
   the LAST frame shows, the end state; motion.js steps the strip from the first frame to it. */
[data-frames] { display: flex; flex-direction: row-reverse; justify-content: flex-end; overflow: hidden; }
[data-frames] > * { flex: 0 0 100%; }
/* kinetic-type signature: words rise out of a soft mask */
html.motion-ok [data-signature] .kin__w { clip-path: inset(-.3em -.2em -.2em -.2em); }

/* ---------- 12. ambient ground drift (opt-in: src/data/motion.json "ambient": { "kind": "ground-drift", "from", "to" }) ----------
   layout.mjs puts <div class="m-ambient" aria-hidden="true"> first in <body>; the build sets the page ground to `from` and
   the layer to `to` (personalities.mjs ambientCss). The layer's OPACITY follows the root scroll (S), so the ground drifts
   from one brand ground to the other; sections that should show it keep a transparent background. Without scroll
   timelines, under reduced motion and with the toggle the layer stays at 0: the page keeps its stepped grounds.
   It is the site's one ambient loop (motion.json allows ambient OR loop). */
.m-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; }
@keyframes m-ambient { to { opacity: 1; } }
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    html.js:not([data-motion="reduce"]) .m-ambient { animation: m-ambient linear both; animation-timeline: scroll(root); animation-range: 0% 62%; }
  }
}

/* Keyboard focus inside a reveal shows it at once (WCAG 2.4.7, 2.4.11); motion.js also finishes it. */
/* !important: an accessibility override must beat every hiding rule, including the trigger mode's paused first frame. */
:is([data-reveal], [data-reveal-stagger] > *):focus-within { animation: none !important; transition: none !important; opacity: 1 !important; translate: none !important; transform: none !important; clip-path: none !important; }

/* ---------- site bindings: Record's own components (outside the locked core) ---------- */
.input, .select, .textarea { transition: border-color var(--dur-feedback) var(--ease-out); } /* C: paint, colour only */
@media (prefers-reduced-motion: no-preference) {
  .js .nav.is-open { transition: opacity var(--dur-state) var(--ease-out), translate var(--dur-state) var(--ease-out); }
  @starting-style {
    .js .nav.is-open { opacity: 0; translate: 0 calc(var(--dist-enter) / -2); }
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .btn__arrow, .reviews__more svg { transition: translate var(--dur-feedback) var(--ease-out); }
  html:not([data-motion="reduce"]) :is(.btn:hover .btn__arrow, .reviews__more:hover svg) { translate: 3px 0; }
}
/* the bindings' reduced motion (the core's is in the core section) */
@media (prefers-reduced-motion: reduce) {
  .js .nav.is-open { transition: opacity var(--dur-state) ease-out; }
  @starting-style { .js .nav.is-open { opacity: 0; translate: none; scale: none; } }
  .btn:active { transform: none; translate: none; }
}

/* the reduce block again, for html[data-motion="reduce"] (generated) */
:root[data-motion="reduce"] {
    --dist-enter: 0px; --scale-enter: 1; --rot-enter: 0deg; --press-depth: 0px; --stagger: 0ms;
    --dist-reveal: 0px; --scale-reveal: 1; --stagger-reveal: 0ms; --dur-reveal: 200ms; --ease-reveal: ease-out;
    --dur-feedback: 100ms; --dur-state: 160ms; --dur-enter: 200ms; --dur-exit: 120ms; --dur-signature: 200ms;
    --ease-enter: ease-out; --ease-move: ease-out; --ease-settle: ease-out;
  }
html[data-motion="reduce"] :is([data-enter], dialog, [popover]) { transition: opacity var(--dur-state) ease-out, display var(--dur-state) allow-discrete, overlay var(--dur-state) allow-discrete; }
@starting-style {html[data-motion="reduce"] :is([data-enter]:not([hidden]), dialog[open], [popover]:popover-open) { opacity: 0; translate: none; scale: none; }
}
html[data-motion="reduce"] [data-press]:active { transform: none; translate: none; }
html[data-motion="reduce"]::view-transition-group(*), html[data-motion="reduce"]::view-transition-old(*), html[data-motion="reduce"]::view-transition-new(*) { animation: none; }
html[data-motion="reduce"].js .nav.is-open { transition: opacity var(--dur-state) ease-out; }
@starting-style {html[data-motion="reduce"].js .nav.is-open { opacity: 0; translate: none; scale: none; }
}
html[data-motion="reduce"] .btn:active { transform: none; translate: none; }
