@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

:root {
  --navy:       #0d2150;
  --navy-mid:   #153070;
  --navy-bg:    rgba(13,33,80,0.06);
  --orange:     #f5a020;
  --orange-bg:  rgba(245,160,32,0.12);
  --orange-bd:  rgba(245,160,32,0.38);
  --text:       #1c2233;
  --muted:      #64748b;
  --bg:         #ffffff;
  --bg2:        #f8fafc;
  --bd:         #e8eaed;
  --radius:     10px;
  --radius-lg:  14px;
  --maxw:       1080px;
  --gap:        24px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

/* ---- Language ---- */
html[lang="en"] .lang-nl { display: none !important; }
html[lang="nl"] .lang-en { display: none !important; }

/* ---- Layout ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gap); }

/* ---- Navigation ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img { height: 40px; width: auto; display: block; }

.nav-links {
  display: flex; align-items: center; gap: 26px;
}
.nav-links a {
  font-size: 14px; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.lang-btn {
  font-size: 12px; font-weight: 500;
  padding: 4px 13px; border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 0.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75); cursor: pointer;
  transition: background .15s;
}
.lang-btn:hover { background: rgba(255,255,255,0.16); }

.btn-nav {
  font-size: 13px; font-weight: 500;
  padding: 8px 18px; border-radius: var(--radius);
  background: var(--orange); color: var(--navy);
  text-decoration: none; transition: opacity .15s; flex-shrink: 0;
}
.btn-nav:hover { opacity: .87; color: var(--navy); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.75); border-radius: 2px;
}

/* ---- Divider bar ---- */
.brand-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, rgba(13,33,80,0) 100%);
  opacity: 0.55;
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  padding: 76px 0 64px;
  overflow: hidden; position: relative;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 90% 20%, rgba(245,160,32,0.08) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-label {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-bg);
  border: 0.5px solid var(--orange-bd);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 22px;
}
.hero h1 {
  font-size: 44px; font-weight: 600; line-height: 1.18;
  color: #fff; margin-bottom: 18px; letter-spacing: -0.6px;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lead {
  font-size: 17px; color: rgba(255,255,255,0.66);
  line-height: 1.7; margin-bottom: 30px; max-width: 540px;
}
.hero-actions {
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap; margin-bottom: 34px;
}
.btn-primary {
  display: inline-block; font-size: 14px; font-weight: 500;
  padding: 12px 26px; border-radius: var(--radius);
  background: var(--orange); color: var(--navy);
  text-decoration: none; transition: opacity .15s;
}
.btn-primary:hover { opacity: .87; color: var(--navy); }
.btn-ghost {
  display: inline-block; font-size: 14px; font-weight: 500;
  padding: 12px 26px; border-radius: var(--radius);
  background: transparent; color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.22);
  text-decoration: none; transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.48); color: #fff; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag {
  font-size: 12px; padding: 4px 13px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 999px; color: rgba(255,255,255,0.52);
}

/* ---- Page hero (inner pages) ---- */
.page-hero { background: var(--navy); padding: 52px 0 46px; }
.page-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .09em;
  color: var(--orange); font-weight: 500; margin-bottom: 10px;
}
.page-hero h1 {
  font-size: 34px; font-weight: 600; color: #fff;
  letter-spacing: -0.3px; margin-bottom: 10px;
}
.page-hero p {
  font-size: 16px; color: rgba(255,255,255,0.62);
  line-height: 1.65; max-width: 560px;
}

/* ---- Sections ---- */
.section { padding: 60px 0; }
.section-alt { background: var(--bg2); }
.section + .section { border-top: 1px solid var(--bd); }
.section-alt + .section,
.section + .section-alt { border-top: none; }

.sec-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .09em;
  color: var(--orange); font-weight: 500; margin-bottom: 10px;
}
.sec-title {
  font-size: 28px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 8px;
}
.sec-sub {
  font-size: 16px; color: var(--muted); line-height: 1.65;
  max-width: 560px; margin-bottom: 38px;
}
.sec-sub-narrow { max-width: 440px; }

