/* tokens.css -- the ONLY place a colour, size, radius or space is defined. Prepended to site.css by build.mjs.
   Direction "Gallery" (Rick, 2026-11-06: "the first page you come onto being red is, for me, too much ... a much lighter page. Every good page has that and then only details have a specific color";
   and "Now you have the orange, the yellow. It doesn't look good at all."): a white page, near-black ink, ONE deep accent (oxblood) for the button, links and the selected state. No amber, gold, orange or yellow.
   Bricolage Grotesque 800 + Figtree stay. Legacy names (--accent, --paper, --g2 ...) stay as aliases so the component CSS reads the new palette. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/bricolage-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/figtree-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/figtree-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/figtree-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #FFFFFF; --ink: #1E1A1B; --muted: #5F5759; --brand: #6B1A2B; --brand-ink: #FFFFFF; --brand-press: #4E1220;
  --line: #E6E0DE; --field: #FBF8F3; --tint1: #F8F5F2; --tint2: #F6ECEE; --focus: #6B1A2B; --on-dark: #E9E4E2; --on-dark-dim: #A39A9C; --mat: #FFFFFF;
  /* the drawn gift ribbon and bows of the gift season (2026-11-23): a ribbon red that reads on a dark painting and on a photo, with a shaded edge. Picture content
     (a present), never a ground, a button or a text colour: the ONE accent of the interface stays --brand. */
  --ribbon: #A3243B; --ribbon-shade: #8A1C30; --shadow-ribbon: 0 1px 3px rgba(30,26,27,.32);
  /* legacy names, now Gallery values */
  --paper: #F8F5F2; --g2: #5F5759; --accent: #6B1A2B; --accent-press: #4E1220; --on-accent: #FFFFFF; --tint: #F6ECEE;
  --ok: #14683A; --ok-bg: #E4F1E7; --err: #9B1C1C; --err-bg: #FDE8E8;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, sans-serif;
  --fs-hero: 76px; --lh-hero: 72px; --fs-title: 48px; --lh-title: 52px; --fs-heading: 32px; --lh-heading: 36px;
  --fs-lead: 20px; --lh-lead: 32px; --fs-body: 18px; --lh-body: 28px; --fs-small: 16px; --lh-small: 24px; --fs-micro: 14px; --lh-micro: 20px; --fs-btn: 20px; --btn-h: 56px;
  --r-btn: 8px; --r-chip: 8px; --r-dot: 50%;   /* restraint (2026-11-06): 8 px on everything interactive, 4 to 8 px on surfaces, circles only for dots and round icon buttons */
  /* Scroll 2026-11-07 (Rick: "look at Spelfix, the way you scroll down looks way cooler"): two large radii, ONLY for the page's own surfaces, never a control or a card:
     --r-float the floating header (half its 60 px height), --r-sheet / --r-sheet-l the rounded top of a section that slides over the one before (Spelfix 40 to 96 px) */
  --r-float: 30px; --r-sheet: 40px 40px 0 0; --r-sheet-l: 80px 80px 0 0;
  --t-fast: 140ms; --t-mid: 240ms; --t-slow: 420ms; --ease-out: cubic-bezier(.2,0,0,1);   /* Spelfix timings: press, slide, reveal */
  --r-art: 4px; --r-hero: 8px 8px 0 0; --r-hero-l: 8px 8px 0 0; --r-s: 4px; --r-m: 8px; --r-l: 8px;
  --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: 112px;
  --shadow-m: 0 6px 16px -6px rgba(30,26,27,.18);
  --shadow-l: 0 24px 44px -26px rgba(30,26,27,.40);
  --shadow-frame: 0 18px 36px -20px rgba(30,26,27,.42);   /* a print on a wall: one soft layer, no black edge */
  --shadow-art: 0 10px 24px -12px rgba(30,26,27,.30);
  /* a print hung on a real wall (the room mockups): light from the upper left, so the depth edge and the shadows fall down and right. Contact + cast are two tokens because the gate allows ONE soft layer per token. */
  --wall-edge: #8F8473;   /* the stretched side of the canvas, on its shaded side */
  --shadow-wall-edge: 3px 2px 0 var(--wall-edge);
  --shadow-wall-contact: 1px 2px 3px rgba(45,32,20,.40);
  --shadow-wall-cast: 7px 11px 18px -4px rgba(45,32,20,.30);
  --shadow-wall-cast-deep: 10px 16px 26px -4px rgba(45,32,20,.38);
  /* the size screen's products (site.css .prod): shadow colours; offsets and blur come from the room's light and the object's distance off the wall */
  --wall-sh-contact: rgba(45,32,20,.34); --wall-sh-frame: rgba(45,32,20,.30); --wall-sh-canvas: rgba(45,32,20,.40); --wall-sh-paper: rgba(45,32,20,.16);
  /* the classic frame's profile, as translucent light and shade over the moulding colour, so it works for zwart, wit and naturel alike */
  --frame-lit: rgba(255,255,255,.16); --frame-shade: rgba(0,0,0,.14); --frame-shade-deep: rgba(0,0,0,.24); --frame-edge: rgba(0,0,0,.28); --frame-lip: rgba(0,0,0,.38);
  --shadow-wall-shade: inset -14px -18px 34px -16px rgba(45,32,20,.30), inset 0 0 0 1px rgba(255,255,255,.10);
  --btn-bg: var(--brand); --btn-fg: var(--brand-ink);   /* the ONE primary button: oxblood with white text on every (light) surface */
  --fs-step: clamp(36px, 11vw, 46px);
  --scrim: rgba(255,255,255,.94);
  --shadow-bar: none;   /* pinned bars are light with a hairline top border, no shadow */
  --veil: rgba(30,26,27,.78);
  --lightbox: rgba(255,255,255,.97);
  --safe-b: env(safe-area-inset-bottom, 0px);
  /* the container (spacing system 2026-11-08, Rick: "spacing is already so bad"; Wispr Flow measured: 1240 content, 40 px gutters, 20 on a phone). ONE box for every page:
     --maxw = 1240 content + 2 gutters, centred, so a wide screen gets equal margins. --edge = the left/right inset of that box at any width. */
  --gutter: 40px; --content: 1240px; --maxw: calc(var(--content) + 2 * var(--gutter)); --edge: max(var(--gutter), calc((100% - var(--content)) / 2));
  /* rhythm: ONE vertical padding for every section box, ONE gap between the two columns, ONE gap between a heading and what it introduces (DESIGN.md "Rhythm") */
  --sec-y: 96px; --col-gap: 64px; --head-gap: 40px; --item-gap: 24px; --media-col: 1.4fr; --text-col: 1fr; --ease: cubic-bezier(.19,1,.22,1);
  /* the floating header: its height, and the room it takes at the top of a page (12 px above, 12 px below) */
  --hdr: 64px; --hdr-space: calc(var(--hdr) + 2 * var(--s-3));
  /* the season band at the top of a selling page (2026-11-17): two lines beside the edition portrait (two centred lines on a phone); the hero headline from 1200 px (DESIGN.md Type: 64 at 1440) */
  --band-h: 72px; --fs-herowide: 64px; --lh-herowide: 64px;
}
@media (max-width: 1023px) { :root { --gutter: 32px; } }
@media (max-width: 767px) {
  :root { --fs-hero: 42px; --lh-hero: 40px; --fs-title: 32px; --lh-title: 36px; --fs-heading: 28px; --lh-heading: 32px; --fs-lead: 18px; --lh-lead: 28px; --gutter: 20px;
    --sec-y: 64px; --col-gap: 32px; --head-gap: 24px; --item-gap: 20px; --hdr: 52px; --band-h: 56px; }
}

/* site.css -- layout and components. Every colour, size, radius and space comes from tokens.css (prepended at build). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
html, body { overflow-x: clip; }   /* a stray wide element never scrolls the page sideways; clip (not hidden) makes no scroll container, so position: sticky keeps working */
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/var(--lh-body) var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul, ol, fieldset, blockquote, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: -.02em; }
h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: -.01em; }
a { color: var(--accent); text-underline-offset: 3px; }
.link:first-child { padding-left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* a file input laid transparently over its own button: a real tap target as big as the button (not a 1 px sr-only box), and the picker opens even if the for= link were wrong */
label:has(> .cover) { position: relative; overflow: hidden; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
label:has(> .cover:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn[aria-busy="true"] .cover { pointer-events: none; }
.skip { position: absolute; left: var(--s-4); top: -80px; background: var(--ink); color: var(--bg); padding: var(--s-3) var(--s-4); border-radius: var(--r-chip); z-index: 30; }
.skip:focus { top: var(--s-3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-s); }
[tabindex="-1"]:focus-visible { outline: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--g2); max-width: 36rem; margin-top: var(--s-4); }
[hidden] { display: none !important; }

/* header and footer */
.site-header { display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; padding: var(--s-4) var(--gutter); }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-heading); line-height: var(--lh-heading); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.site-footer { border-top: 1px solid var(--line); margin-top: 0; padding: var(--s-7) 0; }
.foot { display: grid; gap: var(--s-2); }
.foot-brand { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink); }
.foot-links a { color: var(--g2); margin-right: var(--s-4); }

/* buttons: one filled primary per screen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 52px; padding: 0 var(--s-6); border-radius: var(--r-btn); border: 0; font: 600 var(--fs-body)/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-primary:disabled, .btn-primary[aria-disabled="true"] { background: var(--line); color: var(--g2); cursor: default; transform: none; box-shadow: none; }
.btn-outline { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.link { background: none; border: 0; padding: var(--s-2) var(--s-3); font: 400 var(--fs-body)/var(--lh-body) var(--font); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* upload block (landing hero and repeats) */
.upload { margin-top: var(--s-6); display: grid; justify-items: start; gap: var(--s-3); }
.upload:has(.btn[aria-busy="true"]) .upload-micro { visibility: hidden; }
.btn[aria-busy="true"] { background: var(--paper); color: var(--ink); pointer-events: none; }
.btn[aria-busy="true"] span::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: var(--s-2); border-radius: var(--r-dot); background: var(--accent); animation: dot 1s var(--ease) infinite; }
@keyframes dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.upload-error { background: var(--paper); border-radius: var(--r-m); padding: var(--s-4) var(--s-5); display: grid; gap: var(--s-3); max-width: 34rem; }
.upload-error p { font-weight: 600; }
.upload-error-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.upload-error-actions .btn { min-height: 44px; padding: 0 var(--s-5); }
.chapter-cta .upload { justify-items: start; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr; gap: var(--col-gap); max-width: var(--maxw); margin: 0 auto; padding: var(--sec-y) var(--gutter); align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: -.03em; }
.hero-trust { margin-top: var(--s-5); }
.hero-visual { min-width: 0; }
.wipe { position: relative; display: block; overflow: hidden; border-radius: var(--r-l); background: var(--paper); aspect-ratio: 4 / 5; width: 100%; margin: 0 auto; box-shadow: var(--shadow-l); --p: 50%; animation: settle .9s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.wipe .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); }
.wipe-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--bg); pointer-events: none; }
.wipe-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: var(--r-dot); background: var(--bg); box-shadow: var(--shadow-m); }
.wipe-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
@media (pointer: coarse) { .wipe { touch-action: pan-y; } .wipe-range { pointer-events: none; } }   /* a touch screen: the range takes no touches (it jumped the line to the finger on touch-down, and a swipe that starts on its thumb drags it); landing.js moves the line on a sideways drag only, so a vertical swipe on the picture just scrolls */
.wipe:has(.wipe-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.wipe.still .wipe-line { display: none; }

/* chapters: one claim, bold-lead bullets, one 3:4 visual, alternating sides */
.chapter { padding: var(--sec-y) 0; }
.band { background: var(--paper); }
.chapter-grid { display: grid; grid-template-columns: 1fr; gap: var(--col-gap); align-items: center; }
.chapter h2 { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: -.02em; }
.lead-list { list-style: none; display: grid; margin-top: var(--head-gap); border-bottom: 1px solid var(--line); }
.lead-list li { padding: var(--s-4) 0 var(--s-4) var(--s-6); position: relative; color: var(--g2); border-top: 1px solid var(--line); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.lead-list li::before { content: ""; position: absolute; left: 0; top: calc(var(--s-4) + .5em); width: 10px; height: 10px; border-radius: var(--r-dot); background: var(--accent); }
.lead-list strong { color: var(--ink); font-weight: 600; }
.chapter-visual { min-width: 0; width: 100%; }


/* close-up: photo against artwork on the same patch of the face */
.closeup { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.closeup figure { display: grid; gap: var(--s-3); }
.closeup figcaption { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.zoom { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--r-l); background: var(--paper); }
.zoom img { width: 100%; height: 100%; object-fit: cover; }   /* the pair is cropped from the originals (tools/prep-art.py boxes): no CSS zoom into a shipped file */
.tag { position: absolute; top: var(--s-3); left: var(--s-3); background: var(--bg); color: var(--ink); border-radius: var(--r-chip); font-size: var(--fs-small); line-height: var(--lh-small); padding: var(--s-1) var(--s-3); box-shadow: var(--shadow-m); }

/* the room: the artwork sized by its real width on the wall */
.room { container-type: inline-size; position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--paper); width: 100%; }
.room-bg { width: 100%; height: auto; }
.art { position: absolute; left: calc(var(--cx) * 100%); top: calc(var(--cy) * 100%); width: calc(var(--cm) * var(--ppcm) * 100cqw); aspect-ratio: var(--ar, .75); transform: translate(-50%, -50%); transition: transform .5s var(--ease), border-width .3s var(--ease); background: var(--paper); border: 0 solid var(--bg); }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(.93) saturate(.9) brightness(.97) sepia(.07); }   /* the print takes the room light: less contrast and a touch of the wall warmth, so it is not a pasted-on screen */
/* a print on a real wall (tokens.css --shadow-wall-*): a tight contact shadow plus a long soft one, falling down and right; the canvas also shows its stretched side edge (3 px). */
.room .art { --ar: .75; box-shadow: var(--shadow-wall-contact), var(--shadow-wall-cast); }
.room .art.canvas { box-shadow: var(--shadow-wall-edge), var(--shadow-wall-contact), var(--shadow-wall-cast); }
.art.framed { border-width: calc(var(--cm) * var(--ppcm) * 100cqw * .06); }
/* light over the print: the lower right sits in the shade of the wall light */
.room .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: var(--shadow-wall-shade); }

/* price ladder */
.price-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: start; }
.price-grid > .lead, .price-grid > .chapter-cta { margin: 0; }
.ladder { width: 100%; border-collapse: collapse; }
.ladder th, .ladder td { text-align: left; padding: var(--s-5) var(--s-3) var(--s-5) 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 600; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.ladder tr:first-child th, .ladder tr:first-child td { border-top: 1px solid var(--line); }
.ladder th { font-weight: 400; color: var(--g2); width: 30%; font-size: var(--fs-body); line-height: var(--lh-body); }
.ladder .sz { display: block; font-weight: 400; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.chapter-cta { margin-top: var(--head-gap); }

/* guarantee, faq, final */
.guar { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--item-gap); margin-top: var(--head-gap); }
.guar li { display: grid; gap: var(--s-2); align-content: start; border-top: 1px solid var(--line); padding-top: var(--s-5); }
.guar strong { font-weight: 600; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.guar span { color: var(--g2); }
.calm { margin-top: var(--s-4); }
.faq-wrap { display: grid; gap: var(--head-gap); }
.faq { display: grid; grid-template-columns: 1fr; column-gap: var(--col-gap); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--s-4) 0; font-weight: 600; font-size: var(--fs-lead); line-height: var(--lh-lead); list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); min-height: 64px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--fs-heading); line-height: 1; color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--g2); padding-bottom: var(--s-5); max-width: 44rem; }
.final .duo, .duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.duo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; border-radius: var(--r-l); }
.final .upload { margin-top: var(--head-gap); }

/* text pages */
.prose { max-width: 42rem; margin: 0 auto; padding: var(--s-6) var(--gutter) 0; }
.prose h2 { margin-top: var(--s-7); }
.prose p { margin-top: var(--s-3); color: var(--g2); }
.prose .small { margin-top: var(--s-7); }
.prose ul { margin-top: var(--s-3); padding-left: var(--s-5); color: var(--g2); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose li { margin-top: var(--s-2); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .company { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.prose .company div { display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr; gap: var(--s-3); }
.prose .company dt { color: var(--g2); }
.prose .company dd { color: var(--ink); overflow-wrap: anywhere; }
.prose .answer { margin-top: var(--s-5); max-width: none; padding-left: var(--s-5); border-left: 4px solid var(--accent); color: var(--ink); }
.prose .updated { margin-top: var(--s-3); }
.prose ol { margin-top: var(--s-3); padding-left: var(--s-5); color: var(--g2); }
.prose h3 { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 600; margin-top: var(--s-5); }
.prose .qa p { margin-top: var(--s-2); }
.prose .ladder { margin-top: var(--s-4); }
.prose .ladder .sz { font-size: var(--fs-body); line-height: var(--lh-body); }
.prose .sources { list-style: none; padding-left: 0; }
.prose .related { list-style: none; padding-left: 0; }
.prose .related li { margin-top: var(--s-3); }
.prose .answers-list span { display: block; color: var(--g2); }
.prose .cta { margin-top: var(--s-5); }
.prose a.btn { color: var(--bg); text-decoration: none; }
.prose .cta p { margin-top: var(--s-3); }
.prose .notice-box { margin-top: var(--s-4); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); }

/* ---------- studio ---------- */
.studio { max-width: var(--maxw); margin: 0 auto; padding: var(--s-3) var(--gutter) 0; }
.page-studio .site-footer { margin-top: var(--sec-y); }
.progress { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-4); min-height: 44px; }
.back { background: none; border: 0; font: 400 var(--fs-small)/var(--lh-small) var(--font); color: var(--g2); cursor: pointer; padding: var(--s-2) var(--s-3) var(--s-2) 0; min-height: 44px; }
.back::before { content: "\2190"; margin-right: var(--s-2); }
.screen { animation: enter .32s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.screen > h1 { max-width: 20ch; }
.screen > .lead { margin-top: var(--s-3); }
.pet-row { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.thumb { width: 88px; height: 112px; object-fit: cover; border-radius: var(--r-m); background: var(--paper); flex: none; }
.field { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.field label, .legend { font-weight: 600; font-size: var(--fs-body); line-height: var(--lh-body); }
.field .hint { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.field .err { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); font-weight: 600; }
.input { width: 100%; min-height: 56px; border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 var(--s-4); font: 400 var(--fs-body)/1 var(--font); color: var(--ink); background: var(--bg); transition: box-shadow .16s var(--ease), border-color .16s var(--ease); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.input[aria-invalid="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
textarea.input { padding: var(--s-3) var(--s-4); min-height: 96px; line-height: var(--lh-body); resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.row3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-3); }
.note { margin-top: var(--s-5); background: var(--paper); border-radius: var(--r-m); padding: var(--s-3) var(--s-4); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.check { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-4); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); flex: none; }
.check span { line-height: var(--lh-body); }

/* wait screen */
.wait-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); margin-top: var(--s-6); }
.slot { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.slot img { width: 100%; height: 100%; object-fit: cover; animation: reveal .6s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.slot.empty { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.slot-name { position: absolute; left: var(--s-3); bottom: var(--s-3); background: var(--scrim); border-radius: var(--r-chip); padding: var(--s-1) var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); }
.wait-note { margin-top: var(--s-4); font-weight: 600; }
.mail-card { margin-top: var(--s-5); background: var(--paper); border-radius: var(--r-l); padding: var(--s-5); display: grid; gap: var(--s-3); max-width: 34rem; }
.mail-card .row2 { grid-template-columns: 1fr auto; align-items: end; }

/* pick (kies) */
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-3); margin-top: var(--s-6); list-style: none; }
.pick { display: grid; gap: var(--s-2); align-content: start; }
.pick-art { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper); border-radius: var(--r-l); overflow: hidden; aspect-ratio: 3 / 4; cursor: pointer; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pick-art img { width: 100%; height: 100%; object-fit: cover; }
.pick-art:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.pick[aria-selected="true"] .pick-art { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--accent); }
.pick-zoom { position: absolute; right: var(--s-2); top: var(--s-2); width: 44px; height: 44px; border-radius: var(--r-dot); border: 0; background: var(--scrim); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-m); }
.pick-zoom svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.pick-meta { display: flex; justify-content: space-between; gap: var(--s-2); align-items: baseline; flex-wrap: wrap; padding: 0 var(--s-1); }
.pick-name { font-weight: 600; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.pick-claim { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); width: 100%; }
.pick .link { padding: 0; min-height: 32px; font-size: var(--fs-small); }
.pick-fail { display: grid; place-items: center; gap: var(--s-3); text-align: center; padding: var(--s-4); height: 100%; font-weight: 600; }
.allfail-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.pick-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); }
/* "Iets aanpassen?" under the pictures (feat/tweak-box, arm B only): one calm panel for the selected painting */
.tweak { margin-top: var(--s-6); padding: var(--s-5); background: var(--paper); border-radius: var(--r-l); display: grid; gap: var(--s-4); max-width: 46rem; min-width: 0; }
.tweak h2 { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 600; margin: 0; }
.tweak-lead { margin: calc(-1 * var(--s-3)) 0 0; color: var(--g2); }
.tweak-row { display: grid; gap: var(--s-2); }
.tweak-k { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; }
.tweak-sws, .tweak-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tweak-sw, .tweak-chip { min-height: 44px; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-chip); background: var(--bg); color: var(--ink); font: 400 var(--fs-small)/1 var(--font); display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer; transition: border-color var(--t-fast) var(--ease-out); }
.tweak-sw span { width: 18px; height: 18px; border-radius: var(--r-dot); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
@media (hover: hover) { .tweak-sw:hover:not(:disabled), .tweak-chip:hover:not(:disabled), .tweak-v:hover:not(:disabled) { border-color: var(--ink); } }
.tweak button:disabled, .tweak input:disabled { opacity: .5; cursor: default; }
.tweak-ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); }
.tweak-ask .input { font-size: var(--fs-small); min-height: 48px; }
.tweak-ask .btn { min-height: 48px; }
.tweak-versions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tweak-v { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-1) var(--s-3) var(--s-1) var(--s-1); border: 1px solid var(--line); border-radius: var(--r-chip); background: var(--bg); color: var(--ink); text-align: left; font: 400 var(--fs-small)/1.25 var(--font); cursor: pointer; max-width: 100%; }
.tweak-v:disabled { opacity: 1; }
.tweak-v img, .tweak-thumb { display: block; width: 36px; height: 48px; object-fit: cover; border-radius: var(--r-s); background: var(--line); flex: none; }
.tweak-thumb.empty { animation: pulse 1.6s ease-in-out infinite; }
.tweak-v > span { display: grid; gap: 2px; min-width: 0; }
.tweak-v b { font-weight: 600; }
.tweak-v .small { color: var(--g2); font-size: var(--fs-micro); line-height: var(--lh-micro); }
.tweak-v[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tweak-note { margin: 0; color: var(--g2); }
@media (max-width: 767px) { .tweak { padding: var(--s-4); } .tweak-ask { grid-template-columns: 1fr; } .tweak-ask .btn { width: 100%; } }
/* /studio/ start: the button, one example pair, the three steps in short form */
.start-ex { margin: var(--s-6) 0 0; }
.start-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.start-pair img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-art); }
.start-ex figcaption { margin-top: var(--s-2); color: var(--muted); }
@media (max-width: 767px) { .screen[data-screen="start"] .pick-tools .btn { width: 100%; } }
.lightbox { position: fixed; inset: 0; z-index: 40; background: var(--lightbox); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox[hidden] { display: none; }
.lightbox-top { display: flex; justify-content: flex-end; padding: var(--s-4); }
.lightbox-bottom { background: var(--bg); border-top: 1px solid var(--line); display: flex; justify-content: center; padding: var(--s-3) var(--s-4) calc(var(--s-4) + var(--safe-b)); }
.lightbox-bottom .btn { min-width: min(100%, 20rem); }
.lightbox-scroll { overflow: auto; touch-action: pan-x pan-y pinch-zoom; display: grid; place-items: start center; padding: 0 var(--s-4) var(--s-5); }
.lightbox-scroll img { width: min(100%, calc((100svh - 190px) * .75)); height: auto; border-radius: var(--r-m); cursor: zoom-in; }
.lightbox-scroll img.big { width: min(220%, 2000px); max-width: none; cursor: zoom-out; }

/* option cards (product, size, gift) */
.layout2 { display: grid; grid-template-columns: 1fr; gap: var(--s-5); margin-top: var(--s-5); }
.opts { list-style: none; display: grid; gap: var(--s-3); }
.opt { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-4); align-items: baseline; padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); font: inherit; color: var(--ink); cursor: pointer; transition: box-shadow .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); min-height: 72px; }
.opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.opt[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.opt b { font-weight: 600; }
.opt .opt-price { font-weight: 600; white-space: nowrap; }
.opt .opt-line { grid-column: 1 / -1; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.frames { display: flex; gap: var(--s-3); margin-top: var(--s-4); flex-wrap: wrap; }
.frame-chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4) 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-chip); background: var(--bg); font: inherit; cursor: pointer; }
.frame-chip i { width: 20px; height: 20px; border-radius: var(--r-dot); border: 1px solid var(--line); }
.frame-chip[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.hint-line { color: var(--g2); font-size: var(--fs-small); line-height: var(--lh-small); margin-top: var(--s-3); }

/* review */
.rev-thumb { display: grid; place-items: center; margin-top: var(--s-5); }
.rev-thumb .room { max-width: 460px; }
.rows { margin-top: var(--s-5); border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows dt { color: var(--g2); }
.rows dd { font-weight: 600; text-align: right; }
.rows dd a, .rows dd button { font-weight: 400; margin-left: var(--s-3); }
.rows .total dd { font-size: var(--fs-lead); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-5); }
.pair .opt { grid-template-columns: 1fr; min-height: 56px; text-align: center; font-weight: 600; }
.gift-box { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.tpl { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tpl button { border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-chip); padding: var(--s-2) var(--s-4); font: inherit; font-size: var(--fs-small); cursor: pointer; text-align: left; min-height: 44px; }
.delivery { margin-top: var(--s-5); font-weight: 600; }
.notice { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); background: var(--paper); border-radius: var(--r-m); }
.ctry { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-2); }
.ctry .opt { grid-template-columns: 1fr; min-height: 56px; text-align: center; font-weight: 600; }

