/**
 * SolidSep — front-end styles (v1.2 redesign).
 * Mobile-first, no framework, one file. Industrial-premium B2B look:
 * deep navy, signal orange, steel accents, warm neutrals, blueprint
 * texture and layered depth.
 */

/* ---------------------------------- fonts -------------------------------- */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* --------------------------------- tokens -------------------------------- */

:root {
	--cp-navy: #0a2440;
	--cp-navy-deep: #06182c;
	--cp-navy-800: #0f2f52;
	--cp-blue: #1a5f9e;
	--cp-blue-soft: #e7eff8;
	--cp-steel: #4d7ea8;
	--cp-accent: #f57920;
	--cp-accent-dark: #d9620c;
	--cp-accent-soft: #fdede0;
	--cp-ink: #17222e;
	--cp-slate: #58697a;
	--cp-slate-light: #8496a6;
	--cp-mist: #f2f5f8;
	--cp-paper: #ffffff;
	--cp-bg: #f6f8fa;
	--cp-line: #dce4ec;
	--cp-success: #1c7c43;
	--cp-success-bg: #e4f5eb;
	--cp-danger: #b3261e;
	--cp-danger-bg: #fdeceb;
	--cp-warn: #8a6100;
	--cp-warn-bg: #fdf3d7;

	--cp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;

	--cp-radius: 14px;
	--cp-radius-sm: 8px;
	--cp-radius-lg: 22px;
	--cp-shadow-xs: 0 1px 2px rgba(6, 24, 44, 0.06);
	--cp-shadow: 0 2px 6px rgba(6, 24, 44, 0.06), 0 8px 24px rgba(6, 24, 44, 0.08);
	--cp-shadow-lift: 0 6px 14px rgba(6, 24, 44, 0.1), 0 20px 44px rgba(6, 24, 44, 0.16);

	--cp-container: 1240px;
	--cp-gutter: clamp(1rem, 4vw, 2rem);
}

/* --------------------------------- reset --------------------------------- */

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

body {
	margin: 0;
	font-family: var(--cp-font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--cp-ink);
	background: var(--cp-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--cp-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

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

h1,
h2,
h3,
h4 {
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--cp-navy);
	font-weight: 800;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

table {
	border-collapse: collapse;
	width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

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

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

/* -------------------------------- utilities ------------------------------ */

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

.cp-container--narrow {
	max-width: 820px;
}

.cp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.7rem;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cp-accent-dark);
}

.cp-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--cp-accent);
	border-radius: 2px;
}

.cp-section--dark .cp-eyebrow { color: var(--cp-accent); }

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

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	background: var(--cp-navy);
	color: #fff;
	padding: 0.75rem 1.25rem;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
}

/* -------------------------------- buttons -------------------------------- */

.cp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.4rem;
	border: 2px solid transparent;
	border-radius: var(--cp-radius-sm);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
		transform 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.cp-btn:active { transform: translateY(1px); }

.cp-btn--primary {
	background: var(--cp-accent);
	color: #fff;
	box-shadow: 0 6px 16px rgba(245, 121, 32, 0.28);
}

.cp-btn--primary:hover {
	background: var(--cp-accent-dark);
	color: #fff;
	box-shadow: 0 8px 22px rgba(245, 121, 32, 0.36);
}

.cp-btn--ghost {
	background: transparent;
	color: var(--cp-blue);
	border-color: var(--cp-line);
}

.cp-btn--ghost:hover {
	border-color: var(--cp-blue);
	color: var(--cp-blue);
	background: var(--cp-blue-soft);
}

.cp-btn--light {
	background: #fff;
	color: var(--cp-navy);
}

.cp-btn--light:hover {
	background: var(--cp-mist);
	color: var(--cp-navy);
}

.cp-btn--sm { padding: 0.42rem 0.95rem; font-size: 0.85rem; }
.cp-btn--lg { padding: 0.9rem 1.85rem; font-size: 1.05rem; }

/* -------------------------------- top bar -------------------------------- */

.cp-topbar {
	background: var(--cp-navy-deep);
	color: #b7c6d6;
	font-size: 0.8rem;
}

.cp-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: 38px;
	flex-wrap: wrap;
	padding-block: 0.25rem;
}

