:root{--bg:#f7f7f4;--ink:#242521;--muted:#898a84;--line:#dfdfd9;--sidebar:236px;--gutter:clamp(22px,3.2vw,58px)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{opacity:.65}img{max-width:100%;height:auto}button{font:inherit}button:focus-visible,a:focus-visible,.gallery:focus-visible{outline:2px solid currentColor;outline-offset:5px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px;white-space:nowrap}.screen-reader-text:focus{clip:auto;height:auto;width:auto;top:10px;left:10px;z-index:999;background:white;padding:10px}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;padding:34px 25px 26px 33px;display:flex;flex-direction:column;justify-content:space-between;z-index:10;background:var(--bg)}.site-brand{font-size:20px;font-weight:500;line-height:1.15;letter-spacing:-.06em;margin-bottom:52px}.site-brand a:hover{opacity:1}.site-brand img{width:auto;max-width:160px;max-height:80px}.site-nav-list{padding:0;margin:0;list-style:none}.site-nav-list li{margin:0 0 8px}.site-nav-list a{display:inline-block;transition:opacity .2s}.site-nav-list .current-menu-item>a,.site-nav-list .current_page_item>a{border-bottom:1px solid var(--ink)}.sidebar-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-transform:uppercase;font-size:10px;letter-spacing:.08em}.sidebar-bottom small{color:var(--muted);font-size:10px;margin-top:14px;text-transform:none;letter-spacing:0}.site-shell{margin-left:var(--sidebar);min-height:100vh}.main-content{padding:35px var(--gutter) 80px}.page-intro{min-height:64px;display:flex;align-items:flex-start}.eyebrow{text-transform:uppercase;letter-spacing:.115em;font-size:10px;font-weight:400;color:var(--muted);margin:0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(40px,6vw,100px);row-gap:clamp(58px,7vw,120px);align-items:start;max-width:1040px}.project-tile{min-width:0}.tile-link{display:block}.tile-media{width:min(100%,360px);margin:0;overflow:hidden;background:#ecece7;aspect-ratio:4/5;display:grid;place-items:center}.tile-media img{width:100%;height:100%;object-fit:cover;transition:transform .75s cubic-bezier(.22,1,.36,1),filter .45s ease}.tile-link:hover img{transform:scale(1.02);filter:brightness(.985)}.tile-link:hover{opacity:1}.tile-caption{width:min(100%,360px);margin:14px 0 0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.tile-caption-text{min-width:0}.tile-caption h2{font-size:12px;font-weight:400;line-height:1.4;letter-spacing:-.01em;margin:0}.tile-subtitle{font-size:10px;line-height:1.55;color:var(--muted);margin:4px 0 0;letter-spacing:.02em}.tile-caption span{opacity:0;transition:opacity .25s;flex:none;line-height:1.2;color:var(--muted)}.tile-link:hover .tile-caption span{opacity:1}.placeholder-art{width:38%;height:48%;border:1px solid #c4c5be;border-radius:100px;transform:rotate(-18deg)}.empty-state{max-width:500px;padding:14vh 0}.empty-state h1{font-size:24px;font-weight:400}.empty-state p{color:var(--muted)}.project-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}.back-link{font-size:11px;display:block;color:var(--muted);margin-bottom:26px}.project-heading h1{font-size:clamp(24px,3vw,46px);font-weight:400;line-height:1.13;letter-spacing:-.045em;margin:0}.project-subtitle{font-size:12px;color:var(--muted);margin:12px 0 0}.project-count{color:var(--muted);font-size:10px;white-space:nowrap}.gallery{position:relative}.gallery-stage{position:relative;height:min(69vh,850px);min-height:330px;display:flex;justify-content:center;align-items:center;background:#eeeee9;overflow:hidden}.gallery-slide{position:absolute;inset:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:0;pointer-events:none;transition:opacity .4s ease;margin:0}.gallery-slide.is-active{opacity:1;pointer-events:auto}.gallery-slide img{width:auto;height:auto;max-width:100%;max-height:calc(100% - 28px);object-fit:contain}.gallery-slide figcaption{color:var(--muted);font-size:10px;margin-top:10px;min-height:14px}.gallery-controls{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.gallery-controls button{background:none;border:0;cursor:pointer;padding:9px 7px;font-size:21px;line-height:1}.gallery-position{font-size:11px;font-variant-numeric:tabular-nums}.project-description{max-width:650px;margin:70px 0 50px}.project-bottom{border-top:1px solid var(--line);padding-top:20px;margin-top:50px;font-size:12px}.standard-page{max-width:850px;padding-top:56px}.standard-page h1{font-size:clamp(33px,4vw,60px);font-weight:400;line-height:1.1;letter-spacing:-.05em;margin:0 0 42px}.entry-content{font-size:14px;line-height:1.85}.entry-content p{margin:0 0 1.5em}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content img{height:auto}.journal-entry{padding:25px 0;border-top:1px solid var(--line)}.journal-entry h2{font-weight:400;font-size:20px}.pagination{padding-top:40px}.mobile-toggle{display:none}@media(max-width:1050px){:root{--sidebar:195px}.sidebar{padding-left:24px;padding-right:16px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:38px;row-gap:72px}.tile-media{width:min(100%,320px)}.tile-caption{width:min(100%,320px)}}@media(max-width:680px){:root{--sidebar:0px;--gutter:18px}.site-shell{margin-left:0}.main-content{padding-top:84px;padding-bottom:42px}.mobile-toggle{display:flex;position:fixed;top:22px;right:18px;z-index:30;width:38px;height:38px;justify-content:center;align-items:center;flex-direction:column;gap:6px;background:var(--bg);border:0;cursor:pointer}.mobile-toggle span{width:21px;height:1px;background:var(--ink);transition:transform .25s}.menu-open .mobile-toggle span:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-open .mobile-toggle span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.sidebar{width:100%;height:70px;padding:24px 18px;inset:0 0 auto;position:fixed;overflow:hidden;transition:height .3s ease}.site-brand{margin:0;font-size:19px;max-width:calc(100% - 50px)}.site-nav{display:none}.sidebar-bottom{display:none}.menu-open .sidebar{height:100dvh;padding-bottom:30px}.menu-open .site-nav{display:block;margin-top:55px;font-size:19px}.menu-open .site-nav-list li{margin-bottom:17px}.menu-open .sidebar-bottom{display:flex}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 16px}.page-intro{min-height:35px}.tile-caption h2{font-size:11px}.tile-subtitle{font-size:10px}.tile-media{width:min(100%,220px);aspect-ratio:3/4}.tile-caption{width:min(100%,220px)}.project-heading{margin-top:8px;margin-bottom:24px}.project-heading h1{font-size:31px}.gallery-stage{height:57vh;min-height:260px}.gallery-slide{inset:14px}.project-description{margin-top:44px}.standard-page{padding-top:15px}}@media(max-width:380px){.project-grid{grid-template-columns:1fr;gap:40px}.tile-media{width:min(100%,260px);aspect-ratio:4/5}.tile-caption{width:min(100%,260px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Homepage gallery / editorial autoplay */
.home-slideshow{width:100%;max-width:1120px;padding-top:30px}
.home-slideshow-stage{height:min(70vh,720px);min-height:330px;position:relative;overflow:hidden}
.home-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 1.15s ease,visibility 1.15s ease;display:flex;justify-content:flex-start;align-items:center}
.home-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.home-slide a{display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}
.home-slide a:hover{opacity:1}
.home-slide img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;object-position:left center}
.home-slideshow-bottom{display:flex;justify-content:space-between;align-items:center;gap:22px;max-width:1120px;margin-top:13px;font-size:12px}
.home-slide-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-slide-controls{display:flex;gap:16px;align-items:center;flex-shrink:0}
.home-slide-controls button{background:transparent;border:0;color:var(--ink);cursor:pointer;padding:4px 2px;font-size:15px}
.home-slide-position{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
@media(max-width:680px){.home-slideshow{padding-top:5px}.home-slideshow-stage{height:60vh;min-height:280px}.home-slide img{max-width:100%;max-height:100%}.home-slide-controls{gap:10px}}
@media(prefers-reduced-motion:reduce){.home-slide{transition:none}}

/* Stillframe 1.5: three project previews on wide screens. */
@media (min-width: 1051px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(22px, 3vw, 52px);
    row-gap: 68px;
    max-width: none;
  }
  .tile-media, .tile-caption {
    width: 100%;
    max-width: 360px;
  }
}


