/* Page compositions. Tokens come from theme.json. The wide drawings stay 2784px and clip inside #main. */

.site-chrome .site-header.mobile {
	display: none;
}


.home-hero,
.qualifiers,
.about-opener,
.about-road,
.start-hero,
.contact-hero,
.thanks,
.story-road {
	position: relative;
	overflow: hidden;
}

.home-hero {
	height: 973px;

	&::before {
		content: "";
		position: absolute;
		inset: 0 0 auto;
		height: 558px;
		background: url("../images/pages/sky-hero.webp") center top / cover no-repeat;
	}

	.linear-art {
		top: 44px;
	}
}

.home-hero .hero-layout,
.about-opener .alignwide,
.about-road .alignwide,
.start-hero .alignwide,
.story-hero-inner {
	position: relative;
	z-index: 1;
}

.home-hero .hero-layout {
	height: 100%;
}

.home-hero .hero-copy {
	display: grid;
	justify-items: center;
	padding-block-start: 64px;
	text-align: center;

	.heading-photo {
		display: flex;
		align-items: flex-start;
		gap: 29px;
		min-height: 132px;
	}

	h1 {
		align-self: center;
		width: 631px;
		white-space: nowrap;
	}

	.headshot {
		width: 166px;
		height: 180px;
		margin-left: -25px;
		transform: rotate(2deg);
	}

	> p {
		line-height: 31px;
		white-space: nowrap;
		max-width: 100%;
		margin-block: 24px;
	}
}

.home-hero .hero-quote {
	position: absolute;
	left: auto;
	width: min(320px, calc(100% - 48px));
	max-width: 320px;

	/* Anchored to the content box, not a 1344px left offset, so the cards stay inside the hero below 1440. */
	&:first-child {
		top: 457px;
		right: 112px;
	}

	&:last-child {
		top: 529px;
		right: 4px;
		width: min(292px, calc(100% - 64px));
		max-width: 292px;
	}
}

.home-hero h1,
.start-hero h1,
.about-opener h1,
.services-hero h1,
.thanks h1,
.document h1,
.story-hero h1 {
	margin: 0;
}

.home-hero .hero-copy p,
.start-hero .alignwide > p,
.services-hero .alignwide > p {
	margin-block: var(--wp--preset--spacing--space-3) var(--wp--preset--spacing--space-5);
	font-size: var(--wp--preset--font-size--large);
}

.services-hero .alignwide,
.what-you-get .alignwide,
.document .mast,
.document .entry {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: var(--wp--preset--spacing--space-3);
}

.about-road .beats li {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-3);
	padding: var(--wp--preset--spacing--space-4);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--base-background);
	box-shadow: var(--wp--preset--shadow--card-soft);
	text-align: center;
}

.about-road .beats p {
	margin: 0;
}

.about-opener .closer,
.about-road .closer {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-4);
}

.about-road .beats,
.what-you-get ul,
.lane-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--space-5);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-road .beats .icon,
.about-opener .closer .icon {
	width: var(--wp--preset--spacing--space-8);
	height: auto;
}

.services-hero,
.what-you-get,
.document {
	padding-block: var(--sec-s);
}

.home-blog .kicker,
.about-opener .eyebrow {
	margin: 0;
	color: var(--wp--preset--color--accent-hover);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--space-5);
	width: 100%;
	margin: var(--wp--preset--spacing--space-6) 0 0;
	padding: 0;
	list-style: none;
	text-align: start;
}

.article-grid li {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-3);
	padding: var(--wp--preset--spacing--space-4);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--base-lighter);
}

.article-grid .date {
	margin: 0;
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--small);
}

.article-grid h3 a {
	color: inherit;
	text-decoration: none;
}

.article-grid .excerpt {
	margin: 0;
}

.article-grid .text-link {
	margin-top: auto;
}

.services-hero {
	background: var(--wp--preset--color--base-lighter);
}

.lane-row {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: end;
	margin-block-start: var(--wp--preset--spacing--space-5);
}

.about-opener,
.start-hero {
	padding-block: var(--sec-s) var(--sec-m);
}

.about-opener .alignwide,
.start-hero .alignwide {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: var(--wp--preset--spacing--space-4);
}

.about-opener .closer {
	grid-auto-flow: column;
	align-items: center;
	margin-block-start: var(--wp--preset--spacing--space-6);
	font-size: var(--wp--preset--font-size--heading-4);
}

.about-road {
	padding-block: var(--sec-m);
}

.about-road .quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--space-4);
	width: 100%;
	margin-block: var(--wp--preset--spacing--space-8);
}

.start-hero .preview {
	display: grid;
	gap: var(--wp--preset--spacing--space-3);
	margin: var(--wp--preset--spacing--space-6) 0 0;
	padding: 0;
	list-style: none;
	text-align: start;
}

.start-hero .preview span {
	display: block;
	color: var(--wp--preset--color--accent-hover);
	font-size: var(--wp--preset--font-size--small);
}

.what-you-get ul {
	grid-template-columns: 1fr;
	max-width: 40rem;
	text-align: start;
}

.what-you-get .footer-cta {
	margin-block-start: var(--wp--preset--spacing--space-6);
}

.thanks {
	/* --art-w is the drawing's rendered width. The file is 3252 units wide with the design's 1440 art in the middle, so at 3252px the art is exactly the screen at 1440; below that it scales with the section (225.8cqw = 3252 / 1440). Everything else is a share of --art-w, so the sky and the drawing keep their relationship at every width. cqw = 1% of the section's width. */
	--art-w: min(3252px, 225.8cqw);
	container-type: inline-size;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 800px;
	padding: 64px 48px;

	/* The drawing is pinned to the bottom of the section, as in the design (it runs 207 units past the 800 frame). The sky fills the section from the top down to 314.5 units above the bottom, which is below the horizon line of the hills, so the hills' white fill always covers its lower edge and it never shows past them. The image position keeps the design's crop (402.5 of 1106 down) at 1440. */
	.sky {
		position: absolute;
		top: 0;
		bottom: calc(var(--art-w) * 0.0967);
		left: 0;
		width: 100%;
		background: url("../images/pages/thanks-sky.webp") 50% 64.86% / cover no-repeat;
		opacity: 0.5;
	}

	.linear-art {
		top: auto;
		bottom: calc(var(--art-w) * -0.0635);
		width: var(--art-w);
	}

	.letter {
		position: relative;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 32px;
		padding: 48px;
		border: 1px solid var(--wp--preset--color--contrast-subtle);
		border-radius: var(--wp--custom--radius--large);
		background: var(--wp--preset--color--base-lighter);
		box-shadow: 0 16px 32px -4px rgba(12, 12, 13, 0.1), 0 4px 4px -4px rgba(12, 12, 13, 0.05);
		text-align: center;
	}

	.copy {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
		width: 520px;

		.logo {
			width: 160.6px;
			height: auto;
		}

		h1 {
			width: 520px;
			margin: -8px 0 0;
			font-size: 48px;
			line-height: 1.05;
			letter-spacing: -0.96px;
		}

		p {
			margin: 0;
			color: var(--wp--preset--color--contrast-medium);
			font-size: 22px;
			line-height: 1.4;
		}

		.first,
		.signoff {
			width: 520px;
		}

		.second {
			width: 422px;
		}

		.signoff {
			color: var(--wp--preset--color--contrast-strongest);
			font-weight: 600;
		}
	}

	.signature {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 16px;
		width: 520px;
		padding-bottom: 8px;

		.photo {
			width: 100%;
			height: auto;
			aspect-ratio: 1008 / 720;
			border-radius: var(--wp--custom--radius--medium);
			object-fit: cover;
		}

		.sig {
			width: 195px;
			height: 80px;
		}
	}
}

.document .dek {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
}

.document .entry {
	justify-items: start;
	text-align: start;
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.document .entry p,
.document .entry li {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}

/* Legal pages (Privacy Policy 6550:9241, Disclosures 6620:4695) — body is editor content. */
.document--policy,
.document--disclosure {
	padding-block: 0;
}

.document--policy .mast,
.document--disclosure .mast {
	padding: 112px 98px var(--wp--preset--spacing--space-8);
	border-radius: 0 0 var(--wp--custom--radius--x-large) var(--wp--custom--radius--x-large);
	background: var(--wp--preset--color--base-lighter);
	text-align: start;
}

.document--policy .mast > .inner,
.document--disclosure .mast > .inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--space-5);
	box-sizing: border-box;
	width: 100%;
	max-width: 1344px;
	margin-inline: auto;
}

.document--policy .mast h1,
.document--disclosure .mast h1 {
	width: 100%;
	/* Fluid: 3rem at the 375 phone frame up to 5rem at the 1440 desktop frame. */
	font-size: clamp(3rem, 2.296rem + 3.005vw, 5rem);
	line-height: 1;
	letter-spacing: -0.02em;
}

.document--policy .dek,
.document--general .dek {
	max-width: 932px;
	color: var(--wp--preset--color--contrast-medium);
	line-height: 1.4;
}

