/* Layout compositions. Tokens come from theme.json. */

.layout-library {
	display: grid;
	gap: var(--wp--custom--section-space--small);
	padding-block: var(--sec-s);
}

.layout-library .band {
	display: grid;
	gap: var(--wp--preset--spacing--space-5);
	min-width: 0;
}

.layout-library .band > * {
	min-width: 0;
}

.layout-library .band > .alignwide h2,
.layout-library .band > .alignwide h3,
.layout-library .note {
	margin: 0;
}

.layout-library .note {
	max-width: 42rem;
	color: var(--wp--preset--color--contrast-medium);
}

.beam-art svg {
	display: block;
	width: 100%;
	height: auto;
}

.beam-art {
	position: relative;
}

.beam-art .beam-live {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.beam-static path[stroke^="url"] {
	stroke-dasharray: var(--beam-dash, 48) var(--beam-gap, 180);
	animation-name: beam-travel;
	animation-duration: 4s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.beam-art[data-beam="services"] .beam-static path[stroke^="url"] {
	animation-duration: 3.62s;
	animation-timing-function: ease-out;
}

@keyframes beam-travel {
	0% { stroke-dashoffset: 0; }
	75% { stroke-dashoffset: var(--beam-travel, -180); }
	100% { stroke-dashoffset: var(--beam-travel, -180); }
}


.services-lanes {
	display: grid;
	gap: 0;
	padding-block: var(--sec-m) var(--wp--preset--spacing--space-7);
}

.services-lanes .intro {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-3);
	text-align: center;
}

.services-lanes .intro h2,
.how-it-works h2,
.case-studies h2,
.category-switch h2 {
	margin: 0;
	max-width: 36rem;
	font-size: var(--wp--preset--font-size--heading-3);
}

.services-lanes .intro h2 {
	max-width: 564px;
	font-size: 48px;
}

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

.services-lanes .stage,
.services-converge .stage {
	position: relative;
	width: min(100%, 1440px);
	margin-inline: auto;
}

.services-lanes .stage {
	aspect-ratio: 1440 / 682;
	container-type: inline-size;
}

.services-lanes .beam-art.beam-desktop {
	top: 10.7038%;
	width: 100%;
}
.services-lanes .beam-mobile {
	display: none;
}

.services-lanes .chips,
.services-lanes .hub {
	z-index: 1;
}

.services-lanes .beam-art,
.services-converge .beam-art {
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
}

.services-lanes .chips,
.services-lanes .hub,
.services-converge .rows,
.services-converge .fee {
	position: absolute;
	inset: 0;
}

.services-lanes .hub,
.services-converge .fee,
.services-converge .slot {
	inset: auto;
}

.services-lanes .service-chip {
	position: absolute;
	top: 14%;
}

.services-lanes .service-chip:nth-child(1) { left: 5.6%; }
.services-lanes .service-chip:nth-child(2) { left: 21.1%; }
.services-lanes .service-chip:nth-child(3) { left: 36.7%; }
.services-lanes .service-chip:nth-child(4) { left: 52.3%; }
.services-lanes .service-chip:nth-child(5) { left: 67.9%; }
.services-lanes .service-chip:nth-child(6) { left: 83.5%; }

.services-lanes .hub {
	left: 42.9%;
	top: 82%;
}

.services-converge .stage {
	/* The stage is drawn at 1440. Sizes inside it scale with the stage width. */
	--converge-scale: calc(100cqi / 90rem);
	aspect-ratio: 1440 / 984;
	overflow: hidden;
	container-type: inline-size;
}

.services-converge .beam-art {
	top: -3.252%;
}

.services-converge .slot {
	position: absolute;
	width: 26.9%;
}

.services-converge .slot:nth-child(1),
.services-converge .slot:nth-child(4) { top: 8.13%; }
.services-converge .slot:nth-child(2),
.services-converge .slot:nth-child(5) { top: 38.211%; }
.services-converge .slot:nth-child(3),
.services-converge .slot:nth-child(6) { top: 68.293%; }
.services-converge .slot.start { left: 3.3%; }
.services-converge .slot.end { left: 69.8%; }

.services-converge .lane-card {
	width: 100%;
	min-height: calc(14.5rem * var(--converge-scale));
	padding: calc(var(--wp--preset--spacing--space-4) * var(--converge-scale));
	gap: calc(var(--wp--preset--spacing--space-4) * var(--converge-scale));
}

.services-converge .lane-card .icon {
	width: calc(3.75rem * var(--converge-scale));
}

.services-converge .lane-card .title {
	font-size: calc(var(--wp--preset--font-size--heading-4) * var(--converge-scale));
}

.services-converge .lane-card .text,
.services-converge .lane-card .text p {
	max-width: none;
	font-size: calc(var(--wp--preset--font-size--medium) * var(--converge-scale));
}

.services-converge .fee {
	left: 38.611%;
	top: 42.378%;
	z-index: 1;
	box-sizing: border-box;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: calc(var(--wp--preset--spacing--space-1) * var(--converge-scale));
	width: 22.778%;
	height: 15.244%;
	/* Side padding is kept small so the inline pill has room when its hover icon is wider, and the line never has to wrap. */
	padding: calc(var(--wp--preset--spacing--space-4) * var(--converge-scale)) calc(var(--wp--preset--spacing--space-3) * var(--converge-scale));
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--accent-brand);
	box-shadow: var(--wp--preset--shadow--card);
	color: var(--wp--preset--color--base-background);
	text-align: center;
}

