:root {
  --wine: #4a1531;
  --wine-2: #6b2446;
  --night: #1c0812;
  --cream: #f5f0e8;
  --sand: #e8ddcd;
  --paper: #fbf8f3;
  --ink: #1d1719;
  --muted: #6e6366;
  --line: #ddd1c2;
  --brass: #c49a5a;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 .45em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h2 em, h1 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--wine-2); margin-bottom: 1.1rem; }
.eyebrow.light { color: var(--brass); }
.fine { font-size: .8rem; color: var(--muted); line-height: 1.5; }

.btn{ display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px; padding: 14px 24px; font: 600 .98rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.btn { background: var(--wine); color: #fff; }
.btn:hover { background: var(--wine-2); transform: translateY(-1px); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.top.solid { background: rgba(245,240,232,.94); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.agent-mark { display: flex; flex-direction: column; line-height: 1.1; }
.agent-mark b { font: 400 1.55rem/1 var(--serif); letter-spacing: -.015em; }
.agent-mark small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 5px; }
.brand-sep { width: 1px; height: 34px; background: currentColor; opacity: .35; }
.bhhs { height: 28px; width: auto; }
.seal { height: 30px; width: auto; display: none; }
.on-light, .top.solid .on-dark { display: none; }
.top.solid .bhhs.on-light { display: block; }

.z-pill + .top-phone { margin-left: 26px; padding-left: 26px; border-left: 1px solid currentColor; border-color: rgba(127,127,127,.4); }
.top-phone + .box-btn { margin-left: 14px; }

.box-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: inherit; border-radius: 50%; transition: background .2s; }
.box-btn:hover { background: rgba(127,127,127,.15); }
.box-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.box-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brass); color: var(--night); font: 700 .7rem/18px var(--sans); text-align: center; }
.box-n[hidden] { display: none; }
.box-btn.bump .box-n { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.top-phone { text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; display: inline-flex; align-items: center; }
.top-phone svg { display: none; width: 18px; height: 18px; }
.agent-mark { white-space: nowrap; }

@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(76,207,138,0); } 100% { box-shadow: 0 0 0 0 rgba(76,207,138,0); } }

.top-in { position: relative; }
.box-btn { border: 0; background: transparent; cursor: pointer; padding: 0; }
.box-btn[aria-expanded="true"] { background: rgba(127,127,127,.18); }
.box-panel { position: absolute; top: calc(100% + 6px); right: 0; width: 380px; max-height: min(78vh, 640px); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(28,8,18,.55), 0 0 0 1px rgba(28,8,18,.06); overflow: hidden; animation: up .3s var(--ease); z-index: 70; }
.box-panel[hidden] { display: none; }
.bp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.bp-head h3 { font-size: 1.5rem; margin: 0 0 2px; }
.bp-head p { margin: 0; font-size: .8rem; color: var(--muted); }
.bp-x { border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; width: 32px; height: 32px; border-radius: 50%; }
.bp-x:hover { background: var(--cream); color: var(--ink); }
.bp-body { padding: 6px 22px 10px; overflow-y: auto; }
.bp-l { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-2); margin: 14px 0 8px; }

.bp-l span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: 6px; }

.bp-foot { display: flex; align-items: center; gap: 14px; padding: 14px 22px 18px; border-top: 1px solid var(--line); }
.bp-send { flex: 1; }
.bp-send:disabled { opacity: .4; cursor: default; transform: none; }
.bp-clear { border: 0; background: none; color: var(--muted); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,6,13,.45) 0%, rgba(20,6,13,0) 28%, rgba(20,6,13,.05) 50%, rgba(20,6,13,.78) 100%); }
.hero-in { position: relative; padding: 0 0 clamp(56px, 9vh, 104px); }
.hero h1 { font-size: clamp(3rem, 7.6vw, 7.2rem); max-width: 11.5em; margin-bottom: 40px; text-wrap: balance; }
.hero h1 span { display: inline-block; }
.reveal { opacity: 0; transform: translateY(18px); animation: up .9s var(--ease) forwards .15s; }
.reveal.d2 { animation-delay: .35s; } .reveal.d3 { animation-delay: .6s; } .reveal.d4 { animation-delay: .8s; }
@keyframes up { to { opacity: 1; transform: none; } }
.hero-meta { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.hero-meta img { width: 40px; height: 40px; flex: none; opacity: .95; }
.hero-meta p { margin: 0; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.35); line-height: 1.35; }
.hero-meta em { display: block; font: italic 300 1.15rem var(--serif); }
.hero-meta span { display: block; font-size: .8rem; opacity: .75; margin-top: 2px; }

/* ---------- deal cards ---------- */
.deals { padding: clamp(88px, 11vw, 140px) 0; }

.add { white-space: nowrap; margin-top: auto; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 2px; padding: 10px 20px; font: 400 1rem var(--serif); cursor: pointer; transition: background .2s, color .2s; }
.add:hover { background: rgba(127,127,127,.1); }
.add.on { background: var(--brass); border-color: var(--brass); color: var(--night); }
/* tones */

/* card affordance */