.document--policy .dek p,
.document--general .dek p {
	margin: 0;
}

.document--policy .entry,
.document--disclosure .entry {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--wp--custom--section-space--small) var(--wp--custom--site--margin) var(--wp--custom--section-space--main);
	text-align: start;
}

.document--policy .entry > .inner,
.document--disclosure .entry > .inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--wp--preset--spacing--space-4);
	box-sizing: border-box;
	width: 100%;
	max-width: 1344px;
	margin-inline: auto;
}

.document--policy .entry > .inner > *,
.document--disclosure .entry > .inner > * {
	margin: 0;
}

.document--policy .entry p,
.document--disclosure .entry p {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.document--policy .entry h2,
.document--policy .entry h3,
.document--policy .entry > .inner > p:has(+ ol) {
	font-family: var(--wp--preset--font-family--heading);
	/* Fluid: 1.5rem at 375 up to 2rem at 1440. */
	font-size: clamp(1.5rem, 1.324rem + 0.751vw, 2rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.64px;
}

.document--disclosure .entry h2 {
	/* Fluid: 2.5rem at 375 up to 4rem at 1440. */
	font-size: clamp(2.5rem, 1.972rem + 2.254vw, 4rem);
	letter-spacing: -0.02em;
}

/* General pages: section headings at the policy scale rather than the Disclosures scale. */
.document--general .entry h2,
.document--general .entry h3 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.5rem, 1.324rem + 0.751vw, 2rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.document--policy .entry > .inner > * + h2,
.document--policy .entry > .inner > * + h3,
.document--policy .entry > .inner > ol + p,
.document--policy .entry > .inner > * + .contact-card,
.document--disclosure .entry > .inner > * + h2 {
	margin-top: var(--wp--preset--spacing--space-3);
}

.document--policy .entry > .inner > p:has(+ ol) {
	margin-top: var(--wp--preset--spacing--space-3);
	margin-bottom: var(--wp--preset--spacing--space-1);
}

.document--policy .entry > .inner > p:first-child {
	margin-top: 0;
}

.document--policy .entry ol {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-3);
	padding: 0;
	list-style: none;
	counter-reset: clause;
}

.document--policy .entry ol li {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--space-3);
	padding: var(--wp--preset--spacing--space-3);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--base-lighter);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	line-height: 1.4;
	counter-increment: clause;
}

.document--policy .entry ol li::before {
	content: counter(clause);
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--wp--custom--radius--round);
	background: var(--wp--preset--color--accent-brand);
	color: var(--wp--preset--color--base-subtle);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.14px;
	line-height: 1.6;
}

.document--policy .contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--space-2);
	padding: var(--wp--preset--spacing--space-6);
	text-align: start;
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--accent-brand);
}

/* WordPress's constrained layout sets margin-inline: auto !important on children, which centers them in this flex column. */
.document--policy .contact-card > * {
	margin: 0 !important;
}

.document--policy .contact-card h2,
.document--policy .contact-card h3 {
	margin: 0;
	color: var(--wp--preset--color--base-subtle);
}

.document--policy .contact-card p,
.document--policy .contact-card a {
	color: var(--wp--preset--color--base-background);
	font-weight: 600;
	text-decoration: none;
}

/* Terms of Use — bullet lists inside the policy layout. */
.document--terms .entry ul,
.document--general .entry ul,
.document--general .entry ol {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-2);
	margin: 0;
	padding-inline-start: 1.5em;
}

.document--terms .entry li,
.document--general .entry li {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.document--terms .entry a,
.document--general .entry a {
	color: var(--wp--preset--color--accent-brand);
	font-weight: 600;
	text-decoration: underline;
	text-underline-position: from-font;
}

.document--disclosure .entry p.form-link,
.document--disclosure .entry p.form-link a {
	color: var(--wp--preset--color--accent-brand);
	font-weight: 600;
}

.document--disclosure .entry p.form-link a {
	text-decoration: underline;
	text-underline-position: from-font;
}

@media (max-width: 1024px) {
	.document--policy .mast,
	.document--disclosure .mast {
		padding: var(--wp--preset--spacing--space-9) var(--wp--custom--site--margin) var(--wp--preset--spacing--space-8);
	}
}

@media (max-width: 767px) {
	.document--policy .mast,
	.document--disclosure .mast {
		padding: var(--wp--preset--spacing--space-8) 20px var(--wp--preset--spacing--space-7);
		border-radius: 0 0 var(--wp--custom--radius--large) var(--wp--custom--radius--large);
	}

	.document--policy .entry,
	.document--disclosure .entry {
		padding: var(--wp--preset--spacing--space-8) 20px var(--wp--custom--section-space--small);
	}

	.document--policy .entry p,
	.document--disclosure .entry p,
	.document--policy .entry ol li {
		font-size: var(--wp--preset--font-size--medium);
	}

	.document--terms .entry li,
	.document--general .entry li {
		font-size: var(--wp--preset--font-size--medium);
	}

	.document--policy .contact-card {
		padding: var(--wp--preset--spacing--space-4);
	}
}

/* Blog article (Figma 6550:9149). The body is editor content. */
.page-article .mast {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--space-4);
	padding-block: var(--wp--custom--section-space--small) var(--wp--preset--spacing--space-8);
	padding-inline: var(--wp--custom--site--margin);
	background: var(--wp--preset--color--base-lighter);
	text-align: center;
}

.page-article .eyebrow {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--space-3);
	margin: 0;
	color: var(--wp--preset--color--accent-brand);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.6;
	text-transform: uppercase;
}

.page-article .eyebrow a {
	color: inherit;
	text-decoration: none;
}

.page-article .eyebrow .icon {
	width: 0.625rem;
	height: 0.375rem;
	transform: rotate(-90deg);
}

.page-article .mast h1 {
	width: min(100%, 62.5rem);
	margin: 0;
	font-size: 5rem;
	letter-spacing: -1.6px;
}

.page-article .byline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.01em;
}

.page-article .byline .dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: var(--wp--custom--radius--round);
	background: var(--wp--preset--color--accent-hover);
}

.page-article .dek {
	margin: 0;
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.page-article .hero-band {
	padding-inline: var(--wp--preset--spacing--space-5);
	padding-block-end: var(--wp--preset--spacing--space-7);
	border-end-start-radius: var(--wp--custom--radius--x-large);
	border-end-end-radius: var(--wp--custom--radius--x-large);
	background: var(--wp--preset--color--base-lighter);
}

.page-article .hero-photo {
	max-width: calc(var(--content-max) - 2 * var(--wp--preset--spacing--space-5));
	aspect-ratio: 1344 / 500;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--x-large);
}

.page-article .hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-article .body {
	padding-block: var(--sec-m);
	padding-inline: var(--sec-s);
	background: var(--wp--preset--color--base-background);
}

.page-article .columns {
	display: grid;
	grid-template-columns: minmax(0, 832px) minmax(1px, 1fr) 20rem;
	/* Keeps the text and the card off the divider once the window is too narrow for the full 64px each side. */
	column-gap: var(--wp--preset--spacing--space-4);
	align-items: start;
	max-width: 80rem;
	margin-inline: auto;
}

.page-article .prose {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-4);
}

.page-article .entry {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-4);
}

.page-article .entry > * {
	margin: 0;
}

.page-article .entry h2 {
	padding: var(--wp--preset--spacing--space-3);
	font-size: 3rem;
}

.page-article .entry > p:last-child {
	font-style: italic;
}

.page-article .entry .callout {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-3);
	padding: var(--wp--preset--spacing--space-4);
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--base-subtle);
}

.page-article .entry .callout > * {
	margin: 0;
}

.page-article .entry .callout > :first-child {
	color: var(--wp--preset--color--accent-brand);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.6;
	text-transform: uppercase;
}

.page-article .entry .callout > :not(:first-child) {
	font-size: var(--wp--preset--font-size--large);
}

.page-article .signature {
	display: grid;
	grid-template-columns: 5.125rem auto;
	grid-template-rows: repeat(3, auto);
	align-content: center;
	justify-content: start;
	column-gap: var(--wp--preset--spacing--space-3);
	row-gap: var(--wp--preset--spacing--space-1);
	padding-block-start: 1.75rem;
}

.page-article .signature img {
	grid-row: 1 / span 3;
	align-self: center;
	width: 5.125rem;
	height: 5.125rem;
	border-radius: var(--wp--custom--radius--round);
	object-fit: cover;
}

.page-article .signature p {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
	text-transform: uppercase;
}

.page-article .signature .name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--heading-4);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: none;
}

.page-article .signature .role {
	color: var(--wp--preset--color--contrast-medium);
	font-weight: 600;
}

.page-article .signature .firm {
	color: var(--wp--preset--color--accent-brand);
	font-weight: 700;
	letter-spacing: 0.12em;
}

.page-article .share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--space-4);
	padding-block: var(--wp--preset--spacing--space-4);
	border-block: var(--wp--custom--border-width--small) solid var(--wp--preset--color--contrast-subtle);
}