.services-converge .fee .lead {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	gap: calc(var(--wp--preset--spacing--space-2) * var(--converge-scale));
	margin: 0;
	font-size: calc(var(--wp--preset--font-size--large) * var(--converge-scale));
	line-height: 1.4;
}

.services-converge .fee p {
	margin: 0;
	color: inherit;
	font-size: calc(var(--wp--preset--font-size--large) * var(--converge-scale));
	line-height: 1.4;
}

.services-converge .fee .flat-fee {
	padding-block: calc(var(--wp--preset--spacing--space-1) * var(--converge-scale));
	padding-inline: calc(var(--wp--preset--spacing--space-3) * var(--converge-scale));
	font-size: calc(var(--wp--preset--font-size--heading-5) * var(--converge-scale));
	background: var(--wp--preset--color--base-background);
	color: var(--wp--preset--color--accent-brand);
}

.how-it-works {
	position: relative;
	padding-block: var(--sec-s) var(--sec-m);
	overflow: hidden;
}

.linear-art {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 50%;
	width: min(2784px, 200%);
	max-width: none;
	height: auto;
	transform: translateX(-50%);
	pointer-events: none;
}

/* Expanded files keep the 1440 drawing's height and add side bleed, plus extra empty sky. The shift is a share of the image, so it scales with the drawing. */
.how-it-works .linear-art {
	transform: translate(-50%, -12.666%);
}

/* The calendar drawing sits on the bottom edge: its 1440 art is 851 tall and starts 63px down a 914px section. The wide file adds flat horizon on both sides. Below 1440 the width shrinks with the screen (1440 / 2784 = 51.72% is the art; 193.3334% makes the art exactly the screen width). */
.scheduler .linear-art {
	z-index: 1;
	top: auto;
	bottom: 0;
	width: min(2784px, 193.3334%);
	transform: translateX(-50%);
}

.how-it-works .alignwide,
.scheduler .alignwide {
	position: relative;
	z-index: 1;
}

.how-it-works h2 {
	margin-block-end: var(--wp--preset--spacing--space-8);
}

.how-it-works .steps {
	position: relative;
	display: grid;
	gap: var(--wp--preset--spacing--space-8);
}

.how-it-works .rail {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2rem;
	transform: translateX(-50%);
}

.how-it-works .rail-line,
.how-it-works .rail-fill {
	position: absolute;
	left: 50%;
	width: 4px;
	transform: translateX(-50%);
}

.how-it-works .rail-line {
	top: 0;
	bottom: 0;
	background: var(--wp--preset--color--contrast-subtle);
}

.how-it-works .rail-fill {
	top: 0;
	height: 0;
	background: var(--wp--preset--color--accent-hover);
}

.how-it-works .step {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 5.5rem minmax(0, 1fr);
	align-items: center;
	column-gap: var(--wp--preset--spacing--space-4);
}

.how-it-works .step.start .point-card { grid-column: 1; justify-self: end; }
.how-it-works .step.end .point-card { grid-column: 3; justify-self: start; }
.how-it-works .badge {
	position: relative;
	z-index: 1;
	grid-column: 2;
	justify-self: center;
}

.how-it-works .point-card {
	width: min(100%, 34rem);
}

.case-studies {
	padding-block: var(--sec-m) var(--sec-s);
}

.case-studies .inner {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	min-width: 0;
}

.case-studies .heading {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	margin-right: -80px;
	position: relative;
	--pt: var(--wp--preset--spacing--space-6);
	--pb: 0px;
	padding: var(--pt) 0 var(--pb) 80px;
	white-space: nowrap;
}

/* The box runs from the section top edge to the middle of the heading text, plus the 32px from the box bottom to the green dot, so the dot is centered on the text at any width. */
.case-studies .heading .dots {
	position: absolute;
	top: calc(-1 * var(--sec-m));
	left: 0;
	width: 57px;
	height: calc(var(--sec-m) + (100% + var(--pt) - var(--pb)) / 2 + 32px);
	container-type: size;
}

/* Extends the SVG's faint line up to the box top (the section edge) so the graphic is flush before the dark fill runs. */
.case-studies .heading .dots::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;
}

.case-studies .heading .dots img {
	position: absolute;
	bottom: 0;
	left: 0;
	clip-path: inset(65% 0 0 0);
}

.dots {
	position: relative;
	display: block;
	flex: none;
	width: 3.5rem;
}

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

.dots-fill {
	position: absolute;
	top: 0;
	left: calc(47.3684% + var(--line-snap, 0px));
	width: var(--line-w, 2px);
	height: 0;
	background: var(--wp--preset--color--accent-hover);
	pointer-events: none;
}

