/* Approved homepage process: step-linked motif and responsive card stack. */
body.homepage.shared-type #how-we-work>.section-intro{margin-bottom:84px}
.process-study-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7%;align-items:start}
.process-study-image{position:sticky;top:110px;align-self:start;max-width:420px;margin:0}
.process-study-image img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 55%}
#how-we-work .process-study-layout .process-steps{min-width:0}
body.homepage.shared-type #how-we-work .process-card-heading{grid-template-columns:54px minmax(0,1fr);column-gap:14px;align-items:baseline}
body.homepage.shared-type #how-we-work .process-card-heading .step-number{display:block;font-family:var(--sans);font-size:11px;line-height:1.5;font-weight:400;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;color:#6c665d}
body.homepage.shared-type #how-we-work .process-card-body{padding-left:68px}
#how-we-work[data-process-layout="original"] .process-study-layout{display:block}
#how-we-work[data-process-layout="original"] .process-study-image{display:none}
.process-study-controls{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:100;width:410px;max-width:calc(100% - 24px);padding:12px 16px;background:#f5f4f2;color:#252524;box-shadow:0 4px 24px #0003}
.process-study-controls>span{font:10px/1.3 Arial,sans-serif;letter-spacing:.14em}
.process-study-controls>div{display:flex;gap:6px;margin-top:9px}
.process-study-controls button{flex:1;min-height:36px;padding:8px;font:12px/1.3 Arial,sans-serif;border:1px solid #c9c5bd;cursor:pointer}
.process-study-controls button[aria-pressed="true"]{background:#252524;color:#f5f4f2;border-color:#252524}
@media(max-width:1050px) and (min-width:721px){.process-study-layout{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:5%}body.homepage.shared-type #how-we-work .process-card-body{padding-left:0}body.homepage.shared-type #how-we-work .process-card-heading h3{font-size:25px!important}}
@media(max-width:720px){body.homepage.shared-type #how-we-work>.section-intro{margin-bottom:50px}.process-study-layout{display:block}.process-study-image{position:relative;top:auto;width:100%;max-width:360px;margin:0 auto 36px}.process-study-image img{aspect-ratio:4/3;object-position:50% 45%}body.homepage.shared-type #how-we-work .process-card-heading{grid-template-columns:1fr;gap:7px;align-items:start}body.homepage.shared-type #how-we-work .process-card-body{padding-left:0}.process-study-controls{bottom:8px}}
@media(prefers-reduced-motion:reduce){.process-study-image{position:relative;top:auto}}
.process-study-motif{display:flex;align-items:center;justify-content:center;min-height:360px;width:100%}
.process-study-motif svg{display:block;width:100%;max-width:380px;height:auto;overflow:visible}
.process-study-motif .grid-arc{fill:none;stroke:#73716b;stroke-width:1.2;vector-effect:non-scaling-stroke}
.process-study-motif .center-arc{fill:#252524;stroke:#252524}
#how-we-work .share-details-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;list-style:none;padding:0;margin:0;font-size:16px;line-height:1.5}
#how-we-work .share-details-list li{display:grid;grid-template-columns:14px minmax(0,1fr);gap:8px;align-items:baseline}
#how-we-work .share-details-list li:before{content:'⟶';color:#6c665d;font-size:16px}
@media(max-width:720px){.process-study-motif{min-height:0;padding:20px 0;max-width:280px}#how-we-work .share-details-list{gap:10px 14px;font-size:15px}}

/* Two readable columns; compact phones use a single list. */
#how-we-work .share-details-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:10px 22px}
@media(max-width:400px){#how-we-work .share-details-list{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row;gap:8px}}
/* A quieter vertical motif, three columns by nine rows. */
.process-study-motif{min-height:0;padding:22px 0;max-width:420px}
.process-study-motif svg.process-column-motif{width:380px;max-width:100%;max-height:calc(100svh - 160px);height:auto;transform:translateY(var(--motif-drift,0px));will-change:transform}
.motif-scroll-row{fill:url(#column-scroll-gradient);stroke:none;opacity:1}
@media(max-width:1050px) and (min-width:721px){.process-study-motif svg.process-column-motif{width:320px;max-width:100%}}
@media(max-width:720px){.process-study-motif{max-width:280px;padding:0}.process-study-motif svg.process-column-motif{width:200px;max-width:100%;transform:none;will-change:auto}}
@media(prefers-reduced-motion:reduce){.process-study-motif svg.process-column-motif{transform:none;will-change:auto}}
.process-study-motif .process-column-motif path{transition:opacity .35s ease}
.process-study-controls{width:520px}
@media(prefers-reduced-motion:reduce){.process-study-motif .process-column-motif path{transition:none}}

/* Step labels stay secondary but readable, always on one line. */
body.homepage.shared-type #how-we-work .process-card-heading .step-number{font-size:13px;letter-spacing:.1em;white-space:nowrap}
.process-study-motif svg.process-mobile-motif{display:none}
@media(max-width:720px){
 #how-we-work[data-process-layout="steps"] .process-study-motif{position:sticky;top:70px;z-index:10;width:100%;max-width:none;min-height:50px;margin:0 0 22px;padding:8px 0;background:#e6e2da}
 #how-we-work[data-process-layout="steps"] .process-column-motif{display:none}
 #how-we-work[data-process-layout="steps"] .process-mobile-motif{display:block;width:260px;max-width:100%;height:auto}
 .process-mobile-motif path{fill:#252524;opacity:.09}
 body.homepage.shared-type #how-we-work[data-process-layout="steps"] .process-stack-card{top:calc(var(--stack-top,82px) + 58px)}
 body.homepage.shared-type #how-we-work[data-process-layout="steps"] .process-steps:has(details[open]) .process-stack-card{top:auto}
}
