@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Mrs+Saint+Delafield&display=swap');

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }

/* ─── TOKENS ─────────────────────────────────── */
:root {
  --bg:        #faf8f5;
  --bg-light:  #f3eee7;
  --zwart:     #1b1815;
  --tekst:     #161412;
  --tekst-2:   #4d4741;
  --zacht:     #857c74;
  --lijn:      #e4ddd4;
  --accent:    #b8956a;
  --wit:       #ffffff;
  --max:       1400px;
  --rand:      3.5rem;
  --sectie:    4.5rem;
  --inhoud:    calc(var(--max) - 2 * var(--rand));
}

/* ─── BASE ───────────────────────────────────── */
body {
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  background: var(--bg);
  color: var(--tekst);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { display: block; max-width: 100%; border-radius: 0; }

h1, h2, h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.08em;
}

/* ─── NAVIGATIE ──────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.3rem var(--rand);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lijn);
}

nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--inhoud);
  margin: 0 auto;
}

.nav-left  { display: flex; align-items: center; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; }

.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a {
  text-decoration: none;
  color: var(--zacht);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 300;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.current { color: var(--tekst); }

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.25s;
  gap: 0.45rem;
}
.logo:hover { opacity: 0.55; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.footer-logo-img {
  height: 92px;
}
.logo-script {
  font-family: 'Mrs Saint Delafield', cursive;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--tekst);
  line-height: 1;
}
.logo-art {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.4rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--zacht);
}

.lang-switch { display: flex; align-items: center; gap: 0.4rem; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--zacht); padding: 0; transition: color 0.2s;
}
.lang-btn.active { color: var(--tekst); font-weight: 300; }
.lang-btn:hover  { color: var(--tekst); }
.lang-switch span { color: var(--lijn); font-size: 0.8rem; }

/* ─── HERO ───────────────────────────────────── */
.hero-stack {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7.5rem var(--rand) 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.hero-stack-media img {
  width: 100%;
  height: clamp(520px, calc(100vh - 12rem), 820px);
  object-fit: cover;
  object-position: center 30%;
}

.hero-stack-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.hero-stack-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(2.3rem, 3.9vw, 3.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--tekst);
  margin-bottom: auto;
}

.hero-stack-quote {
  border-top: 1px solid var(--lijn);
  padding-top: 1.8rem;
  margin-top: 2rem;
}
.hero-stack-quote p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--tekst);
  margin-bottom: 1rem;
}
.hero-stack-attr {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; }

/* ─── SPLIT SECTIE (foto + tekst) ────────────── */
.split-section {
  display: grid;
  grid-template-columns: 58% 1fr;
  column-gap: 3rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sectie) var(--rand);
}

.split-img {
  overflow: hidden;
  position: relative;
}
.split-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--lijn);
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  background: var(--bg);
}

.section-label {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.split-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  color: var(--tekst);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.split-text h2 em {
  font-style: normal;
}

.split-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--tekst-2);
  max-width: 400px;
  margin-bottom: 1.6rem;
}

/* ─── WERKEN SECTIE ──────────────────────────── */
.works-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sectie) var(--rand);
  background: var(--bg);
}

.works-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.2rem;
}

.works-header h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
}

.works-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

/* "Bekijk alle werken" onder de recente werken */
.works-more { margin-top: 3rem; text-align: left; }

/* ─── STATEMENT ──────────────────────────────── */
.statement-section {
  padding: var(--sectie) var(--rand);
  background: var(--bg-light);
}
.statement-section::before {
  content: '';
  display: block;
  width: 46px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.8rem;
}
.statement-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tekst);
}

/* ─── OPDRACHT-BLOK (alleen tekst) ───────────── */
.cta-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sectie) var(--rand);
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-inner p {
  max-width: 560px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--tekst-2);
  margin-bottom: 1.8rem;
}

/* ─── BANNER SECTIE ──────────────────────────── */
.banner-section {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.banner-section:hover .banner-img {
  transform: scale(1.02);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 30, 22, 0.18), rgba(40, 30, 22, 0.42));
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.banner-content h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.05;
}

