/* ============================================================================
   leylive — design system + shared shell styles.
   Vocabulary: pill nav, black island menu, editorial lowercase type, masked
   reveals, sticky-curtain footer. Original composition on the Leylive brand
   (white monoline monogram on black + warm paper + one warm accent).
   ========================================================================== */

/* Outfit, served from this site (phase 2 item 7: no request to Google Fonts any more).
   Variable font 200-700, the same two files and unicode ranges Google served (v15).
   License: /assets/fonts/OFL.txt. admin/admin.css carries the same two rules. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* color tokens */
  --bg: #F6F5F1;            /* warm paper */
  --surface: #EFEDE7;
  --ink: #101010;
  --text-muted: #6F6C66;    /* AA on --bg */
  --grey-soft: #8E8B84;     /* large/decorative only */
  --pill: #E9E7E0;
  --line: #E1DFD8;
  --accent: #FFD64D;
  --accent-ink: #1A1607;
  --dark: #0D0D0C;
  --dark-text: #F6F5F1;
  --dark-muted: #B9B6AF;
  --dark-line: #2A2A28;

  /* motion signature */
  --butter: cubic-bezier(.25,.1,.25,1);
  --hop: cubic-bezier(.9,0,.1,1);
  --butter-slow: cubic-bezier(.14,.11,.11,1);

  /* spacing scale (4/8) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* radius-schaal (audit 14.1 — de waarden die het ontwerp echt gebruikt) */
  --radius-tag: 4px;
  --radius-btn: 8px;     /* kleine accenten: step-detail, picker-q, skip */
  --radius-field: 10px;  /* inputs, notes, kleine kaders */
  --radius-msg: 14px;    /* chatbubbels */
  --radius-card: 16px;
  --radius-panel: 20px;  /* island, chatpanel, form/dark-cards */
  --radius-stage: 24px;  /* grote podia/showcases */
  --radius-pill: 9999px;

  /* elevation (3 niveaus i.p.v. losse one-offs) */
  --shadow-lift: 0 6px 24px rgba(16,16,16,.18);
  --shadow-stage: 0 44px 90px -38px rgba(16,16,16,.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; font-size: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .island :focus-visible, .bigfoot :focus-visible { outline-color: var(--dark-text); }

/* Lenis reset */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- type helpers ---------- */
.label {
  display: inline-block;
  font-size: 11px; font-weight: 300; letter-spacing: .6px;
  color: var(--text-muted);
}
.display {
  font-weight: 400; letter-spacing: -.02em; line-height: 1.12;

}
.measure { max-width: 60ch; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pill); color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 12.5px; font-weight: 300; letter-spacing: .45px;
 white-space: nowrap;
  transition: scale .3s var(--hop), background .3s var(--butter), color .3s var(--butter);
}
.pill .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.pill:hover { scale: .975; }
.pill.solid { background: var(--ink); color: var(--bg); }
.pill.rand:hover { background: var(--hover-color, var(--accent)); color: var(--hover-ink, var(--accent-ink)); }
.pill.big { padding: 14px 26px; font-size: 14px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pill); border-radius: var(--radius-tag);
  padding: 5px 9px; font-size: 11px; font-weight: 300; letter-spacing: .45px;
  color: var(--text-muted);
}
.tag.accent { background: var(--accent); color: var(--accent-ink); }

/* ---------- top bar ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.wordmark-link {
  font-size: 17px; font-weight: 600; letter-spacing: -.4px; text-transform: lowercase;
  transition: opacity .3s var(--butter);
}
.wordmark-link:hover { opacity: .6; }
.top .contact-pill { justify-self: end; }
.menu-pill {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between;
  width: 196px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 12px; font-weight: 300; letter-spacing: .45px;
}
.menu-pill span { transition: opacity .5s var(--butter); }
.menu-pill.hide span { opacity: 0; }
/* header over dark sections */
.top { transition: color .35s var(--butter); }
.top.on-dark { color: var(--dark-text); }
.top.on-dark .pill { background: rgba(246,245,241,.12); color: var(--dark-text); }
.top.on-dark .pill.rand:hover { background: var(--accent); color: var(--accent-ink); }
.menu-pill { box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .35s var(--butter); }
.top.on-dark .menu-pill { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); } /* hairline: the #101010 pill vanishes on #0D0D0C */
/* header over screenshots/photos ([data-header-media], shell.js): a dark chip behind
   the logo and contact pill so both read on light and dark images alike */
