/* ==========================================================================
   CrossPilot: site styles. Tokens and rules are documented in /DESIGN.md.
   One accent (cobalt), one radius system, light page with automatic dark mode.
   ========================================================================== */

:root {
	--canvas: #f6f7f9;
	--surface: #ffffff;
	--surface-2: #eceff3;
	--ink: #0e1520;
	--ink-2: #344150;
	--muted: #5b6878;
	--line: #dce1e7;
	--accent: #1e4fd8;
	--accent-hover: #1740b4;
	--accent-soft: #e6edfd;
	--on-accent: #ffffff;
	--scrim: rgb(9 14 22 / 0.62);

	--font: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
	--container: 1240px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(4rem, 3rem + 5vw, 7.5rem);
	--header-h: 72px;
	--r-control: 10px;
	--r-card: 20px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--lift: 0 18px 40px -24px rgb(14 21 32 / 0.28);

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--canvas: #0b1017;
		--surface: #121923;
		--surface-2: #161f2b;
		--ink: #e9eef4;
		--ink-2: #c3ccd7;
		--muted: #98a4b3;
		--line: #263140;
		--accent: #6f95ff;
		--accent-hover: #8eabff;
		--accent-soft: #1a2640;
		--on-accent: #0b1017;
		--lift: 0 18px 40px -24px rgb(0 0 0 / 0.6);
		color-scheme: dark;
	}
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
blockquote {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--ink);
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

h2 {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1.25rem;
	line-height: 1.4;
}

p {
	text-wrap: pretty;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--accent-hover);
}

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

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--accent-soft);
	color: var(--ink);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--surface);
	color: var(--ink);
	border-radius: var(--r-control);
	box-shadow: var(--lift);
}

/* Layout primitives ------------------------------------------------------ */

.cp-wrap {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.cp-wrap--narrow {
	max-width: calc(760px + 2 * var(--gutter));
}

.cp-section {
	padding-block: var(--section);
}

.cp-section--tint {
	background: var(--surface-2);
}

.cp-section--flush-top {
	padding-top: 0;
}

.cp-eyebrow {
	color: var(--accent);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.cp-lead {
	color: var(--ink-2);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.75;
	max-width: 36em;
}

/* Section header: heading + one line, stacked. */
.cp-head {
	display: grid;
	gap: 0.75rem;
	max-width: 44rem;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.cp-head p {
	color: var(--ink-2);
	font-size: 1.0625rem;
}

.cp-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	max-width: none;
}

.cp-head__text {
	display: grid;
	gap: 0.75rem;
	max-width: 44rem;
}

/* Text link with a trailing arrow. */
.cp-more a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
}

.cp-more a::after {
	content: "";
	width: 1.125em;
	height: 1.125em;
	background: currentColor;
	-webkit-mask: url(../icons/arrow-right.svg) center / contain no-repeat;
	mask: url(../icons/arrow-right.svg) center / contain no-repeat;
	transition: transform 0.3s var(--ease);
}

.cp-more a:hover::after {
	transform: translateX(3px);
}

/* Buttons --------------------------------------------------------------- */

.cp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.wp-block-button > .wp-block-button__link,
.cp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--r-control);
	background: var(--accent);
	color: var(--on-accent);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.wp-block-button > .wp-block-button__link:hover,
.cp-btn:hover {
	background: var(--accent-hover);
	color: var(--on-accent);
}

.wp-block-button > .wp-block-button__link:active,
.cp-btn:active {
	transform: scale(0.98);
}

.cp-btn-secondary > .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}

.cp-btn-secondary > .wp-block-button__link:hover {
	background: var(--surface);
	color: var(--ink);
	border-color: var(--muted);
}

.cp-btn--sm {
	min-height: 40px;
	padding: 0.5rem 1.125rem;
	font-size: 0.9375rem;
}

.cp-phone-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ink);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.cp-phone-cta .cp-svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--accent);
}

/* Header ---------------------------------------------------------------- */

.cp-header-slot {
	position: sticky;
	top: 0;
	z-index: 40;
}

