:root {
  --papier: #f7f4ef;
  --inkt: #241f1b;
  --inkt-zacht: #4a423b;
  --inkt-grijs: #5a5148;
  --inkt-flets: #6b625a;

  --accent: #8b3f5e;
  --accent-diep: #6d2c48;
  --accent-licht: #a86b83;
  --goud: #c9a678;

  --mono-kleur: #8a8178;
  --mono-flets: #b3a99e;
  --selectie: #eee7db;

  --lijn: rgb(36 31 27 / 0.1);
  --lijn-half: rgb(36 31 27 / 0.14);
  --lijn-sterk: rgb(36 31 27 / 0.16);
  --lijn-invoer: rgb(36 31 27 / 0.22);

  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maat-label: 12.5px;
  --maat-mono: 11px;
  --maat-mono-groot: 12px;
  --maat-pijl: 13px;
  --maat-sterren: 15px;
  --maat-noot: 17px;
  --maat-terzijde: 18px;
  --maat-invoer: 19px;
  --maat-lopend: clamp(17px, 1.9vw, 19px);
  --maat-bijschrift: clamp(17px, 2vw, 20px);
  --maat-intro: clamp(18px, 2.1vw, 20px);
  --maat-ruim: clamp(18px, 2.2vw, 21px);
  --maat-kaart: clamp(20px, 2.4vw, 24px);
  --maat-citaat: clamp(20px, 2.5vw, 23px);
  --maat-maand: clamp(20px, 2.6vw, 25px);
  --maat-nadruk: clamp(21px, 3vw, 27px);
  --maat-tussentitel: clamp(22px, 2.8vw, 26px);
  --maat-ondertitel: clamp(22px, 3.4vw, 30px);
  --maat-naam: clamp(25px, 3.3vw, 30px);
  --maat-jaarmerk: clamp(30px, 4vw, 40px);
  --maat-posttitel: clamp(32px, 5vw, 46px);
  --maat-dag: clamp(40px, 6vw, 58px);
  --maat-paginatitel: clamp(40px, 7vw, 62px);
  --maat-titel: clamp(52px, 9vw, 92px);
  --maat-deeljaar: clamp(78px, 15vw, 150px);

  --breedte: 1000px;
  --marge: 80px;
  --datumkolom: 116px;
  --geut: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--serif);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--selectie);
}

a {
  color: var(--accent);
  text-decoration-color: rgb(139 63 94 / 0.3);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-diep);
  text-decoration-color: rgb(139 63 94 / 0.8);
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.verborgen-tekst {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.opschrift {
  display: block;
  margin-left: -0.084em;
  font-family: var(--mono);
  font-size: var(--maat-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mono-kleur);
}

.streep {
  flex: 1;
  height: 1px;
  background: var(--lijn-half);
}

.ster {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: none;
  color: var(--goud);
  vertical-align: baseline;
}

.sterren {
  display: flex;
  justify-content: center;
  gap: 1.1em;
  margin: clamp(80px, 12vw, 170px) 0;
  font-size: var(--maat-sterren);
}

.pagina {
  max-width: var(--breedte);
  margin: 0 auto;
  padding-inline: var(--marge);
}

.raster {
  display: grid;
  grid-template-columns: var(--datumkolom) 1fr;
  gap: 0 var(--geut);
}

.raster > .inspring {
  grid-column: 2;
}

.terug {
  position: fixed;
  inset: 0 0 auto 0;
  padding-block: 26px;
  z-index: 20;
  pointer-events: none;
}

.terug a {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--maat-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-kleur);
  text-decoration: none;
  pointer-events: auto;
}

.terug a:hover {
  color: var(--accent);
}

.cover {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: clamp(70px, 11vw, 130px);
}

.cover__kop {
  display: flex;
  align-items: flex-start;
  padding-bottom: clamp(56px, 9vw, 110px);
}

.cover__aanhef {
  margin-bottom: 44px;
}

.titel {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--maat-titel);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--accent);
  margin: 0;
}

.titel__ster {
  display: inline-block;
  font-size: 0.4em;
  vertical-align: 0.62em;
  margin-left: 0.4em;
}

.ondertitel {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: var(--maat-ondertitel);
  line-height: 1.3;
  color: var(--accent-licht);
  margin: 22px 0 0;
}

.cover__midden {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
  align-content: start;
}

.cover__intro {
  font-size: var(--maat-intro);
  line-height: 1.85;
  margin: 0;
  text-wrap: pretty;
}

.cover__inhoud {
  margin-top: clamp(0px, 14vw, 150px);
}

