:root {
  --ivory: #f7f0e4;
  --paper: #fffaf2;
  --gold: #d7b77a;
  --espresso: #211b17;
  --muted: #796d63;
  --line: #dfd4c4;
  --green: #4d5c50;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--espresso);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  gap: 42px;
  color: var(--ivory);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.site-header.solid {
  position: relative;
  background: var(--espresso);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand span {
  font-family: serif;
  font-size: 25px;
  font-weight: 700;
}
.brand b {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 3px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  margin-right: auto;
}
.site-header nav a {
  opacity: 0.78;
}
.site-header nav a:hover {
  opacity: 1;
}
.site-header nav a.active,
.site-header nav a[aria-current="true"] {
  color: var(--gold);
  opacity: 1;
}
.contact-trigger {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 12px 20px;
  cursor: pointer;
}
.hero {
  height: min(920px, 100vh);
  min-height: 700px;
  position: relative;
  color: var(--ivory);
  overflow: hidden;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.75) brightness(0.82);
  transform: scale(1.025);
  transition: transform 6s ease;
}
.hero-slide.active img {
  transform: scale(1);
}
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28, 23, 19, 0.72), rgba(28, 23, 19, 0.08) 65%),
    linear-gradient(0deg, rgba(28, 23, 19, 0.5), transparent 45%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 8vw;
  bottom: 14%;
  max-width: 630px;
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.hero-slide.active .hero-copy {
  transform: translateY(0);
  opacity: 1;
}
.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
}
.hero h1 {
  font-family: serif;
  font-size: clamp(68px, 8vw, 126px);
  line-height: 0.98;
  margin: 0 0 28px;
  letter-spacing: -5px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  margin-top: 25px;
  padding: 16px 20px;
  background: var(--ivory);
  color: var(--espresso);
  font-size: 13px;
}
.hero-note {
  position: absolute;
  right: 5vw;
  bottom: 5%;
  display: flex;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.55;
}
.hero-controls {
  position: absolute;
  z-index: 4;
  left: 8vw;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(33, 27, 23, 0.18);
  color: var(--ivory);
  cursor: pointer;
}
.hero-arrow:hover,
.hero-arrow:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}
.hero-dots {
  display: flex;
  gap: 9px;
}
.hero-dots button {
  width: 22px;
  height: 2px;
  padding: 7px 0;
  border: 0;
  background: linear-gradient(transparent 6px, rgba(255, 255, 255, 0.42) 6px 8px, transparent 8px);
  cursor: pointer;
}
.hero-dots button.active {
  background: linear-gradient(transparent 6px, var(--gold) 6px 8px, transparent 8px);
}
.intro {
  padding: 120px 8vw;
  text-align: center;
  background: var(--ivory);
}
.intro h2,
.section-heading h2 {
  margin: 0;
  font-family: serif;
  font-weight: 500;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.22;
}
.intro > p:not(.section-kicker) {
  max-width: 600px;
  margin: 28px auto;
  color: var(--muted);
  line-height: 2;
}
.section {
  padding: 110px 5vw;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 13px;
}
.featured-section {
  background: var(--espresso);
  color: var(--ivory);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.listing-card {
  display: block;
  min-width: 0;
}
.card-image {
  height: 340px;
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.large-card:first-child .card-image {
  height: 490px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: saturate(0.8);
}
.listing-card:hover .card-image img {
  transform: scale(1.035);
}
.card-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  background: rgba(33, 27, 23, 0.7);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
}
.card-image i {
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-style: normal;
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transition: 0.3s;
}
.listing-card:hover .card-image i {
  opacity: 1;
}
.card-copy {
  padding: 18px 0;
}
.card-copy p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1px;
}
.card-copy h3 {
  margin: 0 0 16px;
  font-family: serif;
  font-size: 23px;
  font-weight: 500;
}
.property-number {
  display: block;
  margin: -7px 0 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(215, 183, 122, 0.28);
  padding-top: 14px;
  font-size: 12px;
}
.card-meta span {
  color: var(--muted);
}
.featured-section .card-meta span {
  color: rgba(255, 255, 255, 0.55);
}
.filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-bottom: 42px;
  padding: 20px;
  background: var(--ivory);
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}
.filters select,
.filters input {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 5px 0 9px;
  color: var(--espresso);
  outline: none;
  min-width: 0;
}
.filters input::placeholder {
  color: var(--muted);
  opacity: 0.75;
}
.filter-actions {
  display: flex;
  align-self: end;
  gap: 8px;
}
.filters button,
.empty-state button {
  align-self: end;
  border: 0;
  background: var(--espresso);
  color: white;
  padding: 11px 18px;
  cursor: pointer;
}
.filter-actions #reset-filters {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--espresso);
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 24px;
}
.empty-state {
  display: none;
  padding: 80px;
  text-align: center;
  background: var(--ivory);
}
.empty-state.show {
  display: block;
}
.empty-state h3 {
  font-family: serif;
  font-size: 30px;
}
.empty-state p {
  color: var(--muted);
}
footer {
  padding: 65px 5vw;
  background: var(--espresso);
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 30px;
}
footer p {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.55);
}
footer small {
  color: rgba(255, 255, 255, 0.35);
}
.floating-contact {
  position: fixed;
  z-index: 25;
  right: 22px;
  bottom: 22px;
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--espresso);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
.floating-contact span {
  font-family: serif;
  font-size: 20px;
}
.floating-contact b {
  font-size: 9px;
  margin-top: 4px;
}
.contact-panel {
  position: fixed;
  z-index: 40;
  right: 0;
  top: 0;
  width: min(430px, 100%);
  height: 100%;
  padding: 90px 50px;
  background: var(--ivory);
  transform: translateX(100%);
  transition: 0.4s ease;
}
.contact-panel.open {
  transform: translateX(0);
}
.contact-panel h2 {
  font-family: serif;
  font-size: 42px;
  white-space: nowrap;
}
.contact-panel > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}
.panel-close {
  position: absolute;
  right: 25px;
  top: 20px;
  border: 0;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}
