/* Sprookjesbos Notes — Anton-Pieck-inspired editorial */
:root {
  --bg: #fcf5ed;
  --paper: #f6ecd9;
  --ink: #1f2a26;
  --ink-soft: #4a5651;
  --green: #2c4a3e;
  --green-soft: #5e7a6c;
  --gold: #bc955c;
  --sienna: #b25e2e;
  --rule: #d8c8a8;
  --serif: 'Iowan Old Style', 'Palatino', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.66;
  font-feature-settings: 'kern', 'liga', 'onum';
}
a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sienna); }
img { max-width: 100%; height: auto; display: block; }

.site {
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(252, 245, 237, 0.92);
}
.site__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--green); }
.brand__crest { color: var(--gold); font-size: 1.5rem; line-height: 1; }
.brand__name { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.01em; font-style: italic; }
.nav { display: flex; gap: 1.6rem; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav a:hover, .nav a.current { color: var(--sienna); }

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
}
.hero::before, .hero::after {
  content: '❦';
  color: var(--gold);
  font-size: 1.6rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
}
.hero::before { left: 8%; }
.hero::after { right: 8%; }
.hero__inner { max-width: 760px; margin: 0 auto; }
.hero__kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 1.8rem;
  color: var(--green);
}
.hero h1 em { color: var(--sienna); font-style: italic; }
.hero__lede {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 620px;
  margin: 0 auto 1.6rem;
}
.hero__byline {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.section--narrow { max-width: 740px; }
.section--essays { padding-top: 3rem; }
.section--quote { padding: 3rem 1.5rem 5rem; }
.section__kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sienna);
  margin: 0 0 0.6rem;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  font-weight: 500;
  color: var(--green);
  margin: 0 0 0.8rem;
}
.section__lede {
  font-size: 1.04rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 2.4rem;
}

.plate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.7rem;
}
.plate {
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.plate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,42,38,0) 55%, rgba(31,42,38,0.78) 100%);
  z-index: 1;
}
.plate.tall { grid-row: span 2; }
.plate.wide { grid-column: span 2; }
.plate:hover { transform: scale(0.985); }
.plate__label {
  position: absolute;
  bottom: 0.9rem;
  left: 1rem;
  right: 1rem;
  color: var(--bg);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.plate__num {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.plate__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.2;
}

.essay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.essay-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.essay-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(31,42,38,0.08); }
.essay-card__thumb { aspect-ratio: 3 / 2; background-size: cover; background-position: center; }
.essay-card__txt { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; gap: 0.55rem; }
.essay-card__meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  gap: 0.5rem;
}
.essay-card__num { color: var(--sienna); }
.essay-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 0;
  color: var(--green);
  font-weight: 500;
}
.essay-card p { font-size: 0.96rem; line-height: 1.55; color: var(--ink); margin: 0; flex: 1; }
.essay-card__tags {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.4rem;
}

.pull {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.4;
  color: var(--green);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2.4rem 0;
  text-align: center;
}
.pull cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1.2rem;
}

.post-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.post-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: sepia(0.18) brightness(0.86);
}
.post-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(252,245,237,0.96) 0%, rgba(252,245,237,0.4) 60%, rgba(252,245,237,0) 100%);
}
.post-hero__inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  width: 100%;
  z-index: 2;
}
.post-hero__kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sienna);
  margin: 0 0 1rem;
}
.post-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 500;
  color: var(--green);
  margin: 0 0 1.4rem;
  max-width: 800px;
}
.post-hero__meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-size: 1.08rem;
  line-height: 1.72;
}
.post-body > p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4.4rem;
  float: left;
  line-height: 0.88;
  padding: 0.4rem 0.6rem 0 0;
  color: var(--sienna);
  font-weight: 500;
}
.post-body p { margin: 0 0 1.3rem; }
.post-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--green);
  margin: 2.6rem 0 0.9rem;
  font-weight: 500;
  font-style: italic;
}
.post-body h2::before {
  content: '❦ ';
  color: var(--gold);
  opacity: 0.65;
  font-style: normal;
}
.post-body blockquote {
  border-left: 2px solid var(--sienna);
  margin: 2rem 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-style: italic;
  font-size: 1.18rem;
  color: var(--green);
}
.post-body ul, .post-body ol { margin: 1.1rem 0 1.6rem; padding-left: 1.4rem; }
.post-body li { margin-bottom: 0.55rem; }
.post-body em { color: var(--sienna); font-style: italic; }
.post-body strong { color: var(--green); }

.related {
  max-width: 720px;
  margin: 0 auto 4rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--rule);
}
.related h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sienna);
  margin: 0 0 1rem;
  font-weight: 700;
}
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin: 0.4rem 0; }
.related a {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  text-decoration: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--green);
}
.related a:hover { color: var(--sienna); }
.related .arrow { color: var(--sienna); }

.bio {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.2rem;
  margin: 2rem 0 3rem;
}
.bio__portrait {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rule);
  filter: sepia(0.15);
}
.bio__lede { font-size: 1.12rem; color: var(--green); margin: 0 0 1.4rem; font-style: italic; }
.about__h {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--green);
  margin: 2.4rem 0 0.8rem;
  font-style: italic;
  font-weight: 500;
}
.about__ul { padding-left: 1.4rem; }
.about__ul li { margin-bottom: 0.55rem; }

.foot {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding: 4rem 1.5rem 2rem;
}
.foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.4rem;
}
.foot__col h4, .foot__col--lead h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sienna);
  margin: 0 0 1rem;
  font-weight: 700;
}
.foot__col--lead .brand__crest { font-size: 1.6rem; color: var(--gold); display: inline-block; margin-bottom: 0.4rem; }
.foot__col--lead p { font-size: 0.96rem; line-height: 1.6; color: var(--ink); margin: 0; }
.foot__col ul { list-style: none; padding: 0; margin: 0; }
.foot__col li { margin: 0.35rem 0; }
.foot__col a { color: var(--green); text-decoration: none; font-style: italic; font-size: 1rem; }
.foot__col a:hover { color: var(--sienna); }
.foot__bottom {
  max-width: 1180px;
  margin: 3rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 880px) {
  .plate-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .plate.wide { grid-column: span 2; }
  .plate.tall { grid-row: span 2; }
  .bio { grid-template-columns: 1fr; }
  .bio__portrait { width: 60%; max-width: 240px; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .hero::before, .hero::after { display: none; }
}
@media (max-width: 520px) {
  .foot__inner { grid-template-columns: 1fr; }
  .nav { gap: 1rem; }
  .nav a { font-size: 0.72rem; letter-spacing: 0.14em; }
  .plate-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .plate.wide, .plate.tall { grid-column: auto; grid-row: auto; }
}
