/*
 * WIZSP site: header, footer and front page.
 * Every value comes from "WIZSP Website Blueprint v2"; colours come from the
 * theme.json palette. Breakpoints: 860px (nav, columns, services track) and
 * 1100px (method diagram).
 */

:root {
	--wz-c-navy: var(--wp--preset--color--navy);
	--wz-c-blue: var(--wp--preset--color--signal-blue);
	--wz-c-white: var(--wp--preset--color--white);
	--wz-c-ink: var(--wp--preset--color--ink);
	--wz-c-slate: var(--wp--preset--color--slate);
	--wz-c-line: var(--wp--preset--color--line);
	--wz-c-blue-50: var(--wp--preset--color--blue-50);
	--wz-c-blue-100: var(--wp--preset--color--blue-100);
	--wz-c-blue-200: var(--wp--preset--color--blue-200);
	--wz-c-blue-300: var(--wp--preset--color--blue-300);
	--wz-c-slate-700: var(--wp--preset--color--slate-700);
	--wz-c-slate-500: var(--wp--preset--color--slate-500);
	--wz-c-slate-400: var(--wp--preset--color--slate-400);
	--wz-c-slate-300: var(--wp--preset--color--slate-300);
	--wz-c-line-soft: var(--wp--preset--color--line-soft);
	--wz-c-surface-2: var(--wp--preset--color--surface-2);
	--wz-on-navy-rule: rgba(255, 255, 255, .2);
	--wz-on-navy-grid: rgba(255, 255, 255, .06);
	--wz-f-sans: var(--wp--preset--font-family--outfit);
	--wz-f-mono: var(--wp--preset--font-family--mono);
	--wz-ease: cubic-bezier(.2, .7, .2, 1);
	--wz-ease-out: cubic-bezier(.16, 1, .3, 1);
	--wz-gutter: clamp(24px, 4vw, 48px);
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

::selection {
	background: var(--wz-c-blue-200);
	color: var(--wz-c-navy);
}

@keyframes wzTravelX { 0% { transform: translateX(-10vw); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(110vw); opacity: 0; } }
@keyframes wzTravelY { 0% { transform: translateY(-10vh); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(110vh); opacity: 0; } }
@keyframes wzFlow { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
@keyframes wzHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------------ base */

.wp-site-blocks > * {
	margin-block: 0;
}

body .wzs-hdr,
body .wzs-home,
body .wzs-ftr {
	font-family: var(--wz-f-sans);
	font-size: 16px;
	line-height: normal;
	color: var(--wz-c-ink);
}

/* The Blueprint wraps text plainly unless a rule asks for "pretty". */
body .wzs-hdr *,
body .wzs-home *,
body .wzs-ftr * {
	text-wrap: wrap;
}

/* The Blueprint has no box-sizing reset: content-box unless a rule says otherwise. */
body .wzs-hdr *,
body .wzs-home *,
body .wzs-ftr * {
	box-sizing: content-box;
}

body .wzs-hdr .is-layout-flow > *,
body .wzs-home .is-layout-flow > *,
body .wzs-ftr .is-layout-flow > *,
body .wzs-home > *,
body .wzs-hdr > *,
body .wzs-ftr > * {
	margin-block: 0;
}

body :is(.wzs-hdr, .wzs-home, .wzs-ftr) :where(p, h1, h2, h3, ul, li, figure) {
	margin: 0;
	padding: 0;
}

body :is(.wzs-hdr, .wzs-home, .wzs-ftr) ul {
	list-style: none;
}

body :where(.wzs-hdr, .wzs-home, .wzs-ftr) a {
	color: var(--wz-c-blue);
}

/* Kept at class strength: WordPress underlines links by default. */
body :is(.wzs-hdr, .wzs-home, .wzs-ftr) a {
	text-decoration: none;
}

body :where(.wzs-hdr, .wzs-home, .wzs-ftr) a:hover {
	color: var(--wz-c-navy);
}

body :is(.wzs-hdr, .wzs-home, .wzs-ftr) :is(a, button, summary):focus-visible {
	outline: 2px solid var(--wz-c-blue);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--wz-c-blue-100);
}

body :is(.wzs-hdr, .wzs-home, .wzs-ftr) img {
	display: block;
	max-width: none;
}

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

body .wzs-home .wzs-eyebrow {
	font: 500 12px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-blue);
}

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

