/**
 * TSCP content blocks — pull quote, callout box, card groups.
 * Colors follow the Third Sector palette (TS Color Palette.pdf).
 */

:root {
	--tscp-green: #00a76f;
	--tscp-green-20: #c4e5da;
	--tscp-blue: #0086ae;
	--tscp-blue-dark: #006e8f;
	--tscp-blue-20: #c4dfe7;
	--tscp-purple: #862e88;
	--tscp-purple-20: #dfcddf;
	--tscp-teal: #5cc7a3;
	--tscp-yellow: #ffc500;
	--tscp-ink: #1e1e1e;
	--tscp-body: #333;
	--tscp-muted: #757575;
	--tscp-line: #e1e1e1;
	--tscp-gray: #efeff2;
	/* Darker fills behind white text: 4.5:1 or better (WCAG AA). */
	--tscp-green-fill: #007f56;
	--tscp-blue-fill: #00799e;
}

/* Anchor targets clear the sticky header. */
.tscp-anchor,
[id^="our-"] {
	scroll-margin-top: 130px;
}

/* ---------- Pull quote ---------- */

.tscp-pullquote {
	position: relative;
	margin: 40px 0;
	padding: 6px 0 6px 34px;
	border: 0;
	border-left: 6px solid var(--tscp-purple);
	background: none;
	quotes: none;
}

.tscp-pullquote p {
	margin: 0;
	font-family: 'Barlow Condensed', 'Barlow', sans-serif;
	font-size: clamp(30px, 4.2vw, 46px);
	font-weight: 700;
	font-style: normal;
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--tscp-blue-dark);
}

/* ---------- Callout box ---------- */

.tscp-callout {
	position: relative;
	margin: 44px 0;
	padding: 40px 44px 36px;
	background: #f3f8f7;
	border-top: 6px solid var(--tscp-green);
	border-radius: 0 0 14px 14px;
	box-shadow: 0 14px 34px -22px rgba(0, 60, 80, 0.45);
}

.tscp-callout-eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tscp-green);
}

.tscp-callout-title {
	margin: 0 0 14px;
	font-family: 'Barlow Condensed', 'Barlow', sans-serif;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--tscp-ink);
}

.tscp-callout-body > p {
	max-width: 760px;
}

.tscp-callout-body {
	font-size: 17px;
	line-height: 1.6;
	color: var(--tscp-body);
}

.tscp-callout-body p:last-child {
	margin-bottom: 0;
}

.tscp-callout-figure {
	margin: 26px 0 0;
}

.tscp-callout-img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Card groups (shared) ---------- */

.tscp-cards {
	display: grid;
	gap: 24px;
	margin: 34px 0;
	padding: 0;
	list-style: none;
}

.tscp-card {
	position: relative;
	margin: 0;
	list-style: none;
}

.tscp-card-title {
	margin: 0 0 10px;
	font-family: 'Barlow Condensed', 'Barlow', sans-serif;
	font-weight: 600;
	line-height: 1.15;
	color: var(--tscp-ink);
}

.tscp-card-title a {
	color: inherit;
	text-decoration: none;
}

.tscp-card-title a:hover,
.tscp-card-title a:focus-visible {
	text-decoration: underline;
}

.tscp-card-body {
	font-size: 16px;
	line-height: 1.55;
	color: var(--tscp-body);
}

.tscp-card-body p {
	margin: 0 0 12px;
}

.tscp-card-body > :last-child {
	margin-bottom: 0;
}

.tscp-card-icon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ---------- Outcomes: three rising steps ---------- */

.tscp-cards--outcomes {
	grid-template-columns: repeat(3, 1fr);
	align-items: end;
	gap: 20px;
	counter-reset: tscp-outcome;
	margin-top: 40px;
}

.tscp-cards--outcomes .tscp-card {
	counter-increment: tscp-outcome;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px 26px 30px;
	border-radius: 14px 14px 0 0;
	color: #fff;
	background: var(--tscp-green-fill);
	overflow: hidden;
}

