/* v23s1 cover: the approved TD Jones home page top (desktop A1+B1, phone W1). Classes only (CSP: no inline style). */
.cover-band{background:#f7f3ef;color:#241838;padding:0 0 1.2rem}
.cover-band .cv-top{display:flex;align-items:center;gap:1rem;padding:.7rem 1.6rem;background:#f7f3ef;border-bottom:1px solid #e2d9d0}
.cover-band .cv-logo{display:block;line-height:0;flex:none}
.cover-band .cv-logo img{display:block;height:64px;width:auto;mix-blend-mode:multiply;background:transparent;border:0;border-radius:0;box-shadow:none}
.cover-band .cv-contact{margin-left:auto;text-align:right;display:flex;flex-direction:column;gap:.1rem}
.cover-band .cv-phone{font-weight:800;font-size:1.05rem;color:#512888;text-decoration:none}
.cover-band .cv-phone:hover{text-decoration:underline}
.cover-band .cv-firm{font-size:.82rem;color:#4a4458}
.cover-band .cv-psr{display:block;line-height:0;flex:none}
.cover-band .cv-psr img{display:block;height:44px;width:auto}
.cover-band .cv-menu{display:none;margin-left:auto;font:inherit;font-weight:800;color:#512888;background:#fff;border:2px solid #512888;border-radius:999px;padding:.5rem 1.1rem}
.cover-band .cv-brokerline{margin:.5rem 1.6rem 0;text-align:right;font-size:.78rem;color:#4a4458}
.cover-band .cv-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1.2rem;align-items:start;padding:1.6rem 1.6rem 0}
.cover-band .cv-copy{padding-top:1rem}
.cover-band .cv-eyebrow{margin:0 0 .8rem;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#4a4458}
.cover-band .cv-h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-weight:800;font-size:clamp(2rem,4.2vw,3.5rem);line-height:1.06;color:#2d1b4e;letter-spacing:-.01em}
.cover-band .cv-amp{font-family:"Helvetica Neue",Arial,sans-serif;font-style:normal;font-weight:700;color:#512888}
.cover-band .cv-names{margin:.9rem 0 0;font-size:1.05rem;font-weight:800;color:#2d1b4e}
.cover-band .cv-intro{margin:.7rem 0 0;font-size:1.1rem;line-height:1.5;color:#4a4458;max-width:34rem}
.cover-band .cv-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.3rem}
.cover-band .cv-btn{display:inline-block;padding:.85rem 1.5rem;border-radius:999px;background:#512888;border:2px solid #512888;color:#fff;font-weight:800;text-decoration:none}
.cover-band .cv-btn.cv-btn2{background:transparent;color:#512888}
.cover-band .cv-btn:hover{background:#3d1e66;color:#fff;border-color:#3d1e66}
.cover-band .cv-note{margin:.7rem 0 0;font-size:.9rem;color:#4a4458}
.cover-band .cv-photo{margin:0;line-height:0;align-self:stretch}
.cover-band .cv-photo img{display:block;width:100%;height:100%;max-height:25rem;min-height:16rem;object-fit:cover;object-position:50% 20%;border-radius:0}
.cover-band .cv-card{position:relative;z-index:2;margin:-3.2rem 1.6rem 0 auto;width:min(38rem,calc(100% - 3.2rem));background:#fff;border-radius:18px;box-shadow:0 12px 36px rgba(45,27,78,.22);padding:1rem 1.3rem 1.2rem}
.cover-band .cv-tabs{display:flex;gap:1.4rem;border-bottom:1px solid #e2d9d0;margin-bottom:.9rem}
.cover-band .cv-tab{font:inherit;font-weight:800;color:#2d1b4e;background:none;border:0;border-bottom:3px solid transparent;padding:.4rem .2rem .6rem;cursor:pointer}
.cover-band .cv-tab[aria-current="true"]{border-bottom-color:#512888;color:#512888}
.cover-band .cv-row{display:flex;gap:.8rem;align-items:stretch}
.cover-band .cv-field{flex:1;display:flex;flex-direction:column;gap:.15rem;border:2px solid #6d6486;border-radius:10px;padding:.45rem .8rem;min-width:0}
.cover-band .cv-field span{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#4a4458}
.cover-band .cv-field input{font:inherit;font-size:1.05rem;border:0;outline:0;background:transparent;color:#241838;min-width:0;width:100%}
.cover-band .cv-field:focus-within{outline:3px solid #b9a3e3;outline-offset:2px}
.cover-band .cv-go{font:inherit;font-weight:800;color:#512888;background:#fff;border:2px solid #d7cfe6;border-radius:999px;padding:0 1.4rem;cursor:pointer;white-space:nowrap}
.cover-band .cv-go:hover{background:#512888;color:#fff}
.cover-band .cv-start{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.8rem;font-size:.95rem;color:#4a4458}
.cover-band .cv-chip{font:inherit;font-weight:700;color:#3d1e66;background:#ece4f8;border:0;border-radius:999px;padding:.45rem .9rem;cursor:pointer}
.cover-band .cv-chip:hover{background:#d9c9f1}
.cover-band .cv-maplink{margin-left:auto;font-weight:800;color:#512888}
@media (max-width:900px){
 .cover-band{padding-bottom:5rem}
 .cover-band .cv-top{flex-wrap:wrap;padding:.6rem .9rem;gap:.6rem;border-bottom:0}
 .cover-band .cv-logo img{height:48px}
 .cover-band .cv-psr{order:2}.cover-band .cv-psr img{height:40px}
 .cover-band .cv-menu{display:block;order:3}
 .cover-band .cv-contact{order:4;flex:1 0 100%;margin:0;text-align:left;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:.2rem .7rem}
 .cover-band .cv-phone{text-decoration:underline}
 .cover-band .cv-brokerline{display:none}
 .cover-band .cv-hero{grid-template-columns:minmax(0,1fr);padding:0;gap:0}
 .cover-band .cv-photo{order:-1}
 .cover-band .cv-photo img{max-height:15rem;min-height:11rem;object-position:50% 25%}
 .cover-band .cv-copy{margin:-2.4rem .8rem 0;padding:1rem 1rem 1.1rem;background:#241838;color:#fff;border-radius:16px;position:relative;z-index:2}
 .cover-band .cv-eyebrow{color:#dccff3;margin-bottom:.5rem;font-size:.72rem}
 .cover-band .cv-h1{color:#fff;font-size:clamp(1.55rem,7vw,2.1rem)}
 .cover-band .cv-amp{color:#cdb8f2}
 .cover-band .cv-names{color:#fff;font-size:.98rem;margin-top:.6rem}
 .cover-band .cv-intro{color:#f2ecfb;font-size:1rem;margin-top:.5rem}
 .cover-band .cv-cta{margin-top:1rem}
 .cover-band .cv-btn{background:#fff;color:#2d1b4e;border-color:#fff;padding:.7rem 1.1rem}
 .cover-band .cv-btn.cv-btn2{background:transparent;color:#fff;border-color:#fff}
 .cover-band .cv-note{color:#dccff3}
 .cover-band .cv-card{margin:1rem .8rem 0;width:auto}
 .cover-band .cv-row{flex-direction:column}
 .cover-band .cv-go{padding:.85rem 1rem;background:#512888;color:#fff}
 .cover-band .cv-maplink{margin-left:0;flex:1 0 100%;padding:.2rem 0}
}
html body.page.app[data-v="cover"] .app-mbar{display:none!important}
html body.page.app[data-v="cover"] .topbar{display:none!important}
html body.page .cover-band :is(.cv-logo,.cv-psr,.cv-phone,.cv-maplink){border:0!important;box-shadow:none!important;background:transparent}
html body.page .cover-band img{border:0!important;box-shadow:none!important;outline:0!important}
html body.page .cover-band .cv-photo img{border-radius:0!important}
html body.page .cover-band :is(.cv-btn,.cv-go,.cv-menu){text-shadow:none}
/* left-menu logo + photo sizing, copied from comps.css / photo-actions-brand.css for the cover view */
body.page.app[data-v="cover"] .rail-brand{flex-wrap:wrap;height:auto!important;min-height:5rem}
body.page.app[data-v="cover"] .rail-brand .brand-zoom-trigger{width:42%;height:4rem;max-height:4rem}
body.page.app[data-v="cover"] .rail-brand .brand-zoom-trigger img{width:100%!important;height:100%!important;object-fit:contain!important}
body.page.app[data-v="cover"] .rail-brand .brand-home{flex:1 0 100%;position:static;transform:none}
html body.page.app[data-v="cover"] .rail-brand{height:auto!important;min-height:0!important;padding:.35rem!important;gap:.3rem!important;flex-wrap:nowrap!important;align-items:center!important}
html body.page.app[data-v="cover"] .rail-brand .brand-zoom-trigger{flex:1 1 0!important;width:auto!important;height:auto!important;max-height:none!important;min-width:0;padding:0!important}
html body.page.app[data-v="cover"] .rail-brand img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;display:block}
html body.page.app[data-v="cover"] .rail-brand .brand-zoom-trigger:has(.rail-logo){flex:1.43 1 0!important}
html body.page.app[data-v="cover"] .rail-brand .brand-zoom-trigger:has(.rail-photo){flex:1 1 0!important}
html body.page .cover-band .cv-field input{border:0!important;box-shadow:none!important;outline:0!important;padding:.2rem 0!important;border-radius:0!important;background:transparent!important}
body.page.app[data-v="cover"] .rail-brand{display:flex!important;align-items:center;justify-content:center;gap:.25rem;padding:.4rem;height:5rem;box-sizing:border-box;background:white;border-radius:.5rem;margin:.25rem}
html body.page .band.cover-band{padding:0 0 1.2rem!important;background:#f7f3ef!important}
@media (max-width:900px){html body.page .band.cover-band{padding-bottom:5rem!important}}
@media (max-width:900px){
 html body.page .cover-band .cv-note{display:none}
 html body.page .cover-band .cv-cta{gap:.5rem;margin-top:.8rem}   /* v23u29: both hero buttons in one row, clear of the fixed bottom bar */
 html body.page .cover-band .cv-cta .cv-btn{flex:1 1 0;min-width:0;text-align:center;padding:.7rem .5rem;font-size:.9rem}   /* v23u28 (Blake #2, Dave 11-23 "not hidden on purpose"): Book a showing + Get my home's value stay on phones */
 html body.page .cover-band .cv-photo img{max-height:12rem;min-height:9rem}
 html body.page .cover-band .cv-copy{margin-top:-2rem}
 html body.page .cover-band .cv-names{font-size:.92rem}
 html body.page .cover-band .cv-intro{font-size:.95rem}
}
html body.page.app .cover-band label.cv-field input[type="search"]{border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:.2rem 0!important;margin:0!important;height:auto!important;min-height:0!important}
@media (max-width:900px){html body.page .cover-band .cv-photo img{object-position:50% 8%}}
/* v23s1 layout fixes after review */
@media (min-width:901px){html body.page .cover-band .cv-copy{padding-bottom:5rem}}
@media (min-width:600px) and (max-width:900px){html body.page .cover-band .cv-photo img{max-height:24rem;min-height:20rem;object-position:50% 18%}}
html body.page .cover-band .cv-field span{text-transform:uppercase!important;letter-spacing:.06em;font-size:.7rem}
@media (max-width:600px){html body.page .cover-band .cv-contact{flex-wrap:nowrap;gap:.5rem;align-items:baseline}html body.page .cover-band .cv-phone{font-size:.95rem;white-space:nowrap}html body.page .cover-band .cv-firm{font-size:.74rem;white-space:nowrap}}
/* v23s1 round: PSR logo same size as the TD Jones Group logo */
html body.page .cover-band .cv-psr img{height:52px;width:auto}
html body.page .cover-band :is(.cv-logo,.cv-psr){align-self:flex-end}   /* both logos stand on the same line */
html body.page .cover-band .cv-psr{margin-bottom:-4px}   /* the PSR image has ~4 px of blank under its art; this lines the two art bottoms up */
@media (max-width:900px){html body.page .cover-band .cv-psr img{height:40px}html body.page .cover-band .cv-psr{margin-bottom:-3px}}
/* v23s2: phone Filters panel. photo-viewport.css pins .mapctl at left:var(--rail) (the desktop menu width) in the Filters view, which squeezed it to 158 px on a 390 px phone and pushed 'Beds & baths' 5.8 px past the right edge. On phones the panel spans the screen. */
@media (max-width:900px){
 html body.page.app[data-v="search"][data-solo="filters"] .mapctl{left:0!important;right:0!important;width:auto!important;box-sizing:border-box}
 html body.page.app[data-solo="filters"] .mapctl .filter,html body.page.app[data-solo="filters"] .mapctl .filter>.chip{max-width:100%;box-sizing:border-box}
 html body.page.app[data-solo="filters"] .mapctl :is(.tright,.tend,.filters){width:100%!important;max-width:100%!important;grid-column:1/-1!important;justify-content:center!important;margin:0!important;box-sizing:border-box}
}
/* v23s17: phone tap targets at least 44 px tall (Menu, Buy, Rent, Sell, Just listed); Skip to content target has no focus ring */
@media (max-width:900px){.cover-band .cv-menu,.cover-band .cv-tab,.cover-band .cv-chip{min-height:44px;box-sizing:border-box}}
main#main:focus{outline:none}
/* v23s18: phone Buy/Rent/Sell tabs at least 44 px wide as well */
@media (max-width:900px){.cover-band .cv-tab{min-width:44px}}
/* v23s19: phone number and firm line wrap instead of running past the screen edge below 386 px (both stay fully visible) */
@media (max-width:600px){html body.page .cover-band .cv-contact{flex-wrap:wrap;min-width:0;max-width:100%}html body.page .cover-band .cv-firm{white-space:normal;min-width:0;max-width:100%;overflow-wrap:anywhere}}

/* v23t10b: phone Menu button nudge. Three 1.5 s bounce+shake cycles (4.5 s of motion), starts 1.5 s after load, then stops; stops on hover/focus/tap; off for reduced-motion. */
@media (max-width:900px){
 .cover-band .cv-menu{animation:cvMenuNudge 1.5s ease-in-out 1.5s 3;transform-origin:50% 60%}
 .cover-band .cv-menu:hover,.cover-band .cv-menu:focus-visible,.cover-band .cv-menu:active{animation:none}
}
@keyframes cvMenuNudge{0%,50%,100%{transform:translateY(0) rotate(0)}8%{transform:translateY(-9px)}16%{transform:translateY(0) rotate(-6deg)}24%{transform:translateY(-5px) rotate(6deg)}32%{transform:translateY(0) rotate(-4deg)}40%{transform:rotate(3deg)}}
@media (prefers-reduced-motion:reduce){.cover-band .cv-menu{animation:none!important}}

/* v23u34 (Blake #10, dj GO): Buy / Rent / Sell are three plain buttons, not tabs (each one leaves the box). Outlined pills, none looks selected. */
html body.page .cover-band .cv-tabs{border-bottom:0;gap:.5rem;flex-wrap:wrap;margin-bottom:.8rem}
html body.page .cover-band .cv-tab{border:2px solid #512888;border-radius:999px;padding:.45rem 1rem;color:#512888;background:#fff;font-weight:700}
html body.page .cover-band .cv-tab:hover{background:#efe9f6}

/* v23u37 (Blake #14): phone tap targets at least 44px tall: Back to the map, Open the map, the phone number under the logo. (The card heart already has a 44x44 tap ring around its 34px look, saved-homes.css 11-09.) */
@media(max-width:900px){
 html body.page .hlinks a,html body.page .cover-band .cv-phone,html body.page .cover-band .cv-maplink{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box}
}

/* v23u39 (Blake small words, dj/Dallas): form labels keep a capital on every word, but small words (of, or, and, to, on, for) stay lower case. The label text is written out in index.html and this class stops the automatic capitalizing for those 10 labels. */
html body.page label>span.tc{text-transform:none!important}
@media (max-width:900px){
 .cover-band .cv-logo{min-height:44px;display:flex;align-items:center}
 .cover-band .cv-logo img{height:40px}
}
