/* Kåre subpage: palette + page-specific components.
   Shared components live in /shared/base.css, linked before this file. */

:root {
	--accent-900: #2e1065;
	--accent-700: #6d28d9;
	--accent-100: #ede9fe;
	--accent-50: #f5f3ff;
	--ink: #262335;
	--ink-soft: #3d3852;
	--caption-ink: #4a4560;
	--tag-ink: #3b3260;
	--muted: #5f5a72;
	--line: #e4e0f0;
	--bg: #f9f8fd;
	--amber: #b45309;
	--red: #b91c1c;
	--good: #15803d;
	--focus: #a78bfa;
	--card-shadow: rgba(46, 16, 101, 0.06);
}

/* Article kicker line */
.kicker {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--accent-700);
	margin: 0.4rem 0 0;
}

/* Publication hub list */
.pub-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.pub {
	display: flex;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
}
.pub .year {
	flex: 0 0 3.2rem;
	font-weight: 800;
	color: var(--accent-700);
	font-variant-numeric: tabular-nums;
}
.pub .body { flex: 1 1 auto; min-width: 0; }
.pub .body p { margin: 0.25rem 0 0; font-size: 0.95rem; }
.pub .body .meta { margin: 0.15rem 0 0; font-size: 0.82rem; color: var(--muted); }
.pub .body .title { font-weight: 700; }
.theme-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 2px solid var(--accent-100);
	padding-bottom: 0.3rem;
}
.theme-title .count { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* Pixel-art gallery */
.pixel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.2rem;
	margin: 1.4rem 0;
}
.pixel-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 2px var(--card-shadow);
	display: flex;
	flex-direction: column;
}
.pixel-card img {
	display: block;
	width: 100%;
	height: auto;
	image-rendering: pixelated;
	background: #0b1020;
	border-bottom: 1px solid var(--line);
}
.pixel-card .body {
	padding: 0.8rem 0.9rem 0.95rem;
}
.pixel-card h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.pixel-card p { margin: 0; font-size: 0.9rem; }
.pixel-card .more { margin-top: 0.45rem; font-size: 0.85rem; }

.site-footer .small { margin: 0.3rem 0; }

@media (max-width: 640px) {
	.pub { gap: 0.6rem; }
	.pub .year { flex-basis: 2.6rem; }
	.pixel-grid { grid-template-columns: 1fr; }
}
