/* Only the new-build content differs; shared sections use the approved home styles. */
.new-build-page .preparation-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 32px;
  background: linear-gradient(120deg, #eff6fb, #e8f1f8);
}

.new-build-page #preparation-title,
.new-build-page #states-title {
  font-size: var(--home-section-heading-size);
  line-height: 1.18;
}

.new-build-page .preparation h2 { margin-bottom: 22px; }
.new-build-page .preparation p { max-width: 58ch; font-size: 17px; line-height: 1.55; }
.new-build-page .preparation-notes { display: flex; flex-direction: column; gap: 20px; }
.new-build-page .preparation-notes p { margin: 0; }
.new-build-page .preparation-notes strong { display: block; margin-bottom: 4px; font-weight: 700; }
.new-build-page .preparation-notes .text-link {
  align-self: flex-end;
  gap: 12px;
  margin-top: 8px;
  transition: color 240ms ease, scale 240ms ease;
}
.new-build-page .preparation-notes .text-link:hover { color: #557a9c; scale: 1.035; }

.new-build-page .apartment-states .situation-grid button {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 106px;
  width: 100%;
  padding: 20px 25px;
  border: 1px solid #d0dce7;
  border-radius: 20px;
  background: #fff;
  color: #393736;
  font: 600 clamp(16px, 1.55vw, 22px)/1.35 Montserrat, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background-color 240ms ease, transform 240ms ease, border-color 240ms ease;
}
.new-build-page .apartment-states .situation-grid button > svg:first-child {
  width: 48px;
  height: 48px;
  stroke-width: 1.2;
}
.new-build-page .apartment-states .situation-grid button .arrow { margin-left: auto; }
.new-build-page .apartment-states .situation-grid button:hover {
  background: #eaf3fa;
  transform: translateY(-2px);
}
.new-build-page .apartment-states .situation-grid button[aria-pressed="true"] {
  border-color: #6a8fb3;
  box-shadow: inset 0 0 0 1px #6a8fb3;
}

.new-build-page .turnkey-meaning-grid .turnkey-newbuild-intro {
  grid-column: 1 / -1;
}

.new-build-page #state-dialog { width: min(600px, calc(100% - 32px)); }
.new-build-page #state-dialog-copy {
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.6;
}
.new-build-page #state-quote {
  width: 100%;
  justify-content: space-between;
  margin-top: 28px;
}

@media (min-width: 1100px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .home-page.new-build-page .turnkey-meaning.story-active {
    --story-card-height: clamp(105px, calc((100svh - 210px) / 5), 135px);
  }
  .new-build-page .story-active .turnkey-meaning-grid {
    grid-template-rows: repeat(5, var(--story-card-height));
  }
}

@media (max-width: 1099px) {
  .new-build-page .turnkey-meaning-grid .turnkey-newbuild-intro { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .new-build-page .preparation-content { grid-template-columns: 1fr; gap: 28px; }
  .new-build-page .preparation-notes .text-link { align-self: flex-start; }
}

@media (max-width: 640px) {
  .new-build-page .hero-copy h1 span { display: block; }
  .new-build-page .preparation-content { padding: 26px 24px; border-radius: 24px; }
  .new-build-page .preparation h2 { margin-bottom: 16px; }
  .new-build-page .preparation p { font-size: 16px; }
  .new-build-page .apartment-states .situation-grid button { min-height: 76px; padding: 16px 18px; gap: 14px; }
  .new-build-page .apartment-states .situation-grid button > svg:first-child { width: 34px; height: 34px; }
  .new-build-page .turnkey-meaning-grid .turnkey-newbuild-intro { grid-column: 1; }
  .new-build-page #state-dialog-copy { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .new-build-page .apartment-states .situation-grid button,
  .new-build-page .preparation-notes .text-link { transition: none; }
}