/* Stillframe 1.6 - extra ruimte voor beelden in beide slideshows.
   Maximaal circa 20 procent groter, binnen het beschikbare scherm; nooit bijsnijden. */
@media (min-width: 681px) {
  .home-slideshow { max-width: 1344px; }
  .home-slideshow-stage { height: min(84vh, 864px); }
  .home-slideshow-bottom { max-width: 1344px; }
  .gallery-stage { height: min(82.8vh, 1020px); }
}
@media (max-width: 680px) {
  .home-slideshow-stage { height: 72vh; }
  .gallery-stage { height: 68.4vh; }
}


/* Stillframe 1.7 - mobile logo visibility correction */
@media (max-width: 680px) {
  .sidebar {
    width: 100%;
    height: 96px;
    padding: 14px 18px 12px;
    inset: 0 0 auto;
    position: fixed;
    overflow: visible;
    transition: height .3s ease;
  }
  .site-brand {
    margin: 0;
    max-width: calc(100% - 64px);
    min-height: 60px;
    display: flex;
    align-items: center;
  }
  .site-brand a,
  .site-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
  }
  .site-brand img {
    display: block;
    width: auto;
    max-width: 110px;
    max-height: 56px;
    object-fit: contain;
  }
  .mobile-toggle {
    top: 18px;
    right: 18px;
  }
  .main-content {
    padding-top: 110px;
    padding-bottom: 42px;
  }
  .menu-open .sidebar {
    height: 100dvh;
    padding-bottom: 30px;
    overflow-y: auto;
  }
}
@media (max-width: 380px) {
  .site-brand img {
    max-width: 96px;
    max-height: 48px;
  }
  .main-content {
    padding-top: 102px;
  }
}

