/* martinschimmel.nl — handgemaakt, geen build step.
   De paarse accentstreep is een knipoog naar purperhart. */

:root {
  --bg: #f6f1e7;
  --surface: #fdfaf3;
  --ink: #2b2418;
  --muted: #6e6353;
  --accent: #2e6b4f;
  --accent-deep: #24523d;
  --wood: #9a6b3f;
  --stripe: #7b4a63;
  --line: #e3d9c6;
  --chip-bg: #efe7d6;
  --shadow: 0 2px 12px rgba(43, 36, 24, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1b16;
    --surface: #26221c;
    --ink: #ede5d5;
    --muted: #a89b84;
    --accent: #86c3a3;
    --accent-deep: #a5d6bb;
    --wood: #c99a68;
    --stripe: #b0788f;
    --line: #3a342a;
    --chip-bg: #322d24;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.1rem); letter-spacing: -0.01em; }

h2 { font-size: 1.65rem; margin-top: 0; }

h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--stripe);
  border-radius: 2px;
}

h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 55rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.mark {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--bg);
  background: var(--accent);
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
}
.mark:hover { background: var(--accent-deep); color: var(--bg); }

.site-header nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--accent); }

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent) !important; }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0 4rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: -0.4rem;
}

.hero-photo { margin: 0; }

.hero-photo img {
  border: 6px solid var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

/* Sections */

section { margin: 4rem 0; }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.callout p { margin: 0; }

/* Werkwijze-lijst */

.principles {
  list-style: none;
  padding: 0;
  margin: 0;
}
.principles li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.7rem;
}
.principles li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--wood);
}

/* Timeline */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 2.2rem 1.75rem;
}
.timeline li:last-child { padding-bottom: 0.5rem; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}

.timeline .period {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.15rem;
}

.timeline h3 { margin-bottom: 0.3em; }
.timeline p { margin-bottom: 0.5em; }

.timeline ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.timeline ul li { padding: 0 0 0.25rem 0; }
.timeline ul li::before { content: none; }

/* Skills */

.skill-group { margin-bottom: 1.5rem; }
.skill-group h3 { margin-bottom: 0.5rem; color: var(--muted); font-size: 1rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chips li {
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.875rem;
}

/* Projecten & certificeringen */

.cards {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cards li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.cards h3 { margin-bottom: 0.3em; }
.cards p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Galerij */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.gallery figure { margin: 0; }

.gallery img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption, .photo-caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Buiten het werk */

.aside-photo {
  float: right;
  width: min(240px, 45%);
  margin: 0.3rem 0 1rem 1.5rem;
}
.aside-photo img {
  border: 5px solid var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

/* Contact */

.contact-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

/* Knoppen */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 1.05rem;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bg); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Tussenpagina (denk aan de bomen) */

.interstitial {
  text-align: center;
  margin: 3rem auto;
  max-width: 40rem;
}
.interstitial img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 1.75rem auto;
}
.interstitial .buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Printbaar CV */

.cv-header {
  border-bottom: 2px solid var(--line);
  padding-bottom: 1.25rem;
  margin: 2.5rem 0 2rem;
}
.cv-header h1 { margin-bottom: 0.2em; }
.cv-header .tagline { margin-bottom: 0; }

.cv-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  padding: 0;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cv section { margin: 2.5rem 0; }

.cv .tools {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer p { margin: 0 0 0.4em; }

/* Responsief */

@media (max-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 1.5rem;
  }
  .hero-photo { max-width: 260px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { aspect-ratio: 3 / 2; }
  section { margin: 3rem 0; }
}

@media print {
  .site-header nav, .site-footer, .aside-photo, .gallery,
  .btn, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  a { color: inherit; text-decoration: none; }
  h1 { font-size: 20pt; }
  h2 { font-size: 14pt; }
  h2::after { background: #888; }
  section, .cv section { margin: 1.25rem 0; }
  .cv-header { margin-top: 0; border-color: #999; }
  .cv-meta, .timeline ul, .cv .tools { color: #333; }
  .timeline { border-color: #bbb; }
  .timeline li { padding-bottom: 1.2rem; }
  .timeline li::before { background: #444; border-color: #fff; }
  .chips li { background: #fff; border-color: #999; }
}
