:root { --surface:#f1eee7; --section-space:clamp(52px,6.2vw,90px); }
button, a, select, input, summary { touch-action:manipulation; }
.chapter, .directory { margin-top:var(--section-space); scroll-margin-top:20px; }
.chapter h2, .detail-section h2, .detail-columns h2 { margin-bottom:24px; }
.chapter h3 { font-size:clamp(24px,2.3vw,34px); }
.actions, .deal-tabs, .pills, .recent-tabs { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.deal-tabs { margin:32px 0 0; gap:3px; }
.deal-tabs button {
  background:#152b30df; color:white; border:1px solid #ffffff55;
  border-radius:6px; min-height:40px; padding:6px 18px; font-weight:600;
}
.deal-tabs button[aria-pressed=true] { background:var(--paper); color:var(--ink); border-color:var(--paper); }
#search { margin-top:-22px; }
.advanced-search { grid-column:1/-1; color:var(--muted); font-size:13px; border-top:1px solid var(--line); margin:12px 12px 0; padding-top:5px; }
.advanced-search summary { cursor:pointer; width:fit-content; padding:5px 0; }
#search .advanced-search label { max-width:230px; margin:8px 0; padding:0; border:0; }
#shortcuts { display:flex; gap:10px 20px; flex-wrap:wrap; align-items:center; margin-top:22px; font-size:14px; }
#shortcuts span, .chapter small { color:var(--muted); }
#shortcuts a, .text-action, footer a:hover, footer button:hover { text-decoration:underline; text-underline-offset:4px; }
.saved-link { display:grid; place-items:center; min-width:32px; min-height:44px; font:28px Arial; }
.category-row,.agent-row,.collection-row { display:grid; gap:22px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.category-row .photo-link { display:grid; grid-template-columns:86px 1fr; column-gap:15px; align-content:center; padding-block:14px; border-block:1px solid var(--line); }
.photo-link img { width:100%; object-fit:cover; display:block; border-radius:5px; }
.category-row img { grid-row:1/3; height:76px; }
.photo-link strong { font:normal clamp(23px,2vw,30px)/1.15 var(--serif); align-self:end; }
.photo-link small { color:var(--muted); padding-top:4px; font-size:13px; }
.photo-link:hover strong, .journal-list a:hover h3, .agent-tile:hover h3 { color:var(--accent-ink); }
.collection-row { grid-template-columns:1.35fr 1fr 1fr; }
.collection-row img { height:clamp(140px,17vw,245px); margin-bottom:12px; }
.collection-row small { display:block; }
.recent-tabs, .pills { gap:4px; margin-bottom:18px; }
.recent-tabs button, .pills button { border-radius:5px; padding:8px 13px; min-height:42px; font-size:14px; }
.recent-tabs button[aria-pressed=true], .pills button[aria-pressed=true] { background:var(--ink); color:white; }
.card-specs { margin-top:4px; font-size:13px; color:var(--muted); }
.product-card .price { gap:7px; flex-wrap:wrap; }
del { color:var(--muted); font-size:13px; font-weight:400; }
.product-card .price del { margin-right:4px; }
.fav-button,.card-next {
  position:absolute; display:grid; place-items:center; width:39px; height:39px;
  border-radius:50%; color:var(--ink); background:#fffdf9ef;
}
.fav-button { right:10px; top:10px; font:24px/1 Arial; }
.product-card > .compare-toggle { right:55px; top:10px; width:39px; height:39px; min-height:39px; }
.fav-button[aria-pressed=true] { color:var(--accent-ink); }
.card-next { left:12px; top:clamp(62px,8vw,160px); font:26px Georgia; opacity:0; }
.product-card:hover .card-next, .product-card:focus-within .card-next { opacity:1; }
.media-flag { display:block; color:var(--muted); margin-top:5px; font-size:12px; }
.map-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.map-tools .pills { margin:0; }
.map-tools label { display:flex; align-items:center; gap:8px; }
select, .calc input { accent-color:var(--ink); }
.map-tools select, #product-form select { background:white; padding:9px; border:1px solid var(--line); border-radius:4px; }
.map-spread { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); border:1px solid var(--line); border-radius:7px; overflow:hidden; }
.map-surface { position:relative; isolation:isolate; overflow:hidden; min-height:260px; background:#e8e4d9; }
.map-surface>img { width:100%; height:100%; position:absolute; inset:0; }
.map-pin { position:absolute; transform:translate(-50%,-100%); padding:6px 9px; background:white; color:var(--ink); border:1px solid #687873; border-radius:4px; font-weight:bold; font-size:12px; box-shadow:0 2px 4px #192d3226; }
.map-pin::after { content:''; position:absolute; left:50%; top:100%; border:4px solid transparent; border-top-color:#687873; }
.map-pin[aria-pressed=true] { z-index:1; background:var(--ink); color:white; }
.attribution { position:absolute; right:0; bottom:0; font-size:10px; background:#fffdf9eb; color:#254147; padding:2px 5px; }
.attribution a { text-decoration:underline; }
.map-list { padding:24px; height:400px; overflow:auto; }
.map-list h3,.map-list small { margin:0; }
.map-list a,.offer-line { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.map-list a img,.offer-line img { width:84px; height:64px; border-radius:4px; object-fit:cover; }
.map-list a b,.offer-line small,.offer-line b { display:block; font-size:14px; }
.map-list a b,.offer-line b { color:var(--accent-ink); }
.offer-section,.finance,.insights,.alerts,.detail-columns { display:grid; grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr); gap:clamp(25px,5vw,78px); align-items:start; }
.offer-section { border-block:1px solid var(--line); padding:28px 0; }
.offer-section p,.insights p,.finance p,.alerts p { max-width:43ch; color:var(--muted); }
.offer-line:last-child { border:0; }
.offer-line div:last-child { margin-left:auto; text-align:right; }
.finance,.insights,.alerts { background:var(--surface); padding:clamp(22px,3.5vw,54px); border-radius:6px; }
.calc-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.calc input { background:var(--paper); border-radius:4px; color:var(--ink); }
.calc-result { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:18px 0 8px; padding-top:14px; border-top:1px solid var(--line); }
.calc-result span { font-size:14px; }.calc-result output { font:32px var(--serif); color:var(--accent-ink); }
.calc small { font-size:12px; color:var(--muted); }
.agent-tile img { width:100%; height:clamp(210px,23vw,330px); object-fit:cover; object-position:center 35%; border-radius:5px; }
.agent-tile h3 { margin:10px 0 4px; }.agent-tile p { margin:0; color:var(--muted); }
.owner { display:grid; grid-template-columns:1.12fr 1fr; background:var(--ink); color:white; border-radius:8px; overflow:hidden; }
.owner>div { padding:clamp(26px,4vw,62px); }.owner>img { width:100%; height:100%; min-height:255px; object-fit:cover; }
.owner p { color:#e3e8e5; max-width:43ch; }.owner .actions button:not(.btn) { color:white; text-decoration:underline; text-underline-offset:4px; padding:10px; }
.bar-label { display:flex; justify-content:space-between; gap:12px; font-size:14px; margin:10px 0 4px; }
.market-bar { height:5px; background:var(--accent-ink); }
.journal-list a { display:grid; grid-template-columns:120px 1fr auto; align-items:center; gap:24px; padding:18px 0; border-top:1px solid var(--line); }
.journal-list img { width:120px; height:86px; object-fit:cover; background:var(--surface); }
.journal-list p { margin:6px 0 0; max-width:78ch; font-size:15px; color:var(--muted); }
.alerts { align-items:center; }.alerts .btn { justify-self:end; }.alerts h2,.alerts p { margin:0 0 5px; }
footer.wrap { display:grid; grid-template-columns:1.3fr 1fr 1fr 1.1fr; align-items:start; padding:48px 0; }
footer.wrap>div { display:grid; align-content:start; gap:7px; }footer button { text-align:left; padding:0; }footer .disclosure { grid-column:1/-1; padding-top:20px; border-top:1px solid var(--line); }
.footer-brand strong { font:28px var(--serif); }.footer-brand small { max-width:25ch; }
.detail-title { margin:16px 0 24px; }.detail-title p { margin:0 0 8px; color:var(--muted); }
.detail-lead { display:grid; grid-template-columns:1.45fr minmax(290px,1fr); gap:24px; }
.gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; overflow:hidden; border-radius:6px; }
.gallery button { padding:0; height:120px; }.gallery button:first-child { grid-column:1/-1; height:clamp(260px,28vw,420px); }.gallery img { width:100%;height:100%;object-fit:cover; }
.listing-sheet { background:var(--surface); padding:clamp(20px,2.8vw,42px); align-self:start; border-radius:6px; }
#screen .listing-sheet h2 { margin:8px 0 14px; }.listing-sheet dl div { display:flex; justify-content:space-between; border-top:1px solid var(--line); padding:8px 0; gap:10px; }
.listing-sheet dd { margin:0; text-align:right; }.listing-sheet .actions { margin:9px 0; }
.fav-button.inline { position:static; display:inline-flex; gap:6px; width:auto; height:44px; padding:0 12px; font:600 14px Arial; border:1px solid var(--line); border-radius:5px; }.fav-button.inline span { font-size:22px; }
.listing-sheet .compare-inline { margin:0; }
.detail-columns,.detail-section,.detail-plan { margin:52px 0; }.detail-columns h3 { font-size:28px; margin-bottom:16px; }.detail-columns video { width:100%; display:block; background:var(--ink); }
.feature-list { display:flex; flex-wrap:wrap; gap:8px; padding:0; list-style:none; }.feature-list li { border-bottom:1px solid var(--line); padding:6px 10px; }
.assigned { display:flex; align-items:center; gap:18px; padding:18px; border-block:1px solid var(--line); }.assigned img { width:88px; height:100px; object-fit:cover; }.assigned a { display:block; font:24px var(--serif); margin:4px 0; }
.text-action { display:inline-block; padding:8px 0; font-size:14px; }
.history { display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-block-end:1px solid var(--line); margin:0; }
.units-table { overflow-x:auto; }.units-table table { border-collapse:collapse; width:100%; }.units-table td,.units-table th { text-align:left; padding:11px; border-bottom:1px solid var(--line); }.units-table td a { text-decoration:underline; }
.profile { display:flex; gap:24px; align-items:center; margin-bottom:40px; }.profile img { width:30%; height:300px; object-fit:cover; object-position:50% 32%; }
.story { max-width:760px; margin:auto; }.story>img { width:100%; height:280px; object-fit:cover; background:var(--surface); margin:28px 0 12px; }
#screen>h1 { margin-bottom:20px; }
#modal.lightbox { width:min(1100px,100vw); max-width:100vw; max-height:100dvh; padding:20px; }
#modal.lightbox h2 { font-size:28px; }.lightbox-media img { width:100%; height:min(65dvh,730px); object-fit:contain; background:#16262a; margin:12px 0; }
.gallery-bar { display:flex; justify-content:space-between; align-items:center; gap:12px; }.gallery-bar button { width:44px; height:44px; border:1px solid var(--line); border-radius:50%; }
.demo-note { color:var(--muted); font-size:14px; }
.catalog-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }.catalog-filters .btn { justify-self:start; }
@media(max-width:1050px){
 .category-row { grid-template-columns:1fr 1fr; }.category-row .photo-link { border-bottom:0; }
 .bar { gap:12px; }.bar nav { gap:12px; }.map-spread { grid-template-columns:1.45fr 1fr; }
}
@media(max-width:760px){
 .map-spread,.detail-lead,.offer-section,.finance,.insights,.alerts,.detail-columns { grid-template-columns:1fr; }
 .map-tools { align-items:flex-start; flex-wrap:wrap; }.map-list { height:235px; padding:16px; }
 .agent-row,.collection-row { grid-template-columns:1fr 1fr; }.collection-row .photo-link:first-child { grid-column:1/-1; }.agent-tile img { height:210px; }
 .owner>img { min-height:180px; }.journal-list a { grid-template-columns:84px 1fr; gap:12px; }.journal-list img { width:84px; }.journal-list a>span { display:none; }
 .alerts .btn { justify-self:start; }footer.wrap { grid-template-columns:1fr 1fr; }
 #search { margin-top:-13px; }.advanced-search { margin:3px 3px 0; }.catalog-filters { grid-template-columns:1fr 1fr; }
 .card-next { opacity:1; width:36px; height:36px; top:70px; }
}
@media(max-width:550px){
 .bar .tools { gap:2px; }.saved-link { min-width:25px; }.brand { gap:3px; }
 .hero>.wrap { padding-top:24px; }.deal-tabs { margin-top:18px; }.deal-tabs button { padding:5px 12px; font-size:14px; }.hero #search label { font-size:12px; }
 #shortcuts { font-size:12px; gap:6px 14px; }.category-row { gap:6px 12px; }.category-row .photo-link { grid-template-columns:1fr; gap:3px; border:0; padding:0; }.category-row img { grid-row:auto; height:85px; }.photo-link strong { font-size:22px; }
 .directory .heading,.chapter .heading { align-items:center; }.heading a { font-size:13px; }
 .agent-row,.collection-row { gap:16px 12px; }.agent-tile img { height:178px; }.agent-tile h3 { font-size:22px; }.agent-tile p { font-size:13px; }.owner { grid-template-columns:1fr; }.owner img { height:175px; min-height:0; }
 .offer-line { gap:8px; }.offer-line img { width:58px; height:58px; }.offer-line strong,.offer-line b { font-size:14px; }.offer-line small { font-size:12px; }
 .map-pin { font-size:10px; padding:4px 6px; }.map-surface { min-height:260px; }
 .profile { flex-direction:column; align-items:start; }.profile img { width:100%; height:230px; }
 .gallery button:first-child { height:235px; }.gallery button { height:80px; }
 .listing-sheet .actions button { font-size:13px; }.units-table th,.units-table td { padding:7px 4px; font-size:12px; }
 .detail-columns,.detail-section,.detail-plan { margin:34px 0; }
}
.skip { position:absolute; left:12px; top:-100px; background:var(--ink); color:white; padding:10px 18px; z-index:8; }
.skip:focus { top:8px; }
.poi-list { display:grid; margin-bottom:12px; }
.poi-list button { display:flex; min-height:44px; justify-content:space-between; gap:8px; align-items:center; border-top:1px solid var(--line); padding:8px 0; text-align:left; }
.poi-list button[aria-pressed=true] { color:var(--accent-ink); }
.zoom-map .map-pin { min-width:28px; min-height:28px; }
.map-caption { position:absolute; top:10px; left:10px; background:#fffdf9ee; padding:4px 10px; font-size:13px; }
#modal.lightbox { width:100vw; height:100dvh; max-width:100vw; margin:0; border-radius:0; background:#122226; color:#fffdf8; }
.lightbox .lightbox-media img { height:calc(100dvh - 185px); }
@media(max-width:600px){
 #projects .heading { align-items:flex-start; }
 #projects .heading .actions { width:100%; justify-content:space-between; }
}
.map-result { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px; border-bottom:1px solid var(--line); }
.map-result a { border:0; }.map-result button { font-size:22px; width:38px; height:44px; }
.map-result[data-active=true] { background:#e8eee8; }.map-result[data-active=true] button { color:var(--accent-ink); }
.tour-stage { display:grid; grid-template-columns:minmax(0,3fr) minmax(180px,1fr); gap:20px; align-items:center; }
.tour-plan { background:var(--paper); color:var(--ink); padding:18px; }
.tour-plan h3 { font-size:24px; }.tour-plan>div { position:relative; }.tour-plan img { display:block; width:100%; height:auto; aspect-ratio:auto; margin:8px 0; }
.tour-plan>div button { position:absolute; transform:translate(-50%,-50%); width:30px; height:30px; border-radius:50%; background:var(--ink); color:white; }
.tour-plan>div button[aria-pressed=true] { background:var(--accent-ink); }
.tour-plan li button { min-height:34px; text-decoration:underline; }.tour-plan li button[aria-pressed=true] { font-weight:bold; }
@media(max-width:650px){
 .tour-stage { display:block; }.lightbox .tour-stage .lightbox-media img { height:32dvh; }.tour-plan { display:grid; grid-template-columns:1fr 1fr; gap:8px; align-items:center; padding:10px; }
 .tour-plan h3 { grid-column:1/-1; }.tour-plan ol { padding-left:22px; }
}
#search .advanced-search[open] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px 18px; }
.advanced-search summary { grid-column:1/-1; }
.advanced-search input[type=number] { min-height:36px; border-radius:4px; }
#search label.plan-check,.catalog-filters label.plan-check { display:flex; align-items:center; flex-direction:row; gap:8px; min-height:44px; }
.plan-check input[type=checkbox] { width:17px; height:17px; min-height:17px; accent-color:var(--ink); }
@media(max-width:600px){
 #search .advanced-search[open] { grid-template-columns:1fr 1fr; }
 #search .advanced-search .plan-check { grid-column:1/-1; }
}
