/* How We Work. Page composition only. Roles, colours, buttons: base.css (locked tokens). Final implementation pass. */
:root{--dark-sec:#141210;--pad:clamp(3.5rem,8vw,8rem);--hw-gap:clamp(2rem,7vw,7rem)}
html{scroll-behavior:smooth}

body{overflow-x:hidden}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.sec{padding-block:var(--pad)}
.tlink{min-height:44px}



/* 03 delivery model (dark): the approved homepage How We Work composition, ported here with page-scoped rules.
   Three tiers on one axis: business understanding, a full-bleed engineering band where Build is the anchor, operational results. */
/* the engineering tier: the photograph rises out of the dark and recedes again */

/* 05 closing call to action (warm off-white) */

/* ===================== VERSION 3 (preview only): reference-led architecture ===================== */
:root{--red-light:#FF7376}
html{scroll-padding-top:calc(var(--hdr) + 1.5rem)}
figure{margin:0}
.hw3e{margin:0 0 1.4rem;font-size:.875rem;line-height:1.4;color:var(--ink-3)}
.hw3e b{font-weight:600;color:var(--ink)}
.hw3e--l{color:rgba(255,255,255,.62)}
.hw3link{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;color:var(--ink);font-size:.9375rem;font-weight:600;text-decoration:none;border-bottom:1px solid transparent}
.hw3link:hover{color:var(--red)}

/* fold 1: hero, type-led, with a compact stage index */
.hw3h{background:var(--stone);padding:calc(var(--hdr) + clamp(2.5rem,5vw,4.5rem)) 0 clamp(3.5rem,6vw,5.5rem)}
.hw3h__g{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(2.5rem,7vw,7rem);align-items:start}
.hw3h__crumb{margin:0 0 clamp(2rem,4vw,3.25rem);color:var(--ink-3);font-size:.75rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.hw3h__crumb a{color:inherit;text-decoration:none}.hw3h__crumb a:hover{color:var(--red)}
.hw3h h1{margin:0;max-width:10em;font-size:clamp(2.5rem,1.5rem + 3.4vw,4rem);font-weight:var(--ty-h1-w);line-height:1.05;letter-spacing:var(--ty-h1-ls);text-wrap:balance}
.hw3h__p{margin:1.75rem 0 0;max-width:34rem;color:var(--ink-2);font-size:var(--ty-lede);line-height:var(--ty-lede-lh)}
.hw3h__cta{margin-top:2rem;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.75rem}
.hw3s{margin-top:clamp(0rem,6.5vw,5.75rem);background:#fff;border:1px solid var(--line-2);border-radius:12px;padding:clamp(1.25rem,2.2vw,1.75rem)}
.hw3s__t{margin:0 0 1rem;font-size:.9375rem;font-weight:600;color:var(--ink);line-height:1.4}
.hw3s__l{list-style:none;margin:0;padding:0}
.hw3s__l li{display:flex;align-items:center;gap:.85rem;border-top:1px solid var(--line)}
.hw3s__l span{flex:none;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--stone);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;color:var(--ink-2)}
.hw3s__l a{flex:1;display:block;padding:.8rem 0;color:var(--ink);font-size:1.0625rem;text-decoration:none}
.hw3s__l a:hover{color:var(--red)}
.hw3s__e{margin:1rem 0 0;padding-top:1rem;border-top:1px solid var(--line-2);font-size:.9375rem;line-height:1.5;color:var(--ink-2)}
.hw3s__e span{display:block;margin-bottom:.15rem;font-size:.8125rem;color:var(--ink-3)}

/* folds 2 to 5: the stage folds. Label, large headline, one narrow paragraph, what the client gains, one structured visual */
.hw3f{background:#fff;padding-block:clamp(3rem,5.5vw,5rem)}
.hw3f:first-of-type{padding-top:clamp(4rem,7vw,6.5rem)}
.hw3f__head{max-width:46rem}
.hw3f h2,.hw3m h2,.hw3t h2,.hw3q h2,.hw3x h2{margin:0;font-size:var(--ty-h1-home);font-weight:var(--ty-h1-w);line-height:1.05;letter-spacing:var(--ty-h1-ls);text-wrap:balance}
.hw3f h2,.hw3m h2{max-width:12em}
.hw3f__p{margin:1.5rem 0 0;max-width:34rem;color:var(--ink-2);font-size:var(--ty-sup);line-height:var(--ty-sup-lh)}
.hw3f__end{margin:1.1rem 0 0;max-width:34rem;font-size:.875rem;line-height:1.5;color:var(--ink-3)}
.hw3f__end b{font-weight:600;color:var(--ink-2)}
.hw3p{margin:clamp(2rem,4vw,3rem) 0 0}
.hw3p__in{background:var(--stone);border-radius:16px;padding:clamp(1rem,3.5vw,3rem)}
.hw3p figcaption{margin-top:.9rem;font-size:.8125rem;color:var(--ink-3)}
.hw3c{background:#fff;border:1px solid var(--line-2);border-radius:10px;max-width:58rem;margin-inline:auto;padding:clamp(1.1rem,2.4vw,1.75rem)}
.hw3c__hd{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--line-2);font-size:.8125rem;color:var(--ink-3)}
.hw3c__hd b{font-size:.9375rem;font-weight:600;color:var(--ink)}
.hw3c h3{margin:0;font-size:1.0625rem;font-weight:600;line-height:1.35;color:var(--ink)}
.hw3c p{margin:.2rem 0 0;font-size:.9375rem;line-height:1.5;color:var(--ink-3)}
/* 2: operation review */
.hw3rv{list-style:none;margin:0;padding:0}
.hw3rv li{display:grid;grid-template-columns:2.25rem minmax(0,1fr) auto;gap:.5rem 1rem;align-items:center;padding:1.15rem 0;border-bottom:1px solid var(--line)}
.hw3rv li:last-child{border-bottom:0;padding-bottom:.25rem}
.hw3rv__n{font-size:.8125rem;font-weight:600;color:var(--red)}
.hw3tg{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}
.hw3tg i{font-style:normal;border:1px solid var(--line-2);border-radius:999px;padding:.2rem .7rem;font-size:.8125rem;color:var(--ink-2);white-space:nowrap}
/* 3: working session */
.hw3pv{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.25rem,3vw,2.5rem);padding-top:1.25rem}
.hw3pv__k{margin:0 0 .8rem!important;font-size:.8125rem!important;color:var(--ink-3)!important}
.hw3pv__l ul{list-style:none;margin:0;padding:0}
.hw3pv__l li{display:flex;gap:.9rem;align-items:center;padding:.8rem 0;border-top:1px solid var(--line)}
.hw3pv__l i{flex:none;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--stone-2);display:flex;align-items:center;justify-content:center;font-style:normal;font-size:.8125rem;font-weight:600;color:var(--ink)}
.hw3pv__r{background:var(--stone);border-radius:8px;padding:clamp(1.1rem,2vw,1.5rem)}
.hw3pv__r h3{font-size:1.25rem;line-height:1.3;margin-bottom:.9rem}
.hw3ck{list-style:none;margin:0;padding:0}
.hw3ck li{position:relative;padding:.7rem 0 .7rem 1.9rem;border-top:1px solid var(--line-2);font-size:1rem;color:var(--ink)}
.hw3ck li::before{content:"";position:absolute;left:.15rem;top:50%;width:.55rem;height:.9rem;margin-top:-.7rem;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(40deg) scale(.8)}
/* 4: engineering approach beside an enterprise platform ONE BCG built */
.hw3ev{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(1.5rem,3vw,3rem);align-items:center}
.hw3ev .hw3c{max-width:none;margin:0}
.hw3rv--s li{grid-template-columns:minmax(0,1fr);padding:1rem 0}
.hw3ev__m{display:flex;justify-content:center}
.hw3ev__m img{display:block;width:auto;max-width:100%;height:auto;max-height:clamp(280px,32vw,440px)}
/* 5: introducing the solution */
.hw3st{list-style:none;margin:0;padding:1.25rem 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1rem,2vw,1.75rem)}
.hw3st li{padding-top:.9rem;border-top:2px solid var(--ink)}
.hw3st h3{font-size:1.25rem}
.hw3st p{font-size:1rem}

/* fold 7: measure, text-led */
.hw3m{background:var(--stone);padding-block:clamp(4rem,7vw,6.5rem)}
.hw3m__l{list-style:none;margin:clamp(2.5rem,5vw,4rem) 0 0;padding:1.75rem 0 0;border-top:1px solid var(--ink);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1.5rem,3vw,3rem)}
.hw3m__l h3{margin:0;font-size:var(--ty-st);font-weight:var(--ty-st-w);line-height:var(--ty-st-lh);letter-spacing:var(--ty-st-ls)}
.hw3m__l p{margin:.6rem 0 0;color:var(--ink-2);font-size:var(--ty-body);line-height:1.55}

