/* Reduced motion exposes the whole story. Give its facts and model separate
   space, and retain the redundant live caption for screen readers. */
@media (prefers-reduced-motion: reduce) {
  .housing-build #build-experience {
    height: auto;
    min-height: 100svh;
  }
  .housing-build .masthead {
    background: var(--paper);
  }
  .housing-build .build-stage {
    display: grid;
    grid-template-columns: minmax(0, min(38%, 430px)) minmax(0, 1fr);
    gap: 28px 40px;
    height: auto;
    min-height: 100svh;
    padding: 96px 6% 36px;
    position: relative;
    overflow: visible;
  }
  .housing-build .build-story {
    grid-column: 1;
    grid-row: 1 / 4;
    position: static;
    inset: auto;
    width: 100%;
    max-width: 430px;
    overflow: visible;
    pointer-events: auto;
  }
  .housing-build .build-panel {
    pointer-events: auto;
  }
  .housing-build #build-canvas {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    position: sticky;
    inset: auto;
    top: 96px;
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .housing-build .build-controls,
  .housing-build .build-ending {
    grid-column: 2;
    position: static;
    inset: auto;
    flex-wrap: wrap;
  }
  .housing-build .build-controls { grid-row: 2; }
  .housing-build .build-ending { grid-row: 3; }
  .housing-build #build-caption,
  .housing-build.is-build-close #build-caption,
  .housing-build.is-build-block #build-caption {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .housing-build .build-stage {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 92px 24px 32px;
  }
  .housing-build .build-story { display: contents; }
  .housing-build .build-panel { order: 2; max-width: none; }
  .housing-build .build-intro { order: 0; }
  .housing-build #build-canvas {
    order: 1;
    position: relative;
    inset: auto;
    width: calc(100% + 48px);
    height: auto;
    min-height: 0;
    clip-path: inset(25% 0);
    margin: calc(12px - 25svh) -24px calc(24px - 25svh);
  }
  .housing-build .build-controls { order: 3; margin-top: 24px; }
  .housing-build .build-ending { order: 4; margin-top: 20px; }
}
