/* ═══════════════════════════════════════════════════════════════════════════
   IronNest — case study
   ---------------------------------------------------------------------------
   A reading page. One column on a phone, article plus a sticky sidebar on a
   desktop, and a measure that stays comfortable rather than filling the
   container.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Facts strip ────────────────────────────────────────────────────────── */

.in-cs-facts {
	padding: 28px 0 0;
}

.in-cs-facts__grid {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(2, 1fr);
	margin: 0;
	background: var(--clr-gray-2);
	border: 1px solid var(--clr-gray-2);
	border-radius: var(--radius);
	overflow: hidden;
}

.in-cs-fact {
	padding: 16px 18px;
	background: var(--clr-white);
}

.in-cs-fact dt {
	font-size: 12px;
	font-weight: var(--fw-7);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--clr-gray-5);
}

.in-cs-fact dd {
	margin: 5px 0 0;
	font-size: 15.5px;
	font-weight: var(--fw-6);
	line-height: 1.4;
	color: var(--clr-text);
}

/* ── Story ──────────────────────────────────────────────────────────────── */

.in-cs-story {
	padding: 8px 0 72px;
}

.in-cs-story__wrap {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
}

.in-cs-story__body {
	max-width: 68ch;
}

.in-cs-h2 {
	margin: 34px 0 12px;
	font-family: var(--font-serif);
	font-size: 25px;
	font-weight: var(--fw-6);
	line-height: 1.25;
	color: var(--clr-text);
}

.in-cs-story__body > h2:first-child {
	margin-top: 0;
}

.in-cs-story__body p {
	margin: 0 0 14px;
	font-size: 16.5px;
	line-height: 1.78;
	color: var(--clr-gray-7);
}

.in-cs-list {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 13px;
}

.in-cs-list li {
	position: relative;
	padding-left: 26px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--clr-gray-7);
}

.in-cs-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--clr-blue);
}

.in-cs-list strong {
	color: var(--clr-text);
	font-weight: var(--fw-7);
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */

.in-cs-card {
	padding: 26px 22px;
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, var(--clr-navy), #161b21);
	color: #fff;
}

.in-cs-card h3 {
	margin: 0 0 10px;
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: var(--fw-6);
	line-height: 1.25;
	color: #fff;
}

.in-cs-card p {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .78);
}

.in-cs-card .in-btn {
	width: 100%;
	justify-content: center;
}

.in-cs-card__tel {
	display: block;
	margin-top: 12px;
	text-align: center;
	font-size: 14.5px;
	font-weight: var(--fw-6);
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
}

.in-cs-card__tel:hover {
	color: #fff;
	text-decoration: underline;
}

.in-cs-card__lic {
	margin: 14px 0 0 !important;
	text-align: center;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .55) !important;
}

.in-cs-links {
	margin-top: 18px;
	padding: 22px;
	border: 1px solid var(--clr-gray-2);
	border-radius: var(--radius-lg);
	background: var(--clr-off-wh);
}

.in-cs-links h3 {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: var(--fw-7);
	color: var(--clr-text);
}

.in-cs-links a {
	display: block;
	padding: 9px 0;
	border-bottom: 1px solid var(--clr-gray-2);
	font-size: 15px;
	font-weight: var(--fw-6);
	color: var(--clr-blue);
	text-decoration: none;
}

.in-cs-links a:last-child {
	border-bottom: 0;
}

.in-cs-links a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── Wider screens ──────────────────────────────────────────────────────── */

@media (min-width: 600px) {
	.in-cs-facts__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 980px) {
	.in-cs-story__wrap {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 52px;
		align-items: start;
	}

	.in-cs-story__side {
		position: sticky;
		top: 104px;
	}
}
