/*
 * /sl/reference/ body styles.
 *
 * Transcribed verbatim from the design source, in SOURCE ORDER, and limited to
 * declarations this page needs that the shell and service bundles do not
 * already carry. The gap was measured rather than guessed: 165 source rules
 * match something inside <main> on this page, and only what was genuinely
 * missing is here.
 *
 * Presence was checked per property, per breakpoint and per selector part. The
 * last one matters: `.split, .contact-grid` is half present -- the theme has
 * `.split` -- and re-declaring the whole rule here would land LATER in the
 * cascade than the theme's own override and quietly change an accepted page.
 * Only the missing halves are kept, and dropping a part that matches nothing
 * on this page changes no cascade.
 *
 * SOME RULES USED TO APPEAR HERE AND IN OTHER PAGE STYLESHEETS. The closing
 * call-to-action band was in five of them, byte for byte, and Slice 8 moved it
 * to assets/css/shared.css, which every page carrying that band now loads
 * between the service bundle and its own file -- the position those rules
 * already occupied, so the extraction moved code and not the cascade.
 *
 * What remains duplicated is duplicated on purpose. The earlier version of this
 * note predicted the homepage would be the THIRD user of `.process-card`,
 * `.step` and `.section-dark`; re-measuring in Slice 8 found that results.css
 * and reference.css never carried copies of them at all, so the homepage is the
 * second. Two users is under the threshold this project set, the files never
 * load together, and each stays a faithful transcription of one page in source
 * order. When a third page genuinely needs them, extraction is the right move
 * and this is the note to do it.
 */

.text-link-large {
	font-size: 11px;
}
.reference-showcase {
	padding-top: 62px;
	background: #f6f8fb;
}
.reference-filters {
	width: fit-content;
	max-width: calc(100% - 32px);
	margin: 0 auto 46px;
	padding: 8px;
	display: flex;
	justify-content: center;
	gap: 7px;
	border: 1px solid #e2e7ee;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(8, 24, 52, .055);
}
.reference-filters button {
	min-height: 44px;
	padding: 0 18px;
	flex: 0 0 auto;
	border: 0;
	border-radius: 999px;
	color: #617087;
	background: transparent;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
	transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.reference-filters button:hover {
	color: #fff;
	background: var(--gradient);
	box-shadow: 0 8px 20px rgba(66, 133, 244, .18);
}
.reference-filters button[aria-pressed="true"] {
	color: #fff;
	background: var(--gradient);
	box-shadow: 0 8px 22px rgba(66, 133, 244, .22);
}
.case-study[hidden] {
	display: none;
}
.case-empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 70px 48px;
	border: 1px solid #e3e8ef;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(8, 24, 52, .06);
	text-align: center;
}
.case-empty[hidden] {
	display: none;
}
.case-empty h2 {
	margin: 18px 0;
	font-size: clamp(34px, 4vw, 50px);
}
.case-empty > p:not(.eyebrow) {
	max-width: 590px;
	margin: 0 auto 28px;
	color: var(--muted);
}
.case-list {
	display: grid;
	gap: 40px;
}
.case-study {
	min-height: 580px;
	padding: clamp(32px, 4vw, 58px);
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
	align-items: center;
	gap: clamp(42px, 6vw, 84px);
	overflow: hidden;
	border: 1px solid #e3e8ef;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 22px 62px rgba(8, 24, 52, .075);
}
.case-study:nth-child(even) .case-visual {
	order: 2;
}
.case-study:nth-child(even) .case-copy {
	order: 1;
}
.case-visual {
	padding: clamp(20px, 3vw, 38px);
	border-radius: 26px;
	background: linear-gradient(145deg, #eef1f5, #f8f9fb);
}
.case-browser {
	overflow: hidden;
	border: 1px solid rgba(9, 30, 58, .1);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 54px rgba(8, 24, 52, .16);
}
.case-browser-bar {
	min-height: 40px;
	padding: 0 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid #edf0f4;
	background: #fff;
}
.case-browser-bar small {
	color: #9aa5b5;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.case-dots {
	display: inline-flex;
	gap: 5px;
}
.case-dots i {
	width: 7px;
	height: 7px;
	display: block;
	border-radius: 50%;
	background: #d7dde6;
}
.case-dots i:first-child {
	background: var(--blue);
}
.case-browser img {
	width: 100%;
	aspect-ratio: 16 / 10;
	display: block;
	object-fit: cover;
}
.case-copy {
	max-width: 480px;
}
.case-meta {
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.case-meta > span {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--blue);
	background: rgba(66, 133, 244, .075);
	font-size: 10px;
	font-weight: 900;
}
.case-meta p {
	margin: 0;
	color: var(--blue);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.case-copy h2 {
	margin: 0 0 20px;
	font-size: clamp(38px, 4vw, 58px);
}
.case-copy > p {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.75;
}
.case-services {
	margin: 28px 0 34px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.case-services span {
	padding: 9px 12px;
	border: 1px solid #e3e8ef;
	border-radius: 999px;
	color: #526177;
	background: #fafbfc;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
@media (max-width: 980px) {
	.case-study {
		min-height: 0;
		grid-template-columns: 1fr;
	}
}
@media (max-width: 980px) {
	.case-study:nth-child(even) .case-visual,
	.case-study:nth-child(even) .case-copy {
		order: initial;
	}
}
@media (max-width: 980px) {
	.case-copy {
		max-width: none;
	}
}
@media (max-width: 600px) {
	.reference-filters {
		width: auto;
		max-width: none;
		margin-right: -16px;
		margin-bottom: 40px;
		margin-left: -16px;
		padding: 8px 16px;
		justify-content: flex-start;
		overflow-x: auto;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		box-shadow: none;
		scrollbar-width: none;
	}
}
@media (max-width: 600px) {
	.reference-filters button {
		min-height: 42px;
		padding-inline: 16px;
	}
}
@media (max-width: 600px) {
	.case-list {
		gap: 22px;
	}
}
@media (max-width: 600px) {
	.case-empty {
		padding: 46px 24px;
		border-radius: 22px;
	}
}
@media (max-width: 600px) {
	.case-study {
		padding: 18px;
		gap: 30px;
		border-radius: 24px;
	}
}
@media (max-width: 600px) {
	.case-visual {
		padding: 10px;
		border-radius: 18px;
	}
}
@media (max-width: 600px) {
	.case-browser {
		border-radius: 13px;
	}
}
@media (max-width: 600px) {
	.case-copy {
		padding: 0 8px 12px;
	}
}
@media (max-width: 600px) {
	.case-copy h2 {
		font-size: 36px;
	}
}
@media (max-width: 600px) {
	.case-copy > p {
		font-size: 15px;
	}
}