.cp-topbar a {
	color: #b7c6d6;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.cp-topbar a:hover { color: #fff; }

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

.cp-topbar__meta {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.cp-topbar__tag {
	color: var(--cp-accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.7rem;
}

.cp-langswitch--pll ul {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

/* self-contained language chooser */
.cp-langswitch {
	position: relative;
}

.cp-langswitch__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.25rem 0.55rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	color: #cdd9e5;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.cp-langswitch__btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.32); }

.cp-langswitch__globe { display: grid; }

.cp-langswitch__caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.7;
}

.cp-langswitch__list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 70;
	min-width: 168px;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
	box-shadow: var(--cp-shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.cp-langswitch.is-open .cp-langswitch__list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.cp-langswitch__list a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	color: var(--cp-ink);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
}

.cp-langswitch__list a:hover { background: var(--cp-mist); color: var(--cp-navy); }

.cp-langswitch__list a.is-active {
	background: var(--cp-accent-soft);
	color: var(--cp-accent-dark);
	font-weight: 700;
}

/* --------------------------------- finder -------------------------------- */

.cp-finder {
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-lg);
	box-shadow: var(--cp-shadow);
	padding: clamp(1.4rem, 3vw, 2.2rem);
	margin-bottom: 3rem;
}

.cp-finder__progress {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
}

.cp-finder__progress li {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--cp-slate-light);
}

.cp-finder__progress li span {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid var(--cp-line);
	background: #fff;
	font-size: 0.85rem;
	font-weight: 800;
}

.cp-finder__progress li::after {
	content: "";
	flex: 1;
	height: 2px;
	background: var(--cp-line);
	border-radius: 2px;
}

.cp-finder__progress li:last-child::after { display: none; }

.cp-finder__progress li.is-active span {
	border-color: var(--cp-accent);
	background: var(--cp-accent);
	color: #fff;
}

.cp-finder__progress li.is-active { color: var(--cp-navy); }

.cp-finder__progress li.is-active::after { background: var(--cp-accent); }

.cp-finder__step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }

.cp-finder__step.is-active { display: block; }

.cp-finder__q {
	font-size: clamp(1.2rem, 2.4vw, 1.5rem);
	font-weight: 800;
	color: var(--cp-navy);
	letter-spacing: -0.02em;
	margin-bottom: 1.25rem;
	padding: 0;
}

.cp-finder__options {
	display: grid;
	gap: 0.7rem;
}

.cp-finder__options--wrap {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.cp-finder__option {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	text-align: start;
	padding: 1rem 1.15rem;
	background: var(--cp-bg);
	border: 2px solid var(--cp-line);
	border-radius: var(--cp-radius);
	font-size: 1rem;
	font-weight: 600;
	color: var(--cp-navy);
	cursor: pointer;
	transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.cp-finder__option::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--cp-line);
	transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.cp-finder__option:hover {
	border-color: var(--cp-accent);
	background: #fff;
	transform: translateY(-2px);
}

.cp-finder__option.is-selected {
	border-color: var(--cp-accent);
	background: var(--cp-accent-soft);
}

.cp-finder__option.is-selected::before {
	border-color: var(--cp-accent);
	box-shadow: inset 0 0 0 4px var(--cp-accent);
}

.cp-finder__option--chip {
	width: auto;
	padding: 0.55rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.cp-finder__option--chip::before { display: none; }

.cp-finder__result { text-align: center; padding: 1rem 0; }

.cp-finder__count { margin-bottom: 1.5rem; }

.cp-finder__count-num {
	display: block;
	font-size: clamp(2.75rem, 8vw, 4rem);
	font-weight: 800;
	line-height: 1;
	color: var(--cp-accent);
	letter-spacing: -0.03em;
}

.cp-finder__count-label {
	display: block;
	margin-top: 0.35rem;
	font-size: 1.05rem;
	color: var(--cp-slate);
}

.cp-finder.is-loading .cp-finder__count-num { opacity: 0.45; }

.cp-finder__alt {
	margin: 1.25rem 0 0;
	font-size: 0.92rem;
	color: var(--cp-slate);
}

.cp-finder__nav {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--cp-line);
}

.cp-finder__back,
.cp-finder__restart {
	background: none;
	border: 0;
	color: var(--cp-slate);
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	padding: 0.3rem 0;
}

.cp-finder__restart { margin-inline-start: auto; }

.cp-finder__back:hover,
.cp-finder__restart:hover { color: var(--cp-accent-dark); }

/* --------------------------------- header -------------------------------- */

.cp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--cp-line);
	transition: box-shadow 0.2s ease, background 0.2s ease;
}

