*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8f7f4;color:#282a26;font:15px/1.65 'Helvetica Neue',Arial,sans-serif}a{text-decoration:none;color:inherit}header{background:#252824;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:20px max(5%,calc((100% - 1280px)/2));gap:25px}header .brand{font:italic 28px Georgia,serif;letter-spacing:-.05em}header .brand small{display:block;font:9px Arial,sans-serif;letter-spacing:.3em;text-align:center}nav{display:flex;gap:24px;font-size:11px;letter-spacing:.08em;flex-wrap:wrap}nav a:hover,.back:hover{opacity:.6}.wrap{width:min(1200px,90%);margin:auto}.eyebrow{font:11px Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#8e8c80}.top{padding:65px 0 32px}.top h1{font:clamp(32px,4vw,58px)/1.16 Georgia,serif;font-weight:400;margin:12px 0 20px;max-width:950px}.top p{color:#76786e}.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 35px}.tabs a{border:1px solid #c7c8c0;padding:10px 16px;font-size:12px;letter-spacing:.06em}.tabs a.active,.tabs a:hover{background:#292c27;color:white;border-color:#292c27}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:80px}.card{display:block;background:#fff;border:1px solid #e3e3dc;transition:transform .2s}.card:hover{transform:translateY(-4px)}.card img{display:block;width:100%;height:250px;object-fit:cover;background:#ddd}.card-body{padding:22px}.card h2{font:23px/1.25 Georgia,serif;font-weight:400;margin:10px 0 12px}.price{font-size:21px;font-weight:600;color:#34392e}.meta{font-size:12px;color:#77796f}.detail-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:40px;margin-bottom:85px}.gallery-main{position:relative}.gallery-main img{width:100%;height:500px;object-fit:contain;background:#e9e8e3;display:block}.gallery-controls{position:absolute;bottom:16px;left:16px;display:flex;gap:8px}.gallery-controls button{background:#ffffffed;border:0;padding:12px 16px;cursor:pointer}.thumbs{display:flex;overflow-x:auto;gap:8px;padding:12px 0 22px}.thumbs button{padding:0;border:2px solid transparent;background:none;flex:0 0 92px;cursor:pointer}.thumbs button.active{border-color:#292c27}.thumbs img{height:70px;width:100%;object-fit:cover}.section-title{font:29px Georgia,serif;margin:25px 0 12px}.description{white-space:pre-line;line-height:1.85;color:#55594f}.facts{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.fact{padding:11px 0;border-bottom:1px solid #e4e4dc;font-size:13px}.fact b{display:block;color:#818278;font-weight:400;font-size:11px}.sidebar{position:sticky;top:25px;align-self:start;background:#fff;border:1px solid #e4e4dc;padding:27px}.sidebar .price{font-size:29px}.cta{display:block;text-align:center;background:#2b2f2a;color:white;padding:16px;margin-top:20px;font-size:12px;letter-spacing:.09em}.cta.secondary{background:#f1f0eb;color:#292c27;border:1px solid #d3d3cb}.back{font-size:12px;letter-spacing:.08em}.footer{background:#262824;color:#eee;padding:45px 5%;font-size:12px;text-align:center}.empty{padding:70px 0}.count{color:#8e8c80}.lightbox{position:fixed;inset:0;background:#101210ed;display:none;z-index:100;align-items:center;justify-content:center;padding:45px}.lightbox.open{display:flex}.lightbox img{max-width:100%;max-height:90vh;object-fit:contain}.lightbox button{position:absolute;top:15px;right:20px;color:white;background:none;border:0;font-size:32px;cursor:pointer}@media(max-width:850px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.sidebar{position:static}.gallery-main img{height:390px}header{flex-wrap:wrap}nav{gap:13px}}@media(max-width:550px){.cards{grid-template-columns:1fr}.card img{height:270px}.top{padding:38px 0 22px}.gallery-main img{height:290px}.facts{grid-template-columns:1fr}header{padding:18px 5%}header .brand{font-size:23px}nav{font-size:10px}}
/* Compact single-line navigation on portfolio pages */
header.portfolio-header{display:block;padding:0 max(5%,calc((100% - 1280px)/2));background:#252824}
header.portfolio-header nav{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:clamp(6px,1.8vw,24px);width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
header.portfolio-header nav::-webkit-scrollbar{display:none}
header.portfolio-header nav a{display:inline-block;flex:0 0 auto;white-space:nowrap;padding:20px 2px 17px;border-bottom:2px solid transparent;font-size:clamp(9px,.95vw,12px);letter-spacing:.04em;line-height:1.2}
header.portfolio-header nav a:hover,header.portfolio-header nav a[aria-current="page"]{border-bottom-color:#d5bda0;opacity:1}
@media(max-width:550px){header.portfolio-header{padding:0 3%}header.portfolio-header nav{gap:9px;justify-content:space-between}header.portfolio-header nav a{padding:16px 0 13px;font-size:9px;letter-spacing:0}}

/* Smaller property headings and centered swipe gallery counter */
.top h1{font-size:clamp(27px,3vw,42px);line-height:1.22;max-width:900px;margin:12px 0 16px}
.gallery-main{touch-action:pan-y}
.gallery-controls{position:static;display:flex;justify-content:center;align-items:center;margin:10px 0 0;gap:0}
.gallery-controls #counter{display:inline-block;background:transparent;color:#66695f;font:12px/1.5 Arial,sans-serif;letter-spacing:.1em;padding:2px 12px}
@media(max-width:550px){.top h1{font-size:clamp(25px,6.3vw,31px);line-height:1.23;margin:10px 0 14px}.top{padding-top:30px}.gallery-controls{margin-top:9px}}

/* Center top navigation after removing brand and contact link */
header:not(.portfolio-header){justify-content:center}header:not(.portfolio-header) nav{width:100%;justify-content:center;align-items:center;column-gap:clamp(10px,2.5vw,24px);row-gap:8px;text-align:center}@media(max-width:550px){header:not(.portfolio-header){padding:16px 3%}header:not(.portfolio-header) nav{font-size:10px;column-gap:clamp(9px,2.4vw,16px);row-gap:6px}}

/* Five-link mobile navigation: evenly spaced and full width */
@media(max-width:850px){header:not(.portfolio-header){padding:15px 2.5%;width:100%}header:not(.portfolio-header) nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:4px;align-items:center;justify-items:center;flex-wrap:nowrap;text-align:center}header:not(.portfolio-header) nav a{display:block;width:100%;white-space:nowrap;font-size:clamp(8px,2.05vw,11.5px);letter-spacing:0;text-align:center;line-height:1.25}}

/* Consistent original-cover presentation across all portfolio grids */
.cards{align-items:stretch}
.cards .card{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.cards .card>img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;background:#eeeae3}
.cards .card-body{display:flex;flex:1;flex-direction:column}
.cards .card h2{overflow-wrap:anywhere}
.cards .card .price{margin-top:auto;padding-top:12px}
.gallery-main>img{object-fit:contain;object-position:center}
.thumbs button{overflow:hidden;border-radius:2px}
.thumbs img{display:block;object-fit:cover}
@media(max-width:550px){.cards .card>img{height:auto;aspect-ratio:4/3}}

/* Unified compact property-detail heading and inline location */
.top .eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;line-height:1.7;letter-spacing:.12em}
.top .eyebrow .inline-location{display:inline;color:#76786e;font:normal 11px/1.7 Arial,sans-serif;letter-spacing:.03em;text-transform:none}
.top .eyebrow .inline-location::before{content:"·";margin-right:10px;color:#a29f94}
.top h1{font-family:Georgia,serif;font-size:28px;line-height:1.25;max-width:none;width:100%;white-space:nowrap;margin:12px 0 10px}
@media(max-width:700px){.top h1{font-size:clamp(22px,5vw,28px);white-space:normal;overflow-wrap:break-word}.top .eyebrow{gap:2px 8px}.top .eyebrow .inline-location::before{margin-right:8px}}

/* Tighter portfolio detail header spacing */
.top{padding-top:38px;padding-bottom:16px}
.top h1{margin-top:9px;margin-bottom:3px}
@media(max-width:550px){.top{padding-top:22px;padding-bottom:12px}.top h1{margin-top:8px;margin-bottom:2px}}

/* Portfolio discovery and mobile usability 2026-11 */
.portfolio-filters{margin:0 0 26px;padding:22px;border:1px solid #deddd4;background:#fff}.filter-intro{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.filter-intro strong{font:22px Georgia,serif;font-weight:400}.filter-intro span{font-size:12px;color:#76786e}.filter-fields{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr auto;gap:10px;align-items:end}.filter-fields label{display:flex;flex-direction:column;gap:6px;color:#74756d;font-size:11px;letter-spacing:.04em}.filter-fields input,.filter-fields select{height:44px;width:100%;min-width:0;padding:0 11px;background:#faf9f6;color:#282a26;border:1px solid #d8d8d0;border-radius:0;font:14px Arial,sans-serif}.filter-fields input:focus-visible,.filter-fields select:focus-visible{outline:2px solid #9b8365;outline-offset:1px}.filter-fields button{height:44px;padding:0 17px;background:#292c27;color:white;border:0;cursor:pointer}.cards .card[hidden]{display:none!important}#filter-empty{padding:20px 0;color:#66695f}@media(max-width:900px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-fields label:first-child{grid-column:1/-1}.filter-fields button{width:100%}}@media(max-width:550px){.portfolio-filters{padding:16px;margin-bottom:18px}.filter-intro strong{font-size:19px}.filter-fields{gap:10px}.filter-fields input,.filter-fields select,.filter-fields button{font-size:16px;min-height:44px}header.portfolio-header nav{scroll-snap-type:x proximity}header.portfolio-header nav a{scroll-snap-align:start;min-height:44px;display:inline-flex;align-items:center}.thumbs button{flex-basis:82px;min-height:68px}.lightbox{padding:14px}}

/* Gallery accessibility upgrade */
.gallery-main{position:relative}.gallery-step-controls{position:absolute;top:50%;left:12px;right:12px;transform:translateY(-50%);display:flex;justify-content:space-between;pointer-events:none}.gallery-step-controls button{pointer-events:auto;width:44px;height:44px;border:1px solid #dedbd1;background:#faf9f2e8;color:#282a26;font:32px/1 Georgia,serif;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 12px #0002}.gallery-step-controls button:focus-visible,#main-photo:focus-visible{outline:3px solid #b49772;outline-offset:2px}.gallery-main #main-photo{cursor:zoom-in}@media(max-width:550px){.gallery-step-controls{left:5px;right:5px}.gallery-step-controls button{width:40px;height:48px;background:#faf9f2d9}.gallery-main img{max-height:60svh}}

/* Transparent gallery arrows */
.gallery-step-controls button{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.8),0 0 2px rgba(0,0,0,.6);transition:opacity .2s ease,transform .2s ease;opacity:.88}.gallery-step-controls button:hover{opacity:1;transform:scale(1.08)}.gallery-step-controls button:focus-visible{outline:2px solid #fff;outline-offset:2px;background:rgba(0,0,0,.18)!important}@media(max-width:550px){.gallery-step-controls button{background:transparent!important}}

/* Modern compact listing card titles */
.cards .card h2{font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-size:17px;line-height:1.38;font-weight:500;letter-spacing:-.025em;margin:10px 0 14px;text-wrap:pretty}@media(max-width:550px){.cards .card h2{font-size:17px;line-height:1.4;font-weight:500;letter-spacing:-.025em;margin:8px 0 14px}}

/* Mobile card spacing and title rhythm */
@media(max-width:550px){.wrap{width:94%;max-width:none}.cards{gap:18px;margin-bottom:55px}.cards .card-body{padding:17px 17px 19px}.cards .card h2{font-size:16px;line-height:1.36;letter-spacing:-.025em;overflow-wrap:normal;word-break:normal;text-wrap:pretty;margin:8px 0 11px}.cards .card .price{padding-top:8px}.cards .card .meta{margin-top:2px}}

/* Accessible keyboard focus and reduced-motion preferences */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #8b7455;outline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
