:root {
  color-scheme: light;
  --ink: #1b302b;
  --deep: #182c2a;
  --green: #2b4a3e;
  --paper: #faf9f5;
  --surface: #fffefa;
  --wash: #eff2ec;
  --muted: #4d5c53;
  --line: #d7ded3;
  --gold: #ecc489;
  --radius-button: 999px;
  --radius-card: 1.125rem;
  --radius-panel: clamp(1.25rem, 2.5vw, 2rem);
  --shadow-card: 0 2px 6px #182c2a08, 0 10px 24px #182c2a07;
  --serif: Georgia, 'Times New Roman', serif;
  --side: clamp(1rem, 4.6vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a85816; outline-offset: 4px; }
.wrap { margin-inline: auto; width: min(100% - 2 * var(--side), 77rem); }
.section { padding-block: clamp(3.75rem, 6.7vw, 6.75rem); }
section[id] { scroll-margin-top: 1.25rem; }

.skip {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  transform: translateY(-170%);
  border-radius: var(--radius-button);
  background: var(--surface);
}
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 1.37rem/1 var(--serif);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .7rem;
  background: var(--deep);
  color: var(--gold);
  font: 1.38rem/1 var(--serif);
}
.brand-city {
  display: block;
  margin-top: .27rem;
  font: 650 .71rem/1 system-ui, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.header-contact { justify-self: end; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(.35rem, 1.4vw, 1.3rem); }
nav a {
  padding: .5rem .85rem;
  border-radius: var(--radius-button);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}
nav a:hover { background: var(--wash); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  text-align: center;
  font-weight: 650;
  font-size: .94rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button-gold { background: var(--gold); color: #1c2c26; }
.button-gold:hover { background: #f5d6a5; box-shadow: 0 3px 14px #111f2030; }
.button-outline { border-color: #9baa9d; background: transparent; }
.button-outline:hover { color: var(--paper); border-color: var(--deep); background: var(--deep); }
.button-green { background: var(--green); color: var(--paper); }
.button-green:hover { background: var(--deep); }
.button:active { box-shadow: none; }

.hero, .contact {
  border-radius: var(--radius-panel);
  background: linear-gradient(125deg, var(--deep) 22%, #26453c);
  color: var(--paper);
  box-shadow: 0 14px 38px #182c2a1c;
}
.hero { margin-top: clamp(.85rem, 2.2vw, 1.75rem); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: clamp(31rem, 46vw, 37rem);
  padding: clamp(.65rem, 1.3vw, 1rem);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.4rem, 4.5vw, 4.2rem) clamp(1.25rem, 3.1vw, 3rem);
}
.eyebrow {
  margin-bottom: .85rem;
  font-size: .8rem;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 720;
  color: #486050;
}
.hero .eyebrow, .contact .eyebrow { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.4rem, 6.45vw, 7rem); line-height: 1; letter-spacing: -.062em; }
h1 span { color: var(--gold); white-space: nowrap; }
.hero-subtitle {
  max-width: 28ch;
  margin: 1.25rem 0 1.75rem;
  color: #e3ebe2;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .9rem;
  width: 100%;
  margin-top: clamp(2rem, 4.1vw, 4rem);
  padding-top: .85rem;
  border-top: 1px solid #ffffff3d;
  color: #dfe7dc;
  font-size: .88rem;
}
.hero-meta span:first-child { color: var(--paper); font-weight: 650; }
.hero-photo, .location-photo { position: relative; min-width: 0; overflow: hidden; background: #42564f; }
.hero-photo { border-radius: var(--radius-card); }
.hero-photo img, .location-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-photo img { object-position: center 43%; }
.hero-photo figcaption, .location-photo figcaption {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
  padding: .38rem .75rem;
  border-radius: var(--radius-button);
  background: #182c2af0;
  color: var(--paper);
  font-size: .82rem;
}

h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: end;
  gap: 1rem clamp(2rem, 7vw, 7rem);
}
.intro > p { max-width: 36ch; color: var(--muted); }
.section-heading { margin-bottom: clamp(1.65rem, 3vw, 2.5rem); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.photo-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: inherit;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.photo-card img { aspect-ratio: 5 / 4; object-fit: cover; }
.photo-card:nth-child(2) img { object-position: center 58%; }
.photo-card span {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .45rem;
  padding: .65rem clamp(.6rem, 1.5vw, 1.1rem);
  font-size: .9rem;
  font-weight: 630;
  line-height: 1.35;
}
.photo-card b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--wash);
  font: 450 1.2rem/1 system-ui, sans-serif;
}
.photo-card:hover { border-color: #a4b3a5; box-shadow: 0 8px 26px #182c2a20; }
.photo-card:hover b { background: var(--green); color: var(--paper); }

.listings-section { border-block: 1px solid var(--line); background: var(--wash); }
.filters {
  display: flex;
  gap: 1.2rem 2rem;
  align-items: end;
  justify-content: space-between;
  padding: clamp(.85rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
legend, .sort { font-size: .89rem; font-weight: 650; }
legend { padding: 0; margin-bottom: .45rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; margin: 0; }
.chips span, .sort select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid #aab8a9;
  border-radius: var(--radius-button);
  background: var(--surface);
  padding: .45rem .9rem;
  font-size: .9rem;
  font-weight: 600;
}
.chips span, .sort select { cursor: pointer; }
.chips span:hover { border-color: var(--green); background: var(--wash); }
.chips input:checked + span { background: var(--green); color: var(--paper); border-color: var(--green); }
.chips input:focus-visible + span { outline: 3px solid #a85816; outline-offset: 3px; }
.sort { display: grid; gap: .45rem; min-width: 0; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.05rem;
  top: 43%;
  width: .43rem;
  height: .43rem;
  transform: rotate(45deg);
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  pointer-events: none;
}
.sort select { appearance: none; width: 100%; color: var(--ink); padding-right: 2.25rem; }
.results-line {
  display: flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding-block: .4rem;
  color: var(--muted);
  font-size: .9rem;
}
.text-button {
  min-height: 2.5rem;
  padding: .3rem .75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.text-button:hover { border-color: #aab8a9; background: var(--surface); }

.listings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.15rem);
}
.unit {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: .45rem;
  padding: clamp(1rem, 2.25vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.unit-heading { display: flex; gap: .35rem .65rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.unit h3 { font-size: 1.4rem; line-height: 1.25; }
.unit-status {
  padding: .27rem .66rem;
  border-radius: var(--radius-button);
  background: #d9efdd;
  color: #226339;
  font-size: .875rem;
  font-weight: 680;
}
.unit[data-status="reserved"] .unit-status { background: #dcecff; color: #184e85; }
.unit[data-status="sold"] .unit-status { background: #fbe2e1; color: #912823; }
.unit[data-status="sold"] { background: #f8f8f2; }
.unit-area {
  margin-top: .3rem;
  font: 400 clamp(2.05rem, 3.6vw, 3.05rem)/1.1 var(--serif);
  letter-spacing: -.045em;
  font-variant-numeric: lining-nums tabular-nums;
}
.unit-details, .unit-condition { color: var(--muted); font-size: .9rem; }
.unit-pricing {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .2rem .6rem;
  margin-top: .4rem;
  padding: .8rem 0 .25rem;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.unit-price { font-size: 1.15rem; }
.unit-rate { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.unit-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .4rem; }
.unit-actions .button { min-height: 2.65rem; padding: .5rem .75rem; font-size: .875rem; }
.text-link { width: fit-content; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.text-link:hover { text-decoration-thickness: 2px; }
.offer-note {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .7rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: .9rem;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.location-copy { min-width: 0; padding: clamp(1.35rem, 4.4vw, 4rem); }
.location-list { margin-block: 1.4rem; }
.location-list > div { border-top: 1px solid var(--line); padding: .77rem 0; }
.location-list > div:last-child { border-bottom: 1px solid var(--line); }
.location-list dt { font-size: 1.02rem; font-weight: 680; }
.location-list dd { margin-top: .12rem; color: var(--muted); }
.about {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 1rem clamp(2rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}
.about-copy { max-width: 64ch; color: var(--muted); }
.about-copy p + p { margin-top: 1rem; }
.contact-inner {
  padding: clamp(1.6rem, 4.4vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 3rem;
  justify-content: space-between;
  align-items: center;
}
.contact-inner h2 { font-size: clamp(2.15rem, 4.25vw, 3.55rem); }
.contact-inner h2 + p { max-width: 57ch; margin-top: .7rem; color: #dfe7dc; }
.contact-office { margin-top: 1.15rem; color: #e3ebe2; font-style: normal; }
.contact-office strong { color: var(--gold); }
.footer {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.65rem;
  color: var(--muted);
  font-size: .87rem;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: .2em; }

.lightbox {
  width: min(95vw, 51rem);
  max-height: 96dvh;
  padding: .5rem;
  border: 1px solid #ffffff30;
  border-radius: var(--radius-card);
  background: var(--deep);
  color: var(--paper);
  box-shadow: 0 18px 56px #1019167a;
}
.lightbox::backdrop { background: #101916dc; }
.lightbox form { position: absolute; right: .8rem; top: .8rem; }
.lightbox .close {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--deep);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--deep);
  font-size: 1.65rem;
  line-height: 1;
}
.lightbox img { height: min(73dvh, 49rem); width: 100%; object-fit: contain; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: .45rem; padding: .65rem .35rem .2rem; font-size: .87rem; text-align: center; }
.lightbox-bar button {
  min-height: 2.75rem;
  padding-inline: clamp(.45rem, 2vw, .9rem);
  border: 1px solid #ffffff70;
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--paper);
}
.lightbox-bar button:hover, .lightbox .close:hover { background: var(--gold); color: var(--deep); }

@media (max-width: 980px) {
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 .5rem; padding-block: .6rem .45rem; }
  .header-contact { min-height: 2.65rem; padding-inline: .85rem; }
  nav { order: 3; width: 100%; margin-top: .55rem; padding-top: .35rem; border-top: 1px solid var(--line); justify-content: space-between; }
  nav a { padding-inline: clamp(.2rem, 1vw, .85rem); }
  .hero-inner { display: block; min-height: auto; }
  .hero-copy { padding: 2rem clamp(.95rem, 4vw, 2rem) 1.35rem; }
  h1 { font-size: clamp(2.85rem, 10.1vw, 5rem); }
  .hero-meta { margin-top: 1.4rem; }
  .hero-subtitle { margin: .85rem 0 1.2rem; }
  .hero-photo { height: clamp(13.5rem, 59vw, 28rem); }
  .intro, .location, .about { grid-template-columns: 1fr; }
  .intro > p { max-width: 43ch; }
  .location-copy { grid-row: 1; }
  .location-photo { aspect-ratio: 1.55; }
}
@media (max-width: 540px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-card:first-child { grid-column: 1 / -1; }
  .photo-card:first-child img { aspect-ratio: 1.6; }
  .filters { align-items: start; flex-direction: column; gap: .9rem; }
  .listings { grid-template-columns: 1fr; }
  .contact-inner { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .photo-card { transition: none; }
}
