/* ═══════════════════════════════════════════════════════════════
   STIJL 5 — Terminal
   Retro CRT: fosforgroen op zwart, monospace, knipperende cursor
   ═══════════════════════════════════════════════════════════════ */

:root {
  --accent: #33ff66;          /* fosforgroen */
  --text: #c8f5d0;
  --muted: #4d9e63;
  --bg: #0a0f0a;
  --line: #1c3a24;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background:
    repeating-linear-gradient(0deg, rgba(51, 255, 102, 0.025) 0 1px, transparent 1px 3px),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / hero ── */
.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero-kicker::before { content: "> "; color: var(--accent); }

.hero-kicker {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1::after {
  content: "█";
  animation: blink 1.1s steps(1) infinite;
  color: var(--accent);
  margin-left: 4px;
  font-weight: 400;
}

@keyframes blink { 50% { opacity: 0; } }

.tagline {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--text);
}

.tagline::before { content: "$ role: "; color: var(--muted); }

.location {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.location::before { content: "$ loc: "; color: var(--muted); }

.cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  font-family: var(--mono);
  background: transparent;
  color: var(--accent);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn::before { content: "> "; }

.btn:hover { background: var(--accent); color: #000; }

/* ── Sections ── */
.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: lowercase;
}

.section h2::before { content: "$ "; }
.section h2::after { content: " —"; color: var(--muted); }

.sec-num {
  color: var(--muted);
  margin-right: 8px;
  font-weight: 400;
}

.section p + p { margin-top: 12px; }
.section p a { color: var(--accent); }

.muted { color: var(--muted); }
.lead { font-size: 1.02rem; }

/* ── Werkervaring ── */
.job {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  padding: 18px 20px;
  background: rgba(51, 255, 102, 0.02);
}

.job-head { margin-bottom: 10px; }

.job h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.job h3::before { content: "▪ "; color: var(--accent); }

.job-meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 3px;
}

.job-meta::before { content: "# "; }

.job ul {
  padding-left: 20px;
  list-style: none;
}

.job li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.job li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.job-todo {
  border-style: dashed;
  background: none;
}

/* ── Vaardigheden ── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.skills-grid h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.skills-grid h3::before { content: "## "; color: var(--muted); }

.skills-grid h3.sub { margin-top: 22px; }

.skills-list {
  list-style: none;
}

.skills-list li {
  padding: 3px 0 3px 16px;
  position: relative;
}

.skills-list li::before {
  content: "[+]";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85em;
}

/* ── Contact ── */
.contact-list {
  list-style: none;
  margin: 18px 0;
}

.contact-list li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; }

/* ── Footer + stijl-schakelaar ── */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.style-switcher {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.switcher-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-right: 6px;
}

.switcher-label::before { content: "$ stijl: "; }

.switcher-link {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.switcher-link::before { content: "["; color: var(--muted); }
.switcher-link::after { content: "]"; color: var(--muted); }

.switcher-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.switcher-link.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.switcher-link.is-active::before,
.switcher-link.is-active::after { color: #000; }

.footer-note { font-size: 0.82rem; }
.footer-note::before { content: "# "; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 52px 0 36px; }
  .hero h1 { font-size: 1.7rem; }
  .section { padding: 34px 0; }
  .skills-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   Print / "Download CV" — clean A4 CV
   ═══════════════════════════════════════════════════════════════ */
@media print {
  body { font-size: 10.5pt; color: #000; background: #fff; }

  .hero { padding: 0 0 12px; border-bottom: 2px solid #000; }
  .hero-kicker::before { content: none; }
  .hero h1 { font-size: 19pt; color: #000; }
  .hero h1::after { content: none; }
  .tagline::before, .location::before { content: none; }
  .tagline, .location { color: #333; }

  .btn, .style-switcher { display: none !important; }

  .container { max-width: 100%; padding: 0; }

  .section {
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    break-inside: avoid;
  }
  .section h2 { font-size: 11pt; color: #000; }
  .section h2::before, .section h2::after { content: none; }
  .sec-num { color: #000; }

  .job { border: 1px solid #ccc; background: none; }
  .job h3::before, .job-meta::before { content: none; }
  .job-meta { color: #333; }
  .job li::before { content: "•"; color: #000; }

  .skills-grid { display: block; }
  .skills-grid > div { margin-bottom: 8px; }
  .skills-grid h3::before { content: none; }
  .skills-grid h3 { color: #000; }
  .skills-list li { padding: 1px 0 1px 14px; }
  .skills-list li::before { content: "—"; color: #000; }

  .contact-list li { margin-bottom: 2px; }
  .contact-list a { color: #000; text-decoration: none; }

  footer { display: none; }

  a { color: #000; text-decoration: none; }
}
