:root{
  --bg:#070b14;
  --bg-soft:#0b1120;
  --panel:#10182a;
  --panel-2:#0e1525;
  --text:#e9f1ff;
  --muted:#95a3c4;
  --line:rgba(255,255,255,.08);
  --neon:#00e5ff;
  --pink:#ff2bd6;
  --yellow:#ffd400;
  --purple:#8a5cff;
  --shadow:0 20px 60px rgba(0,0,0,.45);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,229,255,.10), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255,43,214,.10), transparent 22%),
    linear-gradient(180deg, #05070d 0%, #07101d 100%);
  color:var(--text);
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{text-decoration:none}
.section-padding{padding:110px 0}
.section-alt{
  background:linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.03));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.noise,
.grid-overlay,
.cursor-glow{
  pointer-events:none;
  position:fixed;
  inset:0;
  z-index:0;
}
.noise{
  opacity:.045;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}
.grid-overlay{
  opacity:.08;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.7), transparent 85%);
}
.cursor-glow{
  background:radial-gradient(280px 280px at var(--x,50%) var(--y,50%), rgba(0,229,255,.08), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.4;
}

main, header, footer, nav{position:relative;z-index:1}

.navbar{
  background:rgba(5,8,16,.65);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.navbar-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  font-weight:800;
  letter-spacing:.08em;
}
.brand-mark{
  width:16px;height:16px;border-radius:4px;
  background:linear-gradient(135deg,var(--neon),var(--pink));
  box-shadow:0 0 16px rgba(0,229,255,.6);
}
.brand-text{font-family:'Orbitron',sans-serif;font-size:1rem}
.brand-text span{color:var(--neon)}
.nav-link{
  color:rgba(255,255,255,.78);
  font-weight:500;
  margin-left:10px;
}
.nav-link:hover,.nav-link.active{color:#fff}
.btn-outline-neon{
  border:1px solid rgba(0,229,255,.45);
  color:#dffcff;
  border-radius:999px;
  padding:.7rem 1.1rem;
}
.btn-outline-neon:hover{background:rgba(0,229,255,.08);color:#fff}

.hero-section{
  position:relative;
  overflow:hidden;
}
.hero-section::before{
  content:"";
  position:absolute;
  right:-140px;top:120px;
  width:520px;height:520px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,43,214,.16), transparent 62%);
  filter:blur(20px);
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--neon);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  font-weight:700;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg,var(--neon),#fff);
  box-shadow:0 0 15px var(--neon);
}
.hero-title{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(2.7rem,5vw,5.4rem);
  line-height:1.02;
  margin:14px 0 22px;
  max-width:820px;
}
.hero-title span{
  color:var(--neon);
  text-shadow:0 0 16px rgba(0,229,255,.35);
}
.hero-copy{
  font-size:1.12rem;
  color:var(--muted);
  max-width:760px;
  line-height:1.85;
}
.meta-card{
  height:100%;
  padding:18px 18px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.02);
  box-shadow:var(--shadow);
}
.meta-card strong{
  display:block;
  font-size:1rem;
  margin-bottom:6px;
  color:#fff;
}
.meta-card span{color:var(--muted);font-size:.92rem}

