/* =========================================================
   CASE-STUDY.CSS — Single case study (Figma 1827:1048)
   Section building blocks come from hero/expertise/integration/insights and
   assets/css/case-*.css; this file only holds case-study specific tweaks.
   ========================================================= */

/* ── Hero: 568px navy banner, optional photo under a navy overlay ── */
.hero-section--case { min-height: 568px; padding-bottom: 40px; }
.hero-section--case .hero-compact-bg { z-index: 0; }
.hero-section--case .hero-compact-bg img { object-position: center; }
.hero-section--case .hero-compact-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 50, 0.85);
}
.hero-section--case .container { position: relative; z-index: 2; }
.hero-section--case .hero-breadcrumb { margin-bottom: 107px; }
.hero-section--case .h1 { font-size: 44px; line-height: 56px; font-weight: var(--font-weight-medium); max-width: 1398px; }
.hero-section--case .hero-content-main > p { font-size: var(--font-size-p3); line-height: 28px; max-width: 1320px; }
.hero-section--case .hero-content { gap: 20px; }
.hero-section--case .hero-tag {
	padding: 5px 18px;
	border-radius: var(--radius-pill);
	font-size: 16px;
	line-height: 25px;
	font-weight: var(--font-weight-medium);
}

/* ── At a glance: 3 columns, dashed top rules, small caps label + value ── */
.case-glance-section .case-glance-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; margin: 0; }
.case-glance-section .case-glance-item { gap: 10px; margin: 0; }
.case-glance-section dt {
	font-size: 14px;
	line-height: 20px;
	font-weight: var(--font-weight-medium);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.case-glance-section dd {
	margin: 0;
	font-size: var(--font-size-p2);
	line-height: 30px;
	font-weight: var(--font-weight-medium);
}

/* ── Project overview: centred heading on navy, text column ── */
.case-overview-section .case-overview-content { padding-top: 0; }
.case-overview-section .case-overview-content p { font-size: var(--font-size-p3); line-height: 28px; }
.case-overview-section .case-overview-content p:not(:last-child) { margin-bottom: 18px; }
.case-overview-section .case-overview-visual { aspect-ratio: 684 / 380; }
.case-overview-section .title-split,
.case-approach-section .title-split,
.case-decision-section .title-split {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(3, 8, 50, 0.1);
}
.case-overview-section .title-split { border-bottom-color: rgba(255, 255, 255, 0.2); }

/* ── Decision context: list title + P3 bullets ── */
.case-decision-section .integration-content .h3 { font-size: 24px; line-height: 32px; margin-bottom: 20px; }
.case-decision-section .integration-list li { font-size: var(--font-size-p3); line-height: 28px; padding-block: 15px 16px; }
.case-decision-section .integration-list li::before { top: calc(15px + 7.5px); }
.case-decision-section .integration-list li:first-child::before { top: 7.5px; }
.case-decision-section .no-visual { grid-template-columns: 1fr; }

/* ── NGT's approach: steps carry a short paragraph ── */
.case-approach-section .faq-head .h3 { font-size: 36px; line-height: 50px; font-weight: var(--font-weight-medium); }
.case-approach-section .faq-item.is-open .h3 { color: var(--color-black); }
.case-approach-section .faq-answer { padding-top: 14px; }
.case-approach-section .faq-answer p { font-size: var(--font-size-p3); line-height: 28px; max-width: none; }
.case-approach-section .no-visual { grid-template-columns: 1fr; }

/* ── Outcome supported: 2×2 image cards, glass caption, gold callout ── */
.case-outcome-section .outcome-card { height: 360px; background-color: rgba(255, 255, 255, 0.06); }
.case-outcome-section .outcome-caption { left: 21px; right: 21px; bottom: 21px; padding: 20px 19px; }
.case-outcome-section .outcome-caption .h4 { color: var(--color-white); font-size: 24px; line-height: 32px; font-weight: var(--font-weight-medium); }
.case-outcome-section .outcome-caption p { color: rgba(255, 255, 255, 0.85); margin-top: 6px; }
.case-outcome-section .outcome-card--text { height: auto; }
.case-outcome-section .outcome-banner { margin-top: 26px; padding: 40px 50px; }

/* ── Related expertise ── */
.case-related-section { padding-top: var(--section-padding); }
.case-related-section .insight-thumb-wrap { height: auto; aspect-ratio: 684 / 320; }
.case-related-section .insight-card--button { gap: 30px; }
.case-related-section .insight-card--button .insight-actions { padding-top: 0; }

@media (max-width: 1199px) {
	.hero-section--case .h1 { font-size: 36px; line-height: 1.3; }
	.hero-section--case .hero-breadcrumb { margin-bottom: 70px; }
	.case-approach-section .faq-head .h3 { font-size: 30px; line-height: 1.35; }
	.case-outcome-section .outcome-card { height: 30vw; }
}
@media (max-width: 991px) {
	.hero-section--case { min-height: 0; }
	.hero-section--case .hero-breadcrumb { margin-bottom: 40px; }
	.case-glance-section .case-glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.case-related-section .insights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.hero-section--case .h1 { font-size: 28px; }
	.case-glance-section .case-glance-grid { grid-template-columns: 1fr; }
	.case-glance-section dd { font-size: 18px; line-height: 28px; }
	.case-approach-section .faq-head .h3 { font-size: 24px; }
	.case-outcome-section .outcome-grid { grid-template-columns: 1fr; }
	.case-outcome-section .outcome-card { height: 56vw; }
	.case-outcome-section .outcome-banner { padding: 24px; }
}

/* Fixes after visual QA */
.hero-section--case .hero-content { max-width: none; }
.hero-section--case .hero-content-main > p { color: var(--color-white); }
.case-approach-section .faq-step-row .h3 { font-size: 36px; line-height: 50px; font-weight: var(--font-weight-medium); padding-right: 12px; }
@media (min-width: 992px) {
	.case-approach-section .case-approach-visual { position: relative; min-height: 460px; }
	.case-approach-section .case-approach-visual > img { position: absolute; inset: 0; }
}
@media (max-width: 1199px) { .case-approach-section .faq-step-row .h3 { font-size: 30px; line-height: 1.35; } }
@media (max-width: 767px) { .case-approach-section .faq-step-row .h3 { font-size: 24px; } }
