.b-head { padding-bottom: clamp(40px, 5vw, 70px); }
.b-head .row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 80px; align-items: end; margin-top: clamp(30px, 4vw, 50px); }
.b-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.b-stats div { padding: 20px 14px 0 0; }
.b-stats b { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(40px, 4.4vw, 64px); line-height: 0.9; }
.b-stats span { display: block; margin-top: 10px; font: 400 11px/1.3 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .b-head .row { grid-template-columns: 1fr; } }
.feat { padding-bottom: clamp(60px, 8vw, 110px); }
.feat .core { display: grid; grid-template-columns: 1.5fr 1fr; overflow: hidden; }
.feat-img { position: relative; min-height: 460px; overflow: hidden; border-radius: calc(var(--r-xl) - 12px); margin: 6px; }
.feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feat:hover .feat-img img { transform: scale(1.04); }
.feat-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(8, 8, 8, 0.7)); pointer-events: none; }
.feat-tag { position: absolute; left: 18px; top: 18px; z-index: 2; }
.feat-copy { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; }
.feat-copy .loc { margin-top: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.feat-copy p.lead { margin-top: 22px; font-size: 17px; }
.feat-copy .specs { margin-top: auto; padding-top: 30px; }
.feat-copy .btn { margin-top: 26px; align-self: flex-start; }
@media (max-width: 900px) { .feat .core { grid-template-columns: 1fr; } .feat-img { min-height: 260px; } }
@media (max-width: 560px) { .feat .specs { grid-template-columns: 1fr 1fr; } }

.specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border-top: 1px solid var(--hair); }
.specs div { padding: 16px 26px 0 0; }
.specs dt { font: 400 11px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { margin-top: 8px; font: 600 18px/1 var(--f-body); }
.specs .price dd { color: var(--accent-2); }
.filters {
  position: sticky; top: 88px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 36px; padding: 6px; border-radius: 99px; background: rgba(14, 14, 14, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--hair-2);
}
.seg { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; height: 40px; padding: 0 16px; border-radius: 99px; font: 500 13px/1 var(--f-body); color: var(--ink-3); white-space: nowrap; transition: color 0.4s var(--ease), background-color 0.4s var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--ink); background: rgba(237, 237, 235, 0.09); }
.seg .free-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--moss); vertical-align: 1px; }
.count { display: flex; align-items: center; padding: 0 14px; font: 500 12px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) { .filters { border-radius: 22px; top: 80px; } .filters .seg { width: 100%; } .count { display: none; } }
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lst { display: block; width: 100%; text-align: left; }
.lst .core { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.lst-img { position: relative; aspect-ratio: 16 / 10; margin: 6px 6px 0; border-radius: calc(var(--r-xl) - 12px); overflow: hidden; background: #111; }
.lst-img img, .lst-img .mapimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.lst:hover .lst-img img, .lst:hover .lst-img .mapimg { transform: scale(1.05); }
.lst-img .mapimg { background-image: url("../img/map.webp"); background-repeat: no-repeat; }
.lst-img .mapimg i { position: absolute; width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 2px solid var(--accent); }
.badge-st { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(10, 10, 10, 0.8); font: 500 11px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--ink); }
.badge-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.badge-st.busy::before { background: var(--accent); }
.shots { position: absolute; right: 12px; bottom: 12px; z-index: 2; height: 26px; padding: 0 10px; display: grid; place-items: center; border-radius: 99px; background: rgba(10, 10, 10, 0.75); font: 500 11px/1 var(--f-mono); color: var(--ink-2); }
.lst-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.lst-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lst-top h3 { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 46px; line-height: 0.9; text-transform: uppercase; }
.lst-top .rent { font: 600 15px/1 var(--f-body); color: var(--accent-2); white-space: nowrap; }
.lst-top .rent small { font: 400 11px/1 var(--f-mono); color: var(--ink-3); margin-left: 4px; }
.lst-loc { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.lst .specs { margin-top: auto; padding-top: 18px; border-top: 0; }
.lst .specs div { padding: 14px 18px 0 0; }
.lst .specs dd { font-size: 15px; }
.lst.is-busy .lst-img img { filter: grayscale(1) brightness(0.6); }
@media (max-width: 1100px) { .listings { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .listings { grid-template-columns: 1fr; } }
.empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--ink-3); }
.howrent ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.howrent li .core { height: 100%; padding: 30px 28px 32px; }
.howrent li b { font: 500 11px/1 var(--f-mono); color: var(--accent-2); }
.howrent li h3 { margin: 18px 0 12px; font: 600 21px/1.2 var(--f-body); }
.howrent li p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .howrent ol { grid-template-columns: 1fr; } }
.basefile {
  width: min(1180px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 6px; border: 0; color: var(--ink); border-radius: 30px;
  background: rgba(237, 237, 235, 0.03); box-shadow: inset 0 0 0 1px var(--hair-2), 0 60px 120px rgba(0, 0, 0, 0.75); overflow: auto;
}
.basefile[open] { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 6px; animation: bf-in 0.6s var(--ease); }
.basefile::backdrop { background: rgba(5, 5, 5, 0.84); backdrop-filter: blur(8px); }
@keyframes bf-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.bf-close-f { position: absolute; right: 16px; top: 16px; margin: 0; z-index: 3; }
.bf-close { width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); background: rgba(10, 10, 10, 0.75); font-size: 15px; transition: color 0.4s var(--ease); }
.bf-close:hover { color: var(--ink); }

