/* Bricolage Grotesque (Google Fonts, OFL). De display-versie staat vast op optische maat 96. */
@font-face {
  font-family: "Bricolage Display";
  src: url("/fonts/bricolage-display-latin.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --wit: #ffffff;
  --inkt: #121212;
  --grijs: #5c5c5c;
  --lijn: #e4e4e4;
  --zacht: #f4f4f4;
  --fout: #b3261e;
  --blauw: #2b59c3;
  --geel: #f2c014;
  --rood: #d33a2c;
  --groen: #2f9e57;
  --paars: #8a63c9;
  --donkerblauw: #14245c;
  --rand: clamp(16px, 4vw, 56px);
  --uit: cubic-bezier(0.23, 1, 0.32, 1);
  --display: "Bricolage Display", "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --tekst: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--inkt) var(--wit); }
body {
  margin: 0;
  background: var(--wit);
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--geel); color: var(--inkt); }
input, textarea, select { caret-color: var(--rood); }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
:focus-visible { outline: 2.5px solid var(--blauw); outline-offset: 3px; border-radius: 3px; }
button { font: inherit; color: inherit; }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.verborgen {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--rand); top: -60px; z-index: 30;
  background: var(--inkt); color: var(--wit); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Kop */
.kop {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(18px, 2.6vw, 34px) var(--rand) clamp(28px, 4vw, 56px);
  position: relative; z-index: 10;
}
.naam {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.005em;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.naam-tekst { display: inline-block; transition: opacity 260ms var(--uit); }
.naam.spuiten .naam-tekst { opacity: 0; }
.naam canvas { position: absolute; pointer-events: none; }

.menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.menu ul { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-weight: 400; font-size: 1rem; position: relative; display: inline-block; padding: 6px 0; }
/* Huidige pagina en hover: iets groter en donkerblauw, zonder lijntje */
.menu a, .taal span[aria-current] {
  display: inline-block; transform-origin: center;
  transition: transform 0.3s ease, color 0.3s ease;
}
.menu a[aria-current="page"], .taal span[aria-current] { transform: scale(1.08); color: var(--donkerblauw); }
@media (hover: hover) and (pointer: fine) {
  .menu a:hover { transform: scale(1.08); color: var(--donkerblauw); }
}

.taal { display: flex; align-items: baseline; gap: 6px; font-size: 0.9375rem; font-weight: 400; }
.taal a { color: var(--grijs); text-decoration: none; padding: 6px 2px; }
.taal .schuin { color: var(--lijn); }

.menuknop {
  display: none;
  background: var(--inkt); color: var(--wit); border: 0; border-radius: 999px;
  padding: 9px 18px; font-weight: 400; font-size: 0.9375rem; cursor: pointer;
  transition: transform 160ms var(--uit);
}
.menuknop:active { transform: scale(0.97); }

@media (max-width: 760px) {
  .menuknop { display: inline-block; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 22px;
    background: var(--wit); padding: 8px var(--rand) 32px;
    box-shadow: 0 24px 30px -24px rgb(18 18 18 / 0.22);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 200ms var(--uit), transform 200ms var(--uit), visibility 0s linear 200ms;
  }
  .kop.open .menu { opacity: 1; transform: none; visibility: visible; transition: opacity 200ms var(--uit), transform 200ms var(--uit); }
  .menu ul { flex-direction: column; gap: 10px; }
  .menu ul a { font-size: 1.75rem; }
  .taal { font-size: 1.0625rem; }
  .kop { padding-bottom: 28px; }
}

/* Wand met werk */
.wand {
  list-style: none; margin: 0 auto; padding: 0 var(--rand) clamp(72px, 9vw, 140px);
  max-width: 1560px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4.6vw, 84px); row-gap: clamp(56px, 7vw, 120px);
}
@media (max-width: 1023px) { .wand { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .wand { grid-template-columns: minmax(0, 1fr); row-gap: 64px; } }

.tegel-link { display: block; text-decoration: none; }
.lijst {
  display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 6 / 5; container-type: size;
}
/* De foto past in het vak zoals voorheen; het vak eromheen is precies zo groot als de foto (voor het SOLD-label) */
.foto { position: relative; display: block; aspect-ratio: var(--r); width: min(100cqw, 100cqh * var(--r)); }
.tegel.plat .foto { width: min(86cqw, 86cqh * var(--r)); margin-bottom: 6cqw; }
.foto img {
  display: block; width: 100%; height: 100%;
  transition: transform 0.3s ease;
}
.tegel.plat .foto img { box-shadow: 0 2px 4px rgb(18 18 18 / 0.08), 0 22px 34px -20px rgb(18 18 18 / 0.42); }
@media (hover: hover) and (pointer: fine) {
  .tegel-link:hover .foto img { transform: scale(1.04); }
}
.sold {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(200, 30, 30, 0.8); color: #ffffff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.2; padding: 4px 10px;
}
.tegel-pill { display: block; margin-top: 8px; }
.meer-knop {
  display: block; width: max-content; margin-top: 14px;
  background: #000000; color: #ffffff; text-decoration: none;
  font-size: 0.875rem; line-height: 1.2; padding: 9px 14px; border: 0; border-radius: 0;
  cursor: pointer; transition: background-color 0.2s ease;
}
.meer-knop:hover { background: #333333; }
.meer-knop:focus-visible { outline: 2px solid var(--donkerblauw); outline-offset: 3px; }

/* Collectielabels */
.pill {
  display: inline-block; border-radius: 999px; padding: 3px 12px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; line-height: 1.5;
  text-decoration: none; border: 0; box-shadow: none;
  background: rgb(18 18 18 / 0.08); color: var(--inkt);
}
.pill-universal { background: rgba(37, 99, 235, 0.15); color: #1e3a8a; }
.pill-the-world-is-yours { background: rgba(234, 88, 12, 0.15); color: #9a3412; }
.pill-001 { background: rgba(126, 34, 206, 0.15); color: #581c87; }
.pill:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Filterbalk */
.filters { display: none; padding: 0 var(--rand) clamp(36px, 4.4vw, 64px); max-width: 1560px; margin: 0 auto; }
.js .filters { display: block; }
.filterknop { display: none; }
.filterpaneel { display: flex; flex-wrap: wrap; align-items: end; gap: 18px clamp(24px, 3vw, 44px); }
.filter { display: grid; gap: 6px; font-size: 0.8125rem; color: var(--grijs); }
.filter select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 0.9375rem; color: var(--inkt);
  border: 0; border-bottom: 1.5px solid var(--inkt); border-radius: 0; padding: 6px 26px 6px 0; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23121212' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 6px center;
}
.filter select.actief {
  background-color: var(--inkt); color: #ffffff; padding-left: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
}
.filter select:focus-visible { outline: 2px solid var(--donkerblauw); outline-offset: 3px; }
.wand { transition: opacity 0.3s ease; }
.wand.wissel { opacity: 0; }
.p-home .wand.rust .tegel { animation: none; }
.geen { padding: 0 var(--rand) clamp(80px, 9vw, 140px); max-width: 1560px; margin: 0 auto; font-size: 1.125rem; }
.geen-wis { background: none; border: 0; padding: 0; font: inherit; color: var(--inkt); text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
@media (max-width: 639px) {
  .filterknop {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    background: var(--wit); color: var(--inkt); border: 1.5px solid var(--inkt); border-radius: 0;
    padding: 9px 16px; font-size: 0.9375rem;
  }
  .filterknop[aria-expanded="true"] { background: var(--inkt); color: var(--wit); }
  .filterpaneel { display: none; flex-direction: column; align-items: stretch; margin-top: 18px; }
  .filters.open .filterpaneel { display: flex; }
  .filter select { width: 100%; }
}
.tegel-titel {
  display: inline-block; position: relative;
  margin-top: 18px; font-weight: 700; font-style: italic; font-size: 1.4rem; line-height: 1.25;
  text-decoration: none; border-bottom: 0;
}
.tegel-titel, .werk-info h1, .bladeren strong {
  transform-origin: center; transition: transform 0.3s ease, color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .tegel-titel:hover, .werk-info h1:hover, .bladeren strong:hover { transform: scale(1.05); color: var(--donkerblauw); }
}
.tegel-sub {
  display: block; margin-top: 4px;
  font-size: 0.75rem; font-weight: 400; font-style: normal; text-transform: uppercase; letter-spacing: 0.08em;
}
@media (max-width: 639px) { .tegel-titel { font-size: 1.15rem; } }

/* Werk */
.werk {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 88px);
  padding: 0 var(--rand); max-width: 1560px; margin: 0 auto; align-items: start;
}
.werk-beeld { display: flex; justify-content: center; }
.werk-beeld img { max-height: min(82vh, 1100px); width: auto; }
.werk-beeld.plat .vergroot { box-shadow: 0 2px 4px rgb(18 18 18 / 0.08), 0 30px 46px -26px rgb(18 18 18 / 0.45); }
.vergroot { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
/* Inzoomen op de penseelstreken: 2,5x op de plek van de cursor (alleen met muis) */
.p-werk .vergroot { overflow: hidden; }
.p-werk .vergroot img { display: block; transition: transform 0.3s ease; }
@media (hover: hover) and (pointer: fine) {
  .p-werk .vergroot:hover img { transform: scale(2.5); }
}
.werk-info { position: sticky; top: 32px; padding-top: clamp(0px, 2vw, 24px); }
.werk-info h1 { display: inline-block; font-size: clamp(2.1rem, 3.4vw, 3.3rem); margin-bottom: clamp(24px, 3vw, 36px); }
.werk-sub { margin: calc(-1 * clamp(12px, 1.6vw, 20px)) 0 clamp(24px, 3vw, 36px); }
.werk-sub + .werk-sub { margin-top: calc(-1 * clamp(12px, 1.6vw, 20px)); }
.gegevens { margin: 0 0 32px; display: grid; gap: 14px; }
.gegevens div { display: grid; gap: 1px; }
.gegevens dt { font-size: 0.875rem; color: var(--grijs); }
.gegevens dd { margin: 0; font-weight: 400; }
.prijs { display: grid; font-variant-numeric: tabular-nums; }
.prijs span + span { color: var(--grijs); font-weight: 400; }

.knop {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--inkt); color: var(--wit); text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 999px; padding: 15px 26px; font-weight: 400; font-size: 1rem; cursor: pointer;
  transition: transform 160ms var(--uit), background-color 200ms ease;
}
.knop:hover { background: #2e2e2e; }
.knop:active { transform: scale(0.97); }
.knop-licht { background: var(--wit); color: var(--inkt); box-shadow: inset 0 0 0 1.5px var(--inkt); }
.knop-licht:hover { background: var(--zacht); }

@media (max-width: 900px) {
  .werk { grid-template-columns: minmax(0, 1fr); }
  .werk-info { position: static; }
  .werk-beeld img { max-height: none; }
}

.meer { padding: clamp(80px, 10vw, 160px) var(--rand) 0; max-width: 1560px; margin: 0 auto; }
.meer-rij { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 64px); align-items: end; }
.meer-rij.aantal-1 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.meer-rij.aantal-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.meer-rij.aantal-4 { grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); }
.meer figure { margin: 0; }
.meer img { width: 100%; }
.meer figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--grijs); }
@media (max-width: 900px) {
  .meer-rij.aantal-1 { grid-template-columns: minmax(0, 1fr); }
  .meer-rij.aantal-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .meer-rij.aantal-4 li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .meer-rij.aantal-2, .meer-rij.aantal-4 { grid-template-columns: minmax(0, 1fr); }
}

.bladeren {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  padding: clamp(80px, 10vw, 150px) var(--rand) clamp(56px, 6vw, 96px); max-width: 1560px; margin: 0 auto;
}
.bladeren a { text-decoration: none; }
.bladeren span { display: block; font-size: 0.875rem; color: var(--grijs); }
.bladeren strong { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.1; display: inline-block; }
.bladeren-volgend { text-align: right; }
.bladeren-alle { font-weight: 400; text-decoration: underline !important; }
@media (max-width: 639px) {
  .bladeren { grid-template-columns: 1fr 1fr; align-items: start; }
  .bladeren-alle { grid-column: 1 / -1; grid-row: 2; text-align: center; }
}

.lichtbak {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh;
  background: var(--wit);
}
.lichtbak[open] { display: flex; align-items: center; justify-content: center; animation: lichtin 220ms var(--uit); }
.lichtbak::backdrop { background: transparent; }
.lichtbak img { max-width: calc(100vw - 2 * var(--rand)); max-height: calc(100dvh - 120px); width: auto; height: auto; cursor: zoom-out; }
.lichtbak-sluit {
  position: absolute; top: 18px; right: var(--rand);
  background: var(--inkt); color: var(--wit); border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 400; cursor: pointer;
}
@keyframes lichtin { from { opacity: 0; } to { opacity: 1; } }

/* Over mij */
.over {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px);
  padding: 0 var(--rand) clamp(80px, 9vw, 140px); max-width: 1440px; margin: 0 auto; align-items: start;
}
.over-foto { margin: 0; position: sticky; top: 32px; }
.over-foto img { width: 100%; }
.over-tekst { padding-top: clamp(0px, 4vw, 56px); max-width: 60ch; }
.over-tekst h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: 28px; }
.over-tekst h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 1.7em 0 0.5em; }
.over-tekst p { margin: 0 0 1.1em; }
.over-tekst .intro { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; font-weight: 400; }
.over-beeld { margin: 1.4em 0 0; max-width: 360px; }
.over-beeld img, .over-duo img { width: 100%; display: block; }
.over-beeld figcaption, .over-duo figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--grijs); }
.over-duo { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.over-duo figure { margin: 0; }
.over-duo a { display: block; cursor: pointer; transition: opacity 0.2s ease; }
.over-duo a:hover { opacity: 0.85; }
@media (max-width: 900px) { .over { grid-template-columns: minmax(0, 1fr); } .over-foto { max-width: 520px; position: static; } }
@media (max-width: 639px) { .over-duo { grid-template-columns: minmax(0, 1fr); } .over-beeld { max-width: none; } }

/* Exposities en smalle pagina's */
.smal { padding: 0 var(--rand) clamp(80px, 9vw, 140px); max-width: 860px; margin: 0 auto 0 0; }
.smal h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: 28px; }
.leeg p { max-width: 52ch; margin: 0 0 24px; font-size: 1.125rem; }
.expo-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.expo-lijst li { display: grid; grid-template-columns: 10ch 1fr; gap: 4px 24px; }
.expo-datum { font-variant-numeric: tabular-nums; color: var(--grijs); }
.expo-titel { font-weight: 400; }
.expo-plaats { grid-column: 2; color: var(--grijs); }
.leeg-pagina p { margin: 0 0 20px; }