/* pay */
.bankgrid { display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.bankgrid .opt { min-height: 56px; grid-template-columns: 1fr; font-weight: 600; }
.pay-methods { margin-top: var(--s-5); }
.test-banner { margin-top: var(--s-4); background: var(--paper); border-radius: var(--r-m); padding: var(--s-3) var(--s-4); font-weight: 600; }

/* done */
.done-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--head-gap); }
.timeline { list-style: none; display: grid; gap: var(--s-4); margin-top: var(--s-4); }
.timeline li { padding-left: var(--s-6); position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: var(--r-dot); border: 2px solid var(--accent); background: var(--bg); }
.timeline li:first-child::before { background: var(--accent); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 1.5em; bottom: -1.2em; width: 2px; background: var(--line); }
.done-art { justify-self: center; width: min(100%, 520px); }
.done-art .art-frame { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 3 / 4; }
.done-art img { width: 100%; height: 100%; object-fit: cover; }
.done-actions { display: grid; gap: var(--s-3); justify-items: start; margin-top: var(--s-5); }

/* sticky action bar */
.actionbar { position: sticky; bottom: 0; z-index: 6; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin: var(--s-6) calc(var(--gutter) * -1) 0; padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: var(--shadow-bar); }
.actionbar .btn { flex: 1; max-width: 26rem; margin-left: auto; }
.actionbar .sum { font-weight: 600; display: grid; line-height: var(--lh-small); }
.actionbar .sum small { font-weight: 400; font-size: var(--fs-small); color: var(--g2); }

@media (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 660px); column-gap: var(--s-7); }   /* 660 = the media column at 1440; a fixed track keeps the 1,5x sharpness arithmetic true at any width above it */
  .frame { width: min(100%, calc(100svh - 76px - 2 * var(--sec-y))); }
  .chapter-grid { grid-template-columns: var(--text-col) var(--media-col); }
  .chapter-grid.flip { grid-template-columns: var(--media-col) var(--text-col); }
  .chapter-grid.flip .chapter-visual { order: -1; }
  .price-grid { grid-template-columns: var(--text-col) var(--media-col); grid-template-areas: "h t" "l t" "c t"; column-gap: var(--col-gap); align-content: center; }
  .price-grid > h2 { grid-area: h; } .price-grid > .lead { grid-area: l; } .price-grid > .ladder { grid-area: t; align-self: center; } .price-grid > .chapter-cta { grid-area: c; }
  .faq { grid-template-columns: 1fr 1fr; }
  .faq details:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .guar { grid-template-columns: repeat(4, 1fr); gap: var(--col-gap) var(--s-6); }
  .guar { grid-template-columns: repeat(4, 1fr); }
  .wait-grid { grid-template-columns: repeat(4, 1fr); }
  .wait-grid.three { grid-template-columns: repeat(3, 1fr); }
  .wait-layout { display: grid; grid-template-columns: 1fr; }
  .pick-grid { gap: var(--s-6) var(--s-5); max-width: 760px; }
  .layout2 { grid-template-columns: 1.15fr .85fr; gap: var(--s-7); align-items: start; }
  .done-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--col-gap); align-items: start; }
  .done-art { order: 2; }
  .studio { padding-top: var(--s-5); }
  .screen > h1 { font-size: var(--fs-title); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* two pets: tap the animal */
.tap-photo { position: relative; margin-top: var(--s-5); width: min(100%, 420px); border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.tap-photo img { width: 100%; height: auto; }
.animal-box { position: absolute; border: 3px solid var(--bg); border-radius: var(--r-m); background: transparent; box-shadow: var(--shadow-m); cursor: pointer; transition: border-color .16s var(--ease); }
.animal-box:hover, .animal-box:focus-visible { border-color: var(--accent); }

/* single-column screens read best in a narrow measure */
.screen.narrow { max-width: 36rem; }
.screen.narrow .actionbar { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.upload-micro { margin-top: calc(var(--s-1) * -1); }
.hero-trust { margin-top: var(--s-2); }
.wait-photo { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); color: var(--g2); font-size: var(--fs-small); line-height: var(--lh-small); }
.wait-photo img { width: 56px; height: 72px; object-fit: cover; border-radius: var(--r-s); }
@media (min-width: 768px) {
  .screen.narrow .actionbar { margin-left: 0; margin-right: 0; }
  .pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: var(--s-5); }
  .pick-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; }
}
.lead-list strong::after { content: ":"; }

/* ---- customer-craft flow fixes ---- */
.mode-ribbon { position: fixed; top: 0; right: 0; z-index: 50; padding: 0 var(--s-3); background: var(--ink); color: var(--bg); font-size: var(--fs-small); line-height: var(--lh-small); border-bottom-left-radius: var(--r-s); opacity: .8; pointer-events: none; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.check { min-height: 44px; padding: var(--s-2) 0; }
.check input, .wipe-range { font-size: var(--fs-body); }
.pick .link { min-height: 44px; padding: var(--s-2) 0; }
.ai-note { margin-top: var(--s-3); }
.wipe-cap { position: absolute; left: 50%; bottom: var(--s-3); transform: translateX(-50%); z-index: 3; width: max-content; max-width: calc(100% - var(--s-5)); padding: var(--s-1) var(--s-4); border-radius: var(--r-chip); background: var(--scrim); color: var(--ink); font-size: var(--fs-small); line-height: var(--lh-small); text-align: center; pointer-events: none; }
.cta-note { flex: 1 1 100%; margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.cta-note:empty { display: none; }
.actionbar { flex-wrap: wrap; }
.pay-sum { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-5); padding: var(--s-3); background: var(--paper); border-radius: var(--r-m); }
.pay-thumb { width: 64px; height: 85px; object-fit: cover; border-radius: var(--r-s); flex: none; }
.pay-sum b { display: block; }
.pay-sum span { display: block; color: var(--g2); font-size: var(--fs-small); line-height: var(--lh-small); }
.pay-sum .pay-total { color: var(--ink); font-weight: 600; font-size: var(--fs-body); line-height: var(--lh-body); }
.trust { list-style: none; display: grid; gap: var(--s-2); margin-top: var(--s-5); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-m); }
.trust li { display: flex; gap: var(--s-3); align-items: center; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-dot); background: var(--ink); flex: none; }
.trust li:empty { display: none; }
/* phone: the primary sits at the bottom of the screen (thumb zone) even when the screen is short */
@media (max-width: 767px) {
  .screen:has(> .actionbar) { display: flex; flex-direction: column; min-height: calc(100svh - 170px); }
  .screen > .actionbar { margin-top: auto; }
  .screen:has(> .actionbar) > :nth-last-child(2) { margin-bottom: var(--s-6); }
  .review .rev-side { order: -1; }
  .rev-thumb .room { max-width: 230px; }
  .review .trust { margin-top: var(--s-3); }
}
html { scroll-padding-bottom: 110px; }
html:has([data-screen="formaat"]) { scroll-padding-bottom: 184px; }   /* the bar is 89 to 133 px on a phone there (the summary beside the button is two to five short lines): a focused or tapped option stops above it, never under it */
html:has([data-screen="kies"]) { scroll-padding-bottom: 184px; }   /* round 7 put the price line under "Deze wil ik": the pick bar grew from 89 to 153 px on a phone (177 if the line wraps to three), so a tapped or focused card or link stops above it, never under it */
.review .rev-main > .rows { margin-top: 0; }
@media (min-width: 768px) { .review .rev-side { position: sticky; top: var(--s-4); } }
picture { display: contents; }
@media (min-width: 768px) {
  .review .rows > div { padding: var(--s-2) 0; }
  .review .notice { margin-top: var(--s-4); padding: var(--s-3) var(--s-5); }
  .review .pair { margin-top: var(--s-4); }
  .review .check { margin-top: var(--s-3); }
  .review.layout2 { margin-top: var(--s-4); }
}
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.progress[hidden] { display: flex !important; visibility: hidden; }   /* keep its 44 px: showing it later would push the whole screen down (CLS 0,53 on the choose screen) */
main[data-step="klaar"] > .progress[hidden] { display: none !important; }   /* the order status screen never shows the step row: no reserved band above its heading (production 2026-11-10: ~117 px blank at 390) */

/* ---- merged screens (round 2): name on the wait screen, product + size together, summary above the address ---- */
.name-card { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); background: var(--paper); border-radius: var(--r-l); max-width: 34rem; }
.name-card .check { margin-top: var(--s-2); }
.name-card .input { background: var(--bg); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.seg-btn { min-height: 48px; padding: 0 var(--s-2); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); font: 600 var(--fs-small)/var(--lh-small) var(--font); color: var(--ink); cursor: pointer; transition: box-shadow .18s var(--ease), border-color .18s var(--ease); }
.seg-btn:hover { border-color: var(--ink); }
.seg-btn[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
#panel .hint-line { margin-top: var(--s-3); }
#panel .opts { margin-top: var(--s-3); }
.extras { margin-top: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 var(--s-4); }
.extras summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-weight: 600; }
.extras[open] { padding-bottom: var(--s-4); }
.extras .rows { margin-top: var(--s-2); }
.rev-side .rows { margin-top: var(--s-3); }
.rev-main > .notice { margin-top: 0; }
@media (min-width: 768px) {
  .review.layout2 { grid-template-columns: 1fr 22rem; }
  .rev-side { grid-column: 2; grid-row: 1; }
  .rev-main { grid-column: 1; grid-row: 1; }
}
#sum { display: grid; line-height: var(--lh-small); }
@media (max-width: 767px) {
  /* the pinned bar keeps one row whatever the product name ("Canvas op houten frame" wrapped Verder onto a second row and covered the tabs at 360 x 640) */
  .screen[data-screen="formaat"] > .actionbar { flex-wrap: nowrap; }
  .screen[data-screen="formaat"] > .actionbar .sum { min-width: 0; flex: 1 1 0; font-size: var(--fs-micro); line-height: var(--lh-micro); }
  .screen[data-screen="formaat"] > .actionbar .btn { flex: 0 0 auto; white-space: nowrap; }   /* Verder keeps its one line, the name next to it wraps */
  .screen[data-screen="formaat"] > .actionbar .sum small { font-size: var(--fs-micro); }
  .screen[data-screen="formaat"] #sum { line-height: var(--lh-micro); }
  .screen[data-screen="formaat"] #panel .hint-line, .screen[data-screen="formaat"] #panel .opts { margin-top: var(--s-2); }   /* 8 px instead of 12: the first size fits above the pinned bar at 390 x 844 */
  .screen[data-screen="formaat"] .layout2 { margin-top: var(--s-2); gap: var(--s-2); }
  .screen[data-screen="formaat"] > h1 { font-size: var(--fs-heading); line-height: var(--lh-heading); }
}
@media (min-width: 768px) { .review .rev-thumb { margin-top: 0; } .rev-side .rows .link { white-space: nowrap; } }

/* more breeds (landing, /kat/ and /hond/) */
.more .lead { margin-top: var(--s-3); max-width: 40rem; }
.more-grid { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 72vw; gap: var(--s-4); margin-top: var(--head-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); }
.more-grid li { scroll-snap-align: start; }
.more-grid figure { display: grid; gap: var(--s-3); }
.more-grid picture img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-l); background: var(--paper); }
.more-grid figcaption { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.more-grid figcaption b { color: var(--ink); font-weight: 600; margin-right: var(--s-2); }
@media (min-width: 768px) { .more-grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; max-width: 1000px; } }
@media (max-width: 480px) { .prose .company div { grid-template-columns: 1fr; gap: 0; } }

/* ---- design round (Rick 2026-11-04): the studio uses the same rhythm and grid as the landing ---- */
@media (max-width: 767px) { .ladder td, .ladder th { font-size: var(--fs-body); line-height: var(--lh-body); padding-right: var(--s-2); } }
@media (min-width: 768px) {
  /* pay: the summary and the trust cues on the left, the method and the banks on the right, one button under both (it was a 36 rem column in the middle of a 1440 screen) */
  .screen.narrow[data-screen="betalen"] { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--col-gap); align-items: start; grid-auto-rows: auto; }
  [data-screen="betalen"] > h1 { grid-column: 1; grid-row: 1; }
  [data-screen="betalen"] > .pay-sum { grid-column: 1; grid-row: 2; }
  [data-screen="betalen"] > .trust { grid-column: 1; grid-row: 3 / span 2; align-self: start; }
  [data-screen="betalen"] > .pay-methods { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; margin-top: 0; align-content: start; }
  [data-screen="betalen"] > #bl { grid-column: 2; grid-row: 3; align-self: end; }
  [data-screen="betalen"] > .bankgrid { grid-column: 2; grid-row: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-screen="betalen"] > #payerr { grid-column: 2; grid-row: 5; }
  [data-screen="betalen"] > .actionbar { grid-column: 1; grid-row: 5; align-self: start; }
  [data-screen="betalen"] > .actionbar .btn { max-width: none; margin-left: 0; }   /* round 2: the button sits under the summary, not pinned over the bank list */
}

/* ---- design round 2 (Rick 2026-11-04; the critic: "a buyer would not pay EUR 49") ---- */
/* The action bar. On a phone it is pinned, OPAQUE, with a shadow on its top edge (it was 94 % white: labels and options showed through it as ghost-grey text), and html's scroll-padding-bottom
   above is its height, so a tapped or focused option stops above it. From 768 up it is not pinned at all: the button sits in the summary column, so nothing can ever be under it. */
@media (min-width: 768px) {
  .actionbar { position: static; margin: var(--s-6) 0 0; padding: 0; background: none; border-top: 0; box-shadow: none; }
  html, html:has([data-screen="formaat"]), html:has([data-screen="kies"]) { scroll-padding-bottom: var(--s-5); }
  .screen[data-screen="bezorgen"], .screen[data-screen="formaat"] { display: grid; column-gap: var(--s-7); grid-template-rows: auto auto 1fr; align-items: start; }
  .screen[data-screen="bezorgen"] { grid-template-columns: minmax(0, 1fr) 22rem; }
  .screen[data-screen="formaat"] { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  [data-screen="bezorgen"] > h1, [data-screen="formaat"] > h1 { grid-column: 1 / -1; }
  [data-screen="bezorgen"] > .review, [data-screen="formaat"] > .layout2 { display: contents; }
  [data-screen="bezorgen"] .rev-main { grid-column: 1; grid-row: 2 / span 2; }
  [data-screen="bezorgen"] .rev-side { grid-column: 2; grid-row: 2; position: static; }
  [data-screen="bezorgen"] > .actionbar, [data-screen="formaat"] > .actionbar { grid-column: 2; grid-row: 3; margin-top: var(--s-5); }
  [data-screen="bezorgen"] .rev-main, [data-screen="bezorgen"] .rev-side { margin-top: var(--s-4); }
  [data-screen="bezorgen"] .rev-thumb .room { max-width: 260px; }   /* the summary column is short enough that its button is on the first screen at 1440 x 900 */
  /* kies: the button sits in the row of the tools under the pictures, so it is on the first screen too (no summary column here) */
  .screen[data-screen="kies"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-6); align-items: center; }
  .screen[data-screen="kies"] > * { grid-column: 1 / -1; }
  .screen[data-screen="kies"] > .pick-tools { grid-column: 1; grid-row: 5; }
  .screen[data-screen="kies"] > #limit-note { grid-row: 6; }
  .screen[data-screen="kies"] > .actionbar { grid-column: 2; grid-row: 5; margin-top: var(--s-5); }
  .screen[data-screen="kies"] > .actionbar .btn { min-width: 20rem; }
}

/* the room on the landing (Zo groot als je muur wil): the stage is zoomed on the artwork, so the painting is the subject and not 58 px of a 350 px beige wall.
   --z zoom on the room photo, --r height of the window as a share of its width, --vy where the painting centre sits in the window; the window never shows past the photo. */
.room-wall { --z: 1.8; --r: 1; --vy: .345; container-type: normal; aspect-ratio: calc(1 / var(--r)); }
.room-stage { position: relative; container-type: inline-size; width: calc(var(--z) * 100%);
  transform: translate(calc((.5 - var(--z) * var(--cx)) / var(--z) * 100%), calc((var(--r) * var(--vy) / (var(--z) * .6667) - var(--cy)) * 100%)); }
@media (min-width: 768px) { .room-wall { --z: 1.35; --r: .8; --vy: .325; } }

/* hero: the CTA is the 52 px button of the system, the small print is one line */
.hero .upload-micro { display: none; }
.hero-trust { margin-top: var(--s-3); }

/* the price ladder on a phone: one flex row per size, size left, price right */
@media (max-width: 767px) {
  .ladder, .ladder tbody, .ladder tr { display: block; }
  .ladder tr { padding: var(--s-4) 0 var(--s-3); border-bottom: 1px solid var(--line); }
  .ladder tr:first-child { border-top: 1px solid var(--line); }
  .ladder th, .ladder td { border: 0; padding: 0; }
  .ladder tr:first-child th, .ladder tr:first-child td { border-top: 0; }   /* the row carries the rule on a phone; the cell rule of the wide table drew a second line above the first row */
  .ladder th { display: block; width: auto; padding-bottom: var(--s-2); color: var(--ink); font-weight: 600; }
  .ladder td { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-1) 0; }
  .ladder td .sz { display: inline; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--g2); }
}

/* footer: the way to pay, then the company line when there is one (build.mjs renders nothing for an empty company block) */
.foot-pay { margin-top: var(--s-3); }

/* ---- port of the prototype (Rick 2026-11-04, direction B + A's polaroid) ---- */
.pick-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
/* Facebook / Instagram in-app browser: the ONLY bar at the top, shown by common.js */
.pay-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); }
.pay-logos { display: inline-flex; align-items: center; gap: var(--s-2); }
.pay-logos img { height: 32px; width: auto; border-radius: var(--r-s); background: var(--bg); }
/* /betalen/: our own payment step. The provider's form is one iframe in #checkout; everything above it is ours. */
.betalen { max-width: 42rem; margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-8); }
.betalen-sum { display: grid; gap: var(--s-3); margin-top: var(--s-5); padding: var(--s-4) var(--s-5); background: var(--paper); border-radius: var(--r-m); }
.betalen-amount { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink); }
.betalen-amount strong { font-weight: 600; white-space: nowrap; }
.betalen-form { margin-top: var(--s-5); min-height: 120px; }
.betalen .note, .betalen .small { margin-top: var(--s-5); }
.betalen-actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.betalen-actions .link { padding-left: 0; display: inline-flex; align-items: center; }
/* A's polaroid: the original photo, tilted, tape on top, a caption under it. A hairline instead of a shadow. */
.with-photo { position: relative; }
.polaroid { position: absolute; left: var(--s-3); bottom: var(--s-3); width: 112px; background: var(--bg); padding: 6px 6px 0; border: 1px solid var(--line); transform: rotate(-6deg); color: var(--ink); }
.polaroid::before { content: ""; position: absolute; left: 50%; top: -10px; width: 44px; height: 18px; background: var(--line); opacity: .85; transform: translateX(-50%) rotate(-4deg); }
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid span { display: block; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; text-align: center; padding: var(--s-2) 0; }
@media (min-width: 768px) { .polaroid { width: 132px; } }
.trust li.pay-line::before { display: none; }
/* bezorgen at 1440: Lexend at 18 px is taller than the face the layout was tuned for, so the summary column gives back height (one-line title, smaller room, wider column) and the pay marks sit UNDER the button */
.pay-under { margin-top: var(--s-4); }
@media (min-width: 768px) {
  .screen[data-screen="bezorgen"] > h1, .screen[data-screen="formaat"] > h1 { max-width: 34ch; }
  .screen[data-screen="bezorgen"] { grid-template-columns: minmax(0, 1fr) 24rem; }
  [data-screen="bezorgen"] .rev-thumb .room { max-width: 200px; }
  [data-screen="bezorgen"] > .pay-under { grid-column: 2; grid-row: 4; margin-top: var(--s-3); }
  .review .trust { font-size: var(--fs-small); line-height: var(--lh-small); padding: var(--s-3) var(--s-4); }
}
/* landing running text is never under the body size at 1440 (check-design body-size): the trust marks, the polaroid caption and the gallery captions use --fs-body */
.pay-line, .polaroid span, .more-grid figcaption { font-size: var(--fs-body); line-height: var(--lh-body); }
.pay-line { gap: var(--s-1) var(--s-3); }
/* hero panel on a phone: compact enough that the picture starts on the first screen (check-design hero-visual);  */
@media (max-width: 767px) {
  .pay-logos img { height: 28px; }
  .hero .upload { margin-top: var(--s-5); }
}
@media (min-width: 768px) { .chapter-text .lead-list { gap: var(--s-6); } .chapter.final .upload { margin-top: var(--s-7); } }   /* text columns a little taller than the 18 px copy alone makes them (column-fill) */

/* /bestelling/: the order assistant. Verify form, then a chat. Body text 18 px (--fs-body), every control 52 px or taller, nothing animated near a field. */
.assist .assist-verify { margin-top: var(--s-6); }
.assist .assist-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.assist .err { margin-top: var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--err); font-weight: 600; background: var(--err-bg); border-radius: var(--r-s); padding: var(--s-3) var(--s-4); }
.assist .err[hidden], .assist [hidden] { display: none; }
.assist-chat { margin-top: var(--s-6); }
.assist-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.assist-thumb { margin: 0 0 var(--s-5); }
.assist-thumb img { width: 120px; height: 160px; object-fit: cover; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--shadow-art); }
.assist-log { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.assist .assist-msg { max-width: 100%; border-radius: var(--r-m); padding: var(--s-4); margin: 0; overflow-wrap: anywhere; }
.assist .assist-msg p { margin: var(--s-1) 0 0; color: var(--ink); white-space: pre-wrap; }
.assist .assist-them { background: var(--paper); margin-right: var(--s-5); }
.assist .assist-me { background: var(--tint); margin-left: var(--s-5); }
.assist-who { display: block; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); font-weight: 600; }
.assist-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.assist-ask { margin-top: var(--s-5); }
.assist .assist-person { margin-top: var(--s-6); }
.assist-photo { position: relative; }
@media (max-width: 767px) { .assist .assist-them { margin-right: 0; } .assist .assist-me { margin-left: 0; } .assist .assist-actions .btn, .assist-chips .btn { width: 100%; } }
.assist .input, .assist .btn { transition: none; }   /* nothing moves next to a field: no focus glow tween, no button lift */
.assist .btn-primary:hover { transform: none; box-shadow: none; }
.assist .assist-back { display: inline-flex; align-items: center; min-height: 48px; margin-bottom: var(--s-6); }