/* fold 8: shared accountability */
.hw3t{padding-block:clamp(4rem,7vw,6.5rem)}
.hw3t__g{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(2.5rem,7vw,7rem);align-items:center}
.hw3t h2{max-width:11em}
.hw3t__l{margin:clamp(1.75rem,3vw,2.5rem) 0 0}
.hw3t__l>div{padding:1rem 0;border-top:1px solid var(--line-2)}
.hw3t__l dt{margin:0;font-size:.875rem;color:var(--ink-3)}
.hw3t__l dd{margin:.25rem 0 0;max-width:30rem;color:var(--ink);font-size:var(--ty-lede);line-height:1.4}
.hw3t__ph{position:relative;overflow:hidden;border-radius:16px;aspect-ratio:4/5;background:var(--stone-2)}
.hw3t__ph img{position:absolute;right:0;top:0;height:100%;width:auto;max-width:none}

/* fold 9: FAQ */
.hw3q{background:var(--stone);padding-block:clamp(4rem,7vw,6.5rem)}
.hw3q__g{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2.5rem,7vw,7rem);align-items:start}
.hw3q h2{max-width:8em}
.hw3q__l{border-top:1px solid var(--ink)}
.hw3q__i{border-bottom:1px solid var(--line-2)}
.hw3q__i summary{position:relative;list-style:none;cursor:pointer;padding:1.3rem 2.5rem 1.3rem 0;color:var(--ink);font-size:1.125rem;font-weight:600;line-height:1.4}
.hw3q__i summary::-webkit-details-marker{display:none}
.hw3q__i summary::after{content:"+";position:absolute;right:.25rem;top:1.15rem;font-size:1.5rem;font-weight:400;line-height:1;color:var(--ink-3)}
.hw3q__i[open] summary::after{content:"\2212"}
.hw3q__i summary:hover{color:var(--red)}
.hw3q__i p{margin:0;padding:0 2.5rem 1.5rem 0;max-width:38rem;color:var(--ink-2);font-size:var(--ty-body);line-height:1.6}

