/* Mathilde Vermeulen: warm atelier-ontwerp (nov 2026).
   Kleuren uit haar eigen schilderijen: vermiljoen, saffraan en grasgroen op warm crème. Geen koud blauw.
   Doelgroep 50+: grote, contrastrijke tekst; knoppen met woorden; ruime aanraakvlakken (≥ 48px).
   Apple HIG + Material 3: systeemletter, Dynamic Type, safe areas, tabbalk onder de duim, licht/donker.
   Kunstwerken worden nooit bijgesneden op werkpagina's en nooit met effecten bedekt. */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  color-scheme: light dark;
  --wall: #FBF4E6;          /* warm crème */
  --wall-2: #F3E4C8;
  --card: #FFFBF3;
  --ink: #2A1E14;           /* donkerbruin, contrast > 14:1 */
  --ink-2: #54402F;         /* contrast > 7:1, ook op de tabbalk */
  --line: rgba(42, 30, 20, .16);
  --accent: #962B12;        /* diep vermiljoen: 7,2:1 op crème, witte tekst erop 7,9:1 (doel 7:1 voor 50+) */
  --accent-ink: #FFFFFF;
  --saffraan: #F2B33D;
  --groen: #4E8F2E;
  --penseel: #C8401C;
  --frame: rgba(42,30,20,.14);
  --shadow: 0 1px 2px rgba(42,30,20,.08), 0 14px 34px rgba(90,50,20,.12);
  --bar: rgba(251, 244, 230, .92);
  --soft: #F7D9A0;          /* zacht saffraan voor vlakken */

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --fs-body: 1.125rem;
  --fs-hero: clamp(2.125rem, 1.4rem + 3.2vw, 4.25rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  --space: clamp(48px, 6vw + 16px, 112px);
  --gutter: max(20px, env(safe-area-inset-left));
  --gutter-r: max(20px, env(safe-area-inset-right));
  --maxw: 1240px;
  --readw: 40rem;
  --tab-h: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wall: #1C1511; --wall-2: #2A2019; --card: #2A2019; --ink: #FBF1E4; --ink-2: #D9C7B2;
    --line: rgba(251,241,228,.16); --accent: #FF8E63; --accent-ink: #2A1209; --frame: rgba(0,0,0,.45); --penseel: #FF8E63; --soft: #4A3216;
    --shadow: 0 1px 2px rgba(0,0,0,.5); --bar: rgba(28,21,17,.92);
  }
}
:root[data-theme="dark"] {
  --wall: #1C1511; --wall-2: #2A2019; --card: #2A2019; --ink: #FBF1E4; --ink-2: #D9C7B2;
  --line: rgba(251,241,228,.16); --accent: #FF8E63; --accent-ink: #2A1209; --frame: rgba(0,0,0,.45); --penseel: #FF8E63; --soft: #4A3216;
  --shadow: 0 1px 2px rgba(0,0,0,.5); --bar: rgba(28,21,17,.92);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0; background: var(--wall); color: var(--ink); font-family: var(--font-text);
  font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--wall); padding: 14px 18px; border-radius: 10px; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.read { max-width: var(--readw); }
.muted { color: var(--ink-2); }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 .75rem; }
.section { padding: calc(var(--space) / 2) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head a { font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; }

/* ---------- Kop ---------- */
.appbar { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); background: var(--bar);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.appbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { margin-right: auto; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; justify-content: center; min-height: 48px; }
.brand strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.375rem; line-height: 1.1; }
.brand span { font-size: .8125rem; color: var(--ink-2); letter-spacing: .06em; }
.topnav { display: none; gap: 4px; }
.topnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.topnav a:hover { background: var(--wall-2); }
.topnav a[aria-current="page"] { background: var(--ink); color: var(--wall); }
@media (min-width: 900px) { .topnav { display: flex; } }

