/*--------------------------------------------------------------
# Social Proof Bar
# Full-width logo marquee strip of media credentials.
# Sits between Hero and About. Dark background, auto-scrolling.
--------------------------------------------------------------*/

/* ── Section wrapper ── */
.social-proof {
	background: transparent;
	padding: 0;
	overflow: hidden;
	position: relative;
	margin-top: 50px;
}

/* No top margin with the services grid straight above (the current homepage
   order): the grid's 70px bottom padding is the whole gap. Keyed to the
   neighbour, so the old order keeps its margin; the two-class specificity
   also beats the phone margin further down. */
.services-grid + .social-proof {
	margin-top: 0;
}

/* Nor with "Seats members booked" straight above (the homepage order since
   30 Nov 2026): that section's bottom padding is the whole gap. */
.seats + .social-proof {
	margin-top: 0;
}

/* ── Container — full-bleed ── */
.social-proof__container {
	max-width: 90vw;
	overflow: hidden;
	margin: 0 auto;
	position: relative;

	/* Gradient fade on edges */
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		black 15%,
		black 85%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		black 15%,
		black 85%,
		transparent 100%
	);
}

/* ── Scrolling track ── */
.social-proof__track {
	display: flex;
	align-items: center;
	gap: 0;
	width: max-content;
	padding: 24px 0;
	animation: social-proof-scroll 28s linear infinite;
}



@keyframes social-proof-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* ── Logo item ── */
.social-proof__item {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 80px;
	white-space: nowrap;
	user-select: none;
}

/* ── Logo image ── */
.social-proof__logo {
	display: block;
	height: 44px;
	width: auto;
	object-fit: contain;
}

/* ── Per-logo size overrides (higher specificity to beat responsive rules) ── */
.social-proof__logo.social-proof__logo--gma  { height: 54px; }  /* Good Morning America */
.social-proof__logo.social-proof__logo--gdla { height: 124px; } /* Good Day LA */
.social-proof__logo.social-proof__logo--tv   { height: 80px; }  /* As Seen On TV */
.social-proof__logo.social-proof__logo--ig   { height: 75px; }  /* Instagram */

/* ── Caption below logo ── */
.social-proof__caption {
	display: block;
	margin-top: -4px;
	font-family: var(--tpp-font-body);
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--tpp-text);
	letter-spacing: 0.02em;
	text-align: center;
	white-space: nowrap;
}

/* ── Text stat item ── */
.social-proof__stat-big {
	font-family: var(--tpp-font-heading);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--tpp-black);
	letter-spacing: -0.03em;
	margin-top: 18px;
}

.social-proof__stat-small {
	font-family: var(--tpp-font-body);
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--tpp-text);
	letter-spacing: 0.02em;
	text-align: center;
	margin-top: 16px;
}

/* ── Divider dot ── */
.social-proof__divider {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */

/* Tablet+ (≥768px) */
@media screen and (min-width: 768px) {
	.social-proof__track {
		padding: 28px 0;
	}

	.social-proof__logo {
		height: 50px;
	}

}

/* Desktop (≥992px) */
@media screen and (min-width: 992px) {
	.social-proof__track {
		padding: 32px 0;
	}

	.social-proof__logo {
		height: 56px;
	}

}

/* Mobile (≤767px) */
@media screen and (max-width: 767px) {
	.social-proof {
		margin-top: 32px;
	}

	.social-proof__track {
		padding: 18px 0;
		animation-duration: 18s;
	}

	/* The desktop 80px a side puts 160px between logos — most of a 375px
	   screen. 37px a side leaves a 74px gap. */
	.social-proof__item {
		padding: 0 37px;
	}

	.social-proof__logo {
		height: 34px;
	}

	/* The per-logo heights above are two-class selectors, so they outrank a
	   plain `.social-proof__logo` override no matter where it sits — a media
	   query adds no specificity. Each one has to be restated at the same
	   weight or the strip stays at its 124px desktop height on a phone.
	   Ratios are kept from the desktop values, which are hand-tuned per
	   logo to even out their differing aspect ratios and internal padding. */
	.social-proof__logo.social-proof__logo--gma  { height: 38px; }
	.social-proof__logo.social-proof__logo--gdla { height: 82px; }
	.social-proof__logo.social-proof__logo--tv   { height: 54px; }
	.social-proof__logo.social-proof__logo--ig   { height: 50px; }

	.social-proof__stat-big {
		font-size: 1.6rem;
		margin-top: 12px;
	}

	.social-proof__stat-small {
		margin-top: 10px;
	}

	/* Owen asked for these to be at least 14px on phones (they were
	   0.72rem, about 11.5px). Desktop keeps its smaller size. */
	.social-proof__caption,
	.social-proof__stat-small {
		font-size: 0.875rem;
	}
}

/* Small mobile (≤480px) */
@media screen and (max-width: 480px) {
	.social-proof__item {
		padding: 0 29px;
	}

	.social-proof__logo {
		height: 28px;
	}

	.social-proof__logo.social-proof__logo--gma  { height: 32px; }
	.social-proof__logo.social-proof__logo--gdla { height: 68px; }
	.social-proof__logo.social-proof__logo--tv   { height: 46px; }
	.social-proof__logo.social-proof__logo--ig   { height: 42px; }

	.social-proof__stat-big {
		font-size: 1.4rem;
	}
}