body .wzs-hdr {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wz-c-white);
	border-bottom: 1px solid var(--wz-c-line-soft);
}

body .wzs-hdr__bar {
	height: 72px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--wz-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

body .wzs-hdr__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

body .wzs-hdr__logo img {
	height: 28px;
	width: auto;
}

body .wzs-hdr__label {
	font: 500 12px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-500);
	white-space: nowrap;
	opacity: 0;
	transition: opacity 260ms var(--wz-ease);
}

body .wzs-hdr__label.is-on {
	opacity: 1;
}

body .wzs-hdr__nav {
	display: flex;
	gap: 32px;
	font-size: 14px;
	font-weight: 500;
	align-items: center;
}

body .wzs-hdr__link a {
	color: var(--wz-c-slate-700);
	display: flex;
	gap: 8px;
}

body .wzs-hdr__link--mega a {
	align-items: center;
}

body .wzs-hdr__link .wzs-n {
	font-family: var(--wz-f-mono);
	color: var(--wz-c-slate-400);
}

body .wzs-hdr__chev {
	display: inline-block;
	font-size: 11px;
	transition: transform 180ms var(--wz-ease);
}

body .wzs-hdr.is-mega .wzs-hdr__chev {
	transform: rotate(180deg);
}

body .wzs-hdr__actions {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: nowrap;
}

body :is(.wzs-hdr__actions, .wzs-svcp__actions) .wp-block-button__link {
	height: 40px;
	min-height: 0;
	box-sizing: border-box;
	padding: 8px 16px !important;
	letter-spacing: normal;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--wz-c-navy);
	background: transparent;
	color: var(--wz-c-navy);
	font-family: var(--wz-f-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	border-radius: 2px;
	white-space: nowrap;
	cursor: pointer;
	transition: background 180ms var(--wz-ease), color 180ms var(--wz-ease);
}

body :is(.wzs-hdr__actions, .wzs-svcp__actions) .wp-block-button__link:hover {
	background: var(--wz-c-navy);
	color: var(--wz-c-white);
}

body .wzs-hdr__actions .wzs-hdr__toggle {
	display: none;
}

/* Mega menu */
body .wzs-megamenu {
	font-size: 16px;
	font-weight: 400;
	position: absolute;
	left: 0;
	right: 0;
	top: 72px;
	background: var(--wz-c-white);
	border-bottom: 1px solid var(--wz-c-line);
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	visibility: hidden;
	transition: opacity 200ms var(--wz-ease), transform 200ms var(--wz-ease), visibility 0s linear 200ms;
}

body .wzs-hdr.is-mega .wzs-megamenu {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	visibility: visible;
	transition-delay: 0s;
}

body .wzs-megamenu__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px var(--wz-gutter) 48px;
	display: grid;
	grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
	gap: 48px;
}

body .wzs-megamenu__list {
	display: flex;
	flex-direction: column;
}

body .wzs-megamenu__label {
	font: 500 12px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-blue);
	padding-bottom: 16px;
}

body .wzs-megamenu__items a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--wz-c-line-soft);
	font-size: 20px;
	color: var(--wz-c-slate);
	transition: color 180ms var(--wz-ease);
}

body .wzs-megamenu__items a::after {
	content: "→";
	margin-left: auto;
	align-self: center;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 180ms var(--wz-ease), transform 180ms var(--wz-ease);
}

body .wzs-megamenu__items li.is-active a {
	color: var(--wz-c-navy);
}

body .wzs-megamenu__items li.is-active a::after {
	opacity: 1;
	transform: translateX(0);
}

body .wzs-megamenu__items .wzs-n {
	font: 500 12px/1 var(--wz-f-mono);
	color: var(--wz-c-slate-400);
}

body .wzs-megamenu__panels {
	background: var(--wz-c-navy);
	color: var(--wz-c-white);
	padding: 32px;
	border-radius: 2px;
	display: flex;
	flex-direction: column;
}

body .wzs-megamenu__panel {
	display: none;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	min-height: 240px;
}

body .wzs-megamenu__panel.is-active {
	display: flex;
}

body .wzs-megamenu__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body .wzs-megamenu__count {
	font: 500 12px/1 var(--wz-f-mono);
	color: var(--wz-c-blue-300);
}

