.installation-trigger { border: 0; padding: 0; width: 100%; cursor: pointer; text-align: left; font: inherit; grid-column: 1 / -1; min-height: 190px; }
.installation-trigger img { filter: saturate(.8); }
.installation-trigger:hover img { transform: scale(1.035); filter: saturate(1.05); }
.installation-trigger-content { position: absolute; z-index: 2; inset: auto 17px 16px; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.installation-trigger-content b { font: 600 20px/1 "Barlow Condensed"; letter-spacing: .06em; }
.installation-trigger-content small { color: var(--blue); font-size: 8px; letter-spacing: .16em; }
.installation-viewer[hidden] { display: none; }
.installation-viewer { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; }
.installation-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 16, .72); backdrop-filter: blur(12px); }
.installation-dialog { position: relative; z-index: 1; width: min(1060px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: clamp(24px, 4vw, 52px); background: #e8f3f4; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.installation-close { position: absolute; z-index: 2; top: 18px; right: 22px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.installation-heading { max-width: 650px; margin-bottom: 26px; }
.installation-heading h2 { font: 600 clamp(42px, 5vw, 70px)/.9 "Barlow Condensed"; margin: 18px 0; }
.installation-heading p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.installation-stage { position: relative; overflow: hidden; background: #cbdadc; }
.installation-image { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.installation-caption { position: absolute; inset: auto 0 0; display: flex; gap: 22px; align-items: end; padding: 26px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.installation-step-number { color: var(--blue); font: 600 12px "Barlow Condensed"; letter-spacing: .15em; }
.installation-caption h3 { margin: 0 0 5px; font: 500 30px "Barlow Condensed"; }
.installation-caption p { margin: 0; font-size: 11px; }
.installation-arrow { position: absolute; top: 50%; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: rgba(0,0,0,.28); transform: translateY(-50%); cursor: pointer; }
.installation-arrow.prev { left: 18px; } .installation-arrow.next { right: 18px; }
.installation-dots { display: flex; justify-content: center; gap: 8px; padding-top: 18px; }
.installation-dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(18,19,19,.22); cursor: pointer; } .installation-dots button.active { background: var(--red); }
body.installation-open { overflow: hidden; }
@media (max-width: 900px) { .installation-trigger { grid-column: 1 / -1; } .installation-image { aspect-ratio: 1.15; } .installation-caption { padding: 20px; } .installation-caption h3 { font-size: 25px; } }
/* Rebalanced projects mosaic and full-page installation journey. */
@media (min-width: 901px) {
  .project-mosaic { grid-template-rows: 1fr 1fr 170px; }
  .project-photo.featured { grid-column: 1 / 6; grid-row: 1 / 3; }
  .project-photo.tall { grid-column: 6 / 9; grid-row: 1 / 3; }
  .project-photo:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
  .project-photo.wide { grid-column: 9 / 13; grid-row: 2; }
  .installation-trigger { grid-column: 1 / 13; grid-row: 3; min-height: 0; }
}
.installation-viewer { padding: 0; }
.installation-dialog { width: 100%; max-width: none; height: 100%; max-height: none; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding: clamp(24px, 4vw, 58px); }
.installation-heading { margin-bottom: 22px; }
.installation-stage { min-height: 0; }
.installation-image { height: 100%; aspect-ratio: auto; }
@media (max-width: 900px) {
  .project-mosaic { grid-template-rows: repeat(4, 300px) auto; }
  .installation-dialog { height: 100%; overflow: auto; grid-template-rows: auto auto; padding: 24px; }
  .installation-stage { min-height: 0; }
  .installation-image { height: auto; aspect-ratio: 1.15; }
}
/* The renovation image is represented inside the installation journey; remove its duplicate project tile. */
.project-mosaic .project-photo.tall { display: none; }
@media (min-width: 901px) {
  .project-mosaic { grid-template-rows: 1fr 1fr 170px; }
  .project-mosaic .project-photo.featured { grid-column: 1 / 7; grid-row: 1 / 3; }
  .project-mosaic .project-photo:nth-child(3) { grid-column: 7 / 13; grid-row: 1; }
  .project-mosaic .project-photo.wide { grid-column: 7 / 13; grid-row: 2; }
  .project-mosaic .installation-trigger { grid-column: 1 / 13; grid-row: 3; }
}
@media (max-width: 900px) {
  .project-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 260px auto; }
  .project-mosaic .project-photo.featured { grid-column: 1 / 3; grid-row: 1; }
  .project-mosaic .project-photo:nth-child(3) { grid-column: 1; grid-row: 2; }
  .project-mosaic .project-photo.wide { grid-column: 2; grid-row: 2; }
  .project-mosaic .installation-trigger { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 520px) {
  .project-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(3, 280px); }
  .project-mosaic .project-photo.featured, .project-mosaic .project-photo:nth-child(3), .project-mosaic .project-photo.wide, .project-mosaic .installation-trigger { grid-column: 1; grid-row: auto; }
}
/* Clean project presentation: uncropped, caption-free project tiles. */
.project-mosaic .project-photo:not(.installation-trigger) figcaption { display: none; }
@media (min-width: 901px) {
  .project-mosaic { height: auto; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, auto); gap: 16px; }
  .project-mosaic .project-photo.featured { grid-column: 1; grid-row: 1; aspect-ratio: 1; }
  .project-mosaic .project-photo:nth-child(3) { grid-column: 2; grid-row: 1; aspect-ratio: 1; }
  .project-mosaic .project-photo.wide { grid-column: 3; grid-row: 1; aspect-ratio: 1; }
  .project-mosaic .installation-trigger { grid-column: 1 / 4; grid-row: 2; min-height: 170px; }
}
@media (max-width: 900px) {
  .project-mosaic { height: auto; }
  .project-mosaic .project-photo:not(.installation-trigger) { aspect-ratio: 1; min-height: 0; }
  .project-mosaic .installation-trigger { min-height: 150px; }
}
@media (max-width: 900px) {
  .installation-viewer { height: 100dvh; min-height: 100svh; padding: 0; overflow: hidden; }
  .installation-dialog { display: block; width: 100%; height: 100dvh; min-height: 0; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); background: #e8f3f4; }
  .installation-heading { margin: 28px 26px 18px 0; }
  .installation-heading h2 { font-size: clamp(38px, 11vw, 54px); line-height: .92; margin: 12px 0 14px; }
  .installation-heading p { font-size: 12px; line-height: 1.6; }
  .installation-stage { overflow: visible; background: transparent; }
  .installation-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
  .installation-caption { position: static; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 14px; padding: 18px 2px 4px; color: var(--ink); background: transparent; }
  .installation-step-number { padding-top: 4px; color: var(--red); }
  .installation-caption h3 { margin: 0 0 7px; font-size: 28px; }
  .installation-caption p { color: var(--muted); font-size: 12px; line-height: 1.55; }
  .installation-arrow { top: 50%; width: 40px; height: 40px; }
  .installation-arrow.prev { left: 12px; } .installation-arrow.next { right: 12px; }
  .installation-dots { position: static; clear: both; padding-top: 16px; padding-bottom: 6px; }
}
