.property-detail-page { background: var(--paper-light); }
.property-detail-page .site-header { position: absolute; }
.property-hero { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 3px; height: min(78vh,780px); min-height: 610px; overflow: hidden; background: #1e201f; }
.hero-photo { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #222; cursor: zoom-in; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s ease; }
.hero-photo:hover img { transform: scale(1.025); }
.hero-photo:first-child { grid-row: 1 / 3; }
.hero-overlay { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(10,11,10,.35),transparent 26%,transparent 72%,rgba(10,11,10,.22)); }
.property-hero-tools { position: absolute; z-index: 3; top: 110px; left: 50%; display: flex; align-items: center; justify-content: end; width: min(calc(100% - 60px),1240px); transform: translateX(-50%); }

.property-masthead { position: relative; height: 430px; overflow: hidden; color: var(--white); background: #242522; }
.property-masthead-image { position: absolute; inset: 0; background: url('/images/slideshow/banner-23.jpg') center 54%/cover no-repeat; transform: scale(1.015); }
.property-masthead-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(12,13,12,.7),rgba(12,13,12,.26) 62%,rgba(12,13,12,.14)),linear-gradient(0deg,rgba(10,11,10,.54),transparent 58%); }
.property-masthead-content { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; height: 100%; padding-bottom: 70px; }
.property-masthead h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.4rem,6vw,6.2rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.property-masthead-content > p { max-width: 510px; margin: 0 0 9px; color: rgba(255,255,255,.77); font-size: 1.08rem; font-weight: 300; }

