/*
 * Works listing.
 *
 * This page used to be the Framer export, whose grid was driven by a CMS
 * collection that still contained retired projects. The seven current ones were
 * swapped in at runtime by works-cards.js, which meant the real HTML still
 * listed Kamino Finance and Fuse Wallet Android: what a visitor saw if the
 * script was cached, slow or blocked, and what a crawler read every time.
 *
 * This is plain HTML instead. What's in the markup is what's on the page.
 */

.works-head { padding: 96px 0 48px; }
.works-head h1 {
	font-family: var(--sans); font-weight: 500;
	font-size: clamp(48px, 9vw, 116px); line-height: .95; letter-spacing: -.03em;
	margin: 0 0 18px; text-transform: uppercase;
}
.works-years {
	font-family: var(--mono); font-size: 14px; letter-spacing: .16em;
	text-transform: uppercase; color: var(--grey); margin: 0;
}

.works-grid {
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: 40px 28px; padding-bottom: 112px;
}

.work-card { display: block; text-decoration: none; color: inherit; }

.work-thumb {
	display: block; position: relative; overflow: hidden;
	border-radius: 18px; background: var(--grey-light);
	aspect-ratio: 1 / 1;
}
.work-thumb img,
.work-thumb video {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.work-card:hover .work-thumb img,
.work-card:hover .work-thumb video { transform: scale(1.03); }

.work-meta { display: block; padding-top: 18px; }
.work-title {
	display: block; font-family: var(--sans); font-weight: 500;
	font-size: 26px; line-height: 1.2; letter-spacing: -.01em;
	transition: color .3s ease;
}
.work-card:hover .work-title { color: var(--grey-dark); }
.work-note {
	display: block; margin-top: 6px;
	font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em;
	text-transform: uppercase; color: var(--grey);
}

@media (max-width: 899.98px) {
	.works-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 809.98px) {
	.works-head { padding: 48px 0 32px; }
	.works-grid { padding-bottom: 72px; }
	.work-title { font-size: 22px; }
}