.banner-hint {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.5rem 1.4rem;
  transition: all 0.25s;
}

.banner-section:hover .banner-hint {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* ─── SFEER MODAL ────────────────────────────── */
.sfeer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.93);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.sfeer-modal.open {
  display: flex;
}

.sfeer-modal-inner {
  max-width: 900px;
  max-height: 85vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sfeer-modal-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: none;
}

.sfeer-modal-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}
.sfeer-modal-close:hover { color: #fff; }

.sfeer-modal-prev,
.sfeer-modal-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-size: 1.4rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.sfeer-modal-prev { left: 1.5rem; }
.sfeer-modal-next { right: 1.5rem; }
.sfeer-modal-prev:hover,
.sfeer-modal-next:hover { background: rgba(255,255,255,0.18); color: #fff; }

.sfeer-modal-dots {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.sfeer-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.sfeer-dot.active { background: #fff; width: 18px; }

/* ─── KNOPPEN ─────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--tekst);
  color: var(--wit);
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

.btn-text {
  display: inline-block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tekst);
  text-decoration: none;
  border-bottom: 1px solid var(--lijn);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-text:hover { color: var(--accent); border-color: var(--accent); }

.btn-outline {
  display: inline-block;
  color: var(--tekst);
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--tekst);
  padding: 0.9rem 2.5rem;
  transition: background 0.25s, color 0.25s;
}
.btn-outline:hover { background: var(--tekst); color: var(--wit); }

.btn-outline.dark {
  border: none;
  border-bottom: 1px solid var(--tekst);
  padding: 0 0 3px;
  border-radius: 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--tekst);
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
  background: transparent;
}
.btn-outline.dark:hover { color: var(--accent); border-color: var(--accent); }

/* ─── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── LOSSE PAGINA'S ─────────────────────────── */
.page-main {
  padding: 7.5rem 0 var(--sectie);
  background: var(--bg);
  min-height: 100vh;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.page-hero {
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--lijn);
  margin-bottom: 2.5rem;
}

.page-hero-rule {
  width: 46px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.2rem;
}

.page-hero h2 {
  font-style: normal;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--tekst);
  margin-top: 0;
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
}

.page-sub {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--tekst-2);
  max-width: 520px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--tekst);
  line-height: 1.02;
}

/* OVER PAGINA */
.over-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.over-foto {
  position: sticky;
  top: 8rem;
  width: 100%;
}
.over-foto img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--lijn);
}

.over-tekst {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
}
.over-tekst h2 { margin-bottom: 0; }
.over-tekst p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--tekst);
}
.over-tekst blockquote {
  border-left: 3px solid var(--accent, #b5895a);
  padding-left: 1.25rem;
  margin: 0.6rem 0;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--tekst);
  opacity: 0.9;
}
.over-tekst .btn-primary {
  align-self: flex-start;
  margin-top: 0.8rem;
}

/* GALERIJ */
.gallery-page { background: var(--bg); }

.gallery-filters {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.gallery-filter {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 0 0 3px;
  cursor: pointer;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zacht);
  transition: color 0.2s, border-color 0.2s;
}
.gallery-filter:hover { color: var(--tekst); }
.gallery-filter.active { color: var(--tekst); border-color: var(--tekst); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6rem 2rem;
}

.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.gallery-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 1.1rem;
}

.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
}
.gallery-item:hover .gallery-img img { transform: scale(1.03); }

.gallery-sold-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a3402e;
}

.gallery-info { display: flex; flex-direction: column; gap: 0.3rem; }

.gallery-info h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--tekst);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.gallery-meta {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zacht);
}

.gallery-status-gereserveerd { color: var(--accent); }
.gallery-status-verkocht { color: var(--zacht); }

.gallery-loading,
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--zacht);
  font-size: 0.9rem;
}

.gallery-cta {
  margin-top: var(--sectie);
  padding-top: 2.2rem;
  border-top: 1px solid var(--lijn);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.gallery-cta p { font-size: 0.95rem; color: var(--tekst-2); }

/* DETAILWEERGAVE WERK */
.work-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  overflow-y: auto;
}
.work-modal.open { display: block; }

