
:root {
  --ink: #171717;
  --charcoal: #242424;
  --gold: #b9914d;
  --gold-dark: #97743d;
  --cream: #f6f2eb;
  --paper: #fff;
  --muted: #6a6966;
  --line: #ded8ce;
  --max: 1240px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site-shell { min-height: 100vh; overflow: clip; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 .7rem; color: var(--gold-dark); font-weight: 750; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
h1,h2,h3 { margin-top: 0; line-height: 1.08; }
h1,h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.9rem, 6vw, 5.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.28rem); max-width: 760px; color: #4c4a46; }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.25rem; border: 1px solid var(--gold); background: var(--gold); color: #fff; font-weight: 750; letter-spacing: .03em; transition: .2s ease; }
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); }
.btn.outline { background: transparent; color: inherit; border-color: currentColor; }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--ink); color: #fff; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .75fr); gap: 40px; align-items: end; margin-bottom: 42px; }
.section-heading p { margin: 0; color: var(--muted); }
.dark .section-heading p { color: #d1ccc3; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,0)); }
.navbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 210px; max-height: 62px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 1.45rem; font-size: .92rem; }
.nav-links a { border-bottom: 1px solid transparent; padding: .4rem 0; }
.nav-links a:hover { border-color: var(--gold); }
.mobile-toggle { display: none; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; padding: .6rem .8rem; }
.hero { position: relative; min-height: min(900px, 92vh); display: grid; align-items: end; color: #fff; background: #111; }
.hero video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,10,10,.82) 0%, rgba(9,10,10,.58) 42%, rgba(9,10,10,.18) 72%, rgba(9,10,10,.38) 100%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding: 180px 0 92px; max-width: 950px; }
.hero .tagline { margin: 0 0 1rem; color: #e6c98d; font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .copy { max-width: 700px; font-size: 1.15rem; color: #f2f0ec; }
.hero .btn.outline { border-color: rgba(255,255,255,.85); color: #fff; }
.division-grid { width: min(calc(100% - 40px), var(--max)); margin: -42px auto 0; position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.division-card { background: #fff; min-height: 390px; box-shadow: 0 18px 55px rgba(0,0,0,.14); display: grid; grid-template-rows: 180px 1fr; border-top: 4px solid var(--gold); }
.division-card img { width: 100%; height: 180px; object-fit: cover; }
.division-card .body { padding: 26px; }
.division-card p { color: var(--muted); }
.text-link { display: inline-flex; gap: .45rem; color: var(--gold-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.difference-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.diff-item { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 210px; }
.diff-item .icon { font-size: 1.7rem; color: var(--gold-dark); }
.diff-item p { color: var(--muted); font-size: .95rem; }
.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.listing-card { background: var(--ink); color: #fff; overflow: hidden; }
.listing-card img { width: 100%; height: 220px; object-fit: cover; transition: .35s ease; }
.listing-card:hover img { transform: scale(1.025); }
.listing-card .meta { padding: 18px; }
.listing-card .price { font-family: var(--serif); font-size: 1.45rem; color: #e8cb8e; }
.profile-feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,70px); align-items: center; }
.profile-feature.reverse .profile-media { order: 2; }
.profile-media { position: relative; min-height: 520px; }
.profile-media .main-photo { width: 100%; height: 520px; object-fit: cover; }
.profile-media .paired { display: grid; grid-template-columns: 1fr 1fr; height: 520px; }
.profile-media .paired img { width: 100%; height: 520px; object-fit: cover; }
.feature-points { display: grid; gap: .75rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.feature-points li { position: relative; padding-left: 1.55rem; }
.feature-points li::before { content: '•'; color: var(--gold); position: absolute; left: 0; font-size: 1.35rem; line-height: 1; top: .1rem; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.team-card { background: #fff; border: 1px solid var(--line); }
.team-card img { width: 100%; height: 320px; object-fit: cover; }
.team-card .info { padding: 16px; }
.team-card .role { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .09em; font-size: .74rem; font-weight: 800; }
.cta { background: linear-gradient(90deg, rgba(12,12,12,.95), rgba(12,12,12,.74)), url('../images/downtown-olympia.jpg') center/cover; color:#fff; }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items:center; gap: 40px; }
.site-footer { background: #111; color:#fff; padding: 60px 0 22px; }
.footer-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color:#e5c681; }
.site-footer p, .site-footer li { color:#c9c5bd; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.footer-brand img { width: 260px; }
.footer-bottom { border-top:1px solid #3a3834; margin-top:42px; padding-top:20px; color:#aaa49a; font-size:.85rem; display:flex; justify-content:space-between; gap:20px; }
.notice { padding: 14px 18px; border-left: 4px solid var(--gold); background: #f4efe6; color: #514b42; font-size:.92rem; }
@media (max-width: 980px) {
  .nav-links { display:none; position:absolute; top:80px; right:20px; left:20px; background:#111; padding:20px; flex-direction:column; align-items:flex-start; }
  .nav-links.open { display:flex; }
  .mobile-toggle { display:block; }
  .division-grid, .listing-grid { grid-template-columns: repeat(2,1fr); }
  .division-grid .division-card:last-child { grid-column:1/-1; }
  .difference-grid { grid-template-columns: repeat(2,1fr); }
  .profile-feature, .section-heading, .cta-inner { grid-template-columns:1fr; }
  .profile-feature.reverse .profile-media { order:0; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width:min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 760px; }
  .hero-content { padding-top:140px; }
  .division-grid { grid-template-columns:1fr; margin-top:-20px; }
  .division-grid .division-card:last-child { grid-column:auto; }
  .difference-grid, .listing-grid, .team-grid, .footer-grid { grid-template-columns:1fr; }
  .profile-media, .profile-media .main-photo, .profile-media .paired, .profile-media .paired img { min-height:0; height:420px; }
  .footer-bottom { flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .hero video { display:none; }
  * { transition:none !important; }
}

/* v0.2 refinements */
.primary-menu { display:flex; align-items:center; gap:1.25rem; list-style:none; margin:0; padding:0; }
.primary-menu li { margin:0; padding:0; list-style:none; }
.primary-menu a { display:block; }
.nav-links > ul { list-style:none; margin:0; padding:0; }
.division-logo { width:min(440px,85%); height:auto; object-fit:contain; margin-bottom:22px; }
.division-logo-reverse { max-height:105px; object-position:left center; }
.listing-gateway-panel { border:1px solid var(--line); background:var(--cream); padding:clamp(28px,4vw,48px); display:grid; grid-template-columns:1fr auto; gap:32px; align-items:center; }
.listing-gateway-panel h3 { font-family:var(--serif); font-size:clamp(1.7rem,3vw,2.5rem); font-weight:500; margin-bottom:.5rem; }
.dark-outline { color:var(--ink)!important; border-color:var(--ink)!important; background:transparent!important; }
.dark-outline:hover { color:#fff!important; background:var(--ink)!important; }
.commercial-media { background:var(--cream); display:flex; align-items:flex-end; justify-content:center; overflow:hidden; }
.contain-photo { object-fit:contain!important; object-position:center bottom!important; background:transparent; }
.leadership-grid { grid-template-columns:repeat(3,1fr); }
.team-card p { color:var(--muted); margin:.35rem 0 0; }
.team-card .text-link { margin-top:.75rem; }
.lifestyle-section { background:#fff; }
.lifestyle-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(34px,6vw,78px); align-items:center; }
.lifestyle-card { background:var(--cream); border-top:4px solid var(--gold); }
.lifestyle-card img { width:100%; height:420px; object-fit:cover; }
.lifestyle-caption { padding:28px; }
.capitol-cares { background:linear-gradient(90deg,rgba(18,18,18,.96),rgba(18,18,18,.78)),url('../images/horizon-pointe.jpg') center/cover; color:#fff; }
.page-main { padding-top:0; }
.page-hero { padding:170px 0 90px; }
.page-hero.dark { background:var(--ink); color:#fff; }
.page-hero.cream { background:var(--cream); }
.page-hero .lede.light,.lede.light { color:#ddd7ce; }
.pm-hero { background:linear-gradient(90deg,rgba(20,20,20,.96),rgba(20,20,20,.78)),url('../images/listing-living.jpg') center/cover!important; }
.join-hero { background:linear-gradient(90deg,rgba(20,20,20,.95),rgba(20,20,20,.75)),url('../images/downtown-olympia.jpg') center/cover!important; }
.pm-grid,.join-grid { grid-template-columns:repeat(4,1fr); }
.stat-icon { color:var(--gold-dark); font-family:var(--serif); font-size:1.45rem; margin-bottom:.55rem; }
.pm-actions { margin-top:38px; }
.full-team-grid { grid-template-columns:repeat(4,1fr); }
.full-team-grid .team-card img { height:360px; object-fit:cover; object-position:center top; background:#dedede; }
.agent-profile { align-items:start; }
.agent-detail-photo { object-position:center top!important; background:#ddd; }
.profile-title { color:var(--gold-dark); text-transform:uppercase; letter-spacing:.09em; font-weight:800; }
.profile-phone { font-size:1.15rem; font-weight:700; }
.agent-bio { font-size:1.05rem; color:#4a4844; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.site-header .brand img { filter:none; }
.site-footer .footer-brand img { max-height:95px; object-fit:contain; object-position:left center; }
@media(max-width:980px){
  .primary-menu { flex-direction:column; align-items:flex-start; gap:.4rem; }
  .listing-gateway-panel,.lifestyle-grid,.contact-grid { grid-template-columns:1fr; }
  .leadership-grid,.full-team-grid { grid-template-columns:repeat(2,1fr); }
  .pm-grid,.join-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:640px){
  .leadership-grid,.full-team-grid,.pm-grid,.join-grid { grid-template-columns:1fr; }
  .page-hero { padding-top:135px; }
  .lifestyle-card img { height:300px; }
}


/* v0.3 polish */
.site-header {
  background: linear-gradient(180deg,rgba(10,11,12,.78),rgba(10,11,12,.18));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar { min-height: 92px; }
.brand { display:flex; align-items:center; flex:0 0 auto; }
.site-header .brand img {
  width: 235px;
  max-width: 28vw;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}
.primary-menu { gap: 1.05rem; }
.primary-menu a {
  font-size: .9rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.hero-content { padding-top: 210px; }
.hero h1 { max-width: 980px; }
.hero video { z-index:0; }
.hero-poster { z-index:-1; }
.team-photo-stage {
  height: 340px;
  background: linear-gradient(180deg,#c9c9c9,#8f9194);
  overflow: hidden;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.team-photo-stage img,
.team-card .team-photo-stage img {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
  background:transparent;
}
.leadership-card .team-photo-stage { height: 390px; }
.full-team-grid .team-card img { height:100%; object-fit:contain; object-position:center bottom; }
.team-card { overflow:hidden; transition:transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform:translateY(-3px); box-shadow:0 16px 40px rgba(0,0,0,.09); }
.team-card a { color:inherit; text-decoration:none; }
.team-card .info { min-height:128px; }
.site-footer .footer-brand img {
  width:285px;
  max-width:100%;
  max-height:100px;
  object-fit:contain;
  object-position:left center;
}
.lifestyle-caption h3 { margin-bottom:.65rem; }
@media(max-width:1100px){
  .site-header .brand img { width:190px; }
  .primary-menu { gap:.75rem; }
  .primary-menu a { font-size:.82rem; }
}
@media(max-width:980px){
  .navbar { min-height:78px; }
  .site-header .brand img { width:210px; max-width:60vw; }
  .nav-links { top:78px; border:1px solid rgba(255,255,255,.12); box-shadow:0 18px 45px rgba(0,0,0,.32); }
}
@media(max-width:640px){
  .leadership-card .team-photo-stage,.team-photo-stage { height:390px; }
  .hero-content { padding-top:160px; }
}

/* v0.4 polish */
.site-header {
  background: rgba(17,17,17,.78);
  border-bottom: 1px solid rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.navbar { min-height: 108px; }
.brand { display:flex; align-items:center; flex:0 0 auto; }
.brand img {
  width: 245px;
  max-width: 26vw;
  max-height: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.28));
}
body:not(.home) .site-header { position: relative; background:#171717; }
body:not(.home) .page-main { margin-top:0; }
.hero-content { padding-top: 210px; }

/* Leadership: remove sidebars and tighten vertical rhythm. */
.leadership-grid { gap: 22px; }
.leadership-card { overflow:hidden; }
.team-photo-stage {
  position:relative;
  width:100%;
  aspect-ratio: 4 / 4.35;
  overflow:hidden;
  background:#dedbd5;
}
.team-photo-stage img,
.team-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}
.leadership-card:nth-child(1) .team-photo-stage img { object-position:center 22%; }
.leadership-card:nth-child(2) .team-photo-stage img { object-position:center 20%; }
.leadership-card:nth-child(3) .team-photo-stage img { object-position:center 20%; }
.section.cream .section-heading { margin-bottom:32px; }

/* Full team page */
.team-page-hero { padding:90px 0 72px; }
.team-page-hero h1 { max-width:850px; }
.team-page-intro { max-width:850px; }
.team-section { border-top:1px solid var(--line); }
.team-section:first-of-type { border-top:0; }
.full-team-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.full-team-grid .team-card { transition:transform .18s ease, box-shadow .18s ease; overflow:hidden; }
.full-team-grid .team-card:hover { transform:translateY(-3px); box-shadow:0 14px 35px rgba(0,0,0,.08); }
.full-team-grid .team-card .team-photo-stage { aspect-ratio:4/5; background:#e4e1dc; }
.full-team-grid .team-card .team-photo-stage img { object-position:center 16%; }
.full-team-grid .team-card .info { padding:18px 18px 20px; min-height:150px; display:flex; flex-direction:column; align-items:flex-start; }
.full-team-grid .team-card h3 { margin:.25rem 0 .3rem; }
.full-team-grid .team-card p { margin:.15rem 0 .65rem; }
.full-team-grid .team-card .text-link { margin-top:auto; }
.team-section-heading { margin-bottom:34px; }
.team-section-heading h2 { margin-bottom:0; }
.team-kicker { color:var(--muted); max-width:680px; }

/* Property management portrait: don't misidentify a placeholder as Alycia. */
.pm-leadership-photo { background:#111; overflow:hidden; }
.pm-leadership-photo .main-photo { object-fit:cover; object-position:center 18%; }

@media (max-width: 1080px) {
  .brand img { width:220px; max-width:32vw; }
  .full-team-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .navbar { min-height:88px; }
  .brand img { width:190px; max-width:56vw; }
  .hero-content { padding-top:170px; }
  .full-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .brand img { width:175px; max-width:62vw; }
  .full-team-grid { grid-template-columns:1fr; }
  .team-photo-stage { aspect-ratio:4/4.6; }
}

/* v0.5 — team directory and profile redesign */
.team-directory-hero{background:var(--cream);padding:88px 0 78px;border-bottom:1px solid var(--line)}
.team-directory-hero-inner{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end}
.team-directory-hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(3.4rem,6.3vw,6.6rem);line-height:.92;letter-spacing:-.045em;margin:.3rem 0 0;max-width:900px}
.team-directory-lede{font-size:1.08rem;line-height:1.75;color:var(--muted);max-width:580px;margin:0 0 8px auto}
.team-directory-section{padding:78px 0 90px;background:#fff;border-bottom:1px solid var(--line)}
.team-directory-leadership{background:var(--cream)}
.team-directory-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:34px}
.team-directory-heading h2{font-family:var(--serif);font-size:clamp(2.5rem,4vw,4.25rem);font-weight:500;letter-spacing:-.035em;margin:.1rem 0 0}
.team-directory-heading>p{max-width:590px;color:var(--muted);line-height:1.7;margin:0 0 7px auto}
.team-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.team-directory-grid-leadership{grid-template-columns:repeat(3,minmax(0,1fr))}
.directory-card{background:#fff;border:1px solid #dedad3;min-width:0;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.directory-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(0,0,0,.08)}
.directory-photo-link{display:block;background:#ddd9d2;overflow:hidden}
.directory-photo{aspect-ratio:4/4.7;overflow:hidden;background:#ddd9d2}
.directory-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 18%;transition:transform .35s ease}
.directory-card:hover .directory-photo img{transform:scale(1.015)}
.directory-info{padding:19px 19px 20px;display:flex;flex-direction:column;flex:1;min-height:156px}
.directory-role{font-size:.71rem;line-height:1.35;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:var(--gold-dark);margin:0 0 5px}
.directory-info h3{font-family:var(--sans);font-size:1.22rem;line-height:1.2;margin:0 0 16px;font-weight:800}
.directory-info h3 a{color:var(--ink);text-decoration:none}
.directory-card-bottom{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap}
.directory-phone{color:var(--muted);font-size:.93rem;text-decoration:none}
.directory-profile-link{color:var(--ink);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800;text-decoration:none;white-space:nowrap}
.directory-profile-link span{color:var(--gold-dark);margin-left:3px}
.team-directory-cta{background:#141414;color:#fff;padding:65px 0}
.team-directory-cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:40px}
.team-directory-cta h2{font-family:var(--serif);font-size:clamp(2.4rem,4vw,4rem);font-weight:500;margin:.2rem 0 .45rem}
.team-directory-cta p:not(.eyebrow){color:#cfcac2;margin:0}

.agent-profile-hero{padding:78px 0 96px}
.agent-profile-layout{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:clamp(50px,7vw,100px);align-items:start}
.agent-profile-photo{background:transparent;overflow:hidden;padding:0;display:block;line-height:0}
.agent-profile-photo img{display:block;width:100%;max-width:none;height:auto;max-height:none;object-fit:contain;object-position:center top;margin:0}
.agent-profile-copy{padding-top:34px;max-width:760px}
.agent-profile-copy h1{font-family:var(--serif);font-size:clamp(3.4rem,5.2vw,6.1rem);font-weight:500;line-height:.92;letter-spacing:-.045em;margin:.25rem 0 18px;max-width:100%;overflow-wrap:normal;word-break:normal}
.agent-profile-title{text-transform:uppercase;letter-spacing:.09em;font-size:.8rem;font-weight:800;color:var(--gold-dark);margin:0 0 10px}
.agent-profile-phone{display:inline-block;color:var(--ink);font-size:1.12rem;font-weight:700;text-decoration:none;margin-top:5px}
.agent-profile-rule{width:74px;height:2px;background:var(--gold);margin:34px 0}
.agent-profile-bio{font-size:1.08rem;line-height:1.8;color:#47443f;max-width:720px}
.agent-profile-bio p:first-child{margin-top:0}
.agent-profile-copy .button-row{display:flex;align-items:center;gap:25px;margin-top:38px;flex-wrap:wrap}
.agent-back-link{font-size:.85rem;font-weight:800;color:var(--ink);text-decoration:none;text-transform:uppercase;letter-spacing:.055em}
@media(max-width:1050px){.team-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-directory-grid-leadership{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.team-directory-hero-inner,.team-directory-heading,.agent-profile-layout{grid-template-columns:1fr}.team-directory-lede,.team-directory-heading>p{margin-left:0}.team-directory-grid,.team-directory-grid-leadership{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-profile-photo{max-width:560px;margin:0 auto;padding:0;background:transparent}.agent-profile-copy{padding-top:0}.team-directory-cta .wrap{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.team-directory-hero{padding:60px 0}.team-directory-section{padding:58px 0 68px}.team-directory-grid,.team-directory-grid-leadership{grid-template-columns:1fr}.directory-photo{aspect-ratio:4/4.5}.agent-profile-hero{padding:52px 0 70px}.agent-profile-photo{max-width:none;padding:0;background:transparent}.agent-profile-photo img{width:100%;max-width:none;height:auto;max-height:none;object-fit:contain;object-position:center top}.agent-profile-copy h1{font-size:3.7rem}}

/* v0.6 — logo fidelity, property-management image, leadership photo consistency */
.site-header .brand img,
.brand img {
  width: 250px;
  max-width: 27vw;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}
.site-footer .footer-brand img {
  width: 290px;
  max-width: 100%;
  max-height: 105px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

/* Leadership cards now fill the frame edge-to-edge. A restrained neutral treatment
   makes the three source-photo backgrounds read as one cohesive set. */
.leadership-grid .team-photo-stage {
  height: auto;
  aspect-ratio: 4 / 4.45;
  background: #858585;
}
.leadership-grid .team-photo-stage img,
.leadership-grid .team-card .team-photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.08);
  filter: saturate(.34) contrast(1.035) brightness(.98);
}
.leadership-grid .leadership-card:nth-child(1) .team-photo-stage img { object-position: center 22%; }
.leadership-grid .leadership-card:nth-child(2) .team-photo-stage img { object-position: center 20%; }
.leadership-grid .leadership-card:nth-child(3) .team-photo-stage img { object-position: center 22%; }
.leadership-grid .team-photo-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(72,70,68,.06), rgba(72,70,68,.13));
}

/* Property Management card: make the user's aerial image read strongly in the trio. */
.division-card:nth-child(3) img {
  object-position: center 46%;
}

@media (max-width: 1080px) {
  .site-header .brand img, .brand img { width: 225px; max-width: 31vw; }
}
@media (max-width: 820px) {
  .site-header .brand img, .brand img { width: 195px; max-width: 55vw; }
}
@media (max-width: 560px) {
  .site-header .brand img, .brand img { width: 178px; max-width: 62vw; }
  .leadership-grid .team-photo-stage { aspect-ratio: 4 / 4.7; }
}

/* v0.7 — natural leadership color, refined crops, responsive navigation */
.leadership-grid .team-photo-stage {
  background: #d7d4cf;
}
.leadership-grid .team-photo-stage img,
.leadership-grid .team-card .team-photo-stage img {
  filter: none;
  transform: scale(1.055);
  object-position: center 23%;
}
.leadership-grid .leadership-card:nth-child(1) .team-photo-stage img {
  object-position: center 21%;
  transform: scale(1.06);
}
.leadership-grid .leadership-card:nth-child(2) .team-photo-stage img {
  object-position: center 19%;
  transform: scale(1.055);
}
.leadership-grid .leadership-card:nth-child(3) .team-photo-stage img {
  object-position: center 22%;
  transform: scale(1.07);
}
.leadership-grid .team-photo-stage::after { display:none; }
.section.cream .section-heading { margin-bottom: 26px; }

/* Move to the compact navigation before the desktop menu starts to crowd. */
@media (max-width: 1240px) {
  .navbar { min-height: 92px; position:relative; }
  .site-header .brand img, .brand img { width: 215px; max-width: 42vw; }
  .mobile-toggle {
    display:block;
    margin-left:auto;
    border-color:rgba(255,255,255,.65);
    min-width:72px;
    font-weight:700;
    cursor:pointer;
  }
  .nav-links {
    display:none;
    position:absolute;
    top:calc(100% - 2px);
    right:20px;
    left:auto;
    width:min(360px,calc(100vw - 40px));
    background:#151515;
    padding:18px 20px;
    flex-direction:column;
    align-items:stretch;
    border:1px solid rgba(255,255,255,.13);
    box-shadow:0 18px 45px rgba(0,0,0,.34);
  }
  .nav-links.open { display:flex; }
  .primary-menu {
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }
  .primary-menu li { width:100%; }
  .primary-menu a {
    width:100%;
    padding:.72rem 0;
    font-size:.95rem;
    border-bottom:1px solid rgba(255,255,255,.09);
  }
  .primary-menu li:last-child a { border-bottom:0; }
}
@media (max-width: 640px) {
  .navbar { min-height:82px; }
  .site-header .brand img, .brand img { width:180px; max-width:62vw; }
  .nav-links { right:14px; width:calc(100vw - 28px); }
}

/* v0.8 homepage division refinements */
.property-focus-media .main-photo,
.commercial-property-media .main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.property-focus-media,
.commercial-property-media {
  min-height: 520px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .property-focus-media,
  .commercial-property-media { min-height: 360px; }
}

/* v1.0 rotating people + neighborhoods + Capitol Cares */
.rotator { position:relative; }
.rotator-stage { position:relative; }
.rotator-slide { display:none; }
.rotator-slide.is-active { display:grid; animation:capitolFade .45s ease; }
@keyframes capitolFade { from { opacity:.2; transform:translateY(6px); } to { opacity:1; transform:none; } }
.rotator-controls { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:18px; }
.rotator-controls button { width:42px; height:42px; border:1px solid var(--line); background:#fff; color:var(--ink); cursor:pointer; font-size:1.15rem; }
.rotator-controls button:hover { background:var(--ink); color:#fff; }
.rotator-dots { display:flex; gap:8px; align-items:center; }
.rotator-dot { width:8px; height:8px; padding:0!important; border:0!important; border-radius:50%; background:#c8c1b6!important; }
.rotator-dot.is-active { background:var(--gold-dark)!important; transform:scale(1.25); }
.agent-spotlight-section { background:#fff; }
.agent-spotlight { grid-template-columns:minmax(280px,.8fr) 1.2fr; min-height:470px; background:var(--cream); border-top:4px solid var(--gold); }
.agent-spotlight-photo { min-height:470px; background:#d6d3ce; overflow:hidden; }
.agent-spotlight-photo img { width:100%; height:100%; min-height:470px; max-height:560px; object-fit:cover; object-position:center top; }
.agent-spotlight-copy { padding:clamp(34px,6vw,78px); align-self:center; }
.agent-spotlight-copy h3 { font-family:var(--serif); font-size:clamp(2.6rem,5vw,4.6rem); font-weight:500; margin:.2rem 0 .5rem; }
.spotlight-role { text-transform:uppercase; letter-spacing:.12em; font-weight:800; color:var(--gold-dark); font-size:.8rem; }
.centered-row { justify-content:center; margin-top:26px; }
.neighborhood-rotator .rotator-stage { min-height:560px; }
.neighborhood-rotator .lifestyle-card.is-active { display:block; }
.neighborhood-rotator .lifestyle-card img { height:420px; }
.capitol-cares-v10 { background:var(--ink); color:#fff; padding:clamp(70px,8vw,110px) 0; }
.cares-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(40px,6vw,90px); align-items:center; }
.cares-copy h2 { color:#fff; }
.cares-copy p { color:#e7e2da; }
.cares-visual { background:#fff; padding:10px; box-shadow:0 22px 60px rgba(0,0,0,.28); transform:rotate(1deg); }
.cares-visual img { width:100%; display:block; max-height:680px; object-fit:cover; object-position:center 64%; }
@media(max-width:980px){ .agent-spotlight,.cares-grid { grid-template-columns:1fr; } .agent-spotlight-photo { max-height:520px; } .cares-visual { transform:none; } }
@media(max-width:640px){ .agent-spotlight-copy { padding:30px 24px; } .neighborhood-rotator .rotator-stage { min-height:520px; } .neighborhood-rotator .lifestyle-card img { height:300px; } }
@media(prefers-reduced-motion:reduce){ .rotator-slide.is-active { animation:none; } }

/* v1.1 agent grid, Capitol Cares full-poster fit, corrected PM logo */
.homepage-agent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.homepage-agent-card{background:var(--cream);border:1px solid var(--line);overflow:hidden}
.homepage-agent-photo{display:block;height:320px;background:#d7d3cd;overflow:hidden}
.homepage-agent-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .25s ease}
.homepage-agent-card:hover .homepage-agent-photo img{transform:scale(1.02)}
.homepage-agent-info{padding:20px 20px 22px}
.homepage-agent-info .role{margin:0 0 6px;text-transform:uppercase;letter-spacing:.11em;font-size:.7rem;font-weight:800;color:var(--gold-dark)}
.homepage-agent-info h3{margin:0 0 10px;font-size:1.25rem}
.homepage-agent-info h3 a{color:var(--ink);text-decoration:none}
.agent-phone{color:#5d5953;text-decoration:none;font-size:.95rem}
.capitol-cares-v10 .cares-visual{padding:10px;overflow:visible}
.capitol-cares-v10 .cares-visual img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;display:block}
.division-logo-reverse{max-width:min(520px,100%);height:auto;object-fit:contain}
@media(max-width:1100px){.homepage-agent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.homepage-agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.homepage-agent-photo{height:280px}}
@media(max-width:480px){.homepage-agent-grid{grid-template-columns:1fr}.homepage-agent-photo{height:390px}}

/* v1.1.2: reliable compact agent conveyor */
.agent-conveyor-section {
  background:#fff;
  padding-top:clamp(48px,5vw,70px);
  padding-bottom:clamp(48px,5vw,70px);
  overflow:hidden;
}
.agent-conveyor-section .section-heading { margin-bottom:28px; }
.agent-conveyor {
  position:relative;
  overflow:hidden;
  width:100%;
  padding:4px 0 10px;
}
.agent-conveyor::before,
.agent-conveyor::after {
  content:"";
  position:absolute;
  z-index:4;
  top:0;
  bottom:0;
  width:54px;
  pointer-events:none;
}
.agent-conveyor::before { left:0; background:linear-gradient(90deg,#fff 12%,rgba(255,255,255,0)); }
.agent-conveyor::after { right:0; background:linear-gradient(270deg,#fff 12%,rgba(255,255,255,0)); }
.agent-conveyor-track {
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:16px;
  width:max-content;
  transform:translate3d(0,0,0);
  will-change:transform;
  animation:capitol-agent-scroll 75s linear infinite;
}
.agent-conveyor:hover .agent-conveyor-track,
.agent-conveyor:focus-within .agent-conveyor-track { animation-play-state:paused; }
.agent-conveyor-card {
  flex:0 0 220px !important;
  width:220px;
  background:var(--cream);
  border:1px solid var(--line);
  overflow:hidden;
  box-sizing:border-box;
}
.agent-conveyor-photo {
  display:block;
  width:100%;
  height:205px;
  overflow:hidden;
  background:#d7d3cd;
}
.agent-conveyor-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 15%;
  transition:transform .25s ease;
}
.agent-conveyor-card:hover .agent-conveyor-photo img { transform:scale(1.025); }
.agent-conveyor-info { padding:14px 15px 16px; }
.agent-conveyor-info .role {
  margin:0 0 4px;
  font-size:.61rem;
  font-weight:800;
  letter-spacing:.09em;
  line-height:1.25;
  text-transform:uppercase;
  color:var(--gold-dark);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.agent-conveyor-info h3 { margin:0 0 6px; font-size:1.02rem; line-height:1.15; }
.agent-conveyor-info h3 a { color:var(--ink); text-decoration:none; }
.agent-conveyor-info .agent-phone { font-size:.80rem; }
@keyframes capitol-agent-scroll {
  from { transform:translate3d(0,0,0); }
  to { transform:translate3d(calc(-50% - 8px),0,0); }
}
/* Full Capitol Cares artwork, no crop */
.capitol-cares-v10 .cares-full-poster { padding:0; background:transparent; box-shadow:none; transform:none; overflow:visible; }
.capitol-cares-v10 .cares-full-poster img {
  display:block !important;
  width:min(100%,620px) !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 auto;
  box-shadow:0 22px 60px rgba(0,0,0,.28);
  background:#fff;
}
@media(max-width:760px){
  .agent-conveyor-card{flex-basis:190px !important;width:190px;}
  .agent-conveyor-photo{height:180px;}
  .agent-conveyor::before,.agent-conveyor::after{width:24px;}
}
@media(prefers-reduced-motion:reduce){
  .agent-conveyor{overflow-x:auto;}
  .agent-conveyor-track{animation:none;}
}

/* v1.2 — static, compact gray-backed headshot treatment */
.agent-static-section {
  background:#fff;
  padding-top:clamp(44px,4.5vw,64px);
  padding-bottom:clamp(44px,4.5vw,64px);
}
.agent-static-section .section-heading { margin-bottom:24px; }
.agent-headshot-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:22px 18px;
  align-items:start;
}
.agent-headshot-card { min-width:0; text-align:left; }
.agent-headshot-photo {
  display:block;
  aspect-ratio:1 / 1.04;
  overflow:hidden;
  background:linear-gradient(145deg,#b6b6b5 0%,#969694 52%,#7f7f7e 100%);
  border-radius:3px;
}
.agent-headshot-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 14%;
  transform:scale(1.22);
  transform-origin:center 22%;
  filter:saturate(.82) contrast(.98) brightness(1.01);
  transition:transform .22s ease;
}
.agent-headshot-card:hover .agent-headshot-photo img { transform:scale(1.25); }
.agent-headshot-info { padding:10px 2px 0; }
.agent-headshot-info h3 { margin:0 0 3px; font-size:1rem; line-height:1.15; }
.agent-headshot-info h3 a { color:var(--ink); text-decoration:none; }
.agent-headshot-info .role {
  margin:0;
  font-size:.62rem;
  line-height:1.3;
  letter-spacing:.085em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--gold-dark);
}
/* Leadership uses the same head-and-shoulders visual language. */
.leadership-grid { gap:24px; }
.leadership-grid .team-photo-stage {
  aspect-ratio:1 / 1.04 !important;
  height:auto !important;
  background:linear-gradient(145deg,#b6b6b5 0%,#969694 52%,#7f7f7e 100%) !important;
  overflow:hidden;
}
.leadership-grid .team-photo-stage img,
.leadership-grid .team-card .team-photo-stage img {
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 14% !important;
  transform:scale(1.30) !important;
  transform-origin:center 20% !important;
  filter:saturate(.82) contrast(.98) brightness(1.01) !important;
}
.leadership-grid .leadership-card:nth-child(1) .team-photo-stage img { object-position:center 13% !important; transform:scale(1.32) !important; }
.leadership-grid .leadership-card:nth-child(2) .team-photo-stage img { object-position:center 12% !important; transform:scale(1.30) !important; }
.leadership-grid .leadership-card:nth-child(3) .team-photo-stage img { object-position:center 12% !important; transform:scale(1.31) !important; }
.leadership-grid .team-photo-stage::after { display:none !important; }
@media(max-width:1180px){.agent-headshot-grid{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media(max-width:960px){.agent-headshot-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:720px){.agent-headshot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px;}}
@media(max-width:500px){.agent-headshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.agent-headshot-info h3{font-size:.92rem;}}


/* v1.3 — PM logo spacing + unified studio-gray portrait presentation */
.profile-feature .division-logo-reverse {
  margin-top:18px;
  margin-bottom:10px;
}
.agent-headshot-photo,
.leadership-grid .team-photo-stage {
  position:relative;
  background:#92918e !important;
  isolation:isolate;
}
.agent-headshot-photo::after,
.leadership-grid .team-photo-stage::after {
  content:"";
  display:block !important;
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:#8f8e8b;
  mix-blend-mode:color;
  opacity:.28;
}
.agent-headshot-photo img,
.leadership-grid .team-photo-stage img,
.leadership-grid .team-card .team-photo-stage img {
  filter:saturate(.72) contrast(.96) brightness(1.03) !important;
}
.agent-headshot-photo img { position:relative; z-index:0; }

/* v1.4 — restore photo fidelity, consistent framing, and compact Commercial hero */
/* Undo v1.3 tint/filter treatment. Preserve the original agent photographs. */
.agent-headshot-photo::after,
.leadership-grid .team-photo-stage::after { display:none !important; content:none !important; }
.agent-headshot-photo,
.leadership-grid .team-photo-stage {
  background:linear-gradient(145deg,#b4b3b0 0%,#9d9c99 56%,#8d8c89 100%) !important;
}
.agent-headshot-photo img,
.leadership-grid .team-photo-stage img,
.leadership-grid .team-card .team-photo-stage img {
  filter:none !important;
  transform:none !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 18% !important;
}
.agent-headshot-card:hover .agent-headshot-photo img { transform:none !important; }
/* The approved team layout: compact 6-column headshot presentation on wide screens. */
.agent-headshot-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:28px 18px; }
.agent-headshot-photo { aspect-ratio:1.26 / 1; border-radius:2px; }
.agent-headshot-info { padding-top:8px; }
.agent-headshot-info h3 { font-size:1rem; }
.leadership-grid .team-photo-stage { aspect-ratio:1.45 / 1 !important; }
/* Individual leadership crops keep faces intact while using the same visual frame. */
.leadership-grid .leadership-card:nth-child(1) .team-photo-stage img { object-position:center 18% !important; }
.leadership-grid .leadership-card:nth-child(2) .team-photo-stage img { object-position:center 16% !important; }
.leadership-grid .leadership-card:nth-child(3) .team-photo-stage img { object-position:center 16% !important; }
/* Commercial logo sits with the section heading rather than floating high above it. */
.profile-feature.reverse .division-logo { margin:0 0 10px !important; }
.commercial-landing-hero { background:#fff; padding:92px 0 72px; }
.commercial-landing-grid { display:grid; grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr); gap:68px; align-items:center; }
.commercial-landing-copy { padding-top:24px; }
.commercial-landing-logo { display:block; width:min(410px,78%); height:auto; margin:0 0 28px; }
.commercial-landing-copy .eyebrow { margin-bottom:14px; }
.commercial-landing-copy h1 { font-family:var(--serif); font-weight:400; font-size:clamp(3rem,4.6vw,5.4rem); line-height:.98; letter-spacing:-.035em; margin:0 0 34px; max-width:760px; }
.commercial-landing-copy>p:not(.eyebrow) { max-width:700px; line-height:1.7; }
.compact-points { margin-top:22px; }
.commercial-landing-image img { display:block; width:100%; aspect-ratio:1.55/1; object-fit:cover; }
@media(max-width:1180px){.agent-headshot-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:900px){.commercial-landing-grid{grid-template-columns:1fr;gap:36px}.commercial-landing-copy{padding-top:0}.commercial-landing-logo{width:min(360px,72%)}.commercial-landing-hero{padding:70px 0 58px}.leadership-grid .team-photo-stage{aspect-ratio:1.25/1 !important;}}
@media(max-width:720px){.agent-headshot-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:500px){.agent-headshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* v1.5 — spacing, navy dark sections, and stronger homepage branding */
:root { --capitol-navy:#0b2239; --capitol-navy-deep:#071a2b; }

/* Replace near-black presentation areas with a deep Capitol navy. */
.section.dark,
.page-hero.dark,
body:not(.home) .site-header,
.site-footer { background-color:var(--capitol-navy-deep) !important; }
.site-header { background:rgba(7,26,43,.90) !important; }
.btn.dark { background:var(--capitol-navy); border-color:var(--capitol-navy); }

/* Homepage header logo: more presence without crowding navigation. */
.home .site-header .brand img,
.home .brand img { width:300px !important; max-width:30vw !important; max-height:92px !important; }

/* Property Management: pull content upward; give the logo breathing room below. */
.home-pm-section { padding-top:clamp(44px,5vw,68px) !important; }
.home-pm-section .profile-feature .division-logo-reverse {
  margin-top:-8px !important;
  margin-bottom:38px !important;
}

/* Commercial homepage section: reduce empty space above both logo and image. */
.home-commercial-section { padding-top:clamp(38px,4.5vw,62px) !important; }
.home-commercial-section .profile-feature { align-items:start !important; }
.home-commercial-section .profile-feature.reverse .division-logo {
  margin-top:0 !important;
  margin-bottom:12px !important;
}

/* Commercial landing page: compact the top whitespace and keep branding close to heading. */
.commercial-landing-hero { padding-top:42px !important; }
.commercial-landing-copy { padding-top:0 !important; }
.commercial-landing-logo { margin-bottom:18px !important; }

@media(max-width:1100px){
  .home .site-header .brand img,.home .brand img{width:255px !important;max-width:27vw !important;}
}
@media(max-width:980px){
  .home .site-header .brand img,.home .brand img{width:225px !important;max-width:56vw !important;}
}

/* v1.6 — compact Capitol Commercial homepage showcase */
.home-commercial-section.commercial-showcase {
  padding: clamp(42px, 4vw, 64px) 0 !important;
  background: #f8f5ee;
}
.commercial-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: stretch;
}
.commercial-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.commercial-showcase-logo {
  width: min(390px, 78%) !important;
  margin: 0 0 22px !important;
}
.commercial-showcase-copy .eyebrow {
  margin: 0 0 12px;
}
.commercial-showcase-copy h2 {
  font-size: clamp(2.7rem, 4.2vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0;
  max-width: 720px;
}
.commercial-rule {
  width: 52px;
  height: 2px;
  background: var(--gold);
  display: block;
  margin: 24px 0 24px;
}
.commercial-summary {
  max-width: 650px;
  line-height: 1.65;
  margin: 0 0 24px;
}
.commercial-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid rgba(24,24,24,.12);
  border-bottom: 1px solid rgba(24,24,24,.12);
  margin-top: 2px;
}
.commercial-service {
  min-height: 112px;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: .84rem;
  line-height: 1.28;
  font-weight: 700;
}
.commercial-service + .commercial-service {
  border-left: 1px solid rgba(24,24,24,.12);
}
.commercial-service-icon {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  min-height: 32px;
}
.commercial-showcase-link {
  align-self: flex-start;
  color: #8f6b2d;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
  margin-top: 18px;
}
.commercial-showcase-link:hover { text-decoration: underline; }
.commercial-showcase-media {
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  align-self: stretch;
  box-shadow: 0 14px 34px rgba(11,34,57,.08);
}
.commercial-showcase-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 1050px) {
  .commercial-showcase-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .commercial-service-grid { grid-template-columns: repeat(2,1fr); }
  .commercial-service:nth-child(3) { border-left: 0; border-top: 1px solid rgba(24,24,24,.12); }
  .commercial-service:nth-child(4) { border-top: 1px solid rgba(24,24,24,.12); }
  .commercial-showcase-media img { min-height: 500px; }
}
@media (max-width: 820px) {
  .commercial-showcase-grid { grid-template-columns: 1fr; }
  .commercial-showcase-media { order: 2; }
  .commercial-showcase-media img { min-height: 320px; aspect-ratio: 1.45/1; }
  .commercial-showcase-logo { width: min(360px, 76%) !important; }
}
@media (max-width: 520px) {
  .commercial-service-grid { grid-template-columns: 1fr 1fr; }
  .commercial-service { min-height: 104px; padding-left: 9px; padding-right: 9px; font-size: .77rem; }
  .commercial-showcase-copy h2 { font-size: clamp(2.25rem, 12vw, 3.25rem); }
}

/* v1.7 — supplied transparent Commercial logo + restore original black dark sections */
:root { --capitol-black:#151515; }
.section.dark,
.page-hero.dark,
body:not(.home) .site-header,
.site-footer { background-color:var(--capitol-black) !important; }
.site-header { background:rgba(21,21,21,.94) !important; }
.btn.dark { background:var(--capitol-black) !important; border-color:var(--capitol-black) !important; }

/* v1.9 — leadership portraits: preserve full headroom from supplied studio photos */
.leadership-grid .team-photo-stage img,
.leadership-grid .team-card .team-photo-stage img,
.leadership-grid .leadership-card:nth-child(1) .team-photo-stage img,
.leadership-grid .leadership-card:nth-child(2) .team-photo-stage img,
.leadership-grid .leadership-card:nth-child(3) .team-photo-stage img {
  transform: none !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* v2.0 — leadership portraits: display supplied square studio images without cropping */
.leadership-grid .leadership-card .team-photo-stage {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  background: #aaa !important;
  overflow: hidden;
}
.leadership-grid .leadership-card .team-photo-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  display: block;
}


/* v2.1 — leadership portraits: use new source photos and preserve headroom */
.leadership-grid .leadership-card .team-photo-stage {
  height: 300px !important;
  aspect-ratio: auto !important;
  background: #a7a7a7 !important;
  overflow: hidden !important;
}
.leadership-grid .leadership-card .team-photo-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform: none !important;
  filter: none !important;
  display: block !important;
}
@media (max-width: 820px) {
  .leadership-grid .leadership-card .team-photo-stage { height: 360px !important; }
}


/* v2.2 — Buy page */
.buy-page { background:#fff; }
.buy-hero { padding:150px 0 72px; background:#fff; }
.buy-hero-grid { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:clamp(44px,6vw,84px); align-items:center; }
.buy-hero-copy h1 { font-size:clamp(3.4rem,5.5vw,6.2rem); max-width:760px; margin-bottom:28px; }
.buy-hero-media { min-height:520px; overflow:hidden; border-radius:4px; }
.buy-hero-media img { width:100%; height:100%; min-height:520px; object-fit:cover; }
.buy-roadmap-heading { margin-bottom:28px; }
.buy-roadmap { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); background:#fff; }
.buy-step { min-height:255px; padding:28px 26px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); display:grid; grid-template-columns:auto 1fr; gap:18px; }
.buy-step-featured { background:var(--ink); color:#fff; }
.buy-step-number { font-family:var(--serif); color:var(--gold); font-size:1.35rem; line-height:1; padding-top:4px; }
.buy-step h3 { font-family:var(--serif); font-size:1.55rem; font-weight:500; margin:0 0 .65rem; }
.buy-step p { color:var(--muted); margin:.3rem 0 0; font-size:.95rem; }
.buy-step-featured p { color:#d7d2c9; }
.buy-step-featured .eyebrow { color:#e2c27e; margin-bottom:.35rem; }
.buy-step-featured .text-link { color:#e2c27e; margin-top:1rem; }
.buy-finance-section { padding-top:86px; padding-bottom:86px; }
.buy-finance-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(44px,6vw,84px); align-items:center; }
.buy-finance-copy h2 { max-width:760px; }
.lender-card { margin-top:30px; padding:24px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:26px; }
.lender-card h3 { font-family:var(--serif); font-size:1.85rem; margin:.15rem 0 .2rem; font-weight:500; }
.lender-card p { margin:0; color:var(--muted); }
.lender-label { color:var(--gold-dark); text-transform:uppercase; font-size:.76rem; font-weight:800; letter-spacing:.12em; }
.buy-disclaimer { font-size:.8rem; color:#77736d; max-width:720px; margin:18px 0 0; }
.buy-finance-media { overflow:hidden; }
.buy-finance-media img { width:100%; height:520px; object-fit:cover; }
.buy-advantage-section .eyebrow { color:#dfbd77; }
.buy-advantage-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid rgba(255,255,255,.2); border-left:1px solid rgba(255,255,255,.2); }
.buy-advantage-grid article { min-height:230px; padding:28px 24px; border-right:1px solid rgba(255,255,255,.2); border-bottom:1px solid rgba(255,255,255,.2); }
.buy-advantage-grid span { color:var(--gold); font-family:var(--serif); font-size:1.25rem; }
.buy-advantage-grid h3 { font-family:var(--serif); font-size:1.5rem; margin:1rem 0 .65rem; font-weight:500; }
.buy-advantage-grid p { color:#d2ccc2; margin:0; }
.buy-search-panel { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(44px,6vw,82px); align-items:center; }
.buy-search-panel h2 { max-width:660px; }
.buy-search-images { display:grid; grid-template-columns:1.15fr .85fr; gap:14px; min-height:420px; }
.buy-search-images img { width:100%; height:100%; min-height:420px; object-fit:cover; }
.buy-search-images img:nth-child(2) { margin-top:34px; height:calc(100% - 34px); min-height:386px; }
.buy-final-cta { background:var(--ink); color:#fff; padding:62px 0; }
.buy-final-cta .eyebrow { color:#dfbd77; }
.buy-final-cta-inner { display:grid; grid-template-columns:1.2fr auto; gap:48px; align-items:center; }
.buy-final-cta h2 { font-size:clamp(2.5rem,4vw,4.2rem); margin-bottom:14px; }
.buy-final-cta p { color:#d6d0c6; max-width:760px; }
.buy-final-cta .button-row { margin-top:0; justify-content:flex-end; }
.buy-final-cta .btn.outline { color:#fff; border-color:#fff; }
@media(max-width:980px){
  .buy-hero-grid,.buy-finance-grid,.buy-search-panel,.buy-final-cta-inner{grid-template-columns:1fr;}
  .buy-roadmap{grid-template-columns:repeat(2,minmax(0,1fr));}
  .buy-advantage-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .buy-final-cta .button-row{justify-content:flex-start;}
  .buy-hero{padding-top:125px;}
}
@media(max-width:640px){
  .buy-hero{padding:115px 0 52px;}
  .buy-hero-media,.buy-hero-media img{min-height:330px;}
  .buy-roadmap,.buy-advantage-grid{grid-template-columns:1fr;}
  .buy-step{min-height:0;}
  .lender-card{align-items:flex-start;flex-direction:column;}
  .buy-finance-media img{height:340px;}
  .buy-search-images{min-height:280px;}
  .buy-search-images img{min-height:280px;}
  .buy-search-images img:nth-child(2){margin-top:18px;height:calc(100% - 18px);min-height:262px;}
}

/* v2.11 — Sell page redesign */
.sell-page { background:#fff; }
.sell-hero {
  background:#fff;
  padding: 186px 0 88px;
}
.sell-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.78fr);
  gap:clamp(44px,6vw,82px);
  align-items:start;
}
.sell-hero-copy h1 {
  font-size:clamp(3.3rem,5.7vw,6rem);
  max-width:820px;
  margin-bottom:26px;
}
.sell-hero-copy .lede { max-width:760px; }
.sell-hero-media {
  justify-self:end;
  width:min(100%, 520px);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 18px 42px rgba(20,20,20,.08);
}
.sell-hero-media img {
  width:100%;
  aspect-ratio: 1.08 / 1;
  object-fit:cover;
  display:block;
}
.sell-heading-tight { margin-bottom:30px; }
.sell-advantage-grid,
.sell-roadmap-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
  background:#fff;
}
.sell-roadmap-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.sell-advantage-grid article,
.sell-roadmap-grid article {
  padding:28px 24px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  min-height:220px;
}
.sell-roadmap-grid article { min-height:195px; }
.sell-advantage-grid span,
.sell-roadmap-grid span,
.sell-mini-grid span {
  color:var(--gold-dark);
  font-family:var(--serif);
  font-size:1.18rem;
}
.sell-advantage-grid h3,
.sell-roadmap-grid h3,
.sell-mini-grid h3 {
  font-family:var(--serif);
  font-size:1.42rem;
  font-weight:500;
  margin:.8rem 0 .55rem;
}
.sell-advantage-grid p,
.sell-roadmap-grid p,
.sell-mini-grid p { margin:0; color:var(--muted); }
.sell-split-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);
  gap:clamp(40px,5vw,76px);
  align-items:center;
}
.sell-split-grid.reverse { grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr); }
.sell-split-grid.reverse > :first-child { order:2; }
.sell-split-grid.reverse > :last-child { order:1; }
.sell-copy-block h2 { max-width:760px; }
.sell-lede-compact {
  font-size:clamp(1rem,1.7vw,1.18rem);
  max-width:720px;
}
.sell-point-list {
  list-style:none;
  padding:0;
  margin:1.8rem 0 0;
  display:grid;
  gap:1rem;
}
.sell-point-list li {
  display:grid;
  grid-template-columns:180px 1fr;
  gap:18px;
  padding:0 0 1rem;
  border-bottom:1px solid var(--line);
}
.sell-point-list li:last-child { padding-bottom:0; border-bottom:0; }
.sell-point-list strong { font-weight:800; }
.sell-point-list span { color:var(--muted); }
.sell-paired-media {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:start;
}
.sell-paired-media img,
.sell-single-media img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:6px;
  display:block;
}
.sell-paired-media img {
  aspect-ratio: .95 / 1;
  max-height:250px;
}
.small-media {
  width:min(100%, 470px);
}
.small-media img {
  aspect-ratio: 1.06 / 1;
  max-height:360px;
  box-shadow:0 16px 36px rgba(20,20,20,.08);
}
.sell-pricing-section { padding-top:82px; padding-bottom:82px; }
.sell-pricing-panel {
  display:grid;
  grid-template-columns:minmax(0,1fr);
}
.sell-pricing-section .eyebrow { color:#dfbd77; }
.sell-pricing-section h2 { max-width:860px; }
.sell-dark-copy { color:#d7d2c8; max-width:850px; }
.sell-marketing-section .sell-copy-block,
.sell-enhanced-section .sell-copy-block { max-width:780px; }
.sell-mini-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px 26px;
  margin-top:1.8rem;
}
.sell-mini-grid article {
  padding-top:4px;
  border-top:1px solid var(--line);
}
.sell-final-cta {
  background:#fff;
  padding-top:56px;
  padding-bottom:64px;
}
.sell-final-cta-inner {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) auto;
  gap:38px;
  align-items:end;
}
.sell-final-cta .button-row { margin-top:0; }
@media(max-width:1100px){
  .sell-hero-media { width:min(100%, 460px); }
}
@media(max-width:980px){
  .sell-hero{padding:160px 0 70px;}
  .sell-hero-grid,
  .sell-split-grid,
  .sell-split-grid.reverse,
  .sell-final-cta-inner { grid-template-columns:1fr; }
  .sell-split-grid.reverse > :first-child,
  .sell-split-grid.reverse > :last-child { order:initial; }
  .sell-advantage-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sell-roadmap-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sell-hero-media,
  .small-media { justify-self:start; width:min(100%, 520px); }
}
@media(max-width:640px){
  .sell-hero { padding:144px 0 54px; }
  .sell-hero-copy h1 { font-size:clamp(2.7rem, 12vw, 4.3rem); }
  .sell-advantage-grid,
  .sell-roadmap-grid,
  .sell-mini-grid,
  .sell-paired-media { grid-template-columns:1fr; }
  .sell-point-list li { grid-template-columns:1fr; gap:6px; }
  .sell-paired-media img { max-height:none; aspect-ratio:1.1/1; }
  .sell-roadmap-grid article,
  .sell-advantage-grid article { min-height:0; }
}


/* v2.27 — refined Capitol header
   Larger, tighter logo + lighter editorial navigation to match the site. */
.site-header {
  background: rgba(21,21,21,.97) !important;
  border-bottom: 1px solid rgba(185,145,77,.18) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.navbar {
  min-height: 116px !important;
  gap: 34px !important;
}
.site-header .brand,
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-header .brand img,
.brand img,
.home .site-header .brand img,
.home .brand img {
  width: 292px !important;
  max-width: 29vw !important;
  max-height: 88px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}
.nav-links {
  margin-left: auto;
  font-size: inherit !important;
}
.primary-menu {
  display: flex;
  align-items: center;
  gap: 1.18rem !important;
}
.primary-menu a,
.nav-links a {
  position: relative;
  padding: .72rem 0 .62rem !important;
  border-bottom: 1px solid transparent !important;
  color: rgba(255,255,255,.90) !important;
  font-size: .73rem !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  letter-spacing: .105em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-ancestor > a {
  color: #d0aa64 !important;
  border-bottom-color: #b9914d !important;
}

/* Move to the compact mobile menu a little sooner now that the logo is larger. */
@media (max-width: 1320px) {
  .navbar {
    min-height: 100px !important;
    position: relative;
  }
  .site-header .brand img,
  .brand img,
  .home .site-header .brand img,
  .home .brand img {
    width: 250px !important;
    max-width: 42vw !important;
    max-height: 78px !important;
  }
  .mobile-toggle {
    display: block !important;
    margin-left: auto;
    border: 1px solid rgba(185,145,77,.62) !important;
    color: #fff !important;
    background: transparent !important;
    min-width: 74px;
    padding: .65rem .9rem !important;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-links {
    display: none !important;
    position: absolute !important;
    top: calc(100% - 1px) !important;
    right: 20px !important;
    left: auto !important;
    width: min(390px, calc(100vw - 40px)) !important;
    background: #151515 !important;
    padding: 18px 22px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border: 1px solid rgba(185,145,77,.22) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.36) !important;
  }
  .nav-links.open {
    display: flex !important;
  }
  .primary-menu {
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .primary-menu li {
    width: 100%;
  }
  .primary-menu a,
  .nav-links a {
    width: 100%;
    padding: .82rem 0 !important;
    font-size: .76rem !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
  }
  .primary-menu li:last-child a {
    border-bottom: 0 !important;
  }
}
@media (max-width: 640px) {
  .navbar {
    min-height: 88px !important;
  }
  .site-header .brand img,
  .brand img,
  .home .site-header .brand img,
  .home .brand img {
    width: 210px !important;
    max-width: 61vw !important;
    max-height: 68px !important;
  }
  .nav-links {
    right: 14px !important;
    width: calc(100vw - 28px) !important;
  }
}


/* v2.28 — stronger section-label hierarchy across the site
   These are the small uppercase category/section headings such as
   Residential, Why Choose Capitol, Homes & Property, etc. */
.eyebrow {
  font-size: .94rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: .155em !important;
  margin-bottom: .82rem !important;
}

/* Homepage division labels deserve the strongest treatment. */
.division-card .eyebrow {
  font-size: 1.02rem !important;
  letter-spacing: .14em !important;
  margin-bottom: .72rem !important;
}

/* Main section labels throughout the homepage. */
.section-heading .eyebrow,
.profile-feature .eyebrow,
.commercial-landing-copy .eyebrow,
.cares-copy .eyebrow,
.cta .eyebrow {
  font-size: 1rem !important;
  letter-spacing: .155em !important;
}

/* Keep neighborhood/card captions subordinate to true section headings. */
.lifestyle-caption .eyebrow {
  font-size: .82rem !important;
  letter-spacing: .13em !important;
  margin-bottom: .58rem !important;
}

/* Major page-level eyebrow labels. */
.buy-page .eyebrow,
.cpm-page .eyebrow,
.contact222 .eyebrow,
.join219 .eyebrow,
.cap-listings-page .eyebrow {
  font-size: .98rem !important;
  letter-spacing: .16em !important;
}

/* About division-card category labels are supporting headers, not section titles. */
.about221 .about221-division-label {
  font-size: .90rem !important;
  line-height: 1.25 !important;
  letter-spacing: .13em !important;
}

/* Join Capitol plan labels receive a modest bump while staying subordinate. */
.join219 .jplan .label {
  font-size: .88rem !important;
  line-height: 1.25 !important;
  letter-spacing: .11em !important;
}

/* Do not enlarge form field labels; they are utility text rather than page headers. */
.contact222 .contact-field label {
  font-size: .74rem !important;
  letter-spacing: .09em !important;
}

@media (max-width: 720px) {
  .eyebrow,
  .division-card .eyebrow,
  .section-heading .eyebrow,
  .profile-feature .eyebrow,
  .commercial-landing-copy .eyebrow,
  .cares-copy .eyebrow,
  .cta .eyebrow,
  .buy-page .eyebrow,
  .cpm-page .eyebrow,
  .contact222 .eyebrow,
  .join219 .eyebrow,
  .cap-listings-page .eyebrow {
    font-size: .86rem !important;
    letter-spacing: .135em !important;
  }
  .lifestyle-caption .eyebrow {
    font-size: .76rem !important;
  }
}


/* v2.29 — Guild Mortgage pre-approval links must remain clickable */
.buy-page a.preapproval-link,
.buy-finance-copy a.preapproval-link,
.lender-card a.preapproval-link,
.buy-step-featured a.preapproval-link,
.buy-final-cta a.preapproval-link {
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}

.buy-finance-copy,
.lender-card,
.buy-step-featured,
.buy-final-cta,
.buy-final-cta .button-row {
  position: relative;
  pointer-events: auto !important;
}

.buy-finance-copy::before,
.buy-finance-copy::after,
.lender-card::before,
.lender-card::after,
.buy-step-featured::before,
.buy-step-featured::after,
.buy-final-cta::before,
.buy-final-cta::after {
  pointer-events: none !important;
}


/* v2.34 — compact homepage Capitol Commercial section */
.home-commercial-section.commercial-showcase {
  padding: clamp(28px, 3.2vw, 46px) 0 !important;
}
.home-commercial-section .commercial-showcase-grid {
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr) !important;
  gap: clamp(28px, 3.5vw, 48px) !important;
  align-items: center !important;
}
.home-commercial-section .commercial-showcase-copy {
  justify-content: center !important;
  padding: 0 !important;
}
.home-commercial-section .commercial-showcase-logo {
  display: block !important;
  width: min(330px, 72%) !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 0 12px !important;
}
.home-commercial-section .commercial-showcase-copy h2 {
  margin-top: 0 !important;
}
.home-commercial-section .commercial-rule {
  margin: 18px 0 18px !important;
}
.home-commercial-section .commercial-summary {
  margin-bottom: 18px !important;
}
.home-commercial-section .commercial-service-grid {
  margin-top: 0 !important;
}
.home-commercial-section .commercial-showcase-media {
  align-self: center !important;
  border-radius: 14px !important;
}
.home-commercial-section .commercial-showcase-media img {
  min-height: 430px !important;
  max-height: 500px !important;
  object-fit: cover !important;
}
.home-commercial-section .commercial-showcase-link {
  margin-top: 14px !important;
}

@media (max-width: 1050px) {
  .home-commercial-section .commercial-showcase-logo {
    width: min(300px, 76%) !important;
  }
  .home-commercial-section .commercial-showcase-media img {
    min-height: 400px !important;
    max-height: none !important;
  }
}
@media (max-width: 820px) {
  .home-commercial-section.commercial-showcase {
    padding: 34px 0 !important;
  }
  .home-commercial-section .commercial-showcase-grid {
    gap: 28px !important;
  }
  .home-commercial-section .commercial-showcase-logo {
    width: min(300px, 70%) !important;
    margin-bottom: 10px !important;
  }
  .home-commercial-section .commercial-showcase-media img {
    min-height: 300px !important;
    aspect-ratio: 1.5 / 1 !important;
  }
}


/* v2.46 — clearer separation between Meet Our Agents and South Sound Neighborhoods */
.agent-static-section{
  background:#f3efe7 !important;
  padding-top:clamp(54px,5vw,76px) !important;
  padding-bottom:clamp(58px,5.2vw,82px) !important;
}
.agent-static-section .agent-headshot-card{
  background:transparent;
}
.lifestyle-section{
  background:#ffffff !important;
  padding-top:clamp(68px,6vw,94px) !important;
  padding-bottom:clamp(68px,6vw,94px) !important;
  border-top:1px solid #e3dbcf;
}
.lifestyle-section .lifestyle-card{
  box-shadow:0 14px 32px rgba(23,23,23,.06);
}
@media(max-width:720px){
  .agent-static-section{
    padding-top:50px !important;
    padding-bottom:54px !important;
  }
  .lifestyle-section{
    padding-top:58px !important;
    padding-bottom:60px !important;
  }
}


/* v2.47 — definitive homepage background separation */
body.home .homepage-agents-section,
body.home .section.agent-static-section.homepage-agents-section,
.homepage-agents-section{
  background:#ffffff !important;
  background-color:#ffffff !important;
  background-image:none !important;
  padding-top:clamp(58px,5vw,78px) !important;
  padding-bottom:clamp(62px,5.2vw,84px) !important;
}

body.home .homepage-neighborhoods-section,
body.home .section.lifestyle-section.homepage-neighborhoods-section,
.homepage-neighborhoods-section{
  background:#eee5d8 !important;
  background-color:#eee5d8 !important;
  background-image:none !important;
  border-top:1px solid #d8cbb9 !important;
  border-bottom:1px solid #e2d7c7 !important;
  padding-top:clamp(70px,6vw,96px) !important;
  padding-bottom:clamp(72px,6vw,98px) !important;
}

.homepage-neighborhoods-section .lifestyle-card{
  background:#ffffff !important;
  box-shadow:0 14px 32px rgba(23,23,23,.08) !important;
}

@media(max-width:720px){
  .homepage-agents-section{
    padding-top:50px !important;
    padding-bottom:56px !important;
  }
  .homepage-neighborhoods-section{
    padding-top:58px !important;
    padding-bottom:62px !important;
  }
}


/* v2.48 — unified agent roster + lender photo */
.lender-portrait-media img{object-position:center top; background:#d7d4cf;}
.homepage-agents-section .agent-headshot-grid,
.team-v213-grid{align-items:stretch;}


/* v2.59 — homepage property search + featured listings */
.home-property-search-section{
  background:#fff;
  padding-top:clamp(72px,6vw,98px);
  padding-bottom:clamp(70px,6vw,96px);
}
.home-property-heading{margin-bottom:34px;}
.home-idx-search-panel{
  border:1px solid #ddd6ca;
  background:#f6f2eb;
  padding:clamp(28px,4vw,46px);
  border-radius:4px;
}

.home-idx-search-map-layout{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.88fr);
  gap:clamp(26px,3vw,38px);
  align-items:start;
}
.home-idx-search-main{min-width:0;}
.home-idx-map-card{
  background:#fff;
  border:1px solid #ded8ce;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:18px;
  min-width:0;
}
.home-idx-map-copy h3{
  font-family:var(--serif);
  font-size:clamp(1.55rem,2.4vw,2.2rem);
  line-height:1.06;
  font-weight:500;
  margin:8px 0 10px;
}
.home-idx-map-copy p:last-child{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
.home-idx-live-map-card{
  background:#fff;
  box-shadow:0 18px 46px rgba(20,20,20,.07);
}
.home-idx-live-map-shell{
  position:relative;
  width:100%;
  min-height:480px;
  border:1px solid #ded8ce;
  background:#ece9e3;
  overflow:hidden;
}
.home-idx-live-map-shell .sidx-container,
.home-idx-live-map-shell .showcase-idx,
.home-idx-live-map-shell [class*="showcaseidx"]{
  width:100%!important;
  max-width:none!important;
  min-height:480px!important;
}
.home-idx-live-map-shell iframe,
.home-idx-live-map-shell .sidx-map{
  width:100%!important;
  min-height:480px!important;
}
.home-idx-live-map-shell img{max-width:none;}
.home-idx-map-actions .btn{width:100%;}
.home-idx-search-intro{
  display:grid;
  grid-template-columns:minmax(180px,.34fr) minmax(320px,.82fr) minmax(280px,.84fr);
  gap:28px;
  align-items:end;
  padding-bottom:26px;
  margin-bottom:26px;
  border-bottom:1px solid #ddd6ca;
}
.home-idx-search-intro .home-idx-kicker{
  margin:0;
  color:#a9792f;
  text-transform:uppercase;
  letter-spacing:.17em;
  font-size:.77rem;
  font-weight:800;
}
.home-idx-search-intro h3{
  font-family:var(--serif);
  font-size:clamp(1.85rem,3vw,2.8rem);
  line-height:1.04;
  font-weight:500;
  margin:0;
}
.home-idx-search-intro>p:last-child{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
.home-idx-search-shell{
  background:#fff;
  border:1px solid #ded8ce;
  padding:18px;
  min-height:82px;
}
.home-idx-search-shell .sidx-container,
.home-idx-search-shell .showcase-idx,
.home-idx-search-shell [class*="showcaseidx"]{
  width:100%!important;
  max-width:none!important;
}
.home-idx-search-shell .sidx-container{
  font-family:var(--sans)!important;
  color:#171717!important;
}
.home-idx-search-shell .sidx-searchform,
.home-idx-search-shell .sidx-streamlined-search{
  margin:0!important;
}
.home-idx-search-shell input,
.home-idx-search-shell select,
.home-idx-search-shell button,
.home-idx-search-shell [role="button"]{
  min-height:48px;
  border-radius:0!important;
}
.home-idx-search-shell button,
.home-idx-search-shell input[type="submit"],
.home-idx-search-shell [role="button"]{
  font-weight:800!important;
}
.home-idx-fallback{
  display:grid;
  grid-template-columns:minmax(220px,1.45fr) minmax(160px,.8fr) minmax(170px,.85fr) auto;
  gap:10px;
  align-items:stretch;
}
.home-idx-faux-field{
  border:1px solid #d7d0c5;
  background:#fff;
  min-height:62px;
  padding:10px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.home-idx-faux-field span{
  color:#9a793f;
  text-transform:uppercase;
  letter-spacing:.10em;
  font-size:.65rem;
  font-weight:800;
  margin-bottom:4px;
}
.home-idx-faux-field strong{font-size:.88rem;font-weight:650;color:#35312c;}
.home-idx-fallback .btn{min-height:62px;white-space:nowrap;}
.home-search-actions{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
  margin-top:18px;
}
.home-search-actions .text-link{font-size:.82rem;}

.home-featured-listings-section{
  border-top:1px solid #e0d8cc;
  border-bottom:1px solid #ddd5c8;
  padding-top:clamp(72px,6vw,96px);
  padding-bottom:clamp(72px,6vw,98px);
}
.home-featured-heading{margin-bottom:34px;}
.home-featured-idx-shell{
  width:100%;
  min-height:220px;
}
.home-featured-idx-shell .sidx-container,
.home-featured-idx-shell .showcase-idx,
.home-featured-idx-shell [class*="showcaseidx"]{
  width:100%!important;
  max-width:none!important;
  font-family:var(--sans)!important;
}
.home-featured-idx-shell .sidx-search-results,
.home-featured-idx-shell [class*="results"]{
  max-width:none!important;
}
.home-featured-idx-shell img{border-radius:2px;}
.home-featured-fallback{
  min-height:245px;
  border:1px solid #d8d0c3;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:38px;
  align-items:center;
  padding:clamp(30px,4vw,48px);
}
.home-featured-fallback-copy{max-width:690px;}
.home-featured-fallback h3{
  font-family:var(--serif);
  font-size:clamp(2rem,3.4vw,3.2rem);
  line-height:1.02;
  font-weight:500;
  margin:0 0 12px;
}
.home-featured-fallback-copy>p:last-child{color:var(--muted);line-height:1.7;margin:0;}
.home-featured-actions{justify-content:center;margin-top:30px;}

.home-featured-idx-shell .si-btn,
.home-featured-idx-shell .si-button,
.home-featured-idx-shell .shared-button,
.home-featured-idx-shell .button-primary,
.home-featured-idx-shell input[type="button"],
.home-featured-idx-shell input[type="submit"]{
  background:#111 !important;
  color:#fff !important;
  border:1px solid #111 !important;
  border-radius:0 !important;
  text-transform:none !important;
  font-weight:800 !important;
  letter-spacing:.02em !important;
  box-shadow:none !important;
}
.home-featured-idx-shell .si-btn:hover,
.home-featured-idx-shell .si-button:hover,
.home-featured-idx-shell .shared-button:hover,
.home-featured-idx-shell .button-primary:hover,
.home-featured-idx-shell input[type="button"]:hover,
.home-featured-idx-shell input[type="submit"]:hover{
  background:#a9792f !important;
  border-color:#a9792f !important;
  color:#fff !important;
}

@media(max-width:980px){
  .home-idx-search-map-layout{grid-template-columns:1fr;}
  .home-idx-search-intro{grid-template-columns:1fr 1.3fr;}
  .home-idx-search-intro>p:last-child{grid-column:1/-1;}
  .home-idx-fallback{grid-template-columns:1fr 1fr;}
  .home-idx-fallback .btn{width:100%;}
}
@media(max-width:680px){
  .home-property-search-section,.home-featured-listings-section{padding-top:58px;padding-bottom:62px;}
  .home-idx-search-panel{padding:22px 18px;}
  .home-idx-map-card{padding:14px;}
  .home-idx-live-map-shell,
  .home-idx-live-map-shell .sidx-container,
  .home-idx-live-map-shell .showcase-idx,
  .home-idx-live-map-shell [class*="showcaseidx"],
  .home-idx-live-map-shell iframe,
  .home-idx-live-map-shell .sidx-map{min-height:360px!important;}
  .home-idx-search-intro{grid-template-columns:1fr;gap:14px;}
  .home-idx-search-intro>p:last-child{grid-column:auto;}
  .home-idx-fallback{grid-template-columns:1fr;}
  .home-featured-fallback{grid-template-columns:1fr;gap:24px;}
  .home-featured-fallback .btn{width:100%;}
  .home-search-actions{gap:16px;flex-direction:column;}
}



/* v2.98 — refined Capitol styling for the Showcase IDX homepage search bar */
.home-idx-search-shell{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  min-height:64px;
}
.home-idx-search-shell .sidx-container,
.home-idx-search-shell .showcase-idx,
.home-idx-search-shell [class*="showcaseidx"]{
  font-family:var(--sans)!important;
}
.home-idx-search-shell .sidx-searchform,
.home-idx-search-shell .sidx-streamlined-search,
.home-idx-search-shell form{
  background:#fff !important;
  border:1px solid #d7d0c5 !important;
  padding:8px !important;
  box-shadow:0 10px 28px rgba(23,23,23,.055) !important;
}
.home-idx-search-shell input,
.home-idx-search-shell select{
  background:#fff !important;
  color:#171717 !important;
  border:1px solid #d7d0c5 !important;
  box-shadow:none !important;
  min-height:48px !important;
  border-radius:2px !important;
  font-family:var(--sans)!important;
}
.home-idx-search-shell input::placeholder{
  color:#777069 !important;
  opacity:1 !important;
}
.home-idx-search-shell button,
.home-idx-search-shell [role="button"]{
  background:#fff !important;
  color:#292622 !important;
  border:1px solid #d7d0c5 !important;
  box-shadow:none !important;
  min-height:48px !important;
  border-radius:2px !important;
  font-family:var(--sans)!important;
  font-weight:700 !important;
  transition:background .16s ease,color .16s ease,border-color .16s ease !important;
}
.home-idx-search-shell button:hover,
.home-idx-search-shell [role="button"]:hover{
  background:#f4efe6 !important;
  border-color:#b9914d !important;
  color:#171717 !important;
}
/* The final search action gets Capitol's dark treatment instead of Showcase blue. */
.home-idx-search-shell button[type="submit"],
.home-idx-search-shell input[type="submit"],
.home-idx-search-shell button:last-child,
.home-idx-search-shell [class*="search-button"],
.home-idx-search-shell [class*="searchButton"]{
  background:#171717 !important;
  color:#fff !important;
  border-color:#171717 !important;
}
.home-idx-search-shell button[type="submit"]:hover,
.home-idx-search-shell input[type="submit"]:hover,
.home-idx-search-shell button:last-child:hover,
.home-idx-search-shell [class*="search-button"]:hover,
.home-idx-search-shell [class*="searchButton"]:hover{
  background:#a9792f !important;
  border-color:#a9792f !important;
  color:#fff !important;
}
.home-idx-search-shell svg,
.home-idx-search-shell button[type="submit"] svg,
.home-idx-search-shell button:last-child svg{
  fill:currentColor !important;
  color:inherit !important;
}
@media(max-width:680px){
  .home-idx-search-shell .sidx-searchform,
  .home-idx-search-shell .sidx-streamlined-search,
  .home-idx-search-shell form{padding:6px !important;}
}

/* v2.60 — homepage Capitol Commercial mobile stacking fix */
@media (max-width: 820px) {
  .home-commercial-section .commercial-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .home-commercial-section .commercial-showcase-copy {
    width: 100% !important;
    min-width: 0 !important;
  }
  .home-commercial-section .commercial-showcase-media {
    order: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  .home-commercial-section .commercial-showcase-media img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1.45 / 1 !important;
    object-fit: cover !important;
  }
}
@media (max-width: 520px) {
  .home-commercial-section .commercial-showcase-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.15rem) !important;
    line-height: .98 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  .home-commercial-section .commercial-summary {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }
  .home-commercial-section .commercial-showcase-logo {
    width: min(250px, 72%) !important;
  }
}

/* v3.00 — stabilize Homes & Property layout for live Showcase widgets.
   Search receives full width; live map sits below as a wide browsing experience. */
.home-idx-search-map-layout{
  grid-template-columns:1fr !important;
  gap:30px !important;
}
.home-idx-search-main{
  width:100%;
  min-width:0;
}
.home-idx-map-card{
  width:100%;
  min-width:0;
  padding:24px;
}
.home-idx-map-copy{
  display:grid;
  grid-template-columns:minmax(150px,.34fr) minmax(320px,.82fr) minmax(300px,.84fr);
  gap:28px;
  align-items:end;
  padding-bottom:22px;
  border-bottom:1px solid #e1d9ce;
}
.home-idx-map-copy .home-idx-kicker{margin:0;}
.home-idx-map-copy h3{
  margin:0;
  font-size:clamp(1.8rem,2.5vw,2.55rem);
}
.home-idx-map-copy p:last-child{
  margin:0;
}
.home-idx-live-map-shell,
.home-idx-live-map-shell .sidx-container,
.home-idx-live-map-shell .showcase-idx,
.home-idx-live-map-shell [class*="showcaseidx"],
.home-idx-live-map-shell iframe,
.home-idx-live-map-shell .sidx-map{
  min-height:520px !important;
}
.home-idx-map-actions{
  display:flex;
  justify-content:flex-end;
}
.home-idx-map-actions .btn{
  width:auto;
  min-width:220px;
}
@media(max-width:900px){
  .home-idx-map-copy{
    grid-template-columns:1fr 1.6fr;
  }
  .home-idx-map-copy>p:last-child{
    grid-column:1/-1;
  }
}
@media(max-width:680px){
  .home-idx-search-map-layout{gap:22px !important;}
  .home-idx-map-card{padding:14px;}
  .home-idx-map-copy{
    grid-template-columns:1fr;
    gap:10px;
    padding-bottom:16px;
  }
  .home-idx-map-copy>p:last-child{grid-column:auto;}
  .home-idx-live-map-shell,
  .home-idx-live-map-shell .sidx-container,
  .home-idx-live-map-shell .showcase-idx,
  .home-idx-live-map-shell [class*="showcaseidx"],
  .home-idx-live-map-shell iframe,
  .home-idx-live-map-shell .sidx-map{
    min-height:380px !important;
  }
  .home-idx-map-actions .btn{width:100%;min-width:0;}
}


/* v3.02 — mobile Homes & Property cleanup.
   Keep the live Showcase map on larger screens, but use a compact CTA on phones
   and force the search controls into a stable two-column mobile grid. */
@media(max-width:680px){
  .home-property-search-section .wrap{width:min(100% - 28px,1240px);}
  .home-property-heading{margin-bottom:22px;}
  .home-property-heading h2{font-size:clamp(2.35rem,11vw,3.15rem);line-height:.98;}
  .home-property-heading>p{font-size:.98rem;line-height:1.55;}
  .home-idx-search-panel{padding:18px 14px !important;}
  .home-idx-search-intro{padding-bottom:18px;margin-bottom:18px;}
  .home-idx-search-intro h3{font-size:clamp(2rem,9.5vw,2.75rem);line-height:.98;}
  .home-idx-search-intro>p:last-child{font-size:.98rem;line-height:1.55;}
  .home-search-actions{margin-top:16px;gap:10px !important;}
  .home-search-actions .text-link{font-size:.76rem;line-height:1.35;}

  /* Don't cram the full desktop MLS map into a phone viewport. */
  .home-idx-map-card{padding:18px !important;gap:14px !important;}
  .home-idx-map-copy{padding-bottom:0 !important;border-bottom:0 !important;gap:8px !important;}
  .home-idx-map-copy h3{font-size:clamp(2rem,9vw,2.65rem) !important;line-height:.98 !important;}
  .home-idx-map-copy p:last-child{font-size:.98rem;line-height:1.55;}
  .home-idx-live-map-shell{display:none !important;min-height:0 !important;height:0 !important;overflow:hidden !important;}
  .home-idx-map-actions{margin-top:4px;}
  .home-idx-map-actions .btn{min-height:52px;display:flex;align-items:center;justify-content:center;}
}

/* v3.03 — harden Showcase IDX mobile search layout.
   Showcase's streamlined widget has its own flex widths; explicitly reset those
   on phones so the controls do not overlap or render at half-width. */
@media (max-width:680px){
  .home-idx-search-shell .sidx-container .sidx-searchform,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    width:100% !important;
    max-width:none !important;
    gap:10px !important;
    box-sizing:border-box !important;
  }

  .home-idx-search-shell .sidx-container .sidx-searchform > *,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search > *{
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }

  /* Location / keyword gets its own full-width row. */
  .home-idx-search-shell .sidx-container .sidx-searchform .sidx-suggestions-input,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search .sidx-suggestions-input{
    display:block !important;
    flex:0 0 100% !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }
  .home-idx-search-shell .sidx-container .sidx-searchform .sidx-suggestions-input input,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search .sidx-suggestions-input input{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
    min-height:54px !important;
  }

  /* Price / Beds / Baths become one evenly spaced row. */
  .home-idx-search-shell .sidx-container .sidx-searchform .sidx-basic,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search .sidx-basic{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
  .home-idx-search-shell .sidx-container .sidx-searchform .sidx-basic .sidx-field,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search .sidx-basic .sidx-field{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    min-height:54px !important;
    margin:0 !important;
    padding:10px 6px !important;
    box-sizing:border-box !important;
    white-space:nowrap !important;
  }

  /* More gets a clean full-width row of its own. */
  .home-idx-search-shell .sidx-container .sidx-streamlined-search .sidx-streamlined-toggle,
  .home-idx-search-shell .sidx-container .sidx-searchform .sidx-streamlined-toggle{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 100% !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    min-height:54px !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  /* Search action spans the full card. */
  .home-idx-search-shell .sidx-container .sidx-searchform button[type="submit"],
  .home-idx-search-shell .sidx-container .sidx-searchform input[type="submit"],
  .home-idx-search-shell .sidx-container .sidx-streamlined-search button[type="submit"],
  .home-idx-search-shell .sidx-container .sidx-streamlined-search input[type="submit"],
  .home-idx-search-shell .sidx-container .sidx-searchform [class*="search-button"],
  .home-idx-search-shell .sidx-container .sidx-searchform [class*="searchButton"],
  .home-idx-search-shell .sidx-container .sidx-streamlined-search [class*="search-button"],
  .home-idx-search-shell .sidx-container .sidx-streamlined-search [class*="searchButton"]{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 100% !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    min-height:56px !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  /* Remove stray width constraints Showcase adds around individual controls. */
  .home-idx-search-shell .sidx-container .sidx-searchform [style*="width"],
  .home-idx-search-shell .sidx-container .sidx-streamlined-search [style*="width"]{
    max-width:100% !important;
  }
}

@media (max-width:390px){
  .home-idx-search-shell .sidx-container .sidx-searchform .sidx-basic,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search .sidx-basic{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .home-idx-search-shell .sidx-container .sidx-searchform .sidx-basic .sidx-field:last-child,
  .home-idx-search-shell .sidx-container .sidx-streamlined-search .sidx-basic .sidx-field:last-child{
    grid-column:1/-1 !important;
  }
}

/* v3.04 — phone-safe IDX entry point. Showcase's embedded streamlined form
   does not reliably honor mobile widths, so use the full widget on tablet/desktop
   and a clean linked search control on phones. */
.home-idx-mobile-search-cta{display:none;}
@media(max-width:680px){
  .home-idx-search-shell{display:none !important;}
  .home-idx-mobile-search-cta{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    width:100%;
    margin:0;
  }
  .home-idx-mobile-search-link{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:56px;
    width:100%;
    padding:0 16px;
    background:#fff;
    border:1px solid #d2c8b9;
    color:#5d5851;
    text-decoration:none !important;
    font-size:.96rem;
    line-height:1.25;
    box-sizing:border-box;
  }
  .home-idx-mobile-search-icon{
    flex:0 0 auto;
    color:#171717;
    font-size:1.55rem;
    line-height:1;
  }
  .home-idx-mobile-search-button{
    display:flex !important;
    width:100%;
    min-height:56px;
    align-items:center;
    justify-content:center;
    margin:0 !important;
  }
}

/* v3.05 — scope map height to the actual map shell only.
   Do not target generic class names containing "map" because Showcase uses
   those on marker/price elements and they can stretch vertically. */
.home-idx-live-map-shell{
  min-height:520px !important;
  height:520px !important;
  overflow:hidden;
}
.home-idx-live-map-shell > .sidx-container,
.home-idx-live-map-shell > .showcase-idx{
  min-height:520px !important;
  height:100% !important;
}
.home-idx-live-map-shell iframe{
  width:100% !important;
  height:520px !important;
  min-height:520px !important;
}
@media(max-width:680px){
  .home-idx-live-map-shell{display:none !important;height:0 !important;min-height:0 !important;}
}


/* v3.19 — SEO market pages and subtle internal market links */
.home-property-heading a,.buy-search-section a:not(.btn){color:inherit;text-decoration:underline;text-decoration-color:#b9914d;text-underline-offset:3px}
.market-hero{padding:76px 0 84px}
.market-hero-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.72fr);gap:clamp(48px,7vw,94px);align-items:center}
.market-hero-copy h1{font-family:var(--serif);font-size:clamp(3.8rem,6vw,6.6rem);font-weight:500;line-height:.92;letter-spacing:-.045em;margin:.3rem 0 24px;max-width:820px}
.market-hero-copy .lede{max-width:740px}
.market-hero-media{overflow:hidden;min-height:480px;background:#d9d5ce}
.market-hero-media img{display:block;width:100%;height:100%;min-height:480px;object-fit:cover}
.market-copy-grid,.market-local-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:clamp(44px,7vw,90px);align-items:start}
.market-copy-grid h2,.market-local-grid h2,.market-buy-sell-grid h2,.market-faq-layout h2{font-family:var(--serif);font-weight:500;line-height:.98;letter-spacing:-.035em;font-size:clamp(2.7rem,4.6vw,4.7rem);margin:.2rem 0 0}
.market-rich-copy p,.market-local-copy p,.market-buy-sell-grid article>p:not(.eyebrow){font-size:1.04rem;line-height:1.78;color:#514b43;margin:0 0 18px}
.market-option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #d7cec0;border-left:1px solid #d7cec0;background:#fff}
.market-option-card{padding:28px 24px 30px;border-right:1px solid #d7cec0;border-bottom:1px solid #d7cec0;min-height:245px}
.market-option-card span{display:block;font-family:var(--serif);color:var(--gold-dark);font-size:1.15rem;margin-bottom:26px}
.market-option-card h3{font-family:var(--serif);font-size:1.55rem;font-weight:500;line-height:1.08;margin:0 0 10px}
.market-option-card p{margin:0;color:#625b51;line-height:1.62}
.market-buy-sell-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(48px,8vw,110px)}
.market-buy-sell-grid h2{font-size:clamp(2.5rem,4vw,4rem);margin-bottom:22px}
.market-local-section{background:#171717;color:#fff}
.market-local-grid h2{color:#fff}.market-local-copy p{color:#d7d1c9}
.market-faq-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:clamp(46px,7vw,90px)}
.market-faq-list{border-top:1px solid #d7cec0}
.market-faq-list details{border-bottom:1px solid #d7cec0;padding:20px 0}
.market-faq-list summary{cursor:pointer;font-weight:800;font-size:1rem;color:#171717;list-style-position:outside}
.market-faq-list details p{color:#5c554c;line-height:1.7;margin:14px 0 0}
.market-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.market-link-grid a{display:flex;flex-direction:column;justify-content:space-between;min-height:150px;padding:24px;border:1px solid #ddd5c8;text-decoration:none;color:#171717;background:#fff;transition:.2s}
.market-link-grid a:hover{border-color:#b9914d;transform:translateY(-2px)}
.market-link-grid strong{font-family:var(--serif);font-size:1.65rem;font-weight:500}.market-link-grid span{font-size:.82rem;font-weight:800;color:#97743d}
.market-final-inner{display:flex;justify-content:space-between;align-items:end;gap:52px}.market-final-inner h2{font-family:var(--serif);font-size:clamp(2.8rem,4.4vw,4.8rem);font-weight:500;line-height:.98;letter-spacing:-.04em;margin:.2rem 0 16px;max-width:850px}.market-final-inner p:not(.eyebrow){max-width:760px;color:#cfc9c1;line-height:1.7}
@media(max-width:900px){.market-hero-grid,.market-copy-grid,.market-local-grid,.market-faq-layout{grid-template-columns:1fr}.market-hero-media{min-height:360px;max-width:760px}.market-hero-media img{min-height:360px}.market-option-grid{grid-template-columns:1fr 1fr}.market-final-inner{align-items:flex-start;flex-direction:column}.market-link-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.market-hero{padding:58px 0 62px}.market-hero-copy h1{font-size:clamp(3rem,13vw,4.3rem)}.market-hero-media,.market-hero-media img{min-height:280px}.market-option-grid,.market-buy-sell-grid,.market-link-grid{grid-template-columns:1fr}.market-option-card{min-height:0}.market-faq-list summary{padding-left:4px}}

/* v3.20 — Areas We Serve SEO hub */
.areas-link-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.areas-next-section .market-rich-copy .button-row{margin-top:28px;}
@media(max-width:980px){.areas-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.areas-link-grid{grid-template-columns:1fr;}}

/* v3.21 — city market SEO expansion */
.areas-link-grid-dark a{background:#1d1d1d;border-color:#3a3834;color:#fff;}
.areas-link-grid-dark a:hover{border-color:#b9914d;background:#24221f;}
.areas-link-grid-dark span{color:#d3a75b;}
.areas-bottom-actions{margin-top:32px;}


/* v3.26 — Explore Thurston County market hub */
.market-explore-section{border-top:1px solid #ded6c9}
.market-explore-heading{margin-bottom:34px}
.county-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.county-market-card{background:#fff;border:1px solid #d8d0c4;padding:30px 28px 26px;min-height:410px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.county-market-card:hover{transform:translateY(-3px);border-color:#b9904d;box-shadow:0 16px 36px rgba(29,24,18,.07)}
.county-market-kicker{font-size:.72rem;line-height:1.45;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#9a7437;margin:0 0 18px}
.county-market-card h3{font-family:var(--serif);font-size:clamp(2rem,2.7vw,2.75rem);font-weight:500;line-height:1;margin:0 0 16px;letter-spacing:-.025em}
.county-market-description{font-size:.96rem;line-height:1.67;color:#5f584e;margin:0 0 22px}
.county-market-areas{list-style:none;padding:0;margin:0 0 26px;display:flex;flex-wrap:wrap;gap:7px}
.county-market-areas li{font-size:.76rem;line-height:1.3;padding:7px 9px;border:1px solid #ddd5c8;background:#f8f5ef;color:#51493f}
.county-market-link{display:inline-block;text-decoration:none;color:#8c682f;font-weight:800;font-size:.83rem;letter-spacing:.025em;margin-top:auto}
.county-market-link:hover{color:#171717}
.county-rural-callout{margin-top:18px;background:#171717;color:#fff;padding:32px 34px;display:grid;grid-template-columns:minmax(190px,.35fr) minmax(0,1fr);gap:42px;align-items:start}
.county-rural-callout .eyebrow{color:#c59a4d;margin-top:5px}
.county-rural-callout h3{font-family:var(--serif);font-size:clamp(2rem,3vw,3rem);font-weight:500;line-height:1.02;margin:0 0 12px}
.county-rural-callout p:not(.eyebrow){margin:0;color:#d6d0c8;line-height:1.72;max-width:920px}
.areas-county-feature{margin:0 0 18px;padding:30px 32px;border:1px solid #c8b89c;background:#f6f1e7;display:flex;align-items:center;justify-content:space-between;gap:34px}
.areas-county-feature h3{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,3.2vw,3.25rem);line-height:1;margin:.15rem 0 10px}
.areas-county-feature p:not(.eyebrow){max-width:760px;color:#5c554c;line-height:1.65;margin:0}
.areas-thurston-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.county-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.areas-thurston-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.county-market-grid,.areas-thurston-grid{grid-template-columns:1fr}.county-market-card{min-height:0}.county-rural-callout{grid-template-columns:1fr;gap:12px;padding:28px 24px}.areas-county-feature{align-items:flex-start;flex-direction:column;padding:26px 24px}}

/* v3.27 — Thurston County relocation / amenity guide */
.market-relocation-section{
  background:#fff;
  padding-top:clamp(72px,7vw,108px);
  padding-bottom:clamp(72px,7vw,108px);
}
.market-relocation-heading{margin-bottom:34px;}
.market-relocation-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.market-relocation-card{
  border:1px solid #ded8ce;
  background:#f8f5ef;
  padding:clamp(26px,3vw,38px);
}
.market-relocation-card h3{
  font-family:var(--serif);
  font-size:clamp(1.55rem,2.3vw,2.2rem);
  line-height:1.08;
  font-weight:500;
  margin:0 0 14px;
}
.market-relocation-card>p:not(.market-relocation-note){
  margin:0;
  color:#48443e;
  line-height:1.72;
}
.market-relocation-note{
  margin:18px 0 0;
  padding-top:16px;
  border-top:1px solid #ddd5c9;
  color:#777067;
  font-size:.86rem;
  line-height:1.6;
}
.market-relocation-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px 22px;
  margin-top:18px;
}
.market-relocation-links a{
  color:var(--gold-dark);
  font-size:.82rem;
  font-weight:800;
  text-decoration:none;
}
.market-relocation-links a:hover{color:var(--ink);}
@media(max-width:820px){
  .market-relocation-grid{grid-template-columns:1fr;}
}


/* v3.28 — homepage county Explore gateway */
.homepage-county-explore{
  border-top:1px solid rgba(146,108,52,.12);
  border-bottom:1px solid rgba(146,108,52,.12);
}
.county-explore-layout{
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:clamp(38px,6vw,82px);
  align-items:start;
}
.county-explore-intro{
  position:sticky;
  top:120px;
  padding-top:10px;
}
.county-explore-intro h2{
  max-width:620px;
}
.county-explore-intro>p:not(.eyebrow){
  max-width:590px;
  line-height:1.75;
}
.county-explore-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.county-explore-card{
  display:flex;
  flex-direction:column;
  min-height:285px;
  background:#f8f4ed;
  border:1px solid rgba(146,108,52,.18);
  color:inherit;
  text-decoration:none;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  overflow:hidden;
}
.county-explore-card:hover,
.county-explore-card:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(146,108,52,.42);
  box-shadow:0 18px 42px rgba(31,25,18,.08);
}
.county-explore-card-featured{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  min-height:370px;
  background:#fff;
}
.county-card-media{
  min-height:100%;
  background:#d7d2c9;
}
.county-card-media img{
  width:100%;
  height:100%;
  min-height:370px;
  object-fit:cover;
  display:block;
}
.county-card-copy{
  display:flex;
  flex-direction:column;
  padding:clamp(25px,3.5vw,42px);
}
.county-card-copy h3{
  margin:.35rem 0 .8rem;
  font-family:var(--font-serif,Georgia,serif);
  font-size:clamp(1.65rem,2.25vw,2.45rem);
  font-weight:500;
  line-height:1.04;
}
.county-explore-card:not(.county-explore-card-featured) .county-card-copy h3{
  font-size:clamp(1.35rem,1.65vw,1.8rem);
}
.county-card-copy>p:not(.eyebrow){
  margin:0 0 22px;
  line-height:1.65;
}
.county-card-link{
  margin-top:auto;
  color:#9a702f;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.county-explore-card-featured .county-card-media{display:block;overflow:hidden}
.county-explore-card-featured .county-city-link{color:inherit;text-decoration:underline;text-decoration-color:#b88b48;text-underline-offset:3px}
.county-explore-card-featured .county-city-link:hover,.county-explore-card-featured .county-city-link:focus-visible{color:#8b6328;text-decoration-thickness:2px}
.county-explore-card-featured .county-card-link{text-decoration:none;align-self:flex-start}
.county-explore-card-featured .county-card-link:hover,.county-explore-card-featured .county-card-link:focus-visible{text-decoration:underline;text-underline-offset:3px}
@media(max-width:980px){
  .county-explore-layout{grid-template-columns:1fr;gap:34px}
  .county-explore-intro{position:static;padding-top:0}
}
@media(max-width:720px){
  .county-explore-grid{grid-template-columns:1fr}
  .county-explore-card-featured{grid-column:auto;grid-template-columns:1fr}
  .county-card-media img{min-height:260px;height:260px}
  .county-explore-card{min-height:0}
  .county-card-copy{padding:25px 22px 28px}
}

/* v3.29 — local Olympia photo story + interactive Thurston County locator */
.market-photo-story,.market-relocation-gallery{border-top:1px solid #ded6c9}
.market-photo-heading{margin-bottom:32px}
.market-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.market-photo-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.market-photo-card{margin:0;background:#fff;border:1px solid #ddd5c8;overflow:hidden}
.market-photo-card img{display:block;width:100%;height:clamp(280px,31vw,430px);object-fit:cover}
.market-photo-grid-three .market-photo-card img{height:clamp(240px,24vw,340px)}
.market-photo-card figcaption{padding:14px 16px 15px;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8d6932}
.market-map-section{background:#171717;color:#fff}
.market-map-layout{display:grid;grid-template-columns:minmax(280px,.68fr) minmax(0,1.32fr);gap:clamp(36px,6vw,76px);align-items:center}
.market-map-copy h2{font-family:var(--serif);font-weight:500;font-size:clamp(2.6rem,4.5vw,4.8rem);line-height:.98;letter-spacing:-.035em;margin:.2rem 0 20px}
.market-map-copy>p:not(.eyebrow){color:#d7d1c9;line-height:1.72;max-width:640px}
.market-map-note{font-size:.82rem;color:#aaa39a!important;margin-top:20px}
.thurston-market-map{height:520px;min-height:420px;border:1px solid #4a443b;background:#d8d4cb;z-index:1}
.thurston-market-map .leaflet-popup-content-wrapper{border-radius:0;font-family:Arial,sans-serif}
.thurston-market-map .leaflet-popup-content a{color:#8d6932;font-weight:800;text-decoration:none}
.thurston-market-map .leaflet-tooltip{border-radius:0;border:0;box-shadow:0 2px 9px rgba(0,0,0,.16);font-weight:800}
@media(max-width:900px){.market-map-layout{grid-template-columns:1fr}.thurston-market-map{height:460px}.market-photo-grid-three{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.market-photo-grid,.market-photo-grid-three{grid-template-columns:1fr}.market-photo-card img,.market-photo-grid-three .market-photo-card img{height:260px}.thurston-market-map{height:390px;min-height:360px}}


/* v3.30 — Areas We Serve Thurston map + visible Olympia relocation highlights */
.areas-thurston-map-block{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);gap:clamp(28px,5vw,64px);align-items:center;margin:42px 0 34px;padding:clamp(24px,3vw,38px);background:#171717;color:#fff}
.areas-thurston-map-copy h3{font-family:var(--serif);font-size:clamp(2rem,3vw,3.45rem);line-height:1.02;font-weight:500;margin:.25rem 0 18px}
.areas-thurston-map-copy>p:not(.eyebrow){color:#d7d1c9;line-height:1.72}
.areas-thurston-map-block .thurston-market-map{height:470px;min-height:400px}
.areas-olympia-preview{background:#fff}
.areas-lifestyle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:30px}
.areas-lifestyle-card{border:1px solid #ddd5c8;background:#f7f2e9;padding:26px 24px 28px;display:flex;flex-direction:column;min-height:300px}
.areas-lifestyle-card>span{font-size:.72rem;letter-spacing:.13em;font-weight:900;color:#a77a32}
.areas-lifestyle-card h3{font-family:var(--serif);font-weight:500;font-size:clamp(1.5rem,2vw,2rem);line-height:1.05;margin:12px 0}
.areas-lifestyle-card p{line-height:1.65;color:#5f5a53;margin:0 0 22px}
.areas-lifestyle-card a{margin-top:auto;font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8d6932;text-decoration:none}
.market-relocation-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.market-relocation-stats>div{background:#f5efe5;border:1px solid #e1d6c5;padding:16px 14px}
.market-relocation-stats strong{display:block;font-family:var(--serif);font-size:1.75rem;font-weight:500;color:#171717}
.market-relocation-stats span{display:block;margin-top:5px;font-size:.72rem;line-height:1.45;color:#6c655c}
.market-relocation-items{display:grid;gap:10px;margin:18px 0}
.market-relocation-item{padding:14px 0;border-top:1px solid #e2d9cc}
.market-relocation-item strong{display:block;font-size:.92rem;color:#171717}
.market-relocation-item span{display:block;margin-top:4px;font-size:.84rem;line-height:1.55;color:#6b655d}
.market-relocation-item a{display:inline-block;margin-top:7px;font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8d6932;text-decoration:none}
@media(max-width:1050px){.areas-lifestyle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.areas-thurston-map-block{grid-template-columns:1fr}.areas-thurston-map-block .thurston-market-map{height:430px}.market-relocation-stats{grid-template-columns:1fr}}
@media(max-width:650px){.areas-lifestyle-grid{grid-template-columns:1fr}.areas-lifestyle-card{min-height:0}.areas-thurston-map-block{padding:20px 16px;margin-left:-2px;margin-right:-2px}.areas-thurston-map-block .thurston-market-map{height:360px;min-height:330px}}

/* v3.31 — county Explore expansion */
.county-market-link-static{color:#8a8176!important;cursor:default;text-decoration:none!important}
.county-market-map{width:100%}


/* v3.32 — all-counties hub + locally specific county photography */
.areas-counties-hub{background:#fff;padding-top:clamp(72px,7vw,108px);padding-bottom:clamp(72px,7vw,108px)}
.areas-counties-heading{margin-bottom:34px}
.areas-county-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.areas-county-card{display:grid;grid-template-columns:.88fr 1.12fr;min-height:300px;background:#f8f5ef;border:1px solid #d8d0c4;color:inherit;text-decoration:none;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.areas-county-card:hover,.areas-county-card:focus-visible{transform:translateY(-3px);border-color:#b9904d;box-shadow:0 16px 36px rgba(29,24,18,.08)}
.areas-county-card-featured{grid-column:1/-1;grid-template-columns:1.15fr .85fr;min-height:390px;background:#fff}
.areas-county-card-media{position:relative;min-height:100%;background:#d9d5ce;overflow:hidden}
.areas-county-card-media img{display:block;width:100%;height:100%;min-height:300px;object-fit:cover}
.areas-county-card-featured .areas-county-card-media img{min-height:390px}
.areas-county-card-media small{position:absolute;left:9px;bottom:8px;padding:4px 7px;background:rgba(17,17,17,.72);color:#fff;font-size:.58rem;line-height:1.2;letter-spacing:.02em}
.areas-county-card-copy{display:flex;flex-direction:column;padding:clamp(25px,3vw,38px)}
.areas-county-card-copy h3{font-family:var(--serif);font-weight:500;font-size:clamp(1.75rem,2.45vw,2.65rem);line-height:1.03;margin:.35rem 0 .8rem}
.areas-county-card-copy>p:not(.eyebrow){color:#5c554c;line-height:1.65;margin:0 0 20px}
.areas-county-card-copy>span{margin-top:auto;color:#916b31;font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.market-hero-media{position:relative}
.market-photo-credit{position:absolute;right:10px;bottom:9px;background:rgba(17,17,17,.76);color:#fff;padding:5px 8px;font-size:.59rem;line-height:1.3;z-index:2}
.market-photo-credit a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.county-explore-card-with-media .county-card-media-compact{position:relative;height:180px;min-height:180px}
.county-explore-card-with-media .county-card-media-compact img{height:180px;min-height:180px;object-fit:cover}
.county-card-credit{position:absolute;left:7px;bottom:7px;padding:3px 6px;background:rgba(17,17,17,.7);color:#fff;font-size:.54rem;line-height:1.2}
.county-explore-card-with-media .county-card-copy{flex:1}
@media(max-width:980px){.areas-county-card-grid{grid-template-columns:1fr}.areas-county-card,.areas-county-card-featured{grid-column:auto;grid-template-columns:1fr}.areas-county-card-media img,.areas-county-card-featured .areas-county-card-media img{height:300px;min-height:300px}}
@media(max-width:650px){.areas-county-card-media img,.areas-county-card-featured .areas-county-card-media img{height:235px;min-height:235px}.areas-county-card-copy{padding:24px 22px 27px}}


/* v3.34 — county-specific local agent section for market pages */
.market-agent-section{border-top:1px solid #ded6c9}
.market-agent-heading{margin-bottom:34px}
.market-agent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.market-agent-card{background:#fff;border:1px solid #ddd5c8;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.market-agent-card:hover{transform:translateY(-3px);border-color:#b9904d;box-shadow:0 16px 36px rgba(29,24,18,.07)}
.market-agent-photo{display:block;aspect-ratio:4/5;background:#e4e1dc;overflow:hidden}
.market-agent-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 16%}
.market-agent-info{padding:20px 20px 22px;display:flex;flex-direction:column;flex:1}
.market-agent-role{font-size:.72rem;line-height:1.4;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:#9a7437;margin:0 0 8px}
.market-agent-card h3{font-family:var(--serif);font-size:2rem;font-weight:500;line-height:1.02;letter-spacing:-.025em;margin:0 0 12px}
.market-agent-card h3 a{text-decoration:none;color:#171717}
.market-agent-excerpt{color:#5f584e;line-height:1.65;margin:0 0 20px}
.market-agent-contact{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:auto}
.market-agent-phone{font-family:var(--serif);font-size:1rem;color:#6f5840;text-decoration:none}
.market-agent-link{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#171717;text-decoration:none;white-space:nowrap}
.market-agent-link span{color:#9a7437;margin-left:4px}
.market-agent-cta{margin-top:26px;padding:26px 28px;border:1px solid #ddd5c8;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:24px}
.market-agent-cta h3{font-family:var(--serif);font-size:2rem;font-weight:500;line-height:1.05;margin:0 0 8px}
.market-agent-cta p{margin:0;max-width:760px;color:#5f584e;line-height:1.7}
@media(max-width:1050px){.market-agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.market-agent-grid{grid-template-columns:1fr}.market-agent-cta{flex-direction:column;align-items:flex-start;padding:24px 22px}.market-agent-card h3{font-size:1.8rem}}

/* v3.37 — JBLM military relocation / PCS guide */
.military-page .market-hero-media img{min-height:560px;object-fit:cover}
.military-official-strip{padding:48px 0;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.military-official-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:center}
.military-official-inner h2{font-size:clamp(2rem,3.4vw,3.3rem);margin-bottom:12px}
.military-official-inner p:last-child{margin-bottom:0;color:var(--muted);max-width:850px}
.military-three-grid,.military-va-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.military-three-grid article,.military-va-grid article{background:#fff;border:1px solid var(--line);padding:28px;min-height:240px}
.military-three-grid article>span,.military-steps article>span{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;background:var(--ink);color:#fff;font-weight:800;margin-bottom:20px}
.military-three-grid p,.military-va-grid p{color:var(--muted)}
.military-three-grid a,.military-community-grid a,.military-resource-box a{display:inline-block;color:var(--gold-dark);font-weight:800;margin-top:8px}
.military-map{height:520px;border:1px solid var(--line)}
.military-community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.military-community-grid article{background:#fff;border:1px solid var(--line);padding:26px;min-height:280px;display:flex;flex-direction:column}
.military-community-grid article p:not(.eyebrow){color:var(--muted)}
.military-community-grid article a{margin-top:auto}
.military-split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:50px;align-items:start}
.military-split p{color:var(--muted)}
.military-resource-box{background:var(--cream);border:1px solid var(--line);padding:28px;display:grid;gap:12px}
.military-resource-box h3{font-family:var(--serif);font-size:1.8rem;font-weight:500;margin-bottom:8px}
.military-va-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}
.military-va-grid strong{font-family:var(--serif);font-size:1.5rem;font-weight:500;line-height:1.15}
.military-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.military-steps article{border-top:3px solid var(--gold);background:var(--cream);padding:26px;min-height:265px}
.military-steps p{color:var(--muted)}
.military-stacked-actions{flex-direction:column;align-items:stretch;margin-top:0}
.military-stacked-actions .btn{width:100%}
.military-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.military-resource-grid a{border:1px solid rgba(255,255,255,.22);padding:24px;display:grid;gap:8px;transition:.2s ease}
.military-resource-grid a:hover{border-color:var(--gold);transform:translateY(-2px)}
.military-resource-grid strong{font-size:1.1rem;color:#fff}
.military-resource-grid span{color:#d1ccc3}
.narrow-wrap{width:min(calc(100% - 40px),920px);margin-inline:auto}
.faq-list{display:grid;gap:12px}
.faq-list details{border:1px solid var(--line);padding:0 22px;background:#fff}
.faq-list summary{cursor:pointer;padding:20px 0;font-weight:800}
.faq-list details p{padding:0 0 20px;margin:0;color:var(--muted)}
.areas-military-callout{padding:48px 0;border-bottom:1px solid var(--line)}
.areas-military-inner{background:var(--cream);padding:34px 36px;border:1px solid var(--line)}
@media(max-width:1000px){
  .military-three-grid,.military-community-grid,.military-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .military-va-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .military-split{grid-template-columns:1fr}
}
@media(max-width:700px){
  .military-page .market-hero-media img{min-height:0}
  .military-official-inner{grid-template-columns:1fr}
  .military-three-grid,.military-community-grid,.military-va-grid,.military-steps,.military-resource-grid{grid-template-columns:1fr}
  .military-map{height:420px}
  .areas-military-inner{padding:26px 22px}
}


/* v3.38 — Kelsey Ellis / Guild Mortgage VA financing integration */
.military-lender-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center;margin-top:34px;padding:26px;background:#fff;border:1px solid #ddd5c8}
.military-lender-photo{overflow:hidden;background:#e7e2da;aspect-ratio:4/5}
.military-lender-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.military-lender-copy h3{font-family:var(--serif);font-size:2rem;line-height:1.08;font-weight:500;margin:4px 0 8px}
.military-lender-copy>p{line-height:1.65}
.military-lender-disclaimer{font-size:.82rem;color:#6a6258;margin-top:18px}
.military-official-va-link{margin:14px 0 0!important;font-size:.9rem}
.military-official-va-link a{color:#7d5b27;font-weight:700}
.areas-military-actions{justify-content:flex-end;flex-wrap:wrap}
@media(max-width:800px){.military-lender-card{grid-template-columns:1fr;padding:20px}.military-lender-photo{max-width:280px}.areas-military-actions{justify-content:flex-start}}


/* v3.39 — explicit, visible links for Official PCS Resources */
.military-resource-grid-v339 .military-resource-card{border:1px solid rgba(255,255,255,.24);padding:26px;display:flex;flex-direction:column;gap:12px;min-height:220px;background:rgba(255,255,255,.015)}
.military-resource-grid-v339 .military-resource-card:hover{border-color:var(--gold)}
.military-resource-grid-v339 .military-resource-card h3{font-size:1.15rem;line-height:1.35;color:#fff;margin:0}
.military-resource-grid-v339 .military-resource-card p{color:#d1ccc3;margin:0 0 8px;line-height:1.65}
.military-resource-grid-v339 .military-resource-button{display:inline-flex!important;align-items:center;justify-content:center;width:fit-content;max-width:100%;margin-top:auto!important;padding:12px 15px;border:1px solid var(--gold);background:var(--gold);color:#111!important;text-decoration:none!important;font-size:.76rem;line-height:1.25;font-weight:900!important;letter-spacing:.035em;transition:.2s ease}
.military-resource-grid-v339 .military-resource-button:hover{background:#fff;border-color:#fff;color:#111!important;transform:translateY(-1px)}
.military-resource-grid-v339 .military-resource-actions{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.military-resource-grid-v339 .military-resource-actions .military-resource-button{margin-top:0!important}
.military-resource-grid-v339 .military-resource-secondary{color:#fff!important;text-decoration:underline;text-underline-offset:3px;font-weight:800;font-size:.82rem}
@media(max-width:650px){.military-resource-grid-v339 .military-resource-card{min-height:0;padding:22px}.military-resource-grid-v339 .military-resource-button{width:100%}}


/* v3.40 — city-to-neighborhood SEO guide cards */
.market-neighborhood-guide-section{border-top:1px solid #ded6c9}
.neighborhood-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.neighborhood-guide-card{display:block;background:#fff;border:1px solid #d9d0c2;padding:28px;text-decoration:none;color:#171717;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.neighborhood-guide-card:hover{transform:translateY(-3px);border-color:#b4883a;box-shadow:0 14px 34px rgba(24,20,15,.07)}
.neighborhood-guide-card h3{font-family:var(--serif);font-size:2.15rem;font-weight:500;line-height:1.02;letter-spacing:-.025em;margin:8px 0 12px}
.neighborhood-guide-card p:not(.county-market-kicker){color:#625b52;line-height:1.65;margin:0 0 18px}
.neighborhood-guide-card span{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#8e6931}
@media(max-width:760px){.neighborhood-guide-grid{grid-template-columns:1fr}.neighborhood-guide-card{padding:23px}.neighborhood-guide-card h3{font-size:1.85rem}}

/* v3.50 — Mark Ellis profile SEO restoration */
.mark-seo-section{padding:82px 0;border-top:1px solid #ddd7cc}.mark-seo-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(48px,8vw,120px);align-items:start}.mark-seo-section h2{font-family:var(--serif);font-size:clamp(2.7rem,4.6vw,5.1rem);font-weight:500;line-height:.98;letter-spacing:-.04em;margin:.25rem 0 0}.mark-seo-section p:not(.eyebrow){font-size:1.02rem;line-height:1.75;color:#4a4742}.mark-seo-heading{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:50px;align-items:end;margin-bottom:34px}.mark-seo-heading h2{max-width:760px}.mark-seo-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #d8d0c2}.mark-seo-cards a{display:block;padding:28px 25px 30px;color:var(--ink);text-decoration:none;border-right:1px solid #d8d0c2}.mark-seo-cards a:last-child{border-right:0}.mark-seo-cards span{font-size:.72rem;color:var(--gold-dark)}.mark-seo-cards h3{font-family:var(--serif);font-size:1.65rem;font-weight:500;margin:22px 0 10px}.mark-seo-cards p{font-size:.92rem!important;line-height:1.55!important;margin:0}.mark-seo-dark{background:#141414;color:#fff;border-top:0}.mark-seo-dark h2{color:#fff}.mark-seo-dark p:not(.eyebrow){color:#ddd7ce}.mark-text-link{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--gold-dark);text-decoration:none}.mark-faq-list{border-top:1px solid #cfc6b8}.mark-faq-list details{border-bottom:1px solid #cfc6b8;padding:0}.mark-faq-list summary{cursor:pointer;font-weight:800;padding:20px 6px;list-style-position:inside}.mark-faq-list details p{padding:0 6px 20px;margin:0}.agent-profile-page .agent-profile-bio + .button-row{margin-top:38px}
@media(max-width:900px){.mark-seo-split,.mark-seo-heading{grid-template-columns:1fr}.mark-seo-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mark-seo-cards a:nth-child(2){border-right:0}.mark-seo-cards a:nth-child(-n+2){border-bottom:1px solid #d8d0c2}}
@media(max-width:560px){.mark-seo-section{padding:60px 0}.mark-seo-cards{grid-template-columns:1fr}.mark-seo-cards a{border-right:0;border-bottom:1px solid #d8d0c2}.mark-seo-cards a:last-child{border-bottom:0}}

/* v3.51 — Yelm market guide spacing refinement */
@media (min-width: 901px){
  .market-page-yelm-real-estate .market-intro-section{padding-top:72px;padding-bottom:72px}
  .market-page-yelm-real-estate .market-intro-section .market-copy-grid{grid-template-columns:minmax(390px,.95fr) minmax(0,1.05fr);gap:clamp(44px,5vw,72px)}
  .market-page-yelm-real-estate .market-intro-section .market-copy-grid h2{font-size:clamp(2.9rem,3.65vw,3.9rem);line-height:.96;max-width:590px}
}

/* v3.58 — cream masthead, balanced navigation, and local PM guides. */
body .site-header.capitol-header-v358{background:#f8f5ef!important;color:#1c1c1a;border-top:4px solid #b9914d;border-bottom:1px solid #ded6c7!important;backdrop-filter:none;box-shadow:0 4px 20px rgba(20,20,20,.05)}
.capitol-header-v358 .navbar{display:block;min-height:0!important;padding:0;position:relative}
.capitol-masthead{display:flex;align-items:center;gap:36px;min-height:92px}
.capitol-header-v358 .brand img,.home .capitol-header-v358 .brand img{width:230px!important;max-width:100%!important;max-height:70px!important;object-position:left center!important}
.capitol-header-note{font-family:var(--serif);font-size:1.25rem;line-height:1.25;padding-left:30px;border-left:1px solid #d8cebe;margin:0;color:#33312d}
.capitol-header-note span{font-family:var(--sans);font-size:.73rem;color:#6c6559;letter-spacing:.01em}
.capitol-header-tools{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:.77rem;font-weight:650}
.capitol-header-tools a:first-child{color:#80602e;border-bottom:1px solid #c4a46f;padding:5px 0}
.capitol-header-phone{font-size:.92rem;letter-spacing:.035em}
.capitol-header-v358 .nav-links{display:block!important;position:static!important;background:transparent!important;width:100%!important;padding:0 0 10px!important;margin:0;border:0!important;border-top:1px solid #dfd7c9!important;box-shadow:none!important}
.capitol-header-v358 .primary-menu{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between;flex-wrap:nowrap;margin:0;padding:8px 0 0;list-style:none;gap:6px!important}
.capitol-header-v358 .primary-menu li{width:auto}
.capitol-header-v358 .nav-links a{display:block;width:auto;padding:10px 9px!important;border:0!important;border-radius:3px;color:#37332c!important;font-size:.72rem!important;font-weight:650!important;letter-spacing:.025em!important;text-transform:none!important;transition:background .18s,color .18s}
.capitol-header-v358 .nav-links a:hover,.capitol-header-v358 .current-menu-item>a,.capitol-header-v358 .current_page_item>a,.capitol-header-v358 .current-menu-ancestor>a{background:#eae1d2!important;color:#6d4e20!important}
.capitol-header-v358 .nav-links a[href*="/contact"]{background:#20201d!important;color:#fff!important;padding-inline:19px!important}
.capitol-header-v358 .nav-links a[href*="/contact"]:hover{background:#8b6a33!important}
.capitol-header-v358 a:focus-visible,.capitol-header-v358 button:focus-visible{outline:2px solid #8c6629;outline-offset:4px}
.capitol-header-v358 .mobile-toggle{display:none!important}
.pm-local-proof{background:#1c1c1a;color:#e6ddce;padding:20px 0;font-size:.8rem}
.pm-local-proof .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.pm-local-proof span::before{content:'—';color:#c9a469;margin-right:10px}
.pm-local-back{font-size:.83rem;color:#826030;margin-top:24px}
.pm-local-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.pm-local-cards article,.pm-local-link-card{display:flex;flex-direction:column;padding:30px;border:1px solid #d9d0c1;background:#fff}
.pm-local-cards h3{font-family:var(--serif);font-weight:500;font-size:1.8rem;margin:22px 0 12px}
.pm-local-cards p{color:#625c51;margin:0;line-height:1.7}
.pm-local-number,.pm-local-link-card>span{color:#8b672e;font-size:.76rem;letter-spacing:.03em}
.pm-local-link-card>span:last-child{margin-top:24px}
.pm-local-link-card:hover{border-color:#a47d3f;background:#fbf8f2}
.pm-local-fee{padding:38px;background:#f1eadf;border-left:3px solid #ae8746}
.pm-local-fee>span{display:block;font-family:var(--serif);font-size:6rem;line-height:1.1}
.pm-local-page .dark p:not(.eyebrow){color:#ddd7cc}
@media(max-width:1320px) and (min-width:1101px){.capitol-header-v358 .mobile-toggle{display:none!important}.capitol-header-v358 .nav-links{display:block!important}}
@media(max-width:1100px){
 .capitol-header-note{display:none}.capitol-header-tools{gap:18px}.capitol-header-tools a:first-child{display:none}
 .capitol-header-v358 .mobile-toggle{display:flex!important;align-items:center;gap:8px;min-width:0;margin-left:16px;border:1px solid #cbbb9f!important;background:#fff!important;color:#27251f!important;padding:10px 14px!important;font-size:.76rem}
 .capitol-header-v358 .nav-links{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;background:#f8f5ef!important;padding:14px!important;border:1px solid #d9cfbd!important;box-shadow:0 18px 30px rgba(0,0,0,.12)!important;max-height:calc(100dvh - 110px);overflow-y:auto}
 .capitol-header-v358 .nav-links.open{display:block!important}
 .capitol-header-v358 .primary-menu{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;padding:0}
 .capitol-header-v358 .nav-links a{padding:13px!important;font-size:.85rem!important;white-space:normal;border-bottom:1px solid #e1d9cd!important}
}
@media(max-width:650px){
 .capitol-masthead{min-height:84px;gap:12px}.capitol-header-v358 .brand img,.home .capitol-header-v358 .brand img{width:190px!important;max-width:55vw!important;max-height:58px!important}
 .capitol-header-tools{display:none}.capitol-header-v358 .mobile-toggle{margin-left:auto;padding:10px!important}
 .capitol-header-v358 .primary-menu{grid-template-columns:1fr}
 .pm-local-cards{grid-template-columns:1fr}.pm-local-proof .wrap{display:grid;grid-template-columns:1fr 1fr;gap:15px}.pm-local-fee{padding:28px}
}

/* v3.59 — alternate charcoal masthead with a larger reverse Capitol logo. */
body .site-header.capitol-header-v358{background:#181918!important;color:#fff;border-top-color:#bd974f;border-bottom-color:#393a35!important;box-shadow:0 4px 20px rgba(0,0,0,.12)}
.capitol-header-v358 .capitol-masthead{min-height:112px;gap:42px}
.capitol-header-v358 .brand img,.home .capitol-header-v358 .brand img{width:330px!important;max-height:94px!important}
.capitol-header-v358 .capitol-header-note{color:#f1ebdf;border-left-color:#544b3b}
.capitol-header-v358 .capitol-header-note span{color:#c2bbae}
.capitol-header-v358 .capitol-header-tools a:first-child{color:#e0bd7c;border-bottom-color:#8a7147}
.capitol-header-v358 .capitol-header-phone{color:#fff}
.capitol-header-v358 .nav-links{border-top-color:#494235!important}
.capitol-header-v358 .nav-links a{color:#eee9e0!important;font-size:.76rem!important;font-weight:550!important;padding-block:11px!important}
.capitol-header-v358 .nav-links a:hover,.capitol-header-v358 .current-menu-item>a,.capitol-header-v358 .current_page_item>a,.capitol-header-v358 .current-menu-ancestor>a{background:#3c3324!important;color:#f5d49a!important}
.capitol-header-v358 .nav-links a[href*="/contact"]{background:#bf9a55!important;color:#151515!important}
.capitol-header-v358 .nav-links a[href*="/contact"]:hover{background:#dfbf80!important}
.capitol-header-v358 a:focus-visible,.capitol-header-v358 button:focus-visible{outline-color:#e0bd7c}
@media(max-width:1100px){
 .capitol-header-v358 .capitol-masthead{min-height:106px;gap:22px}
 .capitol-header-v358 .brand img,.home .capitol-header-v358 .brand img{width:300px!important;max-height:88px!important}
 .capitol-header-v358 .mobile-toggle{background:transparent!important;color:#fff!important;border-color:#a88c54!important}
 .capitol-header-v358 .nav-links{background:#1d1e1b!important;border-color:#625134!important}
 .capitol-header-v358 .nav-links a{border-bottom-color:#3e3c34!important;font-size:.85rem!important}
}
@media(max-width:650px){
 .capitol-header-v358 .capitol-masthead{min-height:96px;gap:12px}
 .capitol-header-v358 .brand img,.home .capitol-header-v358 .brand img{width:245px!important;max-width:62vw!important;max-height:76px!important}
 .capitol-header-v358 .mobile-toggle{font-size:.69rem;padding:9px!important}
}

/* v3.60 — logo breathing room and logged-in homepage admin-bar clearance. */
.capitol-header-v358 .capitol-masthead{padding-top:20px;padding-bottom:16px;min-height:140px}
body.home.admin-bar .site-header.capitol-header-v358{top:32px}
@media(max-width:1100px){.capitol-header-v358 .capitol-masthead{min-height:132px}}
@media(max-width:782px){body.home.admin-bar .site-header.capitol-header-v358{top:46px}}
@media(max-width:650px){.capitol-header-v358 .capitol-masthead{padding-top:18px;padding-bottom:12px;min-height:120px}}

/* v3.62 — county hub and attributed Chehalis neighborhood photograph. */
.pm-county-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}
.pm-city-heading{font-family:var(--serif);font-size:2rem;font-weight:500;margin:48px 0 24px}
.pm-photo-credit{font-size:.72rem;line-height:1.5;color:#6b6255;padding:12px 2px;margin:0;background:#fff}
.pm-photo-credit a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:650px){.pm-county-cards{grid-template-columns:1fr}}

/* v3.63 — bilingual service pages */
.bilingual363 .bilingual-hero{padding:80px 0;background:#fff}.bilingual-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:60px;align-items:center}.bilingual363 h1{font-size:clamp(2.6rem,4.7vw,5rem);line-height:1.06;letter-spacing:-.025em;margin:16px 0 24px}.bilingual363 .button-row{margin-top:28px}.bilingual-note{font-size:.9rem;color:#625e56;margin-top:18px}.bilingual-photo{position:relative}.bilingual-photo img{display:block;width:100%;height:520px;object-fit:cover}.bilingual-photo span{display:block;background:#171717;color:#e7c485;padding:22px;font-family:Georgia,serif;font-size:1.3rem}.bilingual-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:35px}.bilingual-cards article{background:#fff;border-top:3px solid #a87727;padding:28px}.bilingual-cards h3{font-size:1.65rem}.bilingual-area-links a{display:block;padding:14px 0;border-bottom:1px solid #ded7ca;color:#171717;text-decoration:none}.bilingual-callout{display:grid;grid-template-columns:1fr .7fr;gap:45px;align-items:center}.bilingual363 .faq-list{max-width:950px}.bilingual363 .faq-list details{padding:20px 0;border-bottom:1px solid #ded7ca}.bilingual363 .faq-list summary{cursor:pointer;font-size:1.2rem}.bilingual363 .faq-list p{margin-top:18px}.bilingual363 p{max-width:850px}
@media(max-width:850px){.bilingual-grid,.bilingual-callout,.bilingual-cards{grid-template-columns:1fr;gap:30px}.bilingual363 .bilingual-hero{padding:48px 0}.bilingual-photo img{height:330px}.bilingual363 h1{font-size:clamp(2.3rem,9vw,3.5rem)}.bilingual363 .btn,.bilingual-callout .btn{white-space:normal;text-align:center;max-width:100%;box-sizing:border-box}}