/* The fan is drawn at 1106px. Below that, fan-fit takes the leftover row and the drawing scales to fit it. */
.case-studies .fan-fit {
	position: relative;
	flex: 1 1 0;
	align-self: flex-start;
	width: auto;
	min-width: 0;
	max-width: 1106px;
	aspect-ratio: 1106 / 480;
	container-type: inline-size;
}

.case-studies .fan {
	position: absolute;
	top: 0;
	right: 0;
	width: 1106px;
	height: 480px;
	transform: scale(min(1, 100cqi / 1106px));
	transform-origin: top right;
}

/* Card poses from the design's Default and Hover variants. Left and top place each card's unrotated box inside the 1106 by 480 drawing (the Figma boxes are the rotated bounds, so these are their centers minus half a card). Stacking is blue over cream over green at rest; on hover the cream card rises over both. */
.case-studies .fan .case-card {
	position: absolute;
	transition: left 0.9s ease-in-out, top 0.9s ease-in-out, transform 0.9s ease-in-out;
}

.case-studies .fan .case-card:nth-child(1) { z-index: 3; left: 117.8px; top: 21.9px; transform: rotate(-1.35deg); }
.case-studies .fan .case-card:nth-child(2) { z-index: 2; left: 429.9px; top: 5.4px; transform: rotate(1.85deg); }
.case-studies .fan .case-card:nth-child(3) { z-index: 1; left: 740.7px; top: 16px; transform: rotate(-0.93deg); }

.case-studies:hover .fan .case-card:nth-child(1),
.case-studies.is-hover .fan .case-card:nth-child(1) { z-index: 1; left: 117.8px; top: 22px; transform: rotate(1.19deg); }
.case-studies:hover .fan .case-card:nth-child(2),
.case-studies.is-hover .fan .case-card:nth-child(2) { z-index: 3; left: 405.4px; top: 7.8px; transform: rotate(-0.35deg); }
.case-studies:hover .fan .case-card:nth-child(3),
.case-studies.is-hover .fan .case-card:nth-child(3) { z-index: 2; left: 705.5px; top: 27.5px; transform: rotate(0.71deg); }

/* The portrait and Read More tilt against the card, and settle on hover. */
.case-studies .fan .case-card .portrait,
.case-studies .fan .case-card .button {
	transition: transform 0.9s ease-in-out;
}

.case-studies .fan .case-card .button { transform: rotate(-0.88deg); }

.case-studies:hover .fan .case-card .button,
.case-studies.is-hover .fan .case-card .button { transform: none; }

.case-studies:hover .fan .case-card.blue .portrait,
.case-studies.is-hover .fan .case-card.blue .portrait { --tilt: -3.03deg; }
.case-studies:hover .fan .case-card.cream .portrait,
.case-studies.is-hover .fan .case-card.cream .portrait { --tilt: 2.45deg; }
.case-studies:hover .fan .case-card.green .portrait,
.case-studies.is-hover .fan .case-card.green .portrait { --tilt: -1.19deg; }

.category-switch .road-band {
	background: var(--wp--preset--color--base-lighter);
	border-bottom-left-radius: var(--wp--custom--radius--x-large);
	border-bottom-right-radius: var(--wp--custom--radius--x-large);
	padding-bottom: var(--wp--preset--spacing--space-7);
	padding-inline: var(--wp--custom--site--margin);
}

.category-switch .road {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: var(--wp--preset--spacing--space-3);
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	min-height: 54px;
	margin: 0 auto;
}

.category-switch .milepost {
	display: flex;
	align-items: center;
	flex: none;
	gap: var(--wp--preset--spacing--space-2);
	margin: 0;
	color: var(--wp--preset--color--contrast-strongest);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--heading-4);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.category-switch .milepost .icon,
.category-switch .heading .icon,
.category-switch .categories .icon {
	width: auto;
	height: auto;
	max-width: none;
}

.category-switch .road-stroke {
	flex: 1 1 auto;
	align-self: center;
	height: 2px;
	min-width: 0;
	background: var(--wp--preset--color--accent-brand);
}

.category-switch .categories {
	display: flex;
	align-items: center;
	flex: none;
	flex-shrink: 0;
	gap: var(--wp--preset--spacing--space-3);
}

.category-switch .category {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--contrast-strongest);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--heading-5);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
	white-space: nowrap;
	cursor: pointer;
}

.category-switch .category.is-current,
.category-switch .category:hover {
	color: var(--wp--preset--color--contrast-strongest);
	text-decoration: underline;
	text-decoration-thickness: auto;
	text-underline-position: from-font;
}

.category-switch .selected {
	padding-top: var(--sec-s);
	padding-bottom: var(--sec-m);
}

.category-switch .panel {
	display: grid;
	gap: var(--wp--custom--section-space--small);
}

.category-switch .panel.is-loading .posts {
	opacity: var(--wp--custom--opacity--soft);
	transition: opacity 0.2s ease;
}

.category-switch .loading {
	margin: 0;
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--medium);
	text-align: center;
}

.category-switch .sentinel {
	display: block;
	height: 1px;
	margin-block-start: calc(-1 * var(--wp--custom--section-space--small));
}

