/*
Theme Name: Schoutrub CV
Theme URI: https://schoutrub.net/
Author: Ruben
Description: Een compacte WordPress-theme voor een persoonlijke CV-homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: schoutrub-cv
*/

:root {
  --bg: #f3f5f8;
  --bg-strong: #e8edf3;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --surface-dark: #0f1722;
  --text: #14202b;
  --muted: #5d6b7a;
  --accent: #1f4f82;
  --accent-dark: #163a5f;
  --line: #d9e1ea;
  --line-strong: #c6d0dc;
  --shadow: 0 18px 44px rgba(18, 31, 45, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.cv-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.cv-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(18, 31, 45, 0.04);
}

.cv-brand {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cv-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cv-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.cv-nav a:hover,
.cv-nav a:focus {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: "Aptos Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 1.1rem;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.hero-meta strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--accent-dark);
}

.hero-spotlight {
  padding: 1.5rem;
}

.portrait-panel {
  height: 100%;
  min-height: 420px;
  border-radius: calc(var(--radius-lg) - 6px);
  background:
    linear-gradient(180deg, #122031 0%, #0f1722 100%);
  color: #f6f8fb;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portrait-panel h2 {
  font-family: "Aptos Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.portrait-panel p {
  margin: 0;
  line-height: 1.7;
  max-width: 20rem;
}

.spotlight-list,
.result-list {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
}

.spotlight-list li,
.result-list li {
  margin-bottom: 0.45rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.span-4 {
  grid-column: span 4;
}

.span-6 {
  grid-column: span 6;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: 1 / -1;
}

.section-card {
  padding: 2rem;
}

.section-title {
  margin: 0 0 1rem;
  font-family: "Aptos Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.75;
}

.pill-list,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list li {
  padding: 0.65rem 0.95rem;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.timeline-item span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.timeline-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.04rem;
  font-weight: 700;
}

.project-card p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.result-list {
  color: var(--text);
  line-height: 1.6;
}

.quote-card {
  background: linear-gradient(180deg, #17314f 0%, #102338 100%);
  border-color: #17314f;
  color: #f7f9fc;
}

.quote-card p {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
}

.contact-list a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.footer-note {
  text-align: center;
  color: var(--muted);
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .hero,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .span-4,
  .span-6,
  .span-8,
  .span-12 {
    grid-column: 1 / -1;
  }

  .hero-copy,
  .section-card {
    padding: 1.5rem;
  }

  .portrait-panel {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .cv-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1 {
    line-height: 1.02;
  }
}