body .wzs-megamenu__title {
	font-size: 31px;
	line-height: 1.3;
	font-weight: 600;
}

body .wzs-megamenu__desc {
	font-size: 16px;
	line-height: 1.6;
	color: var(--wz-c-blue-200);
	max-width: 52ch;
}

body .wzs-megamenu__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--wz-on-navy-rule);
}

body .wzs-megamenu__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

body .wzs-megamenu__tags li {
	font: 500 12px/1.5 var(--wz-f-mono);
	color: var(--wz-c-blue-200);
}

body .wzs-megamenu__tags li::before {
	content: "· ";
}

body .wzs-megamenu__more a,
body .wzs-megamenu__more a:hover {
	color: var(--wz-c-white);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

/* Mobile navigation (the one addition to the Blueprint): same items, same type styles. */
body .wzs-mnav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 72px;
	background: var(--wz-c-white);
	border-bottom: 1px solid var(--wz-c-line);
}

body .wzs-hdr.is-mnav .wzs-mnav {
	display: block;
}

body .wzs-mnav a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 16px var(--wz-gutter);
	border-top: 1px solid var(--wz-c-line-soft);
	font-size: 20px;
	color: var(--wz-c-slate);
}

body .wzs-mnav li:first-child a {
	border-top: 0;
}

body .wzs-mnav .wzs-n {
	font: 500 12px/1 var(--wz-f-mono);
	color: var(--wz-c-slate-400);
}

@media (max-width: 859.98px) {
	body .wzs-hdr__nav,
	body .wzs-hdr__label {
		display: none;
	}

	body .wzs-hdr__actions .wzs-hdr__toggle {
		display: block;
	}
}

@media (min-width: 860px) {
	body .wzs-hdr.is-mnav .wzs-mnav {
		display: none;
	}
}

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

body .wzs-top {
	position: relative;
	overflow: hidden;
	min-height: calc(100dvh - 73px);
	display: flex;
	align-items: center;
	background-color: var(--wz-c-white);
	background-image: linear-gradient(var(--wz-c-line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--wz-c-line-soft) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: -1px -1px;
}

body .wzs-top__pulses {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

body .wzs-top__pulses span {
	position: absolute;
}

body .wzs-top__pulses span:nth-child(1) {
	left: 0;
	top: 191px;
	width: 96px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--wz-c-blue));
	animation: wzTravelX 9s linear .6s infinite;
}

body .wzs-top__pulses span:nth-child(2) {
	left: 0;
	top: 447px;
	width: 64px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--wz-c-blue-300));
	animation: wzTravelX 13s linear 3s infinite;
}

body .wzs-top__pulses span:nth-child(3) {
	top: 0;
	right: 255px;
	width: 1px;
	height: 96px;
	background: linear-gradient(180deg, transparent, var(--wz-c-blue));
	animation: wzTravelY 11s linear 1.5s infinite;
}

body .wzs-top__inner {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 128px var(--wz-gutter) 96px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

body .wzs-home .wzs-top__label {
	display: flex;
	align-items: center;
	gap: 16px;
	white-space: nowrap;
}

body .wzs-top__label::after {
	content: "";
	flex: none;
	width: 96px;
	height: 1px;
	background: var(--wz-c-blue-200);
	transform: scaleX(1);
	transform-origin: left;
	transition: transform 600ms var(--wz-ease-out) 200ms;
}

body .wzs-top__title {
	margin: 0;
	font-family: var(--wz-f-sans);
	font-size: clamp(44px, 7vw, 96px);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 200;
	color: var(--wz-c-navy);
	display: flex;
	flex-direction: column;
}

body .wzs-line {
	display: block;
}

body :is(.wzs-top__title, .wzs-manifesto__text) .wzs-line {
	overflow: hidden;
	padding-bottom: .08em;
}

body .wzs-line__in {
	display: block;
}

body :is(.wzs-top__title, .wzs-manifesto__text, .wzs-callout__title) strong {
	font-weight: 700;
}

body .wzs-top__title .wzs-line__in {
	transition: transform 700ms var(--wz-ease-out);
}

body .wzs-top__title .wzs-line:nth-child(2) .wzs-line__in {
	transition-delay: 90ms;
}

body .wzs-top__sub {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	transition: opacity 400ms var(--wz-ease) 300ms, transform 400ms var(--wz-ease) 300ms;
}

body .wzs-top__lead {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 56ch;
}

body .wzs-top__text {
	font-size: 20px;
	line-height: 1.55;
	color: var(--wz-c-slate);
	text-wrap: pretty;
}

body .wzs-top__more {
	align-self: flex-start;
}

body .wzs-top__more a {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	padding: 12px 0;
	border-bottom: 1px solid var(--wz-c-blue);
}

body .wzs-top__areas {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font: 500 12px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-700);
}

