/* Phase 5.4 — Architectural Editorial design layer. Loaded after site.css and luxe.css, before the editable theme.
   Palette: midnight navy #111B2C, warm ivory #F5F1E9, champagne #B5A28A (small details only), charcoal #333B45, white. Newsreader for headlines, Inter for everything else. */
:root { --max: 1280px; --gutter: clamp(20px, 4vw, 48px); --header-h: 84px; --serif: var(--font-head); }
html { scroll-padding-top: 96px; }
body { font-size: 1.0625rem; line-height: 1.7; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- type scale ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 420; color: var(--primary); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.022em; }
h2, .section-title { font-size: clamp(2.1rem, 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.018em; }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; }
.lede, .lede-dark { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.eyebrow, .eyebrow-dark { font: 600 .78rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.eyebrow { color: var(--champagne); } .eyebrow-dark { color: var(--gold-text); }
.band { padding: clamp(64px, 8vw, 128px) 0; }
.band .section-title { padding-bottom: .5em; margin-bottom: 0; } .band .section-title::after { display: none; }
.band-primary h2, .band-primary h3 { color: #fff; } .band-primary .lede-dark { color: #d6dbe3; }
label { font-size: .9375rem; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.bar { min-height: var(--header-h); gap: 28px; }
.brand-text strong { font: 500 1.4rem var(--serif); } .brand-text span { font-size: .7rem; }
.logo-img { height: 44px; width: auto; }
.brok-logo { height: 52px; width: auto; }
.nav a { font: 500 .875rem var(--sans); letter-spacing: .06em; }
.nav ul { gap: 28px; }
.nav .btn.nav-cta { padding: 13px 22px; font-size: .8125rem; letter-spacing: .08em; }
.nav-phone { font: 500 .875rem var(--sans); color: var(--primary); }
.btn { font-size: .9375rem; padding: 14px 26px; }
.text-link { color: #fff; font: 600 .9375rem var(--sans); letter-spacing: .02em; text-decoration: none; border-bottom: 1px solid rgba(181, 162, 138, .8); padding: 6px 0; }
.text-link:hover { border-bottom-color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- homepage hero: copy left, one tall architectural image to the edge, search panel across the lower edge ---------- */
.hero-ed { position: relative; background: var(--primary); padding: 0; margin-bottom: 56px; z-index: 2; }
.hero-ed.hero-ed-light { background: var(--soft); margin-bottom: 0; border-bottom: 1px solid var(--line); }
.ed-grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: clamp(520px, calc(100vh - var(--header-h) - 120px), 700px); }
.hero-ed-solo .ed-grid { grid-template-columns: 1fr; }
.ed-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 4.5vw, 72px) clamp(24px, 4.5vw, 72px) clamp(80px, 7vw, 104px) max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.hero-ed-light .ed-copy { padding-bottom: clamp(56px, 6vw, 96px); }
.ed-copy h1 { color: #fff; font-size: clamp(3rem, 4.9vw, 4.6rem); line-height: 1.02; letter-spacing: -.028em; max-width: 9.5em; margin: 0 0 .34em; }
.ed-copy .lede { color: #cfd6e0; max-width: 27em; margin: 0 0 28px; }
.hero-ed-light .ed-copy h1 { color: var(--primary); } .hero-ed-light .ed-copy .lede { color: var(--ink); }
.ed-id { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: clamp(28px, 3vw, 40px) 0 0; padding-top: 16px; border-top: 1px solid rgba(181, 162, 138, .45); font: 500 .8125rem/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #aeb8c6; }
.ed-id strong { color: #fff; font-weight: 600; letter-spacing: .1em; }
.ed-fig { position: relative; margin: 0; overflow: hidden; background: #0c1422; min-height: 340px; }
.ed-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-fig.slot { background: #e6dfd0; }
.hero-ed-light .ed-fig { background: var(--primary); }

/* search panel that belongs to the hero */
.hs-wrap { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(50%); z-index: 3; padding: 0 var(--gutter); pointer-events: none; }
.hs-form { pointer-events: auto; max-width: var(--max); margin: 0 auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(17, 27, 44, .45); display: grid; grid-template-columns: auto minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: stretch; }
.hs-title { margin: 0; padding: 0 26px; white-space: nowrap; display: flex; align-items: center; font: 450 1.35rem/1.15 var(--serif); color: var(--primary); border-right: 1px solid var(--line); }
.hs-field { display: flex; flex-direction: column; justify-content: center; padding: 14px 22px; border-right: 1px solid var(--line); min-width: 0; }
.hs-field label { font: 600 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.hs-field input, .hs-field select { border: 0; padding: 4px 0; font: 500 1rem var(--sans); color: var(--primary); background: transparent; min-height: 32px; width: 100%; outline-offset: 4px; text-overflow: ellipsis; }
.hs-field input::placeholder { color: #7b8490; font-weight: 400; }
.hs-go.btn { border-radius: 0; padding: 0 clamp(26px, 3vw, 46px); font-size: 1rem; background: var(--primary); }
.hs-go.btn:hover { background: var(--accent); }
.hs-flat { position: static; transform: none; padding: 0; margin-top: 32px; }
.hs-flat .hs-form { max-width: none; box-shadow: none; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.hs-flat .hs-title { display: none; }

@media (max-width: 1060px) { .hs-form { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto; } .hs-title { display: none; } }
@media (max-width: 900px) {
  .hero-ed { margin-bottom: 0; }
  .ed-grid { grid-template-columns: 1fr; min-height: 0; }
  .ed-copy { padding: 44px var(--gutter) 40px; }
  .ed-copy h1 { font-size: clamp(2.75rem, 12vw, 3.6rem); max-width: none; }
  .ed-copy .lede { margin-bottom: 26px; }
  .ed-fig { min-height: 0; height: clamp(300px, 78vw, 460px); order: 2; }
  .hs-wrap { position: static; transform: none; padding: 0; order: 3; background: var(--primary); }
  .hs-form { grid-template-columns: 1fr 1fr; border: 0; box-shadow: none; }
  .hs-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px var(--gutter); } .hs-q { grid-column: 1 / -1; }
  .hs-go.btn { grid-column: 1 / -1; min-height: 56px; }
  .hero-ed-light .ed-fig { order: 2; }
  .hs-flat .hs-form { grid-template-columns: 1fr; border: 1px solid var(--line); }
}

/* ---------- cinema hero (buyers): headline above one wide photograph ---------- */
.hero-cin { background: var(--soft); padding: clamp(48px, 6vw, 96px) 0 0; border-bottom: 1px solid var(--line); }
.cin-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.cin-title h1 { margin: 0; max-width: 10em; font-size: clamp(2.8rem, 5.6vw, 4.8rem); } .cin-side .lede { margin: 0 0 26px; }
.cin-fig { position: relative; margin: clamp(36px, 5vw, 64px) 0 -1px; aspect-ratio: 21 / 9; overflow: hidden; background: var(--primary); }
.cin-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .cin-head { grid-template-columns: 1fr; gap: 20px; } .cin-fig { aspect-ratio: 4 / 3; } }

/* ---------- typographic heroes (about, neighbourhoods, insights, contact) ---------- */
.hero-type { background: var(--soft); padding: clamp(56px, 8vw, 128px) 0 clamp(48px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.type-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.type-main h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; max-width: 11.5em; }
.type-main::before { content: ""; display: block; width: 64px; height: 2px; background: var(--champagne); margin-bottom: 28px; }
.type-side .lede { margin: 0 0 26px; }
.hero-type-dark { background: var(--primary); border-bottom: 0; } .hero-type-dark h1 { color: #fff; } .hero-type-dark .lede { color: #cfd6e0; }
@media (max-width: 800px) { .type-grid { grid-template-columns: 1fr; gap: 24px; } .type-main h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); } }

/* full-width photo hero (sellers) */
.hero-full h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); max-width: 11em; color: #fff; } .hero-full .lede { color: #e4e8ee; max-width: 32em; }
.hero-full.bg-h-tall .hero-inner { padding-top: clamp(80px, 12vw, 180px); padding-bottom: clamp(80px, 12vw, 180px); }

/* ---------- buyer / seller panels ---------- */
.band-paths { padding-top: clamp(96px, 9vw, 150px); }
.paths-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border: 0; background: none; }
.paths-panels .path { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(340px, 34vw, 440px); padding: clamp(32px, 4vw, 56px); border: 1px solid var(--line); border-radius: 0; text-decoration: none; position: relative; background: var(--soft); transition: transform .3s, box-shadow .3s; }
.paths-panels .path::before { display: none; }
.paths-panels .path + .path { border-left: 1px solid var(--line); }
.paths-panels .path-1 { background: var(--primary); border-color: var(--primary); }
.paths-panels .path-1 h3, .paths-panels .path-1 p { color: #fff; } .paths-panels .path-1 p { color: #cfd6e0; } .paths-panels .path-1 .path-link { color: var(--champagne); }
.path-kicker { position: absolute; top: clamp(28px, 4vw, 48px); left: clamp(32px, 4vw, 56px); font: 600 .8rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.path-1 .path-kicker { color: var(--champagne); }
.paths-panels .path h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; margin: 0 0 14px; max-width: 12em; } .paths-panels .path p { max-width: 30em; margin: 0 0 24px; font-size: 1.0625rem; }
.paths-panels .path:hover { transform: translateY(-4px); box-shadow: 0 28px 44px -28px rgba(17, 27, 44, .5); background: var(--soft); } .paths-panels .path-1:hover { background: #17233a; }
.path-link { font: 600 .8125rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
@media (max-width: 760px) { .paths-panels { grid-template-columns: 1fr; } .paths-panels .path { min-height: 300px; } }

/* ---------- personal introduction ---------- */
.agent { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 104px); align-items: center; }
.agent.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .agent.flip .agent-photo { order: 2; }
.agent-photo { margin: 0; position: relative; }
.agent-photo::before { left: 20px; top: 20px; right: -20px; bottom: -20px; border-color: var(--champagne); }
.agent-photo img { width: 100%; max-width: none; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; display: block; }
.agent-text h2 { font-size: clamp(2.4rem, 4.2vw, 3.75rem); }
.agent-text .prose { font-size: 1.0625rem; max-width: 34em; } .agent-text .prose p + p { margin-top: 1em; }
.facts { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 800px) { .agent, .agent.flip { grid-template-columns: 1fr; gap: 36px; } .agent.flip .agent-photo { order: 0; } .agent-photo { max-width: 460px; } }

/* ---------- neighbourhood guide ---------- */
.guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 18px; margin-top: 12px; }
.gtile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 34px); background: #fff; border: 1px solid var(--line); min-height: 210px; transition: transform .3s, box-shadow .3s; }
.gtile:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(17, 27, 44, .5); }
.g-num { position: absolute; top: clamp(18px, 2vw, 28px); left: clamp(22px, 2.4vw, 34px); font: 450 1rem var(--serif); letter-spacing: .12em; color: var(--gold-text); }
.g-name { margin: 0 0 8px; font-size: clamp(1.6rem, 2.3vw, 2.2rem); } .g-name a { color: inherit; text-decoration: none; } .g-name a::after { content: ""; position: absolute; inset: 0; }
.g-sub { margin: 0 0 16px; font-size: .9375rem; color: var(--muted); }
.g-search { position: relative; z-index: 2; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--champagne); align-self: flex-start; padding-bottom: 3px; }
.g-search:hover { border-bottom-color: var(--primary); }
.gtile-1 { grid-column: span 2; grid-row: span 2; background: var(--primary); border-color: var(--primary); } .gtile-1 .g-name { font-size: clamp(2.2rem, 3.6vw, 3.4rem); color: #fff; } .gtile-1 .g-sub { color: #cfd6e0; font-size: 1.0625rem; } .gtile-1 .g-search { color: #fff; } .gtile-1 .g-num { color: var(--champagne); }
.gtile-4 { grid-column: span 2; background: var(--soft); } .gtile-5 { grid-column: span 2; background: var(--soft); }
.gtile-6 { grid-column: span 2; background: #fff; }
@media (max-width: 960px) { .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gtile-1 { grid-column: span 2; grid-row: span 1; min-height: 280px; } .gtile-4, .gtile-5, .gtile-6 { grid-column: span 1; } }
@media (max-width: 560px) { .guide { grid-template-columns: 1fr; } .gtile-1, .gtile-4, .gtile-5, .gtile-6 { grid-column: auto; } }

/* ---------- journal ---------- */
.journal { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 8px; }
.j-feature { display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 4vw, 52px); background: var(--primary); color: #fff; text-decoration: none; position: relative; min-height: 380px; justify-content: flex-end; }
.j-feature strong { font: 420 clamp(1.9rem, 3vw, 2.7rem)/1.1 var(--serif); color: #fff; letter-spacing: -.015em; } .j-feature .j-ex { color: #cfd6e0; } .j-feature time { color: var(--champagne); font: 600 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; } .j-feature .path-link { color: var(--champagne); margin-top: 8px; }
.j-tag { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(28px, 4vw, 52px); font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--primary); background: var(--champagne); padding: 5px 10px; }
.j-list { display: flex; flex-direction: column; }
.j-item { display: flex; flex-direction: column; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); } .j-item:first-child { border-top: 2px solid var(--champagne); } .j-item:last-child { border-bottom: 1px solid var(--line); }
.j-item time { font: 600 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); } .j-item strong { font: 450 1.5rem/1.2 var(--serif); color: var(--primary); } .j-item:hover strong { text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 5px; }
.j-ex { font-size: 1rem; line-height: 1.55; }
@media (max-width: 860px) { .journal { grid-template-columns: 1fr; } .j-feature { min-height: 320px; } }

/* ---------- process (buyers / sellers) ---------- */
.band-process .process { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px); counter-reset: none; }
.process li { border-top: 1px solid var(--champagne); padding-top: 22px; }
.pc-num { display: block; font: 420 2.6rem/1 var(--serif); color: var(--champagne); margin-bottom: 14px; letter-spacing: -.02em; }
.process h3 { margin: 0 0 8px; font-size: 1.45rem; } .process p { margin: 0; color: var(--ink); font-size: 1.0625rem; }
.band-primary .process h3 { color: #fff; } .band-primary .process p { color: #cfd6e0; } .band-primary .process li { border-top-color: rgba(181, 162, 138, .6); }
@media (max-width: 900px) { .band-process .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .band-process .process { grid-template-columns: 1fr; } }

/* ---------- aside lead form (valuation) ---------- */
.aside-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 104px); align-items: start; }
.aside-copy h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); } .aside-copy { position: sticky; top: 110px; }
.points { list-style: none; margin: 32px 0 0; padding: 0; } .points li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); } .points strong { font: 450 1.3rem var(--serif); color: var(--primary); } .points span { color: var(--ink); }
.band-aside .form-card { padding: clamp(24px, 3vw, 44px); background: #fff; }
@media (max-width: 900px) { .aside-grid { grid-template-columns: 1fr; } .aside-copy { position: static; } }
.lead-form label { font-size: .9375rem; font-weight: 500; }
.lead-form input[type=text], .lead-form input[type=email], .lead-form input[type=tel], .lead-form select, .lead-form textarea { min-height: 50px; font-size: 1rem; }

/* ---------- closing call to action ---------- */
.band-primary:not(.band-process):not(.band-paths) { padding: clamp(72px, 9vw, 136px) 0; }
.band-primary .section-title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.band-primary .wrap.narrow.center { max-width: 760px; }
.band-primary .btn-accent { margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 32px; }
.site-footer .foot { gap: clamp(32px, 5vw, 80px); }
.site-footer .foot > div > strong { font: 600 .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); display: block; margin-bottom: 16px; }
.foot-id address strong { font: 450 1.6rem var(--serif); color: #fff; } .site-footer address { font-size: 1rem; line-height: 1.8; }
.foot ul li a { font-size: 1rem; }

/* fixes: let the search panel overhang the hero; kickers and numbers take their own line */
.hero.hero-ed { overflow: visible; }
.path-kicker { position: static; margin-bottom: auto; padding-bottom: 28px; }
.g-num { position: static; margin-bottom: auto; padding-bottom: 20px; }

/* contrast fixes */
.hs-go.btn { color: #fff; }
.hero.hero-cin h1, .hero.hero-type h1, .hero.hero-ed-light h1 { color: var(--primary); }
.hero.hero-type-dark h1 { color: #fff; }
.cin-fig { aspect-ratio: 16 / 7; }
@media (max-width: 800px) { .cin-fig { aspect-ratio: 4 / 3; } }

/* ---------- property search ---------- */
.search-head { padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 44px); background: var(--soft); border-bottom: 1px solid var(--line); }
.search-head h1 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); margin: 0 0 28px; }
.search-head .sample-banner { margin: 24px 0 0; }
.filters { display: block; }
.f-primary { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)) auto; gap: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(17, 27, 44, .5); }
.f-primary .field { margin: 0; padding: 12px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.f-primary label, .f-grid label:not(.check) { font: 600 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 4px; }
.f-primary input, .f-primary select { border: 0; padding: 4px 0; min-height: 32px; font: 500 1rem var(--sans); color: var(--primary); background: transparent; width: 100%; box-shadow: none; text-overflow: ellipsis; }
.f-go.btn { border-radius: 0; padding: 0 34px; background: var(--primary); color: #fff; min-height: 64px; }
.f-go.btn:hover { background: var(--accent); }
.f-more { margin-top: 14px; } .f-more > summary { cursor: pointer; list-style: none; font: 600 .8125rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; }
.f-more > summary::-webkit-details-marker { display: none; } .f-more > summary::after { content: "+"; font-size: 1.1rem; color: var(--gold-text); } .f-more[open] > summary::after { content: "–"; }
.f-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; padding: 20px 0 6px; align-items: end; }
.f-grid .field select { min-height: 48px; background: #fff; }
.f-clear { font: 600 .8125rem var(--sans); color: var(--primary); text-underline-offset: 4px; align-self: center; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 0 0 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.results-bar .count { margin: 0 auto 0 0; font-size: 1.0625rem; } .results-bar .count strong { font: 450 1.7rem var(--serif); color: var(--primary); margin-right: 4px; }
.f-sort { margin: 0; flex-direction: row; display: flex; align-items: center; gap: 10px; } .f-sort label { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 0; } .f-sort select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font: 500 .9375rem var(--sans); }
.view-toggle .btn { padding: 10px 20px; font-size: .875rem; }
@media (max-width: 1060px) { .f-primary { grid-template-columns: repeat(4, minmax(0, 1fr)); } .f-q { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-right: 0 !important; } .f-go.btn { grid-column: span 4; min-height: 54px; } .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .filter-box > summary { display: flex; width: 100%; justify-content: center; margin: 0 0 12px; }
  .f-primary { grid-template-columns: 1fr 1fr; } .f-primary .field { border-bottom: 1px solid var(--line); } .f-go.btn { grid-column: 1 / -1; }
  .results-bar .count { flex-basis: 100%; } .f-sort { flex: 1 1 100%; } .f-sort select { flex: 1; }
}

/* ---------- listing cards: 4:3 image, price, location, specs, save, details ---------- */
.lgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 28px; }
.lcard { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; position: relative; transition: transform .3s, box-shadow .3s; }
.lcard:hover { transform: translateY(-3px); box-shadow: 0 26px 40px -30px rgba(17, 27, 44, .55); }
.lcard-img { aspect-ratio: 4 / 3; display: block; overflow: hidden; background: var(--soft); position: relative; }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lcard-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 72px); }
.lcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.lcard-price { font: 450 1.9rem/1.1 var(--serif); color: var(--primary); }
.lcard-title { font: 600 1rem/1.35 var(--sans); margin: 8px 0 2px; } .lcard-title a { color: var(--primary); text-decoration: none; } .lcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lcard-meta { margin: 0; color: var(--muted); font-size: .9375rem; }
.lcard-facts { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 400 .9375rem var(--sans); color: var(--ink); }
.lcard-facts span { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--line); } .lcard-facts span:last-child { border: 0; margin: 0; padding: 0; } .lcard-facts b { font-weight: 650; color: var(--primary); }
.lcard-more { margin-top: auto; padding-top: 16px; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); text-decoration: none; position: relative; z-index: 2; }
.lcard-more:hover { color: var(--gold-text); }
.lcard .fav-form { position: absolute; top: 10px; right: 10px; z-index: 3; }
.price-drop { display: block; font: 500 .8125rem var(--sans); color: #8a4b2a; margin-top: 4px; }

/* ---------- property details ---------- */
.detail { padding-top: 20px; }
.detail-grid { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.gallery #gallery-main { aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; }
.detail-side { position: sticky; top: 104px; }
.detail-side .card { padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); background: #fff; }
.detail-price { font: 420 clamp(2.4rem, 3.4vw, 3.2rem)/1.05 var(--serif); color: var(--primary); margin: 14px 0 6px; letter-spacing: -.02em; }
.detail-addr { font: 600 1.125rem/1.35 var(--sans); color: var(--primary); margin: 10px 0 2px; letter-spacing: 0; } .detail-loc { margin: 0 0 20px; color: var(--muted); }
.detail-side .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 0 0 20px; padding: 0; }
.detail-side .facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); } .detail-side .facts dt { font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); } .detail-side .facts dd { margin: 2px 0 0; font: 500 1.0625rem var(--sans); color: var(--primary); }
.detail h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-top: 40px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-side { position: static; } }
.page-search .band { padding-top: 36px; } .f-sort label { white-space: nowrap; }
.page-listing .detail h3 { font-size: 1.35rem; margin-top: 28px; }

