/* Atelier Zwarts — concept A "Open atelier", rustige versie (15 nov 2026)
   Regel: de schilderijen zijn de enige kleur. Inkt op muur, één gedempt grijs, geen accentkleur.
   Bricolage alleen voor de sitenaam en grote paginatitels (gewicht 600); Inter voor de rest;
   IBM Plex Mono alleen voor catalogusnummers en kleine metadata. */

/* ── Tokens ── */
:root {
  --wall: #F7F6F3;          /* page background (galeriemuur) */
  --ink: #141414;           /* 17:1 on the wall */
  --muted: #5E5D58;         /* the one muted grey, 6.1:1 on the wall */
  --soft: #2E2D2A;          /* running text; reads as ink */
  --rule: #DEDCD6;          /* hairlines (decorative) */
  --field: #C9C7C1;         /* decorative borders, placeholders */
  --control: #86847E;       /* borders of inputs and controls: 3.5:1 on the wall */
  --plinth: #ECEBE7;        /* podium behind the painting */
  --surface: #FFFFFF;
  --accent: #141414;        /* no colour accent any more: ink. The Customizer "Accentkleur" can still override it. */
  --on-accent: #FFFFFF;
  --ok: #1F7A4D;
  --sold: #B8381A;

  /* Shadows: almost none in grids, a soft one only where a work hangs alone. */
  --shadow-grid: 0 1px 2px rgba(20,20,20,.10);
  --shadow-alone: 0 1px 2px rgba(20,20,20,.08), 0 16px 36px -24px rgba(20,20,20,.30);

  --f-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --f-text: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Type scale (museum-like: small and calm). */
  --t-display: clamp(32px, 3.4vw, 52px);   /* page titles (Bricolage 600) */
  --t-h2: clamp(21px, 1.8vw, 26px);        /* section headings (Inter 600) */
  --t-h3: 18px;
  --t-lead: 18px;
  --t-body: 16px;
  --t-small: 14px;
  --t-meta: 12.5px;                        /* mono: catalogue numbers */

  --gutter: 48px;
  --max: 1440px;
  --radius: 2px;
}
@media (max-width: 760px) { :root { --gutter: 16px; } }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--f-text); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 1px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
#main { flex: 1 0 auto; width: 100%; }
.prose ul { list-style: disc; padding-left: 1.2em; } .prose ol { list-style: decimal; padding-left: 1.2em; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px;
  background: var(--ink); color: #fff; border-radius: var(--radius); font-weight: 500;
}
.skip-link:focus { top: 12px; }

.eyebrow { font-size: var(--t-small); line-height: 1.4; color: var(--muted); }
.h2 {
  font-family: var(--f-text); font-weight: 600; font-size: var(--t-h2);
  line-height: 1.2; letter-spacing: -.01em;
}
.prose { color: var(--soft); }
.prose > * + * { margin-top: .9em; }
.prose h2, .prose h3 { font-family: var(--f-text); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); }
.prose h2 { font-size: clamp(20px, 1.6vw, 22px); }
.prose h3 { font-size: var(--t-h3); }
.prose > :is(h2, h3):not(:first-child) { margin-top: 1.8em; }
.prose > :is(h2, h3) + * { margin-top: .6em; }

/* Links in running text: ink, underlined; on hover the line gets darker and thicker. */
.prose a, .more-link, .contact__facts a, .facts__link, .collectie__count a, .enquiry__note a {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
:is(.prose a, .more-link, .contact__facts a, .facts__link, .collectie__count a, .enquiry__note a):hover {
  text-decoration-color: currentColor; text-decoration-thickness: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 80%, var(--wall)); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; min-height: 48px; width: 100%; }
.btn--dark:hover { background: #3A3A39; }
.btn[disabled] { opacity: .6; cursor: progress; }

.pill {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius); font-size: 15px; font-weight: 500;
  border: 1px solid var(--control); background: transparent; color: var(--ink);
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--wall); }

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none;
  background: transparent; border: 0; border-radius: 50%; color: inherit;
}
.icon-btn:hover { background: rgba(0,0,0,.06); }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; font-weight: 500; font-size: 15px; color: var(--ink);
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link { font-weight: 500; }

/* Controls that only work with JavaScript */
html:not(.js) .enquiry__open,
html:not(.js) .enquiry__close { display: none !important; }

/* ── Header ── */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 32px; padding-block: 18px;
}
.site-header__logo {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em;
}
.site-header__logo:hover { text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; font-weight: 400; }
.site-nav__list a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav__list a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.site-nav__lang { display: flex; gap: 12px; padding-left: 20px; border-left: 1px solid var(--rule); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 760px) {
  .site-header__inner { padding-block: 8px; }
  .site-nav__list { gap: 0 20px; }
}