.wordmark-link { border-radius: var(--radius-pill); transition: opacity .3s var(--butter), background .35s var(--butter), padding .35s var(--butter), margin .35s var(--butter); }
.top.on-media .wordmark-link { color: var(--dark-text); background: rgba(13, 13, 12, .78); padding: 8px 14px; margin: -8px -14px; backdrop-filter: blur(10px); }
.top.on-media .contact-pill { color: var(--dark-text); background: rgba(13, 13, 12, .78); backdrop-filter: blur(10px); }
/* scrolled (shell.js): tablet + phone get a solid backdrop (blur smudged the dark CTA into a grey glow) so text scrolling under the
   header never shows around the menu pill; dark sections get a dark one, photos keep the chips */
.top { transition: color .35s var(--butter), background-color .35s var(--butter); }
@media (max-width: 1024px) {
  .top.scrolled { background: var(--bg); }
  .top.scrolled.on-dark { background: var(--dark); }
  .top.scrolled.on-media { background: transparent; }
}

/* ---------- island menu (pill morphs open) ---------- */
.island {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 70;
  width: 196px; background: var(--ink); color: #fff;
  border-radius: var(--radius-panel); padding: 18px 22px 26px;
  overflow: hidden; visibility: hidden;
}
.island.open, .island.closing { visibility: visible; }
.island .row {
  display: flex; justify-content: space-between;
  width: 0; overflow: hidden; white-space: nowrap;
  font-size: 11.5px; font-weight: 200; letter-spacing: .45px; color: #bbb;
  margin-bottom: 22px;
  transition: width .3s var(--hop);
}
.island.open .row { width: 240px; transition: width .66s var(--hop) .8s; }
.closemask { display: inline-block; overflow: hidden; color: #bbb; }
.closelabel { display: inline-block; transform: translateY(120%); transition: transform .15s var(--butter); }
.island.open .closelabel { transform: none; transition: transform .2s var(--butter) .1s; }
.island nav { width: 240px; }
.island nav a {
  display: block; font-size: 22px; font-weight: 300; line-height: 2; color: #fff;
 position: relative;
  opacity: 0; transform: translateY(14px);
  transition: color .35s var(--butter), transform .25s var(--butter), opacity .25s var(--butter);
}
.island.open nav a { opacity: 1; transform: none; transition: color .35s var(--butter), transform .3s var(--butter), opacity .3s var(--butter); }
.island.open nav a:nth-child(1) { transition-delay: 0s, .30s, .30s; }
.island.open nav a:nth-child(2) { transition-delay: 0s, .37s, .37s; }
.island.open nav a:nth-child(3) { transition-delay: 0s, .44s, .44s; }
.island.open nav a:nth-child(4) { transition-delay: 0s, .51s, .51s; }
.island.open nav a:nth-child(5) { transition-delay: 0s, .58s, .58s; }
.island nav a:hover { color: #9a9a9a; transform: translateX(.3em); transition-delay: 0s; }
.island nav a::before {
  content: "→"; display: inline-block; width: 0; overflow: hidden;
  font-size: 0; opacity: 0; transition: .35s var(--butter);
}
.island nav a:hover::before { font-size: .5em; width: .85em; opacity: .55; margin-right: .12em; }
.smask { display: block; overflow: hidden; margin-top: 2px; }
.smask:first-of-type { margin-top: 14px; }
.island nav a.soc {
  display: inline-block; font-size: 13.5px; color: #888;
  transform: translateY(110%); opacity: 0;
  transition: transform .25s var(--butter), opacity .25s var(--butter);
}
.island.open nav a.soc { transform: none; opacity: 1; transition: transform .66s var(--butter) .8s, opacity .66s var(--butter) .8s; }
.island.open nav .smask:nth-of-type(2) a.soc { transition-delay: .86s, .86s; }
.overlay {
  position: fixed; inset: 0; z-index: 65; background: rgba(8,8,8,.25);
  opacity: 0; visibility: hidden; transition: opacity .33s;
}
.overlay.on { opacity: 1; visibility: visible; }

/* ---------- page curtain (black, monogram) ---------- */
#curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--dark);
  transform-origin: top; display: grid; place-items: center;
}
#curtain .mark { width: 88px; height: 88px; opacity: 0; }
#curtain .mark img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- custom cursor ---------- */
#cursor {
  position: fixed; left: 0; top: 0; width: 40px; height: 40px;
  z-index: 120; pointer-events: none; mix-blend-mode: difference; color: #fff;
}
#cursor svg { width: 100%; height: 100%; }
#cursor ellipse { fill: currentColor; }
@media (pointer: coarse) { #cursor { display: none; } }

/* ---------- work cursor pill (hover over case tiles) ---------- */
.work-cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  transform: translate(-50%,-50%) scale(0);
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-pill); padding: 9px 15px;
  font-size: 12px; font-weight: 300; letter-spacing: .45px; white-space: nowrap;
  background: var(--ink); color: var(--bg);
  transition: transform .25s var(--hop);
}
.work-cursor.on { transform: translate(-50%,-50%) scale(1); }