.work-modal-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 3.5rem;
}

.work-modal-media { position: relative; }
.work-modal-zoom {
  overflow: hidden;
  background: var(--bg-light);
  cursor: zoom-in;
  touch-action: pan-y;
}
.work-modal-zoom img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.work-modal-zoom.zoomed { cursor: zoom-out; touch-action: none; }
.work-modal.no-zoom .work-modal-zoom { cursor: default; }
.work-modal.no-zoom .work-modal-hint { visibility: hidden; }
.work-modal-zoom.zoomed img { transform: scale(2.5); transition: transform 0.35s ease, transform-origin 0s; }
.work-modal-hint {
  display: block;
  margin-top: 0.7rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zacht);
}

.work-modal-prev,
.work-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  background: rgba(250,250,248,0.85);
  border: 1px solid var(--lijn);
  color: var(--tekst);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.work-modal-prev { left: 1rem; }
.work-modal-next { right: 1rem; }
.work-modal-prev:hover,
.work-modal-next:hover { background: var(--wit); }
.work-modal.single .work-modal-prev,
.work-modal.single .work-modal-next { display: none; }

.work-modal-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--zacht);
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.work-modal-close:hover { color: var(--tekst); }

.work-modal-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.work-modal-status {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-modal-info h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
}
.work-modal-specs {
  width: 100%;
  max-width: 360px;
  border-top: 1px solid var(--lijn);
  margin-top: 0.4rem;
}
.work-modal-specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--lijn);
  font-size: 0.9rem;
}
.work-modal-specs dt {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--zacht);
  align-self: center;
}
.work-modal-specs dd { color: var(--tekst); }
.work-modal-desc:empty { display: none; }

.work-modal-group { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.4rem; }
.work-modal-group[hidden] { display: none; }
.work-modal-group-label {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-modal-desc { font-size: 0.95rem; line-height: 1.85; color: var(--tekst); max-width: 420px; }

.work-modal-thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.work-modal-thumb {
  width: 64px;
  height: 80px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--bg-light);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}
.work-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-modal-thumb:hover { opacity: 0.85; }
.work-modal-thumb.active { opacity: 1; border-color: var(--tekst); }
.work-modal-info .btn-primary { margin-top: 1.2rem; }

/* OPDRACHT PAGINA */
.opdracht-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.opdracht-stappen { position: relative; display: flex; flex-direction: column; gap: 0; }

.opdracht-stappen::before {
  content: '';
  position: absolute;
  left: 1.37rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: var(--lijn);
  z-index: 0;
}

.stap {
  display: flex;
  gap: 1.7rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  position: relative;
  z-index: 1;
}
.stap:first-child { padding-top: 0; }
.stap:last-child { padding-bottom: 0; }

.stap-nr {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--lijn);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.stap:hover .stap-nr {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--wit);
  transform: scale(1.08);
}

.stap-tekst { padding-top: 0.35rem; }
.stap-tekst h4 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tekst);
  margin-bottom: 0.55rem;
  font-weight: 300;
}
.stap-tekst p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--tekst-2);
}

.opdracht-foto-ph {
  width: 100%;
  position: sticky;
  top: 9rem;
  align-self: start;
  overflow: hidden;
}
.opdracht-foto-ph img {
  width: 100%;
  height: auto;
  max-height: 640px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
}

.opdracht-cta { margin-top: 2.2rem; }

.opdracht-strip {
  margin-top: var(--sectie);
  padding-top: var(--sectie);
  border-top: 1px solid var(--lijn);
}
.opdracht-strip .works-header h2,
.opdracht-form-intro h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}
.strip-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 3.4);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--lijn) transparent;
}
.strip-row img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  scroll-snap-align: start;
}

.opdracht-form {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  margin-top: var(--sectie);
  padding-top: var(--sectie);
  border-top: 1px solid var(--lijn);
  scroll-margin-top: 7rem;
}
.opdracht-form-intro h2 { margin-bottom: 1rem; }