/* ── Footer: small and quiet, ink on the wall ── */
.site-footer { margin-top: 32px; border-top: 1px solid var(--rule); color: var(--muted); font-size: var(--t-small); line-height: 1.5; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px;
  padding-block: 24px 28px;
}
.site-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0; }
.site-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.site-footer__contact a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.site-footer__sep { color: var(--muted); }
.site-footer__end { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-footer__copy { margin: 0; }
@media (max-width: 760px) {
  .site-footer__inner { flex-direction: column; align-items: flex-start; padding-block: 16px 24px; }
  .site-footer__end { flex-direction: column; align-items: flex-start; }
  .site-footer__nav { gap: 0 18px; }
}

/* ── Werkpagina ── */
.werk { padding-block: 24px 96px; display: flex; flex-direction: column; gap: 24px; }

.werk__crumbs {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 14px; color: var(--muted);
}
.crumbs { display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; padding-inline: .45em; }
.crumbs [aria-current] { color: var(--ink); }
.pager { display: flex; gap: 20px; }
@media (max-width: 560px) { .pager { width: 100%; justify-content: space-between; } }
.pager a { display: inline-block; padding-block: 4px; }

/* In een interieur: the empty room from Main_Gallery.psd (cropped 880,0–4120,3560). Frame and painting are drawn live
   at the work's real size: 1 cm = 0.4964cqi (the PSD's 72 cm frame window is 1158 px). Hung centred on the PSD's frames;
   a work taller than the wall above the sideboard allows moves up (top at least 2cqi from the top edge). */
.interieur { margin: 0; }
.interieur[hidden] { display: none; }
.interieur__kamer { position: relative; display: block; cursor: zoom-in; container-type: inline-size; border-radius: var(--radius); overflow: hidden; }
.interieur__img { display: block; width: 100%; height: auto; }
.interieur__lijst {
  --cm: .4964cqi;
  --pw: calc(var(--cm-w) * var(--cm)); --ph: calc(var(--cm-h) * var(--cm));
  position: absolute; left: 50.648%;
  top: max(2cqi, calc(31.636cqi - var(--ph) / 2 - .71cqi));
  box-sizing: content-box;                        /* the frame goes around the work, not into it */
  width: var(--pw); height: var(--ph); transform: translateX(-50%);
  border: .71cqi solid #1d1d1c;                   /* thin black metal frame, 1.43 cm like the PSD's */
  background: #E4E3DF;                            /* placeholder while the photo loads */
  box-shadow:
    inset 0 0 0 .08cqi rgba(255,255,255,.07),     /* faint highlight on the frame's inner edge */
    0 .25cqi .35cqi rgba(0,0,0,.28),              /* contact shadow */
    -.6cqi 1.2cqi 2.6cqi rgba(0,0,0,.16);         /* soft shadow on the wall, light from the window on the right */
}
.interieur__lijst img { display: block; width: 100%; height: 100%; object-fit: contain; }
.interieur__lijst::after {   /* depth: soft shadow inside the frame, window light falling from the right */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 .35cqi .6cqi rgba(0,0,0,.28), inset .2cqi 0 .5cqi rgba(0,0,0,.18);
  background: linear-gradient(100deg, rgba(0,0,0,.05), rgba(0,0,0,0) 45%, rgba(255,255,255,.04));
}
.interieur__cap { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }

.werk__extra { display: flex; flex-wrap: wrap; gap: 8px; }
.werk__extra a { display: block; border-radius: var(--radius); overflow: hidden; }
.werk__extra img { width: 72px; height: 72px; object-fit: cover; }

.facts {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; padding-block: 20px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.facts dt { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status--beschikbaar::before { background: var(--ok); }
.status--verkocht::before { background: var(--sold); }

/* Enquiry */
.enquiry { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.enquiry__open { align-self: flex-start; }
.js .enquiry__form[data-state="closed"] { display: none; }
.js .enquiry[data-open] .enquiry__open { display: none; }
.enquiry__form {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
}
.enquiry__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.enquiry__title { font-family: var(--f-text); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  min-height: 44px; padding: 10px 12px; border: 1px solid var(--control); border-radius: var(--radius);
  background: var(--wall); font-size: 16px; font-weight: 400;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--sold); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__msg:empty { display: none; }
.enquiry__msg { font-size: 15px; }
.enquiry__msg.is-error { color: var(--sold); }
.enquiry__note { font-size: 13px; color: var(--muted); }
.enquiry[data-sent] .enquiry__form > :not(.enquiry__head):not(.enquiry__msg) { display: none; }
.enquiry[data-sent] .enquiry__msg { font-size: 17px; color: var(--ink); }
.notice { padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); }
.notice--ok { border-color: var(--ok); }
.notice--error { border-color: var(--sold); }

/* Meer uit <jaar> */
.meer { display: flex; flex-direction: column; gap: 32px; padding-top: 56px; margin-top: 32px; border-top: 1px solid var(--rule); }

/* Generic pages (Over, …) — note: WordPress puts class "page" on <body>, so never style .page */
.basic { padding-block: 56px 96px; }
.basic__article { display: grid; gap: 32px; max-width: 72ch; }
.basic__title { margin-bottom: 8px; }
.basic__image img { box-shadow: var(--shadow-alone); }
.basic__text { font-size: 17px; line-height: 1.7; }

/* Contact */
.contact { padding-block: 56px 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 48px 96px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); padding-block: 40px 72px; } }
.contact__intro { display: flex; flex-direction: column; gap: 28px; }
.contact__text { font-size: 17px; line-height: 1.7; max-width: 46ch; }
.contact__facts { font-size: 16px; }

/* 404 */
.notfound__head { padding-block: 64px 72px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.notfound__head .display { max-width: 20ch; }
.notfound__lead { font-size: var(--t-lead); color: var(--soft); max-width: 44ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ── Shared (collectie + home) ── */
.display {
  font-family: var(--f-display); font-weight: 600; font-size: var(--t-display);
  line-height: 1.05; letter-spacing: -.02em;
}
.h2--lg { font-size: clamp(22px, 2vw, 28px); }
.btn--outline { min-height: 48px; padding: 0 22px; background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--wall); }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* ── Collectie ── */
.collectie { padding-block: 48px 96px; display: flex; flex-direction: column; gap: 32px; }
.collectie__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.collectie__intro { max-width: 44ch; color: var(--muted); }
.filterbar {
  position: sticky; top: 0; z-index: 5;
  margin-inline: calc(var(--gutter) * -1); padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--wall) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-block: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.filterbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 760px) {
  /* One horizontally scrollable row, so the sticky bar stays small while scrolling. */
  .filterbar { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-block: 10px; gap: 8px;
               scrollbar-width: none; overscroll-behavior-x: contain; }
  .filterbar::-webkit-scrollbar { display: none; }
  .filterbar__group { flex-wrap: nowrap; flex: none; gap: 6px; }
  .filterbar__group + .filterbar__group { padding-left: 8px; border-left: 1px solid var(--rule); }
  .filterbar .pill { min-height: 44px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
}
.collectie__count { font-size: var(--t-small); color: var(--muted); }
.collectie__main { min-width: 0; display: flex; flex-direction: column; gap: 8px; }

/* Per jaar ingedeeld, met een jaarindex die meeloopt (idee van de oude site) */
.collectie__body { display: block; }
@media (min-width: 1200px) {
  .has-index .collectie__body { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 40px; align-items: start; }
  .has-index--thema .collectie__body, .has-index--kleur .collectie__body { grid-template-columns: 190px minmax(0, 1fr); }
}
.jaren { display: none; }
@media (min-width: 1200px) {
  .jaren {
    display: block; position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto;
    scrollbar-width: none; padding-top: 4px;
  }
  .jaren::-webkit-scrollbar { display: none; }
}
.jaren__list { position: relative; }
.jaren__list::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 1px; background: var(--rule); }
.jaren__list a {
  position: relative; display: flex; align-items: baseline; gap: 6px; padding: 3px 0 3px 16px;
  font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.jaren__list a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px;
  border-radius: 50%; background: var(--wall); border: 1px solid var(--field);
}
.jaren__list a:hover { color: var(--ink); text-decoration: none; }
.jaren__list a[aria-current] { color: var(--ink); font-weight: 600; }
.jaren__list a[aria-current]::before { background: var(--accent); border-color: var(--accent); }
.jaren__n { font-size: 11px; }

.jaar { scroll-margin-top: 96px; }
.jaar + .jaar { margin-top: 24px; }
.jaar__head { display: flex; align-items: baseline; gap: 14px; padding: 24px 0 12px; border-bottom: 1px solid var(--rule); }
.jaar__titel { font-family: var(--f-text); font-weight: 600; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.jaar__titel:focus { outline: none; }
.jaar__n { font-size: var(--t-small); color: var(--muted); }
.jaar .wand { padding-block: 40px 56px; }
.jaar .lijst { border-top: 0; }
.collectie__result { display: flex; flex-direction: column; gap: 24px; transition: opacity .2s ease; }
.collectie__result[aria-busy="true"] { opacity: .45; }
.collectie__more { display: flex; justify-content: center; padding-top: 16px; }
/* Vanzelf laden bij scrollen (collectie.js): de knop wordt een rustig "Laden…"; zichtbaar bij toetsenbordfocus. */
.collectie__more.is-auto .btn { border-color: transparent; background: none; color: var(--muted); font-weight: 400; pointer-events: none; }
.collectie__more.is-auto .btn:focus-visible { pointer-events: auto; border-color: currentColor; }

/* Wand: vast raster van 4 kolommen (2 op kleinere schermen). Liggende werken beslaan 2 kolommen, zodat staand (72 × 102)
   en liggend (102 × 72) bijna even hoog uitvallen; een rij is 4 staand, 2 liggend of 1 liggend + 2 staand.
   "dense" vult gaten op; niets wordt bijgesneden. */
.wand {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense;
  gap: 56px 32px; align-items: end;
  padding-block: 40px 72px;
}
@media (max-width: 1099px) { .wand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; } }
@media (max-width: 699px)  { .wand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; padding-block: 24px 56px; } }
.wand__item { min-width: 0; }
.wand__item--breed { grid-column: span 2; }
.hang { display: flex; flex-direction: column; gap: 12px; color: inherit; }
.hang:hover { text-decoration: none; }
.hang__img {
  display: block; width: 100%; height: auto; aspect-ratio: var(--r); object-fit: contain; background: #E4E3DF;
  box-shadow: var(--shadow-grid);
}
.hang__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; min-height: 40px; }
.hang__title { font-weight: 500; font-size: 15px; line-height: 1.35; }
.hang:hover .hang__title { text-decoration: underline; text-underline-offset: 3px; }
.hang__meta { font-family: var(--f-mono); font-size: var(--t-meta); color: var(--muted); }
@media (max-width: 699px) { .hang__title { font-size: 14px; } .hang__meta { font-size: 11px; } }