.category-switch .empty {
	margin: 0;
	padding-inline: var(--wp--preset--spacing--space-7);
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--large);
}

.category-switch .heading {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--space-4);
}

.category-switch .heading h2 {
	margin: 0;
	max-width: none;
	font-size: 4rem;
}

.category-switch .posts {
	display: grid;
	gap: var(--wp--custom--section-space--small);
}

.category-switch .post {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--space-7);
	padding-inline: var(--wp--preset--spacing--space-7);
}

.category-switch .post.is-end {
	flex-direction: row-reverse;
}

.category-switch .photo {
	width: 560px;
	height: 360px;
	flex: 0 0 560px;
	max-width: none;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--medium);
}

.category-switch .copy {
	display: flex;
	flex: 0 0 538px;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--space-4);
	width: 538px;
}

.category-switch .post.is-end .copy {
	align-items: flex-end;
	text-align: right;
}

.category-switch .content,
.category-switch .titles {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.category-switch .content {
	gap: var(--wp--preset--spacing--space-3);
}

.category-switch .titles {
	align-items: flex-start;
	gap: var(--wp--preset--spacing--space-2);
}

.category-switch .post.is-end .titles {
	align-items: flex-end;
}

.category-switch .post h3,
.category-switch .post p {
	margin: 0;
}

.category-switch .post h3 {
	font-size: var(--wp--preset--font-size--heading-5);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
}

.category-switch .post h3 a {
	color: inherit;
	text-decoration: none;
}

.category-switch .post h3 a:hover {
	color: var(--wp--preset--color--accent-brand);
}

.category-switch .date {
	color: var(--wp--preset--color--accent-brand);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.6;
}

.category-switch .excerpt {
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	line-height: 1.4;
}

.scheduler {
	position: relative;
	padding-block: 11.5625rem;
	overflow: hidden;
	background: var(--wp--preset--color--base-background);
	/* The drawing is 2784x851 and sits on the section's bottom edge. Below 1440 it shrinks with the width (193.3334% of the section makes the art exactly the screen width). Its height drives where the sky ends. */
	container-type: inline-size;
	--art-w: min(2784px, 193.3334cqw);
	--art-h: calc(var(--art-w) * 851 / 2784);
}

/* The sky fills from the section top down to 58% of the way down the drawing, the line of the hills, so it always ends behind the mountains however tall the section grows (the booking panel's height changes it). The image keeps its whole height and only its sides are cropped. */
.scheduler .sky {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 50%;
	width: min(160%, 90rem);
	height: calc(100% - 0.42 * var(--art-h));
	object-fit: cover;
	object-position: top center;
	opacity: 0.5;
	transform: translateX(-50%);
	pointer-events: none;
}

/* Past 1440 the sky grows to the width of the drawing (same 2784px cap as .linear-art), so the glow stays in the lower left. */
@media (min-width: 1441px) {
	.scheduler .sky {
		width: min(100%, 2784px);
	}
}

.scheduler .heading {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-3);
	margin-block-end: var(--wp--preset--spacing--space-7);
	text-align: center;
}

/* The end padding cancels the closing letter space, so the centered line sits where Figma centers it. */
.scheduler h2 {
	max-width: 50rem;
	margin: 0;
	padding-inline-end: 0.02em;
	font-size: 4rem;
}

.scheduler .heading p {
	position: relative;
	top: 1px;
	max-width: 40rem;
	margin: 0;
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.scheduler .panel {
	width: min(100%, 75rem);
	margin-inline: auto;
}

/* The panel is wide so Calendly uses its two-column layout (details left, calendar and times right). Its card floats on the section background. The page scrolls inside the frame if it needs more height. */
.scheduler .panel iframe {
	display: block;
	width: 100%;
	height: 46rem;
	border: 0;
}

.category-switch .category:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-brand);
	outline-offset: 2px;
}

.road-cta {
	position: relative;
	overflow: hidden;
	min-height: 47.9375rem;
	padding-block: var(--sec-m) var(--sec-l);
	background: var(--road-bg, var(--wp--preset--color--base-lighter));
}

.road-cta.is-bottom {
	border-bottom-right-radius: var(--wp--custom--radius--x-large);
	border-bottom-left-radius: var(--wp--custom--radius--x-large);
}

.road-cta.is-top {
	border-top-right-radius: var(--wp--custom--radius--x-large);
	border-top-left-radius: var(--wp--custom--radius--x-large);
}

/* The drawing is the design's 1440 by 767 crop (centered, as in Figma) with the side edges mirrored out to 2784px. Cover fits it to the section height, so on a wide screen the scene keeps its size and the road stays centered behind the card; the extra width only shows more landscape. */
.road-cta .scene {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: min(2784px, 200%);
	max-width: none;
	height: auto;
	transform: translateX(-50%);
	pointer-events: none;
}

.road-cta .offer {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-5);
	width: min(100%, 37.875rem);
	margin-inline: auto;
	padding-top: var(--wp--preset--spacing--space-3);
	text-align: center;
}

