/* Extra's (vraag Gill 2026-11-14): bento's, puntenraster, matrix-tekst, Text Rotate (BYQ), fototrail, wereldbol.
   Kleuren via de gradientvariabelen uit main.js (--g0 … --g3, --hlbg). Mobile-first. Enkel transform en opacity animeren
   (uitzondering: de breedte van de Text Rotate-pil, zoals in het BYQ-origineel). TODO: designer review */

:root { --bn-gap: 12px; --bn-r: var(--radius, 12px); }

/* ---------- Bento (gedeeld) ---------- */
.bento { display: grid; gap: var(--bn-gap); grid-template-columns: 1fr; }
.bn { position: relative; overflow: hidden; border-radius: var(--bn-r); background: #f0f0ee; color: var(--ink); padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 180px; isolation: isolate; }
.bn.dark { background: var(--ink); color: #fff; }
.bn .label { margin: 0; }
.bn.dark .label { color: rgba(255,255,255,.62); }
.bn-num { display: block; font-size: clamp(56px, 6.4vw, 104px); font-weight: 500; line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bn-stat > span { font-size: var(--t-lead); line-height: 1.3; max-width: 22ch; }
.bn-accent { background: var(--hlbg, #00e0ff); color: var(--ink); }
html.hl-dark .bn-accent { color: #fff; }

/* Opbouw bij het scrollen: kaart per kaart */
.bento .bn { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease, ease), transform .9s var(--ease, ease); transition-delay: calc(var(--k, 0) * 70ms); }
.bento.in .bn { opacity: 1; transform: none; }

/* ---------- Bento home ---------- */

/* ---------- Bento SEO, GEO & AIO ---------- */
.bn-rotate { min-height: 260px; }
.bn-tr-h { font-size: var(--t-h2); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: .1em .28em; }
.bn-def { min-height: 220px; }
.bn-abbr { font-size: clamp(44px, 4.6vw, 72px); font-weight: 500; line-height: .9; letter-spacing: -.02em; }
.bn-full { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-light); }
.bn-def p { font-size: var(--t-body); line-height: 1.5; color: rgba(11,13,15,.75); max-width: 34ch; }
.bn-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 24px; grid-template-columns: 1fr; }
.bn-check li { display: flex; align-items: center; gap: 12px; font-size: var(--t-lead); }
.bn-tick { position: relative; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); }
.bn-tick::after { content: ""; position: absolute; inset: 4px; border-radius: 3px; background: var(--hlbg, #00e0ff); transform: scale(0); transition: transform .45s cubic-bezier(.22, 1.25, .36, 1); transition-delay: calc(var(--k, 0) * 160ms + 300ms); }
.bento.in .bn-tick::after { transform: scale(1); }
@media (min-width: 640px) { .bn-check { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .bento-3 { grid-template-columns: repeat(3, 1fr); }
  .bento-3 .bn-rotate { grid-column: span 2; }
  .bento-3 .bn-audit { grid-column: 1 / -1; }
  .bn-check { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Text Rotate (BYQ text-rotate-01): motion exact, kleuren uit de site ---------- */
.tr-rotator { position: relative; display: inline-flex; overflow: hidden; box-sizing: content-box; height: 1.15em; width: 0; border-radius: .22em; background: var(--hlbg, #00e0ff); color: var(--ink); line-height: 1.15em; letter-spacing: -.01em; will-change: width; transition: width .55s cubic-bezier(.22, 1.1, .36, 1); vertical-align: middle; }
html.hl-dark .tr-rotator { color: #fff; }
.tr-word { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; padding: 0 .32em; white-space: nowrap; }
.tr-char { display: inline-block; white-space: pre; transform: translateY(115%); opacity: 0; transition: transform .62s cubic-bezier(.22, 1.25, .36, 1) calc(var(--i, 0) * 26ms), opacity .4s linear calc(var(--i, 0) * 26ms); }
.tr-word--in .tr-char { transform: translateY(0); opacity: 1; }
.tr-word--out .tr-char { transform: translateY(-125%); opacity: 0; transition: transform .5s cubic-bezier(.5, 0, .75, 0) calc(var(--i, 0) * 22ms), opacity .32s linear calc(var(--i, 0) * 22ms); }
@media (prefers-reduced-motion: reduce) {
  .tr-rotator { transition-duration: .001ms; }
  .tr-char, .tr-word--out .tr-char { transform: none; transition: opacity .25s linear, transform .001ms; }
  .tr-word--out .tr-char { opacity: 0; }
}

/* ---------- Interactief puntenraster (What I stand for) ---------- */

/* ---------- Matrix-tekst: BYQ flip-word-reveal-01 (split-flap). Motion exact: rotateX, .26s cubic-bezier(.65, 0, .35, 1) ---------- */
.fwr-text { display: inline; }
/* Klap-letters nemen altijd de stijl van hun tekst over (regels als ".bn-stat span" of ".tile .meta span" mogen er niet op inwerken) */
.fwr-text, .fwr-text span { color: inherit !important; font: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important; }
.fwr-word { display: inline-block; white-space: nowrap; }
.fwr-letter { display: inline-grid; place-items: center; perspective: 600px; vertical-align: baseline; }
.fwr-flip { display: grid; grid-template-areas: "cell"; transform-style: preserve-3d; transform: rotateX(0deg); transition: transform .26s cubic-bezier(.65, 0, .35, 1); }
.fwr-flip.is-flipped { transform: rotateX(180deg); }
.fwr-face { grid-area: cell; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fwr-face-back { transform: rotateX(180deg); }
@media (prefers-reduced-motion: reduce) { .fwr-flip { transition-duration: .001ms !important; } }

/* ---------- Projecttegels: kleine hover (Gill 2026-11-14) ---------- */
html body .tile img, html body .lg .tile .lg-media img { transition: transform .7s var(--ease, ease), opacity .4s; }
@media (hover: hover) and (pointer: fine) {
  html body .tile:hover img { transform: translateY(-6px) !important; }
  html body .lg .tile:hover .lg-media img { transform: scale(1.035) !important; }
}
.tile .meta b, .lg-title { display: inline-block; }

/* ---------- Fototrail (About) ---------- */
[data-trail] { cursor: crosshair; }
.page-head[data-trail] .in { z-index: 2; }

/* ---------- Paginatransitie uit (Gill 2026-11-14). Laatste @view-transition-regel wint van die in style.css ---------- */
@view-transition { navigation: none; }

/* ---------- Contactkaart in de hero: hover vergroot (Gill 2026-11-14). Enkel transform en opacity ---------- */
html body .h2-card { position: relative; overflow: hidden; isolation: isolate; transform-origin: 100% 100%; }
html body .h2-card.card-ready { transition: transform .7s cubic-bezier(.22, 1.25, .36, 1), opacity .9s ease; transition-delay: 0s; }
.h2-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--g1, #8a2bff), var(--g2, #00e0ff)); opacity: 0; transition: opacity .6s ease; }
.h2-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.09), transparent); transform: translateX(-130%) skewX(-12deg); pointer-events: none; }
.h2-avatar { transition: transform .7s cubic-bezier(.22, 1.25, .36, 1); }
.h2-arrow > span { display: inline-block; transition: transform .6s cubic-bezier(.22, 1.25, .36, 1); }
.h2-swap { display: grid; overflow: hidden; }
.h2-swap > span { grid-area: 1 / 1; transition: transform .5s cubic-bezier(.65, 0, .35, 1), opacity .4s ease; }
.h2-swap > span:last-child { display: inline-flex; align-items: center; gap: 6px; transform: translateY(110%); opacity: 0; }
.h2-swap i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
@media (hover: hover) and (pointer: fine) {
  html body .h2-card.card-ready:hover { transform: scale(1.1); }
  .h2-card:hover::before { opacity: .38; }
  .h2-card:hover::after { transform: translateX(330%) skewX(-12deg); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
  .h2-card:hover .h2-avatar { transform: scale(1.12) rotate(-3deg); }
  .h2-card:hover .h2-arrow > span { transform: rotate(-45deg); }
  .h2-card:hover .h2-swap > span:first-child { transform: translateY(-110%); opacity: 0; }
  .h2-card:hover .h2-swap > span:last-child { transform: none; opacity: 1; }
}

/* ---------- Muisbolletje: enkel zwart of wit, altijd gevuld (Gill 2026-11-14) ----------
   Geen negatief (difference), geen ring. Zwart op lichte vlakken, wit op donkere (extras.js kijkt welke achtergrond
   onder de muis ligt). Op links wordt het niet groter (main.js), zodat het de tekst niet bedekt. */
html body .cursor, html body .cursor.ring { mix-blend-mode: normal; background: var(--ink); box-shadow: none; }
html body .cursor.on-dark, html body .cursor.ring.on-dark { background: #fff; }

/* ---------- 200+ Wall: korter scrollen en interactieve thumbnails (Gill 2026-11-14) ---------- */

/* 200+ Wall: zwarte achtergrond zoals in het begin (Gill 2026-11-14, na rondes met een gradient erachter) */

/* ---------- Geen weeswoorden (Gill 2026-11-14) ----------
   pretty: de browser verdeelt de regels zodat het laatste woord niet alleen staat. Koppen blijven op balance (style.css). */
p, li, small, figcaption, .bw-text, .bn span, .bn-def p, .lead { text-wrap: pretty; }

/* ---------- Bento home: BYQ truebase-bento-1 (keuze Gill 2026-11-14) ----------
   Layout, opbouw en animaties van BYQ (6 kolommen, grid en balk schuiven in beeld, teller met blur).
   Kleuren en font van de site; accent = --hlbg (cyaan). TODO: designer review */

/* Kleine regel onder de intro op home (Gill 2026-11-14) */


/* Dienstenlijst: de zinnen staan op 1280px exact op twee regels. De kolom groeit evenredig mee met de lettergrootte
   (1,2vw tot 18px), zodat dat op grotere schermen zo blijft (Gill 2026-11-15). Namen behouden hun grootte. */
@media (min-width: 900px) { html body .bw-dark .bw-item { grid-template-columns: 8vw minmax(0, 1fr) clamp(290px, 23.2vw, 348px); } }

/* Dienstnamen: deel na "&" op eigen lijn wanneer niet alles op één lijn past (scripts/bigwords-split.ts). Gill 2026-11-15. TODO: designer review */
.bw-word.is-split .bw-rest { display: block; }
.bw-measure .bw-word { white-space: nowrap; }
.bw-measure .bw-word .bw-rest { display: inline; }

/* Tekst op gradient in de paginakop: waas rechtsonder (op mobiel onderaan) achter het intro, zodat de tekst leesbaar blijft
   waar de gradient bijna wit wordt. Violet in de hoek, naar buiten toe blauw; kleuren uit de gradient (volgen mee). Keuze Gill 2026-11-15 (J). TODO: designer review */
.page-head .in { z-index: 2; }
.page-head { --ph-in: var(--g0, #400da6); --ph-out: color-mix(in srgb, color-mix(in srgb, var(--g0, #400da6) 45%, var(--g2, #00e0ff)) 70%, #000); }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 75% at 100% 100%, color-mix(in srgb, var(--ph-in) 80%, transparent), color-mix(in srgb, var(--ph-out) 50%, transparent) 45%, transparent 78%); }
@media (max-width: 899px) { .page-head::after { background: linear-gradient(to top, color-mix(in srgb, var(--ph-in) 78%, transparent), color-mix(in srgb, var(--ph-out) 40%, transparent) 40%, transparent 70%); } }
.page-head .in > p { color: rgba(255,255,255,.9); }

/* Projectkaartjes op Work: merkkleur van de klant, desktop schuin erachter, telefoon vooraan (optie 3, Gill 2026-11-15). TODO: designer review */
html body .lg .lg-cover { position: relative; background: var(--brand); isolation: isolate; }
html body .lg .lg-cover img { position: absolute; height: auto; aspect-ratio: auto; object-fit: cover; object-position: top; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
html body .lg .lg-cover .lgc-desk { width: 78%; aspect-ratio: 3 / 2; right: -6%; top: 14%; left: auto; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.28); transform: rotate(-4deg); }
html body .lg .lg-cover .lgc-desk:only-child { width: 84%; right: auto; left: 8%; top: 12%; transform: rotate(-3deg); }
html body .lg .tile:hover .lg-cover .lgc-desk { transform: rotate(-2deg) translate(-3%, -4%) !important; }
html body .lg .tile:hover .lg-cover .lgc-desk:only-child { transform: rotate(-1.5deg) translateY(-4%) !important; }
/* Lijstweergave: gewoon de desktopversie als klein beeld */
html body .lg[data-view="list"] .lg-cover { background: var(--ink-2, #15181b); }
html body .lg[data-view="list"] .lg-cover .lgc-desk { inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; transform: none !important; }
@media (prefers-reduced-motion: reduce) { html body .lg .lg-cover img { transition: none; } }

/* Projectpagina: beschrijving onder de screenshot (titel staat bovenaan in de paginakop). Gill 2026-11-15. TODO: designer review */
.pj-lead { font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: 0; max-width: 30ch; margin: 0 0 28px; }

/* Kaartje met logo (voorstel A, Gill 2026-11-15): logo linksboven in wit of zwart, mockups rechts naar onder. TODO: designer review */
html body .lg .lg-cover .lgc-logo { left: 7%; top: 8%; width: 34%; height: 12%; object-fit: contain; object-position: left center; border-radius: 0; box-shadow: none; transform: none; background: transparent !important; outline: 0; }
html body .lg .lg-cover .lgc-logo.mono-w { filter: brightness(0) invert(1); }
html body .lg .lg-cover .lgc-logo.mono-b { filter: brightness(0); }
html body .lg .lg-cover.has-logo .lgc-desk { width: 74%; right: -12%; top: 30%; }
html body .lg .tile:hover .lg-cover .lgc-logo { transform: none !important; }
html body .lg .tile:hover .lg-cover.has-logo .lgc-desk { transform: rotate(-2deg) translate(-3%, -3%) !important; }
html body .lg[data-view="list"] .lg-cover .lgc-logo { display: none; }
html body .lg[data-view="list"] .lg-cover.has-logo .lgc-desk { inset: 0; width: 100%; }

/* Kaartje met toestellen (voorstel 3, Gill 2026-11-15): desktop op een extern scherm (voet valt onderaan buiten beeld), telefoon met rand. TODO: designer review */
html body .lg .lg-dev { container-type: inline-size; }
html body .lg .lg-dev .lgc-mon, html body .lg .lg-dev .lgc-ph { position: absolute; display: block; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
html body .lg .lg-dev .lgc-mon img, html body .lg .lg-dev .lgc-ph img { position: static; display: block; width: 100%; transform: none !important; box-shadow: none; outline: 0; }
html body .lg .lg-dev .lgc-mon { right: -7%; top: 21%; width: 74%; transform: rotate(-3deg); filter: drop-shadow(0 18px 28px rgba(0,0,0,.3)); }
html body .lg .lg-dev:not(.has-logo) .lgc-mon { top: 15%; }
html body .lg .lg-dev .lgc-scr { display: block; background: #0b0d0f; border-radius: 1.6cqi; padding: 1.3cqi 1.3cqi 2.8cqi; }
html body .lg .lg-dev .lgc-scr img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: top; border-radius: .4cqi; }
html body .lg .lg-dev .lgc-neck { display: block; width: 13%; height: 8cqi; margin: 0 auto; background: linear-gradient(90deg, #a3a7ae, #d6d9de 50%, #a3a7ae); }
html body .lg .lg-dev .lgc-foot { display: block; width: 36%; height: 1.6cqi; margin: 0 auto; background: linear-gradient(#d6d9de, #a3a7ae); border-radius: 1cqi 1cqi .4cqi .4cqi; }
html body .lg .lg-dev .lgc-ph { left: 10%; top: 38%; width: 21%; aspect-ratio: 390 / 844; background: #0b0d0f; border-radius: 4cqi; padding: 1cqi; box-shadow: 0 18px 36px rgba(0,0,0,.35); transform: rotate(3deg); z-index: 2; }
html body .lg .lg-dev:not(.has-logo) .lgc-ph { top: 28%; }
html body .lg .lg-dev .lgc-ph img { height: 100%; object-fit: cover; object-position: top; border-radius: 3cqi; }
html body .lg .tile:hover .lg-dev .lgc-mon { transform: rotate(-2deg) translate(-2%, -3%); }
html body .lg .tile:hover .lg-dev .lgc-ph { transform: rotate(0deg) translateY(-5%); }
/* Lijstweergave: enkel de desktopversie als klein beeld */
html body .lg[data-view="list"] .lg-dev .lgc-mon { inset: 0; width: 100%; transform: none; filter: none; }
html body .lg[data-view="list"] .lg-dev .lgc-scr { padding: 0; border-radius: 0; height: 100%; }
html body .lg[data-view="list"] .lg-dev .lgc-scr img { height: 100%; aspect-ratio: auto; border-radius: 0; }
html body .lg[data-view="list"] .lg-dev .lgc-neck, html body .lg[data-view="list"] .lg-dev .lgc-foot, html body .lg[data-view="list"] .lg-dev .lgc-ph { display: none; }
@media (prefers-reduced-motion: reduce) { html body .lg .lg-dev .lgc-mon, html body .lg .lg-dev .lgc-ph { transition: none; } }
/* Screenshot vult het hele scherm: oude regels voor .lgc-desk (breedte, positie, kanteling) gelden niet in het scherm */
html body .lg .lg-cover.lg-dev .lgc-mon .lgc-desk { position: static !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover; object-position: top; inset: auto !important; transform: none !important; box-shadow: none !important; border-radius: .4cqi; }
html body .lg[data-view="list"] .lg-cover.lg-dev .lgc-mon .lgc-desk { height: 100% !important; aspect-ratio: auto !important; border-radius: 0; }
/* Hover: de screenshots blijven in hun toestel (oude hover-regels voor .lgc-desk en .lg-media img gelden hier niet) */
html body .lg .tile:hover .lg-cover.lg-dev .lgc-mon .lgc-desk, html body .lg .tile:hover .lg-cover.lg-dev.has-logo .lgc-mon .lgc-desk, html body .lg .tile:hover .lg-cover.lg-dev .lgc-ph img { transform: none !important; }
/* Telefoon: statusbalk met notch bovenaan, de site begint eronder (zoals op een echte telefoon) */
html body .lg .lg-dev .lgc-ph { padding: 3.6cqi 1cqi 1cqi; }
html body .lg .lg-dev .lgc-ph::before { content: ""; position: absolute; top: 1.25cqi; left: 50%; width: 32%; height: 1.5cqi; transform: translateX(-50%); background: #1f2329; border-radius: 99px; }
html body .lg .lg-dev .lgc-ph img { border-radius: .5cqi .5cqi 3cqi 3cqi; }
/* Telefoon iets meer naar rechts, deels over het scherm (Gill 2026-11-15). Logo: grootte per logo via main.js, linksboven uitgelijnd */
html body .lg .lg-dev .lgc-ph { left: 18%; }
html body .lg .lg-cover .lgc-logo { object-position: left top; }
/* Home, Selected work: zelfde kaartjes als op Work (Gill 2026-11-16) */
html body .tiles-4.lg { margin-top: 0; }

/* "Click to change the vibe" onderaan de hero, naast Scroll to explore (Gill 2026-11-16; eerst in de nav). TODO: designer review */
.h2-hints { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; row-gap: 6px; margin-top: 22px; }
.h2-hints .h2-scroll { margin-top: 0; }
.h2-vibe { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; cursor: pointer; }
.h2-vibe::before { content: ""; width: 1px; height: 14px; background: currentColor; opacity: .4; margin-right: 10px; }
.h2-vibe-ic { display: block; width: 20px; height: 20px; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.h2-vibe-ic svg { display: block; width: 100%; height: 100%; }
.h2-vibe:hover .h2-vibe-ic { transform: rotate(-20deg) scale(1.12); }
.h2-vibe:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.h2-vibe-ic.spin { animation: vibe-spin .7s cubic-bezier(.22, 1, .36, 1); }
@keyframes vibe-spin { from { transform: rotate(-180deg) scale(.8); } to { transform: rotate(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .h2-vibe-ic, .h2-vibe-ic.spin { transition: none; animation: none; } }

/* Home intro: iets breder op desktop, zodat "websites." op de tweede lijn past (Gill 2026-11-16). TODO: designer review */
/* Regelbreuken uit het CMS (nieuwe lijn) enkel op desktop. Intro: vaste lijnen van Gill (2026-11-16), dus geen max-width */
html body br.br-d { display: none; }
@media (min-width: 992px) { html body br.br-d { display: inline; } html body #intro .statement { max-width: none; } }
/* Home intro iets meer naar links (Gill 2026-11-16). TODO: designer review */
@media (min-width: 900px) { html body #intro .split { grid-template-columns: 1fr 3.4fr; } }
/* Hero-hints iets kleiner (Gill 2026-11-16) */
html body .h2-hints .h2-scroll, html body .h2-hints .h2-vibe { font-size: 13px; }
html body .h2-hints { column-gap: 14px; }
html body .h2-vibe { gap: 6px; }
html body .h2-vibe::before { height: 11px; margin-right: 8px; }
html body .h2-vibe-ic { width: 15px; height: 15px; }
/* Kleine labels in rem (1rem = 16px, volgt de lettergrootte van de browser): 14px (Gill 2026-11-16) */
html body .h2-hints .h2-scroll, html body .h2-vibe, html body .nv-status { font-size: .875rem; }
html body .h2-vibe-ic { width: 1rem; height: 1rem; }

/* Palet-icoon in de nav naast Contact, op elke pagina (Gill 2026-11-16). TODO: designer review */
.nv-vibe { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -6px 0 -6px -18px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.nv-vibe .h2-vibe-ic { width: 18px; height: 18px; }
.nv-vibe:hover .h2-vibe-ic { transform: rotate(-20deg) scale(1.12); }
.nv-vibe:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 50%; }
@media (max-width: 991px) { .nv-vibe { margin-left: -10px; } }
@media (max-width: 759px) { .nv-vibe { margin-left: auto; } .nv-vibe ~ .nv-mbtn { margin-left: 0; } }

/* Nav leesbaar bij scrollen: wazige achtergrond (donker, of licht boven lichte stukken). Enkel opacity animeert (Gill 2026-11-16). TODO: designer review */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: rgba(11,13,15,.55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.nav.on-light::before { background: rgba(255,255,255,.7); }
.nav.scrolled::before { opacity: 1; }
body.menu-open .nav::before { opacity: 0; }

/* Modal: geen gradientlijn onderaan (Gill 2026-11-16) */
html body .modal .sheet::after { display: none; }
/* Projectpagina: info boven de grote afbeelding (Gill 2026-11-16) */
html body .pj .pj-grid { margin-top: 0; }
html body .pj .pj-shot { margin-top: clamp(48px, 6vw, 88px); }

/* Work: filters verborgen (Gill 2026-11-16). Modal: rij Designer, enkel als ingevuld */
html body .filters[hidden] { display: none !important; }
html body .modal .sheet dl dt:nth-of-type(4) { display: block; }
html body .modal .sheet dl [hidden] { display: none !important; }

/* About: agencies en designers (Gill 2026-11-16). Zelfde lijnen als Side quests. TODO: designer review */
.pt-list { margin-top: 28px; border-top: 1px solid var(--line-light); }
.pt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-light); color: inherit; text-decoration: none; }
.pt-row b { font-size: 20px; font-weight: 500; }
.pt-role { grid-column: 1; font-size: 15px; color: var(--muted-light); }
.pt-n { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; color: var(--muted-light); white-space: nowrap; transition: transform .4s var(--ease); }
a.pt-row:hover .pt-n { transform: translate(3px, -3px); }
@media (min-width: 900px) { .pt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; } .pt-role { grid-column: 2; } .pt-n { grid-column: 3; grid-row: auto; } }
@media (min-width: 900px) { html body .pt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 120px; } html body .pt-n { justify-self: end; } }
/* Nav-blur zonder harde onderrand: loopt zacht uit onder de nav (Gill 2026-11-16) */
html body .nav::before { bottom: -36px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.6) 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.6) 70%, transparent 100%); }

/* About: statement korter, "All-round technology geek" kleiner met labels eronder (Gill 2026-11-16). TODO: designer review */
.ab-geek { margin-top: 28px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; color: var(--muted-light); }
html body .ab-tags { margin-top: 14px; }

/* Dienstpagina's: FAQ in plaats van de algemene stappen (Gill 2026-11-16). TODO: designer review */
.faq-list { border-top: 1px solid var(--line-light); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 500; line-height: 1.2; }
.faq-item i { position: relative; flex: none; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.faq-item i::before, .faq-item i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.faq-item i::after { transform: rotate(90deg); }
.faq-item[open] i { transform: rotate(45deg); }
.faq-item p { margin: -6px 0 26px; max-width: 64ch; font-size: 17px; line-height: 1.6; color: var(--muted-light); }
.faq-item[open] p { animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Nav tijdelijk gewoon bovenaan de pagina, scrollt mee weg: geen verbergen, geen blur (Gill 2026-11-16, bijna live) */
html body .nav, html body .nav.scrolled, html body .nav.nav-hide { position: absolute; transform: none !important; }
html body .nav::before { display: none; }
html body.menu-open .nav { position: fixed; }
/* Stappen: 5 stappen (SEO) passen naast elkaar */
@media (min-width: 900px) { html body .svc-steps:has(> li:nth-child(5)) { grid-template-columns: repeat(5, 1fr); } }
/* Paginatitels: meer ruimte tussen twee lijnen, zodat de g de t eronder niet raakt (Gill 2026-11-16) */
html body .page-head h1 { line-height: 1.04 !important; }

/* Contactformulier: honeypot onzichtbaar, foutmelding, verzenden */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.cf-error { margin: 0; font-size: 14px; color: #b42318; }
.cf-error a { color: inherit; border-bottom: 1px solid; }
.contact-form.sending .btn-send { opacity: .5; pointer-events: none; }

/* Diensten zonder achtergrond bij hover (CMS: Services background = None): sectie blijft wit, titels donker (Gill 2026-11-17) */
html body .bw-photo-bg[data-bg="none"] .bw-list.hovering .bw-item { color: rgba(11,13,15,.18); }
html body .bw-photo-bg[data-bg="none"] .bw-list.hovering .bw-item.active { color: var(--ink); }
html body .bw-photo-bg[data-bg="none"] .bw-list.hovering .bw-item .bw-text { color: rgba(11,13,15,.35); }
html body .bw-photo-bg[data-bg="none"] .bw-list.hovering .bw-item.active .bw-text { color: rgba(11,13,15,.75); }

/* Cookiebanner: klein kaartje rechtsonder (Gill 2026-11-17). Enkel transform en opacity animeren. TODO: designer review */
.ck { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: min(380px, calc(100vw - 32px)); padding: 18px 18px 14px; border-radius: 16px; background: rgba(11,13,15,.92); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,.35); font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .45s cubic-bezier(.22, 1, .36, 1); }
.ck.in { opacity: 1; transform: none; }
.ck-t { margin: 0 0 14px; color: rgba(255,255,255,.86); }
.ck-t a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
.ck-opts { display: grid; gap: 8px; margin: 0 0 14px; }
.ck-opts label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ck-opts span { margin-left: auto; color: rgba(255,255,255,.5); font-size: 12px; }
.ck-opts input { accent-color: var(--g2, #00e0ff); width: 16px; height: 16px; }
.ck-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ck-b { border: 0; border-radius: 10px; padding: 9px 13px; font: inherit; font-size: 13px; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; }
.ck-b.ck-yes { background: #fff; color: #0b0d0f; }
.ck-b.ck-link { background: none; padding-left: 6px; padding-right: 6px; text-decoration: underline; text-underline-offset: 3px; }
.ck-b:focus-visible { outline: 2px solid var(--g2, #00e0ff); outline-offset: 2px; }
.footer .legal button { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; opacity: inherit; }
.legal-body ul { margin: 10px 0 0; padding-left: 18px; }
.legal-body li { margin: 4px 0; }
.legal-body p + p, .legal-body ul + p { margin-top: 12px; }
.legal-body a { color: inherit; border-bottom: 1px solid currentColor; }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }
.ck-opts[hidden] { display: none; }
/* Diensten zonder achtergrond: minder witruimte onderaan, anders een groot wit gat naar de volgende sectie (Gill 2026-11-17) */
html body .bw-photo-bg[data-bg="none"] .bw-in { padding-bottom: 80px; }
html body.is-home .bw-photo-bg[data-bg="none"] .bw-in { padding-bottom: 24px; }
/* Diensten: hover-beeld mag over de rand van de sectie (anders onderaan afgesneden), boven de volgende sectie (Gill 2026-11-17) */
html body .bigwords.bw-dark { overflow: visible; z-index: 3; }
html body .bigwords .bw-bgs { overflow: hidden; }

/* Audit 2026-11-17: toegankelijkheid */
@media (min-width: 900px) { html body .bw-dark .bw-text { opacity: .8; } } /* was .5: contrast 2,4 -> 4,9 */
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: #fff; color: #0b0d0f; font-size: 14px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; outline: 2px solid var(--g2, #00e0ff); outline-offset: 2px; }
.bw-head h2.label { margin: 0; font-size: inherit; font-weight: inherit; }
.cf-note { margin: 0; font-size: 13px; color: var(--muted-light); }
.cf-note a { color: inherit; border-bottom: 1px solid currentColor; }

/* Taalkeuze in de nav en het mobiele menu (Gill 2026-11-17). TODO: designer review */
/* Taalkeuze als dropdown (Gill 2026-11-17). TODO: designer review */
.nv-lang { position: relative; flex: none; margin-left: -12px; }
.nv-lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 6px 4px; border: 0; background: none; color: inherit; font: inherit; font-size: .875rem; cursor: pointer; }
.nv-lang-btn i { width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.nv-lang.open .nv-lang-btn i { transform: translateY(3px) rotate(225deg); }
.nv-lang-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 6px; }
.nv-lang-menu { position: absolute; top: calc(100% + 10px); right: -8px; z-index: 70; min-width: 176px; margin: 0; padding: 6px; list-style: none; background: rgba(14,16,19,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right; transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.nv-lang.open .nv-lang-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nv-lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: #fff; font-size: .875rem; text-decoration: none; }
.nv-lang-menu a b { width: 22px; font-weight: 500; opacity: .5; }
.nv-lang-menu a:hover, .nv-lang-menu a:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.nv-lang-menu a[aria-current] b { opacity: 1; }
.nv-lang-menu a[aria-current]::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #5cce63; }
@media (max-width: 991px) { .nv-lang { margin-left: -24px; } }
@media (max-width: 759px) { .nv-lang { margin-left: 0; } .nv-lang-btn { font-size: 15px; } }
.mm-lang { display: flex; gap: 12px; }
.mm-lang a { color: inherit; opacity: .55; }
.mm-lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Partnerbadges (Gill 2026-11-17). TODO: designer review */
.pb { margin-top: 40px; }
.pb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 14px 0 0; padding: 0; list-style: none; }
.pb-list a { display: block; transition: transform .25s var(--ease); }
.pb-list a:hover { transform: translateY(-2px); }
.pb-list img { display: block; width: auto; }
.pb-wf img { height: 40px; }
.pb-li img { height: 64px; border-radius: 4px; }
@media (max-width: 759px) { .pb-wf img { height: 36px; } .pb-li img { height: 56px; } }

/* Mobiel nagekeken (2026-11-17) */
/* Projectnamen op kaartjes: niet afkappen, max. twee lijnen */
.lg .lg-title { white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; text-wrap: balance; }
.tiles.lg:not([data-view="list"]) .tile { align-content: start; }
/* Grotere tikzone zonder de lay-out te verschuiven */
@media (max-width: 759px) {
  .h2-hints .h2-scroll, .h2-hints .h2-vibe { padding-top: 14px; padding-bottom: 14px; margin-top: -14px; margin-bottom: -14px; }
  .contact-info dd a { display: inline-block; padding: 10px 0; margin: -10px 0; }
}

/* <picture> rond bestaande beelden (WebP, 2026-11-18): geen eigen box, zodat img { height: 100% } blijft werken */
.h2-avatar picture, .portrait-sm picture { display: contents; }

/* Dienstenlijst (copy-feedback 2026-11-18): nummer en ondertitel op dezelfde hoogte in elke rij, uitgelijnd op het midden
   van de eerste lijn van de dienstnaam (vroeger verticaal gecentreerd, wat verschilde bij namen over één of twee lijnen) */
@media (min-width: 900px) {
  html body .bw-dark .bw-item { align-items: start; }
  html body .bw-dark .bw-n, html body .bw-dark .bw-text { line-height: 1.5; margin-top: calc(clamp(32px, 4.2vw, 76px) * .51 - .75em); }
}
