/* BHJ — Regional Presence globe.
   Loaded after about.css, so the block below deliberately overrides the
   two-column grid there: the wireframe centres the heading and lets the
   sphere rise out of the foot of the section. */

.page-about #regional > .wrap{display:block;text-align:center}
.page-about #regional .center{text-align:center}
.page-about #regional .eyebrow{justify-content:center}
.page-about #regional h2,
.page-about #regional h2.center{text-align:center;align-self:auto;margin-top:0}
.page-about #regional .shot{grid-column:auto;grid-row:auto;justify-self:auto;align-self:auto;
  margin:clamp(2.5rem,5vw,4.5rem) auto 0;width:100%;max-width:none;aspect-ratio:auto;
  background:transparent;box-shadow:none;border-radius:0;overflow:hidden}
/* the globe is cropped by the section edge, so no gap underneath it */
.page-about #regional{padding-bottom:0}

.globe{position:relative;width:100%;aspect-ratio:16/7}
.globe canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .8s ease}
.globe.is-ready canvas{opacity:1}

/* The office list is the accessible text behind the canvas, and the visible
   fallback when canvas or JS is missing. globe.js turns it into pins. */
.globe__pins{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;list-style:none}
.globe:not(.is-ready) .globe__pins{position:static;width:auto;height:auto;margin:0;overflow:visible;
  clip:auto;clip-path:none;white-space:normal;
  display:flex;flex-wrap:wrap;gap:.5rem .75rem;align-content:center;justify-content:center;
  height:100%;padding:2rem}
.globe:not(.is-ready) .globe__pins li{font-size:.8125rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:#0F3193;border:1px solid #dce7ef;border-radius:2rem;padding:.4rem .9rem}

/* ---- office pins ---- */
.globe__layer{position:absolute;inset:0;opacity:0;transition:opacity .8s ease .2s;text-align:left}
.globe.is-ready .globe__layer{opacity:1}

.globe__pin{position:absolute;left:0;top:0;width:0;height:0;padding:0;margin:0;border:0;
  background:none;font:inherit;color:inherit;cursor:pointer;will-change:transform}
.globe__pin.is-off{visibility:hidden}
.globe__pin:focus{outline:none}

.globe__dot{position:absolute;left:-5px;top:-5px;width:10px;height:10px;border-radius:50%;
  background:#0F3193;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(15,49,147,.35);transition:background .3s,transform .3s}
/* generous touch target */
.globe__dot::before{content:"";position:absolute;inset:-12px;border-radius:50%}
.globe__dot::after{content:"";position:absolute;inset:-7px;border-radius:50%;
  background:rgba(53,178,210,.35);animation:globe-pulse 2.8s ease-out infinite}
.globe__pin:nth-child(3n+2) .globe__dot::after{animation-delay:.9s}
.globe__pin:nth-child(3n) .globe__dot::after{animation-delay:1.8s}
@keyframes globe-pulse{
  0%{transform:scale(.45);opacity:.9}
  70%,100%{transform:scale(1.6);opacity:0}
}

.globe__label{position:absolute;left:0;top:0;white-space:nowrap;
  font-size:.8125rem;line-height:1.2;font-weight:600;letter-spacing:.01em;color:#153f62;
  text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 6px #fff;transition:color .3s}

.globe__pin:hover .globe__dot,.globe__pin:focus-visible .globe__dot,.globe__pin.is-active .globe__dot{
  background:#35b2d2;transform:scale(1.25)}
.globe__pin:hover .globe__label,.globe__pin.is-active .globe__label{color:#0F3193}
.globe__pin:focus-visible .globe__label{outline:2px solid #35b2d2;outline-offset:3px;border-radius:2px}

/* address card */
.globe__card{position:absolute;left:0;top:0;z-index:2;width:max-content;max-width:min(20rem,calc(100% - 1.5rem));
  padding:.875rem 1rem;border-radius:.5rem;background:#fff;border-top:3px solid #35b2d2;
  box-shadow:0 12px 32px rgba(11,38,63,.16);pointer-events:none;
  opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s linear .25s}
.globe__card.is-open{opacity:1;visibility:visible;transition:opacity .25s}
.globe__card strong{display:block;font-size:.9375rem;line-height:1.4;color:#0F3193}
.globe__card span{display:block;margin-top:.375rem;font-size:.8125rem;line-height:1.6;color:#385a73}

@media (max-width:60rem){
  /* about.css switches this section to a flex column on tablet — keep the
     globe full width and still cropped at the bottom. */
  .page-about #regional > .wrap{display:block}
  .page-about #regional .shot{width:100%;max-width:none;align-self:auto}
  .globe{aspect-ratio:2/1}
}
@media (max-width:40rem){
  .globe{aspect-ratio:1/1}
  .globe__label{font-size:.6875rem}
  .globe__dot{left:-4px;top:-4px;width:8px;height:8px}
  /* touch targets must not swallow a neighbour (Singapore / Kuala Lumpur) */
  .globe__dot::before{inset:-5px}
}
@media (prefers-reduced-motion:reduce){
  .globe__dot::after{animation:none;opacity:0}
}
