/* === Local fonts (self-hosted) === */
@font-face{font-family:"Barlow";font-style:normal;font-weight:300;font-display:swap;src:url("../fonts/barlow-latin-300-normal.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/barlow-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/barlow-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/barlow-latin-600-normal.woff2") format("woff2");}

@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:300;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");}

:root{
  --maxw: 1200px;
  --pad: 20px;
  --panel-bg: rgba(255,255,255,0.88);
  --text: #111;
  --green: #1f8f3a;

  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Barlow', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --base-size: 17px;
  --line: 1.7;
}
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--base-size);
  line-height: var(--line);
  overflow-x: hidden;
}

/* Typography system */
 h2, h3, h4, h5, h6{
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.04em;
}

h1 {
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


.hero-title, .hero-kicker, .hero-chip-label, .section-title, .artist-name, .menu a{
  font-family: var(--font-display);
}

.hero-kicker, .hero-chip-label{
  font-weight: 300;
}

.menu a{
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 14px;
}

/* Fixed background image (does NOT scroll) */
.bg-fixed{
  position: fixed;
  inset: 0;
  background: url("/landing/assets/img/gallery-empty.jpg") center/cover no-repeat;
  z-index: -2;

}
.bg-fixed::after{
  content:"";
  position:absolute;
  inset:0;
  /* Subtle global veil; hero section adds its own darker overlay */
  /*background: rgba(0,0,0,0.35);*/
  background: rgba(255,255,255,0.35);
}

/* Sticky header */

.site-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    /* Witte film boven de achtergrondfoto */
    background: rgba(255, 255, 255, 0.55);

    /* subtiele glass blur */
    /*backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);*/
}


.header-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--pad) 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.header-left{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 260px;
}

.brand-icons{
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  opacity: .85;
}