.cp-header.is-scrolled {
	box-shadow: var(--cp-shadow);
	background: rgba(255, 255, 255, 0.98);
}

.cp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 78px;
}

.cp-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.cp-logo__mark { display: grid; }

.cp-logo__mark svg { border-radius: 9px; box-shadow: 0 4px 12px rgba(245, 121, 32, 0.3); }

.cp-logo__text { display: grid; line-height: 1.15; }

.cp-logo__name {
	font-weight: 800;
	color: var(--cp-navy);
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.cp-logo__tagline {
	font-size: 0.72rem;
	color: var(--cp-slate);
	font-weight: 500;
}

.custom-logo { max-height: 56px; width: auto; }

/* primary nav */
.cp-nav {
	margin-inline-start: auto;
}

.cp-nav__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cp-nav__list > li { position: relative; }

.cp-nav__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 0.9rem;
	color: var(--cp-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	border-radius: var(--cp-radius-sm);
	transition: background 0.15s ease, color 0.15s ease;
}

.cp-nav__list a:hover {
	background: var(--cp-mist);
	color: var(--cp-navy);
}

.cp-nav__list .current-menu-item > a,
.cp-nav__list .current_page_item > a {
	color: var(--cp-blue);
}

.cp-nav__caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.6;
	transition: transform 0.15s ease;
}

.cp-nav__has-children:hover .cp-nav__caret,
.cp-nav__has-children:focus-within .cp-nav__caret {
	transform: rotate(180deg);
}

/* drop-down submenu (desktop) */
.cp-nav__sub,
.cp-nav__list ul {
	display: block;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 60;
	list-style: none;
	margin: 0;
	padding: 0.4rem;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
	box-shadow: var(--cp-shadow-lift);
	min-width: 240px;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.cp-nav__has-children:hover > .cp-nav__sub,
.cp-nav__has-children:focus-within > .cp-nav__sub,
.cp-nav__list li:hover > ul,
.cp-nav__list li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.cp-nav__sub a,
.cp-nav__list ul a {
	display: block;
	white-space: nowrap;
	padding: 0.5rem 0.75rem;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--cp-ink);
	border-radius: 6px;
}

.cp-nav__sub a:hover {
	background: var(--cp-accent-soft);
	color: var(--cp-accent-dark);
}

.cp-nav__sub li:first-child a {
	color: var(--cp-blue);
	font-weight: 600;
}

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

.cp-header__cta { box-shadow: 0 4px 12px rgba(245, 121, 32, 0.25); }

.cp-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 11px;
	background: none;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
	cursor: pointer;
}

.cp-nav-toggle__bar {
	display: block;
	height: 2px;
	background: var(--cp-navy);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.cp-nav-toggle[aria-expanded="true"] .cp-nav-toggle__bar:nth-child(2) {
	transform: translateY(7px) rotate(45deg);
}

.cp-nav-toggle[aria-expanded="true"] .cp-nav-toggle__bar:nth-child(3) {
	opacity: 0;
}

.cp-nav-toggle[aria-expanded="true"] .cp-nav-toggle__bar:nth-child(4) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
	.cp-nav-toggle { display: flex; }

	.cp-header__cta { display: none; }

	.cp-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		background: #fff;
		border-bottom: 1px solid var(--cp-line);
		box-shadow: var(--cp-shadow);
		padding: 0.5rem var(--cp-gutter) 1rem;
		max-height: calc(100vh - 116px);
		overflow-y: auto;
	}

	.cp-nav.is-open { display: block; }

	.cp-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.cp-nav__list a { padding: 0.85rem 0.5rem; }

	.cp-nav__caret { margin-left: auto; }

	/* submenu becomes a static, indented list on mobile */
	.cp-nav__sub,
	.cp-nav__list ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 0.5rem 1rem;
		min-width: 0;
	}

	.cp-nav__sub a { padding: 0.6rem 0.5rem; }
}

/* ---------------------------------- hero --------------------------------- */

.cp-hero {
	position: relative;
	overflow: hidden;
	color: #dbe6f0;
	background:
		radial-gradient(1100px 520px at 82% -12%, rgba(26, 95, 158, 0.6), transparent 60%),
		radial-gradient(760px 420px at -8% 115%, rgba(245, 121, 32, 0.28), transparent 55%),
		linear-gradient(160deg, var(--cp-navy) 0%, var(--cp-navy-deep) 100%);
	padding-block: clamp(3.25rem, 8vw, 6rem);
}

