/* ============================================================================
   CONSTRUCTION AND DEVELOPMENT (pages/solutions-construction.html). The page's own blocks, so shared/brand-3.css
   does not grow. Every rule is scoped .v3.sol and uses the cn- or gn- prefix only.

   (logo)     the client's logo uses the shared .clogo-top / .clogo-vh in shared/brand-3.css; the diagram card has its own
   gh         #client: the shared sources diagram, now in shared/brand-3.css (SOURCES DIAGRAM)
   gn-ui      #how: the small generic Flero cards under the tower

   The pictures are generic on purpose: no topic, no field names, no sources by name. Amber marks what is wrong in
   a file; brand blue (#1250FF) marks what Flero did. White cards and hairlines on the light blue plate.
   ========================================================================== */

/* ── HERO: closed panels show their names on up to two lines instead of cutting them off ── */
.v3.sol .acc-tx b{white-space:normal;}
.v3.sol .acc-p.open{flex-grow:3;}   /* brand-3.css: 3.6; the closed panels get a little more room for their names */
.v3.sol .acc-p:not(.open) .acc-tx{left:10px; right:8px;}
.v3.sol .acc-p:not(.open) .acc-tx b{font-size:clamp(12.5px,1.1vw,15px);}
@media (max-width:1240px){ .v3.sol .acc-tx span{width:auto;} }   /* the open panel's line wraps to the panel, never past its edge */
.v3.sol .acc-p:first-child::after, .v3.sol .acc-p.open:first-child::after{background:rgba(10,10,10,.42);}   /* the cranes photo is bright sky and busy scaffolding: a little more flat tint so its white text reads */

/* ── THE CLIENT'S LOGO: the shared .clogo-top / .clogo-vh (shared/brand-3.css, CLIENT LOGO) ── */

/* ── #client picture: the shared sources diagram (.gh, shared/brand-3.css, SOURCES DIAGRAM) ── */

/* ── #how small cards under the tower: generic Flero cards (sources as kinds, one format, a forecast line with no
   labels, the evidence behind it). .lay-ui and the hm- buttons and chips are shared/brand-3.css (LAYERS TOWER). ── */
