:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1a2332;
  --muted: #5c6778;
  --accent: #0b5cab;
  --accent-dark: #0b2545;
  --border: #d8dee8;
  --alt: #eef2f8;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  color: inherit;
}

.brand__eyebrow {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.brand__title {
  font-weight: 700;
  font-size: 1.1rem;
}

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

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

.main { min-height: 60vh; }

.hero {
  background: linear-gradient(135deg, #0b2545 0%, #0b5cab 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  max-width: 18ch;
}

.hero .eyebrow,
.hero .lead { color: rgba(255,255,255,0.88); }

.lead { font-size: 1.12rem; max-width: 62ch; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn--primary {
  background: #fff;
  color: var(--accent-dark);
}
.btn--ghost {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.section { padding: 2.5rem 0; }
.section--alt { background: var(--alt); }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

h1, h2, h3 { line-height: 1.25; color: var(--accent-dark); }

.page-header { margin-bottom: 2rem; }
.page-header h1 { margin-top: 0.35rem; }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cards--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h2, .card h3 { margin-top: 0; font-size: 1.05rem; }
.card--tech h2 { font-size: 1.15rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  color: var(--accent-dark);
  font-size: 0.92rem;
}
.chip:hover { border-color: var(--accent); }

.tech-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tech-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tech-card--plain .tech-card__link {
  grid-template-columns: 1fr;
}

.tech-card__link {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.tech-card__link:hover h2 { color: var(--accent); }

.tech-card__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 12px;
  background: var(--alt);
  border-radius: 10px;
  box-sizing: border-box;
}

.tech-card--extra .tech-card__icon {
  border: 2px dashed var(--border);
}

.tech-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

.tech-card__meta {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.tech-card__teaser {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.tech-chip img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 6px;
  background: var(--alt);
  border-radius: 8px;
  box-sizing: border-box;
}

.tech-chip:hover { border-color: var(--accent); }

.tech-detail-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.tech-detail-header__icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 16px;
  background: var(--alt);
  border-radius: 12px;
  box-sizing: border-box;
}

.nts-block {
  background: linear-gradient(135deg, #eef4fb 0%, #f7f8fb 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 2rem;
}

.nts-block h2 { margin-top: 0; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }

.ambition {
  font-weight: 400;
  color: var(--accent-dark);
}

.hbo-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.hbo-block h2 { font-size: 1.1rem; }

.extra-tech { margin-top: 2.5rem; border-radius: var(--radius); padding: 1.5rem; }

.text-link { font-weight: 600; text-decoration: none; }
.muted { color: var(--muted); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.project-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
}

.project-item__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.project-item__title a { text-decoration: none; font-weight: 600; }
.project-item__title a:hover { text-decoration: underline; }

.project-item__meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.project-item__tags {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--alt);
  color: var(--accent-dark);
  margin-right: 0.35rem;
}

.badge--publinova { background: #e8f0fa; }
.badge--sia { background: #eef6ee; }
.badge--hollandhightech { background: #f5f0e8; }

.project-preview {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.project-preview h2 { font-size: 1.15rem; }

.empty-state { padding: 1rem 0; }

.prose { padding: 2rem 0 3rem; }
.prose p { max-width: 72ch; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.visie-section {
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.figure-note {
  background: var(--alt);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1rem;
}

.callout {
  background: var(--alt);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.contact-card__person {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.contact-card__name {
  margin: 0 0 0.35rem;
  font-weight: 400;
}

.contact-card__details {
  margin: 0;
  font-size: 0.95rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-row__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.prose .ip-block h3 {
  font-weight: 400;
}

.ip-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.ip-block:last-child { border-bottom: 0; }
.ip-block h3 { font-size: 1rem; margin-bottom: 0.35rem; }

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  background: var(--alt);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-box { margin-top: 1rem; }

.qr-panel {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.brief-letter .letter-meta { color: var(--muted); }
.asks { max-width: 72ch; }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 0 2rem;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .nav { width: 100%; }
  .qr-panel { flex-direction: column; text-align: center; }
}

@media print {
  .site-header, .site-footer, .print-hint, .nav { display: none; }
  .qr-panel { break-inside: avoid; }
}