/* ---------- reveals ---------- */
[data-reveal] { will-change: transform, opacity; }
.line { will-change: transform; }
/* GSAP wraps each reveal-line in .line-mask (overflow:clip) sized exactly to the
   line box, which chopped descenders (g j p q y) and Outfit's J/Q tails. Give the
   mask bottom room and cancel it with a negative margin so line spacing is
   unchanged. Bottom ONLY — padding-top would let the hidden line peek in during
   the rise. Fixes page-titles, hero + pinned steps site-wide. */
.line-mask { padding-bottom: .2em; margin-bottom: -.2em; }

/* masked word rise (shell splits .sp into word masks). padding-bottom + negative
   margin keeps descenders (g j p q y) out of the overflow clip; the negative
   margin cancels it for layout so vertical-align:bottom still seats words on the
   baseline. Hidden word pushed to 130% so the added room can't let it peek. */
.sp .wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .16em; margin-bottom: -.16em; }
.sp .wm > span { display: inline-block; transform: translateY(130%); transition: transform .6s var(--butter); }
.sp.revealed .wm > span { transform: none; }

/* progressive char brighten (education statements) */
.brighten .char { display: inline-block; opacity: .18; transition: opacity .5s var(--butter); }
.brighten .char.lit { opacity: 1; }
.brighten.revealed .char { opacity: 1; }

/* per-word blur-up (about paragraph) */
.bw .word {
  display: inline-block; opacity: 0; filter: blur(7px); transform: translateY(.42em);
  transition: opacity .8s var(--butter), filter .8s var(--butter), transform .8s var(--butter);
}
.bw .word.lit { opacity: 1; filter: blur(0); transform: none; }

/* ---------- work tiles (clip wipe-up) ---------- */
.work { display: block; }
.work .tile {
  overflow: hidden; position: relative; border-radius: var(--radius-card);
  clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--hop);
  background: var(--surface);
}
.work .tile.on { clip-path: inset(0 0 0 0); }
.work .tile > img, .work .tile > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--butter); }
.work:hover .tile > img, .work:hover .tile > .ph { scale: 1.04; }
.work h3 { font-size: 15px; font-weight: 400; margin: 14px 0 2px; }
.work .sub { color: var(--text-muted); font-weight: 300; font-size: 13px; }