.v3.sol .gn-f{flex:0 0 auto; padding:1px 7px; border:1px solid var(--line2); border-radius:6px; background:#fff; font-size:11px; font-weight:500; line-height:1.5; color:var(--muted);}
.v3.sol .gn-ui{padding:14px 16px 16px;}
.v3.sol .lay-ui .gn-ui-h{display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:10px; margin-bottom:4px !important; border-bottom:1px solid var(--line); font-size:12.5px; color:var(--faint);}
.v3.sol .gn-ui-h b{font-size:13.5px; font-weight:600; color:var(--ink);}
.v3.sol .gn-ui ul{list-style:none; margin:0; padding:0;}
.v3.sol .gn-rows li, .v3.sol .gn-ev li{display:flex; align-items:center; gap:10px; padding:7px 0;}
.v3.sol .gn-rows li + li, .v3.sol .gn-ev li + li{border-top:1px solid #F0EFED;}
.v3.sol .gn-rn{display:flex; flex-direction:column; flex:1 1 auto; min-width:0; line-height:1.3;}
.v3.sol .gn-rn b{font-size:13px; font-weight:600;}
.v3.sol .gn-rn small{font-size:12px; color:var(--faint);}
.v3.sol .gn-ev li > span:not(.gn-f){flex:1 1 auto; font-size:13px; font-weight:500;}
.v3.sol :is(.gn-rows, .gn-ev) em{flex:0 0 auto; padding:2px 9px; border-radius:9999px; background:var(--mint); font-size:11.5px; font-style:normal; font-weight:500;}
.v3.sol .gn-ev em.old{background:#FFF3D6; box-shadow:inset 0 0 0 1px #F0C46A; color:#7A4F00;}
.v3.sol .gn-map{display:grid; gap:8px; padding:10px 0 4px;}
.v3.sol .lay-ui .gn-map p{display:grid; grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr); align-items:center; gap:10px;}
.v3.sol .gn-ma, .v3.sol .gn-mb{display:block; padding:7px 9px; border-radius:8px;}
.v3.sol .gn-ma{background:#FFF3D6;}
.v3.sol .gn-mb{background:#EAF0FF;}
.v3.sol :is(.gn-ma, .gn-mb) i{display:block; width:var(--w,70%); height:7px; border-radius:9999px; background:#E9CF95;}
.v3.sol .gn-mb i{width:70%; background:#7E97EC;}
.v3.sol .gn-arr{width:16px; height:10px;}
.v3.sol .gn-arr path{fill:none; stroke:var(--faint); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;}
.v3.sol .lay-ui .gn-ui-st{display:flex; gap:18px; margin-top:8px; padding-top:9px; border-top:1px solid var(--line); font-size:12px; font-weight:500; color:var(--blue-deep);}
.v3.sol .gn-fc{display:block; width:100%; height:auto; margin-top:8px; overflow:visible;}
.v3.sol .gn-fc path{fill:none; stroke-linecap:round; vector-effect:non-scaling-stroke;}
.v3.sol .gn-fc .band{fill:#EAF0FF; stroke:none;}
.v3.sol .gn-fc .past{stroke:var(--ink); stroke-width:2;}
.v3.sol .gn-fc .next{stroke:var(--brand); stroke-width:2; stroke-dasharray:5 5;}
.v3.sol .gn-fc circle{fill:var(--brand);}
.v3.sol .lay-ui .gn-ui-f{display:flex; justify-content:space-between; gap:10px; margin-top:6px !important; font-size:12px; color:var(--faint);}

/* ── THE GAP UNDER THE SCROLL ANIMATION (Tanja, Nov 18: "match the others"). The shared rhythm (brand-3.css) leaves
   .heroScroll alone, so the data panel (#control's .frame) sat right under it. The animation's blue panel stops its
   own inset above the section's end (24px, 12px on phones; .hero-blue on the page), so the frame moves down by
   --sec-y less that inset: blue panel to data panel is --sec-y, as between any two panels. With motion off the
   animation is a still picture with 60px below it. ── */
.v3.sol main > .heroScroll + .frame{margin-top:calc(var(--sec-y) - clamp(16px,2vw,24px)) !important;}
@media (max-width:700px){ .v3.sol main > .heroScroll + .frame{margin-top:calc(var(--sec-y) - 12px) !important;} }
body.reduced.v3.sol main > .heroScroll + .frame{margin-top:max(0px, calc(var(--sec-y) - 60px)) !important;}

/* ── HEADLINES (Tanja's rule: never one or two words hanging on a line). ch caps cause most early breaks, so this
   page lifts the ones its longer headlines run into; the problem statement avoids a last word on its own. ── */
.v3.sol #how .sol-vh h2{max-width:22ch;}   /* the tower headline breaks into two even lines, not three */
.v3.sol #examples h2, .v3.sol #faq h2.t3{max-width:none;}
.v3.sol #problem .stmt{max-width:none; text-wrap:pretty;}   /* runs to the right margin (Tanja, Nov 17; brand-3.css caps .stmt at 26em); never ends on one word alone */
.v3.sol main :is(.lede3, .lay-fx, .it-l dd){text-wrap:pretty;}   /* body copy never ends on one word alone */

/* the scroll hero's closing lines (#heroScroll, kept as it is): a line that wraps, in the narrower still version,
   splits into even halves instead of leaving a word behind */
.v3.sol #heroScroll .ol-line{text-wrap:balance;}


/* ── THE CLIENT'S OWN PHOTO beside the client text: text left, photo right; stacked on phones ── */
.v3.sol .cl-feat{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(32px,5vw,80px); align-items:center;}
.v3.sol .cl-feat .sto-col{max-width:none;}
.v3.sol .cl-ph{margin:0;}
.v3.sol .cl-ph img{display:block; width:100%; height:auto; aspect-ratio:3 / 2; object-fit:cover; border-radius:24px;}
.v3.sol .cl-ph figcaption{margin-top:10px; font-size:14px; line-height:1.5; color:var(--faint);}
@media (max-width:900px){
  .v3.sol .cl-feat{grid-template-columns:minmax(0,1fr);}
}
