/* Insights Single V1. Generated by scripts/build-insights-port.py from
   mockups/insights-single.html; scoped under .services-v1. Do not edit by hand. */

/* Sparkhound content templates: the Insights (blog) single, replacing
   single-post.php. Round 3: the full-bleed cover read "weirdly
   cropped", the ignition CTA read cheesy. Both bands now carry "the
   seam", the two-tone diagonal family shared with the listing: content
   on the deep green field, the featured image duotoned on the teal
   side panel (47% wide, so the crop stays close to the image's own
   aspect). The read-progress spark rail stays. Body typography
   unchanged from round 1 (approved). Body content is a REAL post from
   staging (post 2243), verbatim. Tokens per
   DESIGN-SYSTEM-HOMEPAGE-V1.md. */
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(https://cdn.jsdelivr.net/fontsource/fonts/jetbrains-mono@latest/latin-400-normal.woff2) format("woff2");
}
/* Brand fonts pending (Interstate + Franklin Gothic): when they land, add
   @font-face here and point --fontDisplay / --fontBody at them. */
@font-face {
	font-family: "Open Sans Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 300 800;
	src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sans:vf@latest/latin-wght-normal.woff2) format("woff2-variations");
}
@font-face {
	font-family: "Open Sans Variable";
	font-style: italic;
	font-display: swap;
	font-weight: 300 800;
	src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sans:vf@latest/latin-wght-italic.woff2) format("woff2-variations");
}
.services-v1 {
	--fontPrimary: "Open Sans Variable", sans-serif;
	--fontDisplay: "Open Sans Variable", sans-serif;
	--fontBody: "Open Sans Variable", sans-serif;
	--brandGreen: #81be41;
	--brandTeal: #156b5e;
	--brandDarkGreen: #003830;
	--brandBlack: #171f27;
	--brandOffWhite: #f6f6f6;
	--darkGradient: linear-gradient(255.38deg, #2c665d 10.34%, #003830 100%);
	--bodyInk: rgba(23, 31, 39, 0.72);
	--site-max-width: 1184px;
}
.services-v1 * { box-sizing: border-box; margin: 0; padding: 0; }
.services-v1 {
	font-family: var(--fontBody);
	font-size: 16px;
	line-height: 1.8;
	color: var(--bodyInk);
	background: #fff;
}
.services-v1 img { max-width: 100%; display: block; }
.services-v1 a { color: var(--brandTeal); text-decoration: none; }
.services-v1 a:focus-visible, .services-v1 button:focus-visible {
	outline: 3px solid var(--brandGreen);
	outline-offset: 3px;
	border-radius: 4px;
}
.services-v1 .container {
	max-width: var(--site-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Type ---------- */
.services-v1 h1, .services-v1 h2, .services-v1 h3 { line-height: 1.25; color: var(--brandDarkGreen); font-family: var(--fontDisplay); }
.services-v1 h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; }
.services-v1 h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.services-v1 h3 { font-size: 18px; font-weight: 700; color: var(--brandBlack); }
.services-v1 .h-accent { color: var(--brandTeal); }
.services-v1 .band-dark h1, .services-v1 .band-dark h2 { color: #fff; }
.services-v1 .band-dark .h-accent { color: var(--brandGreen); }
.services-v1 .section-intro { max-width: 640px; margin: 16px auto 0; }
.services-v1 .center { text-align: center; }
.services-v1 .center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Buttons (theme .btn language: dark sweep, no lift) ---------- */
.services-v1 .btn {
	display: inline-block;
	font-family: var(--fontDisplay);
	padding: 18px 44px;
	border-radius: 50px;
	border: 1px solid var(--brandGreen);
	background-color: var(--brandGreen);
	color: var(--brandDarkGreen);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: border-color 0.4s ease-in-out, color 0.4s ease-in-out;
}
.services-v1 .btn span { position: relative; z-index: 1; }
.services-v1 .btn::before {
	content: "";
	position: absolute;
	inset: 0 100% 0 0;
	background-color: #2c665d;
	border-radius: 0 50px 50px 0;
	transition: all 0.4s ease-in-out;
}
.services-v1 .btn:hover, .services-v1 .btn:focus-visible, .services-v1 .btn:active { border-color: #2c665d; color: #fff; }
.services-v1 .btn:hover::before, .services-v1 .btn:focus-visible::before, .services-v1 .btn:active::before { inset: 0; border-radius: 50px; }
.services-v1 .link-arrow { font-weight: 700; color: var(--brandTeal); transition: color 0.35s ease; }
.services-v1 .link-arrow::after { content: " \2192"; }
@media (hover: hover) {
	.services-v1 .link-arrow:hover { color: var(--brandDarkGreen); }
}

/* ---------- TBD blocks ---------- */
.services-v1 .tbd-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brandTeal);
	background: rgba(21, 107, 94, 0.06);
	border: 1px dashed rgba(21, 107, 94, 0.5);
	border-radius: 999px;
	padding: 4px 12px;
	line-height: 1.4;
}

/* ---------- Header stub (global chrome, unchanged in build) ---------- */
.services-v1 .site-header { background: #fff; border-bottom: 1px solid rgba(0, 56, 48, 0.1); }
.services-v1 .site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 82px;
}
.services-v1 .site-header svg { display: block; height: 34px; width: auto; }
.services-v1 .stub-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.services-v1 .stub-nav span { color: var(--brandBlack); opacity: 0.75; }
.services-v1 .chrome-note {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bodyInk);
	opacity: 0.6;
}
@media (max-width: 767px) {
	.services-v1 .stub-nav { display: none; }
}

/* ---------- Hero: the seam ----------
   Round 3: same two-tone diagonal geometry as the listing. Title,
   chip, and meta on the deep field; the featured image on the teal
   side, duotoned, clipped by the seam. The 47% panel keeps the crop
   near the image's natural aspect (the full-bleed cover zoomed badly).
   The read-progress spark rail stays. */
.services-v1 .hero {
	position: relative;
	overflow: hidden;
	color: rgba(246, 246, 246, 0.85);
	background:
		radial-gradient(900px 560px at 16% -12%, rgba(106, 197, 214, 0.10), transparent 60%),
		linear-gradient(215deg, #0d4a3e 0%, #06332b 55%, #022019 100%);
}
.services-v1 .grain::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.services-v1 .hero .container { position: relative; z-index: 3; padding-top: 96px; padding-bottom: 100px; }
.services-v1 .hero-copy { max-width: 56%; }
.services-v1 .hero .crumb {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.services-v1 .hero .crumb a { color: rgba(246, 246, 246, 0.62); transition: color 0.35s ease; }
.services-v1 .hero .crumb span { color: rgba(246, 246, 246, 0.38); }
@media (hover: hover) {
	.services-v1 .hero .crumb a:hover { color: var(--brandGreen); }
}
.services-v1 .cat-chip {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brandOffWhite);
	background: rgba(129, 190, 65, 0.22);
	border-radius: 999px;
	padding: 5px 13px;
	line-height: 1.4;
	margin-bottom: 18px;
}
.services-v1 .hero h1 {
	font-size: clamp(34px, 4.2vw, 52px);
	line-height: 1.16;
	letter-spacing: -0.01em;
}
.services-v1 .post-meta {
	margin-top: 18px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(246, 246, 246, 0.68);
}
.services-v1 .hero-media {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 47%;
	clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
	z-index: 1;
}
.services-v1 .hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) sepia(1) hue-rotate(135deg) saturate(0.95) brightness(0.62) contrast(1.05);
}
.services-v1 .hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(215deg, rgba(21, 107, 94, 0.30), rgba(2, 32, 25, 0.25) 55%, rgba(2, 32, 25, 0.6) 100%);
}

