.sheet { width: min(100% - 96px, 1392px); margin-inline: auto; }
.masthead {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.button {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #faf9f5;
  font-size: 0.85rem;
  font-weight: 600;
}
.button:hover { border-color: #a19b8d; }
.share { display: inline-flex; align-items: center; gap: 9px; }
.link-icon {
  position: relative;
  width: 16px;
  height: 14px;
  transform: rotate(-38deg);
}
.link-icon::before, .link-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 10px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
}
.link-icon::before { left: 0; }
.link-icon::after { right: 0; }
.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding-block: 44px 52px;
}
.property { padding-block: 12px; }
.overline {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.overline span { margin-inline: 4px; color: var(--clay); }
h1 {
  font-family: var(--serif);
  font-size: clamp(4.85rem, 7.45vw, 7.8rem);
  line-height: 0.83;
  letter-spacing: -0.046em;
  margin-block: 27px 34px;
}
h1 em { display: block; font-weight: 400; color: var(--clay); }
.terms {
  max-width: 330px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.terms > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 12px 13px;
  border-bottom: 1px solid var(--line);
}
.terms dt { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.terms dd {
  flex: 0 0 auto;
  font-size: 1.95rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.055em;
}
.terms dd span { font-size: 1.1rem; letter-spacing: -0.025em; }
.terms dd .currency {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 0.25em;
}
.map-top, .map-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 12px;
}
.map-top { justify-content: flex-end; }
.map-top:has([hidden]) { display: none; }
.map-modes {
  display: inline-flex;
  gap: 2px;
  background: #eeece5;
  border: 1px solid #e1ded4;
  border-radius: 4px;
  padding: 3px;
}
.map-modes button {
  padding: 5px 10px;
  min-height: 32px;
  border: 1px solid transparent;
  background: transparent;
  color: #5d5a51;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.map-modes button:hover { color: var(--ink); }
.map-modes button[aria-pressed="true"] {
  background: #fffefa;
  border-color: #ded9cd;
  color: var(--ink);
  box-shadow: 0 1px 2px #5b4c2617;
}
.map-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(410px, 40vw, 565px);
}
#parcel-map, .map-traffic {
  width: 100%;
  height: 100%;
  display: block;
  mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 11%, #000 87%, transparent);
  mask-composite: intersect;
}
.map-traffic { position: absolute; inset: 0; pointer-events: none; }
.road-width { position: absolute; inset: 0; pointer-events: none; color: #575449; }
.road-width-line, .road-width-label { position: absolute; top: 0; left: 0; }
.road-width-line {
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}
.road-width-line::before, .road-width-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: currentColor;
}
.road-width-line::before { left: 0; }
.road-width-line::after { right: 0; }
.road-width-label {
  padding: 2px 4px;
  border-radius: 2px;
  background: #f8f6ed;
  color: #444238;
  font: 700 0.72rem/1.1 var(--sans);
  white-space: nowrap;
}
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; }
#parcel-map { touch-action: pan-y; }
.map-stage.is-zoomed #parcel-map { cursor: grab; touch-action: none; }
.map-stage.is-dragging #parcel-map { cursor: grabbing; }
.map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-label {
  position: absolute;
  background: #faf8f0;
  border: 1px solid #cac4b7;
  box-shadow: 0 3px 10px #37291823;
  border-radius: 3px;
}
.parcel-label {
  padding: 5px 10px 6px;
  background: #fffbf2;
  color: #843a28;
  border-color: #a44f3a;
  font: 600 0.73rem var(--sans);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.parcel-label b { font-size: 1.15rem; font-weight: 700; }
.landmark-label {
  padding: 5px 7px;
  font: 600 0.72rem/1.15 var(--sans);
  white-space: nowrap;
}
.zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 1px;
  border: 1px solid #c4bfb1;
  border-radius: 4px;
  overflow: hidden;
  background: #d0cbbb;
  box-shadow: 0 2px 7px #37291820;
}
.zoom button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 39px;
  background: #fcfbf5;
  padding: 0;
  border: 0;
  font-size: 1.3rem;
  line-height: 1;
}
.zoom button:focus-visible { outline-offset: -3px; }
.zoom button:hover:not(:disabled) { background: #f0ece0; }
.zoom button:disabled { color: #857f72; }
.map-bottom {
  min-height: 44px;
  font-size: 0.75rem;
  color: var(--muted);
}
.legend { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 700; }
.legend i { width: 10px; height: 10px; border: 1px solid #aa5138; background: #d2876d; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .sheet { width: min(100% - 56px, 1392px); }
  .hero { grid-template-columns: minmax(278px, 0.9fr) minmax(0, 2fr); }
}
@media (max-width: 760px) {
  .sheet { width: calc(100% - 36px); }
  .masthead { min-height: 62px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-block: 25px 32px; }
  .property { padding: 0; }
  h1 { font-size: clamp(3.5rem, 11vw, 5.5rem); margin-block: 17px 17px; }
  .terms { max-width: none; }
  .terms > div { padding-block: 8px 9px; }
  .terms dd { font-size: 1.65rem; }
  .terms dd span { font-size: 1rem; }
  .map-stage { height: clamp(320px, 82vw, 490px); }
  .map-top, .map-bottom { padding-inline: 3px; }
  .map-bottom { min-height: 34px; }
}
@media (max-width: 390px) {
  .sheet { width: calc(100% - 28px); }
  .map-bottom { gap: 8px; font-size: 0.68rem; }
  .landmark-label { font-size: 0.65rem; padding-inline: 5px; }
}