.admin-bar .cp-header-slot {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .cp-header-slot {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .cp-header-slot {
		top: 0;
	}
}

.cp-header {
	position: relative;
	background: color-mix(in srgb, var(--canvas) 84%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.cp-header.is-scrolled,
.cp-header.is-open {
	border-bottom-color: var(--line);
}

.cp-header.is-open {
	background: var(--canvas);
}

.cp-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: var(--header-h);
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.cp-logo {
	flex: none;
	color: var(--ink);
	font-size: 1.375rem;
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1;
}

.cp-logo:hover {
	color: var(--ink);
}

.cp-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.cp-nav__list {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cp-nav__list a {
	position: relative;
	display: block;
	padding: 0.5rem 0.875rem;
	border-radius: var(--r-control);
	color: var(--ink-2);
	font-size: 0.9375rem;
	white-space: nowrap;
	transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.cp-nav__list a:hover {
	color: var(--ink);
	background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.cp-nav__list .current-menu-item > a,
.cp-nav__list .current_page_item > a {
	color: var(--ink);
	font-weight: 500;
}

.cp-nav__list .current-menu-item > a::after,
.cp-nav__list .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 0.875rem;
	right: 0.875rem;
	bottom: 0.125rem;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
}

.cp-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.cp-menu-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--r-control);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.cp-menu-toggle__bars,
.cp-menu-toggle__bars::before,
.cp-menu-toggle__bars::after {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.cp-menu-toggle__bars {
	top: 21px;
}

.cp-menu-toggle__bars::before,
.cp-menu-toggle__bars::after {
	content: "";
	left: 0;
}

.cp-menu-toggle__bars::before {
	transform: translateY(-6px);
}

.cp-menu-toggle__bars::after {
	transform: translateY(6px);
}

.cp-menu-toggle[aria-expanded="true"] .cp-menu-toggle__bars {
	background: transparent;
}

.cp-menu-toggle[aria-expanded="true"] .cp-menu-toggle__bars::before {
	background: var(--ink);
	transform: rotate(45deg);
}

.cp-menu-toggle[aria-expanded="true"] .cp-menu-toggle__bars::after {
	background: var(--ink);
	transform: rotate(-45deg);
}

.cp-drawer {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	padding: 1rem var(--gutter) 2rem;
	background: var(--canvas);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}

.cp-drawer[hidden] {
	display: none;
}

.cp-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cp-drawer__list li {
	border-bottom: 1px solid var(--line);
}

.cp-drawer__list a {
	display: block;
	padding: 1rem 0.25rem;
	color: var(--ink);
	font-size: 1.25rem;
	font-weight: 500;
}

.cp-drawer__list .current-menu-item > a {
	color: var(--accent);
}

.cp-drawer__foot {
	display: grid;
	gap: 1rem;
	justify-items: start;
}

.cp-drawer__foot .cp-btn {
	width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	.cp-drawer:not([hidden]) .cp-drawer__list li {
		animation: cp-rise 0.5s var(--ease) both;
	}

	.cp-drawer:not([hidden]) .cp-drawer__list li:nth-child(2) { animation-delay: 30ms; }
	.cp-drawer:not([hidden]) .cp-drawer__list li:nth-child(3) { animation-delay: 60ms; }
	.cp-drawer:not([hidden]) .cp-drawer__list li:nth-child(4) { animation-delay: 90ms; }
	.cp-drawer:not([hidden]) .cp-drawer__list li:nth-child(5) { animation-delay: 120ms; }
	.cp-drawer:not([hidden]) .cp-drawer__list li:nth-child(6) { animation-delay: 150ms; }
	.cp-drawer:not([hidden]) .cp-drawer__list li:nth-child(7) { animation-delay: 180ms; }
}

@media (max-width: 1079px) {
	.cp-nav {
		display: none;
	}

	.cp-menu-toggle {
		display: block;
	}
}

@media (min-width: 1080px) {
	.cp-drawer {
		display: none !important;
	}
}

@media (max-width: 479px) {
	.cp-header__cta {
		display: none;
	}
}

body.cp-lock {
	overflow: hidden;
}

/* Hero ------------------------------------------------------------------ */

.cp-hero {
	padding-top: clamp(2rem, 1rem + 3vw, 4rem);
	padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.cp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
}

.cp-hero__text {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.cp-hero__title {
	font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem);
	line-height: 1.14;
	letter-spacing: -0.015em;
	max-width: 11.5em;
}

.cp-hero__text .cp-actions {
	margin-top: 0.75rem;
}

.cp-hero__media {
	position: relative;
	padding-bottom: 2.5rem;
}

.cp-hero__media figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-card);
	background: var(--surface-2);
}

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

.cp-hero__img-a {
	aspect-ratio: 4 / 3;
}

.cp-hero__img-b {
	position: absolute;
	left: -1rem;
	bottom: 0;
	width: 46%;
	aspect-ratio: 4 / 3;
	border: 6px solid var(--canvas);
	box-shadow: var(--lift);
}

@media (min-width: 960px) {
	.cp-hero {
		min-height: min(calc(100dvh - var(--header-h)), 860px);
		display: flex;
		align-items: center;
	}

	.cp-hero > .cp-wrap {
		flex: 1;
	}

	.cp-hero__grid {
		grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
		gap: clamp(2.5rem, 5vw, 5rem);
	}

	.cp-hero__media .cp-hero__img-a {
		aspect-ratio: 5 / 5.4;
		max-height: min(66dvh, 620px);
		width: 88%;
		margin-left: auto;
	}

	.cp-hero__img-b {
		left: 0;
		width: 48%;
	}
}

/* The section after the hero does not need a full top gap. */
.cp-hero + .cp-section {
	padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

@media (max-width: 599px) {
	.cp-hero__media {
		padding-bottom: 0;
	}

	.cp-hero__img-b {
		display: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.cp-hero__text > *,
	.cp-hero__media > * {
		animation: cp-rise 0.9s var(--ease) both;
	}

	.cp-hero__text > :nth-child(2) { animation-delay: 60ms; }
	.cp-hero__text > :nth-child(3) { animation-delay: 120ms; }
	.cp-hero__text > :nth-child(4) { animation-delay: 180ms; }
	.cp-hero__media > :nth-child(1) { animation-delay: 100ms; }
	.cp-hero__media > :nth-child(2) { animation-delay: 260ms; }
}

@keyframes cp-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Page hero (inner pages) ------------------------------------------------ */

.cp-pagehero {
	padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
	padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}

.cp-pagehero__grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.cp-pagehero__text {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.cp-pagehero__title {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.cp-pagehero--text .cp-wrap {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.cp-pagehero__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-card);
	aspect-ratio: 16 / 11;
	background: var(--surface-2);
}

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

@media (min-width: 960px) {
	.cp-pagehero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(3rem, 6vw, 6rem);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.cp-pagehero__text > *,
	.cp-pagehero--text .cp-wrap > *,
	.cp-pagehero__media {
		animation: cp-rise 0.9s var(--ease) both;
	}

	.cp-pagehero__text > :nth-child(2),
	.cp-pagehero--text .cp-wrap > :nth-child(2) { animation-delay: 60ms; }
	.cp-pagehero__text > :nth-child(3),
	.cp-pagehero--text .cp-wrap > :nth-child(3) { animation-delay: 120ms; }
	.cp-pagehero__media { animation-delay: 140ms; }
}

/* Jump links (products) */
.cp-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem !important;
	padding: 0;
	list-style: none;
}

.cp-jump li a {
	display: inline-block;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink-2);
	font-size: 0.9375rem;
	line-height: 1.4;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.cp-jump li a:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-soft);
}

@media (max-width: 599px) {
	.cp-jump {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		width: calc(100% + 2 * var(--gutter));
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
	}

	.cp-jump::-webkit-scrollbar {
		display: none;
	}

	.cp-jump li {
		flex: none;
		scroll-snap-align: start;
	}
}

/* Image helpers ---------------------------------------------------------- */

.cp-tile figure,
.cp-panel figure,
.cp-card figure,
.cp-media figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-card);
	background: var(--surface-2);
}

.cp-tile img,
.cp-panel img,
.cp-card img,
.cp-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

/* Bento: 6 categories, 6 cells ------------------------------------------ */

.cp-bento {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.cp-tile {
	position: relative;
	isolation: isolate;
	min-height: 260px;
	overflow: hidden;
	border-radius: var(--r-card);
	background: var(--surface-2);
}

.cp-tile figure {
	position: absolute;
	inset: 0;
	z-index: -2;
	border-radius: 0;
}

.cp-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgb(9 14 22 / 0.82) 0%, rgb(9 14 22 / 0.4) 45%, rgb(9 14 22 / 0) 75%);
	pointer-events: none;
}

