/* ==========================================================================
   Team Members (.sentio-tm)
   ==========================================================================
   Extracted from frontend.css during the Batch 8 mechanical extraction
   (2026-04-18). Behavior-preserving.
   Repeater grid · per-member socials · 4 layouts · hover reveal ·
   role badge · image masks · stagger entrance · accent border.
   ========================================================================== */

/* ── Grid ── */
.sentio-tm__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* ── Card Base ── */
.sentio-tm__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	transition-property: transform, box-shadow, border-color;
	transition-timing-function: ease;
	transition-duration: 300ms;
}
.sentio-tm__card:hover {
	transform: translateY(-4px);
}

/* ── Accent Border (Diff #8) ── */
.sentio-tm--accent .sentio-tm__card {
	border-top: 3px solid var(--sentio-tm-accent, #6366f1);
}

/* ── Photo ── */
.sentio-tm__photo-wrap {
	display: flex;
	justify-content: center;
	padding-top: 20px;
}
img.sentio-tm__photo {
	width: 120px;
	height: 120px;
	object-fit: cover;
	display: block;
}

/* Image Shapes (Diff #6) */
.sentio-tm__shape--circle  img.sentio-tm__photo { border-radius: 50%; }
.sentio-tm__shape--rounded img.sentio-tm__photo { border-radius: 12px; }
.sentio-tm__shape--square  img.sentio-tm__photo { border-radius: 0; }
.sentio-tm__shape--hexagon img.sentio-tm__photo {
	clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
	border-radius: 0;
}

/* ── Content ── */
.sentio-tm__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	align-items: inherit;
	gap: 4px;
	padding: 16px;
	width: 100%;
}
.sentio-tm__name {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}
.sentio-tm__role {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.4;
}
.sentio-tm__bio {
	margin: 4px 0 0;
	font-size: 13px;
	color: #9ca3af;
	line-height: 1.5;
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}

/* ── Badge (Diff #5) ── */
.sentio-tm__badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	line-height: 1.6;
	letter-spacing: 0.02em;
	margin-bottom: 4px;
}

/* ── Social Icons (Diff #2) ── */
.sentio-tm__socials {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}
.sentio-tm__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.sentio-tm__social-link svg {
	width: 18px;
	height: 18px;
	fill: #6b7280;
	transition: fill 0.2s ease;
}
.sentio-tm__social-link:hover {
	transform: scale(1.2);
}
.sentio-tm__social-link:hover svg {
	fill: var(--sentio-tm-accent, #6366f1);
}

/* ── Hover Reveal (Diff #4) ── */
.sentio-tm--hover .sentio-tm__bio,
.sentio-tm--hover .sentio-tm__socials {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.sentio-tm--hover .sentio-tm__card:hover .sentio-tm__bio,
.sentio-tm--hover .sentio-tm__card:hover .sentio-tm__socials {
	opacity: 1;
	transform: translateY(0);
}
.sentio-tm--hover .sentio-tm__card:hover .sentio-tm__socials {
	transition-delay: 0.08s;
}

/* ── Stagger Entrance (Diff #7) ── */
.sentio-tm--stagger .sentio-tm__card {
	opacity: 0;
	transform: translateY(24px);
}
.sentio-tm--stagger .sentio-tm__card.sentio-tm--visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ═══════════════════════════════════════════════
 * Layout: OVERLAY (Diff #3)
 * ═══════════════════════════════════════════════ */
.sentio-tm--overlay .sentio-tm__card {
	min-height: 320px;
	justify-content: flex-end;
	color: #fff;
}
.sentio-tm--overlay .sentio-tm__photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
	transition: transform 0.5s ease;
}
.sentio-tm--overlay .sentio-tm__card:hover .sentio-tm__photo {
	transform: scale(1.06);
}
.sentio-tm--overlay .sentio-tm__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
	z-index: 1;
	pointer-events: none;
}
.sentio-tm--overlay .sentio-tm__content {
	position: relative;
	z-index: 2;
}
.sentio-tm--overlay .sentio-tm__name { color: #fff; }
.sentio-tm--overlay .sentio-tm__role { color: rgba(255,255,255,0.8); }
.sentio-tm--overlay .sentio-tm__bio  { color: rgba(255,255,255,0.65); }
.sentio-tm--overlay .sentio-tm__badge { opacity: 0.9; }
.sentio-tm--overlay .sentio-tm__social-link svg { fill: rgba(255,255,255,0.8); }
.sentio-tm--overlay .sentio-tm__social-link:hover svg { fill: #fff; }

/* ═══════════════════════════════════════════════
 * Layout: SIDE (Diff #3)
 * ═══════════════════════════════════════════════ */
.sentio-tm--side .sentio-tm__card {
	flex-direction: row;
	align-items: flex-start;
	text-align: left;
}
.sentio-tm--side .sentio-tm__photo-wrap {
	padding: 16px 0 16px 16px;
	flex-shrink: 0;
}
.sentio-tm--side .sentio-tm__content {
	align-items: flex-start;
}

/* ═══════════════════════════════════════════════
 * Layout: MINIMAL (Diff #3)
 * ═══════════════════════════════════════════════ */
.sentio-tm--minimal .sentio-tm__card {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}
.sentio-tm--minimal .sentio-tm__card:hover {
	transform: none;
}
.sentio-tm--minimal img.sentio-tm__photo {
	width: 80px;
	height: 80px;
}
.sentio-tm--minimal .sentio-tm__name {
	font-size: 15px;
}
.sentio-tm--minimal .sentio-tm__role {
	font-size: 13px;
}
