:root {
	--mtp-ink: #171717;
	--mtp-paper: #fbfaf8;
	--mtp-muted: #6d6964;
	--mtp-line: #e5e0db;
	--mtp-charcoal: #232220;
	--mtp-blush: #d57893;
	--mtp-gold: #b79b68;
}

.mtp-profile,
.mtp-directory,
.mtp-client-board {
	color: var(--mtp-ink);
	background: var(--mtp-paper);
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.mtp-profile h1,
.mtp-profile h2,
.mtp-client-board h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 500;
	letter-spacing: 0;
}

.mtp-hero {
	position: relative;
	min-height: 74vh;
	display: flex;
	align-items: flex-end;
	padding: 34px 20px;
	background: #171717 center / cover no-repeat;
	isolation: isolate;
}

.mtp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.64)),
		linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08));
}

.mtp-hero-content {
	width: min(720px, 100%);
	color: #fff;
}

.mtp-hero h1 {
	font-size: clamp(54px, 16vw, 124px);
	line-height: 0.86;
	overflow-wrap: anywhere;
}

.mtp-hero p {
	margin: 18px 0 0;
	font-size: 17px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.86);
}

.mtp-social {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 19px;
}

.mtp-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 13px;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 7px;
	text-decoration: none;
	font-size: 13px;
	backdrop-filter: blur(10px);
}

.mtp-social a:hover {
	background: var(--mtp-blush);
	color: #fff;
}

.mtp-section {
	padding: 34px 20px;
}

.mtp-section h2,
.mtp-stats h2 {
	margin: 0 0 24px;
	font-size: 38px;
	line-height: 1;
}

.mtp-about {
	background: #fff;
}

.mtp-about p {
	max-width: 760px;
	margin: 0;
	font-size: 20px;
	line-height: 1.65;
	color: #302f2c;
}

.mtp-stats {
	padding: 34px 20px;
	color: #f7f3ee;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(183, 155, 104, 0.1)),
		var(--mtp-charcoal);
}

.mtp-stats dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 17px 20px;
	margin: 0;
}

.mtp-stats div {
	display: grid;
	gap: 5px;
}

.mtp-stats dt {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

.mtp-stats dd {
	margin: 0;
	font-size: 18px;
}

.mtp-book-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
}

.mtp-book-grid img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.12;
	object-fit: cover;
	background: #ddd;
}

.mtp-video-grid {
	display: grid;
	gap: 14px;
}

.mtp-video {
	position: relative;
	overflow: hidden;
	background: #111;
	aspect-ratio: 16 / 10;
}

.mtp-video iframe,
.mtp-video video {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	object-fit: cover;
}

.mtp-directory {
	padding: 18px 14px 42px;
}

.mtp-filters {
	display: grid;
	gap: 10px;
	padding: 12px;
	margin: 0 0 18px;
	background: #fff;
	border: 1px solid var(--mtp-line);
	border-radius: 8px;
}

.mtp-filters input,
.mtp-filters select,
.mtp-board-create input {
	width: 100%;
	min-height: 43px;
	padding: 0 12px;
	color: var(--mtp-ink);
	background: #fff;
	border: 1px solid var(--mtp-line);
	border-radius: 6px;
	font: inherit;
}

.mtp-filter-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
}

.mtp-filter-row select {
	grid-column: 1 / -1;
}

.mtp-filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mtp-filter-tags label {
	position: relative;
}

.mtp-filter-tags input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mtp-filter-tags span {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	padding: 0 12px;
	color: var(--mtp-ink);
	background: #f5f1ec;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 13px;
}

.mtp-filter-tags input:checked + span {
	color: #fff;
	background: var(--mtp-ink);
	border-color: var(--mtp-ink);
}

.mtp-filters button,
.mtp-board-create button {
	min-height: 44px;
	padding: 0 16px;
	color: #fff;
	background: var(--mtp-ink);
	border: 0;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}

.mtp-board-create button:disabled {
	cursor: not-allowed;
	opacity: 0.42;
}

.mtp-board-create {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
	padding: 12px;
	margin: 0 0 18px;
	background: #f8efe9;
	border: 1px solid #ecd9cc;
	border-radius: 8px;
}

.mtp-selected-count {
	font-size: 13px;
	color: var(--mtp-muted);
}

.mtp-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.mtp-card {
	position: relative;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--mtp-line);
}

.mtp-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.mtp-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	background: #d8d4cf center / cover no-repeat;
	filter: saturate(0.88);
}

.mtp-card-body {
	display: grid;
	gap: 4px;
	padding: 10px;
}

.mtp-card strong,
.mtp-card em,
.mtp-card small {
	min-width: 0;
	overflow-wrap: anywhere;
}

.mtp-card strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.05;
}

.mtp-card em {
	font-style: normal;
	font-size: 12px;
	color: var(--mtp-muted);
	line-height: 1.35;
}

.mtp-card small {
	font-size: 11px;
	color: #8c867e;
	line-height: 1.35;
}

.mtp-select-talent {
	position: absolute;
	z-index: 2;
	top: 8px;
	left: 8px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	color: #fff;
	background: rgba(0, 0, 0, 0.72);
	border-radius: 6px;
	font-size: 12px;
}

.mtp-empty {
	margin: 28px 0 0;
	color: var(--mtp-muted);
	text-align: center;
}

.mtp-client-page {
	margin: 0;
	background: var(--mtp-paper);
}

.mtp-client-board {
	min-height: 100vh;
	padding: 26px 14px 42px;
}

.mtp-client-board header {
	margin-bottom: 22px;
}

.mtp-client-board header span {
	color: var(--mtp-gold);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.mtp-client-board h1 {
	margin-top: 6px;
	font-size: clamp(44px, 15vw, 96px);
	line-height: 0.95;
}

@media (min-width: 720px) {
	.mtp-hero {
		min-height: 680px;
		padding: 64px 7vw;
	}

	.mtp-section,
	.mtp-stats {
		padding: 54px 7vw;
	}

	.mtp-stats dl {
		grid-template-columns: repeat(4, 1fr);
	}

	.mtp-book-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 10px;
	}

	.mtp-video-grid {
		grid-template-columns: 1fr 1fr;
	}

	.mtp-directory,
	.mtp-client-board {
		padding: 32px 4vw 64px;
	}

	.mtp-filters {
		grid-template-columns: 1.5fr 1.4fr auto;
		align-items: start;
	}

	.mtp-filter-row {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.mtp-filter-row select {
		grid-column: auto;
	}

	.mtp-filter-tags {
		grid-column: 1 / -1;
	}

	.mtp-board-create {
		grid-template-columns: minmax(220px, 1fr) auto auto;
		align-items: center;
	}

	.mtp-card-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}
}

@media (min-width: 1180px) {
	.mtp-card-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}
