/* ALS Script: freeware font (license kept alongside the file), used for the
   decorative "D" watermark on no-photo agent tiles */
@font-face {
	font-family: 'ALS Script';
	src: url('/assets/fonts/als-script/alsscrp.ttf') format('truetype');
	font-display: swap;
}

/* Great Vibes (SIL OFL, license kept alongside the file), used for the ghost
   lettering behind sections */
@font-face {
	font-family: 'Great Vibes';
	src: url('/assets/fonts/great-vibes/GreatVibes-Regular.ttf') format('truetype');
	font-display: swap;
}

:root {
	--ink: #232f54;
	--ink-soft: #5a6584;
	--sand: #f7f4ee;
	--paper: #ffffff;
	--line: #dde2ee;
	--accent: #3e569e;
	--accent-dark: #283766;
	--gold: #c19a52;
	--gold-dark: #a8823f;
	--gold-soft: #e8d9bc;
	--navy-grad-a: #283766;
	--navy-grad-b: #3e569e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: 'Raleway', sans-serif;
	color: var(--ink);
	background: var(--paper);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 500; line-height: 1.2; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 88px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.btn {
	display: inline-block;
	padding: 14px 32px;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(40,55,102,0.22); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--accent-dark); }
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); }
.section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 16px;
	font-weight: 600;
}
.section-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.head-center .section-eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 20px; }
.section-lead { color: var(--ink-soft); max-width: 680px; font-size: 17px; }

/* NAVIGATION */
.nav {
	position: fixed; top: 0; left: 0; right: 0;
	z-index: 100;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
	transition: all 0.3s;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(35,47,84,0.10); }
.nav-menu .mobile-only { display: none; }
.nav-inner {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 32px;
}
/* The logo is the one thing that must never give up space: without this the
   flex row squeezes it to zero before the menu wraps on narrow desktops. */
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 48px; }
.nav-menu {
	display: flex; gap: 22px; list-style: none;
	font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
}
.nav-menu > li { white-space: nowrap; }
.nav-menu a {
	display: inline-block; position: relative; padding: 4px 0;
	white-space: nowrap; color: var(--ink); transition: color 0.2s;
}
.nav-menu a::after {
	content: ''; position: absolute; left: 0; bottom: 0;
	width: 0; height: 2px; background: var(--gold); transition: width 0.25s ease;
}
.nav-menu a:hover { color: var(--accent); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--accent); }
.nav-cta { display: flex; gap: 18px; align-items: center; font-size: 13px; }
.nav-lang {
	display: flex; gap: 6px; align-items: center; font-weight: 600; letter-spacing: 1px;
	padding-right: 18px; border-right: 1px solid var(--line);
}
.nav-lang a { cursor: pointer; color: var(--ink-soft); text-transform: uppercase; font-size: 12px; white-space: nowrap; }
.nav-lang a:hover { color: var(--accent); }
.nav-lang .sep { color: var(--line); }
.nav-cta a.contact-link {
	letter-spacing: 1px; text-transform: uppercase; font-weight: 600; font-size: 12px;
	white-space: nowrap; padding: 9px 16px; border: 1px solid var(--accent);
	color: var(--accent); border-radius: 3px; transition: all 0.2s;
}
.nav-cta a.contact-link:hover { background: var(--accent); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--accent-dark); }

