:root {
	color-scheme: light;
	font-family: "Trebuchet MS", "Segoe UI", sans-serif;
	color: #20211f;
	background: #f5f3ed;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

* {
	box-sizing: border-box;
}

body {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	background-image: radial-gradient(#d7d3ca 0.65px, transparent 0.65px);
	background-size: 14px 14px;
}

.page-shell {
	width: min(100% - 40px, 1000px);
	margin: 0 auto;
	padding: 72px 0;
}

.page-header {
	max-width: 720px;
	padding-bottom: 42px;
}

.eyebrow {
	margin: 0 0 16px;
	color: #c43227;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

h1 {
	margin: 0;
	font-size: clamp(2.6rem, 8vw, 5.5rem);
	line-height: 0.98;
}

h1 span {
	display: block;
	color: #c43227;
}

.intro {
	max-width: 480px;
	margin: 22px 0 0;
	color: #62615c;
	font-size: 1.05rem;
	line-height: 1.6;
}

.section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 2px solid #20211f;
	padding-bottom: 12px;
}

.section-heading h2 {
	margin: 0;
	font-size: 1.35rem;
}

.status-message {
	margin: 0;
	color: #77756f;
	font-size: 0.85rem;
}

.movie-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 12px;
	padding-top: 16px;
}

.movie-card {
	min-width: 0;
	padding: 20px;
	border: 1px solid #dedbd3;
	border-left: 4px solid #c43227;
	background: #fffefa;
	animation: appear 350ms ease both;
}

.movie-card h2 {
	min-height: 2.8em;
	margin: 0 0 18px;
	font-size: 1.1rem;
	line-height: 1.4;
}

.movie-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
}

.movie-details div {
	min-width: 0;
}

.movie-details span {
	display: block;
	margin-bottom: 5px;
	color: #77756f;
	font-size: 0.72rem;
	text-transform: uppercase;
}

.movie-details strong {
	display: block;
	font-size: 0.92rem;
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 520px) {
	.page-shell {
		width: min(100% - 28px, 1000px);
		padding: 48px 0;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}
