/* Noot van de auteur — gedeelde stijl
   Palet: papier #F2ECDD, inkt #201D18, mosterd #E1A22E, petrol #2E6E6B, baksteen #B4452F, potlood #9C9587
*/

:root {
  --paper: #F2ECDD;
  --paper-line: #DED2B0;
  --ink: #201D18;
  --ink-soft: #4A4339;
  --mustard: #E1A22E;
  --petrol: #2E6E6B;
  --brick: #B4452F;
  --pencil: #9C9587;
  --display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --body: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --mono: "Courier New", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }

/* ---------- Notebook binding motif ---------- */
.binding {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 34px;
  background: linear-gradient(90deg, #e7dcc0 0 26px, transparent 26px);
  border-right: 2px dashed var(--pencil);
  z-index: 1;
}

.binding .hole {
  position: absolute;
  left: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--pencil);
}

/* ---------- Layout ---------- */
.page {
  margin-left: 34px;
  min-height: 100vh;
  padding: 56px 40px 80px 56px;
  max-width: 780px;
}

header.site-head {
  margin-bottom: 48px;
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brick);
}

h1.site-title {
  font-family: var(--display);
  font-size: 52px;
  line-height: 1.05;
  margin: 6px 0 10px;
  color: var(--ink);
  font-weight: 700;
}

h1.site-title em {
  font-style: normal;
  color: var(--petrol);
  text-decoration: underline wavy var(--mustard) 2px;
  text-underline-offset: 6px;
}

.site-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 54ch;
  line-height: 1.5;
}

/* ---------- Footnote list ---------- */
ol.notes {
  list-style: none;
  margin: 0;
  padding: 0;
}

ol.notes li {
  position: relative;
  padding: 22px 0 22px 54px;
  border-top: 1px solid var(--paper-line);
}

ol.notes li:last-child { border-bottom: 1px solid var(--paper-line); }

.note-num {
  position: absolute;
  left: 0;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.note-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.note-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

a.note-link:hover .note-title { color: var(--petrol); }

.note-teaser {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 8px;
  max-width: 56ch;
  line-height: 1.5;
}

.note-open {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brick);
  text-transform: uppercase;
}

.note-open::after { content: " →"; }

footer.site-foot {
  margin-top: 56px;
  font-size: 13px;
  color: var(--pencil);
  border-top: 1px dotted var(--paper-line);
  padding-top: 16px;
}

/* ---------- Poem page ---------- */
body.poem-body {
  background:
    repeating-linear-gradient(
      var(--paper) 0px, var(--paper) 31px, var(--paper-line) 32px
    );
}

.poem-wrap {
  margin-left: 34px;
  min-height: 100vh;
  padding: 56px 48px 80px 56px;
  max-width: 680px;
  position: relative;
}

.close-btn {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 5;
  background: var(--brick);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}

.close-btn:hover { background: #9c3a26; }
.close-btn:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }

.poem-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 8px;
}

h1.poem-title {
  font-family: var(--display);
  font-size: 40px;
  margin: 0 0 28px;
  color: var(--ink);
  border-left: 4px solid var(--mustard);
  padding-left: 16px;
}

.poem-text {
  font-family: var(--display);
  font-size: 19px;
  line-height: 32px;
  white-space: pre-wrap;
  color: var(--ink);
}

.poem-sign {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--pencil);
}

@media (max-width: 640px) {
  .page, .poem-wrap { margin-left: 0; padding-left: 24px; padding-right: 24px; }
  .binding { display: none; }
  h1.site-title { font-size: 38px; }
  h1.poem-title { font-size: 30px; }
}