/* ---------- Tabbalk (telefoon) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--bar);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-top: 1px solid var(--line);
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.tabbar ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 640px; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: var(--tab-h);
  color: var(--ink-2); text-decoration: none; font-size: .8125rem; font-weight: 600; }
.tabbar .ico { display: grid; place-items: center; width: 60px; height: 32px; border-radius: 999px; }
.tabbar svg { width: 26px; height: 26px; }
.tabbar a[aria-current="page"] { color: var(--accent); }
[data-platform="android"] .tabbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--wall-2); border-top: 0; }
[data-platform="android"] .tabbar a { min-height: 80px; }
[data-platform="android"] body { --tab-h: 80px; }
[data-platform="android"] .tabbar a[aria-current="page"] { color: var(--ink); }
[data-platform="android"] .tabbar a[aria-current="page"] .ico { background: color-mix(in srgb, var(--accent) 22%, transparent); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.25; transition: transform .12s, opacity .2s; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn:active { transform: scale(.98); }
[data-platform="ios"] .btn:active { transform: none; opacity: .7; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Home hero ---------- */
.caption { font-size: .9375rem; color: var(--ink-2); margin-top: 12px; }

/* ---------- Series-tegels ---------- */
.series { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .series { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1040px) { .series { grid-template-columns: repeat(3, 1fr); } }
.serie { display: block; color: inherit; text-decoration: none; }
.serie .pic { aspect-ratio: 4/3; overflow: hidden; background: var(--wall-2); box-shadow: var(--shadow); }
.serie .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.serie:hover .pic img { transform: scale(1.03); }
.serie h3 { font-size: var(--fs-h3); margin: 16px 0 4px; }
.serie p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.serie .count { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; color: var(--accent); font-size: 1rem; }

/* ---------- Werken-raster ---------- */
.works { display: grid; gap: 40px 28px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .works { grid-template-columns: repeat(3, 1fr); } }
.work { display: block; color: inherit; text-decoration: none; }
.work .pic { background: var(--wall-2); display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; padding: 18px; }
.work .pic img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; box-shadow: 0 2px 10px var(--frame); }
.work h3 { font-size: 1.125rem; margin: 14px 0 4px; line-height: 1.3; }
.work .more { color: var(--accent); font-weight: 600; font-size: 1rem; }
.work:hover h3 { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Paginakop ---------- */
.page-head { padding: 40px 0 16px; }
.page-head h1 { font-size: var(--fs-h1); }
.page-head .sub { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem); color: var(--ink-2); margin: 10px 0 0; }
.page-head .lead { font-size: 1.1875rem; color: var(--ink-2); margin: 16px 0 0; max-width: 44rem; }
.crumbs { font-size: 1rem; margin-bottom: 12px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.crumbs svg { width: 18px; height: 18px; }

/* Kenmerken van een serie */
.facts { display: grid; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: .9375rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; }
@media (min-width: 760px) { .facts div { grid-template-columns: 220px 1fr; gap: 24px; } }

.prose { font-size: var(--fs-body); line-height: 1.7; }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* ---------- Werkpagina ---------- */
.artwork { display: grid; gap: 28px; padding: 16px 0 var(--space); }
@media (min-width: 960px) { .artwork { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 32px; } }
.artwork figure { margin: 0; background: var(--wall-2); padding: clamp(16px, 4vw, 48px); display: flex; justify-content: center; }
.artwork figure button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.artwork figure img { max-height: 78svh; width: auto; max-width: 100%; box-shadow: 0 4px 24px var(--frame); }
.artwork .info h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 16px; }
.artwork .serie-link { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.artwork .desc { font-size: 1.1875rem; line-height: 1.7; margin: 0 0 24px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--wall-2); font-weight: 600; font-size: .9375rem; margin-bottom: 20px; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.zoom-hint { font-size: .9375rem; color: var(--ink-2); margin-top: 10px; text-align: center; }
@media (min-width: 960px) { .artwork .info { position: sticky; top: 96px; } }

.pager { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.pager a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); color: inherit; text-decoration: none; min-height: 84px; }
.pager a.next { grid-template-columns: 1fr 64px; text-align: right; }
.pager img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.pager small { display: block; color: var(--accent); font-weight: 700; font-size: .875rem; }
.pager strong { font-size: .9375rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager span.empty { display: block; }

/* Volledig scherm (zoom) */
.viewer { position: fixed; inset: 0; z-index: 90; background: #0B0A09; display: none; }
.viewer.open { display: block; }
.viewer .stage { position: absolute; inset: 0; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom pan-x pan-y; }
.viewer img { max-width: 100vw; max-height: 100svh; width: auto; height: auto; }
.viewer.zoomed img { max-width: none; max-height: none; }
.viewer .close { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right)); min-height: 52px; padding: 0 20px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.92); color: #111; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; z-index: 2; }
.viewer .close svg { width: 20px; height: 20px; }
.viewer .hint { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); color: rgba(255,255,255,.8); font-size: .9375rem; background: rgba(0,0,0,.5); padding: 8px 14px; border-radius: 999px; }