/* The read-progress spark: fixed rail, gradient fill driven by scroll
   position over the article's bounds. Position-linked, not animated,
   so it stays honest under reduced motion. */
.services-v1 .read-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 3px;
	z-index: 60;
	pointer-events: none;
}
.services-v1 .read-progress b {
	display: block;
	height: 100%;
	width: 100%;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--brandTeal), var(--brandGreen));
	box-shadow: 0 0 12px rgba(129, 190, 65, 0.5);
}

/* ---------- Article ---------- */
.services-v1 .article { background: var(--brandOffWhite); padding: 64px 0 104px; }
.services-v1 .article .container { max-width: 808px; }
.services-v1 .article-body { font-size: 17px; line-height: 1.85; }
.services-v1 .article-body p { margin-bottom: 24px; }
/* Blog posts carry real section headings, so h2/h3 typeset as headings
   (nothing above them, ever). Gutenberg litters empty paragraphs between
   sections; hide them so heading rhythm holds. */
.services-v1 .article-body h2 {
	font-size: clamp(23px, 2.4vw, 28px);
	line-height: 1.3;
	margin: 46px 0 16px;
}
.services-v1 .article-body h3 {
	font-size: 19px;
	color: var(--brandDarkGreen);
	margin: 34px 0 12px;
}
.services-v1 .article-body p:empty { display: none; }
.services-v1 .article-body a { font-weight: 600; }
/* The post's "Article Summary" lead: a tinted panel with a full thin
   border, so the summary reads as the on-ramp it is. */
