/* ============ The shell: the rail and the rounded panel, in the owner panel's look ============
   The frame the walk (aanvragen.html) and the pages beside it (Hoe het werkt, Voorbeelden, Prijzen, Over ons, the
   kennisbank) share, drawn as the owner panel is (Olivier 2026-12-04: familiar when they log in): the rail on the
   left, one rounded panel with a 54 px header bar (the page's name, a quiet line, its controls), cream cards with
   hairlines, Source Serif 4 headings, Inter text, segmented controls, ink only for text and primary buttons. Loaded
   after site.css; every rule is scoped under body.shell. Each page adds its own sheet for what sits in the panel.
     ≥ 1100 px  the rail stands beside the panel
     < 1100 px  the rail is a drawer behind the menu button (assets/js/shell.js)
     <  720 px  the panel fills the screen
   A page taller than the screen scrolls inside the panel (.wk-scroll); the rail stays. The primitives after the
   panel (.wk-wash, .wk-wrap, .wk-card, .wk-title, …) and the drawn sea (.dp plates, .dp-close) are what the pages build
   with. */

.shell{
  --wk-ground:#EEE9E2; --wk-panel:#F9F7F3; --wk-paper:#FCFBF7; --wk-card:#FDFCF9; --wk-well:#EFEBE2; --wk-field:#FDFCF9;
  --wk-ink:#1F1D1A; --wk-ink-hi:#2B2825; --wk-body:#3E3A33; --wk-text:#4F4B43; --wk-muted:#5E5A51; --wk-quiet:#6B665C; --wk-faint:#A8A396;
  --wk-line:#EEEAE1; --wk-edge:#DAD5CA; --wk-border:#E6E2D8; --wk-ring:#E4DED3; --wk-rule:#ECE7DE;
  --wk-chip:#DDD7CB; --wk-chip-hi:#B9B3A6; --wk-glass:#DCEDEF;
  --wk-teal:#12B1C2; --wk-teal-deep:#0B7280; --wk-gold:#D9A441;
  height:100vh; height:100dvh; overflow:hidden; background:var(--wk-ground); background-image:none; color:var(--wk-ink);
}
.shell .wk{display:grid; grid-template-columns:248px minmax(0,1fr); height:100%}
.shell .wk-sr{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
.shell [hidden]{display:none !important}
.shell :is(a, button, summary, [tabindex]):focus-visible{outline:2px solid var(--wk-teal); outline-offset:2px}

/* ---------- buttons: ink for the one primary action, a hairline for the rest ---------- */
.shell :is(.wk-pri, .wk-ghost){display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:0 18px; border-radius:999px; font:500 14px/1 var(--ui); cursor:pointer; text-decoration:none; white-space:nowrap; transition:background .2s, border-color .2s, opacity .2s}
.shell .wk-pri{border:0; background:var(--wk-ink); color:var(--wk-paper)}
.shell .wk-pri:hover{background:var(--wk-ink-hi); color:var(--wk-paper)}
.shell .wk-pri:disabled{opacity:.5; cursor:default}
.shell .wk-ghost{border:1px solid var(--wk-edge); background:transparent; color:var(--wk-ink)}
.shell .wk-ghost:hover{background:var(--wk-well)}
.shell .wk-ghost:disabled{opacity:.45; cursor:default}
.shell :is(.wk-pri, .wk-ghost) svg{width:15px; height:15px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* ---------- the rail ---------- */
.shell .wk-side{display:flex; flex-direction:column; gap:18px; padding:20px 18px 16px; min-height:0; overflow-y:auto; background:var(--wk-ground)}
.shell .wk-side .logo{gap:10px; height:40px; padding:0 10px; font:500 20px/1 var(--serif); letter-spacing:-.01em; color:var(--wk-ink)}
.shell :is(.wk-side .logo, .wk-head-mark) .mk{gap:3px}
.shell :is(.wk-side .logo, .wk-head-mark) .mk i{width:9px; height:9px; border-radius:3px}
.shell .wk-new{width:100%; min-height:44px}
.shell .wk-nav svg{width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round}
.shell .wk-navs{display:flex; flex-direction:column; gap:2px}
.shell .wk-label{padding:0 12px 6px; font:600 11px/1.2 var(--ui); letter-spacing:.09em; text-transform:uppercase; color:#6E685D}
.shell .wk-site{display:flex; flex-direction:column; gap:3px; padding:10px 12px; border-radius:10px; background:#FCFBF8; box-shadow:0 0 0 1px var(--wk-ring), 0 1px 2px rgb(31 29 26 / .06)}
.shell .wk-site b{font:500 14px/1.35 var(--ui); overflow-wrap:anywhere}
.shell .wk-state{display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--wk-quiet)}
.shell .wk-state::before{content:""; flex:none; width:7px; height:7px; border-radius:50%; background:#C9C2B3}
.shell .wk-state.is-walk::before{background:var(--wk-gold)}
.shell .wk-state.is-build::before{background:var(--wk-teal)}
.shell .wk-nav{display:flex; align-items:center; gap:12px; min-height:40px; padding:0 12px; border-radius:10px; color:#3A3732; font:400 15px/1.2 var(--ui); text-decoration:none}
.shell .wk-nav:hover{background:rgb(252 251 248 / .6); color:var(--wk-ink)}
.shell .wk-nav[aria-current="page"]{background:#FCFBF8; color:var(--wk-ink); font-weight:500; box-shadow:0 0 0 1px var(--wk-ring), 0 1px 2px rgb(31 29 26 / .06)}
.shell .wk-nav > span:first-of-type{flex:1; min-width:0}
.shell .wk-login{margin-top:auto}
.shell .wk-aside{flex:none; font-size:12px; color:#6E685D}
.shell .wk-side-foot{display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:12px 10px 0; border-top:1px solid #E2DCD1; font-size:12px; color:#6E685D}
.shell .wk-side .lang-btn{margin-left:-6px; padding:6px 8px; font:500 12.5px/1 var(--ui); color:#3A3732}
.shell .wk-side .lang-btn:hover{background:rgb(252 251 248 / .6)}
.shell .wk-side .lang-menu{top:auto; bottom:calc(100% + 8px); left:-8px; right:auto}
.shell .wk-legal{display:flex; flex-wrap:wrap; gap:2px 0; margin:0; padding:0; list-style:none}
.shell .wk-legal li:not(:last-child)::after{content:"·"; padding:0 4px}
.shell .wk-legal a{font-size:12px; color:#6E685D; text-decoration:none}
.shell .wk-legal a:hover{color:var(--wk-ink); text-decoration:underline}
.shell .wk-scrim{display:none}
.shell .wk-menu, .shell .wk-head-mark{display:none}
.shell .wk-menu svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* the pages beside the walk: the walk's draft as a way back into it */
.shell .wk-draft{flex-direction:row; align-items:center; gap:10px; color:var(--wk-ink); text-decoration:none}
.shell .wk-draft b{flex:1; min-width:0}
.shell .wk-draft span{font-size:12px; font-weight:500; color:var(--wk-teal-deep)}
.shell .wk-draft:hover{background:#fff}

/* ---------- the panel and its header bar ---------- */
.shell .wk-main{position:relative; display:flex; flex-direction:column; min-width:0; min-height:0; margin:12px 12px 12px 0; border-radius:18px; background:var(--wk-panel); box-shadow:0 0 0 1px var(--wk-ring), 0 1px 3px rgb(31 29 26 / .05); overflow:hidden}
.shell .wk-head{position:relative; z-index:3; flex:none; display:flex; align-items:center; gap:8px; min-height:54px; padding:8px 20px 8px 28px; border-bottom:1px solid var(--wk-rule); background:var(--wk-panel); font-size:14px; color:var(--wk-quiet)}
.shell .wk-head .wk-h1{flex:1; min-width:0; margin:0; font:600 14px/1.3 var(--ui); letter-spacing:0; color:var(--wk-ink)}
.shell .wk-h1:has(+ .wk-head-sub){flex:none}
.shell .wk-head-sub{flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.shell .wk-head-sub::before{content:"· "}
.shell .wk-head-r{display:flex; align-items:center; gap:12px; margin-left:auto; font-size:12.5px; color:var(--wk-quiet)}
.shell .wk-head-link{display:inline-flex; align-items:center; gap:7px; min-height:34px; padding:0 14px; border:1px solid var(--wk-edge); border-radius:999px; background:transparent; color:var(--wk-ink); font:500 13px/1 var(--ui); text-decoration:none; white-space:nowrap; cursor:pointer}
.shell .wk-head-link:hover{background:var(--wk-well)}
.shell .wk-head-link svg{width:15px; height:15px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* the segmented control: buttons (aria-pressed) or links (aria-current) */
.shell .wk-seg{display:inline-flex; gap:2px; padding:3px; border-radius:999px; background:var(--wk-well)}
.shell .wk-seg > :is(button, a){display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:30px; padding:0 14px; border:0; border-radius:999px; background:transparent; color:var(--wk-text); font:500 13px/1 var(--ui); text-decoration:none; white-space:nowrap; cursor:pointer}
.shell .wk-seg > :is(button, a):hover{color:var(--wk-ink)}
.shell .wk-seg > :is([aria-pressed="true"], [aria-current="true"]){background:var(--wk-paper); color:var(--wk-ink); box-shadow:0 0 0 1px var(--wk-border), 0 1px 2px rgb(31 29 26 / .06)}
.shell .wk-seg > button:disabled{opacity:.4; cursor:not-allowed}
.shell .wk-seg svg{width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.shell .wk-scroll{position:relative; flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain}

/* ---------- what the pages build with ---------- */
/* the photo, only as a very faint wash behind the top of the panel, fading out by ~500 px (never a picture slot) */
.shell .wk-wash{position:absolute; left:0; right:0; top:0; height:520px; pointer-events:none; -webkit-mask-image:linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 50%, transparent 100%); mask-image:linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 50%, transparent 100%)}
.shell .wk-wash img{display:block; width:100%; height:100%; object-fit:cover; opacity:.17; filter:saturate(.75)}
.shell .wk-wrap{position:relative; display:flex; flex-direction:column; gap:24px; width:100%; max-width:1040px; margin:0 auto; padding:32px 40px 56px; box-sizing:border-box; font-size:14px; line-height:1.5; color:var(--wk-ink)}
.shell .wk-wrap a:not([class]){color:var(--wk-teal-deep); text-decoration:none}
.shell .wk-wrap a:not([class]):hover{color:var(--wk-ink); text-decoration:underline}
.shell .wk-card{background:var(--wk-card); border:1px solid var(--wk-border); border-radius:16px}
.shell .wk-intro{display:flex; flex-direction:column; gap:12px; padding:16px 0 8px}
.shell .wk-kicker{font-size:12px; font-weight:500; color:var(--wk-quiet)}
.shell .wk-wrap :is(h1, h2, h3){margin:0; color:var(--wk-ink)}
.shell .wk-title{max-width:760px; font:400 46px/1.06 var(--serif); letter-spacing:-.02em; text-wrap:balance}
.shell .wk-lede{max-width:520px; margin:0; font-size:15px; color:var(--wk-text)}
.shell .wk-h2{font:600 15px/1.35 var(--ui); letter-spacing:0}
.shell .wk-h3{font:500 21px/1.2 var(--serif); letter-spacing:0}
.shell .wk-muted{color:var(--wk-quiet)}
.shell .wk-sec{display:flex; flex-direction:column; gap:10px}
.shell .wk-sec-h{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px}
.shell .wk-sec-h > span{font-size:13px; color:var(--wk-quiet)}
.shell .wk-glyph{flex:none; display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:9px; background:var(--wk-well); box-shadow:inset 0 0 0 1px var(--wk-border); color:var(--wk-text)}
.shell .wk-glyph svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round}
/* a browser window's bar: three dots and the address */
.shell .wk-bar{flex:none; display:flex; align-items:center; gap:6px; height:34px; padding:0 12px; background:var(--wk-card); border-bottom:1px solid var(--wk-rule)}
.shell .wk-bar > i{width:8px; height:8px; border-radius:50%; background:#E6E1D6}
.shell .wk-url{max-width:70%; margin:0 auto; padding:3px 12px; border-radius:999px; background:#F4F1EA; font-size:12px; color:var(--wk-quiet); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

/* ---------- the drawn sea (Hoe het werkt, Voorbeelden, Prijzen, Over ons, the kennisbank hub) ----------
   A plate: a pen-and-ink clip on paper (#EAE2DA) at the top of the page, its first frame as the poster, the words in
   the drawing's ink; assets/js/drawn.js plays the clip (never under reduced motion or Save-Data) and owns the pause
   button. A close: the page's drawn sea strip at the bottom of the panel, its top fading into the panel, a heading, a
   line and one ink button in the paper sky. One system on all five pages: the column 1040 px wide (the page's .wk-wrap
   holds a plate), every plate 440 px tall with its words 56 px in and centred, every close 460 px tall with the sea
   only in its bottom 240 px, its top edge soft; below 900 px every plate 600 px tall, its words at the top on the
   paper, the drawing below. A page sets only its plate's crop (and a paper tint where its drawing needs one). */
.shell .wk-wrap:has(> .dp){max-width:1120px}
.shell .dp{--dp-ink:#22384A; position:relative; display:flex; align-items:center; min-height:440px; overflow:hidden; border-radius:16px; background:#EAE2DA; box-shadow:0 0 0 1px #E2DBD0, 0 30px 60px -40px rgb(34 56 74 / .45); color:var(--dp-ink)}
.shell .dp-art{position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover}
.shell .dp video.dp-art{opacity:0; transition:opacity .6s}
.shell .dp.is-live video.dp-art{opacity:1}
.shell .dp-copy{position:relative; z-index:2; display:flex; flex-direction:column; gap:14px; max-width:640px; padding:56px}
.shell .dp-kicker{font:600 11px/1.2 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:#3D5566}
.shell .dp :is(h1, h2){margin:0; font:400 46px/1.06 var(--serif); letter-spacing:-.02em; color:#1F3344; text-wrap:balance}
.shell .dp :is(h1, h2) em{font-style:italic; color:#3D5566}
.shell .dp-lede{max-width:520px; margin:0; font-size:15.5px; line-height:1.55; color:#3E4A57}
.shell .dp-play{position:absolute; right:16px; bottom:16px; z-index:3; display:grid; place-items:center; width:40px; height:40px; padding:0; border:0; border-radius:50%; background:rgb(239 235 226 / .9); color:var(--dp-ink); cursor:pointer}
.shell .dp-play:hover{background:#E6E1D6}
.shell .dp-play svg{width:13px; height:13px; fill:currentColor}
.shell .dp-play[aria-pressed="true"] .dp-i-pause, .shell .dp-play[aria-pressed="false"] .dp-i-play{display:none}

.shell .dp-close{--dp-sea:240px; position:relative; display:flex; flex-direction:column; align-items:center; height:460px; margin-top:40px; overflow:hidden; text-align:center}
.shell .dp-close > img{position:absolute; left:0; bottom:0; width:100%; height:var(--dp-sea); object-fit:cover; object-position:50% 100%; -webkit-mask-image:linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .6) 22%, #000 45%); mask-image:linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .6) 22%, #000 45%)}
.shell .dp-close-in{position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:14px; margin-top:56px; padding:0 24px}
.shell .dp-close h2{margin:0; font:400 40px/1.1 var(--serif); letter-spacing:-.015em; color:#22384A; text-wrap:balance}
.shell .dp-close h2 em{font-style:italic}
.shell .dp-close p{max-width:560px; margin:0; font-size:15.5px; line-height:1.5; color:#33404C}
.shell .dp-btn{display:inline-flex; align-items:center; gap:10px; min-height:46px; padding:0 22px; border-radius:999px; background:#22384A; color:#F9F7F3; font:500 14.5px/1 var(--ui); text-decoration:none; box-shadow:0 14px 30px -18px rgb(34 56 74 / .7)}
.shell .dp-btn:hover{background:#1A2C3B; color:#F9F7F3}
.shell .dp-btn svg{width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* ---------- smaller screens ---------- */
@media (max-width:1099px){
  .shell .wk{grid-template-columns:minmax(0,1fr)}
  .shell .wk-side{position:fixed; inset:0 auto 0 0; z-index:60; width:min(280px, 86vw); box-shadow:0 20px 60px rgb(31 29 26 / .25); transform:translateX(-104%); visibility:hidden; transition:transform .3s var(--ease), visibility 0s .3s}
  .shell .wk-side.is-open{transform:none; visibility:visible; transition:transform .3s var(--ease)}
  .shell .wk-scrim{display:block; position:fixed; inset:0; z-index:55; background:rgb(31 29 26 / .26)}
  .shell .wk-menu{display:inline-flex; align-items:center; justify-content:center; flex:none; width:40px; height:40px; margin-left:-12px; border:0; border-radius:10px; background:transparent; color:var(--wk-ink); cursor:pointer}
  .shell .wk-head-mark{display:inline-flex; min-height:40px}
  .shell .wk-menu:hover{background:var(--wk-well)}
  .shell .wk-main{margin:12px}
  .shell .wk-head{padding-left:20px}
}
@media (max-width:899px){
  .shell .dp{align-items:flex-start; min-height:600px}
  .shell .dp .dp-art{object-position:50% 100%}
  .shell .dp::before{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgb(234 226 218 / .92) 0%, rgb(234 226 218 / .8) 50%, rgb(234 226 218 / 0) 75%)}
  .shell .dp-copy{max-width:none; padding:28px 22px 0}
}
@media (max-width:719px){
  .shell .wk-main{margin:0; border-radius:0; box-shadow:none}
  .shell .wk-head{min-height:52px; padding:8px 14px; padding-top:max(8px, env(safe-area-inset-top))}
  .shell .wk-head-sub{display:none}
  .shell .wk-h1:has(+ .wk-head-sub){flex:1}
  .shell .wk-wrap{gap:20px; padding:24px 16px 40px}
  .shell .wk-title{font-size:34px; line-height:1.1}
  .shell .dp :is(h1, h2){font-size:36px; line-height:1.08}
  .shell .dp-close{--dp-sea:180px; height:420px; margin-top:24px}
  .shell .dp-close-in{margin-top:32px; padding:0 20px}
  .shell .dp-close h2{font-size:30px}
  .shell .dp-btn{align-self:stretch; justify-content:center}
}
@media (prefers-reduced-motion: reduce){
  .shell .wk-side{transition:none}
}
