.home {
  --map-ink: #1d392d;
  --map-canvas: #f3f4ea;
  --map-rule: #c6cebd;
}
.guide {
  display: grid;
  grid-template-columns: minmax(236px, .75fr) minmax(0, 1.85fr);
  grid-template-rows: auto auto;
  grid-template-areas: "intro map" "controls map";
  align-content: center;
  column-gap: clamp(24px, 3.8vw, 72px);
  max-width: 1800px;
  margin-inline: auto;
  padding: clamp(32px, 4.8vw, 86px) clamp(20px, 4vw, 76px);
  border-bottom: 1px solid var(--map-rule);
  color: var(--map-ink);
  background: var(--map-canvas);
}
.guide-heading { grid-area: intro; align-self: end; }
.guide-locale {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 .81rem/1.35 var(--mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}
.guide-locale span { width: 25px; height: 1px; background: currentColor; }
.guide h1 {
  margin: clamp(12px, 1.6vw, 28px) 0 14px;
  font: 400 clamp(50px, 5.75vw, 106px)/.95 var(--serif);
  letter-spacing: -.066em;
}
.guide h1 em { display: block; color: #4a654c; font-weight: 400; }
.guide-heading > p, .guide-detail p { max-width: 36ch; margin: 0; color: #45554a; }
.guide-controls { grid-area: controls; align-self: start; display: flex; flex-direction: column; align-items: start; }
.zone-list { display: flex; flex-wrap: wrap; gap: 7px; margin: clamp(17px, 1.8vw, 26px) 0 15px; }
.zone-choice {
  min-height: 44px;
  border: 1px solid #aeb9a6;
  border-radius: 30px;
  padding: 7px 15px;
  color: var(--map-ink);
  background: transparent;
  font-size: .94rem;
  font-weight: 550;
}
.zone-choice:hover { background: #e1e9d8; }
.zone-choice[aria-pressed="true"] { border-color: var(--map-ink); color: #fafbf0; background: var(--map-ink); }
.browse-all, .provider-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 650; }
.browse-all { text-decoration: underline; text-underline-offset: .3em; }
.guide-detail { width: 100%; padding: 12px 0 0; border-top: 1px solid var(--map-rule); }
.guide-detail h2 { margin: 0 0 4px; font: 400 clamp(26px, 2.45vw, 42px)/1.07 var(--serif); letter-spacing: -.035em; }
.guide-detail p { font-size: 1rem; line-height: 1.42; }
.provider-link { margin-top: 11px; padding: 8px 17px; color: #f8f6e8; background: var(--map-ink); border-radius: 3px; text-decoration: none; }
.provider-link:hover { background: #355643; }
.map-column { grid-area: map; align-self: center; min-width: 0; }
.property {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #263d2c;
  border-radius: 5px;
  box-shadow: 0 1px 0 #152a1a1f;
}
.property-camera, .parcel-layer, .pin-layer, .zone-photo, .parcel-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.property-camera { overflow: hidden; }
.parcel-layer {
  transform-origin: 0 0;
  transform: translate(var(--pan-x, 0%), var(--pan-y, 0%)) scale(var(--zoom, 1));
  transition: transform 760ms cubic-bezier(.27,.75,.19,1);
}
.parcel-photo, .zone-photo { display: block; object-fit: cover; }
.arrival-mask, .arrival-mask > div, .arriving-van { position: absolute; inset: 0; pointer-events: none; }
.arrival-mask > div, .arriving-van { background: url("media/parcel.webp") center / 100% 100% no-repeat; }
.arrival-mask {
  clip-path: polygon(3.3% 90.3%, 10.9% 90.1%, 15.7% 92.4%, 16.4% 98.6%, 14.4% 99.7%, 3% 99.4%);
  animation: clear-street 1.45s both;
}
.arrival-mask > div { transform: translateX(-36%); }
.arriving-van {
  clip-path: polygon(3.72% 91.8%, 4.25% 90.55%, 10.65% 90.52%, 12.06% 91.05%, 14.65% 92.31%, 15.45% 93.75%, 15.56% 96.85%, 15.11% 98.05%, 14.06% 98.85%, 12.9% 99.05%, 11.9% 98.53%, 6.72% 98.55%, 5.79% 98.70%, 4.59% 98.4%, 3.65% 97.62%);
  animation: van-arrives 1.4s cubic-bezier(.18,.67,.2,1) both;
}
@keyframes van-arrives { from { transform: translateX(-22%); } to { transform: translateX(0); } }
@keyframes clear-street { 0%, 96% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.zone-photo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 270ms ease;
}
.property.is-close .zone-photo { opacity: 1; }
.pin-layer { pointer-events: none; }
.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: white;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.pin-disc {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #f9fae9;
  background: #1c3d2ee8;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f4f4d84b, 0 1px 9px #13291a70;
  font: 400 1.4rem/1 var(--sans);
}
.pin-caption {
  position: absolute;
  left: calc(50% + 17px);
  top: 50%;
  padding: 4px 8px;
  border-radius: 3px;
  transform: translateY(-50%);
  color: #fffef2;
  background: #172e22ea;
  box-shadow: 0 1px 5px #14281c38;
  font-size: .84rem;
  font-weight: 580;
  line-height: 1.2;
  white-space: nowrap;
}
.map-pin-hvac .pin-caption { left: auto; right: calc(50% + 17px); }
.map-pin:hover, .map-pin:focus-visible { z-index: 1; }
.map-pin:hover .pin-disc, .map-pin:focus-visible .pin-disc { background: #e1ebce; color: #163220; }
.map-reset {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  color: #183728;
  background: #fcfcf1;
  border: 1px solid #d5dacd;
  box-shadow: 0 3px 15px #10231b38;
  border-radius: 32px;
  font-size: .93rem;
  font-weight: 600;
}
.map-reset span { font-size: 1.26rem; line-height: 1; }
.map-caption {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--map-rule);
  color: #455746;
  font-size: .86rem;
}
.caption-location { color: #263e30; font-weight: 600; }
.guide[data-selected] .guide-heading > p, .guide[data-selected] .browse-all { display: none; }
.home #directory { padding-top: clamp(46px, 6vw, 98px); }
.noscript-note { grid-column: 1/-1; }
@media (min-width: 1450px) {
  .guide { grid-template-columns: minmax(330px, .72fr) minmax(0, 1.75fr); }
}
@media (max-width: 970px) and (min-width: 701px) {
  .guide { grid-template-columns: minmax(190px, .7fr) minmax(0, 1.65fr); column-gap: 22px; }
  .guide h1 { font-size: clamp(44px, 5.6vw, 56px); }
  .zone-choice { min-height: 42px; padding: 6px 11px; }
  .pin-caption { font-size: .79rem; padding: 3px 5px; }
}
@media (max-width: 700px) {
  .guide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "intro" "map" "controls";
    row-gap: 13px;
    padding: 23px var(--pad) 18px;
  }
  .guide h1 { font-size: clamp(41px, 9.6vw, 60px); margin: 8px 0 7px; }
  .guide h1 em { display: inline; }
  .guide-heading > p { max-width: 47ch; font-size: 1rem; line-height: 1.4; }
  .guide-locale { font-size: .76rem; letter-spacing: .08em; }
  .zone-list { margin: 0; gap: 6px; }
  .zone-choice { padding: 7px 13px; }
  .map-caption { min-height: 30px; gap: 7px; font-size: .8rem; }
  .pin-disc { width: 25px; height: 25px; font-size: 1.1rem; box-shadow: 0 0 0 2px #f4f4d850, 0 1px 7px #13291a88; }
  .pin-caption { display: none; }
  .map-pin:hover .pin-caption, .map-pin:focus-visible .pin-caption { display: block; }
  .map-reset { top: 7px; left: 7px; padding: 6px 11px; }
  .guide-detail { order: -1; margin: 0 0 14px; padding: 0; border: 0; }
  .guide[data-selected] .guide-heading > p { display: none; }
  .provider-link { margin-top: 8px; }
  .browse-all { margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .parcel-layer, .zone-photo { transition: none; }
  .arrival-mask, .arriving-van { display: none; }
}
