.home-shell {
  width: min(calc(100% - 64px),1280px);
  margin: 0 auto;
  padding-block: 26px clamp(42px,5vw,74px);
  color: var(--mb-ink);
  font-family: var(--mb-body);
}
.home-shell :where(h1,h2,h3,p,form,figure,article) {margin:0}
.home-shell :where(a,button,select):focus-visible {outline:3px solid var(--mb-accent);outline-offset:3px}
.home-shell :is(h1,h2,h3) {font-family:var(--mb-display);line-height:1.04;font-weight:600;letter-spacing:-.028em}
.home-shell h2 {font-size:clamp(34px,3vw,48px)}
.home-shell h3 {font-size:clamp(23px,2vw,30px)}
.home-shell a {text-decoration:none;color:inherit}
.home-hero {
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  min-height:clamp(426px,35vw,550px);
  overflow:hidden;
  border-radius:14px;
  background:var(--mb-cream);
}
.home-copy {display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(32px,3.8vw,60px)}
.home-shell .home-copy h1 {font-size:clamp(52px,4.7vw,74px);color:var(--mb-navy);max-width:16ch}
.home-copy h1 span {color:var(--mb-accent)}
.home-copy>p {font-size:clamp(16px,1.24vw,19px);line-height:1.53;max-width:40ch;margin-block:17px 24px}
.home-hero-photo,.home-hero-photo>a {position:relative;display:block;width:100%;height:100%;min-width:0}
.home-hero-photo img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% 51%}
.home-hero-photo>a>span {position:absolute;bottom:18px;left:20px;display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:4px;background:var(--mb-paper);color:var(--mb-navy);font-size:13px;font-weight:550}
.home-search {
  position:relative;z-index:1;display:grid;align-items:stretch;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  width:calc(100% + clamp(32px,4vw,70px));
  padding:7px;border:1px solid var(--mb-line);border-radius:11px;background:var(--mb-paper);
  box-shadow:0 6px 16px color-mix(in srgb, var(--mb-navy) 8%, transparent);
}
.home-search label {display:grid;align-content:center;gap:1px;margin:0;padding:4px clamp(6px,.8vw,13px);color:var(--mb-muted);font:500 12px/1.3 var(--mb-body)}
.home-search label+label {border-left:1px solid var(--mb-line)}
.home-search select {min-width:0;width:100%;max-width:100%;border:0;background:var(--mb-paper);font:600 14px/1.4 var(--mb-body);color:var(--mb-ink);padding:3px 0;cursor:pointer}
.home-search button,.home-assist .home-assist-action {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 18px;border:0;border-radius:6px;background:var(--mb-accent);color:var(--mb-paper);font:600 14px/1.25 var(--mb-body);cursor:pointer}
.home-search button:hover,.home-assist .home-assist-action:hover {background:var(--mb-accent-hover)}
.home-search button svg {width:17px;height:17px}
.home-byline {display:inline-flex;align-items:center;gap:10px;margin-top:20px}
.home-byline img,.home-edita-portrait img {display:block;border-radius:50%;object-fit:cover}
.home-byline strong,.home-byline small {display:block}
.home-byline strong {font-size:14px;color:var(--mb-navy);font-weight:620;line-height:1.4}
.home-byline small {font-size:12px;color:var(--mb-muted);line-height:1.4}
.home-byline svg {width:14px;height:14px;color:var(--mb-accent);margin-left:5px}
.home-byline:hover strong,.home-link:hover,.home-feature:hover h3,.home-types a:hover,.home-place:hover>span,.home-property:hover h3,.home-assist p a:hover {text-decoration:underline;text-underline-offset:3px}
.home-section {margin-top:clamp(36px,4.2vw,65px)}
.home-section>h2,.home-section-heading {margin-bottom:20px}
.home-section-heading {display:flex;justify-content:space-between;align-items:baseline;gap:14px}
.home-shell .home-link {display:inline-flex;align-items:center;gap:7px;color:var(--mb-accent);font-size:14px;font-weight:620}
.home-properties,.home-places {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.5vw,22px)}
.home-property {display:block;min-width:0;height:100%}
.home-property>img,.home-place img,.home-place-icon {width:100%;height:auto;display:block;aspect-ratio:1.85;object-fit:cover;border-radius:10px;background:var(--mb-cream)}
.home-property>div {padding:13px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 12px}
.home-property h3 {font-size:clamp(23px,1.85vw,30px)}
.home-area,.home-property p {color:var(--mb-muted);font-size:14px}
.home-property p {grid-column:1/-1}
.home-property p strong {color:var(--mb-ink);font-weight:650;font-variant-numeric:tabular-nums}
.home-duo {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-feature {display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:clamp(19px,2.2vw,35px);background:var(--mb-cream);border-radius:10px}
.home-feature p {margin-top:7px;font-size:15px;line-height:1.5;color:var(--mb-muted)}
.home-feature>span,.home-types a span,.home-place>span span {color:var(--mb-accent)}
.home-types {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px;border-block:1px solid var(--mb-line)}
.home-types a {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:10px 16px;font-size:14px;font-weight:550}
.home-types a+a {border-left:1px solid var(--mb-line)}
.home-place,.home-place>picture {display:block}
.home-place img,.home-place-icon {aspect-ratio:2.6}
.home-place>span {display:flex;align-items:center;justify-content:space-between;padding:11px 1px;color:var(--mb-navy);font:580 23px/1.2 var(--mb-display)}
.home-place-icon {display:grid;place-items:center}
.home-place-icon svg {width:44px;height:44px;color:var(--mb-accent)}
.home-guides .home-feature {background:var(--mb-paper);border:1px solid var(--mb-line)}
.home-assist {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(16px,2.2vw,37px);margin-top:clamp(32px,4vw,60px);padding:clamp(24px,3vw,48px);background:var(--mb-cream);border-radius:12px}
.home-assist h2 {font-size:clamp(32px,3vw,46px)}
.home-assist p {margin-top:7px;max-width:63ch;line-height:1.55;color:var(--mb-muted)}
.home-assist p a {font-weight:600;color:var(--mb-accent);text-decoration:underline;text-underline-offset:3px}
.home-edita-portrait img {width:72px;height:72px}
@media(min-width:761px) and (max-width:1000px){
  .home-copy {padding:28px 22px}
  .home-search {width:calc(100% + 24px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .home-search button {grid-column:1/-1;margin-top:4px;min-height:40px}
}
@media(max-width:760px){
  .home-shell {width:calc(100% - 32px);padding-top:14px}
  .home-hero {grid-template-columns:minmax(0,1fr);min-height:0;border-radius:12px}
  .home-copy {padding:24px 18px 19px}
  .home-shell .home-copy h1 {max-width:20ch;font-size:clamp(38px,9vw,57px)}
  .home-copy>p {margin-block:12px 18px;font-size:15px;line-height:1.45}
  .home-search {width:100%;max-width:470px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;padding:6px}
  .home-search label {padding:5px 5px 3px;font-size:11px}
  .home-search select {font-size:14px}
  .home-search button {grid-column:1/-1;min-height:42px}
  .home-byline {margin-top:16px}
  .home-byline img {width:36px;height:36px}
  .home-hero-photo {height:clamp(178px,44vw,290px)}
  .home-hero-photo>a>span {bottom:10px;left:12px;font-size:12px}
  .home-properties,.home-places {grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-properties article:first-child,.home-places .home-place:first-child {grid-column:1/-1}
  .home-properties article:first-child img {aspect-ratio:2.1}
  .home-property>div {padding-top:9px;display:flex;flex-wrap:wrap;gap:4px 8px}
  .home-property h3 {width:100%;font-size:22px}
  .home-area,.home-property p {font-size:13px}
  .home-section-heading {align-items:center}
  .home-section-heading .home-link {font-size:12px;max-width:13ch;line-height:1.35}
  .home-duo,.home-types {grid-template-columns:1fr}
  .home-duo {gap:10px}
  .home-types a+a {border-left:0;border-top:1px solid var(--mb-line)}
  .home-place img,.home-place-icon {aspect-ratio:2.35}
  .home-place>span {font-size:20px}
  .home-assist {grid-template-columns:1fr;gap:14px}
  .home-edita-portrait img {width:58px;height:58px}
  .home-assist .home-assist-action {justify-self:start}
}
@media(max-width:370px){
  .home-search {display:flex;flex-direction:column;gap:0}
  .home-search label+label {border-left:0;border-top:1px solid var(--mb-line)}
  .home-search button {margin-top:3px}
  .home-property>div {display:block}
}

.home-byline img {width:42px;height:42px}
.home-photo-empty {display:grid;place-items:center;aspect-ratio:1.85;color:var(--mb-muted);background:var(--mb-cream);border-radius:10px}
@media(max-width:760px){.home-byline img{width:36px;height:36px}}
