/* ============ Hoe het werkt (hoe-het-werkt.html), inside the shell ============
   One column on the board Main: the promise on the drawn plate (the wake: a boat seen from above, paper at the top; a
   paper tint behind the words); "Je website krijgen", the tour (assets/css/scenes.css, scenes.js) as the
   page's living object: its four chapters as a row of steps above its window and one caption line below it, with the
   tour's pause button; "Je website bijhouden", three cards that end at one height, each with its way into the
   kennisbank; the drawn closing scene (sea-hoe). The header's segmented control links to the two parts (hoe.js marks the
   one in view). */

.hw-plate .dp-art{object-position:50% 60%}
.hw-plate::before{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(100deg, rgb(234 226 218 / .96) 0%, rgb(234 226 218 / .9) 45%, rgb(234 226 218 / 0) 74%)}
.hw-go{display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin:6px 0 0}
.hw-price{font-size:12.5px; font-weight:500; color:#2E4456}
.hw .wk-sec{scroll-margin-top:16px}
@media (prefers-reduced-motion: no-preference){ .hw .wk-scroll{scroll-behavior:smooth} }

/* the tour: steps, window, caption */
.hw-how{display:flex; flex-direction:column; gap:14px; padding:14px}
.hw .tr-list{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px; border:0}
.hw .tr-list li{border:0}
.hw .tr-ch{position:relative; display:grid; grid-template-columns:28px minmax(0,1fr); gap:2px 14px; align-items:start; height:100%; padding:14px 16px; border-radius:12px; color:var(--wk-ink); font:inherit}
.hw .tr-ch:hover{background:#F4F1EA}
.hw .tr-ch[aria-current="step"]{background:#FCFBF8; box-shadow:0 0 0 1px var(--wk-ring), 0 1px 2px rgb(31 29 26 / .06)}
.hw .tr-n{display:flex; align-items:center; justify-content:center; width:28px; height:28px; padding:0; border-radius:8px; background:var(--wk-well); box-shadow:inset 0 0 0 1px var(--wk-border); font:600 12px/1 var(--ui); color:var(--wk-text)}
.hw .tr-ch[aria-current="step"] .tr-n{background:var(--wk-ink); color:var(--wk-paper); box-shadow:none}
.hw .tr-t{gap:2px}
.hw .tr-t b{font:600 15px/28px var(--ui); letter-spacing:0; color:var(--wk-ink)}
.hw .tr-t > span:not(.sc-track){font-size:13.5px; line-height:1.45; color:var(--wk-quiet)}
.hw .tr-ch .sc-track{margin-top:10px; background:transparent}
.hw .tr-ch[aria-current="step"] .sc-track{background:var(--wk-line)}
.hw-stage .tr-stage{width:100%; aspect-ratio:1000 / 680; --pad-x:0; --pad-y:0}
.hw .tr-win{border-radius:14px; box-shadow:0 0 0 1px var(--wk-border)}
.hw-cap{display:flex; align-items:center; gap:16px; padding:0 4px}
.hw-cap p{flex:1; min-width:0; margin:0; font-size:14px; font-weight:600}
.hw-cap p > span{display:none}
.hw-get:has(.tr-win[data-ch="0"]) .hw-cap [data-c="0"], .hw-get:has(.tr-win[data-ch="1"]) .hw-cap [data-c="1"],
.hw-get:has(.tr-win[data-ch="2"]) .hw-cap [data-c="2"], .hw-get:has(.tr-win[data-ch="3"]) .hw-cap [data-c="3"]{display:inline}
.hw .hw-cap .sc-play{position:static; flex:none; width:36px; height:36px; background:var(--wk-well)}

/* keeping it up: three cards, one height */
.hw-trio{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; align-items:stretch}
.hw-trio .wk-card{display:flex; flex-direction:column; gap:10px; padding:22px}
.hw-trio p{margin:0; color:var(--wk-text)}
.hw-trio a{margin-top:auto; padding-top:4px; font-size:13.5px; text-wrap:pretty}
.hw .hw-you, .hw .hw-reply{max-width:86%; padding:9px 13px; border-radius:14px; font-size:13.5px; line-height:1.4}
.hw .hw-you{align-self:flex-end; background:var(--wk-ink); color:var(--wk-paper)}
.hw .hw-reply{align-self:flex-start; border:1px solid var(--wk-border); background:#F4F1EA; color:var(--wk-ink)}

@media (max-width:899px){
  .hw .hw-plate .dp-art{object-position:60% 100%}
  .hw-trio{grid-template-columns:minmax(0,1fr)}
  .hw .tr-list{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width:719px){
  .hw .wk-head-r{display:none}
  .hw-how{padding:10px}
  .hw .tr-ch{grid-template-columns:24px minmax(0,1fr); gap:2px 10px; padding:10px}
  .hw .tr-n{width:24px; height:24px}
  .hw .tr-t b{font-size:14px; line-height:24px}
  .hw .tr-t > span:not(.sc-track){font-size:12.5px}
  .hw-cap p{font-size:13px; font-weight:500}
}