body .wzs-top__areas li {
	display: flex;
	gap: 12px;
	align-items: center;
}

body .wzs-top__areas li::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--wz-c-navy);
}

body .wzs-scrollhint {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font: 500 11px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-400);
}

body .wzs-scrollhint__line {
	display: block;
	width: 1px;
	height: 32px;
	background: var(--wz-c-line-soft);
	position: relative;
	overflow: hidden;
}

body .wzs-scrollhint__line span {
	position: absolute;
	inset: 0;
	background: var(--wz-c-navy);
	animation: wzHint 2.4s var(--wz-ease-out) infinite;
}

/* Entrance: hidden only when the script will reveal it (see the inline flag in functions.php). */
.wzs-js:not(.wzs-loaded) body .wzs-top__title .wzs-line__in {
	transform: translateY(105%);
}

.wzs-js:not(.wzs-loaded) body .wzs-top__label::after {
	transform: scaleX(0);
}

.wzs-js:not(.wzs-loaded) body .wzs-top__sub {
	opacity: 0;
	transform: translateY(12px);
}

/* ------------------------------------------------------------------ statement */

body .wzs-statement {
	border-top: 1px solid var(--wz-c-line-soft);
}

body .wzs-statement__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(64px, 10vw, 128px) var(--wz-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	gap: 48px;
}

body .wzs-home .wzs-statement__label {
	line-height: 1.6;
}

body :is(.wzs-statement__text, .wzs-quote__text) {
	font-size: clamp(27px, 3.4vw, 44px);
	line-height: 1.25;
	letter-spacing: -0.01em;
	font-weight: 300;
	text-wrap: pretty;
	color: var(--wz-c-navy);
}

body .wzs-w {
	transition: color 200ms var(--wz-ease);
}

body .wzs-w--b {
	font-weight: 600;
}

.wzs-js body .wzs-w {
	color: var(--wz-c-blue-200);
}

.wzs-js body .wzs-w.is-lit {
	color: var(--wz-c-navy);
}

/* ------------------------------------------------------------------ method */

body .wzs-method {
	border-top: 1px solid var(--wz-c-line-soft);
	background: var(--wz-c-surface-2);
}

body .wzs-method__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(64px, 8vw, 96px) var(--wz-gutter);
	display: flex;
	flex-direction: column;
	gap: 48px;
}

body .wzs-method__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}

body :is(.wzs-method__titles, .wzs-svc__titles) {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body :is(.wzs-method__title, .wzs-svc__heading, .wzs-co__title) {
	margin: 0;
	font-family: var(--wz-f-sans);
	font-size: clamp(32px, 4vw, 49px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 200;
	color: var(--wz-c-navy);
}

body :is(.wzs-method__title, .wzs-svc__heading, .wzs-co__title) strong {
	font-weight: 700;
}

body .wzs-method__hint {
	font: 500 12px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-500);
	white-space: nowrap;
}

body .wzs-method__diagram {
	background: var(--wz-c-white);
	border: 1px solid var(--wz-c-line);
	border-radius: 2px;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
}

body .wzs-method__index {
	padding: 32px;
	border-right: 1px solid var(--wz-c-line-soft);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body .wzs-method__stages {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
}

body .wzs-stage-btn .wp-block-button__link {
	all: unset;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0 !important;
	font-size: 16px;
	font-weight: 400;
	color: var(--wz-c-slate-500);
	transition: color 180ms var(--wz-ease);
}

body .wzs-stage-btn .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	box-sizing: border-box;
	border: 1px solid var(--wz-c-navy);
	background: transparent;
	transition: background 180ms var(--wz-ease);
}

body .wzs-stage-btn .wzs-n {
	font: 500 12px/1 var(--wz-f-mono);
	color: var(--wz-c-slate-400);
}

body .wzs-stage-btn.is-active .wp-block-button__link {
	font-weight: 600;
	color: var(--wz-c-navy);
}

body .wzs-stage-btn.is-active .wp-block-button__link::before {
	background: var(--wz-c-navy);
}

body .wzs-home .wzs-method__output {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--wz-c-line-soft);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body .wzs-method__output-label {
	font: 500 12px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-400);
}

