/* ==========================================================================
   AVI·TECH Consultancy, huisstijl v4 (luxe)
   Porselein en steen als basis, diep inkt voor de donkere delen, antiek goud
   als enige accent (de interpunct uit AVI·TECH). Klassieke serif voor koppen,
   haarlijnen in plaats van glas en gloed, een fijne papierkorrel over alles.
   Beweging, ingetogen: fijn lijnennetwerk in de hero, trage lichtval,
   scroll-reveals, lopende strip, lichtbundel door de aanpak, ringen in inkt.
   ========================================================================== */

/* Lettertypen: Cormorant Garamond (koppen) en IBM Plex Sans (tekst), zelf gehost */
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Tokens (bewust één thema) */
:root {
  --bg: #F4F2EE;
  --bg-2: #ECE9E2;
  --card: #FBFAF7;
  --ink: #121826;
  --ink-2: #1A2131;
  --text: #16181D;
  --text-2: #4B5160;
  --muted: #7A8090;
  --line: rgba(22, 24, 29, 0.12);
  --line-strong: rgba(22, 24, 29, 0.28);
  --gold: #B38F4A;
  --gold-2: #D4B46A;
  --gold-text: #83632A;
  --gold-line: rgba(179, 143, 74, 0.55);
  --on-ink: #F4F2EE;
  --on-ink-2: #B9BDC7;
  --ink-line: rgba(244, 242, 238, 0.14);
  --shadow: 0 1px 2px rgba(22, 24, 29, 0.04), 0 14px 40px rgba(22, 24, 29, 0.06);
  --shadow-hover: 0 2px 4px rgba(22, 24, 29, 0.05), 0 24px 56px rgba(22, 24, 29, 0.10);
  --focus: #83632A;
  --font-display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Plex Sans", "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --nav-h: 84px;
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 60;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.ink :focus-visible, .nav :focus-visible { outline-color: var(--gold-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 0.6rem 0.9rem; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 1rem; top: calc(1rem + env(safe-area-inset-top, 0px)); }

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.page { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }
.page > main { flex: 1 0 auto; }

/* Lichtval en papierkorrel */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: 1; will-change: transform;
}
.aurora i:nth-child(1) { width: 70vw; height: 70vw; left: -25vw; top: -30vw; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), transparent 70%); animation: drift1 40s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -16vw; top: 10vw; background: radial-gradient(closest-side, rgba(212, 180, 106, 0.16), transparent 70%); animation: drift2 48s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 24vw; top: 46vw; background: radial-gradient(closest-side, rgba(18, 24, 38, 0.05), transparent 70%); animation: drift3 56s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(10vw, 8vw, 0) scale(1.1); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-10vw, 12vw, 0) scale(0.92); } }
@keyframes drift3 { from { transform: translate3d(0, 0, 0) scale(0.95); } to { transform: translate3d(8vw, -10vw, 0) scale(1.15); } }
.cursor-light {
  position: fixed; left: 0; top: 0; width: 800px; height: 800px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), rgba(212, 180, 106, 0.08) 55%, transparent 72%);
  transform: translate3d(-9999px, -9999px, 0); will-change: transform; mix-blend-mode: soft-light;
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* De stip */
.dot { display: inline-block; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--gold); vertical-align: middle; flex: none; }

/* Woordmerk: AVI·TECH met "Consultancy" eronder; de stip exact gecentreerd */
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.1em;
  text-decoration: none; color: var(--text); line-height: 1; font-size: 1.55rem;
}
/* In de navigatie centreert de menuregel op het woordmerk zelf (gap + subtitel = 0.54em); de subtitel hangt eronder. */
.nav .brand { margin-bottom: -0.54em; }
/* De subtitel is gespatieerd tot exact de breedte van het woordmerk: de C begint op de inkt van de A, de Y eindigt op de inkt van de H.
   Gemeten met de echte fonts; de waarden staan in em en schalen dus mee van navigatie (1.55rem) naar footer (3.4rem). */
.brand-sub {
  font-family: var(--font-body); font-size: 0.44em; font-weight: 600; letter-spacing: 0.7328em; text-transform: uppercase;
  color: var(--gold-text); line-height: 1; white-space: nowrap;
  margin-left: -0.0831em;
}
.brand-mark {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1em; letter-spacing: 0.22em; line-height: 1;
}
.brand-mark > span { display: inline-block; margin-right: -0.22em; }
.brand-dot {
  display: inline-block; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--gold); flex: none;
  margin-left: var(--dot-l, 0.303em); margin-right: var(--dot-r, 0.321em); transform: translateY(var(--dot-y, -0.016em));
}

