/*--------------------------------------------------------------
# About Socials Section
# Four social platform cards in a horizontal row, each with its
# brand icon and follower count. Hover turns the card black.
--------------------------------------------------------------*/

/* ── Section wrapper ── */
.about-socials {
	padding: 50px 0 180px;
	overflow: hidden;
}

/* ── Container ── */
.about-socials__container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--tpp-container-padding);

	/* 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-socials__container.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Heading ── */
.about-socials__heading {
	font-family: var(--tpp-font-heading);
	font-size: clamp(2rem, 4.5vw + 0.5rem, 3.5rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--tpp-black);
	text-align: center;
	margin: 0 0 56px;
}

/* ── Grid ── */
.about-socials__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* ── Card ── */
.about-socials__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 32px 20px;
	border-radius: 16px;
	background: var(--tpp-off-white);
	border: 1px solid rgba(0, 0, 0, 0.06);
	text-decoration: none;
	transition:
		background 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease;
}

.about-socials__card:hover {
	background: #000;
	border-color: var(--tpp-black);
}

/* ── Icon ──
   The brand icon in colour at all times; hover changes only the tile
   behind it, along with the card. */
.about-socials__icon {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 18px;
	background: rgba(0, 0, 0, 0.05);
	transition: background 0.3s ease;
}

.about-socials__icon img {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.about-socials__card:hover .about-socials__icon {
	background: rgba(255, 255, 255, 0.1);
}

/* ── Follower count ── */
.about-socials__count {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0 6px;
	margin: 6px 0 2px;
}

.about-socials__count-number {
	font-family: var(--tpp-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--tpp-black);
	transition: color 0.3s ease;
}

.about-socials__count-noun {
	font-family: var(--tpp-font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.5);
	transition: color 0.3s ease;
}

.about-socials__card:hover .about-socials__count-number {
	color: var(--tpp-white);
}

.about-socials__card:hover .about-socials__count-noun {
	color: rgba(255, 255, 255, 0.6);
}

/* Pending — no count set yet (About Page → Follower Counts). Dashed, like
   the site's "Link to come" placeholders. */
.about-socials__count--pending {
	padding: 4px 12px;
	border: 1px dashed rgba(0, 0, 0, 0.25);
	border-radius: var(--tpp-radius-pill);
	font-family: var(--tpp-font-body);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.5);
	transition: color 0.3s ease, border-color 0.3s ease;
}

.about-socials__card:hover .about-socials__count--pending {
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.6);
}

/* ── Platform name ── */
.about-socials__platform {
	font-family: var(--tpp-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--tpp-black);
	transition: color 0.3s ease;
}

.about-socials__card:hover .about-socials__platform {
	color: var(--tpp-white);
}

/* ── Handle ── */
.about-socials__handle {
	font-family: var(--tpp-font-body);
	font-size: 0.8rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.5);
	transition: color 0.3s ease;
}

.about-socials__card:hover .about-socials__handle {
	color: rgba(255, 255, 255, 0.5);
}


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

/* Tablet (≤991px) */
@media screen and (max-width: 991px) {
	/* The 180px bottom is the whole gap to .about-cta-banner, which has no
	   top padding of its own. That is a desktop-scale gap to carry down to a
	   tablet. */
	.about-socials {
		padding: 40px 0 100px;
	}

	.about-socials__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-socials__heading {
		margin-bottom: 40px;
	}
}

/* Mobile (≤767px) */
@media screen and (max-width: 767px) {
	.about-socials {
		padding: 0 0 56px;
	}

	.about-socials__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.about-socials__card {
		padding: 24px 16px;
	}
}

/* Small mobile (≤480px) */
@media screen and (max-width: 480px) {
	.about-socials__grid {
		grid-template-columns: 1fr 1fr;
	}

	/* Two cards across a 375px screen leaves ~125px of card interior; a 72px
	   icon dominates it. */
	.about-socials__icon {
		width: 60px;
		height: 60px;
		border-radius: 15px;
	}

	.about-socials__icon img {
		width: 32px;
		height: 32px;
	}

	.about-socials__count-number {
		font-size: 1.375rem;
	}

	.about-socials__count-noun {
		font-size: 0.75rem;
	}

	.about-socials__card {
		padding: 20px 12px;
	}

	.about-socials__platform {
		font-size: 0.875rem;
	}

	.about-socials__handle {
		font-size: 0.75rem;
	}
}