.cp-tile__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	gap: 0.25rem;
	padding: 1.5rem;
	color: #fff;
}

.cp-tile__body h3 {
	font-size: 1.375rem;
	color: #fff;
}

.cp-tile__body h3 a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: inherit;
}

.cp-tile__body h3 a::after {
	content: "";
	width: 1.1rem;
	height: 1.1rem;
	background: currentColor;
	-webkit-mask: url(../icons/arrow-up-right.svg) center / contain no-repeat;
	mask: url(../icons/arrow-up-right.svg) center / contain no-repeat;
	opacity: 0.8;
	transition: transform 0.3s var(--ease);
}

/* Stretched link: the whole tile is clickable. */
.cp-tile__body h3 a::before {
	content: "";
	position: absolute;
	inset: -100vh 0 0 0;
}

.cp-tile__body p {
	color: rgb(255 255 255 / 0.84);
	font-size: 0.9375rem;
}

.cp-tile:hover img,
.cp-panel:hover img,
.cp-card:hover img {
	transform: scale(1.03);
}

.cp-tile:hover h3 a::after {
	transform: translate(2px, -2px);
}

.cp-tile:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.cp-tile h3 a:focus-visible {
	outline: none;
}

@media (min-width: 640px) {
	.cp-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 240px;
	}

	.cp-tile {
		min-height: 0;
	}

	.cp-tile:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}
}