.services-v1 .article-lead {
	background: rgba(21, 107, 94, 0.05);
	border: 1px solid rgba(21, 107, 94, 0.16);
	border-radius: 12px;
	padding: 22px 26px;
	margin-bottom: 36px;
	font-size: 16.5px;
}
.services-v1 .article-lead p { margin-bottom: 0; }
/* FAQ questions arrive as a mix of h2 and h3 in the source; the build
   normalizes everything after the FAQ heading to this one size. */
.services-v1 .article-body .faq-q {
	font-size: 18px;
	line-height: 1.4;
	color: var(--brandDarkGreen);
	margin: 30px 0 10px;
}
/* Trailing credit lines: image credit, Technology Press republish. */
.services-v1 .article-foot {
	margin-top: 44px;
	padding-top: 18px;
	border-top: 1px solid rgba(0, 56, 48, 0.12);
	font-size: 13.5px;
	opacity: 0.75;
}
.services-v1 .article-foot p { margin-bottom: 6px; }
.services-v1 .article-body ul { margin: 0 0 24px; padding-left: 20px; list-style: none; }
.services-v1 .article-body ul li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 12px;
}
/* The brand spark as the bullet: stroked to sit heavier, spanning the
   whole item so it centers across wrapped lines too. */
.services-v1 .article-body ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 14px;
	background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-2%20-2%2025.668%2042.365'%3E%3Cpath%20d='M2404.945,503.578l.033.122a.308.308,0,0,0,.318.235h12.661l-.293,1.319c-1.221,5.471-2.382,11.465-2.808,14.77,2.913-4.52,8.851-15.574,11.73-21.607a.163.163,0,0,0,.012-.13l-.035-.131a.283.283,0,0,0-.315-.224h-12.788l.305-1.327c1.283-5.571,2.492-11.7,2.885-14.947-2.783,4.273-8.533,15.145-11.691,21.789A.167.167,0,0,0,2404.945,503.578Z'%20transform='translate(-2404.938%20-481.659)'%20fill='%2381be41'%20stroke='%2381be41'%20stroke-width='2.4'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.services-v1 .article-note { margin-top: 44px; font-size: 13px; opacity: 0.75; }

