/* Store model and four separate horizontal funding cards. */
.selected-preview #space.selected-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  grid-template-rows: min-content auto;
  column-gap: clamp(40px, 4vw, 64px);
  row-gap: 36px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(64px, 4.2vw, 80px) var(--site-edge) clamp(72px, 4.7vw, 90px);
  overflow-x: clip;
  background: var(--cream) url('../../images/selected-20260923/cream-plaster-scene.webp') center / cover no-repeat;
  border-top: 1px solid #164c3e24;
}
.selected-preview #space .opening-heading {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
  text-align: center;
}
.selected-preview #space .opening-heading h2 {
  max-width: none;
  margin: 0;
  font-size: var(--type-section);
  word-break: keep-all;
  text-wrap: balance;
}
.selected-preview #space .opening-model-scene {
  grid-column: 1;
  grid-row: 2;
  display: block;
  align-self: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 48px 0 118px;
}
.selected-preview #space .selected-opening__model {
  display: block;
  position: relative;
  min-width: 0;
  width: min(100%, 580px);
  height: auto;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border: 0;
  cursor: default;
}
.selected-preview #space .selected-opening__model .opening-model-art {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1262 / 991;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  text-decoration: none;
  transform: scale(1);
  transform-origin: 50% 62%;
  transition: transform 800ms cubic-bezier(.2, .65, .25, 1);
}
/* Preserve the visible model bounds within its transparent source canvas. */
.selected-preview #space .opening-model-art img {
  display: block;
  position: absolute;
  width: 114.7385%;
  max-width: none;
  height: auto;
  left: -9.1918%;
  top: -2.5227%;
  bottom: auto;
  object-fit: contain;
  transform: none;
  transition: none;
  filter: drop-shadow(0 16px 14px #45351c18);
}
.selected-preview #space .selected-opening__model:hover .opening-model-art img { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .selected-preview #space .selected-opening__model:hover .opening-model-art { transform: scale(1.075); }
}
.selected-preview #space .opening-model-guides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: #315b4b;
}
.selected-preview #space .model-guide-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.selected-preview #space .model-guide-dot {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.selected-preview #space .opening-model-size {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
  color: var(--deep);
  font-family: Pretendard, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.selected-preview #space .opening-model-size > span {
  position: absolute;
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.selected-preview #space .opening-model-size__area {
  top: 116.3%;
  left: 0;
}
.selected-preview #space .opening-model-size__tables {
  top: -36px;
  right: 0;
}
.selected-preview #space .opening-model-size strong {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
}
.selected-preview #space .opening-model-size small { font-size: 18px; font-weight: 600; }

/* Each step owns its own cream surface below the shared section heading. */
.selected-preview #space .selected-opening__copy {
  grid-column: 2;
  grid-row: 2;
  display: block;
  position: relative;
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--deep);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.selected-preview #space .selected-opening__copy::before { content: none; }
.selected-preview #space .selected-finance__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: funding;
}
.selected-preview #space .selected-finance__steps li {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  position: relative;
  min-width: 0;
  min-height: 144px;
  margin: 0;
  padding: 24px;
  border: 1px solid #164c3e55;
  border-radius: 12px;
  background: #f5f2e9;
  color: var(--deep);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.025em;
  word-break: keep-all;
  counter-increment: funding;
}
.selected-preview #space .selected-finance__steps li::before {
  content: counter(funding, decimal-leading-zero);
  display: block;
  position: static;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 8px 18px 8px 0;
  width: auto;
  height: auto;
  color: var(--green);
  background: none;
  border-radius: 0;
  border-right: 1px solid #164c3e33;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.selected-preview #space .selected-finance__steps li::after { content: none; display: none; }
.selected-preview #space .finance-step-copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.selected-preview #space .finance-step-copy h4 {
  margin: 0;
  color: var(--deep);
  font-family: Pretendard, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
  word-break: keep-all;
}
.selected-preview #space .finance-step-copy p {
  margin: 0;
  max-width: none;
  color: #39574e;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -.02em;
  word-break: keep-all;
}
html[lang=en] .selected-preview #space .finance-step-copy h4 { font-size: 26px; }

@media (max-width: 1100px) {
  .selected-preview #space.selected-opening {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 28px;
  }
  .selected-preview #space .opening-heading { grid-column: 1; grid-row: 1; }
  .selected-preview #space .opening-model-scene { grid-column: 1; grid-row: 2; }
  .selected-preview #space .selected-opening__copy { grid-column: 1; grid-row: 3; }
}
@media (max-width: 760px) {
  .selected-preview #space.selected-opening { gap: 26px; padding-block: 64px; }
  .selected-preview #space .opening-model-scene { padding-bottom: 120px; }
  .selected-preview #space .selected-finance__steps {
    gap: 12px;
    grid-auto-rows: auto;
  }
  .selected-preview #space .selected-finance__steps li {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: baseline;
    column-gap: 10px;
    row-gap: 8px;
    min-height: 0;
    padding: 18px 20px;
  }
  .selected-preview #space .selected-finance__steps li::before {
    padding: 0;
    border-right: 0;
    font-size: 18px;
    line-height: 1.25;
  }
  .selected-preview #space .finance-step-copy { display: contents; }
  .selected-preview #space .finance-step-copy h4 {
    grid-column: 2;
    grid-row: 1;
    font-size: 22px;
  }
  .selected-preview #space .finance-step-copy p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 17px;
  }
  html[lang=en] .selected-preview #space .finance-step-copy h4 {
    font-size: 20px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 600px) {
  /* Include the existing label overhang; reducing this to zero would overlap
     the first funding card, especially as the model grows on wider phones. */
  .selected-preview #space .opening-model-scene {
    padding-block: 40px clamp(84px, calc(12.8vw + 33px), 120px);
  }
  .selected-preview #space .opening-model-size { font-size: 18px; }
  .selected-preview #space .opening-model-size__tables { top: -30px; }
  .selected-preview #space .opening-model-size strong { font-size: 28px; }
  .selected-preview #space .opening-model-size small { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .selected-preview #space .selected-opening__model .opening-model-art,
  .selected-preview #space .selected-opening__model:hover .opening-model-art { transform: none; transition: none; }
}