/* Proces (stappen) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; counter-reset: step; }
.steps li { display: grid; gap: 20px; }
@media (min-width: 900px) { .steps li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; } }
.steps .pic { background: var(--wall-2); padding: 20px; display: flex; justify-content: center; }
.steps .pic img { max-height: 70svh; width: auto; box-shadow: 0 2px 12px var(--frame); }
.steps h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.steps .group { font-family: var(--font-serif); font-size: var(--fs-h2); margin: 24px 0 -24px; }

/* Blokken */
.band { background: var(--card); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 56px); }
.band h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.portrait { box-shadow: var(--shadow); }
.signature { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.375rem; margin-top: 24px; }

.atelier { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .atelier { grid-template-columns: repeat(2, 1fr); } }
.atelier figure { margin: 0; }
.atelier img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.contact-card { display: grid; gap: 16px; }
.contact-card a.big { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-family: var(--font-serif); word-break: break-word; }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: var(--space); padding: 48px 0 32px; }
.footer .name { font-family: var(--font-serif); font-size: 1.75rem; margin: 0 0 4px; }
.footer-cols { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 800px) { .footer-cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer h2 { font-family: var(--font-text); font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); text-decoration: none; }
.footer li a:hover { color: var(--accent); }
.footer .small { margin-top: 32px; font-size: .9375rem; color: var(--ink-2); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 16px); transform: translate(-50%, 20px); background: var(--ink); color: var(--wall);
  padding: 14px 20px; border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 95; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } .serie:hover .pic img { transform: none; } }
