/* Design-project content; shared sections use the approved home styles. */
.design-page .preparation-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 32px;
  background: linear-gradient(120deg, #eff6fb, #e8f1f8);
}
.design-page .hero-wrap { position: relative; z-index: 2; }
.design-page .page-content > #estimate {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-block: 0;
  background: linear-gradient(120deg, #eff6fb, #e8f1f8);
}
.design-page .page-content > #estimate::before {
  content: "";
  position: absolute;
  inset: -58px 0 auto;
  height: 58px;
  background: #eff6fb;
  pointer-events: none;
}
.design-page #estimate .preparation-content {
  position: relative;
  padding-inline: 0;
  border-radius: 0;
  background: transparent;
}
.design-page .page-content > #project-check {
  padding-block: clamp(48px, 5vw, 72px);
  background: linear-gradient(120deg, #eff6fb, #e8f1f8);
}
.design-page #project-check .project-check-content {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.design-page .project-check-intro {
  max-width: 880px;
  margin: 0 auto 32px;
  text-align: center;
}
.design-page .preparation h2,
.design-page .project-documents h2,
.design-page .project-check h2,
.design-page .designer-partner h2 {
  font-size: var(--home-section-heading-size);
  line-height: 1.18;
}
.design-page .preparation h2,
.design-page .project-check h2 { margin: 0 0 22px; }
.design-page .project-check h2 { margin-bottom: 16px; }
.design-page .preparation p,
.design-page .project-check-intro p {
  max-width: 55ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}
.design-page .project-check-intro p { max-width: none; }
.design-page .preparation-notes { display: grid; gap: 22px; }
.design-page .preparation-notes p { margin: 0; }
.design-page .preparation-notes .text-button {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  margin-top: 4px;
}
.design-page .project-documents .section-heading { display: block; margin-bottom: 28px; }
.design-page .project-documents h2 { margin: 0 0 12px; }
.design-page .project-documents .section-heading > p { max-width: none; margin: 0; font-size: 19px; }
.design-page .document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.design-page .document-grid article { min-width: 0; padding: 28px; border-radius: 22px; background: #edf3f8; }
.design-page .document-grid svg { width: 44px; height: 44px; margin-bottom: 22px; stroke-width: 1.3; }
.design-page .document-grid h3 { min-height: 60px; margin: 0 0 10px; font-size: clamp(20px, 2vw, 25px); }
.design-page .document-grid p { margin: 0; font-size: 16px; line-height: 1.55; }
.design-page .document-action { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.design-page .document-action .button { flex: none; }
.design-page .document-action > p { margin: 0; font-size: 14px; line-height: 1.45; }
.design-page .project-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin-inline: auto;
  min-width: 0;
}
.design-page .project-check-list article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
  min-height: 142px;
  padding: 18px 22px;
  border: 1px solid #d7e4ed;
  border-radius: 20px;
  background: #fff;
}
.design-page .project-check-list article > svg { width: 36px; height: 36px; color: #688dae; stroke-width: 1.35; }
.design-page .project-check-list h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.design-page .project-check-list p { margin: 0; font-size: 14px; line-height: 1.5; }
.design-page .partner-panel { padding: clamp(32px, 4vw, 56px); background: #393736; color: #fff; border-radius: 28px; }
.design-page .partner-panel h2 { margin: 0 0 24px; text-align: center; }
.design-page .partner-panel p { max-width: none; margin: 0; font-size: 19px; line-height: 1.65; }
.design-page .turnkey-meaning-grid .turnkey-newbuild-intro { grid-column: 1 / -1; }
.design-page .design-package-note {
  max-width: 76ch;
  margin: 18px auto 0;
  color: #43515d;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 1100px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .home-page.design-page .turnkey-meaning.story-active {
    --story-card-height: clamp(105px, calc((100svh - 210px) / 5), 135px);
  }
  .design-page .story-active .turnkey-meaning-grid { grid-template-rows: repeat(5, var(--story-card-height)); }
}
@media (max-width: 900px) {
  .design-page .preparation-content,
  .design-page .project-check-content { grid-template-columns: 1fr; align-items: start; }
  .design-page .project-check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-page .project-check-list article { display: block; }
  .design-page .project-check-list article > svg { margin-bottom: 12px; }
}
@media (max-width: 760px) {
  .design-page .document-grid { grid-template-columns: 1fr; }
  .design-page .document-grid h3 { min-height: 0; }
  .design-page .document-action { align-items: stretch; flex-direction: column; gap: 14px; }
  .design-page .project-check-list { grid-template-columns: 1fr; }
  .design-page .project-check-list article { display: grid; grid-template-columns: 34px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .design-page .hero-copy h1 span { display: block; }
  .design-page .page-content > #estimate::before { inset-block-start: -30px; height: 30px; }
  .design-page #estimate .preparation-content { padding-block: 32px; padding-inline: 0; border-radius: 0; }
  .design-page .page-content > #project-check { padding-block: 44px; }
  .design-page #project-check .project-check-content { padding: 0; border-radius: 0; }
  .design-page .preparation p,
  .design-page .project-check-intro p,
  .design-page .project-documents .section-heading > p { font-size: 16px; }
  .design-page .document-grid article { padding: 24px; }
  .design-page .document-action .button { width: 100%; justify-content: center; }
  .design-page .project-check-list article { padding: 18px; }
  .design-page .project-check-list h3 { font-size: 18px; }
  .design-page .project-check-list p { font-size: 14px; }
  .design-page .partner-panel { padding: 28px 24px; border-radius: 24px; }
  .design-page .partner-panel p { font-size: 16px; }
  .design-page .turnkey-meaning-grid .turnkey-newbuild-intro { grid-column: 1; }
  .design-page .design-package-note { padding-inline: 22px; text-align: left; }
}