@media (min-width: 1024px) {
	.cp-bento {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-auto-rows: 250px;
		gap: 1.25rem;
	}

	.cp-tile:nth-child(1) { grid-column: 1 / span 6; grid-row: 1 / span 2; }
	.cp-tile:nth-child(2) { grid-column: 7 / span 6; grid-row: 1; }
	.cp-tile:nth-child(3) { grid-column: 7 / span 3; grid-row: 2; }
	.cp-tile:nth-child(4) { grid-column: 10 / span 3; grid-row: 2; }
	.cp-tile:nth-child(5) { grid-column: 1 / span 4; grid-row: 3; }
	.cp-tile:nth-child(6) { grid-column: 5 / span 8; grid-row: 3; }
}

/* Three-cell bento: one large + two stacked (services) */
@media (min-width: 640px) and (max-width: 1023px) {
	.cp-bento--three {
		grid-auto-rows: 260px;
	}
}

@media (min-width: 1024px) {
	.cp-bento--three {
		grid-auto-rows: 290px;
	}

	.cp-bento--three .cp-tile:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
	.cp-bento--three .cp-tile:nth-child(2) { grid-column: 8 / span 5; grid-row: 1; }
	.cp-bento--three .cp-tile:nth-child(3) { grid-column: 8 / span 5; grid-row: 2; }
}

