/* Real cleaning work, using the site's established palette and type. */
.work-gallery { background: var(--paper); }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filters button { min-height: 46px; border: 1px solid var(--line); border-radius: 24px; padding: 10px 18px; background: #fff; color: var(--navy); font-size: .9rem; font-weight: 700; }
.gallery-filters button:hover { border-color: var(--aqua); }
.gallery-filters button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.gallery-count { margin: 0; color: var(--muted); font-size: .85rem; }
.work-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px 22px; align-items: start; }
.work-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.work-photo { display: block; overflow: hidden; background: var(--cream); text-decoration: none; }
.work-photo img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
.work-detail .work-photo img { object-fit: contain; }
.work-comparison .work-photo { background: #fff; }
.work-comparison .work-photo img { aspect-ratio: 2/3; object-fit: contain; }
.work-photo:focus-visible { outline-offset: -5px; }
.work-enlarge { display: flex; align-items: center; justify-content: space-between; min-height: 43px; border-top: 1px solid var(--line); padding: 9px 17px; background: var(--mint); color: var(--navy); font-size: .8rem; font-weight: 750; }
.work-enlarge > span { font-size: 1.12rem; }
.work-photo:hover .work-enlarge { background: #dbecea; }
.work-card figcaption { padding: 16px 18px 18px; }
.work-card figcaption strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.35; }
.work-card figcaption > span { display: block; margin-top: 5px; color: var(--muted); font-size: .83rem; }
.gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 35px; border-top: 1px solid var(--line); padding-top: 28px; }
.gallery-bottom p { margin: 0; color: var(--navy); font-size: 1.02rem; }
.gallery-bottom .button-outline { flex: none; background: #fff; color: var(--navy); }
.gallery-bottom .button-outline:hover { background: var(--mint); }
body.photo-viewer-open { overflow: hidden; }
.photo-viewer { width: min(1100px,calc(100vw - 36px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; overflow: hidden; border: 1px solid #d4e0df; border-radius: 17px; padding: 0; background: var(--paper); color: var(--ink); }
.photo-viewer::backdrop { background: rgba(3,24,39,.85); }
.photo-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 22px; }
.photo-viewer-header h2 { margin: 0; font-family: "Avenir Next","Segoe UI",Arial,sans-serif; font-size: 1.07rem; font-weight: 750; letter-spacing: 0; }
.photo-viewer-header p { margin: 3px 0 0; font-size: .78rem; }
.photo-viewer-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.7rem; line-height: 1; }
.photo-viewer-viewport { display: grid; place-items: center; height: min(71dvh,800px); overflow: auto; background: #e9eeed; }
.photo-viewer-viewport img { width: 100%; height: 100%; min-height: 0; max-height: min(71dvh,800px); object-fit: contain; }
.photo-viewer.is-zoomed .photo-viewer-viewport { display: block; }
.photo-viewer.is-zoomed .photo-viewer-viewport img { width: var(--photo-zoom-width); height: auto; max-width: none; max-height: none; object-fit: initial; }
.photo-viewer-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px; }
.photo-viewer-controls button { min-height: 44px; border: 1px solid var(--line); border-radius: 7px; padding: 9px 14px; background: #fff; color: var(--navy); font-size: .84rem; font-weight: 700; }
.photo-viewer-controls button:hover, .photo-viewer-controls button[aria-pressed="true"] { border-color: var(--navy); background: var(--mint); }
.photo-viewer-close:hover { background: var(--mint); }
@media (max-width: 1240px) { .site-nav { display: none; } .mobile-nav { display: block; } .mobile-nav[open] nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 21px; background: #fff; box-shadow: 0 14px 25px rgba(10,51,86,.12); } .mobile-nav summary { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; cursor: pointer; list-style: none; } .mobile-nav summary::-webkit-details-marker { display: none; } .mobile-nav summary span { display: block; width: 27px; height: 2px; background: var(--navy); } .mobile-nav nav a { border-bottom: 1px solid var(--line); padding: 13px 8px; color: var(--navy); font-weight: 700; text-decoration: none; } .mobile-nav nav a:last-child { border-bottom: 0; } }
@media (max-width: 950px) { .work-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .work-gallery-grid { grid-template-columns: 1fr; gap: 21px; }
  .gallery-toolbar { margin-bottom: 22px; }
  .gallery-filters { gap: 7px; }
  .gallery-filters button { padding: 10px 13px; font-size: .81rem; }
  .work-photo img { aspect-ratio: 4/3; }
  .work-comparison .work-photo img { aspect-ratio: 2/3; }
  .gallery-bottom { align-items: flex-start; flex-direction: column; gap: 18px; }
  .photo-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .photo-viewer-header { padding: 13px 14px; }
  .photo-viewer-viewport, .photo-viewer-viewport img { height: 65dvh; max-height: 65dvh; }
  .photo-viewer.is-zoomed .photo-viewer-viewport img { height: auto; max-height: none; }
  .photo-viewer-controls { gap: 6px; padding: 10px; }
  .photo-viewer-controls button { padding: 8px 10px; font-size: .78rem; }
}
