:root {
	--bg: #39140e;
	--card: #e2dcc4;
	--ink: #1f1f1f;
	--accent: #fe4818;
	--mute: #6b6b6b;
	--rule: rgba(57, 20, 14, 0.15);
	--serif: Georgia, "EB Garamond", "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main {
	max-width: 880px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 2rem;
}

@media (min-width: 720px) {
	main {
		margin: 1.75rem auto;
		padding: 2.5rem 3rem;
		background: var(--card);
		border-radius: 6px;
		box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
	}
}

@media (max-width: 719px) {
	body { background: var(--card); }
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.hero { text-align: center; }

.painting {
	margin: 0 auto 1.75rem;
	max-width: 500px;
}
.painting img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.painting figcaption {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: var(--mute);
	font-style: italic;
}

h1 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(1.6rem, 4vw, 2.1rem);
	margin: 0.5rem 0 0.75rem;
	color: var(--bg);
}

.lead {
	max-width: 36rem;
	margin: 0 auto 0.5rem;
	color: var(--ink);
}

.bloggers {
	margin-top: 2.75rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--rule);
}

.grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
	align-items: stretch;
}

@media (min-width: 720px) {
	.grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.grid li { display: flex; }

.grid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1rem 0.75rem 1.1rem;
	background: var(--bg);
	color: var(--card);
	border-radius: 6px;
	width: 100%;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.grid a:hover,
.grid a:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
	text-decoration: none;
}

.grid img {
	width: 100%;
	max-width: 140px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 0.6rem;
	background: var(--card);
}

.grid .name {
	font-family: var(--serif);
	font-size: 1.05rem;
	color: var(--card);
	margin-bottom: 0.5rem;
}

.grid .tagline {
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--card);
	opacity: 0.85;
}

footer {
	margin-top: 2.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rule);
	text-align: center;
}

.pen {
	width: 100%;
	max-width: 220px;
	height: auto;
	display: block;
	margin: 0 auto 0.75rem;
	opacity: 0.85;
}

.copy {
	margin: 0;
	font-size: 0.85rem;
	color: var(--mute);
}
