/* ═══════════════════════════════════════════════════════════
   EDITH Property Marketplace — Page-specific styles
   Visual experience layer on the shared EDITH system (same tokens, header, footer and theme as get-a-quote.html)
   ═══════════════════════════════════════════════════════════ */

/* ── HERO: one composition — message on the left, an isometric site on the right ──
   The scene walks the same journey as the bar below: landscape → location → property → context. */
.mkt-hero{position:relative;min-height:100svh;background:var(--void);overflow:hidden;display:flex;align-items:center;padding:clamp(6rem,11vh,7.5rem) 0 clamp(2.5rem,6vh,4rem)}
.mkt-hero::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(52% 58% at 70% 56%,var(--gold-glow,rgba(var(--gold-rgb),.08)),transparent 72%)}
.mkt-hero__in{position:relative;width:100%;max-width:var(--w);margin-inline:auto;padding-inline:var(--gut)}
.mkt-hero__g{display:grid;grid-template-columns:minmax(0,4.7fr) minmax(0,7.3fr);column-gap:clamp(1.5rem,3.2vw,3.5rem);align-items:center}
.mkt-hero__stage{display:contents}
.mkt-hero__copy{grid-column:1;grid-row:1}
.mkt-hero__tag{font-family:var(--f-m);font-size:.74rem;letter-spacing:.04em;color:var(--gold);margin-bottom:1.25rem;display:flex;align-items:center;gap:14px}
.mkt-hero__tag::before{content:'';width:28px;height:1px;background:var(--gold-dim)}
.mkt-hero__headline{font-family:var(--f-d);font-size:clamp(2.4rem,min(3.9vw,8vh),3.75rem);font-weight:600;letter-spacing:-.04em;line-height:1.02;color:var(--ink);margin:0}
.mkt-hero__headline .ln{display:block;overflow:hidden;padding-bottom:.14em;margin-bottom:-.14em}
.mkt-hero__headline .ln>span{display:block;animation:mkLn .9s var(--eout,cubic-bezier(.16,1,.3,1)) both}
.mkt-hero__headline .ln:nth-child(2)>span{animation-delay:.1s}
@keyframes mkLn{from{transform:translateY(105%)}}
@keyframes mkUp{from{opacity:0;transform:translateY(18px)}}
.mkt-hero__sub{font-size:clamp(.95rem,1.25vw,1.0625rem);line-height:1.65;color:var(--ink-70);max-width:38ch;margin:clamp(1rem,2.6vh,1.5rem) 0 clamp(1.25rem,3.4vh,2rem);animation:mkUp .8s var(--eout,ease) .45s both}
.mkt-hero__act{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1.5rem;animation:mkUp .8s var(--eout,ease) .6s both}
.mkt-lnk{display:inline-flex;align-items:center;min-height:48px;padding:0 .15rem;font-family:var(--f-d);font-weight:500;font-size:.95rem;letter-spacing:-.01em;color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold-line);text-decoration-thickness:1px;text-underline-offset:.4em;transition:text-decoration-color .2s}
.mkt-lnk:hover{text-decoration-color:var(--gold)}
.mkt-lnk:focus-visible,.mkt-ch button:focus-visible,.mkt-pz:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* scene */
.mkt-hs{display:block;grid-column:2;grid-row:1;width:100%;height:auto;max-height:max(20rem,calc(100svh - 18rem));overflow:visible}
.mkt-hs .sh{fill:rgba(0,0,0,.5);filter:url(#mkBl)}
.mkt-hs .sl-f{fill:url(#mkSf)}.mkt-hs .sl-e{fill:url(#mkSe)}.mkt-hs .gd{fill:url(#mkGd)}
.mkt-hs .sl-hl{fill:none;stroke:rgba(255,236,190,.38);stroke-width:1;stroke-linejoin:round}
.mkt-hs .sl-r{fill:none;stroke:rgba(var(--gold-rgb),.55);stroke-width:1;stroke-linejoin:round}
.mkt-hs .fld{stroke:rgba(0,0,0,.25);stroke-width:.5}.mkt-hs .fa{fill:#2f3a24}.mkt-hs .fb{fill:#27311f}.mkt-hs .fc{fill:#3a3623}
.mkt-hs .frw{fill:none;stroke:rgba(0,0,0,.22);stroke-width:.7}
.mkt-hs .rv0{fill:none;stroke:#2a566f;stroke-width:11;stroke-linecap:round}
.mkt-hs .rv1{fill:none;stroke:url(#mkRv);stroke-width:7;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.mkt-hs .hsh{fill:rgba(0,0,0,.35)}.mkt-hs .hl{fill:url(#mkHl);stroke:rgba(255,236,190,.16);stroke-width:.6}
.mkt-hs .tsh{fill:rgba(0,0,0,.35)}.mkt-hs .ttr{stroke:#5a4a35;stroke-width:2;fill:none}.mkt-hs .tc{fill:#2f6342}.mkt-hs .tc2{fill:#3f7d55}
.mkt-hs .rd{fill:#2a2f37;stroke:rgba(var(--tint),.08);stroke-width:.6}.mkt-hs .rdj{fill:#2a2f37;stroke:none}
.mkt-hs .rdl{fill:none;stroke:rgba(255,236,190,.38);stroke-width:1;stroke-dasharray:6 6}
.mkt-hs .pgr{fill:none;stroke:var(--gold);stroke-width:1;opacity:.6}
.mkt-hs .pn{fill:var(--gold);stroke:#0b0f14;stroke-width:1}.mkt-hs .pd{fill:#0b0f14}
.mkt-hs .plot{fill:rgba(var(--gold-rgb),.1)}.mkt-hs .drv{fill:#4a4d52}
.mkt-hs .bnd0{fill:none;stroke:rgba(var(--gold-rgb),.4);stroke-width:1;stroke-dasharray:4 4;stroke-linejoin:round}
.mkt-hs .bnd{fill:none;stroke:var(--gold);stroke-width:1.6;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
.mkt-hs .peg{fill:#2a2e35}.mkt-hs .pegt{fill:var(--gold)}
.mkt-hs .hw-l{fill:#cfc4a8}.mkt-hs .hw-r{fill:#9d927a}.mkt-hs .hw-t{fill:#cfc4a8}
.mkt-hs .wd{fill:#e9c77d}.mkt-hs .dr{fill:#4a3a2a}
.mkt-hs .rf-l{fill:#4b5364;stroke:rgba(255,236,190,.25);stroke-width:.5}.mkt-hs .rf-r{fill:#363d4c;stroke:rgba(255,236,190,.25);stroke-width:.5}
.mkt-hs .vl{fill:none;stroke:var(--gold);stroke-width:1;stroke-dasharray:3 3}
.mkt-hs .vr{fill:var(--void);stroke:var(--gold);stroke-width:1}
.mkt-hs .vc{fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mkt-hs .vt{font-family:var(--f-m);font-size:12px;letter-spacing:.06em;fill:#e9c77d}
.mkt-hs .nbx-l{fill:#2f3744}.mkt-hs .nbx-r{fill:#222934}.mkt-hs .nbx-t{fill:#414b5c}
.mkt-hs .nbx-l,.mkt-hs .nbx-r,.mkt-hs .nbx-t{stroke:rgba(255,236,190,.14);stroke-width:.5}
.mkt-hs .lk{fill:none;stroke:var(--gold);stroke-width:1.1;stroke-dasharray:1;stroke-dashoffset:0;opacity:.7}
.mkt-hs .lkd{fill:var(--gold)}
.mkt-hs:not([data-ch="3"]) .lk,.mkt-hs:not([data-ch="3"]) .lkd{opacity:0}

/* entrance: layers settle in from the ground up */
.mkt-hs .ly{animation:mkRise .9s var(--eout,ease) both;animation-delay:calc(.15s + var(--l,0)*.16s);transition:filter .6s ease}
.mkt-hs .ly[data-l="1"]{--l:1}.mkt-hs .ly[data-l="2"]{--l:2}.mkt-hs .ly[data-l="3"]{--l:3}
@keyframes mkRise{from{opacity:0;transform:translateY(26px)}}
/* focus: the active chapter is lit, the others recede */
.mkt-hs[data-ch="0"] .ly:not([data-l="0"]),.mkt-hs[data-ch="1"] .ly:not([data-l="1"]),.mkt-hs[data-ch="2"] .ly:not([data-l="2"]),.mkt-hs[data-ch="3"] .ly:not([data-l="3"]){filter:brightness(.55) saturate(.7)}
/* chapter-specific motion: each confirms what the chapter is about */
@keyframes mkDraw{from{stroke-dashoffset:1}}
@keyframes mkDrop{from{opacity:0;transform:translateY(-24px)}}
@keyframes mkTag{from{opacity:0;transform:translateY(8px)}}
@keyframes mkNb{from{opacity:0;transform:translateY(12px)}}
.mkt-hs[data-ch="0"] .rv1{animation:mkDraw 1.6s ease-out both}
.mkt-hs[data-ch="1"] .pin{animation:mkDrop .8s var(--eout,ease) both}
.mkt-hs[data-ch="2"] .bnd{animation:mkDraw 1.4s ease-out both}
.mkt-hs[data-ch="2"] .vtag{animation:mkTag .6s var(--eout,ease) 1s both}
.mkt-hs[data-ch="3"] .lk{animation:mkDraw 1.2s ease-out .3s both}
.mkt-hs[data-ch="3"] .nb{animation:mkNb .7s var(--eout,ease) calc(var(--i)*.09s) both}

/* chapters: a quiet timeline under the scene; the gold rule fills as each chapter plays */
.mkt-ch{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.75rem,1.6vw,1.5rem);margin-top:clamp(.5rem,2vh,1.25rem)}
.mkt-ch button{position:relative;display:flex;align-items:baseline;gap:.55rem;min-height:48px;padding:.85rem 0 .7rem;font-family:var(--f-d);font-weight:500;font-size:.95rem;letter-spacing:-.01em;color:var(--ink-45);background:none;border:0;border-top:1px solid var(--line-mid,var(--line));text-align:left;cursor:pointer;transition:color .3s}
.mkt-ch button i{font:400 .66rem/1 var(--f-m);letter-spacing:.08em;color:var(--gold);font-style:normal}
.mkt-ch button:hover,.mkt-ch button.on{color:var(--ink)}
.mkt-ch button.done:not(.on){color:var(--ink-70)}
.mkt-ch button::after{content:'';position:absolute;left:0;top:-1px;height:2px;width:0;background:var(--gold)}
.mkt-ch button.done::after{width:100%;opacity:.4}
.mkt-ch button.on::after{opacity:1;width:0;animation:mkPg var(--dur,6s) linear forwards}
@keyframes mkPg{to{width:100%}}
.mkt-ch.paused button.on::after{animation-play-state:paused}
.mkt-cap{grid-column:2;grid-row:3;margin:.5rem 0 0;padding-right:3rem;min-height:1.6em;font-size:.88rem;line-height:1.55;color:var(--ink-70)}
.mkt-pz{position:relative;z-index:2;grid-column:2;grid-row:3;justify-self:end;align-self:start;width:44px;height:44px;margin-top:-.45rem;display:grid;place-items:center;background:none;border:0;color:var(--ink-45);cursor:pointer;transition:color .2s}
.mkt-pz:hover{color:var(--ink)}
.mkt-pz svg{width:14px;height:14px;fill:currentColor}.mkt-pz .pl{display:none}.mkt-pz[aria-pressed=true] .pa{display:none}.mkt-pz[aria-pressed=true] .pl{display:block}

@media(max-width:900px){
 .mkt-hero{min-height:0;align-items:flex-start;padding:5.75rem 0 2.5rem}
 .mkt-hero__g{grid-template-columns:minmax(0,1fr)}
 .mkt-hero__copy,.mkt-hs,.mkt-ch,.mkt-cap,.mkt-pz{grid-column:1}
 .mkt-hero__copy{margin-bottom:clamp(1rem,3vw,1.75rem)}
 .mkt-hs{grid-row:2;max-height:none}.mkt-ch{grid-row:3}.mkt-cap{grid-row:4;min-height:3.2em}.mkt-pz{grid-row:4}
 .mkt-hero__headline{font-size:clamp(2.3rem,9.4vw,3.5rem)}
 .mkt-hero__sub{max-width:44ch}
}
@media(max-width:700px){
 .mkt-hs{margin-top:-1rem}.mkt-hs .vtag{display:none}
 .mkt-ch{gap:.6rem}.mkt-ch button{font-size:.88rem}
}
@media(max-width:560px){.mkt-ch{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}.mkt-ch button i{display:inline}}
@media(max-width:480px){.mkt-hero__sub{font-size:.95rem}
 .mkt-hero__act{flex-direction:column;align-items:stretch;gap:0}.mkt-hero__act .btn,.mkt-lnk{justify-content:center;text-align:center}}
@media(prefers-reduced-motion:reduce){
 .mkt-hero__headline .ln>span,.mkt-hero__sub,.mkt-hero__act,.mkt-hs .ly{animation:none}
 .mkt-hs *{animation:none!important}.mkt-ch button.on::after{width:100%}.mkt-pz{display:none}
}

/* ── ORIENT: Journey stage bar ── */
.mkt-journey {
  background: var(--void);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.mkt-journey__inner {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
  padding-block: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mkt-journey__inner::-webkit-scrollbar { display: none; }
.mkt-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  cursor: default;
}
.mkt-stage__num {
  font-family: var(--f-m);
  font-size: .55rem;
  letter-spacing: .1em;
  color: var(--ink-22);
}
.mkt-stage__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-mid);
  transition: background 300ms, transform 300ms;
  position: relative;
}
.mkt-stage.active .mkt-stage__dot {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.mkt-stage__label {
  font-family: var(--f-m);
  font-size: .58rem;
  letter-spacing: .08em;
  color: var(--ink-22);
  text-transform: uppercase;
  text-align: center;
  transition: color 300ms;
  white-space: nowrap;
}
.mkt-stage.active .mkt-stage__label { color: var(--gold); }
.mkt-stage-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  min-width: clamp(2rem, 4vw, 5rem);
  position: relative;
  top: -8px;
}
.mkt-stage-line.filled { background: var(--gold-dim); }

/* ── DISCOVER: Command bar search ── */
.mkt-search {
  background: var(--surf-1);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.mkt-search__label {
  font-family: var(--f-m);
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--ink-22);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mkt-search__label::before { content: ''; width: 22px; height: 1px; background: var(--line-mid); }
.mkt-cmdbar {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr auto;
  gap: 1px;
  background: var(--line-mid);
  border: 1px solid var(--line-mid);
}
.mkt-cmd {
  background: var(--surf-2);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: background 180ms;
  position: relative;
}
.mkt-cmd:hover { background: var(--surf-3); }
.mkt-cmd:focus-within { background: var(--surf-3); }
.mkt-cmd:focus-within::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.mkt-cmd__cap {
  font-family: var(--f-m);
  font-size: .55rem;
  letter-spacing: .12em;
  color: var(--ink-22);
  text-transform: uppercase;
}
.mkt-cmd__val {
  font-family: var(--f-d);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-95);
  background: none;
  border: none;
  outline: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
}
.mkt-cmd__val option { background: var(--surf-2); }
.mkt-cmd--action {
  background: var(--gold);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  transition: background 200ms;
  font-family: var(--f-d);
  font-size: .875rem;
  font-weight: 600;
  color: var(--void);
  letter-spacing: -.01em;
  padding-inline: 2rem;
  white-space: nowrap;
}
.mkt-cmd--action:hover { background: var(--gold-hov); }
.mkt-active-filter {
  margin-top: 1.25rem;
  font-family: var(--f-m);
  font-size: .62rem;
  letter-spacing: .06em;
  color: var(--ink-22);
  min-height: 1.2em;
  transition: color 200ms;
}

/* ── EXPERIENCE: Featured listing ── */
.mkt-featured {
  background: var(--void);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.mkt-featured__inner {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.mkt-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.mkt-featured__meta-left {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.mkt-featured__index {
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .14em;
  color: var(--ink-22);
  text-transform: uppercase;
}
.mkt-featured__title {
  font-family: var(--f-d);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
}
.mkt-verified-badge {
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  padding: .35rem .75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mkt-verified-badge::before {
  content: '✓';
  font-size: .7rem;
}

/* Property anatomy card */
.mkt-anatomy {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  border: 1px solid var(--line);
  position: relative;
}
.mkt-anatomy__visual {
  position: relative;
  background: var(--surf-1);
  aspect-ratio: 16/10;
  overflow: hidden;
}
.mkt-anatomy__svg-bg {
  width: 100%;
  height: 100%;
}
/* Hotspots */
.mkt-hotspot {
  position: absolute;
  z-index: 5;
  cursor: pointer;
}
.mkt-hotspot__ring {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gold-rgb),0.08);
  transition: background 200ms, border-color 200ms, transform 200ms;
  position: relative;
}
.mkt-hotspot__ring::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.mkt-hotspot:hover .mkt-hotspot__ring,
.mkt-hotspot.active .mkt-hotspot__ring {
  background: rgba(var(--gold-rgb),0.18);
  border-color: var(--gold);
  transform: scale(1.15);
}
.mkt-hotspot__label {
  position: absolute;
  white-space: nowrap;
  font-family: var(--f-m);
  font-size: .55rem;
  letter-spacing: .1em;
  color: var(--ink-45);
  text-transform: uppercase;
  background: rgba(var(--void-rgb),.7);
  padding: 2px 6px;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  left: 38px;
}
/* Anatomy side panel */
.mkt-anatomy__panel {
  background: var(--surf-1);
  border-left: 1px solid var(--line);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mkt-anatomy__panel-header {
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .12em;
  color: var(--ink-22);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.mkt-prop-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
  transition: background 150ms;
}
.mkt-prop-row:last-child { border-bottom: 0; }
.mkt-prop-row.highlighted {
  background: var(--gold-glow);
  margin-inline: -1.75rem;
  padding-inline: 1.75rem;
  border-bottom-color: var(--gold-line);
}
.mkt-prop-row__key {
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--ink-22);
  text-transform: uppercase;
  flex-shrink: 0;
}
.mkt-prop-row__val {
  font-family: var(--f-d);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-95);
  text-align: right;
}
.mkt-prop-row__val.large {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.mkt-prop-row__val.gold { color: var(--gold); }
.mkt-anatomy__cta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* Property browse grid — intentionally varied scale */
.mkt-browse {
  background: var(--ground);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.mkt-browse__head {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.mkt-browse__headtext {}
.mkt-browse__h2 {
  font-family: var(--f-d);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: .5rem;
}
.mkt-browse__sub {
  font-size: .875rem;
  color: var(--ink-45);
}
.mkt-disclaimer-inline {
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .04em;
  color: var(--ink-22);
  border-left: 2px solid var(--gold-dim);
  padding-left: .75rem;
  line-height: 1.6;
  max-width: 320px;
}
/* Grid: varied scale */
.mkt-grid {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--line);
}
/* First card spans 2 rows — editorial large format */
.mkt-card:first-child {
  grid-row: span 2;
}
.mkt-card {
  background: var(--ground);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 200ms;
}
.mkt-card:hover { background: var(--surf-1); }
.mkt-card__visual {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.mkt-card:first-child .mkt-card__visual { aspect-ratio: 9/14; }
.mkt-card:not(:first-child) .mkt-card__visual { aspect-ratio: 4/3; }
.mkt-card__visual-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.mkt-card__svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mkt-card__type-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--f-m);
  font-size: .55rem;
  letter-spacing: .1em;
  color: var(--ink-70);
  background: rgba(var(--void-rgb),.75);
  border: 1px solid var(--line-mid);
  padding: .25rem .6rem;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.mkt-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mkt-card__loc {
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .08em;
  color: var(--ink-22);
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.mkt-card__name {
  font-family: var(--f-d);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: .75rem;
}
.mkt-card:first-child .mkt-card__name { font-size: 1.35rem; }
.mkt-card__specs {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.mkt-card__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mkt-card__spec-val {
  font-family: var(--f-d);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-95);
}
.mkt-card__spec-key {
  font-family: var(--f-m);
  font-size: .5rem;
  letter-spacing: .1em;
  color: var(--ink-22);
  text-transform: uppercase;
}
.mkt-card__price {
  font-family: var(--f-d);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: .75rem;
}
.mkt-card:first-child .mkt-card__price { font-size: 1.75rem; }
.mkt-card__verify {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-m);
  font-size: .5rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin-top: .5rem;
}
/* Show more row */
.mkt-grid-more {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.mkt-grid-more__note {
  font-family: var(--f-m);
  font-size: .62rem;
  letter-spacing: .06em;
  color: var(--ink-22);
}

/* ── UNDERSTAND: Due diligence as visual progression ── */
.mkt-diligence {
  background: var(--void);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.mkt-diligence__inner {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.mkt-diligence__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-bottom: 4rem;
}
.mkt-diligence__big {
  font-family: var(--f-d);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1.06;
  color: var(--ink);
}
.mkt-diligence__big strong {
  font-weight: 600;
  display: block;
}
.mkt-diligence__right {
  padding-bottom: .5rem;
}
.mkt-diligence__right p {
  font-size: .9rem;
  color: var(--ink-70);
  line-height: 1.75;
  max-width: 48ch;
}
/* Steps as horizontal visual sequence */
.mkt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.mkt-step {
  background: var(--void);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 200ms;
}
.mkt-step:hover { background: var(--surf-1); }
.mkt-step__num {
  font-family: var(--f-d);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--line);
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
  transition: color 200ms;
}
.mkt-step:hover .mkt-step__num { color: var(--gold-dim); }
.mkt-step__title {
  font-family: var(--f-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.mkt-step__body {
  font-size: .83rem;
  color: var(--ink-45);
  line-height: 1.7;
}
.mkt-step__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
}
.mkt-step__link::after { content: '›'; font-size: .8rem; }
/* Disclaimer below steps */
.mkt-diligence-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold-dim);
  background: var(--surf-1);
  font-size: .8rem;
  color: var(--ink-45);
  line-height: 1.65;
}
.mkt-diligence-note strong { color: var(--ink-70); }

/* ── INTERACT: List property form ── */
.mkt-list {
  background: var(--surf-1);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.mkt-list__inner {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.mkt-list__left {}
.mkt-list__eyebrow {
  font-family: var(--f-m);
  font-size: .62rem;
  letter-spacing: .12em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.mkt-list__eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold-dim); }
.mkt-list__h2 {
  font-family: var(--f-d);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}
.mkt-list__body {
  font-size: .9rem;
  color: var(--ink-70);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.mkt-list__process {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mkt-list-step {
  display: flex;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.mkt-list-step:first-child { padding-top: 0; }
.mkt-list-step:last-child { border-bottom: 0; }
.mkt-list-step__n {
  font-family: var(--f-m);
  font-size: .58rem;
  letter-spacing: .1em;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: .15rem;
}
.mkt-list-step__text {
  font-size: .875rem;
  color: var(--ink-70);
  line-height: 1.6;
}
.mkt-list-step__text strong { color: var(--ink-95); font-weight: 500; }
.mkt-list__form {
  background: var(--surf-2);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.mkt-list__form-title {
  font-family: var(--f-d);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ── CONNECT: EDITH ecosystem ── */
.mkt-connect {
  background: var(--void);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.mkt-connect__inner {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.mkt-connect__h2 {
  font-family: var(--f-d);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -.03em;
  color: var(--ink-70);
  margin-bottom: 2.5rem;
  max-width: 42ch;
}
.mkt-connect__h2 strong { color: var(--ink); font-weight: 600; }
.mkt-connect__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-bottom: 2rem;
}
.mkt-nextstep {
  background: var(--void);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 200ms;
  cursor: default;
}
.mkt-nextstep:hover { background: var(--surf-1); }
.mkt-nextstep__icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mkt-nextstep__icon svg { color: var(--gold); }
.mkt-nextstep__title {
  font-family: var(--f-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.mkt-nextstep__body {
  font-size: .8rem;
  color: var(--ink-45);
  line-height: 1.65;
}
.mkt-nextstep__link {
  margin-top: auto;
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms;
}
.mkt-nextstep:hover .mkt-nextstep__link { gap: 10px; }
.mkt-nextstep__link::after { content: '→'; }

/* ── ACT: Final CTA ── */
.mkt-act {
  background: var(--void);
  padding: clamp(5rem, 10vw, 9rem) 0;
  text-align: center;
}
.mkt-act__inner {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.mkt-act__num {
  font-family: var(--f-m);
  font-size: .6rem;
  letter-spacing: .14em;
  color: var(--ink-22);
  margin-bottom: 1.5rem;
}
.mkt-act__h2 {
  font-family: var(--f-d);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1.06;
  color: var(--ink-70);
  margin-bottom: 2.5rem;
  max-width: 22ch;
}
.mkt-act__h2 strong { color: var(--ink); font-weight: 600; display: block; }
.mkt-act__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .mkt-cmdbar { grid-template-columns: 1fr 1fr; }
  .mkt-cmd--action { grid-column: span 2; }
  .mkt-anatomy { grid-template-columns: 1fr; }
  .mkt-anatomy__panel { border-left: 0; border-top: 1px solid var(--line); }
  .mkt-anatomy__visual { aspect-ratio: 16/9; }
  .mkt-grid { grid-template-columns: 1fr 1fr; }
  .mkt-card:first-child { grid-row: span 1; }
  .mkt-card:first-child .mkt-card__visual { aspect-ratio: 4/3; }
  .mkt-steps { grid-template-columns: 1fr 1fr; }
  .mkt-connect__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mkt-cmdbar { grid-template-columns: 1fr; }
  .mkt-cmd--action { grid-column: span 1; }
  .mkt-grid { grid-template-columns: 1fr; }
  .mkt-steps { grid-template-columns: 1fr; }
  .mkt-connect__grid { grid-template-columns: 1fr; }
  .mkt-list__inner { grid-template-columns: 1fr; }
  .mkt-diligence__intro { grid-template-columns: 1fr; }
  .mkt-browse__head { flex-direction: column; align-items: flex-start; }
  .mkt-hotspot__label { display: none; }
}

/* ── shared-system glue (same tokens, header, footer and theme as get-a-quote.html) ── */
:root{--gold-line:rgba(var(--gold-rgb),.35);--gold-glow:var(--gg);--surf-3:var(--s3)}
.container{max-width:var(--W);margin-inline:auto;padding-inline:var(--gut)}.gold{color:var(--gold)}
[data-rv]{opacity:0;transform:translateY(24px);transition:opacity .9s var(--ease),transform .9s var(--ease)}[data-rv].vis{opacity:1;transform:none}
.wa-fab{position:fixed;right:clamp(.8rem,2vw,1.4rem);bottom:clamp(.8rem,2vw,1.4rem);z-index:70;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--s1);color:var(--gold-hi);border:1px solid var(--gold);box-shadow:0 8px 24px rgba(var(--shade),.35);transition:background .2s,color .2s}
.wa-fab:hover{background:var(--gold);color:var(--void)}
/* artwork plates stay dark in both themes, so their overlays keep dark-theme tokens */
.mkt-anatomy__visual,.mkt-card__visual{--ink:#fff;--ink-95:rgba(255,255,255,.95);--ink-70:rgba(255,255,255,.7);--ink-45:rgba(255,255,255,.45);--ink-22:rgba(255,255,255,.22);--gold:#C5A059;--gold-line:rgba(197,160,89,.35)}
@media(max-width:560px){#listingForm{grid-template-columns:1fr!important}}
/* hero scene, light theme */
html[data-theme="light"] .mkt-hs .sh{fill:rgba(var(--shade),.22)}
html[data-theme="light"] .mkt-hs .sl-f{fill:#cdbf9c}html[data-theme="light"] .mkt-hs .sl-e{fill:#b3a37c}
html[data-theme="light"] .mkt-hs .sl-hl{stroke:rgba(255,255,255,.8)}html[data-theme="light"] .mkt-hs .sl-r{stroke:rgba(var(--gold-rgb),.6)}
html[data-theme="light"] .mkt-hs .gd{fill:#d9dec7}
html[data-theme="light"] .mkt-hs .fa{fill:#c3cc9f}html[data-theme="light"] .mkt-hs .fb{fill:#b3c08e}html[data-theme="light"] .mkt-hs .fc{fill:#d6cc9a}
html[data-theme="light"] .mkt-hs .frw{stroke:rgba(70,60,20,.16)}html[data-theme="light"] .mkt-hs .fld{stroke:rgba(70,60,20,.18)}
html[data-theme="light"] .mkt-hs .rv0{stroke:#7fa9c0}html[data-theme="light"] .mkt-hs .hsh{fill:rgba(var(--shade),.18)}
html[data-theme="light"] .mkt-hs .hl{fill:#a6b583;stroke:rgba(255,255,255,.35)}
html[data-theme="light"] .mkt-hs .tc{fill:#4f8a5c}html[data-theme="light"] .mkt-hs .tc2{fill:#66a574}
html[data-theme="light"] .mkt-hs .rd{fill:#b9b5aa;stroke:rgba(var(--shade),.12)}html[data-theme="light"] .mkt-hs .rdj{fill:#b9b5aa}
html[data-theme="light"] .mkt-hs .rdl{stroke:rgba(255,255,255,.85)}
html[data-theme="light"] .mkt-hs .plot{fill:rgba(var(--gold-rgb),.14)}html[data-theme="light"] .mkt-hs .drv{fill:#a39e92}
html[data-theme="light"] .mkt-hs .hw-l{fill:#f2ead6}html[data-theme="light"] .mkt-hs .hw-r{fill:#d3c8ac}html[data-theme="light"] .mkt-hs .hw-t{fill:#f2ead6}
html[data-theme="light"] .mkt-hs .peg{fill:#4a4f58}
html[data-theme="light"] .mkt-hs .nbx-l{fill:#c1c6cf}html[data-theme="light"] .mkt-hs .nbx-r{fill:#a5abb6}html[data-theme="light"] .mkt-hs .nbx-t{fill:#d8dce3}
html[data-theme="light"] .mkt-hs .vt{fill:var(--gold-hi)}
html[data-theme="light"] .mkt-hs .pn{stroke:#fff}html[data-theme="light"] .mkt-hs .pd{fill:#fff}
html[data-theme="light"] .mkt-hs[data-ch="0"] .ly:not([data-l="0"]),html[data-theme="light"] .mkt-hs[data-ch="1"] .ly:not([data-l="1"]),html[data-theme="light"] .mkt-hs[data-ch="2"] .ly:not([data-l="2"]),html[data-theme="light"] .mkt-hs[data-ch="3"] .ly:not([data-l="3"]){filter:saturate(.5) contrast(.85) brightness(1.04)}
@media(prefers-reduced-motion:reduce){[data-rv]{opacity:1;transform:none;transition:none}}
