/* ===== v10: flow heading and steps aligned; financial card photo; client logo strip ===== */
/* "What happens next": heading centred over the centred steps */
.hm .flow-head{text-align:center;display:grid;justify-items:center}
.hm .flow-head h2{text-align:center;margin:16px auto 0;max-width:24ch;text-wrap:balance}
/* steps: titles share one height and top line, so descriptions align across the row */
.hm .flow{align-items:start}
.hm .flow-step{text-align:center;justify-items:center;gap:16px}
.hm .flow-step h3{display:block;min-height:2.6em;margin:0;text-align:center;font-size:clamp(19px,1.6vw,22px);line-height:1.25;display:flex;align-items:flex-start;justify-content:center}
.hm .flow-step p{text-align:center;margin:0 auto;max-width:30ch}
/* financial services card: same photo treatment as the education card */
.hm .sec2-card>img{display:block}
/* client logo strip */
.hm .clients{margin-top:56px;padding:26px 0 0;border-top:1px solid var(--hm-line)}
.hm .clients-label{margin:0 0 18px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--hm-mut);text-align:center}
.hm .clients-mask{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.hm .clients-mask:hover .clients-track{animation-play-state:paused}
.hm .chip-logo{flex:0 0 auto;display:grid;place-items:center;height:64px;min-width:150px;padding:0 22px;border-radius:14px;background:#ffffff;border:1px solid #ffffff14;box-shadow:0 10px 24px -18px #000}
.hm .chip-logo img{height:auto;width:auto;max-height:40px;max-width:132px;object-fit:contain;position:static;filter:grayscale(1) contrast(1.05);opacity:.82;transition:filter .4s ease,opacity .4s ease,transform .4s ease}
.hm .chip-logo:hover img{filter:none;opacity:1;transform:scale(1.06)}
/* the list is duplicated for a seamless loop; the copy is hidden from assistive tech */
@media(max-width:640px){.hm .chip-logo{min-width:128px;height:56px;padding:0 16px}.hm .clients{margin-top:44px}}
@media(prefers-reduced-motion:reduce){
  .hm .clients-track{animation:none;width:auto;flex-wrap:wrap;justify-content:center;row-gap:14px}
  .hm .clients-mask{-webkit-mask-image:none;mask-image:none}
}
/* the rail holds two identical tracks; moving it by one track width loops seamlessly */
.hm .clients-rail{display:flex;width:max-content;animation:hmlogos 46s linear infinite}
.hm .clients-mask:hover .clients-rail{animation-play-state:paused}
.hm .clients-track{display:flex;align-items:center;gap:16px;padding-right:16px}
.hm .clients-track-copy{}
@media(prefers-reduced-motion:reduce){.hm .clients-rail{animation:none;width:100%;flex-wrap:wrap;justify-content:center;row-gap:14px}.hm .clients-track-copy{display:none}.hm .clients-track{flex-wrap:wrap;justify-content:center;padding-right:0}}
.hm .clients-rail{--loop:1600px}
@keyframes hmlogos{from{transform:translateX(0)}to{transform:translateX(calc(var(--loop) * -1))}}

/* logos: every logo sits in a fixed optical box, so square and wide marks look balanced */
.hm .chip-logo{min-width:168px;height:66px}
@media(max-width:640px){.hm .chip-logo{min-width:140px;height:58px}.hm .chip-logo img{max-height:34px;max-width:112px}}
/* financial card: a deeper overlay so the photo never competes with the text */
.hm .sec2-card.fin:after{background:linear-gradient(180deg,#070E1640 0%,#070E16d9 40%,#070E16 78%)}
