/*
  Academy17 homepage layout (static /home)

  Grid: 12 columns inside the framed content width. Outer margin is
  --a17-grid-margin (desktop: 15vw each side). Gutter --a17-grid-gutter
  sits between columns. Desktop splits
  columns 1–7 (text) and 8–12 (photo rail); both rows share --a17-grid-top.

  Spacing: 8px base — 8, 16, 24, 32, 48, 64, 96, 128 as --a17-space-1…8.
  Section gaps use --a17-section-gap (64px). Heading→body uses --a17-stack-md.

  Type: 1.25 modular scale from 16px body. Roles: --a17-display, --a17-heading,
  --a17-body, --a17-caption. Body max width --a17-measure (65ch).
*/

:root {
	--index-page: #ffffff;
}

html[data-ground="paper"] {
	--a17-space-1: 8px;
	--a17-space-2: 16px;
	--a17-space-3: 24px;
	--a17-space-4: 32px;
	--a17-space-5: 48px;
	--a17-space-6: 64px;
	--a17-space-7: 96px;
	--a17-space-8: 128px;
	--a17-grid-columns: 12;
	--a17-grid-gutter: var(--a17-space-3);
	--a17-grid-margin: max(28px, 5.5vw);
	--a17-grid-max: none;
	--a17-grid-top: clamp(var(--a17-space-4), 3.5vw, 44px);
	/* Hero rail photo width: 82.5% × 1.15 bump ≈ 94.9% of the rail column. Height on desktop: --spa-rail-photo-height from spa-rail-photo.js. */
	--spa-rail-photo-width: 94.875%;
	--spa-rail-photo-foot-gap: 15px;
	--a17-section-gap: var(--a17-space-6);
	--a17-stack-sm: var(--a17-space-2);
	--a17-stack-md: var(--a17-space-3);
	--a17-type-ratio: 1.25;
	--a17-type-base: 16px;
	--a17-display-size: calc(var(--a17-type-base) * var(--a17-type-ratio) * var(--a17-type-ratio));
	/* Hero + product points: type sizes matched to parsed.com research (Dec 2026) */
	--a17-hero-size: 2.125rem; /* 34px below 700px */
	--a17-hero-size-md: 2.75rem; /* 44px from 700px up */
	--a17-hero-lh: 1.08;
	--a17-hero-track: -0.02em;
	--a17-feature-title-size: 0.875rem; /* 14px mobile */
	--a17-feature-title-lh: 1.7;
	--a17-feature-body-size: 0.875rem;
	--a17-feature-body-lh: 1.6;
	--a17-heading-size: calc(var(--a17-type-base) * var(--a17-type-ratio));
	--a17-body-size: var(--a17-type-base);
	--a17-caption-size: 12px;
	--a17-line-display: 1.12;
	--a17-line-heading: 1.25;
	--a17-line-body: 1.5;
	--a17-line-caption: 1.4;
	--a17-measure: 65ch;
}

html,
body,
.spa__left {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.spa__left::-webkit-scrollbar {
	display: none;
}

html[data-ground="paper"] {
	/* Falls back to tokens/fonts.css --font-grotesque; override Waldenburg here when licensed. */
	--font-display: var(--font-grotesque);
	--font-ui: var(--font-grotesque);
	--font-prose: var(--font-grotesque);
	--font-label: var(--font-grotesque);
	background: var(--index-page);
	color: var(--ink-1);
}

body {
	margin: 0;
	min-height: 100%;
	background: #ffffff;
	color: #000000;
	overflow-x: hidden;
}

.spa-landing {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
	width: min(36rem, 100%);
	text-align: left;
	flex: 0 0 auto;
	min-height: 0;
	padding: 0;
}

.spa-landing__brand {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--display-2-size);
	line-height: var(--display-2-lh);
}

.spa-landing__logo {
	display: block;
	width: auto;
	max-width: 56px;
	height: 32px;
	object-fit: contain;
}

.spa-landing__sub {
	margin: 0;
	max-width: var(--a17-measure);
	font-family: var(--font-prose);
	font-size: var(--a17-body-size);
	line-height: var(--a17-line-body);
	color: var(--text-secondary);
}

.spa-landing__sub--last {
	margin-bottom: var(--space-2);
}

.spa-landing__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 8px;
}

.spa-landing__more {
	padding-bottom: 2px;
	border-bottom: 1px solid currentColor;
	font-size: 14px;
	color: var(--text-primary);
	text-decoration: none;
}

.spa-landing__more:focus-visible {
	outline: 1px solid var(--text-primary);
	outline-offset: 4px;
}

.spa-landing__tagline {
	margin: 0;
	max-width: var(--a17-measure);
	font-family: var(--font-display);
	font-size: var(--a17-hero-size);
	line-height: var(--a17-hero-lh);
	letter-spacing: var(--a17-hero-track);
	font-weight: 400;
}

