/* The same scene state owns every overlaid content surface. Keep their geometry
   during travel, then reveal the destination's copy and capture together. */
#building .explorer-readout,
#building .product-panel,
#building .explorer-features {
  transition:
    opacity 220ms ease,
    translate 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 220ms ease,
    border-color 220ms ease;
}
#building[data-travelling='true'] .explorer-readout,
#building[data-travelling='true'] .product-panel,
#building[data-travelling='true'] .explorer-features {
  opacity: 0;
  translate: 0 8px;
  pointer-events: none;
}
.product-audience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.5;
}
.product-audience strong {
  color: #f2dca9;
  font-weight: 600;
}
.product-audience span {
  color: #c0d1dc;
}
.product-slide {
  min-width: 0;
}
.product-screen-stage {
  touch-action: pan-y pinch-zoom;
}
.product-slide[aria-busy='true'],
.product-viewer-body[aria-busy='true'] {
  cursor: progress;
}
.product-viewer {
  margin: auto;
}
.product-viewer-shell {
  height: min(900px, calc(100dvh - 34px));
}
.product-viewer-head > div:first-child {
  min-width: 0;
}
.product-viewer-head p {
  color: #ecd3a0;
}
.product-viewer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.product-zoom {
  color: #f1d79f;
  background: #d9bc7b10;
  border: 1px solid #ddc58b55;
  border-radius: 7px;
  min-height: 44px;
  padding: 7px 13px;
  font-size: 12px;
}
.product-viewer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.product-viewer-stage {
  min-width: 0;
  padding: 22px;
}
.product-canvas {
  position: relative;
  width: min(100%, var(--screen-width));
  margin: 0 auto;
  isolation: isolate;
  touch-action: pan-y pinch-zoom;
}
.product-viewer-stage[data-format='phone'] .product-canvas {
  width: min(330px, 100%);
}
.product-viewer-stage .product-canvas img,
.product-viewer-stage[data-format='phone'] .product-canvas img {
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  border-radius: 8px;
}
.product-viewer-stage[data-zoomed='true'] .product-canvas {
  width: var(--screen-width);
  max-width: none;
  margin: 0;
  touch-action: auto;
}
.product-highlight {
  position: absolute;
  translate: -50% -50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fae4b4;
  background: #16303cef;
  color: #f7dfaa;
  font:
    600 14px/1 Arial,
    sans-serif;
  box-shadow: 0 2px 16px #0008;
  display: grid;
  place-items: center;
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease;
}
.product-highlight:hover,
.product-highlight[aria-pressed='true'] {
  background: #efd59b;
  color: #14212b;
  box-shadow:
    0 0 0 5px #f5dcaa30,
    0 3px 18px #0006;
}
.product-guide {
  overflow: auto;
  min-height: 0;
  padding: 23px 20px;
  border-left: 1px solid #b7c9d22b;
  background: #14222e;
}
.product-guide-context {
  font-size: 12px;
  line-height: 1.75;
  color: #c6d4dd;
  margin: 0 0 21px;
}
.product-guide-heading {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e5cc91;
  margin: 0 0 12px;
}
.product-guide-choices {
  display: grid;
  gap: 8px;
}
.product-highlight-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid #b7c9d22b;
  background: #0d1b26;
  border-radius: 8px;
  padding: 11px;
  min-height: 48px;
  color: #d7e2e8;
  line-height: 1.5;
}
.product-highlight-choice strong {
  font-size: 12px;
  font-weight: 400;
}
.product-highlight-choice span {
  flex: 0 0 24px;
  color: #efd39a;
  font-size: 11px;
  text-align: center;
}
.product-highlight-choice[aria-pressed='true'] {
  border-color: #ecd097;
  background: #d5b97f16;
}
.product-guide-detail {
  margin-top: 24px;
  border-top: 1px solid #b7c9d22b;
  padding-top: 20px;
  scroll-margin: 18px;
}
.product-guide-detail h3 {
  margin: 0 0 12px;
  color: #f0ddba;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.35px;
}
.product-guide-detail p {
  color: #d0dce3;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.product-guide-note {
  margin: 22px 0 0;
  color: #a6bcc9;
  font-size: 10px;
  line-height: 1.6;
}
.product-guide-back {
  display: none;
}
@media (max-width: 980px) and (min-width: 761px) {
  .product-viewer-body {
    grid-template-columns: minmax(0, 1fr) 275px;
  }
  .product-guide {
    padding: 18px 15px;
  }
}
@media (max-width: 760px) {
  .product-viewer-shell {
    height: calc(100dvh - 18px);
  }
  .product-viewer-head {
    gap: 12px;
  }
  .product-viewer h2 {
    font-size: 19px;
  }
  .product-viewer-head p {
    font-size: 10px;
  }
  .product-viewer-actions {
    gap: 6px;
    flex-direction: column-reverse;
  }
  .product-zoom {
    padding: 6px;
    font-size: 10px;
    min-height: 35px;
  }
  .product-viewer-body {
    display: block;
    overflow: auto;
    overscroll-behavior: contain;
  }
  .product-viewer-stage {
    padding: 25px 15px;
    overflow: auto;
  }
  .product-viewer-stage[data-zoomed='true'] {
    max-height: 65dvh;
  }
  .product-guide {
    border-left: 0;
    border-top: 1px solid #b7c9d22b;
    overflow: visible;
    padding: 22px 20px;
  }
  .product-guide-context {
    font-size: 13px;
  }
  .product-guide-detail {
    scroll-margin: 18px;
  }
  .product-guide-back {
    display: block;
    color: #ead3a4;
    border: 0;
    background: transparent;
    padding: 12px 0;
    margin-top: 15px;
    min-height: 44px;
    font-size: 12px;
  }
  .product-viewer-foot {
    flex-direction: column;
    gap: 8px;
    padding: 10px 15px;
  }
  .product-viewer-foot p {
    font-size: 11px;
    line-height: 1.5;
    max-height: 50px;
    overflow: auto;
  }
  .product-viewer-foot .product-screen-controls {
    align-self: stretch;
    justify-content: space-between;
  }
  .product-audience {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #building .explorer-readout,
  #building .product-panel,
  #building .explorer-features,
  .product-highlight {
    transition: none;
  }
}

.product-viewer h2 {
  letter-spacing: -0.35px;
}
