/* Studio Wirtz – huisstijl
   grijs 87,87,86 · licht roze 211,176,166 · oker 161,114,52 · donker roze 164,117,101
   Lettertype: Avenir Next Condensed (indien geïnstalleerd), anders Barlow Semi Condensed */

@font-face { font-family: "SW Condensed"; src: url(../fonts/barlow-semi-condensed-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "SW Condensed"; src: url(../fonts/barlow-semi-condensed-latin-300-italic.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "SW Condensed"; src: url(../fonts/barlow-semi-condensed-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SW Condensed"; src: url(../fonts/barlow-semi-condensed-latin-500-normal.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --grey: rgb(87 87 86);
  --grey-80: rgb(87 87 86 / .8);
  --pink: rgb(211 176 166);
  --pink-soft: rgb(211 176 166 / .18);
  --ochre: rgb(161 114 52);
  --rose: rgb(164 117 101);
  --ink: #2f2f2e;
  --muted: #5d5d5b;
  --line: #e4e0dc;
  --bg: #ffffff;
  --bg-alt: #f6f3f1;
  --font: "Avenir Next Condensed", "AvenirNextCondensed", "SW Condensed", "Arial Narrow", sans-serif;
  --wrap: 1180px;
  --radius: 2px;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font-family: var(--font); font-weight: 300; font-size: 1.15rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--ochre); }
h1, h2, h3 { font-weight: 300; line-height: 1.2; color: var(--grey); margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.45rem; font-weight: 400; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
button { font: inherit; cursor: pointer; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--grey); color: #fff; padding: .5em 1em; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.page-head { padding-bottom: 1rem; }
.page-head + .section { padding-top: 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; font-weight: 400; color: var(--ochre); margin-bottom: .6em; }
.lead { font-size: 1.3rem; color: var(--muted); max-width: 760px; }

/* Knoppen */
.btn { display: inline-block; padding: .7em 1.6em; border: 1px solid var(--grey); color: var(--grey); background: transparent; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: .92rem; font-weight: 400; border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--grey); color: #fff; }
.btn-primary { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.btn-primary:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--grey); }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

main { flex: 1; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.2rem); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(236 235 233 / .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 112px; height: auto; }
.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav a { color: var(--grey); text-decoration: none; font-size: 1.08rem; padding: .3em 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover { color: var(--ochre); }
.nav a[aria-current="page"] { border-bottom-color: var(--grey); }
.lang { display: flex; gap: .2rem; font-size: .85rem; letter-spacing: .08em; }
.lang a { padding: .25em .45em; border: 1px solid transparent; border-radius: var(--radius); }
.lang a[aria-current="true"] { border-color: var(--grey); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 1.5px; background: var(--grey); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* Hero */
.site-header.hero-mode { transition: background .3s, border-color .3s; }
.site-header.hero-mode:not(.is-solid):not(.menu-open) { background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header.hero-mode:not(.is-solid):not(.menu-open) .brand img { filter: brightness(0) invert(1); }
.site-header.hero-mode:not(.is-solid):not(.menu-open) .nav > ul > li > a, .site-header.hero-mode:not(.is-solid):not(.menu-open) .lang a { color: #fff; }
.site-header.hero-mode:not(.is-solid):not(.menu-open) .nav a[aria-current] { border-color: #fff; }
.site-header.hero-mode:not(.is-solid):not(.menu-open) .nav-toggle span { background: #fff; }
@media (max-width: 900px) { .site-header.hero-mode:not(.is-solid):not(.menu-open) .nav.is-open ~ * {} .site-header.hero-mode .nav.is-open a { color: var(--grey) !important; } }
.page-home .site-header.is-overlay { position: fixed; left: 0; right: 0; }
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--grey); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 50% 55%, rgb(0 0 0 / .55), transparent 75%), linear-gradient(180deg, rgb(0 0 0 / .3), rgb(0 0 0 / .45) 60%, rgb(0 0 0 / .6)); }
.hero-text { position: relative; z-index: 1; text-align: center; padding-top: var(--header-h); }
.hero h1 { color: #c48a45; font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 400; margin-bottom: .3em; text-shadow: 0 2px 4px rgb(0 0 0 / .45), 0 0 40px rgb(0 0 0 / .6); }
.hero-intro { max-width: 720px; margin: 0 auto 2rem; font-size: 1.25rem; text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.hero-down { position: absolute; z-index: 1; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; }
.hero-down span { display: block; width: 16px; height: 16px; margin: 6px auto; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(6px) rotate(45deg); } }

/* Verhaal */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story-img { margin: 0; }
.story-img img { width: 100%; height: auto; box-shadow: 0 10px 30px rgb(0 0 0 / .12); }
.story { background: var(--bg-alt); }

/* Carrousel */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.carousel-nav button { width: 46px; height: 46px; border: 1px solid var(--grey); background: #fff; color: var(--grey); font-size: 1.6rem; line-height: 1; border-radius: 50%; margin-left: .4rem; }
.carousel-nav button:hover { background: var(--grey); color: #fff; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 28vw, 380px); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(1.25rem, calc((100vw - var(--wrap)) / 2)) 1.2rem; scrollbar-width: thin; scroll-padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2)); }
.car-item { scroll-snap-align: start; position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; background: var(--grey); aspect-ratio: 1; padding: 9% 9% 18%; }
.car-item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 12px rgb(0 0 0 / .35)); transition: transform .5s; }
.car-item:hover img { transform: translateY(-4px); }
.car-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 1rem 4.5%; text-align: center; font-size: 1.1rem; color: #fff; }
.impression .center { margin-top: 1.8rem; }

/* Expositie-teaser */
.expo-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.expo-teaser-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--grey); padding: .4em 1.1em; border-radius: 999px; font-size: .98rem; transition: all .2s; }
.chip:hover { border-color: var(--grey); }
.chip.is-active { background: var(--grey); border-color: var(--grey); color: #fff; }
.grid-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2.2rem 1.6rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.work-card { text-decoration: none; color: var(--ink); display: block; }
.work-card[hidden] { display: none; }
.work-img { position: relative; display: block; background: var(--grey); overflow: hidden; aspect-ratio: 1; padding: 9%; }
.work-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 12px rgb(0 0 0 / .35)); transition: transform .5s, opacity .3s; }
.work-card:hover .work-img img { transform: translateY(-4px); }
.work-meta { display: block; padding-top: .7rem; }
.work-meta strong { display: block; font-weight: 400; font-size: 1.2rem; color: var(--grey); }
.work-meta span { color: var(--muted); font-size: 1rem; }
.badge { position: absolute; top: .8rem; left: .8rem; background: #fff; color: var(--grey); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .3em .8em; font-weight: 400; }
.badge-sold::before, .badge-commission::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--rose); margin-right: .5em; vertical-align: .05em; }
.badge-reserved::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--ochre); margin-right: .5em; vertical-align: .05em; }
.badge-inline { position: static; display: inline-block; border: 1px solid var(--line); }
.badge-video { position: absolute; right: .8rem; bottom: .8rem; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--grey); display: grid; place-items: center; font-size: .8rem; }
.no-results { text-align: center; color: var(--muted); padding: 3rem 0; }