.icon-link{
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.icon-link:hover{
  opacity: .65;
}

\.brand img{ display:block; width: 640px; max-width: 100%; height: auto; }

.header-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

.contact-top{
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
  opacity: .9;
}

.contact-top a{ color: inherit; text-decoration: none; }
.contact-top a:hover{ opacity: .7; }

.menu{
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
}

.menu a{
  color: inherit;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}

/* Hover effect met haakjes */
.menu a::before,
.menu a::after{
  opacity: 0;
  transition: opacity .15s ease;
  color: inherit;
}
.menu a::before{ content: "[ "; position: absolute; left: -14px; }
.menu a::after{ content: " ]"; position: absolute; right: -14px; }
.menu a:hover::before,
.menu a:hover::after{ opacity: 1; }

.content{ padding-bottom: 280px; }

.section{ padding: 34px 0; }
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.panel{
  background: var(--panel-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.panel-over{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* Footer (fixed, verschijnt enkel aan het einde via JS) */
.site-footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1f1f1f;
  color: #fff;
  padding: 40px 0 18px;
  transform: translateY(100%);
  transition: transform .25s ease;
  z-index: 10;
  opacity: .65;
}
.site-footer.is-visible{ transform: translateY(0); }

.footer-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  gap: 60px;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
}

.footer-title{ font-weight: 600; margin-bottom: 8px; }
.footer-col a{ color: inherit; text-decoration: none; }
.footer-col a:hover{ opacity: .75; }

.footer-bottom{
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  opacity: .85;
}

.hero{ padding-top: 28px; }

/* =========================
   Landing hero (zoals je screenshot)
   ========================= */

.hero-landing{
  padding: 0; /* stage handles centering */

}

.hero-stage{
  min-height: calc(100vh - 76px); /* minus sticky header */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 38px 0;
}

.hero-duo{
  position: relative; /* stacking context */
  width: min(var(--maxw), calc(100vw - (var(--pad) * 2)));
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 22px; /* dicht bij elkaar */
}

.hero-card{
  position: relative;
  z-index: 1;
  width: min(720px, 52vw); /* responsive */
  /*border-radius: 22px;*/
  padding: 40px 40px 30px;
  color: #fff;
  background: rgba(2, 44, 36, 0.86);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
 /*backdrop-filter: blur(8px);*/
}

.hero-card--left{ flex: 0 0 auto; }

/* Artwork slider (rechts) */
.artwork-slider{
  position: relative;
  z-index: 2;
  width: min(460px, 38vw);
  /*border-radius: 22px;*/
  background: #ffffff;
  padding: 25px; /* witte rand */
  border: 1px solid #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.20);
  overflow: hidden;
}

.artwork-slider__empty{
  padding: 22px;
  font-size: 14px;
}

/* === Patch: slider markup (.artwork-stage/.artwork-figure) === */
.artwork-stage{ height: 520px; }
.artwork-figure{ height: 520px; margin: 0; display: flex; flex-direction: column; }
.artwork-media{ flex: 1; position: relative; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#fff; }
.artwork-img{ max-width:100%; max-height:100%; object-fit:contain; }
.artwork-img.is-landscape{ width:100%; height:auto; }
.artwork-img.is-portrait{ height:100%; width:auto; }
.artwork-caption{ margin-top:auto; padding: 12px 4px 2px; text-align:center; }


.artwork-slider__viewport{
  position: relative;
  height: 520px;
}

.artwork-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 3s ease-in-out; /* vloeien */
  display: flex;
  flex-direction: column;
  background: #ffffff; /* volledig dekkend */
}

.artwork-slide.is-active{ opacity: 1; }

.artwork-media{
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Twee lagen voor trage crossfade */
.artwork-img{
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.artwork-img.is-active{ opacity: 1; }

/* Volledig tonen zonder crop */
.artwork-img.is-landscape{ width: 100%; height: auto; }
.artwork-img.is-portrait{ height: 82%; width: auto; }

.artwork-caption{
  padding: 12px 4px 2px;
  text-align: center;
  margin-top: auto;
  opacity: 1;
  transition: opacity .45s ease;
}

/* Toon caption pas wanneer de foto geladen is */
.artwork-stage:not(.caption-ready) .artwork-caption{
  opacity: 0;
}

.artwork-title{
  font-weight: 300;
  font-size: 14px;
  line-height: 1.2;
}

.artwork-artist{
  margin-top: 4px;
  font-size: 14px;
  opacity: .95;
}

.hero-kicker{
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 14px;
}

.hero-title{
  margin: 0;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 60px);
  padding-bottom:20px;
  padding-top:20px;
  line-height:1.2;
}

.hero-info{
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-chip{
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 260px;
  /*border-radius: 16px;*/
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-chip-label{
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 8px;
}

.hero-chip-main{
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}

.hero-chip-sub{
  font-size: 14px;
  opacity: .92;
}

.hero-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom:20px;
  padding-top:20px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.1;
  font-weight: 400;
  border: 1px solid transparent;
}

.btn-primary{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.btn-primary:hover{
  background: rgba(255,255,255,0.18);
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.26);
  color: #fff;
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.10);
}

/* === Hero buttons: keep all three identical (Route used .btn-ghost) === */
.hero-actions .btn-ghost{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.hero-actions .btn-ghost:hover{
  background: rgba(255,255,255,0.18);
}

/* === Hero buttons: ensure <button> renders exactly like <a> (mobile + desktop) === */
.hero-actions button.btn{
  -webkit-appearance: none;
  appearance: none;
  font: inherit;            /* includes font-family + size */
  letter-spacing: inherit;
  text-transform: inherit;
}
.hero-actions button.btn::-moz-focus-inner{
  border: 0;
  padding: 0;
}

.hero-address{
  margin-top: 16px;
  font-size: 14px;
  opacity: .92;
}
.hero-address a{ color: #fff; text-decoration: underline; }
.hero-address .sep{ margin: 0 8px; opacity: .75; }

/* Green invitation frame (real HTML, not image) */
.invite-frame{
  border: 6px solid var(--green);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}
.invite-frame-inner{
  border: 1px solid #ffffff;
  border-radius: 12px;
  padding: 18px;
  background: rgba(255,255,255,0.75);
}
.invite-eyebrow{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 6px;
}
.invite-dates{ margin-top: 14px; font-weight: 600; opacity: .9; }

.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.artist-list{ display:grid; gap: 12px; }
.artist-card{ padding: 10px 0; border-top: 1px solid rgba(0,0,0,0.08); }
.artist-card:first-child{ border-top: 0; }
.artist-name{ font-weight: 500; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }

/* Artists page */
.artists-grid{ margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.artist-top{ display:grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; }
.selfie{
  width: 300px;
  height: 300px;
  object-fit: cover;
  /*border-radius: 14px;*/
  border: 1px solid #ffffff;
  background: rgba(255,255,255,0.55);
}
.artist-h{ margin: 0 0 8px 0; }

details.bio{ margin-top: 10px; }
details.bio summary{ cursor: pointer; font-weight: 500; }

details.bio[open] summary{ margin-bottom: 8px; }

.rich p{ margin: 0 0 10px 0; }
.rich p:last-child{ margin-bottom: 0; }

.table-hours{ width: 100%; border-collapse: collapse; }
.table-hours td{ padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.table-hours tr:last-child td{ border-bottom: 0; }

@media (max-width: 980px){
  .header-inner{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .header-right{
    align-items: center;
  }
  .contact-top{
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    text-align: center;
  }
  .menu{
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .grid-2{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .hero-duo{ flex-direction: column; gap: 16px; }
  .hero-card{ width: 100%; }
  .artwork-slider{ width: 100%; }
  .artwork-slider__viewport{ height: 420px; }
}
@media (max-width: 560px){
  .artist-top{ grid-template-columns: 1fr; }
  .selfie{ width: 100%; height: 220px; }
}

.hours-table{ width:100%; border-collapse: collapse; margin-top: 10px; }
.hours-table th, .hours-table td{ text-align:left; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.bio summary{ cursor:pointer; font-weight:700; margin-top: 12px; }
.bio{ margin-top: 12px; }


/* Lightbox modal */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5000;
}
.modal.is-open{ display: block; }
.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}
.modal-dialog{
  position: relative;
  max-width: 980px;
  margin: 6vh auto;
  padding: 0 var(--pad);

  z-index: 5001;
}
.modal-body{
  position: relative;
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  border: 1px solid #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
  padding: 18px;
}
.modal-title{
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}
.modal-close{
  position: absolute;
  right: 24px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.modal-close:hover{ opacity: 1; }
.map-wrap{
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid #ffffff;
}
.map-wrap iframe{
  width: 100%;
  height: 60vh;
  border: 0;
}
.modal-actions{
  margin-top: 14px;
}


/* === Override: ensure full-fit rules win === */
.artwork-img.is-landscape{ width:100%; height:auto; }
.artwork-img.is-portrait{ height:100%; width:auto; }



/* --- Header rebuild (2 rows) --- */
.site-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    /* Witte film boven de achtergrondfoto */
    background: rgba(255, 255, 255, 0.95);

    /* subtiele glass blur */
    /*backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);*/
}

.header-wrap{ 
	max-width: 1200px; 
	margin: 0 auto; 
}

.topbar{ background: transparent; }
.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 8px 16px 2px 16px;
  font-size: 13px;
}

.topbar-left{ display:flex; gap:10px; align-items:center; }
.icon-link{ display:inline-flex; align-items:center; justify-content:center; color:#111; text-decoration:none; }
.owp-icon{ width: 16px; height: 16px; fill: currentColor; }

.topbar-right{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:flex-end;
  text-align:right;
}
.top-item{ color:#111; text-decoration:none; white-space:nowrap; }
.top-item i{ margin-right:6px; opacity:.8; }

.mainbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px 14px 16px;
}
.brand img{ height: 88px; width:auto; display:block; }

.menu{
  display:flex;
  gap: 22px;
  align-items:center;
  justify-content:flex-end;
  font-size: 14px;
  text-transform:none;
}
.menu a{
  color:#111;
  text-decoration:none;
  position:relative;
  padding: 6px 2px;
}
.menu a:hover::before,
.menu a:hover::after{
  opacity:1;
}
.menu a::before,
.menu a::after{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity:0;
  transition: opacity .15s ease;
  color:#111;
}
.menu a::before{ content:"["; left:-10px; }
.menu a::after{ content:"]"; right:-10px; }

/* --- Footer fixed bottom, shown at bottom scroll --- */
.footer-spacer{ height: 220px; } /* space to allow scroll-to-bottom reveal */

.site-footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200; /* ensure above everything */
  background: #1d1f21;
  color: #fff;
  transform: translateY(100%);
  transition: transform .25s ease;
}
.site-footer.is-visible{ transform: translateY(0); }

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 16px 26px 16px;
  display:flex;
  gap: 80px;
}
.footer-left{ font-size:14px; line-height:1.6; }
.footer-contact a{ color:#fff; text-decoration:none; }
.footer-contact a:hover{ text-decoration:underline; }

.footer-bottom{
  text-align:center;
  font-size:12px;
  opacity:.9;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Keep hero blocks side-by-side on tablets */
@media (max-width: 760px){
  .topbar-right{ flex-wrap:wrap; gap:10px; }
  .menu{ gap: 14px; flex-wrap:wrap; }
  .mainbar-inner{ align-items:center; }
}

.artwork-title{font-weight:400 !important;}


/* Header film colors */
.site-header .icon-link,
.site-header .top-item,
.site-header .menu a{
  color: #111;
}



.mosaic-item{
  text-decoration:none;
  color: inherit;
}

.mosaic-img{
  background:#fff;
  /*border-radius: 14px;*/
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);

}



.mosaic-placeholder{
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.85);
}

.mosaic-name{
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mosaic-item:hover .mosaic-name{
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}



.mosaic-item{
  display: inline-block;
  width: 100%;
  margin: 0 0 14px 0;
  text-decoration: none;
  color: inherit;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.mosaic-img{
  background: #fff;
  /*border-radius: 12px;*/
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.mosaic-img img{
  width: 100%;
  height: auto;
  display: block;
}

.mosaic-name{
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mosaic-item:hover .mosaic-name{
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Responsive fallbacks */
@media (max-width: 1100px){
  .artist-mosaic{ column-count: 2; }
}
@media (max-width: 700px){
  .artist-mosaic{ column-count: 1; }
}


/* ===== Artist mosaic (overzicht) - Grid like reference ===== */
.artist-mosaic{
  max-width: 1200px;
  margin: 28px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 46px; /* row / col spacing */
}

.mosaic-item{
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Square tile, like your reference: image is contained (not cropped) */
.mosaic-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mosaic-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-name{
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Clickability: name underline on hover, but keep minimalist */
.mosaic-item:hover .mosaic-name{
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Limit each column to ~400px by limiting container width (1200px) and 3 columns */
@media (max-width: 1100px){
  .artist-mosaic{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}
@media (max-width: 700px){
  .artist-mosaic{ grid-template-columns: 1fr; gap: 26px; }
}



/* zorg dat content boven de film staat */


/* Lightbox: slightly smaller image on narrow screens to leave room for multi-line caption */
@media (max-width: 600px){
  .lightbox-img{ max-height: calc(100vh - 260px); }
  .lightbox-dialog{ padding: 22px; }
}

/* =========================================
   Blur fallback – professioneel & veilig
   ========================================= */

.page-softener{
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;

  /* Fallback voor browsers zonder backdrop-filter */
  background: rgba(255,255,255,0.85);
}

/* Alleen echte blur toepassen als browser het ondersteunt */
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .page-softener{
    background: rgba(255,255,255,0.85);
    /*backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);*/
  }
}


/* ===== Alfabet filter bar ===== */
.alpha-bar{
  width: 100%;
  max-width: 1200px;
  margin: 22px auto 0 auto;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.alpha-btn{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 4px;
  color: #111;
}

.alpha-btn.is-active{
  text-decoration: underline;
}

.alpha-btn:hover{
  opacity: .65;
}

.section{ position: relative; z-index: 20; }


/* Ensure header above softener */
.site-header{
  z-index: 1000;
}


/* Page title as plain text */
.page-title{
  margin: 0;

}


/* === Artist detail layout: selfie right + wrapped text === */
.artist-detail{ position: relative; }
.artist-selfie-float{
  float: right;
  width: 300px;
  height: 300px;
  object-fit: cover;
  /*border-radius: 14px;*/
  border: 1px solid #ffffff;
  background: rgba(255,255,255,0.55);
  margin: 0 0 14px 18px; /* space between image and text */
}

/* Clear floats after artist intro */
.artist-clear{ clear: both; }

/* === Artist works grid (max 4 per row) === */
.artist-works-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.artist-works-grid a{
  display:block;
  text-decoration:none;
  color: inherit;
}
.artist-works-grid img{
  width: 100%;
  height: auto;
  display:block;
  /*border-radius: 12px;*/
  /*box-shadow: 0 10px 24px rgba(0,0,0,0.08);*/
}

/* Responsive */
@media (max-width: 1100px){
  .artist-works-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px){
  .artist-selfie-float{ float: none; width: 100%; height: 240px; margin: 0 0 14px 0; }
  .artist-works-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .artist-works-grid{ grid-template-columns: 1fr; }
}


/* === Lightbox (fullscreen but never larger than viewport) === */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 3000;
}

.lightbox.is-open{
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.75);
}

.lightbox-dialog{
  position: relative;
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 40px;
}

.lightbox-body{
  position: relative;
  max-width: 100%;
  max-height: 100%;
  text-align:center;
}

.lightbox-img{
  max-width: 100%;
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  object-fit: contain;
  display:block;
  margin: 0 auto;
}

.lightbox-caption{
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  white-space: pre-line;
}

.lightbox-counter{
  margin-top: 8px;
  font-size: 12px;
  opacity: .7;
  color: #fff;
}

/* =========================================
   Lightbox controls buiten de witte box
   ========================================= */

/* Overlay transparantie behouden */
.lightbox-backdrop{
  background: rgba(0,0,0,0.75);
}

/* Zorg dat controls los staan van .lightbox-body */
.lightbox .lightbox-close,
.lightbox .lightbox-prev,
.lightbox .lightbox-next{
  position: fixed;
  z-index: 5000;
}

/* Close rechtsboven in zwarte achtergrond */
.lightbox .lightbox-close{
  top: 22px;
  right: 26px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  opacity: .85;
}
.lightbox .lightbox-close:hover{
  opacity: 1;
}

/* Navigatie links en rechts */
.lightbox .lightbox-prev,
.lightbox .lightbox-next{
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox .lightbox-prev{ left: 22px; }
.lightbox .lightbox-next{ right: 22px; }

/* Belangrijk: body mag niet full width zijn */
.lightbox .lightbox-body{
  display: inline-block;
  max-width: 100%;
}

/* ===== Ligging layout ===== */
.ligging-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

/* Prevent embedded content from forcing horizontal overflow in CSS Grid */
.ligging-grid > *{ min-width: 0; }

.ligging-map-frame{
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.6);
}

/* Make embedded Google Maps iframes fully responsive inside the frame */
.ligging-map-frame iframe{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block;
  border: 0;
}

.ligging-hint{
  margin: 10px 0 0 0;
  font-size: 13px;
  opacity: .75;
}

.ligging-card{
  background: rgba(255,255,255,0.65);
  border-radius: 14px;
  padding: 16px;
}

.ligging-card h2{
  margin: 0 0 10px 0;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ligging-address{
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.ligging-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ligging-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.45);
}

.ligging-link:hover{
  background: rgba(255,255,255,0.65);
}

.ligging-ico{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ligging-list{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

@media (max-width: 900px){
  .ligging-grid{
    grid-template-columns: 1fr;
  }
  .ligging-map-frame{
    aspect-ratio: 16 / 11;
  }
  /* Route map (dirflg) uses a fixed height in markup; override on mobile so it can't force a minimum width */
  .ligging-map-frame--route{
    aspect-ratio: auto !important;
    height: min(60vh, 360px) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

}



.invitation-scroll-spacer{
  height:100vh;
  width:100%;
  pointer-events:none;
}

.bg-fixed{
  --veil:0.35;
}

.bg-fixed::after{
  background:rgba(255,255,255,var(--veil));
  transition:background 120ms linear;
}

/* Layers exist always, but transitions ONLY after .bg-slides-ready is set */
.bg-fixed .bg-slide-layer{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  opacity:0;
  transform:scale(1.03);
  filter:blur(2px);
  z-index:-1;
  pointer-events:none;
}

.bg-fixed.bg-slides-ready .bg-slide-layer{
  transition:
    opacity 5000ms ease,
    transform 5500ms ease,
    filter 5500ms ease;
}

.bg-fixed .bg-slide-layer.is-active{
  opacity:1;
  transform:scale(1.00);
  filter:blur(0px);
}

/* ===============================
   SUBTLE PROGRESS BAR (only visible while slider runs)
=============================== */
.bg-progress{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  width:min(520px, 70vw);
  height:3px;
  border-radius:999px;
  background: rgba(255,255,255,0.25);
  overflow:hidden;
  opacity:0;
  transition: opacity 300ms ease;
  pointer-events:none;
  z-index: 3;
}

.bg-progress.is-visible{ opacity: 1; }

.bg-progress__fill{
  height:100%;
  width:100%;
  transform-origin:left center;
  transform: scaleX(0);
  background: rgba(255,255,255,0.85);
}

@keyframes bgProgress{
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}


/* ===============================
   MOBILE HAMBURGER MENU (ADDED)
   - Shows burger under 992px
   - Off-canvas menu panel with visible links
================================ */

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.18);
  border-radius:12px;
  cursor:pointer;
  padding:0;
  position:relative;
  z-index:1102;
}

.nav-toggle span{
  position:absolute;
  left:12px;
  right:12px;
  height:2px;
  background:#fff;
  border-radius:999px;
  transition: transform 250ms ease, opacity 200ms ease, top 250ms ease;
}

/* Evenly spaced bars */
.nav-toggle span:nth-child(1){ top:14px; }
.nav-toggle span:nth-child(2){ top:21px; }
.nav-toggle span:nth-child(3){ top:28px; }

/* X state */
.nav-toggle.is-active span:nth-child(1){ top:21px; transform:rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity:0; }
.nav-toggle.is-active span:nth-child(3){ top:21px; transform:rotate(-45deg); }

@media (max-width: 992px){
  .nav-toggle{ display:inline-block; }

  #main-menu.menu{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width:min(320px, 86vw);
    padding:88px 22px 22px;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    z-index:1101;
    transition:right 300ms ease;
  }

  #main-menu.menu.is-open{ right:0; }

  #main-menu.menu a{
    color:#fff;
    text-decoration:none;
    display:block;
    width:100%;
    padding:12px 10px;
    border-radius:10px;
  }

  #main-menu.menu a:hover{
    background: rgba(255,255,255,0.08);
  }

  html.nav-open, html.nav-open body{ overflow:hidden; }
}


/* ======================================
   MOBILE MENU – WHITE VERSION (OVERRIDE)
   - White panel
   - Black text
   - Menu items aligned to top
====================================== */

@media (max-width: 992px){

  #main-menu.menu{
    background: #ffffff;
    color: #000;
    padding: 40px 24px 24px; /* less top padding so items sit higher */
    justify-content: flex-start; /* force content to top */
    align-items: flex-start;
  }

  #main-menu.menu a{
    color: #000;
    font-weight: 500;
  }

  #main-menu.menu a:hover{
    background: rgba(0,0,0,0.05);
  }

  /* hamburger icon turns black on white */
  .nav-toggle{
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.9);
  }

  .nav-toggle span{
    background: #000;
  }
}


/* ======================================
   ARTIST DETAIL – MOBILE SELFIE FIX (OVERRIDE)
   Target: .artist-selfie-float (artist detail page)
   Goal: prevent cropping on mobile; show full image
====================================== */
@media (max-width: 760px){
  img.artist-selfie-float{
    float: none !important;
    width: 100% !important;
    height: auto !important;      /* remove fixed height */
    max-height: 70vh !important;  /* keep it within screen */
    object-fit: contain !important;
    background: transparent !important;
    margin: 0 0 14px 0 !important;
  }
}



/* ======================================
   ARTIST PAGE – THUMBNAILS (SAFE OVERRIDES)
   Fixes: no white "canvas" behind contain images
          keeps metadata styling intact
====================================== */
.artist-works-grid .artist-work img{
  background: transparent !important;
  background-color: transparent !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Ensure the meta block under each thumb keeps spacing and is centered */
.artist-works-grid .artist-work-meta{
  padding: 10px 2px 2px;
  text-align: center;
}

/* Title + lines (centered) */
.artist-works-grid .artist-work-title{
  font-family: var(--font-display, inherit);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.artist-works-grid .artist-work-lines{
  margin-top: 6px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.35;
  opacity: .9;
  justify-items: center;
}

.artist-works-grid .artist-work-line{
  display: block;
}

/* Equal-height boxes without cropping */
.artist-works-grid .artist-work img{
  height: 320px; /* desktop */
  width: 100%;
  display: block;
}

@media (max-width: 760px){
  .artist-works-grid .artist-work img{ height: 240px; }
}


/* ======================================
   FOOTER NEWSLETTER – styling restore
   (isolated fix, does not touch lightbox)
====================================== */

.site-footer .footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:40px;
  flex-wrap:wrap;
}

.footer-newsletter{
  margin-left:auto;
  max-width:460px;
  text-align:right;
}

.footer-newsletter__kicker{
  letter-spacing:.2em;
  text-transform:uppercase;
  font-size:13px;
  font-weight:600;
  margin-bottom:10px;
  opacity:.9;
}

.footer-newsletter__title{
  font-size:18px;
  font-weight:600;
  margin-bottom:8px;
}

.footer-newsletter__sub{
  font-size:13px;
  line-height:1.5;
  opacity:.85;
  margin-bottom:16px;
}

.footer-newsletter__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.45);
  background:rgba(255,255,255,0.12);
  color:#fff !important;
  text-decoration:none !important;
  font-size:13px;
}

.footer-newsletter__btn:hover{
  background:rgba(255,255,255,0.2);
  border-color:rgba(255,255,255,0.65);
}

@media (max-width:800px){
  .footer-newsletter{
    margin-left:0;
    text-align:left;
    max-width:none;
  }
}

/* ======================================
   Artist detail – back link right aligned
====================================== */
.artist-back-bottom{
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.artist-back-link{
  text-decoration: none;
}