.work-gallery-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: stretch;
  max-inline-size: 76rem;
  margin: clamp(1.5rem, 4vw, 3.5rem) auto 0;
  border-block: 1px solid currentColor;
  color: inherit;
  text-align: start;
  text-decoration: none;
}
.work-gallery-preview__media {
  display: block;
  overflow: hidden;
  background: #b7a5a8;
}
.work-gallery-preview__media img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  aspect-ratio: 1920 / 855;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
.work-gallery-preview__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .65rem;
  padding: clamp(1.25rem, 3vw, 3rem);
}
.work-gallery-preview__title {
  font-size: clamp(1.45rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}
.work-gallery-preview__description {
  max-inline-size: 30ch;
  line-height: 1.5;
}
.work-gallery-preview__action {
  margin-block-start: .45rem;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.work-gallery-preview:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .work-gallery-preview:hover img { transform: scale(1.04); }
}
@media (max-width: 720px) {
  .work-gallery-preview { grid-template-columns: minmax(0, 1fr); }
  .work-gallery-preview__copy { padding-inline: 0; }
}

/* The entrance artwork can still be visible when the gallery link is revealed. */
body:has(.work-gallery-preview) [data-loader] {
  pointer-events: none;
}