.spa-landing__tagline.k-heading--1 {
	font-size: var(--a17-hero-size);
	line-height: var(--a17-hero-lh);
	letter-spacing: var(--a17-hero-track);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.spa {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	min-width: 0;
}

.spa__left {
	min-width: 0;
}

.spa__main {
	min-width: 0;
}

@media (max-width: 1099px) {
	.motion [data-type]:not(.type-live) {
		visibility: visible;
	}

	.spa {
		display: flex;
		flex-direction: column;
	}

	.spa__left {
		display: block;
	}

	.spa__rail {
		display: block;
	}

	.spa {
		padding-inline: var(--a17-grid-margin);
	}

	.spa-landing {
		padding: var(--a17-grid-top) 0 var(--a17-space-4);
		gap: var(--a17-space-4);
	}

	.spa__rail {
		width: 100%;
		min-width: 0;
	}

	.spa__sky--rail {
		display: block;
		box-sizing: border-box;
		width: 100%;
		height: auto;
		min-height: 0;
		margin: 0;
		padding: var(--a17-stack-md) 0 0;
		border-top: 0;
		background: #ffffff;
	}

	.spa__sky--rail .spa__sky-stack {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.spa__sky--rail .spa__sky-frame {
		display: block;
		box-sizing: border-box;
		width: var(--spa-rail-photo-width);
		max-width: var(--spa-rail-photo-width);
		max-height: none;
		margin-inline: auto;
		aspect-ratio: 2 / 3;
	}

	.spa__main {
		padding: 0 0 var(--a17-space-6);
		margin-top: 0;
	}

	.spa__foot.sitefoot {
		position: static;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		margin: var(--a17-stack-md) 0 0;
		padding: 0 0 var(--a17-space-6);
		border-top: 0;
		background: #ffffff;
		justify-content: center;
		flex-wrap: wrap;
		gap: var(--a17-space-1) var(--a17-space-2);
	}
}

@media (max-width: 720px) {
	.spa .spa__foot.sitefoot {
		justify-content: center;
	}
}

@media (max-width: 1099px) {
	.work.po3 .past-work-entry {
		opacity: 1;
		visibility: visible;
		filter: none;
		transform: none;
	}
}

.spa__intro {
	margin-bottom: var(--space-8);
}

.spa__brand {
	margin: 0 0 var(--space-4);
	font-family: var(--font-display);
	font-size: var(--display-2-size);
	line-height: var(--display-2-lh);
}

.spa__title {
	margin: 0 0 var(--space-4);
	max-width: 38rem;
}

.spa__desc {
	margin: 0;
	max-width: var(--measure);
	font-family: var(--font-prose);
	font-size: var(--prose-size);
	line-height: var(--prose-lh);
}

.spa__rail {
	display: flex;
	flex-direction: column;
}

.spa__sky {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 45vh;
	min-height: 220px;
	padding: clamp(16px, 3vw, 28px);
	border-top: 1px solid var(--rule-hair);
	background: #ffffff;
	overflow: hidden;
}

.spa__sky-frame {
	position: relative;
	box-sizing: border-box;
	width: min(72vw, 17.5rem);
	max-height: min(46vh, 22rem);
	aspect-ratio: 2 / 3;
	border: 1px solid var(--rule-hair);
	background: #ffffff;
	overflow: hidden;
}

.spa__sky-media {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}

.spa__sky-still {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 55%;
}

.spa[data-sky-static="1"] .spa__sky-still {
	transform: none;
	animation: none;
}

.spa[data-sky-static="1"] .spa__sky-frame {
	opacity: 1;
	animation: none;
}

.spa__foot.sitefoot {
	border-top: 1px solid var(--rule-hair);
	padding: var(--space-4) clamp(16px, 4vw, var(--space-7));
}

.spa__main .spa__philosophy {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.work {
	margin-top: 0;
	width: 100%;
	flex: 0 0 auto;
}

.spa__main > .why:first-child {
	margin-top: var(--a17-section-gap);
	padding-bottom: 0;
}

.spa__main > .why + .work {
	margin-top: var(--a17-section-gap);
}

.spa__main > .work:last-child {
	padding-bottom: var(--a17-section-gap);
}

.work h2 {
	font-weight: 400;
	font-family: var(--font-display);
	font-size: var(--a17-heading-size);
	line-height: var(--a17-line-heading);
	margin: 0 0 var(--a17-stack-md);
}

.work h3 {
	font-weight: 400;
	font-family: var(--font-display);
	font-size: var(--a17-body-size);
	line-height: var(--a17-line-heading);
	margin: 0;
}

.work .index {
	border-top: 1px solid #bdbdbd;
}

.work .entry {
	display: grid;
	grid-template-columns: 34px 206px 1fr;
	column-gap: 18px;
	padding: 25px 0 28px;
	border-bottom: 1px solid #d8d8d8;
	margin: 0;
}

.work .number {
	font-size: 12px;
	line-height: 1.8;
	color: #8a8a8a;
	font-variant-numeric: tabular-nums;
}

.work .category {
	font-size: 12px;
	line-height: 1.5;
	color: #777;
	margin: 9px 0 0;
	max-width: 180px;
}

.work .description {
	font-size: 13px;
	line-height: 1.6;
	color: #606060;
	margin: 0;
}

/* Six entries read better as a two-column grid than as six full-width rows. */
@media (min-width: 700px) {
	.work:not(.po3) .index {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: var(--space-6);
	}

	.work:not(.po3) .entry {
		grid-template-columns: 34px 1fr;
		row-gap: 10px;
		padding: 20px 0 22px;
	}

	.work:not(.po3) .description {
		grid-column: 2;
	}
}

/* The numbers we can stand behind, set at the top of the type band so they lead each entry. */
.work .entry__metrics {
	grid-column: 2 / -1;
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}

.work .entry__metrics li {
	display: grid;
	gap: 2px;
}

.work .entry__metrics strong {
	font-weight: 400;
	font-size: var(--display-1-size);
	line-height: 1.1;
	letter-spacing: var(--display-1-track);
	color: var(--text-primary);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.work .entry__metrics span {
	font-size: 12px;
	line-height: 1.4;
	color: var(--text-tertiary);
	max-width: 7.5em;
}

.why {
	margin-top: 0;
	padding-bottom: 0;
	width: 100%;
}

.home-features {
	display: flex;
	flex-direction: column;
	gap: var(--a17-space-6);
	width: min(36rem, 100%);
	margin: var(--a17-space-5) 0;
	padding: var(--a17-space-5) 0;
	border-top: 1px solid var(--rule-hair);
	border-bottom: 1px solid var(--rule-hair);
}

.spa__main > .home-features + .work {
	margin-top: 0;
}

.home-features__item {
	margin: 0;
}

.home-features__title {
	margin: 0;
	max-width: var(--a17-measure);
	font-family: var(--font-display);
	font-size: var(--a17-feature-title-size);
	font-weight: 700;
	line-height: var(--a17-feature-title-lh);
	letter-spacing: 0;
	color: var(--text-primary);
}

.home-features__body {
	margin: var(--a17-space-2) 0 0;
	max-width: var(--a17-measure);
	font-family: var(--font-prose);
	font-size: var(--a17-feature-body-size);
	line-height: var(--a17-feature-body-lh);
	letter-spacing: 0;
	font-weight: 400;
	color: var(--text-secondary);
}

@media (min-width: 700px) {
	html[data-ground="paper"] {
		--a17-feature-title-size: 1rem;
		--a17-feature-body-size: 1rem;
	}

	.spa-landing__tagline,
	.spa-landing__tagline.k-heading--1 {
		font-size: var(--a17-hero-size-md);
	}

	.home-features__title {
		font-size: var(--a17-feature-title-size);
		line-height: var(--a17-feature-title-lh);
	}

	.home-features__body {
		font-size: var(--a17-feature-body-size);
		line-height: var(--a17-feature-body-lh);
	}
}

.why h2 {
	font-weight: 400;
	font-family: var(--font-display);
	font-size: var(--a17-heading-size);
	line-height: var(--a17-line-heading);
	margin: 0 0 var(--a17-stack-md);
}

.why__points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--a17-grid-gutter);
	border-top: 1px solid var(--rule-hair);
}

.why__point {
	display: grid;
	grid-template-rows: auto auto 1fr;
	align-content: start;
	gap: var(--a17-space-1);
	padding: var(--a17-stack-md) 0 0;
	margin: 0;
}

.why__point .number {
	display: block;
	font-family: var(--font-ui);
	font-size: var(--a17-caption-size);
	line-height: var(--a17-line-caption);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--text-tertiary);
	font-variant-numeric: tabular-nums;
}

.why__point h3 {
	font-weight: 400;
	font-family: var(--font-display);
	font-size: var(--a17-body-size);
	line-height: var(--a17-line-heading);
	margin: 0;
}

.why__point p {
	font-size: var(--a17-caption-size);
	line-height: var(--a17-line-body);
	color: var(--text-secondary);
	margin: 0;
	max-width: var(--a17-measure);
}

.why__point a {
	color: var(--text-primary);
}

@media (max-width: 699px) {
	.why__points {
		grid-template-columns: 1fr;
	}

	.why__point {
		padding-bottom: 8px;
	}
}

@media (max-width: 699px) {
	.work .entry {
		grid-template-columns: 34px 1fr;
		grid-template-areas:
			"num lead"
			"desc desc";
		row-gap: 12px;
	}

	.work .number {
		grid-area: num;
	}

	.work .entry__lead {
		grid-area: lead;
	}

	.work .description {
		grid-area: desc;
		padding-left: 0;
	}
}

.work.po3 .index {
	column-gap: var(--space-6);
	row-gap: var(--space-6);
	border-bottom: 1px solid #bdbdbd;
}

.work.po3 .entry {
	min-width: 0;
	grid-template-columns: var(--a17-space-5) minmax(0, 1fr);
	grid-template-areas:
		"plate plate"
		"num lead"
		"desc desc"
		"metrics metrics";
	grid-template-rows: auto auto auto auto;
	gap: var(--a17-stack-md) var(--a17-stack-sm);
	padding: var(--a17-space-3) 0 var(--a17-space-4);
	align-content: start;
	border-bottom: 0;
}

.work.po3 .number {
	grid-area: num;
	font-family: var(--font-ui);
	font-size: var(--a17-caption-size);
	line-height: var(--a17-line-caption);
	letter-spacing: 0.02em;
	color: var(--text-tertiary);
	font-variant-numeric: tabular-nums;
}

.work.po3 .entry__lead {
	grid-area: lead;
}

.work.po3 .description {
	grid-area: desc;
	grid-column: 1 / -1;
	min-width: 0;
	max-width: var(--a17-measure);
	padding-left: 0;
}

.work.po3 .category {
	max-width: 230px;
	margin-top: 7px;
}

/* The kinds of firms each solution served. Darker and larger than a category so it reads at a glance. */
.work.po3 .entry__firms {
	max-width: none;
	font-size: 14px;
	color: var(--text-primary);
}

.work.po3 .entry__metrics {
	grid-area: metrics;
	grid-column: 1 / -1;
	box-sizing: border-box;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	margin: var(--a17-space-1) 0 0;
	padding: 0;
	gap: var(--a17-grid-gutter);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: end;
}

.work.po3 .entry__metrics li {
	min-width: 0;
	max-width: 100%;
	display: grid;
	gap: 2px;
	align-content: start;
}

.work.po3 .entry__metrics strong {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.work.po3 .entry__metrics span {
	max-width: 100%;
	overflow-wrap: break-word;
}

.work.po3 .entry:last-child {
	border-bottom: 0;
}

.work.po3 .past-work-list {
	--past-work-plate-frac-num: 1;
	--past-work-plate-frac-den: 1;
	--past-work-plate-w: calc(100% * var(--past-work-plate-frac-num) / var(--past-work-plate-frac-den));
	--past-work-visual-inset: 0px;
	display: flex;
	flex-direction: column;
	gap: var(--a17-section-gap);
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	container-type: inline-size;
}

@media (min-width: 700px) {
	.work.po3 .past-work-list {
		/* ~75% of the left column; ~5/12 of the framed page width at 1440. */
		--past-work-plate-frac-num: 3;
		--past-work-plate-frac-den: 4;
	}
}

.work.po3 .past-work-entry {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	border-bottom: 0;
}

.work.po3 .past-work-entry .entry__metrics {
	margin-bottom: 0;
}

.work.po3 .past-work-list .past-work-entry .entry__metrics {
	box-sizing: border-box;
	width: var(--past-work-plate-w);
	max-width: 100%;
	margin-inline: auto;
	justify-content: center;
}

.work.po3 .past-work-list .past-work-entry .entry__metrics li {
	text-align: center;
	justify-items: center;
}

.work.po3 .past-work-entry .po3__figure,
.work.po3 .past-work-entry .po3__plate,
.work.po3 .past-work-entry .po3__map {
	max-width: 100%;
}

.work.po3 .past-work-entry .po3__map,
.work.po3 .past-work-entry .artifact__map-host {
	overflow: hidden;
}

.work.po3 .past-work-list .past-work-entry .po3__figure {
	width: var(--past-work-plate-w);
	max-width: 100%;
	margin-inline: auto;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.work.po3 .past-work-list .po3__figure .po3__plate,
.work.po3 .past-work-list .po3__figure .po3__map {
	flex: 0 0 auto;
}

.work.po3 .past-work-list .past-work-entry .number {
	margin-top: 0;
}

.work.po3 .past-work-list .past-work-entry > :not(.po3__figure) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
}

.po3__figure {
	grid-area: plate;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 var(--space-2);
}

.work.po3 .past-work-list .past-work-entry .po3__figure .po3__plate,
.work.po3 .past-work-list .past-work-entry .po3__figure .po3__map,
.work.po3 .past-work-list .po3__plate,
.work.po3 .past-work-list .po3__figure .artifact__frame.po3__map,
.work.po3 .past-work-list .po3__figure .po3__map {
	box-sizing: border-box;
	width: calc(100% - 2 * var(--past-work-visual-inset));
	max-width: calc(100% - 2 * var(--past-work-visual-inset));
	margin-inline: var(--past-work-visual-inset);
	aspect-ratio: 4 / 3;
	height: auto;
	max-height: none;
	padding: var(--a17-space-2);
	overflow: hidden;
	border: 0;
	box-shadow: inset 0 0 0 1px #bdbdbd;
	background: #fff;
	position: relative;
	display: block;
}

@supports (width: round(down, 100%, 1px)) {
	.work.po3 .past-work-list .past-work-entry .po3__figure .po3__plate,
	.work.po3 .past-work-list .past-work-entry .po3__figure .po3__map,
	.work.po3 .past-work-list .po3__plate,
	.work.po3 .past-work-list .po3__figure .artifact__frame.po3__map,
	.work.po3 .past-work-list .po3__figure .po3__map {
		width: round(down, calc(100% - 2 * var(--past-work-visual-inset)), 1px);
		max-width: round(down, calc(100% - 2 * var(--past-work-visual-inset)), 1px);
	}
}

.work.po3 .past-work-list .po3__figure .po3__map {
	aspect-ratio: 4 / 3;
	display: block;
	contain: layout paint;
	overflow: clip;
	isolation: isolate;
	z-index: 0;
	box-shadow: inset 0 0 0 1px #bdbdbd;
	border: 0;
	background: #fff;
}

.work.po3 .past-work-list .po3__map .gtm-map,
.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map {
	border: 0;
	box-shadow: none;
}

.work.po3 .past-work-list .po3__map.artifact__frame--map {
	min-height: 0;
}

.work.po3 .past-work-list .po3__map .artifact__map-host,
.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map {
	min-height: 0 !important;
	height: 100% !important;
	max-height: 100%;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map,
.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map__stage {
	height: 100% !important;
	min-height: 0 !important;
	max-height: 100%;
}

.work.po3 .past-work-list .po3__map .gtm-map__poster,
.work.po3 .past-work-list .po3__map .gtm-map__poster--static {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map {
	box-sizing: border-box;
	flex: 1 1 auto;
	width: auto;
	height: auto;
	min-height: 0;
	max-width: 100%;
	border: 0;
	overflow: clip;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map {
	border: 0;
	border-right: none;
	max-width: 100%;
	overflow: hidden;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map__stage {
	max-width: 100%;
	overflow: hidden;
}

.work.po3 .past-work-list .po3__plate .past-work-fan-host,
.work.po3 .past-work-list .po3__plate .operand-fan {
	position: absolute;
	inset: var(--a17-space-2);
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.work.po3 .past-work-list .po3__plate > .artifact__map-host,
.work.po3 .past-work-list .po3__plate[data-plate-map] > .artifact__map-host {
	position: absolute;
	inset: var(--a17-space-2);
	width: auto;
	height: auto !important;
	min-width: 0;
	min-height: 0 !important;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	overflow: hidden;
	display: block;
}

.work.po3 .past-work-list .po3__plate[data-plate-map] {
	box-shadow: none;
}

/* Live map paints over the plate hairline unless the ring sits above it. */
.work.po3 .past-work-list .po3__plate[data-plate-map]::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px #bdbdbd;
	pointer-events: none;
	z-index: 2;
}

.work.po3 .past-work-list .po3__plate > .artifact__map-host .gtm-map__poster,
.work.po3 .past-work-list .po3__plate > .artifact__map-host .gtm-map__poster--static {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.work.po3 .past-work-list .po3__plate > .artifact__map-host .map,
.work.po3 .past-work-list .po3__plate > .artifact__map-host .map__stage {
	height: 100% !important;
	min-height: 0 !important;
	max-height: 100%;
	overflow: hidden;
}

.work.po3 .past-work-list .po3__map > .artifact__map-host {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	overflow: clip;
}

.work.po3 .past-work-list .po3__map > .artifact__map-host .gtm-map__poster--static,
.work.po3 .past-work-list .po3__map .gtm-map__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
}

.work.po3 .past-work-list .po3__plate .operand-fan__tile {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
}

.work.po3 .past-work-list .po3__plate .operand-fan__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
}

.work.po3 .past-work-list .po3__plate > canvas.po3__canvas {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% - 2 * var(--a17-space-2)) !important;
	height: calc(100% - 2 * var(--a17-space-2)) !important;
	max-width: calc(100% - 2 * var(--a17-space-2));
	max-height: calc(100% - 2 * var(--a17-space-2));
	margin: 0;
	transform: translate(-50%, -50%);
	object-fit: contain;
	image-rendering: auto;
}

.work.po3 .past-work-list .po3__plate[data-plate-host]:not([data-plate-map]) {
	cursor: pointer;
}

.work.po3 .past-work-list .po3__map .artifact__map-host,
.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map {
	width: 100%;
	height: 100%;
	min-height: 0;
	border: 0;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-height: 0;
	overflow: hidden;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map,
.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map__stage {
	height: 100%;
	min-height: 0;
}

.work.po3 .past-work-list .po3__map .artifact__map-host.gtm-map .map__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.work.po3 .past-work-list .po3__map #map-svg {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
}

.po3__plate {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 320 / 210;
	padding: 0;
	border: 1px solid #bdbdbd;
	border-radius: 0;
	background: #fff;
	color: var(--text-primary);
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.po3__plate:focus-visible {
	outline: 1px solid var(--text-primary);
	outline-offset: 4px;
}

.po3__plate canvas {
	position: absolute;
	inset: 0;
	display: block;
	image-rendering: pixelated;
	pointer-events: none;
}

.po3__plate .past-work-fan-host,
.po3__plate .operand-fan {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	gap: 0;
}

.po3__plate .operand-fan__tile {
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
	overflow: visible;
	transform: none;
	position: relative;
}

.po3__plate .operand-fan__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	image-rendering: auto;
	pointer-events: auto;
}

.po3__plate .operand-fan__finding-card--dock-top {
	top: 6px !important;
	left: 6px !important;
	right: 6px;
	width: calc(100% - 12px) !important;
	max-width: none;
}

.po3__plate .operand-fan__tooltip {
	font-size: 11px;
	line-height: 1.35;
}

.po3__plate .operand-fan__finding-card {
	position: absolute;
	z-index: 4;
	width: min(252px, calc(100% - 16px));
	padding: 6px 8px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
	font-family: var(--font-ui);
	color: #333;
	pointer-events: none;
	text-align: left;
}

.operand-fan__finding-card--narrow {
	width: calc(100% - 12px);
	padding: 5px 7px;
	font-size: 10px;
}

.operand-fan__finding-kicker {
	margin: 0 0 4px;
	font-size: 10px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	color: #888;
}

.operand-fan__finding-meta-line {
	margin: 0;
	font-size: 10px;
	line-height: 1.3;
	color: #666;
}

.po3__caption {
	display: grid;
	grid-template-columns: var(--a17-space-5) minmax(0, 1fr);
	gap: var(--a17-space-1);
	min-height: 0;
	align-content: start;
	margin-top: var(--a17-stack-sm);
	font-family: var(--font-ui);
	font-size: var(--a17-caption-size);
	line-height: var(--a17-line-caption);
	font-weight: 400;
	color: var(--text-tertiary);
}

.po3__caption span:first-child {
	color: #8a8a8a;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

@media (min-width: 700px) {
	.work.po3 .index {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.work.po3 .po3__figure {
		width: 100%;
		max-width: 100%;
		justify-self: stretch;
		margin-inline: 0;
	}

	.work.po3 .entry {
		grid-template-columns: var(--a17-space-5) minmax(0, 1fr);
	}

	.work.po3 .entry__metrics strong {
		font-size: clamp(1.125rem, 2.1vw, 1.5rem);
	}

	.work.po3 .entry__metrics span {
		font-size: 11px;
		line-height: 1.35;
	}
}

@media (max-width: 699px) {
	.work.po3 .po3__plate,
	.work.po3 .po3__figure .po3__map {
		aspect-ratio: 320 / 158;
	}

	.work.po3 .past-work-list .po3__plate,
	.work.po3 .past-work-list .po3__figure .po3__map {
		aspect-ratio: 4 / 3;
		max-height: min(52vw, 220px);
	}

	.work.po3 .entry {
		grid-template-areas:
			"plate plate"
			"num lead"
			"desc desc"
			"metrics metrics";
		padding-top: var(--space-5);
		padding-bottom: var(--space-6);
		margin-bottom: var(--space-2);
	}

	.work.po3 .entry:last-child {
		margin-bottom: 0;
	}

	.work.po3 .entry__metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.work.po3 .entry__metrics strong {
		font-size: clamp(1.125rem, 7vw, var(--display-1-size));
		white-space: normal;
	}
}

.work.po3 .entry__metrics:has(li:nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work.po3 .entry__metrics:has(li:only-child) {
	grid-template-columns: minmax(0, 1fr);
}

@media (prefers-reduced-motion: reduce) {
	.work.po3 *,
	.work.po3 *::before,
	.work.po3 *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media print {
	.work.po3 .entry {
		break-inside: avoid;
	}
}

.spa__philosophy-copy {
	max-width: var(--measure);
	font-family: var(--font-prose);
	font-size: var(--prose-size);
	line-height: var(--prose-lh);
}

.artifact {
	margin-top: var(--space-8);
	border: 1px solid var(--rule-hair);
	background: #ffffff;
}

.artifact__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-3);
	padding: var(--space-4);
	border-bottom: 1px solid var(--rule-hair);
}

.artifact__title {
	margin: 0;
	flex: 1 1 auto;
	font-family: var(--font-display);
	font-size: var(--heading-2-size);
	font-weight: 400;
}

.artifact__caption,
.artifact__map-caption {
	margin: var(--space-3) var(--space-2) 0;
	padding: 0;
	font-size: var(--ui-sm-size, 0.8125rem);
	line-height: var(--ui-sm-lh, 1.4);
	font-weight: 400;
	color: var(--ink-3);
}

/* Market map in Past work entry 02. Same frame as the dithered plates. */
.po3__figure .po3__map {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 320 / 210;
	min-height: 0;
	overflow: hidden;
	border: 1px solid #bdbdbd;
	background: #fff;
}

.po3__map .artifact__map-host.gtm-map {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	gap: 0;
}

.po3__map .artifact__map-host.gtm-map .map {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	border: 0;
}

.po3__map .artifact__map-host.gtm-map .map__stage {
	position: absolute;
	inset: 0;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
}

.po3__map .artifact__map-host.gtm-map .map__svg {
	display: block;
	width: 100%;
	height: 100%;
}

.artifact__frame {
	position: relative;
	min-height: 0;
}

@media (max-width: 1099px) {
	.artifact__frame {
		min-height: 200px;
	}
}

.artifact__map-host {
	min-height: 180px;
	display: flex;
	flex-direction: column;
}

.artifact__map-host.gtm-map {
	flex: 0 0 auto;
	width: 100%;
	min-height: 200px;
	height: auto;
}

.artifact__map-host.gtm-map .map {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	min-height: 0;
	height: 100%;
	border-right: none;
}

.artifact__map-host.gtm-map .map__stage {
	position: relative;
	inset: auto;
	flex: 0 0 auto;
	min-height: 0;
	height: auto;
}

.past-work__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-7);
}

.past-work__entry {
	padding-top: var(--space-4);
	border-top: 1px solid var(--rule-hair);
}

.past-work__title {
	margin: var(--space-2) 0;
	font-family: var(--font-display);
	font-size: var(--heading-3-size);
	font-weight: 400;
}

.past-work__block {
	margin: var(--space-3) 0;
	max-width: var(--measure);
	font-size: var(--prose-size);
	line-height: var(--prose-lh);
}

.past-work__metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: var(--space-3);
	margin: var(--space-4) 0 0;
	padding: 0;
	list-style: none;
}

.past-work__metric {
	border: 1px solid var(--rule-hair);
	padding: var(--space-3);
}

.past-work__metric-value {
	display: block;
	font-family: var(--font-display);
	font-size: var(--heading-3-size);
}

.past-work__metric-label {
	display: block;
	margin-top: var(--space-1);
	font-size: var(--ui-sm-size);
	color: var(--ink-3);
}

.gtm-map .dot--pulse {
	box-shadow: 0 0 0 calc(2px + var(--pulse, 0.4) * 4px) rgba(224, 71, 47, 0.35);
}

@media (min-width: 1100px) {
	body {
		overflow: hidden;
	}

	.spa {
		--a17-grid-margin: 15vw;
		display: grid;
		grid-template-columns: repeat(var(--a17-grid-columns), minmax(0, 1fr));
		column-gap: var(--a17-grid-gutter);
		align-items: stretch;
		box-sizing: border-box;
		width: calc(100% - 2 * var(--a17-grid-margin));
		max-width: none;
		height: 100dvh;
		max-height: 100dvh;
		margin-inline: auto;
		overflow: hidden;
	}

	.spa__left {
		grid-column: 1 / 8;
		display: flex;
		flex-direction: column;
		width: auto;
		flex: none;
		max-width: none;
		height: 100dvh;
		max-height: 100dvh;
		overflow-x: hidden;
		overflow-y: auto;
		padding: var(--a17-grid-top) 0 var(--a17-space-6);
		box-sizing: border-box;
		overscroll-behavior: contain;
	}

	.spa__main {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow: visible;
		margin-top: 0;
	}

	.spa__main .work {
		flex: 0 0 auto;
	}

	.spa-landing {
		flex: 0 0 auto;
		gap: var(--space-3);
		padding-bottom: 0;
	}

	.spa-landing__brand {
		font-size: clamp(1rem, 2.4vh, var(--display-2-size));
		line-height: 1.1;
	}

	.spa-landing__tagline,
	.spa-landing__tagline.k-heading--1 {
		font-size: var(--a17-hero-size-md);
		line-height: var(--a17-hero-lh);
		letter-spacing: var(--a17-hero-track);
	}

	.spa__rail {
		grid-column: 8 / 13;
		position: sticky;
		top: 0;
		width: auto;
		flex: none;
		height: 100dvh;
		align-self: flex-start;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		isolation: isolate;
		min-height: 0;
	}

	.spa__rail .spa__sky--rail {
		flex: 1 1 auto;
		min-height: 0;
	}

	.spa__sky--rail {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		min-height: 0;
		padding: var(--a17-grid-top) 0 var(--a17-grid-top);
		border-top: 0;
		background: #ffffff;
	}

	.spa__sky-stack {
		display: flex;
		flex: 0 0 auto;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 100%;
		min-height: 0;
		height: auto;
		max-height: none;
	}

	.spa__sky--rail .spa__sky-frame {
		display: block;
		flex: 0 0 auto;
		box-sizing: border-box;
		width: var(--spa-rail-photo-width);
		max-width: var(--spa-rail-photo-width);
		height: var(--spa-rail-photo-height, auto);
		min-height: 0;
		max-height: var(--spa-rail-photo-height, none);
		margin-inline: auto;
		aspect-ratio: auto;
		border: 1px solid var(--rule-hair);
	}

	.spa__sky--rail .spa__foot.sitefoot {
		position: static;
		z-index: auto;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		margin: var(--spa-rail-photo-foot-gap) 0 0;
		padding: 0;
		border-top: 0;
		background: none;
		justify-content: center;
		flex-wrap: wrap;
		gap: var(--a17-space-1) var(--a17-space-2);
		font-size: var(--a17-caption-size);
		color: #000000;
		-webkit-text-fill-color: #000000;
	}

	.spa__sky--rail .spa__foot.sitefoot a,
	.spa__sky--rail .spa__foot.sitefoot a:hover,
	.spa__sky--rail .spa__foot.sitefoot a:focus-visible {
		color: #000000;
		-webkit-text-fill-color: #000000;
	}

}

@media (min-width: 700px) and (max-width: 1099px) {
	.spa {
		padding-inline: var(--a17-grid-margin);
	}

	.spa-landing {
		padding-top: var(--a17-grid-top);
	}

	.why__points {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Hidden field that only bots fill in. Kept off screen, not display:none, so bots still see it. */
.partner__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* The kit's field and button styles set display, which would override the hidden attribute. */
.partner [hidden] {
	display: none !important;
}

/* Motion: typed lines, a caret, and sections that fade up as they scroll in. Only runs when html has .motion. */
.motion [data-type]:not(.type-live) {
	visibility: hidden;
}

.motion .spa-landing__sub:not(.reveal--in),
.motion .spa-landing__actions:not(.reveal--in) {
	opacity: 0;
}

.type-caret {
	display: inline-block;
	width: 2px;
	height: 0.9em;
	margin-left: 2px;
	vertical-align: -0.08em;
	background: currentColor;
	animation: type-caret 1.1s ease-in-out infinite;
}

.type-caret--done {
	opacity: 0;
	animation: none;
	transition: opacity 0.6s ease 0.6s;
}

@keyframes type-caret {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.15;
	}
}

/* A soft rise out of a slight blur, with a long gentle finish and no bounce. */
.reveal {
	opacity: 0;
	transform: translateY(8px);
	filter: blur(2px);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--in {
	opacity: 1;
	transform: none;
	filter: none;
}

/* Mobile rail aligns to text column; base .spa__sky / .spa__foot padding loads later in the file. */
@media (max-width: 1099px) {
	.spa .spa__sky.spa__sky--rail {
		height: auto;
		min-height: 0;
		overflow: visible;
		align-items: stretch;
		justify-content: flex-start;
		padding: var(--a17-stack-md) 0 0;
		padding-inline: 0;
		border-top: 0;
	}

	.spa .spa__sky.spa__sky--rail .spa__sky-stack {
		align-items: center;
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
		padding-inline: 0;
		box-sizing: border-box;
	}

	.spa .spa__sky.spa__sky--rail .spa__sky-frame {
		width: var(--spa-rail-photo-width);
		max-width: var(--spa-rail-photo-width);
		margin-inline: auto;
		padding-inline: 0;
		box-sizing: border-box;
	}

	.spa .spa__rail .spa__foot.sitefoot {
		width: 100%;
		max-width: 100%;
		margin: var(--spa-rail-photo-foot-gap) 0 0;
		margin-inline: 0;
		padding: 0 0 var(--a17-space-6);
		padding-inline: 0;
		border-top: 0;
		justify-content: center;
		color: #000000;
		-webkit-text-fill-color: #000000;
	}

	.spa .spa__rail .spa__foot.sitefoot a,
	.spa .spa__rail .spa__foot.sitefoot a:hover,
	.spa .spa__rail .spa__foot.sitefoot a:focus-visible {
		color: #000000;
		-webkit-text-fill-color: #000000;
	}

	.spa__main {
		padding-bottom: 0;
	}

	.spa__main > .work:last-child {
		padding-bottom: 0;
		margin-bottom: 0;
	}

	.spa__rail {
		margin-top: var(--a17-section-gap);
	}

}

/* In-page links glide instead of jumping. */
@media (prefers-reduced-motion: no-preference) {
	html,
	.spa__left {
		scroll-behavior: smooth;
	}
}


