/* ═══ Proof deck — single curated collage, no duplicate blocks ═══ */

.proof-deck {
  position: relative;
  padding: clamp(56px, 9vw, 96px) clamp(20px, 5vw, 64px) clamp(72px, 10vw, 120px);
  overflow: hidden;
}

.proof-deck::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(0, 200, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 90%, rgba(255, 214, 51, 0.08), transparent 50%);
  pointer-events: none;
}

.proof-deck__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}

.proof-deck__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 6vw, 56px);
}

.proof-deck__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.12;
  margin: 12px 0 14px;
}

.proof-deck__head h2 em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-deck__head p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.proof-deck__scene {
  position: relative;
  min-height: clamp(540px, 72vw, 720px);
  margin: 0 auto;
}

.proof-deck__tile {
  position: absolute;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  text-align: left;
  border-radius: calc(var(--r) - 2px);
  overflow: hidden;
  border: 1px solid rgba(0, 200, 255, 0.22);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, z-index 0s;
  transform-origin: center bottom;
}

.proof-deck__tile:hover {
  z-index: 20 !important;
  transform: translateY(-8px) scale(1.02) rotate(0deg) !important;
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow:
    0 36px 72px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 232, 135, 0.12);
}

.proof-deck__tile--hero {
  left: 0;
  top: 6%;
  width: min(54%, 560px);
  transform: rotate(-1.2deg);
  z-index: 3;
}

.proof-deck__tile--feat {
  right: 0;
  top: 0;
  width: min(30%, 320px);
  transform: rotate(2deg);
  z-index: 5;
  border-color: rgba(255, 214, 51, 0.42);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(255, 214, 51, 0.12);
}

.proof-deck__tile--a {
  right: 2%;
  top: 42%;
  width: min(26%, 280px);
  transform: rotate(1deg);
  z-index: 4;
}

.proof-deck__tile--b {
  left: 6%;
  bottom: 4%;
  width: min(24%, 260px);
  transform: rotate(-2deg);
  z-index: 6;
}

.proof-deck__tile--c {
  right: 26%;
  bottom: 2%;
  width: min(22%, 240px);
  transform: rotate(-0.5deg);
  z-index: 2;
}

.proof-deck__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(4, 12, 18, 0.96);
  border-bottom: 1px solid rgba(0, 200, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof-deck__bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.proof-deck__bar .dot.r { background: #ff5f57; }
.proof-deck__bar .dot.y { background: #febc2e; }
.proof-deck__bar .dot.g { background: var(--green); }

.proof-deck__tile img {
  width: 100%;
  height: auto;
  display: block;
  background: #040a10;
}

.proof-deck__chip {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(4, 10, 16, 0.9);
  border: 1px solid rgba(0, 200, 255, 0.18);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.proof-deck__chip strong {
  display: block;
  font-size: 0.74rem;
  color: var(--cyan);
  margin-bottom: 2px;
}

.proof-deck__chip span {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
}

.proof-deck__chip--gold {
  border-color: rgba(255, 214, 51, 0.35);
}

.proof-deck__chip--gold strong {
  color: var(--gold);
}

.proof-deck__chip--green strong {
  color: var(--green);
}

.proof-deck__chip--red strong {
  color: var(--red);
}

.proof-deck__tile.reveal-child {
  transform: translateY(48px) scale(0.86);
}
.reveal.visible .proof-deck__tile--hero.reveal-child {
  transform: rotate(-1.2deg);
}
.reveal.visible .proof-deck__tile--feat.reveal-child {
  transform: rotate(2deg);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.52),
    0 0 44px rgba(255, 214, 51, 0.14);
}
.reveal.visible .proof-deck__tile--a.reveal-child {
  transform: rotate(1deg);
}
.reveal.visible .proof-deck__tile--b.reveal-child {
  transform: rotate(-2deg);
}
.reveal.visible .proof-deck__tile--c.reveal-child {
  transform: rotate(-0.5deg);
}
.reveal.visible .proof-deck__tile.reveal-child {
  filter: blur(0);
}

.proof-deck__tile.reveal-child {
  filter: blur(5px);
  transition:
    opacity 0.78s cubic-bezier(0.34, 1.22, 0.64, 1),
    transform 0.82s cubic-bezier(0.34, 1.22, 0.64, 1),
    filter 0.78s var(--ease),
    box-shadow 0.78s var(--ease),
    border-color 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .proof-deck__tile.reveal-child {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 10, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 82vh;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 200, 255, 0.25);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-cap {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 200, 255, 0.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 12, 18, 0.85);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox-nav:hover {
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--cyan);
}

.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }

@media (max-width: 960px) {
  .proof-deck__scene {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .proof-deck__tile {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .proof-deck__tile--hero,
  .proof-deck__tile--feat {
    grid-column: span 2;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: -40px; right: 8px; }
}
