@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&family=Inter:wght@300;400;500&display=swap");
/* no rounded corners reset */
*{border-radius:8px;}

/* ---------- Vars & base ---------- */
:root{
  --max-width:1100px;
  --gutter:24px;
  /* Slightly darker for WCAG contrast on white backgrounds */
  --muted:#666;
  --line:#e8e8e8;
  --radius:0;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  font-family: var(--font-sans);
}
*{box-sizing:border-box}
html,
html{ overflow-y: scroll; }

body{
  background-repeat:repeat;
  background-color:#d8d8dc;
  margin:0;
  color:#000;
}
a{color:#333;text-decoration:none}

/* Kaarten, formulieren, witte vlakken */
.card,
.studio-intro .cta,
.lang-card,
.nav-more__menu,
.newsletter-section,
.contact-section,
input[type="text"],
input[type="email"],
textarea,
select,
.mosaic-item,
.grid-3 figure,
article.post-card {
  background-repeat: repeat !important;
  background-size: 256px 256px !important;
  background-color: initial;
}

/* Dropdown nav menu */
.nav-more__menu {
  background-size: 256px 256px !important;
  background-color: rgba(229,229,232,0.97) !important;
  color: rgba(0,0,0,0.80) !important;
}

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

/* ---------- Header ---------- */
header{ padding:10px 0; }

/* Keep main menu visible (sticky header) */
body:not(.is-entrance) header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: #d8d8dc;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
body:not(.is-entrance){
  padding-top: 84px; /* adjust if header height changes */
}

.header-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 var(--gutter);
  display:flex;
  align-items:center;
  gap:20px;
  position: relative;
}
.brand{ display:flex; align-items:center; gap:8px; }
.site-logo{ height:48px; width:auto; }
.brand .title{ font-weight:600; letter-spacing:.02em; }

/* Main nav */
nav[aria-label="Primary"]{ margin-left:auto; }
nav[aria-label="Primary"] ul{
  list-style:none; margin:0; padding:0;
  display:flex; gap:18px; align-items:center;
  flex-wrap:nowrap; white-space:nowrap;
}
nav[aria-label="Primary"] li{ position:relative; }

