/* =====================================================================================================
   BLOCKS. Shared page blocks of the leads program (workstream B, 2026-11-20): the first meeting, who stands behind the project, when to
   contact us. They are included by name from src/components (build.js, <!--include:name-->), so every page that carries one says the same
   words. The vocabulary is the home page's: one line and one node. The line is a content line (a process, a method); the node is the
   triangle from inside the Alevectis mark. The four Zoho colours appear only as small plates on a sheet. Mobile first: the rules below are
   the 390 px composition; the media queries rearrange it.
   ===================================================================================================== */
.blk{--mk:#2a9087}
.blk .nw{white-space:nowrap}
.blk .lede{max-width:48ch}

/* ---------- the first meeting (process-first-meeting) ---------- */
.pfm-intro{margin-top:10px;font-weight:800;color:var(--ink)}
.pfm-path{list-style:none;margin:34px 0 0;padding:0}
.pfm-stop{position:relative;padding-inline-start:46px;padding-bottom:30px}
.pfm-stop::before{content:"";position:absolute;inset-inline-start:7px;top:28px;bottom:0;width:2px;background:var(--mk)}
.pfm-stop:last-child{padding-bottom:6px}
.pfm-stop:last-child::before{display:none}
.pfm-node{position:absolute;inset-inline-start:0;top:8px;width:16px;height:18px;background:var(--mk);clip-path:polygon(0 50%,100% 0,100% 100%)}
.pfm-ico{display:block;width:30px;height:30px;color:var(--teal);margin-bottom:8px}
.pfm-stop h3{display:flex;align-items:baseline;gap:10px;margin:0 0 6px;font-size:20px}
.pfm-n{color:var(--teal);font-weight:800}
.pfm-stop p{margin:0;color:var(--muted);font-size:15.5px;max-width:44ch}
.pfm-stop .pfm-lead{color:var(--ink);font-weight:700;margin-bottom:8px}
.pfm-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pfm-list li{position:relative;padding-inline-start:20px;color:var(--muted);font-size:15.5px;line-height:1.55}
.pfm-list li::before{content:"";position:absolute;inset-inline-start:2px;top:.62em;width:9px;height:6px;border-left:2px solid var(--teal);border-bottom:2px solid var(--teal);transform:rotate(-45deg)}
/* the four sheets that lie open at the last stop: each is one of the four things the visitor leaves with */
.pfm-sheets{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pfm-sheet{position:relative;padding:22px 16px 16px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 20px -18px rgba(13,26,23,.55)}
.pfm-sheet::before{content:"";position:absolute;top:-1px;inset-inline:-1px;height:6px;border-radius:var(--radius) var(--radius) 0 0;background:var(--zc,var(--zoho-blue))}
.pfm-sheet::after{content:"";position:absolute;top:5px;left:-1px;width:16px;height:16px;background:var(--paper);border-right:1px solid var(--line);border-bottom:1px solid var(--line);clip-path:polygon(100% 0,100% 100%,0 100%)}
.pfm-sheet:nth-child(1){--zc:var(--zoho-red)}
.pfm-sheet:nth-child(2){--zc:var(--zoho-green)}
.pfm-sheet:nth-child(3){--zc:var(--zoho-blue)}
.pfm-sheet:nth-child(4){--zc:var(--zoho-yellow)}
.pfm-sheet b{display:block;margin-bottom:6px;font-size:16px;font-weight:800;color:var(--ink)}
.pfm-sheet p{margin:0;font-size:14.5px;line-height:1.55;color:var(--muted)}
.pfm-bring{margin-top:34px;padding-top:24px;border-top:1px solid var(--line);max-width:68ch}
.pfm-bring h3{margin-bottom:8px;font-size:20px}
.pfm-bring p{margin:0 0 10px;color:var(--muted)}
.pfm-go{margin-top:18px!important}
@media (min-width:900px){
  .pfm-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:30px;margin-top:44px}
  .pfm-stop{padding-inline-start:0;padding-top:46px;padding-bottom:0}
  .pfm-stop::before{top:8px;bottom:auto;inset-inline-start:24px;inset-inline-end:-30px;width:auto;height:2px}
  .pfm-node{top:0}
  .pfm-stop:last-child{padding-bottom:0}
  .pfm-sheets{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:26px}
}

/* ---------- who stands behind the project (who-people, who-method, who-transparency) ---------- */
.whp{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:22px}
.whp-p{display:flex;gap:16px;align-items:flex-start}
.whp-p img{flex:none;width:96px;height:96px;border-radius:50%;object-fit:cover;background:var(--paper);box-shadow:0 0 0 3px var(--white),0 0 0 4px var(--line)}
.whp-b strong{display:block;font-size:18px;font-weight:800;color:var(--ink)}
.whp-r{display:block;margin-bottom:6px;font-size:13.5px;font-weight:700;color:var(--teal-d)}
.whp-b p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}
.whp-st{display:inline-block;margin-top:10px;padding:5px 12px;border:1px solid var(--mk);border-radius:999px;font-size:13.5px;font-weight:700;color:var(--teal-d)}
.whp-end{margin-top:22px;color:var(--muted);font-size:15px}
@media (min-width:900px){
  .whp{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
  .whp-p{flex-direction:column;gap:14px}
  .whp-p img{width:112px;height:112px}
}

.whm{margin-top:56px}
.whm h3,.whm h2{margin-bottom:6px}
.whm-steps{list-style:none;margin:28px 0 0;padding:0}
.whm-step{position:relative;padding-inline-start:46px;padding-bottom:26px}
.whm-step::before{content:"";position:absolute;inset-inline-start:7px;top:28px;bottom:0;width:2px;background:var(--mk)}
.whm-step:last-child{padding-bottom:0}
.whm-step:last-child::before{display:none}
.whm-node{position:absolute;inset-inline-start:0;top:8px;width:16px;height:18px;background:var(--mk);clip-path:polygon(0 50%,100% 0,100% 100%)}
.whm-who{position:absolute;inset-inline-end:0;top:0;width:40px;height:40px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--white),0 0 0 3px var(--line)}
.whm-step h4,.whm-step h3,.whm-step h5{display:flex;align-items:center;gap:10px;min-height:40px;margin:0 0 6px;margin-inline-end:52px;font-size:18px}
.whm-n{color:var(--teal);font-weight:800}
.whm-do{margin:0;color:var(--muted);font-size:15.5px}
.whm-out{position:relative;margin:12px 0 0;padding:14px 14px 12px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);font-size:14.5px;line-height:1.55;color:var(--ink)}
.whm-out b{display:block;margin-bottom:3px;font-size:13px;font-weight:800;letter-spacing:.02em;color:var(--teal-d)}
.whm-end{margin-top:22px;color:var(--muted);font-size:15px}
@media (min-width:1100px){
  .whm-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:22px}
  .whm-step{padding-inline-start:0;padding-top:52px;padding-bottom:0}
  .whm-step::before{top:8px;bottom:auto;inset-inline-start:24px;inset-inline-end:-22px;width:auto;height:2px}
  .whm-node{top:0}
  .whm-who{inset-inline-end:auto;inset-inline-start:30px;top:-10px}
  .whm-step h4,.whm-step h3,.whm-step h5{min-height:0;margin-inline-end:0}
}

