/* Modern style: crisp, bright and confident. Inter Tight throughout; the brokerage color (--brand) marks small details */
:root {
  --brand: #0B0F19;
  --ink: #0B0F19;
  --ink-2: #3A404C;
  --muted: #667085;
  --line: #E4E7EC;
  --soft: #F5F6F8;
  --gutter: clamp(16px, 4vw, 48px);
}
body { font-family: 'Inter Tight', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 12px 20px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: #262C38; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.full { width: 100%; }
.m-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
h2 { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }

/* Nav */
.m-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.m-nav .wrap { height: 80px; display: flex; align-items: center; gap: 32px; }
.m-brand { display: flex; align-items: center; font-weight: 700; text-decoration: none; margin-right: auto; }
.m-brand img { height: 60px; width: auto; max-width: min(260px, 50vw); object-fit: contain; object-position: left; }
.m-nav nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.m-nav nav a { text-decoration: none; color: var(--ink-2); }
.m-nav nav a:hover { color: var(--ink); }

/* Title row */
.m-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 48px; padding-bottom: 28px; }
.m-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.m-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }
.m-head h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 10px 0 8px; }
.m-city { font-size: 19px; color: var(--muted); }
.m-price { text-align: right; flex: none; }
.m-price b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.m-price a { font-size: 15px; color: var(--muted); text-decoration-color: var(--brand); text-underline-offset: 4px; }
.m-price a:hover { color: var(--ink); }

