/* ==========================================================================
   Sanne Ophof — publieke website
   ========================================================================== */

:root {
  --paper: #f6f2eb;
  --paper-2: #ede7dd;
  --ink: #1d1a17;
  --ink-soft: #5f574e;
  --ink-faint: #8f867b;
  --line: #d9d0c3;
  --sold: #b3362d;
  --available: #3f7a4f;

  --script: 'Carattere', 'Snell Roundhand', cursive;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Header / navigatie ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.is-solid {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-dark { color: #f6f2eb; }
.site-header.is-dark.is-solid { background: rgba(20, 18, 16, .35); box-shadow: none; }

.brand {
  font: 400 34px/1 var(--script);
  text-decoration: none;
  padding-top: 6px;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.page-home .site-header:not(.show-brand) .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }

.site-nav { display: flex; gap: clamp(18px, 3vw, 40px); }

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 0;
}

.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}

.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; position: relative; z-index: 2;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
    background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .site-nav a { font: 400 38px/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: var(--ink); }
  .menu-open .brand { opacity: 1 !important; transform: none !important; z-index: 2; }
}

/* ---------- Algemene bouwstenen ---------- */

.page {
  padding: calc(var(--header-h) + clamp(32px, 7vw, 90px)) var(--gutter) clamp(60px, 10vw, 120px);
  max-width: 1440px; margin: 0 auto;
}

.page-title {
  margin: 0;
  font: 400 clamp(46px, 8vw, 96px)/.95 var(--serif);
  letter-spacing: -.01em;
}

.page-title em { font-style: italic; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint);
}

.lead { font-size: 19px; color: var(--ink-soft); max-width: 38em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: wait; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Footer ---------- */

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px;
  padding: 36px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint); letter-spacing: .04em;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* Verborgen toegang tot het atelier: oogt als een gewoon ©-teken */
.quiet { text-decoration: none; cursor: default; color: inherit; }

/* ==========================================================================
   Home
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; align-content: center;
  padding: var(--header-h) var(--gutter);
  overflow: hidden;
  text-align: center;
}

/* zachte verfvlekken in haar kleurenpalet */
.hero::before {
  content: ''; position: absolute; inset: -10%;
  background:
    radial-gradient(38% 42% at 18% 28%, rgba(206, 120, 190, .20), transparent 70%),
    radial-gradient(34% 40% at 82% 22%, rgba(70, 170, 190, .18), transparent 70%),
    radial-gradient(40% 38% at 76% 82%, rgba(240, 150, 60, .18), transparent 70%),
    radial-gradient(36% 36% at 22% 80%, rgba(120, 100, 210, .16), transparent 70%);
  filter: blur(10px);
  animation: drift 24s ease-in-out infinite alternate;
}

@keyframes drift {
  to { transform: translate3d(2%, -2%, 0) rotate(4deg) scale(1.05); }
}

.hero-name {
  position: relative;
  margin: 0;
  font: 400 clamp(76px, 15vw, 210px)/1.15 var(--script);
  letter-spacing: 0;
  padding: .1em .3em;
  animation: write 2.4s .2s var(--ease) both;
}

@keyframes write {
  from { clip-path: inset(-30% 100% -30% -10%); opacity: .2; }
  to { clip-path: inset(-30% -10% -30% -10%); opacity: 1; }
}

.hero-sub {
  position: relative;
  margin: .2em 0 0;
  font-size: 13px; letter-spacing: .5em; text-transform: uppercase; color: var(--ink-soft);
  padding-left: .5em;
  animation: fade-up 1.2s 1.6s var(--ease) both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px;
  width: 1px; height: 64px; background: var(--line); overflow: hidden;
  animation: fade-up 1s 2.2s var(--ease) both;
}

.scroll-cue span {
  position: absolute; inset: 0; background: var(--ink);
  animation: cue 2.2s 2.6s var(--ease) infinite;
  transform: translateY(-100%);
}

@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Highlights: vloeiend door werk scrollen ---------- */

.highlights { position: relative; background: #151311; color: #f6f2eb; }

.hl-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

.hl-slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  will-change: opacity;
}

.hl-bg {
  position: absolute; inset: -5%;
  background-size: cover; background-position: center;
  transform: scale(1.1);
}

