/* "How we work": three steps, scroll-scrubbed. Without JS (or with reduced motion) the three steps are an ordinary list. */
#how-we-work{scroll-margin-top:5rem;margin-top:4.5rem}
.how-intro h2{margin:0;font-size:clamp(1.4rem,2.8vw,2.2rem);font-weight:800;max-width:24ch}
.how-intro p{margin:.7rem 0 0;max-width:44rem;color:var(--mute)}
.how-track{--hs:clamp(25rem,64vh,31rem);margin-top:1.8rem}
.how-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:2.4rem;align-items:center}
.how-panel{border-radius:26px;padding:1rem 1.1rem;background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.22));border:1px solid rgba(255,255,255,.85);box-shadow:0 14px 38px rgba(110,134,224,.18),inset 0 1px 0 #fff}
.how-scene{display:block;width:100%;height:auto;aspect-ratio:600/292}
.how-steps{display:grid;gap:.9rem;margin:0;padding:0;list-style:none}
.how-step{position:relative;overflow:hidden;border-radius:20px;padding:1.05rem 1.25rem 1.15rem;background:linear-gradient(145deg,rgba(255,255,255,.66),rgba(255,255,255,.26));border:1px solid rgba(255,255,255,.85);box-shadow:0 10px 30px rgba(110,134,224,.16),inset 0 1px 0 #fff;-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%)}
.how-step header{display:flex;align-items:center;gap:.8rem}
.how-step h3{margin:0;font-size:1.2rem;font-weight:700;line-height:1.2;color:#1F2A5C}
.how-n{display:inline-grid;place-items:center;flex:none;width:2rem;height:2rem;border-radius:50%;font-size:.9rem;font-weight:700;color:#1F2A5C;background:rgba(255,255,255,.9);border:1px solid rgba(110,134,224,.45)}
.how-b p{margin:.7rem 0 0;font-size:.95rem;line-height:1.55;color:var(--mute)}

/* pinned, scroll-driven mode (added by how.js) */
.how-on .how-track{height:calc(var(--hs) + 150vh)}
.how-on .how-stage{position:sticky;top:max(4.5rem,calc(50vh - var(--hs)/2));height:var(--hs);display:flex;flex-direction:column;justify-content:center}
.how-on .how-step{opacity:.5;cursor:pointer;transition:opacity .35s ease,box-shadow .35s ease,border-color .35s ease}
.how-on .how-step.on{opacity:1;border-color:rgba(88,115,208,.7);box-shadow:0 18px 44px rgba(88,115,208,.28),inset 0 1px 0 #fff}
.how-on .how-step.on .how-n{background:#CC3333;border-color:#CC3333;color:#fff}

/* no JS or reduced motion: three plain cards */
.how-static .how-body,.how-nojs .how-body{grid-template-columns:minmax(0,1fr)}
.how-nojs .how-panel{display:none}
.how-static .how-panel{max-width:34rem;margin:0 auto}
.how-static .how-steps,.how-nojs .how-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}

@media (max-width:900px){
  .how-track{--hs:clamp(34rem,78vh,42rem)}
  .how-body{grid-template-columns:minmax(0,1fr);gap:1rem}
  .how-on .how-track{height:calc(var(--hs) + 140vh)}
  .how-panel{width:min(100%,380px);margin:0 auto;padding:.7rem .8rem}
  .how-static .how-steps,.how-nojs .how-steps{grid-template-columns:minmax(0,1fr)}
  .how-step{padding:.8rem 1.05rem .95rem}
  .how-step h3{font-size:1.05rem}
  .how-b p{font-size:.9rem;margin-top:.5rem}
}
@media (prefers-reduced-motion:reduce){.how-step{transition:none!important}}

/* "Ways to work together" cards moved over from the consulting page */
/* the shine sweep meant for the service stack was also moving the corner arrow across these cards in a loop; this card has its own static arrow icon */
.svc-card.cc::after{content:none!important;display:none!important;animation:none!important}
.svc-card.cc{min-height:0;display:flex;flex-direction:column;padding:1.5rem 1.4rem}
.svc-card.cc p{margin:.7rem 0 0;font-size:.95rem;line-height:1.55;color:var(--mute)}
.svc-card.cc h3{margin-top:0;font-size:1.2rem}
.svc-card.cc .meta{margin-top:1rem;font-size:.88rem}
.svc-card.cc .meta b{color:#1F2A5C!important}
