/* ==========================================================================
   Multiunit v3: experience layer
   Display preferences, the 3D cube, the assembly sequence, page transitions,
   motion, scrollbars, small touches and Insights layouts.
   ========================================================================== */

/* Display preferences ------------------------------------------------------ */

html[data-text="2"] { font-size: 112.5%; }
html[data-text="3"] { font-size: 125%; }

html[data-contrast="high"][data-theme="dark"] {
	--wp--preset--color--base: #000000;
	--wp--preset--color--surface: #0b0d0f;
	--wp--preset--color--contrast: #ffffff;
	--wp--preset--color--muted: #e3e8ed;
	--wp--preset--color--accent: #d9ebf8;
	--wp--preset--color--on-accent: #000000;
	--wp--preset--color--line: #8794a0;
}

html[data-contrast="high"][data-theme="light"] {
	--wp--preset--color--base: #ffffff;
	--wp--preset--color--surface: #ffffff;
	--wp--preset--color--contrast: #000000;
	--wp--preset--color--muted: #24292f;
	--wp--preset--color--accent: #0b3550;
	--wp--preset--color--on-accent: #ffffff;
	--wp--preset--color--line: #4f5b66;
}

html[data-links="1"] a:not(.wp-block-button__link):not(.mu-button):not(.mu-logo) {
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.2em;
}

html[data-font="readable"] h1,
html[data-font="readable"] h2,
html[data-font="readable"] h3,
html[data-font="readable"] h4,
html[data-font="readable"] .is-style-mu-callout,
html[data-font="readable"] .mu-next__title {
	font-family: var(--wp--preset--font-family--sans) !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
}

html[data-font="readable"] body {
	line-height: 1.8;
	word-spacing: 0.06em;
	letter-spacing: 0.01em;
}

html[data-font="readable"] p,
html[data-font="readable"] li {
	max-width: 68ch;
}

html[data-motion="reduce"] *,
html[data-motion="reduce"] *::before,
html[data-motion="reduce"] *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

html[data-motion="full"] {
	scroll-behavior: smooth;
}

/* Scrollbars ---------------------------------------------------------------- */

html {
	--mu-thumb: color-mix(in srgb, var(--wp--preset--color--contrast) 26%, var(--wp--preset--color--base));
	scrollbar-color: var(--mu-thumb) var(--wp--preset--color--base);
	scrollbar-width: thin;
}

::-webkit-scrollbar {
	width: 11px;
	height: 11px;
}

::-webkit-scrollbar-track {
	background: var(--wp--preset--color--base);
}

::-webkit-scrollbar-thumb {
	background: var(--mu-thumb);
	border: 3px solid var(--wp--preset--color--base);
	border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--wp--preset--color--accent);
}

.mu-view::-webkit-scrollbar-track,
.mu-chat__log::-webkit-scrollbar-track {
	background: var(--wp--preset--color--surface);
}

/* Page transitions (cross-document View Transitions; ignored where unsupported) --- */

@view-transition {
	navigation: auto;
}

.mu-header {
	view-transition-name: mu-header;
}

::view-transition-old(root) {
	animation: mu-vt-out 0.22s ease both;
}

::view-transition-new(root) {
	animation: mu-vt-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

::view-transition-group(mu-header) {
	animation: none;
}

@keyframes mu-vt-out {
	to { opacity: 0; transform: translateY(-6px); }
}

@keyframes mu-vt-in {
	from { opacity: 0; transform: translateY(14px); }
}

html[data-motion="reduce"]::view-transition-old(root),
html[data-motion="reduce"]::view-transition-new(root) {
	animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}
}

/* Header state, progress, back to top -------------------------------------- */

.mu-header {
	transition: box-shadow 0.3s var(--mu-ease), background-color 0.3s var(--mu-ease);
}

.mu-header.is-scrolled {
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.55);
}

.mu-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	height: 2px;
	pointer-events: none;
}

.admin-bar .mu-progress {
	top: 32px;
}