.cp-bento--three .cp-tile:first-child .cp-tile__body h3 {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.cp-tile__body p {
	max-width: 30em;
}

/* Duo: two channel panels ------------------------------------------------ */

.cp-duo {
	display: grid;
	gap: 3rem;
}

.cp-panel {
	display: grid;
	gap: 0.875rem;
	align-content: start;
}

.cp-panel figure {
	aspect-ratio: 4 / 3;
	margin-bottom: 0.75rem;
}

.cp-panel h3 {
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
}

.cp-panel p:not(.cp-more) {
	color: var(--ink-2);
	max-width: 30em;
}

@media (min-width: 900px) {
	.cp-duo {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: start;
	}

	.cp-duo .cp-panel:nth-child(2) {
		margin-top: clamp(4rem, 8vw, 8rem);
	}

	.cp-duo .cp-panel:nth-child(2) figure {
		aspect-ratio: 4 / 4.4;
	}
}

/* Sticky split: heading aside + points grid ------------------------------ */

.cp-split {
	display: grid;
	gap: 2.5rem;
}

.cp-split__aside {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.cp-split__aside p {
	color: var(--ink-2);
	font-size: 1.0625rem;
	max-width: 26em;
}

@media (min-width: 960px) {
	.cp-split {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: clamp(3rem, 7vw, 7rem);
		align-items: start;
	}

	.cp-split__aside {
		position: sticky;
		top: calc(var(--header-h) + 2.5rem);
	}
}

.cp-points {
	display: grid;
	gap: 2.5rem 2rem;
}

@media (min-width: 600px) {
	.cp-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cp-point {
	position: relative;
	display: grid;
	gap: 0.5rem;
	align-content: start;
	padding-top: 4.25rem;
}

.cp-point::before,
.cp-step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 12px;
	background: var(--accent-soft);
}

.cp-point::after,
.cp-step::after {
	content: "";
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	width: 1.5rem;
	height: 1.5rem;
	background: var(--accent);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}

.cp-point p,
.cp-step p {
	color: var(--ink-2);
}

/* Four-up variant (audiences, services). */
.cp-points--four {
	gap: 2.5rem 2rem;
}

@media (min-width: 1024px) {
	.cp-points--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Steps ------------------------------------------------------------------ */

.cp-steps {
	position: relative;
	display: grid;
	gap: 2rem;
}

.cp-step {
	position: relative;
	display: grid;
	gap: 0.5rem;
	align-content: start;
	padding-left: 4.5rem;
	min-height: 3rem;
}

.cp-step::before {
	border-radius: 50%;
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line);
}

.cp-section--tint .cp-step::before {
	background: var(--canvas);
}

/* Vertical connector on small screens. */
.cp-step:not(:last-child) .wp-block-heading::before {
	content: "";
	position: absolute;
	left: 1.5rem;
	top: 3.5rem;
	bottom: -1.5rem;
	width: 1px;
	background: var(--line);
}

@media (min-width: 900px) {
	.cp-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}

	.cp-step {
		padding-left: 0;
		padding-top: 4.5rem;
		padding-right: 1rem;
	}

	.cp-step:not(:last-child) .wp-block-heading::before {
		left: 4rem;
		right: -1rem;
		top: 1.5rem;
		bottom: auto;
		width: auto;
		height: 1px;
	}
}

/* Icons (Phosphor Regular, used as CSS masks) ---------------------------- */

.i-seal-check { --ico: url(../icons/seal-check.svg); }
.i-stack { --ico: url(../icons/stack.svg); }
.i-package { --ico: url(../icons/package.svg); }
.i-wrench { --ico: url(../icons/wrench.svg); }
.i-clipboard-text { --ico: url(../icons/clipboard-text.svg); }
.i-calculator { --ico: url(../icons/calculator.svg); }
.i-handshake { --ico: url(../icons/handshake.svg); }
.i-truck { --ico: url(../icons/truck.svg); }
.i-storefront { --ico: url(../icons/storefront.svg); }
.i-shopping-bag-open { --ico: url(../icons/shopping-bag-open.svg); }
.i-buildings { --ico: url(../icons/buildings.svg); }
.i-briefcase { --ico: url(../icons/briefcase.svg); }
.i-shield-check { --ico: url(../icons/shield-check.svg); }
.i-arrows-clockwise { --ico: url(../icons/arrows-clockwise.svg); }
.i-chat-circle-text { --ico: url(../icons/chat-circle-text.svg); }
.i-headset { --ico: url(../icons/headset.svg); }
.i-receipt { --ico: url(../icons/receipt.svg); }
.i-house-line { --ico: url(../icons/house-line.svg); }
.i-users-three { --ico: url(../icons/users-three.svg); }
.i-cube { --ico: url(../icons/cube.svg); }
.i-warehouse { --ico: url(../icons/warehouse.svg); }
.i-hand-coins { --ico: url(../icons/hand-coins.svg); }
.i-chalkboard-teacher { --ico: url(../icons/chalkboard-teacher.svg); }
.i-path { --ico: url(../icons/path.svg); }
.i-chats { --ico: url(../icons/chats.svg); }
.i-magnifying-glass { --ico: url(../icons/magnifying-glass.svg); }
.i-image { --ico: url(../icons/image.svg); }
.i-megaphone { --ico: url(../icons/megaphone.svg); }
.i-video-camera { --ico: url(../icons/video-camera.svg); }
.i-chart-line-up { --ico: url(../icons/chart-line-up.svg); }
.i-graduation-cap { --ico: url(../icons/graduation-cap.svg); }
.i-user-plus { --ico: url(../icons/user-plus.svg); }
.i-factory { --ico: url(../icons/factory.svg); }
.i-users { --ico: url(../icons/users.svg); }

.cp-svg {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}

/* Full-bleed photo band -------------------------------------------------- */

.cp-band {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(420px, 62vh, 620px);
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
	overflow: hidden;
	color: #fff;
}

.cp-band__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

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

.cp-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to right, rgb(9 14 22 / 0.55) 0%, rgb(9 14 22 / 0) 65%),
		linear-gradient(to top, rgb(9 14 22 / 0.85) 0%, rgb(9 14 22 / 0.4) 50%, rgb(9 14 22 / 0.12) 100%);
}