.opdracht-form input,
.opdracht-form textarea,
.opdracht-form select {
  padding: 0.7rem 0.05rem;
  border: none;
  border-bottom: 1px solid var(--lijn);
  background: transparent;
}
.opdracht-form input:focus,
.opdracht-form textarea:focus,
.opdracht-form select:focus {
  border-color: var(--tekst);
  background: transparent;
  box-shadow: none;
}
.opdracht-form input::placeholder { color: #b5ada5; }

select {
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--tekst);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--zacht) 50%), linear-gradient(135deg, var(--zacht) 50%, transparent 50%) !important;
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50% !important;
  background-size: 5px 5px !important;
  background-repeat: no-repeat !important;
}

/* CONTACT */
.page-main.contact-page { padding: 7.5rem var(--rand) var(--sectie); background: var(--bg); }

.container.contact-head { max-width: var(--inhoud); padding: 0; }

.contact-grid {
  max-width: var(--inhoud);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-photo {
  width: 100%;
  margin-bottom: 1.4rem;
}
.contact-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--lijn);
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-left h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 400;
  font-style: normal;
  margin-bottom: 0;
}

.contact-left > p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--tekst);
}

.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1rem; }

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--tekst);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lijn);
}
.contact-details li svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.atelier-block { padding-top: 1.2rem; }
.atelier-block h3 {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.atelier-block p { font-size: 0.9rem; line-height: 1.85; color: var(--tekst); }

.contact-right { padding-top: 0.2rem; }

/* FORMULIER */
form { display: flex; flex-direction: column; gap: 1.4rem; }

.contact-page input,
.contact-page textarea {
  padding: 0.7rem 0.05rem;
  border: none;
  border-bottom: 1px solid var(--lijn);
  border-radius: 0;
  background: transparent;
}
.contact-page input:focus,
.contact-page textarea:focus {
  border-color: var(--tekst);
  background: transparent;
  box-shadow: none;
}
.contact-page textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.55rem; }

label {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tekst);
  font-family: Helvetica, Arial, sans-serif;
}

input, textarea {
  padding: 0.9rem 1.1rem;
  border: 1px solid transparent;
  background: var(--bg-light);
  font-family: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  outline: none;
  color: var(--tekst);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  font-weight: 300;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  background: var(--wit);
  box-shadow: 0 0 0 4px rgba(184,149,106,0.12);
}
textarea { resize: vertical; min-height: 120px; }

button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2.4rem;
  background: var(--tekst);
  color: var(--wit);
  border: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  align-self: flex-start;
}
button[type="submit"] svg { transition: transform 0.25s; }
button[type="submit"]:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
button[type="submit"]:hover svg { transform: translateX(3px); }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

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

.form-status {
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 0.9rem 1.1rem;
  display: none;
}
.form-status.visible { display: block; }
.form-status.success { background: rgba(120,160,110,0.14); color: #4c7a45; }
.form-status.error { background: rgba(200,90,80,0.12); color: #b3392c; }

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--zwart);
  color: var(--bg);
  padding: 3.5rem var(--rand) 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 4rem;
  max-width: var(--inhoud);
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  margin-bottom: 1.4rem;
  transition: opacity 0.2s;
  gap: 0.45rem;
}
.footer-logo:hover { opacity: 0.55; }
.footer-logo .logo-script {
  font-family: 'Mrs Saint Delafield', cursive;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(250,248,244,0.85);
  line-height: 1;
}
.footer-logo .logo-art {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.4rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--bg);
}

.footer-info { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.footer-info li {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.82rem; color: var(--bg);
}
.footer-info li svg { flex-shrink: 0; opacity: 0.7; }
/* iOS maakt telefoonnummers automatisch blauwe links: zelfde wit als de rest houden */
.footer-info a,
.footer-info a[href^="tel"] { color: inherit; text-decoration: none; }

.footer-nav { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.3rem; }
.footer-nav a {
  text-decoration: none;
  color: var(--bg);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }

.footer-social { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; padding-top: 0.3rem; }
.footer-social-link {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
  color: var(--bg);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--inhoud);
  margin: 0 auto;
  padding: 1.4rem 0;
  font-size: 0.65rem;
  color: rgba(250, 248, 245, 0.55);
  letter-spacing: 0.08em;
}

