:root
{
	--bg: #000000;
	--accent: #de9d38;
	--accent-soft: rgba(222, 157, 56, 0.12);
	--text: #f2f2f2;
	--muted: #8a8a8a;
	--card: rgba(255, 255, 255, 0.035);
	--line: rgba(255, 255, 255, 0.08);
	--radius: 14px;
	--sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Consolas, Menlo, monospace;
}

*,
*::before,
*::after
{
	box-sizing: border-box;
}

html
{
	min-height: 100%;
}

body
{
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	font-family: var(--sans);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	background:
		url(mook.png) no-repeat right bottom / min(38vw, 400px) auto fixed,
		radial-gradient(800px 500px at 10% -10%, rgba(222, 157, 56, 0.16), transparent 70%),
		var(--bg);
}

/* faint dot grid over everything */
body::before
{
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, black, transparent 80%);
	-webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
	pointer-events: none;
}

::selection
{
	background: var(--accent);
	color: var(--bg);
}

.wrap
{
	max-width: 780px;
	margin: 0 auto;
	padding: 72px 24px 180px;
}

/* header */

.masthead
{
	padding-bottom: 32px;
	margin-bottom: 40px;
	border-bottom: 1px dashed rgba(222, 157, 56, 0.6);
}

.title
{
	margin: 0;
	font-size: clamp(48px, 11vw, 88px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.95;
	/* room for descenders (g, p, y), which the clipped gradient would otherwise cut off */
	padding-bottom: 0.14em;
	background: linear-gradient(180deg, #f3bd63 0%, var(--accent) 55%, #b9761c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 28px rgba(222, 157, 56, 0.25));
}

.tagline
{
	margin: 16px 0 0;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 14px;
}

.cursor
{
	display: inline-block;
	width: 8px;
	height: 1.1em;
	margin-left: 4px;
	vertical-align: -0.2em;
	background: var(--accent);
	animation: blink 1.1s steps(1) infinite;
}

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

/* sections */

.links + .links
{
	margin-top: 44px;
}

.links h2
{
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	color: var(--accent);
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* the classic dashed rule, now trailing the heading */
.links h2::after
{
	content: "";
	flex: 1;
	border-bottom: 1px dashed rgba(222, 157, 56, 0.35);
}

.links ul
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.links .grid
{
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* cards */

.links a
{
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--text);
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.links .icon
{
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	padding: 10px;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 20px;
	text-align: center;
	line-height: 22px;
	transition: background 0.2s, color 0.2s;
}

.links .text
{
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.links .text small
{
	color: var(--muted);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.links .go
{
	margin-left: auto;
	color: var(--accent);
	font-size: 13px;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.2s, transform 0.2s;
}

.links a:hover,
.links a:focus-visible
{
	border-color: rgba(222, 157, 56, 0.7);
	background: rgba(222, 157, 56, 0.06);
	box-shadow: 0 8px 30px -12px rgba(222, 157, 56, 0.45);
	transform: translateY(-2px);
	outline: none;
}

.links a:hover .icon,
.links a:focus-visible .icon
{
	background: var(--accent);
	color: var(--bg);
}

.links a:hover .go,
.links a:focus-visible .go
{
	opacity: 1;
	transform: none;
}

@media (max-width: 600px)
{
	.wrap
	{
		padding: 44px 16px 160px;
	}

	.links .go
	{
		opacity: 0.6;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce)
{
	.cursor { animation: none; }
	.links a,
	.links .go,
	.links .icon { transition: none; }
}
