:root {
	--paper: #f3f0e8;
	--ink: #121212;
	--line: #bbb7ad;
	--orange: #ff4e18;
	--yellow: #e9ff57;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

.topbar,
main,
footer {
	width: min(1200px, calc(100% - 48px));
	margin-inline: auto;
}

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0;
	border-bottom: 1px solid var(--ink);
	font-size: 12px;
}

.logo {
	font-weight: 700;
	text-decoration: none;
}

.status {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #625f58;
}

.status span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--orange);
	animation: blink 2s infinite;
}

@keyframes blink {
	50% { opacity: 0.25; }
}

.hero {
	min-height: 760px;
	padding: 130px 0 80px;
	border-bottom: 1px solid var(--ink);
}

.kicker {
	margin: 0 0 28px;
	font: 700 11px/1 Arial, sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 1050px;
	margin-bottom: 42px;
	font: 400 clamp(64px, 9.5vw, 138px)/0.85 Georgia, "Times New Roman", serif;
	letter-spacing: -0.075em;
}

.intro {
	max-width: 460px;
	margin-left: 50%;
	font-size: 19px;
	line-height: 1.35;
}

.down {
	display: inline-flex;
	justify-content: space-between;
	width: 250px;
	margin: 80px 0 0 50%;
	padding-bottom: 8px;
	border-bottom: 1px solid;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.feed {
	padding: 92px 0 130px;
}

.feed-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 44px;
}

h2 {
	margin-bottom: 0;
	font: 400 clamp(52px, 7vw, 96px)/0.9 Georgia, serif;
	letter-spacing: -0.06em;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.filters button {
	padding: 8px 11px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: 700 10px/1 Arial, sans-serif;
	cursor: pointer;
}

.filters button:hover,
.filters button.active {
	background: var(--ink);
	color: var(--paper);
}

.stories {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	border-top: 1px solid var(--ink);
	border-left: 1px solid var(--ink);
}

.story {
	display: flex;
	grid-column: span 4;
	flex-direction: column;
	min-height: 470px;
	padding: 20px;
	border-right: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	transition: background 150ms ease;
}

.story:hover {
	background: #e7e2d8;
}

.story.feature {
	grid-column: span 8;
}

.story.wide {
	grid-column: span 8;
}

.story.dark {
	background: var(--ink);
	color: var(--paper);
}

.story.dark:hover {
	background: #2a2926;
}

.story.yellow {
	background: var(--yellow);
}

.story[hidden] {
	display: none;
}

.meta {
	display: grid;
	grid-template-columns: 30px 1fr auto;
	gap: 12px;
	margin-bottom: 85px;
	font: 700 9px/1 Arial, sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.meta time {
	color: #77736b;
}

.story h3 {
	max-width: 820px;
	margin-bottom: 22px;
	font: 400 clamp(29px, 3.4vw, 52px)/0.98 Georgia, serif;
	letter-spacing: -0.045em;
}

.story:not(.feature):not(.wide) h3 {
	font-size: clamp(27px, 2.5vw, 38px);
}

.story > p {
	max-width: 570px;
	margin-bottom: 38px;
	font-size: 14px;
	line-height: 1.45;
}

.story > a {
	width: fit-content;
	margin-top: auto;
	padding-bottom: 4px;
	border-bottom: 1px solid;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.story > a:hover {
	color: var(--orange);
}

.empty {
	padding: 80px 0;
	border-bottom: 1px solid;
	font: 36px Georgia, serif;
}

.quote {
	margin-bottom: 130px;
	padding: 100px 24px;
	background: var(--orange);
	text-align: center;
}

.quote p {
	margin-bottom: 10px;
	font: 400 clamp(60px, 10vw, 150px)/0.9 Georgia, serif;
	letter-spacing: -0.07em;
}

.quote span {
	font-size: 12px;
}

.about {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	padding: 0 0 130px;
}

.about h2 {
	margin-bottom: 35px;
}

.about div > p {
	max-width: 560px;
	font-size: 15px;
	line-height: 1.5;
}

footer {
	display: flex;
	justify-content: space-between;
	padding: 25px 0;
	border-top: 1px solid var(--ink);
	font-size: 10px;
	font-weight: 700;
}

footer a {
	text-decoration: none;
}

@media (max-width: 760px) {
	.topbar,
	main,
	footer {
		width: min(100% - 28px, 560px);
	}

	.hero {
		min-height: 680px;
		padding-top: 100px;
	}

	h1 {
		font-size: clamp(58px, 18vw, 90px);
	}

	.intro,
	.down {
		margin-left: 0;
	}

	.feed-head {
		display: block;
	}

	.filters {
		justify-content: flex-start;
		margin-top: 35px;
	}

	.story,
	.story.feature,
	.story.wide {
		grid-column: span 12;
		min-height: 420px;
	}

	.meta {
		margin-bottom: 60px;
	}

	.story h3,
	.story:not(.feature):not(.wide) h3 {
		font-size: 34px;
	}

	.about {
		display: block;
	}

	.about > .kicker {
		margin-bottom: 60px;
	}

	footer span:nth-child(2) {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		animation: none !important;
		transition: none !important;
	}
}