.cp-band__body {
	display: grid;
	gap: 0.75rem;
}

.cp-band__body h2 {
	color: #fff;
	max-width: 20em;
}

.cp-band__body p {
	color: rgb(255 255 255 / 0.86);
	font-size: 1.0625rem;
	max-width: 30em;
}

/* Closing CTA ------------------------------------------------------------ */

.cp-cta__box {
	display: grid;
	gap: 2rem;
	padding: clamp(2rem, 1.25rem + 3vw, 4rem);
	border-radius: var(--r-card);
	background: var(--accent-soft);
}

.cp-cta__text {
	display: grid;
	gap: 0.75rem;
}

.cp-cta__text p {
	color: var(--ink-2);
	font-size: 1.0625rem;
}

.cp-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

@media (min-width: 900px) {
	.cp-cta__box {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

/* Prose (about, privacy, articles) --------------------------------------- */

.cp-prose {
	max-width: 46rem;
	color: var(--ink-2);
	font-size: 1.0625rem;
}

.cp-prose > * + * {
	margin-top: 1.1em;
}

.cp-prose > h2,
.cp-prose > h3 {
	color: var(--ink);
	margin-top: 2em;
}

.cp-prose > h2 {
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}

.cp-prose ul,
.cp-prose ol {
	padding-left: 1.25em;
}

.cp-prose li + li {
	margin-top: 0.4em;
}

.cp-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Profile: heading + prose side by side on wide screens */
.cp-profile {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 960px) {
	.cp-profile {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: clamp(3rem, 7vw, 7rem);
	}
}

/* Values: large statement rows ------------------------------------------ */

.cp-values {
	display: grid;
}

.cp-value {
	display: grid;
	gap: 0.5rem;
	padding-block: 2rem;
	border-top: 1px solid var(--line);
}

.cp-value h3 {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
	letter-spacing: -0.01em;
}

.cp-value p {
	color: var(--ink-2);
	font-size: 1.0625rem;
	max-width: 34em;
}

@media (min-width: 900px) {
	.cp-value {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: 2rem;
		align-items: baseline;
		padding-block: 2.5rem;
	}
}

/* Media + checklist split ----------------------------------------------- */

.cp-media {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.cp-media figure {
	aspect-ratio: 5 / 4;
}

.cp-media__body {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.cp-media__body > p {
	color: var(--ink-2);
	font-size: 1.0625rem;
	max-width: 32em;
}

@media (min-width: 960px) {
	.cp-media {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(3rem, 7vw, 7rem);
	}

	.cp-media--flip figure {
		order: 2;
	}
}

.cp-checks {
	display: grid;
	gap: 0.875rem;
	margin-top: 0.5rem;
	padding: 0;
	list-style: none;
}

.cp-checks li {
	position: relative;
	padding-left: 2.25rem;
	color: var(--ink);
}

.cp-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--accent-soft);
}

.cp-checks li::after {
	content: "";
	position: absolute;
	left: 0.3rem;
	top: calc(0.2em + 0.3rem);
	width: 0.9rem;
	height: 0.9rem;
	background: var(--accent);
	-webkit-mask: url(../icons/check.svg) center / contain no-repeat;
	mask: url(../icons/check.svg) center / contain no-repeat;
}

/* Category cards (products) --------------------------------------------- */

.cp-cards {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 800px) {
	.cp-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}
}

.cp-card {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface);
	transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
	scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.cp-card:hover {
	box-shadow: var(--lift);
}

.cp-card figure {
	aspect-ratio: 16 / 10;
	border-radius: 0;
}

.cp-card__body {
	display: grid;
	gap: 0.875rem;
	align-content: start;
	padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.cp-card__body h2,
.cp-card__body h3 {
	font-size: 1.5rem;
}

.cp-card__body > p:not(.cp-more) {
	color: var(--ink-2);
}

.cp-card__body .cp-more {
	margin-top: 0.5rem;
}

.cp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	list-style: none;
}

.cp-chips li {
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--ink-2);
	font-size: 0.875rem;
	line-height: 1.6;
}

/* FAQ -------------------------------------------------------------------- */

