/* ═══════════════════════════════════════════════════════════
   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 {
  overflow: hidden;
}

.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: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 100%;
  }
}

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

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

.stat-block__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--color-text);
  border: 1px solid var(--border-subtle);
  background: var(--color-elevated);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.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: var(--color-text);
}

/* ── 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, var(--color-bg) 0%, transparent 100%)
}

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

.proof-carousel__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-brands 45s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── VERTICAL MARQUEE (Looking to work with OOAK?) ──────── */
.v-marquee {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  gap: 12px;
  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-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.v-marquee-group--up {
  animation: vscroll-up 36s linear infinite;
}

.v-marquee-group--down {
  animation: vscroll-down 36s linear infinite;
}

@keyframes vscroll-up {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, calc(-100% - 12px), 0); }
}

@keyframes vscroll-down {
  0% { transform: translate3d(0, calc(-100% - 12px), 0); }
  100% { transform: translate3d(0, 0, 0); }
}

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

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

.proof-card:hover {
  border-color: var(--color-text);
}

.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;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .blueprint-grid {
    grid-template-columns: 1fr;
  }
}

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

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

.blueprint-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 842 / 398;
  border-radius: 0 !important;
  overflow: hidden;
  background: #000;
}

.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;
  object-position: center center;
  border-radius: 0 !important;
  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 {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.68;
  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 tiger?) ──────────────── */
.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;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
}

.cta-final__btn {
  display: inline-flex;
  margin: 0;
}

@media (max-width: 809px) {
  .cta-final__actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .cta-final__btn {
    width: 100%;
    max-width: 320px;
    margin: 0;
  }
}

/* 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-tile {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  transform: translateZ(0);
}
  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;
  }
}

/* ── THE ECOSYSTEM (3-Pillar Brutalist Grid) ─────────────── */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ecosystem-card {
  position: relative;
  border: 1px solid var(--border-medium);
  border-radius: 0;
  background: var(--color-bg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease-out;
}

.ecosystem-card:hover {
  border-color: var(--border-strong);
}

.ecosystem-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-surface);
  margin: 0;
}

.ecosystem-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 80%, var(--color-bg) 100%);
  pointer-events: none;
}

.ecosystem-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  opacity: .92;
  transition: opacity .3s ease, transform .5s ease;
}

.ecosystem-card:nth-child(2) .ecosystem-card__img img {
  object-position: center 28%;
}

.ecosystem-card:hover .ecosystem-card__img img {
  opacity: 1;
  transform: scale(1.03);
}

.ecosystem-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 0;
  margin-bottom: 10px;
}

.ecosystem-card__num {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--color-text-muted);
}

.ecosystem-card__badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  background: var(--color-surface);
  color: var(--color-text-secondary);
}

.ecosystem-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 20px 20px;
}

.ecosystem-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--color-text);
  margin-bottom: 10px;
}

.ecosystem-card__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  flex: 1;
}

.ecosystem-card__cta {
  margin-top: auto;
}

.ecosystem-card__cta .btn {
  width: 100%;
  justify-content: center;
  border-radius: 0;
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 12px 20px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: all .25s ease-out;
}

.ecosystem-card__cta .btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

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

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

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .proof-card {
    width: 260px;
  }
}

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