/* Lijst: compacte catalogusrijen. Elk beeld is even hoog; liggend is twee keer zo breed als staand,
   gecentreerd in een vaste kolom, zodat alle tekstkolommen recht onder elkaar staan. */
.lijst { border-top: 1px solid var(--ink); }
.lrow {
  display: grid; grid-template-columns: 150px 84px minmax(0, 1fr) 64px 120px 120px;
  gap: 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.lrow:hover { text-decoration: none; background: rgba(0,0,0,.025); }
.lrow__thumb { width: 150px; height: 104px; display: flex; align-items: center; justify-content: center; }
.lrow__img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  box-shadow: var(--shadow-grid);
}
.lrow__cat { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.lrow__year, .lrow__size { font-size: 14px; font-variant-numeric: tabular-nums; }
.lrow__size { color: var(--muted); }
.lrow__title { font-family: var(--f-text); font-weight: 500; font-size: 17px; line-height: 1.3; letter-spacing: -.005em; }
.lrow:hover .lrow__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lrow__status { font-size: 14px; color: var(--soft); }
@media (max-width: 1100px) {
  .lrow { grid-template-columns: 150px minmax(0, 1fr) auto; grid-template-areas: "t title year" "t cat size"; gap: 4px 20px; }
  .lrow__thumb { grid-area: t; grid-row: 1 / span 2; }
  .lrow__title { grid-area: title; align-self: end; }
  .lrow__year { grid-area: year; align-self: end; }
  .lrow__cat { grid-area: cat; align-self: start; }
  .lrow__size { grid-area: size; align-self: start; text-align: right; }
  .lrow__status { display: none; }
}
@media (max-width: 600px) {
  .lrow { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "t title" "t cat"; gap: 4px 14px; padding: 12px 0; }
  .lrow__thumb { width: 104px; height: 72px; }
  .lrow__title { font-size: 16px; }
  .lrow__year, .lrow__size { display: none; }
}

/* ── Home ── */
/* Hero: one painting large (up to ~80% of the screen height), the words smaller beside it. */
.hero {
  padding-block: 48px 88px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 72px; align-items: center;
}
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); padding-block: 32px 64px; } }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.hero__lead { max-width: 36ch; font-size: var(--t-lead); line-height: 1.6; color: var(--soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__work { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__link { display: block; }
.hero__img {
  width: auto; height: auto; max-width: 100%; max-height: min(80vh, 900px);
  box-shadow: var(--shadow-alone);
}
.hero__caption { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--muted); }
.hero__label { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero__caption a { color: var(--ink); font-weight: 500; }
.hero__note { max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }
@media (max-width: 900px) { .hero__work { order: -1; } .hero__img { max-height: 68vh; } }

.section--rule { border-top: 1px solid var(--rule); }
.section__inner { padding-block: 64px 80px; display: flex; flex-direction: column; gap: 36px; }
.section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.section__tools { display: flex; align-items: center; gap: 20px; }

/* Strip: large works in their own proportions, side by side, scrollable; bleeds to the screen edge. */
.strip {
  margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 28px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--field) transparent;
}
.strip__list { display: flex; gap: clamp(32px, 4vw, 64px); width: max-content; align-items: flex-end; }
.strip__item { flex: none; scroll-snap-align: start; }
.strip__link { display: flex; flex-direction: column; gap: 4px; }
.strip__link:hover { text-decoration: none; }
.strip__img {
  height: clamp(300px, 32vw, 460px); width: auto; max-width: none; margin-bottom: 14px; background: #E4E3DF;
  box-shadow: var(--shadow-grid);
}
.strip__title { font-weight: 500; font-size: 15px; line-height: 1.3; max-width: 30ch; }
.strip__link:hover .strip__title { text-decoration: underline; text-underline-offset: 3px; }
.strip__meta { font-family: var(--f-mono); font-size: var(--t-meta); color: var(--muted); }
.strip-nav { display: flex; gap: 8px; }
.icon-btn--ring { border: 1px solid var(--control); }
.icon-btn--ring:hover { border-color: var(--ink); background: transparent; }
.icon-btn--ring[disabled] { opacity: .35; cursor: default; }
@media (max-width: 700px) { .strip-nav { display: none; } }

.facts--compact { border: 0; padding: 0; gap: 6px 24px; font-size: 15px; }

/* Over: one calm column. */
.about { padding-block: 72px 88px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.about__lead { max-width: 58ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--soft); text-wrap: pretty; }

/* Nu te zien: works hang on one line at equal height in their own proportions (flex-grow = width/height),
   so the row always fits the screen and nothing is cut off. Phone: a row to swipe, 300 px high. */
.lijn { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: clamp(24px, 3vw, 48px); }
.lijn__item { flex: var(--r) 1 0; min-width: 0; }
.lijn__link { display: flex; flex-direction: column; gap: 4px; }
.lijn__link:hover { text-decoration: none; }
.lijn__img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; margin-bottom: 12px; background: #E4E3DF; box-shadow: var(--shadow-grid); }
.lijn__title { font-weight: 500; font-size: 15px; line-height: 1.3; }
.lijn__link:hover .lijn__title { text-decoration: underline; text-underline-offset: 3px; }
.lijn__meta { font-family: var(--f-mono); font-size: var(--t-meta); color: var(--muted); }
@media (max-width: 759px) {
  .lijn {
    overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; gap: 20px;
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--field) transparent;
  }
  .lijn__item { flex: none; width: calc(var(--r) * 300px); scroll-snap-align: start; }
}

/* ── Stijlvariant "warm": crème en warme inkt van de oude site, titels van werken in cursieve Libre Baskerville ── */
body.stijl-warm {
  --wall: #F7F3ED; --ink: #2A2520; --muted: #675E54; --soft: #463F38;
  --rule: #E4DCD0; --field: #CEC5B7; --plinth: #EEE7DC; --surface: #FFFDF9;
  --f-title: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
}
.stijl-warm :is(.hang__title, .lrow__title, .strip__title, .hero__caption a, .enquiry__title) {
  font-family: var(--f-title); font-style: italic; font-weight: 400; letter-spacing: -.005em;
}
.stijl-warm .lrow__title { font-size: 24px; line-height: 1.2; }
.stijl-warm .hang__title, .stijl-warm .strip__title { font-size: 16px; line-height: 1.35; }
.stijl-warm .enquiry__title { font-size: 22px; }
.stijl-warm .site-header__logo { font-family: var(--f-title); font-weight: 400; font-style: normal; letter-spacing: 0; }
@media (max-width: 600px) { .stijl-warm .lrow__title { font-size: 19px; } }

/* ── Indeling: tags, kleurstippen ── */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.dot--lg { width: .5em; height: .5em; vertical-align: .12em; margin-right: .12em; }

.tag {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--control); border-radius: var(--radius); background: transparent;
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.tag:hover { border-color: var(--ink); text-decoration: none; }
.tag--kleur .dot { width: 14px; height: 14px; }
.tag--link { min-height: 32px; font-size: 14px; }
.facts__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.facts dt:has(+ .facts__tags) { padding-top: 5px; }

.chipx {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 2px 10px;
  border-radius: var(--radius); background: var(--plinth); color: var(--ink); font-family: var(--f-text); font-size: 13px;
}
.chipx:hover { background: var(--field); text-decoration: none; }
.collectie__empty { padding-block: 24px 48px; }
.collectie__titles { display: flex; flex-direction: column; gap: 10px; }
.collectie__titles .eyebrow a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.collectie__titles .eyebrow a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ── Home: Ontdek per thema ── */
.themas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 56px clamp(20px, 3vw, 48px); }
@media (max-width: 1100px) { .themas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .themas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; } }
.thema { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; text-align: center; }
.thema:hover { text-decoration: none; }
/* Every tile the same portrait box (72 × 102); the work fills it, so the row reads as one calm line. */
.thema__img { width: 100%; max-width: 200px; aspect-ratio: 72 / 102; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 16px; }
.thema__img img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  box-shadow: var(--shadow-grid);
}
.thema__name { font-family: var(--f-text); font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing: -.005em; }
.thema:hover .thema__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.thema__n { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .thema__name { font-size: 15px; } }

