.import-scene.import-stack-scene {
  position: relative;
  isolation: isolate;
  display: block;
  padding: 0;
  aspect-ratio: 1.24;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  container-type: inline-size;
}

.import-stack { position: absolute; inset: 0; }

.stack-window {
  position: absolute;
  width: 86%;
  height: calc(64cqw + max(6cqw, 24px));
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
}

.stack-window-back {
  z-index: 0;
  top: 3cqw;
  left: 10%;
  opacity: .65;
}

.stack-window-front {
  display: flex;
  flex-direction: column;
  background: #f8f6ef;
  z-index: 1;
  top: 9cqw;
  left: 4%;
  box-shadow: 0 14px 30px -18px #00000024;
}

.stack-browser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 6cqw;
  min-height: 24px;
  padding-inline: 3cqw;
  border-bottom: 1px solid #ededed;
}

.stack-browser-dots { display: flex; gap: 4px; width: 23px; }
.stack-browser-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d7d7d7; }
.stack-address-placeholder { width: 32%; height: 1.2cqw; min-height: 4px; border-radius: 2px; background: #ededed; }
.stack-browser-end { width: 23px; }

.stack-wire-nav { display: flex; align-items: center; justify-content: space-between; height: 10cqw; padding-inline: 5cqw; border-bottom: 1px solid #f0f0f0; }
.stack-wire-logo { width: 18%; height: 2.2cqw; border-radius: 2px; background: #dcdcdc; }
.stack-wire-nav > div { display: flex; gap: 2cqw; width: 31%; }
.stack-wire-nav i { flex: 1; height: 1.2cqw; border-radius: 2px; background: #e5e5e5; }

.stack-wire-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; padding: 5cqw; }
.stack-wire-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.stack-wire-heading, .stack-wire-lines { display: grid; width: 100%; }
.stack-wire-heading { gap: 1.4cqw; }
.stack-wire-heading i { display: block; height: 3cqw; border-radius: 2px; background: #dedede; }
.stack-wire-heading i:last-child { width: 77%; }
.stack-wire-lines { gap: 1cqw; margin-top: 3cqw; }
.stack-wire-lines i { display: block; height: 1.2cqw; border-radius: 2px; background: #ededed; }
.stack-wire-lines i:last-child { width: 65%; }
.stack-wire-button { width: 49%; height: 4.5cqw; margin-top: 3.5cqw; border-radius: 3px; background: #d7d7d7; }
.stack-wire-image { height: 29cqw; border-radius: 4px; background: #ebebeb; }

.stack-wire-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5cqw; padding: 0 5cqw 5cqw; }
.stack-wire-cards > div { display: grid; gap: 1.5cqw; }
.stack-wire-cards i { height: 7cqw; border-radius: 3px; background: #f0f0f0; }
.stack-wire-cards span { width: 62%; height: 1.3cqw; border-radius: 2px; background: #e5e5e5; }

.stack-window-front .stack-browser { flex: none; background: #fff; }
.stack-browser-address { display: flex; align-items: center; gap: 5px; color: #8a918b; font-size: clamp(6px, 1.3cqw, 8px); }
.stack-browser-address svg { width: 9px; height: 9px; }
.stack-browser > svg { width: 10px; height: 10px; color: #8a918b; }
.stack-site-nav { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 10px; height: 10cqw; padding-inline: 5cqw; border-bottom: 1px solid #e2e2d8; color: #3d4e3e; }
.stack-site-logo { font-family: Georgia, serif; font-size: clamp(16px, 4cqw, 24px); letter-spacing: -.07em; line-height: 1; }
.stack-site-links { display: flex; align-items: center; gap: 2cqw; font-size: clamp(5px, 1.3cqw, 8px); white-space: nowrap; }
.stack-site-hero { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.08fr; }
.stack-site-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 4cqw; color: #3d4e3e; }
.stack-site-headline { font-family: Georgia, serif; font-size: clamp(18px, 5.8cqw, 37px); font-weight: 400; line-height: .98; letter-spacing: -.065em; }
.stack-site-description { margin-top: 3cqw; font-size: clamp(6px, 1.4cqw, 9px); line-height: 1.6; color: #788075; }
.stack-site-cta { display: flex; align-items: center; gap: 2.5cqw; width: fit-content; margin-top: 3.5cqw; padding: 2cqw 2.3cqw; background: #3d4e3e; color: #fff; font-size: clamp(5px, 1.2cqw, 8px); line-height: 1; white-space: nowrap; }
.stack-site-photo { position: absolute; inset: 0 0 0 auto; width: 51.923%; height: 100%; object-fit: cover; object-position: 61% center; }

@media (max-width: 679px) {
  .stack-window { border-radius: 8px; }
  .stack-browser { gap: 8px; }
}