.road-cta h2 {
	margin: 0;
	color: var(--wp--preset--color--accent-brand);
	font-size: 4rem;
}

.road-cta .card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--space-4);
	width: 100%;
	padding: var(--wp--preset--spacing--space-4) var(--wp--preset--spacing--space-5);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--base-background);
	box-shadow: 0 4px 2px rgba(12, 12, 13, 0.05), 0 16px 16px rgba(12, 12, 13, 0.1);
}

/* Hexagon from the design (114.2 x 130, tilted 2.04deg). The wrapper holds the tilt and the Figma shadows (0 4 4 -4 at 5%, 0 16 32 -4 at 10%) so the mask on .shape can't clip them. A negative spread is an inset; blur radius is twice the CSS blur. */
.road-cta .portrait {
	position: relative;
	display: block;
	flex: none;
	width: 114.214px;
	height: 130px;
	transform: rotate(-2.04deg);
}

.road-cta .portrait::before,
.road-cta .portrait::after {
	content: "";
	position: absolute;
	inset: 4px;
	background: url("../images/layouts/road/hex-mask.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}

.road-cta .portrait::before {
	transform: translateY(4px);
	opacity: 0.05;
	filter: brightness(0) blur(2px);
}

.road-cta .portrait::after {
	transform: translateY(16px);
	opacity: 0.1;
	filter: brightness(0) blur(16px);
}

.road-cta .portrait .shape {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	overflow: hidden;
	-webkit-mask: url("../images/layouts/road/hex-mask.svg") center / 100% 100% no-repeat;
	mask: url("../images/layouts/road/hex-mask.svg") center / 100% 100% no-repeat;
	-webkit-mask-mode: alpha;
	mask-mode: alpha;
}

.road-cta .portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.road-cta .copy {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-4);
	width: min(100%, 23.5rem);
}

.road-cta .copy p {
	margin: 0;
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.4;
	opacity: 0.75;
}

.road-cta .copy strong {
	font-weight: 600;
}

.road-cta .button .icon {
	width: 1rem;
	height: 1rem;
}

.quiz-band {
	background: var(--wp--preset--color--base-background);
}

.quiz-band .stage {
	position: relative;
	width: min(100%, 90rem);
	height: 39.346rem;
	margin-inline: auto;
}

.quiz-band .screens {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
}

.quiz-band .screens li {
	position: absolute;
}

.quiz-band .screens img {
	display: block;
	width: 100%;
	height: auto;
}

/* The flow images include their own drop shadow (48px left, 16px top padding), so each box is oversized and shifted back to keep the card where the design places it. */
.quiz-band .is-2 {
	top: 11.36%;
	left: 13.304%;
	width: 11.58%;
}

.quiz-band .is-3 {
	top: 43.61%;
	left: 6.368%;
	width: 13.225%;
}

.quiz-band .is-4 {
	top: 61.45%;
	left: 82.43%;
	width: 14.223%;
}

.quiz-band .is-5 {
	top: 14.18%;
	left: 82.263%;
	width: 14.418%;
}

.quiz-band .is-6 {
	top: 37.71%;
	left: 71.664%;
	width: 11.963%;
}

.quiz-band .is-welcome {
	top: 62.27%;
	left: 20.03%;
	width: 12.014%;
}

.quiz-band .copy {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-5);
	padding-top: 10rem;
	text-align: center;
}

.quiz-band .heading {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-4);
	width: min(100%, 31.3125rem);
}

.quiz-band h2 {
	margin: 0;
	font-size: 3rem;
}

.quiz-band .heading p {
	margin: 0;
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	line-height: 1.4;
}

.quiz-band .heading strong,
.quiz-band .proof strong {
	font-weight: 600;
}

.quiz-band .cta {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--space-2);
}

.quiz-band .proof {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--space-3);
	margin: 0;
	padding: var(--wp--preset--spacing--space-2);
	color: var(--wp--preset--color--contrast-medium);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
	white-space: nowrap;
}

.quiz-band .faces {
	position: relative;
	display: block;
	flex: none;
	width: 2.916rem;
	height: 2.096rem;
}

.quiz-band .faces img {
	position: absolute;
	top: 0;
	width: 1.8125rem;
	height: 2rem;
	object-fit: cover;
	border: var(--wp--custom--border-width--small) solid var(--wp--preset--color--base-lighter);
	border-radius: 2px;
	box-shadow: 0 1px 4px rgba(12, 12, 13, 0.1), 0 1px 4px rgba(12, 12, 13, 0.05);
}

.quiz-band .faces img:nth-child(1) {
	left: 0;
	transform: rotate(-2.08deg);
}

.quiz-band .faces img:nth-child(2) {
	left: 0.471rem;
	transform: rotate(-3.13deg);
}

.quiz-band .faces img:nth-child(3) {
	left: 1.026rem;
	width: 1.792rem;
	transform: rotate(-2.89deg);
}

.bio-scroll {
	position: relative;
	background: var(--wp--preset--color--base-background);
}

.bio-sheet {
	background: var(--wp--preset--color--base-background);
	padding-block: var(--sec-m);
}