.tscp-cards--outcomes .tscp-card:nth-child(1) { min-height: 250px; }
.tscp-cards--outcomes .tscp-card:nth-child(2) { min-height: 300px; }
.tscp-cards--outcomes .tscp-card:nth-child(3) { min-height: 350px; }

/* Step number, big and faint. */
.tscp-cards--outcomes .tscp-card::before {
	content: counter(tscp-outcome, decimal-leading-zero);
	position: absolute;
	top: 14px;
	right: 20px;
	font-family: 'Barlow Condensed', 'Barlow', sans-serif;
	font-size: 72px;
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.22);
}

/* Arrow pointing to the next step. */
.tscp-cards--outcomes .tscp-card:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 26px;
	right: -1px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 0 12px 12px;
	border-color: transparent transparent transparent rgba(255, 255, 255, 0.55);
}

.tscp-cards--outcomes .tscp-card-title {
	font-size: clamp(30px, 3.2vw, 40px);
	font-weight: 700;
	color: #fff;
}

.tscp-cards--outcomes .tscp-card-body {
	font-size: 17px;
	color: #fff;
}

.tscp-cards--outcomes .tscp-card--green { background: var(--tscp-green-fill); }
.tscp-cards--outcomes .tscp-card--blue { background: var(--tscp-blue-fill); }
.tscp-cards--outcomes .tscp-card--purple { background: var(--tscp-purple); }
.tscp-cards--outcomes .tscp-card--teal { background: var(--tscp-teal); }

/* Baseline under the steps. */
.tscp-cards--outcomes {
	border-bottom: 6px solid var(--tscp-ink);
	padding-bottom: 0;
}

/* ---------- Shifts: colored panels with round icons ---------- */

.tscp-cards--shifts {
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 70px;
}

.tscp-cards--shifts .tscp-card {
	padding: 70px 30px 34px;
	text-align: left;
	color: #fff;
	background: var(--tscp-green-fill);
}

.tscp-cards--shifts .tscp-card--blue { background: var(--tscp-blue-fill); }
.tscp-cards--shifts .tscp-card--purple { background: var(--tscp-purple); }

.tscp-cards--shifts .tscp-card-icon-wrap {
	position: absolute;
	top: -48px;
	left: 50%;
	width: 96px;
	height: 96px;
	margin-left: -48px;
	border-radius: 50%;
	box-shadow: 0 0 0 5px #fff;
	overflow: hidden;
}

.tscp-cards--shifts .tscp-card-title {
	font-family: 'Barlow', sans-serif;
	font-size: 26px;
	font-weight: 700;
	text-align: center;
	color: #fff;
	margin-bottom: 16px;
}

.tscp-cards--shifts .tscp-card-body {
	font-size: 17px;
	color: #fff;
}

/* ---------- Services: one per row, icon + text ---------- */

.tscp-cards--services {
	grid-template-columns: 1fr;
	gap: 18px;
}

.tscp-cards--services .tscp-card {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 26px;
	align-items: start;
	padding: 28px 32px 30px;
	background: #fff;
	border: 1px solid var(--tscp-line);
	border-top: 5px solid var(--tscp-green);
}

.tscp-cards--services .tscp-card--blue { border-top-color: var(--tscp-blue); }
.tscp-cards--services .tscp-card--purple { border-top-color: var(--tscp-purple); }
.tscp-cards--services .tscp-card--teal { border-top-color: var(--tscp-teal); }

.tscp-cards--services .tscp-card-icon-wrap {
	width: 84px;
	height: 84px;
}

.tscp-cards--services .tscp-card-title {
	font-size: 24px;
}

/* ---------- Projects: photo cards, 3 then 2 (all the same size) ----------
 * 6-column grid, each card spans 2. Cards 4 and 5 sit in columns 2–5 so the
 * second row is centered under the first. */

.tscp-cards--projects {
	grid-template-columns: repeat(6, 1fr);
	gap: 28px;
}

.tscp-cards--projects .tscp-card {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tscp-line);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 26px -20px rgba(0, 40, 60, 0.45);
}

.tscp-cards--projects .tscp-card:nth-child(4) {
	grid-column: 2 / span 2;
}

.tscp-cards--projects .tscp-card:nth-child(5) {
	grid-column: 4 / span 2;
}

