/* A light photographic direction, with the agency orange reserved for accents. */
:root {
  --paper: #ffffff;
  --cream: #f5f5f3;
  --ink: #292c2b;
  --muted: #696e6b;
  --line: #e3e5e1;
}
body { background: var(--paper); }
.topbar { background: #f5f5f3; color: var(--muted); }
.topbar .container { height: 30px; font-size: 11px; letter-spacing: 0; }
.site-header { background: #fff; border-color: var(--line); }
.nav-wrap { height: 100px; }
.brand { width: 250px; }
.site-header nav a { font-size: 13px; }
.nav-cta { font-size: 12px; border-color: var(--line); padding: 13px 17px; }
.nav-cta .icon { color: var(--brand); }
.nav-cta:hover .icon { color: #fff; }
.eyebrow { color: var(--brand); letter-spacing: .06em; }
.hero { height: auto; min-height: 520px; max-height: none; }
.hero-image { object-position: center 60%; }
.hero-shade { background: linear-gradient(90deg, #17201dd1, #17201d40 68%, #17201d15); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 8%; padding-top: 56px; padding-bottom: 56px; }
.hero-content { padding-top: 0; }
.hero h1 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.13; letter-spacing: -.035em; margin: 24px 0; }
.hero-content p { font-size: 15px; color: #fff; }
.hero-sell-link { display: inline-flex; align-items: center; gap: 18px; color: #fff; font-size: 12px; line-height: 1.7; margin-top: 30px; padding-bottom: 7px; border-bottom: 1px solid #ffffff70; }
.hero-sell-link .icon { width: 18px; }
.hero-sell-link:hover { border-color: #fff; }
.home-search { color: var(--ink); background: #fff; padding: 32px; }
.home-search h2 { font-size: 26px; margin: 0 0 8px; }
.home-search > p { color: var(--muted); font-size: 13px; margin: 0 0 25px; }
.home-search label { display: flex; flex-direction: column; min-width: 0; gap: 9px; font-size: 12px; color: var(--muted); }
.home-search select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 25px 10px 12px; background-color: #fafaf9; background-position: right 10px center; color: var(--ink); border: 1px solid var(--line); border-radius: 0; font-size: 13px; }
.home-search-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 24px; }
.home-search .button { width: 100%; font-size: 14px; }
.home-search-code { margin: -5px 0 23px; }
.home-search input, .reference-filter input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; color: var(--ink); background: #fafaf9; border: 1px solid var(--line); border-radius: 0; font-size: 13px; }
.home-search input::placeholder, .reference-filter input::placeholder { color: var(--muted); opacity: 1; }
.filter-fields { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, 1.1fr) auto auto; }
.filter-fields > label { min-width: 0; padding-left: 18px; padding-right: 18px; }
.reference-filter input { margin-top: 6px; min-height: 36px; padding: 7px 9px; font-weight: 400; letter-spacing: 0; }
.search-button { min-width: 44px; }
.choice-section { margin-top: 0; padding: 0; border-bottom: 1px solid var(--line); }
.choice { min-height: 126px; padding: 30px 36px; background: #fff; color: var(--ink); }
.choice:first-child { border-right: 1px solid var(--line); padding-left: 0; }
.choice:last-child { padding-right: 0; }
.choice:hover { background: #fff; }
.choice h2 { font-size: 24px; }
.choice p { color: var(--muted); font-size: 13px; }
.choice .circle-arrow, .choice-buy .circle-arrow { color: var(--brand); background: #f8f1ed; width: 44px; height: 44px; border-radius: 50%; }
.featured { background: #fff; }
.section-heading { margin-bottom: 32px; }
.section-heading h2 { font-size: 30px; }
.property-visual { aspect-ratio: 1.22; background: var(--cream); }
.property-tag { background: #ffffffed; font-size: 11px; }
.property-location { margin-top: 20px; color: var(--muted); font-size: 12px; }
.property-card h3 { font-size: 19px; margin: 9px 0 15px; line-height: 1.45; }
.property-specs { border-color: var(--line); color: var(--muted); padding-bottom: 17px; font-size: 12px; flex-wrap: wrap; gap: 10px 18px; }
.property-specs .icon { color: var(--brand); }
.property-bottom > span { font-size: 21px; font-weight: 600; }
.card-price { display: block; font-size: 21px; font-weight: 600; }
.card-reference { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
.property-bottom > a { color: var(--brand); }
.demo-note { font-size: 11px; }
.selling-story { grid-template-columns: 1.1fr 1fr; min-height: 410px; gap: 7%; margin-bottom: 24px; }
.selling-copy { background: #fff; color: var(--ink); padding: 36px 0; }
.selling-copy .eyebrow { margin-bottom: 20px; }
.selling-copy h2 { font-size: 34px; line-height: 1.2; }
.selling-copy > p { color: var(--muted); line-height: 1.85; }
.selling-copy .button { font-size: 13px; }
.selling-image { order: 0; }
.agency-section { border-bottom: 1px solid var(--line); gap: 10%; }
.agency-photo { height: 440px; aspect-ratio: auto; }
.agency-photo > img { object-position: center 62%; transform: none; filter: none; }
.agency-photo > .portrait-mirrored, .personal-contact > .portrait-mirrored { transform: scaleX(-1); }
.agency-copy h2 { font-size: 32px; }
.territory { background: #f5f5f3; margin-top: 64px; }
.territory h2 { font-size: 28px; }
.town-links a { border-color: #d9ddd7; font-size: 12px; }
.closing { padding-top: 52px; padding-bottom: 52px; }
.closing h2 { font-size: 28px; }
.site-footer { background: #282d2a; }
.footer-brand > p, .footer-label, .footer-bottom { color: #c5cdc7; }
.footer-label { font-size: 10px; letter-spacing: .05em; }
.footer-main > div:not(.footer-brand) > a { font-size: 12px; }
.footer-brand > p { font-size: 12px; }
.footer-bottom { border-color: #ffffff25; font-size: 10px; }
.social-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.social-links a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; min-height: 44px; border: 1px solid var(--line); font-size: 12px; }
.social-links .icon { width: 18px; height: 18px; margin: 0; }
.social-links a:hover { color: var(--brand); border-color: var(--brand); }
.site-footer .social-links a { border-color: #ffffff50; }
.site-footer .social-links a:hover { background: #ffffff12; color: #fff; }
.filter-form, .form-panel, .detail-contact, .seller-hero-copy { background: #f5f5f3; }
.filter-form, .filter-fields > label:after, .advanced-filters { border-color: var(--line); }
.filter-fields > label:after { background: var(--line); }
.filter-fields > label { font-size: 10px; letter-spacing: .03em; }
.filter-fields select { font-size: 13px; }
.form-panel { border: 1px solid var(--line); }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { border-color: #b9c0b9; }
.contact-form input::placeholder, .contact-form textarea::placeholder, .consent, .form-note, .preview-note { color: var(--muted); }
.contact-form label:not(.consent) { font-size: 12px; }
.feature-pills > span { background: #f4f5f2; }
.detail-specs .icon { color: var(--brand); }
.catalog-notice { background: #f7f5f1; }
.detail-body { gap: 7%; }
.detail-contact { align-self: start; position: sticky; top: 115px; }
.detail-contact .button { font-size: 12px; }
.detail-price { color: var(--brand); }
.detail-heading h1 { font-size: clamp(27px, 3vw, 38px); }
.detail-heading .eyebrow { color: var(--muted); }
.detail-heading { margin-bottom: 26px; }
.photo-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(340px, 38vw, 490px); }
.mosaic-photo { display: block; overflow: hidden; background: var(--cream); min-height: 0; }
.mosaic-photo:first-child { grid-row: span 2; }
.mosaic-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic-photo:hover img { transform: scale(1.025); }
.photo-mosaic[data-photo-count="1"] { grid-template-columns: 1fr; }
.photo-mosaic[data-photo-count="2"] { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr; }
.photo-mosaic[data-photo-count="2"] .mosaic-photo:first-child { grid-row: auto; }
.photo-mosaic[data-photo-count="3"] { grid-template-columns: 1.7fr 1fr; }
.photo-mosaic[data-photo-count="4"] .mosaic-photo:last-of-type { grid-column: 2 / 4; }
.photo-mosaic .favorite { z-index: 1; top: 18px; right: 18px; }
.gallery-toolbar { align-items: center; padding: 18px 0 0; }
.gallery-toolbar > a { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.gallery-toolbar .icon { width: 16px; height: 16px; color: var(--brand); }
body.viewer-open { overflow: hidden; }
.photo-viewer { display: none; border: 0; padding: 24px 32px; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; color: #fff; background: #1c211e; }
.photo-viewer[open] { display: flex; flex-direction: column; }
.photo-viewer::backdrop { background: #1c211e; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; }
.viewer-header h2 { font-size: 17px; font-weight: 500; margin: 0; }
.viewer-close, .viewer-prev, .viewer-next { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; background: #ffffff15; color: #fff; }
.viewer-close:hover, .viewer-prev:hover, .viewer-next:hover { background: #ffffff30; }
.viewer-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 24px; flex: 1; min-height: 0; }
.viewer-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; grid-column: 2; grid-row: 1; }
.viewer-prev { grid-column: 1; grid-row: 1; transform: rotate(180deg); }
.viewer-next { grid-column: 3; grid-row: 1; }
.viewer-footer { display: flex; justify-content: space-between; padding-top: 15px; font-size: 12px; color: #ccd2cd; }
.photo-viewer .gallery-thumbnails { flex-shrink: 0; margin-top: 12px; padding-bottom: 0; gap: 10px; }
.photo-viewer .gallery-thumbnails > a { width: 86px; flex-basis: 86px; opacity: .5; }
.photo-viewer .gallery-thumbnails > a[aria-current=true] { opacity: 1; }
.photo-viewer .gallery-thumbnails img { height: 58px; }
@media (max-width: 1150px) {
  .hero-layout { gap: 5%; grid-template-columns: 1.2fr 1fr; }
  .hero h1 { font-size: 44px; }
  .home-search { padding: 28px; }
  .filter-fields { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .reference-filter { grid-column: 1 / 4; border-top: 1px solid var(--line); }
  .more-filters { grid-column: 4; grid-row: 1; }
  .search-button { grid-column: 4; grid-row: 2; margin: 0 12px; }
}
@media (min-width: 901px) and (max-width: 1100px) { .nav-cta { display: none; } }
@media (min-width: 651px) and (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .brand { width: 210px; }
  .nav-wrap { height: 96px; gap: 20px; }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: 12px; }
  .hero-layout { gap: 30px; grid-template-columns: 1fr 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-content p { font-size: 13px; }
  .hero-content p br { display: none; }
  .hero-sell-link { font-size: 11px; }
  .home-search { padding: 24px; }
  .home-search h2 { font-size: 24px; }
  .home-search-row { grid-template-columns: 1fr; gap: 16px; }
  .choice { display: flex; padding: 25px; }
  .choice .circle-arrow { position: static; }
  .choice h2 { font-size: 22px; }
  .choice p { max-width: none; font-size: 12px; }
  .selling-copy h2 { font-size: 28px; }
  .agency-photo { height: 380px; }
  .search-button { width: auto; height: 50px; }
  .search-button span { display: none; }
}
@media (max-width: 650px) {
  .topbar .container { height: 28px; font-size: 10px; }
  .nav-wrap { height: 88px; gap: 12px; }
  .brand { width: 216px; }
  .site-header nav { inset: 88px 0 0; }
  html { scroll-padding-top: 104px; }
  .hero { min-height: 0; height: auto; overflow: visible; }
  .hero-image, .hero-shade { height: 310px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, #17201dd1, #17201d65); }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 35px; padding-bottom: 0; }
  .hero-content { min-height: 275px; padding-top: 0; }
  .hero h1 { font-size: clamp(32px, 8.7vw, 40px); margin: 20px 0 16px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-content p { font-size: 13px; line-height: 1.7; }
  .hero-sell-link { margin-top: 20px; font-size: 11px; gap: 8px; }
  .hero-sell-link .icon { width: 16px; }
  .home-search { border: 1px solid var(--line); padding: 24px; margin-top: 0; }
  .home-search h2 { font-size: 24px; }
  .home-search > p { margin-bottom: 20px; }
  .home-search select { font-size: 16px; }
  .home-search input { font-size: 16px; }
  .home-search-code { margin-top: 0; }
  .home-search-row { grid-template-columns: 1fr; gap: 16px; margin: 16px 0 22px; }
  .home-search .button { font-size: 13px; }
  .choice-section { width: calc(100% - 40px); grid-template-columns: 1fr; margin-top: 12px; }
  .choice, .choice:first-child, .choice:last-child { min-height: 105px; padding: 24px 0; border-right: 0; }
  .choice:first-child { border-bottom: 1px solid var(--line); }
  .choice h2 { font-size: 22px; }
  .choice p { font-size: 12px; }
  .choice .circle-arrow { width: 36px; height: 36px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > .text-link { font-size: 12px; margin-top: 15px; }
  .property-visual { aspect-ratio: 1.22; }
  .property-card h3 { font-size: 20px; }
  .property-bottom > span { font-size: 21px; }
  .property-specs { font-size: 12px; gap: 10px 18px; }
  .selling-story { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .selling-image { height: 290px; order: 0; }
  .selling-copy { padding: 32px 0 0; }
  .selling-copy h2 { font-size: 29px; }
  .selling-copy .eyebrow { margin-bottom: 16px; }
  .selling-copy .button { font-size: 12px; }
  .agency-section { padding-top: 60px; padding-bottom: 48px; gap: 28px; }
  .agency-photo { height: 360px; width: 100%; }
  .agency-copy h2 { font-size: 29px; }
  .territory { margin-top: 40px; padding: 40px 0; }
  .territory h2 { font-size: 27px; }
  .closing h2 { font-size: 25px; }
  .footer-main { gap: 32px 20px; }
  .footer-brand { flex-wrap: wrap; }
  .footer-brand .social-links { flex-basis: 100%; margin-top: 0; }
  .footer-label { font-size: 9px; }
  .footer-main > div:not(.footer-brand) > a { font-size: 11px; }
  .footer-brand > p { font-size: 10px; }
  .footer-bottom { font-size: 8px; }
  .filter-fields > label { font-size: 10px; letter-spacing: 0; }
  .filter-fields select { font-size: 12px; }
  .filter-fields { grid-template-columns: 1fr 1fr; }
  .filter-fields > .reference-filter { grid-column: 1 / -1; grid-row: 3; padding-top: 16px; padding-bottom: 16px; }
  .reference-filter:after { display: none; }
  .reference-filter input { font-size: 16px; }
  .more-filters { grid-column: 2; grid-row: 2; }
  .search-button { grid-column: 1 / -1; grid-row: 4; margin: 0; width: auto; height: 46px; }
  .search-button span { display: inline; }
  .detail-contact { position: static; }
  .detail-heading h1 { font-size: 28px; }
  .detail-price > span { font-size: 12px; }
  .photo-mosaic, .photo-mosaic[data-photo-count="4"], .photo-mosaic[data-photo-count="5"] { margin: 0; height: 260px; grid-template-columns: 1.7fr 1fr; gap: 5px; }
  .photo-mosaic .mosaic-photo:nth-of-type(n+4) { display: none; }
  .photo-mosaic .favorite { top: 10px; right: 10px; }
  .gallery-toolbar { font-size: 11px; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .detail-specs strong { font-size: 14px; }
  .detail-specs span { font-size: 11px; }
  .photo-viewer { padding: 16px; }
  .viewer-header h2 { font-size: 14px; }
  .viewer-stage { display: block; position: relative; }
  .viewer-prev, .viewer-next { position: absolute; top: 50%; width: 44px; height: 44px; background: #1c211ebf; }
  .viewer-prev { left: 0; transform: translateY(-50%) rotate(180deg); }
  .viewer-next { right: 0; transform: translateY(-50%); }
  .viewer-footer > span:last-child { display: none; }
  .photo-viewer .gallery-thumbnails > a { width: 70px; flex-basis: 70px; }
  .photo-viewer .gallery-thumbnails img { height: 49px; }
}