/* fold 10: closing band */
.hw3x{background:#221f1c;color:#fff;padding-block:clamp(4rem,8vw,7rem)}
.hw3x__g{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(2.5rem,7vw,7rem);align-items:center}
.hw3x h2{max-width:11em;color:#fff}
.hw3x__p{margin:1.5rem 0 0;max-width:30rem;color:rgba(255,255,255,.78);font-size:var(--ty-lede);line-height:var(--ty-lede-lh)}
.hw3x__cta{margin-top:2rem}
.hw3x__l{list-style:none;margin:0;padding:0;counter-reset:none}
.hw3x__l li{display:flex;gap:1rem;align-items:flex-start;padding:1.3rem 0;border-top:1px solid rgba(255,255,255,.22);color:#fff;font-size:1.0625rem;line-height:1.5}
.hw3x__l li:last-child{border-bottom:1px solid rgba(255,255,255,.22)}
.hw3x__l span{flex:none;width:1.75rem;height:1.75rem;border-radius:50%;border:1px solid rgba(255,255,255,.5);display:flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:600}

/* ===================== responsive ===================== */
@media(max-width:1100px){
 .hw3m__l{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:2rem}
 .hw3st{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.5rem}
}
@media(max-width:900px){
 .hw3h__g,.hw3t__g,.hw3q__g,.hw3x__g{grid-template-columns:minmax(0,1fr);gap:2rem}
 .hw3s{margin-top:0}
 .hw3h h1,.hw3f h2,.hw3m h2,.hw3t h2,.hw3q h2,.hw3x h2{max-width:none}
 .hw3ev{grid-template-columns:minmax(0,1fr)}
 .hw3ev__m{order:-1}
 .hw3t__ph{aspect-ratio:1/1}
}
@media(max-width:700px){
 .hw3rv:not(.hw3rv--s) li{grid-template-columns:2rem minmax(0,1fr)}
 .hw3rv:not(.hw3rv--s) li .hw3tg{grid-column:2;justify-content:flex-start}
 .hw3pv{grid-template-columns:minmax(0,1fr)}
 .hw3c__hd{flex-direction:column;gap:.15rem}
}
@media(max-width:640px){
 .hw3m__l,.hw3st{grid-template-columns:minmax(0,1fr)}
 .hw3p__in{border-radius:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* 5C: theme surfaces breaking the run of white folds (placed last so they win the cascade) */
.hw3f--stone{background:var(--stone)}
.hw3f--stone .hw3p__in{background:#fff;border:1px solid var(--line-2)}
.hw3t{background:var(--dark-sec);color:#fff}
.hw3t h2{color:#fff}
.hw3t .hw3f__p{color:rgba(255,255,255,.78)}
.hw3t__l>div{border-top:1px solid rgba(255,255,255,.22)}
.hw3t__l>div:last-child{border-bottom:1px solid rgba(255,255,255,.22)}
.hw3t__l dt{color:rgba(255,255,255,.62)}
.hw3t__l dd{color:#fff}
.hw3t__ph{background:rgba(255,255,255,.08)}
.hw3t__ph--grow img{position:static;height:auto;width:72%;max-width:420px;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(0,0,0,.35))}
.hw3t__ph--grow{display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.05)}
