/* Recovered real photographs keep their complete composition. */
.pr-page section.sc-page-intro { padding-top:19px; padding-bottom:24px; }
.pr-page .sc-page-intro .sc-section-copy { max-width:940px; }
.pr-page .sc-page-intro .sc-section-heading h1 { margin-bottom:12px; }
.pr-page .sc-page-intro .sc-lead { max-width:820px; font-size:16px; line-height:1.6; }
.pr-page .sc-works-catalog .tabs .tab-buttons { gap:9px; align-items:center; margin-bottom:22px; }
.pr-page .sc-works-catalog .tabs .tab-buttons>button { gap:9px; padding:11px 16px; }
.pr-filter-count { min-width:23px; padding:2px 6px; border-radius:5px; background:#efede7; color:#767169; font-size:11px; line-height:1.35; font-variant-numeric:tabular-nums; }
.pr-page .sc-works-catalog .tabs .tab-buttons>button.active .pr-filter-count { background:#ffffff26; color:#fff; }
.pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid { display:block; columns:3; column-gap:20px; margin:0; }
.pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid>img { display:block; width:100%; max-width:none; height:auto; min-height:0; margin:0 0 20px; aspect-ratio:auto; object-fit:contain; break-inside:avoid; border-radius:12px; background:#f1f0eb; }
.pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid>img[hidden] { display:none!important; }
/* Enhanced layout keeps complete photographs in stable horizontal rows.
   The unenhanced images above remain available if JavaScript is unavailable. */
.pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid.pr-justified { display:flex; flex-direction:column; columns:auto; column-gap:0; }
.pr-page .sc-works-catalog .img-list.pr-justified>.pr-photo-row { display:flex; flex-wrap:nowrap; align-items:flex-start; justify-content:flex-start; width:100%; min-width:0; margin:0; padding:0; }
.pr-page .sc-works-catalog .img-list.pr-justified>.pr-photo-row[hidden] { display:none!important; }
.pr-page .sc-works-catalog .img-list.pr-justified>.pr-photo-row>img { display:block; flex:none; min-width:0; max-width:none; min-height:0; max-height:none; margin:0; aspect-ratio:auto; object-fit:contain; border-radius:12px; background:transparent; box-shadow:none; cursor:zoom-in; }
.pr-page .sc-works-catalog .img-list.pr-justified>.pr-photo-row>img:focus-visible { outline:3px solid #927346; outline-offset:4px; }
.pr-gallery-controls { display:flex; flex-direction:column; align-items:center; gap:13px; padding:26px 0 0; }
.pr-gallery-status { margin:0; color:#767169; font-size:14px; line-height:1.5; font-variant-numeric:tabular-nums; }
.pr-load-more { display:inline-flex; justify-content:center; align-items:center; min-height:50px; padding:13px 25px; border:1px solid #c5b89d; border-radius:9px; background:#f1ece2; color:#39382f; font-family:inherit; font-weight:600; font-size:15px; line-height:1.45; cursor:pointer; transition:background .2s ease,border-color .2s ease; }
.pr-load-more[hidden] { display:none!important; }
.pr-load-more:focus-visible { outline:3px solid #917748; outline-offset:4px; }
section.sc-works-home.pr-home .works-list.sc-project-grid { grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:180px; }
section.sc-works-home.pr-home .works-list.sc-project-grid>img { object-fit:contain; background:#f1f0eb; }
section.sc-works-home.pr-home .works-list.sc-project-grid>img:first-child { object-fit:cover; }
section.sc-works-home.pr-home .sc-gallery-more { font-size:clamp(18px,1.7vw,23px); }
@media (hover:hover) {
  .pr-load-more:hover { background:#e9e0cf; border-color:#a89671; }
}
@media (max-width:991px) {
  .pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid { columns:2; column-gap:16px; }
  .pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid>img { margin-bottom:16px; }
  section.sc-works-home.pr-home .works-list.sc-project-grid { grid-auto-rows:145px; }
}
@media (max-width:767px) {
  .pr-page section.sc-page-intro { padding-top:12px; padding-bottom:19px; }
  .pr-page .sc-page-intro .sc-section-heading h1 { margin-bottom:10px; }
  .pr-page .sc-page-intro .sc-lead { font-size:15px; line-height:1.55; }
  .pr-page .sc-works-catalog .tabs .tab-buttons { gap:7px; margin-bottom:24px; }
  .pr-page .sc-works-catalog .tabs .tab-buttons>button { min-height:43px; gap:7px; padding:10px 11px; font-size:13px; }
  .pr-filter-count { min-width:21px; padding:2px 5px; font-size:10px; }
  .pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid { column-gap:12px; }
  .pr-page .sc-works-catalog .tabs .tab-contents .img-list.sc-project-grid>img { margin-bottom:12px; border-radius:9px; }
  .pr-page .sc-works-catalog .img-list.pr-justified>.pr-photo-row>img { border-radius:9px; }
  .pr-gallery-controls { padding-top:20px; }
  .pr-load-more { width:100%; max-width:340px; min-height:50px; }
  section.sc-works-home.pr-home .works-list.sc-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:clamp(125px,33vw,210px); }
  section.sc-works-home.pr-home .sc-gallery-more { padding:17px; font-size:18px; }
}
@media (prefers-reduced-motion:reduce) {
  .pr-load-more { transition:none; }
}
