/* ============================================================================
   Personal web CV — web-en-personal-0001.
   Barest-minimum, responsive single page. System fonts, linked (not inlined).
   Served from Chiel's website next to a copied assets/ folder.
   ============================================================================ */

:root {
  --ink: #1d1d1f;
  --muted: #66686d;
  --accent: #2d3a4a;
  --rule: #e4e4e7;
  --tag-bg: #f1f3f5;
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { font-size: 17px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
  background: #fff;
}

.cv { max-width: var(--maxw); margin: 0 auto; padding: 48px 24px 80px; }

/* --- header ---------------------------------------------------------------- */
.header { display: flex; gap: 22px; align-items: center; margin-bottom: 8px; }
.photo  { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex: none; }
.ident  { min-width: 0; }
.name    { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.role    { font-size: 1.1rem; font-weight: 600; color: var(--accent); margin: 4px 0 0; }
.tagline { color: var(--muted); margin: 4px 0 0; }
.contact { font-size: 0.9rem; color: var(--muted); margin: 10px 0 0; }
.contact__item + .contact__item::before { content: " · "; }
.contact a { color: var(--accent); text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* --- sections -------------------------------------------------------------- */
.section { margin-top: 32px; }
.section__title {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin: 0 0 14px; padding-bottom: 6px;
  border-bottom: 2px solid var(--rule);
}

/* --- roles ----------------------------------------------------------------- */
.role { margin-bottom: 28px; }
.role__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.role__title  { font-size: 1.1rem; font-weight: 600; margin: 0; }
.role__period { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.role__employer { font-size: 0.9rem; font-style: italic; color: var(--muted); margin: 2px 0 8px; }

.role__skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.tag {
  display: inline-block; font-size: 0.78rem; line-height: 1.4;
  color: var(--muted); background: var(--tag-bg);
  border-radius: 4px; padding: 2px 8px;
}

/* --- prose ----------------------------------------------------------------- */
.prose { margin: 0; }
.prose p  { margin: 0 0 10px; }
.prose ul { margin: 8px 0 10px; padding-left: 20px; }
.prose li { margin: 0 0 4px; }

/* --- earlier roles (one-liner + skills, from older_experience) ------------- */
.subhead {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin: 28px 0 14px;
}
.older { margin: 0 0 20px; }
.older__head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.older__period { color: var(--muted); font-size: 0.85rem; }
.older__employer { font-weight: 600; }
.older__body { margin: 4px 0 0; }
.older .role__skills { margin-top: 8px; }

/* --- education / certificates ---------------------------------------------- */
.line { margin: 0 0 6px; }
.line__period { display: inline-block; min-width: 96px; color: var(--muted); font-size: 0.9rem; }

/* --- small screens --------------------------------------------------------- */
@media (max-width: 560px) {
  .cv { padding: 32px 18px 56px; }
  .header { gap: 16px; }
  .photo { width: 80px; height: 80px; }
  .name { font-size: 1.7rem; }
}
