/* Halyard & Lowe example site: structure shared by all three design options.
   Each option's own file (re-a.css, re-b.css, re-c.css) sets the tokens and the parts that make it distinct. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:18px;line-height:1.65}
img{max-width:100%;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--focus,var(--accent));outline-offset:3px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.15;margin:0 0 .5em;text-wrap:balance}
p{margin:0 0 1em}
.wrap{max-width:1240px;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px}
.band{padding-top:72px;padding-bottom:72px}
.band.tint{background:var(--bg2)}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin-bottom:28px;flex-wrap:wrap}
.sec-head h2{margin:0;font-size:clamp(30px,3.2vw,42px)}
.link{font-family:var(--ui,var(--body));font-weight:600;font-size:17px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;color:var(--link,var(--ink))}
.link:hover{color:var(--accent)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 26px;border:1px solid var(--ink);background:transparent;color:var(--ink);font-family:var(--ui,var(--body));font-weight:600;font-size:17px;text-decoration:none;cursor:pointer;border-radius:var(--radius,0)}
.btn:hover{background:var(--hover,rgba(0,0,0,.05))}
.btn.solid{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--btn-ink)}
.btn.solid:hover{background:var(--btn-hover,var(--btn-bg));border-color:var(--btn-hover,var(--btn-bg))}

/* concept bar (every Bay House example site has one) */
.concept{display:block;text-align:center;padding:7px 16px;font:500 13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;background:#14202E;color:#E9E1D0;text-decoration:none}
.concept b{color:#C9A868;font-weight:600}
.concept:hover{color:#fff}

/* header: holds still across page changes (bhd-softnav) and is opaque */
header.site{position:sticky;top:0;z-index:50;background:var(--hdr-bg);color:var(--hdr-ink);border-bottom:1px solid var(--hdr-line,var(--line));view-transition-name:site-header}
.hwrap{max-width:1400px;margin:0 auto;padding:14px 32px;display:flex;align-items:center;gap:28px}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;flex:0 1 auto;min-width:0}
.logo span{min-width:0}
.logo .mark{color:var(--mark,var(--accent))}
.logo b{display:block;white-space:nowrap;font-family:var(--display);font-weight:400;font-size:25px;line-height:1.05;letter-spacing:.01em}
.logo small{display:block;font-family:var(--ui,var(--body));font-size:13px;color:var(--hdr-muted,var(--muted));margin-top:3px;letter-spacing:.04em}
.main-nav{display:flex;gap:26px;margin-left:auto;font-family:var(--ui,var(--body));font-size:16px;font-weight:500}
.main-nav a{text-decoration:none;padding:8px 0;border-bottom:1px solid transparent}
.main-nav a:hover{border-bottom-color:currentColor}
.main-nav a[aria-current]{border-bottom-color:var(--accent);color:var(--nav-on,inherit)}
.h-tools{display:flex;align-items:center;gap:14px}
.saved{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;text-decoration:none;font-family:var(--ui,var(--body));font-weight:600;font-size:15px}
.saved.has{--heart-fill:var(--accent);color:var(--accent)}
.menu-btn{display:none;align-items:center;gap:10px;min-height:44px;padding:0 14px;border:1px solid currentColor;background:none;cursor:pointer;font-family:var(--ui,var(--body));font-weight:600;font-size:15px;border-radius:var(--radius,0)}
.menu-btn i{width:18px;height:2px;background:currentColor;box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor}
.menu{position:fixed;inset:0;z-index:80;background:var(--bg);color:var(--ink);overflow:auto}
.menu-in{padding:20px 24px 40px;display:flex;flex-direction:column;min-height:100%}
.menu-close{align-self:flex-end;min-height:44px;padding:0 16px;border:1px solid currentColor;background:none;font-family:var(--ui,var(--body));font-weight:600;cursor:pointer}
.menu nav{display:flex;flex-direction:column;margin-top:16px}
.menu nav a{font-family:var(--display);font-size:30px;padding:12px 0;border-bottom:1px solid var(--line);text-decoration:none}
.menu-foot{margin-top:auto;padding-top:24px;color:var(--muted);font-size:16px}

/* cards */
.grid{display:grid;gap:36px 28px}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{position:relative;min-width:0}
.card-link{display:block;text-decoration:none;color:inherit}
.ph{position:relative;overflow:hidden;aspect-ratio:3/2;background:var(--bg2)}
.ph img{width:100%;height:100%;object-fit:cover}
.card .meta{padding-top:16px}
.price{font-family:var(--display);font-size:28px;line-height:1.1;margin:0 0 6px}
.card .addr{font-family:var(--ui,var(--body));font-weight:600;font-size:18px;margin:0;line-height:1.35}
.card .area{color:var(--muted);margin:0;font-size:17px}
.card .specs{color:var(--muted);margin:4px 0 0;font-size:16px}
.card-link:hover .addr{text-decoration:underline;text-underline-offset:4px}
.status{position:absolute;left:14px;top:14px;padding:5px 10px;font:600 14px/1.2 var(--ui,var(--body));background:var(--status-bg);color:var(--status-ink);border-radius:var(--radius,0)}
.status.s-new{background:var(--accent);color:var(--accent-ink)}
.status.s-under{background:var(--muted-bg,#5d6670);color:#fff}
.status.s-sold{background:var(--ink);color:var(--bg)}
.fav{position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;justify-content:center;padding:0 12px;border:0;background:rgba(255,255,255,.92);color:#1d2430;cursor:pointer;font:600 14px var(--ui,var(--body));border-radius:var(--radius,0)}
.fav[aria-pressed=true]{--heart-fill:#B4433A;color:#B4433A}
.fav .fav-t{display:none}
.fav.btn{position:static;background:transparent;color:var(--ink);border:1px solid var(--ink);padding:0 20px;min-height:50px}
.fav.btn .fav-t{display:inline}

/* stats */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}
.stats div{border-top:1px solid var(--line);padding-top:14px}
.stats dt{font-family:var(--display);font-size:clamp(30px,3.4vw,44px);line-height:1.1}
.stats dd{margin:6px 0 0;color:var(--muted);font-size:17px}

/* quotes */
.quotes{max-width:860px;margin:0 auto;text-align:center}
.quotes blockquote{margin:0}
.quotes blockquote p{font-family:var(--display);font-size:clamp(24px,2.6vw,34px);line-height:1.35;margin:0 0 16px}
.quotes figcaption{color:var(--muted);font-size:17px}
.q-host{min-height:220px}
.q-nav{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:20px;font-family:var(--ui,var(--body));font-size:15px;color:var(--muted)}
.q-nav button{width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--line);background:none;cursor:pointer;color:var(--ink);border-radius:var(--radius,0)}
.q-nav button:hover{border-color:var(--ink)}

/* people */
.people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.people.six{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.people.three-up{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 32px}
.person{text-decoration:none;color:inherit;display:block}
.pp{aspect-ratio:4/5;overflow:hidden;background:var(--bg2)}
.pp img{width:100%;height:100%;object-fit:cover}
.person h3,.person h2{font-size:24px;margin:14px 0 2px}
.person p{margin:0;color:var(--muted);font-size:16px}
.person.tall p:not(.role){margin-top:10px;color:var(--ink);font-size:17px}
.person .role{font-family:var(--ui,var(--body));font-weight:600;color:var(--accent-text,var(--muted))}
.person:hover h3,.person:hover h2{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}

/* search */
.search{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto auto;gap:14px;align-items:end;background:var(--card-bg);padding:20px;border:1px solid var(--line)}
.search label,.f-sel label,.form label,.calc label,.showing label,.valuation label{display:flex;flex-direction:column;gap:6px;font-family:var(--ui,var(--body));font-size:15px;font-weight:600}
select,input,textarea{min-height:50px;padding:10px 14px;border:1px solid var(--field-line,var(--line));background:var(--field-bg,#fff);color:var(--ink);border-radius:var(--radius,0);font-family:var(--ui,var(--body));font-size:17px;font-weight:400;width:100%}
textarea{min-height:110px}
input[type=range]{padding:0;border:0;background:none;min-height:36px;accent-color:var(--accent)}
input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--accent)}
.search .chk{flex-direction:row;align-items:center;gap:10px;min-height:50px;font-weight:500;font-size:17px}
[aria-invalid=true]{border-color:#B4433A;box-shadow:0 0 0 1px #B4433A}

/* page hero (inner pages) */
.page-hero{padding:56px 0 8px}
.page-hero h1{font-size:clamp(40px,5vw,64px);margin-bottom:12px}
.page-hero p{max-width:60ch;font-size:20px;color:var(--muted)}
.page-hero.has-img{position:relative;padding:0}
.page-hero.has-img .ph-img{height:clamp(260px,38vw,460px);overflow:hidden}
.page-hero.has-img .ph-img img{width:100%;height:100%;object-fit:cover}
.page-hero.has-img .ph-copy{padding-top:40px}

/* filters */
.filters{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:end;margin-bottom:12px}
.f-btns{display:flex;flex-wrap:wrap;gap:10px}
.f-btns button,.pick button,.seg button,.chip{min-height:46px;padding:0 18px;border:1px solid var(--line);background:var(--chip-bg,transparent);color:var(--ink);cursor:pointer;font-family:var(--ui,var(--body));font-size:16px;font-weight:500;border-radius:var(--chip-radius,var(--radius,0))}
.f-btns button[aria-pressed=true],.pick button[aria-pressed=true],.seg button[aria-pressed=true],.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.f-sel{display:flex;gap:12px;flex-wrap:wrap}
.f-sel label{min-width:180px}
.result-n{color:var(--muted);font-family:var(--ui,var(--body));font-size:16px;margin:8px 0 22px}
.empty{padding:40px 0;max-width:60ch}

/* listing page */
.crumbs{font-family:var(--ui,var(--body));font-size:15px;color:var(--muted);margin:24px 0 16px}
.crumbs a{color:inherit}
.gallery{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:12px}
.stage{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--bg2)}
.stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stage .g-front{z-index:1}
.g-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:52px;height:52px;display:grid;place-items:center;border:0;background:rgba(255,255,255,.9);color:#1d2430;cursor:pointer;border-radius:var(--radius,0)}
.g-arrow.prev{left:14px}.g-arrow.next{right:14px}
.g-count{position:absolute;z-index:2;right:14px;bottom:14px;padding:4px 10px;background:rgba(20,24,30,.72);color:#fff;font:500 14px var(--ui,var(--body))}
.stage .status{z-index:2}
.thumbs{display:flex;flex-direction:column;gap:12px;overflow:auto}
.thumbs button{padding:0;border:2px solid transparent;background:none;cursor:pointer;aspect-ratio:3/2;flex:none}
.thumbs button[aria-current=true]{border-color:var(--accent)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.l-head{display:flex;justify-content:space-between;gap:32px;align-items:flex-end;padding:28px 0 8px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.l-head .area{color:var(--muted);margin:0 0 6px;font-family:var(--ui,var(--body));font-size:16px}
.l-head h1{font-size:clamp(34px,4vw,52px);margin:0 0 6px}
.l-title{font-size:20px;margin:0;color:var(--muted)}
.l-price{text-align:right}
.l-price .price{font-size:clamp(32px,3.6vw,44px)}
.l-price .specs{color:var(--muted);margin:0 0 14px}
.l-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.l-body{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:56px;align-items:start}
.l-main .lede{font-family:var(--display);font-size:clamp(23px,2.2vw,28px);line-height:1.4}
.l-main>p{max-width:68ch}
.l-main h2{font-size:30px;margin:44px 0 18px}
.water-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:28px 0;border-top:1px solid var(--line)}
.water-facts div{padding:14px 16px 14px 0;border-bottom:1px solid var(--line)}
.water-facts dt{font-family:var(--ui,var(--body));font-size:14px;color:var(--muted);font-weight:600}
.water-facts dd{margin:2px 0 0;font-size:18px}
.feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.feats h3{font-family:var(--ui,var(--body));font-size:17px;font-weight:600;margin:0 0 8px}
.feats ul{margin:0;padding-left:18px;font-size:17px}
.feats li{margin-bottom:6px}
.facts{width:100%;border-collapse:collapse;font-size:17px}
.facts th,.facts td{text-align:left;padding:12px 0;border-bottom:1px solid var(--line);vertical-align:top}
.facts th{font-family:var(--ui,var(--body));font-weight:600;width:40%;color:var(--muted)}
.calc{border:1px solid var(--line);padding:24px;background:var(--card-bg)}
.c-in{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px}
.c-out{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0 10px}
.c-out dt{font-family:var(--ui,var(--body));font-size:14px;color:var(--muted)}
.c-out dd{margin:2px 0 0;font-size:20px;font-family:var(--display)}
.c-out .tot dd{font-size:26px;color:var(--accent-text,var(--ink))}
.fine{font-size:15px;color:var(--muted);margin:0}
.l-side{position:sticky;top:100px;display:flex;flex-direction:column;gap:20px}
.agent-card{display:flex;gap:16px;align-items:center;padding:18px;border:1px solid var(--line);background:var(--card-bg)}
.agent-card img{width:96px;height:120px;object-fit:cover;flex:none}
.agent-card h2{font-size:24px;margin:0}
.agent-card p{margin:2px 0 0;font-size:16px;color:var(--muted)}
.ac-k{font-family:var(--ui,var(--body));font-weight:600}
.showing{padding:22px;border:1px solid var(--line);background:var(--card-bg);display:flex;flex-direction:column;gap:12px}
.showing h2{font-size:28px;margin:0}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mode-note{font-size:16px;color:var(--muted);margin:0;min-height:52px}
.lbl{font-family:var(--ui,var(--body));font-weight:600;font-size:15px;margin:6px 0 0}
.days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.days .chip{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 4px;min-height:58px;line-height:1.2}
.days .chip b{font-size:15px}.days .chip span{font-size:14px;font-weight:400}
.times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.idx p{font-size:15px;color:var(--muted);max-width:90ch;padding-bottom:40px}

/* sold */
.sold-card{margin:0}
.sold-card figcaption{padding-top:14px}
.sold-card h3{font-family:var(--ui,var(--body));font-size:18px;font-weight:600;margin:0 0 4px}
.sold-card p:last-child{color:var(--muted);font-size:16px;margin:0}
.sold-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}

/* neighborhoods */
.hood-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hood{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;text-decoration:none;color:#fff}
.hood img{width:100%;height:100%;object-fit:cover}
.hood span{position:absolute;left:0;right:0;bottom:0;padding:48px 20px 16px;background:linear-gradient(transparent,rgba(10,16,24,.72));font-family:var(--display);font-size:26px}
.hood-jump{display:flex;flex-wrap:wrap;gap:10px}
.hood-jump a{padding:10px 16px;border:1px solid var(--line);text-decoration:none;font-family:var(--ui,var(--body));font-size:16px;border-radius:var(--chip-radius,var(--radius,0))}
.hood-jump a:hover{border-color:var(--ink)}
.hood-sec{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center;padding-top:40px;padding-bottom:40px;scroll-margin-top:100px}
.hood-sec.flip{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.hood-sec.flip .hs-ph{order:2}
.hs-ph{aspect-ratio:3/2;overflow:hidden}.hs-ph img{width:100%;height:100%;object-fit:cover}
.hs-copy h2{font-size:clamp(30px,3vw,40px)}
.hs-copy dl{margin:20px 0}
.hs-copy dl div{border-top:1px solid var(--line);padding:10px 0}
.hs-copy dt{font-family:var(--ui,var(--body));font-weight:600;font-size:15px;color:var(--muted)}
.hs-copy dd{margin:2px 0 0}

/* profile */
.profile{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:start;padding-top:40px;padding-bottom:40px}
.pr-ph{position:sticky;top:100px;aspect-ratio:4/5;overflow:hidden}
.pr-ph img{width:100%;height:100%;object-fit:cover}
.profile h1{font-size:clamp(40px,4.6vw,60px);margin:0 0 4px}
.profile .role{font-family:var(--ui,var(--body));font-weight:600;font-size:18px;color:var(--accent-text,var(--muted))}
.pr-contact{display:flex;gap:20px;flex-wrap:wrap;font-family:var(--ui,var(--body));font-weight:600}
.profile h2{font-size:26px;margin:32px 0 10px}
.plain{margin:0;padding-left:20px}.plain li{margin-bottom:6px}
.lic{font-size:15px;color:var(--muted);margin-top:20px}
.pr-quote{margin:36px 0 0;padding:24px 0 0;border-top:1px solid var(--line)}
.pr-quote blockquote{margin:0}.pr-quote p{font-family:var(--display);font-size:24px;line-height:1.4;margin:0 0 8px}
.pr-quote figcaption{color:var(--muted);font-size:16px}
.form{display:flex;flex-direction:column;gap:14px}
.form h2{margin:0}

/* sell */
.sell-how{align-items:start}
.steps{list-style:none;margin:0;padding:0;counter-reset:s}
.steps li{counter-increment:s;padding:16px 0 16px 56px;border-top:1px solid var(--line);position:relative}
.steps li::before{content:counter(s);position:absolute;left:0;top:14px;font-family:var(--display);font-size:30px;color:var(--accent-text,var(--accent))}
.steps h3{font-family:var(--ui,var(--body));font-weight:600;font-size:19px;margin:0 0 4px}
.steps p{margin:0;color:var(--muted)}
.valuation{border:1px solid var(--line);background:var(--card-bg);padding:28px;position:sticky;top:100px}
.valuation h2{font-size:32px;margin:0 0 14px}
.prog{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:0;margin:0 0 20px;font-family:var(--ui,var(--body));font-size:14px;color:var(--muted)}
.prog li{border-top:3px solid var(--line);padding-top:6px}
.prog li.on{border-color:var(--accent);color:var(--ink);font-weight:600}
.prog li.done{border-color:var(--ink)}
.step{display:flex;flex-direction:column;gap:14px}
.step form{display:flex;flex-direction:column;gap:14px}
.pick{display:flex;flex-wrap:wrap;gap:8px}
.s-nav{display:flex;justify-content:space-between;gap:12px;margin-top:6px}
.err{color:#B4433A;margin:0;font-size:16px}

/* journal */
.article{max-width:820px}
.article h2{font-size:clamp(32px,3.6vw,46px)}
.article h3{font-size:26px;margin-top:32px}
.article img{margin:28px 0}
.a-meta{font-family:var(--ui,var(--body));color:var(--muted);font-size:16px}
.post{text-decoration:none;color:inherit}
.post img{aspect-ratio:3/2;object-fit:cover;width:100%}
.post h3{font-size:22px;margin:14px 0 4px}
.post p{color:var(--muted);margin:0;font-size:16px}

/* contact */
.contact-sec{align-items:start}
.who li{margin-bottom:8px}

/* CTA band */
.cta-band{background:var(--cta-bg,var(--ink));color:var(--cta-ink,var(--bg));padding:72px 0;text-align:center}
.cta-band h2{font-size:clamp(32px,3.6vw,48px)}
.cta-band p{max-width:56ch;margin:0 auto 24px;font-size:19px}

/* footer */
footer.site{background:var(--foot-bg);color:var(--foot-ink)}
.fwrap{max-width:1240px;margin:0 auto;padding:56px 32px 28px}
.f-cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:32px;border-bottom:1px solid var(--foot-line)}
.f-cols h2{font-family:var(--ui,var(--body));font-size:15px;font-weight:600;margin:0 0 10px;color:var(--foot-muted)}
.f-cols p{font-size:16px;line-height:1.8}
.f-cols a{text-decoration:none}.f-cols a:hover{text-decoration:underline}
.f-brand .logo{margin-bottom:14px}
.f-brand .logo small{color:var(--foot-muted)}
.f-legal{display:flex;gap:18px;align-items:flex-start;padding:24px 0;border-bottom:1px solid var(--foot-line)}
.f-legal p{margin:0;font-size:14px;color:var(--foot-muted);max-width:110ch}
.eho{display:flex;flex-direction:column;align-items:center;gap:4px;font:600 11px/1.2 system-ui,sans-serif;text-align:center;width:84px;flex:none;color:var(--foot-ink)}
.f-base{padding-top:18px;font-size:14px;color:var(--foot-muted)}
.bhd-3{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
.bhd-3>:last-child{justify-self:end;text-align:right}
.bhd-credit{position:relative;display:inline-flex;align-items:center;justify-self:center;gap:.5rem;min-height:44px;color:#C9A868!important;text-decoration:none!important;white-space:nowrap;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:.875rem;letter-spacing:.02em}
.bhd-credit:hover{color:#E2CC9B!important}
.bhd-credit:hover span:first-of-type{text-decoration:underline;text-underline-offset:3px}
.bhd-credit svg{flex:none;width:22px;height:22px}

/* preview dialog */
#re-demo{max-width:460px;border:1px solid var(--line);padding:28px;background:var(--bg);color:var(--ink);border-radius:var(--radius,0)}
#re-demo::backdrop{background:rgba(10,16,24,.5)}
#re-demo h2{font-size:28px}

/* soft navigation: header holds still, content changes (see PAGE-TRANSITIONS.md) */
::view-transition{background:var(--bg)}
@media (prefers-reduced-motion: no-preference){
  ::view-transition-old(site-header),::view-transition-new(site-header){animation:none}
}
html.nav-busy{cursor:progress}
@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .main-nav{display:none}.menu-btn{display:inline-flex}.h-tools{margin-left:auto}
  .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .people.six{grid-template-columns:repeat(3,minmax(0,1fr))}
  .l-body{grid-template-columns:minmax(0,1fr) 340px;gap:36px}
  .c-out{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .wrap,.hwrap,.fwrap{padding-left:24px;padding-right:24px}
  .band{padding-top:52px;padding-bottom:52px}
  .two,.hood-sec,.profile{grid-template-columns:minmax(0,1fr);gap:32px}
  .hood-sec.flip{grid-template-columns:minmax(0,1fr)}.hood-sec.flip .hs-ph{order:0}
  .grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hood-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .people{grid-template-columns:repeat(2,minmax(0,1fr))}
  .people.three-up{grid-template-columns:repeat(2,minmax(0,1fr))}
  .search{grid-template-columns:repeat(2,minmax(0,1fr))}
  .l-body{grid-template-columns:minmax(0,1fr)}
  .l-side,.pr-ph,.valuation{position:static}
  .pr-ph{max-width:520px}
  .gallery{grid-template-columns:minmax(0,1fr)}
  .thumbs{flex-direction:row}.thumbs button{width:110px}
  .f-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  body{font-size:18px}
  .wrap,.hwrap,.fwrap{padding-left:16px;padding-right:16px}
  .hwrap{gap:12px;padding-top:10px;padding-bottom:10px}
  .logo{gap:8px}.logo b{font-size:20px}.logo small{font-size:12px;white-space:nowrap}.logo .mark{width:30px;height:30px}.saved{padding:0}
  .menu-btn{padding:0 12px}
  .grid.three,.grid.two,.grid.four,.sold-row,.hood-grid,.feats{grid-template-columns:minmax(0,1fr)}
  .people,.people.six{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
  .people.three-up{grid-template-columns:minmax(0,1fr)}
  .stats{grid-template-columns:minmax(0,1fr);gap:14px}
  .search{grid-template-columns:minmax(0,1fr);padding:16px}
  .filters{flex-direction:column;align-items:stretch}
  .f-sel{flex-direction:column}.f-sel label{min-width:0}
  .l-head{flex-direction:column;align-items:flex-start}
  .l-price{text-align:left}.l-actions{justify-content:flex-start}
  .water-facts{grid-template-columns:minmax(0,1fr)}
  .c-in{grid-template-columns:minmax(0,1fr)}
  .c-out{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-arrow{width:44px;height:44px}
  .f-cols{grid-template-columns:minmax(0,1fr)}
  .f-legal{flex-direction:column}
  .bhd-3{grid-template-columns:minmax(0,1fr);row-gap:8px;justify-items:center;text-align:center}
  .bhd-3>:last-child{justify-self:center;text-align:center}
  .bhd-3>.bhd-credit{order:3}
  .q-host{min-height:280px}
  .sec-head h2{font-size:30px}
  .page-hero{padding-top:36px}
  .page-hero p{font-size:18px}
}