.hl-slide::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 9, 8, .15), rgba(10, 9, 8, .6));
}

.hl-art {
  position: relative; z-index: 1;
  display: block;
  margin-top: 10px;
  will-change: transform;
}

.hl-art img {
  max-height: min(68vh, 900px); max-height: min(68svh, 900px);
  max-width: min(78vw, 1100px);
  width: auto; height: auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 10px 30px -10px rgba(0, 0, 0, .5);
}

.hl-caption {
  position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(28px, 6vh, 56px);
  max-width: 60vw;
}

.hl-caption h2 { margin: 0; font: italic 400 clamp(30px, 4.5vw, 58px)/1 var(--serif); }
.hl-caption p { margin: 10px 0 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

.hl-counter {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(28px, 6vh, 56px);
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums;
}

.hl-bar { width: 90px; height: 1px; background: rgba(246, 242, 235, .3); position: relative; }
.hl-bar i { position: absolute; inset: 0; background: #f6f2eb; transform-origin: left; transform: scaleX(0); }

.hl-intro {
  position: absolute; z-index: 3; top: calc(var(--header-h) + 8px); left: 0; right: 0;
  text-align: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .7;
}

@media (max-width: 720px) {
  .hl-art img { max-width: 86vw; max-height: 58svh; }
  .hl-caption { max-width: 70vw; }
  .hl-counter .hl-bar { display: none; }
}

/* ---------- Home: afsluiting ---------- */

.home-outro {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end;
  padding: clamp(80px, 14vw, 180px) var(--gutter);
  max-width: 1440px; margin: 0 auto;
}

.home-outro h2 { margin: 0; font: 400 clamp(38px, 5.4vw, 72px)/1.02 var(--serif); }
.home-outro h2 em { font-family: var(--script); font-style: normal; font-size: 1.15em; }
.home-outro .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@media (max-width: 820px) { .home-outro { grid-template-columns: 1fr; } }

/* ==========================================================================
   Portfolio
   ========================================================================== */

.portfolio-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  min-height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  font-size: 13px; letter-spacing: .06em; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip small { opacity: .6; margin-left: 4px; }

/* Rijen met gelijke hoogte, schilderijen worden nooit bijgesneden */
.grid {
  --row: 230px;
  display: flex; flex-wrap: wrap; gap: clamp(18px, 2.4vw, 34px) clamp(14px, 2vw, 28px);
}
.grid::after { content: ''; flex-grow: 999999; }

@media (max-width: 900px) { .grid { --row: 180px; } }
@media (max-width: 520px) { .grid { --row: 130px; } }

.work {
  flex: var(--r) 1 calc(var(--r) * var(--row));
  max-width: calc(var(--r) * var(--row) * 1.9);
  display: flex; flex-direction: column; gap: 10px;
  padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in;
  animation: fade-up .7s var(--ease) both;
}

.work-img {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: var(--r);
  background: var(--c, var(--paper-2));
}

.work-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease), filter .5s var(--ease);
}
.work-img img.is-loaded { opacity: 1; }
.work:hover .work-img img { transform: scale(1.025); }

.work-cap { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; min-width: 0; }
.work-title { font: 400 19px/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-meta { flex: none; font-size: 12px; letter-spacing: .08em; color: var(--ink-faint); white-space: nowrap; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sold); vertical-align: 1px; margin-right: 6px; }
.dot-free { background: var(--available); }

.work-img .dot { position: absolute; top: 10px; right: 10px; width: 11px; height: 11px; margin: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }

@media (max-width: 520px) {
  .work-title { font-size: 16px; }
  .work-meta { display: none; }
}

.empty { padding: 60px 0; color: var(--ink-faint); font-size: 18px; }

/* ---------- Viewer (popup) ---------- */

.viewer {
  position: fixed; inset: 0; z-index: 100;
  display: flex;
  --info-w: 360px;
}
.viewer[hidden] { display: none; }