.btn{
  border-radius:14px;
  padding:1rem 1.4rem;
  font-weight:700;
  border:0;
}
.btn-neon{
  color:#071019;
  background:linear-gradient(135deg,var(--neon),#9ffcff);
  box-shadow:0 12px 35px rgba(0,229,255,.28);
}
.btn-neon:hover{
  color:#071019;
  transform:translateY(-1px);
}
.btn-ghost{
  color:#fff;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
}
.btn-ghost:hover{background:rgba(255,255,255,.06);color:#fff}

.tech-ticker{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.tech-ticker span,
.tag-list span{
  display:inline-flex;
  align-items:center;
  padding:.62rem .92rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
  color:#dbe8ff;
  font-size:.88rem;
}

.hero-panel{
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(16,24,42,.95), rgba(9,14,26,.95));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel-topline{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 18px;
  border-bottom:1px solid var(--line);
}
.status-pill{
  font-size:.74rem;
  letter-spacing:.14em;
  color:var(--yellow);
}
.status-time{
  color:var(--muted);
  font-family:'Orbitron',sans-serif;
}
.hero-panel-body{padding:20px}
.avatar-wrap{
  padding:16px;
  border-radius:24px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.06);
  margin-bottom:16px;
}
.avatar-wrap img{width:100%;border-radius:18px}
.code-window{
  border-radius:20px;
  background:#07101d;
  border:1px solid rgba(0,229,255,.18);
  overflow:hidden;
}
.code-head{
  display:flex;gap:8px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08)
}
.code-head span{
  width:10px;height:10px;border-radius:50%;
  background:#304156;
}
.code-head span:nth-child(1){background:#ff5f57}
.code-head span:nth-child(2){background:#febc2e}
.code-head span:nth-child(3){background:#28c840}
.code-window pre {
  margin: 0;
  padding: 18px 20px;
  color: #b6fff4;
  font-size: .9rem;
  line-height: 1.7;

  /* 🔥 FIXES */
  white-space: pre-wrap;      /* laat regels wrappen */
  word-break: break-word;     /* breek lange woorden */
  overflow-x: hidden;         /* geen horizontale scroll */
}

.code-window code {
  display: block;
  width: 100%;
}

.scroll-indicator{
  position:absolute;
  left:50%;
  bottom:30px;
  transform:translateX(-50%);
  color:rgba(255,255,255,.62);
  letter-spacing:.28em;
  font-size:.75rem;
}

.section-heading{
  max-width:820px;
  margin-bottom:48px;
}
.section-heading.left-aligned{max-width:100%}
.section-heading h2{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(2rem,3vw,3.2rem);
  margin:14px 0 18px;
}
.section-heading p{
  color:var(--muted);
  line-height:1.85;
}

.project-card,.product-card,.expertise-card,.about-panel,.timeline-panel,.stack-panel,.process-card,.quote-panel,.contact-form,.contact-block,.mini-case{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
}

.project-card{padding:26px;margin-bottom:28px}
.project-gallery{}
.project-image-main{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:#0d1526;
}
.project-image-main img{width:100%;aspect-ratio:16/10;object-fit:cover}
.project-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.thumb {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .75;
  transition: .25s ease;
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 crop i.p.v. vervormen */
  display: block;
}
.thumb.active,.thumb:hover{
  opacity:1;
  border-color:var(--neon);
  box-shadow:0 0 0 4px rgba(0,229,255,.10);
}

.project-copy{padding:6px 6px 6px 4px}
.project-kicker{
  color:var(--neon);
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.76rem;
  font-weight:700;
  margin-bottom:14px;
}
.project-copy h3,.product-body h3,.expertise-card h3,.process-card h3,.mini-case-body h4{
  font-size:1.6rem;
  line-height:1.35;
  margin-bottom:16px;
}
.project-copy p,.product-body p,.expertise-card p,.about-panel p,.process-card p,.quote-signoff,.mini-case-body p,.contact-block,.form-note{
  color:var(--muted);
  line-height:1.85;
}
.project-list{
  margin:0 0 18px;
  padding-left:1.2rem;
}
.project-list li{
  margin-bottom:8px;
  color:#d7e5ff;
}

.mini-case{
  overflow:hidden;
}
.mini-case img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.mini-case-body{padding:22px}

.product-card{overflow:hidden;height:100%}
.product-visual img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.product-body{padding:24px}

.expertise-card,.process-card{
  height:100%;
  padding:24px;
}
.expertise-icon,
.process-card span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;height:56px;
  border-radius:16px;
  margin-bottom:18px;
  font-family:'Orbitron',sans-serif;
  background:linear-gradient(135deg, rgba(0,229,255,.14), rgba(255,43,214,.14));
  border:1px solid rgba(0,229,255,.18);
  color:#fff;
}

.stack-panel{padding:26px}
.tag-list{display:flex;flex-wrap:wrap;gap:10px}
.tag-list.large span{font-size:.95rem;padding:.75rem 1rem}

.about-panel{padding:30px}
.small-note{font-size:.95rem}
.timeline-panel{padding:20px 26px}
.timeline-item{
  display:grid;
  grid-template-columns:95px 1fr;
  gap:20px;
  padding:20px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.timeline-item:last-child{border-bottom:0}
.year{
  display:inline-flex;
  align-items:flex-start;
  justify-content:center;
  width:84px;
  padding:.8rem .6rem;
  border-radius:16px;
  font-family:'Orbitron',sans-serif;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:var(--neon);
}
.timeline-item h4{margin-bottom:8px}
.timeline-item p{margin:0;color:var(--muted)}

.quote-panel{
  padding:44px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.quote-panel::before{
  content:"";
  position:absolute;
  inset:auto auto -100px -100px;
  width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,43,214,.18), transparent 70%);
}
.quote-text{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(1.3rem,2.3vw,2rem);
  margin:0 0 12px;
}

.contact-block{padding:26px}
.contact-line{
  padding:18px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.contact-line:last-child{border-bottom:0}
.contact-line span{
  display:block;
  color:var(--neon);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.76rem;
  margin-bottom:8px;
}
.contact-line a,.contact-line strong{
  color:#fff;
  font-weight:500;
}

.contact-form{padding:26px; margin-top: 40px;}
.form-label{
  color:#d8e6ff;
  font-size:.88rem;
  margin-bottom:8px;
}
.form-control{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  border-radius:14px;
  padding:.95rem 1rem;
}
.form-control::placeholder{color:#8090b0}
.form-control:focus{
  background:rgba(255,255,255,.05);
  border-color:rgba(0,229,255,.55);
  box-shadow:0 0 0 .25rem rgba(0,229,255,.12);
  color:#fff;
}
.form-note{font-size:.92rem;margin-top:16px}

.site-footer{
  padding:28px 0 34px;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(0,0,0,.16);
}
.site-footer p{color:var(--muted)}
.footer-links{
  display:flex;flex-wrap:wrap;gap:18px;
}
.footer-links a{color:#d9e7ff}
.footer-links a:hover{color:var(--neon)}

.reveal{
  opacity:0;
  transform:translateY(28px);
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
  transition:opacity .7s ease, transform .7s ease;
}

.form-message {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background: rgba(0, 255, 180, 0.1);
  border: 1px solid rgba(0, 255, 180, 0.4);
  color: #00ffb4;
}

.form-message.error {
  background: rgba(255, 60, 120, 0.1);
  border: 1px solid rgba(255, 60, 120, 0.4);
  color: #ff3c78;
}

.project-thumbs img {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.project-thumbs img:hover {
  transform: scale(1.08);
}

.thumb.active img {
  border: 2px solid #00ffe1;
  box-shadow: 0 0 10px rgba(0,255,225,0.6);
}

.product-gallery .product-image-main img {
  width: 100%;
  border-radius: 12px;
}

.product-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin: 12px 24px;
}

.product-thumbs .thumb {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 10px;
  overflow: hidden;
  width: 80px;
  height: 50px;
  flex: 0 0 auto;

  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.product-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 BELANGRIJK */
  display: block;
}

/* hover + active */
.product-thumbs .thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.product-thumbs .thumb.active {
  opacity: 1;
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.15);
}

.product-image-main img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 14px;
  transition: opacity 0.2s ease;
}

.footer-tag {
  opacity: 0.6;
  margin-left: 8px;
  font-size: 0.85em;
}

.cursor {
  display: inline-block;
  width: 10px;
  margin-left: 2px;
  color: #00f0ff;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.cursor::after {
  content: "█"; /* of "|" voor subtieler */
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

@media (max-width: 991.98px){
  .section-padding{padding:90px 0}
  .hero-title{font-size:clamp(2.3rem,8vw,4rem)}
  .timeline-item{grid-template-columns:1fr}
  .year{width:auto;justify-content:flex-start}
}

@media (max-width: 767.98px){
  .eyebrow {margin-top:15px;}
  .project-card{padding:18px}
  .quote-panel,.about-panel,.timeline-panel,.contact-form,.contact-block,.stack-panel{padding:22px}
  .thumb{width:86px}
  .scroll-indicator{display:none}
}

@media (max-width: 576px) {
  .code-window pre {
    font-size: 13px;
    padding: 14px 16px;
  }
}