/* answer pages: the first screen is the answer, ONE button and a real before/after (painting + the owner's photo as a polaroid) */
.page-answer .cta-top { margin-top: var(--s-4); }
/* the 404 page (src/404.html, served by Pages for every unknown path): one line and two ways on, the studio first */
.nf-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
@media (max-width: 767px) { .nf-actions .btn { flex: 1 1 100%; } }
.page-404 { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }   /* a short page: the footer ends at the bottom edge, no white band under it */
.page-404 main { flex: 1 0 auto; }
.page-answer .answer-hero { margin: var(--s-4) 0 var(--s-5); max-width: 22rem; }
.page-answer .answer-hero .with-photo img:not(.polaroid img) { border-radius: var(--r-m); }
.page-answer .answer-hero picture img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: 50% 30%; }   /* a short crop: the picture AND the button both sit on the first screen at 390 */
.page-answer .answer-hero .polaroid { left: var(--s-3); bottom: var(--s-3); }

/* switching photo: a visible secondary action on every step after the upload, a chip with the photo and "Wijzig", and the confirm step before a new photo is sent */
.progress { flex-wrap: wrap; gap: var(--s-1) var(--s-3); min-height: 48px; }
.switchbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }   /* lives in the progress row: it adds no height at 1440 */
.switchbar .btn { min-height: 48px; }
.photo-chip { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.photo-chip img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-s); border: 1px solid var(--line); }
.photo-chip span { font-weight: 600; }
.photo-chip .btn { min-height: 48px; }
.confirm { position: fixed; inset: 0; z-index: 70; background: var(--bg); overflow-y: auto; display: flex; align-items: center; justify-content: center; padding: var(--s-5) var(--gutter); }
.confirm[hidden] { display: none; }
.confirm-card { width: 100%; max-width: 28rem; display: grid; gap: var(--s-4); }
.confirm-photo { display: flex; justify-content: center; align-items: center; min-height: 8rem; }
.confirm-photo img { max-width: 100%; max-height: 50svh; height: auto; border-radius: var(--r-m); border: 1px solid var(--line); }
.confirm-actions { display: grid; gap: var(--s-3); }
.confirm-actions .btn, .confirm-actions .link { min-height: 48px; width: 100%; justify-content: center; text-align: center; }
/* the first screen holds the answer, the one button and the picture and nothing else: the rest starts below the fold (walle-site-check groups <= 5) */
.page-answer .answer-top { min-height: 100svh; padding-bottom: var(--s-6); }

/* the studio's screen is drawn after the script runs: its footprint is reserved from the first paint so the footer never jumps (CLS 0,181 at 390 on the wait screen) */
.studio #screen { min-height: 100svh; }

/* =====================================================================================================================================================================
   D1 "Atelier" component layer, re-skinned to "Gallery" (Rick, 2026-11-06: "a much lighter page ... only details have a specific color"; "the orange, the yellow ... doesn't look good at all").
   A white page, near-black ink, ONE accent (oxblood --brand) on the button, links, small dots and the selected state. Buttons are flat and solid (see the primary button block below).
   Source of truth: DESIGN.md. Every value is a token; tools/check-design.mjs fails the build on anything else.
   ===================================================================================================================================================================== */
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
h1 { line-height: var(--lh-title); } .hero h1 { line-height: var(--lh-hero); letter-spacing: -.025em; }
strong, b, .guar strong, .pick-name, .foot-brand, .opt b, .opt .opt-price, .field label, .legend, .faq summary, .ladder th, .ladder td { font-weight: 600; }
.lead-list strong, .rows dd, .small b { font-weight: 700; }
:focus-visible { outline-color: var(--focus); }
.site-footer :focus-visible { outline-color: var(--on-dark); }

/* the ONE primary button (DESIGN.md "Buttons"): flat fill, no texture, no lip, 56 px, same geometry and the same oxblood with white text on every page (every surface is light). */
.btn { min-height: var(--btn-h); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-btn); letter-spacing: -.01em; border-radius: var(--r-btn); transition: transform .12s var(--ease), background-color .12s; }
.btn-primary, .cta-bar .cta { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.btn-primary:hover { transform: none; box-shadow: none; filter: brightness(1.06); }
.btn-primary:active, .cta-bar .cta:active { transform: scale(.98); box-shadow: none; }
.btn-primary:disabled, .btn-primary[aria-disabled="true"] { background: var(--tint1); color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); transform: none; filter: none; }
/* secondary actions are near-black outlines: the accent stays on the one primary */
.btn-outline { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--ink); }
.btn-outline:active { transform: scale(.98); }
.btn[aria-busy="true"] { background: var(--tint1); background-image: none; color: var(--ink); box-shadow: none; }
.btn[aria-busy="true"] span::after { background: var(--brand); }
.link { color: var(--brand); }

/* header: white with a hairline; footer: the one dark band, low on the page */
.site-header { max-width: none; background: var(--bg); border-bottom: 1px solid var(--line); padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); padding-block: var(--s-3); }
.wordmark img { display: block; height: 44px; width: auto; }
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 0; padding: var(--s-7) 0; }
.site-footer .foot-brand { color: var(--brand-ink); font-family: var(--font-display); font-weight: 800; }
.site-footer .small, .site-footer p { color: var(--on-dark); }
.site-footer a, .foot-links a { color: var(--on-dark); }
.page-landing .site-footer { padding-bottom: calc(var(--s-7) + 96px + var(--safe-b)); }
@media (min-width: 900px) { .page-landing .site-footer { padding-bottom: var(--s-7); } }

/* landing: hero */
.page-landing .hero { max-width: none; background: var(--bg); color: var(--ink); padding: var(--sec-y) var(--gutter); gap: var(--s-5); align-items: end;
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.page-landing .hero h1 { color: var(--ink); }
.page-landing .hero .lead { color: var(--muted); }
.page-landing .hero-text { padding-bottom: var(--s-5); align-self: center; }
.hero .upload { margin-top: var(--s-5); }
.pay-logos img { background: var(--bg); padding: 2px 6px; border-radius: var(--r-s); }
.hero-visual { margin-inline: 0; }
.wipe { border-radius: var(--r-s); box-shadow: none; aspect-ratio: 1 / 1.25; }
.wipe-line { background: var(--bg); }
.wipe-line::after { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.wipe-cap { color: var(--ink); }
@media (min-width: 768px) {
  .page-landing .hero { align-items: center; min-height: min(830px, 100svh - 76px); }   /* DESIGN.md rhythm: --sec-y above and below, like every section */
  .hero-visual { margin-inline: 0; }
  .wipe { aspect-ratio: 1 / 1; }   /* square at the fold inside the --sec-y padding (as at line 298): >= 45% of 1440 */
  .page-landing .hero-text { padding-bottom: 0; }
}

/* landing: chapters */
.chapter h2 { font-size: var(--fs-title); }
.band { background: var(--tint1); }
.lead-list li { border-top-color: var(--line); }
.lead-list li::before { background: var(--brand); width: 8px; height: 8px; }
.chapter:has(.price-grid) .lead, .chapter:has(.price-grid) .ladder th, .ladder .sz { color: var(--muted); }
.chapter-visual .zoom, .duo img, .more-grid img { border-radius: var(--r-art); }
.room, .zoom { border-radius: var(--r-art); }
.guar li { border-top: 2px solid var(--ink); }
.faq details { border: 0; background: var(--tint1); border-radius: var(--r-m); margin-bottom: var(--s-3); padding: 0 var(--s-5); }
.faq details:last-child, .faq details:nth-last-child(2) { border-bottom: 0; }
.faq summary { color: var(--ink); border-radius: var(--r-m); }
.faq summary::after { color: var(--brand); }
.tag { background: var(--veil); color: var(--brand-ink); box-shadow: none; }
.polaroid::before { background: var(--line); }
.photo-chip img, .guide .mine, .polaroid { border-color: var(--line); }
.guide .mine::before { background: var(--line); }
.wipe-cap { background: var(--veil); color: var(--brand-ink); }

/* sticky bottom CTA (landing, phone): slides in after the hero button leaves the screen */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; gap: var(--s-1); justify-items: center; padding: var(--s-2) var(--s-4) calc(var(--s-3) + var(--safe-b)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: none; }
/* hidden at rest ONLY when JS runs (ad.js sets html.js in <head>): without JS the bar is simply there (rule S2) */
.js .cta-bar { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.js .cta-bar.show { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.cta-bar .price-line { color: var(--muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.cta-bar .cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 26rem; min-height: 56px; padding: 0 var(--s-5); border-radius: var(--r-btn); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lead); text-decoration: none; }
/* from 900 px the bar is a slim row (the line and the button side by side), up only while the pinned header is hidden on the way down (landing.js; review 2026-11-23): the header
   rule left a desktop visitor without an action while scrolling down. Without JS it stays away there (the header and its button never hide without JS). */
@media (min-width: 900px) {
  html:not(.js) .cta-bar { display: none; }
  .cta-bar { grid-auto-flow: column; justify-content: center; align-items: center; column-gap: var(--s-5); }
  .cta-bar .cta { width: auto; }   /* its 56 px height stays (rule BT1: a primary button is at least 52 px) */
}

/* studio: a full-screen app. A white top bar with a hairline, one thing per screen, a white bottom bar (hairline on top) with the oxblood button inside the thumb zone. */
.page-studio { background: var(--bg); }
.studio { padding-top: 0; }
.progress { position: relative; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); margin: 0 calc(var(--edge) * -1) var(--s-5); padding: var(--s-2) var(--edge); min-height: 64px; flex-wrap: wrap; gap: var(--s-2) var(--s-4); justify-content: flex-start; }
.progress .back { width: 48px; min-height: 48px; padding: 0; margin: 0; border-radius: var(--r-dot); background: var(--tint1); color: var(--ink); display: block; position: relative; text-indent: -999px; overflow: hidden; }
.progress .back::before { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-indent: 0; font-size: var(--fs-lead); line-height: 1; }
.progress #step-label { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: var(--s-3); flex: 1 1 auto; justify-content: flex-end; flex-direction: row-reverse; white-space: nowrap; font-size: var(--fs-small); }
.progress #step-label::before { content: ""; flex: 1 1 96px; min-width: 96px; height: 8px; background: linear-gradient(var(--brand), var(--brand)) 0 0 / calc(var(--n, 1) * 25%) 100% no-repeat, var(--line); -webkit-mask: repeating-linear-gradient(90deg, black 0 calc(25% - 4px), transparent 0 25%); mask: repeating-linear-gradient(90deg, black 0 calc(25% - 4px), transparent 0 25%); }   /* four segments (stijl, portret, bezorgen, betalen; 2026-11-25: the size and extra-print screens are part of portret and bezorgen) */
.progress .step-name { font-weight: 400; color: var(--g2); }
.studio[data-step="stijl"], .studio[data-step="check"] { --n: 1; } .studio[data-step="wacht"], .studio[data-step="kies"] { --n: 2; } .studio[data-step="bezorgen"] { --n: 3; } .studio[data-step="klaar"], .betalen { --n: 4; }
.studio { max-width: none; padding-inline: var(--edge); }
.progress .switchbar { flex: 1 1 100%; }
@media (min-width: 768px) { .progress .switchbar { flex: 0 0 auto; margin-left: auto; } .progress #step-label { flex: 1 1 320px; } .progress { flex-wrap: nowrap; } }
.progress .switchbar .btn { min-height: 48px; font-size: var(--fs-body); }
.screen > h1 { color: var(--ink); font-size: var(--fs-step); line-height: 1; }
@media (min-width: 768px) { .screen > h1 { font-size: var(--fs-title); line-height: var(--lh-title); } .progress { margin-bottom: var(--s-6); } }
.input { border-width: 2px; border-radius: var(--r-m); }
.note, .name-card, .mail-card, .guide, .upload-error { background: var(--tint1); }
.slot, .tap-photo, .thumb { background: var(--tint1); }
.slot, .pick-art, .rev-thumb .room, .done-art .art-frame { border-radius: var(--r-art); }
.pick[aria-selected="true"] .pick-art { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--brand); }
.pick-zoom { background: var(--scrim); }
.opt { border: 2px solid var(--line); border-radius: var(--r-chip); }
.opt:hover { border-color: var(--brand); transform: none; }
.opt[disabled] { background: transparent; border: 2px dashed var(--line); cursor: not-allowed; transform: none; }
.opt[disabled] b { color: var(--g2); }
.opt[aria-checked="true"] { background: var(--tint2); border-color: var(--brand); box-shadow: 0 0 0 2.5px var(--brand); }
.frame-chip { border: 2px solid var(--line); }
.frame-chip[aria-checked="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); background: var(--tint2); }
.rows, .rows > div { border-color: var(--line); }
.timeline li::before { border-color: var(--brand); }
.check input { accent-color: var(--brand); }
.confirm-photo img { border-color: var(--line); }

/* the action bar: white with a hairline top border, pinned on a phone with the safe-area inset, static in the summary column from 768 up */
.actionbar { background: var(--bg); border-top: 1px solid var(--line); box-shadow: none; color: var(--ink); padding-bottom: calc(var(--s-3) + var(--safe-b)); }
.actionbar .sum, .actionbar .note, .actionbar p { color: var(--ink); background: none; }
.actionbar .sum small, .actionbar #cta-note { color: var(--muted); background: none; }
.actionbar .btn { min-height: 56px; }
@media (min-width: 768px) { .actionbar { background: none; border-top: 0; } }

/* phone: preview carousel. The four paintings sit in one swipeable row, the next one peeking in. */
@media (max-width: 767px) {
  .pick-grid { display: flex; gap: var(--s-3); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: var(--s-3) var(--gutter) var(--s-4); scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; }
  .pick-grid::-webkit-scrollbar { display: none; }
  .pick-grid > .pick { flex: 0 0 78%; scroll-snap-align: start; }
  .pick-art { box-shadow: var(--shadow-l); }
  .page-studio:not(.no-progress) .site-header { display: none; }
  .page-studio .studio { padding-top: 0; }
}
@media (max-width: 767px) { .page-studio .site-footer { margin-top: 0; } }
body:not(.page-landing):not(.page-studio) .site-footer { margin-top: var(--s-7); }

/* wait screen: the bar and the status line (paced / instant, see waitbar.js). The fill is flat oxblood on a warm-grey track. */
.waitbar { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.waitbar-track { height: 12px; background: var(--tint1); border-radius: var(--r-chip); overflow: hidden; box-shadow: inset 0 0 0 2px var(--line); }
.waitbar-track i { display: block; height: 100%; width: 100%; background: var(--brand); border-radius: var(--r-chip); transform: translateX(-100%); transition: transform .9s var(--ease); }   /* studio.js barTick slides it by translateX(pct - 100%): the same rounded end as the old width fill, no layout per frame */
.waitbar-line { font-weight: 600; color: var(--ink); min-height: calc(var(--lh-body) * 2); }
.slot-state { position: absolute; inset: auto var(--s-3) var(--s-3) var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; color: var(--muted); text-align: center; }
.slot.empty { animation: none; }
@media (prefers-reduced-motion: reduce) { .waitbar-track i { transition: none; } }
/* phone: the first screen is headline, sentence, button and the price line; the painting starts above the fold like D1 (the guarantee and the payment words sit in the sections below) */

/* the framed artwork, a print on a gallery wall (Rick 2026-11-06: lighter, no gold): a white mat, a hairline edge and a soft shadow on the white page. The painting is the loudest thing on the screen. */
.frame { background: var(--mat); border: 1px solid var(--line); border-radius: var(--r-s); padding: var(--s-3); box-shadow: var(--shadow-frame); margin-inline: auto; animation: settle .9s var(--ease) both; }
.frame .wipe { box-shadow: inset 0 0 0 1px var(--line); animation: none; border-radius: var(--r-s); }
.frame .wipe.still { aspect-ratio: 1 / 1.25; }
.wipe-tag { position: absolute; top: var(--s-3); z-index: 3; padding: var(--s-1) var(--s-3); border-radius: var(--r-chip); background: var(--veil); color: var(--brand-ink); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; pointer-events: none; }
.wipe-tag-a { left: var(--s-3); } .wipe-tag-b { right: var(--s-3); }
.wipe-line::after { content: "\2039 \203A"; display: grid; place-items: center; font-family: var(--font); font-weight: 700; font-size: var(--fs-heading); line-height: 1; letter-spacing: 2px; padding-bottom: 4px; color: var(--ink); border: 1px solid var(--line); }
.wipe-cap { max-width: calc(100% - var(--s-6)); width: max-content; white-space: normal; text-wrap: balance; bottom: var(--s-3); }
@media (min-width: 768px) { .frame { padding: var(--s-5); } .frame .wipe { aspect-ratio: 1 / 1; } .frame .wipe.still { aspect-ratio: 1 / 1; } }

/* the zoom modal's way out (Rick 2026-11-05: "can't go back"): a white filled button with an X on the dark veil, never a faint outline; Escape, backdrop, swipe down and browser Back close it as well */
.btn-light { background: var(--bg); color: var(--ink); border: 2px solid var(--ink); min-height: 48px; display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 700; box-shadow: var(--shadow-m); }
.btn-light svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; flex: none; }
.btn-light:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* wait screen (fix/genwait, Rick 2026-11-08: "That dog with a brush on a canvas doesn't look like anything is really being made... you actually see it being created. Clearly state what it is doing now").
   The buyer's own photo is the canvas (genstage.js): whole and in colour while it is looked at, then closed in on the pet as a soft, desaturated underdrawing whose blur eases
   sharper as the honest bar advances, under a faint canvas weave and a soft light that passes every 3 s; the first finished painting crossfades in over it. Beside it (under it on a phone): the one status line in large type, the bar, the real seconds,
   and one row per style with that job's own state. transform and opacity only; reduced motion: no zoom, no light pass, no fades. */
.screen[data-screen="wacht"] { max-width: none; margin-inline: 0; padding-top: 0; }   /* the content box like every studio step (spacing system 2026-11-08): left edge on the header, heading to content --head-gap */
.screen[data-screen="wacht"] > h1 { max-width: none; font-size: var(--fs-heading); line-height: var(--lh-heading); }
.screen[data-screen="wacht"] .name-card, .screen[data-screen="wacht"] .mail-card { max-width: none; }
.wait-main { display: grid; gap: var(--s-5); margin-top: var(--head-gap); align-items: start; }
.wait-side { min-width: 0; }
.genstage { width: 100%; max-width: 420px; margin-inline: auto; }
.gs-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-art); background: var(--tint1); box-shadow: var(--shadow-art); }
.gs-frame > * { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gs-art { object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.gs-art.on { opacity: 1; }
.gs-cap { margin: var(--s-2) 0 0; min-height: var(--lh-small); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); text-align: center; }
.gs-base { transition: opacity .9s var(--ease); }
.genstage[data-phase="paint"] .gs-base, .genstage[data-phase="done"] .gs-base { opacity: 0; }
.gs-tex { opacity: .28; }   /* barely there: at .7 the weave read as a screen-door pattern at 390 */
.gs-frame > .gs-sweep { width: 45%; transform: translateX(-110%); opacity: .9; }   /* the light band (genstage.js band()): out of view at rest, one pass per .go */
.gs-frame > .gs-sweep.go { transform: translateX(330%); transition: transform 1.1s var(--ease-out); }
.screen[data-screen="wacht"] .waitbar { margin-top: 0; gap: var(--s-2); }
.waitbar-line { font-weight: 600; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink); min-height: calc(var(--lh-lead) * 2); margin: 0; }
.waitbar-time { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); }
.wait-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-top: var(--s-5); }
.wait-grid .slot { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-3); align-items: center; aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; animation: none; }
.slot-box { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-s); overflow: hidden; background: var(--tint1); box-shadow: inset 0 0 0 1px var(--line); }
.slot-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: reveal .6s var(--ease) both; }
.slot-box .slot-ground { filter: grayscale(1); opacity: .35; animation: none; }
.slot-cap { display: grid; text-align: left; font-size: var(--fs-body); line-height: var(--lh-small); overflow-wrap: anywhere; }
.slot-title { font-weight: 600; color: var(--ink); }
.slot-now { font-size: var(--fs-small); color: var(--muted); }
.slot-now[data-state="done"] { color: var(--ink); }
.slot-cap .pick-fail { display: grid; justify-items: start; gap: 0; font-size: var(--fs-small); color: var(--muted); }
.slot-cap .pick-fail .link { padding-left: 0; }
@media (min-width: 768px) {
  .wait-main { grid-template-columns: minmax(0, 420px) minmax(0, 640px); column-gap: var(--col-gap); }
}
@media (max-width: 767px) { .genstage { max-width: min(100%, 30vh); } }   /* 30vh wide at 3:4 = at most 40vh high: the name field and the bar stay on the first screen */   /* the status line, the bar and the seconds stay above the fold on a 390 x 844 phone (critic round 1) */
@media (prefers-reduced-motion: reduce) { .gs-base, .gs-art, .gs-frame > .gs-sweep.go { transition: none; } .gs-sweep { display: none; } .slot-box img { animation: none; } }

/* trust under the hero, who we are, the quality block, the footer marks (Rick 2026-11-05: more trust builders, true ones only) */
.trow { background: var(--tint1); border-bottom: 1px solid var(--line); }
.trow ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); padding: var(--s-5) var(--gutter); margin-inline: auto; max-width: var(--maxw); }
.trow li { display: grid; gap: var(--s-1); align-content: start; padding-left: var(--s-5); position: relative; }
.trow li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: var(--r-dot); background: var(--brand); }
.trow strong { font-weight: 700; color: var(--ink); }
.trow span { color: var(--muted); }
@media (min-width: 900px) { .trow ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.who { display: grid; gap: var(--s-4); max-width: 46rem; }
.who .company { display: grid; gap: var(--s-2); margin: 0; }
.who .company div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--s-3); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.who .company dt { font-weight: 600; color: var(--muted); } .who .company dd { margin: 0; }
.spec { list-style: none; display: grid; gap: var(--s-4); margin-top: var(--head-gap); }
@media (min-width: 768px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.spec li { display: grid; gap: var(--s-2); padding: var(--s-5); background: var(--bg); border-radius: var(--r-art); box-shadow: inset 0 0 0 1px var(--line); }
.spec strong { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lead); }
.foot-marks { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-2); }
.foot-marks img { background: var(--bg); padding: 2px 6px; border-radius: var(--r-s); }

/* ONE spacing rule for every pinned bar (studio action bar, landing sticky CTA, zoom bar): 16 px (--s-4) above the button, and below it the larger of 16 px and the device's safe area, so the button, its 5 px
   lip and its shadow are never at the screen edge (it sat 7 px from it, lip included, before). The static desktop bar keeps no padding (it is not a bar there). tests/buttons.mjs measures it. */
.actionbar, .cta-bar, .lightbox-bottom { padding-top: var(--s-4); padding-bottom: max(var(--s-4), var(--safe-b)); }
@media (min-width: 768px) { .actionbar { padding: 0; } }