.cover__inhoud .opschrift {
  margin-bottom: 22px;
}

.cover__voet {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 70px 0 46px;
  gap: 24px;
}

.cover__voet a,
.cover__voet span {
  font-family: var(--mono);
  font-size: var(--maat-label);
  letter-spacing: 0.16em;
  color: var(--mono-kleur);
  text-decoration: none;
}

.cover__voet a:hover {
  color: var(--accent);
}

.cover__voet span {
  color: var(--mono-flets);
}

.jaarlijst {
  display: flex;
  flex-direction: column;
}

.jaarlijst--rand {
  border-top: 1px solid var(--lijn);
}

.jaarlijst a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  text-decoration: none;
  color: var(--inkt);
  border-bottom: 1px solid var(--lijn);
}

.jaarlijst a:hover {
  color: var(--accent);
}

.jaarlijst__rel {
  font-family: var(--mono);
  font-size: var(--maat-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-kleur);
  width: 106px;
  flex: none;
  white-space: nowrap;
}

.jaarlijst__jaar {
  font-family: var(--serif);
  font-size: var(--maat-naam);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.jaarlijst__aantal {
  font-family: var(--mono);
  font-size: var(--maat-mono);
  letter-spacing: 0.08em;
  color: var(--mono-kleur);
  flex: none;
}

.deelkop {
  padding: clamp(96px, 13vw, 140px) 0 clamp(70px, 11vw, 130px);
}

.deelkop__label {
  margin-bottom: 30px;
}

.deelkop__jaar {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--maat-deeljaar);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--accent);
}

.deelkop__samenvatting {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 46px;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-ruim);
  color: var(--inkt-grijs);
}

.deelkop__samenvatting::before {
  content: "";
  height: 1px;
  width: clamp(50px, 12vw, 120px);
  flex: none;
  background: var(--lijn-sterk);
}

.deelinhoud {
  padding-bottom: clamp(120px, 20vw, 200px);
}

.nu {
  padding-top: clamp(56px, 9vw, 90px);
  margin-bottom: 64px;
}

.jaarmerk {
  display: flex;
  align-items: baseline;
  gap: 20px;
  scroll-margin-top: 40px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--maat-jaarmerk);
  letter-spacing: -0.03em;
  color: var(--accent);
}

.post {
  scroll-margin-top: 90px;
}

.post + .post {
  margin-top: clamp(90px, 14vw, 170px);
}

.post__datum {
  text-align: right;
  padding-top: 10px;
}

.post__dag {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--maat-dag);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.post__maand {
  font-family: var(--serif);
  font-size: var(--maat-maand);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-top: 6px;
}

.post__datum::after {
  content: "";
  display: block;
  height: 1px;
  width: 46px;
  margin: 20px 0 0 auto;
  background: var(--lijn-half);
}

.post__titel {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--maat-posttitel);
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 clamp(40px, 7vw, 68px);
  max-width: 20em;
}

.post__titel a {
  color: inherit;
  text-decoration: none;
}

.blok + .blok {
  margin-top: 34px;
}

.blok--tussentitel + .blok,
.blok--citaat + .blok {
  margin-top: 44px;
}

.blok p {
  font-size: var(--maat-lopend);
  line-height: 1.85;
  margin: 0 0 34px;
  text-wrap: pretty;
}

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

.blok--eerste p:first-child::first-letter {
  font-size: 3.6em;
  line-height: 0.84;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-weight: 400;
}

.afgeschermd {
  background: var(--inkt);
  color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 1px 4px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.afgeschermd.getoond {
  background: rgb(201 166 120 / 0.28);
  color: var(--inkt);
}

.blok--tussentitel {
  margin-top: clamp(56px, 9vw, 96px);
}

.tussentitel {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--maat-tussentitel);
  letter-spacing: -0.018em;
}

.tussentitel--kaal {
  margin: 0 0 20px;
}

.tussentitel__cijfer {
  font-family: var(--mono);
  font-size: var(--maat-mono);
  letter-spacing: 0.14em;
  color: var(--goud);
  flex: none;
}

.blok--citaat {
  margin: 0;
}

.blok--citaat p {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-citaat);
  line-height: 1.6;
  color: var(--inkt-zacht);
  max-width: 24em;
}

.blok--citaat.blok--nadruk p {
  font-size: var(--maat-nadruk);
  line-height: 1.5;
  color: var(--accent);
}

.beeld {
  margin: clamp(60px, 10vw, 100px) 0 0;
}

.beeld a {
  display: block;
  text-decoration: none;
}

