/* "See case study" buttons in Selected Works — styled like the [COLUMN] tab chip */
.tp-cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 6px;
  background: rgb(36, 36, 36);
  color: #fff;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.tp-cs-btn span { display: inline-block; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.tp-cs-btn:hover { background: #fff; color: rgb(36, 36, 36); }
.tp-cs-btn:hover span { transform: translateX(4px); }
.tp-cs-btn.is-soon {
  background: rgba(255, 255, 255, .85);
  color: rgb(140, 140, 140);
  cursor: default;
  pointer-events: none;
}
.tp-cs-btn:focus-visible { outline: 1px dashed rgb(36, 36, 36); outline-offset: 3px; }

/* desktop: a chip at the right end of the active project row */
.tp-cs-chip {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
  padding: 6px 8px 5px;
  font-size: 11px;
  line-height: 11px;
  gap: 8px;
  border: 1px solid rgb(36, 36, 36);
  transition: top .35s cubic-bezier(.22, 1, .36, 1), background .25s ease, color .25s ease;
}
.tp-cs-chip.is-soon { border-color: transparent; background: transparent; color: rgb(158, 158, 158); }

/* phone / tablet: a row under each project card */
.tp-cs-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: -4px;
  padding: 10px 0 4px;
}
.tp-cs-row .tp-cs-btn { font-size: 12px; line-height: 12px; }

/* hide Framer's "VIEW LIVE" cursor label while the case-study chip is hovered */
body:has(.tp-cs-chip:hover) .framer-jv2Ia[data-framer-name="Work"] { opacity: 0 !important; }

/* desktop list: extend each row's hover area to the right, so moving straight
   across to the chip never leaves the row (even before it finishes widening) */
#work a[data-framer-name^="block-holder-"]:not(:has(img))::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 190px;
}

/* desktop: the big cover image opens the selected project's live site */
#work [data-framer-name="image-wrapper"] { cursor: pointer; }