/* ── Ordenen: Tijdlijn / Thema's / Kleuren (in de balk) ── */
.ordenen { display: flex; gap: 6px; }
.ordenen__tab {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 500; font-size: 15px; color: var(--muted);
  text-underline-offset: 8px; text-decoration-thickness: 1px;
}
.ordenen__tab:first-child { padding-left: 0; }
.ordenen__tab:hover { color: var(--ink); text-decoration: underline; }
.ordenen__tab[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.filterbar__back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--muted); padding-right: 6px; }
.filterbar__back:hover { color: var(--ink); }
.select { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.select__label { color: var(--muted); }
.select select {
  min-height: 44px; padding: 0 34px 0 12px; border: 1px solid var(--control); border-radius: var(--radius); background-color: var(--wall);
  font-weight: 500; font-size: 14px; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.select select:hover { border-color: var(--ink); }
.collectie__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.jump { display: none; }
@media (max-width: 1199px) { .js .jump { display: inline-flex; } }
@media (max-width: 760px) {
  .ordenen__tab { padding: 0 10px; min-height: 44px; font-size: 14px; }
  .filterbar { gap: 8px; }
}
.jaren__list a { align-items: center; }
.jaren__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.has-index--thema .jaren__list a, .has-index--kleur .jaren__list a { font-family: var(--f-text); font-size: 14px; padding-block: 5px; }
.jaren__list .dot { width: 10px; height: 10px; }
.jaar__head { flex-wrap: wrap; }
.jaar__more { margin-left: auto; font-size: 14px; }
.jaar__desc { color: var(--soft); max-width: 70ch; padding-top: 12px; }
.jaar--plain + .jaar--plain .wand { padding-top: 0; }
.jaar--plain .wand { padding-top: 32px; }

/* Wand/Lijst: icon + text; on small screens only the icon (text stays for screen readers). */
.pill--view { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) {
  .pill--view { padding: 0 12px; }
  .pill--view .pill__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ── Collectie: filterbar end, anchors ── */
.filterbar__end { margin-left: auto; gap: 10px; }
.collectie__count { margin-right: auto; }
.wand__item, .lijst__item { scroll-margin-top: 110px; }
.wand__item:target .hang__img, .lijst__item:target .lrow { outline: 2px solid var(--ink); outline-offset: 6px; }
@media (max-width: 760px) { .filterbar__end { gap: 6px; } }

.werk__back { font-size: 14px; color: var(--ink); font-weight: 500; }
.pager__pos { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); align-self: center; }
@media (max-width: 760px) {
  .ordenen { gap: 2px; }
  .ordenen__tab { padding: 0 9px; font-size: 14px; min-height: 44px; }
  .filterbar .icon-btn { width: 44px; height: 44px; }
  .pill--view { padding: 0 12px; min-width: 44px; min-height: 44px; justify-content: center; }
  /* Term pages: the select explains itself ("Alle kleuren"); keep its label for screen readers only. */
  .filterbar .select__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .filterbar .select select { max-width: 36vw; text-overflow: ellipsis; padding: 0 28px 0 10px; background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; }
  .filterbar__back { padding-right: 0; font-size: 13.5px; }
  .filterbar__end { gap: 4px; }
  .filterbar__end > .filterbar__group { gap: 4px; }
}
@media (max-width: 760px) {
  .ordenen__tab { padding: 0 8px; }
  .filterbar { gap: 4px; }
}
@media (max-width: 389px) {
  .filterbar { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
  .filterbar__end { margin-left: auto; }
}

/* ── Digitale tentoonstelling (page-tentoonstelling.php + assets/js/museum.js, WebGL via three.js). ──
   26 nov 2026 (Tim: "te gimmicky"): één rustige vormtaal — rechte kaartjes (radius 2 px zoals de rest van de site), werktitel
   cursief, geen monoletter; rondleiding met tekst en pauzeknop; de zaal vult precies het scherm onder de kop (--kop, museum.js). */
.museum { position: relative; --kop: 81px; }
@media (max-width: 700px) { .museum { --kop: 57px; } }
.museum__stage {
  position: relative; height: calc(100svh - var(--kop)); min-height: 460px; overflow: hidden;
  background: #DAD7D0; user-select: none; -webkit-user-select: none;
}
.museum__stage::after {   /* lens vignette: a touch of photographic falloff at the corners */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 66%, rgba(20,18,14,.09) 100%);
}
html:not(.js) .museum__stage, html:not(.js) .museum__bottom, html:not(.js) .museum__overzicht, html:not(.js) .museum__hint,
html:not(.js) .museum__rondleiding { display: none; }
html:not(.js) .museum__ui { position: static; height: auto; min-height: 0; }
.museum__canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; outline: none; }
.museum__canvas.is-dragging { cursor: grabbing; }
.museum__laden {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0;
  font-size: 14px; color: var(--muted); background: #E6E3DD; transition: opacity .6s ease, visibility .6s;
}
.museum:not(.is-loading) .museum__laden { opacity: 0; visibility: hidden; }
.museum.is-fallback .museum__stage, .museum.is-fallback .museum__bottom, .museum.is-fallback .museum__rondleiding,
.museum.is-fallback .museum__overzicht, .museum.is-fallback .museum__hint { display: none; }
.museum.is-fallback .museum__ui { position: static; height: auto; min-height: 0; }
.museum__melding {
  margin-bottom: 20px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--surface); max-width: 60ch;
}
.museum__hint {
  position: absolute; left: 50%; top: 32px; transform: translateX(-50%); margin: 0; max-width: calc(100% - 32px);
  padding: 8px 14px; border-radius: var(--radius); background: rgba(20,20,20,.72); color: #fff; text-align: center;
  font-size: 13.5px; line-height: 1.35; transition: opacity .6s ease; pointer-events: none;
}
.museum__hint:empty, .museum__hint.is-weg { opacity: 0; }
.museum.is-loading .museum__hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .museum__laden, .museum__hint { transition: none; } }

