.np-work-card { color: var(--np-sec-ink, #f5f5f2); }
.np-work-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.55;
  border-radius: 12px;
  background: var(--np-sec-media, #222);
}
.np-work-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.np-work-card:hover img { transform: scale(1.025); }
.np-work-card__note {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--np-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.np-work-card__index {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  font-family: var(--np-font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.np-work-card__meta { position: relative; padding-top: 1.25rem; }
.np-work-card__type {
  margin: 0;
  font-family: var(--np-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-sec-soft, #9a9b95);
}
.np-work-card__meta h3 { margin: 0.45rem 0 0; font-size: 1.75rem; }
.np-work-card__meta h3 a { text-decoration: none; }
.np-work-card__arrow { position: absolute; right: 0; top: 1.4rem; color: var(--np-sec-soft, #9a9b95); }

/* Whole card is the link target (stretched link on the title). */
.np-work-card { position: relative; }
.np-work-card__meta h3 a::after { content: ''; position: absolute; inset: 0; }
.np-work-card__meta h3 a:focus-visible { outline: none; }
.np-work-card:has(h3 a:focus-visible) .np-work-card__image { outline: 3px solid var(--np-sec-accent, #b9e079); outline-offset: 3px; }