@media print { .appbar, .tabbar, .footer, .viewer, .btn-row, .pager { display: none !important; } body { padding: 0; background: #fff; } }


.viewer .hint { white-space: nowrap; }

/* --- Kwaliteitsronde: kolommen mogen nooit breder worden dan het scherm (WCAG 1.4.10 Reflow) --- */
.artwork { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .artwork { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.artwork > *, .split > *, .hero .wrap > *, .expo > *, .steps li > * { min-width: 0; }
.artwork figure button { max-width: 100%; }
.artwork figure img { height: auto; }
.steps .pic { min-height: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pager a, .pager a > span { min-width: 0; }
.pager strong, .work h3, .serie h3, .artwork .info h1, .steps h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 479px) {
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager a.next { grid-template-columns: 1fr 64px; }
  .pager span.empty { display: none; }
}
/* Lange woorden en e-mailadressen breken af, ook bij 200% tekst (WCAG 1.4.4 / 1.4.10) */
.footer-cols > *, .contact-card > * { min-width: 0; }
a[href^="mailto:"], .footer li a { overflow-wrap: anywhere; }
h1, h2, h3, .hero h1 em, .eyebrow, .brand strong { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.section-head > *, .page-head > *, .band > * { min-width: 0; max-width: 100%; }

.steps li { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .steps li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.steps .pic img { max-width: 100%; height: auto; }


/* iPhone (5 nov 2026): de site volgt níet meer 1-op-1 de iOS-tekstgrootte (-apple-system-body);
   die liet alles opzwellen. Basis 16px; inzoomen via Safari "Aa" blijft werken (rem-eenheden). */
html { font-size: 100%; }


/* ================= Warm atelier (nov 2026): beeld eerst, tekst op verzoek ================= */
body { background: var(--wall); }
.appbar { border-bottom: 0; }
.appbar::after { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--penseel) 0 40%, var(--saffraan) 40% 75%, var(--groen) 75%); }
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-txt { display: flex; flex-direction: column; }
.streek { display: block; width: min(260px, 70%); height: auto; fill: var(--penseel); margin: 4px 0 24px; }
.topnav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.tabbar a { font-size: .75rem; }
.tabbar .ico { width: 52px; }
.h2 { font-size: var(--fs-h2); margin: 0 0 20px; }
.eyebrow { color: var(--accent); }

/* Home: groot kunstwerk bovenaan */
.hero { padding: 0; display: block; }
.hero .wrap { display: grid; gap: 24px; padding-top: 16px; padding-bottom: calc(var(--space) / 2); align-items: center; }
.hero-art { margin: 0; text-align: center; }
.hero-art img { width: auto; max-width: 100%; max-height: 66svh; margin: 0 auto; box-shadow: var(--shadow); }
.hero-txt h1 { font-size: var(--fs-hero); line-height: 1.08; margin-bottom: 8px; }
.hero-txt h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 40px; }
  .hero-art img { max-height: 78svh; }
}

/* Paginakoppen: kort, zodat het werk direct in beeld is */
.page-head.compact { padding: 20px 0 20px; }
.page-head.compact h1 { font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem); }
.count-line { margin: 6px 0 0; color: var(--ink-2); font-size: 1.0625rem; }
.after { margin: 40px 0 0; }

/* Uitklapbare tekst */
.meer { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); margin: 24px 0; }
.meer summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; font-weight: 700; font-size: 1.125rem; color: var(--accent); }
.meer summary::-webkit-details-marker { display: none; }
.meer .chev { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--ink); flex: none; transition: transform .2s; }
.meer .chev svg { width: 22px; height: 22px; }
.meer[open] .chev { transform: rotate(45deg); }
.meer-in { padding: 4px 0 28px; }
.meer-in .sub { font-family: var(--font-serif); font-style: italic; font-size: 1.375rem; color: var(--ink-2); margin: 0 0 12px; }
.meer-in .lead { font-size: 1.1875rem; margin: 0 0 8px; }
.meer-in .facts { margin-bottom: 24px; }

/* Series- en werkkaarten: minder tekst, meer beeld */
.serie .pic { aspect-ratio: 1/1; border-radius: 4px; }
.serie h2, .serie h3 { font-size: var(--fs-h3); margin: 14px 0 2px; }
.serie .count { margin-top: 2px; font-size: .9375rem; color: var(--ink-2); font-weight: 600; }
.works { gap: 32px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .works { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; } }
@media (max-width: 359px) { .works { grid-template-columns: minmax(0, 1fr); } }
.work .pic { padding: 10px; border-radius: 4px; }
@media (min-width: 560px) { .work .pic { padding: 18px; } }
.work h3 { font-size: 1.0625rem; margin: 10px 0 2px; }
.work .meta { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.4; }

