/* Experiments share the same mesh, typography and three-level stack geometry. */
html[data-direction="gallery"] .solution-desk { grid-template-columns: 1fr; gap: 28px; }
html[data-direction="gallery"] .solution-stacks { width: min(100%, 760px); justify-self: center; }
html[data-direction="gallery"] .solution-preview {
  width: min(100%, 1120px);
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 40px;
  padding-top: 28px;
}
html[data-direction="gallery"] .solution-preview img { grid-column: 1; grid-row: 1 / 5; aspect-ratio: 16 / 10; max-height: 400px; }
html[data-direction="gallery"] .solution-preview :is(.eyebrow, h2, p, a) { grid-column: 2; }
html[data-direction="gallery"] .solution-preview h2 { margin-top: 0; }
html[data-direction="gallery"] .solution-preview .solution-case-link { align-self: start; justify-self: start; }
html[data-direction="focus"] .solution-preview {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--green);
  color: var(--paper);
  border-top: 0;
  border-radius: 4px;
}
html[data-direction="focus"] .solution-preview img { padding: 10px; }
html[data-direction="focus"] .solution-preview p:not(.eyebrow) { color: #f1e5d5; }
html[data-direction="focus"] .solution-preview .eyebrow { color: var(--lime); }
html[data-direction="focus"] .solution-case-link:focus-visible { outline-color: var(--lime); }
html[data-direction="focus"] .solution-project.is-previewed { translate: -18px 0; }
html[data-direction="focus"] .solution-project[data-group="pitch"].is-previewed { translate: 18px 0; }
html[data-direction="focus"] .solution-project.is-previewed .brick-render { filter: drop-shadow(5px 9px 7px #12352b38); }
@media (max-width: 700px) {
  html[data-direction="gallery"] .solution-preview { display: block; }
  html[data-direction="gallery"] .solution-preview h2 { margin-top: 20px; }
  html[data-direction="focus"] .solution-project.is-previewed { translate: -12px 0; }
  html[data-direction="focus"] .solution-project[data-group="pitch"].is-previewed { translate: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-direction="focus"] .solution-project.is-previewed,
  html[data-direction="focus"] .solution-project[data-group="pitch"].is-previewed { translate: none; }
}