body .wzs-method__out {
	display: none;
	font-size: 14px;
	line-height: 1.6;
	color: var(--wz-c-slate-700);
}

body .wzs-method__canvas {
	padding: clamp(24px, 4vw, 48px);
	display: flex;
	flex-direction: column;
	gap: 32px;
	background-image: linear-gradient(var(--wz-c-blue-50) 1px, transparent 1px), linear-gradient(90deg, var(--wz-c-blue-50) 1px, transparent 1px);
	background-size: 24px 24px;
}

body .wzs-method__flow {
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

body .wzs-stage-card {
	cursor: pointer;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: var(--wz-c-white);
	border: 1px solid var(--wz-c-line);
	border-radius: 2px;
	transform: translateY(0);
	transition: border-color 180ms var(--wz-ease), transform 260ms var(--wz-ease-out);
}

body .wzs-stage-card.is-active {
	border-color: var(--wz-c-navy);
	transform: translateY(-4px);
}

body .wzs-stage-card__head {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	white-space: nowrap;
	padding: 8px 12px;
	font: 500 11px/1.5 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	background: var(--wz-c-blue-50);
	color: var(--wz-c-slate-500);
	transition: background 180ms var(--wz-ease), color 180ms var(--wz-ease);
}

body .wzs-stage-card.is-active .wzs-stage-card__head {
	background: var(--wz-c-navy);
	color: var(--wz-c-white);
}

body .wzs-stage-card__state {
	display: none;
}

body .wzs-stage-card.is-active .wzs-state--active,
body .wzs-stage-card.is-done .wzs-state--done,
body .wzs-stage-card.is-next .wzs-state--next {
	display: block;
}

body .wzs-stage-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 12px;
}

body .wzs-stage-card__title {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--wz-c-navy);
}

body .wzs-stage-card__tagline {
	font: 500 11px/1.5 var(--wz-f-mono);
	color: var(--wz-c-slate-500);
}

body .wzs-conn {
	flex: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-width: 24px;
	min-height: 24px;
}

body .wzs-conn__line {
	position: absolute;
	background: var(--wz-c-slate-300);
	width: 100%;
	height: 1px;
}

body .wzs-conn__pulse {
	position: absolute;
	inset: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
}

body .wzs-conn__pulse::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 30%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--wz-c-blue));
	animation: wzFlow 1.6s linear infinite;
}

body .wzs-conn:nth-of-type(2) .wzs-conn__pulse::before {
	animation-delay: .4s;
}

body .wzs-conn:nth-of-type(3) .wzs-conn__pulse::before {
	animation-delay: .8s;
}

body .wzs-conn__arrow {
	position: relative;
	font-size: 12px;
	color: var(--wz-c-navy);
	background: var(--wz-c-white);
	line-height: 1;
}

body .wzs-method__loop {
	display: flex;
	align-items: center;
	gap: 16px;
	font: 500 11px/1 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-500);
}

body .wzs-method__loop p {
	white-space: nowrap;
}

body .wzs-method__dash {
	flex: 1;
	border-top: 1px dashed var(--wz-c-slate-300);
}

body .wzs-method__details {
	padding-top: 24px;
	border-top: 1px solid var(--wz-c-line-soft);
}

body .wzs-method__detail {
	display: none;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 24px;
}

body .wzs-method__detail-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow: hidden;
}

body .wzs-method__detail-label {
	font: 500 12px/1 var(--wz-f-mono);
	color: var(--wz-c-blue);
}

body .wzs-method__detail-text {
	font-size: 20px;
	line-height: 1.55;
	color: var(--wz-c-ink);
}

body .wzs-method__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-content: flex-start;
}

body .wzs-method__tags li {
	font: 500 12px/1 var(--wz-f-mono);
	padding: 8px;
	border: 1px solid var(--wz-c-line);
	border-radius: 2px;
	color: var(--wz-c-slate-700);
	background: var(--wz-c-white);
}