/* subtle blueprint grid texture */
.cp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%);
	pointer-events: none;
}

.cp-hero__inner {
	position: relative;
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 900px) {
	.cp-hero__inner { grid-template-columns: 1.25fr 1fr; }
}

.cp-hero__kicker {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--cp-accent);
	margin-bottom: 1rem;
}

.cp-hero__title {
	color: #fff;
	font-size: clamp(2.1rem, 5.2vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	margin-bottom: 1rem;
}

.cp-hero__sub {
	font-size: 1.08rem;
	max-width: 56ch;
	margin-bottom: 1.75rem;
	color: #aec1d3;
}

.cp-hero__search {
	display: flex;
	gap: 0.5rem;
	max-width: 560px;
	margin-bottom: 1.25rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	padding: 0.4rem;
	border-radius: 12px;
	backdrop-filter: blur(4px);
}

.cp-hero__search input {
	flex: 1;
	min-width: 0;
	padding: 0.7rem 0.9rem;
	border: 0;
	border-radius: var(--cp-radius-sm);
	background: #fff;
	color: var(--cp-ink);
}

.cp-hero__actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.cp-hero__link {
	color: #dbe6f0;
	font-weight: 600;
	text-decoration: none;
}

.cp-hero__link:hover { color: #fff; }

/* compact company-facts row under the hero actions */
.cp-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 1.9rem 0 0;
}

.cp-hero__fact { margin: 0; }

.cp-hero__fact + .cp-hero__fact {
	padding-inline-start: 1.5rem;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
}

.cp-hero__fact-value {
	margin: 0;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.cp-hero__fact-label {
	margin: 0.2rem 0 0;
	color: #9fb3c5;
	font-size: 0.8rem;
}

/* ------------------------------ hero blueprint --------------------------- */

.cp-hero__visual { display: none; }

@media (min-width: 600px) {
	.cp-hero__visual {
		display: block;
		max-width: 540px;
		margin-inline: auto;
	}
}

@media (min-width: 900px) {
	.cp-hero__visual { max-width: none; margin: 0; }
}

.cp-blueprint {
	position: relative;
	margin: 0;
	padding: 1.1rem;
	border: 1px solid rgba(143, 192, 236, 0.3);
	border-radius: var(--cp-radius);
	background-color: rgba(6, 22, 42, 0.55);
	background-image:
		linear-gradient(rgba(143, 192, 236, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(143, 192, 236, 0.08) 1px, transparent 1px);
	background-size: 22px 22px;
	box-shadow: inset 0 0 70px rgba(6, 22, 42, 0.6), 0 22px 46px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

/* corner ticks for a drafting-frame feel */
.cp-blueprint::before,
.cp-blueprint::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(143, 192, 236, 0.5);
}

.cp-blueprint::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.cp-blueprint::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.cp-blueprint__svg {
	display: block;
	width: 100%;
	height: auto;
	color: rgba(216, 232, 242, 0.92);
}

/* line styles */
.bp-frame rect,
.bp-frame path,
.bp-hyd rect,
.bp-hyd path,
.bp-hyd circle {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bp-rod { stroke-width: 2.4; }

.bp-plates path {
	fill: none;
	stroke: rgba(143, 192, 236, 0.78);
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bp-pipe path,
.bp-pipe rect {
	fill: none;
	stroke: rgba(143, 192, 236, 0.72);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bp-accent path {
	fill: none;
	stroke: var(--cp-accent);
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bp-center {
	fill: none;
	stroke: rgba(143, 192, 236, 0.35);
	stroke-width: 1;
	stroke-dasharray: 2 7;
}

.bp-dim path {
	fill: none;
	stroke: rgba(143, 192, 236, 0.5);
	stroke-width: 1;
}

.bp-value {
	fill: rgba(216, 232, 242, 0.85);
	font-family: var(--cp-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.bp-title rect { fill: rgba(6, 22, 42, 0.5); stroke: rgba(143, 192, 236, 0.4); stroke-width: 1; }
.bp-title path { stroke: rgba(143, 192, 236, 0.4); stroke-width: 1; fill: none; }
.bp-title__main { fill: #fff; font-family: var(--cp-font); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.bp-title__sub { fill: rgba(159, 179, 197, 0.9); font-family: var(--cp-font); font-size: 10px; letter-spacing: 0.03em; }

/* draw-in animation (skipped when the visitor prefers reduced motion) */
@media (prefers-reduced-motion: no-preference) {
	.bp-frame rect,
	.bp-frame path,
	.bp-hyd rect,
	.bp-hyd path,
	.bp-pipe path,
	.bp-pipe rect {
		stroke-dasharray: 1500;
		stroke-dashoffset: 1500;
		animation: bp-draw 1.8s ease forwards;
	}

	.bp-plates path {
		stroke-dasharray: 300;
		stroke-dashoffset: 300;
		animation: bp-draw 0.7s ease forwards;
		animation-delay: calc(0.9s + var(--bp-i, 0) * 0.045s);
	}

	.bp-hyd circle,
	.bp-accent path,
	.bp-center,
	.bp-dim path,
	.bp-value,
	.bp-title rect,
	.bp-title path,
	.bp-title text {
		opacity: 0;
		animation: bp-fade 0.6s ease forwards;
		animation-delay: 1.5s;
	}
}

@keyframes bp-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-fade { to { opacity: 1; } }

/* -------------------------------- sections ------------------------------- */

.cp-section { padding-block: clamp(3rem, 6.5vw, 5rem); }

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

.cp-section--dark {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--cp-navy) 0%, var(--cp-navy-deep) 100%);
	color: #bcccdc;
}

.cp-section--dark .cp-section__title { color: #fff; }

.cp-section__title {
	margin-bottom: 1.5rem;
	position: relative;
}

.cp-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.cp-section__head .cp-section__title { margin-bottom: 0; }

.cp-section__more {
	font-weight: 700;
	text-decoration: none;
	color: var(--cp-accent-dark);
	white-space: nowrap;
}

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

/* ------------------------------ category grid ---------------------------- */

.cp-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1rem;
}

.cp-cat-tile {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	text-decoration: none;
	color: var(--cp-navy);
	box-shadow: var(--cp-shadow-xs);
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.cp-cat-tile:hover {
	border-color: transparent;
	box-shadow: var(--cp-shadow-lift);
	transform: translateY(-3px);
	color: var(--cp-navy);
}

.cp-cat-tile__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 13px;
	color: var(--cp-blue);
	background: var(--cp-blue-soft);
	transition: background 0.16s ease, color 0.16s ease;
}

.cp-cat-tile:hover .cp-cat-tile__icon {
	background: var(--cp-accent);
	color: #fff;
}

.cp-cat-tile__body { display: grid; gap: 0.1rem; min-width: 0; }

.cp-cat-tile__name { font-weight: 700; letter-spacing: -0.01em; }

.cp-cat-tile__count {
	color: var(--cp-slate);
	font-size: 0.85rem;
}

.cp-cat-tile__arrow {
	margin-left: auto;
	color: var(--cp-slate-light);
	display: grid;
	transition: transform 0.16s ease, color 0.16s ease;
}

.cp-cat-tile:hover .cp-cat-tile__arrow {
	color: var(--cp-accent);
	transform: translateX(3px);
}

/* --------------------------------- cards --------------------------------- */

.cp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 1.5rem;
}

.cp-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	overflow: hidden;
	box-shadow: var(--cp-shadow-xs);
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cp-card:hover {
	box-shadow: var(--cp-shadow-lift);
	transform: translateY(-4px);
	border-color: transparent;
}

.cp-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--cp-mist);
	overflow: hidden;
}

.cp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.cp-card:hover .cp-card__media img { transform: scale(1.05); }

.cp-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
}

.cp-card__badge {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
}

.cp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.15rem 1.3rem 1.3rem;
	gap: 0.5rem;
}

.cp-card__brand {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--cp-accent-dark);
}

.cp-card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
}

.cp-card__title a {
	color: var(--cp-navy);
	text-decoration: none;
}

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

.cp-card__specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem 1rem;
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
}