/* message match: while an ad is set and landing.js has not written its headline yet, the two lines are hidden; the animation shows them after 0,6 s whatever happens (no script = default copy, never blank) */
html[data-ad]:not([data-ad-done]) :is(#hero-h, .hero .lead) { visibility: hidden; animation: ad-show 0s .6s forwards; }
@keyframes ad-show { to { visibility: visible; } }

/* =====================================================================================================================================================================
   Redesign 2026-11-05 (Rick: "the logo is so AI", "this button doesn't even catch my attention", "not clean design rules of high conversion"). Measured patterns: research/FINDINGS.md.
   One flat primary button, a wordmark header seamless with the hero, one focal point in the first screen at 390: headline, one sentence, button, small price line, the before/after visual.
   ===================================================================================================================================================================== */
.site-header { background: var(--bg); min-height: 64px; padding-block: var(--s-2); }
.wordmark { min-height: 48px; }
.wordmark img { height: 28px; width: auto; }
.page-landing .hero { background: var(--bg); }
.page-landing .hero h1 { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: -.03em; }
.page-landing .hero .lead { font-size: var(--fs-lead); line-height: var(--lh-lead); margin-top: var(--s-3); }
.hero .upload { margin-top: var(--s-5); gap: var(--s-2); }
.upload .btn-primary { width: 100%; }
@media (min-width: 768px) { .upload .btn-primary { width: auto; min-width: 320px; } }
@media (max-width: 767px) {
  .page-landing .hero { padding-top: var(--s-5); padding-bottom: var(--s-7); gap: var(--s-6); }
  .page-landing .hero-text { padding-bottom: 0; }
  .upload { justify-items: stretch; }
  .wipe { aspect-ratio: 1 / 1.5; }
  .frame .wipe.still { aspect-ratio: 3 / 4; }   /* the memorial still at its own 3:4 (from fix/redesign): with the one-sentence lead and the 3-line headline the fold must still cut through it (H5) */
}
.trow-marks { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.trow-marks img { height: 24px; width: auto; background: var(--bg); border-radius: var(--r-s); box-shadow: 0 0 0 1px var(--line); }

/* studio: one secondary way to change the photo (Rick's coordinator 2026-11-05: "Andere foto kiezen" and "Wijzig" did the same). On the pick step only the small "Wijzig" beside the thumbnail stays; elsewhere the bar button is a quiet text link. */
.progress .switchbar .btn-outline { border: 0; background: transparent; color: var(--brand); font: 600 var(--fs-small)/1 var(--font); text-decoration: underline; text-underline-offset: 4px; padding: 0 var(--s-2); justify-content: flex-start; min-height: 48px; }
/* (2026-11-16: "Andere foto kiezen" now shows on the choose screen too: the "Je foto / Wijzig" chip is gone) */
.photo-chip { margin-top: var(--s-3); }
.photo-chip img { width: 48px; height: 48px; }
.photo-chip .btn-outline { border: 0; background: transparent; color: var(--brand); font: 600 var(--fs-small)/1 var(--font); text-decoration: underline; text-underline-offset: 4px; padding: 0 var(--s-2); }
.ai-note { margin-top: var(--s-2); color: var(--muted); }
/* the staging "test" tag scrolls away with the page and clears the progress segments */
.mode-ribbon { position: absolute; font-size: var(--fs-micro); line-height: var(--lh-micro); }
body:has(.mode-ribbon) .progress { padding-top: var(--s-5); }
/* the sticky bar never hides what an opened answer says */
html { scroll-padding-bottom: 112px; }
/* both corner labels are the same light pill (the right one vanished on the dark painting), the price line is white */
.wipe-tag { background: var(--scrim); color: var(--ink); }
/* the first thing the eye lands on is the button: the headline is near-black ink, the button the one saturated object in the first screen */
.page-landing .hero h1 { color: var(--ink); }

/* =====================================================================================================================================================================
   Gallery restraint (Rick 2026-11-06: "Make it not AI slop please"). Hairlines over boxes, the paintings do the visual work, nothing tilted or taped, left-aligned editorial type.
   ===================================================================================================================================================================== */
.polaroid, .guide .mine { transform: none; }
.polaroid::before, .guide .mine::before { display: none; }
.faq details { background: none; border-radius: 0; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.faq details:last-child, .faq details:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.hero-text h1 { max-width: 14ch; }
.page-landing .hero .lead { max-width: 34rem; }
.chapter .lead { max-width: 38rem; }
.trow { background: var(--bg); border-top: 1px solid var(--line); }
.spec li { background: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); padding: var(--s-4) 0 0; }
.note, .name-card, .mail-card, .guide, .upload-error, .betalen-sum, .pay-sum { border-radius: var(--r-s); }
.tag, .wipe-tag, .wipe-cap, .slot-name { border-radius: var(--r-s); }
@media (max-width: 599px) { .trow ul { grid-template-columns: 1fr; gap: var(--s-4); } }

/* critic round 1 (blind, 2026-11-06): "the slider card reads as a component", "the easel is stock-icon art", "three steps drawn as bullets", "empty boxes look broken" */
.frame { border: 0; }

/* critic round 2: "stock before/after chips", "dashed skeleton boxes", "dot bullets with a bold title", "the link sits off the margin" */
.wipe-tag { top: 0; border-radius: 0; background: var(--bg); color: var(--ink); padding: var(--s-1) var(--s-3); font-weight: 600; }
.wipe-tag-a { left: 0; } .wipe-tag-b { right: 0; }
.trow li { padding-left: 0; }
.trow li::before { display: none; }
.progress .switchbar .btn-outline { padding-left: 0; }

/* critic round 3 (fix/light-2): "the numbered three steps are a template", "empty pink boxes read as placeholders", "the sticky bar covers a heading", "the payment step does not show what you buy" */
.wait-grid .slot:not(.empty) .slot-cap { animation: reveal .6s var(--ease) both; }   /* the name arrives with its painting, not before it */   /* no placeholder: the space is held (no layout shift) and the painting appears in it */
/* (review 2026-11-16: the step bar now shows on the wait screen too) */   /* one progress on the wait screen: the paced bar; "Stap 1 van 4" stays as words */
.betalen-sum { background: none; padding: var(--s-4) 0; border-radius: 0; border-block: 1px solid var(--line); }
.betalen-sum:has(.betalen-thumb:not([hidden])) { grid-template-columns: calc(var(--s-8) + var(--s-7)) minmax(0, 1fr); column-gap: var(--s-4); align-items: center; }
/* the text column may shrink below its content (minmax 0): the product line and the method row wrap inside the page instead of running off it at 390 (live, 2026-11-10) */
.betalen-sum > * { min-width: 0; }
.betalen-what { overflow-wrap: anywhere; }
.betalen .pay-logos { flex-wrap: wrap; row-gap: var(--s-2); min-width: 0; }
.betalen .pay-tail { display: inline-flex; align-items: center; gap: var(--s-1); white-space: nowrap; }
.betalen-thumb { grid-row: 1 / span 3; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-s); box-shadow: var(--shadow-art); }
.betalen-thumb[hidden], .betalen-what[hidden] { display: none; }
.betalen-what { font-weight: 600; color: var(--ink); }

/* Rick 2026-11-07 (via main): the like and wall lists are hairline rows with no bullet; the short title sits on its own line over the sentence (no dot, no bold "Label:" lead-in) */
.lead-list li { padding-left: 0; }
.lead-list li::before { display: none; }
.lead-list strong { display: block; font-weight: 600; }
.lead-list strong::after { content: none; }
/* the payment marks in the trust row: the official marks in one quiet row on the white page, no outlined chips (the footer keeps the white ground: it is dark) */
.trow-marks img { box-shadow: none; }
/* the consent banner (src/assets/analytics.js, only with a Meta Pixel id): a light bar on the bottom edge, one oxblood hairline, the two choices the SAME button (btn-outline) at the SAME size,
   side by side, one tap each. COMPACT (2026-11-10: paid ads send first-time phone visitors, and the old 222 px banner covered the main button on five answer pages at 390): one short question
   with the "Meer over cookies" link (one line from 360 px up), the heading kept for screen readers only, 44 px buttons. Desktop: one row, 70 px; phone: two rows, 86 px. tests/consent-fit.mjs measures every
   indexable page and ad landing at 390x844, 360x640 and 1440x900: a main button on the first screen stays wholly above the banner. It lifts the pinned bars above itself while it is open
   (--consent-h, set by analytics.js). The side gutter comes from .consent-in (the shared container rule below), so the bar itself has none: one gutter, not two. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bg); border-top: 2px solid var(--brand); padding: var(--s-3) 0 calc(var(--s-3) + var(--safe-b)); }
.consent-in { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.consent-copy { max-width: 760px; min-width: 0; }
.consent-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* names the region for aria-labelledby; the question below says it on screen */
.consent-text { margin: 0; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--ink); }
.consent-text a { color: var(--accent); }   /* the link colour (a { color: var(--accent) }), oxblood; asserted in tests/meta.mjs */
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); flex: none; }
.consent .consent-btn { min-width: 136px; min-height: 44px; padding: 0 var(--s-4); font-size: var(--fs-small); }
/* the CARD (CONSENT_MOMENT ab / wait / reveal, analytics.js): the same component, small and floating. Phone: bottom, 16 px from three edges, two equal buttons side by side.
   Desktop (>= 768 px): a 360 px card bottom left. --consent-h then holds its height + 28 px, so pinned bars and the page's end stay clear of it (tests/consent-moment.mjs measures it). */
.consent.consent-card { left: var(--s-4); right: var(--s-4); bottom: calc(var(--s-4) + var(--safe-b)); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-top: 2px solid var(--brand); border-radius: var(--r-m); box-shadow: var(--shadow-l); }
.consent.consent-card .consent-in { max-width: none; margin: 0; padding-inline: 0; flex-direction: column; align-items: stretch; gap: var(--s-2); }
.consent.consent-card .consent-actions { grid-template-columns: 1fr 1fr; }
.consent.consent-card .consent-btn { min-width: 0; }
.consent.consent-card .consent-text a { white-space: nowrap; }   /* "Meer over cookies" never breaks over two lines */
@media (min-width: 768px) { .consent.consent-card { right: auto; left: var(--s-5); bottom: calc(var(--s-5) + var(--safe-b)); width: 360px; } }
.has-consent body { padding-bottom: var(--consent-h, 0px); }
.has-consent .cta-bar, .has-consent .actionbar { bottom: var(--consent-h, 0px); }
.has-consent .lightbox { bottom: var(--consent-h, 0px); }   /* the zoom modal (z 40) ends above the banner (z 60): its "Deze wil ik" sat wholly under it at 360, 390 and 1440 (tests/bannerpad.mjs) */
@media (max-width: 767px) {
  .consent { padding: var(--s-2) 0 calc(var(--s-2) + var(--safe-b)); }
  .consent-in { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .consent .consent-btn { min-width: 0; }
}

/* =====================================================================================================================================================================
   Scroll 2026-11-07 (Rick: "when you open it, it still is red. Look at Spelfix, the way you scroll down looks way cooler. But this other call to action is more
   conversion-focused; old people on their phone."). Spelfix measured (DESIGN.md "Decisions 2026-11-07"): a warm paper field, a floating white header pill sticky 12 px from
   the top, sections with rounded tops that slide over the one before, a very large headline (line height .95, -.025em), short timings. The Gallery rules stay: one oxblood
   accent, only on the button and the selected state; our conversion structure stays: one full-width 56 px button above the fold with the price line under it, the sticky bar.
   ===================================================================================================================================================================== */
/* the field: the first screen (hero and trust row) is warm paper, the white header floats over it */
html:has(> body.page-landing), body.page-landing { background: var(--field); }   /* html too: the 12 px above the floating header is paper, not a white strip */
.page-landing .hero, .page-landing .trow { background: var(--field); }
.page-landing .trow { border-top: 0; border-bottom: 0; }
.page-landing .trow strong { font-weight: 600; }   /* 700 was the only use of a fourth weight on the landing (walle-ui-quality weights: 3 at most); 600 like the list titles */
.page-landing .hero h1 { letter-spacing: -.025em; }
.page-landing .hero-text h1 { max-width: 15ch; text-wrap: balance; }
@media (min-width: 768px) { .page-landing .hero-text h1 { max-width: none; } }   /* the column decides: balance over the full column, no word alone on the last line (critic round 1 at 1440) */   /* balance at this size left "binnen" alone on a line; pretty fills each line and only guards the last */
@media (max-width: 767px) { .page-landing .hero-text h1 { max-width: none; text-wrap: pretty; } }   /* at 390 balance left "binnen" alone on a line; pretty fills each line */   /* --fs-hero / --lh-hero: 44/42 at 390, 80/76 from 768 (line height .95) */
/* sections are sheets: rounded top corners, sliding over the one before. The section before runs its own ground 72 px further down underneath (::after, painted before the
   next section in tree order), so the corners show the colour you came from. Padding stays --sec-y (rule "rhythm"); no negative margins, no shadow (rule "nested-card"). */
.page-landing main > section, .page-landing .site-footer { position: relative; }
.page-landing main > section::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--s-9); background: inherit; pointer-events: none; }
.page-landing main > .chapter, .page-landing .site-footer { border-radius: var(--r-sheet); }
.page-landing main > .chapter:nth-child(odd) { background: var(--bg); }
.page-landing main > .chapter:nth-child(even) { background: var(--field); }
.page-landing main > .chapter:not(.how) { border-top: 1px solid var(--line); }   /* 2026-11-30: white and paper are 2% apart, so the sheet's curved top was nearly invisible; a hairline along the curve is the ONE edge device (the dark sheet has its own edge) */
@media (min-width: 768px) { .page-landing main > .chapter, .page-landing .site-footer { border-radius: var(--r-sheet-l); } }

/* ===================== SPACING SYSTEM (2026-11-08, Rick: "spacing is already so bad"; numbers from Wispr Flow, measured) =====================
   ONE centred box on every page: --content 1240 px between two --gutter (20 phone, 32 tablet, 40 desktop); --edge is that inset at any width, so a 1920 screen gets equal margins.
   ONE vertical rhythm: --sec-y (64 phone, 96 from 768) on every section box; headings to content --head-gap; grids fill the box. Values live in tokens.css only. */
.wrap, .trow ul, .consent-in { max-width: var(--maxw); padding-inline: var(--gutter); margin-inline: auto; }
.site-header { padding-inline: var(--edge); }
.page-landing .hero { padding-inline: var(--edge); }
.studio { padding-inline: var(--edge); }
.progress { margin-inline: calc(var(--edge) * -1); padding-inline: var(--edge); }
.prose { padding-inline: var(--gutter); }   /* text pages keep their centred 42rem reading column (a 992 px box left the text hanging off-centre) */
.chapter .lead, .more .lead { margin-top: var(--s-4); }
/* the gallery: three columns across the whole box from 768 (was capped at 1000 px and stopped two thirds across a 1600 screen) */
@media (min-width: 768px) { .more-grid { max-width: none; gap: var(--s-6) var(--s-5); } }
/* the original photo: a small print tucked into the corner, so the painting stays the subject (was a 132 px card over a third of each portrait) */
.more-grid .polaroid { width: 88px; left: var(--s-3); bottom: var(--s-3); padding: 4px 4px 0; transform: rotate(-3deg); }
.more-grid .polaroid span { padding: var(--s-1) 0; }
.more-grid .polaroid::before { width: 32px; height: 12px; top: -7px; }
@media (min-width: 768px) { .more-grid .polaroid { width: 104px; left: var(--s-4); bottom: var(--s-4); } }
.more-grid figure { gap: var(--s-4); }
/* "who we are": in the same box as every section, the text keeps a readable measure on the left edge (was a 736 px column centred on its own axis) */
.wrap.who { max-width: var(--maxw); }
/* critic round 1 (2026-11-08) */
.trow ul { padding-bottom: var(--s-7); }   /* the payment marks sat 24 px above the dark sheet's rounded top */
.prose { padding-top: var(--s-7); }   /* text pages: the headline sat 36 px under the pill */
@media (min-width: 768px) { .prose { padding-top: var(--s-8); } }
.page-answer .answer-top { min-height: 0; }   /* a full-screen min-height left ~280 px of white under the first button at 390 */
.prose a.btn-outline { color: var(--ink); }   /* ".prose a.btn" (white, for the filled button) made the outline button's label invisible */
.page-answer .answer-hero { margin-block: var(--s-5); }
@media (max-width: 767px) and (min-height: 700px) { .page-answer .answer-hero picture img { height: 200px; } }   /* 20 px less crop on a tall phone (a short 360x640 screen keeps 220: there the button stays below the fold instead of rising under the banner): with a three-line heading and a seven-line lead the main button sat 2 px above the consent banner at 390x844; now >= 12 px (tests/consent-fit.mjs) */
.site-footer { padding-top: var(--sec-y); }
.foot { gap: var(--s-3); }
@media (min-width: 768px) { .price-grid { align-content: start; } .price-grid > .ladder { align-self: start; } }   /* the table's top rule lines up with the headline, like the other two-column chapters */
.who > * { max-width: 46rem; }
@media (min-width: 1024px) { .who { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); align-items: start; } .who > * { grid-column: 1; } .who > .company { grid-column: 2; grid-row: 1 / span 3; } }   /* two columns across the box: who we are left, the company facts right */

/* the floating header: a white pill exactly as wide as the content box, logo left, the section links in the middle, ONE compact CTA right. Not in the studio (own top bar).
   On the landing it floats OVER the hero (negative bottom margin of its own height), so the hero's --sec-y starts at the top of the page and the headline sits high. */
.site-header { position: sticky; top: var(--s-3); z-index: 30; width: calc(100% - 2 * var(--gutter)); max-width: var(--content); min-height: var(--hdr);
  margin: var(--s-3) auto 0; padding: var(--s-1) var(--s-2) var(--s-1) var(--s-5); display: flex; align-items: center; gap: var(--s-5);
  background: var(--bg); border: 0; border-radius: var(--r-float); box-shadow: 0 0 0 1px var(--line), var(--shadow-m); }
body.page-landing .site-header { margin-bottom: calc(-1 * (var(--hdr) + var(--s-3))); }
.site-header .wordmark { min-height: 44px; display: flex; align-items: center; margin-right: auto; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: var(--s-1); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-btn); color: var(--ink); text-decoration: none; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; }
.nav a:hover { background: var(--tint1); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s-5); border-radius: var(--r-btn); white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-small); line-height: var(--lh-small); text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg); outline: 2px solid var(--btn-bg); outline-offset: -2px; }   /* an outline, not a border or shadow: it is a control inside the pill (rule nested-card) */
.nav-cta:hover { background: var(--brand-press); outline-color: var(--brand-press); }
/* while the page's own primary button is on screen the header CTA is an outline (ONE filled action per screen, rule one-action); it fills once that button has scrolled away, or at once on a page without one (motion.js) */
.nav-cta:not(.on) { background: var(--bg); color: var(--brand); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--r-btn); background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { background: var(--tint1); }
.nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
@media (max-width: 1023px) {   /* the links are a dropdown under the pill; opening it moves nothing (it is out of the flow) */
  .nav.open { display: block; position: absolute; top: calc(100% + var(--s-2)); left: 0; right: 0; z-index: 31; padding: var(--s-2); background: var(--bg); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line), var(--shadow-m); }
  .nav.open ul { flex-direction: column; gap: 0; }
  .nav.open a { width: 100%; min-height: 48px; padding: 0 var(--s-4); font-size: var(--fs-body); }
}
@media (max-width: 767px) { .site-header { gap: var(--s-1); } }
.page-studio .nav, .page-studio .nav-cta, .page-studio .nav-toggle, .page-betalen .nav, .page-betalen .nav-cta, .page-betalen .nav-toggle { display: none; }   /* the payment page carries no way out but its own back link */
@media (min-width: 1024px) { .nav { display: block; } }
@media (max-width: 767px) { body:not(.page-studio) .site-header { padding: 0 var(--s-1) 0 var(--s-4); } .nav-cta { min-height: 40px; padding: 0 var(--s-4); } body:not(.page-studio) .site-header .wordmark img { height: 22px; width: auto; } }
html:has(body:not(.page-studio)) { scroll-padding-top: calc(var(--hdr-space) + var(--s-3)); }

/* hero: --sec-y above and below like every section; the pill floats inside the top padding. No min-height (it left ~170 px of air over the headline at 1440 x 900). */
.page-landing .hero { padding-block: var(--sec-y); min-height: 0; }
@media (min-width: 768px) { .page-landing .hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 700px); } .frame { width: min(100%, calc(100svh - 2 * var(--sec-y))); } }   /* 700: the painting inside the 24 px mat is 652 px = 45% of 1440 (rule media-width), and 700 + 2 x 96 fits a 900 px screen */
@media (max-width: 767px) { .page-landing .hero { padding-top: calc(var(--hdr-space) + var(--s-3)); padding-bottom: var(--s-7); } }
@media (max-width: 767px) { .frame { padding: var(--s-2); } }
/* tablet and small laptop (768 to 1199): the hero stacks, text and button first, the picture under it on the same left edge. Two columns from 1200 only: below that the
   700 px picture left the headline a 200 px column (one word per line at 768, the comma of "schilderij," past its column at 1024; it was so on the base too) */
@media (min-width: 768px) and (max-width: 1199px) { .hero, .page-landing .hero { grid-template-columns: minmax(0, 1fr); } .page-landing .hero .frame { margin-inline: 0; } }
/* 768 to 1023: chapters stack like on a phone (two columns left the text a 266 px column: a 4-line heading, a squeezed price table); the guarantees go 2 x 2. Two columns from 1024. */
@media (min-width: 768px) and (max-width: 1023px) {
  .chapter-grid, .chapter-grid.flip, .price-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  .chapter-grid.flip .chapter-visual { order: 0; } .price-grid > :is(h2, .lead, .ladder, .chapter-cta) { grid-area: auto; }   /* :is() outranks the named areas set on .price-grid > h2 etc. */
  .guar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.who .company dd { overflow-wrap: anywhere; }   /* the e-mail address never runs past its column */
/* critic round 2 (2026-11-08) */
@media (max-width: 767px) { .who .company div { grid-template-columns: 7rem minmax(0, 1fr); } }   /* the e-mail address fits on one line at 390 (it broke as "...co / m") */
@media (min-width: 1200px) { .page-landing .hero .frame { margin-inline: auto 0; } }   /* the picture card ends on the container edge when the screen height makes it narrower than its column (1280 x 800) */
@media (max-width: 767px) { .page-landing .hero { padding-top: calc(var(--hdr-space) + var(--s-5)); } }   /* 24 px of air under the pill (was 12); the button stays above the fold */
@media (min-width: 768px) and (max-width: 1199px) { .page-landing .hero { padding-top: calc(var(--hdr-space) + var(--s-7)); } }   /* stacked hero, no height limit: 48 px under the pill */   /* an 8 px mat on a phone: the painting is 334 of 390 px = 86% (rule media-width 85%; 12 px left it at 84%) */
@media (min-width: 768px) { .wipe-tag { font-size: var(--fs-body); line-height: var(--lh-body); } }   /* "Jouw foto" / "Schilderij" at the 18 px body size on desktop (rule body-size) */

/* how it works: the ONE dark band on the page (Wispr's contrasting sheet), near-black with the paper text colours. On a phone (and without JS) three stacked step cards,
   each with its picture; from 992 px with JS a sticky stage (see MOTION). */
.page-landing main > .chapter.how { background: var(--ink); color: var(--on-dark); }
.how h2 { color: var(--brand-ink); }
.how-steps { list-style: none; display: grid; gap: var(--s-5); margin-top: var(--head-gap); counter-reset: none; }
.how-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2) var(--s-4); align-items: start; }
.how-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-dot); background: var(--brand); color: var(--brand-ink); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-body); }
.how-copy { display: grid; gap: var(--s-1); }
.how-copy strong { color: var(--brand-ink); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-heading); line-height: var(--lh-heading); }
.how-copy span { color: var(--on-dark); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.how-step > .how-fig { grid-column: 1 / -1; margin-top: var(--s-3); }
.how-fig > picture img, .how-fig > .room { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-art); }   /* the figure's own picture only: the room's photo and the painting on its wall keep their own sizing */
.how-fig .room-wall { --r: 1; --z: 1.8; --vy: .345; }
@media (min-width: 992px) { .how-fig .room-wall { --z: 1.55; --vy: .30; } }   /* the sofa photo again, framed square: the 1600 px file stays 1,5x sharp at the 662 px stage picture (z 1,8 showed it at 1,40x); vy is just under cy * z * .6667 / r (the largest that keeps the window inside the photo), so the window top is the photo top and the canvas has the most wall above it the photo has */
.how-rail { display: none; }
@media (min-width: 768px) and (max-width: 991px) { .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .how-step { grid-template-columns: 1fr; } }

/* ===================== MOTION (isolated: this block + assets/motion.js; delete both and the page is still, complete and correct) =====================
   Wispr Flow, the cheap parts: native scroll (no smoothing library, no snap, no scroll-jacking), ONE sticky stage, a scroll-drawn underline, headline reveals once.
   Under reduced motion nothing animates; the stage still steps (that is content, not motion) without the crossfade. */