.mu-progress span {
	display: block;
	height: 100%;
	background: var(--wp--preset--color--accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.mu-totop {
	position: fixed;
	right: clamp(0.75rem, 2vw, 1.5rem);
	bottom: calc(clamp(0.75rem, 2vw, 1.5rem) + var(--mu-launcher, 0px));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: var(--mu-rule);
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	opacity: 0;
	transform: translateY(10px) scale(0.9);
	pointer-events: none;
	transition: opacity 0.3s var(--mu-ease), transform 0.3s var(--mu-ease), border-color 0.2s;
}

.mu-totop.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.mu-totop:hover {
	border-color: var(--wp--preset--color--accent);
}

.mu-totop svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Display panel ---------------------------------------------------------------- */

.mu-header {
	position: sticky;
}

.mu-view {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: max(var(--mu-gutter), calc((100vw - var(--mu-wide)) / 2 + var(--mu-gutter)));
	z-index: 70;
	width: min(23rem, calc(100vw - 2rem));
	max-height: calc(100vh - 7rem);
	overflow: auto;
	padding: 1.25rem 1.25rem 1rem;
	background: var(--wp--preset--color--surface);
	border: var(--mu-rule);
	box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
}

.mu-view.is-from-footer {
	position: fixed;
	top: auto;
	bottom: 1rem;
}

.mu-view[hidden] {
	display: none;
}

html[data-motion="full"] .mu-view:not([hidden]) {
	animation: mu-pop 0.22s var(--mu-ease) both;
}

@keyframes mu-pop {
	from { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

.mu-view__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mu-view__title {
	margin: 0;
	font-size: 1.25rem;
}

.mu-view__close {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.mu-view__close svg {
	width: 1.1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
}

.mu-view__intro {
	margin: 0.25rem 0 1rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
}

.mu-view__group {
	margin: 0 0 0.9rem;
	padding: 0;
	border: 0;
}

.mu-view__group legend {
	margin-bottom: 0.35rem;
	padding: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mu-seg {
	display: flex;
	border: var(--mu-rule);
	border-radius: 2px;
}

.mu-seg__opt {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
}

.mu-seg__opt + .mu-seg__opt {
	border-left: var(--mu-rule);
}

.mu-seg__opt input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.mu-seg__opt span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.35rem 0.4rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-align: center;
	line-height: 1.2;
}

.mu-seg__opt input:checked + span {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
	font-weight: 600;
}

.mu-seg__opt input:focus-visible + span {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	position: relative;
	z-index: 1;
}

.mu-view__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 0.75rem;
	border-top: var(--mu-rule);
	font-size: 0.875rem;
}

/* Footer v3 -------------------------------------------------------------------- */

.mu-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-footer__legal-list a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.mu-footer__legal-list a:hover {
	text-decoration: underline;
}

.mu-footer__buttons {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
}

.mu-footer__meta {
	align-items: center;
}

/* The 3D cube ---------------------------------------------------------------- */

.mu-cube3d {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	container-type: inline-size;
	outline-offset: 6px;
}

.mu-cube3d.is-live .mu-cube3d__fallback {
	display: none;
}

.mu-c3__scene {
	position: absolute;
	inset: 0;
	perspective: 1500px;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.mu-cube3d.is-dragging .mu-c3__scene {
	cursor: grabbing;
}

.mu-c3__rotor {
	--s: 17cqi;
	--gap: 0.06;
	--lift: 0px;
	--step: calc(var(--s) * (1 + var(--gap)));
	position: absolute;
	top: 50%;
	left: 50%;
	transform-style: preserve-3d;
	will-change: transform;
}

.mu-cube3d.is-open .mu-c3__rotor {
	--gap: 0.16;
	--lift: calc(var(--s) * 0.75);
}

.mu-c3__cubelet {
	--k: 1;
	position: absolute;
	transform-style: preserve-3d;
	transform: translate3d(
		calc(var(--x) * var(--step) * var(--k)),
		calc(var(--y) * var(--step) * var(--k) + var(--y) * var(--lift)),
		calc(var(--z) * var(--step) * var(--k))
	);
	transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mu-c3__cubelet.is-hover {
	--k: 1.1;
	transition-duration: 0.25s;
}

.mu-c3__face {
	--f: color-mix(in srgb, var(--wp--preset--color--contrast) 9%, var(--wp--preset--color--base));
	position: absolute;
	top: calc(var(--s) / -2);
	left: calc(var(--s) / -2);
	width: var(--s);
	height: var(--s);
	box-sizing: border-box;
	background: var(--f);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 20%, var(--wp--preset--color--base));
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transition: background-color 0.6s var(--mu-ease);
}

.mu-c3__face--front { transform: translateZ(calc(var(--s) / 2)); --f: color-mix(in srgb, var(--wp--preset--color--contrast) 11%, var(--wp--preset--color--base)); }
.mu-c3__face--back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.mu-c3__face--right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); --f: color-mix(in srgb, var(--wp--preset--color--contrast) 6%, var(--wp--preset--color--base)); }
.mu-c3__face--left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); --f: color-mix(in srgb, var(--wp--preset--color--contrast) 7%, var(--wp--preset--color--base)); }
.mu-c3__face--top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); --f: color-mix(in srgb, var(--wp--preset--color--contrast) 17%, var(--wp--preset--color--base)); }
.mu-c3__face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); --f: color-mix(in srgb, var(--wp--preset--color--contrast) 4%, var(--wp--preset--color--base)); }

