.agency-home {
  --bg: #faf7ef;
  --panel: #fffdf8;
  --text: #262721;
  --muted: #55584c;
  --line: #d9d2bf;
  --gold: #85652a;
  color: var(--text);
  background: var(--bg);
}
.agency-home .site-header, .agency-home #navigation { background: #faf7ef; color: var(--text) }
.agency-home .menu-toggle { color: var(--text); border-color: var(--line) }
.agency-home .wordmark { color: var(--text) }
.agency-home .gold { background: #dec88d; color: #292418 }
.agency-home .gold:hover { background: #ecd8a0 }
.agency-home .outline { color: var(--text); border-color: #897b61 }
.agency-home .outline:hover { background: #eee7d8; color: var(--text) }
.agency-hero { position:relative; isolation:isolate; background:#252724; color:white; overflow:hidden }
.agency-slides, .agency-slides img { position:absolute; inset:0; width:100%; height:100% }
.agency-slides { z-index:-2 }
.agency-slides img { opacity:0; object-fit:cover; object-position:center 48%; transition:opacity .85s ease }
.agency-slides .is-current { opacity:1 }
.agency-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#171915ed,#17191579 73%,#17191549),linear-gradient(0deg,#171915ae,transparent 45%) }
.agency-hero-inner { max-width:1280px; margin:auto; padding:92px 40px 28px }
.agency-hero h1 { font-size:clamp(43px,6.2vw,86px); line-height:1.04; color:#fffaf1; margin:0 0 18px }
.agency-hero .eyebrow { color:#ead49d }
.agency-hero p:not(.eyebrow), .agency-finance p { color:#f5efe1 }
.agency-actions { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 45px }
.agency-hero .outline { color:#fffdf4; border-color:#fffdf4b0; background:#24241f88 }
.agency-photo-bar { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #fff6df60; padding-top:15px; font-size:13px }
.agency-photo-bar a { color:#fff9ec; text-decoration:underline; text-underline-offset:4px }
.agency-photo-controls { display:flex; gap:6px }
.agency-photo-controls[hidden] { display:none }
.agency-photo-controls button { min-width:38px; min-height:38px; color:white; background:#24241faa; border:1px solid #fff6df80; border-radius:5px; cursor:pointer; padding:4px 8px }
.agency-home .sales-section { background:#f1ece0; padding-bottom:52px }
.agency-home .sales-heading { padding-bottom:24px }
.agency-home .sales-grid { grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:clamp(280px,36vw,425px); overflow-x:auto; scroll-snap-type:x proximity; padding-bottom:18px; scrollbar-color:#a78b50 #e7ddc6 }
.agency-home .sold { scroll-snap-align:center; background:var(--panel); color:var(--text); border-color:var(--line) }
.agency-home .sold-place, .agency-home .sold-body > small { color:#665a40 !important }
.agency-home .sold-photo img { aspect-ratio: 4 / 3; object-fit:cover; width:100%; height:auto }
.agency-home .sold-photo span { background:#272920; color:#fff9e8 }
.agency-videos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px }
.agency-video-card { display:flex; flex-direction:column; background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:24px }
.agency-video-card h2 { font-size:clamp(25px,3vw,38px); margin-bottom:12px }
.agency-video-card .bk-advice-copy { margin-bottom:20px }
.agency-video-card .text-link { display:inline-block; margin-top:10px }
.bk-video, .bk-advice-video {
  margin: auto auto 0;
  border-radius: 10px;
  overflow: hidden;
}
.bk-video { width: min(100%, 320px); aspect-ratio: 512 / 634 }
.bk-advice-video { width: min(100%, 240px); aspect-ratio: 512 / 910 }
.bk-video video, .bk-advice-video video { display:block; width:100%; height:100%; object-fit:contain }
.agency-finance { background:#282c24; color:#fff9eb }
.agency-finance-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:45px }
.agency-finance h2 { color:#fff9eb; margin-bottom:10px }
.agency-home .contact-section { background:#eee8d9; color:var(--text) }
.agency-home .search-form, .agency-home .contact-card { background:var(--panel); color:var(--text); border-color:var(--line) }
.agency-home .search-form :is(input,select,textarea) { background:var(--bg); color:var(--text); border-color:#a89d84 }
.agency-home .specialties { color:var(--muted) }
@media(max-width:760px) {
  .agency-hero-inner { padding:60px 22px 20px }
  .agency-hero h1 br { display:none }
  .agency-actions { margin-bottom:32px }
  .agency-home .sales-grid { grid-auto-columns:min(83vw,390px); padding-inline:22px }
  .agency-videos { grid-template-columns:1fr }
  .agency-finance-inner { align-items:flex-start; flex-direction:column }
}
@media(prefers-reduced-motion:reduce) { .agency-slides img { transition:none } }

.agency-home .search-form label { color: var(--text) }
.agency-home .agency-hero .outline:hover { color:#292418; background:#f5eddb }

.agency-audio { grid-column: 1 / -1; display: flex; justify-content: flex-end }
