/* Showcase deadline rail */

@keyframes showcaseFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Section wrapper */
.showcase-rail {
  padding: 0;
  position: relative;
  z-index: 1;
}

.showcase-sub {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 62ch;
}

/* Card grid — 3 → 2 → 1 like the capacity / tiers grids */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.showcase-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: border-color 0.3s;
}

.showcase-card:hover { border-color: rgba(244, 208, 111, 0.3); }

/* Entry stagger keyed off .in (mirrors .tiers-grid.in .tier) */
.showcase-rail.in .showcase-card { animation: showcaseFadeIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.showcase-rail.in .showcase-card:nth-child(1) { animation-delay: 0.05s; }
.showcase-rail.in .showcase-card:nth-child(2) { animation-delay: 0.18s; }
.showcase-rail.in .showcase-card:nth-child(3) { animation-delay: 0.31s; }

.showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.showcase-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}

.showcase-range {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.showcase-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Meta pills — jasmine deadline language (mirrors .cal-showcase-pill) */
.showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.showcase-delivery,
.showcase-countdown,
.showcase-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
}

.showcase-delivery {
  border: 1px solid var(--line-2);
  color: var(--muted);
}

.showcase-countdown {
  border: 1px solid rgba(244, 208, 111, 0.3);
  background: rgba(244, 208, 111, 0.06);
  color: rgba(244, 208, 111, 0.8);
}

.showcase-countdown[data-urgency="warn"] {
  border-color: rgba(244, 208, 111, 0.5);
  background: rgba(244, 208, 111, 0.12);
  color: var(--jasmine);
  font-weight: 600;
}

.showcase-chip {
  border: 1px solid rgba(244, 208, 111, 0.3);
  background: rgba(244, 208, 111, 0.10);
  color: var(--jasmine);
}

.showcase-card .btn {
  justify-content: center;
  width: 100%;
}

.showcase-footnote {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}