/* ---------- More case studies (listing card language, 3 up) ---------- */
.services-v1 .more-cs { background: #fff; padding: 96px 0 110px; }
.services-v1 .cs-grid {
	margin-top: 44px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.services-v1 .cs-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 56, 48, 0.08);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
@media (hover: hover) {
	.services-v1 .cs-card:hover {
		transform: translateY(-2px);
		border-color: rgba(129, 190, 65, 0.55);
		box-shadow: 0 14px 30px rgba(0, 56, 48, 0.08);
	}
	.services-v1 .cs-card:hover h3 { color: var(--brandTeal); }
}
.services-v1 .cs-card-media {
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	background-color: rgba(0, 56, 48, 0.04);
	background-image:
		radial-gradient(420px 280px at 12% 8%, rgba(106, 197, 214, 0.10), transparent 65%),
		radial-gradient(360px 250px at 90% 94%, rgba(129, 190, 65, 0.08), transparent 62%);
}
.services-v1 .cs-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.services-v1 .cs-card-body .cat-chip {
	color: var(--brandTeal);
	background: rgba(21, 107, 94, 0.08);
	margin-bottom: 0;
}
.services-v1 .cs-card-body h3 { margin-top: 12px; font-size: 17px; line-height: 1.45; transition: color 0.35s ease; }
.services-v1 .cs-card-body .link-arrow { margin-top: auto; padding-top: 18px; font-size: 14.5px; }
.services-v1 .more-note { margin-top: 26px; text-align: center; font-size: 13px; opacity: 0.75; }

/* ---------- Final CTA: the two-tone (same band as the listing) ---------- */
.services-v1 .final-cta {
	position: relative;
	overflow: hidden;
	padding: 110px 0 120px;
	background: linear-gradient(215deg, #0d4a3e 0%, #06332b 55%, #022019 100%);
}
.services-v1 .cta-panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 44%;
	background: linear-gradient(230deg, #1d7f6e 0%, #156b5e 55%, #0e5348 100%);
	clip-path: polygon(34% 0, 100% 0, 100% 100%, 6% 100%, 29% 46%, 16% 42%);
	z-index: 1;
}
/* The edge: the seam line drawn as an SVG stroke along the same
   vertices, so the green stays a uniform width around the fangs (a
   translated-copy stripe pinches to nothing on the shallow shelf).
   Static; the band is not a control. */
.services-v1 .cta-edge {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 44%;
	/* Explicit: an svg's intrinsic viewBox ratio otherwise wins over
	   the top/bottom constraint and the line drifts off the panel. */
	height: 100%;
	z-index: 2;
	pointer-events: none;
}
.services-v1 .cta-edge polyline {
	fill: none;
	stroke: var(--brandGreen);
	stroke-width: 8px;
	vector-effect: non-scaling-stroke;
	stroke-linejoin: miter;
}
.services-v1 .cta-edge--m { display: none; }
/* The panel earns its field: where the team is. */
.services-v1 .cta-cities {
	position: absolute;
	right: 48px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	list-style: none;
	text-align: right;
}
.services-v1 .cta-cities li { margin: 14px 0; }
.services-v1 .cta-cities li a {
	font-size: 17px;
	font-weight: 700;
	color: rgba(246, 246, 246, 0.92);
	transition: color 0.3s ease;
}
@media (hover: hover) {
	.services-v1 .cta-cities li a:hover { color: var(--brandGreen); }
}
.services-v1 .final-cta .container { position: relative; z-index: 3; }
.services-v1 .final-cta .cta-copy { max-width: 560px; }
.services-v1 .final-cta h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; }
.services-v1 .final-cta .section-intro { margin: 18px 0 0; max-width: 480px; color: rgba(246, 246, 246, 0.82); }
.services-v1 .final-cta .btn { margin-top: 34px; }

/* ---------- Footer stub ---------- */
.services-v1 .site-footer {
	background: var(--brandDarkGreen);
	color: rgba(246, 246, 246, 0.7);
	padding: 44px 0;
}
.services-v1 .site-footer .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.services-v1 .site-footer svg { height: 30px; width: auto; display: block; }
.services-v1 .site-footer .chrome-note { color: rgba(246, 246, 246, 0.55); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.services-v1 .btn::before { transition: none; }
	.services-v1 .cs-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.services-v1 .hero .container { padding-top: 72px; padding-bottom: 56px; }
	.services-v1 .hero-copy { max-width: 100%; }
	.services-v1 .hero-media {
		position: relative;
		inset: auto;
		width: 100%;
		height: 230px;
		clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
	}
	.services-v1 .cs-grid { grid-template-columns: 1fr 1fr; }
	.services-v1 .article { padding: 64px 0 88px; }
	.services-v1 .more-cs { padding: 80px 0 92px; }
	.services-v1 .final-cta { padding: 84px 0 210px; }
	.services-v1 .cta-panel {
		top: auto; left: 0; right: 0;
		width: 100%;
		height: 150px;
		clip-path: polygon(0 46%, 42% 22%, 50% 40%, 100% 8%, 100% 100%, 0 100%);
	}
	.services-v1 .cta-edge--d { display: none; }
	.services-v1 .cta-edge--m {
		display: block;
		top: auto; left: 0; right: 0;
		width: 100%;
		height: 150px;
	}
	.services-v1 .cta-cities {
		top: auto;
		right: 24px;
		bottom: 20px;
		transform: none;
		display: flex;
		gap: 22px;
	}
	.services-v1 .cta-cities li { margin: 0; }
	.services-v1 .cta-cities li a { font-size: 14px; }
}
@media (max-width: 640px) {
	.services-v1 .cs-grid { grid-template-columns: 1fr; }
	.services-v1 .hero-media { height: 190px; }
}

/* PHP-only: the theme's base stylesheet puts markers on every li; the
   article list draws its own spark bullets, so kill the theme's marker. */
.services-v1 .article-body ul li { list-style: none; }
.services-v1 .article-body ul li::marker { content: none; }
/* The theme's base li::before sets an explicit 8px height; restore the
   stretch so the spark centers across wrapped lines. */
.services-v1 .article-body ul li::before { height: auto; }
/* Gutenberg leaves empty paragraphs between sections. The theme already
   strips most of them in the_content, but classic posts and shortcode
   output can still land one; hide it so heading rhythm holds. */
.services-v1 .article-body p:empty { display: none; }

/* Same marker kill for the CTA city list, which the mockup styles bare. */
.services-v1 .cta-cities li { list-style: none; padding: 0; }
.services-v1 .cta-cities li::before, .services-v1 .cta-cities li::marker { content: none; }

/* PHP-only: featured-image fallback slot inside the seam panel, so a post
   with no thumbnail degrades to the brand wash, never a grey hole. */
.services-v1 .hero-media-empty {
	position: absolute;
	inset: 0;
	background-color: rgba(246, 246, 246, 0.06);
	background-image:
		radial-gradient(560px 380px at 12% 8%, rgba(106, 197, 214, 0.10), transparent 65%),
		radial-gradient(480px 340px at 90% 94%, rgba(129, 190, 65, 0.08), transparent 62%);
}
/* PHP-only: real thumbnails come in as <img> inside the card media slots,
   where the mockup used a background-image. */
.services-v1 .cs-card-media { position: relative; overflow: hidden; }
.services-v1 .cs-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* PHP-only: classic-HTML tolerance. Pre-2023 posts predate Gutenberg and
   carry inline images with width attributes, nested lists, tables, and
   embeds straight in the content. Keep them inside the measure. */
.services-v1 .article-body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 10px 0;
}
.services-v1 .article-body ul ul { margin: 12px 0 0; }
.services-v1 .article-body ol { margin: 0 0 24px; padding-left: 22px; }
.services-v1 .article-body ol li { margin-bottom: 12px; }
.services-v1 .article-body h4 {
	font-size: 17px;
	font-weight: 700;
	color: var(--brandDarkGreen);
	margin: 28px 0 10px;
	line-height: 1.4;
}
.services-v1 .article-body blockquote {
	margin: 28px 0;
	padding: 4px 0 4px 22px;
	border-left: 1px solid rgba(21, 107, 94, 0.28);
	font-style: italic;
}
.services-v1 .article-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 15.5px;
}
.services-v1 .article-body th, .services-v1 .article-body td {
	border: 1px solid rgba(0, 56, 48, 0.12);
	padding: 10px 12px;
	text-align: left;
}
.services-v1 .article-body iframe,
.services-v1 .article-body embed,
.services-v1 .article-body object { max-width: 100%; }

/* Fit the hero above the fold. The shared .services-v1 hero shim in style.css
   adds 230px of top clearance for pages that carry no container top padding;
   the insights hero keeps its own container padding-top, so it double-clears
   and runs past one viewport. This file only loads on the insights single, so
   trim the shim here to a small buffer under the fixed header (container
   padding still clears it). Needs the body:not(.header-bg) prefix to match the
   shim's specificity and win on source order. */
body:not(.header-bg) .services-v1 .hero { padding-top: 24px; }
@media (max-width: 991px) {
	body:not(.header-bg) .services-v1 .hero { padding-top: 12px; }
}