.btn { transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.js .cta-bar { transition: transform var(--t-mid) var(--ease-out), visibility 0s var(--t-mid); }
.js .cta-bar.show { transition: transform var(--t-mid) var(--ease-out), visibility 0s; }
.nav-cta { transition: background-color var(--t-mid) var(--ease-out), color var(--t-mid) var(--ease-out); }
/* 2026-11-23 (owner, a standing rule: DESIGN.md "Header"): the pinned pill hides on scroll down and returns on ANY scroll up, on every page and width (motion.js). Transform only, so
   nothing in the page moves; 300 ms; it lands fully above the viewport (its own height + the 12 px it floats from the top + its shadow). The pinned bottom bars are not part of this. */
.site-header { transition: transform 300ms var(--ease-out); }
.site-header.hdr-away { transform: translateY(calc(-100% - var(--s-3) - var(--s-4))); }
/* reveals: headings, text and pictures rise 16 px from 50% opacity, ONCE, as they enter (motion.js adds .rv, then .in). Never a button, the upload block or the hero.
   Never below 50%: text entering at the screen edge stays readable for a 65-year-old. */
.rv { opacity: 0; transform: translateY(var(--s-4)); transition: opacity 480ms var(--ease-out), transform 1s var(--ease); }   /* 2026-11-30 premium pass: from 0, opacity quick and the rise long and soft (Apple, measured 2026-10-26: opacity 0,3 s, transform 1,2 s on .19,1,.22,1; here 0,48 and 1 s, 16 px) */
.rv.in { opacity: 1; transform: none; }
/* the scroll-drawn underline under one key headline: the stroke follows the scroll and stays drawn once complete */
.uline { display: block; width: min(220px, 60%); height: 14px; margin-top: var(--s-2); overflow: visible; }
.uline path { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
/* the sticky stage (>= 992 px, JS on): the section is a tall track; inside it one screen stays pinned while the scroll walks three steps. A rail on the left fills with progress,
   the active step is white, the others dimmed; the picture on the right crossfades in 220 ms. */
@media (min-width: 992px) {
  .js .how .how-track { height: 240vh; }   /* the stage pins centred at its own height (motion.js --sh), so the track no longer carries a screen of empty dark at its end */
  /* the list dissolves into the stage grid (display: contents), so the SAME three figures (no hidden copies) overlap in one cell on the right: number | step text | picture */
  .js .how .how-stage { position: sticky; top: max(0px, calc((100vh - var(--sh, 100vh)) / 2)); height: auto; min-height: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.55fr); grid-template-rows: auto repeat(3, auto);
    column-gap: var(--s-4); row-gap: var(--s-5); align-content: center; align-items: start; }
  .js .how :is(.how-text, .how-steps, .how-step) { display: contents; }
  .js .how h2 { grid-column: 1 / 3; grid-row: 1; margin-bottom: var(--s-3); }
  .js .how .how-step:nth-child(1) > :not(.how-fig) { grid-row: 2; } .js .how .how-step:nth-child(2) > :not(.how-fig) { grid-row: 3; } .js .how .how-step:nth-child(3) > :not(.how-fig) { grid-row: 4; }
  .js .how .how-n { grid-column: 1; position: relative; z-index: 1; }
  .js .how .how-copy { grid-column: 2; }
  /* the rail runs behind the numbers and fills with progress */
  .js .how .how-rail { display: block; grid-column: 1; grid-row: 2 / 5; justify-self: center; align-self: stretch; width: 2px; margin-block: var(--s-5); background: var(--muted); }
  .js .how .how-rail i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--brand-ink); }
  .js .how .how-step > .how-fig { grid-column: 3; grid-row: 1 / 5; align-self: center; margin: 0 0 0 calc(var(--col-gap) - var(--s-4)); width: auto; max-height: calc(100vh - 2 * var(--s-7)); aspect-ratio: 1 / 1;
    opacity: 0; transition: opacity 220ms var(--ease-out); }
  .js .how .how-step.is-on > .how-fig { opacity: 1; }
  .js .how .how-fig > picture img, .js .how .how-fig > .room { height: 100%; }
  .js .how .how-step .how-copy :is(strong, span) { color: var(--on-dark-dim); transition: color 220ms var(--ease-out); }
  .js .how .how-step.is-on .how-copy strong { color: var(--brand-ink); }
  .js .how .how-step.is-on .how-copy span { color: var(--on-dark); }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .js .how .how-step > .how-fig, .js .how .how-step .how-copy :is(strong, span), .nav-cta, body:not(.page-studio) .site-header { transition: none; }
}
@media print { .rv { opacity: 1; transform: none; } }
/* wheel inertia (motion.js 6, Lenis 1.3.26 MIT: its own rules, the parts that matter): the page keeps its height, a stopped page clips, a marked box keeps its scroll, no native smooth scroll fighting it */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* scroll-linked, the one scrubbed effect (Wispr's manner without GSAP): a chapter picture grows from 94% to full as it comes up the screen. CSS scroll-driven animation, transform only, wide screens with
   a mouse; elsewhere (and without support) the picture is simply there */
@keyframes scrub { from { transform: scale(.94); } to { transform: none; } }
@supports (animation-timeline: view()) { @media (min-width: 768px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-landing .chapter-visual img { animation: scrub linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; transform-origin: 50% 80%; } } }
/* 2026-11-30 studio steps: the step row fills over 420 ms (the registered --n walks 1 to 4, only the fill is painted), the new step fades and rises in (.screen above; the old one is gone at once and the page is
   already at the top, see studio.js mount), the pinned order bar arrives with the step (it is part of the screen, so it fades and rises 12 px with it; a separate slide put it below the fold for 0,5 s and failed stylefirst A / portrait G), its heading takes focus without a ring. */
@property --n { syntax: "<number>"; inherits: true; initial-value: 1; }
.studio { transition: --n 420ms var(--ease); }
.screen > h1:focus { outline: 0; }
@media (prefers-reduced-motion: reduce) { .screen, .studio { animation: none; transition: none; } }

/* the studio wears the same pill (coordinator 2026-11-08), not sticky: the progress row sits under it and each step owns the screen. Its progress row lines up with the pill's inner edge. */
/* 2026-11-23 (review): NOT pinned inside the studio, as before. A pinned header that returns on scroll up landed on the studio's own pinned panels (the order card, the product
   stage, the review side: top 16 px) and could cover the field the page focuses after an invalid submit. Inside the steps the header scrolls with the page: the step row and the
   pinned panels carry the navigation (DESIGN.md "Header"). motion.js hides and returns only a PINNED header, so nothing moves here. */
.page-studio .site-header { position: relative; top: auto; margin-bottom: var(--s-3); }
.page-betalen .site-header { position: relative; top: auto; }   /* the sticky pill floated over the embedded payment form's fields and labels when scrolled (390, 2026-11-10); this page has no nav to keep in reach */
@media (max-width: 767px) { .site-header { padding: 0 var(--s-1) 0 var(--s-4); } .site-header .wordmark img { height: 22px; width: auto; } }
/* phones: one CTA at a time. While the sticky bottom bar is up, the header CTA steps aside (coordinator 2026-11-08); without JS the bar is always there, so the header CTA is never shown */
@media (max-width: 899px) { .nav-cta.bar-up { visibility: hidden; } html:not(.js) .page-landing .nav-cta { display: none; } }   /* the bottom bar is the action: the header button keeps its slot (visibility, never display), so the menu button does not jump 140 px each time the bar comes and goes; a class landing.js sets, not body:has(#sticky.show), which restyled the whole page on every toggle (tests/phonescroll.mjs) */
@media (min-width: 768px) { .page-studio .progress { margin-inline: 0; padding-inline: 0; } }   /* the progress row's hairline spans the content box, edge to edge with the pill above it */
.assist-delivery:empty { display: none; }   /* claims.deliveryVerified false: the .undated twin is empty and the line is not there at all */
.assist-delivery { margin-top: var(--s-3); }

/* the example gallery: each card is one link to the studio start (round 2, 2026-11-12); the text keeps its colours, the call to action is the link colour and underlines on hover */
.more-card { display: block; color: inherit; text-decoration: none; border-radius: var(--r-art); }
.more-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.more-cta { display: block; margin-top: var(--s-1); color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .more-card .more-cta { text-decoration-color: transparent; } .more-card:hover .more-cta { text-decoration-color: currentColor; } }
@media (max-width: 767px) { .more-card:focus-visible { outline-offset: -3px; } }   /* the phone gallery scrolls sideways and clips anything outside a card: the ring sits just inside the card edge */

/* findability pages (data/topics.json, build.mjs topicHtml): a quiet breadcrumb above the H1 and the example grid sized to the prose column (two per row on desktop, the swipe row on phones) */
.page-topic .crumbs { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.page-topic .crumbs a { color: var(--g2); }
.page-topic .topic-grid { padding-left: 0; }
@media (min-width: 768px) { .page-topic .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .page-topic .answer-hero picture img { height: 200px; } }   /* desktop: "Kies een foto" ends at least 12 px above the consent banner at 1440x900 on every topic page, also with a two-line H1 (tests/consent-fit.mjs; 260 put it 38 px under the banner) */
/* phones: the breadcrumb is for screen readers only (the BreadcrumbList JSON-LD stays) and, on a tall phone, a 140 px hero crop with a smaller "De foto" inset, so the button clears the consent banner by 12 px or more at 390x844.
   A short phone (360x640) keeps the 220 px crop: there the button stays below the first screen, where the banner never covers it; a shorter crop would lift it under the banner. */
@media (max-width: 767px) { .page-topic .crumbs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 767px) and (min-height: 700px) {
  .page-topic .answer-hero picture img { height: 140px; object-position: 50% 25%; }
  .page-topic .answer-hero .polaroid { width: 84px; padding: 4px 4px 0; left: var(--s-2); bottom: var(--s-2); }
  .page-topic .answer-hero .polaroid span { padding: var(--s-1) 0; }
}
/* ---- bezorgen, configurator style (2026-11-12, studio.js rBezorgen): a summary card that stays in view, the form in three short groups, the short made-to-order notice in body text
   right above "Bestellen en betalen". The button is in the flow on this screen at every width (the notice must sit directly above it; nothing pinned can cover a field). The older
   .review / .rev-* rules above no longer match anything on this screen. */
.screen[data-screen="bezorgen"] { display: block; }
.co { display: grid; gap: var(--s-5); margin-top: var(--s-5); }
.co-card details > summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--s-3); min-height: 64px; padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); cursor: pointer; }
.co-card details > summary::-webkit-details-marker { display: none; }
.co-card details[open] > summary { border-radius: var(--r-m) var(--r-m) 0 0; }
.co-card .rev-thumb { display: block; margin: 0; }
.co-card .rev-thumb img { display: block; width: 40px; height: 53px; object-fit: cover; border-radius: var(--r-art); background: var(--bg); }
.co-card .co-lijst img { box-shadow: 0 0 0 3px var(--frame, var(--ink)), 0 0 0 4px var(--line); }
.co-card .co-canvas img { box-shadow: 2px 2px 0 var(--line); }
.co-line { display: grid; min-width: 0; line-height: var(--lh-small); }
.co-line b { font-weight: 600; }
.co-line small { color: var(--g2); font-size: var(--fs-small); overflow-wrap: anywhere; }
.co-price { font-weight: 600; white-space: nowrap; }
.co-show { font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 3px; }
.co-card details[open] .co-show { display: none; }
.co-card .rows { margin-top: 0; padding: 0 var(--s-4); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-m) var(--r-m); }
.co-card .rows > div:last-child { border-bottom: 0; }
.co-card .rows .link { min-height: 44px; }
.co-cap { margin-top: var(--s-2); color: var(--g2); }
.co-group { min-width: 0; margin: var(--s-6) 0 0; padding: 0; border: 0; }
.co-group:first-child { margin-top: 0; }
.co-group > legend { padding: 0; font-weight: 700; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.co-group > .pair, .co-group > .field:first-of-type { margin-top: var(--s-3); }
.co-gift { margin: var(--s-1) 0 0; color: var(--g2); }   /* 2026-11-19: "Is het een cadeau? ..." moved here from the size screen: this is where the receiver's name and address are typed */
.co-group .ctry { margin-top: var(--s-2); }
.co-sub { margin-top: var(--s-5); }
.co-group .err:empty { display: none; }
.co-formerr { margin-top: var(--s-5); font-weight: 600; }
.co-formerr:empty { display: none; }
.co-notice { margin-top: var(--s-6); max-width: 40rem; color: var(--g2); font-size: var(--fs-small); line-height: var(--lh-small); }
.co-notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.screen[data-screen="bezorgen"] .actionbar { position: static; margin: var(--s-4) 0 0; padding: 0; background: none; border-top: 0; box-shadow: none; }
.screen[data-screen="bezorgen"] .actionbar .btn { width: 100%; max-width: none; margin-left: 0; }
@media (min-width: 768px) {
  .co { grid-template-columns: minmax(0, 1fr) 24rem; gap: var(--s-7); align-items: start; }   /* 24rem: the product row (Lijst, 50 x 70 cm, zwart + Wijzig) fits one line */
  .co-card { grid-column: 2; grid-row: 1; position: sticky; top: var(--s-4); }
  .co-form { grid-column: 1; grid-row: 1; max-width: 40rem; }
  .co-card details > summary { pointer-events: none; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s-3); padding: var(--s-5) var(--s-4) var(--s-4); text-align: center; }
  .co-card .rev-thumb img { width: 150px; height: 200px; }
  .co-card .co-price, .co-show { display: none; }
  .screen[data-screen="bezorgen"] .actionbar .btn { width: auto; min-width: 22rem; }
}
.co .field { align-content: start; }
.co .row2, .co .row3 { align-items: start; }
@media (max-width: 479px) {
  .co .row3 { grid-template-columns: 1fr 1fr; row-gap: 0; }   /* row-gap 0: each .field already has its 24 px top margin. phone: the postcode gets the full width, so its example error fits on one or two lines and never stretches its neighbours */
  .co .row3 > .field:first-child { grid-column: 1 / -1; }
  .screen[data-screen="bezorgen"] .actionbar .btn { font-size: var(--fs-body); white-space: nowrap; }   /* "Bestellen en betalen, EUR 99,95" stays one line at 360 */
}
.co-deliv { margin-top: var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); text-align: center; }
@media (min-width: 768px) { .co-deliv { display: none; } }   /* from 768 the open card shows the delivery row */

/* round 7 (2026-11-13): the last step on a phone was 1654 px down to "Bestellen en betalen" (390x844). Same order, less dead space: postcode and house number share a row, the optional
   Toevoeging opens behind a link, the e-mail helper line that repeated its heading is gone (#mailsug only carries a typo suggestion now), tighter field and group margins. tests/round7.mjs L */
#mailsug:empty { display: none; }
.add-open { min-height: 32px; padding: 0; margin-top: var(--s-2); font-size: var(--fs-small); }
.add-field[hidden] { display: none; }
@media (max-width: 767px) {
  .co .row3 { grid-template-columns: 1fr 1fr; }
  .co .row3 > .field:first-child { grid-column: auto; }
  .co .field { margin-top: var(--s-4); }
  .co-group { margin-top: var(--s-5); }
  .co-group:first-child { margin-top: 0; }
  .co-sub { margin-top: var(--s-4); }
  .co-notice { margin-top: var(--s-5); }
}

/* pick step on a phone, portrait first (feat/kies-first, 2026-11-13): compact heading, the hint as one small line, the portraits right under it, the AI note and the "Je foto / Wijzig" row BELOW them (same words), a shorter pinned bar. tests/kiesfirst.mjs measures: 390x844 and 360x740 nothing of the first portrait under the bar, 360x640 at most 15% */
@media (max-width: 767px) {
  .screen[data-screen="kies"] > h1 { font-size: var(--fs-heading); line-height: var(--lh-heading); }
  .screen[data-screen="kies"] > .lead { margin-top: var(--s-1); font-size: var(--fs-micro); line-height: var(--lh-micro); }
  .screen[data-screen="kies"] > .pick-grid { margin-top: 0; padding-top: var(--s-3); }
  .screen[data-screen="kies"] > .ai-note { order: 1; margin-top: var(--s-2); }
  .screen[data-screen="kies"] > .photo-chip { order: 2; margin-bottom: var(--s-6); }
  .screen[data-screen="kies"] > .actionbar { order: 3; gap: var(--s-2); padding-top: var(--s-3); padding-bottom: max(var(--s-3), var(--safe-b)); }
  .screen[data-screen="kies"] > .actionbar .btn { min-height: 48px; }
  .screen[data-screen="kies"] > .actionbar .cta-note { font-size: var(--fs-micro); line-height: var(--lh-micro); }
  html:has([data-screen="kies"]) { scroll-padding-bottom: 148px; }   /* the bar is about 118 px here (button 48 + two note lines + padding): bar height + 24 or more */
}

/* extra prints (branch extra-copies): the size screen's one-line offer that opens into the visitor's own portraits, and the per-print rows on the pay page. Tokens only. */
.copies-open { display: grid; gap: var(--s-1); width: 100%; min-height: 56px; margin-top: var(--s-5); padding: var(--s-3) var(--s-4); text-align: left; background: var(--tint1); border: 1px solid var(--line); border-radius: var(--r-m); font: inherit; color: var(--ink); cursor: pointer; }
.copies-open:hover { border-color: var(--brand); }
/* from 768 up the closed offer is TWO lines (title, then offer and end date on one line): the size screen's buy button sits in the column's flow there and must stay on the first screen at 1440 x 900 (tests/buttons.mjs) */
@media (min-width: 768px) { .copies-open { display: block; } .copies-open b { display: block; margin-bottom: var(--s-1); } .copies-open span { display: inline; } .copies-open .copies-until::before { content: ", "; } }
.copies-open b, .copies-h b { font-weight: 600; }
.copies-open span, .copies-h span { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); }
.copies-box { margin-top: var(--s-5); padding: var(--s-4); background: var(--tint1); border-radius: var(--r-m); }
.copies-h { display: grid; gap: var(--s-1); }
.copies-list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.copies-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "img what del" "img price price"; column-gap: var(--s-3); align-items: center; padding: var(--s-2); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); }
.copies-row img { grid-area: img; width: 48px; height: 64px; object-fit: cover; border-radius: var(--r-s); }
.copies-what { grid-area: what; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); min-width: 0; }
.copies-size select { min-height: 44px; padding: 0 var(--s-2); font: inherit; font-size: var(--fs-small); color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: var(--r-m); }
.copies-price { grid-area: price; white-space: nowrap; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); font-weight: 600; }
.copies-del { grid-area: del; min-height: 44px; min-width: 44px; padding: 0 var(--s-3); background: none; border: 1px solid var(--line); border-radius: var(--r-m); font: inherit; font-size: var(--fs-small); color: var(--ink); cursor: pointer; }
.copies-del:hover { border-color: var(--brand); }
.copies-pick { margin-top: var(--s-3); }
.copies-thumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.copies-thumb { display: grid; justify-items: center; gap: var(--s-1); width: 84px; min-height: 44px; padding: var(--s-1); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); font: inherit; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--ink); cursor: pointer; }
.copies-thumb:hover { border-color: var(--brand); }
.copies-thumb img { width: 60px; height: 80px; object-fit: cover; border-radius: var(--r-s); }
.copies-thumb span { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.copies-note { margin-top: var(--s-3); color: var(--muted); }
.betalen-sum:has(.betalen-thumb:not([hidden])):has(.betalen-items:not([hidden])) .betalen-thumb { grid-row: 1 / span 4; align-self: start; }   /* several prints: the thumbnail spans the extra row too, so the method row stays in the text column */
.betalen-items { display: grid; gap: var(--s-1); margin: 0; }
.betalen-items[hidden] { display: none; }
.betalen-items > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); }
.betalen-items dt { color: var(--ink); overflow-wrap: anywhere; }
.betalen-items dd { margin: 0; text-align: right; white-space: nowrap; color: var(--ink); }
.betalen-items .off dt, .betalen-items .off dd { color: var(--muted); }
/* seasonal line (assets/season.js): one calm block, a date and the time left. Plain text, no animation, digits are tabular so they do not shift; the countdown keeps two lines of room on a phone so it never reflows the page */
.season { margin: var(--s-4) 0 0; text-align: left; }
.season[hidden] { display: none; }
.season p { margin: 0; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--ink); }
.season .season-date { font-weight: 600; }
.season .season-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.season-pay { margin: var(--s-3) 0 var(--s-4); }
.actionbar .season { flex: 1 1 100%; margin: 0; }
@media (max-width: 480px) { .season .season-count { min-height: 2lh; } }
@media (prefers-reduced-motion: reduce) { .season, .season * { transition: none; animation: none; } }
.season .season-offer { font-weight: 600; color: var(--brand); }
/* size screen: the season block is the last child of the screen. Phone (flex order, 2026-11-19: the same order as from 768): after the sizes the season's date line, then the hairline
   and the mail row as the last thing, then the pinned bar; everything scrolls with the page and covers nothing. Gaps on the 8 px grid: 32 px under the sizes (so on the first
   390 x 844 screen the next line starts under the pinned bar, never as a sliver above it), 24 px between the date line and the row, 32 px before the bar. No dead gap: the generic
   "second last child" margin of the phone bar rule is overridden here. From 768 up: under the buy button in the summary column, so the button stays on the first screen at 1440 x 900. */
.screen[data-screen="formaat"] > .season { margin: var(--s-4) 0 0; }
@media (max-width: 767px) {
  .screen[data-screen="formaat"] > .season { order: 1; margin: var(--s-6) 0; }
  .screen[data-screen="formaat"]:has(> .lm-row) > .season { margin-bottom: 0; }
  .screen[data-screen="formaat"] > .lm-row { order: 2; margin: var(--s-6) 0; }
  .screen[data-screen="formaat"]:has(> .season:not([hidden])) > .lm-row { margin-top: var(--s-5); }
  .screen[data-screen="formaat"] > .actionbar { order: 3; margin-bottom: 0; }
}
@media (min-width: 768px) {
  .screen[data-screen="formaat"] { grid-template-rows: auto auto auto 1fr; }
  [data-screen="formaat"] > .season { grid-column: 2; grid-row: 4; }
}
/* pick screen: the date line is content. Phone: right above the pinned bar (after the AI note and the photo chip, flex order). From 768 up: under the buy button, right-aligned (it was at the very bottom, below the pictures, away from the button). */
.screen[data-screen="kies"] > .season { margin: var(--s-2) 0 0; }
@media (max-width: 767px) { .screen[data-screen="kies"] > .season { order: 0; margin: var(--s-4) 0 0; } }   /* release 1: above the AI note and the photo row (order 1 and 2), so those two stay right above the pinned bar when scrolled to the end (tests/kiesfirst.mjs) */
@media (min-width: 768px) { .screen[data-screen="kies"] > .season { grid-column: 1 / -1; grid-row: 6; text-align: right; } }

