* { box-sizing: border-box; }

body {
	margin: 0;
	background: #0e0e0e;
	color: #9b9b9b;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: left;
}

.masthead { background: #0e0e0e; }

.masthead-inner, .nav-inner, .main-inner, .footer-inner {
	width: min(100% - 40px, 1200px);
	margin: 0 auto;
}

.masthead-inner {
	min-height: 170px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 38px 0 27px;
	text-align: center;
}

.page-title {
	margin: 0;
	color: #9b9b9b;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.1;
}

.page-title span { color: #f90; font-size: 40px; }
.tagline { margin: 12px 0 0; color: #d9d9d9; font-size: 12px; }
.site-nav { background: #2c2c2c; }

.nav-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 18px;
	padding: 15px 0;
}

.site-nav a { color: #9b9b9b; font-size: 14px; text-decoration: none; white-space: nowrap; }
.site-nav a span { color: #fff; }
.site-nav a:hover span, .site-nav a:focus-visible span { color: #f90; }
.site-nav a:focus-visible { outline: 2px solid #f90; outline-offset: 4px; }
main { background: #2c2c2c; }

.project-grid {
	--project-image-width: 266px;
	--project-image-aspect: 266 / 175;
	display: grid;
	justify-content: center;
	gap: 13px;
	margin: 0 auto;
}

.project-card { min-width: 0; background: #0e0e0e; }
.project-card a { display: block; text-decoration: none; }
.project-card a:focus-visible { outline: 2px solid #f90; outline-offset: 4px; }
.project-card img {
	display: block;
	width: 100%;
	max-width: var(--project-image-width);
	height: auto;
	margin: 0 auto;
	aspect-ratio: var(--project-image-aspect);
	object-fit: cover;
}

.project-title {
	display: block;
	margin: 0;
	padding: 3px 0;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
}

.project-card a:hover .project-title,
.project-card a:focus-visible .project-title { color: #f90; }
.site-footer { background: #0e0e0e; text-align: center; }
.footer-inner { min-height: 40px; }
.site-footer iframe { display: block; width: 100%; height: 40px; border: 0; }

@media (max-width: 640px) {
	.masthead-inner, .nav-inner, .main-inner, .footer-inner { width: calc(100% - 28px); }
	.masthead-inner { padding: 27px 0 21px; }
	.page-title { font-size: 27px; }
	.page-title span { font-size: 35px; }
	.nav-inner { gap: 11px 15px; padding: 13px 0; }
	.site-nav a { font-size: 13px; }
	.project-grid { gap: 16px; }
}

@media (max-width: 360px) {
	.masthead-inner, .nav-inner, .main-inner, .footer-inner { width: calc(100% - 20px); }
	.nav-inner { gap: 10px 12px; }
	.site-nav a { font-size: 12px; }
}