.work-page-group {
  margin-bottom: var(--padding--padding-xl);
}

.work-page-group + .work-page-group {
  border-top: 1px solid #e6e6e6;
  padding-top: var(--padding--padding-xl);
}

.work-page-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 20px 64px;
  align-items: end;
  margin-bottom: 48px;
}

.work-page-section-heading .work-page-tag {
  grid-column: 1 / -1;
}

.work-page-section-heading h2 {
  margin: 0;
  text-wrap: balance;
}

.work-page-section-heading .text-l {
  color: var(--_colors---text-secondary);
  margin: 0;
}

.work-preview-grid {
  margin-top: 0;
  grid-column-gap: 16px;
  grid-row-gap: var(--padding--padding-xl);
}

/* Website cards follow the template's projects-page presentation: the info
   row is the template's two-slot flex (name left, service right), undoing
   this page's stacked-info override, which the audit and brand cards keep. */
.work-preview-card .projects-card-info {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.work-preview-card .projects-card-info .project-service {
  font-size: var(--font-size--body--text-xl);
  line-height: var(--line-hight--body--text-xl);
  letter-spacing: normal;
  font-weight: var(--letter-spacing--body--medium);
}

.work-preview-media,
.work-audit-media,
.work-logo-card {
  aspect-ratio: 16 / 9;
  background: var(--_colors---bg-light);
  isolation: isolate;
  position: relative;
}

.work-preview-video,
.work-audit-image,
.work-logo-art {
  display: block;
  height: 100% !important;
  width: 100%;
}

.work-preview-video {
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 650ms cubic-bezier(.16, 1, .3, 1);
}

.work-preview-card:hover .work-preview-video,
.work-preview-card:focus-within .work-preview-video {
  transform: scale(1);
}

.work-preview-link,
.work-private-badge {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 11px 14px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.work-private-badge {
  left: 16px;
}

.work-preview-link {
  background: rgba(10, 10, 10, .9);
  color: #fff;
  opacity: 0;
  right: 16px;
  transform: translateY(8px);
  transition:
    border-radius 300ms ease,
    opacity 220ms ease,
    transform 350ms cubic-bezier(.16, 1, .3, 1);
}

.work-preview-card:hover .work-preview-link,
.work-preview-card:focus-within .work-preview-link {
  border-radius: 14px;
  opacity: 1;
  transform: translateY(0);
}

.work-audit-media {
  aspect-ratio: 12 / 7;
}

.work-audit-image {
  object-fit: cover;
}

.work-private-badge {
  background: rgba(10, 10, 10, .82);
  color: #fff;
  letter-spacing: .02em;
}

.work-logo-art {
  object-fit: contain !important;
}

.work-page-founder-note {
  max-width: 1060px;
  margin: -20px 0 48px;
}

.collection-list.projects.work-brand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column-gap: 28px;
  grid-row-gap: 56px;
}

.work-brand-grid .work-logo-card {
  aspect-ratio: 16 / 10;
}

.work-brand-grid .work-logo-art {
  padding: 13% 17%;
}

.work-brand-grid .projects-name {
  font-size: 24px;
  line-height: 1.25;
}

.work-page-group .project-service {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .06em;
  font-weight: 600;
}

.work-brand-feature {
  grid-column: 1 / -1;
}

.work-brand-feature .projects-card-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-column-gap: 48px;
  align-items: center;
}

.work-brand-feature .work-logo-card {
  aspect-ratio: 16 / 9;
}

.work-brand-feature .work-logo-art {
  padding: 11% 15%;
}

.work-brand-feature .projects-card-info {
  margin-top: 0;
}

.work-brand-feature .projects-name {
  font-size: 31px;
}

@media screen and (max-width: 991px) {
  .collection-list.projects.work-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-row-gap: 40px;
  }
}

@media screen and (max-width: 767px) {
  .work-page-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .work-preview-grid {
    grid-row-gap: 48px;
  }

  .work-preview-card .projects-card-info {
    flex-direction: row;
    align-items: center;
  }

  .work-preview-link,
  .work-private-badge {
    bottom: 10px;
    font-size: 10px;
    padding: 9px 11px;
  }

  .work-private-badge {
    left: 10px;
  }

  .work-preview-link {
    right: 10px;
  }

  .collection-list.projects.work-brand-grid {
    grid-template-columns: 1fr;
    grid-row-gap: 36px;
  }

  .work-brand-feature .projects-card-block {
    grid-template-columns: 1fr;
    grid-row-gap: 16px;
  }

  .work-brand-feature .projects-name {
    font-size: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .work-preview-video,
  .work-preview-link {
    transition: none;
  }
}