.viewer-backdrop {
  position: absolute; inset: 0;
  background: rgba(246, 242, 235, .97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade .35s var(--ease) both;
  transition: background .45s var(--ease);
}

@keyframes fade { from { opacity: 0; } }

.viewer-body { position: relative; flex: 1; display: flex; min-width: 0; pointer-events: none; }

.viewer-figure {
  flex: 1; min-width: 0; margin: 0;
  display: grid; place-items: center;
  padding: clamp(24px, 5vh, 64px) clamp(20px, 3vw, 48px);
}

.viewer-img {
  pointer-events: auto;
  cursor: zoom-in;
  box-shadow: 0 30px 70px -25px rgba(30, 20, 10, .45);
  transform-origin: top left;
  background: var(--c, var(--paper-2));
  user-select: none; -webkit-user-drag: none;
}

.viewer-info {
  pointer-events: auto;
  width: var(--info-w); flex: none;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 48px 48px 48px 8px;
  animation: fade-up .5s .1s var(--ease) both;
}

.viewer-title { margin: 0; font: 400 clamp(34px, 3.2vw, 46px)/1.02 var(--serif); }

.viewer-specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 15px; }
.viewer-specs dt { color: var(--ink-faint); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.viewer-specs dd { margin: 0; }

.viewer-status { margin: 0; padding: 18px 0; border-block: 1px solid var(--line); }
.viewer-price { display: block; font: 400 34px/1.1 var(--serif); }
.viewer-state { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.viewer-desc { margin: 0; color: var(--ink-soft); font-size: 15px; white-space: pre-line; }
.viewer-specs a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

.viewer-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer; color: var(--ink);
  transition: background .25s, color .25s, opacity .3s;
}
.viewer-btn:hover { background: rgba(29, 26, 23, .08); }
.viewer-btn[hidden] { display: none; }
.viewer-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.viewer-close { top: 14px; right: 14px; }
.viewer-prev { left: 10px; top: 50%; margin-top: -24px; }
.viewer-next { right: calc(var(--info-w) + 4px); top: 50%; margin-top: -24px; }

/* Stap 2: volledig scherm */
.viewer.is-full { --info-w: 0px; }
.viewer.is-full .viewer-backdrop { background: #0c0b0a; }
.viewer.is-full .viewer-info { display: none; }
.viewer.is-full .viewer-figure { padding: 0; }
.viewer.is-full .viewer-img { box-shadow: none; cursor: zoom-out; }
.viewer.is-full .viewer-prev, .viewer.is-full .viewer-next { display: none; }
.viewer.is-full .viewer-close { color: #f6f2eb; }
.viewer.is-full .viewer-close:hover { background: rgba(255, 255, 255, .1); }
.viewer.is-full .viewer-body { pointer-events: auto; cursor: zoom-out; }

@media (max-width: 860px) {
  .viewer { --info-w: 0px; }
  .viewer-body { flex-direction: column; overflow-y: auto; pointer-events: auto; }
  .viewer-figure { flex: none; height: 62svh; padding: 64px 16px 12px; }
  .viewer-info { width: auto; padding: 12px 24px 40px; justify-content: flex-start; gap: 16px; }
  .viewer-prev, .viewer-next { top: calc(31svh + 26px); background: rgba(246, 242, 235, .7); }
  .viewer-next { right: 10px; }
  .viewer.is-full .viewer-figure { height: 100svh; }
}

/* ==========================================================================
   Collecties
   ========================================================================== */

.collections {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px);
}

.collection { animation: fade-up .7s var(--ease) both; }

.collection-cover {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--c, var(--paper-2));
}
.collection-cover img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.collection-cover img.is-loaded { opacity: 1; }
.collection-cover:hover img { transform: scale(1.04); }

.collection-hint {
  position: absolute; left: 16px; bottom: 16px;
  padding: 8px 16px; border-radius: 99px; background: rgba(246, 242, 235, .92); color: var(--ink);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.collection-cover:hover .collection-hint, .collection-cover:focus-visible .collection-hint { opacity: 1; transform: none; }

.collection-cap { padding-top: 16px; }
.collection-cap h2 { margin: 0; font: 400 clamp(30px, 3vw, 38px)/1.05 var(--serif); }
.collection-cap h2 button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.collection-cap h2 button:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.collection-cap p { margin: 6px 0 0; font-size: 14px; color: var(--ink-faint); }
.collection-cap a { color: var(--ink-soft); text-underline-offset: 3px; }

@media (hover: none) { .collection-hint { opacity: 1; transform: none; } }

/* ==========================================================================
   Over
   ========================================================================== */

.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 110px); align-items: start;
}