@media (min-width: 768px) {
	.bio-scroll.is-scrolling .bio-sheet {
		position: sticky;
		top: var(--bio-pin-top, 0px);
		z-index: 2;
	}
}

.bio-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) min(30rem, 36%);
	grid-template-areas: "copy portrait";
	gap: var(--wp--preset--spacing--space-8);
	align-items: center;
}

.bio-scroll.is-portrait-start .bio-row {
	grid-template-columns: min(30rem, 36%) minmax(0, 1fr);
	grid-template-areas: "portrait copy";
}

.bio-main {
	grid-area: copy;
	display: grid;
	gap: var(--wp--preset--spacing--space-6);
	min-width: 0;
}

.bio-content {
	display: grid;
	gap: var(--wp--preset--spacing--space-4);
	min-width: 0;
}

.bio-heading {
	display: grid;
	gap: var(--wp--preset--spacing--space-2);
	color: var(--wp--preset--color--accent-brand);
}

.bio-heading h2 {
	margin: 0;
	color: inherit;
	font-size: 3rem;
}

.bio-main > .button {
	justify-self: start;
}

.bio-heading p {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.6;
	text-transform: uppercase;
}

.bio-window {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 2px;
	column-gap: 2.375rem;
	height: 373px;
	padding-inline-end: 1.5rem;
	overflow: hidden;
}

.bio-scroll.is-open .bio-window {
	height: auto;
	max-height: none;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 0;
	padding-inline-end: 0;
}

.bio-scroll.is-open .bio-scrollbar {
	display: none;
}

.bio-text {
	display: grid;
	gap: 1.4em;
	align-content: start;
}

.bio-text p {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.4;
	color: var(--wp--preset--color--contrast-strongest);
}

.bio-scrollbar {
	position: relative;
	width: 2px;
	height: 100%;
}

.bio-scrollbar::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0.5px;
	width: 1px;
	background: var(--wp--preset--color--contrast-subtle);
}

.bio-thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 2px;
	height: 57%;
	border-radius: 1px;
	background: var(--wp--preset--color--accent-brand);
}

.bio-portrait {
	grid-area: portrait;
	margin: 0;
	height: 32rem;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--large);
	background: var(--wp--preset--color--base-background);
}