.beeld img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--selectie);
  cursor: zoom-in;
}

.pswp {
  --pswp-bg: #1a1613;
  --pswp-icon-color: #f7f4ef;
  --pswp-icon-color-secondary: #1a1613;
  --pswp-error-text-color: #f7f4ef;
}

.beeld--strook .beeld__rij {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 520px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: 12px;
}

.beeld--strook .beeld__rij > * {
  scroll-snap-align: start;
}

.beeld figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-bijschrift);
  line-height: 1.6;
  color: var(--inkt-grijs);
  margin-top: 22px;
}

.blok--muziek {
  margin-top: clamp(56px, 9vw, 96px);
}

.muziek__opschrift {
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}

.muziek__link {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
}

.muziek__link:hover {
  color: var(--accent);
}

.muziek__hoes {
  width: 80px;
  height: 80px;
  flex: none;
  object-fit: cover;
  background: var(--selectie);
}

.muziek__titel {
  display: block;
  font-family: var(--serif);
  font-size: var(--maat-kaart);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.muziek__wie {
  display: block;
  font-family: var(--serif);
  font-size: var(--maat-terzijde);
  color: var(--inkt-flets);
  margin-top: 3px;
}

.muziek__pijl {
  font-family: var(--mono);
  font-size: var(--maat-pijl);
  color: var(--mono-flets);
  flex: none;
}

.muziek__notitie p {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-noot);
  line-height: 1.6;
  color: var(--inkt-grijs);
  margin: 22px 0 0;
  max-width: 34em;
}

.over {
  padding: clamp(120px, 18vw, 190px) 0 clamp(120px, 18vw, 200px);
}

.over__titel {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--maat-paginatitel);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--accent);
  margin: 0 0 14px;
}

.over__ondertitel {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-nadruk);
  line-height: 1.45;
  color: var(--accent-licht);
  margin: 0 0 clamp(56px, 9vw, 90px);
}

.over__tekst {
  max-width: 26em;
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-size: var(--maat-ruim);
  line-height: 1.75;
}

.over__tekst p {
  margin: 0;
}

.over__tekst--vervolg {
  margin-top: clamp(56px, 9vw, 90px);
}

.over__nadruk {
  font-style: italic;
  color: var(--accent);
}

.over__uitstap {
  margin: clamp(56px, 9vw, 90px) 0 0;
  margin-left: clamp(0px, -8vw + 40px, 0px);
  font-family: var(--serif);
  font-size: var(--maat-citaat);
  line-height: 1.85;
  max-width: 24em;
}

.over__slot {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-top: 80px;
}

.over__slot::before {
  content: "";
  height: 1px;
  width: 60px;
  flex: none;
  background: var(--lijn-sterk);
}

.over__slot p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-nadruk);
  line-height: 1.5;
  color: var(--accent);
}

.slotregel {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-citaat);
  line-height: 1.6;
  color: var(--inkt-grijs);
  margin: 0 0 40px;
  max-width: 22em;
}

.deelslot {
  margin-top: clamp(110px, 20vw, 190px);
}

.naarboven {
  margin: 46px 0 0;
}

.naarboven a {
  font-family: var(--mono);
  font-size: var(--maat-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-kleur);
  text-decoration: none;
}

.naarboven a:hover {
  color: var(--accent);
}

.voet {
  border-top: 1px solid rgb(36 31 27 / 0.12);
  margin-top: 40px;
}

.voet .pagina {
  padding-block: clamp(56px, 9vw, 84px) clamp(64px, 10vw, 96px);
}

.voet__wie {
  display: block;
  text-decoration: none;
  color: inherit;
}

.voet__zin {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--maat-citaat);
  line-height: 1.5;
  color: var(--accent-licht);
  margin: 0;
}

.voet__naam {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--maat-naam);
  letter-spacing: -0.025em;
  color: var(--inkt);
  margin: 6px 0 0;
}

.voet__wie:hover .voet__naam {
  color: var(--accent);
}

.voet__mail {
  font-family: var(--serif);
  font-size: var(--maat-intro);
  margin: 44px 0 0;
}