html[data-theme="light"] .mu-c3__face { --f: color-mix(in srgb, var(--wp--preset--color--contrast) 5%, #ffffff); }
html[data-theme="light"] .mu-c3__face--top { --f: #ffffff; }
html[data-theme="light"] .mu-c3__face--front { --f: color-mix(in srgb, var(--wp--preset--color--contrast) 7%, #ffffff); }
html[data-theme="light"] .mu-c3__face--right { --f: color-mix(in srgb, var(--wp--preset--color--contrast) 13%, #ffffff); }

.mu-c3__cubelet.is-hover .mu-c3__face {
	border-color: var(--wp--preset--color--accent);
}

.mu-cube3d .mu-c3__cubelet.is-corner .mu-c3__face,
.is-style-mu-assembly.is-complete .mu-c3__cubelet.is-corner .mu-c3__face {
	--f: var(--wp--preset--color--accent);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 70%, var(--wp--preset--color--base));
}

.mu-cube3d .mu-c3__cubelet.is-corner .mu-c3__face--front,
.is-style-mu-assembly.is-complete .mu-c3__cubelet.is-corner .mu-c3__face--front {
	--f: color-mix(in srgb, var(--wp--preset--color--accent) 82%, var(--wp--preset--color--base));
}

.mu-cube3d .mu-c3__cubelet.is-corner .mu-c3__face--right,
.is-style-mu-assembly.is-complete .mu-c3__cubelet.is-corner .mu-c3__face--right {
	--f: color-mix(in srgb, var(--wp--preset--color--accent) 66%, var(--wp--preset--color--base));
}

.mu-c3__labels {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.mu-c3__label {
	position: absolute;
	right: -0.5rem;
	top: calc(18% + var(--i) * 32%);
	padding: 0.2rem 0.55rem;
	border: var(--mu-rule);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	transition: opacity 0.4s var(--mu-ease), transform 0.4s var(--mu-ease);
	transition-delay: calc(var(--i) * 80ms);
}

.mu-cube3d.is-open .mu-c3__label {
	opacity: 1;
	transform: none;
}

.mu-c3__controls {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
	margin-top: 0.75rem;
	font-size: 0.875rem;
}

.mu-hero-art {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

@media (min-width: 960px) {
	.mu-hero-art {
		max-width: 26rem !important;
	}
}

@media (max-width: 959px) {
	.mu-hero-art {
		grid-row: auto !important;
		justify-self: center !important;
		width: min(78vw, 20rem) !important;
		margin: 1rem 0 0 !important;
	}

	.mu-c3__label {
		right: -0.25rem;
		font-size: 0.6875rem;
	}
}

/* The assembly sequence (homepage signature) --------------------------------- */

.is-style-mu-assembly {
	position: relative;
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
	border-top: var(--mu-rule);
}

.is-style-mu-assembly:not(.is-live) > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding: 0;
	list-style: none;
}

.is-style-mu-assembly:not(.is-live) > ul > li {
	padding: 0.4rem 0.75rem;
	border: var(--mu-rule);
	font-size: 0.875rem;
}

.is-style-mu-assembly.is-live {
	height: 320vh;
	padding: 0;
}

.is-style-mu-assembly.is-live.is-static {
	height: auto;
}

.mu-asm__sticky {
	position: sticky;
	top: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem 4rem;
	height: 100vh;
	height: 100svh;
	max-width: var(--mu-wide);
	margin: 0 auto !important;
	padding: 5.5rem var(--mu-gutter) 2rem;
	box-sizing: border-box;
}

.is-static .mu-asm__sticky {
	position: relative;
	height: auto;
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

@media (min-width: 960px) {
	.mu-asm__sticky {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-rows: minmax(0, 1fr);
		padding-top: 5rem;
	}
}

.mu-asm__copy {
	max-width: 30rem;
}

.mu-asm__copy h2 {
	margin-top: 1rem;
	max-width: 14ch;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	line-height: 1.05;
}

.mu-asm__captions {
	display: grid;
	margin-top: 1.5rem;
	min-height: 7.5rem;
}

.mu-asm__caption {
	grid-area: 1 / 1;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.45s var(--mu-ease), transform 0.45s var(--mu-ease);
}

.mu-asm__caption.is-current {
	opacity: 1;
	transform: none;
	color: var(--wp--preset--color--contrast);
}

.is-static .mu-asm__captions {
	display: block;
	min-height: 0;
}

.is-static .mu-asm__caption {
	margin-bottom: 1rem;
	opacity: 1;
	transform: none;
}

.mu-asm__meter {
	height: 1px;
	margin-top: 1.5rem;
	background: var(--wp--preset--color--line);
}

.mu-asm__meter span {
	display: block;
	height: 100%;
	background: var(--wp--preset--color--accent);
	transform: scaleX(var(--p, 0));
	transform-origin: 0 50%;
}

.is-static .mu-asm__meter {
	display: none;
}

.mu-asm__stage {
	position: relative;
	align-self: stretch;
	min-height: 16rem;
}

.mu-asm__cube {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(100%, 62vh, 34rem);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	container-type: inline-size;
}

.mu-asm__cube .mu-c3__scene {
	cursor: default;
	touch-action: auto;
}

.mu-asm__cube .mu-c3__rotor {
	--s: 15cqi;
	--p: 0;
	--sc: calc(1 - var(--p));
	will-change: transform;
}

.mu-asm__cube .mu-c3__cubelet {
	transition: none;
	transform:
		translate3d(
			calc(var(--x) * var(--step) * (1 + var(--sc) * 1.9) + var(--jx) * var(--sc) * var(--s) * 2.4),
			calc(var(--y) * var(--step) * (1 + var(--sc) * 1.9) + var(--jy) * var(--sc) * var(--s) * 1.9),
			calc(var(--z) * var(--step) * (1 + var(--sc) * 1.9) + var(--jz) * var(--sc) * var(--s) * 2.4)
		)
		rotateX(calc(var(--jr) * var(--sc) * 1deg))
		rotateY(calc(var(--jr) * var(--sc) * -0.7deg));
}

.mu-asm__cube .mu-c3__face {
	opacity: calc(0.45 + var(--p) * 0.55);
}

.mu-asm__stage::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent), transparent);
	transform: translate(-50%, -50%) scale(0.6);
	opacity: 0;
	transition: opacity 0.8s var(--mu-ease), transform 0.8s var(--mu-ease);
}

.is-complete .mu-asm__stage::before {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.mu-asm__chips {
	--p: 0;
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.mu-asm__chip {
	position: absolute;
	top: calc(50% + var(--cy) * (1 - var(--p)) * 1%);
	left: calc(50% + var(--cx) * (1 - var(--p)) * 1%);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.7rem;
	border: var(--mu-rule);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-size: 0.8125rem;
	font-weight: 500;
	white-space: nowrap;
	opacity: calc(1 - var(--p) * 1.15);
	transform: translate(-50%, -50%) rotate(calc(var(--cr) * (1 - var(--p)) * 1deg)) scale(calc(1 - var(--p) * 0.5));
}

.mu-asm__chip::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	background: var(--wp--preset--color--muted);
}

@media (max-width: 959px) {
	.mu-asm__chip {
		font-size: 0.75rem;
		padding: 0.25rem 0.5rem;
	}

	.mu-asm__copy h2 {
		max-width: 18ch;
	}

	.mu-asm__captions {
		min-height: 5.5rem;
	}

	.mu-asm__caption {
		font-size: 1.0625rem;
	}
}

/* Reveal on scroll and the hero headline ------------------------------------- */

html.js[data-motion="full"] .mu-reveal:not(.is-in) {
	opacity: 0;
	transform: translateY(18px);
}

.mu-reveal {
	transition: opacity 0.8s var(--mu-ease), transform 0.8s var(--mu-ease);
	transition-delay: calc(var(--d, 0) * 70ms);
}

.is-split .mu-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.is-split .mu-word > span {
	display: inline-block;
	animation: mu-word-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--w) * 55ms + 120ms);
}

@keyframes mu-word-in {
	from { transform: translateY(105%); }
}

/* Moving ticker -------------------------------------------------------------- */

ul.is-style-mu-ticker {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.is-style-mu-ticker > li {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0 1.5rem 0 0;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem);
	white-space: nowrap;
}

ul.is-style-mu-ticker > li::after {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	background: var(--wp--preset--color--accent);
	transform: rotate(45deg);
}

.mu-ticker {
	overflow: hidden;
	padding: 1.5rem 0;
	border-top: var(--mu-rule);
	border-bottom: var(--mu-rule);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.mu-entry__content > .mu-ticker {
	max-width: none !important;
	margin-left: calc(-1 * var(--mu-gutter)) !important;
	margin-right: calc(-1 * var(--mu-gutter)) !important;
}

ul.is-style-mu-ticker.is-live {
	flex-wrap: nowrap;
	width: max-content;
	max-width: none !important;
	margin: 0 !important;
	animation: mu-ticker calc(var(--n, 6) * 5s) linear infinite;
}

.mu-ticker:hover ul.is-live,
.mu-ticker:focus-within ul.is-live {
	animation-play-state: paused;
}

@keyframes mu-ticker {
	to { transform: translateX(-50%); }
}

html[data-motion="reduce"] ul.is-style-mu-ticker.is-live {
	flex-wrap: wrap;
	width: auto;
}

html[data-motion="reduce"] ul.is-style-mu-ticker .is-clone {
	display: none;
}

/* Card spotlight ------------------------------------------------------------- */

.is-style-mu-card,
.mu-post-card,
.mu-resource-card {
	position: relative;
	isolation: isolate;
	transition: border-color 0.3s var(--mu-ease), transform 0.3s var(--mu-ease);
}

.is-style-mu-card::before,
.mu-post-card::before,
.mu-resource-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(28rem circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--wp--preset--color--accent) 11%, transparent), transparent 60%);
	opacity: 0;
	transition: opacity 0.4s var(--mu-ease);
	pointer-events: none;
}

.is-style-mu-card:hover::before,
.mu-post-card:hover::before,
.mu-resource-card:hover::before {
	opacity: 1;
}

.is-style-mu-card:hover,
.mu-post-card:hover,
.mu-resource-card:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, var(--wp--preset--color--line));
}