/* seasonal edition label on the pick screen (release 1): a small chip on the portrait, top left, never over the zoom button (top right). Tokens only. */
.pick-edition { position: absolute; left: var(--s-2); top: var(--s-2); max-width: calc(100% - 64px); padding: var(--s-1) var(--s-2); background: var(--bg); color: var(--ink); border-radius: var(--r-s); font-size: var(--fs-micro); line-height: var(--lh-micro); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
/* lead flow "Mail me mijn portret" on the pick step and the code on the order step (docs/LEADS-GO.md; drawn only with LEADS on) */
/* feat/leads-on (owner 2026-11-18): ONE quiet closed row, a hairline above it, no box, no tint, no pill: the approved heading as a text toggle in the accent (like "Meer opties")
   with its sentence under it in muted grey; the form opens in place under it. The buy button stays the one filled action. */
.lm-row { margin-top: var(--s-5); border-top: 1px solid var(--line); max-width: 44rem; min-width: 0; }
.lm-h { margin: 0; font-family: var(--font); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; text-wrap: wrap; }   /* not the h2 display face or its balanced wrap: the row reads as one quiet line of text */
.lm-toggle { display: grid; width: 100%; min-height: 48px; padding: var(--s-3) 0; border: 0; background: transparent; color: var(--ink); font-family: var(--font); font-size: var(--fs-small); line-height: var(--lh-small); text-align: left; cursor: pointer; }
.lm-title { display: inline-flex; align-items: center; color: var(--brand); font-weight: 600; }
.lm-title::after { content: ""; width: 8px; height: 8px; margin-left: var(--s-2); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s var(--ease); }
.lm-toggle[aria-expanded="true"] .lm-title::after { transform: translateY(2px) rotate(-135deg); }
.lm-sub { margin: 0; color: var(--g2); font-weight: 400; }
.lm-panel { display: grid; gap: var(--s-3); padding: 0 0 var(--s-3); max-width: 34rem; min-width: 0; }
.lm-panel[hidden] { display: none; }
.lm-panel .field, .lm-panel .check { margin: 0; }
.lm-panel .btn { justify-self: start; }
.lm-panel .err:empty { display: none; }
.lm-done { margin: 0; padding: var(--s-3) 0; font-weight: 600; overflow-wrap: anywhere; }
.code-err { margin: var(--s-4) 0 0; }
.actionbar .sum small.code-sum { color: var(--brand); font-weight: 600; }   /* the discount, once, next to the reduced total on the pinned button */
/* from 1024 the result screen puts the versions left and the button column right: the row goes UNDER the versions, across both columns, never into the button column */
@media (min-width: 1024px) { .screen[data-screen="kies"] > .lm-row { grid-column: 1 / -1; grid-row: 9; margin-top: var(--s-6); } }

/* size screen, the children of the screen under the choices (2026-11-19: no gift hint and no delivery/reprint line any more, so the button follows the choices directly).
   Phone (flex column): the sizes, the quiet extra-prints block (remembrance only), the season line, the mail row, then the pinned bar (order 1, 2 and 3 above).
   From 768 up (grid, the hero spans every row on the left): the choices, the buy button, THEN the quiet extra-prints block, the season line and the mail row, so the button of the
   longest variant (Lijst with its frame chips) stays on the first screen (tests/sizehero.mjs F and B). The last row absorbs the rest. */
@media (min-width: 768px) {
  .screen[data-screen="formaat"] { grid-template-rows: auto auto auto auto auto 1fr; }
  [data-screen="formaat"] > .actionbar { grid-column: 2; grid-row: 3; }
  [data-screen="formaat"] > #copies { grid-column: 2; grid-row: 4; }
  [data-screen="formaat"] > .season { grid-column: 2; grid-row: 5; }
  [data-screen="formaat"] > .lm-row { grid-column: 2; grid-row: 6; }
}

/* ---------------- style first (owner, 2026-11-15/16): the style picker (stijl) and the result with TWO takes (kies). tests/stylefirst.mjs renders both at 390 and 1440 ----------------
   Picker: one large sample of the selected entry (a real picture of the visitor's animal), the entries as cards, the button pinned on a phone. Phone: the sample with its name and line
   beside it, the cards in one row of thumbnails; from 768 the sample left, heading, cards with their line and the button right. */
.studio[data-step="stijl"] { --n: 1; } .studio[data-step="wacht"] { --n: 2; }
.screen[data-screen="stijl"] > h1 { font-size: var(--fs-heading); line-height: var(--lh-heading); max-width: 24ch; }
.screen[data-screen="stijl"] > .lead { max-width: 46ch; }
.style-hero { margin: var(--s-4) 0 0; display: flex; gap: var(--s-4); align-items: flex-end; }
.style-hero img { flex: 0 0 auto; width: clamp(140px, 52%, calc((100svh - 600px) * .75)); height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-l); background: var(--paper); }
.style-hero figcaption { display: grid; gap: var(--s-2); min-width: 0; padding-bottom: var(--s-1); }
.style-hero figcaption b { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.style-sel-line { font-size: var(--fs-small); line-height: var(--lh-small); }
.style-sample { color: var(--g2); }
.style-opts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-3); margin-top: var(--s-5); max-width: 34rem; }
.style-opt { display: grid; align-content: start; gap: var(--s-2); padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: center; cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.style-opt img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-s); background: var(--paper); transition: box-shadow .15s var(--ease); }
.style-opt[aria-checked="true"] img { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent); }
.style-opt .style-text { display: grid; gap: 2px; min-width: 0; }
.style-name { display: block; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; overflow-wrap: anywhere; }
.style-until { display: inline-block; justify-self: center; font-size: var(--fs-micro); line-height: var(--lh-micro); padding: 0 var(--s-2); border-radius: var(--r-chip); background: var(--tint1); color: var(--ink); white-space: nowrap; }
.style-opt .style-line { display: none; }
.style-opt:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--r-s); }
.screen[data-screen="stijl"] .style-back { min-height: 44px; padding: 0; flex: 1 1 100%; text-align: left; }
/* style order, the picker without a photo: an upload refusal under the button (the button opens the chooser again), the quiet way back to an earlier photo under the lead */
.screen[data-screen="stijl"] .first-err { flex: 1 1 100%; max-width: none; padding: var(--s-3) var(--s-4); }
.screen[data-screen="stijl"] .first-err p { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); }
.screen[data-screen="stijl"] .first-err .btn { flex: none; margin: 0; min-height: 44px; }
.screen[data-screen="stijl"] .first-resume { margin: var(--s-2) 0 0; }
.screen[data-screen="stijl"] .first-resume a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 767px) {
  .screen[data-screen="stijl"] > .lead { margin-top: var(--s-2); font-size: var(--fs-small); line-height: var(--lh-small); }
  .style-opts { margin-top: var(--s-4); gap: var(--s-2); }
  .style-name { font-size: var(--fs-micro); line-height: var(--lh-micro); hyphens: auto; }   /* the names under the thumbnails: one or two short lines, never under the pinned bar */
  .style-until { padding: 0 var(--s-1); white-space: normal; max-width: 100%; justify-self: stretch; }   /* "t/m 20 november" wraps inside its thumbnail */
  /* review G (staging walk, 390 wide): with five or six tiles in ONE row a tile is 48 to 60 px, narrower than "Sinterklaas-" or "Lijntekening", so the labels were cut off. More than four tiles wrap into rows of three (about 100 px at 360), every label whole on one or two lines. */
  .style-opts.many { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-4); }
}
/* review 2026-11-18 (staging walk, the picker is the first screen from an ad): at 390x844 with the season band the "Sinterklaas-editie" label ran under the pinned bar. A smaller big example
   (its width now follows the screen height from 660 px instead of 600 px, never under 96 px) and 12 px gaps bring every tile label above the bar. On a short phone (667 px and less) the four
   tiles, the button and its note cannot all fit next to the big example at any size, so the big example is left out there: the tiles carry the samples and the chosen one is marked. */
@media (max-width: 767px) {
  .style-hero { margin-top: var(--s-3); align-items: center; }
  .style-hero img { width: clamp(96px, 34%, calc((100svh - 660px) * .75)); }
  .style-opts { margin-top: var(--s-3); }
}
@media (max-width: 767px) and (max-height: 760px) { .style-hero { display: none; } }
@media (min-width: 768px) {
  .screen[data-screen="stijl"] { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: var(--s-7); align-items: start; }
  .screen[data-screen="stijl"] > * { grid-column: 2; }
  .screen[data-screen="stijl"] > h1 { grid-row: 1; }
  .screen[data-screen="stijl"] > .lead { grid-row: 2; }
  .screen[data-screen="stijl"] > .style-opts { grid-row: 3; }
  .screen[data-screen="stijl"] > .actionbar { grid-row: 4; align-self: start; max-width: 34rem; margin-top: var(--s-5); }
  .screen[data-screen="stijl"] > .actionbar .btn { margin-left: 0; max-width: none; }   /* the button spans the column of the cards it belongs to */
  .screen[data-screen="stijl"] > .style-hero { grid-column: 1; grid-row: 1 / span 4; display: block; margin: 0; }
  .style-hero img { width: min(420px, 38vw, calc((100svh - 230px) * .75)); }
  .style-hero figcaption { margin-top: var(--s-2); }
  .style-hero figcaption b, .style-hero .style-sel-line { display: none; }   /* the cards carry the name and the line here */
  .style-opts { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .style-opt { grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: var(--s-4); text-align: left; padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s var(--ease), background-color .15s var(--ease); }
  .style-opt:hover { box-shadow: inset 0 0 0 1px var(--ink); }
  .style-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); background: var(--tint1); }
  .style-opt[aria-checked="true"] img { box-shadow: none; }
  .style-opt[aria-checked="true"] .style-until { background: var(--bg); }
  .style-name { font-size: var(--fs-body); line-height: var(--lh-body, 1.5); }
  .style-until { justify-self: start; }
  .style-opt .style-line { display: block; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
}

/* Result (owner 2026-11-16: "show two, and then have an option: show more options"): the TWO takes side by side at every width (on a phone both in view, half the content each), the
   chosen one marked; each has its "Kies deze", the ONE main button "Deze wil ik" sits right under them, then the closed "Meer opties". A third take ("Nog een versie") wraps to a new row.
   No pinned bar on this screen: the main button is in reach under the takes. Below: the other styles made, the lead form's place, the photo chip and the AI note. */
html:has([data-screen="kies"]) { scroll-padding-bottom: var(--s-5); }
.screen[data-screen="kies"] > h1 { max-width: 26ch; }
.screen[data-screen="kies"] > .result-style { margin-top: var(--s-1); }
.takes { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); max-width: 44rem; }
.take { position: relative; display: grid; align-content: start; gap: var(--s-2); min-width: 0; }
.take-pick { display: grid; gap: var(--s-2); width: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.take-pick.is-off { cursor: default; }
.take-frame { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden; background: var(--paper); transition: box-shadow .15s var(--ease); }
.take-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.take-fail { display: grid; place-items: center; }
.take[aria-current="true"] .take-frame { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent); }
.take-pick:focus-visible { outline: none; }
.take-pick:focus-visible .take-frame { outline: 3px solid var(--accent); outline-offset: 7px; }
.take-zoom { position: absolute; top: var(--s-2); right: var(--s-2); width: 44px; height: 44px; }   /* its own target beside the card, never inside it */
.take-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); min-height: 28px; }
.take-label { font-weight: 600; font-size: var(--fs-small); line-height: var(--lh-small); margin-right: auto; }
.take-sel { display: inline-flex; align-items: center; gap: var(--s-1); padding: 0 var(--s-2); border-radius: var(--r-chip); background: var(--accent); color: var(--bg); font-size: var(--fs-micro); line-height: var(--lh-micro); font-weight: 600; }
.take-sel::before { content: ""; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-1px) rotate(-45deg); }   /* the check mark, drawn (no glyph) */
.take-retry { min-height: 44px; padding: 0; font-size: var(--fs-small); justify-self: start; }
.result-cta { display: grid; gap: var(--s-2); margin-top: var(--s-4); max-width: 44rem; }
.result-cta .btn { width: 100%; }
.screen[data-screen="kies"] > #limit-note:empty { display: none; }
.more { margin-top: var(--s-3); max-width: 44rem; }
.more-toggle { width: 100%; min-height: 48px; }
.more-toggle::after { content: ""; width: 8px; height: 8px; margin-left: var(--s-2); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s var(--ease); }
.more-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.more-list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.more-item { display: grid; gap: 2px; width: 100%; min-height: 56px; padding: var(--s-3) var(--s-4); border: 0; border-radius: var(--r-l); background: var(--bg); color: var(--ink); font: inherit; text-align: left; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.more-item:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.more-item:disabled { cursor: default; color: var(--g2); box-shadow: inset 0 0 0 1px var(--line); }
.more-item .small { color: var(--g2); }
.more-note { margin: var(--s-1) var(--s-4) 0; }
.more-adjust { margin-top: var(--s-2); }
.collar-row { margin-top: var(--s-3); }
.collar-row .btn { min-height: 44px; }
.result-others { margin-top: var(--s-5); }
.result-thumbs { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.result-thumb { display: grid; gap: var(--s-1); justify-items: center; width: 72px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-micro); line-height: var(--lh-micro); text-align: center; cursor: pointer; }
.result-thumb img { display: block; width: 72px; height: 96px; object-fit: cover; border-radius: var(--r-s); background: var(--paper); }
.result-thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r-s); }
.result-hint { margin-top: var(--s-5); color: var(--g2); }
.screen[data-screen="kies"] > .photo-chip { margin-top: var(--s-4); }
@media (max-width: 767px) {
  .screen[data-screen="kies"] > h1 { font-size: var(--fs-heading); line-height: var(--lh-heading); }
}
@media (min-width: 768px) {
  .takes { grid-template-columns: repeat(2, min(340px, calc((100svh - 400px) * .75), calc((100% - var(--s-5)) / 2))); gap: var(--s-5); max-width: none; }
  .result-cta, .more { max-width: calc(2 * min(340px, calc((100svh - 400px) * .75)) + var(--s-5)); }
  .screen[data-screen="kies"] { display: block; }   /* the grid of the four-card pick step (rows for the tools and the pinned bar) does not apply here */
}
@media (min-width: 1024px) {   /* the takes left, everything else in a column beside them: the two portraits, the main button and "Meer opties" all on the first screen at 1440 x 900 */
  .screen[data-screen="kies"] { display: grid; grid-template-columns: auto minmax(18rem, 26rem); grid-template-rows: auto auto auto auto auto 1fr; column-gap: var(--s-7); align-items: start; }
  .screen[data-screen="kies"] > * { grid-column: 2; }
  .screen[data-screen="kies"] > .takes { grid-column: 1; grid-row: 1 / span 8; margin-top: 0; grid-template-columns: repeat(2, min(340px, calc((100svh - 290px) * .75))); }
  .screen[data-screen="kies"] > h1 { font-size: var(--fs-heading); line-height: var(--lh-heading); }
  .result-cta, .more { max-width: none; }
}
/* the wait screen of TWO takes: two tiles beside the bar, and the earlier styles (a second style) one tap away */
.wait-grid.two { grid-template-columns: repeat(2, minmax(0, 160px)); }
@media (min-width: 768px) { .wait-grid.two { grid-template-columns: repeat(2, minmax(0, 160px)); } }
.wait-others { margin-top: var(--s-4); }

/* ---- 2026-11-16 Trade Republic review: one question per screen, one primary button pinned at the bottom, nothing said twice ---- */
.screen[data-screen="kies"] .result-style, .screen[data-screen="kies"] .result-style b { color: var(--g2); font-weight: 400; }
.more { margin-top: var(--s-4); }
.more-toggle { display: inline-flex; align-items: center; width: auto; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--brand); font-family: var(--font); font-weight: 600; font-size: var(--fs-small); line-height: var(--lh-small); text-align: left; cursor: pointer; }   /* 16 px = --fs-small */
.more-sub { margin: 0; color: var(--g2); }
.collar-row .more-item { width: 100%; }
.screen[data-screen="kies"] > .actionbar .sum { display: grid; gap: 2px; min-width: 0; font-weight: 400; }
.screen[data-screen="kies"] > .actionbar .sum-name { font-weight: 600; font-size: var(--fs-small); line-height: var(--lh-small); }
.screen[data-screen="kies"] > .actionbar .pick-price { font-weight: 400; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--g2); }
@media (min-width: 768px) { .screen[data-screen="kies"] > .actionbar { grid-column: 2; grid-row: 3; }   /* inline in the right column, under the versions' heading */ }
/* the size screen: the extra-prints row is one quiet row with a chevron */
.copies-open { background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: var(--s-3) var(--s-6) var(--s-3) 0; position: relative; }
.copies-open::after { content: ""; position: absolute; right: var(--s-2); top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--g2); border-bottom: 2px solid var(--g2); transform: translateY(-70%) rotate(45deg); }
.copies-open:hover { border-color: var(--line); }
.cta-note { color: var(--g2); }
/* the pay page row (same row as the studio) */
.betalen .progress { margin-top: 0; }

/* ---- the studio start screen (a cold-opened /studio/ URL), 2026-11-16: two columns from 900 px, the pair large on the right, no empty half ---- */
.screen[data-screen="start"] .start-text > h1 { max-width: 20ch; }
@media (min-width: 900px) {
  .screen[data-screen="start"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: var(--s-7); align-items: center; }
  .screen[data-screen="start"] > .start-text { grid-column: 1; grid-row: 1; }
  .screen[data-screen="start"] > .start-ex { grid-column: 2; grid-row: 1; margin: 0; }
}

/* ---- N1 (live sweep 2026-11-17): the campaign is readable where it is. The season block uses body text (16 px, --fs-small) and the days left is a filled pill, the strongest element in it ---- */

/* ---- N5 (live sweep): the first screen of a topic / answer page from 900 px: text and button left, the photo and portrait pair right, whole (no muzzle crop), like the landing hero ---- */
@media (min-width: 900px) {
  .page-answer .answer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: var(--s-7); align-items: center; position: relative; left: 50%; transform: translateX(-50%); width: min(calc(100vw - 2 * var(--gutter)), 68rem); }
  .page-answer .answer-top > .title, .page-answer .answer-top > .lead, .page-answer .answer-top > .cta-top { grid-column: 1; }
  .page-answer .answer-top > .answer-hero { grid-column: 2; grid-row: 1 / span 3; margin: 0; max-width: min(100%, calc((100svh - 220px) * .75)); justify-self: end; }
  .page-answer .answer-hero picture img, .page-topic .answer-hero picture img { height: auto; aspect-ratio: 3 / 4; object-position: 50% 30%; }
  .page-answer .answer-top { min-height: calc(100svh - 24px); align-content: center; padding-bottom: 0; }   /* the first screen is the hero and nothing else (the next heading and the "Bijgewerkt" line start below the fold: five visual groups for walle-site-check) */
}
/* ---- N2 (live sweep, partial): the same cream page, and the header button reads the same on every page ---- */
html:has(> body.page-text), body.page-text, html:has(> body.page-studio), body.page-studio, html:has(> body.page-betalen), body.page-betalen { background: var(--field); }
.page-studio .progress { background: transparent; }
body:not(.page-landing) .nav-cta { background: var(--bg); color: var(--brand); }

/* ---- polish after the first N screenshots ---- */
.page-betalen .progress { background: transparent; display: flex; align-items: center; gap: var(--s-4); margin-top: 0; }
.page-betalen .progress #step-label { margin-left: auto; }

/* ---- one shell (2026-11-17): /betalen/ uses the SAME content box as the landing hero and the studio (left edge and width = --edge .. --edge at 1300 and 1440; tests/shell.mjs measures all three).
   Before: .betalen was a centred 42rem column (left 314 at 1300), so the pill above it was wider than the page below it. The readable column is kept for the content, left-aligned like a studio step. ---- */
.betalen { max-width: none; margin: 0; padding-inline: var(--edge); }
.betalen > :not(.progress) { max-width: 42rem; }
@media (min-width: 768px) { .page-betalen .progress { margin-inline: 0; padding-inline: 0; } }
.betalen .progress #step-label.small { margin-top: 0; }   /* ".betalen .small" (margin-top 24 px for a note) also hit the step label and pushed it 12 px below the arrow's centre */
/* topic pages from 900 px: the hero starts under the breadcrumb at the normal spacing; the room that made the first screen exactly one screen now sits below the hero (the next block stays below the fold: still five groups) */
@media (min-width: 900px) { .page-answer .answer-top { align-content: start; } }

.progress .back[hidden] { display: none; }   /* .progress .back sets display:block, which beat the hidden attribute: the pay page's arrow is shown only when the server names the real way back */

/* ---- the first screen, 2026-11-17 (Rick: "the banner is done extremely ugly", "where to look, only very much distraction", "should prob be up top", "not looking like the design rules").
   In the order the eye meets it: (1) the season band at the very top, (2) ONE headline, (3) one sentence, (4) ONE filled button with ONE quiet price line under it, (5) the before/after picture.
   The band follows DESIGN.md: a light ground with a warm-grey hairline (no dark band, no accent ground, no pill), Bricolage 800 for the offer, Figtree for the rest; the days left are words. ---- */
.season-band { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); padding-inline: var(--edge); }
.season-band[hidden], .season-band [hidden] { display: none; }
.season-band .band-in { min-height: var(--band-h); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: var(--s-5); row-gap: 0; padding-block: var(--s-2); text-align: center; }
.season-band p { margin: 0; }
.season-band .season-offer { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-body); line-height: var(--lh-small); color: var(--ink); }
.season-band .band-when { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); }
.season-band .season-offer:not([hidden]) + .band-when { padding-left: var(--s-5); border-left: 1px solid var(--line); }   /* a hairline between the offer and the deadline: two facts, one line */
.season-band .season-count { margin-left: var(--s-2); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.season-band.band-solo .band-when { color: var(--ink); font-weight: 600; }
.season-band .band-art { display: none; }
.page-studio:not(.on-start):not(.on-door) .season-band, .page-studio.is-mem .season-band { display: none; }   /* studio: the band is on the start screen only; inside the steps it would push the step row and the pinned bar around */
@media (max-width: 767px) {
  .season-band .band-in { flex-direction: column; padding-block: var(--s-1); min-height: 0; }
  .season-band .season-offer { font-size: var(--fs-small); line-height: var(--lh-micro); }
  .season-band .band-when { font-size: var(--fs-micro); line-height: var(--lh-micro); }   /* two lines: the offer, then the date with the whole days left on the same line (season.js counts whole days) */
  .season-band .season-offer:not([hidden]) + .band-when { padding-left: 0; border-left: 0; }
}
/* from 768 px: the two lines sit beside the Sinterklaas-edition portrait (the same corgi as the hero picture), on the content edge under the logo: the painting carries the colour (DESIGN.md
   "the artwork supplies all other colour"); on a phone the portrait is left out so the band stays two centred lines under 72 px */
@media (min-width: 768px) {
  .season-band .band-in { display: grid; grid-template-columns: auto minmax(0, auto); column-gap: var(--s-4); row-gap: 0; justify-content: start; align-content: center; text-align: left; }
  .season-band .band-art { display: block; grid-row: 1 / span 2; width: 42px; height: 56px; object-fit: cover; border-radius: var(--r-s); }
  .season-band .season-offer { font-size: var(--fs-lead); line-height: var(--lh-small); }
  .season-band .season-offer:not([hidden]) + .band-when { padding-left: 0; border-left: 0; }
  .season-band.band-solo .band-art { grid-row: 1; }
}

/* the hero: a headline that fits three lines at 1300 and 1440 (DESIGN.md Type: 64 at 1440), the button, ONE quiet price line under it (no card, no border), less empty space under the hero */
@media (min-width: 1200px) {
  .page-landing .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); padding-bottom: var(--s-7); }
  .page-landing .hero h1 { font-size: var(--fs-herowide); line-height: var(--lh-herowide); }
}
.resume-last { margin: var(--s-2) 0 0; } .resume-last a { display: inline-flex; align-items: center; min-height: 44px; }   /* landing.js: back to a live earlier photo */
.price-line { margin: var(--s-3) 0 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--muted); }   /* DESIGN.md: the price is one 18 px line under the button (T1) */
/* on a page with a hero button (landing, answer and topic pages, the 404) the header button steps aside while that button is ON screen (one action per screen): motion.js sets .hero-in
   only while it intersects. Visible by default (2026-11-17): without JS, without IntersectionObserver, or with the hero button below a short screen's fold, the header still offers the start. */
body:has(.hero-act, .cta-top, .nf-actions) .nav-cta.hero-in { visibility: hidden; }
/* a phone with the band: the answer and topic pages give back the band's height above and around their hero, so the hero button stays clear of a consent banner (tests/consent-fit.mjs) */
@media (max-width: 767px) { body:has(> .season-band) .prose { padding-top: var(--s-2); } body:has(> .season-band) .page-answer .answer-hero { margin-block: var(--s-3); } body:has(> .season-band) .page-answer .cta-top { margin-top: var(--s-2); } }

/* the studio start screen: the header pill carries the four section links from 1024 px (the same as on every page, DESIGN.md 2026-11-08 "Header"), so it is not an empty bar */
@media (min-width: 1024px) { body.page-studio.on-start .nav { display: block; } }
/* ... and the headline starts under the pill at the studio's step spacing, top-aligned with the pair (it was centred against the pair: about 130 px of empty paper above it) */
main[data-step="start"] > .progress[hidden] { display: none !important; }   /* the start screen is not a step: like klaar, no reserved step row (it stood there invisible, 97 px above the headline) */
.screen[data-screen="start"] { padding-top: var(--s-5); }
@media (min-width: 900px) { .screen[data-screen="start"] { align-items: start; } }
/* the confirm screen ("Gebruik je deze foto?"): the studio's paper ground and its content box, under the top edge like a studio step, not a white page with its own centred column */
.confirm { background: var(--field); align-items: flex-start; justify-content: flex-start; padding: var(--s-7) var(--edge) var(--s-7); }
.confirm-card { max-width: 34rem; }
.confirm-photo { justify-content: flex-start; }   /* the photo on the text axis of the heading and the buttons */
/* the style picker: every card the same hairline edge (the chosen one the one accent edge); the season note on the text axis; cards compact enough that the button is above the fold at 1300 x 800 */
.style-until { padding: 0; background: none; border-radius: 0; color: var(--muted); }
@media (min-width: 768px) {
  .style-opt { grid-template-columns: 48px minmax(0, 1fr); padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2); }
  .style-opt:hover { box-shadow: inset 0 0 0 1px var(--line); background: var(--tint1); }
  .style-opt[aria-checked="true"], .style-opt[aria-checked="true"]:hover { box-shadow: inset 0 0 0 2px var(--accent); background: var(--tint1); }
  .style-opt[aria-checked="true"] .style-until { background: none; }
}
/* 2026-11-17 (style order): the picker is the door, with the season band above it; at 1300x800 its button sat at 805 to 861 px. From 1024 px the column is wide enough for the lead and
   each card's line on ONE line, which brings the button back onto the first screen (tests/stylefirst-order.mjs S2, tests/start.mjs) */