.cp-faq {
	display: grid;
	gap: 2rem;
}

@media (min-width: 960px) {
	.cp-faq {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: clamp(3rem, 7vw, 7rem);
		align-items: start;
	}
}

.cp-faq__list {
	border-top: 1px solid var(--line);
}

.cp-faq__list .wp-block-details {
	border-bottom: 1px solid var(--line);
}

.cp-faq__list summary {
	position: relative;
	display: block;
	padding: 1.375rem 3rem 1.375rem 0;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}

.cp-faq__list summary::-webkit-details-marker {
	display: none;
}

.cp-faq__list summary::after {
	content: "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: -0.625rem;
	background: var(--muted);
	-webkit-mask: url(../icons/plus.svg) center / contain no-repeat;
	mask: url(../icons/plus.svg) center / contain no-repeat;
	transition: transform 0.3s var(--ease), background-color 0.2s var(--ease);
}

.cp-faq__list details[open] summary::after {
	transform: rotate(45deg);
	background: var(--accent);
}

.cp-faq__list summary:hover {
	color: var(--accent);
}

.cp-faq__list details > :not(summary) {
	padding: 0 3rem 1.5rem 0;
	color: var(--ink-2);
}

/* Contact ---------------------------------------------------------------- */

.cp-contact {
	display: grid;
	gap: 3rem;
	align-items: start;
}

.cp-contact__aside {
	display: grid;
	gap: 1.5rem;
}

.cp-contact__aside > p {
	color: var(--ink-2);
}

@media (min-width: 960px) {
	.cp-contact {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: clamp(3rem, 6vw, 6rem);
	}

	.cp-contact__aside {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.cp-contact-list {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cp-contact-list__item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.cp-contact-list__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
}

.cp-contact-list__text {
	display: grid;
	line-height: 1.6;
}

.cp-contact-list__label {
	color: var(--muted);
	font-size: 0.875rem;
}

.cp-contact-list__value {
	color: var(--ink);
	font-weight: 500;
	word-break: break-word;
}

.cp-contact-list__value a {
	color: inherit;
}

.cp-contact-list__value a:hover {
	color: var(--accent);
}

.cp-contact-list--compact {
	gap: 0.75rem;
}

.cp-contact-list--compact .cp-contact-list__icon {
	width: auto;
	height: auto;
	background: none;
	color: var(--muted);
	padding-top: 0.2rem;
}

.cp-contact-list--compact .cp-svg {
	width: 1.125rem;
	height: 1.125rem;
}

.cp-contact-list--compact .cp-contact-list__label {
	display: none;
}

.cp-contact-list--compact .cp-contact-list__value {
	color: var(--ink-2);
	font-weight: 400;
	font-size: 0.9375rem;
}

.cp-admin-hint {
	padding: 0.75rem 1rem;
	border: 1px dashed var(--line);
	border-radius: var(--r-control);
	color: var(--muted);
	font-size: 0.875rem;
}

/* Form ------------------------------------------------------------------- */

.cp-form-card {
	padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	background: var(--surface);
	scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.cp-form-card > h2 {
	font-size: 1.5rem;
	margin-bottom: 1.75rem;
}

.cp-form {
	display: grid;
	gap: 1.75rem;
}

.cp-form__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.cp-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 1.25rem;
	}

	.cp-field--full {
		grid-column: 1 / -1;
	}
}

.cp-field {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}

.cp-field label {
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 500;
}

.cp-req {
	color: var(--accent);
}

.cp-field input,
.cp-field select,
.cp-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--line);
	border-radius: var(--r-control);
	background: var(--canvas);
	color: var(--ink);
	font: inherit;
	line-height: 1.5;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.cp-field textarea {
	min-height: 140px;
	resize: vertical;
}

.cp-field select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 1.25rem) 52%, calc(100% - 0.9rem) 52%;
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
	background-repeat: no-repeat;
}