/* ---- Grids ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }

/* ---- Cards ---- */
.card {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.card-alt { background: var(--bg2); }

.card-icon {
  width: 40px; height: 40px;
  background: var(--navy-bg); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 20px; color: var(--navy);
}
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card-body { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---- Pricing cards ---- */
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  display: flex; flex-direction: column;
}
.pricing-card.featured { border: 2px solid var(--orange); }

.feat-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; padding: 3px 16px;
  background: var(--orange); color: var(--navy);
  border-radius: 999px; white-space: nowrap;
}
.pricing-name { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pricing-tagline { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.price-row {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 20px;
}
.price-amount { font-size: 30px; font-weight: 600; color: var(--navy); }
.pricing-card.featured .price-amount { color: var(--orange); }
.price-period { font-size: 13px; color: var(--muted); }

.price-features { list-style: none; flex: 1; }
.price-features li {
  font-size: 13px; color: var(--muted);
  padding: 5px 0 5px 22px; position: relative;
  border-bottom: 1px solid var(--bd); line-height: 1.5;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--orange); font-weight: 600;
}

/* ---- Client logos ---- */
.client-strip { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.client-logo {
  height: 36px; max-width: 120px;
  object-fit: contain; filter: grayscale(1) opacity(.55);
  transition: filter .2s;
}
.client-logo:hover { filter: grayscale(0) opacity(1); }
.client-chip {
  font-size: 13px; padding: 7px 18px;
  background: var(--bg2); border: 1px solid var(--bd);
  border-radius: 999px; color: var(--muted);
}

/* ---- OS / role cards ---- */
.repo-card {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 16px 18px;
  background: var(--bg2); border: 1px solid var(--bd);
  border-radius: var(--radius);
}
.repo-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; font-family: 'Courier New', monospace; }
.repo-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.repo-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.badge {
  font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 999px;
}
.badge-ansible { background: rgba(238,50,30,0.09); color: #b33020; }
.badge-docker  { background: rgba(13,100,200,0.09); color: #0a5caa; }
.link-gh {
  font-size: 11px; color: var(--orange); text-decoration: none;
  display: flex; align-items: center; gap: 3px; white-space: nowrap;
}
.link-gh:hover { text-decoration: underline; }

/* ---- Project cards (client work) ---- */
.project-card {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
}
.project-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px; margin-bottom: 10px;
}
.project-title { font-size: 16px; font-weight: 600; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tag {
  font-size: 11px; padding: 2px 10px;
  background: var(--navy-bg); color: var(--navy);
  border-radius: 999px; font-weight: 500;
}
.project-body { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---- Inline link ---- */
a.inline-link {
  color: var(--orange); text-decoration: none; font-weight: 500;
}
a.inline-link:hover { text-decoration: underline; }

/* ---- CTA section ---- */
.cta-section {
  background: var(--navy); padding: 64px 0; text-align: center;
}
.cta-section h2 {
  font-size: 30px; font-weight: 600; color: #fff;
  letter-spacing: -0.3px; margin-bottom: 14px;
}
.cta-section p {
  font-size: 17px; color: rgba(255,255,255,0.62);
  margin-bottom: 30px; max-width: 460px;
  margin-left: auto; margin-right: auto; line-height: 1.65;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-logo { height: 90px; width: auto; display: block; margin-bottom: 28px; }

/* ---- Footer ---- */
.site-footer {
  background: #060f2a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-logo { height: 34px; width: auto; opacity: .82; display: block; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.38); }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.48);
  text-decoration: none; display: flex; align-items: center;
  gap: 5px; transition: color .15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* ---- About page ---- */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.about-photo {
  width: 100%; border-radius: var(--radius-lg);
  object-fit: cover; aspect-ratio: 3/4;
  border: 1px solid var(--bd);
}
.about-name { font-size: 28px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 4px; }
.about-role { font-size: 16px; color: var(--orange); font-weight: 500; margin-bottom: 18px; }
.about-bio { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }

.competency-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.competency-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
}
.competency-list li::before {
  content: '→'; color: var(--orange); font-weight: 600; flex-shrink: 0; margin-top: 1px;
}

.contact-card {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 28px; margin-top: 24px;
}
.contact-card h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.7);
  text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .15s;
}
.contact-link:last-child { border-bottom: none; }
.contact-link:hover { color: var(--orange); }
.contact-icon { font-size: 18px; color: var(--orange); width: 22px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 62px; left: 0; right: 0; z-index: 99;
    background: var(--navy); padding: 18px 24px; gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 15px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 220px; }
  .section { padding: 40px 0; }
  .sec-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .grid-4 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 26px; }
}

/* ── Status tables ──────────────────────────────────────── */
.status-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  white-space: nowrap;
}

.status-table thead tr {
  background: var(--navy);
  color: #fff;
}

.status-table th {
  padding: 10px 14px;
  font-weight: 600;
  text-align: left;
  letter-spacing: .02em;
}

.status-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.status-table tbody tr:last-child td { border-bottom: none; }

.status-table tbody tr:hover { background: var(--orange-bg); }

.status-table td.desc {
  color: var(--muted);
  white-space: normal;
  max-width: 280px;
  line-height: 1.4;
}

.status-table img { display: block; height: 20px; }

.link-gh {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.link-gh:hover { background: var(--orange); color: var(--navy); }

.sec-sub-narrow { max-width: 640px; }

.tag-legacy {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: #e8e8e8;
  color: #666;
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
}

.tag-alias {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--orange-bg);
  color: var(--navy);
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
}