.about-photo {
  margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--paper-2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.monogram {
  width: 100%; height: 100%; display: grid; place-items: center;
  font: 400 clamp(90px, 14vw, 180px)/1 var(--script); color: var(--ink-soft);
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(206, 120, 190, .22), transparent 70%),
    radial-gradient(60% 50% at 75% 75%, rgba(70, 170, 190, .2), transparent 70%),
    var(--paper-2);
}

.about-text .page-title { margin-bottom: 36px; }
.bio p { margin: 0 0 1.1em; font-size: 18px; color: var(--ink-soft); max-width: 36em; }
.bio p:first-child { font: 400 clamp(22px, 2.2vw, 27px)/1.45 var(--serif); color: var(--ink); }

.section-title {
  margin: clamp(70px, 10vw, 130px) 0 28px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  font: 400 clamp(34px, 4.5vw, 56px)/1 var(--serif);
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}

.expo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }

.expo {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 12px 40px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.expo-date { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.expo h3 { margin: 0 0 4px; font: 400 30px/1.1 var(--serif); }
.expo-place { margin: 0; color: var(--ink-soft); }
.expo-desc { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 42em; }
.expo-link { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.badge-now {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 99px;
  background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: .14em; vertical-align: 2px;
}

.expo-past .expo { padding: 16px 0; grid-template-columns: 220px 1fr; }
.expo-past .expo h3 { font-size: 22px; }

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
  .expo, .expo-past .expo { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 110px); align-items: start;
}

.contact-intro .lead { margin: 28px 0 0; }

.contact-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list:empty { display: none; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.contact-list p { margin: 0; font: 400 22px/1.3 var(--serif); }
.contact-list a { text-decoration: none; font: 400 22px/1.3 var(--serif); overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Uitgelicht schilderij onder de contactgegevens */
.contact-art { display: block; margin-top: 44px; max-width: 300px; text-decoration: none; }
.contact-art[hidden] { display: none; }
.contact-art img {
  width: 100%; height: auto; max-height: 340px; object-fit: contain; object-position: left bottom;
  box-shadow: 0 30px 60px -30px rgba(40, 30, 20, .45);
  transition: transform .6s var(--ease);
}
.contact-art:hover img { transform: translateY(-4px); }
.contact-art-cap { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-faint); }
.contact-art-cap em { font: italic 400 18px/1 var(--serif); color: var(--ink-soft); }

/* Formulier als kaart */
.contact-card {
  padding: clamp(24px, 4vw, 48px);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 40px 80px -50px rgba(60, 40, 20, .35);
}

.form { display: grid; gap: 22px; }
.form-head h2 { margin: 0; font: 400 clamp(30px, 3vw, 38px)/1.1 var(--serif); }
.form-head p { margin: 6px 0 0; font-size: 14px; color: var(--ink-faint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.req { color: var(--sold); }

.field input, .field textarea {
  width: 100%;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink);
  font: 300 17px/1.5 var(--sans);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: .7; }
.field input:hover, .field textarea:hover { border-color: #c9bfb1; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 26, 23, .06);
}
.field textarea { min-height: 170px; resize: vertical; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.form-note { margin: 0; flex: 1; min-width: 200px; font-size: 13px; color: var(--ink-faint); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.about-work {
  display: flex; gap: 16px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
}
.about-work[hidden] { display: none; }
.about-work img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.about-work p { margin: 0; font-size: 13px; color: var(--ink-faint); }
.about-work strong { display: block; font: 400 22px/1.2 var(--serif); color: var(--ink); }

.form-status { margin: 0; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--sold); }
.form-status.is-ok { color: var(--available); }

.sent { padding: 40px 10px; text-align: center; animation: fade-up .6s var(--ease) both; }
.sent h2 { margin: 0 0 10px; font: 400 52px/1.1 var(--script); }
.sent p { margin: 0; color: var(--ink-soft); }

@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-art { display: none; }
  .form-foot .btn { width: 100%; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; place-content: center; text-align: center; gap: 20px; }
.notfound .page-title { font-family: var(--script); }

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