/* The active stage (index n, set by the script; the first stage without it). */
body .wzs-method:not(.is-ready) .wzs-method__output-label + .wzs-method__out,
body .wzs-method__out.is-active,
body .wzs-method:not(.is-ready) .wzs-method__detail:first-child {
	display: block;
}

body .wzs-method:not(.is-ready) .wzs-method__detail:first-child,
body .wzs-method__detail.is-active {
	display: grid;
}

/* ------------------------------------------------------------------ manifesto */

body .wzs-manifesto {
	border-top: 1px solid var(--wz-c-line-soft);
}

body .wzs-manifesto__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(96px, 12vw, 160px) var(--wz-gutter);
}

body .wzs-manifesto__text {
	font-size: clamp(44px, 7vw, 96px);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 200;
	color: var(--wz-c-navy);
	display: flex;
	flex-direction: column;
}

body .wzs-manifesto__text strong {
	color: var(--wz-c-blue);
}

body .wzs-manifesto__text .wzs-line__in {
	transition: transform 400ms var(--wz-ease-out);
}

body .wzs-manifesto__text .wzs-line:nth-child(2) .wzs-line__in {
	transition-delay: 120ms;
}

.wzs-js body .wzs-manifesto:not(.is-in) .wzs-line__in {
	transform: translateY(105%);
}

/* ------------------------------------------------------------------ services */

body .wzs-svc {
	border-top: 1px solid var(--wz-c-line-soft);
}

body .wzs-svc__outer {
	position: relative;
}

body .wzs-svc__panel {
	position: relative;
	top: 73px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 48px;
	padding: clamp(48px, 6vw, 64px) 0;
	box-sizing: border-box;
}

body .wzs-svc__head {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--wz-gutter);
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}

body .wzs-svc__counter {
	font: 500 12px/1 var(--wz-f-mono);
	color: var(--wz-c-slate-500);
}

body .wzs-svc__counter--live {
	display: none;
}

body .wzs-svc__track {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0 var(--wz-gutter);
	will-change: transform;
	width: 100%;
	box-sizing: border-box;
}

body .wzs-svc__card {
	flex: none;
	width: 100%;
	min-height: 400px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	padding: 32px;
	background: var(--wz-c-white);
	border: 1px solid var(--wz-c-line);
	border-radius: 2px;
	transition: border-color 260ms var(--wz-ease);
}

body .wzs-svc__meta {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font: 500 11px/1.6 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-500);
}

body .wzs-svc__num {
	color: var(--wz-c-blue);
}

body .wzs-svc__tagline {
	text-align: right;
}

body .wzs-svc__body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 40ch;
}

body .wzs-svc__title {
	margin: 0;
	font-family: var(--wz-f-sans);
	font-size: clamp(25px, 2.6vw, 31px);
	line-height: 1.3;
	letter-spacing: normal;
	font-weight: 600;
	color: var(--wz-c-navy);
}

body .wzs-svc__desc {
	font-size: 16px;
	line-height: 1.6;
	color: var(--wz-c-slate);
}

body .wzs-svc__foot {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

body .wzs-svc__link a {
	font-size: 14px;
	font-weight: 600;
	display: flex;
	gap: 8px;
	padding: 12px 0;
}

body .wzs-svc__bignum {
	position: absolute;
	right: 24px;
	bottom: -16px;
	font-size: clamp(96px, 12vw, 160px);
	line-height: 1;
	font-weight: 200;
	letter-spacing: -0.04em;
	color: var(--wz-c-line-soft);
	transition: color 260ms var(--wz-ease);
}

body .wzs-svc__tabs {
	display: none;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--wz-gutter);
	box-sizing: border-box;
	flex-direction: column;
	gap: 12px;
}

body .wzs-svc__bar {
	height: 1px;
	background: var(--wz-c-line);
	position: relative;
}

body .wzs-svc__bar span {
	position: absolute;
	inset: 0;
	background: var(--wz-c-navy);
	transform: scaleX(0);
	transform-origin: left;
}

body .wzs-svc__tablist {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

body .wzs-svc__tab {
	font: 500 11px/1.5 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-400);
	transition: color 180ms var(--wz-ease);
}

body .wzs-svc__tab.is-on {
	color: var(--wz-c-navy);
}