.page-article .share .title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--heading-5);
	line-height: 1.15;
}

.page-article .share-links {
	gap: var(--wp--preset--spacing--space-4);
}

.page-article .share-links li {
	display: flex;
}

.page-article .pager {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--space-4);
}

.page-article .pager:has(.previous + .next)::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 50%;
	width: var(--wp--custom--border-width--small);
	background: var(--wp--preset--color--contrast-subtle);
}

.page-article .pager a {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-2);
	width: 22.5rem;
	max-width: 100%;
	text-decoration: none;
}

.page-article .pager .next {
	margin-inline-start: auto;
	align-items: flex-end;
	text-align: end;
}

.page-article .pager .label {
	color: var(--wp--preset--color--accent-brand);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.12em;
}

.page-article .pager .title {
	color: var(--wp--preset--color--contrast-medium);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--heading-5);
	line-height: 1.15;
}

.page-article .pager a:hover .title {
	color: var(--wp--preset--color--accent-brand);
}

.page-article .divider {
	justify-self: center;
	align-self: stretch;
	width: var(--wp--custom--border-width--small);
	background: var(--wp--preset--color--contrast-subtle);
}

.page-article .lead-magnet {
	align-self: stretch;
}

.page-article .lead-magnet .card {
	position: sticky;
	top: var(--wp--preset--spacing--space-5);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--space-3);
	padding: var(--wp--preset--spacing--space-5) var(--wp--preset--spacing--space-4);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--base-lighter);
	box-shadow: var(--wp--preset--shadow--card);
	text-align: center;
}

.page-article .lead-magnet .card > img {
	width: 11.1rem;
	height: auto;
}

.page-article .lead-magnet h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-4);
}

.page-article .lead-magnet p {
	margin: 0;
}

.page-article .lead-magnet .button {
	margin-block-start: var(--wp--preset--spacing--space-2);
}

@media (max-width: 1024px) {
	.page-article .mast h1 {
		font-size: var(--wp--preset--font-size--heading-1);
	}

	.page-article .entry h2 {
		font-size: var(--wp--preset--font-size--heading-3);
	}

	.page-article .mast,
	.page-article .hero-band,
	.page-article .body {
		padding-inline: var(--page-pad);
	}

	.page-article .columns {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--space-8);
	}

	.page-article .divider {
		display: none;
	}

	.page-article .lead-magnet {
		justify-self: center;
		width: min(100%, 20rem);
	}

	.page-article .lead-magnet .card {
		position: static;
	}
}

@media (max-width: 767px) {
	.page-article .share,
	.page-article .pager {
		flex-direction: column;
		align-items: flex-start;
	}

	.page-article .pager:has(.previous + .next)::after {
		display: none;
	}

	.page-article .pager a {
		width: 100%;
	}

	.page-article .pager .next {
		margin-inline-start: 0;
		align-items: flex-start;
		text-align: start;
	}
}

.search-form {
	display: flex;
	gap: var(--wp--preset--spacing--space-3);
	margin-block: var(--wp--preset--spacing--space-5);
}

.search-form input {
	flex: 1;
	border: var(--wp--custom--border-width--small) solid var(--wp--preset--color--contrast-subtle);
	border-radius: var(--wp--custom--radius--small);
	padding: var(--wp--preset--spacing--space-3);
	font: inherit;
}

@media (max-width: 1024px) {
	.home-hero .hero-layout,
	.article-grid,
	.about-road .quotes,
	.lane-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-hero .hero-layout {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.site-chrome .site-header.desktop {
		display: none;
	}

	.site-chrome .site-header.mobile {
		display: block;
	}

	.home-hero .hero-layout,
	.article-grid,
	.about-road .quotes,
	.about-road .beats,
	.lane-row {
		grid-template-columns: 1fr;
	}

	.about-opener .closer {
		grid-auto-flow: row;
	}

	.home-hero .hero-copy {
		.headshot {
			margin-left: 0;
			margin-bottom: -30px;
		}
	}
}

/* Homepage qualifiers: cream card, photo with three stacked quotes, road line art. */
.qualifiers {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--space-7);
	padding-block: var(--sec-m);
	border-radius: var(--wp--custom--radius--x-large);
	background: var(--wp--preset--color--base-lighter);

	min-height: 1555px;

	.linear-art {
		top: 1070px;
		/* The notch in about-expanded.svg sits 16.75px right of the file's center (2784px wide). Shift by that share of the width so the dip stays on the centered button as the drawing scales. */
		transform: translateX(calc(-50% - 0.602%));
	}

	> :not(img) {
		position: relative;
		z-index: 1;
	}

	.top-side {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		/* Same box as .photo, so the dots graphic's left edge sits on the content edge. */
		width: min(1376px, 100% - 64px);
		margin-inline: auto;
	}

	.headline {
		position: relative;
		--pt: 20px;
		padding: var(--pt) 0 0 var(--wp--custom--section-space--small);

		/* The green dot sits 32px above the box bottom. The box runs from 111px above the headline to the middle of the heading text, so the dot is centered on the text at any heading height. */
		.dots {
			position: absolute;
			top: -111px;
			left: 0;
			width: 57px;
			height: calc(111px + (100% + var(--pt)) / 2 + 32px);
			container-type: size;

			/* Same single crisp faint line as the other dots headings; the SVG's own line is clipped away. */
			&::before {
				content: "";
				position: absolute;
				top: 0;
				left: calc(47.3684% + var(--line-snap, 0px));
				width: var(--line-w, 2px);
				height: calc(100cqh - 100cqw * 32 / 57);
				background: var(--wp--preset--color--accent-hover);
				opacity: 0.32;
				pointer-events: none;
			}

			img {
				clip-path: inset(65% 0 0 0);
			}
		}

		h2 {
			width: 681px;
			margin: 0;
			font-size: 48px;
			color: var(--wp--preset--color--accent-brand);
		}
	}

	.lede {
		width: 351px;
		margin: 0;
		color: var(--wp--preset--color--contrast-medium);
		font-size: var(--wp--preset--font-size--medium);
	}

	.photo {
		position: relative;
		width: min(1376px, 100% - 64px);
		height: 715px;

		> img {
			display: block;
			width: 100%;
			height: 100%;
			border-radius: var(--wp--custom--radius--large);
			object-fit: cover;
		}
	}

	.questions {
		margin: 0;
		padding: 0;
		list-style: none;

		li {
			position: absolute;
			display: flex;
			align-items: center;
			gap: var(--wp--preset--spacing--space-4);
			width: 496px;
			padding: var(--wp--preset--spacing--space-4);
			border-radius: var(--wp--custom--radius--small);
			box-shadow: 0 16px 32px -8px rgba(12, 12, 13, 0.4);

			&.blue {
				top: 63px;
				left: 320px;
				background: #dff0ff;
			}

			&.cream {
				top: 199px;
				left: 348px;
				background: #fdf1d7;
				transform: rotate(1.61deg);
				transform-origin: top left;
			}

			&.green {
				top: 351px;
				left: 370px;
				width: 499px;
				padding-block: var(--wp--preset--spacing--space-5);
				background: #defdd7;
			}

			.icon {
				flex: none;
				width: auto;
				height: 64px;
			}

			p {
				margin: 0;
				font-family: var(--wp--preset--font-family--heading);
				font-size: var(--wp--preset--font-size--heading-4);
				line-height: 1.05;
				letter-spacing: -0.02em;
			}
		}
	}

	.bottom-side {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--wp--preset--spacing--space-6);
		flex: 1;
		width: 100%;
	}

	.closer-copy {
		width: 327px;
		margin: 0;
		font-size: var(--wp--preset--font-size--large);
		text-align: center;
	}

	.cta {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--wp--preset--spacing--space-1);
		margin-top: auto;

		p {
			margin: 0;
			color: var(--wp--preset--color--contrast-medium);
			font-size: var(--wp--preset--font-size--small);
			line-height: 1.6;
		}
	}
}

/* The graphic rises into the section above it, so that section has to paint on top. */
:has(+ .icon-points),
:has(+ .case-studies) {
	position: relative;
	z-index: 1;
}