/* Stillframe 1.8: beperk de lege ruimte tussen mobiel logo en eerste foto.
   De slideshow centreerde kleinere beelden verticaal in een hoog vlak. */
@media (max-width: 680px) {
  .home-slideshow { padding-top: 5px; }
  .home-slide { align-items: flex-start; }
  .home-slide a { align-items: flex-start; padding-top: 30px; }
}

/* Stillframe 1.9 — compact mobile slideshow: no unused blank stage below short photos. */
@media (max-width:680px) {
  .home-slideshow { padding-top: 0; }
  .home-slideshow-stage {
    height: var(--mobile-slide-height, calc(100dvh - 190px));
    min-height: 0;
    max-height: calc(100dvh - 175px);
    transition: height .35s ease;
  }
  .home-slide, .home-slide a { align-items: flex-start; }
  .home-slide a { padding-top: 0; }
  .home-slide img { max-height: 100%; object-position: left top; }
  .home-slideshow-bottom { margin-top: 8px; padding-bottom: 8px; }
}
@media (max-width:680px) and (max-height:480px) {
  .home-slideshow-stage { max-height: calc(100dvh - 135px); }
}
@media(prefers-reduced-motion:reduce) {
 .home-slideshow-stage { transition: none; }
}


/* Stillframe 2.0 — viewport-filling homepage. Portfolio and project galleries unchanged. */
body.home .main-content {
  padding: 0;
}
body.home .home-slideshow {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
  height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  min-height: 360px;
  overflow: hidden;
}
body.home .home-slideshow-stage {
  height: 100%;
  max-height: none;
  min-height: 0;
  width: 100%;
}
body.home .home-slide,
body.home .home-slide a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}
body.home .home-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}
body.home .home-slideshow-bottom {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px 24px 18px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.50), transparent);
}
body.home .home-slide-controls button,
body.home .home-slide-position,
body.home .home-slide-title { color: inherit; }
@media(max-width:680px) {
  body.home .main-content { padding: 96px 0 0; }
  body.home .home-slideshow {
    height: calc(100dvh - 96px - var(--wp-admin--admin-bar--height, 0px));
    min-height: 220px;
  }
  body.home .home-slideshow-stage {
    height: 100%;
    max-height: none;
    min-height: 0;
  }
  body.home .home-slide img { object-fit: cover; object-position: center center; }
  body.home .home-slideshow-bottom { padding: 26px 14px 12px; gap: 8px; }
  body.home .home-slide-controls { gap: 8px; }
}

/* Stillframe 2.1: direct project slideshow interaction */
.gallery-stage-interactive{cursor:pointer}
.gallery-pointer-arrow{position:absolute;z-index:8;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;color:#242521;background:rgba(247,247,244,.85);border-radius:50%;width:48px;height:48px;display:none;align-items:center;justify-content:center;font-size:26px;line-height:1;box-shadow:0 1px 10px rgba(0,0,0,.08)}
@media (hover:hover) and (pointer:fine){.gallery-stage-interactive{cursor:none}.gallery-stage-interactive:hover .gallery-pointer-arrow{display:flex}}
@media (hover:none), (pointer:coarse){.gallery-pointer-arrow{display:none!important}}

/* Stillframe 2.1.1: voorkom blauwe tik-/selectieflits en beeldflits bij snel navigeren. */
.gallery-stage,
.gallery-stage *,
.gallery-controls button {
  -webkit-tap-highlight-color: transparent;
}
.gallery-stage,
.gallery-slide,
.gallery-slide img {
  -webkit-user-select: none;
  user-select: none;
}
.gallery-slide img {
  -webkit-user-drag: none;
}
/* Meteen wisselen in plaats van overlappende transparante fades. */
.gallery-slide { transition: none; }
