/* Mike Brailey Components v0.1.0 */
:root {
	--mbc-bg: #FAF5EA;
	--mbc-text: #111111;
	--mbc-secondary: #666666;
	--mbc-border: #D9D6CF;
	--mbc-serif: Georgia, "Times New Roman", serif;
	--mbc-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mbc-wordmark: Arial, Helvetica, sans-serif;
	--mbc-content: 1220px;
	--mbc-reading: 760px;
}

body {
	background: var(--mbc-bg);
	color: var(--mbc-text);
	font-family: var(--mbc-sans);
	font-size: 16px;
	line-height: 1.7;
}

.mbc-section {
	width: min(calc(100% - 40px), var(--mbc-content));
	margin: 0 auto;
	padding: clamp(56px, 8vw, 112px) 0;
	border-top: 1px solid var(--mbc-border);
}

.mbc-section:first-child { border-top: 0; }

.mbc-reading { max-width: var(--mbc-reading); }

.mbc-section h1,
.mbc-section h2,
.mbc-section h3 {
	margin: 0;
	color: var(--mbc-text);
	font-family: var(--mbc-serif);
	font-weight: 400;
	line-height: 1.15;
}

.mbc-section h1 {
	font-size: clamp(2.6rem, 5.5vw, 5.6rem);
	letter-spacing: -0.03em;
}

.mbc-section h2 {
	font-size: clamp(2rem, 3vw, 3.25rem);
	margin-bottom: 28px;
}

.mbc-section h3 {
	font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.mbc-section p { max-width: 760px; }

.mbc-wordmark {
	font-family: var(--mbc-wordmark);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.mbc-hero { padding-top: clamp(42px, 6vw, 84px); }

.mbc-hero__intro {
	margin-top: 24px;
	font-size: clamp(1.08rem, 1.45vw, 1.28rem);
	color: var(--mbc-secondary);
}

.mbc-hero__figure {
	margin: clamp(36px, 5vw, 64px) 0 0;
}

.mbc-hero__image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.mbc-hero figcaption,
.mbc-meta,
.mbc-kicker {
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mbc-secondary);
}

.mbc-hero figcaption { margin-top: 10px; }

.mbc-section-intro {
	font-size: 1.06rem;
	color: var(--mbc-secondary);
	margin-bottom: 36px;
}

.mbc-editorial-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--mbc-border);
	border-bottom: 1px solid var(--mbc-border);
}

.mbc-editorial-item {
	padding: 32px;
	border-left: 1px solid var(--mbc-border);
}

.mbc-editorial-item:first-child {
	border-left: 0;
	padding-left: 0;
}

.mbc-editorial-item:last-child { padding-right: 0; }

.mbc-editorial-item h3 { margin: 10px 0 18px; }
.mbc-editorial-item p { color: var(--mbc-secondary); }

.mbc-text-link,
.mbc-section a {
	color: var(--mbc-text);
	text-decoration: none;
}

.mbc-text-link {
	display: inline-block;
	margin-top: 12px;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
}

.mbc-vehicle-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 32px;
}

.mbc-vehicle__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee7db;
}

.mbc-vehicle__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mbc-vehicle__body { padding-top: 18px; }
.mbc-vehicle__body h3 { margin-bottom: 8px; }
.mbc-vehicle__body p { color: var(--mbc-secondary); }

.mbc-notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--mbc-border);
	border-bottom: 1px solid var(--mbc-border);
}

.mbc-note {
	padding: 28px 32px 28px 0;
}

.mbc-note + .mbc-note {
	border-left: 1px solid var(--mbc-border);
	padding-left: 32px;
}

.mbc-note h3 { margin: 8px 0 12px; }
.mbc-note p { color: var(--mbc-secondary); }

.mbc-brand-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.mbc-brand {
	border-top: 1px solid var(--mbc-border);
	padding-top: 22px;
}

.mbc-brand__logo {
	height: 54px;
	display: flex;
	align-items: center;
	margin-bottom: 18px;
}

.mbc-brand__logo img {
	max-height: 54px;
	width: auto;
	max-width: 150px;
	filter: grayscale(1);
}

.mbc-brand h3 { margin-bottom: 6px; }
.mbc-brand p { color: var(--mbc-secondary); }

@media (max-width: 800px) {
	.mbc-section { width: min(calc(100% - 28px), var(--mbc-content)); }
	.mbc-editorial-columns,
	.mbc-vehicle-grid,
	.mbc-notes,
	.mbc-brand-grid {
		grid-template-columns: 1fr;
	}

	.mbc-editorial-item,
	.mbc-editorial-item:first-child,
	.mbc-editorial-item:last-child {
		padding: 24px 0;
		border-left: 0;
		border-top: 1px solid var(--mbc-border);
	}

	.mbc-editorial-item:first-child { border-top: 0; }

	.mbc-note,
	.mbc-note + .mbc-note {
		padding: 24px 0;
		border-left: 0;
		border-top: 1px solid var(--mbc-border);
	}
	.mbc-note:first-child { border-top: 0; }

	.mbc-brand-grid { gap: 24px; }
}