/* ─── HAMBURGER MENU ─────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 300;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--tekst);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  color: var(--tekst);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.current { color: var(--accent); }
.mobile-menu .mobile-lang {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* ─── HOMEPAGE: RUSTIGER RITME ──────────────── */
body.home .works-section  { padding-top: 4rem; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1100px) {
  :root { --rand: 2.5rem; --sectie: 3.75rem; }
  .hero-stack { grid-template-columns: 1fr; gap: 2rem; padding-top: 7rem; }
  .hero-stack-media img { height: auto; aspect-ratio: 4 / 5; max-height: 70vh; }
  .hero-stack-quote { margin-top: 1.4rem; }
  .split-section { grid-template-columns: 1fr; row-gap: 2rem; }
  .works-row { gap: 2.5rem 1.5rem; }
  .opdracht-form { grid-template-columns: 1fr; gap: 1.8rem; }
  .work-modal-inner { grid-template-columns: 1fr; gap: 2rem; padding: 4.5rem 2rem 3rem; align-items: start; }
  .work-modal-media img { max-height: 65vh; }
  .opdracht-layout { grid-template-columns: 1fr; }
  .opdracht-foto-ph { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-photo { max-width: 420px; }
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .over-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .over-foto { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-social { align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; grid-column: 1; grid-row: 1; justify-self: start; }
  .nav-left { display: none; }
  .logo { grid-column: 2; }
  .logo-img { height: 46px; }
  header { padding: 0.9rem 1.5rem; }

  :root { --rand: 1.5rem; --sectie: 3rem; }
  .hero-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 5.6rem 0 0;
  }
  .hero-stack-text { display: contents; }
  .hero-stack-text .section-label { order: 1; margin: 0 var(--rand) 1rem; }
  .hero-stack-title {
    order: 2;
    margin: 0 var(--rand) 1.3rem;
    font-size: clamp(1.9rem, 8.4vw, 2.5rem);
    letter-spacing: 0.06em;
  }
  .hero-stack-media { order: 3; }
  .hero-stack-media img { aspect-ratio: 4 / 5; max-height: 68vh; height: auto; }
  .hero-stack-quote {
    order: 4;
    margin: 0 var(--rand);
    padding-top: 1.4rem;
    border-top: none;
  }
  .hero-stack-quote p { font-size: 1.05rem; }
  .hero-stack-attr { margin-bottom: 1.3rem; }
  .hero-actions { gap: 1.6rem; }
  body.home .works-section { padding-top: 2.8rem; }
  .works-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .works-row { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .works-row .gallery-item:first-child { grid-column: 1 / -1; }
  .works-row .gallery-item:not(:first-child) .gallery-info h3 { font-size: 0.95rem; }
  .works-row .gallery-item:not(:first-child) .gallery-meta { font-size: 0.56rem; letter-spacing: 0.14em; }
  .strip-row { grid-auto-columns: 72%; }
  .gallery-filters { gap: 1.2rem; }
  .gallery-filter { white-space: nowrap; letter-spacing: 0.16em; }
  .stap { gap: 1.2rem; padding: 0.8rem 0; }
  .stap-tekst p { line-height: 1.7; }
  .gallery-cta { margin-top: var(--sectie); }
  .work-modal-inner { padding: 4rem 1.5rem 2.5rem; }
  .work-modal-close { top: 0.8rem; right: 1rem; }

  .banner-section { height: 46vh; min-height: 320px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }


  .form-row { grid-template-columns: 1fr; }
  .page-main { padding-top: 5.8rem; }
  .page-main.contact-page { padding-top: 5.8rem; }
  .page-hero { margin-bottom: 2rem; }

  .opdracht-stappen { gap: 0.4rem; }

}
