/**
 * SAV Content — editorial templates.
 *
 * Values come from the Figma frame "Desktop 1440 · SEO 01": 1200px content,
 * a 280 / 760 split on a 120px gutter, 28px rhythm down the article.
 * Colours reference the theme's tokens so a token change carries through.
 */

/* ---------------------------------------------------------------- shell  */

/* `clip`, not `hidden`: the washes sit 270px past the right edge and would
   otherwise let the page scroll sideways at every width. `hidden` would make
   this a scroll container and kill the sticky contents column. */
.savc {
	position: relative;
	isolation: isolate;
	overflow-x: clip;
	background: var(--sav-paper, #fbfcfe);
}

/* The theme sizes every `main h1` and `main h2` with !important, so the
   article's heading scale is set through the custom properties that rule reads
   rather than by trying to outrank it. The line heights are the Figma pixel
   values over the font size: 58/52 and 38/30. */
.savc-story {
	--sav-h1-fs: clamp(34px, 3.6vw, 52px);
	--sav-h1-lh: 1.115385;
	--sav-h1-ls: -0.03em;
	--sav-h2-fs: clamp(24px, 2.1vw, 30px);
	--sav-h2-lh: 1.266667;
	--sav-h2-ls: -0.02em;
}

.savc > * {
	position: relative;
	z-index: 1;
}

.savc-wash {
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	pointer-events: none;
}

.savc-wash--sky {
	top: -380px;
	left: -330px;
	width: 620px;
	height: 620px;
	background: rgba(125, 211, 252, 0.3);
	filter: blur(50px);
}

.savc-wash--electric {
	top: -320px;
	right: -270px;
	width: 560px;
	height: 560px;
	background: rgba(59, 130, 246, 0.17);
	filter: blur(50px);
}

.savc-rule {
	display: block;
	width: 100%;
	height: 1px;
	background: var(--sav-rule, #e3e8f0);
}

.savc-caption {
	margin: 0;
	font: 400 13px/20px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-faint, #8a93a3);
}

/* --------------------------------------------------------------- button  */

.savc-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--sav-electric, #3b82f6);
	color: #fff;
	font: 500 14px/18px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	text-decoration: none;
	transition: background var(--motion-fast, 150ms) var(--ease-standard, ease);
}

.savc-btn:hover,
.savc-btn:focus-visible {
	background: var(--sav-electric-mid, #2f73e0);
	color: #fff;
}

.savc-btn--lg {
	flex: none;
	padding: 14px 22px;
	font-size: 15px;
	line-height: 20px;
}

/* --------------------------------------------------------------- archive */

/* Same reason as .savc-story above: the theme's `main h1` rule is !important,
   so the index headline is sized through the properties that rule reads. 58/52
   is the Figma line height. */
.savc-archive {
	--sav-h1-fs: clamp(34px, 3.6vw, 52px);
	--sav-h1-lh: 1.115385;
	--sav-h1-ls: -0.03em;
}

.savc-archive__head {
	padding-top: calc(var(--sav-header-top, 32px) + var(--sav-header-h, 62px) + 56px);
	padding-bottom: 72px;
}

/* No gap here: the theme forces margin-right on `.slashes` followed by a
   `.kicker`, so a gap as well would double the space. */
.savc-archive__kicker {
	display: flex;
	align-items: center;
	margin: 0 0 18px;
}

.savc-archive__kicker .slashes {
	display: block;
	width: 22px;
	flex: none;
	color: var(--sav-electric, #3b82f6);
}

.savc-archive__kicker .slashes svg {
	display: block;
	width: 100%;
	height: auto;
}

.savc-archive__kicker .kicker {
	/* The theme's .kicker carries a 16px bottom margin for stacked use. */
	margin: 0;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-archive__title {
	max-width: 1040px;
	margin: 0;
	font-family: var(--sav-font-sans, "Geist", system-ui, sans-serif);
	font-weight: 600;
	line-height: 1.115385;
	letter-spacing: -0.03em;
	text-wrap: balance;
	color: var(--sav-ink, #0a0c10);
}

.savc-archive__sub {
	max-width: 780px;
	margin: 20px 0 0;
	font: 400 clamp(17px, 1.4vw, 20px) / 1.5 var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

.savc-archive__body {
	padding-bottom: 100px;
}

/* No `align-items: start` here: that sizes every card to its own content, so
   a card with a three-line title stands taller than the rest of its row and the
   read time stops lining up. Grid stretches by default, the card body is
   `flex: 1 1 auto` with `space-between`, and the row comes out level with the
   meta line pinned to the bottom -- which is what Figma draws, every card 384
   tall. */
.savc-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	/* Equal rows, so the second row matches the first and every card on the
	   page is the same height -- Figma draws them all at 384. */
	grid-auto-rows: 1fr;
	gap: 24px;
}

/* The blog grid runs tighter across and looser down than the client-story
   one: 20px between columns, 28px between rows. Figma hugs its three 380px
   cards at 1180px, 20px short of the 1200 content width; the cards here keep
   filling the 1200 so the row still lines up with everything above it. */
.savc-archive__grid--blog {
	column-gap: 20px;
	row-gap: 28px;
}

.savc-archive__empty {
	margin: 0;
	font: 400 18px/30px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

.savc-archive .pagination,
.savc-archive .nav-links {
	margin-top: 48px;
}

/* ------------------------------------------------------- article header  */

/* The theme's nav floats over the page, so the first section has to clear it:
   32px top offset + 62px nav + the 56px gap the Figma frame leaves below it. */
.savc-story__head {
	padding-top: calc(var(--sav-header-top, 32px) + var(--sav-header-h, 62px) + 56px);
	padding-bottom: 48px;
}

.savc-story__head > .container > * + * {
	margin-top: 20px;
}

.savc-story__crumbs {
	display: flex;
	align-items: center;
	gap: 16px;
}

.savc-story__back {
	font: 500 14px/18px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-electric, #3b82f6);
	text-decoration: none;
}

.savc-story__back:hover {
	text-decoration: underline;
}

.savc-story__path {
	margin-left: auto;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-story__cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	font: 400 10px/12px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.savc-story__cat {
	color: var(--sav-electric, #3b82f6);
}

.savc-story__cat-rest {
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-story__title {
	max-width: 1040px;
	margin: 0;
	font-family: var(--sav-font-sans, "Geist", system-ui, sans-serif);
	font-weight: 600;
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.115;
	letter-spacing: -0.03em;
	text-wrap: balance;
	color: var(--sav-ink, #0a0c10);
}

.savc-story__deck {
	max-width: 780px;
	margin: 0;
	font: 400 clamp(17px, 1.4vw, 20px) / 1.5 var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

/* ------------------------------------------------------------- byline  */

.savc-story__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding-top: 8px;
}

.savc-story__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex: none;
}

.savc-story__author {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.savc-story__author-name {
	font: 500 15px/20px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
}

.savc-story__author-org {
	font: 400 13px/17px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-story__dot {
	font: 400 14px/18px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-story__date,
.savc-story__read {
	font: 400 14px/18px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

.savc-story__share {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.savc-story__share-label {
	font: 400 10px/12px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-story__share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 50%;
	background: var(--sav-paper-raised, #fff);
	font: 600 13px/17px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
	text-decoration: none;
	transition: border-color var(--motion-fast, 150ms) var(--ease-standard, ease);
}

.savc-story__share-link:hover {
	border-color: var(--sav-electric, #3b82f6);
	color: var(--sav-electric, #3b82f6);
}

.savc-story__share-copy {
	padding: 0;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.savc-story__share-copy.is-copied {
	border-color: var(--sav-electric, #3b82f6);
	color: var(--sav-electric, #3b82f6);
}

/* ------------------------------------------------------- featured image  */

.savc-story__hero {
	margin: 0;
	padding-bottom: 72px;
}

.savc-story__hero-media {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 1200 / 620;
	background: var(--sav-paper-tint, #f1f5fb);
}

.savc-story__hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.savc-story__hero .savc-caption {
	margin-top: 12px;
}

.savc-story__play {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(10, 12, 16, 0.62);
	backdrop-filter: blur(var(--sav-blur, 4px));
}

.savc-story__play::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent #fff;
}

/* ------------------------------------------------------------ body grid  */

.savc-story__body {
	display: grid;
	grid-template-columns: 280px minmax(0, 760px);
	gap: 120px;
	justify-content: start;
	align-items: start;
}

/* The theme's variables describe the header at rest (32 + 62 = 94px). Once
   the page scrolls it takes `.is-stuck` and shrinks to 12 + 56 = 68px, and
   the stuck state is the only one a sticky column ever sits beside — but the
   theme exposes no variable for it. Adding 16px to the at-rest figure lands
   ~42px below the stuck header, and still clears it by 16px if the shrink
   ever goes away. */
.savc-story__aside {
	position: sticky;
	top: calc(var(--sav-header-top, 32px) + var(--sav-header-h, 62px) + 16px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* The admin bar pushes the fixed header down by 32px but leaves the sticky
   offset — measured from the viewport — where it was, so a logged-in editor
   sees the column tucked under the header. Only the 32px bar matters here:
   the sidebar stops being sticky below 1024px, well above the width where
   WordPress switches to the taller bar. */
.admin-bar .savc-story__aside {
	top: calc(var(--sav-header-top, 32px) + var(--sav-header-h, 62px) + 48px);
}

.savc-story__toc-label {
	margin: 0;
	font: 400 10px/12px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-story__toc {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.savc-story__toc-link {
	font: 400 14px/20px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
	text-decoration: none;
	transition: color var(--motion-fast, 150ms) var(--ease-standard, ease);
}

.savc-story__toc-link:hover,
.savc-story__toc-link.is-current {
	font-weight: 500;
	color: var(--sav-electric, #3b82f6);
}

/* --------------------------------------------------------- sidebar card  */

/* Flex `gap` rather than sibling margins: the theme zeroes <p> margins with
   !important, which killed the title → body gap (the button, an <a>, kept its).
   `gap` is immune to that and spaces every child evenly. */
.savc-side-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 12px;
	background: var(--sav-paper-raised, #fff);
}

.savc-side-cta__title {
	margin: 0;
	font: 600 18px/23px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
}

.savc-side-cta__body {
	margin: 0;
	font: 400 14px/21px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

/* ---------------------------------------------------------------- prose  */

/* Reset first with :where() so it carries no specificity, then let the rhythm
   rule below win. Setting margin on the element selectors instead would
   outrank the sibling rule and collapse the spacing. */
.savc-prose :where(p, h2, h3, ul, ol, figure, blockquote, .wp-block-image) {
	margin: 0;
}

.savc-story__article > * + * {
	margin-top: 28px;
}

.savc-prose > * + * {
	margin-top: 28px;
}

.savc-prose p {
	font: 400 18px/30px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

/* The opening paragraph carries the article, so it sits a step up. */
.savc-prose > p:first-child {
	font-size: 21px;
	line-height: 34px;
	color: var(--sav-ink, #0a0c10);
}

.savc-prose h2 {
	font-family: var(--sav-font-sans, "Geist", system-ui, sans-serif);
	font-weight: 600;
	text-wrap: balance;
	color: var(--sav-ink, #0a0c10);
	scroll-margin-top: calc(var(--sav-header-top, 32px) + var(--sav-header-h, 62px) + 24px);
}

.savc-prose h3 {
	font: 600 22px/30px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	letter-spacing: -0.012em;
	color: var(--sav-ink, #0a0c10);
	scroll-margin-top: calc(var(--sav-header-top, 32px) + var(--sav-header-h, 62px) + 24px);
}

.savc-prose strong {
	font-weight: 600;
	color: var(--sav-ink, #0a0c10);
}

.savc-prose a {
	color: var(--sav-electric, #3b82f6);
	text-decoration: none;
}

.savc-prose a:hover {
	text-decoration: underline;
}

.savc-prose ul,
.savc-prose ol {
	padding-left: 22px;
	font: 400 18px/30px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

.savc-prose li + li {
	margin-top: 8px;
}

.savc-prose img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.savc-prose figcaption {
	margin-top: 12px;
	font: 400 13px/20px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-prose blockquote {
	padding: 0;
	border: 0;
}

.savc-prose blockquote p {
	font: 500 24px/36px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	letter-spacing: -0.012em;
	color: var(--sav-ink, #0a0c10);
}

/* ----------------------------------------------------- blog differences  */

/* The blog frame starts its header lower and stacks the crumb under the
   back link, where a client story runs them on one line. */
.savc-story--post .savc-story__head {
	padding-top: calc(var(--sav-header-top, 32px) + var(--sav-header-h, 62px) + 110px);
}

.savc-story--post .savc-story__crumbs {
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.savc-story--post .savc-story__path {
	display: flex;
	align-items: center;
	margin-left: 0;
}

.savc-story--post .savc-story__path .slashes {
	display: block;
	width: 26px;
	flex: none;
	/* The theme only puts a margin on a `.slashes` followed by a `.kicker`,
	   and this trail is not one, so the gap is set here. Figma puts the
	   text at x=40 against a 26px mark, so the gap is 14. */
	margin-right: 14px;
	color: var(--sav-electric, #3b82f6);
}

/* The trail reads as one grey line at rest; only hover shows it is clickable. */
.savc-story__crumb {
	color: inherit;
	text-decoration: none;
}

a.savc-story__crumb:hover,
a.savc-story__crumb:focus-visible {
	color: var(--sav-electric, #3b82f6);
	text-decoration: underline;
}

.savc-story--post .savc-story__path .slashes svg {
	display: block;
	width: 100%;
	height: auto;
}

.savc-story--post .savc-story__avatar {
	width: 44px;
	height: 44px;
}

.savc-story--post .savc-story__hero-media {
	aspect-ratio: 16 / 9;
	border-radius: 16px;
}

.savc-story--post .savc-story__byline {
	padding-top: 12px;
}

/* ------------------------------------------------- in 60 seconds (dark)  */

.savc-brief {
	padding: 32px;
	border-radius: 16px;
	background: var(--sav-ink, #0a0c10);
}

.savc-brief__label {
	margin: 0 0 16px;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

.savc-brief__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: savc-brief;
}

.savc-brief__item {
	display: flex;
	gap: 14px;
	counter-increment: savc-brief;
	font: 500 17px/26px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: #fff;
}

.savc-brief__item::before {
	content: counter(savc-brief, decimal-leading-zero);
	flex: none;
	width: 17px;
	font: 400 13px/26px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	color: var(--sav-electric, #3b82f6);
}

/* -------------------------------------------------------- short version  */

.savc-short {
	padding: 28px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 12px;
	background: var(--sav-paper-raised, #fff);
}

.savc-short__label {
	margin: 0 0 16px;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

.savc-short__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.savc-short__item {
	display: flex;
	gap: 12px;
}

.savc-short__tick {
	flex: none;
	font: 500 15px/28px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-electric, #3b82f6);
}

.savc-short__text {
	font: 500 17px/28px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
}

/* -------------------------------------------------------------- callout  */

.savc-callout {
	padding: 32px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 12px;
	background: var(--sav-paper-raised, #fff);
}

/* The tinted variant carries an example or an aside rather than a list. */
.savc-callout--tint {
	padding: 24px;
	border: 0;
	background: #edf2ff;
}

.savc-callout__label {
	margin: 0 0 16px;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

.savc-callout--tint .savc-callout__label {
	margin-bottom: 10px;
}

.savc-callout__body ul,
.savc-callout__body ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: savc-callout;
}

.savc-callout__body li {
	display: flex;
	gap: 14px;
	counter-increment: savc-callout;
	font: 500 17px/28px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
}

.savc-callout__body li + li {
	margin-top: 16px;
}

.savc-callout__body li::before {
	content: counter(savc-callout, decimal-leading-zero);
	flex: none;
	width: 17px;
	font: 400 13px/28px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	color: var(--sav-electric, #3b82f6);
}

.savc-callout__body p {
	margin: 0;
	font: 500 17px/28px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
}

.savc-callout__body p + p {
	margin-top: 12px;
}

/* ---------------------------------------------------------------- stats  */

/* Boxed: one bordered panel around the whole row, for a set of figures that
   share a source line. Unboxed: each figure sits in its own card. */
.savc-stats--boxed {
	padding: 28px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 12px;
	background: var(--sav-paper-raised, #fff);
}

.savc-stats__row {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

/* Grid, not flex: auto-fit reproduces the Figma widths exactly at 760 (three
   at 242.67, two at 372, one at 760) and reflows to fewer columns when the
   article narrows, instead of letting a lone card stretch across the row. */
.savc-stats:not(.savc-stats--boxed) .savc-stats__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.savc-stat {
	display: flex;
	flex: 1 1 140px;
	flex-direction: column;
	gap: 6px;
}

.savc-stats:not(.savc-stats--boxed) .savc-stat {
	padding: 24px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 12px;
	background: var(--sav-paper-raised, #fff);
}

.savc-stat__figure {
	display: flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
}

.savc-stat__value {
	font: 600 32px/42px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	color: var(--sav-ink, #0a0c10);
}

.savc-stat__suffix {
	font: 400 14px/18px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-stat__label {
	font: 400 11px/16px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

/* Inside the bordered panel the label is a quiet caption, not a highlight. */
.savc-stats--boxed .savc-stat__label {
	letter-spacing: 0.12em;
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-stats__source {
	margin: 18px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--sav-rule, #e3e8f0);
	font: 400 13px/20px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-stats:not(.savc-stats--boxed) .savc-stats__source {
	border-top: 0;
	padding-top: 0;
	margin-top: 14px;
}

/* ----------------------------------------------------------- pull quote  */

/* No margin here on purpose: `.savc-prose > * + *` sets the article's 28px
   rhythm, and a margin on this rule would sit later in the file at the same
   specificity and cancel it, leaving the quote stuck to the paragraph above.
   The callout and inline CTA are placed the same way. */
.savc-pull {
	padding: 6px 0 6px 28px;
	border-left: 3px solid var(--sav-electric, #3b82f6);
}

.savc-pull__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.savc-pull__quote p {
	margin: 0;
	font: 600 26px/36px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	letter-spacing: -0.015em;
	color: var(--sav-ink, #0a0c10);
}

.savc-pull__cite {
	margin: 14px 0 0;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

/* ----------------------------------------------------------- inline cta  */

.savc-inline-cta {
	padding: 24px;
	border-radius: 12px;
	background: #edf2ff;
}

.savc-inline-cta__label {
	margin: 0 0 8px;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

.savc-inline-cta__text {
	margin: 0;
	font: 600 18px/23px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
}

.savc-inline-cta__link {
	display: inline-block;
	margin: 8px 0 0;
	font: 500 14px/18px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-electric, #3b82f6);
	text-decoration: none;
}

.savc-inline-cta__link:hover {
	text-decoration: underline;
}

/* ----------------------------------------------------------------- tags  */

/* A <p>, so its bottom margin is cleared here while the article's rhythm rule
   still owns the gap above it. */
.savc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 0;
	padding-top: 4px;
}

.savc-tag {
	padding: 7px 14px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 100px;
	background: var(--sav-paper-raised, #fff);
	font: 500 13px/17px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

/* ------------------------------------------------------------ author bio */

.savc-bio {
	display: flex;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 12px;
	background: var(--sav-paper-raised, #fff);
}

/* Blog posts sign off with an open row under a rule, not a card. */
.savc-bio--plain {
	gap: 20px;
	padding: 0;
	border: 0;
	background: none;
}

.savc-bio__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex: none;
}

.savc-bio--plain .savc-bio__avatar {
	width: 64px;
	height: 64px;
}

.savc-bio__copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.savc-bio--plain .savc-bio__copy {
	gap: 4px;
}

.savc-bio__label {
	font: 400 10px/12px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-bio__name {
	font: 500 15px/20px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink, #0a0c10);
}

.savc-bio--plain .savc-bio__name {
	font: 600 18px/23px var(--sav-font-sans, "Geist", system-ui, sans-serif);
}

.savc-bio__text {
	font: 400 15px/23px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-soft, #4a5261);
}

.savc-divider {
	display: block;
	width: 100%;
	height: 1px;
	background: var(--sav-rule, #e3e8f0);
}

/* -------------------------------------------------------------- cta band */

.savc-cta-area {
	padding-top: 120px;
	padding-bottom: 120px;
}

.savc-cta {
	display: flex;
	align-items: center;
	gap: 48px;
	padding: 56px;
	border-radius: 20px;
	background: var(--sav-ink, #0a0c10);
}

/* Flex `gap`, not sibling margins — the theme zeroes <p> margins with
   !important, which collapsed the label/title/body spacing to 0. */
.savc-cta__copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 14px;
}

.savc-cta__label {
	margin: 0;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

.savc-cta__title {
	margin: 0;
	font-family: var(--sav-font-sans, "Geist", system-ui, sans-serif);
	font-weight: 600;
	font-size: clamp(26px, 2.6vw, 36px);
	line-height: 1.166667;
	letter-spacing: -0.02em;
	text-wrap: balance;
	color: #fff;
}

.savc-cta__body {
	margin: 0;
	font: 400 17px/26px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: #bfc7d4;
}

/* ---------------------------------------------------------- keep reading */

.savc-more {
	padding-bottom: 100px;
	/* The theme sizes every `main h2` off --sav-h2-* with !important, which would
	   force this heading down to the 30px article scale. Raise those props for
	   this block so "Keep reading" lands at Figma's 36px / -0.72px. */
	--sav-h2-fs: clamp(26px, 2.6vw, 36px);
	--sav-h2-lh: 1.2;
	--sav-h2-ls: -0.02em;
}

.savc-more__label {
	margin: 0 0 32px;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

.savc-more__head {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 32px;
}

.savc-more__title {
	margin: 0;
	font-family: var(--sav-font-sans, "Geist", system-ui, sans-serif);
	font-weight: 600;
	font-size: clamp(26px, 2.6vw, 36px);
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--sav-ink, #0a0c10);
}

.savc-more__all {
	margin-left: auto;
	flex: none;
	font: 500 15px/20px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-electric, #3b82f6);
	text-decoration: none;
}

.savc-more__all:hover {
	text-decoration: underline;
}

.savc-more__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.savc-more__grid--blog {
	column-gap: 20px;
}

/* ----------------------------------------------------------------- card  */

.savc-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sav-rule, #e3e8f0);
	border-radius: 12px;
	background: var(--sav-paper-raised, #fff);
	text-decoration: none;
	transition:
		transform var(--motion-fast, 150ms) var(--ease-standard, ease),
		box-shadow var(--motion-fast, 150ms) var(--ease-standard, ease);
}

.savc-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sav-shadow-card, 0 10px 30px rgba(10, 13, 15, 0.08));
}

.savc-card__media {
	display: block;
	aspect-ratio: 382 / 216;
	background: var(--sav-paper-tint, #f1f5fb) center / cover no-repeat;
}

.savc-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 18px 20px;
}

.savc-card__top {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.savc-card__kicker {
	font: 400 10px/12px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

.savc-card__title {
	font: 600 20px/26px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	letter-spacing: -0.011em;
	color: var(--sav-ink, #0a0c10);
}

.savc-card__foot {
	display: block;
	padding-top: 10px;
	border-top: 1px solid var(--sav-rule, #e3e8f0);
}

.savc-card__meta {
	font: 400 13px/17px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	color: var(--sav-ink-faint, #8a93a3);
}

/* The blog card carries a resting shadow and no rule above the read time;
   the client-story card has neither. The hover rule above still wins on
   hover, since :hover adds specificity. */
.savc-card--blog {
	box-shadow: 0 2px 3px -1px rgba(10, 12, 16, 0.1);
}

.savc-card--blog .savc-card__foot {
	padding-top: 0;
	border-top: 0;
}

/* ----------------------------------------------------------- responsive  */

/* --------------------------------------------- prose specificity guards  */

/* `.savc-prose` styles the article's own p, figcaption and blockquote p.
   Those selectors are one class plus one type, so they outrank the
   single-class component rules above and they come first in the file. The
   values are re-stated here, scoped to .savc-prose, so the blocks keep their
   own design once they sit inside the article flow. */

.savc-prose .savc-callout__label,
.savc-prose .savc-inline-cta__label {
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-electric, #3b82f6);
}

.savc-prose .savc-inline-cta__text {
	font: 600 18px/23px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	letter-spacing: normal;
	color: var(--sav-ink, #0a0c10);
}

.savc-prose .savc-pull__quote p {
	font: 600 26px/36px var(--sav-font-sans, "Geist", system-ui, sans-serif);
	letter-spacing: -0.015em;
	color: var(--sav-ink, #0a0c10);
}

.savc-prose .savc-pull__cite {
	margin-top: 14px;
	font: 400 11px/13px var(--sav-font-mono, "Fragment Mono", ui-monospace, monospace);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sav-ink-faint, #8a93a3);
}

@media (max-width: 1240px) {
	.savc-story__body {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 64px;
	}
}

/* Below this the sticky column stops earning its width: the contents list
   goes, the audit card follows the article instead. */
@media (max-width: 1023px) {

	.savc-story__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.savc-story__aside {
		position: static;
		order: 2;
	}

	.savc-story__toc-label,
	.savc-story__toc {
		display: none;
	}

	.savc-story__article {
		order: 1;
	}

	.savc-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
		padding: 40px;
	}

	.savc-cta-area {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.savc-more__grid,
	.savc-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.savc-archive__head {
		padding-bottom: 48px;
	}
}

@media (max-width: 767px) {
	.savc-story__head {
		padding-top: calc(var(--sav-header-top, 16px) + var(--sav-header-h, 62px) + 32px);
		padding-bottom: 32px;
	}

	.savc-story__path {
		display: none;
	}

	.savc-story__share {
		width: 100%;
		margin-left: 0;
	}

	.savc-story__hero {
		padding-bottom: 48px;
	}

	.savc-story__hero-media {
		aspect-ratio: 4 / 3;
	}

	.savc-prose > p:first-child {
		font-size: 19px;
		line-height: 31px;
	}

	.savc-prose p,
	.savc-prose ul,
	.savc-prose ol {
		font-size: 17px;
		line-height: 28px;
	}

	.savc-short,
	.savc-bio {
		padding: 22px;
	}

	/* The bio stays a row at every width: the portrait is small enough that
	   stacking it only adds height. */
	.savc-bio {
		align-items: center;
		gap: 14px;
	}

	.savc-cta {
		padding: 28px;
	}

	.savc-more__grid,
	.savc-archive__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* One per row: equal rows would pad every short card out to the tallest
	   title on the page, which is a lot of empty card on a phone. */
	.savc-archive__grid {
		grid-auto-rows: auto;
	}

	.savc-more,
	.savc-archive__body {
		padding-bottom: 64px;
	}

	.savc-archive__head {
		padding-top: calc(var(--sav-header-top, 16px) + var(--sav-header-h, 62px) + 32px);
		padding-bottom: 36px;
	}

	.savc-wash--sky,
	.savc-wash--electric {
		width: 380px;
		height: 380px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.savc-card,
	.savc-btn {
		transition: none;
	}

	.savc-card:hover {
		transform: none;
	}
}