.contact-line {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-panel small {
  display: block;
  margin-top: 40px;
  color: var(--muted);
}
.panel-backdrop {
  position: fixed;
  z-index: 35;
  inset: 0;
  background: rgba(33, 27, 23, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.panel-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  height: 660px;
  gap: 4px;
  background: var(--espresso);
}
.detail-gallery button {
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
}
.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 8vw;
  max-width: 1300px;
  margin: auto;
  padding: 90px 5vw;
}
.detail-content h1 {
  font-family: serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 500;
  margin: 0 0 12px;
}
.address {
  color: var(--muted);
}
.detail-stats {
  display: flex;
  gap: 8vw;
  margin: 50px 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-stats b {
  font-family: serif;
  font-size: 28px;
}
.detail-stats span {
  font-size: 11px;
  color: var(--muted);
}
.detail-block {
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.detail-block h2 {
  font-family: serif;
  font-size: 28px;
  font-weight: 500;
}
.detail-block p {
  color: var(--muted);
  line-height: 2;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  color: var(--green);
  font-size: 13px;
}
.inquiry-card {
  position: sticky;
  top: 120px;
  height: max-content;
  padding: 32px;
  background: var(--ivory);
  box-shadow: 0 15px 50px rgba(33, 27, 23, 0.08);
}
.inquiry-card p {
  font-size: 12px;
  color: var(--muted);
}
.inquiry-card h2 {
  font-family: serif;
  font-size: 37px;
  margin: 8px 0;
}
.inquiry-card span,
.inquiry-card small {
  font-size: 11px;
  color: var(--muted);
}
.inquiry-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.inquiry-card button {
  width: 100%;
  background: var(--espresso);
  color: white;
  border: 0;
  padding: 16px;
  margin: 10px 0 18px;
}
.map-placeholder {
  height: 240px;
  margin-top: 25px;
  background:
    radial-gradient(circle at 40% 45%, var(--gold) 0 5px, transparent 6px),
    repeating-linear-gradient(25deg, #e8dfd1 0 1px, transparent 1px 45px),
    repeating-linear-gradient(110deg, #e8dfd1 0 1px, transparent 1px 60px),
    var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.map-placeholder span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}
.related {
  background: var(--ivory);
}
.property-hero {
  position: relative;
  height: min(820px, calc(100vh - 88px));
  min-height: 560px;
  overflow: hidden;
  background: var(--espresso);
  color: var(--ivory);
}
.property-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(33, 27, 23, 0.72), transparent 55%);
}
.property-hero-copy {
  position: absolute;
  left: max(5vw, calc((100vw - 1180px) / 2));
  right: 5vw;
  bottom: 8%;
}
.property-hero-copy h1 {
  margin: 0 0 14px;
  font-family: serif;
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 500;
}
.property-hero-copy > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}
.property-detail {
  max-width: 1180px;
  margin: auto;
  padding: 90px 5vw 110px;
}
.property-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}
.property-intro h2 {
  margin: 0 0 20px;
  font-family: serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
}
.property-intro > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 2;
}
.property-contact,
.detail-consult button {
  border: 0;
  background: var(--espresso);
  color: var(--ivory);
  padding: 16px 25px;
}
.property-info-section,
.property-photo-section {
  padding: 72px 0 0;
}
.property-section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.property-section-heading > span {
  color: var(--gold);
  font-family: serif;
  font-size: 34px;
}
.property-section-heading p {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 3px;
}
.property-section-heading h3 {
  margin: 0;
  font-family: serif;
  font-size: 30px;
  font-weight: 500;
}
.property-table {
  margin: 0;
  border-top: 2px solid var(--espresso);
}
.property-identifier {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  margin-bottom: 16px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  color: var(--espresso);
}
.property-identifier span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}
.property-identifier strong {
  padding-left: 18px;
  border-left: 1px solid var(--gold);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2px;
}
.property-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.property-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.property-table-grid .property-row:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.property-row dt,
.property-row dd {
  margin: 0;
  padding: 22px 20px;
}
.property-row dt {
  background: var(--ivory);
  color: var(--muted);
  font-size: 12px;
}
.property-row dd {
  line-height: 1.7;
}
.property-disclaimer {
  margin: 45px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.property-photo-list {
  display: grid;
  gap: 22px;
}
.property-photo-list button {
  width: 100%;
  max-height: 760px;
  padding: 0;
  border: 0;
  background: var(--ivory);
  cursor: zoom-in;
  overflow: hidden;
}
.property-photo-list img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.property-photo-list button:hover img {
  transform: scale(1.015);
}
.detail-consult {
  padding: 100px 5vw;
  background: var(--espresso);
  color: var(--ivory);
  text-align: center;
}
.detail-consult h2 {
  margin: 0 0 18px;
  font-family: serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
}
.detail-consult > p:not(.section-kicker) {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.6);
}
.detail-consult button {
  background: var(--gold);
  color: var(--espresso);
}
.photo-lightbox {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: rgba(20, 17, 14, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.photo-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.photo-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.photo-lightbox button {
  position: absolute;
  right: 25px;
  top: 15px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 38px;
  cursor: pointer;
}
.not-found {
  min-height: 70vh;
  padding: 180px 5vw;
  text-align: center;
}
.not-found h1 {
  font-family: serif;
  font-size: 60px;
}
@keyframes hero-in {
  from {
    transform: scale(1.04);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .site-header nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    gap: 26px;
    overflow-x: auto;
    background: rgba(33, 27, 23, 0.36);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar {
    display: none;
  }
  .site-header nav a {
    flex: 0 0 auto;
  }
  .site-header {
    height: 72px;
  }
  .site-header .contact-trigger {
    margin-left: auto;
  }
  .hero {
    min-height: 650px;
  }
  .hero-copy {
    left: 6vw;
    right: 6vw;
    bottom: 17%;
  }
  .hero h1 {
    font-size: 64px;
    letter-spacing: -3px;
  }
  .featured-grid,
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid .listing-card:first-child {
    grid-column: span 2;
  }
  .filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-actions {
    grid-column: span 2;
  }
  .detail-gallery {
    height: 520px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .inquiry-card {
    position: static;
  }
  .property-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .property-contact {
    width: max-content;
  }
  .property-table-grid {
    grid-template-columns: 1fr;
  }
  .property-table-grid .property-row:nth-child(odd) {
    border-right: 0;
  }
  .section {
    padding: 80px 5vw;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 0 20px;
  }
  .site-header .back-link {
    font-size: 0;
  }
  .site-header .back-link:after {
    content: "← 返回";
    font-size: 12px;
  }
  .hero {
    height: 82vh;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-note {
    display: none;
  }
  .hero-controls {
    left: 6vw;
    bottom: 4%;
  }
  .hero-arrow {
    width: 36px;
    height: 36px;
  }
  .intro {
    padding: 80px 22px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 15px;
  }
  .featured-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid .listing-card:first-child {
    grid-column: auto;
  }
  .large-card:first-child .card-image,
  .card-image {
    height: 380px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .filter-actions {
    grid-column: span 2;
  }
  .filter-actions button {
    flex: 1;
  }
  .section {
    padding: 70px 18px;
  }
  .floating-contact {
    width: 82px;
    height: 82px;
    right: 14px;
    bottom: 14px;
  }
  .floating-contact span {
    font-size: 16px;
  }
  .detail-gallery {
    height: auto;
    display: block;
  }
  .property-hero {
    height: 58vh;
    min-height: 430px;
  }
  .property-hero-copy {
    left: 20px;
    right: 20px;
    bottom: 7%;
  }
  .property-hero-copy h1 {
    font-size: 46px;
  }
  .property-detail {
    padding: 60px 20px 75px;
  }
  .property-intro {
    padding-bottom: 45px;
  }
  .property-info-section,
  .property-photo-section {
    padding-top: 55px;
  }
  .property-row {
    grid-template-columns: 105px minmax(0, 1fr);
    min-height: 64px;
  }
  .property-row dt,
  .property-row dd {
    padding: 18px 14px;
    font-size: 12px;
  }
  .property-photo-list {
    gap: 12px;
  }
  .detail-consult {
    padding: 75px 20px;
  }
  .main-photo {
    height: 470px;
    width: 100%;
  }
  .thumbs {
    height: 180px;
  }
  .detail-layout {
    padding: 60px 20px;
  }
  .detail-stats {
    gap: 14vw;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .related .listing-card:nth-child(n + 3) {
    display: none;
  }
  footer {
    padding: 45px 20px;
    display: block;
  }
  footer p {
    margin: 14px 0;
  }
  .contact-panel {
    padding: 80px 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-slide,
  .hero-slide img,
  .hero-copy {
    transition: none;
  }
}
