/* Gallery artwork stays photographic/sculptural. Full controls are preserved
   in the playable experiences, where they can be read at their intended size. */
.project-card:is([data-id="last-light"], [data-id="aether"], [data-id="hyperlane"])
  :is(.card-serial, .card-live, .card-tag, .card-scan) { display: none; }

.project-card:is([data-id="last-light"], [data-id="aether"], [data-id="hyperlane"]) .card-open-icon {
  width: 36px;
  height: 36px;
  top: 14px;
  right: 14px;
  border-color: rgba(226, 243, 241, .25);
  background: rgba(8, 16, 20, .2);
  backdrop-filter: blur(12px);
  font-size: 0;
  color: #edf8f5;
  transform: none;
}
.project-card:is([data-id="last-light"], [data-id="aether"], [data-id="hyperlane"]) .card-open-icon:before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(2px, -2px);
}
.project-card:is([data-id="last-light"], [data-id="aether"], [data-id="hyperlane"]) .card-open-icon:after {
  content: '';
  position: absolute;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg) translate(-1px, 1px);
}
.project-card:is([data-id="last-light"], [data-id="aether"], [data-id="hyperlane"]) .project-card-image-button:hover .card-open-icon {
  transform: none;
  background: var(--acid);
  color: #06110d;
  border-color: var(--acid);
}

.project-card[data-id="last-light"] .project-card-image-button img {
  filter: saturate(1.11) contrast(1.09) brightness(1.06);
  object-position: 50% 51%;
}
.project-card[data-id="last-light"] .project-card-image-button:hover img {
  filter: saturate(1.17) contrast(1.1) brightness(1.08);
}
.project-card[data-id="last-light"] .project-card-image-button:after {
  background: linear-gradient(0deg, rgba(6, 13, 17, .21), transparent 38%);
}
.card-glass-optics {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.card-glass-optics:before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 47%;
  background: linear-gradient(104deg, rgba(18, 32, 39, .44), rgba(15, 36, 48, .36) 68%, rgba(13, 36, 41, .18));
  backdrop-filter: saturate(.55) brightness(.63) blur(1px);
  box-shadow: inset -1px 0 rgba(245, 246, 233, .34), inset -22px 0 55px rgba(255, 248, 227, .07);
  transition: width 1.15s cubic-bezier(.18, .72, .2, 1);
}
.card-glass-optics:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 47%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 250, 228, .65) 21%, rgba(239, 250, 255, .82) 64%, rgba(255, 245, 219, .19) 95%);
  box-shadow: 2px 0 24px rgba(235, 248, 249, .2), -2px 0 15px rgba(236, 239, 224, .16);
  transition: left 1.15s cubic-bezier(.18, .72, .2, 1);
}
.project-card[data-id="last-light"] .project-card-image-button:hover .card-glass-optics:before {
  width: 24%;
}
.project-card[data-id="last-light"] .project-card-image-button:hover .card-glass-optics:after {
  left: 24%;
}

.project-card[data-id="aether"] .project-card-image-button {
  background: #030612;
}
.project-card[data-id="aether"] .project-card-image-button img {
  filter: none;
  object-position: center;
}
.project-card[data-id="aether"] .project-card-image-button:hover img {
  filter: brightness(1.16) saturate(1.12);
  transform: scale(1.035);
}
.project-card[data-id="aether"] .project-card-image-button:after {
  background: linear-gradient(0deg, rgba(2, 5, 15, .15), transparent 45%);
}

.project-card[data-id="hyperlane"] .project-card-image-button { background: #181a20; }
.project-card[data-id="hyperlane"] .project-card-image-button img {
  filter: saturate(1.08) contrast(1.11) brightness(1.09);
  object-position: center 55%;
  transition: transform 1.3s cubic-bezier(.2,.75,.25,1), filter .8s;
}
.project-card[data-id="hyperlane"] .project-card-image-button:hover img {
  filter: saturate(1.17) contrast(1.12) brightness(1.12);
  transform: scale(1.045);
}
.project-card[data-id="hyperlane"] .project-card-image-button:after {
  background: linear-gradient(0deg, rgba(12, 16, 24, .16), transparent 35%);
}
.card-tidal-optics {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 39% at 76% 60%, rgba(245, 190, 139, .13), transparent 80%),
    linear-gradient(100deg, rgba(6, 15, 27, .23), transparent 50%);
  mix-blend-mode: screen;
  transition: opacity .7s;
}
.project-card[data-id="hyperlane"] .project-card-image-button:hover .card-tidal-optics { opacity: .6; }
