/* Operational Intelligence — OpsSignal product treatment */

.featured-projects-grid .featured-project-card.featured-project-card--ops {
  background: linear-gradient(
    250deg,
    rgba(59, 99, 214, 0.2),
    rgba(16, 24, 39, 0.2) 62%
  );
}

.featured-image-wrap--ops,
.project-image--ops {
  position: relative;
  aspect-ratio: 1024 / 682;
  overflow: hidden;
  border: 1px solid rgba(176, 198, 232, 0.35);
  border-radius: 18px;
  background:
    radial-gradient(80% 70% at 88% 8%, rgba(120, 168, 255, 0.28), transparent 52%),
    linear-gradient(180deg, #eef4ff 0%, #dce8fb 100%);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(91, 140, 255, 0.08) inset;
}

.featured-image-wrap--ops::after,
.project-image--ops::after {
  display: none;
}

.featured-image-wrap--ops img,
.project-image--ops img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  animation: none;
  transform: none;
}

.featured-project-card--ops:hover .featured-image-wrap--ops img,
.project-card--ops:hover .project-image--ops img {
  transform: none;
  animation: none;
}

.project-frame-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.88);
  color: #d7e6ff;
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-title {
  background: linear-gradient(120deg, #f4e8d4 12%, #9ec0ff 58%, #dce8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ops-kicker {
  margin: 0 0 6px;
  color: #9ec0ff;
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ops-chips,
.ops-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-chips {
  margin: 4px 0 18px;
}

.ops-chips span {
  padding: 7px 10px;
  border: 1px solid rgba(158, 192, 255, 0.28);
  border-radius: 999px;
  background: rgba(36, 107, 253, 0.14);
  color: #d7e6ff;
  font-size: 0.62rem;
}

.ops-stats {
  margin: 6px 0 18px;
}

.ops-stats div {
  min-width: 108px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 24, 39, 0.28);
}

.ops-stats strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.ops-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 16px;
}

.ops-built {
  padding: 15px 17px;
  border-radius: 14px;
  background: rgba(36, 107, 253, 0.12);
}

.project-card--ops {
  align-items: start;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  background: linear-gradient(135deg, rgba(36, 107, 253, 0.16), var(--paper) 55%) !important;
}

.project-image--ops {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  transform: none;
  text-decoration: none;
}

.featured-image-wrap--ops .project-hover-action,
.project-image--ops .project-hover-action {
  z-index: 3;
}

.project-links a.ops-live-cta {
  background: linear-gradient(135deg, #246bfd, #1d55ca 58%, #7b8cff);
}

@media (max-width: 980px) {
  .project-card--ops {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .ops-story-grid {
    grid-template-columns: 1fr;
  }

  .ops-title {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}