/* Kleine tracked labels (spaarzaam) */
.label, .eyebrow, .btn, .filter, .marquee li, .facts li, .project .cat, .nav-links a {
  font-family: var(--font-body);
}
.label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text);
  margin: 0 0 1.1rem;
}
.label .dot { width: 0.34rem; height: 0.34rem; }

/* Navigatie */
.nav {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled { background: rgba(244, 242, 238, 0.86); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-links { display: flex; gap: 0.1rem; list-style: none; }
.nav-links a {
  display: inline-block; padding: 0.5rem 0.65rem; font-size: 0.9rem; color: var(--text-2); text-decoration: none;
  border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="true"] { color: var(--text); border-bottom-color: var(--gold); }
.nav-cta { margin-left: 0.5rem; }
.lang { display: inline-flex; align-items: center; gap: 0.45rem; margin-left: 0.75rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; }
.lang a { color: var(--text-2); text-decoration: none; padding: 0.3rem 0.1rem; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--text); border-bottom-color: var(--gold); }
.lang span { color: var(--line-strong); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.55rem 0.9rem; border-radius: 4px; cursor: pointer;
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .lang { order: -1; margin-left: 0; margin-right: 0.25rem; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: rgba(244, 242, 238, 0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 0.5rem max(20px, env(safe-area-inset-left, 0px)) 1rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 0.8rem 0.25rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="true"] { border-bottom-color: var(--gold); }
}

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.5rem; border-radius: 4px; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn--primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18, 24, 38, 0.18); }
.btn--outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-text); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(179, 143, 74, 0.28); }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.72rem; }
.ink .btn--outline { border-color: var(--ink-line); color: var(--on-ink); }
.ink .btn--outline:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  min-height: min(92vh, 940px);
  display: grid; align-content: center;
}
.net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .wrap { position: relative; }
.hero-inner { max-width: 56rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text);
  margin: 0 0 1.75rem;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--gold); }
.h-display {
  font-weight: 600;
  font-size: clamp(2.9rem, 1rem + 7.2vw, 7rem);
  line-height: 0.98; letter-spacing: -0.012em;
  margin-bottom: 1.6rem;
}
.h-display .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.h-display .w > span { display: inline-block; animation: rise 1s var(--ease) both; }
.h-display .w:nth-child(1) > span { animation-delay: 0.05s; }
.h-display .w:nth-child(2) > span { animation-delay: 0.13s; }
.h-display .w:nth-child(3) > span { animation-delay: 0.21s; }
.h-display .w:nth-child(4) > span { animation-delay: 0.29s; }
.h-display .w:nth-child(5) > span { animation-delay: 0.37s; }
.h-display em, .statement em { font-style: italic; font-weight: 500; color: var(--gold-text); }
.ink .h-display em, .ink .statement em { color: var(--gold-2); }
@keyframes rise { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.lead {
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.28rem); line-height: 1.6;
  color: var(--text-2); max-width: 34em; margin-bottom: 2rem;
  animation: fade 1s var(--ease) 0.5s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.4rem; animation: fade 1s var(--ease) 0.65s both; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.9rem; list-style: none; animation: fade 1s var(--ease) 0.8s both; }