/* Scroll-driven track: wide screens with motion allowed (the flag is absent under reduced motion). */
@media (min-width: 860px) {
	.wzs-js body .wzs-svc__panel {
		position: sticky;
		height: calc(100vh - 73px);
	}

	.wzs-js body .wzs-svc__outer {
		height: calc(100vh - 73px);
	}

	.wzs-js body .wzs-svc__track {
		flex-direction: row;
		width: max-content;
	}

	.wzs-js body .wzs-svc__card {
		width: min(560px, 70vw);
	}

	.wzs-js body .wzs-svc__card.is-active {
		border-color: var(--wz-c-navy);
	}

	.wzs-js body .wzs-svc__card.is-active .wzs-svc__bignum {
		color: var(--wz-c-blue-200);
	}

	.wzs-js body .wzs-svc__tabs {
		display: flex;
	}

	.wzs-js body .wzs-svc__counter--live {
		display: block;
	}

	.wzs-js body .wzs-svc__counter--static {
		display: none;
	}
}

/* ------------------------------------------------------------------ company */

body .wzs-co {
	border-top: 1px solid var(--wz-c-line-soft);
}

body .wzs-co__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(64px, 8vw, 96px) var(--wz-gutter);
	display: grid;
	grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
	gap: 48px;
}

body .wzs-co__intro {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

body .wzs-co__title {
	max-width: 18ch;
}

body .wzs-co__text {
	font-size: 17px;
	line-height: 1.6;
	color: var(--wz-c-slate);
	max-width: 60ch;
}

body .wzs-co__principles {
	display: flex;
	flex-direction: column;
	align-self: end;
}

body .wzs-co__principle {
	display: flex;
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--wz-c-line);
	transition: opacity 400ms var(--wz-ease), transform 400ms var(--wz-ease);
}

body .wzs-co__principle:nth-child(2) {
	transition-delay: 80ms;
}

body .wzs-co__principle:nth-child(3) {
	transition-delay: 160ms;
}

.wzs-js body .wzs-co:not(.is-in) .wzs-co__principle {
	opacity: 0;
	transform: translateY(12px);
}

body .wzs-co__num {
	font: 500 12px/1.8 var(--wz-f-mono);
	color: var(--wz-c-blue);
}

body .wzs-co__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body .wzs-co__ptitle {
	font-size: 20px;
	font-weight: 600;
	color: var(--wz-c-navy);
}

body .wzs-co__pdesc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--wz-c-slate);
}

/* ------------------------------------------------------------------ call to action */

body .wzs-callout {
	background-color: var(--wz-c-navy);
	color: var(--wz-c-white);
	position: relative;
	overflow: hidden;
	background-image: linear-gradient(var(--wz-on-navy-grid) 1px, transparent 1px), linear-gradient(90deg, var(--wz-on-navy-grid) 1px, transparent 1px);
	background-size: 64px 64px;
}

body .wzs-callout__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(96px, 12vw, 160px) var(--wz-gutter);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 48px;
}

body .wzs-callout__title {
	margin: 0;
	font-family: var(--wz-f-sans);
	font-size: clamp(38px, 5.5vw, 72px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 200;
	color: var(--wz-c-white);
	display: flex;
	flex-direction: column;
}

body .wzs-callout__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 320px;
}

body .wzs-callout__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--wz-c-blue-200);
}

body .wzs-callout__actions {
	display: block;
}

body .wzs-callout__btn {
	display: block;
	width: 100%;
}

body .wzs-callout__btn .wp-block-button__link {
	height: 56px;
	min-height: 0;
	box-sizing: border-box;
	width: 100%;
	padding: 16px 16px 16px 24px !important;
	letter-spacing: normal;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--wz-c-white);
	color: var(--wz-c-navy);
	font-family: var(--wz-f-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	border: 0;
	border-radius: 2px;
	transition: background 180ms var(--wz-ease);
}

body .wzs-callout__btn .wp-block-button__link:hover {
	background: var(--wz-c-blue-100);
	color: var(--wz-c-navy);
}

body .wzs-callout__btn .wzs-ico {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wz-c-navy);
	color: var(--wz-c-white);
	border-radius: 2px;
}

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

body .wzs-ftr {
	background: var(--wz-c-surface-2);
	border-top: 1px solid var(--wz-c-line);
}