.wht{margin-top:56px}
.wht h3,.wht h2{margin-bottom:6px}
.wht-lede{margin:0 0 22px;color:var(--muted)}
.wht-ledger{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:2px solid var(--ink)}
.wht-col{padding:16px 0 18px;border-bottom:1px solid var(--line)}
.wht-col p{margin:0;color:var(--muted);font-size:15.5px;line-height:1.6}
.wht-col .wht-head{margin-bottom:8px;font-size:15px;font-weight:800;color:var(--teal-d);letter-spacing:.01em}
.wht-col strong{color:var(--ink)}
.wht-rows{list-style:none;margin:0;padding:0}
.wht-rows li{padding:16px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:15.5px;line-height:1.6}
.wht-rows strong{color:var(--ink)}
.wht-rows .inline-link{margin-inline-start:6px}
@media (min-width:900px){
  .wht-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
}
@media (min-width:760px){
  .wht-ledger{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .wht-col{padding-inline:0 28px}
  .wht-col + .wht-col{padding-inline:28px 0;border-inline-start:1px solid var(--line)}
}

.blk-back{margin-top:34px}
.blk-who>.wrap>.whm:first-child,.blk-who>.wrap>.wht:first-child{margin-top:0}

/* ---------- when to contact us (when-to-contact): six situations that all lead to one door. A bus at the end side joins them, and a dot marks where each one meets it ---------- */
.wtc-list{list-style:none;margin:30px 0 0;padding:0}
.wtc-row,.wtc-door{position:relative;padding-inline-end:46px}
.wtc-row{padding-block:20px;border-top:1px solid var(--line)}
/* the junction is one element with two background layers: the dot on the bus (8 px from the end edge) and the short line to the row; the page is right to left, so the bus is at its left */
.wtc-row::before,.wtc-door::before{content:"";position:absolute;inset-inline-end:0;top:26px;width:46px;height:20px;background:radial-gradient(circle at 8px 50%,var(--mk) 5px,transparent 5.6px),linear-gradient(var(--mk),var(--mk)) 13px 50%/33px 2px no-repeat}
.wtc-row::after{content:"";position:absolute;inset-inline-end:7px;top:36px;width:2px;height:100%;background:var(--mk)}
.wtc-row h3{margin:0 0 6px;font-size:19px}
.wtc-row p{margin:0 0 6px;color:var(--muted);font-size:15.5px;line-height:1.6}
.wtc-row .inline-link{display:inline-block;padding-block:11px}
.wtc-door{padding-block:20px 0;border-top:1px solid var(--line)}
.wtc-door::before{top:104px}
.wtc-door::after{content:"";position:absolute;inset-inline-end:7px;top:0;width:2px;height:114px;background:var(--mk)}
.wtc-door-box{max-width:640px;margin-inline-start:auto;padding:50px 26px 26px;background:var(--teal-tint);border:2px solid var(--ink);border-radius:90px 90px 8px 8px}
.wtc-door h3{margin:0 0 8px;font-size:22px}
.wtc-door p{margin:0;max-width:40ch;color:var(--ink);font-size:16.5px;line-height:1.6}
.wtc-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
@media (min-width:900px){
  .wtc-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,.9fr);gap:0 36px;align-items:start;padding-block:24px}
  .wtc-row::before{top:28px}
  .wtc-row::after{top:38px}
  .wtc-row h3,.wtc-row p{margin:0}
  .wtc-row .inline-link{align-self:start}
  .wtc-door{padding-block:24px 0}
  .wtc-door::before{top:108px}
  .wtc-door::after{height:118px}
}