.cp-card__specs div {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	border-bottom: 1px dashed var(--cp-line);
	padding-bottom: 0.25rem;
}

.cp-card__specs dt { color: var(--cp-slate); }

.cp-card__specs dd {
	margin: 0;
	font-weight: 600;
	color: var(--cp-navy);
	text-align: right;
}

.cp-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid var(--cp-line);
}

.cp-card__price {
	font-weight: 800;
	color: var(--cp-navy);
	font-size: 0.98rem;
}

/* --------------------------------- badges -------------------------------- */

.cp-badge {
	display: inline-block;
	padding: 0.22rem 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	backdrop-filter: blur(2px);
}

.cp-badge--available { background: var(--cp-success-bg); color: var(--cp-success); }
.cp-badge--reserved { background: var(--cp-warn-bg); color: var(--cp-warn); }
.cp-badge--sold { background: var(--cp-danger-bg); color: var(--cp-danger); }
.cp-badge--muted { background: var(--cp-mist); color: var(--cp-slate); }

.cp-card__badge .cp-badge { box-shadow: 0 2px 8px rgba(6, 24, 44, 0.18); }

/* ------------------------------ page headers ----------------------------- */

.cp-page-header { padding-block: 1.5rem 1rem; }

.cp-page-header__title { margin-bottom: 0.4rem; }

