@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("/assets/fraunces-latin-wght-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("/assets/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
	color-scheme: light;
	--primary: #b4532f;
	--primary-dark: #a34d2e;
	--background: #faf7f2;
	--surface: #fff;
	--text: #2d2a26;
	--muted: #6b6560;
	--border: #e5e0d8;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	color: var(--text);
	background: var(--background);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
}

a {
	color: inherit;
}

.site-header,
.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1120px;
	margin: 0 auto;
	padding: 24px;
}

.wordmark {
	color: var(--primary);
	font-family: "Fraunces", Georgia, serif;
	font-size: 28px;
	font-weight: 650;
	text-decoration: none;
}

.recipe {
	max-width: 1040px;
	margin: 0 auto 64px;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 24px;
	box-shadow: 0 16px 50px rgb(45 42 38 / 8%);
}

.recipe-hero {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

.recipe-content {
	padding: clamp(28px, 5vw, 64px);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

h1,
h2 {
	font-family: "Fraunces", Georgia, serif;
}

h1 {
	max-width: 800px;
	margin: 0;
	font-size: clamp(42px, 7vw, 72px);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1;
}

.lede {
	max-width: 720px;
	margin: 24px 0 0;
	color: var(--muted);
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.65;
}

.recipe-facts {
	display: flex;
	gap: 40px;
	margin: 32px 0 0;
	padding: 20px 0;
	border-block: 1px solid var(--border);
}

.recipe-facts dt {
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.recipe-facts dd {
	margin: 4px 0 0;
	font-weight: 700;
}

.recipe-columns {
	display: grid;
	grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
	gap: clamp(40px, 7vw, 88px);
	margin-top: 48px;
}

.recipe-columns h2 {
	margin: 0 0 22px;
	font-size: 30px;
	font-weight: 600;
}

.ingredients,
.instructions {
	margin: 0;
	padding: 0;
	line-height: 1.7;
}

.ingredients {
	list-style: none;
}

.ingredients li {
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}

.ingredients .section-heading {
	padding-top: 24px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.instructions {
	padding-left: 24px;
}

.instructions li {
	padding: 0 0 24px 10px;
}

.instructions li::marker {
	color: var(--primary);
	font-weight: 800;
}

.primary-action {
	display: inline-flex;
	justify-content: center;
	margin-top: 40px;
	padding: 15px 22px;
	color: white;
	background: var(--primary);
	border-radius: 12px;
	font-weight: 750;
	text-decoration: none;
}

.primary-action:hover {
	background: var(--primary-dark);
}

.report-link {
	display: block;
	width: fit-content;
	margin-top: 28px;
	color: var(--muted);
	font-size: 13px;
}

.gallery {
	max-width: 1120px;
	min-height: 65vh;
	margin: 0 auto;
	padding: 48px 24px 80px;
}

.gallery-intro {
	margin-bottom: 40px;
}

.recipe-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.recipe-card {
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	text-decoration: none;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.recipe-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgb(45 42 38 / 10%);
}

.recipe-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.recipe-card div {
	padding: 20px;
}

.recipe-card h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.15;
}

.recipe-card p {
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 13px;
}

.not-found {
	max-width: 680px;
	margin: 10vh auto;
	padding: 24px;
	text-align: center;
}

@media (max-width: 720px) {
	.site-header,
	.site-footer {
		padding: 20px;
	}

	.recipe {
		margin: 0 12px 40px;
		border-radius: 18px;
	}

	.recipe-hero {
		aspect-ratio: 4 / 3;
	}

	.recipe-columns {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.recipe-grid {
		grid-template-columns: 1fr;
	}

	.primary-action {
		width: 100%;
	}
}
