/*--------------------------------------------------------------
# Stats Showcase Section
# Bento-style creative layout with stat cards, photos,
# and a large centered heading — scattered grid design.
--------------------------------------------------------------*/

/* ── Section wrapper ── */
.about-stats {
	background: var(--tpp-white);
	padding: 100px 0 120px;
	overflow: hidden;
}

/* ── Container / Grid ── */
.about-stats__container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--tpp-container-padding);
	display: grid;
	grid-template-columns: 1fr 1.4fr 1fr;
	grid-template-rows: auto auto;
	column-gap: 24px;
	row-gap: 120px;
	align-items: center;
	justify-items: center;

	/* Scroll-reveal */
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-stats__container.is-visible {
	opacity: 1;
	transform: translateY(0);
}


/* ──────────────────────────────────────────────
   Center Heading
   ────────────────────────────────────────────── */

/* Top row, centred between the two top cards. It spanned both rows until
   the followers card (task E41) took the bottom-centre spot on 29 Nov
   2026: the grid now reads card · heading · card over photo · followers
   · photo. */
.about-stats__heading-wrap {
	grid-column: 2;
	grid-row: 1;
	text-align: center;
	align-self: center;
}

.about-stats__heading {
	font-family: var(--tpp-font-heading);
	font-size: clamp(2.25rem, 4.9vw + 0.5rem, 4.5rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--tpp-black);
	margin: 0;
}

/* ──────────────────────────────────────────────
   Stat Cards
   ────────────────────────────────────────────── */

.about-stats__card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 28px 32px;
	border-radius: 20px;
	width: 100%;
	max-width: 280px;
}

/* Light card (default) */
.about-stats__card {
	background: var(--tpp-off-white);
	align-items: center;
	text-align: center;
}

/* Dark card */
.about-stats__card--dark {
	background: #000;
	color: var(--tpp-white);
	align-items: flex-start;
	text-align: left;
}

.about-stats__card--dark .about-stats__card-value,
.about-stats__card--dark .about-stats__card-label {
	color: var(--tpp-white);
}

.about-stats__card--dark .about-stats__card-desc {
	color: rgba(255, 255, 255, 0.6);
}

/* ── Followers card (task E41) ──
   The headline number: black with a soft orange glow at the top, the
   figure large in orange, and the four channels in quiet chips under it. */
.about-stats__card--followers {
	max-width: 320px;
	padding: 32px 32px 28px;
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(255, 153, 0, 0.18), transparent 62%),
		var(--tpp-black);
	align-items: center;
	text-align: center;
	box-shadow: 0 30px 60px -36px rgba(26, 26, 26, 0.6);
}

.about-stats__card--followers .about-stats__card-value {
	font-size: clamp(2.75rem, 3.6vw + 0.5rem, 3.75rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--tpp-accent);
	font-variant-numeric: tabular-nums;
}

.about-stats__card--followers .about-stats__card-label {
	margin-top: 8px;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.78);
}

.about-stats__channels {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.about-stats__channels li {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	color: var(--tpp-white);
}

.about-stats__channels svg {
	width: 16px;
	height: 16px;
}

/* ── Split card (gray top / green bottom) ── */
.about-stats__card-split {
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
	max-width: 280px;
}

.about-stats__card-split-top,
.about-stats__card-split-bottom {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 32px;
	align-items: center;
	text-align: center;
	flex: 1;
	justify-content: center;
}

.about-stats__card-split-top {
	background: var(--tpp-off-white);
}

.about-stats__card-split-bottom {
	background: var(--tpp-accent);
}

/* The grey label is too light on orange (2.5:1); near-black clears 5:1. */
.about-stats__card-split-bottom .about-stats__card-label {
	color: rgba(26, 26, 26, 0.78);
}

/* Stat value */
.about-stats__card-value {
	font-family: var(--tpp-font-heading);
	font-size: clamp(2rem, 3vw, 2.75rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--tpp-black);
}

/* Stat label */
.about-stats__card-label {
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--tpp-text-light);
	margin-top: 2px;
}

/* Stat description (dark card only) */
.about-stats__card-desc {
	font-family: var(--tpp-font-body);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--tpp-text-light);
	margin: 8px 0 0;
}


/* ── Card positions ── */

/* Left split card — spans both rows */
.about-stats__card--tl {
	grid-column: 1;
	grid-row: 1 / 3;
	justify-self: start;
	align-self: start;
}

/* Right dark card — spans both rows */
.about-stats__card--tr {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-self: start;
}

/* Bottom-centre card (500K+ followers, task E41): under the heading,
   centred between the two photos. Tablet and mobile place it in the
   rules below. */
.about-stats__card--bc {
	grid-column: 2;
	grid-row: 2;
	justify-self: center;
	align-self: center;
}


/* ──────────────────────────────────────────────
   Photo Cards
   ────────────────────────────────────────────── */

.about-stats__photo {
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
	max-width: 280px;
}

.about-stats__photo-img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}


/* Bottom-left */
.about-stats__photo--bl {
	grid-column: 1;
	grid-row: 2;
	justify-self: start;
}

/* Bottom-right */
.about-stats__photo--br {
	grid-column: 3;
	grid-row: 2;
	justify-self: end;
}


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

/* Tablet (≤991px) — collapse to 2 columns */
@media screen and (max-width: 991px) {
	.about-stats {
		padding: 80px 0 100px;
	}

	.about-stats__container {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		gap: 20px;
	}

	.about-stats__heading-wrap {
		grid-column: 1 / -1;
		grid-row: 1;
		padding: 20px 0 32px;
	}

	.about-stats__card--tl {
		grid-column: 1;
		grid-row: 2;
		justify-self: center;
	}

	.about-stats__card--tr {
		grid-column: 2;
		grid-row: 2;
		justify-self: center;
	}

	.about-stats__photo--bl {
		grid-column: 1;
		grid-row: 3;
		justify-self: center;
	}

	.about-stats__photo--br {
		grid-column: 2;
		grid-row: 3;
		justify-self: center;
	}

	.about-stats__card--bc {
		grid-column: 1 / -1;
		grid-row: 4;
		justify-self: center;
	}
}

/* Mobile (≤767px) — single column */
@media screen and (max-width: 767px) {
	.about-stats {
		padding: 64px 0 80px;
	}

	.about-stats__container {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.about-stats__heading-wrap {
		grid-column: 1;
		grid-row: 1;
		padding: 0 0 24px;
	}

	.about-stats__heading {
		font-size: clamp(2rem, 7vw, 2.75rem);
	}

	.about-stats__card--tl,
	.about-stats__card--tr,
	.about-stats__card--bc {
		grid-column: 1;
		justify-self: stretch;
		max-width: none;
	}

	.about-stats__card--tl { grid-row: 2; }
	.about-stats__card--tr { grid-row: 3; }

	.about-stats__photo--bl,
	.about-stats__photo--br {
		grid-column: 1;
		justify-self: center;
		max-width: 300px;
	}

	.about-stats__photo--bl { grid-row: 4; }
	.about-stats__card--bc { grid-row: 5; }
	.about-stats__photo--br { grid-row: 6; }

	.about-stats__card {
		padding: 24px;
	}
}
