/* ============================================================
 * single-service.php styles — modeled 1:1 on
 * components/pages/service-page.jsx
 * ============================================================ */

.ds-service { color: var(--ds-ink); }

/* Eyebrow primitives live in main.css. The dupes that shadowed them
   here were identical (13px / 800 / cyan / 0.18em) — deleted to
   keep a single source of truth. */

/* ============================================================
 * 1. HERO
 * ============================================================ */
.ds-service__hero {
	padding: 56px 60px 72px;
	background: #fff;
	border-bottom: 1px solid var(--ds-line);
	position: relative;
	overflow: hidden;
}
/* Faint cyan radial gradient anchors the hero — pulls the eye to the H1. */
.ds-service__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 90% 0%, rgba(0,184,240,.06) 0%, transparent 45%),
		radial-gradient(circle at 0% 100%, rgba(0,184,240,.04) 0%, transparent 40%);
	pointer-events: none;
	z-index: 0;
}
/* Faint d-mark watermark, large and slightly off the right edge. */
.ds-service__hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: 50%;
	transform: translateY(-50%);
	width: 360px;
	height: 480px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.08;
	pointer-events: none;
	z-index: 0;
}
.ds-service__hero-inner {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.ds-service__breadcrumb {
	font-size: 12px;
	font-weight: 700;
	color: var(--ds-muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 24px;
}
.ds-service__breadcrumb a { color: var(--ds-muted); text-decoration: none; }
.ds-service__breadcrumb a:hover { color: var(--ds-cyan); }
.ds-service__kicker {
	font-size: 13px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.ds-service__h1 {
	font-size: clamp(44px, 6.4vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.025em;
	font-weight: 900;
	margin: 0;
	text-transform: uppercase;
	text-wrap: balance;
	max-width: 1100px;
	color: var(--ds-ink);
}
.ds-service__h1 .ds-emph,
.ds-service__h1 em { font-style: normal; color: var(--ds-cyan); }
.ds-service__hero-sub {
	font-size: 20px;
	line-height: 1.55;
	color: var(--ds-ink-3);
	margin-top: 28px;
	font-weight: 500;
	max-width: 780px;
}

/* ============================================================
 * 2. QUICK FACTS
 * ============================================================ */
.ds-service__quick-facts-section {
	padding: 40px 60px;
	background: #fff;
}
.ds-service__quick-facts {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.ds-service__quick-fact {
	padding: 26px 24px;
	background: var(--ds-paper);
	border-radius: 14px;
	border-left: 3px solid var(--ds-cyan);
	transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms ease, border-left-width 200ms ease;
}
.ds-service__quick-fact:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -14px rgba(11,19,32,.14);
	border-left-width: 5px;
}
.ds-service__quick-fact-val {
	font-size: 38px;
	font-weight: 900;
	color: var(--ds-cyan);
	letter-spacing: -0.025em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ds-service__quick-fact-lab {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ds-ink-3);
	margin-top: 10px;
	line-height: 1.45;
}

/* ============================================================
 * 3. PROBLEM
 * ============================================================ */
.ds-service__problem {
	padding: 96px 60px;
	background: var(--ds-paper);
	position: relative;
	overflow: hidden;
}
/* Editorial watermark — cyan dot grid in the corner. */
.ds-service__problem::before {
	content: "";
	position: absolute;
	top: 24px;
	right: -40px;
	width: 320px;
	height: 320px;
	background-image: radial-gradient(circle, rgba(0,184,240,.18) 1.4px, transparent 1.6px);
	background-size: 16px 16px;
	opacity: 0.5;
	pointer-events: none;
}
/* Faint d-mark watermark on the right edge (light bg — no invert). */
.ds-service__problem::after {
	content: "";
	position: absolute;
	right: 4%;
	top: 50%;
	transform: translateY(-50%);
	width: 240px;
	height: 320px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.06;
	pointer-events: none;
	z-index: 0;
}
.ds-service__problem-grid {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 0.8fr 1.4fr;
	gap: 64px;
	align-items: start;
	position: relative;
	z-index: 1;
}
.ds-service__problem-aside { min-width: 0; }
.ds-service__problem-title {
	font-size: 38px;
	font-weight: 900;
	color: var(--ds-ink);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1.05;
	margin: 0 0 32px;
}
.ds-service__problem-title em,
.ds-service__problem-title .ds-emph { font-style: normal; color: var(--ds-cyan); }

.ds-service__problem-case {
	padding: 28px 32px;
	background: #fff;
	border-radius: 16px;
	border-left: 3px solid var(--ds-cyan);
	position: relative;
	overflow: hidden;
}
/* Faint d-mark watermark inside the card, on the right edge. */
.ds-service__problem-case::after {
	content: "";
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 120px;
	height: 160px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.07;
	pointer-events: none;
	z-index: 0;
}
.ds-service__problem-case > * { position: relative; z-index: 1; }
.ds-service__problem-case-badge {
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-muted);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.ds-service__problem-case-stat {
	font-size: 42px;
	font-weight: 900;
	color: var(--ds-ink);
	letter-spacing: -0.02em;
	line-height: 0.95;
	font-variant-numeric: tabular-nums;
}
.ds-service__problem-case-cap {
	font-size: 13px;
	font-weight: 700;
	color: var(--ds-ink-2);
	margin-top: 10px;
	line-height: 1.5;
}
.ds-service__problem-case-note {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--ds-line);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ds-ink-3);
	line-height: 1.55;
}
.ds-service__problem-image {
	margin-top: 28px;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 18px;
	display: block;
}

/* Inline SVG illustration above the case-study card content. */
.ds-service__problem-case--illust { padding-top: 22px; }
.ds-service__problem-illust {
	display: block;
	width: 100%;
	height: auto;
	max-height: 130px;
	margin: 0 0 18px;
}

/* Stat callouts beside the problem section (e.g. equipment-lease 40-60%). */
.ds-service__problem-callouts {
	margin-top: 22px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.ds-service__problem-callout {
	background: #fff;
	border-radius: 12px;
	border-left: 3px solid var(--ds-cyan);
	padding: 16px 18px 18px;
	box-shadow: 0 1px 3px rgba(11, 19, 32, 0.04);
}
.ds-service__problem-callout .stat {
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -0.015em;
	color: var(--ds-ink);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.ds-service__problem-callout .label {
	margin-top: 8px;
	font-size: 12px;
	color: var(--ds-ink-3);
	font-weight: 600;
	line-height: 1.5;
}
@media (max-width: 640px) {
	.ds-service__problem-callouts { grid-template-columns: 1fr; }
}

.ds-service__problem-body { padding-top: 6px; min-width: 0; }
.ds-service__problem-para {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--ds-ink-3);
	font-weight: 500;
	margin: 0 0 18px;
	text-wrap: pretty;
}
.ds-service__problem-para.is-lead {
	font-size: 20px;
	line-height: 1.5;
	color: var(--ds-ink);
	font-weight: 600;
	margin: 0 0 22px;
}
.ds-service__problem-dropcap {
	float: left;
	font-size: 84px;
	font-weight: 900;
	line-height: 0.85;
	margin-right: 14px;
	margin-top: 6px;
	color: var(--ds-cyan);
	letter-spacing: -0.04em;
}
.ds-service__problem-defenses {
	margin-top: 28px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.ds-service__problem-defense {
	padding: 18px 20px;
	background: #fff;
	border-radius: 10px;
	border: 1px solid var(--ds-line);
}
.ds-service__problem-defense .n {
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.18em;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	margin-bottom: 6px;
}
.ds-service__problem-defense .t {
	font-size: 14px;
	font-weight: 800;
	color: var(--ds-ink);
	margin-bottom: 6px;
	letter-spacing: -0.005em;
}
.ds-service__problem-defense .d {
	font-size: 13px;
	line-height: 1.5;
	color: var(--ds-ink-3);
	font-weight: 500;
}

/* ============================================================
 * 4. SCENARIOS
 * ============================================================ */
.ds-service__scenarios {
	padding: 96px 60px;
	background: #fff;
}
.ds-service__scenarios-head {
	text-align: center;
	margin-bottom: 40px;
	max-width: var(--ds-page-max, 1280px);
	margin-left: auto;
	margin-right: auto;
}
.ds-service__scenarios-head .ds-eyebrow { justify-content: center; }
.ds-service .ds-section-title {
	font-size: clamp(36px, 4.4vw, 54px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	font-weight: 900;
	color: var(--ds-ink);
	margin: 0;
	text-transform: uppercase;
	text-wrap: balance;
}
.ds-service .ds-emph { color: var(--ds-cyan); }

.ds-service__scenarios-list {
	max-width: 980px;
	margin: 0 auto;
	display: grid;
	gap: 12px;
}
.ds-service__scenario {
	background: #fff;
	border: 1px solid var(--ds-line);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.ds-service__scenario:hover { border-color: var(--ds-cyan); }
.ds-service__scenario[open] {
	box-shadow: 0 12px 32px -12px rgba(0,184,240,.18);
	border-color: var(--ds-cyan);
}
.ds-service__scenario summary {
	padding: 24px 28px;
	cursor: pointer;
	display: flex;
	gap: 22px;
	align-items: center;
	list-style: none;
}
.ds-service__scenario summary::-webkit-details-marker { display: none; }
.ds-service__scenario summary::marker { display: none; content: ""; }

.ds-service__scenario-num {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--ds-cyan);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ds-service__scenario-meta { flex: 1 1 auto; min-width: 0; }
.ds-service__scenario-tag {
	display: block;
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-muted);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 6px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ds-service__scenario-title {
	display: block;
	font-size: 17px;
	font-weight: 800;
	color: var(--ds-ink);
	text-transform: uppercase;
	letter-spacing: -0.005em;
	line-height: 1.25;
}
.ds-service__scenario-toggle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ds-paper);
	color: var(--ds-ink);
	display: grid;
	place-items: center;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
	flex-shrink: 0;
	transition: background .2s, color .2s;
}
.ds-service__scenario[open] .ds-service__scenario-toggle {
	background: var(--ds-ink);
	color: #fff;
	font-size: 0;
}
.ds-service__scenario[open] .ds-service__scenario-toggle::before {
	content: "\2013"; /* en-dash as minus glyph */
	font-size: 22px;
	line-height: 1;
	display: inline-block;
}

.ds-service__scenario-body {
	padding: 4px 28px 28px 90px;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 36px;
	align-items: start;
}
.ds-service__scenario-summary {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--ds-ink-2);
	font-weight: 500;
	margin: 0 0 22px;
	text-wrap: pretty;
}
.ds-service__scenario-steps-h {
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.ds-service__scenario-steps {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ds-service__scenario-steps li {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ds-ink-2);
	font-weight: 500;
}
.ds-service__scenario-steps .n {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 11px;
	font-weight: 900;
	color: var(--ds-cyan);
	letter-spacing: 0.04em;
	padding-top: 3px;
}
.ds-service__scenario-outcome {
	padding: 22px 24px;
	background: var(--ds-paper);
	border-radius: 12px;
	border: 1px solid var(--ds-line);
}
.ds-service__scenario-outcome .lab {
	font-size: 10px;
	font-weight: 800;
	color: var(--ds-muted);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.ds-service__scenario-outcome .val {
	font-size: 14px;
	font-weight: 700;
	color: var(--ds-ink);
	line-height: 1.5;
}

/* ============================================================
 * 5. PULL-QUOTE INTERRUPT
 * ============================================================ */
.ds-service__pullquote {
	padding: 48px 60px;
	background: #fff;
}
.ds-service__pullquote-inner {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 48px;
	align-items: center;
	padding: 40px 0;
	border-top: 1px solid var(--ds-line);
	border-bottom: 1px solid var(--ds-line);
}
.ds-service__pullquote-mark {
	font-size: 120px;
	font-weight: 900;
	color: var(--ds-cyan);
	letter-spacing: -0.04em;
	line-height: 0.85;
	font-family: Georgia, "Times New Roman", serif;
}
.ds-service__pullquote-content .ds-eyebrow { margin-bottom: 18px; letter-spacing: 0.22em; }
.ds-service__pullquote-content p {
	font-size: 24px;
	font-weight: 700;
	color: var(--ds-ink);
	letter-spacing: -0.005em;
	line-height: 1.35;
	margin: 0;
	max-width: 780px;
	text-wrap: pretty;
}
.ds-service__pullquote-cite {
	margin-top: 18px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ds-ink-2);
}
.ds-service__pullquote-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ds-service__pullquote-phone {
	height: 50px;
	padding: 0 26px;
	border-radius: 999px;
	background: var(--ds-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	justify-content: center;
	text-decoration: none;
	letter-spacing: -0.005em;
}
.ds-service__pullquote-apply {
	height: 50px;
	padding: 0 26px;
	border-radius: 999px;
	background: #fff;
	border: 1.5px solid var(--ds-ink);
	color: var(--ds-ink);
	font-size: 12px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	white-space: nowrap;
	justify-content: center;
	text-decoration: none;
}

/* ============================================================
 * 6. PROCESS — dark
 * ============================================================ */
.ds-service__process {
	padding: 96px 60px;
	background: var(--ds-ink);
	color: #fff;
	position: relative;
	overflow: hidden;
}
/* Cyan dot pattern wash — same as homepage CTA visual language. */
.ds-service__process::before {
	content: "";
	position: absolute;
	top: -80px;
	right: -120px;
	width: 480px;
	height: 480px;
	background-image: radial-gradient(circle, rgba(0,184,240,.22) 1.6px, transparent 1.8px);
	background-size: 18px 18px;
	opacity: 0.5;
	pointer-events: none;
}
/* Faint d-mark watermark on the right edge (dark bg — invert to white). */
.ds-service__process::after {
	content: "";
	position: absolute;
	right: 4%;
	top: 50%;
	transform: translateY(-50%);
	width: 240px;
	height: 320px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.06;
	filter: brightness(0) invert(1);
	pointer-events: none;
	z-index: 0;
}
.ds-service__process-inner {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 0.5fr 2fr;
	gap: 48px;
	align-items: start;
	position: relative;
	z-index: 1;
}
.ds-service__process-head { position: sticky; top: 120px; }
.ds-service__process-eyebrow {
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.ds-service__process-h2 {
	font-size: 42px;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0;
	line-height: 0.95;
	color: #fff;
	max-width: 100%;
}
.ds-service__process-h2 .ds-emph { color: var(--ds-cyan); }
.ds-service__process-sub {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255,255,255,.65);
	font-weight: 500;
	margin-top: 20px;
	max-width: 300px;
}
.ds-service__process-list { position: relative; }
.ds-service__process-list::before {
	content: "";
	position: absolute;
	left: 23px;
	top: 24px;
	bottom: 24px;
	width: 2px;
	background: rgba(0,184,240,.25);
}
.ds-service__process-row {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 24px;
	padding: 18px 0;
	position: relative;
}
.ds-service__process-num {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ds-cyan);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 14px;
	font-weight: 900;
	position: relative;
	z-index: 1;
	box-shadow: 0 0 0 6px var(--ds-ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ds-service__process-content { padding-top: 4px; }
.ds-service__process-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.ds-service__process-when {
	font-size: 10px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 4px 10px;
	background: rgba(0,184,240,.12);
	border-radius: 999px;
}
.ds-service__process-h3 {
	font-size: 20px;
	font-weight: 900;
	color: #fff;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: -0.005em;
}
.ds-service__process-text {
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255,255,255,.78);
	margin: 0 0 10px;
	font-weight: 500;
}
.ds-service__process-detail {
	font-size: 12.5px;
	font-weight: 700;
	color: rgba(255,255,255,.5);
	letter-spacing: 0.01em;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============================================================
 * 7. TESTIMONIAL
 * ============================================================ */
.ds-service__testimonial {
	position: relative;
	overflow: hidden;
	padding: 96px 60px;
	background: #fff;
}
.ds-service__testimonial::after {
	content: "";
	position: absolute;
	right: 5%;
	top: 50%;
	transform: translateY(-50%);
	width: 180px;
	height: 240px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.05;
	pointer-events: none;
	z-index: 0;
}
.ds-service__testimonial-inner {
	position: relative;
	z-index: 1;
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 56px;
	align-items: center;
}
.ds-service__testimonial-portrait {
	position: relative;
	width: 280px;
	height: 280px;
	border-radius: 20px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--ds-paper);
}
/* Quote column — must allow shrink so 30px quote wraps inside the grid. */
.ds-service__testimonial-body { min-width: 0; }
.ds-service__testimonial-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.ds-service__testimonial-fg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.ds-service__testimonial-stars {
	display: inline-flex;
	gap: 6px;
	color: var(--ds-cyan);
	font-size: 22px;
	margin-bottom: 24px;
}
.ds-service__testimonial-quote {
	font-size: 30px;
	line-height: 1.25;
	color: var(--ds-ink);
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 28px;
	max-width: 760px;
	text-wrap: pretty;
}
.ds-service__testimonial-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.ds-service__testimonial-name {
	font-size: 15px;
	font-weight: 800;
	color: var(--ds-ink);
}
.ds-service__testimonial-role {
	font-size: 13px;
	color: var(--ds-muted);
	font-weight: 600;
	margin-top: 2px;
}
.ds-service__testimonial-result {
	padding: 6px 12px;
	background: rgba(0,184,240,.12);
	color: var(--ds-cyan-deep, #0089B8);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	border-radius: 999px;
	border: 1px solid rgba(0,184,240,.3);
	text-transform: uppercase;
}

/* ============================================================
 * 8. STATES
 * ============================================================ */
.ds-service__states {
	padding: 96px 60px;
	background: var(--ds-paper);
}
.ds-service__states-inner {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
}
.ds-service__states-head {
	text-align: center;
	margin-bottom: 48px;
}
.ds-service__states-head .ds-eyebrow { justify-content: center; }
.ds-service__states-title {
	font-size: clamp(36px, 4.4vw, 54px);
	font-weight: 900;
	color: var(--ds-ink);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.05;
	text-wrap: balance;
}
.ds-service__states-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 14px;
	margin-bottom: 28px;
}
.ds-service__state-pill {
	padding: 18px 22px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid var(--ds-line);
	color: var(--ds-ink);
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: border-color .15s, color .15s, transform .15s;
}
.ds-service__state-pill:hover {
	border-color: var(--ds-cyan);
	color: var(--ds-cyan);
	transform: translateY(-1px);
}
.ds-service__state-pill-name {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.ds-service__states-foot { text-align: center; margin-top: 28px; }
.ds-service__states-all {
	font-size: 13px;
	font-weight: 700;
	color: var(--ds-cyan-deep, #0089B8);
	text-decoration: none;
	border-bottom: 1px solid var(--ds-cyan);
	padding-bottom: 2px;
	letter-spacing: 0.02em;
}

/* ============================================================
 * 9. FAQ
 * ============================================================ */
.ds-service__faqs {
	padding: 96px 60px;
	background: var(--ds-paper);
	position: relative;
	overflow: hidden;
}
.ds-service__faqs::before {
	content: "";
	position: absolute;
	bottom: -40px;
	left: -40px;
	width: 280px;
	height: 280px;
	background-image: radial-gradient(circle, rgba(0,184,240,.16) 1.4px, transparent 1.6px);
	background-size: 18px 18px;
	opacity: 0.5;
	pointer-events: none;
}
.ds-service__faqs-grid {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 64px;
	align-items: start;
	position: relative;
	z-index: 1;
}
.ds-service__faqs-head { position: sticky; top: 120px; }
.ds-service__faqs-title {
	font-size: clamp(34px, 3.6vw, 50px);
	margin: 0;
	line-height: 1.04;
	letter-spacing: -0.02em;
	font-weight: 900;
	color: var(--ds-ink);
	text-transform: uppercase;
	text-wrap: balance;
}
.ds-service__faqs-list { display: flex; flex-direction: column; gap: 12px; }
.ds-service__faq {
	background: #fff;
	border-radius: 14px;
	border: 1px solid var(--ds-line);
	transition: border-color .2s;
}
.ds-service__faq[open] { border-color: var(--ds-cyan); }
.ds-service__faq summary {
	padding: 22px 26px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	list-style: none;
}
.ds-service__faq summary::-webkit-details-marker { display: none; }
.ds-service__faq summary::marker { display: none; content: ""; }
.ds-service__faq-q {
	font-size: 17px;
	font-weight: 800;
	color: var(--ds-ink);
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	flex: 1;
	line-height: 1.35;
}
.ds-service__faq[open] .ds-service__faq-q { color: var(--ds-cyan); }
.ds-service__faq-toggle {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	color: var(--ds-ink);
	flex-shrink: 0;
	transition: transform .25s;
}
.ds-service__faq[open] .ds-service__faq-toggle { transform: rotate(180deg); color: var(--ds-cyan); }
.ds-service__faq-a {
	padding: 0 26px 22px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ds-ink-3);
	font-weight: 500;
}
.ds-service__faq-a p { margin: 0 0 12px; }
.ds-service__faq-a p:last-child { margin: 0; }

/* ============================================================
 * 10. RESOURCES
 * ============================================================ */
.ds-service__resources {
	padding: 96px 60px;
	background: #fff;
	position: relative;
	overflow: hidden;
}
.ds-service__resources::after {
	content: "";
	position: absolute;
	right: -60px;
	top: 18%;
	width: 280px;
	height: 360px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.06;
	pointer-events: none;
	z-index: 0;
}
.ds-service__resources-inner {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.ds-service__resources-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-bottom: 48px;
	flex-wrap: wrap;
	gap: 24px;
}
.ds-service__resources-title {
	font-size: clamp(36px, 4.4vw, 54px);
	font-weight: 900;
	color: var(--ds-ink);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.05;
	text-wrap: balance;
}
.ds-service__resources-all {
	font-size: 14px;
	font-weight: 800;
	color: var(--ds-ink);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.ds-service__resources-all:hover { color: var(--ds-cyan); }
.ds-service__resources-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.ds-service__resource-card {
	display: block;
	background: var(--ds-paper);
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--ds-line);
	color: inherit;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.ds-service__resource-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(15,26,45,.08);
}
.ds-service__resource-cover {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	position: relative;
	background: var(--ds-paper);
	color: var(--ds-ink);
}
.ds-service__resource-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ds-service__resource-cover-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 10px;
	background: #fff;
	color: var(--ds-ink);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.14em;
	border-radius: 999px;
	text-transform: uppercase;
	z-index: 2;
}
.ds-service__resource-cover-eyebrow {
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.ds-service__resource-cover-body {
	position: absolute;
	inset: 0;
	padding: 30px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* timeline / arrow flow (dark) */
.ds-service__resource-cover--arrow,
.ds-service__resource-cover--timeline { background: var(--ds-ink); color: #fff; }
.ds-service__resource-cover--arrow::after,
.ds-service__resource-cover--timeline::after {
	content: "";
	position: absolute;
	right: -20px;
	bottom: -10px;
	width: 130px;
	height: 170px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.10;
	filter: brightness(0) invert(1);
	pointer-events: none;
	z-index: 1;
}
.ds-service__resource-cover--arrow .ds-service__resource-cover-body,
.ds-service__resource-cover--timeline .ds-service__resource-cover-body {
	position: relative;
	z-index: 2;
}
.ds-service__resource-cover--arrow .ds-service__resource-cover-eyebrow,
.ds-service__resource-cover--timeline .ds-service__resource-cover-eyebrow { color: var(--ds-cyan); }
.ds-service__resource-cover-body--flow { gap: 10px; }
.ds-service__resource-cover-body--flow .row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	color: rgba(255,255,255,.85);
	letter-spacing: -0.005em;
}
.ds-service__resource-cover-body--flow .row .n {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 900;
	background: rgba(255,255,255,.18);
	color: rgba(255,255,255,.7);
}
.ds-service__resource-cover-body--flow .row--win { color: var(--ds-cyan); opacity: 1; }
.ds-service__resource-cover-body--flow .row--win .n {
	background: var(--ds-cyan);
	color: #fff;
}

/* compare layout (light/paper cover) */
.ds-service__resource-cover--compare,
.ds-service__resource-cover--stat {
	background: var(--ds-paper);
	color: var(--ds-ink);
}
.ds-service__resource-cover--compare::after,
.ds-service__resource-cover--stat::after {
	content: "";
	position: absolute;
	right: -20px;
	bottom: -10px;
	width: 130px;
	height: 170px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.08;
	pointer-events: none;
	z-index: 1;
}
.ds-service__resource-cover--compare .ds-service__resource-cover-body,
.ds-service__resource-cover--stat .ds-service__resource-cover-body {
	position: absolute;
	z-index: 2;
}
.ds-service__resource-cover-body--compare {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	flex-direction: row;
	text-align: center;
}
.ds-service__resource-cover-body--compare .cell .lab {
	font-size: 10px;
	font-weight: 800;
	color: var(--ds-ink-3);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.ds-service__resource-cover-body--compare .cell .big {
	font-size: 44px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--ds-cyan);
}
.ds-service__resource-cover-body--compare .cell:nth-child(3) .big { color: var(--ds-ink); }
.ds-service__resource-cover-body--compare .cell .sub {
	font-size: 10px;
	font-weight: var(--ds-fw-heavy);
	color: var(--ds-ink-3);
	margin-top: 4px;
	letter-spacing: var(--ds-tracking-eyebrow);
	text-transform: uppercase;
}
.ds-service__resource-cover-body--compare .vs {
	font-size: 22px;
	font-weight: 900;
	color: var(--ds-ink);
	opacity: 0.4;
}

/* percent layout (cyan cover) */
.ds-service__resource-cover--percent,
.ds-service__resource-cover--cyan,
.ds-service__resource-cover--metric { background: var(--ds-cyan); color: #fff; }
.ds-service__resource-cover--percent .ds-service__resource-cover-tag,
.ds-service__resource-cover--cyan .ds-service__resource-cover-tag,
.ds-service__resource-cover--metric .ds-service__resource-cover-tag { color: var(--ds-ink); }
.ds-service__resource-cover--percent::after,
.ds-service__resource-cover--cyan::after,
.ds-service__resource-cover--metric::after {
	content: "";
	position: absolute;
	right: -20px;
	bottom: -10px;
	width: 130px;
	height: 170px;
	background: url('../images/ico-delancey.svg') no-repeat center / contain;
	opacity: 0.14;
	filter: brightness(0) invert(1);
	pointer-events: none;
	z-index: 1;
}
.ds-service__resource-cover--percent .ds-service__resource-cover-body,
.ds-service__resource-cover--cyan .ds-service__resource-cover-body,
.ds-service__resource-cover--metric .ds-service__resource-cover-body {
	position: absolute;
	z-index: 2;
}
.ds-service__resource-cover-body--percent {
	align-items: center;
	text-align: center;
}
.ds-service__resource-cover-body--percent .lab {
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-ink);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 10px;
	opacity: 0.75;
}
.ds-service__resource-cover-body--percent .big {
	font-size: 96px;
	font-weight: 900;
	color: var(--ds-ink);
	letter-spacing: -0.05em;
	line-height: 0.9;
}
.ds-service__resource-cover-body--percent .bar {
	margin-top: 12px;
	height: 6px;
	width: 70%;
	background: rgba(10,18,31,.15);
	border-radius: 999px;
	overflow: hidden;
}
.ds-service__resource-cover-body--percent .bar span {
	display: block;
	width: 54%;
	height: 100%;
	background: var(--ds-ink);
}

/* timeline numbers */
.ds-service__resource-cover-tl {
	display: flex;
	align-items: baseline;
	gap: 14px;
	line-height: 0.9;
	letter-spacing: -0.04em;
	font-weight: 900;
}
.ds-service__resource-cover-tl .n {
	font-size: 64px;
	color: #fff;
}
.ds-service__resource-cover-tl .n--cyan { color: var(--ds-cyan); }
.ds-service__resource-cover-tl .sep {
	font-size: 18px;
	color: rgba(255,255,255,.5);
}
.ds-service__resource-cover-tl-key {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 10px;
	font-weight: 700;
	color: rgba(255,255,255,.55);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	max-width: 280px;
}

.ds-service__resource-card-body { padding: 24px 26px; }
.ds-service__resource-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--ds-ink);
	margin: 0 0 10px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.ds-service__resource-desc {
	font-size: 14px;
	color: var(--ds-ink-3);
	line-height: 1.55;
	margin: 0;
	font-weight: 500;
}
.ds-service__resource-link {
	margin-top: 18px;
	font-size: 12px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* ============================================================
 * 11. CONTACT
 * ============================================================ */
.ds-service__contact {
	padding: 96px 60px;
	background: #fff;
}
.ds-service__contact-grid {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 64px;
	align-items: start;
}
/* Both columns must allow shrink so cards/form don't overflow the grid track. */
.ds-service__contact-left,
.ds-service__contact-form-wrap { min-width: 0; }
.ds-service__contact-title {
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.05;
	font-weight: 900;
	color: var(--ds-ink);
	margin: 14px 0 24px;
	text-transform: uppercase;
	letter-spacing: -0.015em;
}
.ds-service__contact-sub {
	font-size: 17px;
	line-height: 1.65;
	color: var(--ds-ink-3);
	font-weight: 500;
	margin: 0 0 32px;
}
.ds-service__contact-cards { display: grid; gap: 16px; }
.ds-service__contact-card {
	padding: 18px 20px;
	background: var(--ds-paper);
	border-radius: 12px;
	border-left: 3px solid var(--ds-cyan);
}
.ds-service__contact-card .k {
	font-size: 11px;
	font-weight: 800;
	color: var(--ds-cyan);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 5px;
}
.ds-service__contact-card .v {
	font-size: 18px;
	font-weight: 900;
	color: var(--ds-ink);
	margin-bottom: 5px;
	letter-spacing: -0.005em;
}
.ds-service__contact-card .s {
	font-size: 13px;
	line-height: 1.5;
	color: var(--ds-ink-3);
	font-weight: 500;
}
.ds-service__contact-form-wrap {
	padding: 36px;
	background: var(--ds-paper);
	border-radius: 18px;
	border: 1px solid var(--ds-line);
	position: relative;
	overflow: hidden;
	box-shadow: 0 24px 56px -24px rgba(15,26,45,.18), 0 6px 18px -6px rgba(15,26,45,.08);
}
.ds-service__contact-form-wrap::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--ds-cyan) 0%, var(--ds-cyan-deep) 100%);
}
.ds-service__contact-form-h3 {
	font-size: 24px;
	font-weight: 900;
	color: var(--ds-ink);
	margin: 8px 0 22px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.ds-service__contact-form-wrap .ds-form,
.ds-service__contact-form-wrap form { background: transparent; padding: 0; }

/* ============================================================
 * 12. CTA BAND
 * ============================================================ */
.ds-service__cta {
	padding: 72px 60px;
	background: var(--ds-cyan);
	color: #fff;
	position: relative;
	overflow: hidden;
}
/* Canonical d-pattern (CtaBand variant): right 45% strip.
   Slant baked into d-pattern.svg via SVG <pattern patternTransform="rotate(15)"> — no CSS rotation. */
.ds-service__cta::before {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 45%;
	background: url('../images/d-pattern.svg') center / cover no-repeat;
	opacity: 0.18;
	pointer-events: none;
	z-index: 1;
}
/* Subtle gradient sheen sits BEHIND the d-tile mask so the watermark
 * pattern remains visible (matches state-guide cta-band + MCA playbook). */
.ds-service__cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 184, 240, 0.18) 0%, rgba(0, 184, 240, 0.06) 50%, transparent 100%);
	pointer-events: none;
	z-index: 0;
}
.ds-service__cta-inner {
	max-width: var(--ds-page-max, 1280px);
	margin: 0 auto;
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px;
	align-items: center;
}
.ds-service__cta-text { min-width: 0; }
/* Portrait + #delanceygotyou pill on the right side of the CTA band. */
.ds-service__cta-portrait {
	position: relative;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(255,255,255,0.16);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: visible;
	flex-shrink: 0;
}
.ds-service__cta-portrait-img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	object-position: center bottom;
	position: relative;
	z-index: 2;
	display: block;
}
.ds-service__cta-hash {
	position: absolute;
	top: 8px;
	right: -12px;
	background: #fff;
	color: var(--ds-ink, #0f1a2d);
	padding: 10px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	text-transform: lowercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(0,0,0,0.18);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 2px;
}
.ds-service__cta-hash-mark { color: var(--ds-cyan, #06b6d4); font-weight: 900; }
.ds-service__cta-hash-tag { font-weight: 800; }
.ds-service__cta-h2 {
	font-size: clamp(36px, 4.4vw, 54px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
	text-transform: uppercase;
	color: #fff;
	text-wrap: balance;
}
.ds-service__cta-sub {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 600;
	margin: 0 0 28px;
	max-width: 600px;
	color: rgba(255,255,255,.95);
}
.ds-service__cta-sub strong { font-weight: 800; }
.ds-service__cta-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
}
.ds-service__cta-btn {
	height: 54px;
	padding: 0 28px;
	border-radius: var(--ds-radius-pill);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	white-space: nowrap;
	transition: transform var(--ds-dur) var(--ds-ease), background var(--ds-dur) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease), box-shadow var(--ds-dur) var(--ds-ease);
}
.ds-service__cta-btn:hover { transform: translateY(-1px); }
.ds-service__cta-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.ds-service__cta-btn--primary { background: #fff; color: var(--ds-ink); border: 0; }
.ds-service__cta-btn--primary:hover { background: #f1f1f1; color: var(--ds-ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .25); }
.ds-service__cta-btn--ghost {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255,255,255,.45);
}
.ds-service__cta-btn--ghost:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
}

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 1100px) {
	.ds-service__hero,
	.ds-service__quick-facts-section,
	.ds-service__problem,
	.ds-service__scenarios,
	.ds-service__pullquote,
	.ds-service__process,
	.ds-service__testimonial,
	.ds-service__states,
	.ds-service__faqs,
	.ds-service__resources,
	.ds-service__contact,
	.ds-service__cta { padding-left: 32px; padding-right: 32px; }

	.ds-service__quick-facts { grid-template-columns: repeat(2, 1fr); }
	.ds-service__problem-grid,
	.ds-service__faqs-grid,
	.ds-service__contact-grid,
	.ds-service__process-inner { grid-template-columns: 1fr; gap: 40px; }
	.ds-service__process-head,
	.ds-service__faqs-head { position: static; }
	.ds-service__scenario-body { grid-template-columns: 1fr; padding-left: 28px; gap: 22px; }
	.ds-service__pullquote-inner { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
	.ds-service__pullquote-mark { font-size: 80px; line-height: 0.6; }
	.ds-service__pullquote-content p { font-size: 20px; }
	.ds-service__pullquote-actions { flex-direction: row; flex-wrap: wrap; }
	.ds-service__testimonial-inner { grid-template-columns: 1fr; gap: 32px; }
	.ds-service__testimonial-portrait { width: 280px; height: 280px; max-width: 100%; margin: 0 auto; }
	.ds-service__resources-grid { grid-template-columns: 1fr; }
	.ds-service__states-grid { grid-template-columns: repeat(3, 1fr); }
	.ds-service__problem-defenses { grid-template-columns: 1fr; }
	.ds-service__cta-inner { grid-template-columns: 1fr; gap: 36px; }
	.ds-service__cta-portrait { margin: 0 auto; }
}

@media (max-width: 800px) {
	.ds-service__hero,
	.ds-service__quick-facts-section,
	.ds-service__problem,
	.ds-service__scenarios,
	.ds-service__pullquote,
	.ds-service__process,
	.ds-service__testimonial,
	.ds-service__states,
	.ds-service__faqs,
	.ds-service__resources,
	.ds-service__contact,
	.ds-service__cta { padding-left: 20px; padding-right: 20px; padding-top: 56px; padding-bottom: 56px; }
	.ds-service__hero { padding-top: 40px; padding-bottom: 48px; }
	.ds-service__quick-facts-section { padding-top: 32px; padding-bottom: 32px; }
	.ds-service__quick-facts { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ds-service__quick-fact { padding: 18px; }
	.ds-service__quick-fact-val { font-size: 28px; }
	.ds-service__problem-title { font-size: 28px; }
	.ds-service__states-grid { grid-template-columns: repeat(2, 1fr); }
	.ds-service__contact-form-wrap { padding: 24px; }
	.ds-service__scenario summary {
		padding: 18px 18px;
		gap: 14px;
	}
	.ds-service__scenario-num { width: 40px; height: 40px; font-size: 12px; }
	.ds-service__scenario-toggle { width: 32px; height: 32px; }
	.ds-service__scenario-title { font-size: 15px; }
	.ds-service__scenario-body { padding: 4px 18px 22px 18px; }
	.ds-service__pullquote { padding-top: 32px; padding-bottom: 32px; }
	.ds-service__testimonial-quote { font-size: 22px; }
	.ds-service__cta-sub { font-size: 17px; }
	.ds-service__process-row { grid-template-columns: 40px 1fr; gap: 18px; }
	.ds-service__process-num { width: 40px; height: 40px; font-size: 12px; }
	.ds-service__process-list::before { left: 19px; }
	.ds-service__process-h2 { font-size: 32px; }
	.ds-service__faq summary { padding: 18px 20px; gap: 14px; }
	.ds-service__faq-q { font-size: 15px; }
	.ds-service__faq-a { padding: 0 20px 20px; font-size: 14px; }
}

@media (max-width: 480px) {
	.ds-service__hero,
	.ds-service__problem,
	.ds-service__scenarios,
	.ds-service__pullquote,
	.ds-service__process,
	.ds-service__testimonial,
	.ds-service__states,
	.ds-service__faqs,
	.ds-service__resources,
	.ds-service__contact,
	.ds-service__cta { padding-left: 16px; padding-right: 16px; }
	.ds-service__quick-facts-section { padding-left: 16px; padding-right: 16px; }
	.ds-service__quick-facts { grid-template-columns: 1fr; }
	.ds-service__states-grid { grid-template-columns: 1fr; }
	.ds-service__h1 { font-size: 36px; }
	.ds-service__problem-title { font-size: 24px; }
	.ds-service__problem-dropcap { font-size: 64px; }
	.ds-service__problem-case-stat { font-size: 32px; }
	.ds-service__cta-h2 { font-size: 32px; }
	.ds-service__cta-sub { font-size: 15px; }
	.ds-service__cta-actions { flex-direction: column; align-items: stretch; }
	.ds-service__cta-portrait { width: 220px; height: 220px; }
	.ds-service__cta-hash { font-size: 12px; padding: 8px 16px; }
	.ds-service__cta-btn { justify-content: center; width: 100%; }
}

/* AQC7 Fix 1: Service hero h1 at very-narrow phones */
@media (max-width: 480px) {
	.ds-service__h1 { font-size: 28px; overflow-wrap: anywhere; word-break: break-word; text-wrap: wrap; hyphens: auto; letter-spacing: -0.02em; }
}

/* AQC8: Service single narrow-phone polish (375px) */
@media (max-width: 480px) {
	/* Hero sub size reduction at narrow */
	.ds-service__hero-sub { font-size: 17px; margin-top: 20px; }

	/* Quick-fact card padding */
	.ds-service__quick-fact { padding: 16px 14px; }
	.ds-service__quick-fact-val { font-size: 24px; }

	/* Problem section: case-study card padding tighten */
	.ds-service__problem-case { padding: 20px 18px; }
	.ds-service__problem-callout { padding: 16px 14px; }

	/* Pull-quote: shrink p-text for narrow viewport */
	.ds-service__pullquote-content p { font-size: 17px; }

	/* Process timeline: tighter row gap */
	.ds-service__process-list::before { left: 19px; }

	/* Testimonial portrait: smaller (was 280px @<1100) */
	.ds-service__testimonial-portrait { width: 220px; height: 220px; }

	/* Resource cards: tighten */
	.ds-service__resource-card { padding: 22px 18px; }

	/* Contact form wrap padding (was 24px @<800) */
	.ds-service__contact-form-wrap { padding: 18px; }
}

/* CPT-RQC: 375px hard fixes — prevent oversized headings + grids overflowing */
@media (max-width: 400px) {
	.ds-service__h1 { font-size: 24px; letter-spacing: -0.02em; }
	.ds-service__hero { padding: 32px 16px 40px; }
	.ds-service__hero::after { width: 240px; height: 320px; right: -80px; }
	/* Hero sub readable at 375 */
	.ds-service__hero-sub { font-size: 16px; }
	/* Process h2 + scenario titles wrap-break long words */
	.ds-service__process-h2,
	.ds-service__problem-title,
	.ds-service__cta-h2,
	.ds-service .ds-section-title,
	.ds-service__faqs-title,
	.ds-service__resources-title,
	.ds-service__states-title,
	.ds-service__contact-title { overflow-wrap: anywhere; word-break: break-word; }
	/* Stat callout values can be huge — clamp */
	.ds-service__problem-case-stat { font-size: 28px; }
	/* Testimonial smaller still */
	.ds-service__testimonial-quote { font-size: 19px; }
	.ds-service__testimonial-portrait { width: 180px; height: 180px; }
	/* CTA band portrait can crop on tiny phones */
	.ds-service__cta-portrait { width: 200px; height: 200px; }
	.ds-service__cta-hash { font-size: 11px; padding: 6px 12px; right: -4px; }
}

/*
 * SBA Workouts CTA — force 3-line heading wrap.
 * Source CTA "SBA loan in default? Move now." should display as:
 *   SBA LOAN IN
 *   DEFAULT? MOVE
 *   NOW.
 * Constrains the H2 to the width of "default? move" so it wraps after
 * "in" and after "move". Falls back gracefully if the meta value already
 * contains explicit <br> tags (handled in single-service.php via wp_kses).
 */
.ds-service__cta--sba-workouts .ds-service__cta-h2 {
	max-width: 14ch;
	text-wrap: normal;
}
@media (max-width: 768px) {
	.ds-service__cta--sba-workouts .ds-service__cta-h2 { max-width: 12ch; }
}

/* Reduced motion — keep transforms tame. */
@media (prefers-reduced-motion: reduce) {
	.ds-service__resource-card:hover { transform: none; }
	.ds-service__state-pill:hover { transform: none; }
	.ds-service__scenario,
	.ds-service__faq,
	.ds-service__resource-card,
	.ds-service__state-pill,
	.ds-service__scenario-num,
	.ds-service__scenario-toggle,
	.ds-service__faq-toggle { transition: none !important; }
}

/* Print — keep the editorial feel readable on paper. */
@media print {
	.ds-service__cta,
	.ds-service__pullquote-actions,
	.ds-service__contact-form-wrap { display: none !important; }
	.ds-service__hero,
	.ds-service__problem,
	.ds-service__scenarios,
	.ds-service__process,
	.ds-service__faqs { padding: 24px 0; }
	.ds-service__process { background: #fff; color: var(--ds-ink); }
	.ds-service__process-h2,
	.ds-service__process-h3 { color: var(--ds-ink); }
	.ds-service__process-text,
	.ds-service__process-detail { color: var(--ds-ink-3); }
	.ds-service__scenario { break-inside: avoid; }
	.ds-service__faq { break-inside: avoid; }
}

/* ============================================================
 * RESPQC-C — responsive QC pass for single-service.php
 * Targeted polish for breakpoints 1440 / 1024 / 768 / 640 / 480.
 * All rules wrapped in media queries; no desktop changes.
 * ============================================================ */

/* 768 / 640: hero h1 line-height + scenario summary text safety. */
@media (max-width: 800px) {
	/* Hero h1: tighten line-height so multi-line wrap doesn't tower. */
	.ds-service__h1 { line-height: 1.02; }
	/* Hero sub: keep readable at 768 (was 20px desktop). */
	.ds-service__hero-sub { font-size: 18px; margin-top: 22px; }
	/* Scenarios: prevent toggle from being squeezed by long titles. */
	.ds-service__scenario summary { gap: 12px; }
	.ds-service__scenario-num { width: 36px; height: 36px; flex-shrink: 0; }
	.ds-service__scenario-toggle { width: 30px; height: 30px; flex-shrink: 0; }
	.ds-service__scenario-meta { min-width: 0; flex: 1 1 auto; }
	.ds-service__scenario-title { word-wrap: break-word; overflow-wrap: anywhere; }
	/* FAQ: long Q text safety. */
	.ds-service__faq summary { gap: 12px; }
	.ds-service__faq-q { word-wrap: break-word; overflow-wrap: anywhere; min-width: 0; }
	.ds-service__faq-toggle { flex-shrink: 0; }
	/* Pull-quote: stack actions full-width below content for tap target. */
	.ds-service__pullquote-actions {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
	}
	.ds-service__pullquote-phone,
	.ds-service__pullquote-apply {
		flex: 1 1 auto;
		min-width: 140px;
	}
}

/* 640: tighten quick-fact rhythm + problem callouts. */
@media (max-width: 640px) {
	/* Hero h1: shrink a touch more than 800-default clamp resolves to. */
	.ds-service__h1 { font-size: clamp(32px, 7.4vw, 48px); }
	.ds-service__hero-sub { font-size: 16.5px; }
	/* Quick-fact value: avoid character-level break on glyphs like "$15K+". */
	.ds-service__quick-fact-val { word-break: keep-all; }
	/* Problem case-stat: also keep-all for "$284K claim → $115K" style values. */
	.ds-service__problem-case-stat { word-break: keep-all; }
	/* Testimonial portrait: between 280 (1100) and 220 (480). */
	.ds-service__testimonial-portrait { width: 240px; height: 240px; }
	/* Process h2 line-height: tighter so 5-line stack feels less tall. */
	.ds-service__process-h2 { line-height: 1; }
}

/* 480: pull-quote actions full-width buttons for big tap targets. */
@media (max-width: 480px) {
	/* Stack pull-quote actions vertically; full-width buttons. */
	.ds-service__pullquote-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.ds-service__pullquote-phone,
	.ds-service__pullquote-apply {
		width: 100%;
		flex: 0 0 auto;
	}
	/* Pull-quote mark: smaller still (was 80px @<1100). */
	.ds-service__pullquote-mark { font-size: 64px; }
	/* Hero h1 line-height for stacked words. */
	.ds-service__h1 { line-height: 1.02; }
	/* Quick-fact label vertical gap a touch tighter. */
	.ds-service__quick-fact-lab { margin-top: 8px; font-size: 12px; }
	/* CTA action buttons: ensure full-width without overflow on tiny screens. */
	.ds-service__cta-btn { padding: 0 22px; font-size: 13px; letter-spacing: 0.06em; }
	/* CTA h2 line-height tighten. */
	.ds-service__cta-h2 { line-height: 1.02; }
	.ds-service__cta-sub { line-height: 1.45; }
	/* Scenario summary title slightly smaller for two-line max. */
	.ds-service__scenario-title { font-size: 14px; }
	.ds-service__scenario-tag { font-size: 10px; letter-spacing: 0.16em; }
	/* FAQ summary tighten — toggle visible. */
	.ds-service__faq summary { padding: 16px 16px; gap: 12px; }
	.ds-service__faq-q { font-size: 14px; line-height: 1.4; }
	/* Process row gap tighten on phone. */
	.ds-service__process-row { padding: 14px 0; gap: 16px; }
	.ds-service__process-h3 { font-size: 18px; line-height: 1.15; }
	/* Testimonial quote line-height. */
	.ds-service__testimonial-quote { line-height: 1.4; }
}

/* ============================================================
 * Defensive accordion collapse — ensures FAQ + scenarios stay
 * collapsed when not [open] regardless of browser quirks.
 * Native <details> already does this via UA stylesheet, but
 * setting display: grid / display: flex on the body containers
 * can occasionally defeat that on older WebKit. This makes the
 * collapse explicit.
 * ============================================================ */
.ds-service__scenario:not([open]) .ds-service__scenario-body { display: none; }
.ds-service__faq:not([open]) .ds-service__faq-a { display: none; }