@media (min-width: 1024px) { .screen[data-screen="stijl"] > .lead { max-width: 72ch; } .screen[data-screen="stijl"] > .style-opts, .screen[data-screen="stijl"] > .actionbar { max-width: 42rem; } }
/* the door carries the season band (73 px at 1300): its picker keeps the button on the first screen at 1300 x 800 with tighter gaps (the cards and the button keep their size) */
@media (min-width: 1024px) { body.on-door .screen[data-screen="stijl"] > .style-opts { margin-top: var(--s-3); gap: var(--s-1); } body.on-door .screen[data-screen="stijl"] > .actionbar { margin-top: var(--s-3); } }
/* ---- 2026-11-18 "Nog een print erbij?" (studio.js rErbij): its own screen between size and delivery. The portraits reuse the result screen's take cards (.takes, ring + mark);
   the one secondary action is a quiet hairline row with a chevron, the primary is the pinned bar. One block, so it re-applies cleanly. ---- */
.screen[data-screen="erbij"] > h1 { max-width: 26ch; }
.screen[data-screen="erbij"] > .x-offer { margin-top: var(--s-2); }
.x-until { white-space: nowrap; }   /* "t/m donderdag 10 december" stays together: at 390 the line breaks before it */
.x-tiles { margin-top: var(--s-5); }
.x-tiles .take-pick:disabled { cursor: default; opacity: .5; }
.x-cheapest { margin-top: var(--s-4); color: var(--g2); }
.x-full { margin-top: var(--s-3); }
.x-more { margin-top: var(--s-5); max-width: 44rem; }
.x-more .more-item { gap: var(--s-1); position: relative; padding: var(--s-3) var(--s-6) var(--s-3) 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.x-more .more-item:hover { box-shadow: none; }
.x-more .more-item::after { content: ""; position: absolute; right: var(--s-2); top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--g2); border-bottom: 2px solid var(--g2); transform: translateY(-50%) rotate(-45deg); }
.x-more .more-note { margin-left: 0; }
@media (max-width: 767px) { .screen[data-screen="erbij"] > h1 { font-size: var(--fs-heading); line-height: var(--lh-heading); } }
@media (min-width: 768px) { .x-more { max-width: calc(2 * min(340px, calc((100svh - 400px) * .75)) + var(--s-5)); } }
@media (min-width: 1024px) {   /* the portraits left, the question, the offer, the row and the button in a column beside them (as the result screen) */
  .screen[data-screen="erbij"] { display: grid; grid-template-columns: auto minmax(18rem, 26rem); grid-template-rows: auto auto auto auto 1fr; column-gap: var(--s-7); align-items: start; }
  .screen[data-screen="erbij"] > * { grid-column: 2; }
  .screen[data-screen="erbij"] > .x-body { display: contents; }
  .screen[data-screen="erbij"] .x-tiles { grid-column: 1; grid-row: 1 / span 8; margin-top: 0; grid-template-columns: repeat(2, min(300px, calc((100svh - 290px) * .75))); }
  .screen[data-screen="erbij"] .x-cheapest, .screen[data-screen="erbij"] .x-full, .screen[data-screen="erbij"] .x-more { grid-column: 2; max-width: none; }
  .screen[data-screen="erbij"] > h1 { font-size: var(--fs-heading); line-height: var(--lh-heading); }
}
/* 2026-11-18 (coordinator, 390 review): the extra-print screen's pinned bar keeps "Verder, <total>" on ONE line at 390 and 375, as the size screen's does: the summary beside it
   ("30 x 40 cm, 2 prints") takes the micro size and wraps, the button keeps its own size */
@media (max-width: 767px) {
  .screen[data-screen="erbij"] > .actionbar { flex-wrap: nowrap; }
  .screen[data-screen="erbij"] > .actionbar .sum { min-width: 0; flex: 1 1 0; font-size: var(--fs-micro); line-height: var(--lh-micro); }
  .screen[data-screen="erbij"] > .actionbar .sum small { font-size: var(--fs-micro); }
  .screen[data-screen="erbij"] > .actionbar .btn { flex: 0 0 auto; white-space: nowrap; }
}
/* feat/leads-on (staging walk of 9042471): the pinned button of the size and extra-print screens stays ONE line at 1300 and 1440 too ("Verder, € 110,41" wrapped), "2 prints" never splits,
   and an extra print's "Erbij" mark always holds its place (invisible when off), so a tap never moves the tiles */
@media (min-width: 768px) { .screen[data-screen="erbij"] > .actionbar .btn, .screen[data-screen="formaat"] > .actionbar .btn { flex: 0 0 auto; white-space: nowrap; } }
.x-count { white-space: nowrap; }
/* staging walk of 4b20a84 (2026-11-19): nothing on this screen said that a portrait can be tapped until one was. "Erbij" is there from the start, as quiet text in the brand
   colour with a plus (no fill: not a pill, no box in a box); added = the filled mark with its check, and the ring. The SAME box in both states (padding, and the plus sits where
   the check does), so a tap moves nothing. A full order offers nothing: there the mark keeps its place unseen and the line under the tiles says why. */
.take-sel.x-off { background: none; color: var(--accent); }
.take-sel.x-off::before { content: "+"; height: auto; border: 0; transform: none; text-align: center; }
.x-tiles .take-pick:disabled .take-sel.x-off { visibility: hidden; }
@media (max-width: 767px) {   /* a phone, two narrow tiles (seen in the 390 picture of this change): the label and "Erbij" are always stacked, so no tap can change how they wrap; "Erbij" sits
     on ONE line across both tiles whatever the length of the label above it (the tile's last line); and the quiet word starts where the label starts, not a padding further in */
  .x-tiles .take { align-content: stretch; }
  .x-tiles .take-pick { grid-template-rows: auto 1fr; }
  .x-tiles .take-meta { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; }
  .x-tiles .take-label { margin-right: 0; }
  .x-tiles .take-sel.x-off { margin-left: calc(-1 * var(--s-2)); }
}
.x-note { margin: var(--s-3) 0 0; }   /* why a new style could not be painted in add mode (review of 9042471): one quiet line under the offer */

/* ---- the size screen's hero (owner 2026-11-18: "just the product in full", "insanely crisp", never make the print look small): the visitor's portrait AS the product chosen,
   whole and equally large for every size (studio.js productHTML; products as sold: functions/_lib/print/products.js, ASSETS.md "Products as drawn"). No room, no scale reference.
   The stage is a fixed box (container-type: size), so switching product, size or frame never moves anything around it. Its height is capped so the 896 x 1200 preview covers the
   portrait at 2x on a laptop (596 px stage) and 3x on a phone (398 px stage), and --hero-cap (studio.js heroCap: 896 / .705 / devicePixelRatio) lowers that cap on a denser screen
   (a 3x laptop, a 4x phone, a zoomed page): never scaled up by CSS on any screen (tests/sizehero.mjs S and C). Edges and shadows are CSS, drawn at device resolution.
   Phone, 2026-11-19: the stage takes what is left of the screen after the top bar, the headline, the name line, the tabs, the fact line, ONE row of sizes and the pinned bar (490 px
   of a 390 x 844 screen), so every size is whole above the bar on the first screen; 20 px more go to the bar when its summary carries ", 2 prints" (it wraps to one more line). */
.prod-stage { --stage-h: min(clamp(240px, calc(100svh - 490px), 398px), var(--hero-cap, 398px)); position: relative; container-type: size; width: 100%; height: var(--stage-h); display: grid; place-items: center; }
@media (max-width: 767px) {
  .screen[data-screen="formaat"]:has(#sum .x-count) .prod-stage { --stage-h: min(clamp(240px, calc(100svh - 510px), 398px), var(--hero-cap, 398px)); }
  /* the sizes side by side (two fit a phone: the size above its price), so both are on the first screen and the portrait keeps its height */
  .screen[data-screen="formaat"] #panel .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .screen[data-screen="formaat"] #panel .opt { grid-template-columns: minmax(0, 1fr); gap: 0; height: 100%; min-height: 72px; padding: var(--s-2) var(--s-4); align-content: center; }
}
/* short phones (.short, set by studio.js sizeShort when the SMALL viewport is 730 px or less: a real iPhone Safari with its toolbars is about 390 x 664, an iPhone SE 375 x 667).
   The stage keeps its 240 px floor (the product is never smaller), and the two quiet lines go UNDER the sizes (the fact line, then the pet's name), so the size row is on the
   first screen and not under the pinned bar: 426 px of other things instead of 490 (446 with ", 2 prints"). Measured 2026-11-19 before this: 22 px of the size row visible at
   390 x 664, none at 375 x 667 (tests/sizehero.mjs H). Not a height media query: Safari's toolbars change the visible height while scrolling and the order must not flip. */
.screen[data-screen="formaat"].short .prod-stage { --stage-h: min(clamp(240px, calc(100svh - 426px), 398px), var(--hero-cap, 398px)); }
.screen[data-screen="formaat"].short:has(#sum .x-count) .prod-stage { --stage-h: min(clamp(240px, calc(100svh - 446px), 398px), var(--hero-cap, 398px)); }
.screen[data-screen="formaat"].short .size-col, .screen[data-screen="formaat"].short #panel { display: flex; flex-direction: column; }
.screen[data-screen="formaat"].short #panel .hint-line { order: 1; }
.screen[data-screen="formaat"].short #panel .opts { margin-top: var(--s-3); }   /* 12 px: the sizes now follow the product tabs directly; 8 px read as one block of five buttons */
.screen[data-screen="formaat"].short .size-pet { order: 1; margin: var(--s-2) 0 0; }
/* the pet's name: one quiet line (only when a name is known), under the portrait on a phone and under the headline from 768; never a second headline */
.size-pet { margin: 0 0 var(--s-2); color: var(--g2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) {
  .prod-stage { --stage-h: min(clamp(360px, calc(100svh - 210px), 596px), var(--hero-cap, 596px)); }
  .size-pet { margin-bottom: var(--s-5); }
  [data-screen="formaat"] .layout2 > .size-col:has(> .size-pet) { margin-top: var(--s-2); }   /* the name line belongs to the headline above it */
  /* the hero takes the whole left column from the top; the question (h1) heads the choices on the right */
  .screen[data-screen="formaat"] > h1 { grid-column: 2; grid-row: 1; font-size: var(--fs-heading); line-height: var(--lh-heading); }   /* a column heading now, beside the hero */
  [data-screen="formaat"] .prod-stage { grid-column: 1; grid-row: 1 / -1; align-self: start; justify-items: start; position: sticky; top: var(--s-4); }
  [data-screen="formaat"] .layout2 > div:not(.prod-stage) { grid-column: 2; grid-row: 2; margin-top: var(--s-5); }
}
/* from 1024: the hero and the choices as one centred pair, the stage as wide as the widest product (30 x 40 in its frame, 34 : 44) */
@media (min-width: 1024px) {
  .screen[data-screen="formaat"] { grid-template-columns: auto minmax(0, 32rem); column-gap: var(--s-8); justify-content: center; }
  .prod-stage { width: calc(var(--stage-h) * .78); }
}
/* the frame colour: under the sizes; from 1024 the label and the three chips on one row, so the buy button stays on the first screen at 1300 x 800 */
.frame-row { margin-top: var(--s-5); }
@media (min-width: 1024px) { [data-screen="formaat"] .frame-row { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-4); } [data-screen="formaat"] .frame-row .frames { margin-top: 0; } }
/* --H: the product's outer height, 94% of the stage (room for its shadow), or less when the stage is narrow; --R outer ratio, --f frame face and --d depth as shares of the outer height */
.prod { --H: min(94cqh, calc(94cqw / var(--R))); position: relative; margin: 0; height: var(--H); width: calc(var(--H) * var(--R)); }
.prod-art { position: absolute; inset: calc(var(--f) * var(--H)); overflow: hidden; background: var(--lo, none) center / cover no-repeat var(--tint1); }   /* --lo: the small copy, only until the crisp one has decoded (studio.js rFormaat takes it away) */
.prod-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* poster: a matte sheet printed edge to edge, a hairline paper edge and one soft shadow close to the wall */
.p-poster { box-shadow: 0 0 0 .5px var(--wall-sh-paper), 0 6px 14px -6px var(--wall-sh-contact); }
/* canvas: 19 mm off the wall, so a deeper, longer shadow */
.p-canvas { box-shadow: 0 calc(var(--d) * var(--H) * .9) calc(var(--d) * var(--H) * 2.4) calc(var(--d) * var(--H) * -.4) var(--wall-sh-canvas); }
/* lijst: the 20 mm face in the frame colour, lit top and left, shaded bottom and right, a thin lip at the print, no mount; one soft shadow (22 mm off the wall) */
.p-lijst { background: var(--frame, var(--ink)); box-shadow: 0 0 0 .5px var(--frame-edge), 0 calc(var(--d) * var(--H) * .8) calc(var(--d) * var(--H) * 2) calc(var(--d) * var(--H) * -.4) var(--wall-sh-frame); }
.p-lijst::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: calc(var(--f) * var(--H)) solid; border-color: var(--frame-lit) var(--frame-shade) var(--frame-shade-deep) var(--frame-lit); }
.p-lijst .prod-art { box-shadow: inset 0 0 0 1px var(--frame-lip); }

/* ---- the gift season (2026-11-22, DESIGN.md "The gift shop"): a drawn bow on gift moments, ONE quiet gift line per screen, the free gift card on the confirmation.
   The bow is presentation of the painting as a present, never a statement about the parcel. It is the accent as a DETAIL: one small shape per screen, on the top edge of the mat or frame
   (never over the animal), and only while <html data-gift> is set by season.js (the card page shows it all year: the card IS the gift). ---- */
.gift-bow { display: none; position: absolute; left: 50%; top: 0; z-index: 2; width: 60px; height: 40px; transform: translate(-50%, -50%); background: var(--brand); -webkit-mask: url("/assets/bow.svg") center / contain no-repeat; mask: url("/assets/bow.svg") center / contain no-repeat; pointer-events: none; }
html[data-gift] .gift-bow { display: block; }
.hero-visual .frame, .done-art { position: relative; }
.gift-line { margin: var(--s-3) 0 0; color: var(--ink); }
/* the size screen on a phone: the season's short date line IN the pinned bar, above the price and the button (28 px: one 20 px line and what is left of the bar's row gap), and the stage
   gives those 28 px back so both sizes stay whole above the bar on the first screen (the two stage rules of an ordinary phone, each 28 px less). From 768 the full sentence stands under the button. */
.actionbar .gift-bar { flex: 1 1 100%; margin: 0 0 calc(var(--s-2) * -1); font-size: var(--fs-micro); line-height: var(--lh-micro); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .actionbar .gift-bar { display: none; } }
@media (max-width: 767px) {
  .screen[data-screen="formaat"]:not(.short) > .actionbar:has(.gift-bar:not([hidden])) { flex-wrap: wrap; row-gap: var(--s-4); }   /* the line takes its own row; the summary (basis 0) and the button still share the next one */
  .screen[data-screen="formaat"]:not(.short):has(.gift-bar:not([hidden])) .prod-stage { --stage-h: min(clamp(240px, calc(100svh - 518px), 398px), var(--hero-cap, 398px)); }
  .screen[data-screen="formaat"]:not(.short):has(.gift-bar:not([hidden])):has(#sum .x-count) .prod-stage { --stage-h: min(clamp(240px, calc(100svh - 538px), 398px), var(--hero-cap, 398px)); }
  /* a short phone (.short: the stage is already at its 240 px floor and cannot give 28 px back) keeps the bar of before: no line in it, the full sentence stands after the sizes */
  .screen[data-screen="formaat"].short .gift-bar { display: none; }
}
.gift-line[hidden] { display: none; }
.co-giftline { margin-top: var(--s-4); }
/* the confirmation: the gift card is one quiet block above the other actions, a hairline above and below, no box and no tint */
.card-cta { position: relative; display: grid; gap: var(--s-2); justify-items: start; margin-top: var(--s-6); padding: var(--s-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-cta h2 { margin: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.card-cta p { margin: 0; color: var(--g2); }
.card-cta .btn { margin-top: var(--s-2); }
.card-cta .gift-line { color: var(--ink); }
@media (max-width: 767px) { .card-cta .btn { width: 100%; } }
/* "Mail me mijn portret" as a clear offer on the result screen (measured 13 to 22 Nov: the quiet closed row was not found): an outlined button with its sentence right under the portraits.
   Still secondary: the filled button stays "Deze wil ik". Open, it is the form of before. */
.lm-row.lm-offer { border-top: 0; margin-top: var(--s-4); }
.lm-offer .lm-h { display: block; }
.lm-offer .lm-offer-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 26rem; min-height: 48px; padding: 0 var(--s-6); border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 var(--fs-body)/1 var(--font); text-align: center; }   /* the outline of every secondary button (.btn-outline); .lm-toggle alone would take the border away */
.lm-offer .lm-offer-btn .lm-title { color: var(--ink); }
.lm-offer .lm-offer-btn .lm-title::after { display: none; }
.lm-offer > .lm-sub { margin-top: var(--s-2); }
.lm-offer.is-open { border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .screen[data-screen="kies"] > .lm-row.lm-offer { grid-column: 2; grid-row: auto; margin-top: var(--s-5); } }
@media (max-width: 767px) { .screen[data-screen="kies"] > .lm-row.lm-offer { margin-top: var(--s-3); } .screen[data-screen="kies"] > .lm-offer .lm-sub { font-size: var(--fs-micro); line-height: var(--lh-micro); } }

/* ---- 2026-11-23, the header rule: no slide for a visitor who asked for less motion (it simply appears and disappears) ---- */
@media (prefers-reduced-motion: reduce) { .site-header, .site-header.hdr-away { transition: none; } }

/* ---- 2026-11-23, the phone order screen (round 7's limit with LEADS on: the order button's top at most 1400 px at 390x844, 1450 at 360x640; measured 1474 / 1491 before).
   Tighter rhythm between the fields on a phone only: 12 px between fields (was 16), 4 px between a label and its field (was 8), a 48 px country choice (was 56), 16 px between the two groups (was 24), 8 px above the tick box (was 16), 12 px above the notice (was 24). Every field, hint,
   line and tick box is still there; nothing is added above the button. ---- */
@media (max-width: 767px) {
  .screen[data-screen="bezorgen"] .co .field { margin-top: var(--s-3); gap: var(--s-1); }
  .screen[data-screen="bezorgen"] .co-sub { margin-top: var(--s-3); }
  .screen[data-screen="bezorgen"] .ctry .opt { min-height: 48px; }
  .screen[data-screen="bezorgen"] .co-notice { margin-top: var(--s-3); }
  .screen[data-screen="bezorgen"] .co-group { margin-top: var(--s-4); }
  .screen[data-screen="bezorgen"] .co-group:first-child { margin-top: 0; }
  .screen[data-screen="bezorgen"] .co-group .ctry { margin-top: var(--s-1); }
  .screen[data-screen="bezorgen"] .co-group .check { margin-top: var(--s-2); }
}

/* ---- 2026-11-23, the gift season in pictures (owner: "MORE gift-focused"; DESIGN.md "Decisions 2026-11-23"). Everything here exists only while season.js opens it: the blocks are
   [hidden] in the page, the hero's ribbon needs <html data-gift>. The ribbon and the bows are DRAWN (CSS bands and assets/bow.svg as a mask) in the ribbon red, a picture of a present,
   never a statement about the parcel. ---- */
.gift-block[hidden] { display: none; }
.rb, .pbow { position: absolute; pointer-events: none; }
.rb { background: var(--ribbon); box-shadow: var(--shadow-ribbon); }
.rb-v, .rb-h { --rb: 10px; }
.rb-v { top: 0; bottom: 0; left: 14%; width: var(--rb); border-inline: 1px solid var(--ribbon-shade); }
.rb-h { left: 0; right: 0; top: 74%; height: var(--rb); border-block: 1px solid var(--ribbon-shade); }
.pbow { left: calc(14% + 5px); top: calc(74% + 5px); width: 46%; aspect-ratio: 3 / 2; transform: translate(-50%, -50%); background: var(--ribbon-shade); -webkit-mask: url("/assets/bow.svg") center / contain no-repeat; mask: url("/assets/bow.svg") center / contain no-repeat; }
.present { position: relative; display: block; box-shadow: var(--shadow-art); border-radius: var(--r-art); }
.present picture, .present img { display: block; width: 100%; height: auto; border-radius: var(--r-art); }
.gcard { display: block; height: auto; border-radius: var(--r-art); box-shadow: 0 0 0 1px var(--line), var(--shadow-art); background: var(--paper); }
/* the landing hero in the season: the framed painting wears the ribbon, a band down its left and one across its top, the bow where they cross. The two labels of the before/after
   move to the bottom corners (the band runs behind the left one, like a sticker on the ribbon); the bow never sits on the animal's face. */
html[data-gift] .page-landing .hero .frame:has(> .gift-bow) { --rbx: 13%; --rby: 15%; --rb: 14px; }
html[data-gift] .page-landing .hero .frame:has(> .gift-bow)::before, html[data-gift] .page-landing .hero .frame:has(> .gift-bow)::after { content: ""; position: absolute; z-index: 2; pointer-events: none; background-color: var(--ribbon); box-shadow: var(--shadow-ribbon); }
html[data-gift] .page-landing .hero .frame:has(> .gift-bow)::before { top: 0; bottom: 0; left: var(--rbx); width: var(--rb); border-inline: 1px solid var(--ribbon-shade); }
html[data-gift] .page-landing .hero .frame:has(> .gift-bow)::after { left: 0; right: 0; top: var(--rby); height: var(--rb); border-block: 1px solid var(--ribbon-shade); }
html[data-gift] .page-landing .hero .frame > .gift-bow { z-index: 3; left: calc(var(--rbx) + var(--rb) / 2); top: calc(var(--rby) + var(--rb) / 2); width: 96px; height: 64px; background: var(--ribbon-shade); }
html[data-gift] .page-landing .hero .frame:has(> .gift-bow) .wipe-tag { top: auto; bottom: 0; }
@media (min-width: 768px) { html[data-gift] .page-landing .hero .frame:has(> .gift-bow) { --rb: 20px; } html[data-gift] .page-landing .hero .frame > .gift-bow { width: 132px; height: 88px; } }
/* "Zo geef je het": three steps with their pictures, the third (the present and the card) the largest. One filled button, the order-by line under it. */
.gift-how { background: var(--tint1); }
.gift-how h2, .gift-who h2 { margin: 0; }
.gs-copy { display: grid; gap: var(--s-1); }
.gs-copy strong { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lead); line-height: 28px; color: var(--ink); }
.gs-copy strong::before { content: counter(gs) ". "; color: var(--brand); }
.gs-copy span { color: var(--g2); font-size: var(--fs-small); line-height: var(--lh-small); }
.gift-act { margin-top: var(--s-6); display: grid; gap: var(--s-3); justify-items: start; }
.gift-order { margin: 0; color: var(--ink); font-weight: 600; font-size: var(--fs-small); line-height: var(--lh-small); }
.gift-order[hidden] { display: none; }
@media (max-width: 767px) { .gift-act .btn { width: 100%; } .gift-how.chapter, .gift-who.chapter { padding-block: var(--s-7); } }
/* "Voor wie": one line and one own Olieverf sample each; no quote, no review, no number */
.who-grid { list-style: none; margin: var(--head-gap) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
.who-grid figure { margin: 0; display: grid; gap: var(--s-3); }
.who-grid picture, .who-grid img { display: block; width: 100%; height: auto; border-radius: var(--r-art); }
.who-grid picture { box-shadow: var(--shadow-art); }
.who-grid figcaption { font-weight: 600; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink); }
@media (min-width: 768px) { .who-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); } .who-grid figcaption { font-size: var(--fs-body); line-height: var(--lh-body); } }
/* the compact gift block of the answer pages: a hairline above and below, no box and no tint; the present and the card left, the words, the order-by line and ONE outlined button right */
.gift-compact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-5); align-items: center; margin-top: var(--s-6); padding: var(--s-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gift-compact[hidden] { display: none; }
.gk-vis { display: flex; align-items: flex-end; gap: var(--s-2); padding-left: var(--s-3); }
.gk-vis .present { width: 84px; }
.gk-vis .present .rb-v, .gk-vis .present .rb-h { --rb: 6px; }
.gk-vis .present .pbow { left: calc(14% + 3px); top: calc(74% + 3px); }
.gk-vis .gcard { width: 64px; }
.prose .gk-txt p { margin: 0; }
.gk-txt { display: grid; gap: var(--s-1); justify-items: start; }
.prose .gk-txt .gift-order { color: var(--ink); }
.prose .gk-txt .btn { margin-top: var(--s-3); min-height: 48px; padding: 0 var(--s-5); color: var(--ink); text-decoration: none; }
@media (min-width: 768px) { .gk-vis .present { width: 120px; } .gk-vis .gcard { width: 92px; } .gk-vis .present .rb-v, .gk-vis .present .rb-h { --rb: 8px; } .gk-vis .present .pbow { left: calc(14% + 4px); top: calc(74% + 4px); } }
/* the studio (result screen, confirmation): the season's line with a small picture of the card beside it; gone with its line */
.gift-row { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-3); }
.gift-row:has(> .gift-line[hidden]) { display: none; }
.gift-row > .gift-line { margin: 0; flex: 1 1 0; min-width: 0; }
.gift-thumb { flex: none; width: 56px; height: auto; border-radius: var(--r-art); box-shadow: 0 0 0 1px var(--line); background: var(--paper); }
@media (min-width: 768px) { .gift-thumb { width: 72px; } }
/* the compact block on a phone: the pictures beside the two sentences, then the order-by line and the button on the full width (beside the pictures the button's label wrapped to two lines) */
.prose .gk-txt .btn { white-space: nowrap; }
@media (max-width: 767px) {
  .gift-compact { column-gap: var(--s-4); row-gap: var(--s-1); }
  .gift-compact .gk-txt { display: contents; }
  .gift-compact .gk-vis { grid-row: 1 / span 2; padding-left: var(--s-2); }
  .gift-compact .gk-h { align-self: end; }
  .gift-compact .gk-h + p { align-self: start; }
  .gift-compact .gift-order, .gift-compact .btn { grid-column: 1 / -1; }
  .prose .gift-compact .gift-order { margin-top: var(--s-3); }
  .prose .gift-compact .btn { width: 100%; }
}
/* the order-by line of "Zo geef je het" is body text (rule T1: 18 px on a landing); the block's button is OUTLINED, so the pinned bar of a phone stays the one filled action on a screen (rule one-action, BT2) */
.gift-how .gift-order { font-size: var(--fs-body); line-height: var(--lh-body); }

