/* Professionals Section Styles */

.professionals {
	margin-top: clamp(96px, 8vw, 140px);
	background: var(--ink);
	color: #fff;
	padding: clamp(58px, 6vw, 92px) 0;
	overflow: hidden;
}

/* Section Head */
.professionals-head {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: clamp(36px, 7vw, 120px);
	align-items: end;
}

.professionals-head h2 {
	font: 300 clamp(34px, 3.4vw, 58px) / 1.08 var(--serif);
	letter-spacing: -0.04em;
	max-width: 800px;
	margin: 0;
}

.professionals-head p {
	font-size: 14px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.58);
	max-width: 560px;
	margin: 0;
}

/* Professional Grid */
.pro-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-top: 48px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Professional Video Card */
.pro-video-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: #f5f2ee;
	color: var(--ink);
	text-decoration: none;
	isolation: isolate;
}

/* Media */
.pro-media {
	position: relative;
	aspect-ratio: 3 / 3.7;
	overflow: hidden;
	background: #292521;
}

.pro-media::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 9, 8, 0.18), transparent 28%, rgba(10, 9, 8, 0.06));
	pointer-events: none;
}

.pro-portrait,
.pro-video-card video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pro-video-card video {
	z-index: 1;
	opacity: 0;
	filter: saturate(0.82) brightness(0.88);
	transform: scale(1.015);
	transition: opacity 0.35s var(--ease), transform 0.9s var(--ease), filter 0.55s var(--ease);
}

.pro-video-card:hover .pro-portrait,
.pro-video-card:focus-visible .pro-portrait,
.pro-video-card.is-playing .pro-portrait {
	transform: scale(1.045);
	filter: saturate(1);
}

.pro-video-card:hover video,
.pro-video-card:focus-visible video,
.pro-video-card.is-playing video {
	opacity: 1;
	filter: saturate(1) brightness(0.94);
	transform: scale(1.045);
}

.pro-video-card:focus-visible {
	outline: 2px solid var(--blush);
	outline-offset: -2px;
}

/* Play Cue */
.pro-cue {
	position: absolute;
	z-index: 2;
	top: 18px;
	left: 18px;
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 8px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.pro-cue i {
	width: 31px;
	height: 31px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-style: normal;
	font-size: 9px;
	transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.pro-video-card:hover .pro-cue i,
.pro-video-card:focus-visible .pro-cue i,
.pro-video-card.is-playing .pro-cue i {
	background: #fff;
	color: var(--ink);
}

/* Professional Card Copy */
.pro-card-copy {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 14px;
	min-height: 104px;
	padding: 16px 18px;
	background: #fff;
}

.pro-card-avatar {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	border: 1px solid var(--line);
}

.pro-card-identity {
	min-width: 0;
}

.pro-role {
	display: block;
	color: #9d6f31;
	font-size: 8px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0;
}

.pro-card-copy h3 {
	margin-top: 5px;
	margin-bottom: 0;
	font: 300 clamp(17px, 1.35vw, 22px) / 1.08 var(--serif);
	letter-spacing: -0.025em;
}

.pro-salon {
	display: block;
	margin-top: 5px;
	color: var(--body);
	font-size: 9px;
	line-height: 1.4;
	margin-bottom: 0;
}

/* Tablet — max-width 940px */
@media (max-width: 940px) {
	.professionals {
		padding-left: 22px;
		padding-right: 22px;
	}

	.professionals-head {
		grid-template-columns: 1fr;
	}

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

	.pro-card-copy {
		min-height: 96px;
		padding: 14px;
	}

	.pro-card-avatar {
		flex-basis: 50px;
		width: 50px;
		height: 50px;
	}
}

/* Mobile — max-width 560px */
@media (max-width: 560px) {
	.pro-grid {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		background: transparent;
		border: 0;
		padding-right: 22px;
	}

	.pro-grid::-webkit-scrollbar {
		display: none;
	}

	.pro-video-card {
		flex: 0 0 82%;
		scroll-snap-align: start;
		border: 1px solid rgba(255, 255, 255, 0.18);
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.pro-video-card video,
	.pro-portrait,
	.pro-cue i {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