body .wzs-ftr__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px var(--wz-gutter) 32px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

body .wzs-ftr__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 32px 24px;
}

body .wzs-ftr__logo img {
	height: 24px;
	width: auto;
}

body .wzs-ftr__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body .wzs-ftr__label {
	font: 500 11px/1.5 var(--wz-f-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-blue);
}

body .wzs-ftr__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body .wzs-ftr__links li {
	font-size: 14px;
}

body .wzs-ftr__links a {
	display: block;
	font-size: 14px;
	color: var(--wz-c-slate-700);
}

body .wzs-ftr__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
	color: var(--wz-c-slate-500);
	border-top: 1px solid var(--wz-c-line);
	padding-top: 24px;
}

body .wzs-ftr__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

body .wzs-ftr__legal a {
	color: inherit;
}

body .wzs-ftr__motto {
	font-family: var(--wz-f-mono);
	font-size: 12px;
}

/* ------------------------------------------------------------------ service page */
/* Composed from the home components: Company (intro), Method (stages), Statement
   (built with, client story, FAQ), method tags and the mega menu rows (FAQ). */

body .wzs-svcp__actions {
	display: flex;
}

body .wzs-svcp-intro .wzs-co__principles > .wzs-eyebrow {
	padding-bottom: 16px;
}

body .wzs-method--static .wzs-method__diagram {
	grid-template-columns: minmax(0, 1fr);
}

body .wzs-method--static .wzs-stage-card {
	cursor: default;
}

body .wzs-svcp-stack__rows,
body .wzs-svcp-stack__row {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body .wzs-svcp-stack__rows {
	gap: 32px;
}

body .wzs-home .wzs-quote {
	margin: 0;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

body .wzs-home .wzs-quote cite {
	font: 500 12px/1.6 var(--wz-f-mono);
	font-style: normal;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wz-c-slate-500);
}

body .wzs-faq__item {
	border-top: 1px solid var(--wz-c-line-soft);
}

body .wzs-faq__item:last-child {
	border-bottom: 1px solid var(--wz-c-line-soft);
}

body .wzs-faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	font-size: 20px;
	font-weight: 400;
	color: var(--wz-c-slate);
	list-style: none;
	cursor: pointer;
	transition: color 180ms var(--wz-ease);
}

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

body .wzs-faq__item summary::after {
	content: "⌄";
	display: inline-block;
	width: auto;
	height: auto;
	background: none;
	font-size: 11px;
	transition: transform 180ms var(--wz-ease);
}

body .wzs-faq__item summary:hover,
body .wzs-faq__item[open] summary {
	color: var(--wz-c-navy);
}

body .wzs-faq__item[open] summary::after {
	transform: rotate(180deg);
}

body .wzs-faq__answer {
	padding-bottom: 24px;
	max-width: 60ch;
	font-size: 17px;
	line-height: 1.6;
	color: var(--wz-c-slate);
}

/* ------------------------------------------------------------------ narrow layouts */

@media (max-width: 1099.98px) {
	body .wzs-method__diagram {
		grid-template-columns: minmax(0, 1fr);
	}

	body .wzs-method__index {
		border-bottom: 1px solid var(--wz-c-line-soft);
	}

	body .wzs-method__flow {
		flex-direction: column;
	}

	body .wzs-conn {
		flex: 0 0 32px;
	}

	body .wzs-conn__line {
		width: 1px;
		height: 100%;
	}

	body .wzs-conn__arrow {
		transform: rotate(90deg);
	}

	body .wzs-conn__pulse {
		display: none;
	}
}

@media (max-width: 859.98px) {
	body .wzs-statement__inner,
	body .wzs-co__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	body .wzs-method__detail.is-active,
	body .wzs-method:not(.is-ready) .wzs-method__detail:first-child {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ------------------------------------------------------------------ in-page anchors */

/* Content pages (posts, legal pages): an anchor target lands below the sticky
   header (72px + 1px border) instead of under it. */
main:not(.wzs-home) [id] {
	scroll-margin-top: 89px;
}

/* ------------------------------------------------------------------ reduced motion */

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

	body .wzs-top__pulses,
	body .wzs-scrollhint__line span,
	body .wzs-conn__pulse {
		display: none;
	}

	body .wzs-stage-card.is-active {
		transform: none;
	}
}