/* HERO */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
	color: #fff;
	display: flex;
	align-items: center;
}
.hero .hero-fallback {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero .hero-video { transition: opacity 1.5s ease; }
.hero .hero-video.faded { opacity: 0; }
.hero::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.35) 100%);
	z-index: 1;
}
.hero-content {
	position: relative; z-index: 2;
	max-width: 760px;
	padding: 0 24px;
	margin: 0 auto;
	text-align: center;
}
.hero h1 { font-size: clamp(40px, 6vw, 72px); color: #fff; margin-bottom: 14px; text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.hero p { font-size: 19px; margin-bottom: 36px; opacity: 0.95; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.hero-kicker {
	display: inline-flex; align-items: center; gap: 14px;
	font-size: 13px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600;
	color: var(--gold-soft); margin-bottom: 22px;
	text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-kicker::before, .hero-kicker::after { content: ''; width: 44px; height: 1px; background: var(--gold); }
.hero-sub {
	font-family: 'Playfair Display', serif; font-style: italic;
	font-size: 22px; color: var(--gold-soft); margin-bottom: 34px;
	text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
	position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
	z-index: 2; color: rgba(255,255,255,0.85); font-size: 22px;
	animation: heroScrollNudge 2.4s ease-in-out infinite;
}
.hero-scroll:hover { color: #fff; }
@keyframes heroScrollNudge {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-scroll { animation: none; }
}

/* INTERIOR PAGE HERO (Careers, etc.) */
.page-hero {
	background: linear-gradient(160deg, var(--navy-grad-a) 0%, var(--navy-grad-b) 100%);
	color: #fff;
	padding: 150px 0 70px;
	text-align: center;
}
.page-hero .section-eyebrow { color: rgba(255,255,255,0.75); }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto; font-size: 18px; }

/* GENERIC SECTION HEADS */
.section-pad { padding: 120px 0; position: relative; overflow: hidden; }
.section-pad > .container { position: relative; z-index: 2; }
.bg-sand { background: var(--sand); }
.head-center { text-align: center; margin-bottom: 56px; }
.head-center .section-lead { margin: 0 auto; }

/* Oversized ghost lettering behind section content. Great Vibes is a thin
   script, so it runs larger and slightly less transparent than the old serif
   to keep the same visual weight. */
.ghost-word {
	position: absolute; left: 50%; transform: translateX(-50%);
	font-family: 'Great Vibes', 'Playfair Display', cursive;
	font-weight: 400;
	font-size: clamp(110px, 18vw, 260px); line-height: 1; white-space: nowrap;
	color: rgba(40, 55, 102, 0.07); z-index: 1;
	pointer-events: none; user-select: none;
}

/* STATS BAND */
.stats-band { background: linear-gradient(160deg, var(--navy-grad-a) 0%, var(--navy-grad-b) 100%); color: #fff; padding: 44px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 44px; color: var(--gold-soft); line-height: 1.1; }
.stat .lbl { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 6px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.14); }

/* NEIGHBORHOOD CARDS */
.hoods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.hood {
	position: relative; height: 210px; border-radius: 6px; overflow: hidden;
	display: flex; align-items: flex-end; color: #fff;
	box-shadow: 0 14px 34px rgba(35,47,84,0.14);
}
.hood .ph { position: absolute; inset: 0; background-position: center; background-size: cover; transition: transform 0.4s ease; }
.hood:hover .ph { transform: scale(1.05); }
.hood::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,25,43,0) 35%, rgba(20,25,43,0.75) 100%); }
.hood .lbl { position: relative; z-index: 2; padding: 18px 20px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hood .lbl .name { font-family: 'Playfair Display', serif; font-size: 22px; }
.hood .lbl .cnt { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-soft); white-space: nowrap; }

/* WHY DECORATIVE */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
	background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
	padding: 34px 26px; border-radius: 6px; text-align: center;
	box-shadow: 0 10px 30px rgba(35,47,84,0.06); transition: transform 0.25s, box-shadow 0.25s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(35,47,84,0.12); }
.why-card .ico {
	width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
	background: var(--sand); border: 1px solid var(--gold-soft);
	display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--gold);
}
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--ink-soft); }

/* PROPERTIES / IDX */
.properties-head {
	display: flex; justify-content: space-between; align-items: flex-end;
	margin-bottom: 40px; flex-wrap: wrap; gap: 24px;
}
.idx-wrap {
	margin-top: 8px; padding: 40px; background: var(--sand);
}

/* OUR LISTINGS
   Sits on the sand band, so the frame is paper-white to lift the listings off
   the background. The offset gold rule echoes the .media-frame treatment used
   on the sell video. */
.listings-wrap {
	position: relative; padding: 28px; background: var(--paper);
	border-radius: 4px; box-shadow: 0 20px 50px rgba(40,55,102,0.10);
}
.listings-wrap::before {
	content: ''; position: absolute; inset: 0;
	border: 1px solid var(--gold); border-radius: 4px;
	transform: translate(-14px, 14px); pointer-events: none; z-index: 0;
}
.listings-wrap > [data-bc-widget] { position: relative; z-index: 1; }
.listings-foot {
	display: flex; align-items: center; justify-content: center;
	flex-wrap: wrap; gap: 16px 24px; margin-top: 36px; text-align: center;
}
.listings-foot p { color: var(--ink-soft); font-size: 15px; }