/* The film */
.m-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.m-frame video, .m-frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-play { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 14px 24px 14px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.18); transition: background-color .15s; }
.m-play:hover { background: #EEF0F3; }
.m-play .play-icon { border-width: 8px 0 8px 13px; }
.m-play span:last-child { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.m-play small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Key facts */
.m-stats dl { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); border-bottom: 1px solid var(--line); }
.m-stats div { padding: 28px 0 26px; }
.m-stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.m-stats dt { font-size: 14px; color: var(--muted); }
.m-stats dd { font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }

/* Overview + tour card */
.m-overview { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; padding-top: 88px; padding-bottom: 88px; align-items: start; }
.m-story { max-width: 680px; }
.m-story h2 { font-size: clamp(30px, 3.4vw, 44px); }
.m-lede { font-size: 21px; line-height: 1.5; color: var(--ink-2); margin: 18px 0 28px; }
.m-story h3 { font-size: 18px; font-weight: 600; margin: 32px 0 8px; }
.m-story p + p { margin-top: 14px; }
.m-card { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; }
.m-agent { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.m-agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.m-agent .monogram { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 600; font-size: 18px; color: var(--ink-2); }
.m-agent b { display: block; font-weight: 600; }
.m-agent span { font-size: 14px; color: var(--muted); }
.m-open { background: var(--soft); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; font-size: 15px; }
.m-open p { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.m-open span { color: var(--ink-2); }

/* Highlights */
.m-highlights { padding-bottom: 96px; }
.m-hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; margin-top: 8px; }
.m-hl-grid button { display: block; width: 100%; cursor: zoom-in; }
.m-hl-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; transition: opacity .15s; }
.m-hl-grid button:hover img { opacity: .9; }
.m-hl-grid figcaption { font-size: 18px; font-weight: 500; line-height: 1.4; margin-top: 14px; }

/* Photos */
.m-photos { padding-bottom: 96px; }
.m-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.m-section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.m-section-head span { color: var(--muted); font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.filters button { font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: background-color .15s, color .15s; }
.filters button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; grid-auto-flow: dense; }
.g-item { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--soft); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.g-item:hover img { opacity: .9; }
.g-item.f { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* The large tile fills whatever its two rows measure; its photo's own shape mustn't stretch the rows */
.g-item.f img { position: absolute; inset: 0; }

/* Neighborhood */
.m-hood { background: var(--soft); padding: 96px 0; }
.m-hood-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.m-hood-top h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.m-hood-top p:not(.m-eyebrow) { font-size: 19px; color: var(--ink-2); }
.m-hood-top img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.m-hood-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
.m-places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.m-places h3, .m-spec h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.m-places ul { list-style: none; }
.m-places li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.35; }
.m-places li span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Details + payment */
.m-details { padding-top: 96px; padding-bottom: 96px; }
.m-details-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; margin-top: 32px; }
.m-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.m-spec dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.m-spec dt { color: var(--muted); }
.m-spec dd { text-align: right; font-weight: 500; }
.calc { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.calc-head h3 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.calc-head b { font-size: 36px; font-weight: 600; letter-spacing: -.02em; }
.calc-head span { color: var(--muted); margin-left: 4px; }
.calc-inputs { display: grid; gap: 16px; margin: 20px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-inputs label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.calc-inputs output { color: var(--ink); font-weight: 500; }
.calc-inputs input[type=range] { accent-color: var(--ink); width: 100%; }
.calc-inputs .rate { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.calc-inputs input[type=number], .calc-inputs select { font: inherit; font-size: 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; }
.calc-inputs input[type=number] { width: 96px; }
.calc-lines div { display: flex; justify-content: space-between; font-size: 15px; padding: 5px 0; }
.calc-lines dt { color: var(--muted); }
.calc .fine { margin-top: 14px; }

/* Contact */
.m-contact { background: var(--ink); color: #fff; padding: 96px 0; }
.m-contact .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.m-contact-agent img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; }
.m-contact-agent img.m-contact-logo { display: block; width: auto; height: 40px; max-width: 240px; border-radius: 0; object-fit: contain; object-position: left; margin: 28px 0 0; opacity: .92; }
.m-contact .m-eyebrow { color: #A3A8B1; }
.m-contact h2 { font-size: clamp(30px, 3.4vw, 44px); }
.m-contact-agent > p:not(.m-eyebrow) { color: #A3A8B1; margin-top: 6px; }
.m-contact-lines { display: grid; gap: 4px; margin-top: 24px !important; }
.m-contact-lines a { color: #fff; text-decoration: none; }
.m-contact-lines a:hover { text-decoration: underline; }
.m-form-title { font-size: 24px !important; margin-bottom: 24px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: #A3A8B1; }
.field input, .field textarea, .field select { font: 16px/1.4 inherit; font-family: inherit; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color .15s; }
.field select option { color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
form .btn { justify-self: start; background: #fff; color: var(--ink); padding: 12px 32px; }
form .btn:hover { background: #E6E8EC; }

footer { background: var(--ink); color: #8B9099; border-top: 1px solid #1F2430; padding: 32px 0 48px; font-size: 13px; line-height: 1.7; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

@media (max-width: 960px) {
  .m-nav nav { display: none; }
  .m-overview, .m-hood-top, .m-details-grid, .m-contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .m-card { position: static; max-width: 480px; }
  .m-stats dl { grid-template-columns: repeat(3, 1fr); }
  .m-stats div:nth-child(4) { padding-left: 0; border-left: 0; }
  .m-stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .m-hl-grid { grid-template-columns: repeat(2, 1fr); }
  .m-places { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .m-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 32px; }
  .m-price { text-align: left; }
  .m-frame { border-radius: 12px; }
  .m-play { left: 12px; bottom: 12px; padding: 10px 18px 10px 14px; font-size: 15px; }
  .m-stats dd { font-size: 20px; }
  .m-stats div + div { padding-left: 16px; }
  .m-overview { padding-top: 56px; padding-bottom: 56px; }
  .m-places, .m-spec, form { grid-template-columns: 1fr; }
  .m-hl-grid { gap: 24px 12px; }
  .m-hl-grid figcaption { font-size: 15px; margin-top: 8px; }
  .m-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .g-item.f { grid-row: auto; aspect-ratio: 3 / 2; }
  .m-hood, .m-contact { padding: 64px 0; }
  .m-details { padding-top: 64px; padding-bottom: 64px; }
  .mobile-bar { display: flex; position: fixed; inset: auto 0 0; z-index: 30; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; transform: translateY(100%); transition: transform .25s; }
  .mobile-bar.show { transform: none; }
  .mobile-bar b { font-size: 20px; font-weight: 600; }
  footer { padding-bottom: 96px; }
}