.facts li { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.facts li::before { content: ""; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 1px; height: 48px; overflow: hidden; background: var(--line);
}
.scroll-cue::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--gold), transparent); animation: cue 2.6s ease-in-out infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Lopende strip */
.marquee {
  position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 1.8rem; padding-right: 1.8rem; white-space: nowrap; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
.marquee li .dot { width: 0.3rem; height: 0.3rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Secties */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--stone { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ink { background: var(--ink); color: var(--on-ink); }
.ink .label { color: var(--gold-2); }
.ink .prose p { color: var(--on-ink-2); }
.statement {
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.01em;
  max-width: 18em; margin: 0 0 1.4rem;
}
.prose p { max-width: 62ch; color: var(--text-2); font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }
.head { max-width: 60rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.head .prose p { font-size: 1.12rem; }
.rule { display: block; width: 3rem; height: 1px; background: var(--gold); margin: 0 0 1.1rem; }
.nb { white-space: nowrap; }

/* Kaarten */
.card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; min-width: 0; box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold-line); box-shadow: var(--shadow-hover); }
.card h3 { font-size: 1.55rem; line-height: 1.15; margin: 0 0 0.6rem; }
.card p { color: var(--text-2); margin: 0; font-size: 0.98rem; }
.card .rule { width: 2rem; margin-bottom: 1rem; }
.card:hover .rule { width: 3rem; }
.rule { transition: width 0.45s var(--ease); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }

/* Bento: diensten */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.bento > .card { grid-column: span 2; }
.bento > .tile--wide { grid-column: span 3; }
.tile--wide { padding: 2.25rem; background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tile--wide h3 { font-size: 2.1rem; }
.tile--wide p { color: var(--on-ink-2); font-size: 1.04rem; max-width: 46ch; }
.tile--wide .rule { background: var(--gold-2); }
.tile--wide:hover { border-color: var(--gold); }
.tile--wide .tags li { color: var(--on-ink-2); border-color: var(--ink-line); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin-top: 1.2rem; }
.tags li { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); padding: 0.3rem 0.65rem; border-radius: 3px; border: 1px solid var(--line); }

/* Projectenwand: filters en kaarten per soort werk */
.filters { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.filter {
  padding: 0.75rem 0; border: 0; border-bottom: 2px solid transparent; background: transparent; margin-bottom: -1px;
  color: var(--text-2); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.filter:hover { color: var(--text); }
.filter.is-active { color: var(--text); border-bottom-color: var(--gold); }
.filter .count { margin-left: 0.5rem; font-weight: 500; color: var(--muted); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.project { padding: 1.5rem 1.5rem 1.6rem; }
.js .projects.is-filtered > .project { transition: opacity 0.3s ease, transform 0.35s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease; transition-delay: 0s; }
.project.is-leaving { opacity: 0; transform: scale(0.97); }
.project.is-entering { opacity: 0; transform: translateY(14px); }
.project .cat { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.9rem; }
.project h3 { font-size: 1.5rem; }
.project p { font-size: 0.95rem; }
.projects-note { margin: 1.5rem 0 0; font-size: 0.95rem; color: var(--muted); font-style: italic; font-family: var(--font-display); font-size: 1.15rem; }

/* Aanpak: vijf stappen met een lichtbundel */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 0.5rem; overflow: hidden; padding-top: 6px; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent); }
.steps::after {
  content: ""; position: absolute; top: 27px; left: 0; width: 180px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: beam 6s linear infinite;
}
@keyframes beam { from { left: -180px; } to { left: 100%; } }
.step { position: relative; }
.step-n {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--gold-text);
  background: var(--card); border: 1px solid var(--line-strong); margin-bottom: 1rem;
  box-shadow: 0 0 0 6px var(--bg-2);
}
.section:not(.section--stone) .step-n { box-shadow: 0 0 0 6px var(--bg); }
.step h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.step p { color: var(--text-2); font-size: 0.95rem; margin: 0; }

/* AI-framework: inkt, tekst en ringen in goud */
.framework { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.orbit { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; overflow: hidden; border-radius: 50%; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(244, 242, 238, 0.28); }
.ring::after { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--on-ink); }
.ring--1 { inset: 7px; animation: spin 60s linear infinite; }
.ring--2 { inset: 17%; border-style: solid; border-color: rgba(244, 242, 238, 0.16); animation: spin 44s linear infinite reverse; }
.ring--2::after { background: var(--gold-2); }
.ring--3 { inset: 34%; border-color: var(--gold); animation: spin 30s linear infinite; }
.ring--3::after { background: var(--gold); }
.core {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--gold-2); animation: pulse 3.2s ease-in-out infinite;
}
.orbit-glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 180, 106, 0.18), transparent 70%); filter: blur(10px); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 180, 106, 0.45); } 50% { box-shadow: 0 0 0 16px rgba(212, 180, 106, 0); } }
.framework .actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Over ons */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; list-style: none; }
.creds .card { padding: 1.35rem 1.4rem; }
.creds b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin-bottom: 0.35rem; }
.creds span { color: var(--text-2); font-size: 0.9rem; }

