/* ═══════════════════════════════════════════════════════════
   HOME PAGE — sections unique to index.html
   (proof marquee, blueprint grid, stat restyle, final CTA glow)
   Loads after sections.css so overrides here win.
   ═══════════════════════════════════════════════════════════ */

/* ── WHAT WE'VE BUILT — label chip above bare value ──────── */
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

@media(max-width:809px){
  .stats-strip__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.stat-block {
  padding: 20px 12px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-block__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.05);
  background: #1A1A1A;
  padding: 4px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.stat-block__value {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 41.3px);
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: #fff;
}

/* ── PROOF MARQUEE (Brands that stand out.) ──────────────── */
.proof__sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.proof-carousel {
  position: relative;
  overflow: hidden;
  padding: 24px 0 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.proof-carousel::before,
.proof-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.proof-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #000 0%, transparent 100%)
}

.proof-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #000 0%, transparent 100%)
}

.proof-carousel__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-brands 45s linear infinite;
}

/* ── VERTICAL MARQUEE (Looking to work with OOAK?) ──────── */
.v-marquee {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.v-marquee-track {
  display: flex;
  flex-direction: column;
}

@keyframes vscroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes vscroll-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.proof-carousel__track:hover {
  animation-play-state: paused
}

.proof-card {
  flex: 0 0 auto;
  width: 300px;
  border: 1px solid #333;
  border-radius: 0;
  background: var(--color-surface);
  padding: 16px;
  transition: border-color .1s linear;
}

.proof-card:hover {
  border-color: #fff
}

.proof-card__img {
  height: 200px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
}

.proof-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.6);
  transition: filter .15s linear;
}

.proof-card:hover .proof-card__img img {
  filter: grayscale(0)
}

.proof-card h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 8px;
}

.proof-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ── OUR BLUEPRINT — same recipe as advisory .pillar-card ── */
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.blueprint-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0;
  background: #000;
  padding: 20px;
  overflow: hidden;
  transition: border-color .12s linear;
}

.blueprint-card:hover {
  border-color: rgba(255, 255, 255, .28);
}

.blueprint-card__img {
  position: relative;
  aspect-ratio: 842 / 398;
  border-radius: 0;
  overflow: hidden;
}

.blueprint-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, transparent 40%);
  pointer-events: none;
}

.blueprint-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: .9;
  transition: opacity .12s linear;
}

.blueprint-card:hover .blueprint-card__img img {
  opacity: 1;
}

.blueprint-card h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.3;
  letter-spacing: -1px;
  color: #FAFAFA;
  margin: 16px 12px 8px;
}

.blueprint-card p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.68;
  color: rgba(255, 255, 255, .7);
  margin: 0 12px 12px;
}

.blueprint__cta {
  text-align: center;
  margin-top: 40px
}

/* ── FINAL CTA — spotlight glow + concentric diamonds ────── */
.qualify__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255, 255, 255, .07), transparent);
}

.qualify__circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(255, 255, 255, .06);
  animation: pulseGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.98);
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02);
  }

  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.02);
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  }
}

.circle--sm {
  width: 220px;
  height: 220px;
  border-color: rgba(255, 255, 255, .12);
  animation-delay: 0s;
}

.circle--md {
  width: 380px;
  height: 380px;
  border-color: rgba(255, 255, 255, .09);
  animation-delay: -1s;
}

.circle--lg {
  width: 560px;
  height: 560px;
  border-color: rgba(255, 255, 255, .06);
  animation-delay: -2s;
}

.circle--xl {
  width: 760px;
  height: 760px;
  border-color: rgba(255, 255, 255, .03);
  animation-delay: -3s;
}

/* ── FINAL CTA (Looking to work with ESBG?) ──────────────── */
.cta-final__inner {
  text-align: center;
}

.heading-suse {
  font-family: 'SUSE', 'Outfit', sans-serif;
  font-weight: 300;
}

.cta-final__title {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-final__sub {
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Four alternating vertical marquee columns of gallery images */
.cta-gallery {
  display: flex;
  gap: 12px;
  height: 640px;
  margin-top: 64px;
}

.cta-gallery .v-marquee {
  flex: 1;
}

.v-marquee--desktop {
  display: none;
}

.v-marquee-track--up {
  animation: vscroll-up 40s linear infinite;
}

.v-marquee-track--down {
  animation: vscroll-down 40s linear infinite;
}

.v-marquee-track {
  gap: 12px;
}

.v-tile {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
}

.v-tile--tall {
  aspect-ratio: 3 / 4.8;
}

.v-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .cta-gallery {
    height: 760px;
  }

  .v-marquee--desktop {
    display: flex;
  }
}

/* ── Responsive ──────────────────────────────────────────── */
@media(max-width:809px) {
  .stats-strip__grid {
    grid-template-columns: 1fr 1fr
  }

  .blueprint-grid {
    grid-template-columns: 1fr
  }

  .proof-card {
    width: 260px
  }
}