.cp-page-header__intro {
	color: var(--cp-slate);
	max-width: 70ch;
	font-size: 1.05rem;
}

.cp-breadcrumbs {
	padding-top: 1.25rem;
	font-size: 0.82rem;
}

.cp-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--cp-slate);
}

.cp-breadcrumbs li + li::before {
	content: "›";
	margin-right: 0.35rem;
	color: var(--cp-slate-light);
}

.cp-breadcrumbs a {
	color: var(--cp-slate);
	text-decoration: none;
}

.cp-breadcrumbs a:hover { color: var(--cp-blue); }

/* -------------------------------- filter bar ----------------------------- */

.cp-filterbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.9rem;
	padding: 1.2rem 1.35rem;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	box-shadow: var(--cp-shadow-xs);
	margin-bottom: 1.5rem;
}

.cp-filterbar label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--cp-slate);
	flex: 1 1 180px;
}

.cp-filterbar select {
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
	background: #fff;
	font-size: 0.92rem;
	font-weight: 500;
}

.cp-filterbar__reset {
	font-size: 0.85rem;
	align-self: center;
	color: var(--cp-slate);
}

.cp-resultcount {
	color: var(--cp-slate);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

/* ------------------------------- trust grid ------------------------------ */

.cp-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.25rem;
}

.cp-trust {
	padding: 1.6rem;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	background: #fff;
	box-shadow: var(--cp-shadow-xs);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cp-trust:hover { transform: translateY(-3px); box-shadow: var(--cp-shadow); }

.cp-trust h3 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.5rem;
}

.cp-trust h3::before {
	content: "";
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--cp-accent-soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23d9620c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.cp-trust p {
	margin: 0;
	color: var(--cp-slate);
	font-size: 0.95rem;
}

/* --------------------------- definition (AEO) ---------------------------- */

.cp-what {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 900px) {
	.cp-what { grid-template-columns: 1.5fr 1fr; }
}

.cp-what p { color: #bcccdc; }

.cp-what__facts {
	list-style: none;
	margin: 0;
	padding: 1.6rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--cp-radius);
	display: grid;
	gap: 0.85rem;
	font-size: 0.95rem;
}

.cp-what__facts li { padding-left: 0.9rem; border-left: 2px solid var(--cp-accent); }

.cp-what__facts strong { color: #fff; }

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

.cp-faq { max-width: 820px; }

.cp-faq__item {
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
	margin-bottom: 0.6rem;
	background: #fff;
	box-shadow: var(--cp-shadow-xs);
}

.cp-faq__item summary {
	padding: 1.05rem 1.3rem;
	font-weight: 700;
	color: var(--cp-navy);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

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

.cp-faq__item summary::after {
	content: "+";
	font-size: 1.4rem;
	line-height: 1;
	color: var(--cp-accent);
	transition: transform 0.2s ease;
}

.cp-faq__item[open] summary::after { transform: rotate(45deg); }

.cp-faq__item p {
	padding: 0 1.3rem 1.15rem;
	margin: 0;
	color: var(--cp-slate);
}

/* -------------------------------- CTA band ------------------------------- */

.cp-cta-band {
	background: linear-gradient(120deg, var(--cp-accent-dark), var(--cp-accent));
	color: #fff;
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.cp-cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.cp-cta-band h2 {
	color: #fff;
	margin-bottom: 0.3rem;
}

.cp-cta-band p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	max-width: 60ch;
}

/* ----------------------------- machine detail ---------------------------- */

.cp-machine { padding-bottom: 2rem; }

.cp-machine__layout {
	display: grid;
	gap: 2.5rem;
	padding-block: 1rem 2.5rem;
	align-items: start;
}

@media (min-width: 900px) {
	.cp-machine__layout { grid-template-columns: 1.3fr 1fr; }
}

.cp-gallery__main {
	display: block;
	border-radius: var(--cp-radius);
	overflow: hidden;
	background: var(--cp-mist);
	border: 1px solid var(--cp-line);
	cursor: zoom-in;
	box-shadow: var(--cp-shadow-xs);
}

.cp-gallery__main img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.cp-gallery--empty {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	background: var(--cp-mist);
	border-radius: var(--cp-radius);
}

.cp-gallery__thumbs {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.6rem;
	flex-wrap: wrap;
}

.cp-gallery__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--cp-radius-sm);
	overflow: hidden;
	cursor: pointer;
	background: none;
	line-height: 0;
}

.cp-gallery__thumb.is-active,
.cp-gallery__thumb:hover {
	border-color: var(--cp-accent);
}

/* summary is a sticky, elevated card so it fills the column */
.cp-machine__summary {
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-lg);
	box-shadow: var(--cp-shadow);
	padding: 1.6rem 1.7rem;
}

