/* msc-story.css — the thesis as one story (msc-thesis.html #people). A sticky black stage (msc-story.js, msc-story-3d.js) with the
   story's cards over it: on a wide screen in a left column, on a phone along the bottom. Each card rests while its step holds (--hold,
   svh of scroll) and then gives way to the next. Without the drawing (no WebGL: html.obj-flat from objects-mount.js; it failed:
   #people.ts-flat; no script; print) the stage is gone and the steps are a plain list. Normal case throughout; Figtree for text,
   mono only for the small labels. */
#people{display:block;min-height:0;padding:0;overflow:visible}
@supports (overflow:clip){#people{overflow:clip}}
#people>.ts-sticky{position:sticky;top:0;z-index:1;width:100%;max-width:none;height:100vh;height:100svh;margin:0;pointer-events:none}
#people>.ts-sticky::after{content:'';position:absolute;left:0;right:0;top:0;height:112px;background:linear-gradient(rgba(11,16,14,.92),rgba(11,16,14,.55) 55%,rgba(11,16,14,0))}   /* the header stays readable over the people */
#people .ts-stage{position:absolute;left:0;top:0;width:100%;height:100vh;height:100lvh;overflow:hidden}
#people .ts-stage canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
#people .ts-props{position:absolute;inset:0;overflow:hidden}
#people .ts-prop{position:absolute;opacity:0;visibility:hidden}
#people .ts-prop.on{pointer-events:auto}
#people{touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none}
#people .ts-card,#people .ts-sheet{-webkit-user-select:text;user-select:text}
#people>.ts-steps{position:relative;z-index:2;box-sizing:border-box;max-width:none;margin:-100vh auto 0;margin-top:-100svh;padding:34vh max(var(--pad),calc((100% - 2100px)/2)) 80vh;padding-top:34svh;padding-bottom:80svh;list-style:none;pointer-events:none}
/* while the drawing can run, it starts behind the title (msc-story.js measures the hero) */
#people.ts-on{margin-top:calc(-1 * var(--ts-hero,0px))}
#people.ts-on>.ts-steps{margin-top:calc(var(--ts-hero,0px) - 100vh);margin-top:calc(var(--ts-hero,0px) - 100svh)}
#top.ts-over{z-index:3;background:radial-gradient(64% 46% at 40% 52%,rgba(11,16,14,.9) 0,rgba(11,16,14,.72) 46%,rgba(11,16,14,0) 100%)}

/* the question, under the title */
.t-ask{margin:clamp(18px,3vh,30px) 0 0;max-width:44ch;font:400 clamp(17px,1.5vw,22px)/1.45 var(--sans);letter-spacing:-.005em;color:#d6d2c6;text-wrap:pretty}

/* ---------- the cards ---------- */
#people .ts-step{--hold:10;box-sizing:border-box;list-style:none;scroll-margin-top:var(--rest,0px);margin:0 0 38vh;margin-bottom:38svh}
#people .ts-step:last-child{margin-bottom:0}
#people .ts-step::after{content:'';display:block;height:calc(var(--hold) * 1vh);height:calc(var(--hold) * 1svh)}
#people .ts-card{position:sticky;top:var(--rest,32vh);box-sizing:border-box;width:min(max(392px,21vw),32vw);padding:20px 24px 22px;background:rgba(11,16,14,.93);border-top:1px solid rgba(241,236,224,.16);pointer-events:auto}
#people .ts-card p{margin:0;font:400 clamp(18px,calc(11.5px + .55vw),27px)/1.45 var(--sans);letter-spacing:-.005em;color:#e9e4d8;text-wrap:pretty}
#people .ts-card p+p{margin-top:10px}
#people .ts-card b{font-weight:700;color:var(--brass-hi)}
#people .ts-card .ts-k{margin:0 0 10px;font:500 12px/1.4 var(--mono);letter-spacing:.03em;color:var(--muted-b)}
#people .ts-card .ts-cap{margin:16px 0 0;font:500 12px/1.4 var(--mono);letter-spacing:.03em;color:var(--muted-b)}
#people .ts-cap+.ts-meds{margin-top:8px}
#people .ts-card .ts-note{margin-top:12px;font:400 14px/1.5 var(--sans);letter-spacing:0;color:#b9b6aa}
#people .ts-nb{white-space:nowrap}
#people .ts-card .ts-more{margin-top:14px;font:500 13px/1.4 var(--sans);letter-spacing:0}
#people .ts-more a{display:inline-block;padding:4px 0 3px;color:var(--brass-hi);text-decoration:none;border-bottom:1px solid rgba(212,173,98,.45);transition:border-color .25s var(--ui)}
#people .ts-more a:hover{border-color:var(--brass-hi)}
#people .ts-more a:focus-visible,#people .ts-meds button:focus-visible{outline:2px solid var(--brass);outline-offset:2px}
/* the last card: the message, large */
#people .ts-xl{width:min(max(980px,60vw),100%);background:none;border:0;padding:0}
#people .ts-xl .ts-big{font:700 clamp(30px,4.2vw,96px)/1.02 var(--sans);letter-spacing:-.042em;color:var(--ivory);text-wrap:balance}
#people .ts-xl .ts-big em{font-style:normal;color:var(--brass-hi)}
#people .ts-xl .ts-big+p{margin-top:20px;max-width:56ch}
/* the ten medicines with the stays each was given in (written by msc-story.js from MSC.meds); a name lights its stays */
#people .ts-meds{margin:14px 0 0;padding:10px 0 0;border-top:1px solid var(--line-i);list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
#people .ts-meds li{margin:0}
#people .ts-meds button{display:flex;justify-content:space-between;align-items:baseline;gap:10px;width:100%;margin:0;padding:3px 0;border:0;background:none;text-align:left;font:400 14px/1.4 var(--sans);letter-spacing:0;color:#d6d2c6;cursor:pointer}
#people .ts-meds button span{font:500 12px/1.4 var(--mono);color:var(--ivory)}
#people .ts-meds button:hover,#people .ts-meds button[aria-pressed="true"]{color:var(--brass-hi)}
#people .ts-meds button[aria-pressed="true"] span{color:var(--brass-hi)}

/* ---------- words and lines on the stage (aria-hidden with it; the cards carry the same facts) ---------- */
#people .ts-labs,#people .ts-svg{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}
#people .ts-group{position:absolute;inset:0;opacity:0;visibility:hidden}
#people .ts-lab{position:absolute;font:600 calc(13px*var(--k,1))/1.25 var(--sans);color:var(--ivory)}
#people .ts-lab span{display:block;margin-top:2px;font:500 calc(11.5px*var(--k,1))/1.35 var(--mono);color:var(--muted-b)}
#people .ts-lab i{display:inline-block;width:9px;height:9px;margin-right:8px;border-radius:50%;vertical-align:.02em}
#people .ts-lab b{font-weight:700}
#people .ts-mid{transform:translateX(-50%);text-align:center}
#people .ts-mid.on,#people .ts-mid.on span,#people .ts-row.on{color:var(--brass-hi)}
#people .ts-left{cursor:inherit}
#people .ts-small{font-size:calc(12px*var(--k,1))}
#people .ts-right{transform:translate(-100%,-50%);white-space:nowrap}
#people .ts-count{font:500 calc(13px*var(--k,1))/1.4 var(--mono);color:var(--muted-b);white-space:nowrap}
#people .ts-count b{font:700 calc(20px*var(--k,1))/1.2 var(--sans);letter-spacing:-.01em;color:var(--ivory)}
#people .ts-col{transform:translateX(-50%);text-align:center;font-size:calc(16px*var(--k,1))}
#people .ts-head{transform:translateY(-50%);font-size:calc(17px*var(--k,1))}
#people .ts-head span{padding-left:17px}
#people .ts-headp{transform:none;padding-right:6px;background:#0b100e;font-size:14px;white-space:nowrap}
#people .ts-headp span{display:inline;padding-left:8px;font-size:11px}
#people .ts-row{transform:translateY(-50%);font-size:calc(14px*var(--k,1));white-space:nowrap}
#people .ts-svg{overflow:visible}
#people .ts-svg>g{opacity:0;visibility:hidden}
#people .ts-brk path{fill:none;stroke:var(--ivory);stroke-width:1.5}
#people .ts-guide{fill:none;stroke:rgba(241,236,224,.13);stroke-width:1}
#people .ts-axis,#people .ts-tick{fill:none;stroke:rgba(241,236,224,.4);stroke-width:1}
#people .ts-one{fill:none;stroke:var(--brass-hi);stroke-width:1.2;stroke-dasharray:3 5}
#people .ts-mark{width:2px;margin-left:-1px;background:var(--ivory)}
#people .ts-cursor{width:1px;background:rgba(241,236,224,.4)}
#people .ts-cage{font:500 13px/1 var(--sans);color:var(--ivory);white-space:nowrap}
#people .ts-age b{font:700 20px/1 var(--sans);letter-spacing:-.01em}
#people .ts-rod{fill:none;stroke-width:2.4;stroke-linecap:round}
#people .ts-thin{stroke-width:1.6}
#people .ts-num{font:500 calc(12px*var(--k,1)) var(--mono);fill:var(--muted-b)}
#people .ts-title{font:500 calc(13px*var(--k,1)) var(--sans);fill:#b9b6aa}
#people .ts-val{font:700 calc(20px*var(--k,1)) var(--sans);letter-spacing:-.01em;fill:var(--ivory)}
#people .ts-ref{fill:var(--muted-b)}
#people .ts-tiny{font:500 calc(13px*var(--k,1)) var(--mono);letter-spacing:0}
#people .ts-halo{paint-order:stroke;stroke:#0b100e;stroke-width:5px;stroke-linejoin:round}
#people .ts-ext path{fill:none;stroke:var(--brass-hi);stroke-width:1.5}
#people .ts-pt{fill:var(--ivory)}
#people .ts-pt.on{fill:var(--brass-hi)}
#people .ts-figure{fill:var(--brass-hi)}
#people .ts-arrow{fill:none;stroke:var(--ivory);stroke-width:1.6}
#people .ts-tip{fill:var(--ivory)}
#people .ts-ask{fill:none;stroke:var(--muted-b);stroke-width:1.4;stroke-dasharray:4 7}
#people .ts-over{font:500 calc(13px*var(--k,1))/1.4 var(--sans);color:#b9b6aa;white-space:nowrap}
#people .ts-left{white-space:nowrap}
#people .ts-row em{display:block;font:500 11px/1.2 var(--mono);font-style:normal;color:var(--muted-b)}

/* ---------- the sheets: the thesis's own figures slide over the stage between the acts, and off it again ---------- */
#people>.ts-sheet{position:relative;z-index:3;max-width:none;margin:0;touch-action:auto;box-shadow:0 -18px 60px rgba(0,0,0,.45),0 18px 60px rgba(0,0,0,.45)}
#people>.ts-sheet~.ts-steps{margin-top:0;padding-top:58vh;padding-top:58svh}
#people>.ts-steps:not(:last-of-type){padding-bottom:30vh;padding-bottom:30svh}
#people>.ts-steps:not(:last-of-type)>.ts-step:last-child{margin-bottom:0}

@media (hover:none) and (pointer:coarse){#people>.ts-sheet{box-shadow:none}}
@media (max-width:899.98px){
  #people>.ts-steps{padding-top:70vh;padding-top:70svh;padding-bottom:70vh;padding-bottom:70svh}
  #people>.ts-sheet~.ts-steps{padding-top:88vh;padding-top:88svh}
  #people>.ts-steps:not(:last-of-type){padding-bottom:20vh;padding-bottom:20svh}
  #people .ts-step{margin-bottom:26vh;margin-bottom:26svh}
  #people .ts-step::after{height:calc(var(--hold) * .78vh);height:calc(var(--hold) * .78svh)}
  #people>.ts-steps{padding-left:var(--pad);padding-right:var(--pad)}
  #people .ts-card{width:100%;padding:14px 16px 16px;background:rgba(11,16,14,.92)}
  #people .ts-card p{font-size:17px;line-height:1.42}
  #people .ts-card .ts-k{margin-bottom:6px;font-size:11.5px}
  #people .ts-card .ts-note{font-size:13px;margin-top:8px}
  #people .ts-card .ts-more{margin-top:8px}
  #people .ts-meds{margin-top:10px;padding-top:6px;gap:0 16px}
  #people .ts-meds button{font-size:13px;padding:2px 0}
  #people>.ts-sticky::after{height:80px}
  #people .ts-lab{font-size:12px}
  #people .ts-lab span{font-size:10.5px}
  #people .ts-col{font-size:12.5px}
  #people .ts-count b{font-size:16px}
  #people .ts-val{font-size:16px}
  #people .ts-num{font-size:11px}
  #people .ts-title{font-size:11.5px}
  #people .ts-tiny{font-size:11px}
  #people .ts-row{font-size:11.5px}
  #people .ts-xl{padding:0}
}
@media (max-height:520px) and (orientation:landscape){
  #people .ts-card{width:min(42vw,360px);padding:10px 14px 12px}
  #people .ts-card p{font-size:14.5px;line-height:1.38}
  #people .ts-card .ts-k{margin-bottom:4px;font-size:11px}
  #people .ts-card .ts-note{font-size:12px;margin-top:6px}
  #people .ts-meds button{font-size:11.5px;padding:1px 0}
  #people>.ts-sticky::after{height:64px}
  #people .ts-xl .ts-big{font-size:24px}
}
@media (max-width:379.98px){
  #people .ts-card p{font-size:16px}
  #people .ts-meds button{font-size:12px}
  #people .ts-meds button span{font-size:11px}
}

/* no drawing: the steps alone, one after another */
html.obj-flat #people>.ts-sticky,#people.ts-flat>.ts-sticky{display:none}
html.obj-flat #people>.ts-steps,#people.ts-flat>.ts-steps{margin-top:0;padding-top:calc(var(--pad) + 88px);padding-bottom:calc(var(--pad) + 56px)}
html.obj-flat #people>.ts-sheet~.ts-steps,#people.ts-flat>.ts-sheet~.ts-steps{padding-top:calc(var(--pad) + 56px)}
html.obj-flat #people .ts-step,#people.ts-flat .ts-step{margin:0}
html.obj-flat #people .ts-step::after,#people.ts-flat .ts-step::after{display:none}
html.obj-flat #people .ts-card,#people.ts-flat .ts-card{position:static;width:auto;max-width:44rem;background:none;border-top:1px solid var(--line-i);padding:18px 0;opacity:1!important}
html.obj-flat #people .ts-draw,#people.ts-flat .ts-draw{display:none}
@media print{
  #people>.ts-sticky{display:none}
  #people,#people.ts-on{margin-top:0;background:none;color:#11100f}
  #people>.ts-steps,#people.ts-on>.ts-steps,#people>.ts-sheet~.ts-steps{margin-top:0;padding:10px max(var(--pad),24px)}
  #people .ts-step{margin:0}
  #people .ts-step::after,#people .ts-draw{display:none}
  #people .ts-card{position:static;width:auto;max-width:44rem;background:none;border-top:1px solid rgba(17,16,15,.2);padding:10px 0;opacity:1!important;break-inside:avoid}
  #people .ts-card p,#people .ts-card b,#people .ts-xl .ts-big,#people .ts-xl .ts-big em,#people .ts-meds button,#people .ts-meds button span{color:#11100f!important}
  #people .ts-card .ts-k,#people .ts-card .ts-note,#people .ts-card .ts-cap{color:#5a574f!important}
  #people>.ts-sheet{box-shadow:none}
}
/* the title passes under the header while it leaves */
.whead::before{content:"";position:absolute;left:0;right:0;top:0;height:calc(100% + 30px);z-index:-1;background:linear-gradient(#0b100e,rgba(11,16,14,.93) 66%,rgba(11,16,14,0));opacity:0;transition:opacity .3s ease;pointer-events:none}
.whead.ts-past:not(.on-ivory)::before{opacity:1}