/* Exposities en nieuws */
.expo-pagina { padding: 0 var(--rand) clamp(80px, 9vw, 140px); max-width: 1560px; margin: 0 auto; }
.expo-pagina h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: clamp(32px, 4vw, 56px); }
.nieuws { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 40px; align-items: end; margin-bottom: clamp(72px, 9vw, 130px); }
.nieuws p { margin: 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); max-width: 36ch; }
.nieuws-foto { display: block; transition: opacity 0.2s ease; }
.nieuws-foto:hover { opacity: 0.85; }
.nieuws-foto img { width: 100%; display: block; }
.expo + .expo { margin-top: clamp(72px, 9vw, 130px); }
.expo h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.expo-meta { margin: 10px 0 24px; font-size: 0.9375rem; color: var(--grijs); }
.expo-fotos {
  list-style: none; margin: 0; padding: 0 0 12px; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.expo-fotos li { flex: 0 0 auto; scroll-snap-align: start; }
.expo-fotos img { display: block; height: clamp(300px, 28vw, 420px); width: auto; }
.expo h3 { font-size: 1rem; font-weight: 700; margin: 26px 0 10px; }
.expo-werken { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 900px; }
@media (max-width: 639px) {
  .nieuws { grid-template-columns: minmax(0, 1fr); }
  .expo-fotos img { height: 340px; }
}

/* Collectie #001 */
.groep-pagina { padding: 0 var(--rand); max-width: 1560px; margin: 0 auto; }
.groep-pagina h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: clamp(28px, 4vw, 48px); }
.groep { position: relative; max-width: 960px; margin: 0 auto clamp(72px, 9vw, 130px); }
.groep > img { display: block; width: 100%; height: auto; }
.groep-werk { position: absolute; inset: 0; pointer-events: none; text-decoration: none; }
.doek { position: absolute; pointer-events: auto; cursor: pointer; background: rgb(255 255 255 / 0); transition: background-color 0.3s ease; }
.groep-label {
  position: absolute; transform: translateY(calc(-100% - 6px));
  background: #000000; color: #ffffff; font-size: 0.8125rem; line-height: 1.3; padding: 4px 10px; white-space: nowrap;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .groep:has(.groep-werk:hover) .groep-werk:not(:hover) .doek { background: rgb(255 255 255 / 0.5); }
  .groep-werk:hover .groep-label { opacity: 1; }
}
@media (hover: none), (pointer: coarse) { .groep-label { opacity: 1; font-size: 0.75rem; } }
.groep-werk:focus-visible { outline: none; }
.groep-werk:focus-visible .doek { outline: 3px solid var(--donkerblauw); outline-offset: 2px; }
.groep-werk:focus-visible .groep-label { opacity: 1; }

