:root {
  --ink: #212529;
  --muted: #6c757d;
  --line: #dee2e6;
  --blue: #0077c0;
  --deep: #003c64;
  --featured: #00548b;
  --water: #27adff;
  font-family: "Proxima Nova", proxima-nova, Arial, sans-serif;
  color: var(--ink);
  background: #dfe5e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(39, 173, 255, 0.55); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.mock-toolbar { position: sticky; top: 0; z-index: 50; min-height: 64px; padding: 9px clamp(16px, 2.4vw, 34px); display: grid; grid-template-columns: minmax(245px, 1fr) auto auto; align-items: center; gap: 18px; color: #fff; background: #102c3c; box-shadow: 0 3px 16px rgba(0,0,0,.22); }
.mock-intro { min-width: 0; display: flex; align-items: center; gap: 10px; }
.mock-label { padding: 5px 8px; color: #003c64; background: #fff; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.mock-intro strong { max-width: 275px; font-size: 11px; line-height: 1.2; }
.mock-switchers { min-width: 0; display: flex; align-items: center; gap: 8px; }
.mock-versions, .mock-surfaces { padding: 3px; display: flex; align-items: center; gap: 3px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 7px; }
.mock-versions > span, .mock-surfaces > span { padding: 0 7px 0 6px; color: #a9c5d4; font-size: 8px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.mock-versions button, .mock-surfaces button { min-height: 40px; padding: 7px 10px; color: #dceaf1; background: transparent; border: 0; border-radius: 5px; font-size: 10px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.mock-versions button:hover, .mock-surfaces button:hover { background: rgba(255,255,255,.08); }
.mock-versions button.is-selected, .mock-surfaces button.is-selected { color: #003c64; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.mock-toolbar nav { display: flex; align-items: center; gap: 8px; }
.mock-toolbar nav a { min-height: 33px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; color: #fff; font-size: 10px; font-weight: 700; text-decoration: none; }
.mock-toolbar nav a:hover { background: rgba(255,255,255,.1); }

.live-page { width: min(1440px, 100%); margin: 0 auto; background: #fff; box-shadow: 0 16px 55px rgba(22, 48, 62, .19); }
.live-header { min-height: 78px; padding: 9px 16px; display: flex; align-items: center; gap: 24px; background: #fff; border-bottom: 1px solid #e8ecee; }
.live-header > a:first-child img { width: 238px; height: auto; display: block; }
.live-header nav { display: flex; align-items: center; gap: 19px; font-size: 15px; }
.live-header .phone { margin-left: auto; color: #14364b; font-size: 14px; font-weight: 700; text-decoration: none; }
.header-icon { width: 16px; height: 16px; color: #123f5d; font-size: 12px; }
.search-icon { position: relative; border: 3px solid #123f5d; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 3px; right: -6px; bottom: -3px; background: #123f5d; transform: rotate(45deg); }

.action-bar { position: sticky; top: 64px; z-index: 40; min-height: 86px; padding: 10px 12px; display: grid; grid-template-columns: 175px 180px 175px minmax(220px, 1fr) 238px 175px; gap: 22px; align-items: center; background: #f8f9fa; border-bottom: 1px solid #dfe4e6; }
.action-bar button { min-height: 45px; padding: 9px 14px; color: #24618c; background: #fff; border: 1px solid #1f6eaa; border-radius: 6px; font-size: 15px; cursor: default; }
.action-bar button.primary { color: #fff; background: #367fc0; border-color: #367fc0; }
.mini-agent { min-width: 0; display: flex; align-items: center; gap: 9px; }
.mini-agent img { width: 44px; height: 56px; object-fit: cover; object-position: center top; }
.mini-agent p { margin: 0; display: grid; color: #52616a; font-size: 13px; }
.mini-agent strong, .mini-agent b { color: #3976a3; }
.mini-agent b { font-size: 15px; }
.agent-actions { display: grid; gap: 4px; }
.agent-actions button { min-height: 35px; padding-block: 6px; }

.listing-main { background: #f8f9fa; }
.breadcrumbs { min-height: 52px; padding: 13px 16px; display: flex; align-items: center; gap: 8px; color: #39739c; font-size: 14px; }
.breadcrumbs i { color: #9aa4aa; font-style: normal; }
.breadcrumbs strong { color: #6b7479; text-transform: uppercase; }
.listing-hero-heading { min-height: 112px; padding: 7px 16px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; background: #f8f9fa; }
.listing-hero-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 39px); font-weight: 500; line-height: .95; }
.listing-hero-heading > div:first-child p { margin: 4px 0 0; color: #6c757d; font-size: 23px; font-weight: 700; }
.hero-price { text-align: right; }
.hero-badges { margin-bottom: 10px; display: flex; justify-content: flex-end; gap: 8px; }
.hero-badges span { padding: 4px 8px; color: #fff; border-radius: 6px; font-size: 11px; font-weight: 800; }
.hero-badges .waterfront { background: var(--water); }
.hero-badges .featured { background: var(--featured); }
.hero-price > strong { display: block; font-size: 37px; line-height: 1; }
.hero-price p { margin: 6px 0; font-size: 14px; }
.hero-price small { font-size: 13px; }

.gallery { height: min(404px, 29vw); min-height: 310px; display: grid; grid-template-columns: 58.3% 20.85% 20.85%; grid-template-rows: 1fr 1fr; gap: 2px; overflow: hidden; background: #151c20; }
.gallery img { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery-main { grid-row: 1 / 3; }
.gallery button { grid-column: 3; grid-row: 2; color: #fff; background: #20272b; border: 0; font-size: 15px; }

.listing-content { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.facts-strip { margin: 0; padding: 27px 0; display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.facts-strip div { padding: 2px 14px; border-right: 1px solid #e4e7e9; text-align: center; }
.facts-strip div:last-child { border-right: 0; }
.facts-strip dt { color: var(--muted); font-size: 11px; }
.facts-strip dd { margin: 5px 0 0; font-size: 14px; font-weight: 700; }
.description-map { padding: 42px 0; display: grid; grid-template-columns: 1.35fr .65fr; gap: 45px; border-bottom: 1px solid var(--line); }
.description-map > div:first-child > a { display: inline-block; margin-bottom: 17px; padding: 10px 15px; color: #fff; background: var(--blue); border-radius: 5px; font-size: 12px; font-weight: 700; text-decoration: none; }
.description-map p { margin: 0; color: #4d5960; font-size: 14px; line-height: 1.7; }
.map-preview { position: relative; height: 220px; overflow: hidden; background: #e8edef; }
.map-art { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(33deg, transparent 44%, rgba(255,255,255,.9) 44% 51%, transparent 51%), linear-gradient(145deg, transparent 38%, rgba(232,216,174,.95) 38% 45%, transparent 45%), repeating-linear-gradient(0deg, rgba(86,151,179,.2) 0 1px, transparent 1px 38px), repeating-linear-gradient(90deg, rgba(86,151,179,.16) 0 1px, transparent 1px 44px), #cfe8e3; }
.map-art::before, .map-art::after { content: ""; position: absolute; border-radius: 50%; }
.map-art::before { width: 80%; height: 130%; left: -48%; top: -20%; background: #9ed0dc; opacity: .75; }
.map-art::after { width: 18px; height: 18px; left: 58%; top: 42%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.map-art i { position: absolute; width: 84px; height: 4px; left: 48%; top: 49%; z-index: 1; background: #f7fbfc; transform: rotate(-24deg); box-shadow: 0 0 0 1px rgba(110,130,138,.16); }
.map-preview span { position: absolute; inset: auto 50% 14px auto; transform: translateX(50%); padding: 9px 14px; color: #fff; background: rgba(0,60,100,.88); border-radius: 4px; font-size: 11px; white-space: nowrap; }
.feature-section { padding: 32px 0 20px; border-bottom: 1px solid var(--line); }
.feature-section h2, .listing-info h2 { margin: 0 0 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 28px; font-weight: 500; letter-spacing: .01em; }
.feature-grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.feature-grid div { min-height: 41px; padding: 10px 0; display: grid; grid-template-columns: 165px 1fr; gap: 12px; border-top: 1px solid #edf0f1; font-size: 12px; }
.feature-grid dt { color: #7a848a; }
.feature-grid dd { margin: 0; font-weight: 700; }
.compact-feature .feature-grid { max-width: 50%; }
.listing-info { padding: 34px 0 0; }
.listing-info p { margin: 0 0 8px; padding-left: 16px; color: #212529; font-size: 16px; line-height: 24px; }

.live-contact { width: 624px; max-width: 100%; margin: 40px 0 44px; padding: 24px; background: #fff; }
.live-contact > h2 { margin: 0 0 8px; padding-bottom: 16px; font-size: 24px; font-weight: 500; }
.contact-agent { min-height: 134px; margin-bottom: 8px; padding-bottom: 8px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.contact-agent img { width: 94px; height: 125px; object-fit: cover; object-position: center top; }
.contact-agent h3 { margin: 0 0 4px; font-size: 24px; font-weight: 500; }
.contact-agent p { margin: 0; color: #6c757d; font-size: 16px; line-height: 24px; }
.contact-agent a { display: inline-block; color: var(--blue); font-size: 16px; line-height: 24px; text-decoration: none; }
.contact-form { width: 576px; max-width: 100%; margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 10px; }
.contact-form label { display: grid; gap: 5px; color: #212529; font-size: 16px; line-height: 24px; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4) { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { min-height: 38px; padding: 6px 8px; background: #fff; border: 1px solid #ced4da; border-radius: 6px; }
.contact-form textarea { min-height: 62px; resize: none; }
.contact-form .wide, .contact-form .consent, .contact-form > button { grid-column: 1 / -1; }
.contact-form .consent { margin: 2px 0; color: #6c757d; font-size: 14px; line-height: 21px; }
.contact-form > button { min-width: 132px; min-height: 44px; margin-left: auto; padding: 10px 18px; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 6px; font-weight: 700; opacity: 1; }

.context-recommendations { position: relative; padding: 46px max(28px, calc((100% - 1120px) / 2)) 44px; overflow: hidden; scroll-margin-top: 166px; background: #fff; border-top: 1px solid #dce2e5; }
.placement-marker { position: absolute; top: 0; right: max(28px, calc((100% - 1120px) / 2)); padding: 6px 9px; color: #fff; background: #d86639; border-radius: 0 0 5px 5px; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.recommendation-heading { margin-bottom: 18px; padding-bottom: 8px; display: flex; align-items: end; gap: 15px; }
.recommendation-heading h2 { margin: 0; color: var(--ink); font-size: 28px; font-weight: 500; line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; }
.context-arrows { margin-left: auto; display: flex; gap: 7px; }
.context-arrows button { width: 34px; height: 34px; border: 1px solid #aeb9bf; border-radius: 4px; color: var(--deep); background: #fff; font-size: 17px; }
.context-arrows button:disabled { opacity: .35; }
.context-rail { padding: 2px 2px 15px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.context-rail.has-overflow:not(.is-at-end) { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 46px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 46px), transparent 100%); }
.context-rail::-webkit-scrollbar { display: none; }
.context-card { flex: 0 0 calc((100% - 48px) / 4); min-width: 0; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid #e1e5e7; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,.075); text-decoration: none; scroll-snap-align: start; }
.context-image { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #d8e2e7; }
.context-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.context-image > div { position: absolute; top: 11px; right: 11px; left: 11px; display: flex; flex-wrap: wrap; gap: 5px; }
.context-image b { padding: 5px 8px; color: #fff; background: var(--water); border-radius: 6px; font-size: 9px; }
.context-image b.featured { background: var(--featured); }
.context-image b.pending, .context-image b.changed { background: #5d727e; }
.context-card-body { padding: 12px; display: grid; }
.context-card-body > strong { font-size: 18px; }
.context-card-body > span { margin-top: 5px; color: var(--blue); font-size: 13px; font-weight: 700; }
.context-card-body > p { min-height: 34px; margin: 4px 0 0; color: #5d676d; font-size: 12px; line-height: 1.45; }
.context-card-body > b { margin-top: 9px; font-size: 11px; line-height: 1.35; }
.context-card-body > small { margin-top: 7px; color: var(--muted); font-size: 10px; }
.context-card-body > em { min-height: 36px; margin: 11px -12px -12px; padding: 8px 12px; color: #67757d; background: #f5f7f8; border-top: 1px solid #e2e6e8; font-size: 10px; font-style: normal; line-height: 1.4; }
.context-disclosure { display: none; }
[hidden] { display: none !important; }

.has-agent-integrated .live-contact { width: 100%; margin-bottom: 44px; padding-right: 0; padding-left: 0; }
.context-recommendations.is-integrated { margin-top: 34px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.context-recommendations.is-integrated .placement-marker { display: none; }

.context-recommendations.is-primary { background: #f8fafb; }
.context-recommendations.surface-light { background: #e6f2f7; border-top-color: #afcbd8; }
.context-recommendations.surface-light .recommendation-heading h2 { color: var(--ink); }
.context-recommendations.is-primary .context-card:first-child { flex-basis: calc(48% - 8px); }
.context-recommendations.is-primary .context-card:not(:first-child) { flex-basis: calc(24% - 12px); }

.live-footer { padding: 84px max(48px, calc((100% - 1140px) / 2)); display: grid; grid-template-columns: 1fr 1.05fr .75fr 1.4fr; gap: 34px; color: #dbe8ee; background: var(--deep); }
.live-footer > div { display: grid; align-content: start; gap: 9px; font-size: 10px; }
.live-footer strong { margin-bottom: 4px; color: #fff; font-size: 12px; }
.live-footer .footer-subhead { margin-top: 18px; }
.footer-company img { width: 190px; max-width: 100%; }
.footer-company b { margin-top: 8px; color: #fff; font-size: 15px; }
.footer-company p { color: #c5d9e3; font-size: 9px; line-height: 1.5; }

@media (max-width: 1380px) {
  .mock-toolbar { position: relative; grid-template-columns: 1fr auto; }
  .action-bar { top: 0; }
  .mock-toolbar nav { grid-column: 1 / -1; overflow-x: auto; }
  .mock-toolbar nav a { flex: 0 0 auto; }
}

@media (max-width: 1050px) {
  .action-bar { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .action-bar { top: 0; }
  .mini-agent, .agent-actions { display: none; }
  .live-header nav span:nth-child(4) { display: none; }
  .context-card { flex-basis: calc((100% - 16px) / 2); }
  .context-recommendations.is-primary .context-card:first-child { flex-basis: 59%; }
  .context-recommendations.is-primary .context-card:not(:first-child) { flex-basis: 42%; }
}

@media (max-width: 760px) {
  .mock-toolbar { position: sticky; top: 0; min-height: 62px; grid-template-columns: 1fr; padding: 8px; }
  .mock-intro, .mock-toolbar nav { display: none; }
  .mock-switchers { width: 100%; overflow-x: auto; }
  .mock-versions, .mock-surfaces { flex: 0 0 auto; }
  .mock-versions > span, .mock-surfaces > span { display: none; }
  .mock-versions button, .mock-surfaces button { min-height: 44px; flex: 1 0 auto; }
  .live-header { min-height: 62px; padding-inline: 12px; }
  .live-header > a:first-child img { width: 145px; }
  .live-header nav, .live-header .phone { display: none; }
  .live-header .header-icon:first-of-type { margin-left: auto; }
  .action-bar { position: sticky; top: 62px; z-index: 20; min-height: 58px; padding: 8px; grid-template-columns: 1fr 1fr auto; gap: 6px; }
  .action-bar button { min-height: 40px; padding-inline: 8px; font-size: 11px; }
  .action-bar > button:nth-of-type(3), .action-bar > button:last-child { display: none; }
  .breadcrumbs { padding: 10px 12px; overflow: hidden; white-space: nowrap; font-size: 10px; }
  .listing-hero-heading { padding: 16px 13px 18px; align-items: flex-start; flex-direction: column; }
  .listing-hero-heading h1 { font-size: 27px; }
  .listing-hero-heading > div:first-child p { font-size: 17px; }
  .hero-price { width: 100%; display: grid; grid-template-columns: 1fr auto; text-align: left; }
  .hero-badges { grid-column: 1 / -1; justify-content: flex-start; }
  .hero-price > strong { font-size: 30px; }
  .hero-price p { text-align: right; }
  .hero-price small { grid-column: 1 / -1; }
  .gallery { height: 320px; min-height: 0; grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .gallery-main { grid-row: 1; }
  .gallery img:not(.gallery-main), .gallery button { display: none; }
  .listing-content { width: calc(100% - 26px); }
  .facts-strip { grid-template-columns: repeat(4, 1fr); padding: 18px 0; row-gap: 14px; }
  .facts-strip div:nth-child(4), .facts-strip div:nth-child(7) { border-right: 0; }
  .facts-strip dt { font-size: 9px; }
  .facts-strip dd { font-size: 11px; }
  .description-map { padding: 26px 0; grid-template-columns: 1fr; gap: 22px; }
  .map-preview { height: 185px; }
  .feature-section h2, .listing-info h2 { font-size: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid div { grid-template-columns: 125px 1fr; }
  .compact-feature .feature-grid { max-width: none; }
  .live-contact { width: calc(100% + 26px); max-width: none; margin: 28px -13px 38px; padding: 24px 14px; }
  .live-contact > h2 { font-size: 22px; }
  .contact-agent img { width: 58px; height: 68px; }
  .contact-agent { min-height: 84px; }
  .contact-agent h3 { font-size: 20px; }
  .contact-agent p, .contact-agent a { font-size: 13px; line-height: 19px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(3), .contact-form label:nth-child(4), .contact-form .wide, .contact-form .consent, .contact-form > button { grid-column: auto; }
  .contact-form label { font-size: 13px; line-height: 19px; }
  .contact-form .consent { font-size: 11px; line-height: 16px; }
  .context-recommendations { padding: 50px 14px 72px; scroll-margin-top: 124px; }
  .placement-marker { right: 14px; }
  .recommendation-heading { margin-bottom: 16px; }
  .recommendation-heading h2 { font-size: 22px; }
  .context-arrows { display: none; }
  .context-rail.has-overflow:not(.is-at-end) { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%); }
  .context-card,
  .context-recommendations.is-primary .context-card:first-child,
  .context-recommendations.is-primary .context-card:not(:first-child) { flex-basis: 84%; }
  .context-card-body > p { font-size: 13px; }
  .context-card-body > b { font-size: 12px; }
  .context-card-body > small, .context-card-body > em { font-size: 11px; }
  .has-agent-integrated .live-contact { width: calc(100% + 26px); margin: 28px -13px 38px; padding: 24px 14px; }
  .context-recommendations.is-integrated { margin-top: 28px; padding: 28px 0 30px; }
  .live-footer { padding: 42px 20px; grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
