/* jeroen.se — Editorial Minimal Stylesheet */
:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --ink: #1b1d21;
  --muted: #5a6069;
  --rule: #e4e1da;
  --accent: #2c4a3e;
  --accent-soft: #eef3f0;
  --radius: 10px;
  --max: 860px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131518;
    --surface: #1a1d22;
    --ink: #eae8e3;
    --muted: #9aa0a8;
    --rule: #282c33;
    --accent: #8cb8a5;
    --accent-soft: #1d2924;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { opacity: 0.8; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Navigation */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover, .nav a.active {
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
}
.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.hero h1 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.18;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

/* Sections */
section {
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
}
section:last-of-type { border-bottom: none; }

h2 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 28px 0 10px;
  font-weight: 600;
}
section > h3:first-of-type { margin-top: 0; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 36px;
  align-items: start;
}
.side-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  display: block;
}
.caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card h4 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}
.card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* Archive / Credential Lists */
.list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--rule);
}
.list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.list .title { font-weight: 500; }
.list .meta {
  font-size: 14px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.list .where {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

/* Wolf Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.gallery figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery figcaption {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
}

.more-link {
  margin-top: 20px;
  font-size: 15px;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 44px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 36px; gap: 20px; }
  .hero-avatar { width: 92px; height: 92px; }
  .about-grid, .grid-2, .gallery { grid-template-columns: 1fr; }
  .list li { flex-direction: column; gap: 2px; }
  .list .meta { text-align: left; }
}
