/* About page (template-about.php), round E 11.11. Shared .b5 base (.wrap, .sec, .h2, .sh, .tl, .faq) in b5.css;
   .tp-body (post_content typography) in chrome.css. The dot-map markup comes from nd_mapcard() (inc/refs-blog.php);
   its pin styles are repeated here (refs.css is only loaded on reference pages). */

.b5 .ab-head{padding-top:170px}
.b5 .ab-head .crumb{font-size:14px;color:var(--mut)}
.b5 .ab-head h1{font-weight:500;font-size:clamp(40px,5vw,68px);letter-spacing:-.04em;line-height:1;margin-top:20px;max-width:16ch}
.b5 .ab-head .sub{font-size:19px;line-height:1.55;color:#3d4044;margin-top:20px;max-width:60ch}

/* stats strip */
.b5 .ab-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:56px;background:#fff;border:1px solid var(--line);border-radius:30px}
.b5 .ab-stats div{padding:28px 30px 26px;border-left:1px dashed var(--dash)}
.b5 .ab-stats div:first-child{border-left:0}
.b5 .ab-stats dt{font-size:clamp(34px,3.4vw,48px);font-weight:500;letter-spacing:-.035em;line-height:1;white-space:nowrap}
.b5 .ab-stats dd{margin:10px 0 0;font-size:15px;line-height:1.4;color:var(--mut)}

/* body text + map */
.b5 .ab-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:64px;align-items:start;padding-top:88px}
.b5 .ab-body .tp-body{margin-top:0}
.b5 .ab-body .tp-body>h2:first-child{margin-top:0}
.b5 .ab-map{margin:0;position:sticky;top:110px}
.b5 .ab-map .map2{position:relative;background:#fff;border:1px solid var(--line);border-radius:30px;padding:28px 28px 22px}
.b5 .ab-map .mp{position:relative;max-width:420px;margin:0 auto}
.b5 .ab-map .mp img{display:block;width:100%;height:auto}
.b5 .ab-map .mpin{position:absolute;transform:translate(-8px,-50%);display:flex;align-items:center;gap:8px;white-space:nowrap}
.b5 .ab-map .mpin i{width:16px;height:16px;border-radius:50%;background:#22a55a;box-shadow:0 0 0 4px #fff,0 0 0 5px #111;flex:none}
.b5 .ab-map .mpin span{font-size:13px;font-weight:600;background:#111;color:#fff;border-radius:99px;padding:4px 10px}
.b5 .ab-map .mpin.l{flex-direction:row-reverse;transform:translate(calc(-100% + 8px),-50%)}
.b5 .ab-map figcaption{margin-top:16px;font-size:15px;line-height:1.55;color:var(--body)}
.b5 .ab-map figcaption b{color:#111;font-weight:600}
.b5 .ab-map figcaption .tl{display:inline-flex;margin-left:4px}

/* how we work: the five stages, compact */
.b5 .ab-how .sh p{max-width:520px;font-size:17px;line-height:1.55;color:var(--body);margin:0}
.b5 .ab-stages{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;counter-reset:ab;margin-bottom:28px}
.b5 .ab-stages li{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px 20px 24px}
.b5 .ab-stages li:before{counter-increment:ab;content:counter(ab);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #111;font-weight:600;font-size:13px;margin-bottom:16px}
.b5 .ab-stages li:last-child:before{background:#111;color:#fff}
.b5 .ab-stages b{display:block;font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.25}
.b5 .ab-stages span{display:block;margin-top:6px;font-size:14px;line-height:1.45;color:var(--mut)}

/* team (only rendered when the ACF repeater has people) */
.b5 .ab-people{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.b5 .ab-people li{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:4px}
.b5 .ab-people .av{width:96px;height:96px;border-radius:50%;object-fit:cover;margin-bottom:14px}
.b5 .ab-people .av.init{display:grid;place-items:center;background:#111;color:#fff;font-weight:600;font-size:26px}
.b5 .ab-people b{font-size:18px;font-weight:600}
.b5 .ab-people span{font-size:14.5px;color:var(--mut)}
.b5 .ab-people .tl{margin-top:10px;font-size:14px}

/* company details */
.b5 .ab-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px dashed var(--dash)}
.b5 .ab-facts div{padding:22px 24px 22px 0;border-bottom:1px dashed var(--dash)}
.b5 .ab-facts dt{font-size:14px;font-weight:600;color:var(--mut)}
.b5 .ab-facts dd{margin:6px 0 0;font-size:17px;line-height:1.45;color:#111}
.b5 .ab-facts a{border-bottom:1px solid currentColor}

@media (max-width:1060px){
 .b5 .ab-stats{grid-template-columns:1fr 1fr}
 .b5 .ab-stats div:nth-child(3){border-left:0}
 .b5 .ab-stats div:nth-child(n+3){border-top:1px dashed var(--dash)}
 .b5 .ab-body{grid-template-columns:1fr;gap:40px}
 .b5 .ab-map{position:static;max-width:560px}
 .b5 .ab-stages{grid-template-columns:1fr 1fr 1fr}
 .b5 .ab-people{grid-template-columns:1fr 1fr}
 .b5 .ab-facts{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
 .b5 .ab-head{padding-top:110px}
 .b5 .ab-head .sub{font-size:17px}
 .b5 .ab-how .sh{flex-direction:column;align-items:flex-start;gap:16px}
}
@media (max-width:640px){
 .b5 .ab-stats{margin-top:36px;border-radius:20px}
 .b5 .ab-stats div{padding:20px 18px}
 .b5 .ab-stats dt{font-size:32px}
 .b5 .ab-stats dd{font-size:14px}
 .b5 .ab-body{padding-top:56px}
 .b5 .ab-map .map2{border-radius:20px;padding:16px 14px 12px}
 /* labels would collide at phone width: dots only, the caption names the countries */
 .b5 .ab-map .mpin span{display:none}
 .b5 .ab-stages{grid-template-columns:1fr;gap:8px}
 .b5 .ab-stages li{display:grid;grid-template-columns:34px 1fr;column-gap:14px;padding:16px 18px;border-radius:18px}
 .b5 .ab-stages li:before{margin:0;grid-row:1/span 2}
 .b5 .ab-people{grid-template-columns:1fr}
 .b5 .ab-facts{grid-template-columns:1fr}
 .b5 .ab-facts div{padding-right:0}
}
