@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-xs: 7px;
  --radius-sm: 12px;
  --radius-md: 19px;
  --radius-lg: 26px;
  --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(20px, 2.4vw, 30px);
  --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: 19px;
  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 {
  --hero-radius: var(--radius-md);
  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(--hero-radius);
  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(--hero-radius) - 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);
  --field-icon: 22px;
  --field-gap: 9px;
  --field-value-indent: calc(var(--field-pad) + var(--field-icon) + var(--field-gap));
  --field-arrow: var(--field-pad);
  position: relative;
  display: grid;
  grid-template-columns: var(--field-icon) minmax(0, 1fr);
  gap: 0 var(--field-gap);
  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-icon, .search-name, .sort-icon { position: relative; z-index: 1; pointer-events: none; }
.search-name { grid-column: 2; grid-row: 1; align-self: end; font-size: .875rem; font-weight: 700; }
.search-field :is(select, .select-trigger), .sort :is(select, .select-trigger) {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
  background-color: transparent;
  color: var(--muted);
  line-height: 1.4;
  text-overflow: ellipsis;
  transition: background-color var(--motion), box-shadow var(--motion);
}
.search-field select, .sort select {
  appearance: none;
  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;
}
.search-field :is(select, .select-trigger) {
  position: absolute;
  inset: 0;
  min-height: 100%;
  padding: 23px calc(var(--field-arrow) + 20px) 3px var(--field-value-indent);
  font-size: .9rem;
}
.search-field select { background-position: right var(--field-arrow) center; }
.search-field :is(select, .select-trigger):focus-visible, .sort :is(select, .select-trigger):focus-visible {
  outline: none;
  background-color: rgb(95 70 44 / .07);
  box-shadow: inset 0 0 0 1px #8d8274;
}
@media (forced-colors: active) {
  .search-field :is(select, .select-trigger):focus-visible, .sort :is(select, .select-trigger):focus-visible {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}
.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}
.select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger > [data-icon] {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 240ms cubic-bezier(.2, .75, .25, 1);
}
.search-field .select-trigger > [data-icon] { position: absolute; inset-inline-end: var(--field-arrow); inset-block-start: 50%; translate: 0 -50%; }
.select-trigger[aria-expanded=true] > [data-icon] { transform: rotate(180deg); }
.search-field .select-trigger[aria-expanded=true], .sort .select-trigger[aria-expanded=true] { background-color: rgb(95 70 44 / .07); }
@media (hover: hover) {
  .search-field .select-trigger:hover, .sort .select-trigger:hover { background-color: rgb(95 70 44 / .06); }
}

.select-menu {
  --menu-motion: 230ms cubic-bezier(.16, 1, .3, 1);
  --menu-offset: -6px;
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  border: 1px solid #e3d8c8;
  border-radius: var(--radius-md);
  background: #fffdfa;
  color: var(--ink);
  box-shadow: 0 16px 40px -12px rgb(54 42 26 / .25), 0 2px 8px rgb(54 42 26 / .07);
  opacity: 0;
  pointer-events: none;
  transform: translateY(var(--menu-offset)) scale(.98);
  transform-origin: center top;
  transition: opacity 150ms ease, transform var(--menu-motion), display 150ms allow-discrete, overlay 150ms allow-discrete;
}
.select-menu[data-above=true] { --menu-offset: 6px; transform-origin: center bottom; }
.select-menu:popover-open { opacity: 1; pointer-events: auto; transform: none; }
@starting-style {
  .select-menu:popover-open { opacity: 0; transform: translateY(var(--menu-offset)) scale(.98); }
}
.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 560;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 130ms ease, color 130ms ease;
}
.select-option[aria-selected=true] { color: var(--brand); background-color: #f2ede4; font-weight: 700; }
.select-option[data-active], .select-option:hover { background-color: #e9e3d8; }
.select-option[aria-disabled=true] { opacity: .45; cursor: default; }
.select-option > [data-icon] { width: 16px; height: 16px; visibility: hidden; }
.select-option[aria-selected=true] > [data-icon] { visibility: visible; }

.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; border-radius: var(--radius-md); }

.rentals {
  margin-block-start: clamp(24px, 3.5vw, 52px);
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 120px);
  padding-inline: max(clamp(24px, 6vw, 96px), calc((100% - var(--page)) / 2));
  border-start-start-radius: clamp(26px, 4vw, 56px);
  border-start-end-radius: clamp(26px, 4vw, 56px);
  background: #fff;
}
.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; }
.results-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 8px; }
.results-summary p { color: var(--muted); font-size: .92rem; }
.results-summary .filter-reset { padding-inline: 0; }
.saved-return { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 8px 0 0; margin-bottom: 3px; border: 0; color: var(--brand); background: transparent; font-size: .87rem; font-weight: 680; }
.saved-return:hover { text-decoration: underline; text-underline-offset: .18em; }
.sort { position: relative; display: flex; align-items: center; width: 190px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); flex: none; }
.sort-icon { position: absolute; inset-inline-start: 12px; color: var(--muted); width: 16px; height: 16px; }
.sort :is(select, .select-trigger) { min-height: 42px; padding: 7px 12px 7px 36px; color: var(--ink); font-size: .875rem; font-weight: 680; }
.sort select { padding-inline-end: 30px; background-position: right 12px center; }
.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; border-radius: var(--radius-xs) var(--radius-xs) 0 0; 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); }
.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(--card-radius) + var(--card-hover-padding, 12px));
  }
}
.card { --card-radius: var(--radius-md); display: flex; min-width: 0; flex-direction: column; border-radius: var(--card-radius); }
.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(--card-radius); }
.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: var(--radius-sm); }
.gallery-thumbnail[aria-current=true] { border-color: var(--brand); }
.gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xs); }
.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: var(--radius-xs); font-size: .86rem; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; color: #44584b; background: var(--brand-soft); border-radius: var(--radius-xs); 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; --field-icon: 16px; --field-gap: 5px; }
  .hero .search-field .search-icon { width: 16px; height: 16px; }
  .hero .search-field select {
    background-size: 13px;
  }
  .hero .search-field .select-trigger > [data-icon] { width: 13px; height: 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; --field-gap: 5px; }
  .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: 900px) and (pointer: coarse) {
  .hero .search-field :is(select, .select-trigger), .sort :is(select, .select-trigger) { font-size: 1rem; }
}

