/* =========================================================
   V35 — image captions on the cover + stills/motion bridge
   ========================================================= */

/* Image copy now sits inside the cover, like the video cards. */
.work-card--real .work-art--real::after {
  background:
    linear-gradient(180deg, rgba(5, 10, 9, 0.34) 0%, transparent 22%, transparent 42%, rgba(5, 10, 9, 0.20) 60%, rgba(5, 10, 9, 0.84) 100%);
}

.work-card--real .work-hover {
  display: none;
}

.work-card--real .work-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 4;
  display: block;
  padding: 0;
  color: #ffffff;
  pointer-events: none;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.work-card--real .work-caption-body {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.work-card--real .work-caption-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
}

.work-card--real .work-caption-heading strong {
  color: #ffffff;
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.work-card--real .work-caption-heading small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.work-card--real .work-description {
  max-width: 30em;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: 0.005em;
}

.work-card--real .work-tags {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  margin-top: 9px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 8px;
  white-space: nowrap;
}

/* A quiet stills-to-motion bridge, inside the work collection. */
.works-transition {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(36px, 4.2vw, 58px) 0 clamp(20px, 2.4vw, 30px);
  color: var(--muted-2);
  pointer-events: none;
}

.works-transition span {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 59, 57, 0.18), transparent);
}

.works-transition span:first-child {
  background: linear-gradient(90deg, transparent, rgba(37, 59, 57, 0.18));
}

.works-transition span:last-child {
  background: linear-gradient(90deg, rgba(37, 59, 57, 0.18), transparent);
}

.works-transition small {
  flex: 0 0 auto;
  font-family: var(--serif-en);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.16em;
  opacity: 0.78;
  white-space: nowrap;
}

.works-transition + .work-group {
  margin-top: 0;
}

@media (max-width: 760px) {
  .work-card--real .work-caption {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .work-card--real .work-caption-heading strong {
    font-size: 22px;
  }

  .work-card--real .work-caption-heading small {
    font-size: 9px;
  }

  .work-card--real .work-description {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.55;
  }

  .work-card--real .work-tags {
    min-height: 19px;
    margin-top: 7px;
    padding: 0 7px;
    font-size: 7.5px;
  }

  .works-transition {
    gap: 12px;
    margin: 30px 0 18px;
  }

  .works-transition small {
    font-size: 7.5px;
  }
}

@media (max-width: 380px) {
  .work-card--real .work-caption {
    left: 17px;
    right: 17px;
    bottom: 15px;
  }

  .work-card--real .work-caption-heading strong {
    font-size: 20px;
  }

  .work-card--real .work-description {
    font-size: 10.5px;
  }
}