.cp-field input:hover,
.cp-field select:hover,
.cp-field textarea:hover {
	border-color: var(--muted);
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
	outline: none;
	border-color: var(--accent);
	background-color: var(--surface);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.cp-field.has-error input,
.cp-field.has-error textarea,
.cp-field.has-error select {
	border-color: #c42b2b;
}

.cp-field__help {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.cp-field__error {
	color: #c42b2b;
	font-size: 0.875rem;
	line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
	.cp-field.has-error input,
	.cp-field.has-error textarea,
	.cp-field.has-error select {
		border-color: #ff8a80;
	}

	.cp-field__error {
		color: #ff8a80;
	}
}

.cp-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cp-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.cp-form__note {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
	flex: 1 1 16rem;
}

.cp-form__note a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cp-form button[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.cp-form__status {
	padding: 1rem 1.25rem;
	border-radius: var(--r-control);
	font-size: 0.9375rem;
}

.cp-form__status.is-error {
	background: color-mix(in srgb, #c42b2b 10%, var(--surface));
	color: var(--ink);
}

.cp-form-done {
	display: grid;
	gap: 0.75rem;
	justify-items: start;
	padding-block: 1rem;
}

.cp-form-done::before {
	content: "";
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--accent-soft) url(../icons/check.svg) center / 1.5rem no-repeat;
}

.cp-form-done h3 {
	font-size: 1.375rem;
}

.cp-form-done p {
	color: var(--ink-2);
}

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

.cp-footer {
	background: var(--surface-2);
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.cp-footer__grid {
	display: grid;
	gap: 2.5rem;
	max-width: var(--container);
	margin-inline: auto;
	padding: clamp(3rem, 2rem + 3vw, 4.5rem) var(--gutter) 2.5rem;
}

@media (min-width: 800px) {
	.cp-footer__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
		gap: 3rem;
	}
}

.cp-footer__brand {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.cp-footer__brand p {
	max-width: 22em;
	line-height: 1.7;
}

.cp-footer__title {
	margin-bottom: 1rem;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

.cp-footer__links {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 0.5rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cp-footer__links a,
.cp-footer__legal a {
	color: var(--ink-2);
}

.cp-footer__links a:hover,
.cp-footer__legal a:hover {
	color: var(--accent);
}

.cp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	max-width: var(--container);
	margin-inline: auto;
	padding: 1.5rem var(--gutter) 2rem;
	position: relative;
	color: var(--muted);
	font-size: 0.875rem;
}

/* Rule aligned with the content column, not the padded box. */
.cp-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid var(--line);
}

.cp-footer__legal {
	display: flex;
	gap: 1.5rem;
}

.cp-footer__legal a {
	color: var(--muted);
}

/* News ------------------------------------------------------------------- */

.cp-posts__grid {
	display: grid;
	gap: 2.5rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.cp-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cp-posts__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cp-post-card {
	display: grid;
	gap: 0.625rem;
	align-content: start;
}

.cp-post-card__image {
	margin: 0 0 0.5rem;
	overflow: hidden;
	border-radius: var(--r-card);
}

.cp-post-card__date,
.cp-article__date {
	color: var(--muted);
	font-size: 0.875rem;
}

.cp-post-card__title {
	font-size: 1.25rem;
}

.cp-post-card__title a {
	color: var(--ink);
}

.cp-post-card__title a:hover {
	color: var(--accent);
}

.cp-post-card__excerpt {
	color: var(--ink-2);
}

.cp-pagination {
	display: flex;
	gap: 0.5rem;
	margin-top: 3rem;
}

.cp-empty {
	padding: 3rem 2rem;
	border: 1px dashed var(--line);
	border-radius: var(--r-card);
	color: var(--muted);
	text-align: center;
}

.cp-article .cp-wrap {
	display: grid;
	gap: 1.25rem;
}

.cp-article__title {
	font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	line-height: 1.2;
}

.cp-article__image {
	margin: 1rem 0;
	overflow: hidden;
	border-radius: var(--r-card);
}

.cp-article__back {
	margin-top: 2rem;
}

/* 404 */
.cp-notfound .cp-wrap {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
	min-height: 50vh;
	align-content: center;
}

.cp-notfound__code {
	color: var(--accent);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

/* Scroll reveal (below-the-fold only, set up by site.js) ------------------ */

@media (prefers-reduced-motion: no-preference) {
	.cp-js .cp-rv {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
		transition-delay: calc(var(--rv-i, 0) * 70ms);
	}

	.cp-js .cp-rv.is-in {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Block editor: keep page sections readable while editing. ---------------- */

.editor-styles-wrapper .cp-tile {
	min-height: 260px;
}

.editor-styles-wrapper .cp-js .cp-rv {
	opacity: 1;
	transform: none;
}
