
:root{
  --paper:#f6f2ea; --card:#efe6d5; --ink:#14130f; --ink-soft:#5d5a52; --line:#ddd6c8;
  --accent:#c3512d; --dark:#100f0d; --cream:#f3eee3; --radius:14px; --maxw:1240px;
}
html[data-theme="dark"]{
  --paper:#141311; --card:#1d1b17; --ink:#f0eade; --ink-soft:#a9a294; --line:#2e2b25;
  --accent:#e2673f; --dark:#0b0a09; --cream:#f3eee3;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:"Inter",system-ui,-apple-system,sans-serif;
  font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;
  transition:background .2s ease,color .2s ease;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* header */
.site-header{padding:18px 0 14px}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;flex-direction:column;gap:3px}
.brand-name{font-family:"Fraunces",serif;font-size:19px;font-weight:500;letter-spacing:.01em;color:var(--ink)}
.brand-rule{height:2px;width:100%;background:var(--ink);opacity:.85}
.nav{display:flex;align-items:center;gap:26px}
.nav>a{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.nav>a:hover,.nav>a.is-current{opacity:1}
.nav-icons{display:flex;align-items:center;gap:14px}
.icon-btn{background:none;border:0;padding:0;cursor:pointer;display:grid;place-items:center;color:var(--ink);opacity:.8}
.icon-btn:hover{opacity:1}
.btn-pill{display:inline-block;background:var(--accent);color:#fff;font-size:11px;letter-spacing:.06em;
  text-transform:uppercase;padding:9px 16px;border-radius:999px;font-weight:500;transition:filter .18s ease}
.btn-pill:hover{filter:brightness(1.08)}

/* hero */
.hero{margin-top:4px}
.hero-card{position:relative;border-radius:var(--radius);overflow:hidden;isolation:isolate;
  height:clamp(330px,37vw,470px);background:#2b2b2b center/cover no-repeat;background-image:linear-gradient(135deg,#3a3a38,#22201d)}
.hero-card::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top,rgba(12,11,9,.78) 0%,rgba(12,11,9,.35) 42%,rgba(12,11,9,.05) 72%)}
.hero-body{position:absolute;z-index:2;left:clamp(20px,4vw,52px);bottom:clamp(22px,3.4vw,44px);
  color:#fff;max-width:640px}
.eyebrow{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.eyebrow--dark{color:var(--ink-soft)}
.hero-title{font-family:"Fraunces",serif;font-style:italic;font-weight:600;
  font-size:clamp(46px,8.2vw,112px);line-height:.98;margin:10px 0 16px;letter-spacing:-.015em}
.hero-sub{font-size:clamp(14px,1.35vw,17px);line-height:1.45;color:rgba(255,255,255,.9);max-width:430px;margin:0}
.hero-link{display:inline-block;margin-top:20px;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:#fff;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:5px}

/* filters */
.filters{display:flex;flex-wrap:wrap;gap:8px;padding:26px 0 18px;align-items:center}
.filters .label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft);margin-right:6px}
.pill{font-size:11px;letter-spacing:.03em;padding:6px 14px;border-radius:999px;border:1px solid var(--line);
  color:var(--ink);opacity:.9;transition:background .18s,color .18s,border-color .18s}
.pill:hover{border-color:#bdb5a5;opacity:1}
.pill.active{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* masonry grid */
.grid{column-count:3;column-gap:16px;padding-bottom:10px}
@media(max-width:1000px){.grid{column-count:2}}
@media(max-width:640px){.grid{column-count:1}}
.grid--three{column-count:3;padding-top:16px}
.card{break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;display:block;
  margin:0 0 16px;border-radius:var(--radius);overflow:hidden;position:relative;background:transparent}
.card-img{width:100%;height:auto;display:block;transition:transform .5s ease}
.card:hover .card-img{transform:scale(1.02)}
/* ritme in de tegelhoogtes, zoals het referentiebeeld */
.grid>.card:nth-child(6n+1) .card-img{aspect-ratio:4/5;object-fit:cover}
.grid>.card:nth-child(6n+2) .card-img{aspect-ratio:1/1;object-fit:cover}
.grid>.card:nth-child(6n+3) .card-img{aspect-ratio:2/3;object-fit:cover}
.grid>.card:nth-child(6n+4) .card-img{aspect-ratio:3/2;object-fit:cover}
.grid>.card:nth-child(6n+5) .card-img{aspect-ratio:4/5;object-fit:cover}
.grid>.card:nth-child(6n) .card-img{aspect-ratio:3/4;object-fit:cover}
.card-tag{position:absolute;left:12px;top:12px;z-index:2;font-size:9px;letter-spacing:.14em;
  text-transform:uppercase;background:rgba(255,255,255,.9);color:#1c1b17;padding:4px 9px;
  border-radius:999px;opacity:0;transition:opacity .2s}
.card:hover .card-tag{opacity:1}

/* note card */
.note{background:var(--card);padding:26px 26px 22px;display:flex;flex-direction:column;gap:12px;border-radius:var(--radius)}
.note .kicker{font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:#7a6f5c}
html[data-theme="dark"] .note .kicker{color:#b3a68d}
.note h3{font-family:"Fraunces",serif;font-weight:400;font-size:19px;line-height:1.35;margin:0;color:var(--ink)}
.note p{margin:0;font-size:13.5px;line-height:1.5;color:var(--ink-soft)}
.note .meta{margin-top:auto;font-size:10.5px;letter-spacing:.04em;color:#7a6f5c;display:flex;justify-content:space-between;gap:12px}
html[data-theme="dark"] .note .meta{color:#b3a68d}
.note .read{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}

/* journal band */
.band{position:relative;margin-top:34px;background:var(--dark);color:var(--cream);padding:54px 0 46px}
.band::before{content:"";position:absolute;top:-1px;left:0;right:0;height:38px;background:var(--paper);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 38' preserveAspectRatio='none'><path d='M0 0h1200v10c-120 0-180 26-320 26S700 8 560 8 300 34 180 34 60 12 0 12z' fill='black'/></svg>") center/100% 100% no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 38' preserveAspectRatio='none'><path d='M0 0h1200v10c-120 0-180 26-320 26S700 8 560 8 300 34 180 34 60 12 0 12z' fill='black'/></svg>") center/100% 100% no-repeat}
.band-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:20px}
.band-title{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#cbc3b2}
.band-link{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#9d9585}
.strip{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.strip img{width:100%;height:118px;object-fit:cover;border-radius:8px}
.strip-text{display:flex;align-items:center;justify-content:center;height:118px;border:1px solid rgba(255,255,255,.12);
  border-radius:8px;padding:10px;font-family:"Fraunces",serif;font-size:12px;line-height:1.3;color:#cfc7b4;text-align:center}
@media(max-width:820px){.strip{grid-template-columns:repeat(3,1fr)}}

/* footer */
.site-footer{background:var(--dark);color:#9a9488;padding:38px 0 26px;border-top:1px solid rgba(255,255,255,.07)}
.foot-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr 1.4fr;gap:36px}
@media(max-width:820px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot-brand{font-family:"Fraunces",serif;font-style:italic;font-size:34px;color:#efe9dc;line-height:1.1;margin:0 0 12px}
.foot-note{font-size:11.5px;line-height:1.55;color:#7e7869;max-width:240px}
.foot-h{font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:#6f6a5e;margin:0 0 12px}
.foot-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:12px}
.foot-list a:hover{color:#e9e2d4}
.socials{display:flex;gap:10px;margin-top:14px}
.socials a{min-width:26px;height:26px;padding:0 8px;border:1px solid rgba(255,255,255,.14);border-radius:999px;
  display:grid;place-items:center;font-size:9px;letter-spacing:.08em}
.sub-copy{font-size:11.5px;line-height:1.5;color:#7e7869;margin:0 0 12px}
.sub-form{display:flex;gap:8px}
.sub-form input{flex:1;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);color:#efe9dc;
  border-radius:6px;padding:9px 12px;font-size:12px;font-family:inherit;min-width:0}
.sub-form input::placeholder{color:#6f6a5e}
.sub-form button{background:var(--accent);color:#fff;border:0;border-radius:6px;padding:9px 16px;font-size:11px;
  letter-spacing:.06em;text-transform:uppercase;cursor:pointer;font-family:inherit}
.sub-status{font-size:11px;color:#8fae86;margin:8px 0 0;min-height:14px}
.foot-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:34px;padding-top:16px;
  border-top:1px solid rgba(255,255,255,.07);font-size:10.5px;color:#6b665b;letter-spacing:.03em}

/* post */
.post{padding:18px 0 40px}
.post-wrap{max-width:760px}
.post-wrap--page{max-width:760px}
.post-header{margin:26px 0 26px}
.post-kicker{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--accent)}
.post-title{font-family:"Fraunces",serif;font-weight:500;letter-spacing:-.015em;
  font-size:clamp(32px,4.6vw,54px);line-height:1.08;margin:10px 0 14px}
.post-excerpt{font-size:18px;line-height:1.55;color:var(--ink-soft);margin:0 0 16px;max-width:640px}
.post-meta{display:flex;gap:10px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft)}
.post-hero{margin:0 0 34px;border-radius:var(--radius);overflow:hidden}
.post-hero img{width:100%;height:auto}
.post-hero figcaption{font-size:11px;color:var(--ink-soft);padding:8px 2px}
.post-content{font-size:18px;line-height:1.7;color:var(--ink)}
.post-content p{margin:0 0 22px}
.post-content h2{font-family:"Fraunces",serif;font-weight:500;font-size:30px;line-height:1.2;margin:40px 0 14px;color:var(--accent)}
.post-content h3{font-family:"Fraunces",serif;font-weight:500;font-size:23px;margin:32px 0 12px}
.post-content a{border-bottom:1px solid var(--line)}
.post-content img{border-radius:10px;margin:26px 0}
.post-content blockquote{margin:28px 0;padding:4px 0 4px 22px;border-left:2px solid var(--accent);
  font-family:"Fraunces",serif;font-size:21px;line-height:1.45;color:var(--ink-soft)}
.post-content ul,.post-content ol{padding-left:22px;margin:0 0 22px}
.post-content li{margin-bottom:8px}
.post-content hr{border:0;border-top:1px solid var(--line);margin:36px 0}
.post-content code{background:var(--card);padding:2px 5px;border-radius:4px;font-size:.9em}
.post-footer{margin-top:44px;padding-top:22px;border-top:1px solid var(--line)}
.post-author{display:flex;align-items:center;gap:14px}
.author-img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.author-name{font-size:13px;font-weight:600;margin:0}
.author-bio{font-size:12.5px;color:var(--ink-soft);margin:2px 0 0}
.related{margin-top:20px}
.related .foot-h{color:var(--ink-soft);margin-bottom:6px}

/* tag/author/error */
.tag-head{padding:44px 0 10px}
.tag-title{font-family:"Fraunces",serif;font-weight:500;font-size:clamp(34px,5vw,58px);line-height:1.05;margin:8px 0 12px}
.tag-desc{font-size:16px;color:var(--ink-soft);max-width:600px;margin:0}
.tag-count{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin:14px 0 0}
.error-wrap{padding:80px 0}

/* pagination */
.pagination{display:flex;justify-content:space-between;gap:16px;padding:26px 0 46px;font-size:11px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft)}

/* Koenig editor width classes (required) */
.kg-width-wide { width: min(100% + 160px, 92vw); max-width: none; margin-left: auto; margin-right: auto; }
.kg-width-full { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.kg-width-wide img, .kg-width-full img { width: 100%; }
.gh-content .kg-card { margin: 2rem 0; }
.gh-content figcaption { font-size: .86rem; color: var(--ink-soft); text-align: center; margin-top: .6rem; }

/* mobile menu button */
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .2s; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper);
         border-bottom: 1px solid var(--line); padding: 14px 24px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav.is-open { display: flex; }
}



.filter-note{font-size:12.5px;letter-spacing:.04em;color:var(--ink-soft);margin:0 0 12px}
