/* ═══ chapter 01, Workpeople. The whole chapter is the board's own ground, plain white, like the real wall
   (board.css: "nothing on a board is coloured except the things people made"). No box, no dots.
   The notes, the pointers and the folder keep the real wall's numbers. ═══ */

.ch--wp{--c:#FFFFFF;--ink:#0B0A0A;color:var(--ink);min-height:0}
.wp__body{grid-template-columns:minmax(0,.82fr) minmax(0,1.3fr);align-items:start;gap:clamp(28px,4vw,72px)}
.ch--wp .ch__what{max-width:15em;margin-bottom:.7em}
.wp__under{margin:0 0 1.2em;font-size:min(clamp(18px,1.5vw,24px),3svh);line-height:1.22;font-weight:450;max-width:20em}
.ch--wp .ch__role{margin:0;max-width:26em}
.ch--wp .ch__media{margin:0}
.ch--wp .ch__name{margin-bottom:min(clamp(28px,3.4vw,56px),5svh)}

/* the board: no frame. It is a patch of the chapter's own white that happens to have things on it */
/* the board sits in one filled card, the way an office page holds its wall: no stroke, a big radius */
.wall-card{position:relative;overflow:hidden;background:#F4F1EB;border-radius:30px;padding:clamp(14px,1.6vw,26px)}
.wall-q{position:relative;z-index:2;pointer-events:none;margin:0 0 clamp(10px,1.2vw,18px) 0;font-size:min(clamp(18px,1.5vw,24px),3svh);line-height:1.22;font-weight:600;letter-spacing:-.03em;transition:opacity .12s ease}
.wall-q.swap{opacity:0}
.wall-stage{position:relative}
/* the real 3D boards, laid over the wall; one shows at a time */
/* each board is drawn as if on a screen 1.5x the card, then scaled down to fit: its labels are a fixed size
   in the app, so at the card's size they swamped the shapes. Scaled as a whole, the shape leads again */
.wp-fw{position:absolute;left:0;top:0;max-width:none;width:calc(100% * 1.5);height:calc(100% * 1.5);transform:scale(calc(1 / 1.5));transform-origin:0 0;
  border:0;opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:1}
.wp-fw.on{opacity:1;pointer-events:auto}
.wall.off{opacity:0;pointer-events:none}
.wall{transition:opacity .25s ease;--s:1;position:relative;width:100%;height:480px;overflow:visible;clip-path:inset(-26px -2000px -2000px -2000px);cursor:text;
  -webkit-user-select:none;user-select:none;font-family:var(--display);letter-spacing:-.03em}
.wall__world{position:absolute;left:0;top:0;width:1000px;height:100%;transform-origin:0 0}

/* the question the room is on: text set straight on the board */

/* a note (board.css .note) */
.wn{position:absolute;width:224px;min-height:196px;padding:20px 20px 40px;border-radius:18px;
  font-size:22px;line-height:1.22;font-weight:420;white-space:pre-wrap;overflow-wrap:anywhere;color:#0B0A0A;
  cursor:grab;display:flex;flex-direction:column;touch-action:none;
  transition:transform .18s cubic-bezier(.3,1.5,.5,1)}
.wn__t{outline:none;min-height:1.22em;flex:1;cursor:inherit}
.wn__t:empty::before{content:'write something';color:var(--deep)}
.wn__by{position:absolute;left:20px;bottom:14px;font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--deep)}
.wn.hover{transform:scale(1.03)}
.wn.lifted{transform:scale(1.04) rotate(-1.5deg);cursor:grabbing}
.wn.editing{cursor:text}
.wn.editing .wn__t{-webkit-user-select:text;user-select:text}
.wn.riding{transition:transform .18s cubic-bezier(.3,1.5,.5,1),left 1.1s cubic-bezier(.45,0,.2,1),top 1.1s cubic-bezier(.45,0,.2,1)}
.wn.caught{transform:scale(1.03)}
/* the box you draw round a mess: a patch in your own pale, no outline */
.wbox{position:absolute;border-radius:22px;opacity:.55;pointer-events:none;z-index:2;transition:opacity .3s ease}
.wbox.gone{opacity:0}
.wn.landing{animation:wn-land .34s cubic-bezier(.3,1.5,.5,1)}
@keyframes wn-land{from{transform:scale(.7);opacity:0}to{transform:none;opacity:1}}
.wn.filing{transition:left .26s ease,top .26s ease,transform .26s ease,opacity .26s ease;transform:scale(.3);opacity:0;pointer-events:none}

/* a folder (board.css .frame): reactbits' flap folder, the back and front in two tones of its owner's colour */
.wf{position:absolute;width:224px;height:196px;cursor:pointer;perspective:1120px;perspective-origin:112px 108px;transition:transform .42s cubic-bezier(.3,1.5,.5,1),opacity .3s ease}
.wf--new{transform:scale(.6);opacity:0}
.wf__name:empty::before{content:attr(data-empty);opacity:.6}
.wf__shape{position:absolute;left:0;top:0;overflow:visible}
.wf__shape path{fill:var(--fback)}
.wf__name{position:absolute;left:40px;top:0;height:20px;max-width:76px;display:flex;align-items:center;z-index:5;
  color:var(--ftabink);font-size:11px;font-weight:600;letter-spacing:-.005em;white-space:nowrap;overflow:hidden}
.wf__papers{position:absolute;left:0;top:0;width:224px;height:196px}
.wf__paper{position:absolute;left:0;top:0;width:120.96px;height:147.6px;box-sizing:border-box;padding:14px 13px;border-radius:7px;
  background:var(--fpale);display:flex;flex-direction:column;gap:6px;transform-origin:50% 50%;
  transition:transform .34s cubic-bezier(.22,1.3,.36,1)}
.wf__paper b{font-size:11px;font-weight:600;letter-spacing:-.01em;line-height:1.2;color:#0B0A0A;white-space:nowrap;overflow:hidden;margin-bottom:4px}
.wf__paper s{height:4px;flex:none;border-radius:999px;background:#0B0A0A;opacity:.16;text-decoration:none}
.wf__paper s:nth-of-type(2){width:84%} .wf__paper s:nth-of-type(3){width:92%}
.wf__paper s:nth-of-type(4){width:70%} .wf__paper s:nth-of-type(5){width:88%}
.wf__front{position:absolute;left:0;bottom:0;width:224px;height:123.2px;z-index:40;border-radius:12px;background:var(--ffront);
  transform-origin:50% 100%;transition:transform .36s cubic-bezier(.22,1.2,.36,1)}
.wf.peek .wf__front{transform:rotateX(-15deg)}
.wf.open .wf__front{transform:rotateX(-64deg)}

/* other people's pointers: a round disc and a name, only while they are doing something */
.wc{position:absolute;left:0;top:0;pointer-events:none;z-index:9999;transition:opacity .4s ease}
.wc__d{width:20px;height:20px;border-radius:50%;margin:-10px 0 0 -10px}
.wc__n{position:absolute;left:14px;top:8px;padding:5px 12px 6px;border-radius:999px;font-size:14px;font-weight:600;white-space:nowrap;letter-spacing:-.02em}
.wc.off{opacity:0}

/* what's inside: four short parts under the board */
.wp__inside{list-style:none;margin:clamp(32px,4vw,64px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(24px,3vw,48px)}
.wp__inside h3{margin:0 0 .4em;font-size:clamp(22px,1.9vw,30px);line-height:1.04;font-weight:700;letter-spacing:-.035em}
.wp__inside p{margin:0 0 .5em;font-size:clamp(15px,1.1vw,18px);line-height:1.3;max-width:24em}

@media (max-width:1100px){ .wp__inside{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:820px){
  .ch--wp .ch__name{font-size:min(var(--nm),calc((100vw - 2 * var(--gut)) / 6.3))}
  .wp__body{grid-template-columns:1fr}
  .wp__inside{grid-template-columns:1fr}
}
@media print{ .wall{display:none} .wp__inside{grid-template-columns:1fr 1fr} }