/* "Up next" link at the foot of pages ------------------------------------------- */

.mu-next {
	padding: var(--wp--preset--spacing--50) var(--mu-gutter);
	border-top: var(--mu-rule);
}

.mu-next__link {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	max-width: var(--mu-wide);
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
	background: var(--wp--preset--color--surface);
	border: var(--mu-rule);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: border-color 0.25s var(--mu-ease);
}

.mu-next__body {
	display: grid;
	flex: 1;
	gap: 0.35rem;
	min-width: 0;
}

.mu-next__eyebrow {
	color: var(--wp--preset--color--muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mu-next__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.mu-next__text {
	max-width: 52ch;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.mu-next__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: var(--mu-rule);
	border-radius: 50%;
	color: var(--wp--preset--color--accent);
	transition: background-color 0.25s var(--mu-ease), border-color 0.25s var(--mu-ease), color 0.25s var(--mu-ease);
}

.mu-next__go svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.25s var(--mu-ease);
}

.mu-next__link:hover,
.mu-next__link:focus-visible {
	border-color: var(--wp--preset--color--accent);
}

.mu-next__link:hover .mu-next__go,
.mu-next__link:focus-visible .mu-next__go {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
}

.mu-next__link:hover .mu-next__go svg {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.mu-next__link,
	.mu-next__go,
	.mu-next__go svg {
		transition: none;
	}
}

/* Insights: index, cards, article ---------------------------------------------- */

.mu-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0 2rem;
	padding: 0;
	list-style: none;
}

