.motion-hero.motion-showcase {
  width: min(1540px, calc(100% - 2 * clamp(20px, 4vw, 70px)));
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.6fr);
  gap: clamp(18px, 2vw, 32px);
  padding-block: clamp(22px, 4.5svh, 52px) clamp(22px, 4.5svh, 48px);
  min-height: 0;
}
.motion-showcase h1 {
  margin-block: 20px 10px;
  font-size: clamp(36px, min(5.45vw, 11svh), 100px);
}
@media (min-width: 761px) {
  .motion-showcase .hero-copy { container-type: inline-size; }
  .motion-showcase h1 { font-size: clamp(30px, min(16cqw, 10.8svh), 100px); }
}
.motion-showcase .motion-hero-note { max-width: 39ch; }
.motion-showcase .motion-hero-stage {
  --showcase-rail: clamp(30px, 4.25vw, 66px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: clamp(160px, min(23vw, 34svh), 360px) clamp(138px, min(20vw, 29svh), 296px);
  gap: clamp(9px, 1.1vw, 17px);
  padding-inline-end: var(--showcase-rail);
  height: auto;
  perspective: none;
}
.motion-showcase .hero-project[data-showcase-case] {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  height: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid #1c2a461f;
  border-radius: 12px;
  background: #fafbfe;
  color: #141a25;
  rotate: none;
  translate: none;
  transform: none;
  box-shadow: 0 7px 22px #192c4812;
  transition: transform .24s var(--motion-ease), box-shadow .24s var(--motion-ease);
}
.motion-showcase [data-showcase-case="lc200"] { grid-column: span 7; }
.motion-ready .motion-hero.motion-showcase .hero-project[data-showcase-case] { translate: none; }
.motion-showcase [data-showcase-case="entro"] { grid-column: span 5; }
.motion-showcase [data-showcase-case="wolki"] { grid-column: span 5; }
.motion-showcase [data-showcase-case="support"] { grid-column: span 7; }
.motion-showcase .hero-project[data-showcase-case]:focus-visible {
  z-index: 5;
  outline: 2px solid var(--motion-blue);
  outline-offset: 3px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .motion-showcase .hero-project[data-showcase-case]:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 26px #192c4825;
  }
}
.showcase-art {
  position: relative;
  min-height: 0;
  display: block;
  overflow: hidden;
  background: #0e0e0e;
}
.motion-showcase [data-showcase-case="lc200"] img { object-fit: contain; }
.motion-showcase [data-showcase-case="wolki"] img { object-position: center 62%; }
.motion-showcase [data-showcase-case="support"] .showcase-art { background: #e6eced; }
.motion-showcase [data-showcase-case="support"] img { object-position: center top; }
.showcase-handoff {
  position: absolute;
  inset-inline-end: 8%;
  inset-block-end: 14%;
  max-width: 87%;
  padding: clamp(5px, .75vw, 11px) clamp(6px, 1vw, 14px);
  border: 1px solid #abe1cb;
  border-radius: 7px;
  background: #ddf5e9;
  color: #15583f;
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 720;
  line-height: 1.15;
  box-shadow: 0 2px 8px #163a211a;
}
.showcase-entro-name {
  position: absolute;
  top: 9%;
  left: 8%;
  color: #fff;
  font-size: clamp(16px, 2.45vw, 40px);
  font-weight: 580;
  letter-spacing: .14em;
  text-shadow: 0 1px 9px #000;
}
.showcase-caption {
  min-width: 0;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: clamp(6px, .75vw, 11px) clamp(8px, .9vw, 14px);
  min-height: 31px;
  line-height: 1.23;
  background: #fafbfe;
}
.showcase-caption strong { font-size: clamp(11px, 1.13vw, 17px); font-weight: 780; }
.showcase-caption small {
  padding-inline-start: 8px;
  border-inline-start: 1px solid #d5dce7;
  color: #49556a;
  font-size: clamp(10px, .9vw, 14px);
}
.showcase-caption .showcase-arrow { margin-inline-start: auto; font-size: 15px; line-height: 1; }
.showcase-anchor { position: absolute; right: 0; top: 50%; width: 0; height: 0; }
.motion-showcase .motion-robot {
  width: clamp(39px, 5.2vw, 76px);
  top: 20%;
  right: calc(-1 * clamp(3px, .8vw, 12px));
}
.motion-showcase .motion-wire { overflow: visible; }
.motion-showcase .motion-wire path {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.showcase-offers {
  margin-block-start: 15px;
  color: #a4b7d6;
  font-size: 13px;
}
.showcase-offers summary { cursor: pointer; width: fit-content; }
.showcase-offers ul { margin-block: 8px 0; padding-inline-start: 18px; }
.showcase-offers a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

@media (min-width: 761px) and (max-width: 1150px) {
  .showcase-caption small { display: none; }
}
@media (min-width: 1100px) {
  .motion-showcase .hero-project[data-showcase-case="lc200"] { rotate: -1.5deg; }
}
@media (max-width: 760px) {
  .motion-hero.motion-showcase {
    display: block;
    width: calc(100% - 2 * clamp(14px, 5vw, 24px));
    padding-block: clamp(13px, 2.6svh, 22px) 18px;
  }
  .motion-showcase h1 {
    margin-block: 13px 6px;
    font-size: clamp(30px, min(10.5vw, 6svh), 55px);
    line-height: 1;
  }
  .motion-showcase h1 > span { padding-block: 1px 3px; }
  .motion-showcase .motion-hero-note {
    font-size: 13px;
    line-height: 1.38;
    margin-block: 8px 0;
    max-width: 49ch;
  }
  .motion-showcase .motion-hero-actions { margin-top: 12px; }
  .motion-showcase .motion-hero-stage {
    --showcase-rail: 0px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(122px, min(45vw, 25svh), 242px) clamp(102px, min(36vw, 21svh), 193px);
    gap: 9px;
    margin-top: clamp(14px, 2.7svh, 23px);
  }
  .motion-showcase .hero-project[data-showcase-case="lc200"] { grid-column: 1 / -1; }
  .motion-showcase .hero-project[data-showcase-case="entro"] { display: none; }
  .motion-showcase .hero-project:is([data-showcase-case="wolki"], [data-showcase-case="support"]) { grid-column: span 1; }
  .showcase-caption { gap: 4px; padding: 6px 8px; }
  .showcase-caption strong { font-size: clamp(11px, 3.2vw, 16px); }
  .showcase-caption small { display: none; }
  .showcase-caption .showcase-arrow { font-size: 13px; }
  .showcase-handoff { font-size: clamp(9px, 2.8vw, 13px); inset-block-end: 9%; }
  .motion-showcase .motion-robot {
    width: clamp(28px, 8.3vw, 48px);
    top: 47%;
    right: -9px;
  }
  .motion-showcase .motion-wire path { stroke-width: 1.4px; }
}
