/* Service pages. Every value is copied from pages/FP-Child-Service BF.dc.html (its page <style> block and inline
   styles). The first part is shared by the Service Hero, Method, Benefits and Deliverables sections, which all
   load this file. Where the page redefines a library class (.bf-eyebrow, .bf-h, .bf-btn), the library's own
   rules win in the design, so only the page's additions are kept. */

.sv-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; }
.sv-sec { position: relative; overflow: hidden; }
.sv-h1 { font-size: clamp(44px, 6.4vw, 92px); }
.sv-h2 { font-size: clamp(30px, 3.4vw, 46px); }
.sv-b { font-size: 16px; line-height: 1.75; color: #C4D5E0; margin: 0; }
.sv-b + .sv-b { margin-top: 18px; }
.sv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.sv-split > .bf-reveal { position: relative; z-index: 1; }
.sv-head-copy { position: relative; }
.sv-head-copy .bf-glitch { left: -70px; top: 30px; width: 160px; height: 40px; }
.sv-head-copy .bf-glitch span:nth-child(1) { top: 0; left: 0; width: 120px; background: rgba(255,255,255,0.55); }
.sv-head-copy .bf-glitch span:nth-child(2) { top: 11px; left: 30px; width: 90px; background: rgba(255,255,255,0.3); }
.sv-head-copy .bf-glitch span:nth-child(3) { top: 22px; left: 10px; width: 140px; background: rgba(255,255,255,0.45); }

/* The page's .bf-h rule leaks text-wrap: balance onto every heading on a service page, library sections included. */
body:has(.sv-sec) .bf-h { text-wrap: balance; }
/* Case studies header accents: held visible on service pages. */
body:has(.sv-sec) #case-studies .bf-glitch span { animation: none !important; opacity: 0.85; }

/* Hero. The page rhythm sets its bottom to 130 / 100 / 80, like every gap between sections on this page. */
.sv-hero { padding: 176px 0 130px; }
.sv-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #A9C2D2; margin-bottom: 36px; position: relative; }
.sv-crumb a { color: #A9C2D2; text-decoration: none; transition: color .3s ease; }
.sv-crumb a:hover { color: #8DC63F; }
.sv-crumb i { font-style: normal; color: #7E99AB; font-size: 12px; }
.sv-crumb b { color: #FFFFFF; font-weight: 600; }
.sv-hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 900px; height: 475px; max-width: none; object-fit: cover; opacity: 0.8; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-composite: intersect; }
.sv-hero-head { position: relative; display: inline-block; }
.sv-hero-head .bf-glitch { left: -170px; top: 26px; width: 200px; height: 50px; }
.sv-hero-head .bf-glitch span:nth-child(1) { top: 0; left: 0; width: 120px; background: #8DC63F; }
.sv-hero-head .bf-glitch span:nth-child(2) { top: 11px; left: 30px; width: 90px; background: rgba(255,255,255,0.35); }
.sv-hero-head .bf-glitch span:nth-child(3) { top: 22px; left: 10px; width: 140px; background: #29ABE2; }
.sv-hero-lead { position: relative; margin: 36px 0 0 110px; max-width: 640px; }
.sv-hero-lead .sv-lead-p { font-size: 18px; line-height: 1.9; font-weight: 500; color: #C4D5E0; margin: 0; }
.sv-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

@media (min-width: 768px) and (max-width: 1023px) {
	.sv-hero .bf-glitch { display: none !important; }
	.sv-hero { padding: 150px 0 100px; }
	.sv-hero-lead { margin-left: 70px; }
	.sv-hero-art { width: 700px; height: 369px; opacity: 0.55; }
	.sv-split { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
	.sv-h1.is-long { font-size: 40px; } /* one 14+ letter word ("Disinformation") fits a 390px phone */
	.sv-hero .bf-glitch { display: none !important; }
	.sv-hero { padding: 130px 0 80px; }
	.sv-hero-art { width: 520px; height: 274px; right: -80px; opacity: 0.35; }
	.sv-hero-lead { margin: 28px 0 0; }
	.sv-split { grid-template-columns: 1fr; gap: 28px; }
}