/* ---- 2026-11-23, the USP row (owner: the real selling points, not the delivery time): four short claims under the hero's button and price line, each with a small drawn icon.
   No pill, no box, no tint: ink on the page. A 2 x 2 grid of labels on a phone (two short lines each at most, so the painting keeps its place on the first screen); from 768 px
   the second line of each claim shows too. ---- */
.usp { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2) var(--s-4); }
.usp li { display: flex; align-items: flex-start; gap: var(--s-2); min-width: 0; }
.usp-ic { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.usp b { display: block; font-weight: 600; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--ink); }
.usp small { display: none; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--g2); }
@media (min-width: 768px) {
  .usp { margin-top: var(--s-5); gap: var(--s-4) var(--s-5); max-width: 34rem; }
  .usp-ic { width: 24px; height: 24px; }
  .usp b { font-size: var(--fs-small); line-height: var(--lh-small); }
  .usp small { display: block; }
}
/* the pinned bottom bar of an answer or topic page (motion.js 1b). Its own class, hidden as built: without JS the header never hides, so the bar is not needed and never shows. */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; padding: var(--s-3) var(--s-4) max(var(--s-3), var(--safe-b)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform var(--t-mid) var(--ease-out), visibility 0s var(--t-mid); }
.pbar.show { transform: none; visibility: visible; transition: transform var(--t-mid) var(--ease-out), visibility 0s; }
.pbar .cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 26rem; min-height: 56px; padding: 0 var(--s-5); border-radius: var(--r-btn); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-btn); text-decoration: none; background: var(--btn-bg); color: var(--btn-fg); }
.pbar .cta:hover { background: var(--brand-press); }
.has-consent .pbar { bottom: var(--consent-h, 0px); }
@media (min-width: 900px) { .pbar .cta { width: auto; } }
@media (prefers-reduced-motion: reduce) { .pbar, .pbar.show { transition: none; } }

/* ---- 2026-11-23, polish after the live check ---- */
/* 1. the header button in the gift season: from 900 px it says the season's label like the hero and the bottom bar (season.js); below 900 px no season label fits beside the logo
   (measured at 360: "Cadeau maken" 150 px squeezed the logo from 112,7 to 94,3 px), so there the button is taken away, slot and all, and the bottom bar carries the action */
@media (max-width: 899px) { html[data-gift] .page-landing .nav-cta { display: none; } }
/* 2. no orphan word in the USP row: balanced lines where the browser can (the fallback is the plain wrap), and room for the two columns */
.usp b, .usp small { text-wrap: balance; }
@media (min-width: 768px) { .usp { max-width: 36rem; } }
/* 3. a long word in the headline ("hondenliefhebber") may never widen the hero column: the column can shrink, and the word breaks at its soft hyphen (data/seasons.json) */
.hero-text, .hero-visual { min-width: 0; }
.hero h1 { overflow-wrap: break-word; hyphens: manual; }
/* 3b. on a phone the gift headline of /hond/ and /kat/ ends in one long word ("hondenliefhebber"): set a little smaller there so the word fits the column on ONE line and the
   headline stays three lines (broken at its soft hyphen it took four and pushed the painting off the first screen) */
@media (max-width: 479px) { html[data-gift] .page-landing:is([data-variant="hond"], [data-variant="kat"]) #hero-h[data-gift-on] { font-size: var(--fs-title); line-height: var(--lh-title); } }   /* the title size (32 px on a phone; the hero size is 42): tokens only */

/* ---- 2026-11-23, "Zo geef je het" rebuilt (owner on the live section: "spacing etc looks bad here overall, not too good picture, do just a lot better"). Three EQUAL frames on one
   grid: same size, same top and bottom, equal gutters, from the content's left edge to its right edge; the picture fills its frame. Step 3 is one composition inside its frame: the
   portrait with the ribbon and the gift card laid over its corner (it used to hang beside the row and was cut off at 1290 px). A phone: steps 1 and 2 side by side, equal, step 3 on
   the full width so the card stays readable. (The rules of the first build, .gift-steps and .gs-fig, were removed 2026-11-24: no markup used them.) ---- */
.steps3 { list-style: none; margin: var(--head-gap) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); counter-reset: gs; }
.steps3 > li { counter-increment: gs; display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.steps3 > li:nth-child(3) { grid-column: 1 / -1; }
.steps3 .st-frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-art); box-shadow: var(--shadow-art); background: var(--paper); }
.steps3 .st-frame > picture, .steps3 .st-frame > picture > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 0; }
.steps3 .st-frame > picture > img { object-fit: cover; object-position: 50% 22%; }
.steps3 .st-photo > picture > img { object-position: 50% 10%; }   /* the photo's subject reaches the top edge: keep the ears */
/* step 3 (2026-11-24, the corners of the white tile were dead): the present and the card lie on the white tile like two things put down on a table, turned a little against each
   other (the present -3deg upper left, the card +3deg lower right, overlapping), larger than before so the tile is filled. The present stays at 60%: any wider and the card, at its
   172 px floor, lies on the animal's mouth (measured at 390 and 1440 with a 88% present). The card is never narrower than 172 px: its names are 6,61% of
   its width (data/gift-card.json nameRatio), so 172 px = 11,4 px names (tests/steps.mjs N). That is why three frames in a row start at 768 px, not 600: below about 230 px a
   frame cannot hold a 172 px card (its height is 1,487 times its width), so from 600 to 767 px the phone layout holds, steps 1 and 2 side by side and step 3 on the full width. */
.steps3 .st-gift { background: var(--bg); box-shadow: 0 0 0 1px var(--line), var(--shadow-art); }
.steps3 .st-gift > .st-present { position: absolute; left: 8%; top: 5%; width: 60%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-art); box-shadow: var(--shadow-art); transform: rotate(-3deg); }
.steps3 .st-present > picture, .steps3 .st-present > picture > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 0; }
.steps3 .st-present > picture > img { object-fit: cover; }
.steps3 .st-gift > .gcard { position: absolute; z-index: 2; right: 6%; bottom: 4%; width: clamp(44%, 172px, 76%); height: auto; transform: rotate(3deg); transform-origin: 100% 100%; }
@media (min-width: 768px) {
  .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .steps3 > li:nth-child(3) { grid-column: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) { .steps3 { gap: var(--s-4); } }   /* 16 px gutters: a frame wide enough for the 172 px card */
.gift-how .gift-act { margin-top: var(--s-7); }
/* the order-by line: season data (gift.order), so its length is not known here. From 1024 px it has the room for ONE line (no 40rem cap, which broke it after "bij je." at
   1290); from 768 to 1023 px it wraps into two balanced lines instead of a long one and a short one (a phone keeps the plain wrap: balanced, three lines broke "bij je" off) */
.gift-how .gift-order { max-width: 40rem; color: var(--g2); font-weight: 400; font-size: var(--fs-small); line-height: var(--lh-small); }
@media (min-width: 768px) and (max-width: 1023px) { .gift-how .gift-order { text-wrap: balance; } }
@media (min-width: 1024px) { .gift-how .gift-order { max-width: none; } }

/* ---- 2026-11-25 "Jouw portret" (studio.js rKies): the pick and size screens are ONE screen. The chosen version large, the other version as a small swap, the product cards with
   their prices, "Bestellen, <price>" with the order-by date line under it. Phone: one column, the button pinned. From 1024: the portrait left, everything else in the right column.
   The screen's children are its own (.pv-art, .pv-buy, .pv-more), so the rules of the two-card result screen above no longer place anything here. ---- */
.screen[data-screen="kies"] > * { grid-column: auto; grid-row: auto; }
.pv-art { margin-top: var(--s-4); }
.pv-main { position: relative; margin: 0; }
.pv-main .take-frame { width: 100%; }
.pv-label { margin-top: var(--s-2); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.pv-swaps { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.pv-swap { width: 72px; gap: var(--s-1); }
.pv-swap .take-pick { gap: var(--s-1); }
.pv-swap .take-frame { border-radius: var(--r-s); }
.pv-swap .take-label { font-weight: 400; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--g2); }
.pv-swap .slot-name, .pv-swap .pick-fail { font-size: var(--fs-micro); line-height: var(--lh-micro); padding: var(--s-1); text-align: center; }
.pv-swap .take-retry { min-height: 44px; font-size: var(--fs-micro); }
.pv-buy { margin-top: var(--s-5); }
.pv-cards { gap: var(--s-2); }
.pv-card { min-height: 56px; padding: var(--s-3) var(--s-4); }
.pv-card .opt-line { color: var(--g2); }
.pv-opt { display: grid; gap: var(--s-2); }
.pv-switch { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 48px; padding: 0 var(--s-1); border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pv-switch b { font-weight: 600; }
.pv-tick { position: relative; flex: none; width: 24px; height: 24px; border: 2px solid var(--line); border-radius: var(--r-s); background: var(--bg); }
.pv-switch[aria-checked="true"] .pv-tick { border-color: var(--accent); background: var(--accent); }
.pv-switch[aria-checked="true"] .pv-tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 7px; height: 12px; border-right: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(45deg); }
.pv-switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); }
.pv-plus { margin-left: auto; color: var(--g2); white-space: nowrap; }
/* fix/digital-copy: "Met lijst" while another product (the file, a canvas) is selected: muted, same row and height (no jump); a tap still selects the framed poster */
.pv-switch[data-applies="false"] b, .pv-switch[data-applies="false"] .pv-plus { color: var(--g2); font-weight: 400; }
.pv-switch[data-applies="false"] .pv-tick { opacity: .45; }
.pv-frames { margin: 0 0 var(--s-2); }
.pv-buy #limit-note:empty { display: none; }
.pv-more { margin-top: var(--s-5); }
.pv-more > :first-child { margin-top: 0; }
.screen[data-screen="kies"] > .actionbar .season { margin: var(--s-2) 0 0; text-align: left; }
.screen[data-screen="kies"] > .actionbar .btn { white-space: nowrap; }
/* "Andere foto kiezen" (and "Vorige foto"): a quiet text link under the screen, no longer the top row of every step */
.switch-under { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 var(--s-5); }
.switch-under:not(:has(button:not([hidden]))) { display: none; }
.switch-under .link { min-height: 48px; padding: var(--s-2) 0; font-size: var(--fs-small); line-height: var(--lh-small); }
@media (min-width: 768px) and (max-width: 1023px) { .pv-main, .pv-swaps { max-width: 420px; } .pv-buy, .pv-more { max-width: 32rem; } }
@media (min-width: 1024px) {
  .screen[data-screen="kies"] { display: grid; grid-template-columns: minmax(0, min(600px, calc((100svh - 220px) * .75))) minmax(22rem, 28rem); grid-template-rows: auto auto auto auto 1fr; column-gap: var(--s-8); align-items: start; justify-content: start; }
  .screen[data-screen="kies"] > .pv-art { grid-column: 1; grid-row: 1 / span 5; margin-top: 0; }
  .screen[data-screen="kies"] > h1 { grid-column: 2; grid-row: 1; }
  .screen[data-screen="kies"] > .result-style { grid-column: 2; grid-row: 2; }
  .screen[data-screen="kies"] > .pv-buy { grid-column: 2; grid-row: 3; margin-top: var(--s-4); }
  .screen[data-screen="kies"] > .actionbar { grid-column: 2; grid-row: 4; margin-top: var(--s-4); flex-wrap: wrap; }
  .screen[data-screen="kies"] > .actionbar .btn { flex: 1 1 100%; max-width: none; min-width: 0; margin-left: 0; }
  .screen[data-screen="kies"] > .pv-more { grid-column: 2; grid-row: 5; }
}
/* the second print as one tick box on the details screen (2026-11-25): the price it costs with its discount as words, the offer and its end date on a quiet line under it */
.co-copy { margin-top: var(--s-5); }
.co-copy .co-copy-price { white-space: nowrap; }
.co-copy .co-copy-line { display: block; color: var(--g2); }
.pv-main.take { display: block; }
.pv-main .take-frame, .take.pv-main[aria-current="true"] .take-frame { box-shadow: none; }   /* the large one IS the choice: no selection ring around it */
.pv-main .take-label { display: block; font-weight: 400; margin-right: 0; }
@media (max-width: 767px) { html:has([data-screen="kies"]) { scroll-padding-bottom: 176px; } }   /* "Jouw portret": the pinned bar is the button and the order-by line (about 110 to 150 px): a tapped or focused card stops above it */
/* 2026-11-25 render pass: the other finished version(s) lie over the large picture's bottom-left corner, so they are on the first screen at 390 and 1440 (under the picture they sat under the pinned bar on a phone). The watermark is bottom-right, the zoom top-right. */
.pv-stage { position: relative; }   /* the large version and, beside it in the markup (never inside its figure), the thumbnails laid over its corner */
.pv-swaps.pv-over { position: absolute; left: var(--s-3); bottom: calc(var(--s-2) + var(--lh-small) + var(--s-3)); margin: 0; gap: var(--s-2); }   /* above the one-line caption under the picture */
.pv-over .pv-swap { width: 64px; }
.pv-over .take-frame { box-sizing: border-box; border: 3px solid var(--bg); border-radius: var(--r-s); }   /* a white mat around the small version: it reads as a thing to tap, not as part of the painting (render pass 2026-11-25) */
.pv-over .take-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* its name is the button's accessible name ("Toon Zoals op je foto"); the label under the large picture names the one on show */
.pv-over .take-pick:focus-visible .take-frame { outline-offset: 3px; }
@media (min-width: 768px) { .pv-over .pv-swap { width: 88px; } }
/* the order-by line under "Bestellen": one quiet line (the short gift sentence in the gift season), not a bold block */
.screen[data-screen="kies"] > .actionbar .season p, .screen[data-screen="kies"] > .actionbar .season .season-date { font-weight: 400; color: var(--g2); font-size: var(--fs-micro); line-height: var(--lh-micro); }
/* the digital portrait (2026-11-25): the honest line under its card when selected, the consent tick box in place of the made-to-order notice, the "aan de muur" block on the confirmation */
.pv-note p { margin: 0; padding: 0 var(--s-2); color: var(--g2); }
.co-consent { margin-top: var(--s-6); max-width: 40rem; }
.co-consent-err { margin: var(--s-2) 0 0; font-weight: 600; color: var(--ink); }
.co-consent-err:empty { display: none; }
.done-file { margin-top: var(--s-4); max-width: 34rem; }
.card-cta + .wall-cta { margin-top: 0; border-top: 0; }
.wall-cta + p { margin-top: var(--s-5); }
@media (max-width: 767px) { .done-file + .done-actions { justify-items: stretch; } .done-file + .done-actions .btn { width: 100%; } }   /* the digital confirmation: its buttons as wide as the card blocks under them on a phone */
/* "Jouw portret" from 1024 px (2026-11-25): five cards no longer fit the first screen in one column, so two columns; the digital card, its note, the "Met lijst" switch and its frames span both */
@media (min-width: 1024px) { .pv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pv-cards > .pv-dig, .pv-cards > .pv-note, .pv-cards > .pv-opt { grid-column: 1 / -1; } }

/* ---- 2026-12-03 feat/portrait-convert: "Jouw portret" turns the visitor into an order. Measured 1 to 2 Dec: 19 ad clicks, 8 uploads, every visitor got a portrait, 0 orders; the button worked on the first tap
   everywhere. On a phone the big portrait and the pinned button filled the first screen and the product cards started 280 px lower (at 360 x 640 no card was in view at all), "Met lijst" changed only a
   chip and a price, there was no word of payment, delivery or what if it is not right, and the exit "Mail me mijn portret" stood right under the cards. tests/portrait.mjs (suite portrait) pins every number below. ---- */
.screen[data-screen="kies"] { --pv-h: clamp(200px, calc(100svh - 428px), 46svh); }   /* the portrait's height on a phone: about 46 % of the screen, less on a short one, so the first two cards fit above the bar (360 x 640: a 200 to 230 px portrait) */
.pv-optt { display: grid; min-width: 0; text-align: left; }
.pv-optline { font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--g2); }
.pv-thumb { flex: none; display: block; width: 36px; aspect-ratio: 3 / 4; margin: var(--s-2) var(--s-1); background: var(--paper); border-radius: 0; box-shadow: 0 0 0 3px var(--frame, var(--ink)), 0 0 0 4px var(--frame-edge), 0 2px 3px 4px var(--wall-sh-contact); }   /* "Met lijst" in miniature, in the chosen colour: the effect of the tick is visible where the finger is */
.pv-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-switch[data-applies="false"] .pv-thumb { opacity: .45; }
.pv-switch { min-height: 60px; }
/* the frame around the large portrait, plain CSS: the colour is the chip's (pricing.json frames[].hex, set as --frame on #result), a thin dark edge defines a white frame on the page's paper, a soft shadow lifts it */
.pv-art { --fw: 10px; }
@media (min-width: 1024px) { .pv-art { --fw: 14px; } }
.pv-art[data-product="lijst"] .pv-main .take-frame { border-radius: 0; box-shadow: 0 0 0 var(--fw) var(--frame, var(--ink)), 0 0 0 calc(var(--fw) + 1px) var(--frame-edge), inset 0 0 0 1px var(--frame-lip), var(--shadow-wall-cast); }
.pv-art[data-product="canvas"] .pv-main .take-frame { border-radius: 0; box-shadow: var(--shadow-wall-edge), var(--shadow-wall-cast-deep); }   /* a canvas has a 1,9 cm edge: a darker strip right and below suggests the depth */
.pv-art[data-product] .pv-main .take-frame { transition: box-shadow .18s var(--ease); }
/* the reassurance under the cards: payment marks, the reprint promise and the delivery window, small and calm */
.pv-assure { margin-top: var(--s-3); display: grid; gap: var(--s-2); }
.assure-marks { display: flex; align-items: center; gap: var(--s-2); }
.assure-marks img { height: 20px; width: auto; display: block; }
.assure-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); color: var(--g2); font-size: var(--fs-micro); line-height: var(--lh-micro); }
.assure-list li { position: relative; padding-left: 22px; }
.assure-list li::before { content: ""; position: absolute; left: 5px; top: 4px; width: 5px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
/* the bar: the choice named above the button, the button at least 52 px, the one line under it, the order-by line last; the bottom padding is the safe area PLUS air (iOS in-app browsers put a toolbar there) */
.screen[data-screen="kies"] > .actionbar { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; padding-top: 10px; padding-bottom: calc(var(--s-3) + var(--safe-b)); }
.screen[data-screen="kies"] > .actionbar .btn { flex: none; width: 100%; max-width: none; margin: 0; min-height: 52px; }
.bar-choice { margin: 0 0 var(--s-1); font-size: var(--fs-micro); line-height: var(--lh-micro); font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.assure-pay { margin: var(--s-1) 0 0; font-size: var(--fs-micro); line-height: var(--lh-micro); color: var(--g2); }
.screen[data-screen="kies"] > .actionbar .season { margin: 0; }
/* the exit "Mail me mijn portret": still there, now a quiet text link below the reassurance (the approved words are unchanged) */
.screen[data-screen="kies"] .lm-offer:not(.is-open) .lm-offer-btn { width: auto; max-width: none; min-height: 44px; padding: 0; border: 0; background: none; box-shadow: none; justify-content: flex-start; text-align: left; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 400; color: var(--g2); text-decoration: underline; text-underline-offset: 3px; }
.screen[data-screen="kies"] .lm-offer:not(.is-open) .lm-offer-btn .lm-title { font-weight: 400; color: var(--g2); }
.screen[data-screen="kies"] .lm-offer:not(.is-open) > .lm-sub { margin-top: 0; color: var(--g2); }
@media (max-width: 767px) {
  main[data-step="kies"] > .progress { margin-bottom: var(--s-3); }
  .screen[data-screen="kies"] > .result-style { margin-top: 0; }
  .pv-art { margin-top: var(--s-2); }
  .pv-stage { width: min(100%, calc(var(--pv-h) * .75)); margin-inline: auto; }
  .pv-main .pv-label { position: absolute; top: var(--s-2); left: var(--s-2); margin: 0; padding: 0 var(--s-2); border-radius: var(--r-s); background: var(--scrim); color: var(--ink); font-size: var(--fs-micro); line-height: var(--lh-micro); }   /* the take's name sits on the picture's top-left corner (the zoom is top-right): no row of its own */
  .pv-buy { margin-top: var(--s-2); }
  .pv-cards { gap: 6px; }
  /* one row per card: the name, its size in grey, the price at the right (the file keeps its second line): 48 px instead of 84, so two cards fit above the bar on the smallest phone */
  .pv-card { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n l p"; align-items: baseline; column-gap: var(--s-3); row-gap: 0; min-height: 48px; padding: 10px var(--s-4); }
  .pv-card b { grid-area: n; line-height: 24px; }
  .pv-card .opt-price { grid-area: p; line-height: 24px; }
  .pv-card .opt-line { grid-area: l; grid-column: auto; font-size: var(--fs-micro); line-height: 24px; }
  .pv-card.pv-digital { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "l l"; }
  .pv-card.pv-digital .opt-line { line-height: 18px; }
  html:has([data-screen="kies"]) { scroll-padding-bottom: 204px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .pv-main .pv-label { position: absolute; top: auto; left: auto; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* the picture is under 170 px wide here: the name would sit on the zoom button; it stays the figure's caption for screen readers */
  .pv-over .pv-swap { width: 48px; }
  .screen[data-screen="kies"] > .actionbar { padding-top: 8px; }
  .bar-choice, .assure-pay, .screen[data-screen="kies"] > .actionbar .season p, .screen[data-screen="kies"] > .actionbar .season .season-date { line-height: 17px; }
}
@media (min-width: 768px) and (max-width: 1023px) { .screen[data-screen="kies"] > .actionbar, .pv-assure { max-width: 32rem; } }
/* from 1024 the reassurance sits in the right column UNDER the button (the bar is row 4), the mail row below it */
@media (min-width: 1024px) {
  .screen[data-screen="kies"] { grid-template-rows: auto auto auto auto auto 1fr; }
  .screen[data-screen="kies"] > .pv-art { grid-row: 1 / span 6; }
  .screen[data-screen="kies"] > .pv-assure { grid-column: 2; grid-row: 5; margin-top: var(--s-3); }
  .screen[data-screen="kies"] > .pv-more { grid-row: 6; }
}
@media (min-width: 768px) { .pv-art[data-product="lijst"] .pv-label { margin-top: calc(var(--fw) + var(--s-2)); } }   /* the frame's lower edge is outside the picture: the name stays clear of it */