/* Werkpagina: feitenlijst */
.werk-facts { margin: 0 0 20px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.werk-facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.werk-facts dt { font-weight: 700; color: var(--ink-2); font-size: 1rem; }
.werk-facts dd { margin: 0; }
@media (max-width: 339px) { .werk-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.artwork .info h1 { margin-bottom: 18px; }
.status::before { background: var(--groen); }
.pos { font-size: .9375rem; margin: 24px 0 0; }
.zoom-hint { display: flex; align-items: center; justify-content: center; gap: 6px; }
.zoom-hint svg { width: 18px; height: 18px; }
.muted { color: var(--ink-2); }

/* Exposities */
.agenda-band { background: var(--soft); }
.expo-list { display: grid; gap: 24px; }
@media (min-width: 760px) { .expo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.expo-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--card); border-radius: 14px; padding: 12px;
  box-shadow: var(--shadow); color: inherit; text-decoration: none; min-height: 132px; }
.expo-card .pic { width: 112px; height: 112px; border-radius: 10px; overflow: hidden; background: var(--wall-2); }
.expo-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.expo-card h3 { font-size: 1.25rem; margin: 4px 0 6px; }
.expo-card p { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: 1rem; color: var(--ink-2); line-height: 1.4; }
.expo-card p svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.expo-card.big { grid-template-columns: minmax(0, 1fr); padding: 0; overflow: hidden; }
.expo-card.big .pic { width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 0; }
.expo-card.big .txt { padding: 4px 20px 22px; }
.expo-card.big h3 { font-size: 1.625rem; }
.expo-card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .875rem; background: var(--wall-2); color: var(--ink); }
.expo-binnenkort .badge, .badge-binnenkort { background: var(--saffraan); color: #2A1E14; }
.expo-nu .badge, .badge-nu { background: var(--groen); color: #fff; }
.expo { display: grid; gap: 28px; padding: 8px 0 calc(var(--space) / 2); }
@media (min-width: 960px) { .expo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.expo-art { margin: 0; text-align: center; }
.expo-art img { width: auto; max-width: 100%; max-height: 72svh; margin: 0 auto; box-shadow: var(--shadow); }
.expo .info h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: 10px 0 4px; }
.expo .info .sub { font-family: var(--font-serif); font-style: italic; color: var(--ink-2); font-size: 1.25rem; margin: 0 0 20px; }
.expo .btn-row { margin: 4px 0 24px; }
.flyer { max-width: 560px; margin: 0 auto; }
.flyer img { box-shadow: var(--shadow); }

/* Citaat */
.quote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--saffraan); }
.quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; margin: 0; }
.quote footer { margin-top: 8px; font-weight: 600; color: var(--ink-2); }
.quote.big { margin-top: 0; }
.quote.big p { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }

/* Contact */
.contact-card .addr { margin: 4px 0 0; }

