@font-face {
  font-family: "Instrument Sans";
  src: url("/media/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #192923;
  --muted: #5e584d;
  --canvas: #f1e7d8;
  --white: #fcf7ef;
  --soft: #eadcc8;
  --line: #d4c2aa;
  --brand: #132d26;
  --brand-hover: #264a3b;
  --brand-soft: #e1e8de;
  --accent: #975e3e;
  --focus: #2f6856;
  --card-hover-tint: rgb(0 0 0 / 5%);
  --font: "Instrument Sans", system-ui, sans-serif;
  --font-display: var(--font);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 7px;
  --radius-md: 13px;
  --radius-lg: 18px;
  --radius-pill: 99px;
  --page: 1240px;
  --gutter: clamp(20px, 5.2vw, 80px);
  --motion: 170ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 450 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.05; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button:not([disabled]), select { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
a:focus-visible, button:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
[data-icon] { display: inline-flex; flex: none; width: 1.2em; height: 1.2em; vertical-align: middle; }
[data-icon] > svg { width: 100%; height: 100%; }
.shell { width: min(var(--page), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; background: var(--white); color: var(--brand); padding: 12px 18px; border-radius: var(--radius-sm); }

.nav { min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; justify-content: flex-start; width: max-content; line-height: 1; }
.brand-wordmark { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink); font: 700 2rem/1 var(--font); letter-spacing: -.07em; white-space: nowrap; }
.brand-wordmark > span { font: 650 .9rem/1 var(--font); letter-spacing: -.018em; }
.nav-links { display: flex; align-items: center; gap: clamp(4px, 1.1vw, 16px); }
.nav-link, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 680; }
.nav-link {
  --nav-link-padding: clamp(16px, 2vw, 23px);
  --nav-icon-offset: 11px;
  --nav-icon-reveal: 0;
  --nav-slide: 240ms cubic-bezier(.2, .75, .25, 1);
  position: relative;
  justify-content: center;
  padding-inline: var(--nav-link-padding);
  border-radius: var(--radius-pill);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color var(--motion), color var(--motion);
}
.nav-link > span:last-child {
  transform: translateX(calc(var(--nav-icon-offset) * var(--nav-icon-reveal)));
  transition: transform var(--nav-slide);
}
.nav-link .nav-link-icon {
  position: absolute;
  inset-inline-start: calc(var(--nav-link-padding) - var(--nav-icon-offset));
  inset-block-start: 50%;
  width: 16px;
  height: 16px;
  opacity: var(--nav-icon-reveal);
  transform: translate(calc(7px * (1 - var(--nav-icon-reveal))), -50%);
  transition: opacity var(--nav-slide), transform var(--nav-slide);
}
@media (hover: hover) {
  .nav-link:hover { --nav-icon-reveal: 1; background-color: var(--white); }
}
.nav-link:focus-visible { --nav-icon-reveal: 1; outline-offset: 2px; }
.nav-link[aria-current]:not([aria-current="false"]) { --nav-icon-reveal: 1; background-color: var(--soft); color: var(--brand); }
.nav-link[aria-current]:not([aria-current="false"]) .nav-link-icon {
  animation: nav-icon-in var(--nav-slide);
}
@keyframes nav-icon-in {
  from { opacity: 0; transform: translate(7px, -50%); }
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: .4em; }
.saved-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 8px;
  min-height: 44px;
  padding-inline: 13px;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: transparent;
  font-size: .9rem;
  font-weight: 680;
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--motion), background-color var(--motion);
}
.saved-toggle > [data-icon] { width: 17px; height: 17px; }
.saved-toggle:focus-visible { outline-offset: 2px; }
@media (hover: hover) {
  .saved-toggle:hover { background: var(--white); }
  .saved-toggle:hover .saved-count { background: var(--canvas); }
}
.saved-toggle[aria-pressed=true] { color: var(--brand); background: var(--soft); }
.saved-toggle[aria-pressed=true] [data-icon=heart] > svg { fill: none; }
.saved-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: var(--soft);
  font-size: .72rem;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: color var(--motion), background-color var(--motion);
}
.saved-toggle[aria-pressed=true] .saved-count { color: var(--brand); background: var(--white); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700; line-height: 1.25; transition: color var(--motion), border-color var(--motion), background var(--motion); }
.button-primary { background: var(--brand); border-color: var(--brand); color: var(--white); }
.button-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button-secondary { background: transparent; border-color: var(--line); }
.button-secondary:hover, .button-secondary[aria-pressed=true] { border-color: #9aab9d; color: var(--brand); background: var(--brand-soft); }
[aria-pressed=true] [data-icon=heart] > svg { fill: currentColor; }

.hero {
  --hero-search-inset: clamp(22px, 5.5vw, 72px);
  --hero-search-overlap: clamp(8px, 1vw, 14px);
  margin-top: clamp(22px, 3.1vw, 44px);
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: #f4e5d0;
  background-image:
    repeating-linear-gradient(0deg, rgb(111 76 46 / .035), transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(255 250 242 / .2), transparent 1.5px 5px),
    linear-gradient(115deg, #f7ebd9, #f2e2cc);
}
.hero-layout::after {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-md) - 1px);
  box-shadow: inset 0 3px 18px rgb(41 31 21 / .112);
  pointer-events: none;
  content: "";
}
.hero-copy {
  --hero-copy-inset: clamp(16px, 2.4vw, 36px);
  padding-inline-start: var(--hero-copy-inset);
}
.rent-hero .hero-copy {
  --hero-copy-offset: calc(var(--hero-copy-inset) * .5);
  margin-inline-end: calc(-1 * var(--hero-copy-offset));
  padding-inline-start: calc(var(--hero-copy-inset) + var(--hero-copy-offset));
}

