/* PIRX proof shots — dark product frames (shared by site.css pages and blog.css pages) */

.pirx-chart {
  margin: 1rem 0 0;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}
.pirx-chart__pair {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .pirx-chart__pair { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.pirx-chart__source {
  margin: 0.7rem 0 0;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-soft, #aaa49a);
  max-width: 52rem;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.pirx-shot {
  --pirx-surface: #11110F;
  --pirx-raised: #1A1A17;
  position: relative;
  margin: 0;
  padding: 1.05rem 1.05rem 1.1rem;
  background:
    linear-gradient(rgba(245, 240, 232, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(245, 240, 232, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--pirx-surface);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 1px 1px rgba(0, 0, 0, 0.35), 0 18px 48px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  isolation: isolate;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.3;
}
.pirx-shot__head {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
}
.pirx-shot__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: 0 0 0.55rem;
  padding: 0.2em 0.75em;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, #C6FFB3 55%, transparent);
  background: color-mix(in oklab, #C6FFB3 8%, transparent);
  color: #C6FFB3;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.pirx-shot__label {
  margin: 0 0 0.1rem !important;
  padding: 0 !important;
  max-width: none !important;
  font-size: 0.72rem !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft, #aaa49a) !important;
  line-height: 1.2 !important;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.pirx-shot__figure {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  font-size: clamp(2.75rem, 5.5vw, 4rem) !important; /* ~44–64px */
  line-height: 1 !important;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink, #f5f0e8) !important;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.pirx-shot__sub {
  margin: 0.3rem 0 0 !important;
  padding: 0 !important;
  max-width: none !important;
  font-size: 0.8rem !important;
  line-height: 1.35 !important;
  color: var(--ink-soft, #aaa49a) !important;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.pirx-shot__stage {
  position: relative;
  padding: 0.5rem;
  background: var(--pirx-raised);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(245, 240, 232, 0.04);
}
@media (min-width: 860px) {
  .pirx-shot .pirx-shot__stage {
    transform: perspective(1200px) rotateY(-3.5deg) rotateX(1.8deg);
    transform-origin: 50% 60%;
  }
  .pirx-chart__pair > .pirx-shot:nth-child(2) .pirx-shot__stage {
    transform: perspective(1200px) rotateY(3.5deg) rotateX(1.8deg);
  }
}
.pirx-shot__screen {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #0a0a09;
  border: 1px solid rgba(245, 240, 232, 0.06);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.pirx-shot__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 15, 0.72) 100%);
}
.pirx-shot__screen picture,
.pirx-shot__screen img {
  display: block;
  width: 100%;
  height: auto;
  /* Assets are already dark-treated; no invert needed */
  filter: none;
}
.pirx-shot--compact { padding: 0.9rem 0.9rem 0.95rem; }
.pirx-shot--compact .pirx-shot__figure { font-size: clamp(2rem, 4vw, 2.6rem) !important; }
.pirx-shot--compact .pirx-shot__stage { transform: none; }
.pirx-shot--compact .pirx-shot__screen {
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
