:root {
  color-scheme: light;
  --ink: #132f43;
  --muted: #52646b;
  --gold: #8a6935;
  --line: #d7dad4;
  --paper: #fffefa;
  --serif: Georgia, "Times New Roman", serif;
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-underline-offset: .25em }
button, input, select { font: inherit; color: inherit }
:focus-visible { outline: 3px solid #177eab; outline-offset: 3px }
.wrap { width: min(91%, 1440px); margin-inline: auto }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 3; background: white; padding: .6rem }
.skip:focus { top: 0 }
header { background: white; border-bottom: 1px solid var(--line) }
.head, nav, .sectionhead, .resultbar, .hero-links, footer .wrap { display: flex; align-items: center }
.head { min-height: 78px; gap: 2rem }
.logo img { display: block; width: 155px; height: 66px; object-fit: contain }
nav { margin-left: auto; gap: clamp(1.2rem, 3vw, 2.8rem) }
nav a, .contact, .button, .hero-links a, .detail, .sectionhead a { text-decoration: none; font-weight: 600 }
nav a:hover, .hero-links a:hover, .sectionhead a:hover, .detail:hover { text-decoration: underline }
.contact { color: var(--ink); border: 1px solid var(--ink); border-radius: 2rem; padding: .55rem 1.15rem }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.09; overflow-wrap: break-word }
h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.05em }
h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); letter-spacing: -.045em }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.035em }
h3 a { text-decoration: none }
h3 a:hover { text-decoration: underline }
/* Keep the brand and navigation on a quieter band above the panorama. */
.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.32fr); height: clamp(260px, 23vw, 345px); margin-top: 1.2rem; background: #f0eee6; overflow: hidden; border-radius: 4px; }
.intro { align-self: center; padding: 2rem clamp(1.7rem, 3.9vw, 4rem); }
.intro h1 { font-size: clamp(2.6rem, 5.35vw, 5.05rem); line-height: .96; letter-spacing: -.06em; }
.intro h1 em { font-weight: normal; color: #476254; }
.skyline { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 57%; }
.hero-links { gap: .85rem 1.35rem; margin-top: 1.7rem; flex-wrap: wrap; }
.hero-links a { display: inline-flex; gap: .65rem; align-items: center; border-bottom: 1px solid #9c9479; padding: .3rem 0; }
.hero-links span { color: #78602f; }
.raised { margin-top: .8rem; }
.finder { display: grid; grid-template-columns: 1fr 1.25fr 1.55fr auto; align-items: end; gap: 1rem; padding: 1.15rem 1.35rem; background: white; border: 1px solid var(--line); border-radius: 6px }
.raised .finder { background: white; }
.finder label { font-size: .78rem; font-weight: 650; color: var(--muted) }
input, select { display: block; width: 100%; margin-top: .25rem; padding: .55rem .65rem; min-height: 44px; border: 1px solid #c9cfcf; background: white; border-radius: 3px; font-size: .95rem; font-weight: 400 }
button, .button { display: inline-flex; gap: .3rem; justify-content: center; align-items: center; min-height: 44px; padding: .65rem 1.1rem; border: 0; border-radius: 3px; background: var(--ink); color: white; font-weight: 600; cursor: pointer }
button:hover, .button:hover { background: #275568 }
.section { padding-block: clamp(2.7rem, 5vw, 5.2rem) }
.sectionhead, .resultbar { justify-content: space-between; gap: 1rem }
.sectionhead { margin-bottom: 1.6rem }
.sectionhead a { font-size: .93rem; border-bottom: 1px solid var(--gold) }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.75rem) }
.card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: white; border-radius: 5px; overflow: hidden }
.card[hidden] { display: none }
.photo { position: relative; overflow: hidden }
.photo img { display: block; width: 100%; aspect-ratio: 1.62; object-fit: cover }
.photo small { position: absolute; bottom: .6rem; left: .65rem; padding: .12rem .45rem; color: white; background: #183541dd; border-radius: 2px; font-size: .7rem }
.cardbody { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 2vw, 1.55rem); min-width: 0 }
.place { color: var(--muted); font-weight: 600; font-size: .8rem; margin: 0 0 .6rem }
.place i { font-style: normal; color: var(--gold); margin-inline: .18rem }
.facts { color: var(--muted); margin: .55rem 0 1.1rem; font-size: .93rem }
.prices { display: grid; gap: .1rem; width: 100%; padding: .8rem 0; margin-top: auto; border-top: 1px solid var(--line) }
.price { font-size: 1.05rem; font-weight: 650; font-variant-numeric: tabular-nums }
.price small { display: inline-block; min-width: 2.5rem; color: var(--muted); font-size: .8rem; font-weight: 400 }
.detail { color: var(--ink); font-size: .87rem }
.detail span { color: var(--gold) }
.section > h1 { margin-bottom: 1.8rem }
.resultbar { margin: 1rem 0; font-size: .95rem }
/* Homes with verified images lead; other homes retain a compact information row. */
.inventory { gap: 1.3rem; align-items: stretch; }
.inventory .card:not(:has(.photo)) { grid-column: 1 / -1; border-width: 0 0 1px; border-radius: 0; }
.inventory .card:not(:has(.photo)) .cardbody { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr) auto; align-items: center; gap: .15rem 1.3rem; padding: .65rem .4rem 1.3rem; }
.inventory .card:not(:has(.photo)) :is(.place,h3,.facts) { grid-column: 1; margin: 0; }
.inventory .card:not(:has(.photo)) .prices { grid-column: 2; grid-row: 1 / 4; border: 0; padding: 0; margin: 0; }
.inventory .card:not(:has(.photo)) .detail { grid-column: 3; grid-row: 1 / 4; }
.neighbourhoods { background: #f3f2ef; padding-block: clamp(2.3rem, 4.5vw, 4.5rem) }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.1rem; margin-top: 1.3rem }
.area-link { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: 1.15rem 0; border-bottom: 1px solid #bdcbc6; text-decoration: none }
.area-link:hover strong { text-decoration: underline }
.area-link strong { font: 1.3rem var(--serif) }
.area-link span { font-size: .82rem; color: var(--muted) }
summary { cursor: pointer; width: fit-content; margin-top: 1.15rem; font-weight: 600 }
.inquiry { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.4rem, 5vw, 5rem) }
.inquiry p { color: var(--muted); max-width: 38rem; margin: .7rem 0 0 }
footer { background: var(--ink); color: white }
footer .wrap { flex-wrap: wrap; gap: 1.4rem; padding-block: 1.8rem }
footer b { font: 1.4rem var(--serif) }
footer a { margin-left: auto }
.back, .source { color: #435b64; font-size: .92rem; }
.back { text-decoration: none; }
.back:hover { text-decoration: underline; }
.section.property { padding-top: 1.6rem; }
.unit-title { margin: 1.4rem 0; }
.unit-title h1 { font-size: clamp(2.4rem, 4.1vw, 4.3rem); }
.unit-title .place, .card .place { text-transform: uppercase; letter-spacing: .075em; font-size: .73rem; }
.propertygrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 3rem; margin-block: 2.3rem; }
.propertygrid h2 { font-size: clamp(1.55rem, 2.6vw, 2.45rem); }
.propertygrid aside { background: #f2f1e9; border-top: 2px solid #98835e; padding: clamp(1.2rem, 2.5vw, 2.2rem); }
aside .prices { border: 0; }
aside .price { font-size: 1.45rem; }
.source { display: inline-block; margin: .55rem 1rem .25rem 0; }
.unit-facts { font-size: 1.16rem; }
.gallery-grid { display: grid; height: clamp(260px, 33vw, 435px); gap: 5px; grid-template-columns: 2.2fr 1fr 1fr; grid-template-rows: 1fr 1fr; overflow: hidden; border-radius: 5px; }
.gallery-grid a { min-height: 0; min-width: 0; cursor: zoom-in; }
.gallery-grid a:first-child { grid-row: span 2; }
.gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-viewer { position: fixed; inset: 0; width: min(94vw, 960px); max-width: 100vw; max-height: 96dvh; padding: .8rem; border: 0; border-radius: 5px; background: #132d37; color: white; }
.photo-viewer::backdrop { background: #0c202bdc; }
.photo-viewer img { display: block; width: 100%; height: min(66dvh, 590px); object-fit: contain; }
.viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: .45rem; flex-wrap: wrap; margin-top: .5rem; }
.viewer-controls button { border: 1px solid #789198; background: transparent; padding: .3rem .8rem; }
.viewer-controls output { margin-right: auto; }
.photo img { transition: transform .25s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .photo:hover img { transform: scale(1.025); } }
@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr 1fr; }
  .areas, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .propertygrid { gap: 1.5rem; }
  .hero { grid-template-columns: 1fr 1.1fr; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .sectionhead + .grid .card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .sectionhead + .grid .card:first-child img { height: 100%; min-height: 210px; }
}
@media (max-width: 640px) {
  .wrap { width: 92%; }
  .head { min-height: 60px; gap: .55rem; }
  .logo img { width: clamp(78px, 22vw, 112px); height: 49px; }
  nav { gap: clamp(.5rem, 2.4vw, 1.15rem); }
  nav a, .contact { font-size: .8rem; white-space: nowrap; }
  .contact { padding: .38rem .55rem; }
  .hero { height: auto; display: flex; flex-direction: column; margin-top: .75rem; }
  .intro { align-self: stretch; padding: 1.25rem 1.1rem; }
  .intro h1 { font-size: clamp(2.45rem, 8.6vw, 3.45rem); }
  .intro h1 br { display: none; }
  .hero-links { margin: .7rem 0 0; font-size: .88rem; }
  .skyline { height: clamp(112px, 30vw, 164px); object-position: center 58%; }
  .finder { padding: .85rem; gap: .6rem; }
  .finder label:nth-of-type(3), .finder button { grid-column: 1 / -1; }
  .grid, .areas, .propertygrid { grid-template-columns: 1fr; }
  .section { padding-block: 2rem; }
  .sectionhead { align-items: baseline; gap: .6rem; }
  .sectionhead h2 { font-size: 1.85rem; }
  .sectionhead a { font-size: .78rem; }
  .inventory .card:not(:has(.photo)) .cardbody { display: flex; align-items: flex-start; }
  .inventory .card:not(:has(.photo)) .prices { margin-block: .35rem; }
  .gallery-grid { height: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .gallery-grid a:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 1.55; }
  .gallery-grid a:not(:first-child) { aspect-ratio: 1.3; }
  .propertygrid { gap: 1.2rem; }
  .propertygrid aside { grid-row: 1; }
  .inquiry { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  footer .wrap { gap: .5rem 1rem; }
  footer a { width: 100%; margin-left: 0; }
}
/* Lead with a home visitors can actually view. */
.home-feature { display: grid; isolation: isolate; margin-top: clamp(.85rem, 1.6vw, 1.6rem); border-radius: 6px; overflow: hidden; background: #e8e4de; }
.home-intro, .feature-photo { grid-area: 1 / 1; }
.home-intro { z-index: 1; justify-self: start; align-self: center; padding: 2rem clamp(1rem, 3.2vw, 4rem); pointer-events: none; }
.home-intro h1 { max-width: 13ch; color: white; text-shadow: 0 1px 5px #0006; font-size: clamp(2.6rem, 4.4vw, 4.1rem); line-height: 1.01; letter-spacing: -.048em; text-wrap: balance; }
.home-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.45rem; }
.home-actions a { pointer-events: auto; }
.home-actions .secondary { background: white; color: var(--ink); }
.home-actions .secondary:hover { background: #efede8; }
.feature-photo { display: block; position: relative; min-width: 0; text-decoration: none; }
.feature-photo::after { content: ''; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(90deg, #201e1ac9 0%, #27241f8c 23%, transparent 58%); }
.feature-photo img { display: block; width: 100%; height: clamp(320px, 29vw, 412px); object-fit: cover; object-position: center 54%; }
.feature-caption { position: absolute; z-index: 1; bottom: .75rem; right: .75rem; left: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .85rem; padding: .5rem .75rem; background: #fffefa; color: var(--ink); font-size: .82rem; }
.feature-caption strong { font-family: var(--serif); font-size: 1rem; }
.feature-photo:hover .feature-caption strong { text-decoration: underline; }
.section.home-selection { padding-block: clamp(1.7rem, 2.8vw, 2.75rem); }
.home-selection .sectionhead { margin-bottom: clamp(.85rem, 1.5vw, 1.35rem); }
.home-search { padding-bottom: 2.5rem; }
.home-search h2 { margin-bottom: 1rem; }
@media (max-width: 700px) {
  .home-intro { align-self: start; padding: 1.25rem 1rem; }
  .home-intro h1 { max-width: 14ch; font-size: clamp(2.2rem, 7vw, 3rem); }
  .home-actions { margin-top: .9rem; }
  .feature-photo img { height: clamp(292px, 70vw, 345px); }
  .feature-photo::after { background: linear-gradient(160deg, #201e1aea 0%, #27241fc7 25%, #27241f19 69%, transparent); }
  .feature-caption { right: .5rem; bottom: .5rem; max-width: calc(100% - 1rem); }
}
.types { padding-block: .2rem clamp(2.4rem,4vw,4.2rem); }
.type-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 1rem; margin-top: 1.4rem; }
.type-tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; color: white; min-height: 135px; text-decoration: none; overflow: hidden; background: #274c50; border-radius: 4px; }
.type-tile:nth-child(2) { background: #555350; }
.type-tile:nth-child(4) { background: #635b50; }
.type-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.type-tile:has(img)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent,rgba(9,24,31,.85)); z-index: -1; }
.type-tile span { padding: .85rem 1rem; }
.type-tile strong { display: block; font: 1.45rem var(--serif); }
.type-tile small { font-size: .85rem; }
.type-tile:hover strong { text-decoration: underline; }
.agency-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.6rem, 5vw, 5rem); margin-block: 3rem; }
.agency-panel img { width: 100%; max-height: 330px; object-fit: cover; border-radius: 4px; }
.agency-panel p, .contact-grid p, .service-grid p { max-width: 57ch; }
.about-intro { margin-top: 0; }
.inquiry { padding: clamp(1.5rem,4vw,3rem); color: white; background: var(--ink); border-radius: 4px; margin-bottom: 3rem; }
.inquiry p { color: #d8e5e5; }
.inquiry-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.inquiry-links .button { background: #e9d8b8; color: var(--ink); }
.filter-extra { grid-column: 1/-1; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .9rem; border-top: 1px solid var(--line); padding-top: .8rem; }
footer .footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 1.6rem; align-items: start; padding-block: 2.4rem; }
.footer-grid a { display: block; margin: .35rem 0 0; color: #d7e4e6; text-decoration: none; font-size: .9rem; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid strong { font-weight: 650; }
.footer-grid p { margin: .5rem 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem,5vw,5rem); margin-top: 2rem; }
.contact-grid h2,.service-grid h2 { font-size: 1.75rem; }
.enquiry { background: #f0f3ef; padding: 1.5rem; border-radius: 4px; display: grid; gap: .8rem; }
.enquiry label { font-weight: 600; font-size: .89rem; }
.enquiry textarea { border: 1px solid var(--line); border-radius: 3px; display: block; width: 100%; margin-top: .25rem; padding: .6rem; font: inherit; }
.enquiry output { color: var(--muted); font-size: .9rem; }
.enquiry output:empty { display: none; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.service-grid article { border-top: 2px solid #b5a180; padding-top: 1rem; }
.credit { font-size: .8rem; color: var(--muted); margin-top: 3rem; }
.demo-list { list-style: none; margin: .8rem 0 1.6rem; padding: 0; }
.demo-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.demo-list button { display: block; background: transparent; padding: .2rem 0; color: var(--ink); text-align: left; min-height: 34px; text-decoration: underline; }
.demo-list small { color: var(--muted); }
@media(max-width:850px) {
  .type-grid,.filter-extra { grid-template-columns: 1fr 1fr; }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:640px) {
  .head { flex-wrap: wrap; justify-content: space-between; padding-block: .3rem; }
  .head nav { order: 3; width: 100%; justify-content: space-between; margin-left: 0; padding: .2rem .15rem .35rem; }
  .hero { display: grid; height: 230px; }
  .hero .intro { padding: 1.15rem; }
  .hero .intro h1 { font-size: clamp(2.8rem,10vw,3.8rem); }
  .hero .intro br { display: inline; }
  .hero .skyline { object-position: 55% center; }
  .agency-panel,.contact-grid,.service-grid { grid-template-columns: 1fr; }
  .agency-panel { gap: 1.1rem; margin-block: 2rem; }
  .types { padding-top: 0; }
  .type-tile { min-height: 100px; }
  .type-tile strong { font-size: 1.16rem; }
  .filter-extra label:nth-of-type(3) { grid-column: auto; }
}
.area-link { align-items: center; }
.area-link img { display: block; width: 52px; height: 45px; object-fit: cover; border-radius: 2px; }
.area-link span { margin-left: auto; }
.photo .offer-tag { bottom: auto; top: .7rem; left: .7rem; padding: .2rem .55rem; background: #193744ed; font-weight: 600; }

.home-feature { border-radius: 6px 6px 0 0; }
.home-intro h1 { max-width: none; line-height: 1.04; letter-spacing: -.045em; }
.feature-photo img { height: clamp(270px, 23vw, 350px); }
.quick-search { display: grid; grid-template-columns: auto minmax(0,1.2fr) minmax(0,1fr) auto; gap: clamp(.85rem,2.4vw,2.4rem); align-items: end; padding: 1.05rem clamp(1rem,2vw,2rem); background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; }
.quick-search label, .quick-search legend { font-weight: 600; font-size: .8rem; color: var(--muted); }
.quick-search fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quick-search legend { padding: 0; }
.offer-switch { display: flex; padding: 3px; margin-top: .25rem; border: 1px solid var(--line); background: #f3f2ef; border-radius: 4px; }
.offer-switch label { position: relative; flex: 1; }
.offer-switch input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; opacity: 0; }
.offer-switch span { display: grid; place-items: center; cursor: pointer; min-width: 3.8rem; height: 36px; border-radius: 2px; font-size: .95rem; }
.offer-switch input:checked + span { background: var(--ink); color: white; }
.offer-switch input:focus-visible + span { outline: 3px solid #177eab; outline-offset: 1px; }
.rent-budget, .quick-search:has(input[value="rent"]:checked) .sale-budget { display: none; }
.quick-search:has(input[value="rent"]:checked) .rent-budget { display: inline; }
.quick-search button { padding-inline: 1.6rem; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
#copy-enquiry { color: var(--ink); background: white; border: 1px solid var(--line); }
#copy-enquiry[hidden] { display: none; }
@media (max-width: 850px) {
  .quick-search { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .home-intro { align-self: center; }
  .home-intro h1 { font-size: clamp(2.4rem,9vw,3rem); }
  .feature-photo img { height: 235px; }
  .quick-search { padding: .8rem; gap: .65rem; }
  .quick-search select, .quick-search input { font-size: 1rem; }
  .quick-search button { padding-inline: .5rem; }
  .type-grid { grid-template-columns: 1fr; }
}
