/* ============================================================
   Vlamwerk — digital studio
   Light / clean / ember. Geïnspireerd op nikolaradeski.com,
   eigen palet + Vlamwerk-framing.
   ============================================================ */

:root {
  --bg:       #ECEAE6;   /* warm licht grijs */
  --surface:  #F6F4F1;   /* kaarten */
  --float:    #FBFAF8;   /* zwevend / hover */
  --ink:      #17140F;   /* near-black */
  --muted:    #6E685F;   /* secundaire tekst */
  --faint:    #A29B90;   /* labels */
  --ember:    #EB5417;   /* vlam-accent */
  --ember-dk: #C2401000; /* (ongebruikt placeholder) */
  --ember-deep:#C2400F;  /* hover-accent */
  --line:     rgba(23,20,15,0.10);
  --line-2:   rgba(23,20,15,0.06);
  --dock:     #161310;   /* zwevende nav-dock */
  --shadow-card: 0 24px 60px -28px rgba(23,20,15,0.30);
  --shadow-dock: 0 18px 50px -12px rgba(23,20,15,0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 18px;
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  cursor: none;
}
@media (max-width: 820px) { body { cursor: auto; } }

/* subtiele atmosfeer ipv vlak */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(235,84,23,0.06), transparent 60%),
    radial-gradient(900px 600px at -5% 10%, rgba(23,20,15,0.045), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.wrap { width: min(var(--maxw), 90vw); margin-inline: auto; }
section { position: relative; z-index: 1; }

/* ---------- Type ---------- */
.display {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
h1, h2, h3 { font-family: "Clash Display", sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.accent { color: var(--ember); }
.note {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--faint);
  letter-spacing: 0;
}
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 100px; border: 1px solid transparent;
  text-decoration: none; cursor: none; transition: transform .35s var(--ease), background .3s, color .3s;
}
@media (max-width: 820px) { .btn { cursor: pointer; } }
.btn.primary { background: var(--ember); color: #fff; }
.btn.primary:hover { background: var(--ember-deep); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

/* ============================================================
   PILL DOCK NAV — het signature-element
   ============================================================ */
.dock {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(0);
  z-index: 60;
  display: flex; align-items: center; gap: 4px;
  padding: 7px;
  background: var(--dock);
  border-radius: 100px;
  box-shadow: var(--shadow-dock);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .5s var(--ease-out), opacity .4s;
}
.dock.hidden { transform: translateX(-50%) translateY(140%); opacity: 0; }
.dock .home {
  width: 42px; height: 42px; border-radius: 100px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff;
  text-decoration: none;
}
.dock .home:hover { background: rgba(255,255,255,0.16); }
.dock a.link {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  padding: 11px 16px; border-radius: 100px;
  transition: color .25s, background .25s;
  white-space: nowrap;
}
.dock a.link:hover { color: #fff; }
.dock a.link.active { color: #fff; background: rgba(255,255,255,0.10); }
.dock a.cta {
  background: var(--ember); color: #fff; text-decoration: none;
  font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: 100px;
  transition: background .25s, transform .3s;
}
.dock a.cta:hover { background: var(--ember-deep); }
@media (max-width: 560px) {
  .dock { gap: 2px; padding: 6px; bottom: 16px; width: max-content; max-width: 94vw; }
  .dock a.link { padding: 10px 11px; font-size: 13px; }
  .dock a.link.hide-sm { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}
/* Topografische lijn-laag — multiply zodat het wit wegvalt en alleen de
   lijnen op de warme bg verschijnen. Beweegt mee met de muis (parallax). */
.hero-bg {
  position: absolute; inset: -7%;
  background: url("assets/topo.jpg") center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}
/* Procedurele WebGL-laag — schildert eigen bg + reactieve lijnen.
   Ligt boven de JPEG-fallback, onder de content. */
.hero-gl {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}
.hero .wrap { width: min(1320px, 94vw); position: relative; z-index: 2; }
.hero-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 48px);
}
.hero-name {
  font-family: "Clash Display", sans-serif; font-weight: 600;
  font-size: clamp(54px, 12vw, 168px);
  line-height: 0.86; letter-spacing: -0.04em;
}
.hero-left { text-align: right; }
.hero-right { text-align: left; }
.hero-side-label {
  display: block; font-size: clamp(12px,1.1vw,15px); color: var(--muted);
  font-weight: 500; margin-bottom: 14px; letter-spacing: 0.02em;
}
.hero-card {
  width: clamp(220px, 24vw, 300px);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 30% 10%, #ff8a4d 0%, var(--ember) 38%, #b8390d 100%);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 70% 80%, rgba(255,255,255,0.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 7px);
  mix-blend-mode: screen;
}
/* Foto-variant: portret vult het kaartje, geen ember-textuur eroverheen */
.hero-card.has-photo { background: var(--surface); }
.hero-card.has-photo::after { display: none; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.hero-card .flame {
  font-family: "Clash Display", sans-serif; font-weight: 600;
  color: rgba(255,255,255,0.92); font-size: 64px; line-height: 1;
  text-align: center; z-index: 1; letter-spacing: -0.03em;
}
.hero-card .flame small { display:block; font-family:"Space Grotesk"; font-weight:500; font-size:13px; letter-spacing:0.12em; text-transform:uppercase; opacity:0.8; margin-top:10px; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: clamp(30px, 5vw, 64px);
  gap: 20px; flex-wrap: wrap;
}
.hero-tag { font-size: clamp(16px,1.5vw,20px); color: var(--ink); max-width: 30ch; font-weight: 500; }
.hero-tag b { color: var(--ember); font-weight: 600; }
.clock { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.scrollcue { text-align:center; margin-top: 38px; }

@media (max-width: 820px) {
  .hero-row { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .hero-left, .hero-right { text-align: center; }
  .hero-card { order: -1; margin: 0 auto 8px; width: clamp(180px, 56vw, 240px); }
  .hero-name { font-size: clamp(60px, 22vw, 120px); }
  .hero-meta { justify-content: center; text-align: center; }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; margin: 12px 0 16px; }
.sec-head p { color: var(--muted); font-size: clamp(16px,1.4vw,19px); }

/* ---------- Diensten (genummerde kaarten) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px; align-items: center;
  padding: clamp(26px, 3vw, 40px) 6px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), background .4s;
}
.svc:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(235,84,23,0.05), transparent 40%); }
.svc .num { font-family:"Clash Display"; font-weight:600; font-size: 22px; color: var(--faint); transition: color .3s; }
.svc:hover .num { color: var(--ember); }
.svc .body h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.svc .body p { color: var(--muted); font-size: 16px; max-width: 56ch; }
.svc .go {
  width: 46px; height: 46px; border-radius: 100px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); flex-shrink: 0;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.svc:hover .go { background: var(--ember); color: #fff; border-color: var(--ember); transform: rotate(-45deg); }
@media (max-width: 680px) {
  .svc { grid-template-columns: 54px 1fr; gap: 16px; }
  .svc .go { display: none; }
}

/* ---------- Werkwijze (process) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 30px 28px;
  transition: transform .4s var(--ease), box-shadow .4s, background .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); background: var(--float); }
.step .k { font-family:"Clash Display"; font-weight:600; color: var(--ember); font-size: 15px; letter-spacing: 0.1em; }
.step h3 { font-size: 21px; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats-balk ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 56px; border-top: 1px solid var(--line); padding-top: 40px; }
.stat .n { font-family:"Clash Display"; font-weight:600; font-size: clamp(32px,4vw,46px); letter-spacing:-0.02em; }
.stat .l { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2,1fr); gap: 28px 20px; } }

/* ---------- Werk (filter + grid) ---------- */
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button {
  font-family:"Space Grotesk"; font-weight:500; font-size: 14.5px;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 9px 18px; border-radius: 100px; cursor: none; transition: all .25s;
}
@media (max-width:820px){ .filters button{cursor:pointer;} }
.filters button:hover { color: var(--ink); }
.filters button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work {
  border-radius: var(--r); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-2); position: relative;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.work .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: #ddd9d2; }
.work .thumb img, .work .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.work:hover .thumb img, .work:hover .thumb video { transform: scale(1.04); }
.work .thumb.ph { display: grid; place-items: center; background:
   linear-gradient(135deg, #2a2622, #4a3a30); color: rgba(255,255,255,0.6); font-size: 14px; }
.work .meta { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px 22px; }
.work .meta h3 { font-size: 20px; }
.work .meta .tag { font-size: 12.5px; color: var(--ember); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.work .meta .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.work.hide { display: none; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button {
  width: 100%; text-align: left; background: none; border: none; cursor: none;
  padding: 26px 4px; font-family:"Clash Display"; font-weight: 500; font-size: clamp(18px,2.2vw,23px);
  color: var(--ink); display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
@media (max-width:820px){ .qa button{cursor:pointer;} }
.qa .sign { color: var(--ember); font-size: 26px; flex-shrink: 0; transition: transform .35s var(--ease); }
.qa.open .sign { transform: rotate(45deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.qa .ans p { color: var(--muted); padding: 0 4px 26px; max-width: 64ch; }

/* ---------- Contact / CTA ---------- */
.cta-band {
  background: var(--dock); color: var(--bg);
  border-radius: 28px; padding: clamp(48px,7vw,92px) clamp(28px,5vw,72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(80% 120% at 50% 130%, rgba(235,84,23,0.55), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(34px,6vw,68px); line-height: 1; margin-bottom: 18px; }
.cta-band h2 .accent { color: #ff7a45; }
.cta-band p { color: rgba(244,241,234,0.72); max-width: 48ch; margin: 0 auto 32px; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn.ghost { color: var(--bg); border-color: rgba(255,255,255,0.25); }
.cta-band .btn.ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
footer.site { padding: 70px 0 130px; }
footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: start; }
footer .brand { font-family:"Clash Display"; font-weight:600; font-size: 30px; letter-spacing:-0.02em; }
footer .brand .dot { color: var(--ember); }
footer .cols { display: flex; gap: 60px; flex-wrap: wrap; }
footer h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-family:"Space Grotesk"; font-weight:600; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
footer a:hover { color: var(--ember); }
footer .under { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13.5px; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99; border-radius: 50%; }
.cursor-dot { width: 7px; height: 7px; background: var(--ember); transform: translate(-50%,-50%); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(23,20,15,0.35);
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s;
}
.cursor-ring.hot { width: 56px; height: 56px; background: rgba(235,84,23,0.10); border-color: var(--ember); }
@media (max-width: 820px) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Reveal ----------
   Content is altijd vol zichtbaar; de entree-beweging (transform) zit in
   site.js. Geen opacity-hide meer → de site voelt voller op het eerste oog. */
.reveal { opacity: 1; }