/* Werk-detail */
.crumb { margin-bottom: 1.5rem; }
.crumb a { text-decoration: none; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.viewer-main { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-alt); cursor: zoom-in; }
.viewer-main img { width: 100%; max-height: 82vh; object-fit: contain; margin: 0 auto; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; margin-top: .7rem; }
.thumb { padding: 0; border: 2px solid transparent; background: var(--bg-alt); aspect-ratio: 1; overflow: hidden; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.is-active { opacity: 1; border-color: var(--grey); }
.video { margin-top: 1.4rem; background: #000; }
.video video { width: 100%; display: block; max-height: 80vh; }
.video-embed { position: relative; aspect-ratio: 16/9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { color: var(--muted); font-size: 1rem; margin-top: .5rem; }
.work-info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.work-info h1 { margin-bottom: .3em; }
.price-line { margin: 0 0 1.6rem; display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.price { font-size: 1.7rem; color: var(--ochre); font-weight: 400; }
.price-line small { color: var(--muted); font-size: .95rem; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.4rem; margin: 0 0 2rem; padding: 1.3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.work-desc { margin-top: 2rem; }
.more-works { background: var(--bg-alt); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(25 25 25 / .96); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.8rem; line-height: 1; width: 64px; height: 64px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: .5rem; right: .5rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; color: #ccc; font-size: .95rem; letter-spacing: .1em; }

/* Over mij */
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.about-photo { margin: 0; position: relative; background: var(--bg-alt); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-text { padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem); align-self: center; max-width: 720px; }
.about-text h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: .35em; }
.about-sub { color: var(--grey); font-size: 1.15rem; margin-bottom: 1.8rem; }
.about-sub strong { display: block; font-weight: 500; }
.prose { max-width: 70ch; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }

/* Exposities */
.group-title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .18em; color: var(--ochre); font-weight: 400; margin: 2.5rem 0 1.2rem; }
.group-title:first-child { margin-top: 0; }
.expo-list { display: grid; gap: 1.6rem; }
.expo { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.expo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.expo h3 { margin-bottom: .2em; font-size: 1.7rem; font-weight: 300; }
.expo-date { color: var(--ochre); margin-bottom: .3em; }
.expo.is-past { opacity: .85; }

/* Nieuws / Instagram */
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; }
.ig-post { text-decoration: none; color: var(--ink); display: block; }
.ig-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.ig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ig-post:hover .ig-img img { transform: scale(1.04); }
.ig-cap { display: block; padding-top: .6rem; font-size: 1rem; color: var(--muted); }
.ig-cap time { display: block; color: var(--ochre); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-card { background: var(--bg-alt); padding: 2rem; }
.contact-card img { margin-top: 1.4rem; }
.contact-form h2 { margin-bottom: 1rem; }
.form-work { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); padding: .8rem; margin-bottom: 1.4rem; }
.form-work img { width: 72px; height: 72px; object-fit: contain; background: var(--grey); padding: 6px; }
.form-work small { display: block; color: var(--muted); }
.form-work strong { display: block; font-weight: 400; font-size: 1.2rem; color: var(--grey); }
.form-work span { color: var(--muted); font-size: 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field span { display: block; font-size: 1rem; color: var(--grey); margin-bottom: .3rem; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1.08rem; color: var(--ink); padding: .65em .8em; border: 1px solid #cfcac5; border-radius: var(--radius); background: #fff; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 3px rgb(161 114 52 / .15); }
.field textarea { resize: vertical; min-height: 10em; }
.has-error input, .has-error textarea { border-color: #b3261e; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.4rem; font-size: 1rem; }
.check input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--ochre); }
.check.has-error span { color: #b3261e; }
.notice { padding: 1rem 1.2rem; margin-bottom: 1.4rem; border-left: 3px solid; }
.notice-ok { background: #eef5ec; border-color: #4f7a45; }
.notice-warn { background: #fbf4e8; border-color: var(--ochre); }
.notice-err { background: #fbecea; border-color: #b3261e; }

/* Footer */
.site-footer { background: var(--grey); color: #e9e7e4; padding: 3.5rem 0 1.5rem; font-size: 1.02rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.site-footer h2 { color: var(--pink); font-size: .9rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 400; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { filter: brightness(0) invert(1); opacity: .9; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .3rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: .92rem; color: #c9c6c2; }

/* Responsief */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { width: 92px; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #f3f2f0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.6rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; z-index: -1; box-shadow: 0 10px 30px rgb(0 0 0 / .08); }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .8rem 0; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--ochre); }
  .lang { margin-top: 1rem; font-size: 1rem; }
  .story-grid, .about-grid, .work-grid, .contact-grid, .expo-teaser-grid, .about-split { grid-template-columns: 1fr; }
  .about-split { min-height: 0; }
  .about-photo img { position: static; height: auto; aspect-ratio: 4/3; }
  body { font-weight: 400; }
  .lead, .muted, .work-meta span, .ig-cap, .specs dt, .price-line small, .crumb a { color: #4f4f4d; }
  h1, h2 { font-weight: 400; }
  .work-info { position: static; }
  .expo { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
  body { font-size: 1.08rem; }
  .grid-works { grid-template-columns: repeat(2, 1fr); gap: 1.4rem .9rem; }
  .work-meta strong { font-size: 1.05rem; }
  .work-meta span { font-size: .92rem; }
  .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
