
:root{--ink:#0b1728;--navy:#102640;--gold:#b99a5b;--paper:#fbfaf7;--muted:#5f6874;--line:#e8e2d7;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.65}a{color:inherit}header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.nav{max-width:1180px;margin:auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-weight:800;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}.brand span{font-weight:500;color:var(--muted);font-size:.82rem;display:block;letter-spacing:.13em}.navlinks{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.navlinks a{text-decoration:none;font-weight:600;font-size:.94rem}.cta{background:var(--navy);color:#fff!important;padding:10px 16px;border-radius:999px}.hero{padding:86px 24px 64px;background:linear-gradient(135deg,#f7f3eb,#fff)}.wrap{max-width:1100px;margin:auto}.eyebrow{color:#826b3d;text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:.78rem}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.6rem,6vw,5.25rem);line-height:1.02;margin:12px 0 18px;max-width:980px}.hero p{font-size:1.22rem;max-width:800px;color:#3d4855}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-block;padding:13px 19px;border-radius:999px;text-decoration:none;font-weight:800;border:1px solid var(--navy)}.btn.primary{background:var(--navy);color:white}.btn.secondary{background:white}.proof{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:42px;max-width:760px}.proof div{background:#fff;border:1px solid var(--line);padding:18px;border-radius:16px}.proof b{font-size:1.5rem;display:block}.section{padding:64px 24px}.section.white{background:#fff}.grid{display:grid;grid-template-columns:1.15fr .85fr;gap:52px}.section h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4vw,3.2rem);line-height:1.12;margin-top:0}.section h3{margin-top:28px}.muted{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:22px}.card h3{margin-top:0}.citylinks{display:flex;flex-wrap:wrap;gap:9px}.citylinks a{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:999px;text-decoration:none;font-weight:700}.faq details{border-top:1px solid var(--line);padding:17px 0}.faq summary{font-weight:800;cursor:pointer}.quote{border-left:4px solid var(--gold);padding:8px 0 8px 20px;font-size:1.1rem}.disclaimer{font-size:.86rem;color:var(--muted)}footer{background:var(--ink);color:#fff;padding:44px 24px}footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}footer a{color:#fff}@media(max-width:800px){.grid{grid-template-columns:1fr}.proof{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.navlinks a:not(.cta){display:none}.hero{padding-top:58px}.hero h1{font-size:2.75rem}}

.citylinks span{background:#f7f3eb;border:1px solid var(--line);padding:9px 12px;border-radius:999px;font-weight:700}.card a{font-weight:700}.section .actions{margin-top:28px}


/* Phase 3 navigation + market team */
.dropdown{position:relative;display:inline-block}.dropbtn{appearance:none;border:0;background:transparent;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;padding:8px 2px}.dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:260px;max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;box-shadow:0 18px 45px rgba(11,23,40,.14);z-index:30}.dropdown-menu a{display:block!important;padding:9px 10px;border-radius:9px;white-space:nowrap}.dropdown-menu a:hover{background:#f7f3eb}.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu{display:block}.agent-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}.agent-card{border:1px solid var(--line);border-radius:18px;padding:22px;background:#fff}.agent-card h3{margin:0 0 4px}.agent-role{font-weight:800;color:#826b3d;font-size:.9rem}.agent-card a{font-weight:800;text-decoration:none}.team-intro{max-width:850px;color:var(--muted)}
@media(max-width:900px){.agent-cards{grid-template-columns:1fr}.nav{align-items:flex-start}.navlinks{justify-content:flex-end}.dropdown-menu{right:0;left:auto}}
@media(max-width:800px){.navlinks>a:not(.cta){display:none}.dropdown{display:inline-block}.dropbtn{font-size:.9rem}.dropdown-menu{position:fixed;left:16px;right:16px;top:72px;max-height:70vh}.navlinks{gap:10px}.brand span{display:none}}


/* Phase 4 luxury refinement */
:root{--ink:#0a0a0a;--navy:#0a0a0a;--gold:#c4a057;--paper:#f7f2ea;--muted:#6e6a62;--line:#d9cfbf;--white:#fff}
body{background:#f7f2ea;color:#14110c}
header{background:rgba(9,9,9,.97);border-bottom:1px solid rgba(196,160,87,.42);backdrop-filter:blur(10px)}
.brand,.navlinks a,.dropbtn{color:#fff}.brand span{color:#c9b991}.cta{background:var(--gold)!important;color:#0b0b0b!important}
.dropdown-menu{background:#111;border-color:#3b3429;box-shadow:0 22px 55px rgba(0,0,0,.36)}
.dropdown-menu a{color:#fff!important}.dropdown-menu a:hover{background:#211c15}
.hero{background:radial-gradient(circle at 82% 20%,rgba(196,160,87,.18),transparent 28%),linear-gradient(135deg,#090909 0%,#17120d 54%,#090909 100%);color:#fff;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(196,160,87,.28);border-radius:50%;right:-100px;top:-120px}
.hero .wrap{position:relative;z-index:1}.hero .eyebrow{color:#d7b66d}.hero p{color:#dfd8ce}.hero h1{letter-spacing:-.02em}
.btn{border-color:#c4a057}.btn.primary{background:#c4a057;color:#0b0b0b}.btn.secondary{background:transparent;color:#fff}.section.white{background:#fffdf9}.section{background:#f7f2ea}
.card,.agent-card{border-color:#d7c9b5;box-shadow:0 12px 35px rgba(61,44,21,.06)}
.citylinks a{border-color:#d7c9b5}.eyebrow,.agent-role{color:#8b6d34}.quote{border-left-color:#c4a057}
footer{background:#080808;border-top:1px solid #2d261d}


/* Phase 7 brand, video, guide and bridge enhancements */
.brand{display:flex;align-items:center;gap:10px;letter-spacing:0;text-transform:none}.brand-logo{width:46px;height:46px;object-fit:contain;display:block}.brand-copy{font-weight:800;letter-spacing:.05em;text-transform:uppercase;line-height:1.12}.brand-copy small{display:block;font-size:.68rem;font-weight:600;color:#c9b991;letter-spacing:.1em;margin-top:4px}
.video-section{background:#0b0b0b;color:#fff}.video-section h2{color:#fff}.video-intro{color:#d8d0c3;max-width:800px}.video-shell{background:#000;border:1px solid rgba(196,160,87,.5);border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.25);max-width:920px}.video-shell video{display:block;width:100%;height:auto;max-height:75vh;background:#000}.youtube-shell{position:relative;aspect-ratio:16/9}.youtube-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.watch-youtube{margin-top:12px}.watch-youtube a{color:#d7b66d;font-weight:700}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}.resource-card{display:block;text-decoration:none;border:1px solid #d7c9b5;border-radius:18px;background:#111;color:#fff;padding:24px;min-height:160px;box-shadow:0 12px 35px rgba(61,44,21,.08)}.resource-card span{display:block;color:#d7b66d;font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;font-weight:700;margin-bottom:10px}.resource-card small{display:block;color:#ddd2c2;font-size:.96rem;line-height:1.55}.guide-shell{height:min(82vh,900px);border:1px solid #d7c9b5;border-radius:18px;overflow:hidden;background:#111}.guide-shell iframe{width:100%;height:100%;border:0}.guide-actions{margin-top:18px}.compact-hero{padding-top:64px;padding-bottom:52px}.compact-hero h1{font-size:clamp(2.4rem,5vw,4.2rem)}
@media(max-width:800px){.brand-logo{width:40px;height:40px}.brand-copy{font-size:.78rem}.brand-copy small{display:none}.resource-grid{grid-template-columns:1fr}.guide-shell{height:72vh}}

/* Phase 9 refinements */
.brand-logo{width:68px!important;height:68px!important}.brand-copy{font-size:1.02rem}.brand-copy small{font-size:.72rem!important;display:block!important}@media(max-width:800px){.brand-logo{width:54px!important;height:54px!important}.brand-copy{font-size:.74rem!important;max-width:170px}.brand-copy small{display:block!important;font-size:.56rem!important;line-height:1.25}.nav{padding:10px 12px;gap:8px}.navlinks{gap:6px}.dropbtn{font-size:.8rem}.cta{padding:8px 10px!important;font-size:.78rem!important}}
/* Phase 10: consistent return navigation on SEO pages */
.site-back{display:inline-flex;align-items:center;gap:6px;color:#e3c56e!important;text-decoration:none;font-weight:800;font-size:14px;white-space:nowrap;border:1px solid rgba(213,173,55,.65);border-radius:999px;padding:8px 12px;background:rgba(0,0,0,.18)}
.site-back:hover{background:rgba(213,173,55,.12)}
@media(max-width:760px){.site-back{font-size:13px;padding:7px 10px}.nav{gap:8px;flex-wrap:wrap}.brand{order:1}.site-back{order:0}.navlinks{order:2;width:100%}}

.footer-group-link{display:inline-block;margin-top:10px;color:#d7b45a;text-decoration:underline;text-underline-offset:3px}.footer-group-link:hover{color:#fff}


/* Phase 13: app-style resource hubs, visible proof stats, universal RealTrends proof */
.proof b{color:#15110a!important;opacity:1!important;visibility:visible!important;font-size:1.7rem!important;font-weight:900!important;line-height:1.15!important}
.proof span{display:block;margin-top:6px}
.rt-site-strip{background:#070707;color:#fff;border-top:1px solid rgba(196,160,87,.45);border-bottom:1px solid rgba(196,160,87,.28);padding:24px}
.rt-site-strip .rt-inner{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.rt-site-strip strong{font-family:Georgia,'Times New Roman',serif;font-size:1.45rem;color:#fff}
.rt-site-strip span{color:#d7b66d;font-weight:800;letter-spacing:.04em}
.rt-site-strip small{color:#c9c3b8;display:block;max-width:720px}
.resource-hub-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.resource-hub-card{display:block;text-decoration:none;border:1px solid #d9cfbf;border-radius:20px;background:#fff;padding:24px;box-shadow:0 12px 30px rgba(20,16,10,.06)}
.resource-hub-card .hub-icon{display:block;font-size:30px;margin-bottom:10px}.resource-hub-card b{display:block;font-size:1.2rem;margin-bottom:5px}.resource-hub-card small{display:block;color:#6e6a62;line-height:1.45}
.hub-hero{padding:72px 24px 54px;background:radial-gradient(circle at 82% 20%,rgba(196,160,87,.18),transparent 28%),linear-gradient(135deg,#090909 0%,#17120d 54%,#090909 100%);color:#fff}
.hub-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.6rem,6vw,4.8rem);line-height:1.02;margin:10px 0 16px}.hub-hero p{color:#dfd8ce;max-width:800px;font-size:1.12rem}.hub-back{display:inline-block;color:#d7b66d;text-decoration:none;font-weight:800;margin-bottom:16px}
.hub-section{padding:56px 24px}.hub-section.alt{background:#fff}.hub-grid{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hub-card{border:1px solid #d9cfbf;background:#fff;border-radius:18px;padding:22px;text-decoration:none;display:block;min-height:170px}.hub-card.dark{background:#0d0d0c;color:#fff;border-color:rgba(196,160,87,.45)}.hub-card .icon{font-size:28px;display:block;margin-bottom:12px}.hub-card b{display:block;font-size:1.08rem;margin-bottom:7px}.hub-card small{color:#6e6a62;line-height:1.45;display:block}.hub-card.dark small{color:#c9c3b8}.hub-card .arrow{display:block;margin-top:16px;color:#a7823d;font-weight:900}.hub-title{max-width:1100px;margin:0 auto 24px}.hub-title h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4vw,3rem);margin:0 0 8px}.hub-title p{color:#6e6a62;margin:0;max-width:800px}
.search-feature{max-width:1100px;margin:0 auto;border:1px solid rgba(196,160,87,.45);border-radius:22px;background:linear-gradient(135deg,#0d0d0c,#17120d);padding:28px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px}.search-feature h3{font-family:Georgia,'Times New Roman',serif;font-size:2rem;margin:0 0 8px}.search-feature p{margin:0;color:#d2cbc0}.search-feature .btn{white-space:nowrap;border-color:#c4a057;background:#c4a057;color:#090909}
@media(max-width:800px){.resource-hub-choices,.hub-grid{grid-template-columns:1fr}.search-feature{align-items:flex-start;flex-direction:column}.rt-site-strip{padding:20px 18px}.hub-hero{padding-top:48px}}

/* Phase 15 resource-context navigation + conversion forms */
.resource-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.resource-tab{display:inline-flex;padding:10px 16px;border:1px solid #c8a24e;border-radius:999px;color:#f2d680;text-decoration:none;font-weight:800}.resource-tab.active{background:#cfa94d;color:#090909}.hub-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.lead-request-section{border-top:1px solid rgba(190,145,48,.25)}.lead-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.lead-form-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lead-form{background:#fff;border:1px solid #dbc79a;border-radius:18px;padding:22px;color:#181512;box-shadow:0 12px 32px rgba(0,0,0,.06)}.lead-form.wide{max-width:900px;margin:0 auto}.lead-form h3{margin-top:0}.lead-form label{display:block;font-weight:700;margin:0 0 14px}.lead-form input,.lead-form textarea,.lead-form select{width:100%;margin-top:7px;padding:12px;border:1px solid #cfc5b1;border-radius:10px;font:inherit;background:#fff}.lead-form textarea{resize:vertical}.lead-form .btn{border:0;cursor:pointer}@media(max-width:720px){.lead-form-grid,.lead-form-grid.compact{grid-template-columns:1fr}.resource-tabs,.hub-cta-row{display:grid;grid-template-columns:1fr}.resource-tab,.hub-cta-row .btn{justify-content:center;text-align:center}}

/* Phase 16: flagship luxury-market authority + local lifestyle guides */
.luxury-hero h1{max-width:980px}.luxury-card{border-top:3px solid #b89545}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.guide-card{background:#fff;border:1px solid #e4e0d8;border-radius:16px;padding:24px;box-shadow:0 10px 28px rgba(10,18,28,.06)}.guide-card h3{margin-top:0}.guide-card a{font-weight:700}.place-links{display:flex;gap:14px;flex-wrap:wrap}.local-guide .muted{font-size:.92rem}@media(max-width:760px){.guide-grid{grid-template-columns:1fr}}


/* Phase 17: navigation, team presentation, conversion modal, stronger luxury heroes */
.brand-logo{width:88px!important;height:88px!important;filter:drop-shadow(0 0 1px rgba(255,255,255,.18))}.brand{gap:14px}.brand-copy{font-size:1.08rem}.brand-copy small{font-size:.75rem!important}
.hero-title-stack{display:flex;flex-direction:column;gap:8px;max-width:1050px}.hero-title-stack .hero-main{display:block}.hero-title-stack .hero-person{display:block;color:#d7b66d;font-family:Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.15em;font-size:clamp(1rem,2vw,1.45rem);font-weight:800;margin-top:8px}.hero-title-stack.richard .hero-main{font-size:clamp(3.2rem,7vw,6.4rem);line-height:.95}.hero-title-stack.richard .hero-subtitle{display:block;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4.8vw,4.3rem);line-height:1.02;font-weight:700}.luxury-hero .hero-title-stack .hero-main{font-size:clamp(3rem,6.5vw,6rem);line-height:.98}
.profile-resource-banner{margin-top:28px;border:1px solid rgba(196,160,87,.55);border-radius:24px;padding:26px;background:linear-gradient(135deg,#111,#1a1510);color:#fff;display:flex;gap:24px;align-items:center;justify-content:space-between;box-shadow:0 18px 45px rgba(0,0,0,.16)}.profile-resource-banner h3{font-family:Georgia,'Times New Roman',serif;font-size:1.8rem;margin:0 0 6px}.profile-resource-banner p{margin:0;color:#d6cfc5}.profile-resource-actions{display:flex;gap:12px;flex-wrap:wrap}.profile-resource-actions .btn{min-width:220px;text-align:center;font-size:1rem;padding:14px 20px}.profile-resource-actions .btn.primary{background:#c4a057;color:#0a0a0a}
.team-hero{padding-bottom:60px}.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:28px}.team-member-card{display:grid;grid-template-columns:180px 1fr;gap:22px;background:#fff;border:1px solid #dccdab;border-radius:22px;overflow:hidden;box-shadow:0 14px 38px rgba(30,20,8,.08);min-height:245px}.team-member-card img,.team-photo-placeholder{width:100%;height:100%;min-height:245px;object-fit:cover;background:#111}.team-photo-placeholder{display:flex;align-items:center;justify-content:center;padding:24px}.team-photo-placeholder img{width:110px;height:110px;min-height:auto;object-fit:contain}.team-member-info{padding:24px 24px 24px 0}.team-member-info h2{font-family:Georgia,'Times New Roman',serif;font-size:2rem;margin:0 0 5px}.team-member-info .role{color:#8b6d34;font-weight:800;margin-bottom:12px}.team-member-info p{color:#5f594f;line-height:1.55}.team-member-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.team-member-links a{display:inline-flex;padding:9px 12px;border:1px solid #c7a24d;border-radius:999px;text-decoration:none;font-weight:800;color:#16120c}.team-member-card.leader{grid-column:1/-1;grid-template-columns:240px 1fr;background:linear-gradient(135deg,#0c0c0c,#1a1510);color:#fff;border-color:#9b7a37}.team-member-card.leader .team-member-info h2{color:#fff}.team-member-card.leader .team-member-info p{color:#d9d1c6}.team-member-card.leader .team-member-links a{color:#f2d680}
.team-link-feature{margin-top:28px;text-align:center}.team-link-feature .btn{font-size:1.05rem;padding:15px 24px;min-width:260px}
.seller-consult-feature{max-width:1100px;margin:0 auto;border:1px solid #d3b86f;background:linear-gradient(135deg,#0d0d0c,#1d1710);border-radius:24px;padding:34px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px}.seller-consult-feature h2{font-family:Georgia,'Times New Roman',serif;color:#fff;margin:0 0 8px;font-size:clamp(2rem,4vw,3rem)}.seller-consult-feature p{margin:0;color:#d9d1c6;max-width:720px}.seller-consult-feature .btn{white-space:nowrap;font-size:1rem;padding:15px 22px}
.seller-modal[hidden]{display:none}.seller-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px}.seller-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.seller-modal-dialog{position:relative;z-index:1;width:min(760px,100%);max-height:92vh;overflow:auto;background:#fffdf9;border:1px solid #c9a34f;border-radius:22px;padding:28px;box-shadow:0 30px 100px rgba(0,0,0,.45)}.seller-modal-dialog h2{font-family:Georgia,'Times New Roman',serif;font-size:2.25rem;margin:0 0 8px}.seller-modal-dialog>p{color:#6e6a62;margin:0 40px 20px 0}.seller-modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:32px;line-height:1;cursor:pointer;color:#2b2419}.seller-modal .lead-form{padding:0;border:0;box-shadow:none}.seller-modal .lead-form .btn{width:100%;font-size:1rem;padding:14px}.seller-modal-open{overflow:hidden}
.homevalue-back{position:fixed;left:18px;top:18px;z-index:9999;display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border-radius:999px;background:#0b0b0b;color:#f2d680!important;border:1px solid #c4a057;text-decoration:none!important;font:700 14px/1 Arial,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.22)}
@media(max-width:900px){.team-grid{grid-template-columns:1fr}.team-member-card.leader{grid-column:auto}.profile-resource-banner,.seller-consult-feature{align-items:flex-start;flex-direction:column}.team-member-card,.team-member-card.leader{grid-template-columns:145px 1fr}}
@media(max-width:640px){.brand-logo{width:62px!important;height:62px!important}.team-member-card,.team-member-card.leader{grid-template-columns:1fr}.team-member-card img,.team-photo-placeholder{height:320px;min-height:320px}.team-member-info{padding:22px}.profile-resource-actions{width:100%}.profile-resource-actions .btn{width:100%}.hero-title-stack .hero-person{letter-spacing:.1em}.seller-modal-dialog{padding:24px 18px}.homevalue-back{left:10px;top:10px}}


/* Phase 18: visual repair + app-style resources + centered identity system */
/* Header logo: readable but never oversized */
.brand-logo{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important;flex:0 0 64px!important}
.brand{min-width:0}.brand-copy{font-size:.94rem!important;line-height:1.08!important}.brand-copy small{font-size:.64rem!important;line-height:1.2!important}

/* Center the luxury/profile heroes and keep identity on separate lines */
.hero.identity-hero .wrap,.hero.market-identity-hero .wrap,.team-hero .wrap{text-align:center}
.hero.identity-hero .eyebrow,.hero.market-identity-hero .eyebrow,.team-hero .eyebrow{display:block;text-align:center}
.hero.identity-hero h1,.hero.market-identity-hero h1,.team-hero h1{margin-left:auto!important;margin-right:auto!important;max-width:980px!important;text-align:center!important}
.hero.identity-hero p,.hero.market-identity-hero p,.team-hero p{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
.hero.identity-hero .actions,.hero.market-identity-hero .actions{justify-content:center}
.agent-display-name{display:block;margin:12px auto 8px;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.8rem,6vw,5.3rem);line-height:.98;font-weight:700;letter-spacing:-.025em;text-align:center}
.agent-display-position{display:block;color:#d7b66d;font-weight:800;text-transform:uppercase;letter-spacing:.13em;font-size:clamp(.82rem,1.6vw,1.05rem);text-align:center;margin:0 auto 18px}
.market-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.7rem,6.4vw,5.7rem)!important;line-height:.98!important;margin:10px auto 16px!important;letter-spacing:-.025em!important;text-align:center!important}
.market-agent-name{font-family:Georgia,'Times New Roman',serif;color:#fff;font-size:clamp(2.1rem,4.5vw,3.8rem);font-weight:700;line-height:1;margin:4px auto 8px;text-align:center}
.market-agent-role{color:#d7b66d;font-weight:800;text-transform:uppercase;letter-spacing:.13em;font-size:.94rem;text-align:center;margin-bottom:16px}

/* Profile portrait section: real supplied photos, controlled size, never raw/full-page */
.profile-intro{padding:46px 24px;background:#fffdf9}
.profile-intro-inner{max-width:1000px;margin:auto;display:grid;grid-template-columns:minmax(220px,330px) 1fr;gap:42px;align-items:center}
.profile-portrait{width:100%;max-width:320px;aspect-ratio:4/5;display:block;object-fit:contain;object-position:center bottom;margin:auto;background:linear-gradient(180deg,#f4f1eb,#e9e5dd);border:1px solid #dccdab;border-radius:24px;box-shadow:0 18px 42px rgba(30,20,8,.10);overflow:hidden}
.profile-intro-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4vw,3.2rem);line-height:1.05;margin:0 0 10px}.profile-intro-copy p{color:#5f594f}.profile-intro-copy .actions{margin-top:22px}

/* Agent main page resource choices: app-like boxed cards */
.profile-resource-banner{max-width:1100px;margin:34px auto 0!important}
.resource-hub-choices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;margin-top:26px!important}
.resource-hub-card{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-height:255px!important;border-radius:24px!important;border:1px solid #cfb36f!important;padding:28px!important;text-decoration:none!important;overflow:hidden!important;background:linear-gradient(160deg,#0d0d0c,#1e1810)!important;color:#fff!important;box-shadow:0 18px 42px rgba(20,14,7,.14)!important}
.resource-hub-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 15%,rgba(202,163,75,.22),transparent 32%);pointer-events:none}.resource-hub-card>*{position:relative;z-index:1}
.resource-hub-card .hub-icon{font-size:34px!important;color:#d8b75f!important;margin-bottom:auto!important}.resource-hub-card b{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(1.7rem,3vw,2.35rem)!important;line-height:1.05!important;margin:18px 0 8px!important;color:#fff!important}.resource-hub-card small{color:#d8d0c4!important;font-size:1rem!important;line-height:1.45!important}.resource-hub-card:hover{transform:translateY(-2px);border-color:#e2bf67!important}

/* Resource hub top tabs: always readable */
.hub-hero{text-align:center}.hub-hero .wrap{max-width:980px}.hub-hero p{margin-left:auto;margin-right:auto}.hub-back{display:inline-flex;margin-left:auto;margin-right:auto}.resource-tabs{justify-content:center!important}.resource-tab{background:#15120d!important;color:#f6e4ad!important;border-color:#c8a24e!important;min-width:180px;justify-content:center}.resource-tab.active{background:#cfa94d!important;color:#090909!important}.hub-cta-row{justify-content:center!important}
.hub-title{text-align:center}.hub-title p{margin-left:auto;margin-right:auto}.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.hub-card{min-height:220px!important;border-radius:22px!important;padding:28px!important;box-shadow:0 14px 34px rgba(30,20,8,.08)!important}.hub-card b{font-family:Georgia,'Times New Roman',serif;font-size:1.5rem!important}.hub-card .icon{font-size:32px!important}.hub-card.dark{background:linear-gradient(145deg,#0c0c0b,#1d1710)!important}.hub-card:not(.dark){background:#fffdf9!important;color:#18130d!important}.hub-card:not(.dark) small{color:#6e665d!important}
.seller-consult-feature{max-width:1100px!important}

/* Team page: use real team image + individual portraits, all constrained */
.team-photo-feature{max-width:1080px;margin:30px auto 0;border:1px solid rgba(196,160,87,.48);border-radius:24px;overflow:hidden;background:#111;box-shadow:0 22px 55px rgba(0,0,0,.22)}
.team-photo-feature img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#111}
.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch}.team-member-card,.team-member-card.leader{grid-template-columns:170px 1fr!important;min-height:250px!important;max-height:360px!important;overflow:hidden!important}.team-member-card.leader{grid-column:1/-1!important}.team-member-card>img,.team-photo-placeholder{width:170px!important;height:100%!important;min-height:250px!important;max-height:360px!important;object-fit:contain!important;object-position:center bottom!important;background:#f0ece5!important}.team-member-card.leader>img{width:170px!important}.team-member-info{padding:24px!important;overflow:auto}.team-member-info h2{font-size:1.8rem!important}

/* Responsive safety */
@media(max-width:900px){.profile-intro-inner{grid-template-columns:1fr}.profile-portrait{max-width:270px}.team-grid{grid-template-columns:1fr!important}.team-member-card.leader{grid-column:auto!important}}
@media(max-width:720px){.brand-logo{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;flex-basis:52px!important}.brand-copy{font-size:.72rem!important}.brand-copy small{font-size:.52rem!important}.resource-hub-choices,.hub-grid{grid-template-columns:1fr!important}.team-member-card,.team-member-card.leader{grid-template-columns:1fr!important;max-height:none!important}.team-member-card>img,.team-member-card.leader>img,.team-photo-placeholder{width:100%!important;height:300px!important;max-height:300px!important}.market-title{font-size:clamp(2.4rem,12vw,4rem)!important}.agent-display-name{font-size:clamp(2.5rem,12vw,4rem)}}

/* Phase 19: hard visual reset, cache-bust, mobile-first team cards */
/* Important: this file has a new name so browsers do not keep week-cached Phase 18 CSS. */

/* Never allow a raw portrait/logo to escape its component. */
.profile-portrait,
.team-member-card > img,
.team-photo-feature img,
.brand-logo{
  max-width:100%;
}

/* Agent profile portrait section - desktop */
.profile-intro-inner{
  width:min(100%,1000px);
  grid-template-columns:280px minmax(0,1fr)!important;
  gap:40px!important;
}
.profile-portrait{
  width:280px!important;
  height:350px!important;
  max-width:280px!important;
  max-height:350px!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center 22%!important;
  border-radius:22px!important;
}
.profile-intro-copy{
  min-width:0;
}

/* Meet the Group hero image: use clean no-name team photo and fit naturally. */
.team-photo-feature{
  width:min(100%,1080px)!important;
  aspect-ratio:16/9;
  max-height:none!important;
}
.team-photo-feature img{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Team cards: never let inline/raw image dimensions take over. */
.team-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
}
.team-member-card,
.team-member-card.leader{
  display:grid!important;
  grid-template-columns:180px minmax(0,1fr)!important;
  min-width:0!important;
  min-height:280px!important;
  max-height:none!important;
  overflow:hidden!important;
}
.team-member-card.leader{
  grid-column:1/-1!important;
}
.team-member-card > img,
.team-member-card.leader > img{
  display:block!important;
  width:180px!important;
  min-width:180px!important;
  max-width:180px!important;
  height:100%!important;
  min-height:280px!important;
  max-height:360px!important;
  object-fit:cover!important;
  object-position:center 20%!important;
  background:#ece8df!important;
}
.team-member-card:nth-of-type(5) > img{
  object-position:center center!important;
}
.team-member-info{
  min-width:0!important;
  padding:24px!important;
  overflow:visible!important;
}
.team-member-info h2{
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.team-member-links{
  display:flex!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
}
.team-member-links a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}

/* Agent / market hero typography. Prevent words from ever joining visually. */
.agent-display-name,
.market-agent-name,
.market-title,
.hero.identity-hero h1,
.hero.market-identity-hero h1{
  word-spacing:normal!important;
  letter-spacing:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.agent-display-name,
.market-agent-name{
  display:block!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* App-style Buyer / Seller entry panel. Buyer must always remain visible. */
.profile-resource-banner{
  width:min(calc(100% - 48px),1000px)!important;
  margin:34px auto!important;
  padding:32px!important;
  border-radius:26px!important;
}
.profile-resource-banner > div:first-child{
  text-align:center!important;
  width:100%;
}
.profile-resource-banner{
  flex-direction:column!important;
  align-items:center!important;
}
.profile-resource-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  width:min(100%,720px)!important;
  gap:16px!important;
}
.profile-resource-actions .btn{
  width:100%!important;
  min-width:0!important;
  text-align:center!important;
  color:#f8e6ae!important;
  border-color:#c9a44e!important;
  background:#15110d!important;
}
.profile-resource-actions .btn.primary{
  background:#cda850!important;
  color:#0a0907!important;
}

/* Resource page tabs: always readable in desktop and mobile. */
.resource-tabs{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.resource-tab,
.resource-tab:visited{
  color:#f8e6ae!important;
  background:#15110d!important;
  border:1px solid #c9a44e!important;
  opacity:1!important;
  text-decoration:none!important;
}
.resource-tab.active,
.resource-tab.active:visited{
  color:#0b0a08!important;
  background:#cda850!important;
}

/* Mobile: compact app-like cards rather than giant raw portraits. */
@media(max-width:720px){
  .nav{padding:10px 12px!important;}
  .brand-copy{display:none!important;}
  .brand-logo{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;}

  .profile-intro{padding:32px 18px!important;}
  .profile-intro-inner{
    display:flex!important;
    flex-direction:column!important;
    gap:22px!important;
    text-align:center!important;
  }
  .profile-portrait{
    width:220px!important;
    height:275px!important;
    max-width:220px!important;
    max-height:275px!important;
    object-fit:cover!important;
    object-position:center 20%!important;
  }
  .profile-intro-copy .actions{justify-content:center!important;}

  .team-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .team-member-card,
  .team-member-card.leader{
    grid-template-columns:1fr!important;
    width:100%!important;
    min-height:0!important;
    max-height:none!important;
    border-radius:22px!important;
  }
  .team-member-card.leader{
    grid-column:auto!important;
  }
  .team-member-card > img,
  .team-member-card.leader > img{
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:240px!important;
    min-height:240px!important;
    max-height:240px!important;
    object-fit:cover!important;
    object-position:center 22%!important;
  }
  .team-member-card:nth-of-type(5) > img{
    object-position:center center!important;
  }
  .team-member-info{
    padding:22px!important;
  }
  .team-member-info h2{
    font-size:2rem!important;
    line-height:1.05!important;
    margin-bottom:8px!important;
  }
  .team-member-links{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .team-member-links a{
    width:100%!important;
    min-height:48px!important;
  }

  .team-photo-feature{
    border-radius:18px!important;
    aspect-ratio:16/9!important;
  }

  .profile-resource-banner{
    width:calc(100% - 36px)!important;
    padding:28px 22px!important;
  }
  .profile-resource-actions{
    grid-template-columns:1fr!important;
    width:100%!important;
  }

  .resource-tabs{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
  }
  .resource-tab{
    width:100%!important;
    min-height:52px!important;
    text-align:center!important;
  }

  .agent-display-name{
    font-size:clamp(2.4rem,13vw,3.7rem)!important;
    line-height:1!important;
  }
  .market-title{
    font-size:clamp(2.2rem,11vw,3.5rem)!important;
    line-height:1.02!important;
  }
  .market-agent-name{
    font-size:clamp(2rem,10vw,3rem)!important;
  }
}
\n\n/* Phase 20 — app-aligned UX, durable resource return anchors, clearer CTA language */
:root{scroll-padding-top:105px}

/* CTA wording is longer now; keep header stable */
.navlinks .cta{white-space:nowrap}

/* Main agent profile: one resource system, not three competing duplicates */
.profile-intro{padding:64px 24px;background:#fff}
.profile-intro .profile-intro-inner{max-width:1100px;margin:auto;display:grid;grid-template-columns:minmax(260px,390px) 1fr;gap:56px;align-items:center}
.profile-intro .profile-intro-image{width:100%;max-width:390px;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:28px;border:1px solid #cfb36f;box-shadow:0 18px 45px rgba(20,14,7,.14)}
.profile-intro .profile-intro-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.4rem,5vw,4.2rem);line-height:1.03;margin:.1em 0 .35em}
.profile-intro .profile-intro-copy p{font-size:1.08rem;color:#615b52;max-width:720px}
.app-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
.app-primary-action{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:92px;padding:18px 20px;border:1px solid #c9a34d;border-radius:18px;text-decoration:none;background:#15120d;color:#fff;font-weight:800}
.app-primary-action.gold{background:#cfa94d;color:#090909}
.app-primary-action strong{display:block;font-size:1.05rem}.app-primary-action small{display:block;font-weight:500;opacity:.78;margin-top:3px}.app-primary-action .arrow{font-size:1.35rem}

/* Resource hub pages intentionally echo the app while retaining SEO/editorial content. */
body.resource-page{background:#080808;color:#fff}
.resource-page main{background:#080808}
.resource-page .resource-contact-bar{position:sticky;top:0;z-index:20;background:rgba(8,8,8,.97);border-bottom:1px solid rgba(196,160,87,.42);backdrop-filter:blur(8px)}
.resource-page .resource-contact-inner{max-width:1180px;margin:auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.resource-page .resource-mini-id{display:flex;align-items:center;gap:12px;min-width:0}.resource-page .resource-mini-id img{width:54px;height:54px;object-fit:cover;object-position:center top;border-radius:50%;border:1px solid #c9a34d}.resource-page .resource-mini-id strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:1.1rem}.resource-page .resource-mini-id small{display:block;color:#c5bda8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}
.resource-page .resource-contact-actions{display:flex;gap:8px}.resource-page .resource-contact-actions a{padding:9px 14px;border:1px solid #c9a34d;border-radius:999px;color:#f0cf72;text-decoration:none;font-weight:800;font-size:.9rem}
.resource-page .hub-hero{background:radial-gradient(circle at 85% 10%,rgba(190,145,48,.18),transparent 35%),#0b0b0a;color:#fff;padding:56px 24px 46px;border-bottom:1px solid rgba(196,160,87,.25)}
.resource-page .hub-hero h1{font-family:Georgia,'Times New Roman',serif;color:#fff;font-size:clamp(2.5rem,6vw,4.6rem);line-height:1.03;margin:10px 0 16px}.resource-page .hub-hero p{color:#d9d1c4;max-width:760px}.resource-page .hub-back{color:#e2bd64;border-color:#a9863e}.resource-page .eyebrow{color:#d4ad52}
.resource-page .resource-tabs{scroll-margin-top:100px}.resource-page .resource-tab{background:#111!important;color:#f5d47d!important}.resource-page .resource-tab.active{background:#d2aa4f!important;color:#080808!important}
.resource-page .hub-section{background:#080808;color:#fff;padding:54px 24px}.resource-page .hub-section.alt{background:#0e0d0b}.resource-page .hub-title{max-width:1100px;margin:0 auto 24px}.resource-page .hub-title h2{font-family:Georgia,'Times New Roman',serif;color:#fff;font-size:clamp(2rem,4vw,3.1rem);margin-bottom:8px}.resource-page .hub-title p{color:#cfc7b9}.resource-page .hub-grid{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.resource-page .hub-card{min-height:180px;background:linear-gradient(145deg,#111,#17130d)!important;border:1px solid rgba(196,160,87,.5)!important;color:#fff!important;border-radius:18px!important;padding:22px!important;box-shadow:none!important}.resource-page .hub-card b{font-family:Georgia,'Times New Roman',serif;color:#f4d06c!important;font-size:1.4rem!important}.resource-page .hub-card small{color:#d8d0c3!important}.resource-page .hub-card .arrow{color:#e1b84f!important}.resource-page .hub-card .icon{font-size:1.55rem}
.resource-page .search-feature{max-width:1100px;margin:auto;background:linear-gradient(145deg,#111,#1b150b);border:1px solid rgba(196,160,87,.55);border-radius:20px;padding:26px;color:#fff}.resource-page .search-feature h3{font-family:Georgia,'Times New Roman',serif;font-size:2rem;margin:0 0 6px}.resource-page .search-feature p{color:#d8d0c3}.resource-page .lead-request-section{background:#0c0b09}.resource-page .lead-form{background:#111;color:#fff;border-color:#8c7138}.resource-page .lead-form input,.resource-page .lead-form textarea,.resource-page .lead-form select{background:#090909;color:#fff;border-color:#5e4a25}.resource-page footer{border-top:1px solid rgba(196,160,87,.35)}

/* Prevent old light button state from ever making Buyer Resources invisible. */
.profile-intro .app-primary-action,.profile-intro .app-primary-action:visited{color:#fff!important}.profile-intro .app-primary-action.gold,.profile-intro .app-primary-action.gold:visited{color:#080808!important}

/* Anchor targets return just below sticky nav instead of at page top. */
#seller-resources,#buyer-resources,#resource-center,#resource-tabs,#search-homes,#home-value{scroll-margin-top:115px}

@media(max-width:800px){
  .profile-intro{padding:42px 18px}.profile-intro .profile-intro-inner{grid-template-columns:1fr;gap:28px}.profile-intro .profile-intro-image{max-width:360px;margin:auto}.profile-intro .profile-intro-copy{text-align:center}.profile-intro .profile-intro-copy p{margin-left:auto;margin-right:auto}.app-primary-actions{grid-template-columns:1fr}.resource-page .resource-contact-inner{align-items:flex-start;flex-direction:column}.resource-page .resource-contact-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.resource-page .resource-contact-actions a{text-align:center;padding:8px 6px;font-size:.8rem}.resource-page .resource-mini-id small{max-width:240px}.resource-page .hub-grid{grid-template-columns:1fr}}

/* Phase 21: app-matched conversion modules */
.split-heading span{display:block}.app-match-section{background:#0a0a09;color:#fff;padding:54px 24px}.app-match-stack{display:grid;gap:20px;max-width:1100px}.app-search-card,.app-homevalue-card,.app-next-step{border:1px solid #8f7129;border-radius:24px;background:linear-gradient(135deg,#111,#17130d);overflow:hidden}.app-search-card{display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch}.app-search-card>div{padding:42px}.app-search-card h2,.app-homevalue-card h2,.app-next-step h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.2rem,5vw,4rem);margin:.1em 0 .25em}.app-search-card img{width:100%;height:100%;min-height:310px;object-fit:cover}.app-homevalue-card{padding:34px;display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:center}.app-homevalue-card h2 em{display:block;color:#e4bf45;font-weight:500}.hv-mini{border:1px solid #8f7129;border-radius:20px;padding:26px;background:#0d0d0c}.hv-mini small{color:#aaa}.hv-mini label{display:block;font-weight:700;margin-top:18px}.hv-mini input{width:100%;box-sizing:border-box;margin:8px 0 14px;padding:15px;border-radius:12px;border:1px solid #5f4b1c;background:#151515;color:#fff}.hv-mini .btn{width:100%}.app-next-step{padding:32px}.next-step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.next-step-grid a{padding:24px;border:1px solid #72591f;border-radius:18px;color:#fff;text-decoration:none;background:#10100f}.next-step-grid span{font-size:1.6rem;display:block;margin-bottom:12px}.next-step-grid b{display:block;color:#e6c44c;font-size:1.05rem}.next-step-grid small{display:block;color:#aaa;margin-top:5px}.find-agent-bottom{background:#090909;padding:24px 24px 54px}.find-agent-bottom .wrap{max-width:1100px}.find-agent-bottom img{display:block;width:100%;border-radius:22px;border:1px solid #8f7129}.find-agent-form{max-width:760px;margin:auto}.find-agent-form select{width:100%;padding:14px;border-radius:10px;background:#111;color:#fff;border:1px solid #8f7129}@media(max-width:760px){.app-search-card,.app-homevalue-card{grid-template-columns:1fr}.app-search-card>div,.app-homevalue-card,.app-next-step{padding:24px}.app-search-card img{min-height:220px}.next-step-grid{grid-template-columns:1fr}}
