/* 1.8.90 Where we work: heading + copy, a wide map panel with office cards (no Orbit). */
body.lwm-home .hb-where{position:relative;z-index:0;isolation:isolate;background:var(--lwm-white);color:var(--lwm-ink);padding:clamp(88px,10vw,144px) 48px}
body.lwm-home .hb-where .hb-mark{margin:0 0 var(--space-6);color:var(--lwm-muted);font-size:var(--t-kicker);font-weight:600;letter-spacing:.18em;text-transform:uppercase}
body.lwm-home .hb-where .hb-mark span{color:var(--lwm-red);margin-right:.45em}
body.lwm-home .hb-where__head{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:end;margin-bottom:clamp(40px,5vw,64px)}
body.lwm-home .hb-where h2{max-width:18ch;margin:0;color:var(--lwm-ink);font-size:clamp(40px,5.2vw,68px);font-weight:600;line-height:.95;letter-spacing:-.06em;text-wrap:balance}
body.lwm-home .hb-where h2 .hb-accent{color:var(--lwm-red)}
body.lwm-home .hb-where__intro p{max-width:48ch;margin:0;color:#4b5058;font-size:17px;line-height:1.6}
body.lwm-home .hb-where__process{margin-top:20px !important;padding-top:18px;border-top:1px solid var(--lwm-line);font-size:15px !important}
body.lwm-home .hb-where__process span{color:var(--lwm-ink);font-weight:600}
body.lwm-home .hb-where__process a{color:var(--lwm-ink);font-weight:600;text-decoration:none;border-bottom:1px solid var(--lwm-red);white-space:nowrap}
body.lwm-home .hb-where__process a b{color:var(--lwm-red)}

/* Map panel */
/* isolation keeps Leaflet's internal z-indexes (up to 1000) inside the section so the sticky header stays on top. */
body.lwm-home .hb-where__stage{position:relative;isolation:isolate;z-index:0;clip-path:none !important}
body.lwm-home .hb-where__map{position:relative;height:clamp(360px,32vw,460px);border-radius:var(--radius-media);overflow:hidden;background:var(--lwm-paper)}
body.lwm-home .hb-where__map .leaflet-container,body.lwm-home .hb-where__map.leaflet-container{background:var(--lwm-paper);font-family:inherit}
/* No CSS filter on the tile pane: the Esri tiles are already gray, and a filtered layer under the cards caused them to flicker out on repaint. */
body.lwm-home .hb-where__map .leaflet-control-attribution{background:rgba(245,245,243,.8);color:var(--lwm-muted);font-size:10px}
body.lwm-home .hb-where__map .leaflet-control-attribution a{color:var(--lwm-muted)}

/* Map markers (Leaflet divIcons) */
body.lwm-home .hbw-town{transform:translate(-4px,-50%);display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--lwm-ink);font-size:12px;font-weight:600;letter-spacing:.02em}
body.lwm-home .hbw-town i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--lwm-ink);box-shadow:0 0 0 3px rgba(255,255,255,.9)}
body.lwm-home .hbw-town span{padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.92)}
body.lwm-home .hbw-town--above{flex-direction:column-reverse;gap:4px;transform:translate(-50%,calc(-100% + 4px))}
body.lwm-home .hbw-town--below{flex-direction:column;gap:4px;transform:translate(-50%,-4px)}
body.lwm-home .hbw-town--left{flex-direction:row-reverse;transform:translate(calc(-100% + 4px),-50%)}
body.lwm-home .hbw-office{transform:translate(-8px,-50%);position:relative;display:flex;align-items:center;gap:8px;white-space:nowrap}
body.lwm-home .hbw-office i{position:relative;width:16px;height:16px;flex:0 0 16px;border-radius:50%;background:var(--lwm-red);box-shadow:0 0 0 4px rgba(228,30,38,.25)}
body.lwm-home .hbw-office i::after{content:"";position:absolute;inset:-6px;border-radius:50%;background:rgba(228,30,38,.35);animation:hbw-pulse 2s cubic-bezier(.16,1,.3,1) infinite}
body.lwm-home .hbw-office span{padding:5px 10px;border-radius:999px;background:var(--lwm-red);color:#fff;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
body.lwm-home .hbw-office--below{flex-direction:column;gap:6px;transform:translate(-50%,-8px)}
body.lwm-home .hbw-office--left{flex-direction:row-reverse;transform:translate(calc(-100% + 8px),-50%)}
@keyframes hbw-pulse{0%{transform:scale(.5);opacity:.9}100%{transform:scale(2.2);opacity:0}}

/* Office cards float over the lower left of the map */
/* Office cards sit side by side over the lower left of the map (open ocean in this view). */
body.lwm-home .hb-where__offices{position:absolute;left:24px;bottom:24px;z-index:2;transform:translateZ(0);will-change:transform;display:grid;grid-template-columns:repeat(2,minmax(0,270px));gap:12px}
/* Ink address cards */
body.lwm-home .hb-where__office{display:flex;flex-direction:column;padding:18px 20px;border-radius:22px;background:var(--lwm-ink);color:var(--lwm-paper);box-shadow:0 18px 40px rgba(15,16,18,.22)}
body.lwm-home .hb-where__label{display:block;margin:0 0 12px;color:var(--lwm-paper);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
body.lwm-home .hb-where__label i{display:block;margin:4px 0 0 18px;color:rgba(245,245,243,.6);font-style:normal;letter-spacing:.06em;text-transform:none;font-size:12px}
body.lwm-home .hb-where__pin{display:inline-block;margin-right:8px;vertical-align:0;width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--lwm-red);box-shadow:0 0 0 3px rgba(228,30,38,.3)}
body.lwm-home .hb-where__office address{margin:0 0 14px;color:var(--lwm-paper);font-size:17px;font-style:normal;font-weight:600;line-height:1.35;letter-spacing:-.02em}
body.lwm-home .hb-where__tel{color:rgba(245,245,243,.68);font-weight:500;text-decoration:none}
body.lwm-home .hb-where__call{margin-top:auto;color:var(--lwm-paper);font-size:var(--t-meta);font-weight:600;letter-spacing:.14em;text-decoration:none;text-transform:uppercase}
body.lwm-home .hb-where__call b{display:inline-block;color:var(--lwm-red);transition:transform .4s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-where__call:hover b{transform:translate(4px,-4px)}
body.lwm-home .hb-where__call:focus-visible,body.lwm-home .hb-where__process a:focus-visible,body.lwm-home .hb-where__tel:focus-visible{outline:2px solid var(--lwm-red);outline-offset:4px}

/* The map is its own stacking context and GPU layer, so Leaflet's panes (z-index 200 to 800) always stay below the office cards. */
body.lwm-home .hb-where__mapwrap{position:relative;z-index:0;isolation:isolate;min-width:0;transform:translateZ(0)}

/* Below ~1296px wide the map is too narrow for cards and pins side by side: cards move under the map. */
@media (max-width:1295px){
  body.lwm-home .hb-where__stage{display:grid;gap:12px}
  body.lwm-home .hb-where__offices{position:static;order:3;grid-template-columns:1fr 1fr}
  body.lwm-home .hb-where__office{box-shadow:none}
  }
@media (max-width:900px){
  body.lwm-home .hb-where{padding-left:20px;padding-right:20px}
  body.lwm-home .hb-where__head{grid-template-columns:1fr;align-items:start}
  body.lwm-home .hb-where__stage{display:grid;gap:12px}
  body.lwm-home .hb-where__map{height:380px}
  body.lwm-home .hb-where__offices{position:static;order:3;grid-template-columns:1fr 1fr}
  body.lwm-home .hb-where__office{box-shadow:none}
  body.lwm-home .hb-where__map{height:340px}
  }
@media (max-width:560px){
  body.lwm-home .hb-where__map{height:320px}
  body.lwm-home .hb-where__offices{grid-template-columns:1fr}
  }
@media (prefers-reduced-motion:reduce){
  body.lwm-home .hbw-office i::after{animation:none;opacity:0}
  body.lwm-home .hb-where__call b{transition:none}
}
