/* Real property photography, kept distinct from the proposed-design tours. */
.property-page [hidden] { display:none!important; }
.property-page main { padding-top:var(--header); }
.property-intro {
  display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:7vw;
  padding:72px 6vw 62px;background:var(--paper);
}
.property-kicker { color:var(--bronze);font-size:14px;margin:0 0 20px; }
.property-intro h1 { font:normal clamp(46px,5.5vw,80px)/1.05 var(--serif);margin:0;letter-spacing:-.04em; }
.property-intro-copy { max-width:510px; }
.property-intro-copy>p:first-child { color:var(--ink);font-size:19px;line-height:1.7;margin:0 0 17px; }
.property-intro .property-note { font-size:14px;line-height:1.75;color:var(--muted);margin:0; }
.property-tour-link { display:inline-block;color:var(--bronze);font-size:14px;padding:13px 0 8px;margin-top:15px;border-bottom:1px solid #d0b58e80;text-decoration:none;min-height:44px; }
.photographs { background:var(--mist);padding:40px 6vw 72px;scroll-margin-top:var(--header); }
.photo-library-heading { display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:22px; }
.photo-library-heading p { font-size:14px;line-height:1.7;margin:0;color:var(--muted); }
.photo-library-heading #photo-results { white-space:nowrap;color:var(--bronze); }
.photo-filters { display:flex;flex-wrap:wrap;gap:8px;margin-bottom:38px; }
.photo-filters button {
  min-height:44px;padding:10px 19px;border:1px solid #a4b7ac70;border-radius:3px;
  color:var(--ink);background:transparent;font:14px var(--sans);cursor:pointer;
}
.photo-filters button:hover { border-color:var(--bronze); }
.photo-filters button[aria-pressed=true] { color:var(--paper);background:var(--bronze);border-color:var(--bronze); }
.property-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 26px; }
.property-card { min-width:0; }
.property-card:first-child { grid-column:span 2; }
.property-grid.filtered .property-card:first-child { grid-column:auto; }
.photo-link { position:relative;display:block;overflow:hidden;background:var(--paper);aspect-ratio:4/3;border-radius:3px;text-decoration:none; }
.property-card:first-child .photo-link { aspect-ratio:2.18; }
.property-grid.filtered .property-card:first-child .photo-link { aspect-ratio:4/3; }
.photo-link img { display:block;width:100%;height:100%;object-fit:cover; }
.photo-open { position:absolute;bottom:12px;right:12px;background:var(--paper);border:1px solid #b7c8bd60;border-radius:2px;color:var(--ink);padding:8px 11px;font-size:12px; }
.photo-link:hover .photo-open,.photo-link:focus-visible .photo-open { background:var(--bronze);color:var(--paper); }
.photo-caption { padding-top:17px; }
.photo-caption .photo-status { font-size:12px;color:var(--bronze);line-height:1.5;margin:0 0 7px; }
.photo-caption h2 { font:normal 26px/1.2 var(--serif);margin:0 0 10px; }
.photo-caption>p:last-child { font-size:14px;color:var(--muted);line-height:1.75;margin:0;max-width:62ch; }
.photo-note { font-size:14px;line-height:1.8;color:var(--muted);max-width:72ch;margin:52px 0 0; }
.photo-note a { color:var(--bronze);text-underline-offset:4px; }
.property-page footer { margin-top:0; }
.photo-dialog-open { overflow:hidden; }
#photo-dialog {
  width:min(1260px,94vw);max-width:none;height:92dvh;max-height:none;
  margin:auto;padding:0;border:1px solid #819a975c;border-radius:4px;
  background:var(--paper);color:var(--ink);overflow:hidden;
}
#photo-dialog[open] { display:flex;flex-direction:column; }
#photo-dialog::backdrop { background:#07151def; }
.photo-dialog-head { display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 24px;flex:none; }
.photo-dialog-head p { margin:0 0 5px;font-size:12px;line-height:1.5;color:var(--bronze); }
.photo-dialog-head h2 { font:normal 28px/1.2 var(--serif);margin:0; }
.photo-dialog-head button,.photo-travel button {
  min-width:44px;min-height:44px;padding:10px 13px;border:1px solid #b6c7bb80;border-radius:3px;
  color:var(--ink);background:transparent;font:14px var(--sans);cursor:pointer;
}
.photo-dialog-head button:hover,.photo-travel button:hover { background:var(--bronze);color:var(--paper); }
.photo-image-wrap { position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;background:#091820;overflow:hidden; }
#photo-image { display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;touch-action:pan-y pinch-zoom; }
#photo-load-error { position:absolute;max-width:34ch;padding:24px;line-height:1.7;text-align:center; }
.photo-dialog-foot { display:flex;align-items:center;justify-content:space-between;gap:30px;flex:none;padding:17px 24px; }
.photo-dialog-foot>p { margin:0;max-width:84ch;font-size:14px;line-height:1.65;color:var(--muted); }
.photo-travel { display:flex;align-items:center;gap:14px;flex:none; }
#photo-number { min-width:52px;text-align:center;font-size:13px;color:var(--muted); }
@media(min-width:1600px) { .property-grid { gap:52px 34px; }.photo-caption h2 { font-size:29px; } }
@media(max-width:1000px) {
  .property-intro { gap:38px;padding:52px 5vw 44px; }.property-intro h1 { font-size:58px; }
  .property-intro-copy>p:first-child { font-size:17px; }.photographs { padding:32px 5vw 52px; }
  .property-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 22px; }
  .property-card:first-child { grid-column:auto; }.property-card:first-child .photo-link { aspect-ratio:4/3; }
  .photo-dialog-foot { gap:20px; }.photo-dialog-foot>p { font-size:13px; }
}
@media(max-width:600px) {
  .property-intro { grid-template-columns:1fr;gap:27px;padding:38px 22px 36px; }
  .property-kicker { font-size:13px;margin-bottom:16px; }.property-intro h1 { font-size:48px; }
  .property-intro-copy>p:first-child { font-size:16px; }.property-intro .property-note { font-size:14px; }
  .property-tour-link { font-size:14px; }.photographs { padding:28px 22px 45px; }
  .photo-library-heading { align-items:start;gap:20px;margin-bottom:18px; }.photo-library-heading p { font-size:12px; }
  .photo-filters { gap:7px;margin-bottom:26px; }.photo-filters button { padding:9px 13px;font-size:13px; }
  .property-grid { grid-template-columns:1fr;gap:32px; }.photo-link,.property-card:first-child .photo-link { aspect-ratio:4/3; }
  .photo-caption { padding-top:14px; }.photo-caption h2 { font-size:27px; }.photo-caption>p:last-child { font-size:14px; }
  .photo-note { margin-top:35px;font-size:13px; }
  #photo-dialog { width:100%;height:100dvh;border:0;border-radius:0; }
  .photo-dialog-head { padding:max(12px,env(safe-area-inset-top)) 14px 12px;gap:16px; }.photo-dialog-head p { font-size:11px; }
  .photo-dialog-head h2 { font-size:23px; }.photo-dialog-head button { font-size:13px; }
  .photo-dialog-foot { display:grid;gap:13px;padding:14px 18px max(14px,env(safe-area-inset-bottom)); }
  .photo-dialog-foot>p { font-size:13px;line-height:1.6; }.photo-travel { justify-content:center; }
}
@media(max-width:360px) { .property-intro h1 { font-size:42px; }.property-intro,.photographs { padding-left:18px;padding-right:18px; } }
@media(orientation:landscape) and (max-height:600px) {
  #photo-dialog { width:100%;height:100dvh;border:0; }.photo-dialog-head { padding:7px 15px; }.photo-dialog-head p { display:none; }
  .photo-dialog-head h2 { font-size:22px; }.photo-dialog-foot { display:flex;padding:8px 15px;gap:20px; }
  .photo-dialog-foot>p { font-size:12px;line-height:1.5; }.photo-travel { gap:10px; }
}

.photo-open{color:var(--ink);border-color:var(--line)}.photo-caption .photo-status{color:var(--bronze)}.photo-dialog-foot{background:var(--paper)}
