@font-face {
  font-family: Be Vietnam;
  src: url("/fonts/be-vietnam-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Be Vietnam;
  src: url("/fonts/be-vietnam-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #19362a;
  --lime: #e3ed7d;
  --paper: #f9f9f0;
  --list: #edf0e4;
  --line: #7e907a;
  --focus: #8f340e;
  --wrap: min(100% - 2 * clamp(18px, 4.2vw, 72px), 1320px);
  --hubcom-surface: #17352e;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 Be Vietnam, sans-serif; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 6vw, 5.65rem); }
h2 { font-size: clamp(2rem, 4.25vw, 4.1rem); font-weight: 400; }
h3 { font-size: clamp(1.38rem, 2.75vw, 2.4rem); font-weight: 400; }
p { max-width: 65ch; }
a { color: inherit; text-underline-offset: .25em; }
img { height: auto; max-width: 100%; display: block; }
button, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus-visible { outline-offset: -4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.button, .menu, .language, .text-button, .back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  line-height: 1.4;
}
.button { padding: .76rem 1.05rem; border: 1px solid var(--ink); text-align: center; text-decoration: none; font-weight: 700; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #325541; }
.outline, .language, .menu { background: transparent; }
.outline:hover, .language:hover, .menu:hover { background: #dce7ce; }
.outline[aria-pressed=true] { background: var(--lime); }
.skip { position: absolute; z-index: 3; top: -100px; left: 10px; padding: .8rem; background: var(--lime); }
.skip:focus { top: 8px; }

.site-header { background: var(--lime); border-bottom: 1px solid #9ba95e; }
.site-bar { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 36px); min-height: 68px; padding-block: max(8px, env(safe-area-inset-top)) 8px; }
.brand { font-size: 25px; font-weight: 700; letter-spacing: -.04em; margin-right: auto; text-decoration: none; }
.site-bar nav { display: flex; gap: clamp(14px, 3vw, 44px); }
.site-bar nav a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.site-bar nav a:hover { text-decoration: underline; }
.language, .menu { min-width: 46px; border: 1px solid var(--ink); padding: .5rem .65rem; text-decoration: none; }
.menu { display: none; }
.storage-alert { max-width: none; padding: .8rem 5vw; background: #f6e4bc; }

.hero { background: var(--lime); padding: 1.8rem 0 1.4rem; }
.masthead { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: 4vw; padding-bottom: 1.8rem; }
.masthead h1 { max-width: 15ch; }
.masthead p { max-width: 36ch; margin-bottom: .9rem; font-size: clamp(1rem, 1.45vw, 1.19rem); }
.street { position: relative; min-height: clamp(16rem, 28vw, 26rem); overflow: hidden; background: var(--ink); }
.street-photo {
  position: absolute;
  inset: 0;
  background-image: var(--street);
  background-size: cover;
  background-position: 50% 52%;
}
.street-label {
  position: absolute;
  inset: auto 0 0;
  padding: 2.8rem clamp(14px, 2vw, 34px) .85rem;
  color: #fff;
  background: linear-gradient(transparent, #092319ed);
}
.street-label span:first-child { display: block; font-size: clamp(1.32rem, 2.3vw, 2.2rem); line-height: 1.2; margin-bottom: .25rem; }
.street-label span:last-child { font-size: .875rem; }
.street-reveal { animation: reveal .38s cubic-bezier(.16,1,.3,1); }
@keyframes reveal { from { clip-path: inset(0 2% 0 0); filter: saturate(.72); } to { clip-path: inset(0); } }
.finder { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 14px; padding-top: .85rem; }
.finder label { min-width: 0; }
.finder select {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: .28rem;
  padding: .5rem .3rem;
  border: 1px solid #536948;
  border-radius: 0;
  background: #f4f6c9;
}

.neighbourhoods, .results { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.35rem 6vw; align-items: end; margin-bottom: 1.85rem; }
.section-heading h2 { max-width: 16ch; }
.section-heading p { max-width: 43ch; }
.hood-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 3.5vw; }
.hood { min-width: 0; }
.hood:last-child { margin-top: 3.5rem; }
.hood img { width: 100%; height: auto; aspect-ratio: 1.56; object-fit: cover; }
.hood-copy { padding: 1.25rem 0 .85rem; border-bottom: 1px solid var(--line); }
.hood-copy p { margin: .75rem 0 1rem; max-width: 43ch; }
.results-band { background: var(--list); }
.results .section-heading { margin-bottom: 1rem; }
.result-count { font-weight: 700; }
.fees { margin-bottom: 1.45rem; font-size: .9rem; }
.rental-grid { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); }
.rental-card, .saved-home { background: var(--paper); border-bottom: 1px solid var(--line); }
.rental-media { display: block; }
.rental-card img, .saved-home img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.rental-copy { padding: 1.25rem; }
.rental-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.rental-copy h3 { margin: .4rem 0 .65rem; }
.rent { font-size: clamp(1.03rem, 2vw, 1.5rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.rental-copy .button { margin-top: 1rem; }
.saved-tag { display: inline-block; margin-inline: .65rem 0; font-size: .86rem; }
.empty { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.2rem, 4vw, 3.4rem); }
.empty h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.empty p { margin: .65rem 0 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.closing { background: var(--lime); }
.closing-inner { display: flex; align-items: center; gap: 2rem; justify-content: space-between; padding-block: clamp(2.75rem, 5.2vw, 5rem); }
.closing h2 { max-width: 16ch; }
.closing p { margin: .85rem 0 1rem; max-width: 51ch; }
.closing img { width: 37%; max-height: 234px; object-fit: cover; }
.subpage { padding-top: clamp(1rem, 3vw, 3rem); padding-bottom: clamp(2rem, 4.5vw, 4rem); }
.subpage h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.back { margin-bottom: .8rem; }
.detail-top { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.85rem; }
.detail-top h1 { max-width: 18ch; }
.detail-top div p { margin-top: .5rem; }
.detail-top .rent { flex-shrink: 0; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 5vw, 72px); }
.detail-grid > img { width: 100%; aspect-ratio: 1.36; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 1.25rem; border-block: 1px solid var(--line); padding: .75rem 0; }
.facts dt { font-size: .875rem; }
.facts dd { font-weight: 700; }
.detail-description h2 { font-size: clamp(1.55rem, 2.7vw, 2.4rem); margin: 1.2rem 0 .45rem; }
.detail-description .fees { margin: .8rem 0 1.2rem; }
.saved h1 { margin-bottom: 1.5rem; }
.saved-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(18px, 4vw, 58px); }
.saved-home { background: var(--list); }
.notes { padding: clamp(18px, 4vw, 40px); background: var(--list); align-self: start; }
.notes label { font-weight: 700; }
.notes textarea { display: block; width: 100%; resize: vertical; margin-top: .6rem; padding: .8rem; border: 1px solid #536948; background: var(--paper); caret-color: var(--ink); }
.notes textarea::placeholder { color: #45594b; }
.notes p { margin: .7rem 0 1rem; }
.text-button { border: 0; background: transparent; text-decoration: underline; text-underline-offset: .25em; padding: .5rem; margin-left: .65rem; }
.footer { padding-bottom: max(1.6rem, env(safe-area-inset-bottom)); }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 800px) {
  .site-bar { flex-wrap: wrap; }
  .site-bar nav { order: 4; width: 100%; flex-wrap: wrap; }
  .enhanced .menu { display: inline-flex; }
  .enhanced .site-bar nav { display: none; }
  .enhanced .site-bar nav.open { display: flex; flex-direction: column; gap: 0; }
  .site-bar nav a { border-top: 1px solid #9ba95e; }
  .masthead { gap: 1rem; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder button { grid-column: 1/-1; }
  .rental-grid { grid-template-columns: repeat(2,minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hero { padding-top: 1.25rem; }
  .masthead, .section-heading, .hood-grid, .rental-grid, .detail-grid, .saved-grid { grid-template-columns: 1fr; }
  .masthead { padding-bottom: 1.2rem; gap: .7rem; }
  .masthead h1 { font-size: clamp(2.18rem, 9vw, 3.5rem); max-width: 17ch; }
  .masthead p { margin-bottom: .6rem; }
  .street { min-height: clamp(12.2rem, 57vw, 18rem); }
  .street-photo { background-position: center 56%; }
  .street-label { padding-top: 2.2rem; }
  .finder { gap: 8px; font-size: .875rem; }
  .finder select { width: 100%; }
  .hood-grid { gap: 2rem; }
  .hood:last-child { margin-top: 0; }
  .closing-inner { display: block; }
  .closing img { width: 100%; margin-top: 1.15rem; }
  .detail-top { display: block; }
  .detail-top .rent { margin-top: .7rem; }
  .detail-grid > img { aspect-ratio: 1.35; }
}
@media (max-width: 350px) {
  .finder { grid-template-columns: 1fr; }
}
@media (min-width: 621px) and (max-height: 460px) {
  .hero { padding-top: .9rem; }
  .masthead { padding-bottom: .75rem; }
  .masthead h1 { font-size: clamp(2.35rem, 5.8vw, 3.35rem); }
}
@media (prefers-reduced-motion: reduce) { .street-reveal { animation: none; } }
