/* Both identities share a readable rhythm; real photography carries the brand. */
html { scroll-padding-top: 112px; }
.bne-homepage--refined [id] { scroll-margin-top: 112px; }
.bne-homepage--refined .bne-section-title,
.bne-homepage--refined .bne-section-subtitle { text-align:left; margin-left:0; }
.bne-homepage--refined .bne-section-subtitle { max-width:65ch; font-size:16px; line-height:1.6; margin-bottom:24px; }
.bne-homepage--refined .bne-animate { opacity:1; transform:none; animation:none; }
.bne-homepage--refined .bne-listing-card__address { font-size:18px; line-height:1.35; overflow-wrap:anywhere; }
.bne-homepage--refined .bne-listing-card__location,
.bne-homepage--refined .bne-listing-card__detail,
.bne-homepage--refined .bne-featured-listings__type { font-size:14px; line-height:1.45; }
.bne-homepage--refined .bne-listing-card__details { flex-wrap:wrap; gap:8px 14px; }
.bne-homepage--refined .bne-listing-card__detail { white-space:nowrap; }
.bne-homepage--refined .bne-listings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; overflow:visible; margin-left:0; margin-right:0; padding:0; }
.bne-homepage--refined .bne-listings-grid > .bne-listing-card { width:auto; min-width:0; }
.bne-homepage--refined .bne-featured-listings__grid[data-count="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.bne-homepage--refined .bne-listing-card__image-wrapper { aspect-ratio:16/10; height:auto; padding-bottom:0; }
.bne-homepage--refined .bne-listing-card__content { padding:18px; }
.bne-homepage--refined .bne-featured-listings__badge { font-size:12px; padding:4px 8px; top:10px; left:10px; }
.bne-homepage--refined .bne-listing-card__price { font-size:20px; }
.bne-hero__chat-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px 24px; margin-top:20px; }
.bne-hero__chat-actions > a { min-height:44px; display:inline-flex; align-items:center; }
.bne-hero__chat-note { font-size:14px; line-height:1.5; margin:12px 0 0; color:var(--bmn-text-2); max-width: 50ch; }
.bne-homepage--refined .bne-hero--personal .bne-hero__wrapper { min-height:0; padding-top:32px; padding-bottom:24px; gap:32px; align-items:center; }
.bne-homepage--refined .bne-hero--personal .bne-hero__name { font-size:clamp(34px,4vw,58px); line-height:1.08; }
.bne-homepage--refined .bne-hero--personal .bne-hero__description { margin-bottom:20px; max-width: 50ch; }
.bne-homepage--refined .bne-hero--personal .bne-hero__photo-wrapper { height:340px; min-height:0; }
.bne-homepage--refined .bne-hero--personal .bne-hero__photo { height:100%; width:100%; object-fit:contain; object-position:center bottom; }
.bne-homepage--refined .bne-hero--personal .bne-hero-search { margin-top:0; }
.bne-homepage--refined .bne-hero-search__input,
.bne-homepage--refined .bne-hero-search__select { background:var(--bmn-card); color:var(--bmn-text); font-size:16px; }
.bne-homepage--refined .bne-hero-search__input::placeholder { color:var(--bmn-text-2); opacity:1; }
.bne-homepage--refined .bne-about__local-proof { padding:24px; border-left:3px solid var(--bmn-accent); background:var(--bmn-card); }
.bne-about__local-proof h3 { margin:0 0 12px; font-size:22px; }
.bne-about__local-proof p { margin:0 0 16px; font-size:16px; line-height:1.65; color:var(--bmn-text-2); }
.bne-homepage--refined .bne-discovery__photo { margin:0; }
.bne-discovery__photo figcaption { padding:6px 18px; font-size:12px; color:var(--bmn-text-2); }
.bne-homepage--refined .bne-discovery__photo figcaption summary { padding:4px 0; font-size:12px; color:var(--bmn-text-2); }
.bne-homepage--refined .bne-discovery__photo > a { display:block; }
.bne-homepage--refined .bne-discovery__card p,
.bne-homepage--refined .bne-discovery__card dl { font-size:14px; }
.bne-planning__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 40px; }
.bne-planning__grid article { border-top:1px solid var(--bmn-border-strong); padding-top:20px; }
.bne-planning__grid h3 { font-size:22px; line-height:1.3; margin:0 0 12px; }
.bne-planning__grid p { font-size:16px; line-height:1.6; color:var(--bmn-text-2); max-width: 50ch; }
.bne-planning__grid a, .bne-about__local-proof a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.bne-homepage--refined .bne-services__grid { display:grid; grid-auto-flow:row; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; }
.bne-homepage--refined .bne-service-card { width:auto; min-width:0; }
.bne-homepage--refined .bne-service-card__description { font-size:16px; }
.bne-homepage--refined .bne-team .bne-team__grid { overflow:visible; grid-auto-flow:row; }
.bne-homepage--refined .bne-team-card__position { font-size:14px; }
@media(min-width:1280px) {
 .bne-homepage--refined .bne-featured-listings__grid[data-count="4"],
 .bne-homepage--refined .bne-listings-section .bne-listings-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:1023px) {
 .bne-homepage--refined .bne-featured-listings__grid[data-count="3"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bne-homepage--refined .bne-team .bne-team__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:767px) {
 .bne-homepage--refined .bne-hero--personal .bne-hero__wrapper { display:grid; grid-template-columns:minmax(0,1fr) 100px; gap:16px; padding-top:16px; }
 .bne-homepage--refined .bne-hero--personal .bne-hero__content { display:contents; }
 .bne-homepage--refined .bne-hero--personal .bne-hero__eyebrow { grid-column:1/-1; margin:0; }
 .bne-homepage--refined .bne-hero--personal .bne-hero__name { grid-column:1/-1; font-size:34px; margin:0; }
 .bne-homepage--refined .bne-hero--personal .bne-hero__description { grid-column:1/-1; margin:0; }
 .bne-homepage--refined .bne-hero--personal .bne-hero__identity { grid-column:1; grid-row:4; margin:0; gap:10px; }
 .bne-homepage--refined .bne-hero--personal .bne-hero__photo-wrapper { grid-column:2; grid-row:4; height:145px; width:100px; margin:0; position:relative; }
 .bne-homepage--refined .bne-hero--personal .bne-hero__cta { grid-column:1/-1; margin:0; gap:12px; }
 .bne-homepage--refined .bne-hero-search__heading { margin-bottom:16px; }
 .bne-homepage--refined .bne-hero-search__fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
 .bne-homepage--refined .bne-hero-search__field--location,
 .bne-homepage--refined .bne-hero-search__field--submit { grid-column:1/-1; }
 .bne-homepage--refined .bne-listings-grid,
 .bne-homepage--refined .bne-featured-listings__grid[data-count] { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
 /* Let the property photography lead on phones, with readable facts below. */
 .bne-homepage--refined .bne-listing-card { display:block; }
 .bne-homepage--refined .bne-listing-card__image-wrapper { height:auto; aspect-ratio:4/3; padding-bottom:0; }
 .bne-homepage--refined .bne-services__grid { grid-template-columns:minmax(0,1fr); gap:12px; }
 .bne-homepage--refined .bne-service-card { padding:20px; }
 .bne-homepage--refined .bne-service-card__icon { display:none; }
 .bne-homepage--refined .bne-services__supporting { padding:16px; }
 .bne-homepage--refined .bne-team .bne-team__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bne-planning__grid { grid-template-columns:minmax(0,1fr); gap:20px; }
}
@media(prefers-reduced-motion:reduce) { .bne-homepage--refined * { scroll-behavior:auto; transition:none; } }

.bne-homepage--refined, .bne-homepage--refined * { box-sizing:border-box; }
.bne-homepage--refined .bne-hero--personal .bne-hero__content, .bne-homepage--refined .bne-hero--personal .bne-hero__name, .bne-homepage--refined .bne-hero--personal .bne-hero__description { text-align:left; }
.bne-homepage--refined .bne-market-strip { display:none; }

.bne-homepage--refined .bne-hero__chat-actions > a:not(.bne-btn) { color:inherit; text-decoration:underline; text-underline-offset:4px; }
.bne-planning__grid a, .bne-about__local-proof a, .bne-featured-chat a, .bne-discovery__photo a { color:var(--bmn-accent); }
.bne-featured-chat { margin:20px 0 0; font-size:16px; }
.bne-featured-chat a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.bne-homepage--refined .bne-hero-search__input, .bne-homepage--refined .bne-hero-search__select { border:1px solid var(--bmn-border-strong); border-radius:8px; padding:12px; width:100%; min-width:0; }
@media(max-width:767px) { .bne-homepage--refined .bne-hero--personal .bne-hero__photo-wrapper { height:115px; } }

/* Keep the homepage entry out of the mobile menu and its appearance controls. */
body.drawer-open .mld-chat-launcher { display:none; }
/* The accessible homepage launcher owns the idle entry, including asset loading. */
.home #mld-chat-bubble { display:none !important; }
