.installation-views {
  background: linear-gradient(var(--surface-section-light), var(--surface-page) var(--section-fade-length));
  color: #1b2c36;
}

.installation-views h2 {
  font: var(--font-medium) clamp(2.25rem, 4vw, 3.5rem) / 1.05 var(--poster-type);
  letter-spacing: -.035em;
}

.installation-intro {
  max-width: 50ch;
  margin-block: var(--space-12) clamp(var(--space-24), 3vw, var(--space-40));
  color: var(--text-secondary);
}

.installation-gallery {
  position: relative;
  container-type: inline-size;
}

.installation-track {
  --slide-height: min(44cqi, 67svh, 42rem);
  display: flex;
  align-items: center;
  gap: clamp(var(--space-16), 3vw, var(--space-48));
  min-block-size: var(--slide-height);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.installation-track:focus-visible { outline-offset: calc(-1 * var(--focus-width)); }

.installation-slide {
  --slide-width: min(88cqi, calc(var(--slide-height) * var(--photo-ratio)));
  flex: none;
  inline-size: var(--slide-width);
  scroll-snap-align: center;
}

.installation-slide:first-child { margin-inline-start: calc((100% - var(--slide-width)) / 2); }
.installation-slide:last-child { margin-inline-end: calc((100% - var(--slide-width)) / 2); }

.installation-slide img {
  display: block;
  inline-size: 100%;
  block-size: auto;
}

.installation-controls {
  position: absolute;
  inset: 0 var(--space-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.installation-arrow {
  display: grid;
  place-items: center;
  inline-size: var(--control-min-height);
  block-size: var(--control-min-height);
  padding: 0;
  border: var(--divider-width) solid var(--stroke-subtle);
  background: var(--palette-white);
  cursor: pointer;
  pointer-events: auto;
}

.installation-arrow svg { inline-size: 20px; block-size: 20px; }
.installation-arrow[aria-disabled="true"] { opacity: .5; cursor: default; }
.installation-arrow:not([aria-disabled="true"]):hover { color: var(--text-action); }

@media (max-width: 680px) {
  .installation-track { min-block-size: 0; }
  .installation-slide { --slide-width: 100%; }
  .installation-controls {
    position: static;
    justify-content: end;
    gap: var(--space-08);
    margin-block-start: var(--space-12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .installation-track { scroll-behavior: auto; }
}

.installation-enlarge { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.installation-enlarge:focus-visible { outline: 1px solid currentColor; outline-offset: -5px; }
.installation-scan { position: absolute; top: 14px; right: 14px; width: 21px; height: 21px; color: #1b2c36; opacity: 0; transition: opacity 250ms ease; }
.installation-scan svg { display: block; width: 100%; height: 100%; }
.installation-enlarge:is(:hover,:focus-visible) .installation-scan { opacity: 1; }
@media (hover: none), (pointer: coarse) { .installation-scan { opacity: 1; } }
