:root {
  --bg: #ffffff;
  --ink: #161412;
  --muted: #6b6660;
  --line: #1614120f;
  --paper: #ffffff;
  --max: 980px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
header { padding-top: 30px; }
.topbar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
}
.site-title {
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(2.8rem, 7.4vw, 4.6rem);
  font-weight: 700; letter-spacing: 0; line-height: 0.92;
  text-decoration: none;
}
.menu {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 4px; padding-top: 6px; flex-shrink: 0;
}
.menu a {
  text-decoration: none; font-size: 0.92rem; color: var(--ink);
  padding: 1px 0; transition: opacity 0.15s;
}
.menu a::before { content: "/ "; color: var(--muted); }
.menu a::after { content: " /"; color: var(--muted); }
.menu a:hover { opacity: 0.45; }
.menu a.active { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Stripes bar (balk-streepjes) ---------- */
.stripes { margin: 26px 0 0; }
.stripes svg { width: 100%; height: 26px; display: block; }

/* ---------- Intro ---------- */
.intro { padding: 54px 0 14px; }
.intro p {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5; font-weight: 400;
}
.intro .lead-2 {
  font-size: 1.02rem; color: var(--muted);
  margin-top: 18px;
}

/* ---------- Section frame ---------- */
section { padding: 40px 0; }
.page-top { padding-top: 56px; }
.sec-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700;
  letter-spacing: -0.015em; margin-bottom: 16px;
}

/* ---------- Gallery ---------- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 30px 26px;
}
.piece { cursor: pointer; }
.piece .frame {
  background: var(--paper); aspect-ratio: 3 / 4;
  overflow: hidden; transition: transform 0.16s;
}
.piece .frame svg { width: 100%; height: 100%; display: block; }
.piece:hover .frame { transform: translateY(-3px); }
.piece .cap { padding-top: 10px; }
.piece .cap .name { font-weight: 700; font-size: 0.98rem; }
.piece .cap .by { color: var(--muted); font-size: 0.9rem; }

/* ---------- Overview photos ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.photo-card {
  display: block;
  background: var(--paper);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  transition: transform 0.16s;
}
.photo-card:hover { transform: translateY(-3px); }
.photo-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- About ---------- */
.about p { margin-bottom: 16px; }
.about p.big { font-size: 1.15rem; }
.about h3 { font-size: 1.15rem; font-weight: 700; margin: 32px 0 12px; }
.about ol { padding-left: 1.4em; margin-bottom: 16px; }
.about ol li { font-size: 1rem; margin-bottom: 10px; line-height: 1.6; }
.btn {
  display: inline-block; background: var(--ink); color: var(--bg);
  text-decoration: none; padding: 14px 30px; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.01em; transition: opacity 0.15s; border: none; cursor: pointer;
  white-space: nowrap;
}
.btn:hover { opacity: 0.7; }
.form-row {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.form-input {
  flex: 1 1 220px; padding: 14px 16px; font-size: 1rem;
  border: 1px solid #16141233; background: var(--bg); color: var(--ink);
  outline: none; font-family: inherit;
}
.form-input:focus { border-color: var(--ink); }
.count-row {
  display: flex; gap: 44px; flex-wrap: wrap; margin-top: 30px;
  padding-top: 26px; border-top: 1px solid #16141220;
}
.count .n { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.count .l { font-size: 0.88rem; color: var(--muted); }

/* ---------- Agenda ---------- */
.agenda-list { border-top: 1px solid #16141220; }
.event {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 28px; padding: 24px 0; border-bottom: 1px solid #16141220;
}
.event .when { font-size: 0.9rem; color: var(--muted); padding-top: 3px; }
.event .when strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 700; }
.event h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 5px; }
.event .where { font-size: 0.95rem; color: var(--muted); margin-bottom: 8px; }
.event p { font-size: 0.96rem; }

/* ---------- Footer ---------- */
footer { padding: 50px 0 60px; }
footer .stripes { margin-bottom: 26px; }
footer .fnote { font-size: 0.92rem; color: var(--muted); font-style: italic; }
footer .fnote a { font-style: normal; }
footer .copy { font-size: 0.8rem; color: var(--muted); margin-top: 18px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(22, 20, 18, 0.94);
  display: none; align-items: center; justify-content: center; padding: 26px;
}
.lightbox.open { display: flex; }
.lb-inner {
  background: var(--bg); max-width: 760px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; max-height: 88vh;
}
.lb-art { background: var(--paper); }
.lb-art svg { width: 100%; height: 100%; display: block; }
.lb-info { padding: 36px 32px; position: relative; overflow-y: auto; }
.lb-info .sec-label { margin-bottom: 14px; }
.lb-info h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 4px; }
.lb-info .by { color: var(--muted); margin-bottom: 20px; }
.lb-info .story { font-size: 0.98rem; margin-bottom: 20px; }
.lb-info dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 18px; font-size: 0.9rem; }
.lb-info dt { color: var(--muted); }
.lb-info dd { font-weight: 700; }
.lb-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border: 1px solid #16141233;
  background: var(--bg); cursor: pointer; font-size: 1rem; color: var(--ink);
}
.lb-close:hover { background: var(--paper); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { flex-direction: column; gap: 18px; }
  .menu { flex-direction: row; align-items: center; gap: 16px; }
  .event { grid-template-columns: 1fr; gap: 6px; }
  .lb-inner { grid-template-columns: 1fr; overflow-y: auto; }
}