/* crafted placeholder tiles (until anonymized screenshots land) */
.ph { display: block; }
.ph-groen { background: linear-gradient(150deg, #E7EDE2, #C7D6BE 48%, #7C9A6F); }
.ph-vet   { background: linear-gradient(150deg, #F4EEE3, #E4D6BE 48%, #24324A); }
.ph-you   { background: repeating-linear-gradient(-45deg, var(--surface) 0 14px, #E7E5DE 14px 28px); }

/* ---------- numbered accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.accrow {
  border-bottom: 1px solid var(--line); padding: 16px 0;
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--hop), transform .6s var(--hop);
}
.accrow.on { opacity: 1; transform: none; }
.accbtn {
  display: flex; align-items: baseline; gap: 22px; width: 100%; text-align: left;
  font-size: clamp(20px, 2.4vw, 27px); font-weight: 300; color: var(--text-muted);
 transition: color .3s, padding-left .3s;
}
.accbtn .n { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; }
.accrow.active .accbtn { color: var(--ink); }
.accrow:not(.active) .accbtn:hover { color: #3a3a3a; padding-left: .5em; }
.panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s cubic-bezier(.22,1,.36,1), opacity .35s var(--butter); }
.accrow.active .panel { max-height: 140px; opacity: 1; }
.panel p { padding: 10px 0 6px 32px; color: var(--text-muted); font-weight: 300; max-width: 46ch; }

/* dark variant */
.on-dark-section .acc { border-color: var(--dark-line); }
.on-dark-section .accrow { border-color: var(--dark-line); }
.on-dark-section .accbtn { color: var(--dark-muted); }
.on-dark-section .accrow.active .accbtn { color: var(--dark-text); }
.on-dark-section .accrow:not(.active) .accbtn:hover { color: #d5d3cc; }
.on-dark-section .panel p { color: var(--dark-muted); }

/* ---------- tag-chip cursor trail ---------- */
.foot-trailzone { position: relative; }
.tagchip {
  position: absolute; pointer-events: none; z-index: 2; will-change: transform;
  display: inline-flex; align-items: center;
  padding: .5em .75em; border-radius: .375em;
  font-size: 13px; font-weight: 300; letter-spacing: .05em; line-height: 1;
  white-space: nowrap; color: var(--bg); transform: scale(0);
}
/* playful high-contrast chip palette (bright bg → dark text, deep bg → light text) */
.tc1 { background: #80ED99; color: #101010; } .tc2 { background: #FFD91B; color: #101010; }
.tc3 { background: #FB6F92; color: #101010; } .tc4 { background: #1CD2F4; color: #101010; }
.tc5 { background: #F77F00; color: #101010; } .tc6 { background: #AC63E9; color: #F6F5F1; }
.tc7 { background: #E01E37; color: #F6F5F1; } .tc8 { background: #1B62E4; color: #F6F5F1; }

/* ---------- sticky-curtain footer ---------- */
.page-above { position: relative; z-index: 1; background: var(--bg); }
.bigfoot {
  background: var(--dark); color: var(--dark-text);
  padding: 116px 6vw 0; overflow: hidden;
  position: sticky; bottom: 0; z-index: 0;
}
.bf-inner { transform: translateY(-14%); will-change: transform; }
.bf-top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.bf-label { display: block; font-size: 11px; font-weight: 200; color: #a5a29a; margin-bottom: 16px; letter-spacing: .6px; }
.bf-git { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; font-weight: 300; letter-spacing: -.5px; color: var(--dark-text); }
.bf-gitmask { display: inline-block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.bf-git .lt { display: inline-block; transform: translateY(115%); transition: transform .6s var(--butter); }
.bf-git.revealed .lt { transform: none; }
.bf-sub { margin-top: 14px; color: var(--dark-muted); font-weight: 200; font-size: 13px; }
.bf-cols { display: flex; gap: 70px; }
.bf-cols a { display: block; font-size: 13.5px; font-weight: 300; color: #9c9992; line-height: 1.9; transition: color .3s, translate .3s var(--butter); }
.bf-cols a:hover { color: var(--dark-text); translate: .25em 0; }
.bf-wordmark {
  display: flex; align-items: baseline; gap: .12em;
  margin: 110px 0 0;
  font-size: clamp(80px, 14vw, 210px); font-weight: 600; letter-spacing: -.045em;
  line-height: 1; color: var(--dark-text); text-transform: lowercase;
}
/* mark sits ON the text baseline (flex is baseline-aligned; the img's bottom
   edge = its inline baseline, so a plain block img lines up exactly) */
.bf-wordmark .mk { width: .56em; height: .56em; flex: 0 0 auto; align-self: flex-end; margin-bottom: .19em; }
.bf-wordmark .mk img, .bf-wordmark .mk svg { display: block; width: 100%; height: 100%; object-fit: contain; }
/* het monogram tekent zijn eigen LIJN bij de eerste footer-reveal (07-11, verving
   de conic-sweep): het filled pad wordt onthuld via een gestrookte hartlijn in
   een SVG-mask; shell.js (initFooter) animeert de dashoffset en haalt de mask
   er na afloop af — het eindbeeld is altijd het originele mark. RM/no-JS: de
   mask wordt nooit gezet, dus gewoon meteen zichtbaar. */
.bf-bottom {
  border-top: 1px solid var(--dark-line); margin-top: 56px;
  padding: 16px 0 24px; font-size: 11.5px; font-weight: 200; color: #a5a29a;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
/* right group: legal link · enterprise number · © (11-11, WER XII.6: reachable from every page) */
.bf-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
@media (max-width: 760px) { .bf-legal a { padding: 8px 0; } }  /* 24px+ tap target on a phone */
.bf-legal a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: #55534e; transition: color .3s, text-decoration-color .3s; }
.bf-legal a:hover { color: var(--dark-text); text-decoration-color: var(--dark-text); }
/* keep the © line clear of the fixed chat button (bottom-right) */
@media (min-width: 761px) { .bf-bottom { padding-right: 150px; } }
@media (max-width: 760px) { .bf-bottom { padding-bottom: 84px; } }
/* .blackstrip removed 11-11 (Maxim: "waarom een zwarte balk") */

/* ---------- shared section rhythm ---------- */
.section { padding: var(--s10) 6vw; }
.section-head { margin-bottom: var(--s7); }
.section-head .label { margin-bottom: var(--s4); }
.h-stmt { font-size: clamp(26px, 3.6vw, 46px); font-weight: 300; line-height: 1.18; letter-spacing: -.02em; }

/* screenreader-only tekst (voor split-animaties: echte zin onzichtbaar
   aanwezig, de losse letter/woord-spans zijn aria-hidden) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* skip link */
.skip {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px;
  border-radius: var(--radius-btn); font-size: 13px; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .top { padding: 12px 16px; }
  .top .contact-pill { display: none; } /* menu covers contact on small screens */
  .menu-pill { width: 150px; }
  .island .row, .island nav { width: min(240px, 84vw); }
  .section { padding: var(--s9) 20px; }
  .bigfoot { padding: 70px 20px 0; }
  .bf-cols { gap: 40px; }
}

/* ---------- idle floating chips (visible without hover; trail adds more) ---------- */
.tagchip.idle {
  transform: scale(1); opacity: .92; z-index: 1;
  animation: chipFloat 7s ease-in-out infinite alternate;
}
@keyframes chipFloat {
  from { translate: 0 -7px; rotate: -4deg; }
  to   { translate: 0 9px;  rotate: 5deg; }
}
/* mobile: tidy centered chip row under the CTA instead of scattered absolutes */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--s6); }
.chip-row .tagchip.row-chip, .chip-row .tagchip {
  position: static; transform: scale(1); opacity: .95; animation: none; font-size: 11.5px;
}

/* ---------- chatbot ---------- */
.chat-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-pill); padding: 13px 20px;
  font-size: 13px; font-weight: 300; letter-spacing: .45px;
  box-shadow: var(--shadow-lift);
  transition: scale .3s var(--hop), opacity .3s var(--butter);
}
.chat-btn:hover { scale: .96; }
.chat-btn .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.chat-btn.hide { opacity: 0; pointer-events: none; }
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 92;
  width: min(380px, calc(100vw - 24px)); height: min(600px, 78vh);
  background: #111; color: #fff; border-radius: var(--radius-panel);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98);
  transition: opacity .3s var(--butter), transform .35s var(--hop), visibility 0s .35s;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--butter), transform .35s var(--hop); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #242422; }
.chat-head .cmark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; }
.chat-head .cmark img { width: 78%; height: auto; }
.chat-head .ct { flex: 1; min-width: 0; display: block; }   /* name on one line, status under it (the span rule below would lay them side by side) */
.chat-head strong { display: block; font-size: 13.5px; font-weight: 400; white-space: nowrap; }
.chat-head span { font-size: 11px; color: #9c9992; display: inline-flex; align-items: center; gap: 6px; }
.chat-head .online { width: 6px; height: 6px; border-radius: 50%; background: #6FBF73; }
.chat-close { color: #9c9992; font-size: 20px; line-height: 1; padding: 6px; transition: color .25s; }
.chat-close:hover { color: #fff; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scrollbar-width: none; }
.chat-msgs::-webkit-scrollbar { display: none; } /* still scrolls by wheel/touch, just no visible bar */
.cmsg { max-width: 85%; padding: 11px 14px; border-radius: var(--radius-msg); font-size: 13.5px; font-weight: 300; line-height: 1.5; }
.cmsg.bot { background: #1E1E1C; color: #EDECE8; border-bottom-left-radius: 4px; align-self: flex-start; }
.cmsg.user { background: var(--bg); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.cmsg a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cmsg.typing { display: inline-flex; gap: 4px; align-items: center; }
.cmsg.typing i { width: 5px; height: 5px; border-radius: 50%; background: #77746D; animation: chatDot 1s ease-in-out infinite; }
.cmsg.typing i:nth-child(2) { animation-delay: .15s; }
.cmsg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 100% { opacity: .3; translate: 0 0; } 50% { opacity: 1; translate: 0 -3px; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 18px 12px; }
.chat-chips .cchip {
  background: #1E1E1C; color: #D8D6D0; border: 1px solid #2C2C2A;
  border-radius: var(--radius-pill); padding: 7px 13px;
  font-size: 12px; font-weight: 300; letter-spacing: .3px;
  transition: scale .25s var(--hop), background .25s, color .25s;
}
.chat-chips .cchip:hover { scale: .96; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chat-inrow { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid #242422; }
.chat-inrow input {
  flex: 1; background: #1E1E1C; border: 1px solid #2C2C2A; border-radius: var(--radius-pill);
  color: #fff; font-family: inherit; font-size: 16px; font-weight: 300; /* ≥16px: geen iOS zoom-on-focus */
  padding: 10px 16px; min-width: 0;
}
.chat-inrow input:focus { outline: none; border-color: #55534E; }
.chat-send {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 16px;
  transition: scale .25s var(--hop);
}
.chat-send:hover { scale: .92; }
.chat-fine { padding: 0 18px 12px; margin-top: -4px; font-size: 11.5px; font-weight: 300; line-height: 1.45; color: #9c9992; }
.chat-fine a { color: #D8D6D0; text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.chat-fine a:hover { color: #fff; }
@media (max-width: 640px) {
  .chat-panel { right: 12px; left: 12px; bottom: 12px; width: auto; height: min(560px, 84vh); }
  .chat-btn { right: 14px; bottom: 14px; }
}

/* ---------- contact: form card + dark side card ---------- */
.form-card { background: #FDFCFA; border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(20px, 3vw, 40px); }
.dark-card { background: var(--dark); color: var(--dark-text); border-radius: var(--radius-panel); padding: clamp(24px, 3vw, 40px); align-self: start; }
.dark-card h2 { color: #8b8880 !important; }
.dark-card .pill { background: rgba(246,245,241,.1); color: var(--dark-text); }
.dark-card .pill:hover { background: var(--accent); color: var(--accent-ink); }
.dark-card .next-steps li { color: var(--dark-muted); }
.dark-card .next-steps .n { color: var(--accent); }
.dark-card .side-note { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--dark-line); font-size: 12px; color: #8b8880; font-weight: 200; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tagchip.idle { animation: none; }
  .chat-panel { transition: none; transform: none; }
  .cmsg.typing i { animation: none; opacity: .6; }
  .sp .wm > span, .brighten .char, .bw .word, .accrow, .bf-git .lt { transform: none; transition: none; opacity: 1; filter: none; }
  .work .tile { clip-path: none; transition: none; }
  .work-cursor, #cursor { display: none; }
  .bf-inner { transform: none; }
  .bigfoot { position: static; }
  #curtain { display: none; }
  .island nav a, .island nav a.soc, .closelabel { transform: none; opacity: 1; transition: none; }
  .island .row { width: 240px; transition: none; }
  .menu-pill span { transition: none; }
}

/* ---------- price block (agency audit 2026-11-11, fix 1) ----------
   shared by home, /aanbod/ and /voor/zorg/. Number first, then what is in the
   monthly fee, then the fine print. Card sits on --bg (muted text 4.8:1). */
.prijs {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s8);
  border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: var(--s7) var(--s7) var(--s6);
}
.prijs-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s2) var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.prijs-row:first-child { padding-top: 0; }
.prijs-num { font-size: clamp(52px, 6.4vw, 96px); font-weight: 300; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.prijs-what { color: var(--text-muted); font-weight: 300; font-size: clamp(15px, 1.2vw, 17px); }
.prijs-film { margin-top: var(--s5); font-weight: 300; max-width: 46ch; }
.prijs-in-h { font-weight: 400; margin-bottom: var(--s3); }
.prijs .ab-list { margin-top: 0; }
.prijs-fine { margin-top: var(--s5); color: var(--text-muted); font-size: 13.5px; font-weight: 300; max-width: 52ch; }
.prijs-cta { margin-top: var(--s7); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }
.prijs-safe { color: var(--text-muted); font-size: 14px; font-weight: 300; }
.prijs-more { margin-top: var(--s3); font-size: 14.5px; font-weight: 300; }
.prijs-more a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prijs-more a:hover { text-decoration-thickness: 2px; }
@media (max-width: 860px) {
  .prijs { grid-template-columns: 1fr; gap: var(--s6); padding: var(--s6) var(--s5) var(--s5); }
}

/* FAQ accordions with longer answers (aanbod, zorg) */
.faq .accrow.active .panel { max-height: 420px; }
.faq .panel p { max-width: 62ch; }
.prijs--zorg { margin-top: var(--s8); }
/* home doesn't load pages.css: the price list carries its own list style */
.prijs .ab-list { list-style: none; padding: 0; max-width: 52ch; }
.prijs .ab-list li { border-top: 1px solid var(--line); padding: var(--s3) 0; font-weight: 300; }
.prijs .ab-list li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- mobile audit 11-10: tap targets ≥44px on touch, labels ≥12px ---------- */
@media (max-width: 760px) {
  .wordmark-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin-left: -10px; }
  .menu-pill { min-height: 44px; }
  .bf-cols a { line-height: 1.4; padding: 11px 0; }
  .bf-git { display: inline-block; padding: 4px 0; }
  .label, .bf-label, .tag { font-size: 12px; }
}
@media (max-width: 760px) { .accbtn { min-height: 44px; align-items: center; } }
@media (max-width: 760px) {
  .island .closemask { min-height: 44px; min-width: 64px; display: inline-flex; align-items: center; justify-content: center; margin: -13px 0; }
  .island .soc { display: inline-block; padding: 8px 0; }
}

/* ---------- typographer (shell.js typo(), Maxim 11-11): copy never splits oddly ----------
   .snt = one sentence, .glu = words that travel together. Both move to the next line as one
   piece and only wrap inside themselves when wider than the column. Check: tools/line-break-audit.mjs */
body { text-wrap: pretty; }
h1, h2, h3, h4, h5, .h-stmt, .typo-bal { text-wrap: balance; }
.snt, .glu { display: inline-block; max-width: 100%; }
button, .pill, summary, label, figcaption, dd, dt { text-wrap: balance; }