@media (max-width: 900px) {
  :root {
    --marge: 24px;
  }

  .raster {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .raster > .inspring {
    grid-column: 1;
  }

  .cover__midden {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .cover__inhoud {
    margin-top: 0;
  }

  .terug {
    padding-block: 18px;
  }

  .post__datum {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
    padding-top: 0;
    margin-bottom: 22px;
  }

  .post__dag {
    font-size: 40px;
  }

  .post__datum::after {
    margin: 0 0 0 10px;
    flex: 1;
    align-self: center;
  }

  .beeld--strook .beeld__rij {
    grid-auto-columns: 86%;
  }
}

@media (max-width: 520px) {
  .jaarlijst--rand a {
    flex-wrap: wrap;
  }

  .jaarlijst__rel {
    width: 100%;
  }

  .jaarlijst--rand .streep {
    display: none;
  }
}

.werkblad {
  padding: clamp(110px, 16vw, 170px) var(--marge) 140px;
}

.werkblad--smal {
  max-width: 480px;
}

.formulier {
  margin-top: 40px;
}

.werkbalk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  border-top: 1px solid var(--lijn);
  padding-top: 26px;
}

/* Rechts uitgelijnd, want de stand hoort bij de knop erboven — en met
   ruimte eronder, anders plakt hij tegen de lijst met posts. */
.publicatie {
  max-width: 30em;
  margin: 12px 0 clamp(40px, 6vw, 64px) auto;
  text-align: right;
}

.publicatie__stand {
  margin: 5px 0 0;
  font-family: var(--mono);
  font-size: var(--maat-mono);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--mono-kleur);
}

.publicatie__stand code {
  font-family: var(--mono);
  color: var(--inkt-grijs);
}

.veld {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 22px;
}

.veld label {
  font-family: var(--mono);
  font-size: var(--maat-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mono-kleur);
}

.veld input[type="text"],
.veld input[type="url"],
.veld input[type="email"],
.veld input[type="password"],
.veld input[type="date"],
.veld select,
.veld textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--lijn-invoer);
  background: transparent;
  padding: 10px 0;
  font-family: var(--serif);
  font-size: var(--maat-invoer);
  color: var(--inkt);
}

.veld textarea {
  border: 1px solid rgb(36 31 27 / 0.18);
  padding: 14px 16px;
  line-height: 1.7;
  resize: vertical;
}

.veld input:focus,
.veld select:focus,
.veld textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.veld[hidden] {
  display: none;
}

.hint,
.fout {
  font-family: var(--mono);
  font-size: var(--maat-mono);
  letter-spacing: 0.04em;
  color: var(--mono-kleur);
}

.fout {
  color: var(--accent);
}

.kop-velden {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 32px;
  align-items: end;
  margin-bottom: 60px;
}

.kop-velden .veld--titel {
  grid-column: 1 / -1;
}

.kop-velden .veld--gepubliceerd {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.blokform {
  border: 0;
  border-top: 1px solid var(--lijn);
  margin: 0;
  padding: 26px 0 8px;
}

.blokform__balk {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.blokform__balk select {
  width: auto;
  border-bottom: 0;
  font-family: var(--mono);
  font-size: var(--maat-mono-groot);
  letter-spacing: 0.1em;
  padding: 4px 0;
}

.blokform__nummer {
  min-width: 62px;
}

.blokform__weg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: var(--maat-mono);
  letter-spacing: 0.1em;
  color: var(--mono-kleur);
}

.blokform__beelden {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.blokform__beelden img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  background: var(--selectie);
}

.blok-toevoegen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 60px;
  border-top: 1px solid var(--lijn);
  padding-top: 26px;
}

.knop {
  display: inline-block;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--maat-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  cursor: pointer;
}

.knop:hover {
  background: var(--accent);
  color: var(--papier);
}

.knop--stil {
  border-color: var(--lijn-sterk);
  color: var(--mono-kleur);
}

.knop--stil:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.knop--vol {
  background: var(--accent);
  color: var(--papier);
}

.knop--vol:hover {
  background: var(--accent-diep);
  border-color: var(--accent-diep);
}

.knop--bezig {
  border-color: var(--lijn-sterk);
  color: var(--mono-kleur);
  cursor: default;
}

.knop--klein {
  padding: 6px 10px;
  letter-spacing: 0;
  border-color: var(--lijn-sterk);
  color: var(--mono-kleur);
}

.formulier__voet {
  display: flex;
  align-items: center;
  gap: 24px;
}

.formulier__pad {
  font-family: var(--mono);
  font-size: var(--maat-mono);
  letter-spacing: 0.1em;
}

.formulier--gevaar {
  margin-top: 70px;
  border-top: 1px solid var(--lijn);
  padding-top: 26px;
}

@media (max-width: 900px) {
  .kop-velden {
    grid-template-columns: 1fr;
  }
}

@media print {
  .terug,
  .voet {
    display: none;
  }

  .afgeschermd {
    background: none;
    color: var(--inkt);
  }
}