.bio-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media (max-width: 1024px) {
	.services-lanes .stage {
		width: min(100%, 26.25rem);
		aspect-ratio: 375 / 823.6;
		overflow-x: clip;
		margin-top: -4rem;
	}

	.services-lanes .beam-desktop {
		display: none;
	}

	.services-lanes .beam-mobile {
		display: block;
		top: 22.778%;
		left: -141.8667%;
		width: 384%;
		height: 70.786%;
	}

	.services-lanes .beam-mobile svg {
		width: 100%;
		height: 100%;
	}

	.services-lanes .service-chip {
		width: 158px;
		height: 178px;
		transform-origin: 0 0;
		transform: scale(calc(var(--lane-scale, 100cqw / 375px) * 0.8101266));
	}

	.services-lanes .service-chip:nth-child(1) { left: 4.2667%; top: 11.7776%; }
	.services-lanes .service-chip:nth-child(2) { left: 4.2667%; top: 37.2997%; }
	.services-lanes .service-chip:nth-child(3) { left: 4.2667%; top: 62.8218%; }
	.services-lanes .service-chip:nth-child(4) { left: 61.6%; top: 11.6561%; }
	.services-lanes .service-chip:nth-child(5) { left: 61.6%; top: 37.2997%; }
	.services-lanes .service-chip:nth-child(6) { left: 61.6%; top: 62.9432%; }

	.services-lanes .hub {
		left: 22.8%;
		top: 85.3084%;
		transform-origin: 0 0;
		transform: scale(var(--lane-scale, calc(100cqw / 375px)));
	}

	.services-lanes .hub .button {
		width: 204px;
		height: 57px;
		padding-block: 0;
		padding-inline: var(--page-pad);
		white-space: nowrap;
	}

	.services-converge .stage {
		aspect-ratio: auto;
		display: grid;
		justify-items: center;
		gap: var(--wp--preset--spacing--space-5);
	}

	.services-converge .beam-art,
	.services-converge .rows,
	.services-converge .fee,
	.services-converge .slot {
		position: static;
		inset: auto;
		width: auto;
		left: auto;
		top: auto;
	}

	.services-converge .beam-art {
		display: none;
	}

	.services-converge .lane-card {
		min-height: 14.5rem;
		padding: var(--wp--preset--spacing--space-4);
		gap: var(--wp--preset--spacing--space-4);
	}

	.services-converge .lane-card .icon {
		width: 3.75rem;
	}

	.services-converge .lane-card .title {
		font-size: var(--wp--preset--font-size--heading-4);
	}

	.services-converge .lane-card .text,
	.services-converge .lane-card .text p {
		font-size: var(--wp--preset--font-size--medium);
	}

	.services-converge .fee .lead,
	.services-converge .fee p {
		font-size: var(--wp--preset--font-size--large);
	}

	/* Unscaled here: the desktop gap shrinks with --converge-scale and nearly disappears on a phone. */
	.services-converge .fee .lead {
		gap: var(--wp--preset--spacing--space-3);
	}

	.services-converge .fee {
		padding: var(--wp--preset--spacing--space-4) var(--wp--preset--spacing--space-3);
		gap: var(--wp--preset--spacing--space-1);
	}

	.services-converge .fee .flat-fee {
		padding-block: var(--wp--preset--spacing--space-1);
		padding-inline: var(--wp--preset--spacing--space-3);
		font-size: var(--wp--preset--font-size--heading-5);
	}

	.services-converge .rows {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: var(--wp--preset--spacing--space-4);
	}

	.services-converge .slot,
	.services-converge .fee {
		width: min(100%, 24rem);
		height: auto;
	}

	.case-studies .inner {
		grid-template-columns: 1fr;
	}

	.case-studies .fan-fit {
		display: contents;
	}

	.case-studies .fan {
		position: relative;
		inset: auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		height: auto;
		transform: none;
		gap: var(--wp--preset--spacing--space-4);
	}

	.case-studies .fan .case-card,
	.case-studies:hover .fan .case-card,
	.case-studies.is-hover .fan .case-card {
		position: static;
		left: auto;
		top: auto;
		transform: none;
	}

	.bio-row,
	.bio-scroll.is-portrait-start .bio-row {
		grid-template-columns: 1fr;
		grid-template-areas:
			"portrait"
			"copy";
		justify-items: center;
	}

	.bio-sheet {
		padding-block: var(--wp--preset--spacing--space-6);
	}

	.bio-main {
		width: min(100%, 50rem);
	}

	.bio-heading h2 {
		font-size: var(--wp--preset--font-size--heading-4);
	}

	.bio-portrait {
		width: min(100%, 22rem);
		height: auto;
		max-height: none;
		aspect-ratio: 1 / 1;
	}

	.scheduler {
		padding-block: var(--wp--custom--section-space--main);
	}

	.scheduler h2,
	.road-cta h2 {
		font-size: var(--wp--preset--font-size--heading-3);
	}

	.scheduler .panel {
		width: min(100%, 36rem);
	}

	.scheduler .panel iframe {
		height: 62.5rem;
	}

	.road-cta {
		min-height: 0;
	}

	.road-cta .card {
		flex-direction: column;
	}

	.quiz-band .stage {
		height: auto;
	}

	.quiz-band .screens {
		display: none;
	}

	.quiz-band .copy {
		padding: var(--wp--custom--section-space--main) var(--page-pad);
	}

	.quiz-band h2 {
		font-size: var(--wp--preset--font-size--heading-4);
	}

	.how-it-works .linear-art,
	.how-it-works .rail {
		display: none;
	}

	.how-it-works .steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
		gap: var(--wp--preset--spacing--space-6) var(--wp--preset--spacing--space-4);
	}

	.how-it-works .step {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		height: 100%;
	}

	.how-it-works .step .point-card,
	.how-it-works .step.start .point-card,
	.how-it-works .step.end .point-card {
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
		/* Left-align everything so the button lines up with the text instead of sitting centered with extra side space. */
		align-items: flex-start;
	}

	.how-it-works .point-card .copy {
		width: 100%;
	}

	.how-it-works .badge {
		z-index: 2;
		margin-bottom: -0.75rem;
	}
}

