@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root { color-scheme: light; --ink: #0b1f25; --paper: #fbfaf6; --gold: #c9a66b; --line: #cfd3cd; --muted: #526267; --serif: "Playfair Display", Georgia, serif; }
* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 "DM Sans", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #856326; outline-offset: 4px; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }
h1 { font-size: 44px; overflow-wrap: anywhere; }
h2 { font-size: 26px; }
.detail-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px max(40px, calc((100% - 1280px) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-mark { width: 38px; height: 38px; display: flex; align-items: end; gap: 3px; padding: 7px; border: 1px solid currentColor; }
.brand-mark i { flex: 1; display: block; background: currentColor; height: 50%; }
.brand-mark i:nth-child(2) { height: 100%; }
.brand-mark i:nth-child(3) { height: 72%; }
.brand-logo-mark { align-items: center; justify-content: center; padding: 2px; overflow: hidden; }
.brand-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; gap: 6px; }
.brand-copy strong { font-size: 17px; font-weight: 600; }
.brand-copy small { font-size: 9px; }
.language-switch { display: flex; align-items: center; gap: 2px; }
.language-switch button { width: 44px; min-height: 44px; padding: 0; background: transparent; border: 0; font-size: 12px; color: var(--muted); }
.language-switch button[aria-pressed="true"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px var(--gold); }
.detail-shell { position: relative; width: 100%; min-height: 65svh; padding-bottom: 80px; }
.detail-inner { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 22px 0; font-size: 13px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-shell > .back-link { margin-left: max(40px, calc((100% - 1280px) / 2)); }
.detail-ready .back-link { position: absolute; z-index: 2; top: 18px; left: max(24px, calc((100% - 1280px) / 2)); margin: 0; padding: 8px 14px; border-radius: 4px; background: #ffffffed; }
.property-heading { padding: 28px 0; scroll-margin-top: 24px; }
.eyebrow { color: #735726; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.location { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; color: var(--muted); overflow-wrap: anywhere; }
.location svg { align-self: center; width: 17px; height: 17px; }
.gallery { min-width: 0; }
.gallery figure { margin: 0; }
.photo-hero { position: relative; height: calc(100svh - 112px); min-height: 240px; }
.photo-stage { display: grid; place-items: center; width: 100%; height: 100%; background: #e8ece7; overflow: hidden; touch-action: pan-y pinch-zoom; }
.photo-stage img { width: 100%; height: 100%; min-height: 0; object-fit: scale-down; }
.photo-stage[data-fit="cover"] img { object-fit: cover; }
.hero-chevron { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 56px; height: 72px; padding: 0; border: 0; background: transparent; color: var(--ink); }
.hero-chevron svg { width: 46px; height: 46px; stroke-width: 1.5; filter: drop-shadow(0 1px 3px #fff9); }
.hero-previous { left: 14px; }
.hero-next { right: 14px; }
.hero-scroll { position: absolute; bottom: 18px; right: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 64px; min-height: 64px; color: var(--ink); font-size: 11px; font-weight: 600; text-shadow: 0 1px 3px #fff; }
.hero-scroll svg { width: 26px; height: 26px; }
.photo-hero:has([data-fit="cover"]) .hero-chevron, .photo-hero:has([data-fit="cover"]) .hero-scroll { color: #fff; filter: drop-shadow(0 1px 3px #000); text-shadow: 0 1px 4px #000; }
.photo-hero:has([data-fit="cover"]) .hero-chevron svg { filter: none; }
.hero-chevron:hover, .hero-scroll:hover { opacity: .75; }
.photo-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 24px; text-align: center; color: var(--muted); }
.photo-placeholder svg { width: 32px; height: 32px; }
.gallery-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0; }
#photo-caption { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.gallery-controls { display: flex; flex: none; align-items: center; gap: 10px; }
#photo-count { min-width: 64px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; }
.icon-button:hover { background: #e8ece7; border-color: var(--ink); }
.thumbnails { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; padding: 6px 4px 12px; }
.thumbnail { display: grid; place-items: center; flex: 0 0 100px; width: 100px; height: 76px; padding: 3px; border: 2px solid transparent; background: #e8ece7; }
.thumbnail[aria-pressed="true"] { border-color: var(--ink); }
.thumbnail img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.property-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 64px; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.property-information { min-width: 0; }
.property-information section + section { margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 0; gap: 0 24px; }
.fact { min-width: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact dt { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.fact dt svg { width: 16px; height: 16px; }
.fact dd { margin: 6px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.description { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 20px; }
.property-contact { align-self: start; border-top: 3px solid var(--gold); padding-top: 20px; min-width: 0; }
.property-contact h2 { font-family: inherit; font-size: 13px; color: var(--muted); }
.price { font-family: var(--serif); font-size: 30px; line-height: 1.3; white-space: pre-wrap; overflow-wrap: anywhere; margin: 14px 0; }
.fine-print, .contact-note { color: var(--muted); font-size: 12px; }
.action { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 14px 18px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; }
.action:hover { background: #17323a; }
.property-contact .action { width: 100%; margin: 24px 0 12px; }
.action span { overflow-wrap: anywhere; min-width: 0; }
.page-state { padding: 60px 0 100px; max-width: 700px; }
.page-state h1 { font-size: 36px; }
.page-state #state-message { margin: 20px 0; }
.detail-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 36px max(40px, calc((100% - 1280px) / 2)); background: #07171c; color: #fff; }
.detail-footer strong { font-size: 17px; font-weight: 600; }
.detail-footer span { display: block; font-size: 9px; }
.detail-footer p { font-size: 12px; color: #c1ccc9; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 16px; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
@media (max-width: 900px) {
  .property-content { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .detail-header { min-height: 74px; padding: 12px 16px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-copy strong { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .detail-shell { padding-bottom: 48px; }
  .detail-inner { width: calc(100% - 32px); }
  .detail-shell > .back-link { margin-left: 16px; }
  .detail-ready .back-link { left: 16px; top: 14px; margin: 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .back-link { margin: 14px 0; }
  .property-heading { padding-bottom: 22px; }
  .photo-hero { height: calc(100svh - 98px); }
  .hero-previous { left: 4px; }
  .hero-next { right: 4px; }
  .hero-chevron { width: 48px; height: 64px; }
  .hero-chevron svg { width: 36px; height: 36px; }
  .hero-scroll { right: 18px; bottom: 14px; }
  .gallery-caption { align-items: flex-start; flex-direction: column; gap: 8px; }
  .gallery-controls { align-self: flex-end; }
  .thumbnail { flex-basis: 84px; width: 84px; height: 66px; }
  .property-content { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 24px; padding-top: 28px; }
  .property-contact { grid-row: 1; }
  .facts { column-gap: 16px; }
  .fact dd { font-size: 15px; }
  .detail-footer { padding: 30px 16px; }
  .page-state { padding-top: 40px; }
  .page-state h1 { font-size: 30px; }
}
.property-inquiry { margin-top: 1.5rem; }
.property-inquiry summary { cursor: pointer; }
.property-inquiry form { display: grid; gap: .9rem; margin-top: 1rem; }
.property-inquiry label { display: grid; gap: .35rem; font-size: .85rem; }
.property-inquiry input:not([type="checkbox"]), .property-inquiry textarea { width: 100%; box-sizing: border-box; padding: .7rem; border: 1px solid #cfc9ba; border-radius: 4px; background: #fffdf8; color: #0b1f25; font: inherit; }
.property-inquiry .inquiry-consent { display: flex; align-items: flex-start; gap: .5rem; line-height: 1.5; }