nav[aria-label="Primary"] a{color:#555;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
nav[aria-label="Primary"] a.active,
nav[aria-label="Primary"] a:hover{color:#555555}
/* Diensten dropdown summary — zelfde look als nav-links */
nav[aria-label="Primary"] .nav-more > summary{
  color:rgba(0,0,0,0.78);
  text-decoration:none;
  font-size:inherit;
  font-family:inherit;
  font-weight:inherit;
  opacity:0.72;
}
nav[aria-label="Primary"] .nav-more[open] > summary,
nav[aria-label="Primary"] .nav-more > summary:hover{ opacity:1; color:rgba(0,0,0,0.90); }

.lang-switch{ margin-left:16px;display:flex;align-items:center;gap:4px;font-size:13px;color:#fff; }
.lang-switch .lang-icon{
  font-size:14px;
  opacity:0.9;
}
.lang-switch .lang-btn{
  background:none;
  border:none;
  padding:0 2px;
  cursor:pointer;
  font:inherit;
  color:inherit;
}
.lang-switch .sep{
  opacity:0.7;
}

/* --- Header dropdown (“More/Meer”) --- */
.nav-more{ position:relative; }
.nav-more > summary{
  list-style:none;
  cursor:pointer;
  color:#555;
  user-select:none;
}
.nav-more > summary::-webkit-details-marker{ display:none; }
.nav-more[open] > summary{ color:#555555; }

.nav-more__menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:220px;
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,0.97);
  box-shadow:0 10px 30px rgba(0,0,0,0.12);
  display:grid;
  gap:8px;
  z-index:50;
}
.nav-more__menu a{
  color:#333;
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
  white-space:nowrap;
}
.nav-more__menu a:hover{
  background:rgba(0,0,0,0.06);
}

/* ---------- Main “white card” ---------- */
main{
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 0 40px rgba(0,0,0,0.55);
  max-width:var(--max-width);
  margin:40px auto;
  background:#fff;

  /* hier krijgen we de ronde hoeken terug */
  border-radius:14px;

  overflow:hidden;
  
  padding: 32px var(--gutter) 28px var(--gutter);
  display:grid;
  grid-template-columns: 1fr 260px;
  gap:32px;
  align-items:start;
}

/* ---------- Link visibility / accessibility ----------
   Keep global links clean, but make in-content links clearly distinguishable
   (not only by color) to satisfy Lighthouse/WCAG guidance. */
main a{
  color:#222;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
main a:hover{ opacity:0.9; }
main a:focus-visible{
  outline:2px solid rgba(0,0,0,0.35);
  outline-offset:3px;
}
/* Don't underline elements that are styled as buttons/navigation pills */
main a.btn-cta,
main a.btn-footer,
main .subnav a,
main .nav-more__menu a{
  text-decoration:none;
}

/* ---------- tekstblokken ---------- */

.home-intro h1 {
  margin-bottom: 1.2rem;
}

.home-intro p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.home-intro p:last-child {
  margin-bottom: 0;
}

/* Normalize spacing after H2 in intro blocks */
.home-intro h2 + p,
.portrait-intro h2 + p{
  margin-top: 0;
}
/* Portrait intro: consistent spacing */
.portrait-intro{
  grid-column: 1 / 2;  /* blijft links in de grid */
  margin: 0;
}

.portrait-intro + .portrait-intro{
  margin-top: 2.2rem; /* ruimte tussen intro 1 en intro 2 */
}

.portrait-intro h2{
  margin-top: 0;
  margin-bottom: 1.8rem; /* meer ruimte onder H2 */
}
.portfolio-intro{
  grid-column: 1 / 2;
  margin: 0;
}
.portfolio-intro h2{
  margin-top: 0;
  margin-bottom: 1.8rem;
}
.portfolio-intro h2 + p{
  margin-top: 0;
}
.portfolio-intro p{
  margin-top: 0;
  margin-bottom: 1rem;
}
.portfolio-intro p:last-child{
  margin-bottom: 0;
}

.masthead{ grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.masthead h1{ margin:0; font-size:28px; letter-spacing:-.01em; }
.hero{ grid-column:1 / -1; }
.hero-image{ position:relative; width:100%; aspect-ratio: 2/1; overflow:hidden; border-radius:8px; }
.hero-image img{ width:100%; height:100%; object-fit:cover;   transition:opacity .8s ease-in-out;
}

/* Hero mosaic (Variant B: a bit more alive) */
.hero-mosaic{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns: repeat(var(--cols, 10), minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows, 3), minmax(0, 1fr));
  gap: var(--gap, 9px);
  padding: var(--pad, 10px);
  background:#000;
}
.mosaic-tile{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  transform: translateZ(0);
  transition: transform .25s ease;
}
.mosaic-tile.tile--lg{
  grid-column: span 2;
  grid-row: span 1;
}
.mosaic-tile img{
  position:absolute;
  left:-6%;
  top:-6%;
  width:112%;
  height:112%;
  object-fit:cover;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(1.03);
  animation: mosaicDrift var(--dur, 20s) ease-in-out infinite alternate;
  filter: saturate(.95) contrast(1.1);
  display:block;
}
/* Curtain (brief black frame between swaps) */
.mosaic-tile::after{
  content:"";
  position:absolute;
  inset:0;
  background:#000;
  opacity:0;
  transition: opacity 260ms ease;
  pointer-events:none;
}
.mosaic-tile.is-curtain::after{ opacity:1; }
@keyframes mosaicDrift{
  from{ transform: translate(calc(var(--dx, 0px) * -1), calc(var(--dy, 0px) * -1)) scale(1.02); }
  to  { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(1.06); }
}
.hero-mosaic[data-mosaic-variant="B"] .mosaic-tile:hover{ transform: scale(1.01); }
.hero-mosaic[data-mosaic-variant="B"] .mosaic-tile:hover img{ filter: brightness(1.03) contrast(1.12); }
.hero-link{ position:absolute; inset:0; z-index:2; }
.hero-overlay{ z-index:3; }

@media (prefers-reduced-motion: reduce){
  .mosaic-tile img{ animation:none; transform:none; }
}

.hero-overlay{ position:absolute; bottom:16px; left:16px; right:16px; background:transparent; color:#fff; mix-blend-mode:difference; }

/* Content */
.articles{ grid-column:1 / 2; }
.post{ padding:16px 0; border-bottom:1px solid var(--line); }
.post:last-child{ border-bottom:none; }
/* Keep content in left column (grid discipline) */
.home-intro,
.portrait-intro,
.post,
.section,
.prose{
  grid-column: 1 / 2;
}

.post h2{ margin:6px 0 8px; font-size:20px; }
.post p{ margin:0 0 12px; color:#333; }
.post .post-meta{ font-size:13px; color:var(--muted); }

/* Aside */
aside{ position:sticky; top:20px; }
.card{ padding:16px; border:1px solid #f2f2f2; border-radius:8px; }
.card + .card{ margin-top:16px; }

/* Breadcrumb (footer-top) */
.breadcrumb-wrap{
  max-width:var(--max-width);
  margin:20px auto -12px;
  padding:0 var(--gutter);
}
.breadcrumb{
  font-size:14px; color:#666;
  display:flex; flex-wrap:wrap; gap:8px; align-items:center;
}
.breadcrumb a{color:#333;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.breadcrumb .sep{ opacity:.4; }

/* Footer */
footer{
  max-width:var(--max-width);
  margin:32px auto 80px;
  padding:0 var(--gutter);
  color:#555;
  font-size:14px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

/* Portraits grid */
.grid-3{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.grid-3 figure{
  margin:0; border-radius:8px; overflow:hidden; background:#fafafa; border:1px solid #f0f0f0;
}
.grid-3 figcaption{ font-size:13px; color:#666; padding:8px 10px; }

/* Simple content pages */
.prose{ grid-column:1 / 2; }
.prose h2{ margin-top:0; }
.contact-list{ list-style:none; padding:0; margin:0; }
.contact-list li{ margin:8px 0; }

/* About subnav */
.subnav{
  grid-column:1 / -1;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:10px 0;
  margin-bottom:10px;
}
.subnav ul{ list-style:none; margin:0; padding:0; display:flex; gap:14px; }
.subnav a{color:#333;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.subnav a.active{ background:rgba(0,0,0,.06); }

/* Responsive */
@media (max-width: 900px){
  main{ grid-template-columns:1fr; }
  aside{ position:static; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .grid-3{ grid-template-columns: 1fr; }
}

/* Page-level logo inside white content area */
.page-logo{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-start;
  margin: 4px 0 24px 0;
}
.page-logo img{
  height:80px;
  width:auto;
}

/* Language chooser */
.lang-page body, .lang-page {
  background-attachment: fixed;
}
.lang-wrap{
  max-width:none;
  margin: 60px auto;
  padding: 0 var(--gutter);
}
.lang-logo{
  display:flex;
  justify-content:center;
  margin-bottom: 20px;
}
.lang-logo img{ height:60px; width:auto; }

.lang-card{background:#fff;width:378px;height:680px;width:10cm;height:18cm;margin:0 auto;border-radius:8px;border:1px solid #eee;padding:16px;display:flex;flex-direction:column;align-items:center;gap:12px;}
.lang-card .teaser{width:302px;height:302px;width:8cm;height:8cm;background:#efefef;border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;}
.lang-card .teaser img{
  width:100%; height:100%; object-fit:cover;
}
.lang-card .text{
  text-align:center;
  font-size: 14px;
  color:#333;
  padding: 0 6px;
}
.lang-card .choices{
  margin-top:auto;
  width:100%;
  display:flex;
  gap:10px;
  justify-content:center;
}
.lang-card .btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:8px;
  border:1px solid #ddd;
  text-decoration:none;
  background:#f8f8f8;
}
.lang-card .btn:hover{ background:#f2f2f2; }

/* Studio page */
.studio-intro{ grid-column:1 / -1; display:grid; gap:18px; grid-template-columns: 2fr 1fr; align-items:start; }
.studio-intro .prose{ grid-column:auto; }
.studio-intro .cta{ border:1px solid #eee; border-radius:8px; padding:14px; background:#fafafa; }
.studio-grid{ grid-column:1 / -1; display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.studio-grid img{ width:100%; height:100%; object-fit:cover; border-radius:8px; border:1px solid #eee; }

@media (max-width: 900px){
  .studio-intro{ grid-template-columns: 1fr; }
  .studio-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .studio-grid{ grid-template-columns: 1fr; }
}
/* About contact: keep it left column + narrow form */
#contact-form{
  grid-column: 1 / 2;
}

#contact-form .cta{
  max-width: 520px;     /* smalle versie */
  width: 100%;
  margin-top: 12px;
}

#contact-form .form-actions{
  justify-content: flex-start;
}

/* Simple form */
.form-stack{ display:grid; gap:10px; }
.form-row{ display:grid; gap:6px; }
.form-row label{ font-size:14px; color:#333; }
label.checkbox{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color:#333; }
label.checkbox input{ margin-top:3px; }
.form-section{ display:grid; gap:10px; }
.form-row input, .form-row textarea, .form-row select{
  border:1px solid #ddd; border-radius:8px; padding:10px 12px; font:inherit;
}
.form-actions{ display:flex; gap:10px; align-items:center; }
button.btn-primary{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(0,0,0,0.6); background:rgba(0,0,0,0.82); color:rgba(255,255,255,0.95);
  border-radius:999px; padding:0.7rem 1.4rem; cursor:pointer;
  font-size:0.9rem; letter-spacing:0.02em; font-family:inherit;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}
button.btn-primary:hover{ background:rgba(0,0,0,0.92); transform:translateY(-1px); }

.btn-secondary{
  border:1px solid #111;
  background:transparent;
  color:#111;
  border-radius:8px;
  padding:10px 14px;
  cursor:pointer;
  text-decoration:none;
}
.btn-secondary:hover{
  background:rgba(0,0,0,0.06);
}

.small{ font-size:12px; color:#666; }
.hp-field{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

.lang-card .logo{display:flex;align-items:center;justify-content:center;width:100%;margin:4px 0 6px 0;}
.lang-card .logo img{height:80px;width:auto;}

.lang-wrap{max-width:none;min-height:100vh;padding-top:33vh;padding-left:var(--gutter);padding-right:var(--gutter);}

.lang-page{position:relative;}
.lang-page:before{content:"";position:fixed;inset:0;background:rgba(255,255,255,0.35);pointer-events:none;}

/* Small square logo in header (always white) */
.site-logo-small{
  height:40px;
  width:auto;
  display:block;
   /* force white */
}
.header-inner .brand .title{ display:none; } /* hide text name next to logo */

.lang-card h1,.lang-card p,.lang-card a{color:inherit}

/* Ensure language page uses pure black text */
.lang-page, .lang-page body { color:#000 !important; }
.lang-card h1, .lang-card p, .lang-card a, .lang-card .text { color:#000 !important; }

/* Place the language switch fully to the right in the header */
.header-inner{ position:relative; }
.lang-switch{ margin-left:auto;display:flex;align-items:center;gap:4px;font-size:13px;color:#fff; }
.lang-switch .lang-icon{
  font-size:14px;
  opacity:0.9;
}
.lang-switch .lang-btn{
  background:none;
  border:none;
  padding:0 2px;
  cursor:pointer;
  font:inherit;
  color:inherit;
}
.lang-switch .sep{
  opacity:0.7;
}
.lang-switch a:hover{ color:#000; }

/* --- Header logo (global) --- */
.site-logo, .site-logo-small{
  width:auto;
  height:40px;
  /* no aspect-ratio — logo-harmjan-schuurman.png is a wide wordmark */
  border-radius:6px;
  background:transparent;
  border:none;
  padding:5px 10px;
  object-fit:contain;
  display:block;
}
@media (max-width:560px){
  .site-logo, .site-logo-small{ height:34px; padding:4px 8px; }
}

/* About page layout: text left, photo right, like portraits */

.about-layout{
  display:grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap:32px;
  align-items:flex-start;
}

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

/* responsive: stack on small screens */
@media (max-width: 700px){
  .about-layout{
    grid-template-columns:1fr;
  }
}

/* --- Cookie banner & modal (Harm Jan Schuurman luxe stijl) --- */

.cookie-banner{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  max-width:360px;
  background:#fff;
  border-radius:14px !important;
  
  border:1px solid rgba(0,0,0,0.06);
  padding:16px 18px;
  font-size:13px;
  line-height:1.5;
  display:none;
}
.cookie-banner.is-visible{
  display:block;
}
.cookie-banner h2{
  margin:0 0 6px;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.cookie-banner p{
  margin:0 0 10px;
  color:#444;
}
.cookie-banner a{
  color:#000;
  text-decoration:underline;
}
.cookie-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
  margin-top:6px;
}
.cookie-btn{
  border-radius:14px !important;
  border:1px solid #ddd;
  padding:6px 12px;
  font-size:12px;
  background:#f7f77;
  cursor:pointer;
}
.cookie-btn-primary{
  border-color:#000;
  background:#000;
  color:#fff;
}
.cookie-btn-ghost{
  background:transparent;
}
.cookie-btn:hover{
  opacity:.9;
}

/* Modal overlay for cookie settings */
.cookie-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.35);
  z-index:9998;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}
.cookie-modal-backdrop.is-visible{
  opacity:1;
  pointer-events:auto;
}
.cookie-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  pointer-events:none;
}
.cookie-modal-panel{
  width:100%;
  max-width:520px;
  background:#fff;
  border-radius:14px !important;
  
  border:1px solid rgba(0,0,0,0.06);
  padding:20px 22px 18px;
  transform:translateY(10px);
  opacity:0;
  transition:opacity .25s ease, transform .25s ease;
}
.cookie-modal.is-visible .cookie-modal-panel{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.cookie-modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.cookie-modal-header h2{
  margin:0;
  font-size:16px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.cookie-modal-body{
  font-size:13px;
  line-height:1.6;
  color:#444;
  margin-bottom:12px;
}
.cookie-toggle-list{
  list-style:none;
  padding:0;
  margin:0 0 8px;
}
.cookie-toggle-list li{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  padding:6px 0;
  border-top:1px solid #f0f0f0;
}
.cookie-toggle-list li:first-child{
  border-top:none;
}
.cookie-toggle-label{
  font-weight:600;
  font-size:13px;
}
.cookie-toggle-desc{
  font-size:12px;
  color:#666;
}
.cookie-toggle{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
}
.cookie-toggle input{
  accent-color:#000;
}
.cookie-modal-footer{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:6px;
}
.cookie-modal-close{
  border-radius:8px;
  border:1px solid #ddd;
  padding:4px 10px;
  font-size:12px;
  cursor:pointer;
  background:#f7f7f7;
}
.cookie-modal-save{
  border-radius:8px;
  border:1px solid #000;
  padding:6px 14px;
  font-size:12px;
  cursor:pointer;
  background:#000;
  color:#fff;
}

/* Smaller screens */
@media (max-width: 600px){
  .cookie-banner{
    left:16px;
    right:16px;
    bottom:16px;
    max-width:none;
  }
  .cookie-modal-panel{
    margin:0 12px;
  }
}

/* Hero rotation fade effect */
.hero-image img{
  transition:opacity .6s ease;
}
.hero-image img.is-fading{
  opacity:0;
}

/* Language popup */
.lang-popup{
  position:fixed;
  inset:auto 0 20px 0;
  display:none;
  justify-content:center;
  z-index:9999;
}
.lang-popup.is-visible{
  display:flex;
}
.lang-popup__inner{
  background:rgba(0,0,0,0.9);
  color:#f7f7f7;
  padding:10px 18px;
  border-radius:14px !important;
  overflow:hidden; /* zorgt dat de binnenkant ook mooi mee rondt */
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.85rem;
  
}
.lang-popup__buttons{
  display:flex;
  gap:8px;
}
.lang-popup__buttons button{
  border:none;
  border-radius:14px !important;
  padding:6px 14px;
  cursor:pointer;
  font-size:.8rem;
}
.lang-popup__buttons button[data-lang="nl"]{
  background:#e0e0e4;
  color:#111;
}
.lang-popup__buttons button[data-lang="en"]{
  background:#ffffff;
  color:#111;
}

.lang-switch a{color:#fff !important;}
.lang-switch .lang-icon{color:#fff !important;}

.lang-switch .current-lang{font-weight:600;}
.cookie-btn,
.cookie-btn-primary,
.cookie-btn-ghost,
.cookie-modal-close,
.cookie-modal-save,
.lang-popup__buttons button{
  border-radius:8px !important;
}

/* --- Mobile navigation --- */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  font-size:24px;
  cursor:pointer;
  color:#333;
  margin-left:auto;
}

@media (max-width: 768px){
  .header-inner{
    flex-wrap:wrap;
    align-items:flex-start;
  }

  .nav-toggle{
    display:block;
  }

  nav[aria-label="Primary"]{
    display:none;
    width:100%;
  }

  nav[aria-label="Primary"].is-open{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top:10px;
  }

  nav[aria-label="Primary"] ul{
    margin:0;
    padding:0;
    flex-direction:column;
    gap:6px;
  }

  nav[aria-label="Primary"] li{
    list-style:none;
  }

  nav[aria-label="Primary"] a{
    padding:6px 0;
  }

  .lang-switch{
    margin-left:0;
    margin-top:8px;
  }
}

.nav-toggle svg{ display:block; }

/* --- Mobile header & menu refinements --- */
@media (max-width: 768px){
  header{
    padding:12px 0 10px;
  }
  .header-inner{
    padding:0 var(--gutter);
    flex-wrap:wrap;
    align-items:flex-start;
    row-gap:8px;
  }
  .brand{
    flex:0 0 auto;
  }
  .nav-toggle{
    margin-left:auto;
  }
  .lang-switch{
    width:100%;
    justify-content:flex-end;
    margin-top:8px;
  }

  nav[aria-label="Primary"].is-open{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:12px 16px;
    margin-top:10px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 12px 30px rgba(0,0,0,0.18);
    border:1px solid rgba(0,0,0,0.06);
  }

  nav[aria-label="Primary"].is-open a{
    padding:4px 0;
  }

  /* Hamburger icon — light pages: dark bars, dark/hero pages: white bars */
  /* Default: dark bars (works on cream, white, light-grey headers) */
  .nav-toggle svg rect,
  button.nav-toggle svg rect {
    fill: #555 !important;
  }
  /* Entrance page (full-dark hero): white bars so they're visible */
  body.is-entrance .nav-toggle svg rect {
    fill: #fff !important;
  }

  /* ── Open nav panel: force dark text on white background ─────── */
  nav[aria-label="Primary"].is-open,
  nav[aria-label="Primary"].is-open ul {
    background: #fff;
  }
  nav[aria-label="Primary"].is-open a,
  nav[aria-label="Primary"].is-open a:link,
  nav[aria-label="Primary"].is-open a:visited,
  nav[aria-label="Primary"].is-open .nav-more > summary,
  nav[aria-label="Primary"].is-open .nav-more[open] > summary,
  nav[aria-label="Primary"].is-open .nav-more__menu a {
    color: #222 !important;
    background-image: none !important;
  }
  nav[aria-label="Primary"].is-open a:hover,
  nav[aria-label="Primary"].is-open a:active,
  nav[aria-label="Primary"].is-open .nav-more__menu a:hover {
    color: #000 !important;
  }
}

/* Form status messages */
.form-status{
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 12px 16px;
  margin-top: 8px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #8ac89f;
  background: #e6f6ea;
  color: #111;
}
.form-status--error{
  border-color: #d28a8a;
  background: #fde9e9;
}

/* Square crop for portrait grid */
section.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
section.grid-3 figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
section.grid-3 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.grid-3 figure.portrait-wide img {
  object-position: 50% 35%;
}

/* Adjust rightmost (hat) portrait to crop tighter to the head */
section.grid-3 figure.portrait-hat img {
  object-position: 50% 20%;
}

.card.newsletter-header{
  grid-column:1 / -1;
  margin-bottom:1.5rem;
}
.newsletter-header h1{
  margin-bottom:0.25rem;
}

.newsletter-intro{
  margin-bottom:24px;
}
.newsletter-intro h1{
  margin-top:0;
  margin-bottom:4px;
}
.newsletter-intro .lede{
  margin:0;
}

/* ── Newsletter popup — 2-step (ask → form) ──────────────── */
.newsletter-popup{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.46);
  z-index:9998;
}
.newsletter-popup.is-visible{
  display:flex;
}
.newsletter-popup__inner{
  position:relative;
  background:#ffffff;
  max-width:340px;
  width:90%;
  padding:28px 26px 22px;
  box-shadow:0 12px 40px rgba(0,0,0,0.28);
  border-radius:18px;
}
.newsletter-popup__inner h2{
  margin-top:0;
  margin-bottom:6px;
  font-size:1.25rem;
}
.newsletter-popup__inner p{
  margin:0 0 18px;
  color:#666;
  font-size:0.93rem;
}
.newsletter-popup__close{
  position:absolute;
  top:10px;
  right:14px;
  border:none;
  background:none;
  font-size:1.2rem;
  cursor:pointer;
  color:#aaa;
  line-height:1;
  padding:4px;
}
.newsletter-popup__close:hover{ color:#333; }

/* Step 1: ask */
.newsletter-popup__ask-btns{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.newsletter-popup__yes{
  width:100%;
  justify-content:center;
  text-align:center;
}
.newsletter-popup__skip{
  background:none;
  border:none;
  cursor:pointer;
  font-size:0.85rem;
  color:#999;
  padding:4px 0;
  text-align:center;
  font-family:inherit;
}
.newsletter-popup__skip:hover{ color:#333; }

/* Step 2: form (hidden by default, shown via JS) */
.newsletter-popup__form-wrap{
  display:none;
}
.newsletter-popup__form-wrap.is-visible{
  display:block;
  animation:np-fadein 0.2s ease;
}
@keyframes np-fadein{
  from{ opacity:0; transform:translateY(6px); }
  to{   opacity:1; transform:translateY(0); }
}
.newsletter-popup__form input[type="text"],
.newsletter-popup__form input[type="email"]{
  display:block;
  width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  margin-bottom:10px;
  border:1px solid rgba(0,0,0,0.18);
  border-radius:8px;
  font-size:0.93rem;
  font-family:inherit;
  background:#f9f9f9;
}
.newsletter-popup__form input:focus{
  outline:none;
  border-color:#555;
  background:#fff;
}
.newsletter-popup__actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:4px;
}
.newsletter-popup__submit{
  flex:1;
  text-align:center;
  justify-content:center;
}
.newsletter-popup__cancel{
  background:none;
  border:none;
  cursor:pointer;
  font-size:0.85rem;
  color:#999;
  padding:4px 0;
  font-family:inherit;
  white-space:nowrap;
}
.newsletter-popup__cancel:hover{ color:#333; }
.newsletter-popup__status{
  margin-top:10px;
  font-size:0.88rem;
  min-height:1.2em;
}
.newsletter-popup__status--success{ color:#2a7a2a; }
.newsletter-popup__status--error{   color:#c0392b; }

/* Contact page shortcut CTAs */
.contact-shortcuts{
  display:flex;
  gap:12px;
  margin:20px 0 28px;
  flex-wrap:wrap;
}
.contact-shortcut{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1 1 200px;
  padding:14px 18px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:12px;
  text-decoration:none;
  color:inherit;
  background:#fafafa;
  transition:background 0.15s, border-color 0.15s;
}
.contact-shortcut:hover{
  background:#f0f0f0;
  border-color:rgba(0,0,0,0.22);
}
.contact-shortcut svg{
  flex-shrink:0;
  fill:#555;
}
.contact-shortcut__text{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.contact-shortcut__text strong{
  font-size:0.95rem;
}
.contact-shortcut__text small{
  font-size:0.8rem;
  color:#777;
}

/* Foto-card en Stay-updated-card: exact dezelfde breedte in de aside */
.content.two-column > aside {
  padding-right: 24px;
  box-sizing: border-box;
}

.content.two-column > aside > .card,
.content.two-column > aside > 

/* Foto zelf vult de kaart volledig */
.content.two-column > aside > .card

/* Exhibitions */
.exhibition-entry{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.exhibition-entry img{
  width:260px;
  max-width:40%;
  height:auto;
  border-radius:14px;
  display:block;
}
.exhibition-dates{
  margin:6px 0 10px;
  opacity:0.85;
}
.exhibition-meta{
  margin:12px 0 0;
  padding-left:18px;
}
@media (max-width: 720px){
  .exhibition-entry{ flex-direction:column; }
  .exhibition-entry img{ width:100%; max-width:100%; }
}
.about-photo{
  margin-bottom: 16px;
}

.about-photo img{
  width: 100%;
  height: auto;
  display: block;
}
/* ============================= */
/* ABOUT PAGE – FINAL LAYOUT FIX */
/* ============================= */

/* ABOUT – force override */
main .about-layout{
  display:grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: 4rem;
  align-items:start;
}

main .about-layout > aside{
  justify-self:end;
}

main .about-layout .about-photo img{
  width:100%;
  max-width:520px;
  height:auto;
  display:block;
}

main .about-layout > aside .card{
  max-width:520px;
}

@media (max-width: 700px){
  main .about-layout{
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  main .about-layout > aside{
    justify-self:start;
  }
  main .about-layout .about-photo img,
  main .about-layout > aside .card{
    max-width:100%;
  }
}
main > .about-layout{
  grid-column: 1 / -1;
}
/* ABOUT – use full main width + better balance */
main > .about-layout{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: 4rem;
  align-items: start;
}

/* Right column aligned to the right edge */
main > .about-layout > aside{
  justify-self: end;
}

/* Photo + Press card share width (clean column) */
main > .about-layout .about-photo img{
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}
main > .about-layout > aside .card{
  max-width: 520px;
}

/* Mobile stack */
@media (max-width: 700px){
  main > .about-layout{
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  main > .about-layout > aside{
    justify-self: start;
  }
  main > .about-layout .about-photo img,
  main > .about-layout > aside .card{
    max-width: 100%;
  }
}
/* EXHIBITIONS – use full main width + calm layout */
main > .exhibitions-layout{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: 4rem;
  align-items: start;
}

/* Intro + list on left */
main > .exhibitions-layout .exhibitions-intro,
main > .exhibitions-layout .exhibitions-list{
  grid-column: 1 / 2;
}

/* Aside on right, aligned */
main > .exhibitions-layout > aside{
  grid-column: 2 / 3;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

/* Mobile stack */
@media (max-width: 900px){
  main > .exhibitions-layout{
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  main > .exhibitions-layout > aside{
    grid-column: auto;
    justify-self: start;
    max-width: 100%;
  }
}
.exhibition-entry--noimage img{ display:none; }
.exhibition-entry--noimage{ gap:0; }

/* Form feedback */
.form-feedback{margin:12px 0;padding:12px 14px;border-radius:10px;font-size:14px;border:1px solid transparent;}
.form-feedback.success{background:#edf7f0;color:#1f5f3b;border-color:#9fd3b3;}
.form-feedback.error{background:#fdecec;color:#7a1f1f;border-color:#f2a3a3;}

.lede-statement {
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* Fine-art footer (global) */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #666;
}

.site-footer a {
  color: inherit;
  opacity: 0.85;
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  text-align: right;
  white-space: nowrap;
}

.sep { margin: 0 0.4rem; }

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .footer-links { text-align: left; }
}

/* Mobile nav helper */
html.nav-open { overflow: hidden; }

/* Footer spacing fine-tune */
.site-footer {
  margin-top: 1.2rem; /* one-line distance from white block */
  padding-top: 1rem;
}

/* Footer visibility + baseline fix */
.site-footer {
  margin-top: 0.8rem;        /* closer to white block */
  padding-top: 0.6rem;
  color: rgba(180,180,180,0.95); /* clearer light grey */
}

.footer-inner {
  align-items: baseline; /* enforce same baseline */
}

/* Footer FINAL alignment & visibility */
.site-footer {
  margin-top: -0.2rem;     /* tuck footer directly under white card */
  padding-top: 0.4rem;
  color: rgba(195,195,195,0.98); /* readable but elegant */
}

.footer-inner {
  align-items: center;     /* true optical baseline */
  line-height: 1.2;
}

.footer-copy,
.footer-links {
  white-space: nowrap;
}

/* Footer color + alignment final */
.site-footer {
  color: #666; /* matched visible footer grey */
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  margin-left: auto;
  text-align: right;
}

.footer-copy {
  text-align: left;
}

/* Footer exact left/right specification */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  text-align: left;
}

.footer-links {
  text-align: right;
}

/* FORCE footer left/right layout (override any earlier mobile rules) */
.site-footer .footer-inner{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  width:100% !important;
}

.site-footer .footer-copy{
  flex: 0 0 auto !important;
  text-align:left !important;
}

.site-footer .footer-links{
  flex: 0 0 auto !important;
  margin-left:auto !important;
  text-align:right !important;
}

/* If an earlier rule stacked footer on mobile, override it */
@media (max-width: 768px){
  .site-footer .footer-inner{
    flex-direction:row !important;
    flex-wrap:wrap !important;
    gap: 0.5rem 1rem !important;
  }
  .site-footer .footer-links{
    margin-left:auto !important;
  }
}

/* Footer left/right: make the row span full available width */
.site-footer .footer-inner{
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.site-footer .footer-links{
  margin-left: auto !important; /* push to the right */
  text-align: right !important;
}

/* Subtle black CTA buttons (global) */
.btn-footer{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left: 0.8rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(0,0,0,0.78);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.55);
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}
.btn-footer:hover{
  background: rgba(0,0,0,0.9);
  opacity: 1;
  transform: translateY(-1px);
  text-decoration:none;
}

.btn-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.82);
  color: rgba(255,255,255,0.95);
  text-decoration:none;
  border: 1px solid rgba(0,0,0,0.6);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}
.btn-cta:hover{ background: rgba(0,0,0,0.92); transform: translateY(-1px); }
.btn-cta--ghost{
  background: transparent;
  color: rgba(0,0,0,0.78);
  border: 1px solid rgba(0,0,0,0.22);
}
.btn-cta--ghost:hover{
  background: rgba(0,0,0,0.04);
  transform: translateY(-1px);
}

.section-cta{
  margin-top: 2rem;
  margin-bottom: 1.6rem;
}
.section-cta .cta-inner{
  max-width: 920px;
  margin: 0 auto;
}
.section-cta h2{ margin-bottom: 0.35rem; }
.section-cta .small{ margin: 0; }

.cta-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
  justify-content: flex-start;
}

@media (max-width: 520px){
  .cta-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .btn-cta{
    width: 100%;
  }
}

/* Ensure button-styled links are not underlined */
a.btn, .btn, button, input[type=submit]{ text-decoration:none; }

/* ===== Header menu cleanup (v19) ===== */
header nav a,
header nav a:link,
header nav a:visited {
  color: rgba(235,235,235,0.9);
  text-decoration: none;
  border-bottom: none;
  
}

header nav a:hover,
header nav a:active {
  color: rgba(245,245,245,1);
  text-decoration: none;
  border-bottom: none;
  
}

/* ===== Header menu tweaks (v19.1) ===== */
/* Slightly darker (less bright) menu text */
header nav a,
header nav a:link,
header nav a:visited{
  color: rgba(220,220,220,0.92);
  text-decoration:none;
  border-bottom:none;
  background-image:none;
}
header nav a:hover,
header nav a:active{
  color: rgba(245,245,245,1);
  text-decoration:none;
  border-bottom:none;
  background-image:none;
}

/* “More/Meer” dropdown trigger (uses <summary>) */
.nav-more > summary{
  color: rgba(220,220,220,0.92);
  text-decoration:none;
}
.nav-more[open] > summary{
  color: rgba(245,245,245,1);
}

/* Dropdown menu — lichte, leesbare stijl */
body:not(.is-gallery) .nav-more__menu{
  background: rgba(255,255,255,0.96) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}
body:not(.is-gallery) .nav-more__menu a{
  color: rgba(0,0,0,0.80) !important;
}
body:not(.is-gallery) .nav-more__menu a:hover{
  background: rgba(0,0,0,0.06) !important;
}

/* BLOG IMAGES */
.blog-images{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;margin:16px 0 22px;}
.img-slot{grid-column:span 6;border:1px dashed var(--line);border-radius:12px;min-height:180px;display:flex;align-items:center;justify-content:center;padding:14px;color:var(--muted);background:rgba(255,255,255,.45);text-align:center;font-size:13px;}
.img-slot--wide{grid-column:span 12;min-height:220px;}
.img-slot--photo{border:none;padding:0;background:transparent;min-height:unset;display:block;}
.img-slot--photo img{width:100%;height:100%;display:block;border-radius:12px;object-fit:cover;}
.img-slot--photo figcaption{margin-top:6px;font-size:12px;color:var(--muted);line-height:1.3;}

@media (max-width:860px){.img-slot{grid-column:span 12;}}

/* BLOG BIO BLOCK */
.bio-block{padding:18px 18px;margin:18px 0 22px;}
.bio-block h2{margin-top:0;}
.bio-block p{margin:0 0 12px;}

/* === Mosaic: square corners + subtle motion (added) === */
.mosaic-tile{
  border-radius: 0 !important;
  overflow: hidden; /* crisp edges */
  transform: scale(1);
  opacity: 1;
  transition: transform 1200ms ease, opacity 1200ms ease, filter 1200ms ease;
  will-change: transform, opacity, filter;
}

.mosaic-tile.is-enter{
  opacity: 0;
  transform: scale(1.02);
  filter: blur(0.2px);
}

.mosaic-tile.is-pop{
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce){
  .mosaic-tile{ transition: none; }
  .mosaic-tile.is-enter{ opacity: 1; transform: none; filter: none; }
  .mosaic-tile.is-pop{ transform: none; }
}

/* --- Buy Me a Coffee (support block) --- */
#contact-panel .contact-support{
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: left;
}

#contact-panel .support-text{
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(0,0,0,.7);
  margin: 0 0 14px 0;
}

#contact-panel .bmc-button img{
  height: 44px;
  width: auto;
  transition: transform .15s ease, opacity .15s ease;
  display: inline-block;
}

#contact-panel .bmc-button img:hover{
  transform: translateY(-1px);
  opacity: .95;
}

/* ══════════════════════════════════════════════════
   Language Choice Modal - LOGO ABOVE BOX DESIGN
   Logo floats above white box for premium feel
   ══════════════════════════════════════════════════ */

.lang-choice-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lang-choice-modal.is-visible {
  display: flex;
}

.lang-choice-modal__container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 500px;
}

.lang-choice-modal__logo {
  width: 140px;
  height: 140px;
  margin-bottom: -70px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  z-index: 2;
  position: relative;
  background: #fff;
  border: 5px solid #fff;
}

.lang-choice-modal__inner {
  background: #fff;
  width: 100%;
  padding: 90px 40px 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  text-align: center;
  animation: langModalIn .45s cubic-bezier(.22,.68,0,1.1) both;
  position: relative;
  z-index: 1;
}

@keyframes langModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-choice-modal__title {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0 0 12px;
  font-weight: 400;
}

.lang-choice-modal__name {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: #111;
}

.lang-choice-modal__sub {
  font-size: 0.88rem;
  color: #777;
  margin: 0 0 40px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.lang-choice-modal__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.lang-choice-modal__buttons button {
  flex: 1;
  max-width: 190px;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid #111;
  border-radius: 10px;
  transition: all 0.22s ease;
  font-weight: 500;
}

.lang-choice-modal__buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.lang-choice-modal__buttons button:active {
  transform: translateY(-1px);
}

.lang-choice-modal__buttons button[data-lang="nl"] {
  background: #111;
  color: #fff;
}

.lang-choice-modal__buttons button[data-lang="nl"]:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.lang-choice-modal__buttons button[data-lang="en"] {
  background: #fff;
  color: #111;
}

.lang-choice-modal__buttons button[data-lang="en"]:hover {
  background: #f8f8f8;
}

.lang-choice-modal__flags {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 7px;
}

@media (max-width: 540px) {
  .lang-choice-modal__container {
    width: 92%;
  }
  .lang-choice-modal__logo {
    width: 120px;
    height: 120px;
    margin-bottom: -60px;
  }
  .lang-choice-modal__inner {
    padding: 80px 30px 38px;
    border-radius: 20px;
  }
  .lang-choice-modal__name {
    font-size: 1.4rem;
  }
  .lang-choice-modal__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .lang-choice-modal__buttons button {
    max-width: 100%;
  }
}

/* =========================================================
   Museum Calm Typography System (Warm Grey) — HJS
   Added as overrides to preserve existing layout rules.
   ========================================================= */

:root{
  --text-primary:#1A1A1A;
  --text-secondary:#6B6B6B;
  --rule:#EAEAEA;
  --bg-main:#FFFFFF;
  --bg-warm:#FAFAF8;
  --max-text:680px;
}

/* Base */
html, body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body{
  /* Museum calm typography, keep your textured background across all pages */
  background-image:url("../assets/textures/green_background_non_linen.webp");
  background-repeat:repeat;
  background-size:contain;
  background-attachment:fixed;
  margin:0;
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
}

/* Links */
a{
  color: var(--text-primary);
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Headings */
h1{
  font-size: 40px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0 0 18px 0;
}
h2{
  font-size: 26px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 18px 0;
}
h3{
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  margin: 0 0 12px 0;
}

/* Body copy */
p{
  opacity: 1; /* override old global opacity */
  color: var(--text-primary);
  max-width: var(--max-text);
  margin: 0 0 20px 0;
}

/* Secondary text helpers */
.small, .meta, .muted{
  color: var(--text-secondary) !important;
}

/* Captions (use this class in HTML where helpful) */
.caption{
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: var(--max-text);
}

/* Rules / dividers */
hr{
  border: none;
  border-top: 1px solid var(--rule);
  margin: 72px 0;
}

/* Buttons — keep calm */
button, .btn{
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.btn{
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--text-primary);
}

.btn:hover{
  border-color: #D6D6D6;
}

/* ---------------------------------------------------------
   Optional “paper veil” for readability on textured background
   How to enable:
   - Add class="paper-veil" to <body> (recommended)
   - Or add class="paper" to a wrapper element around text.
   --------------------------------------------------------- */

/* Toggle via body class */
body.paper-veil main,
body.paper-veil .container,
body.paper-veil .content,
body.paper-veil .page,
body.paper-veil .page-content,
body.paper-veil .section,
body.paper-veil article{
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--rule);
  border-radius: 12px;
}

/* Make sure the veil has breathing room */
body.paper-veil main,
body.paper-veil .container,
body.paper-veil .content,
body.paper-veil .page,
body.paper-veil .page-content,
body.paper-veil .section,
body.paper-veil article{
  padding: 24px;
}

/* If you already have padding on these elements, you can remove the lines above. */

/* Per-block utility (use on specific text sections) */
.paper{
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
}

/* =========================================================
   Language selector: Fullscreen Mosaic Background
   ========================================================= */
.lang-mosaic-bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Force the hero mosaic to fill the whole screen on the language page */
.lang-mosaic-bg .hero-mosaic{
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  --gap: 6px;
  --pad: 10px;
}

/* Make the mosaic behave like a background */
.lang-mosaic-bg .mosaic-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ensure modal is on top and readable */
.lang-choice-modal{
  position: relative;
  z-index: 2;
}

/* Subtle veil on texture + mosaic */
.lang-choice-modal__container{
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   FIX: Language popup should be a single clean white card
   (remove unintended grey top area / overlays)
   ========================================================= */
.lang-choice-modal__container{
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important; /* subtle museum edge */
  box-shadow: 0 18px 55px rgba(0,0,0,0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Remove any gradient/overlay layers that might create a grey top */
.lang-choice-modal__container::before,
.lang-choice-modal__container::after,
.lang-choice-modal::before,
.lang-choice-modal::after{
  content: none !important;
  display: none !important;
  background: none !important;
}

/* =========================================================
   Language popup — final: ONLY logo protrudes, no grey band
   ========================================================= */
.lang-choice-modal__container{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.lang-choice-modal__inner{
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 24px !important;
  box-shadow: 0 22px 60px rgba(0,0,0,0.22) !important;
  overflow: visible !important;
}

/* Remove any overlay layers that could tint the top area */
.lang-choice-modal__inner::before,
.lang-choice-modal__inner::after,
.lang-choice-modal__container::before,
.lang-choice-modal__container::after,
.lang-choice-modal::before,
.lang-choice-modal::after{
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Calmer logo shadow so it doesn't create a “band” on the card */
.lang-choice-modal__logo{
  box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;
}

/* ---------- Typography (fine-art calm) ---------- */
body{font-family:var(--font-sans);}
h1,h2,h3,.home-hero__title{font-family:var(--font-serif); font-weight:400; letter-spacing:0.2px;}

/* ---------- Entrance (Museum Stillness) ---------- */
body.is-entrance{
  /* Soft room tint (subtle green/stone) to focus attention inward */
  background: radial-gradient(1200px 700px at 50% 18%, #eef2ee, #dde4dd);
  background-image:none !important;
  color:#111;
  opacity: 1;
  transition: opacity 320ms ease;
}

/* Gentle vignette for "gallery focus" */
body.is-entrance::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 520px at 50% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.12) 100%);
  opacity: .55;
  z-index: 1;
}

body.is-entrance main{ position: relative; z-index: 2; }
/* Keep lang-pill fixed on entrance for clear visibility */
body.is-entrance .lang-pill{ position: fixed; z-index: 9999; }

/* Entrance transitions (subtle fade) */
body.is-entrance.is-entering{ opacity: 0; }
body.is-entrance.is-leaving{ opacity: 0; }

/* Make entrance full-bleed (no "white card" layout) */
body.is-entrance main{
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  display: block;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: visible;
}

/* Hide header/footer on entrance to keep it calm */
body.is-entrance header,
body.is-entrance .breadcrumb-wrap,
body.is-entrance footer.site-footer{
  display: none !important;
}
.home-hero{min-height:calc(100vh - 120px); display:flex; align-items:center; justify-content:center; padding:64px 24px;}
.home-hero__inner{max-width:980px; width:100%; text-align:center;}
.home-hero__title{font-size:clamp(34px,4vw,56px); margin:0 0 10px;}
.home-hero__sub{max-width:680px; margin:0 auto 26px; color:var(--muted); font-size:16px; line-height:1.6;}
.home-hero__note{margin:18px auto 0; color:var(--muted); font-size:13px;}

.book-link{display:block; width:min(980px, 92vw); margin:0 auto; text-decoration:none;}
.book{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  max-height: 62vh;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  background:#f0f0f2;
  border-radius:16px;
  box-shadow: 0 26px 60px rgba(0,0,0,.14);
  overflow:hidden;
  transform: translateZ(0);
}
.book:before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.14), rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,.12));
  pointer-events:none;
  opacity:.35;
}
.book:after{
  content:"";
  position:absolute;
  left:50%; top:0; bottom:0;
  width:28px;
  transform:translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,.22), rgba(0,0,0,0) 70%);
  pointer-events:none;
  opacity:.35;
}
.book__page{position:relative; background:#f2f2f4; display:flex; align-items:center; justify-content:center; padding:4.5%;}
.book__page--left{box-shadow: inset -12px 0 18px rgba(0,0,0,.06);}
.book__page--right{box-shadow: inset 12px 0 18px rgba(0,0,0,.06);}
.book__img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.book-link:hover .book{box-shadow: 0 30px 70px rgba(0,0,0,.18);}
.book-link:focus-visible{outline:3px solid rgba(0,0,0,.25); outline-offset:10px; border-radius:18px;}

.home-ctas{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin:22px 0 0;}
.home-cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:999px;
  background:rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
  font-size:14px;
  color:#111;
}
.home-cta:hover{background:#fff; border-color:rgba(0,0,0,.22);}

/* ---------- Forms (simplified) ---------- */
.form-row--checkbox{display:flex; gap:10px; align-items:flex-start;}
.form-row--checkbox input{margin-top:4px;}
.form-actions{margin-top:10px;}
.btn{border-radius:999px; padding:12px 18px;}

/* =========================
   Home entrance (Museum Stillness v2)
   ========================= */
body.is-entrance .breadcrumb-wrap{display:none;}

.home-wall{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 56px 22px 52px;
  /* Neutral gallery wall — calm, slightly cool */
  background: radial-gradient(1200px 760px at 50% 20%, #f4f4f4, #e6e6e6);
  /* Magazine spread card centered */
  width: min(1260px, calc(100vw - 32px));
  margin: 24px auto;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.10);
  overflow: hidden;
}

.wall-stage{
  width: min(1100px, 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 22px;
}

/* Magazine masthead above frames */
.wall-masthead{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  width: min(860px, 100%);
}

.wall-name{
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.80);
  font-weight: 600;
  font-family: var(--font-serif, Georgia, serif);
}

.wall-tagline{
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.42);
}

.wall-frames{
  display:flex;
  gap: 0px;
  align-items:flex-start;
  justify-content:center;
  text-decoration:none;
  position:relative;
  box-shadow: 0 28px 70px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.08);
}

.frame{
  /* Open book page — clean paper */
  background: #f4f4f6;
  width: 420px;
  height: 580px;
  padding: 30px 28px;
  border-radius: 0;
  box-shadow: none;
  border: none;
  transform: translateZ(0);
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
}

/* Left page — spine shadow on right */
.frame--left{
  border-right: 1px solid rgba(0,0,0,0.06);
  box-shadow: inset -10px 0 20px -8px rgba(0,0,0,0.11);
}

/* Right page — spine shadow on left */
.frame--right{
  box-shadow: inset 10px 0 20px -8px rgba(0,0,0,0.11);
}

.frame img{
  display:block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  background: transparent;
}

/* Both pages are the same size; images may vary */
.frame--right img{ max-width: 100%; }

.enter-hint{
  margin-top: -6px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}

.enter-hint a{
  color: inherit;
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,.35);
  padding-bottom: 2px;
}

.enter-hint a:hover{
  border-bottom-color: rgba(0,0,0,.65);
}

.thumb-strip{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:nowrap;
  padding: 4px 0 0;
  opacity: .78;
}

.thumb-strip img{
  width: 44px;
  height: 44px;
  object-fit: cover;
  background:#111;
  border: 6px solid #e8e8ec;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
  border-radius: 2px;
}

.home-actions{
  margin-top: 6px;
  display:flex;
  gap: 32px;
  justify-content:center;
  flex-wrap:wrap;
  padding: 12px 0 0;
  border-top: 1px solid rgba(0,0,0,0.10);
  width: min(860px, 100%);
}

.home-action{
  display:inline-block;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration:none;
  color: rgba(0,0,0,.72);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms, border-bottom-color 180ms;
}

.home-action:hover{
  color: rgba(0,0,0,.90);
  border-bottom-color: rgba(0,0,0,.40);
}

/* Language pill (entrance) */
.lang-pill{
  position: fixed;
  top: 16px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.55);
  z-index: 9999;
}

.lang-pill .lang-btn{
  border: 0;
  background: transparent;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  cursor: pointer;
}

.lang-pill .lang-btn.is-active{
  background: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.78);
}

@media (max-width: 980px){
  .wall-frames{ gap: 0; }
  .frame{ width: 360px; height: 500px; padding: 24px; }
}

@media (max-width: 820px){
  .wall-frames{ gap: 0; }
  .frame{ width: min(44vw, 340px); height: auto; aspect-ratio: 420/580; padding: 18px; }
}

@media (max-width: 760px){
  .home-wall{ padding-top: 52px; padding-bottom: 40px; }
  .wall-frames{
    flex-direction:column;
    gap: 0;
    align-items:center;
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
  }
  .frame--left{ border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); box-shadow: inset 0 -10px 20px -8px rgba(0,0,0,0.11); }
  .frame--right{ box-shadow: inset 0 10px 20px -8px rgba(0,0,0,0.11); }
  .frame{ width: min(80vw, 380px); height: auto; padding: 18px; aspect-ratio: 420/580; }
  .frame img, .frame--right img{ max-width: 100%; max-height: 100%; }
  .thumb-strip{ gap: 10px; }
  .thumb-strip img{ width: 38px; height: 38px; }
  .wall-masthead{ padding-bottom: 14px; }
}

/* =============================
   v6 Material + Minimal Header
   ============================= */

/* Default (inside pages): warm beige tone using the same fine-grain tile as the entrance (tinted) */
body{
  background-color:#e5e5e8;
  /* Tint layer + texture layer (keeps the same grain, avoids ugly seams/tiling) */
  background-image:
    linear-gradient(rgba(239,233,222,0.94), rgba(239,233,222,0.94)),
    url("../assets/textures/green_background_non_linen.webp");
  background-repeat:repeat, repeat;
  background-size:auto, 512px 512px;
  background-attachment:fixed, fixed;
  color:#111;
}

/* Subtle vignette to focus content */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(1200px 700px at 50% 35%, rgba(0,0,0,0.06), rgba(0,0,0,0.14));
  opacity:0.35;
  z-index:0;
}

/* Keep pages above vignette */
header, main, footer, .breadcrumb-wrap{ position:relative; z-index:1; }

/* Entrance keeps green */
body.is-entrance{
  /* Editorial gallery room atmosphere */
  background-color:#1a2b20;
  background-image:
    radial-gradient(1400px 800px at 50% 40%, rgba(255,255,255,0.06), rgba(0,0,0,0.32)),
    linear-gradient(rgba(18,28,22,0.65), rgba(18,28,22,0.65)),
    url("../assets/textures/green_background_non_linen.webp");
  background-repeat:no-repeat, repeat, repeat;
  background-size:cover, auto, 512px 512px;
  background-attachment:fixed, fixed, fixed;
  /* Remove top gap to eliminate the dark strip above the card */
  padding-top: 0;
}
body.is-entrance::before{
  /* Softer vignette (keeps focus without crushing the midtones) */
  background:radial-gradient(1200px 700px at 50% 35%, rgba(0,0,0,0.10), rgba(0,0,0,0.38));
  opacity:0.42;
}

/* Minimal, text-only header (no bar) */
header{
  padding:18px 0;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.header-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
}
.brand .title{ font-family:var(--font-serif); font-weight:500; letter-spacing:.02em; }
.site-logo-small{ height:34px; width:auto; }

nav[aria-label="Primary"] a{
  text-decoration:none;
  color:rgba(0,0,0,0.72);
  border-bottom:1px solid transparent;
  padding-bottom:2px;
}
nav[aria-label="Primary"] a:hover,
nav[aria-label="Primary"] a.active{
  color:rgba(0,0,0,0.82);
  border-bottom-color:rgba(0,0,0,0.28);
}

/* Language switch on inside pages */
.lang-switch{ color:rgba(0,0,0,0.70) !important; }
.lang-switch a{ color:inherit; text-decoration:none; border-bottom:1px solid transparent; }
.lang-switch a:hover{ border-bottom-color:rgba(0,0,0,0.28); }

/* Content container for inside pages */
body:not(.is-entrance) main{
  max-width:1100px;
  margin:28px auto 70px;
  padding:46px 48px;
  background:#f2f2f4;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:18px;
  box-shadow:0 30px 90px rgba(0,0,0,0.12);
}

/* Inside pages: override global 2-column grid to single column */
body:not(.is-entrance) main{
  display: block;
}

/* Breadcrumbs: keep subtle */
.breadcrumb-wrap{ background:transparent !important; }
.breadcrumb{
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
  color:rgba(0,0,0,0.55);
}

/* Ensure entrance wall still sits on top nicely */
body.is-entrance main.home-main{
  background:transparent;
  border:0;
  box-shadow:none;
  margin:0 auto;
  padding:0;
  border-radius:0;
}

/* ---------- Cinematic header (fade in after scroll) ---------- */
body:not(.is-entrance) header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
  background: transparent;
}

/* Make room for the fixed language pill (top-center) */
body:not(.is-entrance) .header-inner{
  padding-top: 64px;
}

/* Reveal header after scroll (or when menu is open) */
html.has-scrolled body:not(.is-entrance) header,
html.nav-open body:not(.is-entrance) header{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hide the old inline language switch (we use the lang-pill everywhere) */
.lang-switch{ display:none !important; }

/* ---------- Header: calm, container-aligned, cinematic on scroll ---------- */
body:not(.is-entrance) header{
  position: sticky;
  top: 0;
  z-index: 9000;
  background: transparent;
  transition: background 320ms ease, box-shadow 320ms ease;
}

/* Keep header content aligned with content container */
body:not(.is-entrance) header .header-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--gutter);
  position: relative; /* for in-header language pill */
}

/* Nav readability */
body:not(.is-entrance) nav[aria-label="Primary"] a{
  color: rgba(0,0,0,0.78);
  text-decoration: none;
  opacity: 0.72;
}
body:not(.is-entrance) nav[aria-label="Primary"] a:hover,
body:not(.is-entrance) nav[aria-label="Primary"] a.active{
  opacity: 1;
}

/* On scroll: solid header bar */
html.has-scrolled body:not(.is-entrance) header{
  background: #d8d8dc;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

/* Language pill: keep identical styling, but mount it inside the header on inside pages */
body:not(.is-entrance) .lang-pill.lang-pill--in-header{
  position: absolute;
  top: 50%;
  right: 18px;
  left: auto;
  transform: translateY(-50%);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  z-index: 2;
}

body:not(.is-entrance) .lang-pill.lang-pill--in-header{
  transform-origin: right center;
}

/* Hide old inline language switch (we use the pill everywhere) */
.lang-switch{ display:none !important; }

/* Herstel lang-switch in header — altijd zichtbaar */
body:not(.is-entrance) header .lang-switch{
  display:flex !important;
  color:rgba(0,0,0,0.70) !important;
}
body:not(.is-entrance) header .lang-switch a{
  color:rgba(0,0,0,0.70) !important;
  text-decoration:none;
}
body:not(.is-entrance) header .lang-switch a:hover{
  color:rgba(0,0,0,1) !important;
}

/* === Sticky header + language pill placement (v-fixed) === */
/* Keep menu visible (non-entrance pages) */
body:not(.is-entrance) header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #d8d8dc;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Push content below header on non-entrance pages */
body:not(.is-entrance){
  padding-top: 90px;
}

/* Place language pill inside header, top-right */
body:not(.is-entrance) .lang-pill,
body:not(.is-entrance) .language-toggle,
body:not(.is-entrance) .lang-toggle{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
}

/* Ensure header inner container can anchor absolute elements */
body:not(.is-entrance) header .nav-inner,
body:not(.is-entrance) header .header-inner,
body:not(.is-entrance) header .container,
body:not(.is-entrance) header nav{
  position: relative;
}

/* === Header nav centering + lang-switch right === */
body:not(.is-entrance) header .header-inner{
  position: relative;
}

/* keep nav centered */
body:not(.is-entrance) header nav{
  margin: 0 auto;
}

/* language switch to top-right (desktop) */
body:not(.is-entrance) header .lang-switch{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* prevent overlap on small screens: move below burger if needed */
@media (max-width: 720px){
  body:not(.is-entrance) header .lang-switch{
    position: static;
    transform: none;
    margin-left: auto;
  }
  body:not(.is-entrance) header .header-inner{
    gap: 10px;
  }
}

/* === Header visibility + stable language switch (v2) === */
body:not(.is-entrance) header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #d8d8dc;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

/* Ensure menu never fades/disappears */
body:not(.is-entrance) header nav,
body:not(.is-entrance) header nav *,
body:not(.is-entrance) header .menu,
body:not(.is-entrance) header .menu *{
  opacity: 1 !important;
  visibility: visible !important;
}

/* Make header height consistent across pages */
body:not(.is-entrance){ padding-top: 96px; }

/* Stabilize language switch placement and size */
body:not(.is-entrance) header .lang-switch,
body:not(.is-entrance) header .lang-toggle,
body:not(.is-entrance) header .lang-pill,
body:not(.is-entrance) header .language-toggle{
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 10000 !important;
  max-width: 180px;
}

/* If the switch is a big pill, scale it down a touch */
body:not(.is-entrance) header .lang-switch,
body:not(.is-entrance) header .lang-pill{
  transform: translateY(-50%) scale(0.92) !important;
  transform-origin: right center;
}

/* Keep nav centered and prevent collision with language switch */
body:not(.is-entrance) header .header-inner,
body:not(.is-entrance) header .nav-inner{
  position: relative;
  padding-right: 220px; /* reserve space for language switch */
}

/* Mobile: put language switch below / inline so it never overlaps */
@media (max-width: 720px){
  body:not(.is-entrance){ padding-top: 112px; }
  body:not(.is-entrance) header .header-inner,
  body:not(.is-entrance) header .nav-inner{
    padding-right: 18px;
  }
  body:not(.is-entrance) header .lang-switch,
  body:not(.is-entrance) header .lang-toggle,
  body:not(.is-entrance) header .lang-pill,
  body:not(.is-entrance) header .language-toggle{
    position: static !important;
    transform: none !important;
    max-width: none;
    margin-left: auto;
  }
}

/* === Background: solid cool gray interior === */
body{
  background-image: none;
  background-color:#d8d8dc;
}

/* Entrance / language selection page */
body.lang-select{
  background-image:url("../assets/textures/green_background_non_linen.webp");
  background-repeat:repeat;
  background-attachment:fixed;
  background-color:#132019;
}

/* === Force header visible immediately (no-scroll pages) === */
body:not(.lang-select) header,
body:not(.is-entrance) header{
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* Language selection page (alternative class) */
body.lang-page{
  background-image:url("../assets/textures/green_background_non_linen.webp");
  background-repeat:repeat;
  background-attachment:fixed;
  background-color:#132019;
}

/* === Entrance page green tile background === */
body.lang-select {
    background-image: url('../assets/textures/green_background_non_linen.webp') !important;
    background-repeat: repeat !important;
    background-size: 512px 512px !important;
    background-color: #1a2b20;
}

/* === Default cool gray background for inner pages === */
body:not(.lang-select) {
    background-image: none !important;
    background-color: #d8d8dc;
}

/* ── Gallery page prose sections (below Rahi carousel) ── */
.portraits-prose,
.stilllife-prose,
.projects-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
/* These sections are only reachable by scrolling on gallery pages */
/* They are hidden on desktop carousel view unless user scrolls */
@media (min-width: 750px) {
  .portraits-prose,
  .stilllife-prose,
  .projects-prose {
    padding-top: 60px;
  }
}

/* === Galerij pagina's: geen padding-top want die heeft eigen fullscreen layout === */
body.is-gallery{
  padding-top: 0 !important;
}
body.is-gallery header{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: #d8d8dc !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

/* ── Booking CTA floating bar ──────────────────────────────── */
.booking-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9980;
  text-align: center;
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 0.68, 0, 1.18);
  pointer-events: none;
}
.booking-cta-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.booking-cta-link {
  display: inline-block;
  padding: 12px 32px;
  margin: 0 0 24px;
  background: rgba(20, 20, 20, 0.88);
  color: #e8e4dc;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.booking-cta-link:hover {
  background: rgba(35, 35, 35, 0.95);
  color: #fff;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}
.booking-cta-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s;
}
.booking-cta-link:hover .booking-cta-arrow {
  transform: translateX(4px);
}
/* Gallery pages: hide CTA (conflicteert met thumbstrip) */
body.is-gallery .booking-cta-bar { display: none; }
/* Homepage: CTA not needed (hero has its own) */
body.is-entrance .booking-cta-bar { display: none; }