/* Contact */
.coffee { text-align: center; }
.coffee .statement { margin-inline: auto; font-size: clamp(2.8rem, 1.6rem + 5.5vw, 6rem); letter-spacing: -0.015em; }
.coffee .prose p { margin-inline: auto; text-align: center; }
.cup { width: 64px; height: 64px; margin: 0 auto 1.4rem; color: var(--gold-text); display: block; }
.cup .steam { stroke-dasharray: 6 4; animation: steam 2.8s ease-in-out infinite; transform-origin: center bottom; }
.cup .steam:nth-child(2) { animation-delay: 0.5s; }
.cup .steam:nth-child(3) { animation-delay: 1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-5px); } }
.coffee-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.75rem 0 2.75rem; }
.contact-card { max-width: 680px; margin-inline: auto; text-align: left; padding: 0.5rem 1.75rem; }
.contact-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; margin: 0; }
.contact-list dt, .contact-list dd { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { padding-right: 1.75rem; }
.contact-list dt:last-of-type, .contact-list dd:last-of-type { border-bottom: 0; }
.contact-list dt { color: var(--muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; align-self: center; }
.contact-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.contact-list a { color: var(--text); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.todo { color: var(--gold-text); }

/* Footer */
.footer { padding-block: 3.5rem 2.25rem; color: var(--on-ink-2); font-size: 0.9rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.75rem 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ink-line); margin-bottom: 1.4rem; }
.footer-brand { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--on-ink); }
.footer-brand .brand-sub { color: var(--gold-2); }
.footer-brand .brand-dot { --dot-l: 0.317em; --dot-r: 0.307em; --dot-y: -0.004em; }
.footer-contact { list-style: none; display: grid; gap: 0.35rem; text-align: right; line-height: 1.4; }
.footer-contact a { color: var(--on-ink); text-decoration-color: var(--gold-line); text-underline-offset: 4px; }
.footer-contact .est { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); line-height: 1.38; } /* basislijn gelijk aan "Consultancy" links */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; font-size: 0.84rem; }
.footer p { margin: 0; }
.footer a { color: var(--on-ink); text-decoration-color: var(--gold-line); text-underline-offset: 4px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; letter-spacing: 0.03em; }
.footer-up { white-space: nowrap; }
@media (max-width: 600px) {
  .footer-contact { text-align: left; }
}

/* Juridische pagina's (algemene voorwaarden) */
.legal { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(4rem, 8vw, 6rem); }
.legal .wrap { max-width: calc(68ch + 40px); }
.legal h1 { font-size: clamp(2.4rem, 1.4rem + 3.5vw, 4.2rem); line-height: 1.05; margin-bottom: 1.25rem; }
.legal h2 { font-size: 1.7rem; margin: 2.25rem 0 0.6rem; }
.legal p, .legal li { color: var(--text-2); }
.legal ol, .legal ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.35rem; }
.legal .note { border-left: 2px solid var(--gold); padding: 0.6rem 1rem; background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }

/* Scroll-reveals: zonder JavaScript is alles direct zichtbaar; met JavaScript
   komt een blok omhoog zodra het in beeld scrolt (klasse "in") */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal, .js .reveal-stagger > * { transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal:not(.in), .js .reveal-stagger:not(.in) > * { opacity: 0; transform: translateY(22px); }
  .js .reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
  .js .reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
  .js .reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
  .js .reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
  .js .reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }
  .js .reveal-stagger > *:nth-child(7) { transition-delay: 0.48s; }
  .js .reveal-stagger > *:nth-child(8) { transition-delay: 0.56s; }
  .js .reveal-stagger > *:nth-child(n+9) { transition-delay: 0.64s; }
}

/* Responsief */
@media (max-width: 1080px) {
  .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .card { grid-column: span 1; }
  .bento > .tile--wide { grid-column: span 2; }
  .framework, .about { grid-template-columns: 1fr; }
  .orbit { width: min(100%, 300px); }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps::before { left: 22px; right: auto; top: 28px; bottom: 22px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent); }
  .steps::after { display: none; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.3rem 1.1rem; align-items: start; }
  .step-n { margin-bottom: 0; grid-row: 1 / 3; }
  .step h3 { padding-top: 0.45rem; }
}
@media (max-width: 760px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pillars { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .tile--wide { padding: 1.75rem; }
  .tile--wide h3 { font-size: 1.8rem; }
  .aurora i:nth-child(3) { display: none; }
  .grain { opacity: 0.045; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .card, .bento > .tile--wide { grid-column: span 1; }
  .contact-list { grid-template-columns: 1fr; gap: 0; }
  .contact-list dt { padding-bottom: 0.1rem; border-bottom: 0; padding-top: 1rem; }
  .contact-list dd { padding-top: 0.1rem; }
  .facts li { font-size: 0.72rem; }
  .nav .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .projects { grid-template-columns: 1fr; }
}

/* Beweging alleen waar gewenst */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .h-display .w > span, .lead, .hero-actions, .facts, .scroll-cue::after,
  .marquee-track, .steps::after, .ring, .core, .cup .steam { animation: none; }
  .card, .btn, .filter, .project, .rule { transition: none; }
  .card:hover, .btn:hover { transform: none; }
  .scroll-cue { display: none; }
}

/* Print */
@media print {
  .nav, .aurora, .grain, .cursor-light, .net, .scroll-cue, .marquee, .hero-actions, .coffee-actions, .skip, .filters { display: none; }
  body { background: #fff; color: #000; }
  .ink, .tile--wide { background: #fff; color: #000; }
  .card { box-shadow: none; border-color: #999; }
}