@media (min-width: 900px) {
	.cp-machine__summary {
		position: sticky;
		top: 96px;
	}
}

.cp-machine__meta {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
}

.cp-machine__title { margin-bottom: 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }

.cp-machine__excerpt {
	color: var(--cp-slate);
	font-size: 1rem;
}

.cp-machine__price {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--cp-navy);
	margin: 1rem 0;
	letter-spacing: -0.02em;
}

.cp-machine__cta {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 1.4rem;
}

.cp-machine__cta .cp-btn { flex: 1 1 auto; }

/* compact key facts inside the summary card */
.cp-machine__facts {
	margin: 0 0 1.4rem;
	display: grid;
	gap: 0;
	border-top: 1px solid var(--cp-line);
}

.cp-machine__facts div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--cp-line);
	font-size: 0.9rem;
}

.cp-machine__facts dt { color: var(--cp-slate); margin: 0; }

.cp-machine__facts dd {
	margin: 0;
	font-weight: 700;
	color: var(--cp-navy);
	text-align: right;
}

.cp-machine__usps {
	list-style: none;
	margin: 0;
	padding: 1.15rem 1.25rem;
	background: var(--cp-blue-soft);
	border-radius: var(--cp-radius);
	display: grid;
	gap: 0.55rem;
	font-size: 0.92rem;
}

.cp-machine__usps li {
	display: flex;
	gap: 0.55rem;
	align-items: baseline;
	color: var(--cp-navy);
}

.cp-machine__usps li::before {
	content: "✓";
	color: var(--cp-success);
	font-weight: 800;
}

.cp-machine__details {
	display: grid;
	gap: 2.5rem;
	max-width: 900px;
}

.cp-machine__section h2 { position: relative; padding-bottom: 0.5rem; margin-bottom: 1.1rem; }

.cp-machine__section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	border-radius: 3px;
	background: var(--cp-accent);
}

.cp-specs {
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	overflow: hidden;
}

.cp-specs th,
.cp-specs td {
	text-align: left;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--cp-line);
	vertical-align: top;
	font-size: 0.95rem;
}

.cp-specs tr:last-child th,
.cp-specs tr:last-child td { border-bottom: 0; }

.cp-specs th {
	width: 38%;
	color: var(--cp-slate);
	font-weight: 600;
}

.cp-specs tr:nth-child(odd) { background: var(--cp-bg); }

.cp-specs td { font-weight: 600; color: var(--cp-navy); }

.cp-related { padding-block: 2rem 3.5rem; }

.cp-related h2 { position: relative; padding-bottom: 0.5rem; }

.cp-related h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	border-radius: 3px;
	background: var(--cp-accent);
}

/* ------------------------------ inquiry form ----------------------------- */

.cp-inquiry {
	max-width: 720px;
	display: grid;
	gap: 1rem;
	padding: 1.6rem;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	box-shadow: var(--cp-shadow-xs);
}

.cp-inquiry__hp {
	position: absolute !important;
	left: -9999px !important;
	margin: 0;
}

.cp-inquiry__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cp-inquiry label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--cp-slate);
}

.cp-inquiry input:not([type="checkbox"]),
.cp-inquiry textarea {
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
	background: #fff;
	font-size: 0.95rem;
	width: 100%;
	font-weight: 500;
}

.cp-inquiry input:focus,
.cp-inquiry textarea:focus { border-color: var(--cp-blue); }

.cp-inquiry textarea { resize: vertical; }