/* Voettekst: warm en donker */
.footer { background: #2A1E14; color: #FBF1E4; border-top: 0; }
.footer .muted, .footer .small, .footer h2, .footer .tag { color: #D9C7B2; }
.footer li a, .footer .addr { color: #FBF1E4; }
.footer li a:hover { color: var(--saffraan); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer .name { margin: 0; }
.footer .tag { margin: 2px 0 0; }
.footer li.addr { padding: 10px 0; line-height: 1.5; }
.footer :focus-visible { outline-color: var(--saffraan); }

.series { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 640px) { .series { gap: 32px; } }
@media (min-width: 1040px) { .series { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 359px) { .series { grid-template-columns: minmax(0, 1fr); } }
.serie h2, .serie h3 { font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem); }

/* 200% tekst (WCAG 1.4.4): label en waarde wisselen naar onder elkaar zodra de ruimte op is */
.werk-facts div { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.werk-facts dt { flex: 0 0 7.5rem; }
.werk-facts dd { flex: 1 1 11rem; min-width: 0; overflow-wrap: anywhere; }
.facts dd, .expo-card p, .count-line, .meer summary span, .addr, .quote p, .badge { overflow-wrap: anywhere; }
.expo-card { grid-template-columns: minmax(64px, 112px) minmax(0, 1fr); }
.expo-card .pic { width: 100%; height: auto; aspect-ratio: 1/1; }
.tabbar a { min-width: 0; overflow-wrap: anywhere; text-align: center; }
.tabbar li { min-width: 0; }
.btn { max-width: 100%; white-space: normal; }
.work .meta, .band p, .band h2, .serie .count, .expo-card h3 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
body { overflow-wrap: break-word; }
.footer-brand { flex-wrap: wrap; }
.footer-brand > div { min-width: 0; }
.footer .name, .footer .tag { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.steps .group, .steps p, .steps h3 a { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }


.footer-brand { align-items: flex-end; }

/* MV-icoon: het origineel van Mathilde, alleen andere kleuren.
   M donkerbruin, V (penseelhandvat) groen, penseelpunt en streek vermiljoen, glimmen wit. */
.logo { width: 56px; height: 56px; flex: none; }
.logo-lg { width: 96px; height: 96px; }
.logo .mv-m { fill: #2A1E14; }
.logo .mv-v { fill: #4E8F2E; }
.logo .mv-p { fill: #C8401C; }
.logo .mv-h { fill: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .mv-m { fill: #FBF1E4; } }
:root[data-theme="dark"] .logo .mv-m { fill: #FBF1E4; }
.footer .logo .mv-m { fill: #FBF1E4; }

/* Contrast (kwaliteitsronde mobiel): labels en links ook op gekleurde vlakken minstens 4,5:1, liefst 7:1 */
.expo-nu .badge, .badge-nu { background: #2F5A1C; color: #fff; }
.agenda-band .section-head a { color: var(--ink); }
/* Logo op donkere achtergrond: alleen lichtere tinten, vorm blijft het origineel */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .mv-v { fill: #86C45E; } :root:not([data-theme="light"]) .logo .mv-p { fill: #FF8E63; } }
:root[data-theme="dark"] .logo .mv-v { fill: #86C45E; }
:root[data-theme="dark"] .logo .mv-p { fill: #FF8E63; }
.footer .logo .mv-v { fill: #86C45E; }
.footer .logo .mv-p { fill: #FF8E63; }

/* Korte werktitel groot, omschrijving klein eronder (design-review nov 2026) */
.artwork .info h1 { margin-bottom: 6px; }
.werk-sub { font-family: var(--font-serif); font-style: italic; font-size: 1.1875rem; color: var(--ink-2); margin: 0 0 18px; line-height: 1.4; }
.work h3 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }


/* ================= Ontwerp G (nov 2026): rustig, contrast, één accent ================= */
/* Joost: "te druk en verkeerde kleuren" bij veel kleurvlakken. Nu: warm lichtgrijs, antraciet voor contrast,
   en alleen groen (uit de V van het logo) als accent. De kleur komt uit de schilderijen. Alle tekst minstens 7:1. */
:root {
  --wall: #F4F1EC; --wall-2: #EAE6DF; --card: #FBFAF7; --ink: #1F1D1A; --ink-2: #514C46;
  --line: rgba(31,29,26,.14); --accent: #34501F; --accent-ink: #FFFFFF; --soft: #ECF1E6;
  --donker: #1F1D1A; --op-donker: #EEEAE3; --op-donker-2: #B8B1A6; --accent-donker: #A9CB8A;
  --frame: rgba(31,29,26,.14); --shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 40px rgba(31,29,26,.14); --bar: rgba(244,241,236,.94);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wall: #1B1A18; --wall-2: #262421; --card: #262421; --ink: #EEEAE3; --ink-2: #B8B1A6;
    --line: rgba(238,234,227,.16); --accent: #A9CB8A; --accent-ink: #1F1D1A; --soft: #263022;
    --donker: #121110; --frame: rgba(0,0,0,.45); --shadow: 0 2px 4px rgba(0,0,0,.5); --bar: rgba(27,26,24,.94);
  }
}
:root[data-theme="dark"] {
  --wall: #1B1A18; --wall-2: #262421; --card: #262421; --ink: #EEEAE3; --ink-2: #B8B1A6;
  --line: rgba(238,234,227,.16); --accent: #A9CB8A; --accent-ink: #1F1D1A; --soft: #263022;
  --donker: #121110; --frame: rgba(0,0,0,.45); --shadow: 0 2px 4px rgba(0,0,0,.5); --bar: rgba(27,26,24,.94);
}

/* Kop: dunne lijn in plaats van de gekleurde streep; actief menu-item onderstreept in groen */
.appbar { border-bottom: 1px solid var(--line); }
.appbar::after { display: none; }
.topnav a { border-radius: 0; }
.topnav a:hover { background: none; text-decoration: underline; text-underline-offset: .4em; }
.topnav a[aria-current="page"] { background: none; color: var(--accent); text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 3px; }

/* Knoppen: strak, geen pillen */
.btn { border-radius: 2px; }
.btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .9375rem; letter-spacing: .12em; }
a { text-decoration-thickness: 2px; }

/* Rustiger vlakken */
.agenda-band { background: var(--soft); }
.expo-binnenkort .badge, .badge-binnenkort { background: var(--soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.expo-nu .badge, .badge-nu { background: var(--accent); color: var(--accent-ink); }
.quote { border-left-color: var(--accent); }
.meer .chev { background: var(--soft); color: var(--accent); }
.status::before { background: var(--accent); }
.serie .pic, .work .pic, .expo-card, .expo-card .pic { border-radius: 0; }
.pager a { border-radius: 0; }

/* Voettekst antraciet */
.footer { background: var(--donker); color: var(--op-donker); margin-top: 0; }
.footer .muted, .footer .small, .footer h2, .footer .tag { color: var(--op-donker-2); }
.footer li a, .footer .addr { color: var(--op-donker); }
.footer li a:hover { color: var(--accent-donker); }
.footer :focus-visible { outline-color: var(--accent-donker); }

/* ---------- Homepage ---------- */
.h-hero .wrap { display: grid; gap: 36px; align-items: center; padding-top: 24px; padding-bottom: clamp(56px, 8vw, 112px); }
.h-hero figure { margin: 0; }
.h-hero figure img { width: auto; max-width: 100%; max-height: min(78svh, 820px); margin: 0 auto; box-shadow: var(--shadow); }
.h-hero h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem); letter-spacing: -.015em; line-height: 1.05; }
.h-onder { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--accent); font-size: clamp(1.375rem, 1.15rem + 1.1vw, 2.125rem); line-height: 1.25; margin: 14px 0 0; }
.h-streep { width: 64px; height: 4px; background: var(--accent); margin: 26px 0 0; }
.h-intro { font-size: 1.25rem; color: var(--ink-2); max-width: 30rem; margin: 22px 0 30px; }
@media (min-width: 900px) { .h-hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; padding-top: 56px; } }

.h-band { background: var(--donker); color: var(--op-donker); padding: clamp(64px, 9vw, 128px) 0; }
.h-band .eyebrow, .h-band .section-head a { color: var(--accent-donker); }
.h-band .section-head { align-items: flex-end; margin-bottom: 36px; }
.h-band :focus-visible { outline-color: var(--accent-donker); }
.h-drie { display: grid; gap: 44px 36px; }
@media (min-width: 700px) { .h-drie { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h-werk { color: inherit; text-decoration: none; display: block; }
.h-werk .pic { aspect-ratio: 4/5; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.h-werk .pic img { width: 100%; height: 100%; object-fit: cover; }
.h-werk h3 { font-size: 1.375rem; margin: 16px 0 2px; color: var(--op-donker); }
.h-werk p { margin: 0; color: var(--op-donker-2); font-size: 1.0625rem; }
.h-werk:hover h3 { text-decoration: underline; text-underline-offset: .25em; }

.h-series-sec { padding: clamp(64px, 9vw, 128px) 0; }
.h-series { columns: 1; column-gap: 64px; }
@media (min-width: 700px) { .h-series { columns: 2; } }
.h-series a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 60px; padding: 16px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-family: var(--font-serif); font-weight: 600; font-size: 1.375rem; line-height: 1.25; break-inside: avoid; }
.h-series a span { font-family: var(--font-text); font-weight: 500; font-size: 1.0625rem; color: var(--ink-2); white-space: nowrap; }
.h-series a:hover { color: var(--accent); }

.h-expo { background: var(--soft); padding: clamp(64px, 9vw, 128px) 0; }
.h-expo .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .h-expo .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 72px; } }
.h-datum { font-family: var(--font-serif); font-weight: 600; color: var(--accent); font-size: clamp(3.25rem, 2rem + 5vw, 6rem); line-height: .95; }
.h-datum small { display: block; font-family: var(--font-text); font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-top: 12px; }
.h-expo h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 10px; }
.h-expo p { margin: 0 0 4px; font-size: 1.1875rem; }

.h-over-sec { padding: clamp(64px, 9vw, 128px) 0; }
.h-over { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .h-over { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; } }
.h-over figure { margin: 0; }
.h-over figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.h-quote { margin: 0 0 22px; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.3; }
.h-quote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--accent); margin-bottom: 10px; font-style: normal; }
.h-over .muted { font-size: 1.1875rem; }
.h-hero .wrap > *, .h-over > *, .h-expo .wrap > *, .h-band .section-head > * { min-width: 0; }
.h-series a, .h-datum, .h-onder { overflow-wrap: anywhere; }
