*{ box-sizing:border-box; }
body{ margin:0; background:#fbfaf7; color:#1c1f24; font-family:'Lora',Georgia,serif; font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; }
body.locked{ overflow:hidden; }
h1,h2,.btn,.status,.price,.agent-name{ font-family:'Bricolage Grotesque',Arial,sans-serif; }
.wrap{ max-width:1040px; margin:0 auto; padding:0 22px; }
.hero{ position:relative; min-height:64vh; background:#0E1116; display:flex; align-items:flex-end; }
.hero-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero::after{ content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(10,12,16,.82), rgba(10,12,16,.05) 62%); }
.hero-text{ position:relative; z-index:1; color:#fff; width:100%; max-width:1040px; margin:0 auto; padding:0 22px 30px; }
h1{ font-size:42px; line-height:1.12; margin:10px 0 6px; }
.price{ font-size:28px; font-weight:600; margin:0; }
.status{ display:inline-block; background:#E2984A; color:#14110c; font-size:13px; font-weight:600; padding:4px 10px; border-radius:3px; letter-spacing:.03em; }
.status-sold{ background:#c44536; color:#fff; }
.status-pending{ background:#f3efe6; color:#14110c; }
section{ padding:28px 0; border-bottom:1px solid #e8e4da; }
h2{ font-size:24px; margin:0 0 14px; }
.desc{ white-space:pre-line; margin:0; max-width:72ch; }
.grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:8px; }
.shot{ padding:0; border:0; background:#eee; cursor:pointer; aspect-ratio:3/2; overflow:hidden; display:block; width:100%; }
.shot img{ width:100%; height:100%; object-fit:cover; display:block; }
.player{ position:relative; aspect-ratio:16/9; background:#000; }
.player video,.player iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.btn{ display:inline-block; background:#0E1116; color:#fff; border-radius:3px; padding:11px 18px; font-size:15px; font-weight:600; text-decoration:none; overflow-wrap:anywhere; }
.open-houses{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.open-houses strong{ display:block; font-weight:600; }
.links{ display:flex; flex-wrap:wrap; gap:10px; }
.agent-card{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.agent-photo{ width:88px; height:88px; object-fit:cover; border-radius:50%; }
.agent-logo{ max-width:150px; max-height:70px; object-fit:contain; }
.agent p{ margin:0 0 4px; }
.agent .links{ margin-top:12px; }
.agent-name{ font-size:20px; font-weight:600; }
.plan{ margin-bottom:18px; }
.plan-bar{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.plan-bar button{ width:36px; height:36px; background:#fff; border:1px solid #ccc; border-radius:3px; font-size:18px; cursor:pointer; }
.plan-zoom{ font-size:14px; color:#666; }
.plan-pages{ overflow:auto; max-height:80vh; background:#fff; border:1px solid #e0dccf; }
.plan-pages canvas{ display:block; }
.lightbox{ position:fixed; inset:0; z-index:50; background:rgba(0,0,0,.96); display:flex; align-items:center; justify-content:center; }
.lightbox[hidden]{ display:none; }
.lightbox img{ max-width:100vw; max-height:100vh; object-fit:contain; display:block; }
.lightbox button{ position:absolute; background:rgba(0,0,0,.6); color:#fff; border:1px solid rgba(255,255,255,.3); width:46px; height:46px; font-size:22px; cursor:pointer; border-radius:3px; }
.lb-close{ top:12px; right:12px; }
.lb-prev{ left:12px; top:50%; transform:translateY(-50%); }
.lb-next{ right:12px; top:50%; transform:translateY(-50%); }
.lb-count{ position:absolute; bottom:12px; left:50%; transform:translateX(-50%); font-size:13px; color:#ccc; }
footer{ text-align:center; padding:24px 0 34px; font-size:14px; }
footer a{ color:#6b7280; }
@media (max-width:640px){ h1{ font-size:30px; } .price{ font-size:23px; } .grid{ grid-template-columns:repeat(2,1fr); } .hero{ min-height:58vh; } }
.preview-bar{ background:#e2984a; color:#14110c; padding:10px 16px; text-align:center; font-size:15px; }
.policy{ max-width:72ch; margin:0 auto; padding:30px 20px 10px; line-height:1.6; }
.policy h1{ margin:0 0 6px; }
.policy h2{ margin:28px 0 8px; font-size:20px; }
.policy ul{ padding-left:22px; }
