/* Property archive, single-property and off-market styles. */
.header-contact__inner { display: flex; min-height: 2.4rem; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.header-contact a { display: inline-flex; align-items: center; color: var(--color-muted); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; gap: .4rem; }
.header-contact svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.properties-archive__header { display: grid; max-width: 64rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); grid-template-columns: minmax(0, 1.4fr) minmax(15rem, .6fr); align-items: end; gap: 1rem 4rem; }
.properties-archive__header .eyebrow { grid-column: 1 / -1; margin: 0; }
.properties-archive__header h1 { margin: 0; }
.properties-archive__header > p:last-child { margin: 0; color: var(--color-muted); }
.property-filter { display: flex; margin-bottom: clamp(2rem, 5vw, 4rem); border-block: 1px solid var(--color-border); gap: clamp(1.4rem, 4vw, 3rem); }
.property-filter a { padding-block: 1rem; color: var(--color-muted); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.property-filter a[aria-current="page"] { box-shadow: inset 0 -2px var(--color-navy), inset 0 2px var(--color-navy); color: var(--color-ink); }
.property-portfolio-grid { gap: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem); }
.property-card__visibility { position: absolute; top: 1rem; left: 1rem; padding: .55rem .8rem; background: var(--color-navy); color: var(--color-white); font-size: .62rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.property-card__type { margin: -.25rem 0 .75rem; color: var(--color-muted); font-size: .76rem; }
.property-card__media > .off-market-art { min-height: 0; }
.off-market-art { position: relative; display: flex; overflow: hidden; width: 100%; height: 100%; min-height: 18rem; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 4vw, 4rem); background: var(--color-navy); color: var(--color-paper); isolation: isolate; }
.off-market-art::before, .off-market-art::after { position: absolute; z-index: -1; border: 1px solid rgb(255 255 255 / 20%); content: ""; transform: rotate(-18deg); }
.off-market-art::before { width: 75%; height: 140%; inset: -20% auto auto 42%; }
.off-market-art::after { width: 45%; height: 90%; inset: 25% auto auto 55%; }
.off-market-art span, .off-market-art small { font-size: clamp(.58rem, 1vw, .72rem); font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.off-market-art strong { max-width: 8ch; font-family: var(--font-editorial); font-size: clamp(2.8rem, 5vw, 5.5rem); font-weight: 400; line-height: .92; }
.property-hero { position: relative; overflow: hidden; width: 100%; min-height: 100vh; min-height: 100svh; background: var(--color-navy); color: var(--color-white); }
.property-hero__slides, .property-slide { position: absolute; inset: 0; }
.property-slide { margin: 0; visibility: hidden; opacity: 0; transition: opacity 700ms ease, visibility 700ms; }
.property-slide.is-active { visibility: visible; opacity: 1; }
.property-slide img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.property-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 17 27 / 42%), transparent 24%), radial-gradient(ellipse at 18% 80%, rgb(3 10 17 / 56%), transparent 54%); pointer-events: none; }
.property-hero__content { position: absolute; z-index: 1; right: 0; bottom: clamp(6rem, 12vh, 9rem); left: 0; }
.property-hero__content h1 { max-width: 20ch; margin: 0; color: inherit; font-size: var(--type-property-h1); line-height: 1.05; letter-spacing: 0; text-shadow: 0 2px 20px rgb(0 0 0 / 62%); }
.property-hero__content .eyebrow { text-shadow: 0 1px 12px rgb(0 0 0 / 68%); }
.property-hero__arrow, .property-dialog__arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 3rem; height: 3rem; place-items: center; transform: translateY(-50%); border: 1px solid rgb(255 255 255 / 62%); border-radius: 50%; background: rgb(8 20 32 / 28%); color: var(--color-white); cursor: pointer; }
.property-hero__arrow--prev { left: var(--gutter); }
.property-hero__arrow--next { right: var(--gutter); }
.property-hero__arrow svg, .property-dialog__arrow svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.property-hero__counter { position: absolute; z-index: 2; right: 0; bottom: 1.5rem; left: 0; font-size: .68rem; letter-spacing: .1em; text-align: center; }
.slider-a11y-toggle { position: absolute; z-index: 3; bottom: 1rem; left: 1rem; width: 1px; height: 1px; overflow: hidden; border: 0; clip-path: inset(50%); }
.slider-a11y-toggle:focus-visible { width: auto; height: auto; padding: .75rem 1rem; clip-path: none; background: var(--color-paper); color: var(--color-ink); }
.property-overview { display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); }
.property-overview__intro { max-width: 34rem; color: var(--color-muted); font-size: var(--type-body-large); }
.property-overview__media { margin-top: 2rem; border-top: 1px solid var(--color-border); }
.property-overview__media button { display: grid; width: 100%; min-height: 3.25rem; align-items: center; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--color-border); background: transparent; color: inherit; font-size: .7rem; font-weight: 750; letter-spacing: .1em; cursor: pointer; grid-template-columns: 1.25rem minmax(0, 1fr) auto; gap: .7rem; text-align: left; }
.property-overview__icon { display: inline-grid; width: 1.15rem; height: 1.15rem; place-items: center; color: var(--color-navy); }
.property-overview__icon svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.property-overview__icon--panorama svg { fill: currentColor; stroke: none; }
.property-facts { display: grid; margin: 0; border-top: 1px solid var(--color-border); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.property-facts div { padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.property-facts div:nth-child(odd) { padding-right: 1rem; }
.property-facts dt { color: var(--color-muted); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.property-facts dd { margin: .35rem 0 0; font-family: var(--font-ui); font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-variant-numeric: lining-nums tabular-nums; font-weight: 500; }
.property-copy .container { max-width: 48rem; }
.property-copy h2, .property-copy h3 { margin-top: 1.5em; }
.property-copy p, .property-copy li { font-size: var(--type-body-large); }
.single-property .section h2 { font-size: clamp(1.875rem, 2.125vw, 2.25rem); line-height: 1.14; }
.single-property .section h3 { font-size: var(--type-h3); line-height: 1.18; }
.property-feature-list { display: grid; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--color-border); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
.property-feature-list li { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--color-border); }
.property-feature-list li:nth-child(even) { padding-left: 1rem; }
.editorial-photo-grid { display: grid; align-items: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); }
.editorial-photo-grid button { display: block; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.editorial-photo-grid button:nth-child(4n + 1) { grid-row: span 2; }
.editorial-photo-grid button:nth-child(4n + 1) img { aspect-ratio: 4 / 5; }
.editorial-photo-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.property-media-prompts, .document-actions, .area-route { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.property-contact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); gap: clamp(3rem, 8vw, 8rem); }
.property-contact__grid h2 { max-width: 16ch; }
.property-contact__actions { display: flex; flex-wrap: wrap; align-content: start; gap: .75rem; }
.property-contact__credentials { display: flex; width: 100%; margin-top: 1.5rem; padding-top: 1.5rem; flex-direction: column; border-top: 1px solid rgb(255 255 255 / 25%); color: #c3ccd4; font-size: .72rem; gap: .35rem; }
.property-contact__credentials strong { color: var(--color-white); font-family: var(--font-editorial); font-size: 1.35rem; font-weight: 400; }
.off-market-hero { padding-block: clamp(2rem, 6vw, 6rem); background: var(--color-paper); }
.off-market-hero__grid { display: grid; min-height: min(42rem, calc(100svh - var(--header-height) - 4rem)); grid-template-columns: minmax(0, .85fr) minmax(22rem, 1.15fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.off-market-hero__content h1 { max-width: 17ch; font-size: var(--type-property-h1); line-height: 1.05; }
.off-market-hero__context { color: var(--color-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.off-market-hero__content .button { margin-top: 1.5rem; }
.off-market-hero__visual { min-height: 30rem; }
.off-market-hero__visual img { width: 100%; height: 100%; min-height: 30rem; object-fit: cover; }
.off-market-hero__facts { display: grid; margin: 1rem 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.off-market-hero__facts div { padding-top: .75rem; border-top: 1px solid var(--color-border); }
.off-market-hero__facts dt { color: var(--color-muted); font-size: .65rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.off-market-hero__facts dd { margin: .35rem 0 0; font-size: .9rem; font-weight: 700; }
@media (min-width: 48rem) {
  .off-market-hero__visual > .off-market-art span { position: relative; top: -.75rem; }
}
.property-dialog { width: 100%; max-width: none; height: 100%; max-height: none; padding: clamp(.5rem, 2vw, 1.5rem); border: 0; background: transparent; color: var(--color-white); }
.property-dialog::backdrop { background: rgb(4 10 16 / 88%); }
.property-dialog__surface { position: relative; width: 100%; height: 100%; padding: 3.5rem clamp(.25rem, 5vw, 4.5rem) 1rem; background: #101820; }
.property-dialog__close { position: absolute; z-index: 4; top: .55rem; right: .75rem; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; padding: 0; border: 0; background: transparent; color: inherit; font-size: 1.8rem; cursor: pointer; }
.property-dialog__stage, .property-dialog__stage figure { height: calc(100% - 2.5rem); margin: 0; }
.property-dialog__stage img { width: 100%; height: 100%; object-fit: contain; }
.property-dialog__arrow--prev { left: .5rem; }
.property-dialog__arrow--next { right: .5rem; }
.property-dialog__counter { display: block; height: 2.5rem; padding-top: 1rem; font-size: .72rem; letter-spacing: .1em; text-align: center; }
.property-dialog__iframe { position: relative; height: 100%; }
.property-dialog__iframe iframe { width: 100%; height: 100%; border: 0; }
.property-dialog__fallback { position: absolute; inset: 0; display: grid; place-content: center; padding: 2rem; background: #101820; text-align: center; }
.property-dialog__fallback[hidden] { display: none; }
.floorplan-grid { display: grid; overflow: auto; height: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.floorplan-grid img { width: 100%; height: auto; object-fit: contain; }

@media (max-width: 47.999rem) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .page-portrait-placeholder { float: none; width: 100%; max-width: 18rem; margin: 0 0 2rem; }
  .header-contact__inner { justify-content: space-between; }
  .header-contact a span { font-size: .58rem; }
  .properties-archive__header, .property-overview, .property-contact__grid, .off-market-hero__grid { grid-template-columns: 1fr; }
  .properties-archive__header .eyebrow { grid-column: auto; }
  .property-filter { overflow-x: auto; }
  .property-filter a { white-space: nowrap; }
  .property-hero { min-height: 100svh; }
  .property-hero__content { bottom: 5.5rem; }
  .property-hero__content h1, .off-market-hero__content h1 { font-size: clamp(2rem, 8.5vw, 2.375rem); line-height: 1.08; }
  .property-hero__arrow--prev { left: .75rem; }
  .property-hero__arrow--next { right: .75rem; }
  .property-facts, .property-feature-list { grid-template-columns: 1fr; }
  .property-facts div:nth-child(odd), .property-feature-list li:nth-child(even) { padding-inline: 0; }
  .editorial-photo-grid { grid-template-columns: 1fr; }
  .editorial-photo-grid button:nth-child(4n + 1) { grid-row: auto; }
  .property-media-prompts, .document-actions, .area-route { align-items: start; flex-direction: column; }
  .off-market-hero__grid { min-height: auto; }
  .off-market-hero__content { display: contents; }
  .off-market-hero__content .eyebrow { order: 0; }
  .off-market-hero__content h1 { order: 1; }
  .off-market-hero__visual { min-height: 16rem; order: 2; }
  .off-market-hero__content .page-header__intro { order: 3; }
  .off-market-hero__content .button { order: 4; margin-top: -.5rem; }
  .off-market-hero__visual .off-market-art, .off-market-hero__visual img { min-height: 16rem; max-height: 20rem; }
  .floorplan-grid { grid-template-columns: 1fr; }
}