.tscp-card-media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--tscp-gray);
}

.tscp-card-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.4s ease;
}

.tscp-cards--projects .tscp-card:hover .tscp-card-media--linked .tscp-card-photo {
	transform: scale(1.03);
}

.tscp-card-photo--empty {
	background: linear-gradient(135deg, var(--tscp-blue-20), var(--tscp-green-20));
}

.tscp-cards--projects .tscp-card-text {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 26px;
}

/* Matches the practice-area Featured Projects table (.pj-title). */
.tscp-cards--projects .tscp-card-title {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	margin-bottom: 8px;
}

.tscp-card-meta {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tscp-muted);
}

.tscp-cards--projects .tscp-card-body ul {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.tscp-cards--projects .tscp-card-body li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 20px;
	font-weight: 500;
	color: var(--tscp-ink);
}

.tscp-cards--projects .tscp-card-body li::before {
	content: "";
	position: absolute;
	top: 0.5em;
	left: 0;
	width: 9px;
	height: 9px;
	background: var(--tscp-green);
	border-radius: 2px;
}

.tscp-card-more {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 16px;
	font-size: 16px;
	color: var(--tscp-purple) !important;
	text-decoration: underline;
}

.tscp-card-more::after {
	content: " \2192";
	text-decoration: none;
	display: inline-block;
	margin-left: 4px;
}

.tscp-card-more:hover {
	color: #741975 !important;
}

/* ---------- Jump links (Our Work banner) ---------- */

.tscp-jumps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.tscp-jumps li {
	margin: 0;
	list-style: none;
}

.tscp-jumps a {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 999px;
	font-size: 16px;
	color: #fff !important;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.tscp-jumps a:hover,
.tscp-jumps a:focus-visible {
	background: #fff;
	color: var(--tscp-blue-dark) !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	.tscp-cards--projects {
		grid-template-columns: repeat(2, 1fr);
	}
	.tscp-cards--projects .tscp-card,
	.tscp-cards--projects .tscp-card:nth-child(4),
	.tscp-cards--projects .tscp-card:nth-child(5) {
		grid-column: auto;
	}
	/* Odd card out on the last row: center it at the same width. */
	.tscp-cards--projects .tscp-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 14px);
	}
	.tscp-cards--shifts {
		grid-template-columns: 1fr;
		gap: 70px;
	}
}