.mu-topics a {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border: var(--mu-rule);
	border-radius: 999px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.875rem;
	text-decoration: none;
}

.mu-topics a:hover {
	border-color: var(--wp--preset--color--accent);
}

.mu-topics a[aria-current="page"] {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
}

.mu-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-post-card,
.mu-resource-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background: var(--wp--preset--color--surface);
	border: var(--mu-rule);
}

.mu-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
}

.mu-post-card__topic {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mu-post-card__title {
	margin: 0.75rem 0 0.5rem;
	font-size: 1.375rem;
	line-height: 1.2;
}

.mu-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.mu-post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.mu-post-card__title a:focus-visible {
	outline: none;
}

.mu-post-card:focus-within {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.mu-post-card__excerpt {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
}

.mu-post-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1.25rem;
	font-size: 0.875rem;
}

.mu-post-card__foot > * {
	position: relative;
	z-index: 2;
}

.mu-card-grid--featured > :first-child {
	grid-column: 1 / -1;
}

@media (min-width: 900px) {
	.mu-card-grid--featured > :first-child .mu-post-card__title {
		font-size: 2.25rem;
		max-width: 24ch;
	}
}

.mu-article {
	padding-bottom: var(--wp--preset--spacing--50);
}

.mu-article__head {
	max-width: var(--mu-wide);
	margin: 0 auto;
	padding: var(--wp--preset--spacing--60) var(--mu-gutter) var(--wp--preset--spacing--40);
}

.mu-article__head h1 {
	max-width: 22ch;
	margin: 1rem 0 0;
	font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
}

.mu-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	margin-top: 1.5rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
}

