:root {
  --paper: #f4f2ed;
  --ink:   #231f20;   /* de inkt van het woordmerk zelf */
  --line:  #231f20;
  --faint: #cfcac0;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------- kop ---------- */

.top {
  min-height: 86svh;
  padding: max(8vh, 3rem) 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  text-align: center;
}

.wordmark {
  display: block;
  width: min(74vw, 440px);
  height: auto;
  color: var(--ink);
}

.lead {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(1.0625rem, 3.6vw, 1.3125rem);
  line-height: 1.45;
  text-wrap: balance;
}

/* ---------- blokken ---------- */

main { padding: 0 1.5rem; }

.block {
  max-width: 58ch;
  margin: 0 auto;
  padding: 3.25rem 0;
  border-top: 1px solid var(--faint);   /* haarlijn */
}

.block > h2 {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.block > p { margin: 0 0 1.25rem; }
.block > p:last-child { margin-bottom: 0; }

.succession p { font-size: 1.0625rem; }

/* ---------- wat je leert ---------- */

.learn { margin: 0; }

.learn dt {
  margin: 1.5rem 0 0.25rem;
  font-weight: 600;
}
.learn dt:first-child { margin-top: 0; }

.learn dd {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--faint);
}

/* ---------- beeld ---------- */

.shots {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 1fr;   /* op de telefoon vol breed, niet twee postzegels */
  gap: 0.75rem;
}

@media (min-width: 34rem) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shots.one { grid-template-columns: 1fr; }
}

.shots img,
.shots video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--faint);
}

.film .shots { margin-top: 0; }

.film .shots { margin-bottom: 2.25rem; }
.film .shots:last-of-type { margin-bottom: 0; }

figcaption {
  margin: 0.6rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.55;
}

/* het beeld blijft binnen de kolom: op de laptop was het te groot */

/* ---------- voet ---------- */

footer {
  max-width: 58ch;
  margin: 0 auto;
  padding: 3.25rem 1.5rem calc(4rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--faint);
  text-align: center;
}

.contact { margin: 0 0 0.75rem; }

.contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);   /* haarlijn, geen ronde hoeken */
  padding-bottom: 2px;
}
.contact a:hover { background: var(--ink); color: var(--paper); }

.fine {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.55;
}

/* ---------- donker ---------- */

@media (prefers-color-scheme: dark) {
  :root { --paper: #1a1818; --ink: #efece6; --line: #efece6; --faint: #3a3634; }
}

.elsewhere { margin: 0 0 0.75rem; font-size: 0.9375rem; }

.elsewhere a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--faint);
  padding-bottom: 2px;
}
.elsewhere a:hover { border-color: var(--line); }

/* ---------- diavoorstelling ---------- */

.slides { margin: 2rem 0 0; }

.stage figure { margin: 0; }

.stage img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--faint);
}

.stage figcaption {
  margin: 0.6rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}

.slide-bar {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.slide-bar button {
  font: inherit;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: 1px solid var(--faint);   /* haarlijn, geen ronde hoeken */
  border-radius: 0;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  min-width: 44px;                  /* op de telefoon te raken */
  min-height: 44px;
}

.slide-bar button:hover { border-color: var(--line); }
.slide-bar button:active { background: var(--ink); color: var(--paper); }

.slide-bar span { opacity: 0.55; }
