:root {
  --bg: #0d0f14;
  --bg-2: #141821;
  --card: #161a24;
  --line: #262c3a;
  --text: #eef0f5;
  --muted: #9aa3b5;
  --amber: #f5a524;
  --amber-2: #ffcf6b;
  --frost: #7cc7ff;
  --ember: #ff6a3d;
  --green: #3ddc97;
  --radius: 20px;
  --max: 1120px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(13, 15, 20, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand b { color: var(--amber); font-weight: 700; margin-left: 3px; }
.mark { width: 32px; height: 32px; color: var(--amber); flex: none; }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: .95rem; transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav nav a.nav-cta { color: var(--bg); background: var(--amber); font-weight: 600; }
.nav nav a.nav-cta:hover { background: var(--amber-2); color: var(--bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #1a1205; box-shadow: 0 8px 30px -10px rgba(245,165,36,.6); }
.btn-primary:hover { background: var(--amber-2); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: 110px 16px 90px;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; z-index: -1; }
.glow-a { width: 480px; height: 480px; background: var(--amber); top: -120px; right: -60px; opacity: .18; }
.glow-b { width: 380px; height: 380px; background: var(--frost); top: 160px; left: -160px; opacity: .12; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: .9rem;
  background: rgba(255,255,255,.02);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.04; letter-spacing: -.035em;
  margin: 0 0 24px; max-width: 14ch; font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--amber) 10%, var(--ember) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 60ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats {
  list-style: none; padding: 0; margin: 64px 0 0;
  display: flex; flex-wrap: wrap; gap: 14px 48px;
}
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 2rem; letter-spacing: -.03em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 16px; }
.section-head { margin-bottom: 40px; }
.kicker { margin: 0 0 6px; color: var(--amber); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; line-height: 1.1; margin: 0; }

/* ---------- Projects ---------- */
.project {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  transition: border-color .3s, transform .3s;
}
.project:hover { border-color: #374057; }
.project-ge { grid-template-columns: 1fr 1.05fr; }
.project-ge .project-visual { order: 2; }
.project-body { padding: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.project-body h3 { font-size: 2rem; letter-spacing: -.02em; margin: 14px 0 12px; line-height: 1.15; }
.project-body h3 small { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.project-body > p { color: var(--muted); margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }
.tag-live { background: rgba(61,220,151,.14); color: var(--green); }
.tag-dev { background: rgba(124,199,255,.14); color: var(--frost); }
.features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.features li { position: relative; padding-left: 26px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg) translateY(-3px);
}
.project-ge .features li::before { border-color: var(--frost); }
.stack { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; color: #6f788c !important; margin-bottom: 26px !important; }
.soon { margin-top: auto; color: var(--frost); font-weight: 600; font-size: .95rem; }

.project-visual { position: relative; min-height: 340px; overflow: hidden; }

/* Pilsen: getekend bierglas */
.pilsen-visual {
  background:
    radial-gradient(circle at 50% 110%, rgba(245,165,36,.35), transparent 60%),
    linear-gradient(160deg, #2a1d08, #120d05);
  display: grid; place-items: center;
}
.glass {
  position: relative; width: 120px; height: 210px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  background: rgba(255,255,255,.08);
}
.foam {
  position: absolute; inset: 0 0 auto 0; height: 46px; z-index: 2;
  background: radial-gradient(circle at 20% 70%, #fff 18px, transparent 19px),
              radial-gradient(circle at 55% 60%, #fff8e8 22px, transparent 23px),
              radial-gradient(circle at 85% 70%, #fff 17px, transparent 18px),
              #fdf3dc;
}
.beer {
  position: absolute; inset: 38px 0 0 0;
  background: linear-gradient(180deg, #ffc23d, #e98a0b);
}
.beer i {
  position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  animation: rise 3.4s linear infinite;
}
.beer i:nth-child(1) { left: 22%; animation-delay: 0s; }
.beer i:nth-child(2) { left: 40%; animation-delay: 1.1s; width: 4px; height: 4px; }
.beer i:nth-child(3) { left: 58%; animation-delay: .5s; }
.beer i:nth-child(4) { left: 70%; animation-delay: 2.2s; width: 4px; height: 4px; }
.beer i:nth-child(5) { left: 32%; animation-delay: 2.8s; width: 5px; height: 5px; }
.beer i:nth-child(6) { left: 50%; animation-delay: 1.7s; width: 3px; height: 3px; }
@keyframes rise { to { transform: translateY(-180px); opacity: 0; } }
.chip {
  position: absolute; padding: 8px 14px; border-radius: 12px;
  font-size: .85rem; font-weight: 600;
  background: rgba(22,26,36,.88); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}
.chip-1 { top: 18%; left: 7%; }
.chip-2 { bottom: 16%; right: 7%; color: var(--amber-2); animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Glacial Embers: screenshot met vorst/gloed-rand */
.ge-visual {
  background: radial-gradient(circle at 15% 15%, rgba(124,199,255,.25), transparent 50%),
              radial-gradient(circle at 85% 85%, rgba(255,106,61,.3), transparent 50%),
              #0b0d14;
  display: grid; place-items: center; padding: 28px;
}
.ge-visual img {
  width: 100%; height: auto; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.9);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-text p { color: var(--muted); font-size: 1.08rem; margin: 0 0 18px; }
.skills { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.skills li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
}
.skill-icon { font-size: 1.4rem; line-height: 1.3; }
.skills b { display: block; }
.skills span { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-card {
  text-align: center;
  padding: 64px 24px; border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,165,36,.18), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.contact-card p { color: var(--muted); max-width: 46ch; margin: 14px auto 30px; font-size: 1.08rem; }
.contact-card .btn { word-break: break-all; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max); margin: 0 auto;
  padding: 30px 16px 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  color: #6f788c; font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .project, .project-ge { grid-template-columns: 1fr; }
  .project-ge .project-visual { order: 0; }
  .project-visual { min-height: 280px; }
  .project-body { padding: 28px 22px 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .brand span { font-size: .95rem; }
  .hero { padding: 70px 16px 60px; }
  .section { padding: 56px 16px; }
  .chip { font-size: .78rem; }
  .chip-1 { left: 4%; }
  .chip-2 { right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
