:root {
	--bd-ink: #111315;
	--bd-graphite: #25282b;
	--bd-concrete: #8f969a;
	--bd-line: #d8dcdf;
	--bd-paper: #f7f6f1;
	--bd-white: #fff;
	--bd-blue: #198fd9;
	--bd-grid-margin: clamp(18px, 4vw, 72px);
	--bd-section-space: clamp(76px, 12vw, 180px);
	--bd-font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--bd-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--bd-ease: cubic-bezier(.2, .8, .2, 1);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--bd-ink);
	background: var(--bd-paper);
	font-family: var(--bd-font-sans);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

:focus-visible {
	outline: 2px solid var(--bd-blue);
	outline-offset: 4px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 20;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	color: var(--bd-white);
	background: var(--bd-ink);
}

.bd-header {
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 28px;
	padding: 18px var(--bd-grid-margin);
	color: var(--bd-paper);
	mix-blend-mode: difference;
	transition: background .35s var(--bd-ease), color .35s var(--bd-ease);
}

.bd-header.is-solid {
	color: var(--bd-ink);
	background: rgba(247, 246, 241, .94);
	border-bottom: 1px solid var(--bd-line);
	mix-blend-mode: normal;
	backdrop-filter: blur(14px);
}

.bd-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	text-decoration: none;
}

.bd-brand__mark {
	width: 48px;
	height: 32px;
	object-fit: contain;
	filter: invert(1);
}

.bd-brand__custom-logo {
	width: auto;
	max-width: 150px;
	max-height: 42px;
}

.bd-header.is-solid .bd-brand__mark {
	filter: none;
}

.bd-primary-nav ul {
	display: flex;
	justify-content: flex-end;
	gap: clamp(14px, 2.4vw, 34px);
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 14px;
}

.bd-primary-nav a {
	text-decoration: none;
}

.bd-language-switcher {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-left: 14px;
	border-left: 1px solid currentColor;
	font-family: var(--bd-font-mono);
	font-size: 11px;
}

.bd-language-switcher a {
	opacity: .55;
	text-decoration: none;
}

.bd-language-switcher a.is-active {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.bd-menu-toggle {
	display: none;
	justify-self: end;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid currentColor;
	color: inherit;
	background: transparent;
}

.bd-menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 20px;
	height: 1px;
	margin: 6px auto;
	background: currentColor;
}

.bd-page-hero,
.bd-project-hero {
	padding: 24vh var(--bd-grid-margin) 10vh;
	color: var(--bd-paper);
	background: var(--bd-ink);
}

.bd-page-hero h1,
.bd-project-hero h1 {
	max-width: 1120px;
	margin: 0;
	font-size: clamp(54px, 12vw, 172px);
	line-height: .88;
	letter-spacing: 0;
}

.bd-kicker {
	margin: 0 0 16px;
	font-family: var(--bd-font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0;
}

.bd-content {
	max-width: 900px;
	padding: var(--bd-section-space) var(--bd-grid-margin);
	margin: 0 auto;
}

.bd-content--project {
	max-width: 1040px;
}

.bd-entry {
	padding: 32px 0;
	border-bottom: 1px solid var(--bd-line);
}

.bd-project-hero {
	display: grid;
	grid-template-columns: .86fr 1.14fr;
	gap: clamp(28px, 6vw, 92px);
	align-items: end;
}

.bd-project-hero__lede {
	max-width: 620px;
	font-size: clamp(19px, 2.2vw, 30px);
}

.bd-project-hero__media img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.bd-project-meta {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	border-bottom: 1px solid var(--bd-line);
	background: var(--bd-white);
}

.bd-project-meta__item {
	min-height: 150px;
	padding: 22px;
	border-right: 1px solid var(--bd-line);
}

.bd-project-meta__item span,
.bd-project-card span {
	display: block;
	margin-bottom: 18px;
	font-family: var(--bd-font-mono);
	font-size: 12px;
	color: var(--bd-concrete);
	text-transform: uppercase;
}

.bd-project-index {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	padding: 1px;
	background: var(--bd-line);
}

.bd-project-card {
	background: var(--bd-paper);
}

.bd-project-card a {
	display: grid;
	min-height: 100%;
	text-decoration: none;
}

.bd-project-card img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.bd-project-card div {
	padding: 22px;
}

.bd-project-card h2 {
	margin: 0;
	font-size: clamp(25px, 2.8vw, 44px);
	line-height: .98;
}

.bd-footer {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	padding: 56px var(--bd-grid-margin);
	color: var(--bd-paper);
	background: var(--bd-ink);
}

.bd-footer ul {
	display: flex;
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.bd-footer__brand {
	font-size: 22px;
	font-weight: 700;
}

@media (max-width: 1024px) {
	.bd-header {
		grid-template-columns: auto auto;
		justify-content: space-between;
	}

	.bd-menu-toggle {
		display: block;
	}

	.bd-primary-nav {
		position: fixed;
		inset: 80px 0 auto;
		display: none;
		padding: 24px var(--bd-grid-margin) 34px;
		color: var(--bd-ink);
		background: var(--bd-paper);
		border-bottom: 1px solid var(--bd-line);
		mix-blend-mode: normal;
	}

	.bd-primary-nav.is-open {
		display: block;
	}

	.bd-primary-nav ul,
	.bd-footer,
	.bd-project-hero {
		display: grid;
		grid-template-columns: 1fr;
	}

	.bd-project-meta {
		grid-template-columns: repeat(3, 1fr);
	}

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

@media (max-width: 640px) {
	.bd-page-hero h1,
	.bd-project-hero h1 {
		font-size: clamp(48px, 17vw, 74px);
	}

	.bd-project-meta,
	.bd-project-index {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
		animation-duration: .001ms !important;
	}
}