/* phones: a compact header that always shows the menu button, and a better crop of the hero image */
@media (max-width: 600px) {
  .bar { gap: 10px; min-height: 68px; }
  .brand-text strong { font-size: 1.05rem; } .logo-img { height: 34px; } .brok-logo { height: 36px; }
  .brok-link { padding-left: 10px; }
  .nav-toggle { padding: 8px 12px; }
  .ed-fig img { object-position: 50% 58%; }
  .ed-id { margin-top: 24px; }
}
.hero-full .hero-inner > * { max-width: min(560px, 46%); } .hero-full .hero-inner > h1 { max-width: min(600px, 48%); font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
@media (max-width: 800px) { .hero-full .hero-inner > *, .hero-full .hero-inner > h1 { max-width: none; } }
.hero-full .hero-inner { z-index: 2; }
@media (max-width: 1000px) { .hero-full::after { content: ""; position: absolute; inset: 0; background: rgba(17, 27, 44, .62); z-index: 1; } .hero-full .hero-inner > *, .hero-full .hero-inner > h1 { max-width: none; } }

/* ---------- personal brand: logo more prominent, name set in the logo's own letterforms (Barlow, open licence, bundled) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/site/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/site/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
:root { --header-h: 100px; --logo-font: "Barlow", "DIN Alternate", "Bahnschrift", system-ui, sans-serif; }
.bar { min-height: var(--header-h); }
.logo-img { height: 72px; width: auto; }
.brand { gap: 16px; }
.brand-text strong { font: 500 1.0625rem/1.2 var(--logo-font); letter-spacing: .24em; text-transform: uppercase; color: var(--primary); }
.brand-text span { font: 400 .6875rem/1.4 var(--logo-font); letter-spacing: .28em; color: var(--primary); opacity: .8; margin-top: 3px; }
.foot-lm { display: block; width: 132px; height: auto; margin: 0 0 18px; }
.foot-id address strong { font: 500 1.125rem var(--logo-font); letter-spacing: .22em; text-transform: uppercase; }
@media (max-width: 1180px) { :root { --header-h: 92px; } .logo-img { height: 64px; } .brand-text strong { letter-spacing: .18em; font-size: 1rem; } .brand-text span { display: block; } }
@media (max-width: 1060px) { .brand-text span { display: none; } }
@media (max-width: 600px) { :root { --header-h: 76px; } .bar { min-height: 76px; } .logo-img { height: 54px; } .brand-text { display: none; } }

/* ---------- neighbourhood tiles carry a stylised map of the city (illustration, not to scale) ---------- */
.gtile { background: #111b2c; border-color: #111b2c; color: #fff; overflow: hidden; isolation: isolate; }
.gtile .g-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.gtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 17, 29, .9) 0%, rgba(10, 17, 29, .5) 42%, rgba(10, 17, 29, .05) 75%); }
.gtile:hover .g-map { transform: scale(1.04); }
.gtile .g-name, .gtile .g-name a { color: #fff; } .gtile .g-sub { color: #d6dbe3; } .gtile .g-search { color: #fff; border-bottom-color: var(--champagne); } .gtile .g-num { color: var(--champagne); }
.gtile-4, .gtile-5, .gtile-6, .gtile-1 { background: #111b2c; }
.gtile-1 .g-map { object-position: center; }
.split-img img[src*="concept-map"] { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- logo: bigger ---------- */
:root { --header-h: 112px; }
.logo-img { height: 92px; }
@media (max-width: 1180px) { :root { --header-h: 100px; } .logo-img { height: 78px; } }
@media (max-width: 600px) { :root { --header-h: 84px; } .bar { min-height: 84px; } .logo-img { height: 64px; } }
.foot-lm { width: 168px; }

/* ---------- map search ---------- */
.hs-alt { margin: 12px 0 0; text-align: right; pointer-events: auto; } .hs-alt a { font: 600 .8125rem var(--sans); letter-spacing: .04em; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--champagne); padding-bottom: 2px; }
.hs-alt a:hover { color: var(--gold-text); }
.hs-flat .hs-alt { text-align: left; }
@media (max-width: 900px) { .hs-alt { background: var(--primary); margin: 0; padding: 14px var(--gutter) 18px; text-align: left; } .hs-alt a { color: #fff; } }
.map-pane { position: relative; }
.map-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 0 0 10px; }
.map-live-label { margin: 0; font: 500 .9375rem var(--sans); display: inline-flex; align-items: center; gap: 10px; } .map-tools .btn { padding: 8px 16px; font-size: .8125rem; }
.results[data-view="map"] { grid-template-columns: minmax(340px, 430px) minmax(0, 1fr); gap: 24px; align-items: start; }
.results[data-view="map"] .lgrid { grid-template-columns: 1fr; gap: 18px; max-height: calc(100vh - 230px); min-height: 480px; overflow-y: auto; padding: 0 8px 8px 0; scrollbar-width: thin; }
.results[data-view="map"] .lcard { flex-direction: row; } .results[data-view="map"] .lcard-img { width: 150px; aspect-ratio: auto; flex: none; } .results[data-view="map"] .lcard-body { padding: 14px 16px; } .results[data-view="map"] .lcard-price { font-size: 1.45rem; }
.results[data-view="map"] .lcard-facts { margin-top: 10px; padding-top: 10px; font-size: .875rem; } .results[data-view="map"] .lcard-badges { display: none; } .results[data-view="map"] .lcard-more { display: none; }
.results[data-view="map"] .lcard.hl { outline: 2px solid var(--champagne); outline-offset: -2px; box-shadow: 0 16px 30px -20px rgba(17, 27, 44, .6); }
.results[data-view="map"] .map-pane { order: 2; position: sticky; top: 112px; }
#map { height: calc(100vh - 220px); min-height: 520px; border: 1px solid var(--line); border-radius: 0; background: #dfe7ec; z-index: 1; }
.leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: var(--primary) !important; font-size: 20px !important; }
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: 0 8px 18px -10px rgba(17, 27, 44, .5) !important; border-radius: 0 !important; }
.marker-price { background: var(--primary); color: #fff; border: 2px solid var(--champagne); border-radius: 999px; padding: 4px 10px; font: 600 12.5px var(--sans); letter-spacing: .01em; box-shadow: 0 6px 12px -6px rgba(10, 17, 29, .7); transition: transform .15s, background .15s; text-align: center; }
.marker-price.hl { background: var(--champagne); color: var(--primary); border-color: var(--primary); transform: scale(1.12); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(181, 162, 138, .45) !important; } .marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: var(--primary) !important; color: #fff; font-weight: 600; }
.map-pop .leaflet-popup-content-wrapper { border-radius: 0; padding: 0; overflow: hidden; } .map-pop .leaflet-popup-content { margin: 0; width: 220px !important; }
.pop { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); } .pop img { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--soft); }
.pop strong { font: 450 1.5rem var(--serif); color: var(--primary); padding: 10px 14px 0; } .pop span { padding: 0 14px; font-size: .875rem; } .pop-meta { color: var(--muted); } .pop-go { padding: 6px 14px 12px !important; font: 600 .72rem var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
@media (max-width: 900px) {
  .results[data-view="map"] { grid-template-columns: 1fr; } .results[data-view="map"] .map-pane { position: static; order: 0; } #map { height: 62vh; min-height: 360px; }
  .results[data-view="map"] .lgrid { max-height: none; order: 2; } .results[data-view="map"] .lcard { flex-direction: column; } .results[data-view="map"] .lcard-img { width: auto; aspect-ratio: 4 / 3; }
}
.page-search.map-mode .band { padding-top: 24px; }
#map-redo[hidden], .map-pane[hidden] { display: none !important; }
#map-redo { position: absolute; z-index: 1000; left: 50%; top: 96px; transform: translateX(-50%); }
.page-search.map-mode .search-head { padding: 20px 0 14px; } .page-search.map-mode .search-head h1, .page-search.map-mode .search-head .eyebrow-dark { display: none; }
.page-search.map-mode .search-head .sample-banner { margin-top: 10px; padding: 8px 14px; font-size: .875rem; }
.page-search.map-mode .f-more { margin-top: 6px; }
.page-search.map-mode #map { height: calc(100vh - 190px); }
.page-search.map-mode .results[data-view="map"] .lgrid { max-height: calc(100vh - 190px); }

/* ---------- city maps as posters: portrait crop with a live-text caption ---------- */
.split-img { position: relative; }
.split-img img[src*="concept-map"] { aspect-ratio: 3 / 4; max-height: 640px; width: 100%; object-fit: cover; display: block; }
.map-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 28px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.map-cap strong { font: 500 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 var(--logo-font); letter-spacing: .34em; text-transform: uppercase; padding-left: .34em; }
.map-cap strong::after { content: ""; display: block; width: 56px; height: 1px; background: var(--champagne); margin: 12px auto 0; }
.map-cap span { font: 400 .72rem var(--logo-font); letter-spacing: .3em; text-transform: uppercase; color: #d6dbe3; }
.map-cap em { font: 400 .72rem var(--logo-font); letter-spacing: .22em; color: var(--champagne); font-style: normal; }
.split-img:has(.map-cap) { max-width: 480px; justify-self: end; width: 100%; box-shadow: 0 30px 50px -30px rgba(17, 27, 44, .6); }
.split-img .map-cap { padding-top: 90px; background: linear-gradient(0deg, rgba(7, 12, 22, .94) 0%, rgba(7, 12, 22, .75) 55%, rgba(7, 12, 22, 0)); }

/* ---------- finishing: hairline frame and edge blend on hero imagery, illustrated featured article ---------- */
.ed-fig::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(230, 217, 196, .45); pointer-events: none; z-index: 2; }
.hero-ed:not(.hero-ed-light) .ed-fig::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--primary) 0, rgba(17, 27, 44, 0) 14%), linear-gradient(0deg, rgba(10, 17, 29, .45), rgba(10, 17, 29, 0) 28%); }
.hero-ed-light .ed-fig::after { border-color: rgba(230, 217, 196, .6); }
.cin-fig::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(245, 241, 233, .5); pointer-events: none; }
.j-feature { overflow: hidden; isolation: isolate; }
.j-feature .j-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; opacity: .75; transition: transform .8s; }
.j-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 27, 44, .96) 0%, rgba(17, 27, 44, .78) 50%, rgba(17, 27, 44, .25) 100%); }
.j-feature:hover .j-art { transform: scale(1.04); }
@media (max-width: 860px) { .ed-fig::after { inset: 12px; } }
.map-cap small { font: 400 .625rem var(--logo-font); letter-spacing: .12em; color: #8f9bb3; margin-top: 4px; }
.hero-ed-light .text-link { color: var(--primary); border-bottom-color: var(--champagne); } .hero-ed-light .text-link:hover { border-bottom-color: var(--primary); }
.cin-fig { aspect-ratio: 16 / 8.6; }
@media (max-width: 800px) { .cin-fig { aspect-ratio: 4 / 3; } }

/* ---------- neighbourhood tiles: the supplied city map posters, one per city, in a calm even grid ---------- */
.guide { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 28px; margin-top: 16px; }
.gtile, .gtile-1, .gtile-4, .gtile-5, .gtile-6 { grid-column: auto !important; grid-row: auto !important; display: flex; flex-direction: column; justify-content: flex-start; padding: 0; min-height: 0; background: #0f1a2d; border: 1px solid #0f1a2d; overflow: hidden; }
.gtile::before { display: none; }
.gtile .g-fig { display: block; aspect-ratio: 5 / 4; overflow: hidden; background: #0f1a2d; }
.gtile .g-map { position: static; inset: auto; width: 100%; height: 100%; object-fit: cover; z-index: auto; display: block; transition: transform .8s; }
.gtile:hover .g-map { transform: scale(1.03); }
.gtile .g-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 4px; }
.gtile .g-name { font-size: 1.55rem !important; margin: 0; } .gtile .g-sub { margin: 0 0 14px; font-size: .9375rem; color: #c4ccda; }
@media (max-width: 960px) { .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guide { grid-template-columns: 1fr; } }
.ed-fig:has(img[src*="concept-map"])::after { display: none; }
.split-img img[src*="concept-map"] { aspect-ratio: 5 / 4; max-height: none; }
.split-img:has(img[src*="concept-map"]) { max-width: none; box-shadow: none; }

/* ---------- footer: personal logo and one tidy information block ---------- */
.site-footer .foot { align-items: start; grid-template-columns: 1.5fr 1.2fr .8fr; }
.foot-id { display: flex; flex-direction: column; align-items: flex-start; }
.foot-id .foot-lm { width: 150px; height: auto; margin: 0 0 24px; }
.foot-id address { font-style: normal; width: 100%; max-width: 460px; }
.foot-id address strong { display: block; font: 500 1.0625rem/1.3 var(--logo-font); letter-spacing: .24em; text-transform: uppercase; color: #fff; margin: 0 0 4px; }
.foot-role { display: block; color: #aeb8c6; font-size: .9375rem; margin: 0 0 18px; }
.foot-info { margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(181, 162, 138, .35); display: grid; gap: 10px; }
.foot-info > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.foot-info dt { font: 600 .68rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.foot-info dd { margin: 0; color: #e5e9ef; font-size: .9375rem; line-height: 1.5; } .foot-info a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(181, 162, 138, .5); } .foot-info a:hover { border-bottom-color: #fff; }
.foot-id .foot-tag { margin: 20px 0 0; }
@media (max-width: 900px) { .site-footer .foot { grid-template-columns: 1fr; } }
.site-footer .foot { padding-bottom: 40px; }
.site-footer .wrap.fine { border-top: 0; padding-top: 0; }
.site-footer .wrap.fine::before { content: ""; display: block; border-top: 1px solid rgba(255, 255, 255, .14); margin-bottom: 22px; }
.site-footer .wrap.fine p { margin: 0 0 8px; max-width: 62em; }
.site-footer .wrap.fine { max-width: calc(var(--max) + var(--gutter) * 2); }

/* =================== final refinement: approved photography, wide hero, search, insights =================== */
.hero-wide { position: relative; background: var(--soft); overflow: visible; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-wide.has-hs { margin-bottom: 56px; border-bottom: 0; }
.wd-fig { position: absolute; inset: 0; margin: 0; z-index: -1; overflow: hidden; background: #1b2436; }
.wd-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--soft) 0%, rgba(245, 241, 233, .96) 22%, rgba(245, 241, 233, .7) 38%, rgba(245, 241, 233, 0) 58%); }
.wd-copy { min-height: clamp(520px, 41vw, 680px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.has-hs .wd-copy { padding-bottom: 96px; }
.wd-text { max-width: min(560px, 44%); }
.wd-chip { display: inline-block; font: 600 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #6f5b3f; background: rgba(181, 162, 138, .28); padding: 8px 14px; margin: 0 0 22px; }
.wd-text h1 { font-size: clamp(2.7rem, 4.6vw, 4.4rem); line-height: 1.04; margin: 0 0 .4em; color: var(--primary); }
.wd-text .lede { color: #2b3340; max-width: 28em; margin: 0 0 30px; }
.hero-wide .hero-actions .btn-ghost { background: rgba(255, 255, 255, .55); }
.hero-wide .hs-wrap { z-index: 3; }
.hero-wide-solo .wd-fig { display: none; }
@media (max-width: 900px) {
  .hero-wide { display: flex; flex-direction: column; }
  .wd-fig { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 3; z-index: 0; }
  .wd-fig::after { display: none; }
  .wd-copy { order: 1; min-height: 0; padding-top: 40px; padding-bottom: 32px; } .wd-text { max-width: none; }
  .wd-text h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .has-hs .wd-copy { padding-bottom: 32px; } .hero-wide.has-hs { margin-bottom: 0; }
  .hero-wide .hs-wrap { order: 3; }
}
.cin-fig:has(img[srcset]) { aspect-ratio: 21 / 9; } @media (max-width: 800px) { .cin-fig:has(img[srcset]) { aspect-ratio: 4 / 3; } }
.cin-fig::after { display: none; }
.hero-cin .cin-search { margin-top: -28px; position: relative; z-index: 3; padding-bottom: 28px; }
.hero-cin .hs-flat .hs-form { background: #fff; box-shadow: 0 24px 48px -24px rgba(17, 27, 44, .4); }

/* ---------- navigation: six items plus consultation button ---------- */
.nav ul { gap: 22px; } .nav a { letter-spacing: .04em; }
@media (max-width: 1500px) { .nav-phone { display: none; } }
@media (max-width: 1320px) { .nav ul { gap: 16px; } .nav a { font-size: .8125rem; } .nav .btn.nav-cta { padding: 12px 16px; } .brand-text span { display: none; } }
@media (max-width: 1180px) { .nav-phone { display: inline; } }

/* ---------- search: heading, two-row filter card ---------- */
.search-lede { margin: -12px 0 26px; max-width: 36em; color: var(--ink); }
.search-head h1 { margin-bottom: 20px; }
.f-primary { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.f-primary .field { border-right: 0; border-bottom: 0; box-shadow: inset -1px -1px 0 var(--line); grid-column: span 3; padding: 12px 18px; }
.f-primary .field.f-q { grid-column: span 6; }
.f-primary .field:nth-child(3) { grid-column: span 3; }
.f-primary .field:nth-child(6), .f-primary .field:nth-child(7) { grid-column: span 2; }
.f-primary .f-go { grid-column: span 2; min-height: 68px; }
.f-primary select { appearance: auto; cursor: pointer; }
.f-primary :is(input, select):focus-visible, .f-go:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 1060px) { .f-primary .field, .f-primary .field.f-q, .f-primary .field:nth-child(n) { grid-column: span 6; } .f-primary .field.f-q { grid-column: 1 / -1; } .f-primary .f-go { grid-column: 1 / -1; } }
@media (max-width: 820px) { .f-primary .field:nth-child(n) { grid-column: span 6; } .f-primary .field.f-q { grid-column: 1 / -1; } .f-primary .field.f-q input { min-height: 44px; font-size: 1.0625rem; } }
.lcard-img img[src$=".svg"] { filter: saturate(.7); }
.results[aria-busy="true"] .lgrid, #cards[aria-busy="true"] { opacity: .55; transition: opacity .2s; }

/* ---------- insights ---------- */
.j-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 28px; }
.j-chip { font: 600 .8125rem var(--sans); letter-spacing: .06em; padding: 10px 18px; border: 1px solid var(--line); background: #fff; color: var(--primary); cursor: pointer; border-radius: 0; min-height: 44px; }
.j-chip:hover { border-color: var(--champagne); } .j-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.j-cat { font: 600 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); } .j-feature .j-cat { color: var(--champagne); }
.j-feature .j-art { display: none; }
.j-feature { background: var(--primary); background-image: repeating-linear-gradient(90deg, rgba(181, 162, 138, .07) 0 1px, transparent 1px 72px), repeating-linear-gradient(0deg, rgba(181, 162, 138, .07) 0 1px, transparent 1px 72px), linear-gradient(135deg, #111b2c, #1a2a44); }
.j-feature::before { display: none; }
.j-feature[hidden], .j-item[hidden], .pcard[hidden] { display: none; }
.video-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-top: 2px solid var(--champagne); padding-top: 32px; }
.video-card h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); } .video-card .lede-dark { margin: 0; max-width: 34em; }
.wd-text { max-width: min(520px, 40%); } .wd-text h1 { font-size: clamp(2.5rem, 4vw, 3.9rem); }
.wd-fig::after { background: linear-gradient(90deg, var(--soft) 0%, rgba(245, 241, 233, .97) 30%, rgba(245, 241, 233, .75) 42%, rgba(245, 241, 233, 0) 62%); }
.nav ul { gap: 18px; } .bar { gap: 20px; } .nav { gap: 14px; }
@media (max-width: 900px) { .wd-text { max-width: none; } }
@media (max-width: 900px) { .wd-fig { aspect-ratio: 16 / 9; max-height: 500px; } }
@media (max-width: 560px) { .wd-fig { aspect-ratio: 4 / 3; } }

/* =================== final polish: one navy hero system (the footer navy, var(--primary) = #111B2C), buttons, header, about, search =================== */
.hero-wide { background: var(--primary); border-bottom: 0; }
.wd-fig { background: var(--primary); }
.wd-fig::after { background: linear-gradient(90deg, var(--primary) 0%, rgba(17, 27, 44, .96) 26%, rgba(17, 27, 44, .68) 42%, rgba(17, 27, 44, .12) 60%, rgba(17, 27, 44, 0) 70%), linear-gradient(0deg, rgba(17, 27, 44, .35), rgba(17, 27, 44, 0) 22%); }
.wd-chip { color: var(--champagne); background: transparent; padding: 0 0 0 38px; position: relative; }
.wd-chip::before { content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 1px; background: var(--champagne); }
.wd-text h1 { color: #fff; } .wd-text .lede { color: #d6dbe3; }
.hero-wide .hero-actions .btn-ghost-light { background: transparent; }
@media (max-width: 900px) {
  .wd-fig::after { background: linear-gradient(180deg, var(--primary) 0%, rgba(17, 27, 44, .55) 22%, rgba(17, 27, 44, 0) 45%); }
  .hero-wide .hs-wrap { background: var(--primary); }
}

/* ---------- one button system ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 2px; font: 600 .9375rem/1.2 var(--sans); letter-spacing: .02em; box-shadow: none; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; cursor: pointer; }
.btn:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.band:not(.band-primary) .btn:focus-visible, .site-header .btn:focus-visible { outline-color: var(--primary); }
.btn-primary, .btn-accent { background: var(--primary); border: 1px solid var(--primary); color: #fff; } .btn-primary:hover, .btn-accent:hover { background: #1f3050; border-color: #1f3050; color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--primary); color: var(--primary); } .btn-ghost:hover { background: var(--primary); color: #fff; }
.hero .btn-accent, .band-primary .btn-accent, .j-feature .btn-accent, .site-footer .btn-accent { background: var(--champagne); border-color: var(--champagne); color: var(--primary); } .hero .btn-accent:hover, .band-primary .btn-accent:hover { background: #cdbca6; border-color: #cdbca6; color: var(--primary); }
.btn-ghost-light { background: transparent; border: 1px solid rgba(245, 241, 233, .7); color: #fff; } .btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--primary); }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }
.hs-go.btn, .f-go.btn { background: var(--primary); color: #fff; border-radius: 0; }
@media (max-width: 600px) { .hero-actions .btn { flex: 1 1 100%; } }

/* ---------- header: tighter ---------- */
:root { --header-h: 96px; }
.logo-img { height: 78px; } .brand { gap: 12px; } .bar { gap: 16px; }
.brok-link { padding-left: 16px; } .brok-logo { height: 46px; }
@media (max-width: 1180px) { :root { --header-h: 88px; } .logo-img { height: 66px; } }
@media (max-width: 600px) { :root { --header-h: 76px; } .logo-img { height: 56px; } .brok-logo { height: 34px; } }

/* ---------- About: tighter rhythm, larger headshot aligned with the biography ---------- */
.page-about .band { padding: clamp(44px, 5.5vw, 84px) 0; }
.page-about .hero-type + .band { padding-top: clamp(40px, 4.5vw, 64px); }
.page-about .agent { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(32px, 5.5vw, 84px); align-items: start; }
.page-about .agent-photo { position: sticky; top: 118px; }
.page-about .agent-text .prose { max-width: 38em; font-size: 1.0625rem; line-height: 1.78; } .page-about .agent-text .prose p { margin: 0 0 1.15em; } .page-about .agent-text h2 { margin: 0 0 .5em; }
@media (max-width: 800px) { .page-about .agent-photo { position: static; max-width: 480px; } }

/* ---------- search: navy heading area, ivory results ---------- */
.search-head { background: var(--primary); border-bottom: 0; padding: clamp(32px, 4vw, 52px) 0 clamp(26px, 3vw, 40px); }
.search-head h1 { color: #fff; font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: 8px; } .search-head .eyebrow-dark { color: var(--champagne); }
.search-head .search-lede { color: #d6dbe3; margin: 0 0 22px; }
.search-head .f-more > summary { color: #fff; } .search-head .f-more > summary::after { color: var(--champagne); } .search-head .f-clear { color: var(--primary); }
.search-head .f-more .f-grid { background: #fff; padding: 18px 18px 14px; margin-top: 8px; }
.page-search .band { background: var(--soft); }
.page-search .lcard { background: #fff; }
.wd-text { max-width: min(600px, 46%); } .hero-wide .hero-actions .btn { white-space: nowrap; } @media (max-width: 900px) { .wd-text { max-width: none; } }
.page-about .agent-text .section-title { padding-bottom: .1em; margin-bottom: 0; } .page-about .agent-text .prose { margin-top: 18px; } .page-about .agent-text .eyebrow-dark { margin-bottom: 10px; }

/* tighter page headers (About, Neighbourhoods, Insights) */
.hero-type { padding: clamp(40px, 5.4vw, 84px) 0 clamp(32px, 4.2vw, 64px); }
.hero-type .type-main::before { margin-bottom: 20px; }
.hero-type .type-main h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.hero-type-dark .type-main::before { background: var(--champagne); }
.hero-type-dark .eyebrow, .hero-type-dark .eyebrow-dark { color: var(--champagne); }
.hero-type-dark .btn-primary, .hero-type-dark .btn-accent { background: var(--champagne); border-color: var(--champagne); color: var(--primary); }
.hero-type-dark .btn-ghost { border-color: rgba(245,241,233,.7); color: #fff; } .hero-type-dark .btn-ghost:hover { background: #fff; color: var(--primary); }
.page-neighbourhoods .band, .page-insights .band { padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(44px, 5vw, 76px); }