@media (max-width: 767px) {
	.tscp-cards--outcomes {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.tscp-cards--outcomes .tscp-card,
	.tscp-cards--outcomes .tscp-card:nth-child(n) {
		min-height: 0;
		border-radius: 10px;
	}
	.tscp-cards--outcomes .tscp-card:nth-child(2) { margin-left: 16px; }
	.tscp-cards--outcomes .tscp-card:nth-child(3) { margin-left: 32px; }
	.tscp-cards--outcomes .tscp-card::after { display: none; }
	.tscp-cards--outcomes { border-bottom: 0; }
	.tscp-cards--services,
	.tscp-cards--projects {
		grid-template-columns: 1fr;
	}
	.tscp-cards--projects .tscp-card:last-child:nth-child(odd) {
		grid-column: auto;
		width: auto;
	}
	.tscp-cards--services .tscp-card {
		grid-template-columns: 56px 1fr;
		gap: 16px;
		padding: 24px 20px;
	}
	.tscp-cards--services .tscp-card-icon-wrap {
		width: 56px;
		height: 56px;
	}
	.tscp-callout {
		padding: 30px 22px 26px;
	}
	.tscp-pullquote {
		padding-left: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tscp-card-photo {
		transition: none;
	}
}

/* ---------- Drop caps ----------
 * The theme drop-caps every paragraph in .main-page-info. On long pages that's
 * one per paragraph; keep it only on a text block given el_class "tscp-dropcap"
 * (its first paragraph). */

.main-page-info .wpb_text_column > .wpb_wrapper > p::first-letter {
	float: none !important;
	position: static !important;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

.main-page-info .wpb_text_column.tscp-dropcap > .wpb_wrapper > p:first-child::first-letter {
	float: left !important;
	font-family: 'Playfair Display', serif !important;
	font-size: 93px !important;
	height: 66px !important;
	line-height: 66px !important;
	padding-right: 10px !important;
}

.chrome .main-page-info .wpb_text_column.tscp-dropcap > .wpb_wrapper > p:first-child::first-letter,
.safari .main-page-info .wpb_text_column.tscp-dropcap > .wpb_wrapper > p:first-child::first-letter {
	margin-top: -14px !important;
}

/* ---------- Wide blocks: break out of the theme's narrow text column ----------
 * The page body is ~720px wide (.main-p-sec). Diagrams and the shifts panels
 * need more room, so on desktop they widen to 1100px, centered on the column. */

@media (min-width: 992px) {
	.tscp-breakout {
		position: relative;
		left: 50%;
		width: min(1100px, calc(100vw - 64px));
		max-width: none;
		transform: translateX(-50%);
	}
}

/* ---------- Zoomable image ---------- */

.tscp-zoom {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	text-align: inherit;
}

.tscp-zoom:focus-visible {
	outline: 3px solid var(--tscp-blue);
	outline-offset: 4px;
}

.tscp-zoom-hint {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border-radius: 999px;
	background: rgba(30, 30, 30, 0.78);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	pointer-events: none;
	transition: background 0.2s;
}

.tscp-zoom-hint::before {
	content: "";
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 5px 5px 0 -3px #fff;
}

.tscp-zoom:hover .tscp-zoom-hint,
.tscp-zoom:focus-visible .tscp-zoom-hint {
	background: var(--tscp-blue-dark);
}

@media (hover: none) {
	.tscp-zoom-hint {
		font-size: 0;
		padding: 9px;
	}
	.tscp-zoom-hint::after {
		content: "Tap to enlarge";
		font-size: 14px;
	}
}

html.tscp-zoom-lock {
	overflow: hidden;
}

.tscp-zoom-dialog {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(15, 20, 25, 0.92);
	overflow: hidden;
}

.tscp-zoom-dialog::backdrop {
	background: rgba(15, 20, 25, 0.92);
}

.tscp-zoom-stage {
	width: 100%;
	height: 100%;
	overflow: auto;
	display: flex;
	-webkit-overflow-scrolling: touch;
}

.tscp-zoom-stage img {
	display: block;
	margin: auto;
	max-width: calc(100vw - 48px);
	max-height: calc(100dvh - 48px);
	width: auto;
	height: auto;
	background: #fff;
	border-radius: 6px;
	cursor: zoom-in;
}

.tscp-zoom-stage.is-zoomed img {
	max-width: none;
	max-height: none;
	width: 2200px;
	margin: 24px;
	cursor: zoom-out;
}

/* Phones: open wide enough to read; pan and pinch from there. */
@media (max-width: 767px) {
	.tscp-zoom-stage img {
		max-width: none;
		max-height: none;
		width: 1100px;
		margin: 60px 16px 16px;
	}
	.tscp-zoom-stage.is-zoomed img {
		width: 1800px;
	}
}

.tscp-zoom-close {
	position: fixed;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--tscp-ink);
	font-size: 28px;
	line-height: 44px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.tscp-zoom-close:focus-visible {
	outline: 3px solid var(--tscp-yellow);
	outline-offset: 2px;
}

/* ---------- Sticky section bar (built by tscp-blocks.js) ---------- */

.tscp-jumpbar {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 990;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--tscp-line);
	box-shadow: 0 6px 18px -12px rgba(0, 0, 0, 0.35);
	transform: translateY(-110%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.tscp-jumpbar.is-visible {
	transform: none;
	visibility: visible;
	transition: transform 0.25s ease;
}

.tscp-jumpbar .tscp-jumps {
	flex-wrap: nowrap;
	margin: 0 auto;
	padding: 10px 16px;
	max-width: 1100px;
	overflow-x: auto;
	scrollbar-width: none;
}

.tscp-jumpbar .tscp-jumps::-webkit-scrollbar {
	display: none;
}

.tscp-jumpbar .tscp-jumps li {
	flex: 0 0 auto;
}

.tscp-jumpbar .tscp-jumps a {
	padding: 7px 16px;
	border-color: var(--tscp-blue);
	font-size: 15px;
	color: var(--tscp-blue-dark) !important;
	white-space: nowrap;
}

.tscp-jumpbar .tscp-jumps a:hover,
.tscp-jumpbar .tscp-jumps a:focus-visible {
	background: var(--tscp-blue-20);
	color: var(--tscp-blue-dark) !important;
}

.tscp-jumpbar .tscp-jumps a.is-current {
	background: var(--tscp-blue-dark);
	border-color: var(--tscp-blue-dark);
	color: #fff !important;
}

@media (max-width: 767px) {
	.tscp-jumpbar .tscp-jumps {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tscp-jumpbar,
	.tscp-jumpbar.is-visible {
		transition: none;
	}
}

/* ---------- Lift: first white panel overlaps the banner ----------
 * Add el_class "tscp-lift" to the gray .main-p-sec row right under a banner. */

.main-p-sec.tscp-lift {
	position: relative;
	z-index: 2;
	padding-top: 0 !important;
}

.main-p-sec.tscp-lift > .container > .vc_column_container > .vc_column-inner > .wpb_wrapper > .main-p-row:first-child {
	position: relative;
	margin-top: -24px !important;
	box-shadow: 0 -8px 22px -14px rgba(0, 40, 60, 0.35);
}

@media (max-width: 767px) {
	.main-p-sec.tscp-lift > .container > .vc_column_container > .vc_column-inner > .wpb_wrapper > .main-p-row:first-child {
		margin-top: -16px !important;
	}
}

/* ---------- Six Levers graphic ([tscp_levers]) ----------
 * Default (narrow): a numbered list. Wide containers: the fan diagram, with
 * lever text positioned over the SVG artwork (2000 × 1125 coordinate box). */

.tscp-levers {
	container-type: inline-size;
	container-name: tscp-levers;
	margin: 28px 0 0;
}

.tscp-levers-art {
	display: none;
}

.tscp-levers-center {
	display: inline-block;
	margin: 0 0 16px;
	padding: 8px 18px;
	border-radius: 999px;
	background: #1f6ea6;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
}

.tscp-levers-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.tscp-lever {
	position: relative;
	display: grid;
	grid-template-columns: 38px 40px 1fr;
	grid-template-areas:
		"badge icon name"
		"badge icon desc";
	column-gap: 12px;
	align-items: start;
	margin: 0;
	padding: 14px 16px;
	list-style: none;
	background: #fff;
	border-radius: 10px;
	border-left: 5px solid #1f6ea6;
}

.tscp-lever--green {
	border-left-color: #17a673;
}

.tscp-lever-badge {
	grid-area: badge;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #1f6ea6;
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	line-height: 34px;
	text-align: center;
}

.tscp-lever--green .tscp-lever-badge {
	background: #08784f;
}

.tscp-lever-icon {
	grid-area: icon;
	width: 40px;
	height: 40px;
}

.tscp-lever-name {
	grid-area: name;
	display: block;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.25;
	color: #1a5f8f;
}

.tscp-lever--green .tscp-lever-name {
	color: #08784f;
}

.tscp-lever-desc {
	grid-area: desc;
	display: block;
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.45;
	color: #333;
}

.tscp-lever-desc strong {
	color: #1e1e1e;
}

.tscp-lever:focus-visible {
	outline: 3px solid #1f6ea6;
	outline-offset: 3px;
}

/* --- Fan diagram --- */

@container tscp-levers (min-width: 820px) {

	.tscp-levers-stage {
		position: relative;
		aspect-ratio: 2000 / 1125;
	}

	.tscp-levers-art {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.tscp-levers-list {
		display: block;
	}

	.tscp-lever {
		position: absolute;
		display: block;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 12px;
		transform-origin: left top;
		transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, padding 0.22s ease, margin 0.22s ease;
		cursor: zoom-in;
	}

	.tscp-lever-badge {
		display: none;
	}

	.tscp-lever-icon {
		display: block;
		width: 2.3cqw;
		height: 2.3cqw;
		margin-bottom: 0.7cqw;
	}

	.tscp-lever-name {
		font-size: max(13px, 1.3cqw);
		margin-bottom: 0.5cqw;
	}

	.tscp-lever-desc {
		margin: 0;
		font-size: max(12px, 1.12cqw);
		line-height: 1.4;
	}

	.tscp-lever-desc strong {
		display: block;
	}

	/* Positions, from the original artwork. */
	.tscp-lever--1 { left: 14.9%;  top: 66.2%; width: 13.5%; transform-origin: left bottom; }
	.tscp-lever--2 { left: 23.8%;  top: 37.8%; width: 16%; }
	.tscp-lever--3 { left: 39.85%; top: 22.2%; width: 12%; }
	.tscp-lever--4 { left: 54.85%; top: 20.9%; width: 14%; }
	.tscp-lever--5 { left: 69.95%; top: 42.5%; width: 14%; }
	.tscp-lever--6 { left: 77.05%; top: 70%;   width: 16.5%; transform-origin: right bottom; }

	.tscp-levers-center {
		position: absolute;
		left: 47.25%;
		top: 88%;
		width: 11.8%;
		height: 8.9%;
		margin: 0;
		padding: 0 0.5cqw;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		border-radius: 999px;
		font-size: max(12px, 1.15cqw);
		line-height: 1.15;
	}

	/* Hover / keyboard focus: enlarge this lever, dim the rest. */
	.tscp-lever:hover,
	.tscp-lever:focus-visible {
		z-index: 5;
		margin: -0.9cqw -1.1cqw;
		padding: 0.9cqw 1.1cqw;
		background: #fff;
		box-shadow: 0 18px 40px -16px rgba(0, 40, 60, 0.45);
		transform: scale(1.55);
		outline-offset: 0;
	}

	.tscp-levers-stage:has(.tscp-lever:hover, .tscp-lever:focus-visible) .tscp-lever:not(:hover):not(:focus-visible) {
		opacity: 0.35;
	}

	.tscp-levers-spoke,
	.tscp-levers-num {
		transition: opacity 0.22s ease;
	}

	.tscp-levers-stage:has(.tscp-lever:hover, .tscp-lever:focus-visible) :is(.tscp-levers-spoke, .tscp-levers-num) {
		opacity: 0.25;
	}

	.tscp-levers-stage:has(.tscp-lever--1:is(:hover, :focus-visible)) :is(.tscp-levers-spoke--1, .tscp-levers-num--1),
	.tscp-levers-stage:has(.tscp-lever--2:is(:hover, :focus-visible)) :is(.tscp-levers-spoke--2, .tscp-levers-num--2),
	.tscp-levers-stage:has(.tscp-lever--3:is(:hover, :focus-visible)) :is(.tscp-levers-spoke--3, .tscp-levers-num--3),
	.tscp-levers-stage:has(.tscp-lever--4:is(:hover, :focus-visible)) :is(.tscp-levers-spoke--4, .tscp-levers-num--4),
	.tscp-levers-stage:has(.tscp-lever--5:is(:hover, :focus-visible)) :is(.tscp-levers-spoke--5, .tscp-levers-num--5),
	.tscp-levers-stage:has(.tscp-lever--6:is(:hover, :focus-visible)) :is(.tscp-levers-spoke--6, .tscp-levers-num--6) {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tscp-lever,
	.tscp-levers-spoke,
	.tscp-levers-num {
		transition: none !important;
	}
}

/* Theme may not define it everywhere. */
.tscp-levers .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Links inside running text need more than color to stand out (WCAG 1.4.1). */
.tscp-card-body a,
.tscp-callout a,
.tscp-quote a,
.wpb_text_column p a {
	text-decoration: underline;
}

/* Project cards: the title link stretches over the whole card, so the photo
   stays clickable without a second link. Other links sit above it. */
.tscp-cards--projects .tscp-card {
	position: relative;
}

.tscp-cards--projects .tscp-card-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.tscp-cards--projects .tscp-card-body a,
.tscp-cards--projects .tscp-card-more {
	position: relative;
	z-index: 2;
}