/* MLS pitch above the IDX widget: land the anchor here so the hype line is
   the first thing a visitor reads before the search itself */
.mls-pitch { text-align: center; max-width: 760px; margin: 56px auto 36px; scroll-margin-top: 96px; }
.mls-pitch h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.mls-pitch p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }
.mls-perks {
	list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
	gap: 12px 30px; font-size: 14px; font-weight: 600;
}
.mls-perks i { color: var(--gold); margin-right: 8px; }

/* SPLIT (video + widget) */
.split-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 64px; align-items: center;
}
/* Offset thin gold frame behind media, an echo of the "Decorative" name */
.media-frame { position: relative; }
.media-frame::before {
	content: ''; position: absolute; inset: 0;
	border: 1px solid var(--gold); border-radius: 4px;
	transform: translate(-14px, 14px); pointer-events: none;
}
.media-frame video {
	width: 100%; display: block; position: relative; z-index: 1;
	background: #000; border-radius: 4px;
	box-shadow: 0 20px 50px rgba(40,55,102,0.18);
}

/* CAREERS VIDEOS */
.video-duo {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 32px; margin-bottom: 48px;
}
.video-card { text-align: center; }
.video-card .media-frame { margin-bottom: 16px; }
.video-card h3 { font-size: 20px; color: var(--accent-dark); }

