/* ==========================================================================
   paulvanvulpen.com — stylesheet (minimalistische, academische stijl)

   OPBOUW
   1. Tokens
   2. Reset / basis
   3. Layout: topnav + profielkolom + inhoudskolom
   4. Componenten (platte lijsten)
   5. Responsive
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------ */
:root {
  --paper: #FFFFFF;
  --ink:   #1A1A1A;
  --slate: #666666;
  --line:  #E4E4E4;
  --accent: #1F6F63; /* enige kleur op de site: links en accenten */

  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --profile-width: 220px;
  --content-max: 640px;
}

/* 2. RESET / BASIS ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

/* 3. LAYOUT --------------------------------------------------------------- */

/* dunne navigatiebalk, volledige breedte, boven alles */
.topnav {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1.5rem;
}
.topnav__list {
  list-style: none;
  margin: auto; 
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  max-width: 960px;
}
.topnav__list a {
  color: var(--ink);
  font-size: 0.9rem;
}
.topnav__list a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

/* twee kolommen: smalle profielkolom + brede inhoudskolom */
.layout {
  display: flex;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  align-items: flex-start;
}

.profile {
  width: var(--profile-width);
  flex-shrink: 0;
}
.profile__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #F2F2F2;
  border: 1px solid var(--line);
  display: block;
  margin-bottom: 0.9rem;
}
.profile__name { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.15em; }
.profile__role { font-size: 0.88rem; color: var(--slate); margin: 0 0 0.9em; }
.profile__location {
  font-size: 0.82rem;
  color: var(--slate);
  margin: 0 0 1rem;
}
.profile__links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.profile__links a { font-size: 0.85rem; }

.content { flex: 1; min-width: 0; max-width: var(--content-max); }

/* 4. COMPONENTEN: platte lijsten (research, projecten, publicaties) ------- */
.plain-list {
  list-style: none;
  margin: 0; padding: 0;
}
.plain-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.plain-list li:last-child { border-bottom: none; }
.plain-list .meta { color: var(--slate); font-size: 0.85rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin: 2rem 0 0.75rem;
}
.section-label:first-of-type { margin-top: 0; }

.content h2 { margin-top: 1.4rem; font-size: 1rem; color: var(--slate); }
.content h2:first-of-type { margin-top: 0.5rem; }

.page-footer {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--slate);
}

/* 5. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 680px) {
  .layout { flex-direction: column; gap: 2rem; }
  .profile { width: 100%; }
  .profile__links { flex-direction: row; flex-wrap: wrap; gap: 0.9rem; }
}
