@font-face {
  font-family: Manrope;
  src: url('/ps-assets-98adf25a2632ed0473aa/fonts/manrope-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/ps-assets-98adf25a2632ed0473aa/fonts/manrope-700.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/ps-assets-98adf25a2632ed0473aa/fonts/playfair-display-500.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #162f25;
  --muted: #496258;
  --forest: #1d4a36;
  --line: #d5dfd4;
  --paper: #f8f8f3;
  --white: #fff;
  font: 16px/1.55 Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, p, figure { margin: 0; }
a { color: var(--forest); text-underline-offset: .19em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #9a642f; outline-offset: 3px; }
.shell { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  min-height: 4.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.site-header nav { display: flex; gap: 1.45rem; font-size: .88rem; }
.site-header nav a { text-decoration: none; padding-block: .5rem; }
[aria-current='page'] { font-weight: 700; border-bottom: 2px solid var(--forest); }
main.shell { min-height: calc(100vh - 9rem); padding-block: 2rem 3.2rem; }
.intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 14.6rem;
  background: #e7ece1;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.intro-copy { align-self: center; padding: clamp(1.3rem, 4.5vw, 3.75rem); }
h1 { font: 500 clamp(2.2rem, 5vw, 4.3rem)/1.08 'Playfair Display', Georgia, serif; overflow-wrap: anywhere; }
.intro-copy p { max-width: 34ch; margin-top: .9rem; color: var(--muted); }
.intro-photo { position: relative; isolation: isolate; min-height: 12rem; }
.intro-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.intro-photo .badge { inset-inline-end: 1rem; }
.badge {
  position: absolute;
  inset-block-start: .8rem;
  inset-inline-start: .8rem;
  width: max-content;
  padding: .25rem .55rem;
  line-height: 1.2;
  border: 1px solid #e5d2a4;
  border-radius: 5px;
  background: #fff1cb;
  color: #4f3514;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .07em;
}
.source-bar {
  display: flex;
  gap: .8rem 1.3rem;
  flex-wrap: wrap;
  align-items: center;
  padding-block: 1.55rem 1rem;
}
.source-bar p { color: var(--muted); font-size: .87rem; }
.segmented {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf1e9;
}
.segmented button {
  min-height: 2.38rem;
  padding: .36rem .84rem;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}
.segmented button[aria-pressed='true'] {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}
.filters {
  display: grid;
  grid-template-columns: minmax(14rem, 2fr) repeat(4, minmax(0, 1fr)) auto;
  gap: .65rem;
  align-items: end;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.filters label { min-width: 0; font-size: .78rem; font-weight: 700; }
.filters label :is(input, select) { display: block; margin-top: .34rem; width: 100%; }
input, select {
  min-width: 0;
  min-height: 2.75rem;
  padding: .47rem .62rem;
  background: var(--white);
  border: 1px solid #bfcfc3;
  border-radius: 7px;
  color: var(--ink);
  font-size: .85rem;
  text-overflow: ellipsis;
}
.primary, .outline {
  min-height: 2.75rem;
  padding: .54rem .95rem;
  border: 1px solid var(--forest);
  border-radius: 7px;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
}
.outline { color: var(--forest); background: var(--white); border-color: #b7c9b9; }
.primary:hover { background: #143927; }
.outline:hover, .segmented button:hover { background: #dfeae0; }
.results-bar, .result-actions, .results-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem .8rem;
}
.results-bar { justify-content: space-between; padding-block: 1.35rem .9rem; }
.results-summary strong { font-size: .95rem; }
.sort-label { font-size: .82rem; }
.text-button {
  border: 0;
  padding: .3rem .2rem;
  color: var(--forest);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .2em;
  font-size: .82rem;
}
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.property-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.card-image { display: block; aspect-ratio: 1.65; position: relative; background: #e7ece1; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: .9rem 1rem 1.05rem; }
.card-info h2, .gallery-head h2 { margin-block: .24rem; font-size: 1.06rem; line-height: 1.28; overflow-wrap: anywhere; }
.card-info h2 a { color: var(--ink); text-decoration: none; }
.card-info h2 a:hover { text-decoration: underline; }
.card-location, .card-facts { font-size: .8rem; color: var(--muted); }
.card-facts { margin-top: .36rem; }
.card-price { font-weight: 700; font-size: 1.12rem; margin-top: .68rem; }
.notice { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.notice h2 { margin-bottom: .4rem; font-size: 1.2rem; }
.notice p { color: var(--muted); }
.notice .outline, #show-more { margin-top: 1rem; }
.map-layout { display: grid; grid-template-columns: 2.3fr 1fr; align-items: start; gap: 1.1rem; }
.map-canvas { overflow: hidden; border: 1px solid #bdcec4; border-radius: 14px; background: #ddeae6; }
.map-canvas select { max-width: calc(100% - 2rem); margin: .8rem 1rem 0; }
.map-canvas svg { display: block; width: 100%; }
.map-land { fill: #f5f1dc; stroke: #a2b6a5; stroke-width: .9; vector-effect: non-scaling-stroke; }
.map-leader { stroke: #456951; stroke-width: 1.3; }
.map-pin { cursor: pointer; }
.map-pin circle { fill: var(--forest); stroke: var(--white); stroke-width: 2; }
.map-pin[aria-pressed='true'] circle { fill: #785026; stroke-width: 3; }
.map-pin text { dominant-baseline: auto; text-anchor: middle; fill: var(--white); font: 700 11px Manrope, sans-serif; }
.map-note { padding: .6rem 1rem; border-top: 1px solid #bdcec4; color: var(--muted); font-size: .8rem; }
.back-link { display: inline-block; margin-bottom: 1.1rem; }
.detail-head p { margin-top: .7rem; color: var(--muted); }
.detail-badge { position: static; display: inline-block; margin-bottom: .7rem; }
#detail h1 { font-size: clamp(2rem, 4.4vw, 3.55rem); }
.photo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .6rem; margin-block: 1.2rem; }
.photo-button {
  position: relative; overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 13px;
  aspect-ratio: 1;
  background: #e7ece1;
}
.photo-button:first-child { aspect-ratio: 2; }
.photo-button img { width: 100%; height: 100%; object-fit: cover; }
.photo-total {
  position: absolute;
  inset-block-end: .55rem;
  inset-inline-end: .55rem;
  padding: .28rem .6rem;
  border-radius: 6px;
  color: var(--white);
  background: #163126ed;
  font-size: .77rem;
}
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; align-items: start; }
.description, .price-box { padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.description h2 { margin-bottom: .5rem; font-size: 1.25rem; }
.description p, .price-box p { color: var(--muted); }
.price-box strong { display: block; font-size: 1.5rem; margin-block: .2rem .5rem; }
.price-box a { display: inline-block; margin-top: .6rem; }
.demo-note, .record-id { font-size: .84rem; }
.attributes { display: flex; flex-wrap: wrap; gap: .46rem; list-style: none; margin-block: 1rem; padding: 0; }
.attributes li { padding: .24rem .62rem; border-radius: 5px; background: #ebf1e8; font-size: .84rem; }
.gallery {
  width: min(100% - 1.4rem, 64rem);
  max-height: 93dvh;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
}
.gallery::backdrop { background: #172c24d9; }
.gallery-head, .gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.gallery figure { margin-block: .65rem; text-align: center; }
.gallery img { width: 100%; max-height: 63dvh; object-fit: contain; background: #edf1e9; }
.gallery figcaption { margin-top: .35rem; font-size: .88rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem; }

@media (max-width: 65rem) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 47rem) {
  .shell { width: min(100% - 2rem, 76rem); }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-copy { padding: 1.5rem; }
  .intro-photo { min-height: 11rem; }
  .map-layout, .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 31rem) {
  .shell { width: calc(100% - 1.35rem); }
  .header-inner { min-height: 3.6rem; }
  .site-header nav { gap: .85rem; }
  main.shell { padding-top: .8rem; }
  .intro { grid-template-columns: 1fr; border-radius: 14px; }
  .intro-photo { min-height: 8.5rem; }
  .intro-copy { padding: 1.05rem; }
  .intro-copy p { margin-top: .52rem; font-size: .92rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .search-field, .filters .primary { grid-column: 1 / -1; }
  .property-grid { grid-template-columns: 1fr; gap: .75rem; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-button:first-child { grid-column: 1 / -1; }
  .photo-button:not(:first-child) { aspect-ratio: 1.7; }
}
