:root {
  --navy: #061326;
  --navy-soft: #122037;
  --paper: #f2efe7;
  --paper-light: #fbfaf6;
  --white: #fff;
  --ink: #101a28;
  --muted: #687079;
  --sand: #d3ceb6;
  --sand-dark: #817657;
  --line: #d8d4ca;
  --line-dark: rgba(211, 206, 182, .24);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-light); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(129, 118, 87, .45); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 11px 16px; color: white; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  height: 88px;
  padding: 0 clamp(22px, 4.8vw, 76px);
  border-bottom: 1px solid rgba(6, 19, 38, .12);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 30px;
  color: var(--navy);
  background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: auto; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 2.8vw, 44px); }
.main-nav a { position: relative; padding: 12px 0; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.saved-button {
  min-width: 126px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 15px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--navy);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.saved-button span { font-size: 21px; line-height: 1; }
.saved-button b { min-width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--paper-light); background: var(--navy); font-size: 9px; }
.saved-button em { font-style: normal; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 880px;
  padding-top: 88px;
  display: grid;
  grid-template-columns: minmax(420px, 44%) 1fr;
  background: var(--paper);
}
.hero-copy {
  min-height: 792px;
  padding: clamp(96px, 10vw, 154px) clamp(36px, 6.2vw, 100px) 156px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eyebrow { margin: 0 0 34px; display: flex; align-items: center; gap: 13px; color: var(--sand-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 34px; border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--navy); font-size: 10px; }
.hero h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(74px, 8.2vw, 126px); font-weight: 400; line-height: .78; letter-spacing: -.055em; }
.hero h1 em { color: var(--sand-dark); font-weight: 400; }
.hero-intro { max-width: 560px; margin: 37px 0 0; color: #4f5863; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 29px; }
.text-link { min-height: 44px; border-bottom: 1px solid currentColor; display: inline-flex; align-items: center; gap: 18px; color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.muted-link { border: 0; color: var(--muted); font-weight: 500; }
.hero-signature { margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.hero-signature > span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: var(--navy); font-family: var(--serif); font-size: 21px; }
.hero-signature p, .hero-signature strong, .hero-signature small { margin: 0; display: block; }
.hero-signature strong { font-size: 13px; font-weight: 700; }
.hero-signature small { margin-top: 4px; color: var(--muted); font-size: 11px; }

.hero-visual { position: relative; min-width: 0; min-height: 792px; margin: 0; overflow: hidden; background: #2f4439; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 12, 22, .03) 45%, rgba(3, 12, 22, .62)); pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero-visual figcaption { position: absolute; z-index: 2; right: clamp(28px, 5vw, 76px); bottom: 78px; left: clamp(28px, 4vw, 65px); display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; color: white; }
.hero-visual figcaption span, .hero-visual figcaption strong, .hero-visual figcaption small { display: block; }
.hero-visual figcaption div > span { margin-bottom: 12px; color: var(--sand); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-visual figcaption strong { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 400; line-height: 1; }
.hero-visual figcaption small { margin-top: 10px; color: rgba(255,255,255,.75); font-size: 12px; }
.hero-visual figcaption button { min-height: 46px; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.65); display: inline-flex; align-items: center; gap: 17px; color: white; background: transparent; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.hero-price { position: absolute; z-index: 2; top: 34px; right: 36px; padding: 12px 16px; color: var(--navy); background: rgba(251,250,246,.92); font-family: var(--serif); font-size: 23px; }

.search-dock {
  position: absolute;
  z-index: 5;
  right: clamp(20px, 4.6vw, 74px);
  bottom: 0;
  left: clamp(20px, 4.6vw, 74px);
  max-width: var(--max);
  min-height: 124px;
  margin: 0 auto;
  padding: 26px 28px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  background: var(--paper-light);
  box-shadow: 0 18px 50px rgba(6,19,38,.08);
  transform: translateY(50%);
}
.search-dock-title { padding-right: 20px; border-right: 1px solid var(--line); }
.search-dock-title span, .search-dock-title small { display: block; }
.search-dock-title span { font-family: var(--serif); font-size: 30px; line-height: 1; }
.search-dock-title small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.hero-search { display: grid; grid-template-columns: .85fr .9fr .95fr 1.1fr auto; align-items: end; }
.hero-search label { min-width: 0; padding: 2px 21px; border-right: 1px solid var(--line); }
.hero-search label > span, .filter-form label > span, .contact-form label > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-search input, .hero-search select { width: 100%; min-height: 28px; padding: 0 20px 0 0; border: 0; color: var(--navy); background: transparent; font-size: 13px; font-weight: 600; outline: 0; }
.hero-search input::placeholder { color: #8b9096; }
.search-submit { min-width: 150px; min-height: 55px; margin-left: 20px; padding: 0 19px; border: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; color: white; background: var(--navy); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease; }
.search-submit:hover { background: var(--navy-soft); }
.search-submit b { font-size: 17px; font-weight: 400; }

.section-index { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.section-index span { width: 40px; height: 40px; border: 1px solid currentColor; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.section-index small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.light-index { color: var(--sand-dark); }
.dark-index { color: var(--sand); }

.opening-statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: 190px clamp(22px, 4.8vw, 76px) 120px;
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(460px, 2.2fr) minmax(260px, .8fr);
  align-items: end;
  gap: clamp(35px, 6vw, 100px);
}
.opening-statement h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(48px, 5.4vw, 76px); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.opening-statement h2 em { color: var(--sand-dark); font-weight: 400; }
.opening-statement > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.properties-section { padding: 118px clamp(22px, 5vw, 80px) 135px; background: var(--paper); }
.properties-section > * { width: 100%; max-width: var(--max); margin-right: auto; margin-left: auto; }
.section-heading { display: grid; grid-template-columns: 170px 1fr; align-items: start; gap: clamp(35px, 6vw, 100px); }
.properties-heading h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(56px, 6.2vw, 88px); font-weight: 400; line-height: .9; letter-spacing: -.045em; }
.properties-heading h2 em { color: var(--sand-dark); font-weight: 400; }
.properties-heading > div:last-child > p { margin: 24px 0 0; color: var(--muted); font-size: 15px; }

.catalog-controls { position: relative; margin-top: 65px; padding: 22px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 18px; background: rgba(251,250,246,.55); }
.filter-form { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(130px, .8fr)) auto; align-items: end; }
.filter-form > label { min-width: 0; padding: 0 22px; border-right: 1px solid var(--line); }
.filter-form > label:first-child { padding-left: 0; }
.filter-form input, .filter-form select { width: 100%; min-height: 32px; padding: 0 20px 0 0; border: 0; color: var(--navy); background: transparent; font-size: 13px; font-weight: 600; outline: 0; }
.filter-form input::placeholder { color: #8a8e91; }
.more-filters { position: relative; align-self: stretch; }
.more-filters summary { height: 100%; min-height: 52px; padding: 0 10px 0 24px; display: flex; align-items: center; justify-content: center; gap: 15px; color: var(--navy); font-size: 12px; font-weight: 700; list-style: none; cursor: pointer; }
.more-filters summary::-webkit-details-marker { display: none; }
.more-filters[open] summary span { transform: rotate(45deg); }
.more-filters summary span { font-size: 18px; font-weight: 400; transition: transform .2s ease; }
.more-filters-panel { position: absolute; z-index: 12; top: calc(100% + 22px); right: -20px; width: 630px; padding: 25px; border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--paper-light); box-shadow: 0 22px 60px rgba(6,19,38,.12); }
.more-filters-panel label { padding: 0; border: 0; }
.more-filters-panel input, .more-filters-panel select { min-height: 46px; padding: 0 12px; border: 1px solid var(--line); background: white; }
.toggle-row { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 11px; }
.toggle-row input { width: 19px; height: 19px; min-height: 0; margin: 0; accent-color: var(--navy); }
.toggle-row span { margin: 0 !important; color: var(--navy) !important; font-size: 12px !important; text-transform: none !important; }
.clear-filters { padding: 12px 0 12px 15px; border: 0; border-bottom: 1px solid var(--navy); color: var(--navy); background: transparent; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; }

.catalog-content { margin-top: 38px; }
.catalog-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.catalog-toolbar p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-toolbar p strong { margin-right: 5px; color: var(--navy); font-family: var(--serif); font-size: 27px; font-weight: 400; }
.toolbar-actions { display: flex; align-items: center; gap: 14px; }
.toolbar-actions label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.toolbar-actions select { min-height: 40px; padding: 0 31px 0 12px; border: 1px solid var(--line); color: var(--navy); background: transparent; font-size: 12px; font-weight: 600; }
.mobile-filter-button { display: none; }
.active-filters { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.active-filter { min-height: 32px; padding: 0 8px 0 12px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; color: var(--navy); background: var(--paper-light); font-size: 11px; }
.active-filter button { width: 22px; height: 22px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 17px; cursor: pointer; }

.property-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 66px 26px; }
.property-card { min-width: 0; grid-column: span 4; }
.property-card.is-lead { grid-column: span 8; }
.property-image { position: relative; height: 350px; overflow: hidden; background: #e8e4da; }
.property-card.is-lead .property-image, .property-card:nth-child(2) .property-image { height: 520px; }
.property-image-open { width: 100%; height: 100%; padding: 0; border: 0; display: block; background: transparent; cursor: pointer; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.65,.25,1), filter .3s ease; }
.property-card:hover .property-image img { transform: scale(1.025); }
.property-card[data-reference="000060"] .property-image img { object-fit: contain; padding: 10px; }
.property-card[data-reference="000031"] .property-image img { object-position: 50% 35%; }
.property-card[data-reference="000040"] .property-image img { object-position: 50% 55%; filter: saturate(.86) contrast(.96); }
.property-status { position: absolute; top: 17px; left: 17px; padding: 8px 10px; color: var(--navy); background: rgba(251,250,246,.92); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.favorite-toggle { position: absolute; top: 13px; right: 13px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: white; background: rgba(6,19,38,.34); backdrop-filter: blur(8px); font-size: 23px; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease; }
.favorite-toggle:hover, .favorite-toggle.active { color: var(--navy); background: var(--paper-light); }
.property-body { padding-top: 23px; }
.property-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--sand-dark); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.property-title-row { margin-top: 12px; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 18px; }
.property-body h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(28px, 2.5vw, 38px); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; }
.property-card:not(.is-lead) .property-body h3 { font-size: 28px; }
.property-price { color: var(--navy); font-family: var(--serif); font-size: 25px; font-weight: 400; white-space: nowrap; }
.property-location { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.property-features { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 21px; }
.property-features span { color: var(--muted); font-size: 12px; }
.property-features b { color: var(--navy); font-weight: 700; }
.property-card-actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.property-card-actions button { min-height: 39px; padding: 0; border: 0; border-bottom: 1px solid var(--navy); color: var(--navy); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.property-card-actions .previous-price { color: var(--muted); font-size: 11px; }
.property-card-actions .previous-price del { margin-left: 5px; }
.empty-state { margin-top: 35px; padding: 80px 25px; border: 1px solid var(--line); text-align: center; }
.empty-state > span { color: var(--sand-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.empty-state h3 { margin: 18px 0 9px; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.empty-state p { margin: 0 0 28px; color: var(--muted); }

.services {
  padding: 130px clamp(22px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.2fr) minmax(300px, .85fr);
  gap: clamp(35px, 5vw, 82px);
  align-items: center;
  color: white;
  background: var(--navy);
}
.services > * { min-width: 0; }
.services-intro h2 { max-width: 520px; margin: 42px 0 0; font-family: var(--serif); font-size: clamp(50px, 5.3vw, 76px); font-weight: 400; line-height: .94; letter-spacing: -.035em; }
.services-intro > p { max-width: 480px; margin: 29px 0 0; color: #abb2bd; font-size: 15px; line-height: 1.75; }
.light-link { margin-top: 28px; color: var(--sand); }
.services-landscape { position: relative; height: 650px; margin: 0; }
.services-landscape img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.services-landscape figcaption { position: absolute; right: 0; bottom: 0; padding: 12px 14px; color: var(--navy); background: var(--sand); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-list article { padding: 32px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
.service-list article:last-child { border-bottom: 1px solid var(--line-dark); }
.service-list b { color: var(--sand); font-size: 11px; letter-spacing: .1em; }
.service-list h3 { margin: -4px 0 8px; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.service-list p { margin: 0; color: #aeb6c0; font-size: 13px; line-height: 1.7; }

.sell-section {
  padding: 118px clamp(22px, 6vw, 96px);
  display: grid;
  grid-template-columns: 170px minmax(480px, 1.4fr) minmax(260px, .7fr);
  align-items: end;
  gap: clamp(38px, 6vw, 100px);
  background: var(--sand);
}
.sell-kicker { align-self: start; margin: 10px 0 0; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sell-section h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(56px, 6.2vw, 86px); font-weight: 400; line-height: .9; letter-spacing: -.04em; }
.sell-section h2 em { font-weight: 400; }
.sell-section > div:nth-child(2) > p { max-width: 640px; margin: 28px 0 0; color: #3f4854; font-size: 15px; line-height: 1.7; }
.sell-actions { display: grid; gap: 12px; }
.button { min-height: 54px; padding: 0 20px; border: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: var(--navy-soft); }
.button-outline { border: 1px solid rgba(6,19,38,.35); color: var(--navy); background: transparent; }

.contact-section {
  padding: 130px clamp(22px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(430px, .95fr);
  gap: clamp(70px, 11vw, 180px);
  background: var(--paper-light);
}
.contact-copy h2 { margin: 45px 0 0; color: var(--navy); font-family: var(--serif); font-size: clamp(55px, 6.2vw, 84px); font-weight: 400; line-height: .92; letter-spacing: -.04em; }
.contact-copy > p { margin: 35px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-copy dl { margin: 50px 0 0; display: grid; gap: 18px; }
.contact-copy dl div { padding-top: 15px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 20px; }
.contact-copy dt { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-copy dd { margin: 0; color: var(--navy); font-size: 14px; }
.contact-copy dd a { text-decoration: none; }
.contact-form { padding-top: 82px; }
.contact-form > label, .contact-form .field-pair label { display: block; margin-bottom: 28px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 8px 0 13px; border: 0; border-bottom: 1px solid #aaa89f; border-radius: 0; color: var(--navy); background: transparent; font-size: 16px; outline: 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--navy); }
.contact-form .consent { margin-top: 4px; display: flex; align-items: flex-start; gap: 11px; }
.contact-form .consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--navy); }
.contact-form .consent span { margin: 0; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.contact-form .button { min-width: 210px; margin-top: 4px; }
.form-note { max-width: 470px; margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.site-footer {
  min-height: 112px;
  padding: 25px clamp(22px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1.1fr 1fr auto auto;
  align-items: center;
  gap: 30px;
  color: #bac0c9;
  background: var(--navy);
  font-size: 10px;
}
.footer-brand { color: white; }
.footer-brand img { width: 38px; height: auto; }
.footer-brand small { color: #8f99a8; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { text-decoration: none; }
.beta-badge { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); color: var(--sand); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.property-dialog {
  width: min(1440px, 100vw);
  max-width: 100vw;
  height: min(960px, 100dvh);
  max-height: 100dvh;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper-light);
  overflow: auto;
}
.property-dialog::backdrop { background: rgba(2, 8, 17, .78); backdrop-filter: blur(8px); }
.dialog-close { position: fixed; z-index: 30; top: 20px; right: max(20px, calc((100vw - min(1440px, 100vw)) / 2 + 20px)); width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; background: rgba(6,19,38,.48); font-size: 30px; font-weight: 300; line-height: 1; cursor: pointer; }
.detail-gallery { height: 64vh; min-height: 520px; display: grid; grid-template-columns: 2fr 1fr; gap: 3px; background: var(--navy); }
.detail-gallery.single-image { grid-template-columns: 1fr; }
.detail-gallery button { position: relative; padding: 0; border: 0; overflow: hidden; background: #e5e1d8; cursor: pointer; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-main { position: relative; min-width: 0; overflow: hidden; background: #e5e1d8; }
.detail-gallery-main > img { display: block; }
.gallery-nav { position: absolute !important; z-index: 2; top: 50%; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.55) !important; border-radius: 50%; color: white; background: rgba(6,19,38,.58) !important; font-size: 19px; transform: translateY(-50%); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-position { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 8px 11px; color: var(--navy); background: rgba(251,250,246,.92); font-size: 11px; font-weight: 700; }
.detail-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.detail-gallery-side button:only-child { grid-row: 1 / -1; }
.detail-gallery-thumb.active::after { position: absolute; inset: 0; border: 3px solid var(--sand); content: ""; pointer-events: none; }
.detail-photo-count { position: absolute; right: 16px; bottom: 16px; padding: 9px 12px; color: var(--navy); background: rgba(251,250,246,.92); font-size: 11px; font-weight: 700; }
.detail-content { padding: 58px clamp(24px, 5vw, 80px) 80px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .65fr); gap: clamp(55px, 8vw, 120px); }
.detail-kicker { margin: 0; color: var(--sand-dark); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-title-row { margin-top: 17px; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 25px; }
.detail-title-row h2 { max-width: 750px; margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(45px, 5vw, 70px); font-weight: 400; line-height: .94; letter-spacing: -.035em; }
.detail-title-row strong { color: var(--navy); font-family: var(--serif); font-size: 34px; font-weight: 400; white-space: nowrap; }
.detail-location { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.detail-feature-grid { margin-top: 34px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.detail-feature-grid div { padding: 0 18px; border-right: 1px solid var(--line); }
.detail-feature-grid div:first-child { padding-left: 0; }
.detail-feature-grid div:last-child { border: 0; }
.detail-feature-grid strong, .detail-feature-grid span { display: block; }
.detail-feature-grid strong { color: var(--navy); font-family: var(--serif); font-size: 27px; font-weight: 400; }
.detail-feature-grid span { margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.detail-description { max-width: 72ch; margin: 34px 0 0; color: #4f5863; font-size: 15px; line-height: 1.8; }
.detail-aside { position: sticky; top: 34px; align-self: start; padding: 30px; border: 1px solid var(--line); background: var(--paper); }
.detail-aside h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 36px; font-weight: 400; }
.detail-aside > p { margin: 14px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.detail-aside .button { width: 100%; margin-top: 10px; }
.detail-source { margin-top: 22px; display: block; color: var(--muted); font-size: 9px; line-height: 1.5; }

.filter-dialog { width: min(520px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 25px; border: 0; color: var(--ink); background: var(--paper-light); }
.filter-dialog::backdrop { background: rgba(6,19,38,.68); backdrop-filter: blur(5px); }
.filter-dialog-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.filter-dialog-head strong { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.filter-dialog-head button { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: transparent; font-size: 25px; cursor: pointer; }
.filter-dialog .filter-form { margin-top: 22px; display: grid; grid-template-columns: 1fr; gap: 17px; }
.filter-dialog .filter-form > label { padding: 0; border: 0; }
.filter-dialog .filter-form input, .filter-dialog .filter-form select { min-height: 48px; padding: 0 13px; border: 1px solid var(--line); background: white; }
.filter-dialog .more-filters summary { min-height: 48px; padding: 0; justify-content: space-between; border-bottom: 1px solid var(--line); }
.filter-dialog .more-filters-panel { position: static; width: auto; padding: 17px 0 0; border: 0; grid-template-columns: 1fr; box-shadow: none; }
.full-width { width: 100%; margin-top: 24px; justify-content: center; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .main-nav { gap: 22px; }
  .hero { grid-template-columns: minmax(390px, 47%) 1fr; }
  .hero-copy { padding-right: 50px; padding-left: 50px; }
  .search-dock { grid-template-columns: 120px 1fr; padding-right: 20px; padding-left: 20px; }
  .hero-search { grid-template-columns: repeat(3, 1fr) auto; }
  .search-text-label { display: none; }
  .opening-statement { grid-template-columns: 150px 1.7fr .8fr; }
  .services { grid-template-columns: .85fr 1fr; }
  .services-landscape { height: 570px; }
  .service-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
  .service-list article, .service-list article:last-child { border-bottom: 1px solid var(--line-dark); }
  .sell-section { grid-template-columns: 130px 1fr; }
  .sell-actions { grid-column: 2; width: min(540px, 100%); grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .site-header { height: 76px; padding: 0 22px; }
  .brand img { width: 35px; height: auto; }
  .main-nav { position: absolute; top: 68px; right: 16px; left: 16px; padding: 16px; border: 1px solid var(--line); display: none; align-items: stretch; background: var(--paper-light); box-shadow: 0 22px 60px rgba(6,19,38,.16); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 13px 12px; }
  .menu-button { width: 44px; height: 44px; padding: 11px; border: 0; display: grid; align-content: center; gap: 5px; color: var(--navy); background: transparent; cursor: pointer; }
  .menu-button > span:not(.sr-only) { width: 22px; height: 1px; background: currentColor; }
  .saved-button { min-width: 44px; width: 44px; height: 44px; padding: 0; border: 0; }
  .saved-button em { display: none; }
  .saved-button b { position: absolute; top: 12px; right: 8px; min-width: 15px; height: 15px; }
  .hero { min-height: 960px; padding-top: 76px; grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding: 85px 35px 105px; }
  .hero h1 { font-size: clamp(70px, 14vw, 110px); }
  .hero-signature { margin-top: 55px; }
  .hero-visual { min-height: 540px; }
  .search-dock { bottom: -18px; grid-template-columns: 1fr; gap: 16px; transform: translateY(50%); }
  .search-dock-title { padding: 0; border: 0; display: flex; align-items: baseline; gap: 12px; }
  .search-dock-title span { font-size: 25px; }
  .hero-search { grid-template-columns: 1fr 1fr 1fr auto; }
  .hero-search label { padding: 0 15px; }
  .opening-statement { padding-top: 205px; grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .opening-statement h2 { font-size: clamp(48px, 8vw, 70px); }
  .opening-statement > p { max-width: 650px; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .catalog-controls { padding: 0; border: 0; background: transparent; }
  .catalog-controls > .filter-form, .clear-filters { display: none; }
  .catalog-content { margin-top: 50px; }
  .mobile-filter-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 10px; color: var(--navy); background: transparent; font-size: 12px; font-weight: 700; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .property-card, .property-card.is-lead { grid-column: span 1; }
  .property-card.is-lead .property-image, .property-card:nth-child(2) .property-image, .property-image { height: 390px; }
  .property-card:not(.is-lead) .property-body h3 { font-size: 27px; }
  .services { grid-template-columns: 1fr; }
  .services-intro { max-width: 730px; }
  .services-landscape { height: 540px; }
  .service-list { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .sell-section { grid-template-columns: 1fr; gap: 32px; }
  .sell-actions { grid-column: auto; }
  .contact-section { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { padding-top: 35px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
  .site-footer nav { grid-column: 1 / -1; order: 3; }
  .detail-gallery { height: 55vh; min-height: 430px; }
  .detail-content { grid-template-columns: 1fr; gap: 45px; }
  .detail-aside { position: static; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .site-header { padding: 0 17px; }
  .brand small { font-size: 8px; }
  .hero { min-height: 860px; }
  .hero-copy { min-height: 520px; padding: 66px 20px 65px; }
  .eyebrow { margin-bottom: 25px; font-size: 9px; }
  .eyebrow > span { width: 30px; height: 30px; }
  .hero h1 { font-size: clamp(63px, 20vw, 88px); line-height: .8; }
  .hero-intro { margin-top: 26px; font-size: 15px; line-height: 1.6; }
  .hero-actions { margin-top: 24px; }
  .hero-signature { display: none; }
  .hero-visual { min-height: 420px; }
  .hero-visual figcaption { right: 20px; bottom: 28px; left: 20px; }
  .hero-visual figcaption strong { font-size: 29px; }
  .hero-visual figcaption button { width: 44px; min-width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; justify-content: center; font-size: 0; }
  .hero-visual figcaption button span { font-size: 16px; }
  .hero-price { top: 18px; right: 16px; font-size: 18px; }
  .search-dock { right: 12px; bottom: -10px; left: 12px; min-height: 160px; padding: 19px; }
  .search-dock-title small { display: none; }
  .hero-search { grid-template-columns: 1fr 1fr auto; gap: 0; }
  .hero-search label { padding: 0 12px; }
  .hero-search label:nth-child(3) { display: none; }
  .hero-search label:first-child { padding-left: 0; }
  .search-submit { min-width: 54px; width: 54px; margin-left: 10px; padding: 0; justify-content: center; }
  .search-submit > span { display: none; }
  .opening-statement { padding: 170px 20px 80px; }
  .opening-statement h2 { font-size: 45px; }
  .properties-section { padding: 82px 17px 95px; }
  .properties-heading h2 { font-size: 52px; }
  .catalog-toolbar { align-items: flex-start; }
  .catalog-toolbar p span { display: none; }
  .toolbar-actions label > span { display: none; }
  .toolbar-actions select { max-width: 145px; }
  .property-grid { grid-template-columns: 1fr; gap: 52px; }
  .property-card, .property-card.is-lead { grid-column: span 1; }
  .property-card.is-lead .property-image, .property-card:nth-child(2) .property-image, .property-image { height: auto; aspect-ratio: 4 / 3; }
  .property-title-row { display: block; }
  .property-price { margin-top: 8px; display: block; font-size: 23px; }
  .property-body h3, .property-card:not(.is-lead) .property-body h3 { font-size: 30px; }
  .services { padding: 88px 20px; }
  .services-intro h2 { margin-top: 34px; font-size: 50px; }
  .services-landscape { height: 430px; }
  .sell-section { padding: 80px 20px; }
  .sell-section h2 { font-size: 52px; }
  .sell-actions { grid-template-columns: 1fr; }
  .contact-section { padding: 90px 20px; }
  .contact-copy h2 { font-size: 53px; }
  .contact-copy dl div { grid-template-columns: 85px 1fr; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; align-items: start; justify-items: start; }
  .beta-badge { justify-self: start; }
  .detail-gallery { height: 46vh; min-height: 340px; grid-template-columns: 1fr; }
  .detail-gallery-side { display: none; }
  .detail-content { padding: 35px 20px 55px; }
  .detail-title-row { display: block; }
  .detail-title-row h2 { font-size: 45px; }
  .detail-title-row strong { margin-top: 15px; display: block; font-size: 29px; }
  .detail-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .detail-feature-grid div:nth-child(2) { border: 0; }
  .dialog-close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
