/* Shared service-area map: homepage "Where We Work" and the area section on every service page. */
:root{
  --dur-fast:160ms; --dur-base:280ms;
  --ease-out:cubic-bezier(.22,1,.36,1);
  --depth-2:0 2px 4px rgba(38,28,16,.06),0 10px 28px rgba(38,28,16,.12);
  --depth-4:0 8px 16px rgba(17,12,6,.12),0 36px 80px rgba(17,12,6,.32);
}

.where .split{align-items:center}
.where .chip{display:inline-flex;align-items:center;gap:.55rem;background:#fff;border-color:rgba(17,17,17,.18);box-shadow:var(--depth-2);
  transition:background-color var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out),border-color var(--dur-fast) var(--ease-out)}
.where .chip::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange);flex:none}
.where .chip:hover,.where .chip:focus-visible{background:var(--ink);border-color:var(--ink);color:#fff}
.where-map{position:relative;aspect-ratio:600/680;border-radius:10px;overflow:hidden;isolation:isolate;
  background:radial-gradient(110% 80% at 50% 64%,#26211b 0%,var(--ink) 68%);box-shadow:var(--depth-4)}
.where-map::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);pointer-events:none}
/* service pages draw a wider map (640x540) than the homepage (600x680), so the card needs the matching shape or the edges crop */
.where-map.where-map-wide{aspect-ratio:640/540}
.where-topo{position:absolute;top:-6%;left:-30%;width:160%;height:auto;opacity:.13}
.wm{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.wm-rings circle{fill:none;stroke:rgba(255,255,255,.16);stroke-width:1;stroke-dasharray:2 7}
.wm-routes path{fill:none;stroke:rgba(233,153,59,.6);stroke-width:1.6;stroke-linecap:round;
  transition:stroke var(--dur-base) var(--ease-out),stroke-width var(--dur-base) var(--ease-out)}
.wm-routes path.is-on{stroke:var(--orange);stroke-width:3}
.wm-dot{fill:var(--orange-l)}
.wm-halo{fill:var(--orange);opacity:.2;transform-box:fill-box;transform-origin:center;
  transition:transform var(--dur-base) var(--ease-out),opacity var(--dur-base) var(--ease-out)}
.wm-dots .is-on .wm-halo{opacity:.5;transform:scale(1.7)}
.wm-disc{fill:var(--ink);stroke:var(--orange);stroke-width:2}
.wm-labels text{font:700 15px/1 var(--cond);letter-spacing:.1em;text-transform:uppercase;fill:rgba(255,255,255,.8);
  paint-order:stroke;stroke:var(--ink);stroke-width:5px;stroke-linejoin:round;transition:fill var(--dur-base) var(--ease-out)}
.wm-labels text.is-on{fill:var(--orange-l)}
.wm-labels .wm-hub-label{font-size:13px;letter-spacing:.18em;fill:var(--orange)}
.wm-pulse{fill:none;stroke:var(--orange);stroke-width:1.5;opacity:0;transform-box:fill-box;transform-origin:center}
/* routes draw out from Dandridge when the map scrolls in; the hub pulses three times, then rests */
.js .where-map.reveal .wm-routes path{stroke-dasharray:1;stroke-dashoffset:1}
.js .where-map.in .wm-routes path{stroke-dashoffset:0;transition:stroke-dashoffset 1.3s var(--ease-out),stroke var(--dur-base) var(--ease-out),stroke-width var(--dur-base) var(--ease-out)}
.js .where-map.in .wm-routes path:nth-child(2){transition-delay:80ms,0s,0s}
.js .where-map.in .wm-routes path:nth-child(3){transition-delay:160ms,0s,0s}
.js .where-map.in .wm-routes path:nth-child(4){transition-delay:240ms,0s,0s}
.js .where-map.in .wm-routes path:nth-child(5){transition-delay:320ms,0s,0s}
.js .where-map.in .wm-routes path:nth-child(6){transition-delay:400ms,0s,0s}
.js .where-map.in .wm-routes path:nth-child(7){transition-delay:480ms,0s,0s}
.where-map.in .wm-pulse{animation:wm-pulse 2.4s var(--ease-out) 1.2s 3}
@keyframes wm-pulse{from{opacity:.6;transform:scale(1)}to{opacity:0;transform:scale(2.4)}}
.noanim .where-map .wm-routes path{stroke-dashoffset:0}
.js .where-map.in .wm-routes path:nth-child(8){transition-delay:560ms,0s,0s}

/* map pieces are links on the service pages */
.where .chip.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.wm a{cursor:pointer;outline:none}
.wm-hit{fill:transparent}
.wm-hubl:hover .wm-disc{stroke-width:3.5}
.wm-hubl:hover .wm-hub-label{fill:var(--orange-l)}

/* jump target for "contact" links: clear the sticky header */
#contact{scroll-margin-top:84px}

@media (max-width:960px){
  .where-map{max-width:560px;margin-inline:auto;width:100%}
}
@media (max-width:640px){
  .wm-labels text{font-size:21px}
  .wm-labels .wm-hub-label{font-size:18px}
}
@media (prefers-reduced-motion:reduce){
  .where-map .wm-routes path{stroke-dashoffset:0 !important}
  .wm-pulse{animation:none !important}
}