/* "When you work with me" and the Start Here equivalent. */
.icon-points {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 56px;
	/* The dotted graphic's green dot sits 32px above its box bottom, and the 64px heading row is centered on it. So the row starts at (box height - 64px) at every width. */
	/* Tied to --sec-m so the graphic's length matches the Case Studies heading at every width: section gap + 40px + half the 64px row (32px) + the 32px under the dot. */
	--dots-h: calc(var(--sec-m) + 97px);
	padding: calc(var(--dots-h) - 64px) var(--wp--preset--spacing--space-7) var(--sec-l);
	background: var(--wp--preset--color--base-background);

	/* The content rows cap at the content width and center. The dots stay on the section so they can reach its top edge, so they follow the same left edge. */
	> .heading,
	> .points,
	> .cta {
		width: 100%;
		max-width: var(--content-max);
		margin-inline: auto;
	}

	> .dots {
		position: absolute;
		top: 0;
		left: max(var(--wp--preset--spacing--space-7), calc((100% - var(--content-max)) / 2));
		width: 57px;
		height: var(--dots-h);
		container-type: size;

		/* dots-one.svg is 57x188 and sits at the bottom of this box. The faint line it draws starts at the SVG's top edge, so when the box is taller the line is extended up to the section edge here. That keeps the graphic flush with the section above before the dark fill animates in. */
		&::before {
			content: "";
			position: absolute;
			top: 0;
			left: calc(47.3684% + var(--line-snap, 0px));
			width: var(--line-w, 2px);
			height: calc(100cqh - 100cqw * 32 / 57);
			background: var(--wp--preset--color--accent-hover);
			opacity: 0.32;
			pointer-events: none;
		}

		img {
			position: absolute;
			bottom: 0;
			left: 0;
			clip-path: inset(65% 0 0 0);
		}
	}

	.heading {
		display: flex;
		align-items: center;
		height: 64px;
		padding-left: var(--wp--custom--section-space--small);

		h2 {
			width: 681px;
			margin: 0;
			font-size: 48px;
			color: var(--wp--preset--color--accent-brand);
		}
	}

	.points {
		display: flex;
		gap: var(--wp--preset--spacing--space-4);
		margin: 0 auto;
		padding: 0;
		list-style: none;

		li {
			display: flex;
			flex: 1 1 0;
			flex-direction: column;
			justify-content: space-between;
			min-width: 0;
			height: 375px;
			padding: var(--wp--preset--spacing--space-5);
			border-radius: var(--wp--custom--radius--small);
			background: var(--wp--preset--color--base-lighter);
		}

		.icon {
			width: 84px;
			height: 96px;
			filter: drop-shadow(0 8px 12px rgba(12, 12, 13, 0.14));
		}

		.content {
			display: flex;
			flex-direction: column;
			gap: 20px;
		}

		h3 {
			margin: 0;
			font-family: var(--wp--preset--font-family--body);
			font-size: var(--wp--preset--font-size--large);
			font-weight: 600;
			line-height: 1.4;
			letter-spacing: 0;
		}

		p {
			margin: 0;
			color: var(--wp--preset--color--contrast-medium);
		}

		li:nth-child(3) h3 {
			max-width: 256px;
		}

		li:nth-child(3) p {
			max-width: 341px;
		}
	}

	.cta {
		display: flex;
		align-items: center;
		justify-content: space-between;

		.close {
			width: 464px;
			margin: 0;
			font-size: var(--wp--preset--font-size--large);
		}
	}
}

/* Homepage about strip. At 1440 the portrait is 720, the quote is 538, and the gap between them is 86. Narrower windows keep that gap and scale both columns until the tablet rules stack them. */
.home-about {
	padding: clamp(24px, 3.4vw, 48px);
	border-radius: var(--wp--custom--radius--x-large);
	background: var(--wp--preset--color--base-lighter);

	.inner {
		display: flex;
		align-items: center;
		gap: clamp(40px, 6vw, 86px);
		width: 100%;
		max-width: 1440px;
		margin-inline: auto;
	}

	figure {
		flex: 1.34 1 0;
		width: auto;
		min-width: 0;
		max-width: 720px;
		height: auto;
		aspect-ratio: 720 / 514;
		margin: 0;
		overflow: clip;
		border-radius: var(--wp--custom--radius--large);
	}

	figure img {
		display: block;
		width: 100%;
		height: 100%;
		border-radius: var(--wp--custom--radius--large);
		object-fit: cover;
	}

	.text-link {
		white-space: nowrap;
	}

	.copy {
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		gap: var(--wp--preset--spacing--space-5);
		width: auto;
		min-width: 0;
		max-width: 538px;

		h2 {
			margin: 0;
			font-size: clamp(32px, 3.4vw, 48px);
		}
	}
}

@media (max-width: 767px) {
	.home-about .inner {
		flex-direction: column;
		align-items: stretch;
	}

	.home-about figure,
	.home-about .copy {
		width: 100%;
		max-width: none;
	}
}

/* About page, "one of us maps the road" band. At 1440 the portrait is 720 by 841, the headline is 568 wide, and the gap between them is 56. Narrower windows scale both columns until the tablet rules stack them. */
.about-duo {
	padding: clamp(24px, 3.4vw, 48px);
	border-radius: var(--wp--custom--radius--x-large) var(--wp--custom--radius--x-large) 0 0;
	background: var(--wp--preset--color--base-lighter);

	.inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: clamp(32px, 4vw, 56px);
		width: 100%;
		max-width: 1440px;
		margin-inline: auto;
	}

	figure {
		flex: 720 1 0;
		min-width: 0;
		max-width: 720px;
		aspect-ratio: 720 / 841;
		margin: 0;
		overflow: clip;
		border-radius: var(--wp--custom--radius--large);
	}

	figure img {
		display: block;
		width: 100%;
		height: 100%;
		border-radius: var(--wp--custom--radius--large);
		object-fit: cover;
	}

	.copy {
		flex: 568 1 0;
		min-width: 0;
		max-width: 568px;
	}

	h2 {
		margin: 0;
		color: var(--wp--preset--color--contrast-strongest);
		font-size: clamp(32px, 3.4vw, 48px);
		line-height: 1.05;
		letter-spacing: -0.02em;
	}
}

@media (max-width: 860px) {
	.about-duo .inner {
		flex-direction: column;
		align-items: stretch;
		gap: var(--wp--preset--spacing--space-6);
	}

	.about-duo figure,
	.about-duo .copy {
		flex: none;
		width: 100%;
		max-width: none;
	}

	.about-duo figure {
		aspect-ratio: 343 / 400;
	}
}

/* Homepage blog */
.home-blog {
	padding-block: var(--sec-m);
	border-radius: var(--wp--custom--radius--x-large) var(--wp--custom--radius--x-large) 0 0;
	background: var(--wp--preset--color--base-lighter);

	& > .alignwide {
		display: flex;
		flex-direction: column;
		gap: 52px;
	}

	.intro {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: var(--wp--preset--spacing--space-4);

		.icon {
			flex: none;
			width: 140px;
			height: auto;
			margin: -11px -28px -43px;
		}

		.heading {
			display: grid;
			gap: var(--wp--preset--spacing--space-2);

			h2 {
				margin: 0;
				color: var(--wp--preset--color--accent-brand);
				font-size: 48px;
				white-space: nowrap;
			}

			p {
				margin: 0;
				color: var(--wp--preset--color--contrast-medium);
			}
		}
	}
}

.article-grid {
	gap: 72px;
	margin: 0;

	li {
		padding: 0;
		border-radius: var(--wp--custom--radius--small);
		background: none;
		gap: var(--wp--preset--spacing--space-4);
	}

	.thumb {
		display: block;
		aspect-ratio: 1;

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
	}

	.meta {
		display: grid;
		gap: var(--wp--preset--spacing--space-2);
	}

	h3 {
		margin: 0;
		font-size: 32px;
		line-height: 1.05;
		letter-spacing: -0.64px;
	}

	.text-link {
		margin-top: 0;
	}
}

/* About opener */
.about-opener {
	padding-block: var(--sec-s);
	background: var(--wp--preset--color--base-background);

	&::before {
		content: "";
		position: absolute;
		inset: 0 0 auto;
		height: 383px;
		opacity: 0.32;
		background:
			linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff),
			/* Percent offsets reproduce the 1440 crop (-720px, -1977px) and scale with the section width, so narrower screens stay covered. */
			url("../images/pages/sky-about.webp") 50% 50.2% / 200% auto no-repeat;
	}

	.alignwide {
		gap: 48px;
		width: 856px;
		max-width: 100%;
		padding: 48px;
		margin-inline: auto;
	}

	.heading {
		display: grid;
		justify-items: center;
		gap: var(--wp--preset--spacing--space-3);
		width: 666px;
		max-width: 100%;
	}

	.eyebrow {
		color: var(--wp--preset--color--contrast-medium);
		font-size: 22px;
		font-weight: 600;
		line-height: 1.4;
		letter-spacing: 0;
		text-transform: none;
	}

	h1 {
		width: 566px;
		max-width: 100%;
		font-size: 80px;
		line-height: 1;
		letter-spacing: -1.6px;

		em {
			color: var(--wp--preset--color--accent-brand);
			font-style: normal;
		}
	}

	.line-list p {
		text-align: start;
	}

	.closer {
		box-sizing: border-box;
		display: flex;
		justify-content: center;
		gap: var(--wp--preset--spacing--space-5);
		width: 666px;
		max-width: 100%;
		margin: 0;
		padding: 24px var(--wp--preset--spacing--space-3);
		border-radius: var(--wp--custom--radius--secondary);
		background: var(--wp--preset--color--accent-brand);
		box-shadow: 0 16px 16px rgba(12, 12, 13, 0.08), 0 4px 2px rgba(12, 12, 13, 0.03);
		color: var(--wp--preset--color--base-background);
		font-family: var(--wp--preset--font-family--heading);
		font-size: 32px;
		line-height: 1.05;
		letter-spacing: -0.64px;
		text-align: start;

		.icon {
			width: 72.772px;
			height: 64px;
		}

		span {
			width: 303px;
		}
	}
}