@media (max-width: 720px) {
  :root { --gutter: clamp(16px, 4.5vw, 26px); }
  .site-nav { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(58px, 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 {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr 1fr minmax(max-content, 1.38fr);
    justify-self: center;
    width: min(100%, 430px);
    gap: 3px;
    padding: 3px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--soft) 70%, transparent);
  }
  .site-nav .nav-link { gap: 6px; padding-inline: clamp(10px, 2.8vw, 16px); font-size: .87rem; }
  .site-nav .nav-link > span:last-child { transform: none; }
  .site-nav .nav-link .nav-link-icon { position: static; width: 15px; height: 15px; opacity: 1; transform: none; animation: none; }
  .site-nav .nav-link[aria-current]:not([aria-current=false]) { background: var(--white); box-shadow: 0 1px 3px rgb(41 31 21 / .09); }

  .rent-hero { --hero-search-inset: 10px; --hero-search-overlap: 11px; margin-top: 15px; }
  .rent-hero .hero-layout { --hero-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .rent-hero .hero-copy { position: relative; z-index: 1; margin: 0; padding: clamp(20px, 5.6vw, 32px) clamp(20px, 6.2vw, 34px) 0; }
  .rent-hero h1 { font-size: clamp(2.45rem, 10.9vw, 4rem); }
  .rent-hero .hero-intro { margin-top: 10px; font-size: 1rem; line-height: 1.45; }
  .rent-hero .hero-figure { --hero-fade-direction: to bottom; --hero-fade-size: clamp(45px, 13vw, 76px); }
  .rent-hero .hero-figure img { height: clamp(142px, 39vw, 226px); object-position: 58% 51%; }
  .rent-hero .search-panel { gap: 3px 0; padding: 6px; background: var(--white); }
  .search-panel .search-field {
    --field-pad: 9px;
    --field-icon: 15px;
    --field-gap: 5px;
    --field-value-indent: var(--field-pad);
    grid-template-rows: 18px 21px;
    min-height: 55px;
    padding: 6px var(--field-pad);
  }
  .search-panel .search-field .search-icon { grid-row: 1; grid-column: 1; width: 15px; height: 15px; }
  .search-panel .search-field .search-name { align-self: center; font-size: .78rem; line-height: 1.15; transform: none; }
  .search-panel .search-field :is(select, .select-trigger) {
    padding: 24px calc(var(--field-arrow) + 15px) 5px var(--field-value-indent);
    font-size: 1rem;
  }
  .search-panel .search-field select { background-position: right var(--field-arrow) bottom 11px; }
  .search-panel .search-field .select-trigger > [data-icon] { inset-block-start: auto; inset-block-end: 11px; translate: none; }
  .rent-hero .search-button { min-height: 46px; margin-top: 2px; }
  .sort :is(select, .select-trigger) { min-height: 44px; font-size: 1rem; }
}

@media (max-width: 620px) {
  .nav { min-height: 66px; }
  .brand { gap: 8px; }
  .brand-wordmark { font-size: 1.8rem; }
  .search-panel { margin-top: 13px; }
  .section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 9px; margin-bottom: 12px; }
  .section-title { display: contents; }
  .results-summary { margin-top: 0; }
  .section-heading h2 { grid-column: 1 / -1; font-size: clamp(2.06rem, 8vw, 3.25rem); }
  .saved-return { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
  .sort { width: 172px; }
  .sort-icon { display: none; }
  .sort :is(select, .select-trigger) { padding-inline-start: 12px; }
  .rentals .filter-row { gap: 6px; margin-bottom: 15px; border: 0; }
  .rentals .chip { flex: 1 0 auto; padding-inline: 9px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .82rem; }
  .rentals .chip[aria-pressed=true] { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
  .site-footer { --footer-art-height: clamp(104px, 30vw, 164px); }
  .site-footer::before { background-position: 74% bottom; }
  .footer-inner { align-items: start; flex-direction: column; gap: 9px; min-height: 0; padding-block: 15px max(20px, env(safe-area-inset-bottom)); }
  .footer-links { gap: 0 16px; }
  .footer-links a { font-size: .85rem; }
  .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: 540px) {
  .listing-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { --card-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
  .card-photo { border-radius: calc(var(--card-radius) - 1px) calc(var(--card-radius) - 1px) 0 0; }
  .card-body { padding: 13px 14px 14px; }
  .card h3 { margin-top: 5px; font-size: 1.43rem; }
  .card .price { font-size: 1.25rem; }
  .card .facts { gap: 5px 13px; padding-top: 8px; }
}

@media (max-width: 365px) {
  .saved-toggle { padding-inline: 12px; gap: 5px; }
  .brand-wordmark { gap: 5px; }
  .brand-wordmark > span { font-size: .75rem; }
  .rent-hero { --hero-search-inset: 7px; }
  .rent-hero .search-field { --field-arrow: 7px; }
  .rentals .filter-row { gap: 4px; }
  .rentals .chip { padding-inline: 5px; }
}

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