/* ============================================================
   Single service page (.svp)
   Only main.css and this file load here, so the container, eyebrow and
   prose rules are defined locally rather than borrowed from site-home.css
   (front page only) or blog.css (blog only). Same trap as the services hub
   and the contact page.
   ============================================================ */
.svp {
	display: block;
	background: var(--bg);
	color: var(--ink);
}

.svp__wrap {
	width: min(1180px, 100% - clamp(28px, 6vw, 96px));
	margin-inline: auto;
}

/* ---------- hero ---------- */
.svp__hero {
	position: relative;
	padding-block: clamp(84px, 9vw, 124px) clamp(30px, 3.4vw, 48px);
	overflow: hidden;
}

.svp__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(52% 46% at 84% 6%, rgba(30, 158, 47, .16), transparent 72%);
}

.svp__hero > .svp__wrap { position: relative; }

.svp__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: clamp(20px, 2.4vw, 32px);
	font-size: 12.5px;
	color: var(--muted);
}

.svp__crumbs a { color: var(--muted); transition: color .2s var(--ease); }
.svp__crumbs a:hover, .svp__crumbs a:focus-visible { color: var(--accent-text); }
.svp__crumbs span[aria-hidden] { color: var(--dim); }
.svp__crumbs > span:last-child { color: var(--muted-hi); }

.svp__hero-in {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	column-gap: clamp(24px, 3.4vw, 56px);
	row-gap: 0;
	align-items: center;
}

.svp__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: clamp(11px, 1.1vw, 12.5px);
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent-text);
}

.svp__eyebrow .svc__icon { width: 18px; height: 18px; }

.svp__h1 {
	margin: 14px 0 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	line-height: 1.06;
	letter-spacing: -.036em;
	max-width: 20ch;
	color: var(--ink);
}

.svp__lede {
	margin: 16px 0 0;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.66;
	color: var(--muted-hi);
	max-width: 58ch;
}

.svp__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.svp__chips li {
	padding: 7px 13px;
	border-radius: 999px;
	border: 1px solid var(--edge);
	background: rgba(var(--ink-rgb), .04);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--muted-hi);
}

.svp__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.svp__hero-art {
	display: grid;
	place-items: center;
	min-height: 190px;
	color: var(--accent-text);
}

.svp__hero-art .svc__icon {
	width: clamp(110px, 14vw, 172px);
	height: auto;
	stroke-width: .65;
	opacity: .45;
}

/* ---------- prose body ---------- */
.svp__body { padding-block: clamp(20px, 2.6vw, 38px) clamp(40px, 5vw, 68px); }

/* The wrap stays full width so the column lines up with the hero H1; the
   reading measure is set on the children, not on the container, which would
   otherwise centre itself and sit adrift of everything above it. */
.svp__prose > * { margin: 0; max-width: 760px; }
.svp__prose > * + * { margin-top: 1.3em; }

.svp__prose h2 {
	margin-top: 2em;
	padding-top: 1.1em;
	border-top: 1px solid var(--line);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.3vw, 1.75rem);
	line-height: 1.18;
	letter-spacing: -.03em;
	color: var(--ink);
}

.svp__prose h2::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin-bottom: 14px;
	border-radius: 2px;
	background: var(--accent);
}

.svp__prose h3 {
	margin-top: 1.7em;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.02rem, 1.6vw, 1.18rem);
	line-height: 1.3;
	letter-spacing: -.02em;
	color: var(--ink);
}

.svp__prose p,
.svp__prose li {
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--read);
}

.svp__prose ul,
.svp__prose ol { padding-left: 20px; }
.svp__prose li + li { margin-top: .55em; }
.svp__prose li::marker { color: var(--accent-text); }

.svp__prose strong { color: var(--ink); font-weight: 700; }

.svp__prose a {
	color: var(--accent-text);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(124, 224, 42, .45);
	transition: text-decoration-color .2s var(--ease);
}

.svp__prose a:hover { text-decoration-color: currentColor; }

/* a callout, added in the editor as <aside class="svp-note"> */
.svp__prose .svp-note {
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid var(--edge-lit);
	background: rgba(var(--ink-rgb), .04);
}

.svp__prose .svp-note p { margin: 0; color: var(--muted-hi); font-size: 14.5px; }

/* ---------- other services ---------- */
.svp__more {
	padding-block: clamp(40px, 5vw, 64px);
	border-top: 1px solid var(--line);
}

.svp__h2 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.35rem, 2.5vw, 1.9rem);
	letter-spacing: -.032em;
	line-height: 1.12;
	color: var(--ink);
}

.svp__more-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.svp__more-grid a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid var(--edge);
	background: rgba(var(--ink-rgb), .03);
	font-size: 14px;
	font-weight: 600;
	color: var(--muted-hi);
	transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}

.svp__more-grid a:hover,
.svp__more-grid a:focus-visible {
	border-color: var(--edge-lit);
	color: var(--ink);
	background: rgba(var(--ink-rgb), .07);
}

.svp__more-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 10px;
	border: 1px solid var(--edge);
	color: var(--accent-text);
}

.svp__more-icon .svc__icon { width: 18px; height: 18px; }

.svp__more-all { margin: 18px 0 0; font-size: 14px; }
.svp__more-all a { color: var(--accent-text); font-weight: 700; }

/* ---------- closing CTA ---------- */
.svp__cta {
	position: relative;
	padding-block: clamp(52px, 6vw, 84px);
	overflow: hidden;
	text-align: center;
	border-top: 1px solid var(--line);
}

.svp__cta::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(50% 70% at 50% 0%, rgba(30, 158, 47, .15), transparent 72%);
}

.svp__cta > .svp__wrap { position: relative; }
.svp__cta .svp__h2 { margin-inline: auto; max-width: 22ch; }

.svp__p {
	margin: 14px auto 0;
	max-width: 56ch;
	font-size: 15px;
	line-height: 1.68;
	color: var(--muted-hi);
}

.svp__cta .svp__actions { justify-content: center; }

@media (max-width: 900px) {
	.svp__hero-in { grid-template-columns: 1fr; row-gap: 18px; }
	/* Stacked, the mark lands above the eyebrow and pushes the H1 off the
	   first screen for no gain - the eyebrow already carries the same icon. */
	.svp__hero-art { display: none; }
	.svp__more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.svp__more-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.svp__crumbs a,
	.svp__more-grid a,
	.svp__prose a { transition: none; }
}