/* ---------- map ---------- */
.map { background: var(--night); color: #fff; padding: clamp(88px, 12vw, 140px) 0; overflow: hidden; }
.map-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.map h2 { margin-bottom: 36px; }

.map-art svg { display: block; width: 100%; height: auto; max-height: 86vh; overflow: visible; }

.area { cursor: pointer; outline: none; }
.area path { fill: #2a1320; stroke: var(--night); stroke-width: 2.5; stroke-linejoin: round; transition: fill .3s; }
.labels text { fill: rgba(255,255,255,.85); font: 500 13px var(--sans); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: var(--night); stroke-width: 3px; stroke-linejoin: round; transition: fill .3s; }
.area:hover path, .area:focus-visible path { fill: #4a2233; }
.area.active path { fill: #55263a; }
.area[aria-pressed="true"] path { fill: var(--brass); }
.labels text.on { fill: var(--night); stroke: var(--brass); font-weight: 600; }
.roads { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.shield { pointer-events: none; }
.shield rect { fill: var(--night); stroke: rgba(255,255,255,.3); stroke-width: 1; }
.shield text { fill: rgba(255,255,255,.65); font: 600 9px var(--sans); text-anchor: middle; }

.area-pin { cursor: pointer; outline: none; }
.area-pin rect { fill: var(--night); stroke: rgba(255,255,255,.4); stroke-width: 1; transition: fill .2s, stroke .2s; }
.area-pin text { fill: #fff; font: 600 10.5px var(--sans); text-anchor: middle; pointer-events: none; }
.area-pin .pin-plus { fill: var(--brass); }
.area-pin .pin-arrow { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-linecap: round; display: none; }
.area-pin:hover rect, .area-pin:focus-visible rect { stroke: var(--brass); }
.area-pin[aria-pressed="true"] rect { fill: var(--brass); stroke: var(--brass); }
.area-pin[aria-pressed="true"] text, .area-pin[aria-pressed="true"] .pin-plus { fill: var(--night); }

/* ---------- contact chat ---------- */
.contact { padding: clamp(88px, 12vw, 150px) 0; background: var(--paper); }
.contact-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.contact-copy > p:not(.eyebrow):not(.fine) { color: var(--muted); font-size: 1.12rem; max-width: 26em; }
.talk { display: flex; gap: 10px; margin: 30px 0 22px; }
.talk-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: border-color .2s, background .2s; }
.talk-btn svg { width: 16px; height: 16px; color: var(--wine); }
.talk-btn:hover { border-color: var(--wine); background: #fff; }

.chat { position: relative; background: #fff; border-radius: 28px; box-shadow: 0 50px 100px -50px rgba(42,11,27,.45), 0 0 0 1px rgba(42,11,27,.06); overflow: hidden; display: flex; flex-direction: column; height: 600px; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #f0e9e0; }
.chat-top img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--sand); }
.chat-top b { display: block; font-size: .95rem; }
.chat-top span { display: block; font-size: .76rem; color: var(--muted); }
.restart { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 22px 20px 8px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; background: linear-gradient(#fff, #fdfbf8); }
.msg { max-width: 82%; padding: 11px 16px; border-radius: 20px; font-size: .96rem; line-height: 1.45; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.msg.them { align-self: flex-start; background: #f2ece4; border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--wine); color: #fff; border-bottom-right-radius: 6px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; background: #f2ece4; border-radius: 20px; border-bottom-left-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #a99b90; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; transform: translateY(-2px); } }
.chat-input { padding: 12px 16px 18px; border-top: 1px solid #f0e9e0; min-height: 76px; }
.opts-row { display: flex; flex-wrap: wrap; gap: 8px; animation: up .35s var(--ease); }
.opt { border: 1px solid #ddd1c2; background: #fff; border-radius: 999px; padding: 9px 15px; font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .15s; }
.opt:hover { border-color: var(--wine); }
.opt[aria-pressed="true"] { background: var(--wine); color: #fff; border-color: var(--wine); }
.opt.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt.ghost { border-style: dashed; color: var(--muted); }
.text-row { display: flex; gap: 8px; animation: up .35s var(--ease); }
.text-row input, .text-row textarea, .contact-fields input { flex: 1; min-width: 0; border: 1px solid #ddd1c2; border-radius: 999px; padding: 12px 18px; font: 400 .96rem var(--sans); background: #fff; color: var(--ink); }
.text-row input:focus, .contact-fields input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(74,21,49,.12); }
.send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--wine); color: #fff; cursor: pointer; display: grid; place-items: center; }
.send svg { width: 18px; height: 18px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; animation: up .35s var(--ease); }
.contact-fields .full { grid-column: 1 / -1; }
.contact-fields .invalid { border-color: #b3261e; }
.consent { grid-column: 1 / -1; display: flex; gap: 8px; font-size: .72rem; color: var(--muted); line-height: 1.4; margin: 2px 4px; }
.consent input { accent-color: var(--wine); margin-top: 2px; flex: none; }
.consent.invalid { color: #b3261e; }
.contact-fields .btn { grid-column: 1 / -1; }

/* ---------- sellers ---------- */
.sellers { background: var(--sand); padding: clamp(88px, 11vw, 130px) 0; }

.sell-intro h2 { margin-bottom: 18px; }

.badge { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--wine); color: #fff; padding: 4px 9px; border-radius: 999px; opacity: 0; transform: scale(.8); transition: all .3s var(--ease); }

/* ---------- about ---------- */
.about { padding: clamp(88px, 12vw, 140px) 0; }
.about-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-photo { position: relative; margin: 0; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; background: #d9d6d2; }
.about-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 20px; background: linear-gradient(transparent, rgba(28,8,18,.85)); }
.about-photo figcaption img { width: 240px; }
.about-copy h2 { margin-bottom: .2em; }
.about-lede { font: 300 italic clamp(1.3rem, 2vw, 1.6rem)/1.35 var(--serif); color: var(--wine); max-width: 22em; margin-bottom: 30px; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 18px 16px 18px 0; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 400 1.35rem/1.15 var(--serif); margin-bottom: 4px; }
.facts span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; }
.about-body { font-size: 1.1rem; color: #4e4447; max-width: 30em; }
.about-lic { font-size: .8rem; color: var(--muted); margin: 0; }

 

 

 
 
 
 

/* ---------- zillow block ---------- */
.zl-block { margin-top: 12px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }

.zl-stars { --r: 5; position: relative; display: inline-block; font-size: 1.3rem; line-height: 1; letter-spacing: 2px; }
.zl-stars::before { content: "★★★★★"; color: rgba(255,255,255,.35); }
.zl-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; white-space: nowrap; color: #ffd166; }

.zl-reviews { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.zl-reviews[hidden] { display: none; }
.zl-q { margin: 0; background: #fff; padding: 24px 26px; }
.zl-q .zl-stars { font-size: 1rem; }
.zl-q .zl-stars::before { color: #e3d8ca; }
.zl-q blockquote { margin: 10px 0 12px; font: 400 1.05rem/1.45 var(--serif); }
.zl-q figcaption { font-size: .8rem; color: var(--muted); }

/* ---------- faq ---------- */
.faq { padding: clamp(88px, 12vw, 140px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 1.2rem var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.6rem var(--sans); color: var(--wine); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--muted); padding-right: 40px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #cdb7c1; padding: 72px 0 100px; font-size: .9rem; }

.foot h3 { font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #e6c79a; }

.eho { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; font-size: .88rem !important; }

.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  
  .z-pill + .top-phone { margin-left: 18px; padding-left: 18px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .top-in { height: 64px; }
  .hero { min-height: calc(100svh + 24px); }
  .hero h1 { margin-bottom: 28px; }
  .map-in, .contact-in, .about-in, .faq-in{ grid-template-columns: 1fr; gap: 40px; }
  
  
  
  
  
  
  
  
  .add { padding: 9px 14px; font-size: .92rem; }
  
  
  
  
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 14px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  
  
  .zl-block { grid-template-columns: 1fr; }
  
  
  
  
  .zl-reviews { grid-template-columns: 1fr; }
  
  .map-copy { order: 2; }
  .chat { height: 560px; border-radius: 22px; }
  .about-photo { max-width: 440px; }
  
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; position: fixed; inset: auto 0 0 0; z-index: 60; background: rgba(251,248,243,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; transform: translateY(110%); transition: transform .35s var(--ease); }
  .mbar.show { transform: none; }
  .mbar button { border: 0; font: inherit; cursor: pointer; }
  .mbar a, .mbar button { text-align: center; padding: 12px 0; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--wine); color: var(--wine); }
  .mbar .mbar-main { background: var(--wine); color: #fff; box-shadow: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .bhhs { display: none !important; }
  .seal.on-dark { display: block; }
  .top.solid .seal.on-light { display: block; }
  .top.solid .seal.on-dark { display: none; }
  .agent-mark b { font-size: 1.3rem; }
  .agent-mark small { font-size: .62rem; }
  .brand { gap: 12px; }
  .seal { height: 26px; }
  .brand-sep { height: 28px; }
  .z-pill { margin-left: auto; }
  .top-phone + .box-btn { margin-left: 4px; }
    .facts { grid-template-columns: 1fr; }
  .facts span { text-align: right; }
  .top-phone .num { display: none; }
  .box-panel { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; max-height: calc(100svh - 160px); }
  .top-phone svg { display: block; }
  .top-phone, .z-pill + .top-phone { width: 40px; height: 40px; justify-content: center; border-left: 0; padding-left: 0; margin-left: 4px; }
  .hero h1 { font-size: 2.7rem; }
  .labels text { font-size: 17px; }
  .shield text { font-size: 11px; }
  .contact-fields { grid-template-columns: 1fr; }
  
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- section transitions (scroll-linked; see app.js "section transitions") ---------- */
.deals, .contact { position: relative; z-index: 3; margin-top: -36px; border-radius: 34px 34px 0 0; box-shadow: 0 -24px 50px -20px rgba(28,8,18,.35); }
.deals { background: var(--cream); }
.map { position: relative; z-index: 2; clip-path: inset(0 var(--mx, 0px) round var(--mr, 0px)); will-change: clip-path; }
.map { padding-bottom: calc(clamp(88px, 12vw, 140px) + 36px); }
.hero-img, .hero-in { will-change: translate; }
@media (max-width: 900px) { .deals, .contact { margin-top: -24px; border-radius: 24px 24px 0 0; } }
/* keep the deals card's overlap below the fold so the first screen is pure hero */
.hero { min-height: calc(100svh + 36px); }
.hero-in { padding-bottom: calc(clamp(56px, 9vh, 104px) + 36px); }
@media (max-width: 900px) { .hero { min-height: calc(100svh + 24px); } .hero-in { padding-bottom: calc(clamp(56px, 9vh, 104px) + 24px); } }

/* ---------- map: panel state ---------- */

/* ---------- Zillow proof (numbers live in app.js ZILLOW) ---------- */
.z-ic { width: 16px; height: 16px; flex: none; }
.z-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 8px 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(127,127,127,.4); text-decoration: none; font-size: .85rem; color: inherit; transition: background .2s, border-color .2s; }
.z-pill:hover { background: rgba(127,127,127,.15); border-color: currentColor; }
.z-pill .z-ic { color: #3a8bff; }
.top.solid .z-pill .z-ic { color: #006aff; }
.z-pill b { font-weight: 700; }
.z-star { color: #ffc531; }

.hero-proof { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -10px 0 26px; padding: 11px 18px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; text-decoration: none; font-size: .92rem; transition: background .2s; }
.hero-proof:hover { background: rgba(255,255,255,.2); }
.hero-proof b { font-weight: 700; }
.hp-rating { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .zl-stars { font-size: 1rem; }
.hp-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hp-go { opacity: .7; }
.hero-meta { margin-top: 6px; }
.z-mini { color: var(--wine); font-weight: 600; }
.c-proof { list-style: none; padding: 0; margin: 24px 0 4px; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-proof li { padding: 14px 22px 14px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.c-proof li:last-child { border-right: 0; margin-right: 0; }
.c-proof b { display: block; font: 400 1.5rem/1.1 var(--serif); color: var(--ink); }
.c-proof b span { font: inherit; }
.c-proof li > span { font-size: .8rem; color: var(--muted); }

@media (max-width: 560px) {
  .z-pill { padding: 5px 9px; font-size: .78rem; margin-left: 8px; }
  .z-pill .z-ic{ display: none; }
  .hero-proof { border-radius: 16px; gap: 6px 12px; font-size: .84rem; margin-top: -6px; }
  .c-proof li { padding-right: 14px; margin-right: 14px; }
  .c-proof b { font-size: 1.2rem; }
}
.chat-top span span { display: inline; font-size: inherit; color: inherit; }
.chat-top .z-mini { color: var(--wine); }

/* ---------- deal cards: expand in place ---------- */

@keyframes dcIn { from { opacity: 0; transform: translateY(8px); } }

.dc-tags { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dc-tags li { font: 600 .74rem var(--sans); padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; opacity: .85; }
.dc-rehab { display: flex; align-items: center; gap: 12px; font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 14px; }
.dc-meter { display: flex; gap: 4px; }
.dc-meter i { width: 22px; height: 5px; border-radius: 3px; background: currentColor; opacity: .22; }
.dc-meter i.f { opacity: 1; background: var(--brass); }

.dc-ask { margin-top: 14px; border: 0; background: none; padding: 0; font: 600 .92rem var(--sans); color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- bag: send step ---------- */
.bp-back { border: 0; background: var(--cream); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; margin-right: 4px; flex: none; }
.bp-head > div { flex: 1; min-width: 0; }
.bp-head p { overflow: hidden; text-overflow: ellipsis; }
.bp-form { padding-bottom: 20px; }
.bp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 10px; }
.bp-fields .full { grid-column: 1 / -1; }
.bp-fields input { width: 100%; border: 1px solid #ddd1c2; border-radius: 12px; padding: 12px 14px; font: 400 .95rem var(--sans); background: #fff; color: var(--ink); }
.bp-fields input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(74,21,49,.12); }
.bp-fields input.invalid { border-color: #b3261e; }
.bp-consent { margin: 0 0 14px; }
.bp-submit { width: 100%; }
.bp-done { text-align: center; padding: 26px 26px 10px; }
.bp-check { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }
.bp-again { width: 100%; }

/* ---------- BHHS tie-ins ---------- */

.cs-tag { align-self: flex-start; font: 700 .64rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--wine); padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }

.dc-tags { margin-bottom: 10px; }
.dc-ask { margin-top: 6px; }

/* ---------- deal cards: one full photo, panels crossfade (smooth) ---------- */

/* closed look: a colored panel over the left of the photo */

/* open look: dark scrim fades in, panel fades out */

  .dc-ask { transition: color .35s ease, border-color .35s ease, background-color .35s ease; }

@keyframes dcIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- recently closed + map ---------- */
.map-in { grid-template-columns: 1fr 1.05fr; align-items: start; gap: 56px; }
.map h2 { margin-bottom: 22px; }

.sales { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sale { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.sale:hover, .sale.hl { background: rgba(196,154,90,.14); border-color: var(--brass); transform: translateX(4px); }

.sale-main { display: grid; flex: 1; min-width: 0; }
.sale-main b { font: 400 1.5rem/1.1 var(--serif); }
.sale-addr { font-weight: 600; font-size: .9rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale-meta { font-size: .78rem; color: rgba(255,255,255,.6); }

.cl-src { margin: 14px 0 0; font-size: .74rem; color: rgba(255,255,255,.45); }
.cl-src a { color: rgba(255,255,255,.7); }
.sale-pin { pointer-events: none; }
.sp-dot { fill: var(--brass); stroke: var(--night); stroke-width: 2; transition: r .2s; }
.sp-ring { fill: none; stroke: var(--brass); stroke-width: 1.5; opacity: .5; transform-box: fill-box; transform-origin: center; animation: spPulse 2.6s ease-out infinite; }
.sale-pin:nth-child(2n) .sp-ring { animation-delay: 1.3s; }
@keyframes spPulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.sale-pin.hl .sp-dot { r: 9; fill: #fff; }
.sale-pin.hl .sp-ring { animation-duration: 1.2s; }

@media (prefers-reduced-motion: reduce) { .sp-ring { animation: none; } }
@media (max-width: 900px) {
  .map-in { grid-template-columns: 1fr; }
  .map-copy { order: 0; }
  
  
  .sale-main b { font-size: 1.25rem; }
}

/* ---------- recently closed: single-card carousel with side fades ---------- */
.sales { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 2px 8%; margin: 0 -2px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.sales::-webkit-scrollbar { display: none; }
.sales li { scroll-snap-align: center; }
.sale { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; height: 100%; }
.sale:hover, .sale.hl { transform: none; }
.sale-photo { position: relative; display: block; aspect-ratio: 16 / 9; background: #2a1320; }
.sale-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sale-photo .cs-tag { position: absolute; top: 10px; left: 10px; margin: 0; }
.sale-main { padding: 14px 18px 16px; }
.sale-view { margin-top: 8px; color: var(--brass); font-weight: 600; font-size: .84rem; }

.map-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.map-copy, .map-art { min-width: 0; }
.sales { max-width: 100%; }
.sale-photo { aspect-ratio: 16 / 8.5; }
@media (max-width: 900px) { .map-in { grid-template-columns: minmax(0, 1fr); } }
.sales { grid-auto-columns: 100%; padding: 2px 10%; scroll-padding-inline: 10%; }

/* ---------- recently closed: endless marquee ---------- */
.sales { display: block; overflow: hidden; padding: 2px 0; margin: 0; container-type: inline-size; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.sales-track { display: flex; width: max-content; animation: marquee var(--dur, 42s) linear infinite; }
.sales:hover .sales-track, .sales:focus-within .sales-track { animation-play-state: paused; }
.sales-track > li { list-style: none; width: 74cqw; padding-right: 12px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sales { overflow-x: auto; } .sales-track { animation: none; } }
/* ---------- top bar: frosted glass ---------- */
.top.solid { background: rgba(245,240,232,.58); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 1px 0 rgba(28,8,18,.08); }
.top:not(.solid) { background: rgba(28,8,18,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cl-lede { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 30em; margin: -8px 0 26px; }
.sales { overflow-x: auto; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.sales::-webkit-scrollbar { display: none; }
.sales.dragging { cursor: grabbing; user-select: none; }
.sales.dragging a { pointer-events: none; }
.sales-track { animation: none !important; }

/* ---------- recently closed: price range + areas above the strip ---------- */

/* ---------- footer: oversized name ---------- */
.foot { padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); }

.foot-name { margin: clamp(28px, 4vw, 56px) 0 0; font-family: var(--serif); font-weight: 300; line-height: .86; letter-spacing: -.045em; color: #fff; white-space: nowrap; }

@media (max-width: 900px) { .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
.foot-name { display: inline-block; font-size: 160px; transform-origin: left top; }
.foot-name-wrap { overflow: hidden; padding-bottom: .12em; margin: clamp(28px, 4vw, 56px) 0 0; }
.foot-name-wrap .foot-name { margin: 0; }

/* fix: open card photo always visible; all open-card text light */

/* ---------- footer v3: big name left, content right ---------- */
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.foot-name-wrap { margin: 0; padding-bottom: .06em; overflow: visible; }
.foot-name { display: block; margin: 0; font: 300 clamp(4rem, 9.4vw, 9.6rem)/.88 var(--serif); letter-spacing: -.045em; color: #fff; white-space: normal; }
.foot-bhhs { display: block; width: clamp(240px, 28vw, 400px); height: auto; margin-top: clamp(22px, 3vw, 36px); }
.foot-lic { margin: 12px 0 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.foot-right { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.fr-block { display: grid; gap: 8px; align-content: start; font-size: .9rem; color: rgba(255,255,255,.7); }
.fr-block h3 { margin: 0 0 4px; font: 600 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.fr-block a { color: #fff !important; text-decoration: none; }
.fr-block a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fr-block p { margin: 0; line-height: 1.5; }
.fr-big { font: 400 1.6rem var(--serif); }
.fr-legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; gap: 10px; }
.fr-legal .eho { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; font-size: .95rem !important; }
.fr-legal a { color: #e6c79a !important; }
@media (max-width: 900px) { .foot-grid, .foot-right { grid-template-columns: 1fr; } .foot-name { font-size: 22vw; } }

/* ---------- buy box panel v2: grid toggles, frosted glass ---------- */
.box-panel { width: 420px; background: rgba(251,248,243,.78); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgba(255,255,255,.5); border-radius: 16px; overflow: visible; }
.box-panel::before { content: ""; position: absolute; top: -7px; right: 14px; width: 14px; height: 14px; background: inherit; border-left: 1px solid rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.5); transform: rotate(45deg); }
.box-panel > * { position: relative; }
.bp-head { border-bottom: 1px solid rgba(28,8,18,.1); }
.bp-head h3 { font-size: 1.7rem; }
.bp-body { padding: 4px 22px 6px; }
.bp-l { margin: 16px 0 8px; padding-top: 14px; border-top: 1px solid rgba(28,8,18,.08); }
.bp-body .bp-l:first-child { border-top: 0; padding-top: 0; }
.bp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bp-grid.bp-3 { grid-template-columns: repeat(3, 1fr); }
.bp-tg { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 6px 10px; border-radius: 4px; border: 1px solid rgba(28,8,18,.22); background: rgba(255,255,255,.45); color: var(--ink); font: 400 .95rem var(--serif); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.bp-grid:not(.bp-3) .bp-tg { justify-content: flex-start; padding-left: 14px; }
.bp-tg:hover { border-color: var(--wine); }
.bp-tg[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.bp-tg span { font-size: .85rem; }
.bp-foot { flex-direction: column; align-items: stretch; gap: 10px; border-top: 1px solid rgba(28,8,18,.1); }
.bp-sum { margin: 0; font: 400 1rem var(--serif); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bp-sum .bp-clear { font: 400 .8rem var(--sans); }
.bp-send { width: 100%; border-radius: 4px; padding: 15px; font: 400 1.15rem var(--serif); }
@media (max-width: 560px) { .box-panel::before { display: none; } .bp-tg { font-size: .88rem; } }
.box-panel { background: rgba(251,248,243,.88); max-height: min(90vh, 760px); }
.bp-head { padding: 16px 20px 10px; }
.bp-body { padding: 0 20px 4px; }
.bp-l { margin: 12px 0 7px; padding-top: 10px; }
.bp-tg { min-height: 34px; font-size: .9rem; white-space: nowrap; }
.bp-grid { gap: 6px; }
.bp-foot { padding: 12px 20px 16px; }
@media (max-width: 900px) { .box-panel { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; max-height: calc(100svh - 90px); } }
@media (max-width: 400px) { .bp-tg { font-size: .82rem; padding-inline: 8px; } .bp-grid:not(.bp-3) .bp-tg { padding-left: 10px; } }

/* ---------- recently closed: Tony's own words above the strip ---------- */
.cl-quote { margin: 0 0 26px; display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: center; padding-left: 18px; border-left: 2px solid var(--brass); }
.cl-quote img { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.cl-quote blockquote { margin: 0; font: 300 italic clamp(1.15rem, 1.6vw, 1.4rem)/1.35 var(--serif); color: #fff; }
.cl-quote figcaption { font-size: .78rem; color: rgba(255,255,255,.55); }
.hero-img { object-position: 45% 60%; }
/* top bar: clear over the hero, whiter frosted glass after */
.top:not(.solid) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top.solid { background: rgba(255,255,255,.78); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
.top.solid { background: rgba(255,255,255,.6); transition: background .3s, color .35s, box-shadow .35s; }
.top.solid.over-dark { background: #fff; }

/* ---------- sellers v3: symmetric ---------- */
.sellers { background: var(--sand); padding: clamp(88px, 11vw, 130px) 0; }
.sell-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.sell-intro { display: flex; flex-direction: column; justify-content: center; }
.sell-intro h2 { margin-bottom: 16px; }

.opt-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.opt-card { background: var(--paper); border: 1.5px solid transparent; border-radius: 18px; padding: 22px 24px 20px; display: flex; flex-direction: column; transition: border-color .3s, opacity .3s, transform .3s var(--ease), box-shadow .3s; }
.oc-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.oc-n { font: 400 .9rem var(--serif); color: var(--brass); }
.opt-card h3 { font-size: 1.6rem; margin: 8px 0 2px; }
.oc-tag { margin: 0 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wine-2); }
.opt-card dl { margin: 0; display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opt-card dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.opt-card dt { color: var(--muted); }
.opt-card dd { margin: 0; text-align: right; font-weight: 500; }

.opt-cards .badge { position: static; }
.opt-cards.picked .opt-card:not(.best) { opacity: .5; }
.opt-cards .opt-card.best { border-color: var(--wine); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(74,21,49,.55); }
.opt-card.best .badge { opacity: 1; transform: none; }
.sell-form { margin-top: 22px; background: var(--paper); border-radius: 18px; padding: 22px 24px; }
.sf-title { margin: 0 0 12px; font: 400 1.3rem var(--serif); }
.sf-title b { font-style: italic; font-weight: 400; color: var(--wine); }
.sf-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; }
.sf-row input { width: 100%; padding: 13px 18px; border: 1px solid #d6c8b5; border-radius: 999px; background: #fff; font: 400 1rem var(--sans); }
.sf-row input.invalid { border-color: #b3261e; }
.sell-form .fine { margin: 12px 0 0; }
.sell-form .fine a { color: var(--wine); font-weight: 600; }

@media (max-width: 900px) {
  .sell-top, .opt-cards, .sf-row { grid-template-columns: 1fr; }
  .sell-top { gap: 24px; }
  
}

/* ---------- sellers: compact ---------- */
.sellers { padding: clamp(64px, 8vw, 96px) 0; }
.sell-top { gap: 36px; }
.sell-intro h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 10px; }

.opt-card { padding: 16px 20px 14px; }
.opt-card h3 { font-size: 1.35rem; margin: 4px 0 0; }
.oc-tag { margin: 0 0 10px; }
.opt-card dl { gap: 6px; padding: 10px 0; }
.opt-card dl div { font-size: .85rem; }

.sell-form { margin-top: 14px; padding: 16px 20px; }
.sf-title { font-size: 1.15rem; margin-bottom: 10px; }
.sf-row input { padding: 11px 16px; }
.sell-form .fine { margin-top: 8px; font-size: .74rem; }

/* ---------- hero video ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 60%; opacity: 0; transition: opacity .6s ease; }
.hero-video.ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* ---------- sellers: cards are the picker ---------- */

.opt-card { cursor: pointer; outline: none; }
.oc-tag { font-size: .74rem; }
.opt-card:hover, .opt-card:focus-visible { border-color: var(--wine); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(74,21,49,.45); }
.opt-cards:hover .opt-card:not(:hover):not(.best) { opacity: .7; }
.opt-cards.picked .opt-card:not(.best):hover { opacity: .9; }
.opt-card.best { background: var(--wine); color: #fff; border-color: var(--wine); }
.opt-card.best dt, .opt-card.best .oc-tag { color: rgba(255,255,255,.7); }
.opt-card.best dl { border-color: rgba(255,255,255,.2); }
.opt-card.best .oc-n { color: var(--brass); }
.opt-card.best .badge { background: var(--brass); color: var(--night); }
.opt-card dl { border-bottom: 0; padding-bottom: 0; }

/* ---------- about: compact social pills ---------- */
.soc-pills { list-style: none; margin: 22px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soc-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 500; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.soc-pills a:hover { border-color: var(--wine); transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(42,11,27,.4); }
.soc-pills svg { width: 20px; height: 20px; flex: none; }
.zl-block { margin-top: clamp(40px, 5vw, 64px); }
/* track record: inset/rounded dark panel drawn on a layer, section backdrop matches the chat section above */
.map { background: var(--paper); clip-path: none; color: #fff; }
.map::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--night); clip-path: inset(0 var(--mx, 0px) round var(--mr, 0px)); will-change: clip-path; }
.map > .wrap { position: relative; z-index: 1; }

/* ---------- sellers: graphical cards ---------- */
.opt-card { padding: 0 0 14px; overflow: hidden; }
.opt-card > :not(.oc-img) { margin-left: 20px; margin-right: 20px; }
.oc-img { position: relative; aspect-ratio: 16 / 7; overflow: hidden; margin-bottom: 12px; }
.oc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.opt-card:hover .oc-img img { transform: scale(1.05); }
.oc-n2 { position: absolute; left: 12px; top: 10px; font: 400 .85rem var(--serif); color: #fff; background: rgba(28,8,18,.55); padding: 3px 9px; border-radius: 999px; }
.opt-card .oc-top { position: absolute; top: 10px; right: 0; margin: 0 10px 0 0 !important; z-index: 1; }
.opt-card .oc-n { display: none; }
.opt-card { position: relative; }
.oc-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 10px; }
.oc-meters div { display: grid; gap: 4px; }
.oc-meters span { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.oc-meters b { display: flex; gap: 3px; }
.oc-meters i { flex: 1; height: 6px; border-radius: 3px; background: #e3d8ca; transition: background .3s; }
.oc-meters i.f { background: var(--brass); }
.opt-card.best .oc-meters span { color: rgba(255,255,255,.7); }
.opt-card.best .oc-meters i { background: rgba(255,255,255,.2); }
.opt-card.best .oc-meters i.f { background: var(--brass); }
.opt-card dl { padding-top: 10px; }
.sell-top { grid-template-columns: 1fr; margin-bottom: 26px; }
.sell-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; align-items: end; }
.sell-intro .eyebrow, .sell-intro h2 { grid-column: 1; }

@media (max-width: 900px) { .sell-intro { grid-template-columns: 1fr; } .sell-intro > * { grid-column: 1 !important; grid-row: auto !important; } }

/* ---------- zillow strip, subtle ---------- */
.zl-v2 { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0; margin-top: clamp(36px, 4vw, 52px); background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; }
.zl2-rating { display: flex; align-items: center; gap: 14px; padding: 20px 36px 20px 0; border-right: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.zl2-rating > b { font: 300 3rem/1 var(--serif); letter-spacing: -.02em; }
.zl2-rating > span { display: grid; gap: 4px; }
.zl2-rating .zl-stars { font-size: 1rem; }
.zl2-rating .zl-stars::before { color: #e3d8ca; }
.zl2-rating .zl-stars::after { color: var(--brass); }
.zl2-rating small { font-size: .8rem; color: var(--muted); }
.zl2-rating:hover small { color: var(--wine); }
.zl2-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.zl2-stats li { padding: 18px 24px; }
.zl2-stats li + li { border-left: 1px solid var(--line); }
.zl2-stats b { display: block; font: 400 1.5rem/1.1 var(--serif); white-space: nowrap; }
.zl2-stats b span { font: inherit; }
.zl2-stats li > span { font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) {
  .zl-v2 { grid-template-columns: 1fr; }
  .zl2-rating { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .zl2-stats { grid-template-columns: 1fr 1fr; }
  .zl2-stats li { padding: 14px 0; }
  .zl2-stats li + li { border-left: 0; }
  .zl2-stats li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .zl2-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .zl2-stats b { font-size: 1.2rem; }
}
.sell-intro { display: block; }

/* homeowners: numbered steps make the flow obvious */
.sell-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 400 1.15rem var(--serif); }
.sell-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font: 600 .8rem var(--sans); }
.sell-step em { font-size: .85rem; color: var(--muted); }
.sell-form .sell-step { margin-bottom: 4px; }
.sf-title { font: 400 .95rem var(--sans); color: var(--muted); margin: 0 0 12px; }
.sf-title b { color: var(--wine); font-style: normal; }

.sf-row { grid-template-columns: 1fr auto; }
.bp-sell { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; background: var(--wine); color: #fff; font-size: .9rem; }
.bp-sell b { font-weight: 600; }
.bp-sell button { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; flex: none; }
@media (max-width: 900px) { .sf-row { grid-template-columns: 1fr; } }
/* deals: grid spans the full section width */
.deals { padding-bottom: 0; }
.deals > .wrap { width: 100%; max-width: none; }

/* ---------- deals: full-height expanding panels, no cream bands ---------- */

/* deals panels: keep the rounded slide-over from the section above */

.dp-link { margin-bottom: 10px; font-size: .8rem; color: rgba(255,255,255,.6); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.dp-link:hover { color: #fff; border-color: #fff; }

/* bag: known contact = one tap */
.bp-me { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.6); border: 1px solid rgba(28,8,18,.12); font-size: .88rem; margin: 6px 0 10px; }
.bp-me b { font-weight: 600; }
.bp-change { border: 0; background: none; color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; flex: none; }
.bp-form.known .bp-fields input:not(#bpNote), .bp-form.known .bp-consent { display: none; }

/* ---------- deals: sticky photo + scrolling story ---------- */
.deals.deals-story { background: var(--cream); color: var(--ink); margin-top: -36px; border-radius: 34px 34px 0 0; position: relative; z-index: 3; box-shadow: 0 -24px 50px -20px rgba(28,8,18,.35); padding: clamp(72px, 9vw, 110px) 0 clamp(40px, 5vw, 64px); overflow: visible; }
.ds { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ds-sticky { position: sticky; top: 100px; }
.ds-sticky h2 { margin: 0 0 22px; }
.ds-frame { position: relative; aspect-ratio: 4 / 4.2; max-height: calc(100svh - 300px); width: 100%; border-radius: 20px; overflow: hidden; background: var(--sand); box-shadow: 0 40px 80px -50px rgba(28,8,18,.6); }
.ds-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.4s var(--ease); }
.ds-frame img.on { opacity: 1; transform: scale(1); }
.ds-count { position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(28,8,18,.55); backdrop-filter: blur(8px); color: #fff; font: 400 .9rem var(--serif); }
.ds-count b { font-weight: 500; }
.ds-dots { display: flex; gap: 6px; margin-top: 14px; }
.ds-dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); cursor: pointer; transition: background .3s, width .3s; }
.ds-dots i.on { width: 44px; background: var(--wine); }
.ds-steps { list-style: none; margin: 0; padding: 18vh 0 22vh; }
.ds-step { padding: 34px 0 34px 28px; border-left: 2px solid var(--line); min-height: 46vh; display: flex; flex-direction: column; justify-content: center; opacity: .38; transition: opacity .5s, border-color .5s; }
.ds-step.on { opacity: 1; border-color: var(--wine); }
.ds-mphoto { display: none; }
.ds-n { font: 400 1rem var(--serif); color: var(--brass); }
.ds-step h3 { font: 300 clamp(2rem, 3.4vw, 3.2rem)/1.02 var(--serif); letter-spacing: -.02em; margin: 6px 0 10px; }
.ds-step p { color: var(--muted); font-size: 1.05rem; max-width: 28em; margin: 0 0 16px; }
.ds-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.ds-more > * { min-height: 0; }
.ds-step.on .ds-more { grid-template-rows: 1fr; }
.ds-more { overflow: hidden; }
.ds-step .dc-tags li { border-color: var(--line); color: var(--ink); }
.ds-step .dc-rehab { color: var(--muted); opacity: 1; }
.ds-step .dc-meter i { background: #e3d8ca; opacity: 1; }
.ds-step .dc-meter i.f { background: var(--brass); }
.ds-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 4px; }
.ds-step .add { margin: 0; color: var(--wine); border-color: var(--wine); }
.ds-step .add.on { background: var(--brass); border-color: var(--brass); color: var(--night); }
.ds-step .dc-ask { color: var(--wine); margin: 0; }
.ds-foot { margin-top: 10px; }
.ds-foot .dp-link { color: var(--muted); border-color: var(--line); }
.ds-foot .dp-link:hover { color: var(--wine); border-color: var(--wine); }
@media (max-width: 900px) {
  .deals.deals-story { margin-top: -24px; border-radius: 24px 24px 0 0; padding-top: 56px; }
  .ds { grid-template-columns: 1fr; }
  .ds-sticky { position: static; }
  .ds-frame, .ds-dots { display: none; }
  .ds-steps { padding: 0; }
  .ds-step { min-height: 0; opacity: 1; border-left: 0; padding: 0 0 36px; }
  .ds-mphoto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
  .ds-more { grid-template-rows: 1fr; }
}
.deals-story > .wrap.ds { width: min(1240px, 100% - 40px); margin-left: auto; margin-right: auto; max-width: none; }
.ds-left { align-self: stretch; }
.deals-story .ds-foot { width: min(1240px, 100% - 40px); margin-left: auto; margin-right: auto; }
.ds-more-in { min-height: 0; overflow: hidden; }
@media (max-width: 560px) {
  .top-in { gap: 8px; }
  .brand { gap: 8px; }
  .agent-mark b { font-size: 1.15rem; }
  .z-pill { margin-left: auto; }
  .top-phone, .z-pill + .top-phone { width: 36px; height: 36px; margin-left: 0; }
  .top-phone + .box-btn { margin-left: 0; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .hero-img { transform: none; } }

/* map labels by place type */
.labels .lbl-city { font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.labels .lbl-town { font: italic 400 13px var(--serif); }
.labels text[data-for="Whitney"], .labels text[data-for="Winchester"] { font-size: 11px; }
.legend text { text-anchor: start; paint-order: stroke; stroke: var(--night); stroke-width: 3px; }
.legend .lbl-city { font: 600 9px var(--sans); letter-spacing: .12em; fill: rgba(255,255,255,.75); }
.legend .lbl-town { font: italic 400 11px var(--serif); fill: rgba(255,255,255,.75); }
@media (max-width: 560px) { .labels .lbl-city { font-size: 15px; } .labels .lbl-town { font-size: 16px; } .labels text[data-for="Whitney"], .labels text[data-for="Winchester"] { font-size: 13px; } .legend text { font-size: 13px !important; } }
.labels text.on { fill: var(--night); stroke: var(--brass); font-weight: 700; }
.area[aria-pressed="true"] path { fill: var(--brass); }
.sales-list, .sales-track { list-style: none; margin: 0; padding: 0; }
