/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --bg:      #100912;
  --bg-2:    #180D1C;
  --bg-3:    #211326;
  --cream:   #F4EBF7;
  --dim:     #9A7FAA;
  --dim-2:   #6B5278;
  --coral:   #8470BA;
  --coral-2: #9D89CC;
  --amber:   #FFCA5A;
  --line:    rgba(244,235,247,.13);
  --line-2:  rgba(244,235,247,.26);
  --sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --mono:    'DM Mono', ui-monospace, monospace;
  --ease:    cubic-bezier(.22,1,.36,1);
  --maxw:    1320px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--coral); color: #1A0428; }

/* ── Layout ──────────────────────────────────────────────── */
.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }

/* ── Grain overlay ───────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Custom cursor ───────────────────────────────────────── */
.cur {
  position: fixed; top: 0; left: 0; width: 46px; height: 46px;
  border-radius: 50%; border: 1.5px solid var(--cream);
  transform: translate(-50%, -50%); pointer-events: none;
  z-index: 9999; mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s;
  display: grid; place-items: center;
}
.cur .l { font-family: var(--mono); font-size: 11px; color: #1A0428; opacity: 0; transition: opacity .2s; }
.cur.hover { width: 66px; height: 66px; background: var(--cream); border-color: transparent; }
.cur.play { width: 104px; height: 104px; background: var(--coral); border-color: transparent; mix-blend-mode: normal; }
.cur.play .l { opacity: 1; color: #1A0428; font-weight: 500; }
.curdot {
  position: fixed; top: 0; left: 0; width: 5px; height: 5px;
  border-radius: 50%; background: var(--coral);
  transform: translate(-50%, -50%); pointer-events: none; z-index: 9999;
}
@media (hover: none) { .cur, .curdot { display: none; } }

/* ── Header ──────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: 24px 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.hdr.shrunk {
  padding: 13px 0;
  background: rgba(16,9,18,.75);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* Brand */
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand .mk {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--coral); position: relative; overflow: hidden; flex: none;
}
.brand .mk::before {
  content: ""; position: absolute;
  left: 8px; top: 7px;
  border-left: 11px solid var(--bg);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.brand b { font-weight: 800; }
.brand .t { color: var(--dim); font-weight: 600; }

/* Nav */
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-family: var(--mono); }
.nav a { color: var(--dim); transition: color .2s; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }

/* Buttons */
.btn {
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 13px 20px; border-radius: 10px; border: none;
  background: var(--coral); color: #1A0428;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease);
  will-change: transform; cursor: none;
}
.btn .bt { position: relative; z-index: 1; }
.btn .arr { position: relative; z-index: 1; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: var(--cream); transform: translateY(101%);
  transition: transform .4s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn.ghost {
  background: transparent; color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn.ghost::after { background: var(--cream); }
.btn.ghost:hover { color: #1A0428; }

/* Mobile menu */
.menu-toggle {
  display: none; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px; color: var(--dim);
  background: none; border: none; cursor: none;
}
.mob-nav {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(16,9,18,.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 60px 44px; gap: 10px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-weight: 800; font-size: clamp(32px, 7vw, 56px);
  letter-spacing: -.02em; color: var(--dim);
  transition: color .2s; line-height: 1.3;
}
.mob-nav a:hover { color: var(--cream); }
.mob-close {
  position: absolute; top: 28px; right: 44px;
  font-family: var(--mono); font-size: 14px; color: var(--dim);
  background: none; border: none; cursor: none;
}

/* ── Section base ────────────────────────────────────────── */
.sec { padding: 130px 0; position: relative; }
.kick {
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--coral);
  display: flex; align-items: center; gap: 12px;
}
.kick::before { content: "["; color: var(--dim); }
.kick::after  { content: "]"; color: var(--dim); }
h2.big {
  font-weight: 800; font-size: clamp(32px, 4.8vw, 66px);
  line-height: 1.0; letter-spacing: -.03em; margin-top: 20px;
}
.sec-head { max-width: 62ch; }
.sec-head p { color: var(--dim); font-size: clamp(17px, 1.7vw, 20px); margin-top: 18px; max-width: 52ch; }

/* Scroll reveals */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; }
  h1.hero-h .ln > span, .hero-sub > p, .hero-cta { animation: none !important; opacity: 1 !important; transform: none !important; }
  .rot .stack { animation: none !important; }
  .mq-t { animation: none !important; }
}

/* ── Voor wie ────────────────────────────────────────────── */
.voor { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.panel {
  position: relative; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(26px, 3vw, 44px); overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  transition: border-color .4s, transform .4s var(--ease);
}
.panel:hover { border-color: var(--line-2); transform: translateY(-5px); }
.panel .idx { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.panel h3 { font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.02em; margin: 16px 0 12px; }
.panel > p { color: var(--dim); font-size: 17px; max-width: 40ch; }
.panel ul { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 1px; border-top: 1px solid var(--line); }
.panel li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.panel li .n { font-family: var(--mono); font-size: 12px; color: var(--coral); flex: none; }
.panel .corner {
  position: absolute; right: 26px; top: 26px;
  font-family: var(--mono); font-size: 13px; color: var(--coral);
  width: 42px; height: 42px; border: 1px solid var(--line-2);
  border-radius: 50%; display: grid; place-items: center;
}

/* ── Stijlen ─────────────────────────────────────────────── */
.styles { margin-top: 54px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.scard {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--bg-2); min-height: 320px; border: 1px solid var(--line);
}
.scard:nth-child(1) { grid-column: span 7; }
.scard:nth-child(2) { grid-column: span 5; }
.scard:nth-child(3) { grid-column: span 5; }
.scard:nth-child(4) { grid-column: span 7; }
.scard img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; transform: scale(1.05); filter: saturate(1.05);
  transition: transform 1s var(--ease);
}
.scard:hover img { transform: scale(1.13); }
.scard .grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,9,18,.15) 30%, rgba(16,9,18,.9)); }
.scard .c { position: absolute; inset: 0; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; justify-content: flex-end; }
.scard .num { position: absolute; top: 22px; left: 24px; font-family: var(--mono); font-size: 13px; color: var(--amber); }
.scard h3 { font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.scard p { color: var(--dim); font-size: 15px; margin-top: 6px; max-width: 38ch; opacity: 0; max-height: 0; transition: opacity .5s, max-height .5s; overflow: hidden; }
.scard:hover p { opacity: 1; max-height: 70px; }

/* ── Werk ────────────────────────────────────────────────── */
.werk { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.werk-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.werk-sticky { position: sticky; top: 120px; }
.werk-sticky h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.0; letter-spacing: -.03em; }
.werk-sticky > p { color: var(--dim); margin-top: 18px; font-size: 17.5px; max-width: 38ch; }
.werk-count { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.werk-count .n { font-weight: 800; font-size: clamp(30px, 4vw, 46px); color: var(--coral); letter-spacing: -.02em; line-height: 1; }
.werk-count .t { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 8px; max-width: 14ch; }

/* Case cards */
.cases { display: flex; flex-direction: column; gap: 26px; }
.cs { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.cs-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.cs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cs:hover .cs-media img { transform: scale(1.05); }
.cs-media .ov { position: absolute; inset: 0; background: rgba(16,9,18,0); transition: background .4s; display: grid; place-items: center; }
.cs:hover .cs-media .ov { background: rgba(16,9,18,.22); }
.cs-media .lab {
  position: absolute; left: 18px; top: 18px;
  font-family: var(--mono); font-size: 12px; color: var(--cream);
  background: rgba(16,9,18,.65); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 8px;
}
.cs-body { padding: 26px clamp(22px, 2.4vw, 32px) 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.cs-body h3 { font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; flex: 1 1 60%; }
.cs-body .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-body .tag { font-family: var(--mono); font-size: 12px; color: var(--dim); border: 1px solid var(--line); padding: 6px 11px; border-radius: 99px; }
.cs-body .desc { flex: 1 1 100%; color: var(--dim); font-size: 16.5px; max-width: 60ch; }

/* ── Contact / CTA ───────────────────────────────────────── */
.cta { padding: 120px 0; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 26px;
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 140% at 80% 0%, rgba(132,112,186,.2), transparent 55%),
              linear-gradient(180deg, var(--bg-2), var(--bg-3));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  padding: clamp(40px, 6vw, 80px);
}
.cta-left h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 60px); line-height: .96; letter-spacing: -.035em; }
.cta-left > p { color: var(--dim); font-size: clamp(16px, 1.6vw, 19px); margin-top: 20px; max-width: 38ch; line-height: 1.6; }
.cta-perks { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.cta-perk { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.cta-perk::before { content: "✓"; color: var(--amber); font-size: 14px; font-weight: 700; flex: none; }
.cta-price { margin-top: 36px; }
.cta-price .p { font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); color: var(--amber); line-height: 1; }
.cta-price .t { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 6px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(244,235,247,.05);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--sans); font-size: 16px;
  color: var(--cream);
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dim-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--coral-2); background: rgba(244,235,247,.08); }
.form-group select { cursor: none; color: var(--cream); }
.form-group select option { background: var(--bg-2); color: var(--cream); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 6px; width: 100%; justify-content: center; font-size: 16px; padding: 16px 24px; }
.form-note { font-family: var(--mono); font-size: 12px; color: var(--dim-2); text-align: center; margin-top: 10px; }
.form-note a { color: var(--amber); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .icon { font-size: 32px; }
.form-success h3 { font-weight: 800; font-size: 22px; margin-top: 12px; }
.form-success p { color: var(--dim); margin-top: 8px; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line); padding: 36px 0;
  font-family: var(--mono); font-size: 13px; color: var(--dim);
}
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a { transition: color .2s; }
.foot-nav a:hover { color: var(--cream); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero { padding: 160px 0 80px; }
.page-hero .tagrow { margin-bottom: 30px; }
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 90px);
  line-height: .95; letter-spacing: -.035em;
}
.page-hero h1 .accent { color: var(--coral); }
.page-hero .lead {
  font-size: clamp(18px, 2vw, 24px); color: var(--dim);
  max-width: 52ch; margin-top: 28px; line-height: 1.55;
}

/* Tag row */
.tagrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 13px; color: var(--dim);
  letter-spacing: .04em; flex-wrap: wrap;
}
.tagrow .d { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.tagrow .ln { flex: 1; height: 1px; background: var(--line); min-width: 30px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .voor { grid-template-columns: 1fr; }
  .styles { grid-template-columns: 1fr 1fr; }
  .scard:nth-child(n) { grid-column: span 1; }
  .werk-grid { grid-template-columns: 1fr; }
  .werk-sticky { position: static; }
  .hero-cta { margin-left: 0; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-left > p { max-width: 100%; }
  .cta-price { display: none; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 580px) {
  .styles { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