.cp-inquiry__consent {
	display: flex !important;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.6rem !important;
	font-weight: 400 !important;
}

.cp-inquiry__consent input { margin-top: 0.25rem; }

.cp-inquiry .cp-btn { justify-self: start; }

.cp-notice {
	padding: 0.95rem 1.2rem;
	border-radius: var(--cp-radius-sm);
	margin-bottom: 1rem;
	font-weight: 600;
}

.cp-notice--success {
	background: var(--cp-success-bg);
	color: var(--cp-success);
}

.cp-notice--error {
	background: var(--cp-danger-bg);
	color: var(--cp-danger);
}

/* ------------------------------ contact page ----------------------------- */

.cp-contact {
	display: grid;
	gap: 2.5rem;
	padding-bottom: 3rem;
}

@media (min-width: 900px) {
	.cp-contact { grid-template-columns: 1fr 1.4fr; }
}

.cp-contact__list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.cp-contact__list strong {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--cp-slate);
}

/* ------------------------------- empty / 404 ----------------------------- */

.cp-empty {
	padding: 3rem 1rem;
	text-align: center;
	color: var(--cp-slate);
}

.cp-404__code {
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 800;
	color: var(--cp-line);
	line-height: 1;
	margin: 0;
}

.cp-searchform {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin: 1.25rem auto;
}

.cp-searchform input {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
}

/* -------------------------------- blog bits ------------------------------ */

.cp-post-teaser {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--cp-line);
}

.cp-post-teaser__meta {
	color: var(--cp-slate);
	font-size: 0.85rem;
}

.cp-post-thumb img { border-radius: var(--cp-radius); }

.cp-prose {
	max-width: 72ch;
}

.cp-prose img { border-radius: var(--cp-radius); }

.cp-prose h2,
.cp-prose h3 { margin-top: 1.75em; }

/* ------------------------------- pagination ------------------------------ */

.pagination,
.navigation.pagination {
	margin: 2.5rem 0 3.5rem;
}

.nav-links {
	display: flex;
	gap: 0.4rem;
	justify-content: center;
	flex-wrap: wrap;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	min-width: 44px;
	justify-content: center;
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius-sm);
	text-decoration: none;
	color: var(--cp-ink);
	font-weight: 700;
	font-size: 0.9rem;
	background: #fff;
}

.nav-links .page-numbers.current {
	background: var(--cp-navy);
	border-color: var(--cp-navy);
	color: #fff;
}

.nav-links a.page-numbers:hover {
	border-color: var(--cp-accent);
	color: var(--cp-accent-dark);
}

/* --------------------------------- footer -------------------------------- */

.cp-footer {
	background: var(--cp-navy-deep);
	color: #93a6b8;
	margin-top: auto;
	font-size: 0.92rem;
}

.cp-footer__grid {
	display: grid;
	gap: 2.5rem;
	padding-block: 3.5rem 2.5rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cp-footer__brand {
	font-weight: 800;
	color: #fff;
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	letter-spacing: -0.01em;
}

.cp-footer__heading {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	margin-bottom: 1rem;
}

.cp-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

/* the named contact leads the details block */
.cp-footer__person {
	color: #fff;
	font-weight: 700;
}

.cp-footer a {
	color: #93a6b8;
	text-decoration: none;
}

.cp-footer a:hover { color: #fff; }

.cp-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 1.25rem;
	font-size: 0.82rem;
}

.cp-footer__legal-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.cp-footer__legal p { margin: 0; }

.cp-footer__legal-menu {
	display: flex !important;
	gap: 1.25rem;
}

/* -------------------------------- lightbox ------------------------------- */

.cp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(6, 24, 44, 0.94);
	padding: 2rem;
}

.cp-lightbox.is-open { display: flex; }

.cp-lightbox img {
	max-width: min(1200px, 92vw);
	max-height: 88vh;
	width: auto;
	height: auto;
	border-radius: var(--cp-radius-sm);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.cp-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.4rem;
	cursor: pointer;
	line-height: 1;
}

.cp-lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

.cp-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}

.cp-lightbox__nav:hover { background: rgba(255, 255, 255, 0.25); }

.cp-lightbox__nav--prev { left: 1rem; }
.cp-lightbox__nav--next { right: 1rem; }

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

/* WordPress core alignment helpers */
.alignwide { max-width: var(--cp-container); margin-inline: auto; }
.alignfull { width: 100%; }
.aligncenter { margin-inline: auto; }
