/* ==========================================================================
   Work thumbnails — landing2 variant.
   Layered on top of site.css; only overrides the .work-card block.
   ========================================================================== */

.work--thumbs {
  gap: 24px;
}

.work--thumbs .work-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- the shot ---- */

.work-shot {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  display: block;
  transform: scale(1.001);
  transition: transform .6s var(--ease);
}

.work-card:hover .work-shot img,
.work-card:focus-visible .work-shot img {
  transform: scale(1.045);
}

/* Warm scrim so screenshots of very different sites sit on one page
   without fighting the cream palette. Lifts on hover. */
.work-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 23, .04), rgba(26, 26, 23, .16));
  mix-blend-mode: multiply;
  opacity: 1;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.work-card:hover .work-shot::after { opacity: .35; }

/* Live-domain chip pinned to the shot */
.work-shot__chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--ink);
  background: rgba(251, 250, 247, .92);
  border: 1px solid rgba(26, 26, 23, .08);
  border-radius: 99px;
  padding: 5px 11px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.work-card:hover .work-shot__chip {
  background: var(--rust);
  color: var(--bg);
  border-color: var(--rust);
}

/* ---- body under the shot ---- */

.work--thumbs .work-card__inner {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work--thumbs .work-card__body {
  font-size: 15.5px;
  margin: 10px 0 0;
}

/* The domain now lives in the chip, so the footer row carries the CTA. */
.work--thumbs .work-card__foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.work-card:hover .work-card__foot { color: var(--rust); }

.work--thumbs .work-card__foot span:last-child {
  transition: transform .25s var(--ease);
}
.work-card:hover .work-card__foot span:last-child {
  transform: translateX(4px);
}

/* Placeholder while a shot is missing/blocked */
.work-shot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 620px) {
  .work--thumbs { gap: 18px; }
  .work--thumbs .work-card__inner { padding: 20px 22px 22px; }
  .work-shot__chip { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .work-shot img,
  .work-card:hover .work-shot img { transform: none; }
}