.hero h1 { font: 535 clamp(2.45rem, 6.45vw, 5.5rem)/1.01 var(--font-display); letter-spacing: -.056em; word-spacing: .028em; }
.hero-intro { max-width: 32ch; margin-top: 19px; color: var(--muted); font-size: clamp(1rem, 1.42vw, 1.11rem); line-height: 1.65; text-wrap: pretty; }
.hero-figure {
  --hero-fade-direction: to right;
  --hero-fade-size: clamp(78px, 12vw, 180px);
  background: var(--soft);
  mask-image: linear-gradient(
    var(--hero-fade-direction),
    transparent,
    rgb(0 0 0 / .11) calc(var(--hero-fade-size) * .2),
    rgb(0 0 0 / .42) calc(var(--hero-fade-size) * .45),
    rgb(0 0 0 / .77) calc(var(--hero-fade-size) * .7),
    rgb(0 0 0 / .95) calc(var(--hero-fade-size) * .9),
    #000 var(--hero-fade-size)
  );
}
.rent-hero .hero-figure { --hero-fade-size: clamp(156px, 24vw, 360px); }
.hero-figure img { width: 100%; height: clamp(325px, 29vw, 430px); object-fit: cover; object-position: 60% 52%; }

.search-panel { display: grid; grid-template-columns: 1.25fr .9fr .9fr auto; align-items: stretch; margin: 19px 0 0; min-height: 76px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.search-field { --field-pad: clamp(10px, 1.55vw, 23px); position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 9px; align-content: center; align-items: center; min-width: 0; min-height: 48px; padding: 7px var(--field-pad); }
.search-field + .search-field { border-left: 1px solid var(--line); }
.search-icon { grid-row: 1 / 3; color: var(--brand); }
.search-name { grid-column: 2; grid-row: 1; align-self: end; font-size: .875rem; font-weight: 700; pointer-events: none; }
.search-field select, .sort select {
  appearance: none; min-width: 0; width: 100%; border: 0; border-radius: 4px; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235e584d' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; color: var(--muted); line-height: 1.4; text-overflow: ellipsis;
}
.search-field select { position: absolute; inset: 0; min-height: 100%; padding: 23px calc(var(--field-pad) + 20px) 3px calc(var(--field-pad) + 31px); background-position: right var(--field-pad) center; font-size: .9rem; }
.search-field select:focus-visible { outline-offset: -2px; }
.search-field .search-name { transform: translateY(-8px); }
.search-button { min-height: 53px; padding-inline: clamp(16px, 2.2vw, 28px); margin-left: 7px; white-space: nowrap; }
.hero .search-panel {
  position: relative;
  width: calc(100% - 2 * var(--hero-search-inset));
  min-height: 68px;
  margin: calc(-1 * var(--hero-search-overlap)) auto 0;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: var(--canvas);
  box-shadow: 0 -9px 21px -10.5px rgb(41 31 21 / .196);
}
.hero .search-button { min-height: 47px; }

.rentals { padding-block: clamp(32px, 3.6vw, 53px) clamp(64px, 8vw, 120px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 17px; }
.section-heading h2 { font: 540 clamp(2.3rem, 3.7vw, 3.65rem)/1.07 var(--font-display); letter-spacing: -.052em; }
.section-heading p { color: var(--muted); margin-top: 8px; font-size: .92rem; }
.sort { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); flex: none; }
.sort > [data-icon] { color: var(--muted); width: 16px; height: 16px; }
.sort select { min-height: 42px; padding: 7px 20px 7px 0; color: var(--ink); font-size: .875rem; font-weight: 680; }
.filter-row { display: flex; gap: clamp(9px, 2.3vw, 31px); flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 23px; }
.chip { min-height: 44px; padding: 8px 5px 7px; color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: .9rem; font-weight: 680; line-height: 1.25; white-space: nowrap; transition: border-color var(--motion), color var(--motion); }
.chip:hover { color: var(--brand); border-color: #9bad9b; }
.chip[aria-pressed=true] { color: var(--brand); border-color: var(--brand); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 19px; }
.filter-token { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 4px 11px; border: 1px solid #bfcabd; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 680; }
.filter-token:hover { background: #d5e2d6; }
.filter-token [data-icon] { width: 15px; height: 15px; }
.filter-reset { min-height: 44px; padding-inline: 8px; border: 0; background: transparent; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-size: .87rem; font-weight: 680; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 46px) clamp(15px, 2.4vw, 34px); }
.card-hover { position: relative; isolation: isolate; }
@media (hover: hover) {
  .card-hover::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: background-color var(--motion);
    content: "";
  }
  .card-hover:hover::before { background-color: var(--card-hover-tint); }
  .card.card-hover::before {
    inset: calc(-1 * var(--card-hover-padding, 12px));
    border-radius: calc(var(--radius-md) + var(--card-hover-padding, 12px));
  }
}
.card { display: flex; min-width: 0; flex-direction: column; border-radius: var(--radius-md); }
.card-photo { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.54; background: var(--soft); border-radius: var(--radius-md); overflow: hidden; }
.card-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 13px 2px 0; }
.card-label { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .83rem; font-weight: 680; line-height: 1.38; }
.card-label [data-icon] { width: 14px; height: 14px; color: var(--accent); }
.card h3 { margin-top: 7px; font: 570 clamp(1.33rem, 1.9vw, 1.72rem)/1.16 var(--font-display); letter-spacing: -.032em; text-wrap: pretty; }
.card-link::after { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: var(--radius-md); }
.card-link:focus-visible { outline: 0; }
.card-link:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 4px; }
.card-footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; justify-content: space-between; margin: auto 0 0; padding: 11px 0 9px; }
.price { color: var(--ink); font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -.032em; }
.price small { color: var(--muted); font-size: .81rem; font-weight: 650; letter-spacing: 0; }
.card-availability, .detail-availability { color: #425e4e; font-size: .8rem; font-weight: 680; }
.facts { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 15px; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 700; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.facts [data-icon] { color: #52685b; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 50%; transition: background var(--motion), border-color var(--motion), color var(--motion); }
.icon-button:hover, .icon-button[aria-pressed=true] { color: var(--brand); background: var(--brand-soft); border-color: #a9b9ab; }
.card-save { position: absolute; z-index: 2; top: 11px; right: 11px; }
.photo-placeholder { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 23px; color: #46584b; width: 100%; height: 100%; text-align: center; background: radial-gradient(ellipse at 25% 0, var(--white), var(--soft) 88%); font-size: .875rem; font-weight: 700; }
.photo-placeholder > [data-icon] { width: 25px; height: 25px; color: var(--accent); }
.skeleton > div { aspect-ratio: 1.54; border-radius: var(--radius-md); background: var(--soft); }
.skeleton > span { display: block; margin: 13px 0; width: 54%; height: 13px; border-radius: var(--radius-pill); background: var(--soft); }
.skeleton > span:nth-child(3) { width: 72%; height: 24px; }
.skeleton > span:last-child { width: 39%; }
.empty-state { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 40px 18px; text-align: center; background: var(--white); }
.empty-state > [data-icon] { color: var(--brand); width: 27px; height: 27px; margin-bottom: 9px; }
.empty-state h3 { font: 550 1.8rem/1.14 var(--font-display); letter-spacing: -.04em; }
.empty-state p { max-width: 41ch; margin: 10px auto 15px; color: var(--muted); }

.site-footer {
  --footer-art-height: clamp(144px, 20vw, 320px);
  color: var(--ink);
  background: linear-gradient(to bottom, var(--canvas), var(--soft) var(--footer-art-height));
}
.site-footer::before {
  display: block;
  height: var(--footer-art-height);
  background: url("/media/editorial/vancouver-footer-skyline.webp") center bottom / cover no-repeat;
  mask-image: linear-gradient(to bottom, transparent, #000 29%, #000 74%, transparent);
  opacity: .76;
  pointer-events: none;
  content: "";
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 130px; padding-block: 24px 32px; }
.footer-inner p { color: var(--muted); margin-top: 4px; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

.detail-gallery { background: var(--canvas); }
.detail-photo { position: relative; display: grid; place-items: center; height: clamp(238px, 48vw, 470px); touch-action: pan-y; overflow: hidden; background: var(--soft); }
.detail-photo > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery-control { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-prev { left: 11px; }
.gallery-next { right: 11px; }
.gallery-page { position: absolute; bottom: 12px; right: 12px; display: inline-flex; cursor: default; color: var(--white); background: #172a24dd; padding: 5px 12px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; }
.gallery-thumbnails { display: flex; flex-wrap: nowrap; gap: 8px; padding: 10px clamp(12px, 3vw, 28px); overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbnail { flex: 0 0 66px; height: 47px; padding: 2px; border: 2px solid transparent; background: transparent; border-radius: 6px; }
.gallery-thumbnail[aria-current=true] { border-color: var(--brand); }
.gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.detail-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(238px, .54fr); grid-template-areas: "summary enquiry" "details enquiry"; align-items: start; gap: 22px 34px; padding: clamp(20px, 4vw, 40px); }
.detail-summary { grid-area: summary; min-width: 0; }
.detail-title { margin: 7px 0 13px; font: 550 clamp(2rem, 3.6vw, 3.1rem)/1.08 var(--font-display); letter-spacing: -.048em; text-wrap: pretty; }
.detail-summary .facts { border: 0; padding-top: 0; }
.detail-enquiry { grid-area: enquiry; position: sticky; top: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; background: var(--canvas); }
.detail-enquiry .price { font-size: 1.46rem; }
.detail-availability { margin-top: 5px; }
.detail-enquiry .button-primary { width: 100%; }
.detail-enquiry .icon-button { flex: none; }
.detail-enquiry .detail-actions { margin-top: 14px; }
.detail-copy-field { display: block; margin-top: 8px; }
.detail-copy-field input { width: 100%; min-height: 44px; padding: 7px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font: inherit; font-size: .8rem; }
.detail-sections { grid-area: details; min-width: 0; }
.detail-section { padding-top: 19px; border-top: 1px solid var(--line); }
.detail-section + .detail-section { margin-top: 22px; }
.detail-section p { color: var(--muted); white-space: pre-line; }
.detail-description p + p { margin-top: 13px; }
.detail-description ul { margin: 11px 0 0; padding-inline-start: 23px; color: var(--muted); }
.detail-description li + li { margin-top: 4px; }
.detail-actions, .amenities { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.amenities { margin: 12px 0 0; padding: 0; list-style: none; }
.amenities li { padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); border-radius: 4px; font-size: .86rem; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; color: #44584b; background: var(--brand-soft); border-radius: 4px; font-size: .79rem; font-weight: 680; }
.badge-available { color: #214c39; }
.detail-notes, .detail-feedback { color: var(--muted); margin-top: 9px; font-size: .84rem; }
.detail-feedback:empty { display: none; }
.toast { position: fixed; z-index: 6; bottom: 17px; right: 17px; max-width: calc(100% - 34px); padding: 9px 15px; border-radius: var(--radius-sm); color: var(--white); background: var(--brand); font-size: .9rem; }

@media (max-width: 1000px) {
  .listing-grid { --card-hover-padding: 8px; gap: 30px 17px; }
}

@media (max-width: 900px) {
  .hero { --hero-search-inset: clamp(22px, 4.5vw, 42px); }
  .hero .search-field { --field-pad: 7px; grid-template-columns: 16px minmax(0, 1fr); gap: 0 5px; }
  .hero .search-field .search-icon { width: 16px; height: 16px; }
  .hero .search-field select {
    padding-inline: calc(var(--field-pad) + 21px) calc(var(--field-pad) + 14px);
    background-size: 13px;
  }
}

@media (max-width: 810px) {
  .nav { min-height: 72px; gap: 12px; }
  .hero-layout { gap: 24px; }
  .hero-figure img { height: clamp(278px, 43vw, 380px); }
  .search-field { --field-pad: 10px; gap: 0 5px; }
  .search-field select { padding-inline-start: calc(var(--field-pad) + 27px); }
  .search-button { padding-inline: 13px; }
  .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .search-panel { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 0; }
  .search-field:first-child { grid-column: 1 / -1; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
  .search-field:nth-child(2) { border-left: 0; }
  .search-button { grid-column: 1 / -1; margin-left: 0; min-height: 47px; }
}

@media (max-width: 720px) {
  .site-nav { grid-template-columns: 1fr auto; grid-template-rows: minmax(62px, auto) auto; gap: 0 8px; }
  .site-nav > .brand { grid-column: 1; grid-row: 1; }
  .site-nav > .saved-toggle { grid-column: 2; grid-row: 1; }
  .site-nav .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; }
  .nav-link { --nav-link-padding: clamp(14px, 3.8vw, 18px); --nav-icon-offset: 10px; font-size: .86rem; }
  .nav-link .nav-link-icon { width: 15px; height: 15px; }
}

@media (max-width: 620px) {
  .nav { min-height: 66px; }
  .brand { gap: 8px; }
  .brand-wordmark { font-size: 1.8rem; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .rent-hero .hero-copy { margin-inline-end: 0; }

  .hero h1 { font-size: clamp(2.8rem, 11.4vw, 4.2rem); }
  .hero-intro { margin-top: 14px; font-size: .965rem; }
  .hero-figure { --hero-fade-direction: to bottom; --hero-fade-size: clamp(30px, 8.5vw, 50px); }
  .rent-hero .hero-figure { --hero-fade-size: clamp(60px, 17vw, 100px); }
  .hero-figure img { height: clamp(142px, 38vw, 235px); object-position: 58% 53%; }
  .search-panel { margin-top: 13px; }
  .section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 9px; }
  .section-title { display: contents; }
  .section-heading p { margin: 0; }
  .section-heading h2 { grid-column: 1 / -1; font-size: clamp(2.22rem, 7.9vw, 3.25rem); }
  .sort { margin-top: 0; padding-inline: 8px; }
  .sort > [data-icon] { display: none; }
  .sort select { font-size: .83rem; }
  .filter-row { gap: 7px 14px; margin-bottom: 17px; }
  .chip { padding-inline: 1px; }
  .site-footer::before { background-position: 78% bottom; }
  .footer-inner { align-items: start; flex-direction: column; gap: 12px; }
  .footer-links { gap: 0 20px; }
  .detail-content { display: block; padding: 17px; }
  .detail-enquiry { position: static; margin-top: 19px; }
  .detail-sections { margin-top: 23px; }
  .detail-title { font-size: clamp(1.93rem, 7.4vw, 2.7rem); }
}

@media (max-width: 480px) {
  .listing-grid { grid-template-columns: minmax(0, 1fr); gap: 31px; }
}

@media (max-width: 365px) {
  .nav { gap: 6px; }
  .saved-toggle { padding-inline: 8px; gap: 5px; }
  .brand-wordmark { gap: 5px; }
  .brand-wordmark > span { font-size: .75rem; }
  .hero .search-field:not(:first-child) { grid-template-columns: minmax(0, 1fr); }
  .hero .search-field:not(:first-child) .search-icon { display: none; }
  .hero .search-field:not(:first-child) .search-name { grid-column: 1; }
  .hero .search-field:not(:first-child) select { padding-inline-start: var(--field-pad); }
  .filter-row { gap: 5px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