.museum__ui {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100svh - var(--kop)); min-height: 460px; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px var(--gutter) 24px;
}
.museum__ui :is(a, button, select, label) { pointer-events: auto; }
.museum__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 24px; }
.museum__zaal { padding: 10px 16px 10px 18px; border-radius: var(--radius); background: rgba(247,246,243,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-width: 0; }
.museum__titel { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.015em; line-height: 1.1; }

/* Rondleiding aan/uit (rechtsboven) */
.museum__rondleiding {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #141414;
  border-radius: var(--radius); background: #141414; color: #fff; font: 500 15px/1 var(--f-text); cursor: pointer;
}
.museum__rondleiding:hover { background: #2b2a27; }
.museum__rondleiding[hidden] { display: none; }
.museum__rondleiding > span { display: inline-flex; align-items: center; gap: 8px; }
.museum__rondleiding-uit, .museum__rondleiding[data-aan="true"] .museum__rondleiding-aan { display: none !important; }
.museum__rondleiding[data-aan="true"] .museum__rondleiding-uit { display: inline-flex !important; }
.museum__rondleiding[data-aan="true"] { background: rgba(247,246,243,.92); color: #141414; }
.museum__rondleiding[data-aan="true"]:hover { background: #fff; }
.museum__rondleiding:focus-visible, .museum__pauze:focus-visible { outline: 2px solid #141414; outline-offset: 2px; }

/* Onderaan: vorige · kaartje · volgende */
.museum__bottom { display: flex; align-items: center; justify-content: center; gap: 12px; }
.museum__nav { flex: none; width: 48px; height: 48px; background: rgba(247,246,243,.92); }
.museum__info {
  width: min(560px, 100%); padding: 12px 22px 14px; border-radius: var(--radius); text-align: center;
  background: rgba(247,246,243,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(20,20,20,.06);
}
.museum__werk { font-family: var(--f-title, var(--f-display)); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.25; letter-spacing: -.005em; }
.museum.is-3d .museum__werk:not(:has(a)) { font-family: var(--f-display); font-style: normal; font-weight: 600; letter-spacing: -.015em; }
.museum__werk a { color: var(--ink); }
.museum__werk a, .museum__meta a { pointer-events: auto; }
.museum__meta { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.museum__meta .link-btn { font-family: var(--f-text); font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 0; min-height: 0; }
.museum__meta a { color: var(--ink); }
.museum__tekst { max-width: 58ch; margin: 8px auto 0; font-size: 15px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }
.museum__tourbalk { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.museum__tourbalk[hidden] { display: none; }
.museum__pauze {
  flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--control);
  border-radius: var(--radius); background: transparent; color: var(--ink); font: 500 13.5px/1 var(--f-text); cursor: pointer;
}
.museum__pauze:hover { border-color: var(--ink); }
.museum__pauze > span { display: inline-flex; align-items: center; gap: 7px; }
.museum__pauze-uit, .museum__pauze[data-aan="true"] .museum__pauze-aan { display: none !important; }
.museum__pauze[data-aan="true"] .museum__pauze-uit { display: inline-flex !important; }
.museum__voortgang { flex: 1; height: 2px; background: rgba(20,20,20,.12); overflow: hidden; }
.museum__voortgang i { display: block; height: 100%; background: #141414; transform: scaleX(0); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .museum__voortgang { visibility: hidden; } }
.museum__overzicht { position: absolute; left: var(--gutter); bottom: 30px; background: rgba(247,246,243,.92); }
.museum.is-tour .museum__overzicht { display: none; }

@media (max-width: 760px) {
  .museum__ui { padding: 12px 16px 14px; }
  .museum__top { gap: 8px; }
  .museum__zaal { flex: 1; padding: 8px 12px; }
  .museum .museum__select { font-size: 19px; max-width: 100%; width: 100%; }
  .museum__kies, .museum__keuze { min-width: 0; }
  .museum__lang { display: none; }
  .museum__rondleiding { min-height: 44px; padding: 0 12px; font-size: 14px; }
  .museum__hint { top: 96px; bottom: auto; font-size: 12.5px; white-space: nowrap; }   /* under the top bar, above the work */
  .museum__overzicht { position: static; align-self: center; margin-top: 8px; min-height: 40px; }
  .museum__bottom { margin-top: auto; gap: 8px; align-items: center; }
  .museum__nav { width: 44px; height: 44px; margin-bottom: 0; }
  .museum__info { flex: 1; min-width: 0; padding: 10px 12px 12px; }
  .museum__werk { font-size: 17px; }
  .museum__meta { font-size: 12.5px; }
  .museum__tekst { font-size: 14px; line-height: 1.45; margin-top: 6px; }
  .museum__tourbalk { margin-top: 10px; gap: 10px; }
  /* In de rondleiding is het kaartje de hele breedte; de pijlen staan dan eronder naast elkaar. */
  .museum.is-tour .museum__bottom { flex-wrap: wrap; }
  .museum.is-tour .museum__info { order: -1; flex-basis: 100%; }
}
/* Laag scherm (telefoon liggend, laptop met veel balken): alles compacter; de zaal is dan net zo hoog als het scherm. */
@media (max-height: 560px) {
  .museum__stage, .museum__ui { min-height: 300px; }
  .museum__ui { padding-block: 10px 10px; }
  .museum__zaal { padding: 6px 12px; }
  .museum__zaal .eyebrow { display: none; }
  .museum .museum__select { font-size: 18px; min-height: 32px; }
  .museum__rondleiding { min-height: 40px; }
  .museum__info { padding: 8px 14px 10px; width: min(620px, 100%); }
  .museum__werk { font-size: 16px; }
  .museum__tekst { font-size: 13.5px; line-height: 1.4; margin-top: 4px; }
  .museum__tourbalk { margin-top: 6px; }
  .museum__pauze { min-height: 32px; }
  .museum__overzicht { display: none; }
  .museum.is-tour .museum__bottom { flex-wrap: nowrap; }
  .museum.is-tour .museum__info { order: 0; flex-basis: auto; }
  .museum__hint { bottom: auto; top: 60px; }
}
/* Laag én breed (telefoon liggend) in de rondleiding: het kaartje rechts naast het werk, de pijlen eronder. */
@media (max-height: 560px) and (min-aspect-ratio: 4/3) {
  .museum.is-tour .museum__zaal { visibility: hidden; }
  .museum.is-tour .museum__bottom {
    position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-46%);
    width: min(42%, 440px); flex-wrap: wrap; justify-content: center; margin: 0;
  }
  .museum.is-tour .museum__info { order: -1; flex-basis: 100%; }
}
.museum__lijst { padding-block: 48px 72px; }
.museum__lijst ol { margin: 16px 0 20px; padding-left: 1.4em; list-style: decimal; columns: 2; column-gap: 48px; }
.museum__lijst li span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.museum__intro { max-width: 60ch; color: var(--soft); }
@media (max-width: 640px) { .museum__lijst ol { columns: 1; } }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__title em { font-style: normal; }

/* ── Telefoon: logo links, knop "Menu" rechts; het menu klapt open onder de kop (25 nov 2026). Zonder JS: menu zichtbaar. ── */
.site-menu-knop { display: none; }
@media (max-width: 700px) {
  .js .site-header__inner { flex-wrap: nowrap; align-items: center; }
  .js .site-menu-knop:not([hidden]) {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: -8px; padding: 0 8px;
    border: 0; background: none; color: inherit; font-size: 15px; font-weight: 500;
  }
  .site-menu-knop__dicht { display: none; }
  .site-menu-knop[aria-expanded="true"] .site-menu-knop__open { display: none; }
  .site-menu-knop[aria-expanded="true"] .site-menu-knop__dicht { display: inline; }
  .site-menu-knop__ikoon { position: relative; width: 18px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: border-color .2s ease; }
  .site-menu-knop__ikoon::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .2s ease; }
  .site-menu-knop[aria-expanded="true"] .site-menu-knop__ikoon { border-color: transparent; }
  .site-menu-knop[aria-expanded="true"] .site-menu-knop__ikoon::before { transform: rotate(45deg); }
  .site-menu-knop[aria-expanded="true"] .site-menu-knop__ikoon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transform: rotate(-45deg); }
  .js .site-header__inner:has(.site-menu-knop:not([hidden])) { flex-wrap: wrap; justify-content: space-between; }
  .js .site-header:has(.site-menu-knop:not([hidden])) .site-nav { display: none; flex-basis: 100%; }
  /* Open: de kop wordt een eigen scherm over de pagina heen (Tim 25 nov 2026: menu tussen de inhoud = "rommelig"). */
  /* absolute i.p.v. fixed (26 nov 2026): Safari op iOS 26 neemt de kleur van een vast element tegen de rand over in zijn
     balken en ververst die daarna niet meer. Het menu vult het scherm bovenaan de pagina; menu.js scrolt bij openen naar boven. */
  .js .site-header.menu-open {
    position: absolute; top: 0; left: 0; right: 0; min-height: 100svh; z-index: 60; border-bottom: 0;
    background: var(--menu-bg, var(--kamer, var(--wall))); color: var(--menu-fg, var(--kamer-ink, var(--ink)));
  }
  /* Kleur van de kop vastgelegd bij openen (menu.js): ook de pagina-achtergrond (statusbalk iPhone) houdt die kleur. */
  html.menu-open, html.menu-open body { background: var(--menu-bg, var(--wall)); }
  .js .site-header.menu-open .site-header__inner { align-content: flex-start; }
  .js .site-header.menu-open:has(.site-menu-knop:not([hidden])) .site-nav { display: block; padding: 28px 0 40px; }
  .js .site-header.menu-open .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-header.menu-open .site-nav__list li { border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
  .js .site-header.menu-open .site-nav__list li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
  .js .site-header.menu-open .site-nav__list a { display: flex; min-height: 64px; font-family: var(--f-display); font-size: 28px; font-weight: 600; letter-spacing: -.015em; }
  .js .site-header.menu-open .site-nav__list a[aria-current] { text-decoration: none; }
  .js .site-header.menu-open .site-nav__list a { align-items: center; }
  .js .site-header.menu-open .site-nav__list a[aria-current]::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: currentColor; }
  html.menu-open, html.menu-open body { overflow: hidden; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .site-menu-knop__ikoon, .site-menu-knop__ikoon::before { transition: none; } }

/* viewport-fit=cover: op telefoons met een notch / Dynamic Island loopt de pagina door achter de statusbalk; de kop houdt afstand. */
.site-header { padding-top: env(safe-area-inset-top, 0px); }
.site-header__inner { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* De zaal: één kaartje linksboven; de naam van de zaal is de keuzelijst (26 nov 2026). */
.museum__zaal { display: flex; flex-direction: column; gap: 2px; }
.museum__kies { margin: 0; }
.museum__keuze { display: block; }
.museum__select {
  appearance: none; -webkit-appearance: none; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.015em; line-height: 1.15;
  padding: 0 26px 0 0; min-height: 36px; cursor: pointer; max-width: min(70vw, 420px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.museum__select:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.museum__select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.museum__select option, .museum__select optgroup { font-family: var(--f-text); font-size: 16px; font-weight: 400; letter-spacing: 0; }

/* ── Vraag over een werk in een venster (enquiry.js, 26 nov 2026) ──
   Laptop: venster in het midden, links het werk (in de tint van de wand), rechts het formulier.
   Telefoon: een blad dat van onderen omhoog schuift, met het werk klein bovenaan. */
.vraag {
  padding: 0; border: 0; margin: auto; width: min(880px, calc(100vw - 48px)); max-height: calc(100svh - 48px);
  background: #fff; color: var(--ink); border-radius: 4px; overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 40px 90px -30px rgba(0,0,0,.5);
  --ink: #141414; --soft: #2E2D2A; --muted: #5E5D58; --rule: #DEDCD6; --control: #86847E; --wall: #F7F6F3; --accent: #141414; --on-accent: #fff;
}
.vraag::backdrop { background: rgba(20, 20, 20, .55); }
.vraag[open] { animation: vraag-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes vraag-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.vraag__kaart { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); min-height: 100%; }
.vraag__werk {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 36px 28px;
  background: var(--vraag-tint, #F2F1EE); text-align: center;
}
.vraag__werk img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(46svh, 380px); box-shadow: 0 2px 4px rgba(0,0,0,.16), 0 24px 40px -24px rgba(0,0,0,.55); }
.vraag__titel { font-family: var(--f-title, var(--f-display)); font-style: italic; font-size: 20px; line-height: 1.25; }
.vraag__meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.vraag__vak { min-width: 0; }
.vraag .enquiry__form { border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 32px 36px 28px; gap: 16px; }
.vraag .enquiry__head { align-items: flex-start; }
.vraag .enquiry__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.vraag .enquiry__close { margin: -8px -12px 0 0; flex: none; }
.vraag .field input, .vraag .field textarea { background: var(--wall); border-color: transparent; border-bottom: 1px solid var(--control); border-radius: 2px; }
.vraag .btn--dark { width: auto; align-self: flex-start; padding-inline: 32px; }
html.vraag-open, html.vraag-open body { overflow: hidden; }
@media (max-width: 700px) {
  .vraag {
    margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; border-radius: 14px 14px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .vraag[open] { animation: vraag-op .32s cubic-bezier(.2, .7, .2, 1); }
  @keyframes vraag-op { from { transform: translateY(100%); } }
  .vraag__kaart { grid-template-columns: minmax(0, 1fr); }
  .vraag__werk { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 16px 20px; text-align: left; border-radius: 14px 14px 0 0; }
  .vraag__werk img { max-height: 72px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
  .vraag__titel { font-size: 18px; }
  .vraag .enquiry__form { padding: 20px 20px 24px; }
  .vraag .btn--dark { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .vraag[open] { animation: none; } }
.vraag .enquiry__title:focus { outline: none; }