.mu-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem 4rem;
	max-width: var(--mu-wide);
	margin: 0 auto;
	padding: 0 var(--mu-gutter);
}

@media (min-width: 1100px) {
	.mu-article__layout {
		grid-template-columns: 15rem minmax(0, 46rem);
	}
}

.mu-toc {
	position: sticky;
	top: 6rem;
	align-self: start;
	font-size: 0.875rem;
}

.mu-toc h2 {
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mu-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: var(--mu-rule);
}

.mu-toc a {
	display: block;
	padding: 0.35rem 0 0.35rem 0.9rem;
	margin-left: -1px;
	border-left: 1px solid transparent;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.mu-toc a:hover,
.mu-toc a.is-current {
	border-left-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
}

@media (max-width: 1099px) {
	.mu-toc {
		position: static;
		padding: 1rem 1.25rem;
		border: var(--mu-rule);
	}
}

.mu-article__body > * + * {
	margin-top: 1.1em;
}

.mu-article__body h2 {
	margin-top: 2.2em;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	scroll-margin-top: 6rem;
}

.mu-article__body h3 {
	margin-top: 1.8em;
	scroll-margin-top: 6rem;
}

.mu-article__body table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	font-size: 0.9375rem;
}

.mu-article__body th,
.mu-article__body td {
	padding: 0.65rem 0.75rem;
	border-bottom: var(--mu-rule);
	text-align: left;
	vertical-align: top;
}

.mu-article__body thead th {
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--muted);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mu-article__body .wp-block-table,
.mu-article__body .mu-table-wrap {
	overflow-x: auto;
}

.mu-article__note {
	margin-top: 3rem;
	padding-top: 1rem;
	border-top: var(--mu-rule);
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
}

.mu-related {
	max-width: var(--mu-wide);
	margin: var(--wp--preset--spacing--60) auto 0;
	padding: var(--wp--preset--spacing--50) var(--mu-gutter) 0;
	border-top: var(--mu-rule);
}

.mu-related h2 {
	margin: 0 0 1.5rem;
	font-size: 1.75rem;
}

.mu-gate {
	margin-top: 2rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: var(--mu-rule);
	border-left: 3px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--surface);
}

.mu-gate h2,
.mu-gate h3 {
	margin-top: 0;
}

.mu-chip {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	border: var(--mu-rule);
	color: var(--wp--preset--color--muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mu-archive .mu-entry__header {
	padding-left: 0;
	padding-right: 0;
}

.is-style-mu-section > .mu-card-grid {
	max-width: var(--mu-wide);
	margin-top: var(--wp--preset--spacing--50);
}

.mu-article__layout:has(> aside:empty) {
	grid-template-columns: minmax(0, 46rem);
}

.mu-article__layout > aside:empty {
	display: none;
}
