/* Case studies parent page. */

.case-index {
	background: #fafaf8;
	color: #223b53;
	font-family: var(--font-sans);
	min-height: 100vh;
}

.case-index-hero {
	position: relative;
	overflow: hidden;
	padding: 12rem 0 7rem;
	background: #071119;
	color: #fff;
}

.case-index-pattern {
	position: absolute;
	right: -6rem;
	top: -6rem;
	width: 58rem;
	height: 58rem;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: .05;
	pointer-events: none;
}

.case-index-eyebrow {
	margin: 0 0 1.25rem;
	color: rgba(255,255,255,.48);
	font-family: var(--font-mono);
	font-size: .7rem;
	letter-spacing: .22em;
}

.case-index h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(3rem, 8vw, 6rem);
	line-height: .95;
}

.case-index-hero p:last-child {
	max-width: 680px;
	margin: 1.5rem 0 0;
	color: rgba(255,255,255,.68);
	font-size: 1.15rem;
	line-height: 1.65;
}

.case-index-list {
	padding: 5rem 0;
}

.case-index-card {
	display: block;
	max-width: 820px;
	padding: 2rem;
	background: #fff;
	border: 1px solid #d8dde3;
	color: inherit;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease;
}

.case-index-card:hover {
	transform: translateY(-3px);
	border-color: rgba(134,40,37,.35);
}

.case-index-card span,
.case-index-card strong {
	color: #862825;
	font-family: var(--font-mono);
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.case-index-card h2 {
	margin: 1rem 0 .75rem;
	color: #111827;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1;
}

.case-index-card p {
	max-width: 660px;
	margin: 0 0 1.5rem;
	color: #5d6673;
	line-height: 1.65;
}
