/* The meeting drawing right under the hero. Markup: scripts/build-people.mjs. The line styles and colours are the hero's
   (assets/skyline-story.css: .ss and its ss-* classes); this file lays the section out and adds the few lines of its own.
   Kept to one screen: the heading and the lead, then the drawing at about 420px tall on a desktop. */
.pp-sec{background:var(--bg); padding:clamp(2.4rem, 1.6rem + 2vw, 3.6rem) 0}
.pp-sec h2{max-width:none}
.pp-sec .lead{max-width:60ch}

/* the drawing: the paper is the section's own background, so figures hide what is behind them without a visible patch */
.ss.pp{position:relative; inset:auto; left:auto; right:auto; top:auto; bottom:auto; height:auto; order:0; display:block; pointer-events:none;
  margin:clamp(1.2rem, .8rem + 1vw, 1.8rem) auto 0; max-width:62rem; --s-paper:var(--bg)}
.pp-svg{display:block; width:100%; aspect-ratio:1100/420; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent)}
.pp-svg path{fill:none; stroke-linecap:round; stroke-linejoin:round}
/* phone: the frame runs to the screen edges and comes in on the model (or the agreement) and the hands nearest it */
@media (max-width:640px){
  .pp-sec h2{font-size:1.65rem} .pp-sec .lead{font-size:1rem}
  .ss.pp{margin-inline:-1.25rem; overflow:hidden}
  .pp-svg{width:156%; margin-left:var(--pp-shift, -47%); aspect-ratio:1100/460; -webkit-mask-image:none; mask-image:none}
}

.ss.pp .pp-tt{stroke:none}
.ss.pp .pp-gold path{vector-effect:non-scaling-stroke}
.ss.pp .pp-rm{opacity:.6}
.ss.pp .pp-pa{fill:var(--s-paper)}
.ss.pp .pp-h{fill:color-mix(in srgb, var(--s-gold) 12%, var(--s-paper)); stroke-width:calc(1.25 * var(--zs, 1))}
.ss.pp .pp-b{stroke-width:calc(1.1 * var(--zs, 1))}
.ss.pp .pp-city{opacity:.9}
.ss.pp .pp-cb{opacity:.6}
.ss.pp .pp-bf{fill:var(--s-bf0); stroke:none}

/* before the script has set the first frame the drawing is held back (two seconds at most), so it never flashes finished */
@media (prefers-reduced-motion:no-preference){ .js .pp:not(.pp-on) .pp-svg{animation:ss-hold 0s 2s both} }

/* the drawing on the live pages (option A): the plan's lettering and line weights, the model, the window's light */
.ss.pp .pp-tx{font:600 7px/1 var(--sans); letter-spacing:.16em; fill:var(--s-ink2); stroke:none; text-anchor:middle}
.ss.pp .pp-td{font-size:6px; letter-spacing:.08em}
.ss.pp .pp-tb{font-size:7px; letter-spacing:0}
.ss.pp .pp-tt1{font-size:8px; letter-spacing:.2em; fill:var(--s-ink); text-anchor:start}
.ss.pp .pp-tt2{font-size:6.5px; letter-spacing:.18em; text-anchor:start}
.ss.pp .pp-fl{font-size:9px; letter-spacing:.24em; fill:var(--s-ink)}
.ss.pp .pp-lt{stroke:var(--s-ink2); stroke-width:.45; opacity:.8}
.ss.pp .pp-grid{stroke-dasharray:6 3 1.5 3; opacity:.6}
.ss.pp .pp-wall{stroke-width:1.15}
.ss.pp .pp-sh{fill:var(--s-fl); stroke:none; opacity:.55}
.ss.pp .pp-bd{fill:var(--s-paper)}
.ss.pp .pp-gp{fill:var(--s-paper)}
.ss.pp .pp-pool{fill:color-mix(in srgb, var(--s-gold) 18%, var(--s-paper)); stroke-width:.9}
.ss.pp .pp-water{stroke:var(--s-gold); opacity:.7}
.ss.pp .pp-op{stroke:var(--s-gold); stroke-width:.7; fill:none}
.ss.pp .pp-palm{fill:none; stroke-width:.95}
.ss.pp .pp-light{fill:color-mix(in srgb, var(--s-gold) 6%, transparent); stroke:none}
.ss.pp .pp-sky{stroke:var(--s-cons); opacity:.55}

