/* House showcase for Mochi Reader and Shipwall. */
.project-spotlight {
  width: 100%;
  padding: 11px;
  border: 1px solid rgba(139, 92, 255, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 4% 0%, rgba(255, 61, 139, 0.13), transparent 44%),
    radial-gradient(ellipse at 96% 100%, rgba(34, 230, 255, 0.1), transparent 42%),
    linear-gradient(145deg, rgba(17, 20, 52, 0.97), rgba(8, 10, 28, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 25px rgba(0, 0, 0, 0.22);
  text-align: left;
}

.project-spotlight-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 2px 9px;
}

.project-spotlight-kicker {
  color: #b9b9e9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.project-spotlight-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8c94c5;
  font-size: 10px;
  white-space: nowrap;
}

.project-spotlight-count i,
.shipwall-proof i {
  display: inline-block;
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78f6c0;
  box-shadow: 0 0 8px rgba(120, 246, 192, 0.8);
}

.project-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.project-feature {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(170, 182, 255, 0.2);
  border-radius: 13px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-feature::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.9;
  pointer-events: none;
}

.mochi-feature::before {
  background: radial-gradient(ellipse at 0 0, rgba(255, 61, 139, 0.14), transparent 68%), linear-gradient(155deg, #19152e, #0d112b 68%);
}

.shipwall-feature::before {
  background: radial-gradient(ellipse at 100% 0, rgba(255, 119, 74, 0.14), transparent 65%), linear-gradient(155deg, #1c1725, #0d112b 68%);
}

.mochi-feature { border-color: rgba(255, 132, 190, 0.3); }
.shipwall-feature { border-color: rgba(255, 134, 91, 0.28); }
.mochi-feature:hover { border-color: rgba(255, 132, 190, 0.8); box-shadow: 0 9px 26px rgba(255, 61, 139, 0.12); }
.shipwall-feature:hover { border-color: rgba(255, 134, 91, 0.8); box-shadow: 0 9px 26px rgba(255, 102, 62, 0.12); }
.project-feature:hover { transform: translateY(-2px); }
.project-feature:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.project-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.project-brand-mark {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.32);
}

.mochi-mark { background: #ffced8; }
.mochi-mark img { width: 100%; height: 100%; object-fit: cover; }
.shipwall-mark { background: #fbf8f5; }
.shipwall-mark img { width: 25px; height: 25px; }

.project-brand-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.project-brand-copy strong { overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.project-brand-copy small { overflow: hidden; color: #a4accf; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.project-brand-arrow { margin-left: auto; color: #8b91b4; font-size: 16px; transition: transform 180ms ease, color 180ms ease; }
.project-feature:hover .project-brand-arrow { transform: translate(2px, -2px); color: #fff; }

.project-art {
  position: relative;
  display: block;
  height: 76px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: #151a33;
}

.project-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-feature:hover .project-art > img { transform: scale(1.04); }
.mochi-art > img { object-position: 68% 50%; }
.shipwall-art > img { object-position: 56% 47%; }

.project-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 10, 28, 0.57), transparent 75%), linear-gradient(0deg, rgba(8, 10, 28, 0.35), transparent 65%);
  pointer-events: none;
}

.project-art-chip,
.project-art-stamp,
.shipwall-proof {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  background: rgba(9, 12, 32, 0.82);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.project-art-chip { left: 7px; bottom: 7px; gap: 5px; padding: 4px 7px 3px; color: #fff; }
.project-art-chip b { color: #ffdb70; font-size: 10px; }
.project-art-stamp { top: 7px; right: 7px; padding: 4px 7px 3px; color: #abffe0; font-size: 7px; letter-spacing: 1px; }
.shipwall-proof { right: 7px; bottom: 7px; gap: 5px; padding: 5px 7px 4px; color: #f8f8ff; font-size: 7px; letter-spacing: 0.4px; }
.shipwall-proof i { width: 4px; height: 4px; }

.project-feature-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.project-feature-copy strong { color: #fff; font-size: 12px; line-height: 1.35; }
.project-feature-copy > span { color: #aeb5d5; font-size: 10px; line-height: 1.45; }
.project-feature-cta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 1px; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #f5b8d8; font-size: 10px; font-weight: 700; }
.shipwall-feature .project-feature-cta { color: #ffbd9b; }
.project-feature-cta b { color: #fff; font-size: 14px; transition: transform 180ms ease; }
.project-feature:hover .project-feature-cta b { transform: translateX(3px); }

@media (max-width: 560px) {
  .project-spotlight { padding: 10px; }
  .project-spotlight-grid { grid-template-columns: minmax(0, 1fr); }
  .project-feature { display: grid; grid-template-columns: minmax(0, 1fr) 92px; grid-template-rows: auto 1fr auto; column-gap: 10px; row-gap: 7px; align-items: center; padding: 9px; }
  .project-brand { grid-column: 1 / -1; }
  .project-art { grid-column: 2; grid-row: 2 / 4; width: 92px; height: 100%; min-height: 96px; }
  .project-art-chip { left: 4px; bottom: 5px; padding-inline: 5px; font-size: 7px; }
  .project-art-stamp { top: 5px; right: 4px; padding-inline: 5px; font-size: 6px; }
  .shipwall-proof { right: 3px; bottom: 4px; gap: 3px; padding: 4px 5px 3px; font-size: 6px; }
  .project-feature-copy { grid-column: 1; grid-row: 2; }
  .project-feature-copy strong { font-size: 11px; }
  .project-feature-copy > span { font-size: 9px; }
  .project-feature-cta { grid-column: 1; grid-row: 3; margin-top: 0; padding-top: 5px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-feature, .project-art > img, .project-brand-arrow, .project-feature-cta b { transition: none; }
}