/* Contact */
.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px);
  padding: 0 var(--rand) clamp(80px, 9vw, 140px); max-width: 1440px; margin: 0 auto;
}
.contact-tekst h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: 24px; }
.contact-tekst p { max-width: 42ch; margin: 0 0 20px; }
.contact-direct { font-weight: 400; line-height: 2; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.formulier { display: grid; gap: 22px; max-width: 620px; }
.veld { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.veld label, .veld legend { font-weight: 400; font-size: 0.9375rem; padding: 0; }
.veld input[type="text"], .veld input[type="email"], .veld select, .veld textarea {
  width: 100%; font: inherit; color: var(--inkt); background: var(--wit);
  border: 1.5px solid #8a8a8a; border-radius: 12px; padding: 13px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.veld textarea { resize: vertical; min-height: 150px; }
.veld input:focus-visible, .veld select:focus-visible, .veld textarea:focus-visible {
  outline: none; border-color: var(--inkt); box-shadow: 0 0 0 3px rgb(43 89 195 / 0.28);
}
.veld [aria-invalid="true"] { border-color: var(--fout); }
.fout { margin: 0; color: var(--fout); font-size: 0.9375rem; }
.keuze { gap: 10px; }
.keuze label { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 1rem; cursor: pointer; }
.keuze input { accent-color: var(--inkt); width: 18px; height: 18px; margin: 0; }
.formulier .knop { justify-self: start; }
.formulier-melding { margin: 0; padding: 14px 16px; background: var(--zacht); border-radius: 12px; }

/* Voet */
.voet {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px;
  padding: 32px var(--rand) 40px; border-top: 1px solid var(--lijn);
  font-size: 0.9375rem; color: var(--grijs);
}
.voet-naam { margin: 0; font-weight: 800; font-size: 1.25rem; color: var(--inkt); }
.voet-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.voet a { color: var(--inkt); text-decoration: none; font-weight: 400; }
.voet a:hover { text-decoration: underline; }
.voet-klein { margin: 0; }

/* Spuitbus-spoor van de muis */

/* Rustige opbouw van de wand bij het laden */
@media (prefers-reduced-motion: no-preference) {
  .p-home .tegel { animation: ophangen 700ms var(--uit) both; }
  .p-home .tegel:nth-child(2) { animation-delay: 70ms; }
  .p-home .tegel:nth-child(3) { animation-delay: 140ms; }
  .p-home .tegel:nth-child(4) { animation-delay: 210ms; }
}
@keyframes ophangen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

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

/* Prints */
.binnenkort { padding: 0 var(--rand) 120px; max-width: 1560px; margin: 0 auto; font-size: 1.125rem; }
.formaten { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.formaat { display: grid; gap: 4px; text-align: left; padding: 12px 18px; background: #fff; color: #000; border: 1px solid #000; border-radius: 0; font: inherit; font-size: .875rem; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.formaat strong { font-weight: 600; }
.formaat.gekozen { background: #000; color: #fff; }
.formaat:focus-visible { outline: 2px solid var(--donkerblauw); outline-offset: 2px; }
.p-werk .werk-beeld { position: relative; }

/* Ronde 4: fixes uit de beoordeling */
.wand .tegel { display: flex; flex-direction: column; }
.wand .tegel .meer-knop { margin-top: auto; }
.meer-knop { min-height: 44px; display: flex; align-items: center; }
.meer-rij.aantal-4 { align-items: start; }
@media (max-width: 639px) { .meer-rij.aantal-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .meer-rij.aantal-4 li:first-child { grid-column: 1 / -1; } }
.expo .nieuws-foto { max-width: 420px; }
.expo-werken { gap: 10px 26px; line-height: 1.6; }
.expo-werken a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.expo-fotos { scroll-padding-left: 0; padding-right: 40px; }
.binnenkort a { text-decoration: underline; text-underline-offset: 3px; }
.wand .tegel .tegel-pill, .wand .tegel .tegel-sub { margin-bottom: 12px; }
.p-prints h1 { position: static; width: auto; height: auto; clip: auto; overflow: visible; padding: 0 var(--rand) 24px; max-width: 1560px; margin: 0 auto; font-size: clamp(2rem, 4vw, 3.25rem); }
.expo-pagina h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
html { scrollbar-gutter: stable; }
.over-beeld { max-width: calc((100% - 16px) / 2); }
@media (max-width: 639px) { .over-beeld { max-width: none; } }
.expo-fotos { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.groep { margin-bottom: clamp(40px, 5vw, 72px); }
.wand .tegel .tegel-pill, .wand .tegel .tegel-sub { display: block; margin-top: 10px; margin-bottom: 14px; }
.wand .tegel .tegel-pill:empty { display: none; }
@media (min-width: 901px) { .meer-rij.aantal-4 { grid-template-columns: 0.75fr 0.75fr 0.75fr 0.5625fr; align-items: start; } }
@media (max-width: 639px) {
  .meer-rij.aantal-4 li:last-child { grid-column: 1 / -1; max-width: 56%; }
  .expo-werken a { display: inline-block; padding: 12px 0; }
  .expo-werken { gap: 0 22px; }
}
@media (max-width: 639px) { .meer-rij.aantal-4 li:last-child { justify-self: center; } }

/* Teksten bij schilderijen en collecties */
.teksten { margin-top: clamp(28px, 4vw, 48px); max-width: 62ch; }
.teksten h2, .teksten h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); margin: 1.8em 0 .6em; }
.teksten > h2:first-child, .teksten > h3:first-child { margin-top: 0; }
.teksten p { margin: 0 0 1em; line-height: 1.6; }
.teksten-collectie { margin-bottom: clamp(32px, 5vw, 56px); }
.expo .teksten { margin: 1.4em 0 1.8em; }
.expo .teksten h3 { margin-top: 0; }
.teksten p { line-height: 1.6; }
.teksten h2, .teksten h3, .expo .teksten h3 { font-family: var(--display); font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 800; line-height: 1.25; }
.teksten p { text-wrap: pretty; }

/* Ronde 5 (11-11): links in lopende tekst en grote foto op Over mij */
.tekstlink { font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; transition: opacity .2s ease; }
.tekstlink:hover { opacity: .7; }
.over-groot { margin: 80px auto; padding: 0 var(--rand); max-width: 1440px; text-align: center; }
.over-groot .vergroot { display: inline-block; border: 0; padding: 0; background: none; cursor: zoom-in; }
.over-groot img { display: block; width: auto; max-width: 100%; max-height: 92vh; height: auto; margin: 0 auto; }
.over-groot figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--grijs); }
.over-groot figcaption a { color: var(--inkt); }
@media (max-width: 639px) {
  .over-groot { padding: 0; margin: 64px 0; }
  .over-groot img { width: 100%; max-height: none; }
  .over-groot figcaption { padding: 0 var(--rand); }
}
.fade-in { opacity: 0; transition: opacity .6s ease; }
.fade-in.zichtbaar { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transition: none; } }

/* Exposities als hoofdstukken (ronde 5, 11-11) */
.hoofdstukken { padding-bottom: clamp(80px, 9vw, 140px); }
.hoofdstukken > h1 { font-size: clamp(2.5rem, 5vw, 4rem); padding: 0 var(--rand); max-width: 1560px; margin: 0 auto clamp(32px, 4vw, 56px); }
.hoofdstuk + .hoofdstuk { margin-top: 120px; padding-top: 120px; border-top: 1px solid #e5e5e5; }
.expo-opening { margin: 0; width: 100%; aspect-ratio: 3 / 2; max-height: 75vh; overflow: hidden; background: #fff; }
.expo-opening img, .expo-opening a { display: block; width: 100%; height: 100%; }
.expo-opening img { object-fit: cover; }
.expo-opening-heel img { object-fit: contain; }
.hoofdstuk-kop, .expo-mozaiek, .hoofdstuk-werken { max-width: 1560px; margin-left: auto; margin-right: auto; padding-left: var(--rand); padding-right: var(--rand); }
.hoofdstuk-kop { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); margin-top: clamp(32px, 4vw, 56px); }
.hoofdstuk-titel h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.hoofdstuk-titel .expo-meta { margin: 12px 0 0; font-size: 0.9375rem; color: var(--grijs); }
.hoofdstuk-tekst { max-width: 62ch; }
.hoofdstuk-tekst > p { margin: 0 0 1em; line-height: 1.6; }
.hoofdstuk-tekst .teksten { margin: 2em 0 0; }
.expo-mozaiek { list-style: none; columns: 3; column-gap: 12px; margin-top: clamp(40px, 5vw, 72px); margin-bottom: 0; }
.expo-mozaiek li { break-inside: avoid; margin: 0 0 12px; }
.expo-mozaiek .vergroot { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.expo-mozaiek img { display: block; width: 100%; height: auto; }
.hoofdstuk-werken { margin-top: clamp(40px, 5vw, 64px); }
.hoofdstuk-werken h3 { font-size: 1rem; font-weight: 700; margin: 0 0 16px; }
.duimen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 16px; }
.duimen li { width: 120px; }
.duimen a { display: block; color: inherit; text-decoration: none; }
.duim-beeld { display: flex; align-items: center; justify-content: center; height: 120px; background: #f6f6f4; }
.duim-beeld img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; transition: transform .25s cubic-bezier(.23,1,.32,1); }
.duimen a:hover .duim-beeld img { transform: scale(1.03); }
.duim-titel { display: block; margin-top: 8px; font-size: 0.875rem; line-height: 1.35; }
.duimen a:hover .duim-titel { text-decoration: underline; text-underline-offset: 3px; }
.duim-tekst { display: flex; align-items: center; min-height: 44px; font-size: 0.9375rem; }
.fade-in.snel { transition-duration: .4s; }
@media (max-width: 1023px) { .expo-mozaiek { columns: 2; } }
@media (max-width: 639px) {
  .hoofdstuk + .hoofdstuk { margin-top: 80px; padding-top: 80px; }
  .hoofdstuk-kop { grid-template-columns: 1fr; gap: 16px; }
  .expo-mozaiek { columns: 1; }
  .duimen { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .duimen li { flex: 0 0 120px; scroll-snap-align: start; }
}
/* Lichtbak bladeren */
.lichtbak-pijl { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--inkt); color: var(--wit); font-size: 1.25rem; cursor: pointer; }
.lichtbak-pijl:active { transform: translateY(-50%) scale(.96); }
.lichtbak-vorige { left: var(--rand); }
.lichtbak-volgende { right: var(--rand); }
.lichtbak-pijl[hidden] { display: none; }

/* Mobiel: 2 werken per rij op Werken en Prints (ronde 5) */
@media (max-width: 639px) {
  .wand { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 40px; }
  .wand .tegel-titel { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
  .wand .tegel .tegel-sub, .wand .tegel .tegel-pill { font-size: 0.8125rem; line-height: 1.35; }
  .wand .tegel .meer-knop { font-size: 0.875rem; }
}

/* Intro bovenaan de homepagina (ronde 5): document met zwarte balken die een rennend poppetje vormen */
.home-intro { position: relative; height: 55vh; min-height: 380px; max-height: 640px; background: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: clamp(24px, 3vw, 40px); }
.intro-blad { height: calc(100% - 32px); aspect-ratio: 3 / 4; max-width: calc(100% - 2 * var(--rand)); display: grid; }
.intro-pagina {
  --pw: 100%;
  position: relative; background: #f4f3ef; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.18);
  padding: 9% 9% 0; overflow: hidden; container-type: inline-size;
  font-family: "Courier Prime", "Courier New", Courier, ui-monospace, monospace; color: #1a1a1a;
}
.intro-kopregel { margin: 0 0 1.2em; font-size: 4.2cqw; letter-spacing: .08em; display: flex; justify-content: space-between; }
.intro-tekst { margin: 0; font-size: 5.4cqw; line-height: 1.6; transition: opacity .4s ease; }
.intro-tekst.weg { opacity: 0; }
.intro-balken { position: absolute; inset: 0; pointer-events: none; }
.intro-balk { position: absolute; left: 0; top: 0; background: #111; transform-origin: 0 0; will-change: transform; }
.intro-naam {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; z-index: 2;
  text-align: center; font-family: var(--display); font-weight: 800; text-transform: uppercase; color: #111;
  font-size: clamp(3rem, 10.5vw, 11rem); line-height: .9; letter-spacing: -0.01em; white-space: nowrap; pointer-events: none;
}
@media (max-width: 639px) {
  .home-intro { height: 60vh; min-height: 400px; }
  .intro-naam { font-size: clamp(3.4rem, 21vw, 6rem); }
  .intro-naam span { display: block; }
}
/* Naam linksboven op de homepagina verbergen zolang de intro in beeld is */
.p-home .kop .naam { transition: opacity .3s ease, visibility .3s; }
.p-home .kop.naam-weg .naam { opacity: 0; visibility: hidden; }
/* Naam effen zwart met een papierwitte rand, zodat hij leesbaar blijft over het massieve poppetje */
.home-intro { isolation: isolate; }
.home-intro .intro-naam { color: #111; mix-blend-mode: normal; -webkit-text-stroke: 0; }
@media (max-width: 639px) { .wand .lijst { aspect-ratio: 4 / 5; } }
.tegel-sub.zacht { text-transform: none; letter-spacing: 0; font-size: 0.875rem; color: var(--grijs); }
.intro-pagina { padding: 9%; }
.intro-kopregel { letter-spacing: .03em; }

/* Fixronde 2b (11-11) */
.home-intro .intro-tekst { font-size: 6.1cqw; color: #4a4a4a; }
.home-intro .intro-kopregel { color: #6b6b6b; }
@media (max-width: 639px) { .home-intro .intro-naam { font-size: clamp(3rem, 17vw, 5.5rem); padding: 0 16px; } }
.hoofdstuk-titel h2 { text-wrap: balance; }
.expo-mozaiek.een { columns: 1; max-width: calc(620px + 2 * var(--rand)); margin-left: max(0px, calc((100% - 1560px) / 2)); }
.p-prints .wand .lijst { aspect-ratio: 4 / 5; }
.meer-rij.aantal-1.sfeer { grid-template-columns: minmax(0, 520px); justify-content: center; }
@media (max-width: 639px) { .wand .tegel .tegel-pill { letter-spacing: 0.02em; font-size: 0.75rem; } }
/* Rustige strook achter de naam: de getypte tekst valt daar zacht weg, de balken blijven zichtbaar */
.intro-pagina::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 34%; transform: translateY(-50%); z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(244 243 239 / 0), #f4f3ef 22%, #f4f3ef 78%, rgb(244 243 239 / 0));
}
.intro-balken { z-index: 2; }
@media (max-width: 639px) { .intro-pagina::after { height: 38%; } }
/* Fixronde 2c */
@media (max-width: 639px) {
  .wand .tegel .pill-woord { display: none; }
  .wand .tegel .tegel-pill { white-space: nowrap; }
  .wand { row-gap: 28px; }
}
.expo-mozaiek.een { margin-left: auto; margin-right: auto; }
@media (max-width: 639px) { .p-home .wand .lijst { aspect-ratio: 1 / 1; } }
.over-tekst p, .hoofdstuk-tekst p { text-wrap: pretty; }
.duim-beeld { background: #fff; }

/* 16-11: onderschrift bij de hoofdfoto op Over mij */
.over-foto figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--grijs); }
.over-foto figcaption a { color: var(--inkt); }
/* 16-11: Show more kleiner en rustiger op telefoon en tablet */
@media (max-width: 767px) {
  .wand .tegel .meer-knop { font-size: 11px; padding: 5px 10px; min-height: 0; width: auto; align-self: flex-start; margin-top: 6px; position: relative; line-height: 1.3; }
  .wand .tegel .meer-knop::before { content: ""; position: absolute; inset: -12px -6px; }
}

/* Intro als flipboek op canvas (16-11) */
.home-intro .intro-doek { position: absolute; inset: 0; display: block; }

/* Ronde 6c: afstand boven Show more op mobiel echt ~6px */
@media (max-width: 767px) { .wand .tegel .tegel-pill, .wand .tegel .tegel-sub { margin-bottom: 0; } }

/* 16-11b: collectietekst in een blok in de kleur van het collectielabel (achtergrond en tekstkleur uit .pill-<id>) */
.collectie-blok { border-radius: 12px; border: 0; padding: clamp(20px, 2.4vw, 32px); margin-top: 1.8em; }
.collectie-blok > h2, .collectie-blok > h3 { margin-top: 0; color: inherit; }
.collectie-blok > p:last-child { margin-bottom: 0; }
.teksten > .collectie-blok:first-child { margin-top: 0; }
@media (max-width: 767px) { .collectie-blok { padding: 20px; } }

/* 16-11b: staande hoofdfoto (Kunstlijn, Barber Shop): foto heel links, tekst rechts */
.hoofdstuk-staand { max-width: 1560px; margin: 0 auto; padding: 0 var(--rand); display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.expo-staand-foto { margin: 0; }
.expo-staand-foto a { display: block; }
.expo-staand-foto img { display: block; width: 100%; height: auto; max-height: 85vh; object-fit: contain; object-position: left center; }
.hoofdstuk-staand-tekst { max-width: 62ch; }
.hoofdstuk-staand-tekst h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); text-wrap: balance; }
.hoofdstuk-staand-tekst .expo-meta { margin: 12px 0 0; font-size: 0.9375rem; color: var(--grijs); }
.hoofdstuk-staand-tekst > p:not(.expo-meta) { margin: 1.4em 0 0; line-height: 1.6; text-wrap: pretty; }
.hoofdstuk-staand + .expo-mozaiek { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 767px) {
  .hoofdstuk-staand { grid-template-columns: 1fr; padding: 0; gap: 24px; }
  .expo-staand-foto img { max-height: none; }
  .hoofdstuk-staand-tekst { padding: 0 var(--rand); }
}

/* 17-11: "Website door Lintema Webdesigns" volgens Siel: helemaal onderaan, rechts (telefoon: midden), rustig grijs */
.voet-maker { margin: 0; flex: 1 0 100%; text-align: right; font-size: 0.8125rem; line-height: 1.4; }
.voet .voet-maker a { display: inline-flex; align-items: center; gap: 6px; color: #777; text-decoration: none; min-height: 24px; transition: color .2s ease; }
.voet-maker-merk { width: 20px; height: 20px; flex: none; opacity: .7; transition: opacity .2s ease; }
.voet .voet-maker a:hover { color: #111; text-decoration: none; }
.voet .voet-maker a:hover .voet-maker-merk { opacity: 1; }
.voet .voet-maker a:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
@media (max-width: 767px) { .voet-maker { text-align: center; } }

/* 17-11: privacyverklaring en regel onder het formulier */
.privacy-tekst h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.privacy-tekst p { max-width: 68ch; margin: 0 0 14px; }
.privacy-datum { color: var(--grijs); }
.formulier-privacy { margin: 0; font-size: 0.875rem; color: var(--grijs); max-width: 52ch; }
.formulier-privacy a, .privacy-tekst a { color: var(--inkt); }

/* 17-11: eindprijsregel bij de prijs */
.prijs .prijs-noot { display: block; margin-top: 4px; font-size: 0.8125rem; font-weight: 400; color: var(--grijs); }

/* 17-11 echt formulier: valkuil voor bots, meldingen */
.formulier .valkuil { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulier { position: relative; }
.formulier-melding:focus { outline: none; }
.formulier-melding:focus-visible { outline: 2px solid var(--inkt); outline-offset: 3px; }
.formulier-melding.is-fout { background: #fbe9e7; }
.formulier-melding a { color: var(--inkt); }
.formulier .knop:disabled { opacity: .6; cursor: progress; }
.ts-plek:empty { display: none; }