@media (max-width: 767px) {
	.how-it-works .steps {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.how-it-works .step {
		height: auto;
	}

	.how-it-works .step .point-card,
	.how-it-works .step.start .point-card,
	.how-it-works .step.end .point-card {
		flex: none;
	}

	/* Card content has a fixed max width (22rem) and is centered in the card; the button lines up with the text's left edge. */
	.how-it-works .point-card .copy {
		width: 100%;
		max-width: 22rem;
		margin-inline: auto;
	}

	.how-it-works .point-card .text,
	.how-it-works .point-card .text p {
		max-width: none;
	}

	.how-it-works .point-card .button {
		align-self: flex-start;
		margin-inline-start: max(0px, calc((100% - 22rem) / 2));
	}

	.category-switch .road-band {
		padding-inline: var(--page-pad);
	}

	.category-switch .road {
		align-items: flex-start;
		flex-direction: column;
	}

	.category-switch .road-stroke {
		display: none;
	}

	.category-switch .categories {
		flex-wrap: wrap;
	}

	.category-switch .post,
	.category-switch .post.is-end {
		flex-direction: column;
		align-items: stretch;
		padding-inline: 0;
	}

	.category-switch .photo {
		width: 100%;
		height: auto;
		aspect-ratio: 560 / 360;
		flex-basis: auto;
	}

	.category-switch .copy,
	.category-switch .post.is-end .copy {
		width: auto;
		flex-basis: auto;
		align-items: flex-start;
		text-align: left;
	}

	.category-switch .post.is-end .titles {
		align-items: flex-start;
	}

	.bio-window {
		height: auto;
		max-height: none;
		column-gap: var(--wp--preset--spacing--space-3);
		padding-inline-end: var(--wp--preset--spacing--space-2);
	}

	.bio-scroll.is-scrolling .bio-text {
		max-height: 18rem;
		overflow-y: auto;
		scrollbar-width: none;
	}

	.bio-scroll.is-scrolling .bio-text::-webkit-scrollbar {
		display: none;
	}

	.bio-portrait {
		position: relative;
		width: min(100%, 24rem);
		height: auto;
		max-height: none;
		aspect-ratio: 1 / 1;
	}

	.bio-portrait img {
		position: absolute;
		inset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.beam-art path[stroke^="url"],
	.case-studies .fan .case-card,
	.how-it-works .step-badge.is-arriving {
		animation: none;
		transition: none;
	}

	.beam-live {
		display: none;
	}

	.bio-window {
		height: auto;
		overflow: visible;
		grid-template-columns: 1fr;
		padding-inline-end: 0;
	}

	.bio-scrollbar {
		display: none;
	}
}

/* Start Here scroll on desktop: the design frame is a fixed 1440 by 1647 composition. */
@media (min-width: 1025px) {
	.how-it-works {
		box-sizing: border-box;
		height: 1647px;
		padding: 80px 0 0;
		overflow: visible;
		border-radius: var(--wp--custom--radius--x-large);
		background: linear-gradient(to bottom, var(--wp--preset--color--base-background) 15.392%, var(--wp--preset--color--base-lighter));
	}

	.how-it-works .alignwide {
		position: absolute;
		top: 0;
		left: 50%;
		width: 1440px;
		max-width: none;
		height: 100%;
		margin: 0 0 0 -720px;
	}

	.how-it-works h2 {
		width: 700px;
		margin: 0 auto;
		font-size: 64px;
		line-height: 1.05;
		letter-spacing: -1.28px;
		text-align: center;
	}

	.how-it-works .steps,
	.how-it-works .step {
		display: block;
		position: static;
	}

	/* The rail runs past the section's bottom edge (260px top + 1492px = 1752px, against a 1647px section) and ends at the center of the dotted ring, which sits 105px into the "Think about it" band. */
	.how-it-works .rail {
		top: 260px;
		bottom: auto;
		left: 704px;
		width: 32px;
		height: 1492px;
		transform: none;
	}

	.how-it-works .rail-line,
	.how-it-works .rail-fill {
		z-index: 1;
	}

	/* Past the section edge the track sits on the dark photo, so it turns into a faint light line. */
	.how-it-works .rail-line {
		background: linear-gradient(
			to bottom,
			var(--wp--preset--color--contrast-subtle) calc(100% - 105px),
			rgba(255, 255, 255, 0.16) calc(100% - 105px)
		);
	}

	/* dots-ring.svg is the design's point_group, 61.29x69, with its center dot at (31.42, 34.33). That dot is centered on the rail's end. */
	.how-it-works .rail-end {
		position: absolute;
		left: calc(50% - 31.4177px);
		bottom: -34.667px;
		z-index: 2;
		width: 61.2859px;
		height: 69.0003px;
		opacity: 0.4;
		transition: opacity 0.4s ease;
	}

	.how-it-works .rail.is-reached .rail-end {
		opacity: 1;
	}

	@media (prefers-reduced-motion: reduce) {
		.how-it-works .rail-end {
			transition: none;
		}
	}

	.how-it-works .point-card {
		position: absolute;
		box-sizing: border-box;
		width: 540px;
		min-height: 0;
		padding: 32px 24px 24px;
		align-items: flex-start;
		overflow: visible;
	}

	/* The design's body copy fills the card's content box (card width minus 24px padding each side); the shared lane-card 22rem cap would leave extra space on the right. */
	.how-it-works .point-card .copy {
		width: 100%;
		gap: 24px;
	}

	.how-it-works .point-card .text,
	.how-it-works .point-card .text p {
		max-width: none;
	}

	.how-it-works .point-card {
		gap: 24px;
	}

	/* Design metrics: 50px title lines, 24px between paragraphs, 57px button. */
	.how-it-works .point-card .title {
		line-height: 50px;
	}

	.how-it-works .point-card .text p {
		margin-bottom: 24px;
	}

	.how-it-works .point-card .text p:last-child {
		margin-bottom: 0;
	}

	.how-it-works .point-card .button {
		padding-block: 15px;
	}

	.how-it-works .step:nth-child(2) .point-card { left: 80px; top: 261px; }
	.how-it-works .step:nth-child(3) .point-card { left: 824px; top: 683px; width: 504px; text-align: end; }
	.how-it-works .step:nth-child(4) .point-card { left: 80px; top: 1016px; }
	.how-it-works .step:nth-child(3) .point-card .title { width: 331px; margin-left: auto; }

	.how-it-works .badge {
		position: absolute;
		left: 678px;
		width: 88px;
		display: grid;
		justify-items: center;
	}

	.how-it-works .step:nth-child(2) .badge { top: 391px; }
	.how-it-works .step:nth-child(3) .badge { top: 798px; }
	.how-it-works .step:nth-child(4) .badge { top: 1205px; }
}
