:root {
	--mpc-ink: #17151b;
	--mpc-muted: #6f6b75;
	--mpc-soft: #f5f4f2;
	--mpc-line: #d8d5da;
	--mpc-purple: #7147ff;
	--mpc-purple-soft: #e9e1ff;
	--mpc-violet: #1f1738;
	--mpc-lime: #d7ff58;
	--mpc-white: #fff;
	--mpc-radius: 0.45rem;
	--mpc-container: 1480px;
}
html {
	scroll-behavior: smooth;
}

body {
	background: var(--mpc-white);
	color: var(--mpc-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--mpc-purple);
}

img {
	height: auto;
	max-width: 100%;
}

.site-container {
	max-width: var(--mpc-container);
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.article-container {
	max-width: 780px;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.section-space {
	padding-bottom: 4.5rem;
	padding-top: 4.5rem;
}

.section-space-sm {
	padding-bottom: 3.5rem;
	padding-top: 3.5rem;
}

.section-soft {
	background: var(--mpc-soft);
}

.eyebrow,
.section-kicker {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	margin-bottom: 0.8rem;
	text-transform: uppercase;
}

.section-kicker {
	border-bottom: 1px solid var(--mpc-line);
	color: var(--mpc-muted);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
}

.text-accent {
	color: var(--mpc-purple) !important;
}

.site-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid transparent;
	transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
	border-color: var(--mpc-line);
	box-shadow: 0 10px 30px rgba(23, 21, 27, 0.06);
}

.navbar {
	min-height: 76px;
	padding: 0.75rem 0;
}

.site-brand,
.footer-brand {
	align-items: center;
	display: inline-flex;
	gap: 0.65rem;
}

.site-brand {
	margin: 0;
	padding: 0;
}

.site-logo-image,
.site-brand .custom-logo {
	display: block;
	height: 64px;
	object-fit: contain;
	width: auto;
}

.site-brand .custom-logo-link {
	display: block;
}

.brand-mark {
	align-items: center;
	background: var(--mpc-ink);
	border-radius: 0.35rem;
	color: var(--mpc-lime);
	display: inline-flex;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.76rem;
	font-weight: 900;
	height: 2.25rem;
	justify-content: center;
	letter-spacing: -0.1em;
	width: 2.25rem;
}

.brand-copy {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.brand-copy strong {
	font-size: 1rem;
	letter-spacing: -0.03em;
}

.brand-copy small {
	color: var(--mpc-purple);
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	margin-top: 0.28rem;
}

.navbar-toggler {
	border: 1px solid var(--mpc-ink);
	border-radius: 50%;
	height: 2.75rem;
	padding: 0.55rem;
	width: 2.75rem;
}

.navbar-collapse {
	background: var(--mpc-white);
	padding: 1rem 0 0.5rem;
}

.navbar .nav-link {
	border-bottom: 1px solid var(--mpc-line);
	font-weight: 600;
	padding: 0.8rem 0;
}

.btn {
	font-weight: 700;
	padding: 0.72rem 1.35rem;
}

.blog-hero {
	background: var(--mpc-soft);
}

.featured-media,
.card-media,
.compact-media,
.single-cover,
.page-cover {
	background: #dedbe0;
	display: block;
	overflow: hidden;
}

.featured-media,
.single-cover,
.page-cover {
	border-radius: var(--mpc-radius);
}

.featured-media {
	aspect-ratio: 16 / 10;
}

.story-image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
	width: 100%;
}

a:hover .story-image {
	transform: scale(1.025);
}

.media-placeholder {
	align-items: flex-start;
	background: linear-gradient(145deg, #281d4d 0%, #5135a7 62%, #9d84ff 100%);
	color: var(--mpc-white);
	display: flex;
	flex-direction: column;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	height: 100%;
	justify-content: space-between;
	min-height: 220px;
	padding: 1.4rem;
	width: 100%;
}

.media-placeholder::after {
	background: var(--mpc-lime);
	border-radius: 46% 54% 32% 68%;
	content: "";
	height: 44%;
	position: absolute;
	right: -4%;
	top: 22%;
	transform: rotate(16deg);
	width: 34%;
}

.media-placeholder {
	position: relative;
}

.media-placeholder span,
.media-placeholder b {
	position: relative;
	z-index: 1;
}

.media-placeholder span {
	font-size: clamp(1.4rem, 4vw, 2.8rem);
	font-weight: 800;
}

.media-placeholder b {
	font-size: clamp(2.2rem, 8vw, 6rem);
	letter-spacing: -0.1em;
}

.media-placeholder-featured {
	min-height: 100%;
	padding: clamp(1.5rem, 4vw, 3.5rem);
}

.story-body {
	padding-top: 1.6rem;
}

.topic-pill {
	background: var(--mpc-purple-soft);
	border-radius: 0.15rem;
	color: var(--mpc-purple);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 0.9rem;
	padding: 0.55rem 0.65rem;
}

.featured-title {
	font-size: clamp(2rem, 7vw, 4.15rem);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 1.03;
	margin-bottom: 1rem;
}

.featured-title a:hover,
.card-title a:hover,
.compact-story h3 a:hover {
	color: var(--mpc-purple);
}

.featured-excerpt,
.single-deck {
	color: var(--mpc-muted);
	font-size: 1.06rem;
	margin-top: 1rem;
}

.post-meta {
	align-items: center;
	color: var(--mpc-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.78rem;
	gap: 0.4rem;
}

.trending-panel {
	background: var(--mpc-white);
	border-radius: var(--mpc-radius);
	height: 100%;
	overflow: hidden;
}

.trending-cover {
	background: linear-gradient(135deg, #1f1837 0%, #292143 66%, #3d2e69 100%);
	color: var(--mpc-white);
	min-height: 220px;
	overflow: hidden;
	padding: 1.5rem;
	position: relative;
}

.trending-cover::after {
	background: #b7a1ff;
	content: "";
	height: 150px;
	position: absolute;
	right: -55px;
	top: -30px;
	transform: rotate(24deg);
	width: 150px;
}

.trending-cover h2 {
	font-size: clamp(2rem, 7vw, 3rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.92;
	margin: 0;
}

.trend-glyph {
	bottom: 1.2rem;
	color: var(--mpc-lime);
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: -0.35em;
	position: absolute;
	right: 1.5rem;
	transform: rotate(-12deg);
}

.trending-list {
	padding: 0 1rem;
}

.compact-story {
	display: grid;
	gap: 1rem;
	grid-template-columns: 104px minmax(0, 1fr);
	padding: 1.25rem 0;
}

.compact-story + .compact-story {
	border-top: 1px solid var(--mpc-line);
}

.compact-media {
	aspect-ratio: 4 / 3;
	border-radius: 0.3rem;
}

.media-placeholder-small {
	align-items: center;
	justify-content: center;
	min-height: 100%;
	padding: 0.75rem;
}

.media-placeholder-small::after,
.media-placeholder-small b {
	display: none;
}

.media-placeholder-small span {
	font-size: 1.25rem;
}

.compact-story h3 {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.22;
	margin: 0 0 0.55rem;
}

.compact-story .topic-pill {
	font-size: 0.68rem;
	margin: 0.65rem 0 0;
	padding: 0.4rem 0.5rem;
}

.section-heading {
	margin-bottom: 2rem;
}

.section-heading h2,
.archive-header h1 {
	font-size: clamp(2.1rem, 7vw, 4.4rem);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 1;
	margin: 0;
}

.site-search {
	align-items: center;
	background: var(--mpc-white);
	border: 1px solid var(--mpc-line);
	border-radius: 99px;
	display: flex;
	max-width: 340px;
	padding: 0.25rem 0.35rem 0.25rem 1rem;
	width: 100%;
}

.site-search input {
	background: transparent;
	border: 0;
	flex: 1;
	min-width: 0;
	outline: 0;
	padding: 0.45rem 0;
}

.site-search button {
	align-items: center;
	background: var(--mpc-ink);
	border: 0;
	border-radius: 50%;
	color: var(--mpc-white);
	display: flex;
	font-size: 1.2rem;
	height: 2.35rem;
	justify-content: center;
	width: 2.35rem;
}

.article-card {
	background: var(--mpc-white);
	display: flex;
	flex-direction: column;
}

.card-media {
	aspect-ratio: 3 / 2;
	border-radius: var(--mpc-radius);
}

.card-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem 0.15rem 0;
}

.card-title {
	font-size: 1.45rem;
	font-weight: 550;
	letter-spacing: -0.035em;
	line-height: 1.18;
}

.card-excerpt {
	color: var(--mpc-muted);
	font-size: 0.94rem;
}

.card-author {
	align-items: center;
	display: flex;
	font-size: 0.82rem;
	font-weight: 700;
	gap: 0.55rem;
	margin-top: 1rem;
}

.card-author img,
.single-byline img,
.author-box img,
.author-avatar-wrap img {
	border-radius: 50%;
}

.community-panel {
	background: var(--mpc-violet);
	border-radius: var(--mpc-radius);
	color: var(--mpc-white);
	overflow: hidden;
}

.community-copy {
	padding: 2.2rem 1.5rem;
}

.community-copy h2 {
	font-size: clamp(2.2rem, 7vw, 4.5rem);
	font-weight: 450;
	letter-spacing: -0.06em;
	line-height: 0.98;
}

.community-copy p:not(.eyebrow) {
	color: #d7d1e2;
	max-width: 590px;
}

.community-art {
	align-items: center;
	background: var(--mpc-lime);
	color: var(--mpc-ink);
	display: flex;
	justify-content: center;
	min-height: 260px;
}

.community-art span {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: clamp(4rem, 18vw, 9rem);
	font-weight: 900;
	letter-spacing: -0.18em;
	transform: rotate(-8deg);
}

.archive-header {
	background: var(--mpc-white);
}

.archive-description {
	color: var(--mpc-muted);
	font-size: 1.1rem;
	margin-top: 1.25rem;
	max-width: 720px;
}

.pagination-wrap {
	margin-top: 3rem;
}

.page-numbers {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding: 0.5rem;
}

.page-numbers.current {
	background: var(--mpc-ink);
	border-radius: 50%;
	color: var(--mpc-white);
}

.empty-state,
.error-page {
	padding-bottom: 7rem;
	padding-top: 7rem;
}

.empty-state {
	background: var(--mpc-white);
	border-radius: var(--mpc-radius);
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	text-align: center;
}

.single-header h1,
.page-header h1 {
	font-size: clamp(2.5rem, 10vw, 5.3rem);
	font-weight: 500;
	letter-spacing: -0.065em;
	line-height: 0.98;
	margin: 1rem 0 1.5rem;
}

.single-byline {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.author-name {
	font-size: 0.9rem;
	font-weight: 800;
}

.single-cover {
	aspect-ratio: 16 / 9;
	margin-bottom: 3.5rem;
}

.article-content {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	line-height: 1.82;
}

.article-content > * {
	margin-bottom: 1.35em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-weight: 650;
	letter-spacing: -0.04em;
	line-height: 1.15;
	margin-top: 1.8em;
}

.article-content a {
	color: var(--mpc-purple);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.article-content blockquote {
	border-left: 5px solid var(--mpc-lime);
	font-size: 1.35em;
	font-style: italic;
	padding-left: 1.25rem;
}

.article-content pre {
	background: var(--mpc-violet);
	border-radius: var(--mpc-radius);
	color: #f3f0fa;
	overflow-x: auto;
	padding: 1.25rem;
}

.article-content code {
	background: var(--mpc-purple-soft);
	border-radius: 0.2rem;
	color: #3a236e;
	font-size: 0.9em;
	padding: 0.12em 0.3em;
}

.article-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.article-footer {
	margin-top: 3.5rem;
}

.article-tags a {
	background: var(--mpc-soft);
	border-radius: 99px;
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.55rem 0.8rem;
}

.author-box {
	align-items: flex-start;
	background: var(--mpc-soft);
	border-radius: var(--mpc-radius);
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 70px 1fr;
	margin: 2.5rem 0;
	padding: 1.5rem;
}

.author-box h2 {
	font-size: 1.4rem;
	margin: 0;
}

.author-box p:not(.eyebrow) {
	color: var(--mpc-muted);
	font-size: 0.92rem;
}

.text-link {
	color: var(--mpc-purple);
	font-weight: 700;
}

.post-navigation .nav-links {
	border-bottom: 1px solid var(--mpc-line);
	border-top: 1px solid var(--mpc-line);
	display: grid;
	gap: 1px;
	grid-template-columns: 1fr;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	padding: 1.25rem 0;
}

.post-navigation span {
	color: var(--mpc-muted);
	font-size: 0.74rem;
	text-transform: uppercase;
}

.comments-area {
	margin-top: 4rem;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	border-top: 1px solid var(--mpc-line);
	padding: 1.5rem 0;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	border: 1px solid var(--mpc-line);
	border-radius: 0.25rem;
	padding: 0.75rem;
	width: 100%;
}

.comment-form input[type="submit"] {
	background: var(--mpc-ink);
	border: 0;
	border-radius: 99px;
	color: var(--mpc-white);
	font-weight: 700;
	padding: 0.75rem 1.25rem;
}

.author-hero {
	background: var(--mpc-soft);
}

.author-profile {
	display: grid;
	gap: 2rem;
}

.author-avatar-wrap img {
	box-shadow: 18px 18px 0 var(--mpc-purple-soft);
}

.author-details h1 {
	font-size: clamp(2.8rem, 11vw, 6.4rem);
	font-weight: 500;
	letter-spacing: -0.07em;
	line-height: 0.9;
}

.author-role {
	color: var(--mpc-purple);
	font-size: 0.9rem;
	font-weight: 800;
}

.author-bio {
	color: var(--mpc-muted);
	font-size: 1.1rem;
	margin: 1.25rem 0;
	max-width: 700px;
}

.author-stats {
	display: flex;
	gap: 2rem;
}

.author-stats div {
	display: flex;
	flex-direction: column;
}

.author-stats strong {
	font-size: 1.5rem;
}

.author-stats span {
	color: var(--mpc-muted);
	font-size: 0.72rem;
	text-transform: uppercase;
}

.page-cover {
	aspect-ratio: 16 / 8;
	margin-bottom: 2.5rem;
}

.search-wide .site-search {
	max-width: 560px;
}

.error-code {
	color: var(--mpc-purple-soft);
	font-size: clamp(7rem, 30vw, 15rem);
	font-weight: 900;
	letter-spacing: -0.1em;
	line-height: 0.7;
}

.error-page h1 {
	font-size: clamp(2.2rem, 8vw, 4rem);
	letter-spacing: -0.05em;
}

.site-footer {
	background: #0e0d11;
	color: var(--mpc-white);
	padding: 4rem 0 1.5rem;
}

.brand-mark-light {
	background: var(--mpc-lime);
	color: var(--mpc-ink);
}

.footer-brand {
	display: inline-block;
}

.footer-logo-image {
	display: block;
	height: 112px;
	object-fit: contain;
	object-position: left center;
	width: auto;
}

.footer-logo-image--default {
	filter: invert(1);
}

.footer-intro {
	color: #aaa5b0;
	margin-top: 1.25rem;
	max-width: 470px;
}

.footer-heading {
	color: #827c89;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
}

.footer-nav li,
.footer-widget p {
	margin-bottom: 0.6rem;
}

.site-footer a:hover {
	color: var(--mpc-lime);
}

.footer-bottom {
	border-top: 1px solid #302d35;
	color: #827c89;
	font-size: 0.78rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
}

.footer-bottom p {
	margin: 0;
}

.demo-content a,
.demo-content .card-media,
.demo-content .featured-media,
.demo-content .compact-media {
	pointer-events: none;
}

@media (min-width: 576px) {
	.site-container,
	.article-container {
		padding-left: 1.75rem;
		padding-right: 1.75rem;
	}

	.compact-story {
		grid-template-columns: 150px minmax(0, 1fr);
	}

	.compact-story h3 {
		font-size: 1.15rem;
	}
}

@media (min-width: 768px) {
	.section-space {
		padding-bottom: 6rem;
		padding-top: 6rem;
	}

	.section-space-sm {
		padding-bottom: 4.5rem;
		padding-top: 4.5rem;
	}

	.community-copy {
		padding: 3.5rem;
	}

	.author-profile {
		align-items: center;
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.author-box {
		grid-template-columns: 88px 1fr;
		padding: 2rem;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.post-navigation .nav-next {
		text-align: right;
	}
}

@media (min-width: 992px) {
	.navbar {
		min-height: 108px;
	}

	.site-logo-image,
	.site-brand .custom-logo {
		height: 84px;
	}

	.navbar-collapse {
		background: transparent;
		padding: 0;
	}

	.navbar .nav-link {
		border: 0;
		font-size: 0.9rem;
		padding: 0.65rem 0.75rem !important;
	}

	.navbar .nav-link:hover,
	.navbar .current-menu-item > .nav-link {
		color: var(--mpc-purple);
	}

	.blog-hero {
		padding-top: 3rem;
	}

	.trending-cover {
		min-height: 245px;
		padding: 1.8rem;
	}

	.trending-list {
		padding: 0 1.4rem;
	}

	.compact-story {
		grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
	}

	.article-content {
		font-size: 1.2rem;
	}
}

@media (min-width: 1200px) {
	.site-container {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}

	.featured-title {
		font-size: 3.4rem;
	}

	.compact-story h3 {
		font-size: 1.22rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