.bf-gal { display: grid; align-content: start; align-self: start; gap: 6px; padding: 6px; border-radius: 24px; background: #0c0c0c; min-width: 0; }
.bf-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #050505; touch-action: pan-y; user-select: none; }
.bf-stage img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateX(calc(var(--d, 1) * 3%)) scale(1.03); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.bf-stage img.in { opacity: 1; transform: none; }
.bf-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55); }
.bf-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; font: 300 26px/1 var(--f-body); color: var(--ink); background: rgba(10, 10, 10, 0.6); transition: background-color 0.4s var(--ease); }
.bf-nav:hover { background: rgba(10, 10, 10, 0.9); }
.bf-nav.prev { left: 12px; } .bf-nav.next { right: 12px; }
.bf-count { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 12px; letter-spacing: 0.14em; color: var(--ink); text-shadow: 0 1px 6px #000; }
.bf-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bf-thumbs button { position: relative; flex: 0 0 104px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; opacity: 0.45; transition: opacity 0.4s var(--ease); }
.bf-thumbs button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.4s var(--ease); }
.bf-thumbs button:hover { opacity: 0.8; }
.bf-thumbs button[aria-current="true"] { opacity: 1; }
.bf-thumbs button[aria-current="true"]::after { box-shadow: inset 0 0 0 2px var(--ink); }
.bf-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.bf-info { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; min-width: 0; border-radius: 24px; background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.bf-kind { font: 500 11px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); }
.bf-name { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(54px, 5.4vw, 80px); line-height: 0.85; text-transform: uppercase; }
.bf-loc { margin-top: -4px; font: 500 15px/1 var(--f-body); color: var(--ink-2); }
.bf-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); }
.bf-stats div { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.bf-stats div:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--hair); }
.bf-stats div:nth-child(even) { padding-left: 14px; }
.bf-stats dt { font: 400 11px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.bf-stats dd { margin-top: 8px; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 30px; line-height: 1; }
.bf-stats .rent dd { color: var(--accent-2); }
.bf-map { position: relative; aspect-ratio: 2 / 1; border-radius: 14px; background: #0b0d0f url("../img/map.webp") no-repeat; overflow: hidden; }
.bf-pin { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid var(--accent); transition: left 0.6s var(--ease), top 0.6s var(--ease); }
.bf-pin::before, .bf-pin::after { content: ""; position: absolute; background: var(--accent); }
.bf-pin::before { left: 50%; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; background: linear-gradient(var(--accent) 0 8px, transparent 8px calc(100% - 8px), var(--accent) calc(100% - 8px)); }
.bf-pin::after { top: 50%; left: -8px; right: -8px; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--accent) 0 8px, transparent 8px calc(100% - 8px), var(--accent) calc(100% - 8px)); }
.bf-xy { position: absolute; right: 8px; bottom: 8px; padding: 5px 9px; border-radius: 8px; font-size: 11px; letter-spacing: 0.08em; color: var(--ink); background: rgba(10, 10, 10, 0.8); }
.bf-how { font-size: 14.5px; color: var(--ink-2); }
.bf-how b { color: var(--ink); font-weight: 600; }
.bf-how kbd { height: 22px; min-width: 22px; font-size: 11px; }
.bf-cta { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.bf-cta .btn { flex: 1; justify-content: space-between; }
.bf-nophoto { position: absolute; inset: 0; background: #0b0d0f url("../img/map.webp") no-repeat; }
.bf-nophoto span { position: absolute; left: 14px; top: 14px; padding: 7px 11px; border-radius: 99px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(10, 10, 10, 0.85); color: var(--ink); }
.bf-status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px; border-radius: 99px; font-size: 12px; letter-spacing: 0.06em; }
.bf-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bf-status.free { color: var(--moss); background: rgba(166, 214, 94, 0.08); box-shadow: inset 0 0 0 1px rgba(166, 214, 94, 0.35); }
.bf-status.busy { color: #f07a69; background: rgba(200, 48, 42, 0.08); box-shadow: inset 0 0 0 1px rgba(200, 48, 42, 0.45); }
@media (max-width: 860px) {
  .basefile { border-radius: 24px; }
  .basefile[open] { grid-template-columns: 1fr; }
  .bf-thumbs button { flex-basis: 84px; }
}
