/* Guillermo Rauch inspired layout using Vercel palette */
:root {
	--bg: #0b0b0d;
	--text: #f5f6fb;
	--muted: #9ca2ad;
	--accent: #ffffff;
	--divider: #1a1b1f;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	min-height: 100vh;
}

.site {
	max-width: 800px;
	margin: 0 auto;
	padding: 72px 24px 120px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.site__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
}

.tagline {
	text-transform: uppercase;
	letter-spacing: 0.35em;
	font-size: 0.7rem;
	color: var(--muted);
	margin-bottom: 12px;
}

.subtitle {
	color: var(--muted);
	margin-top: 12px;
	font-size: 0.95rem;
}

nav {
	display: flex;
	gap: 24px;
	font-size: 0.95rem;
}

nav a {
	color: var(--text);
	text-decoration: none;
	position: relative;
	padding-bottom: 4px;
	transition: color 0.2s ease;
}

nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--accent);
	opacity: 0;
	transform: scaleX(0.8);
	transform-origin: left;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

nav a:hover {
	color: var(--accent);
}

nav a:hover::after {
	opacity: 1;
	transform: scaleX(1);
}

.articles {
	border-top: 1px solid var(--divider);
}

.article {
	display: grid;
	grid-template-columns: 90px 1fr 120px;
	gap: 32px;
	align-items: center;
	padding: 24px 0;
	border-bottom: 1px solid var(--divider);
}

.article__year {
	font-weight: 500;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.article__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.article__title {
	font-size: 1.1rem;
	color: var(--accent);
}

.article__title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
	display: inline-block;
}

.article__title-link:hover {
	color: #50fa7b;
}

.article__title--disabled {
	color: var(--muted);
	cursor: not-allowed;
}

.article__description {
	color: var(--muted);
	font-size: 0.95rem;
	max-width: 560px;
}

.article__meta {
	justify-self: flex-end;
	color: var(--muted);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}

.article--upcoming .article__title {
	color: var(--muted);
	cursor: default;
}

.article--upcoming .article__title:hover {
	color: var(--muted);
}

.article--upcoming .article__meta {
	color: #f5a524;
}

.site__footer {
    margin: auto;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--divider);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 0.9rem;
	color: var(--muted);
}

.site__footer a {
	color: var(--accent);
	text-decoration: none;
}

.site__footer a:hover {
	text-decoration: underline;
}

.about-block {
	margin: 24px 0;
	border-top: 1px solid var(--divider);
	padding-top: 24px;
}

.about-block h2 {
	margin-bottom: 12px;
}

.session-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	padding: 24px 0;
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
}

.session-meta h2 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	margin-bottom: 6px;
}

.session-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
	color: var(--muted);
}

.resource-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 16px;
}

.resource-list li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 20px;
	border: 1px solid var(--divider);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.015);
}

.resource-title {
	font-weight: 500;
}

.resource-description {
	color: var(--muted);
	font-size: 0.9rem;
}

.resource-link {
	align-self: center;
	color: var(--accent);
	border: 1px solid var(--accent);
	padding: 8px 16px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.resource-link:hover {
	background: var(--accent);
	color: #050506;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 32px 0;
}

.info-card {
	border: 1px solid var(--divider);
	border-radius: 12px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.02);
}

.badge {
	display: inline-block;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}

.stack-section {
	margin: 32px 0;
	border-top: 1px solid var(--divider);
	padding-top: 24px;
}

.stack-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 16px;
}

.stack-title {
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}

.stack-columns ul {
	list-style: none;
	color: var(--muted);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

@media (max-width: 720px) {
	.site__header {
		flex-direction: column;
	}

	.article {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.article__meta {
		justify-self: flex-start;
	}

	.resource-list li {
		flex-direction: column;
	}
}