/* About: the road section. The 1440px stage is positioned absolutely, like the design frame. */
.about-road {
	height: 1802px;
	padding: 0;
	border-radius: var(--wp--custom--radius--x-large);
	background: var(--wp--preset--color--base-lighter);

	.stage {
		position: absolute;
		z-index: 1;
		top: 0;
		left: 50%;
		width: 1440px;
		height: 100%;
		margin-left: -720px;
	}

	.linear-art {
		top: 352px;
	}

	h2 {
		position: absolute;
		top: 80px;
		left: 50%;
		width: 518px;
		margin: 0 0 0 -259px;
		font-size: 64px;
		line-height: 1.05;
		letter-spacing: -1.28px;
		text-align: center;
	}

	.steps {
		position: absolute;
		top: 262px;
		left: 85px;
		display: flex;
		gap: 139px;
		height: 280px;
	}

	.point:not(.wheel) {
		display: flex;
		flex-direction: column;
		align-items: center;

		& > .icon {
			display: block;
			width: 12px;
			max-width: none;
		}

		&.start { width: 311px; & > .icon { height: 164px; } }
		&.trips { width: 387px; padding-top: 32px; & > .icon { height: 132px; } }
		&.potholes { width: 306px; padding-top: 64px; & > .icon { height: 100px; } }
	}

	.card {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 24px;
		width: 100%;
		padding: 16px 24px;
		border-radius: var(--wp--custom--radius--small);
		background: var(--wp--preset--color--base-background);
		filter: drop-shadow(0 16px 16px rgba(12, 12, 13, 0.1)) drop-shadow(0 4px 2px rgba(12, 12, 13, 0.05));

		p {
			margin: 0;
			font-size: 18px;
			line-height: 1.4;
		}

		.icon {
			flex: none;
		}
	}

	.point.start .card {
		gap: 4px;
		height: 107px;

		.icon {
			box-sizing: content-box;
			width: 53.382px;
			height: 70px;
			padding: 6px 8.8px;
			transform: rotate(16.39deg);
		}

		p { width: 188px; }
	}

	.point.trips .card {
		.icon { width: 72.266px; height: 70px; }
		p { width: 243px; }
	}

	.point.potholes .card {
		.icon { width: 78.396px; height: 64px; }
		p { width: 155px; }
	}

	.point.wheel {
		position: absolute;
		top: 667px;
		left: 570px;
		width: 313px;

		.card {
			flex-direction: column;
			gap: 16px;

			.icon { width: 64px; height: 64px; }

			.content {
				display: grid;
				justify-items: center;
				gap: 8px;
				text-align: center;

				p { width: 265px; }

				.big {
					width: auto;
					font-family: var(--wp--preset--font-family--heading);
					font-size: 32px;
					line-height: 1.05;
					letter-spacing: -0.64px;
				}
			}
		}
	}

	.note {
		position: absolute;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
		padding: 32px;
		border-radius: var(--wp--custom--radius--secondary);
		background: var(--card);
		filter: drop-shadow(0 16px 16px rgba(12, 12, 13, 0.1)) drop-shadow(0 4px 2px rgba(12, 12, 13, 0.05));
		text-align: center;

		&.green { --card: #defdd7; left: 118px; top: 954px; width: 383px; transform: rotate(-2.67deg); }
		&.cream { --card: #fdf1d7; left: 915px; top: 923px; width: 392px; gap: 24px; transform: rotate(2.3deg); }
		&.blue { --card: #dff0ff; left: 503px; top: 903px; width: 435px; }

		.portrait {
			display: block;
			width: 114px;
			height: 128px;
			-webkit-mask: url("../images/case-studies/mask.svg") center / 100% 100% no-repeat;
			mask: url("../images/case-studies/mask.svg") center / 100% 100% no-repeat;

			img {
				display: block;
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
		}

		.copy {
			display: grid;
			gap: 8px;
		}

		p { margin: 0; }

		.quote {
			font-family: var(--wp--preset--font-family--heading);
			font-size: 24px;
			line-height: 1.15;
		}

		.byline {
			color: var(--wp--preset--color--contrast-medium);
			font-size: 14px;
			line-height: 1.6;
		}
	}

	.closer {
		position: absolute;
		bottom: 112px;
		left: 50%;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
		padding: 48px 64px;
		border-radius: var(--wp--custom--radius--secondary);
		background: var(--wp--preset--color--base-background);
		box-shadow: 0 16px 32px -4px rgba(12, 12, 13, 0.1), 0 4px 4px -4px rgba(12, 12, 13, 0.05);
		transform: translateX(-50%);

		h2 {
			position: static;
			width: 462px;
			margin: 0;
			color: var(--wp--preset--color--accent-brand);
			font-size: 48px;
			letter-spacing: -0.96px;
		}
	}
}

/* Services hero */
.services-hero {
	position: relative;
	box-sizing: border-box;
	height: 553px;
	padding-block: var(--sec-m) 16px;
	background: var(--wp--preset--color--base-background);

	&::before {
		content: "";
		position: absolute;
		inset: 0 0 auto;
		height: 553px;
		opacity: 0.32;
		background:
			linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff),
			url("../images/pages/sky-about.webp") 50% 52.5% / 200% auto no-repeat;
	}

	.alignwide {
		position: relative;
		gap: 160px;
	}

	.content {
		display: grid;
		justify-items: center;
		gap: 24px;
	}

	h1 {
		width: 996px;
		max-width: 100%;
		font-size: 80px;
		line-height: 1;
		letter-spacing: -1.6px;
	}

	.content p {
		margin: 0;
		font-size: 22px;
		line-height: 1.4;
	}

	.alignwide > .lanes-label {
		margin: 0;
		font-family: var(--wp--preset--font-family--heading);
		font-size: 48px;
		line-height: 1.05;
		letter-spacing: -0.96px;
	}
}

/* Start Here hero. The 1440px stage is positioned like the design frame. */
.start-hero {
	box-sizing: border-box;
	height: 983px;
	padding: 0;
	border-radius: 0 0 var(--wp--custom--radius--x-large) var(--wp--custom--radius--x-large);
	background: var(--wp--preset--color--base-lighter);

	&::before {
		content: "";
		position: absolute;
		inset: 0 auto auto 50%;
		width: 2560px;
		height: 983px;
		margin-left: -1280px;
		opacity: 0.32;
		background:
			linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff),
			url("../images/pages/sky-about.webp") -1280px -3514px / 5120px 7680px no-repeat;
	}

	.stage {
		position: absolute;
		z-index: 1;
		inset: 0 auto auto 50%;
		width: 1440px;
		height: 100%;
		margin-left: -720px;
	}

	/* The expanded drawing holds the design's 1440x754 road at 1.08 wide and 1.04 tall, starting 882px in and 109px down. Sizing the file by the inverse puts the road back at its design size and position, with the extra bleed on both sides. */
	.linear-art {
		top: 119px;
		left: calc(50% - 1537px);
		width: 2578px;
		height: 892px;
		transform: none;
		/* On very wide screens the drawing runs out; fade both ends so the road never looks cropped. */
		-webkit-mask-image: linear-gradient(to right, transparent, #000 120px, #000 calc(100% - 120px), transparent);
		mask-image: linear-gradient(to right, transparent, #000 120px, #000 calc(100% - 120px), transparent);
	}

	.heading {
		position: absolute;
		top: 224px;
		left: 170px;
		width: 1100px;
		text-align: center;

		h1 {
			font-size: 80px;
			line-height: 1;
			letter-spacing: -1.6px;
		}

		p {
			width: 720px;
			margin: 16px auto 0;
			font-size: 22px;
			font-weight: 600;
			line-height: 1.4;
			color: var(--wp--preset--color--contrast-medium);
			text-align: center;
		}
	}

	.cta {
		position: absolute;
		top: 383px;
		left: 50%;
		transform: translateX(-50%);
	}

	.step {
		position: absolute;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		width: 160px;
		overflow: hidden;
		padding: 16px;
		border-radius: 999px 999px var(--wp--custom--radius--small) var(--wp--custom--radius--small);
		background: var(--wp--preset--color--base-background);
		box-shadow: var(--wp--preset--shadow--card);
		text-align: center;

		/* Same cap as the design: 177px wide, 8px past each side of the 160px card, so the card's arch trims it and no white edge shows. */
		.cap {
			position: absolute;
			top: 0;
			left: -8px;
			width: 177px;
			height: 65px;
			background: var(--tone);
			-webkit-mask: url("../images/chips/step-cap.svg") center / 100% 100% no-repeat;
			mask: url("../images/chips/step-cap.svg") center / 100% 100% no-repeat;
		}

		p {
			position: relative;
			margin: 0;
		}

		.num {
			color: var(--wp--preset--color--accent-brand);
			font-size: 32px;
			font-weight: 700;
			line-height: 1.4;
		}

		.title {
			width: 128px;
			color: var(--wp--preset--color--accent-brand);
			font-size: 16px;
			font-weight: 500;
			line-height: 1.6;
			text-align: center;
		}
	}

	.step.one { --tone: #b6d7f6; left: 113px; top: 351px; height: 187px; padding-bottom: 32px; }
	.step.two { --tone: #fad5ac; left: 1027px; top: 657px; height: 187px; }
	.step.three { --tone: #afe3a3; left: 1206px; top: 205px; height: 213px; }

	.conn {
		position: absolute;
		width: 12px;

		&::before {
			content: "";
			position: absolute;
			left: 5.5px;
			width: 1px;
			background: var(--wp--preset--color--accent-hover);
			opacity: 0.32;
		}

		&::after {
			content: "";
			position: absolute;
			left: 0;
			width: 12px;
			height: 12px;
			border-radius: 50%;
			background: var(--wp--preset--color--accent-hover);
		}
	}

	.conn.one { left: 187px; top: 538px; height: 146px; }
	.conn.one::before, .conn.three::before { top: -1px; bottom: 6px; }
	.conn.one::after, .conn.three::after { bottom: 0; }
	.conn.two { left: 1101px; top: 540px; height: 117px; }
	.conn.two::before { top: 6px; bottom: 0; }
	.conn.two::after { top: 0; }
	.conn.three { left: 1280px; top: 418px; height: 87px; }
}

/* Start Here: think about it */
.think-band {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	height: 669px;
	padding-block: var(--sec-l);
	overflow: hidden;
	background: url("../images/pages/think-about-it.webp") center top / 100% 109.42% no-repeat;
	transform-origin: center;

	h2 {
		margin: 0;
		color: var(--wp--preset--color--base-background);
		font-size: 48px;
		line-height: 1.05;
		letter-spacing: -0.96px;
		white-space: nowrap;
	}

	.stack {
		position: relative;
		width: 1026px;
		height: 241px;
	}

	.thought {
		position: absolute;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 24px;
		padding: 24px;
		border-radius: var(--wp--custom--radius--small);
		background: var(--card);
		filter: drop-shadow(0 16px 16px rgba(12, 12, 13, 0.4));
		text-align: center;

		&.blue { --card: #dff0ff; left: 4px; top: 21px; width: 307px; transform: rotate(-2.07deg); }
		&.cream { --card: #fdf1d7; left: 302px; top: 0; width: 323px; transform: rotate(2.11deg); }
		&.green { --card: #defdd7; left: 612px; top: 0; width: 413px; padding-block: 32px; transform: rotate(-0.56deg); }

		.icon {
			width: auto;
			height: 64px;
		}

		p {
			margin: 0;
			font-family: var(--wp--preset--font-family--heading);
			font-size: 24px;
			line-height: 1.15;
		}
	}
}

/* Start Here "We work best with" has its own rhythm. */
.icon-points.is-start {
	--dots-h: 176px;
	padding-block: calc(var(--dots-h) - 64px) var(--sec-l);

	.points li:nth-child(1) p { max-width: 205px; }
	.points li:nth-child(3) h3,
	.points li:nth-child(3) p { max-width: none; }
}

/* Powerlander */
.power-hero {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 777px;
	border-radius: 0 0 var(--wp--custom--radius--x-large) var(--wp--custom--radius--x-large);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.82)), url("../images/pages/powerlander-bg.webp") center / cover no-repeat;
	overflow: hidden;

	.screens {
		position: absolute;
		top: 0;
		left: 50%;
		width: 1440px;
		height: 100%;
		margin: 0 0 0 -720px;
		padding: 0;
		list-style: none;

		/* The images carry their own shadow (48px left / 16px top padding), so each box is oversized and shifted back to keep the card at its design position and size. */
		li {
			position: absolute;

			img {
				display: block;
				width: 100%;
				height: auto;
			}
		}

		.s1 { left: 164.68px; top: 96.23px; width: 167.13px; }
		.s2 { left: 62.49px; top: 333.16px; width: 190.5px; }
		.s3 { left: 1082.38px; top: 100.13px; width: 172.74px; }
		.s4 { left: 1194.65px; top: 299.22px; width: 208.18px; }
		.s5 { left: 1104.81px; top: 506.27px; width: 204.87px; }
		.s6 { left: 175.65px; top: 523.55px; width: 161.55px; }
	}

	.copy {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}

	.heading {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 24px;
		width: 820px;
		text-align: center;
	}

	.pill {
		margin: 0;
		padding: 8px 16px;
		border-radius: var(--wp--custom--radius--small);
		background: var(--wp--preset--color--base-background);
		box-shadow: 0 16px 16px rgba(12, 12, 13, 0.1), 0 4px 2px rgba(12, 12, 13, 0.05);
		color: var(--wp--preset--color--accent-brand);
		font-size: 18px;
		font-weight: 700;
		line-height: 1.4;
		letter-spacing: 3.6px;
	}

	h1 {
		width: 640px;
		margin: 0;
		font-size: 80px;
		line-height: 1;
		letter-spacing: -1.6px;

		em {
			color: var(--wp--preset--color--accent-brand);
			font-style: normal;
		}
	}

	.lead {
		width: 640px;
		margin: 0;
		color: var(--wp--preset--color--contrast-medium);
		font-size: 22px;
		line-height: 1.4;
	}
}

.what-you-get {
	box-sizing: border-box;
	padding: 80px 80px 112px;
	overflow: hidden;

	.content {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 48px;
	}

	.benefits {
		display: flex;
		flex-direction: column;
		gap: 40px;
		align-items: flex-start;

		h2 {
			margin: 0;
			font-size: 48px;
			line-height: 1.05;
			letter-spacing: -0.96px;
			white-space: nowrap;
		}

		.line-list {
			box-sizing: border-box;
			width: 704px;
			max-width: none;
			padding-inline: 32px;
			margin: 0;

			p {
				font-size: 22px;
				text-align: start;
				white-space: nowrap;
			}
		}
	}

	.offer {
		padding: 48px;

		.card {
			box-sizing: border-box;
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 24px;
			width: 338px;
			padding: 32px 24px;
			border-radius: var(--wp--custom--radius--secondary);
			background: #dff0ff;
			filter: drop-shadow(0 16px 16px rgba(12, 12, 13, 0.1)) drop-shadow(0 4px 2px rgba(12, 12, 13, 0.05));
			transform: rotate(0.36deg);

			img {
				width: 179px;
				height: auto;
			}

			.title {
				margin: 0;
				font-family: var(--wp--preset--font-family--heading);
				font-size: 32px;
				line-height: 1.05;
				letter-spacing: -0.64px;
				text-align: center;
			}

			.get {
				padding: 12px 24px;
				border-radius: 12px;
				background: var(--wp--preset--color--accent-brand);
				color: var(--wp--preset--color--base-background);
				font-size: 14px;
				font-weight: 500;
				letter-spacing: 0.14px;
				line-height: 1.6;
				text-decoration: none;
			}
		}
	}
}

/* Contact */
.contact-hero {
	/* --art-w is the drawing's rendered width (same rule as .linear-art: 2784px, or twice the section on small screens). The sky is sized from it, so it stays pinned behind the hills at every width. cqw = 1% of the section's width. */
	--art-w: min(2784px, 200cqw);
	container-type: inline-size;
	height: 1465px;
	padding: 0;
	background: var(--wp--preset--color--base-background);

	/* The design's sky is 1776 wide at the 2784 drawing (63.8% of it). It runs 32% of the drawing's width down, which is below the horizon at the far edges, so the hills always cover its bottom edge. The white card and the hill fills hide the rest. */
	.sky {
		position: absolute;
		top: 0;
		left: 50%;
		width: max(100cqw, calc(var(--art-w) * 0.638));
		height: calc(var(--art-w) * 0.32);
		background: url("../images/pages/sky-about.webp") 50% calc(var(--art-w) * -0.8758) / calc(var(--art-w) * 1.276) auto no-repeat;
		opacity: 0.32;
		transform: translateX(-50%);
	}

	.linear-art {
		top: 1px;
	}

	h1 {
		position: relative;
		width: 542px;
		margin: 224px auto 0;
		font-size: 80px;
		line-height: 1;
		letter-spacing: -1.6px;
		text-align: center;
	}

	.contact-card {
		position: absolute;
		top: 669px;
		left: 50%;
		box-sizing: border-box;
		display: flex;
		gap: 48px;
		width: 1344px;
		margin: 0 0 0 -672px;
		padding: 48px;
		border-radius: var(--wp--custom--radius--large);
		background: var(--wp--preset--color--base-lighter);
		box-shadow: 0 16px 32px -4px rgba(12, 12, 13, 0.1), 0 4px 4px -4px rgba(12, 12, 13, 0.05);
		text-align: start;

		.dots {
			position: absolute;
			top: -23px;
			left: 48px;
			width: 44.2px;
			height: 136.48px;
			container-type: size;
			/* The box starts 23px above the card. Cut that part off so the line doesn't poke out over the hills. */
			clip-path: inset(23px 0 0 0);

			/* Same graphic as the other pages: dots-one.svg, the faint line, and the dark fill that scroll animates (layouts.js). dots-one.svg scales to the box width and sits on its bottom edge; its own line is clipped, and the line is redrawn here so it reaches the box top. */
			&::before {
				content: "";
				position: absolute;
				top: 0;
				left: calc(47.3684% + var(--line-snap, 0px));
				width: var(--line-w, 2px);
				height: calc(100cqh - 100cqw * 32 / 57);
				background: var(--wp--preset--color--accent-hover);
				opacity: 0.32;
				pointer-events: none;
			}

			img {
				position: absolute;
				bottom: 0;
				left: 0;
				clip-path: inset(65% 0 0 0);
			}
		}

		.details {
			flex: 1;
			padding-top: 16px;

			.firm {
				margin: 0 0 48px;
				padding-left: 64px;
				font-family: var(--wp--preset--font-family--heading);
				font-size: 48px;
				line-height: 50px;
				letter-spacing: -0.96px;
			}

			ul {
				display: grid;
				gap: 8px;
				margin: 0;
				padding: 0;
				list-style: none;
			}

			li {
				display: flex;
				align-items: center;
				gap: 24px;
				width: 560px;
				padding: 8px 0 8px 4px;
				font-size: 22px;
				line-height: 1.4;
			}

			li .icon {
				width: 56px;
				height: 64px;
				flex: none;
			}

			li a {
				color: inherit;
			}

			li a {
				text-decoration: underline;
			}

			li:last-child a {
				max-width: 317px;
			}
		}

		/* Fluent Forms markup, restyled to the original contact fields and button. */
		.contact-form {
			flex: 1;

			.fluentform .frm-fluent-form fieldset {
				display: flex !important;
				flex-direction: column;
				align-items: flex-start;
				gap: 24px;
			}

			.fluentform .ff-el-group {
				display: grid;
				gap: 8px;
				width: 100%;
				margin: 0;
			}

			/* Fluent's clearfix pseudo-elements would become extra grid rows. */
			.fluentform .ff-el-group::before,
			.fluentform .ff-el-group::after {
				display: none;
			}

			.fluentform .ff-el-input--label {
				margin: 0;
				padding: 0;
			}

			.fluentform .ff-el-input--label label {
				display: block;
				margin: 0;
				color: inherit;
				font-family: inherit;
				font-size: 14px;
				font-weight: 600;
				line-height: 22px;
				text-transform: uppercase;
			}

			.fluentform .ff-el-input--label.ff-el-is-required label::after {
				content: none;
			}

			.fluentform .ff-el-input--content {
				margin: 0;
			}

			.fluentform .ff-el-form-control {
				box-sizing: border-box;
				width: 100%;
				border: var(--wp--custom--border-width--small) solid var(--wp--preset--color--contrast-subtle);
				border-radius: var(--wp--custom--radius--small);
				background: var(--wp--preset--color--base-background);
				box-shadow: none;
				padding-block: var(--wp--preset--spacing--space-2);
				padding-inline: var(--wp--preset--spacing--space-3);
				color: var(--wp--preset--color--contrast-strongest);
				font-family: var(--wp--preset--font-family--body);
				font-size: var(--wp--preset--font-size--large);
				font-weight: 400;
				line-height: 1.4;
			}

			.fluentform input.ff-el-form-control {
				height: 52px;
			}

			.fluentform textarea.ff-el-form-control {
				height: 140px;
				resize: none;
			}

			.fluentform .ff-el-form-control::placeholder {
				color: var(--wp--preset--color--contrast-strongest);
				opacity: 0.45;
			}

			.fluentform .ff-el-group:hover .ff-el-form-control {
				border-color: var(--wp--preset--color--accent-hover);
			}

			.fluentform .ff-el-group:hover .ff-el-form-control::placeholder {
				opacity: 0.75;
			}

			.fluentform .ff-el-group .ff-el-form-control:focus {
				border-width: var(--wp--custom--border-width--main);
				border-color: var(--wp--preset--color--accent-hover);
				outline: none;
				box-shadow: none;
				background: var(--wp--preset--color--base-background);
				color: var(--wp--preset--color--contrast-strongest);
			}

			.fluentform .ff-el-group .ff-el-form-control:focus::placeholder {
				opacity: 1;
			}

			/* Validation and confirmation messages are not in the design: kept quiet and on-brand. */
			.fluentform .ff-el-group.ff-el-is-error .ff-el-form-control {
				border-color: #b3261e;
			}

			.fluentform .error.text-danger,
			.fluentform .ff-errors-in-stack {
				color: #b3261e;
				font-size: 14px;
				line-height: 1.6;
			}

			.fluentform .ff-message-success {
				margin: 0;
				padding: 0;
				border: 0;
				background: none;
				box-shadow: none;
				color: inherit;
				font-size: 22px;
				line-height: 1.4;
			}

			/* The design's button is 206 x 57, a pixel of border tighter than the shared one. */
			.fluentform .ff_submit_btn_wrapper {
				display: block;
				width: auto;
			}

			.fluentform .ff-btn-submit {
				box-sizing: border-box;
				display: inline-flex;
				align-items: center;
				justify-content: center;
				gap: var(--wp--preset--spacing--space-2);
				height: 57px;
				margin: 0;
				padding-block: 0;
				padding-inline: 31.5px;
				border: var(--wp--custom--border-width--small) solid var(--wp--preset--color--accent-hover);
				border-radius: var(--wp--custom--radius--medium);
				background: var(--wp--preset--color--accent-hover);
				box-shadow: none;
				color: var(--wp--preset--color--base-background);
				font-family: var(--wp--preset--font-family--body);
				font-size: var(--wp--preset--font-size--medium);
				font-weight: 500;
				line-height: 1.4;
				white-space: nowrap;
				cursor: pointer;
				opacity: 1;
				transition: background-color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
			}

			.fluentform .ff-btn-submit::after {
				content: "";
				flex: none;
				width: 16px;
				height: 16px;
				background: url("../images/arrow.svg") center / 16px 16px no-repeat;
			}

			.fluentform .ff-btn-submit:hover,
			.fluentform .ff-btn-submit:active {
				gap: var(--wp--preset--spacing--space-3);
				border-color: var(--wp--preset--color--accent-brand);
				background: var(--wp--preset--color--accent-brand);
				color: var(--wp--preset--color--base-background);
				opacity: 1;
			}

			.fluentform .ff-btn-submit:focus-visible {
				outline: 2px solid var(--wp--preset--color--accent-brand);
				outline-offset: 2px;
			}

			.fluentform .ff-btn-submit:disabled {
				cursor: progress;
			}
		}
	}

	.sign {
		position: absolute;
		top: 1145px;
		left: 50%;
		width: 289px;
		height: 269px;
		margin: 0 0 0 -620px;
	}
}

.contact-map {
	position: relative;
	height: 560px;
	overflow: hidden;

	/* Live map, full width. It starts 38px down like the design and fills the rest of the section, so Google's controls and credit stay visible. */
	iframe {
		position: absolute;
		top: 38px;
		left: 0;
		width: 100%;
		height: calc(100% - 38px);
		border: 0;
		border-radius: var(--wp--custom--radius--x-large) var(--wp--custom--radius--x-large) 0 0;
	}
}

/* Case study */
.story-hero {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 80px 112px 64px;
	border-radius: 0 0 var(--wp--custom--radius--x-large) var(--wp--custom--radius--x-large);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.82)), url("../images/pages/case-hero-bg.webp") center / cover no-repeat;

	.pill {
		margin: 0;
		padding: 8px 16px;
		border-radius: var(--wp--custom--radius--small);
		background: var(--wp--preset--color--base-background);
		box-shadow: 0 16px 16px rgba(12, 12, 13, 0.1), 0 4px 2px rgba(12, 12, 13, 0.05);
		color: var(--wp--preset--color--accent-brand);
		font-size: 18px;
		font-weight: 700;
		line-height: 1.4;
		letter-spacing: 3.6px;
	}

	.content {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 1216px;
		max-width: 100%;
	}

	.identity {
		display: flex;
		flex-direction: column;
		gap: 48px;
		width: 762px;
		text-align: start;
	}

	.heading {
		display: flex;
		align-items: center;
		gap: 32px;

		.dots {
			width: 71px;
			height: 80px;
		}

		h1 {
			margin: 0;
			font-size: 80px;
			line-height: 1;
			letter-spacing: -1.6px;
			white-space: nowrap;
		}
	}

	.description {
		display: flex;
		flex-direction: column;
		gap: 8px;

		p {
			margin: 0;
		}

		.role {
			color: var(--wp--preset--color--accent-brand);
			font-size: 14px;
			font-weight: 700;
			letter-spacing: 1.68px;
			line-height: 1.6;
			text-transform: uppercase;
		}

		.lede {
			font-family: var(--wp--preset--font-family--heading);
			font-size: 32px;
			line-height: 1.05;
			letter-spacing: -0.64px;
		}
	}

	.portrait {
		position: relative;
		flex: none;
		width: 292px;
		height: 333px;
		margin: 0;
		overflow: hidden;
		border-radius: 20.8px;
		-webkit-mask: url("../images/case-studies/hex-mask.svg") 0.5px 5px / 291.5px 322.9px no-repeat;
		mask: url("../images/case-studies/hex-mask.svg") 0.5px 5px / 291.5px 322.9px no-repeat;

		img {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
	}
}

.story-road {
	height: 1817px;
	padding: 0;
	background: var(--wp--preset--color--base-background);

	/* Figma places the expanded drawing at about 1.09 x 1.12 of the file, with its top 181px above the section and its left edge 910px left of the 1440 frame. That is what puts the road under the cards and connector dots. */
	.linear-art {
		top: -181px;
		width: 3046px;
		height: 2036px;
		margin-left: -1630px;
		transform: none;
	}

	.stop {
		position: absolute;
		top: 0;
		left: 50%;
		width: 1440px;
		margin-left: -720px;
	}

	.card {
		position: absolute;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 40px 24px 24px;
		border-radius: var(--wp--custom--radius--small);
		background: var(--wp--preset--color--base-background);
		box-shadow: 0 16px 32px -4px rgba(12, 12, 13, 0.1), 0 4px 4px -4px rgba(12, 12, 13, 0.05);

		h2 {
			margin: 0;
			font-size: 48px;
			line-height: 1.05;
			letter-spacing: -0.96px;
			white-space: nowrap;
		}

		p {
			margin: 0;
			color: var(--wp--preset--color--contrast-medium);
			font-size: 18px;
			line-height: 1.4;
		}

		.pin {
			position: absolute;
			top: 0;
			left: 50%;
			width: 128px;
			height: 24px;
			margin-left: -64px;
		}

		blockquote {
			margin: 0;
			padding: 16px 24px;
			border: 0;
			border-radius: 8px;
			background: var(--wp--preset--color--base-lighter);
			box-shadow: 0 1px 4px rgba(12, 12, 13, 0.1), 0 1px 4px rgba(12, 12, 13, 0.05);
			color: var(--wp--preset--color--accent-brand);
			font-family: var(--wp--preset--font-family--heading);
			font-size: 24px;
			font-style: normal;
			line-height: 1.15;
		}
	}

	/* The line starts behind its card and the dot stays fixed on the road, so the dot lands right whatever the card's text length. */
	.card {
		z-index: 1;
	}

	.connector {
		position: absolute;
		display: block;
		width: 12px;

		&::before {
			content: "";
			position: absolute;
			inset: 0 auto 6px 5px;
			width: 1px;
			background: var(--wp--preset--color--accent-hover);
			opacity: 0.32;
		}

		&::after {
			content: "";
			position: absolute;
			inset: auto 0 0;
			height: 12px;
			border-radius: 50%;
			background: var(--wp--preset--color--accent-hover);
		}
	}

	.n1 {
		.card { top: 80px; left: 121px; width: 540px; }
		.connector { top: 120px; left: 385px; height: 400px; }
	}

	.n2 {
		.card { top: 393px; left: 785px; width: 540px; text-align: right; }
		.connector { top: 433px; left: 1049px; height: 349px; }
	}

	.n3 {
		.card { top: 766px; left: 95px; width: 761px; }
		.connector { top: 806px; left: 470px; height: 484px; }
	}

	.is-last {
		top: auto;
		bottom: 64px;
		box-sizing: border-box;
		padding: 48px;

		.card {
			position: relative;
			align-items: center;
			width: 1344px;
			padding: 40px 48px;
			border-radius: var(--wp--custom--radius--medium);
			background: var(--wp--preset--color--accent-brand);
			text-align: center;

			h2 {
				color: var(--wp--preset--color--accent-hover);
				font-size: 64px;
				letter-spacing: -1.28px;
			}

			p {
				color: var(--wp--preset--color--base-background);
				font-size: 22px;
			}

			.body {
				width: 1250px;
			}

			.body p + p {
				margin-top: 31px;
			}
		}
	}
}

/* Blog feed — Figma 6550:9093 */
.blog-mast {
	overflow: hidden;
	padding-block: var(--sec-m) var(--sec-s);
	background: linear-gradient(to bottom, rgba(246, 244, 238, 0), var(--wp--preset--color--base-lighter));
}

.blog-mast .alignwide {
	display: flex;
	flex-direction: column;
	gap: var(--wp--custom--section-space--small);
}

.blog-mast .intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--space-2);
}

.blog-mast .intro > .icon {
	margin-block: -27px -26px;
}

.blog-mast .heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--space-3);
	width: 758px;
	max-width: 100%;
	text-align: center;
}

.blog-mast h1 {
	margin: 0;
	width: 100%;
	font-size: 5rem;
	line-height: 1;
	letter-spacing: -1.6px;
}

.blog-mast .heading p {
	margin: 0;
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.page-blog .article-grid {
	display: flex;
	justify-content: space-between;
	gap: 72px;
	margin: 0;
}

.page-blog .article-grid li {
	flex: 0 1 400px;
	width: 400px;
	max-width: 100%;
	gap: var(--wp--preset--spacing--space-4);
	padding: 0;
	background: none;
}

.page-blog .article-grid .thumb {
	width: 400px;
	max-width: 100%;
	height: 400px;
	max-height: 400px;
}

.page-blog .article-grid .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-blog .article-grid .meta {
	gap: var(--wp--preset--spacing--space-2);
}

.page-blog .article-grid .date {
	color: var(--wp--preset--color--accent-brand);
	font-weight: 600;
	line-height: 1.6;
}

.page-blog .article-grid h3 {
	margin: 0;
	padding: 0;
	font-size: var(--wp--preset--font-size--heading-5);
	line-height: 1.15;
	letter-spacing: 0;
}

.page-blog .article-grid .excerpt {
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.4;
}

@media (max-width: 1024px) {
	.blog-mast h1 {
		font-size: var(--wp--preset--font-size--heading-1);
	}

	.page-blog .article-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--space-5);
	}

	.page-blog .article-grid li,
	.page-blog .article-grid .thumb {
		width: auto;
		height: auto;
	}

	.page-blog .article-grid .thumb {
		aspect-ratio: 1;
		max-height: none;
	}
}

@media (max-width: 767px) {
	.page-blog .article-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Archives: the blog masthead with a rounded base, then the filter's post rows. */
.page-archive .blog-mast {
	padding-block-end: var(--wp--preset--spacing--space-7);
	background: var(--wp--preset--color--base-lighter);
	border-end-start-radius: var(--wp--custom--radius--x-large);
	border-end-end-radius: var(--wp--custom--radius--x-large);
}

.page-archive .blog-mast .heading .dek p {
	margin: 0;
}

.page-archive .navigation.pagination {
	display: flex;
	justify-content: center;
}

.page-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--space-2);
}

.page-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: var(--wp--preset--spacing--space-3);
	border: var(--wp--custom--border-width--small) solid var(--wp--preset--color--contrast-subtle);
	border-radius: var(--wp--custom--radius--medium);
	color: var(--wp--preset--color--accent-brand);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-archive a.page-numbers:hover {
	border-color: var(--wp--preset--color--accent-brand);
	background: var(--wp--preset--color--base-lighter);
}

.page-archive .page-numbers.current {
	border-color: var(--wp--preset--color--accent-hover);
	background: var(--wp--preset--color--accent-hover);
	color: var(--wp--preset--color--base-background);
}

.page-archive .page-numbers.dots {
	min-width: 0;
	border-color: transparent;
}

/* Search: the form sits in the masthead. */
.page-search .search-form {
	width: min(100%, 40rem);
	margin: var(--wp--preset--spacing--space-4) 0 0;
}

.page-search .search-form label {
	flex: 1;
	min-width: 0;
}

.page-search .search-form input {
	width: 100%;
	height: 100%;
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--base-background);
	font-size: var(--wp--preset--font-size--medium);
}

.page-search .search-form input:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-brand);
	outline-offset: 2px;
}

/* Case studies index: up to nine cards, three across. */
.document--case-index .case-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 338px));
	justify-content: center;
	gap: var(--wp--preset--spacing--space-5, 32px);
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--wp--preset--spacing--space-6, 48px) var(--wp--preset--spacing--space-4, 24px) 96px;
	box-sizing: border-box;
}

.document--case-index .case-grid .case-card {
	width: 100%;
}

@media (max-width: 1024px) {
	.document--case-index .case-grid {
		grid-template-columns: repeat(2, minmax(0, 338px));
	}
}

@media (max-width: 680px) {
	.document--case-index .case-grid {
		grid-template-columns: minmax(0, 338px);
	}
}