/* TOP PRODUCERS (navy showcase band) */
.bg-navy { background: linear-gradient(160deg, var(--navy-grad-a) 0%, var(--navy-grad-b) 100%); }
.bg-navy .section-title { color: #fff; }
.bg-navy .section-eyebrow { color: rgba(255,255,255,0.75); }
.bg-navy .section-lead { color: rgba(255,255,255,0.88); }
/* Widget card text has no color of its own and inherits the site's dark ink,
   which disappears on the navy band. Light it up, scoped to this band only. */
.bg-navy .bcw-card-name { color: #fff; }
.bg-navy .bcw-card-meta { color: rgba(255,255,255,0.85); }
.bg-navy .bcw-card-amount { color: var(--gold-soft); }
/* No rank badges on the photos: the order already says it */
.bg-navy .bcw-tp-rank { display: none; }

/* MEET OLIVIA (navy spotlight band) */
.olivia-grid { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: center; }
.portrait { position: relative; max-width: 240px; }
.portrait img { position: relative; z-index: 1; width: 100%; border-radius: 4px; }
.portrait::before {
	content: ''; position: absolute; inset: 0;
	border: 1px solid var(--gold); border-radius: 4px;
	transform: translate(14px, 14px); pointer-events: none;
}
.olivia-quote {
	font-family: 'Playfair Display', serif; font-style: italic;
	font-size: 21px; color: var(--gold-soft); line-height: 1.5; margin-bottom: 18px;
}
.olivia-bio { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 26px; max-width: 560px; }
.sig { font-family: 'Playfair Display', serif; font-style: italic; font-size: 26px; color: #fff; }
.sig small {
	display: block; font-family: 'Raleway', sans-serif; font-style: normal;
	font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
	color: rgba(255,255,255,0.65); margin-top: 4px;
}

/* TESTIMONIALS */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
	background: #fff; border: 1px solid var(--line); border-radius: 6px;
	padding: 34px 28px; position: relative;
	box-shadow: 0 10px 30px rgba(35,47,84,0.06);
}
.quote-card .qmark {
	font-family: 'Playfair Display', serif; font-size: 64px; line-height: 1;
	color: var(--gold-soft); position: absolute; top: 18px; right: 24px;
}
.quote-card .stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.quote-card p { font-size: 15px; color: var(--ink-soft); font-style: italic; margin-bottom: 20px; }
.quote-card .who { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 14px; }
.quote-card .who small {
	display: block; font-weight: 500; color: var(--ink-soft);
	font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px;
}
/* Monogram medallion: client initials in a gold ring (swap the span for an
   <img> if a real client provides a photo with permission) */
.quote-avatar {
	flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
	background: var(--sand); border: 1px solid var(--gold);
	display: flex; align-items: center; justify-content: center;
	font-family: 'Playfair Display', serif; font-weight: 500;
	font-size: 17px; color: var(--gold); letter-spacing: 1px;
	overflow: hidden;
}
.quote-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT */
.contact-grid {
	display: grid; grid-template-columns: 1.4fr 1fr;
	gap: 48px; align-items: start;
}
.contact-form input, .contact-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line);
	background: #fff; font-size: 15px; font-family: inherit; margin-bottom: 14px;
	color: var(--ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-note { font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.contact-banner {
	padding: 14px 18px; margin-bottom: 24px; font-size: 15px;
	border-radius: 4px; border: 1px solid transparent;
}
.contact-banner.ok { background: #e8f5ee; border-color: #b7e0c6; color: #1E7A46; }
.contact-banner.bad { background: #fdecef; border-color: #f5c2cd; color: #cc0033; }
.contact-card {
	background: #fff; border: 1px solid var(--line); padding: 36px;
}
.contact-card .broker {
	display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
	padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.contact-card .broker img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.contact-card .broker .name { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--ink); }
.contact-card .broker .role { font-size: 13px; color: var(--ink-soft); letter-spacing: 1px; text-transform: uppercase; }
.contact-card ul { list-style: none; }
.contact-card li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 15px; color: var(--ink-soft); }
.contact-card li i { color: var(--accent); width: 18px; text-align: center; margin-top: 4px; }
.contact-card li a { color: var(--ink-soft); }
.contact-card li a:hover { color: var(--accent); }
.contact-socials { display: flex; gap: 12px; margin-top: 24px; }
.contact-socials a {
	width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: 50%; color: var(--accent); transition: all 0.2s;
}
.contact-socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* FOOTER */
footer { background: var(--accent-dark); color: #cdd5ea; padding: 72px 0 30px; }
.footer-partners {
	display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
	padding-bottom: 48px; margin-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-partners a,
.footer-partners span {
	background: #fff; border-radius: 6px; padding: 12px 18px;
	display: flex; align-items: center; justify-content: center;
	height: 64px; min-width: 120px;
}
.footer-partners img { max-height: 40px; width: auto; }
.footer-top {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr;
	gap: 48px; margin-bottom: 56px;
}
.footer-top img.flogo { height: 58px; margin-bottom: 18px; background: #fff; border-radius: 6px; padding: 8px 12px; }
.footer-top h4 {
	color: #fff; font-family: 'Raleway', sans-serif;
	font-size: 12px; letter-spacing: 2px;
	text-transform: uppercase; margin-bottom: 20px; font-weight: 700;
}
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 10px; font-size: 14px; }
.footer-top a:hover { color: #fff; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 30px;
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: 16px; font-size: 13px;
}
.footer-bottom a { border-bottom: 1px dotted rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 50%; transition: all 0.2s;
}
.footer-socials a:hover { background: #fff; color: var(--accent-dark); }
.footer-powered {
	margin-top: 28px; padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,0.1);
	display: flex; align-items: center; justify-content: center; gap: 8px;
	font-size: 13px; color: #9aa3bd;
}
.footer-powered img { max-width: 130px; height: auto; display: inline-block; }

/* Hide the Google Translate top banner and keep the page from shifting down */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.skiptranslate iframe { display: none !important; visibility: hidden !important; }
body { top: 0 !important; position: static !important; }
.goog-tooltip, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Tame BrokerChamp widget container width to match our containers */
[data-bc-widget] { max-width: 1240px; margin: 0 auto; }

/* ==== BrokerChamp widget form skinning ====
   The widget JS injects its own copy of brokerchamp-widgets.css at runtime,
   AFTER site.css, so plain same-specificity overrides lose. Every widget
   renders inside its [data-bc-widget] mount; using that in the selector
   out-ranks the widget's single-class rules regardless of sheet order. */
/* The gate/loan/careers forms have fixed max-widths but no auto margins, so
   they hug the left edge of their full-width bands. Center them. */
[data-bc-widget] .bcw-idx-gate,
[data-bc-widget] .bcw-loan,
[data-bc-widget] .bcw-careers { margin-left: auto; margin-right: auto; }
/* White card pops better than widget-gray on the ivory band */
.idx-wrap [data-bc-widget] .bcw-idx-gate { background: #fff; }
/* Blend the widgets' default blue into the site's navy */
[data-bc-widget] .bcw-idx-gate-btn,
[data-bc-widget] .bcw-cma-btn,
[data-bc-widget] .bcw-loan-btn,
[data-bc-widget] .bcw-careers-btn {
	background-color: var(--accent);
	border-radius: 3px;
}
[data-bc-widget] .bcw-idx-gate-btn:hover, [data-bc-widget] .bcw-idx-gate-btn:focus,
[data-bc-widget] .bcw-cma-btn:hover, [data-bc-widget] .bcw-cma-btn:focus,
[data-bc-widget] .bcw-loan-btn:hover, [data-bc-widget] .bcw-loan-btn:focus,
[data-bc-widget] .bcw-careers-btn:hover, [data-bc-widget] .bcw-careers-btn:focus { background-color: var(--accent-dark); }
[data-bc-widget] .bcw-idx-gate-input:focus,
[data-bc-widget] .bcw-cma-input:focus,
[data-bc-widget] .bcw-loan-input:focus,
[data-bc-widget] .bcw-careers-input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 2px rgba(62, 86, 158, 0.18);
}
/* No-photo agent tiles: the widget default is a slate gradient with big white
   initials. Rebrand to an ivory tile with a faint Playfair "D" watermark and
   the initials in a gold-ringed monogram circle, matching the testimonial
   medallions and the favicon mark. */
[data-bc-widget] .bcw-card-avatar {
	background: linear-gradient(160deg, #faf8f3 0%, #eee7d9 100%);
	color: var(--gold);
	overflow: hidden;
}
[data-bc-widget] .bcw-card-avatar::before {
	content: 'D';
	position: absolute;
	font-family: 'ALS Script', 'Playfair Display', serif;
	font-size: 200px;
	line-height: 1;
	color: rgba(193, 154, 82, 0.12);
	pointer-events: none;
}
[data-bc-widget] .bcw-card-avatar span {
	position: relative;
	width: 84px;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	font-weight: 500;
	font-size: 26px;
	letter-spacing: 1px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
}

/* Scroll-reveal (class added by JS only; no-JS visitors see everything) */
.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-init.revealed { opacity: 1; transform: none; }

/* RESPONSIVE */
/* Nav collapses earlier than the rest of the layout: the full label row plus
   the CTA cluster needs about 1150px before it gets cramped. */
/* Hamburger threshold. Raised from 1150 when Featured Properties became the
   seventh menu item: below this the row crowds the logo and the Agents Login
   button, so the menu collapses instead. */
@media (max-width: 1250px) {
	.nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 16px; border-top: 1px solid var(--line); }
	.nav-menu.open { display: flex; }
	.nav-menu .mobile-only { display: list-item; }
	.nav-toggle { display: block; }
}
@media (max-width: 960px) {
	.section-pad { padding: 80px 0; }
	.page-hero { padding: 120px 0 56px; }
	.split-grid { grid-template-columns: 1fr; gap: 32px; }
	.video-duo { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.properties-head { flex-direction: column; align-items: flex-start; }
	.idx-wrap { padding: 20px; }
	/* The offset gold rule reads as clutter once the frame is near-full-width */
	.listings-wrap { padding: 14px; }
	.listings-wrap::before { display: none; }
	.listings-foot { flex-direction: column; gap: 16px; }
	.stats-band .container, .why-grid, .hoods { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: none; }
	.olivia-grid { grid-template-columns: 1fr; gap: 40px; }
	.olivia-grid .portrait { margin: 0 auto; }
	.olivia-grid > div:last-child { text-align: center; }
	.olivia-bio { margin-left: auto; margin-right: auto; }
	.quotes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.stats-band .container, .why-grid, .hoods, .quotes-grid { grid-template-columns: 1fr; }
	.stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; }
}
@media (max-width: 560px) {
	/* Keep the top bar from crowding on phones; Agents Login lives in the menu */
	.nav-cta .contact-link { display: none; }
	.nav-inner { padding: 12px 20px; }
	.nav-logo img { height: 44px; }
}