.back-results, .property-hero-tools button, .all-photos { border: 1px solid rgba(255,255,255,.7); background: rgba(20,21,20,.35); color: var(--white); backdrop-filter: blur(8px); }
.back-results { padding: 12px 16px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.property-hero-tools > div { display: flex; gap: 8px; }
.property-hero-tools button { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 10px 14px; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.property-hero-tools button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.all-photos { position: absolute; z-index: 3; right: max(30px,calc((100vw - 1240px)/2)); bottom: 28px; display: flex; align-items: center; gap: 15px; min-height: 44px; padding: 10px 12px 10px 16px; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.all-photos b { display: grid; place-items: center; min-width: 27px; height: 27px; background: var(--white); color: var(--ink); font-family: var(--serif); font-weight: 500; }
.property-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-block: 66px 52px; }
.property-heading .eyebrow { margin-bottom: 12px; }
.property-heading h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.1rem,5.4vw,5.6rem); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.property-id { margin: 17px 0 0; color: #777168; font-size: .8rem; }
.property-price { flex: 0 0 auto; text-align: right; }
.property-price span { display: block; margin-bottom: 8px; color: var(--stone-dark); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.property-price strong { font-family: var(--serif); font-size: clamp(1.65rem,2.5vw,2.7rem); font-weight: 400; }
.property-facts { border-block: 1px solid var(--line); background: var(--paper); }
.facts-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.facts-grid > div { padding: 28px 30px; border-right: 1px solid var(--line); }
.facts-grid > div:first-child { padding-left: 0; }
.facts-grid > div:last-child { border-right: 0; }
.facts-grid span { display: block; margin-bottom: 7px; color: var(--stone-dark); font-size: .67rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.facts-grid strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.property-body { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: clamp(50px,7vw,105px); padding-block: 90px 135px; }
.property-copy { min-width: 0; }
.property-section-heading { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 32px; }
.property-section-heading > span { color: #8c7c68; font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; }
.property-section-heading .eyebrow { margin-bottom: 7px; }
.property-section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem,3vw,3.1rem); font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.property-description { max-width: 790px; margin-bottom: 60px; }
.property-copy .lead { margin: 0 0 28px; color: #3f3c37; font-family: var(--serif); font-size: clamp(1.18rem,1.7vw,1.45rem); line-height: 1.65; }
.property-description > p:not(.lead) { margin: 0 0 23px; color: #5a5650; font-size: 1rem; line-height: 1.85; }
.property-description h3 { margin: 42px 0 16px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.description-highlight { margin: 42px 0; padding: 30px 34px 32px; border-left: 2px solid var(--ink); background: var(--paper); }
.description-highlight > span { color: var(--stone-dark); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.description-highlight ul { column-count: 2; margin: 22px 0 0; padding: 0; list-style: none; }
.description-highlight li { position: relative; padding-left: 19px; color: #494640; font-size: .92rem; line-height: 1.5; }
.description-highlight li::before { content: ""; position: absolute; top: .66em; left: 0; width: 7px; height: 1px; background: #8c7c68; }
.property-data { display: grid; grid-template-columns: repeat(2,1fr); margin: 0; border-top: 1px solid var(--ink); }
.property-data div { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.property-data div:nth-child(odd) { padding-right: 28px; }
.property-data div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.property-data dt { color: #777168; font-size: .83rem; }
.property-data dd { margin: 0; font-family: var(--serif); font-size: 1rem; text-align: right; }
.gallery-section { margin-top: 90px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.detail-gallery a { height: 300px; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; }
.detail-gallery a:first-child { grid-column: 1 / -1; height: 440px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.detail-gallery a:hover img { transform: scale(1.025); }
.inquiry-card-container { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: center; padding:50px 0; }
.inquiry-card { width: 368px; align-self: start; position: sticky; top: 25px; padding: 28px; border: 1px solid rgba(27,27,25,.13); background: var(--paper); box-shadow: 0 22px 55px rgba(27,27,25,.08); }
.agent-card { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.agent-card img { width: 76px; height: 66px; object-fit: cover; object-position: center top; filter: grayscale(15%); }
.agent-card span { display:block; color: var(--stone-dark); font-size: .65rem; font-weight: 600; letter-spacing: .1em; line-height:1.3em; text-transform: uppercase; }
.agent-card h2 { margin: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.agent-card p { margin: 0; color: #777168; font-size: .76rem; }
.agent-card .agent-card-btn { font-size: 1.18rem; transition: transform .2s; }
.agent-card .agent-card-btn:hover { transform: translate(3px, -3px); }
.agent-contact { display: grid; gap: 7px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.agent-contact a { font-family: var(--serif); font-size: 1rem; }
.inquiry-card form { padding-top: 23px; }
.inquiry-card form > p { margin: 0 0 19px; font-family: var(--serif); font-size: 1.25rem; }
.inquiry-card form > label:not(.appointment) { display: block; margin-bottom: 16px; }
.inquiry-card form > label > span { display: block; margin-bottom: 5px; color: #777168; font-size: .7rem; }
.inquiry-card input:not([type="checkbox"]), .inquiry-card textarea { width: 100%; padding: 8px 0 9px; border: 0; border-bottom: 1px solid rgba(27,27,25,.3); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; resize: vertical; }
.inquiry-card input:focus, .inquiry-card textarea:focus { border-bottom-color: var(--ink); }
.appointment { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0; cursor: pointer; }
.appointment input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--ink); }
.appointment span { margin: 1px 0 0 0 !important; color: #514f4a!important; font-size: .78rem!important; line-height: 1.35; }
.inquiry-card form > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 14px 17px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer; font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; transition: background .2s,color .2s; }
.inquiry-card form > button:hover { background: transparent; color: var(--ink); }
.inquiry-card form > button b { font-size: 1rem; font-weight: 400; }
.form-status { min-height: 18px; margin-top: 11px; color: #5d5549; font-size: .76rem; }
.property-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.property-actions button { padding: 9px 4px; border: 0; border-bottom: 1px solid rgba(27,27,25,.28); background: transparent; color: #68635c; cursor: pointer; font: inherit; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.gallery-modal { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template-columns: 70px minmax(0,1fr) 70px; align-items: center; padding: 45px 30px 25px; background: rgba(10,11,10,.96); color: var(--white); }
.gallery-modal[hidden] { display: none; }
.gallery-modal figure { display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; height: 100%; margin: 0; }
.gallery-modal figure img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.gallery-modal figcaption { padding-top: 12px; color: rgba(255,255,255,.7); font-size: .8rem; }
.gallery-close, .gallery-prev, .gallery-next { border: 0; background: transparent; color: var(--white); cursor: pointer; font: inherit; }
.gallery-close { position: absolute; top: 18px; right: 25px; font-family: var(--serif); font-size: 2.2rem; font-weight: 300; }
.gallery-prev, .gallery-next { font-size: 1.55rem; }
@media (max-width: 980px) {
  .property-hero { height: 650px; }
  .property-body { grid-template-columns: minmax(0,1fr) 330px; gap: 40px; }
  .facts-grid > div { padding-inline: 20px; }
}
@media (max-width: 820px) {
  .property-masthead { height: 410px; }
  .property-masthead-content { align-items: flex-start; justify-content: flex-end; flex-direction: column; gap: 16px; padding-bottom: 58px; }
  .property-masthead-content > p { margin: 0; }
  .property-hero { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 70vh; min-height: 540px; }
  .hero-photo:first-child { grid-row: auto; }
  .hero-photo:not(:first-child) { display: none; }
  .property-hero-tools { top: 95px; }
  .property-intro { align-items: flex-start; flex-direction: column; gap: 28px; }
  .property-price { text-align: left; }
  .facts-grid { grid-template-columns: repeat(2,1fr); }
  .facts-grid > div { border-bottom: 1px solid var(--line); }
  .facts-grid > div:nth-child(2) { border-right: 0; }
  .facts-grid > div:nth-child(3), .facts-grid > div:nth-child(4) { border-bottom: 0; }
  .facts-grid > div:nth-child(3) { padding-left: 0; }
  .property-body { display: flex; flex-direction: column; }
  .inquiry-card { position: static; width: 100%; max-width: 560px; }
}
@media (max-width: 560px) {
  .property-masthead { height: 365px; }
  .property-masthead h1 { font-size: 3.25rem; }
  .property-masthead-content > p { font-size: .96rem; }
  .property-hero { height: 78vh; min-height: 520px; }
  .property-hero-tools { top: 84px; width: calc(100% - 30px); }
  .back-results { padding: 10px 12px; font-size: .62rem; }
  .property-hero-tools button { width: 42px; padding: 0; justify-content: center; }
  .property-hero-tools button span { display: none; }
  .all-photos { right: 15px; bottom: 17px; }
  .property-intro { width: calc(100% - 38px); padding-block: 48px 40px; }
  .property-heading h1 { font-size: 3.15rem; }
  .facts-grid { width: calc(100% - 38px); }
  .facts-grid > div { padding: 20px 14px; }
  .facts-grid > div:nth-child(odd) { padding-left: 0; }
  .facts-grid strong { font-size: 1.08rem; }
  .property-body { width: calc(100% - 38px); padding-block: 68px 95px; }
  .property-data { grid-template-columns: 1fr; }
  .description-highlight { padding: 25px 23px 27px; }
  .description-highlight ul { column-count: 1; }
  .property-data div:nth-child(odd), .property-data div:nth-child(even) { padding-inline: 0; border-left: 0; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery a, .detail-gallery a:first-child { grid-column: auto; height: 72vw; min-height: 270px; }
  .inquiry-card { padding: 22px; }
  .gallery-modal { grid-template-columns: 44px minmax(0,1fr) 44px; padding-inline: 5px; }
}
@media print {
  .site-header, .property-hero, .inquiry-card form, .property-actions, .footer, .gallery-section { display: none!important; }
  .property-body { display: block; padding-top: 35px; }
  .inquiry-card { position: static; margin-top: 40px; box-shadow: none; }
}