/* The checking light is transient; the HTML's finished checks always remain visible. */
.pp .pp-scan{opacity:0}
.pp .pp-scan-light{fill:url(#pp-scan-gold); stroke:none}
.pp .pp-scan-stop{stop-color:var(--s-gold)}

/* 1 Dec 2026: the steps of the chart light up and are ticked, a marker runs the route, the last check is a bold tick in
   a ring, there is coffee in the cup with steam over it, and the hands make a small movement once the drawing rests. */
.ss.pp .pp-lit{fill:color-mix(in srgb, var(--s-gold) 20%, var(--s-paper)); stroke:none}
.ss.pp .pp-wtick{stroke-width:calc(1.3 * var(--zs, 1))}
.ss.pp .pp-flow{stroke-width:calc(1.2 * var(--zs, 1))}
.ss.pp .pp-date{font:italic 400 7.5px/1 Georgia,serif; letter-spacing:0; fill:var(--s-ink)}
.ss.pp .pp-stamp{fill:color-mix(in srgb, var(--s-gold) 18%, var(--s-paper)); stroke:var(--s-gold); stroke-width:calc(1.6 * var(--zs, 1)); transform-box:fill-box; transform-origin:center}
.ss.pp .pp-check-final{stroke-width:calc(2.6 * var(--zs, 1)); opacity:1}
.ss.pp .pp-coffee{fill:color-mix(in srgb, var(--s-gold) 26%, var(--s-paper))}
.ss.pp .pp-wisp{opacity:.6; stroke-width:calc(.9 * var(--zs, 1))}
@media (prefers-reduced-motion:no-preference){
  .pp-idle .pp-wisp{animation:pp-steam 4.8s ease-in-out infinite both}
  .pp-idle .pp-wisp1{animation-delay:-1.6s} .pp-idle .pp-wisp2{animation-delay:-3.2s}
  .pp-idle .pp-idl-a{animation:pp-nod 5.5s ease-in-out infinite}
  .pp-idle .pp-idl-b{animation:pp-pat 7s ease-in-out infinite}
  .pp-idle .pp-flow{stroke-dasharray:.12 .1; animation:pp-march 1.6s linear infinite}
  .pp-idle .pp-lit{animation:pp-glow 8s ease-in-out infinite}
  .pp-idle .pp-lit1{animation-delay:1.1s} .pp-idle .pp-lit2{animation-delay:2.2s} .pp-idle .pp-lit3{animation-delay:3.3s} .pp-idle .pp-lit4{animation-delay:4.4s}
}
@keyframes pp-steam{0%{opacity:0; transform:translate(2px,7px)} 35%{opacity:.75} 100%{opacity:0; transform:translate(-3px,-11px)}}
@keyframes pp-nod{0%,100%{transform:none} 50%{transform:translate(0,-3px)}}
@keyframes pp-pat{0%,40%,100%{transform:none} 58%{transform:translate(-2.5px,-1.8px)} 76%{transform:translate(.6px,.4px)}}
@keyframes pp-march{from{stroke-dashoffset:.22} to{stroke-dashoffset:0}}
@keyframes pp-glow{0%,22%,100%{opacity:1} 7%{opacity:.25}}

/* 1 Dec 2026 (James: "It's hard to read the text. Can we add a bit more colour ... Not too much, just a bit more"):
   the five steps are named in ink at a readable size, each lights in its own soft colour, the ticks are green, the
   hands carry a light skin tone, the paper is whiter than the table and the coffee is brown. */
.ss.pp .pp-st{font:700 9px/1 var(--sans); letter-spacing:.11em; fill:var(--s-label)}
.ss.pp .pp-lit0{fill:color-mix(in srgb, #4d86ad 24%, var(--s-paper))}
.ss.pp .pp-lit1{fill:color-mix(in srgb, #c8913c 26%, var(--s-paper))}
.ss.pp .pp-lit2{fill:color-mix(in srgb, #4a9a6c 24%, var(--s-paper))}
.ss.pp .pp-lit3{fill:color-mix(in srgb, #b9772a 30%, var(--s-paper))}
.ss.pp .pp-lit4{fill:color-mix(in srgb, #3a918b 24%, var(--s-paper))}
.ss.pp .pp-wtick{stroke:#2f7d57}
[data-theme="dark"] .ss.pp .pp-wtick{stroke:#7fd3a4}
.ss.pp .pp-skin{fill:color-mix(in srgb, #d49a76 24%, var(--s-paper))}   /* the hands; pp-h is the gold of the pen and flag, left as it was */
.ss.pp .pp-pa{fill:color-mix(in srgb, #ffffff 62%, var(--s-paper))}
[data-theme="dark"] .ss.pp .pp-pa{fill:color-mix(in srgb, #ffffff 9%, var(--s-paper))}
.ss.pp .pp-coffee{fill:color-mix(in srgb, #7a4a2b 62%, var(--s-paper))}
/* not everyone at the table has the same skin (James, 1 Dec 2026): the family's hands are a deeper brown, the hand
   that signs a mid tone, the adviser's lighter. The inner lines darken with them so the knuckles still read. */
.ss.pp .pp-fa .pp-skin,.ss.pp .pp-mo .pp-skin{fill:color-mix(in srgb, #7a4a2e 58%, var(--s-paper))}
.ss.pp .pp-fa .ss-o2,.ss.pp .pp-mo .ss-o2{stroke:color-mix(in srgb, #3a2114 70%, transparent)}
.ss.pp .pp-ch .pp-skin{fill:color-mix(in srgb, #b07a52 46%, var(--s-paper))}
