/*--------------------------------------------------------------
# Inner Circle — Guest Speakers Wall
# Centered heading over a rounded panel holding a row of guest
# headshots, closing with a "+N" circle and a category line.
--------------------------------------------------------------*/

/* ── Section ── */
.ic-guests {
	background: var(--tpp-white);
	/* Top padding only — .ic-parts above carries none at all, and
	   .ic-lounge below supplies its own 120px. */
	padding: 100px 0 0;
	overflow: hidden;
}

/* ── Container ── */
.ic-guests__container {
	width: 100%;
	max-width: var(--tpp-container-max);
	margin: 0 auto;
	padding: 0 var(--tpp-container-padding);
}


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

.ic-guests__heading {
	text-align: center;
	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);
	margin: 0 0 12px;
}

.ic-guests__sub {
	text-align: center;
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--tpp-text-light);
	margin: 0 0 48px;
}


/* ──────────────────────────────────────────────
   Panel
   ────────────────────────────────────────────── */

.ic-guests__panel {
	background: transparent;
	border-radius: 16px;
	padding: 20px 32px 20px;
}


/* ──────────────────────────────────────────────
   Scroll-reveal
   ────────────────────────────────────────────── */

.ic-guests__heading,
.ic-guests__sub,
.ic-guests__panel {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ic-guests.is-visible .ic-guests__heading,
.ic-guests.is-visible .ic-guests__sub,
.ic-guests.is-visible .ic-guests__panel {
	opacity: 1;
	transform: translateY(0);
}

.ic-guests.is-visible .ic-guests__sub {
	transition-delay: 0.08s;
}

.ic-guests.is-visible .ic-guests__panel {
	transition-delay: 0.16s;
}

/* Faces land one after another once the panel is in. */
.ic-guests__item {
	opacity: 0;
	transform: translateY(16px) scale(0.94);
	transition:
		opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ic-guests.is-visible .ic-guests__item {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition-delay: calc(0.24s + var(--guest-index, 0) * 0.07s);
}


/* ──────────────────────────────────────────────
   Wall
   ────────────────────────────────────────────── */

.ic-guests__wall {
	/* Single source of truth for the circle size — the item width and the
	   responsive overrides below all derive from it. */
	--avatar-size: 152px;

	display: flex;
	flex-wrap: wrap;
	/* Top-aligned, so the circles stay level with each other however many
	   lines the name and profession beneath them run to. */
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

/* Width is pinned to the circle so a long name wraps underneath it rather
   than widening the item and pushing the rest of the row along. */
.ic-guests__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: var(--avatar-size);
	margin: 0;
}


/* ── Avatar ── */
.ic-guests__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--avatar-size);
	height: var(--avatar-size);
	border-radius: 50%;
	overflow: hidden;
	background: var(--tpp-black);
}

.ic-guests__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Anonymous stand-in shown until real headshots are supplied. */
.ic-guests__avatar--placeholder {
	background: transparent;
	border: 1px dashed var(--tpp-border);
	color: var(--tpp-text-light);
}

/* Trailing "+N" circle. */
.ic-guests__avatar--more {
	background: var(--tpp-black);
}

.ic-guests__more-count {
	font-family: var(--tpp-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--tpp-white);
}

/* Words in the circle ("+ many others", Owen, 28 Nov 2026) rather than a
   number: smaller, centred on two balanced lines, clear of the edge. Each
   step down matches the circle's own (152 / 124 / 100 / 86px). */
.ic-guests__more-count--words {
	max-width: 74%;
	font-size: 1.125rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: center;
	text-wrap: balance;
}

@media screen and (max-width: 991px) {
	.ic-guests__more-count--words {
		font-size: 0.9375rem;
	}
}

@media screen and (max-width: 767px) {
	.ic-guests__more-count.ic-guests__more-count--words {
		font-size: 0.8125rem;
	}
}

@media screen and (max-width: 480px) {
	.ic-guests__more-count.ic-guests__more-count--words {
		font-size: 0.6875rem;
	}
}


/* ──────────────────────────────────────────────
   Name + profession
   ────────────────────────────────────────────── */

.ic-guests__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin-top: 14px;
	text-align: center;
}

.ic-guests__name {
	font-family: var(--tpp-font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--tpp-black);
}

.ic-guests__role {
	font-family: var(--tpp-font-body);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--tpp-text-light);
}


/* ──────────────────────────────────────────────
   Category line
   ────────────────────────────────────────────── */

.ic-guests__categories {
	text-align: center;
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.6;
	color: var(--tpp-text);
	margin: 0;
}


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

/* Tablet (≤991px) */
@media screen and (max-width: 991px) {
	.ic-guests__panel {
		padding: 40px 24px 32px;
	}

	.ic-guests__wall {
		--avatar-size: 124px;

		gap: 16px;
	}
}

/* Mobile (≤767px) */
@media screen and (max-width: 767px) {
	.ic-guests {
		padding: 72px 0 0;
	}

	.ic-guests__heading {
		font-size: clamp(1.75rem, 7vw, 2.5rem);
	}

	.ic-guests__sub {
		margin-bottom: 32px;
	}

	.ic-guests__panel {
		padding: 32px 20px 28px;
	}

	.ic-guests__wall {
		--avatar-size: 100px;

		gap: 14px;
		margin-bottom: 24px;
	}

	.ic-guests__more-count {
		font-size: 1.25rem;
	}

	.ic-guests__meta {
		margin-top: 10px;
	}

	.ic-guests__name {
		font-size: 0.875rem;
	}

	.ic-guests__role {
		font-size: 0.75rem;
	}

	.ic-guests__categories {
		font-size: 0.8125rem;
	}
}

/* Small mobile (≤480px) */
@media screen and (max-width: 480px) {
	.ic-guests {
		padding: 56px 0 0;
	}

	.ic-guests__wall {
		--avatar-size: 86px;

		gap: 12px;
	}

	.ic-guests__avatar--placeholder svg {
		width: 28px;
		height: 28px;
	}
}


/* ──────────────────────────────────────────────
   Reduced motion
   ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.ic-guests__heading,
	.ic-guests__sub,
	.ic-guests__panel,
	.ic-guests__item {
		transition: none;
	}

	.ic-guests.is-visible .ic-guests__item {
		transition-delay: 0s;
	}
}
