/*
 * Career page (owner request 2026-11-02): four sections in the 1400px container with the
 * same tokens, arcs and cards as the About, Pricing and Team pages.
 */

.wx-cr {
	--wx-dark: #131313;
	--wx-grey: #575757;
	--wx-cream: #fcf6ef;
	--wx-paper: #fcf6ef;
	--wx-edge: #ece4d8;
	--wx-pad: max(40px, calc((100% - 1400px) / 2));
	color: #404040;
	font-family: "Manrope", sans-serif;
}

.wx-cr h1,
.wx-cr h2,
.wx-cr h3,
.wx-cr p,
.wx-cr ul {
	margin: 0;
}

.wx-cr h2 {
	color: var(--wx-dark);
	font-weight: 600;
	line-height: 1.1;
}

.wx-cr-section {
	padding: 110px var(--wx-pad);
	scroll-margin-top: 80px;
}

.wx-cr-section--paper {
	background: var(--wx-paper);
}

.wx-cr p.wx-cr-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	color: var(--wx-grey);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2.4px;
	text-transform: uppercase;
}

.wx-cr-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.wx-cr p.wx-cr-lead {
	margin-top: 20px;
	color: var(--wx-grey);
	font-size: 18px;
	line-height: 1.65;
}

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

.wx-cr .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.wx-cr .wx-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 25px;
	border: 1px solid var(--wx-dark);
	border-radius: 30px;
	background: var(--wx-dark);
	color: var(--wx-cream);
	font-family: "Manrope", sans-serif;
	font-size: 18px !important;
	font-weight: 400;
	line-height: 1.6;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}

.wx-cr .wx-btn .wp-block-button__link::after {
	content: "";
	width: 13px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M13.26 1.34a1 1 0 0 0-.97-1.03L3.3 0a1 1 0 0 0-.07 2l8 .27-.27 8a1 1 0 0 0 2 .07l.3-9ZM1.37 12.85 12.94 2.04 11.58.57 0 11.39Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M13.26 1.34a1 1 0 0 0-.97-1.03L3.3 0a1 1 0 0 0-.07 2l8 .27-.27 8a1 1 0 0 0 2 .07l.3-9ZM1.37 12.85 12.94 2.04 11.58.57 0 11.39Z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s ease;
}

.wx-cr .wx-btn .wp-block-button__link:hover::after {
	transform: translate(2px, -2px);
}

.wx-cr .wx-btn--ghost .wp-block-button__link {
	background: transparent;
	color: var(--wx-dark);
}

.wx-cr .wx-btn--ghost .wp-block-button__link:hover {
	background: var(--wx-dark);
	color: var(--wx-cream);
}

.wx-cr .wx-btn--light .wp-block-button__link {
	border-color: var(--wx-cream);
	background: var(--wx-cream);
	color: var(--wx-dark);
}

.wx-cr .wx-btn--outline .wp-block-button__link {
	border-color: rgba(252, 246, 239, .4);
	background: transparent;
	color: var(--wx-cream);
}

.wx-cr .wx-btn--outline .wp-block-button__link:hover {
	border-color: var(--wx-cream);
}

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

.wx-cr-hero {
	border-bottom: 1px solid var(--wx-edge);
	background:
		radial-gradient(circle at 100% 0, transparent 389px, rgba(160, 145, 125, .2) 390px, transparent 391.5px, transparent 479px, rgba(160, 145, 125, .13) 480px, transparent 481.5px, transparent 579px, rgba(160, 145, 125, .08) 580px, transparent 581.5px),
		radial-gradient(55% 90% at 88% 0%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 60%),
		linear-gradient(170deg, #fffbf6 0%, #f8f1e7 60%, #f1e8dc 100%);
}

.wx-cr-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	align-items: center;
	gap: 70px;
	padding: 150px var(--wx-pad) 100px;
}

.wx-cr-hero h1 {
	max-width: 720px;
	color: var(--wx-dark);
	font-weight: 700;
	line-height: 1.12;
}

.wx-cr-hero p.wx-cr-lead {
	max-width: 620px;
	font-size: 19px;
	line-height: 1.5;
}

.wx-cr-tracks {
	padding: 30px 30px 20px;
	border: 1px solid var(--wx-edge);
	border-radius: 28px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 50px 90px -50px rgba(70, 50, 25, .35);
}

.wx-cr p.wx-cr-tracks__label {
	margin-bottom: 8px;
	padding: 0 14px;
	color: #7d7a75;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.wx-cr p.wx-cr-track:not(:last-child) {
	border-bottom: 1px solid #efe8de;
}

.wx-cr-track a {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr 40px;
	align-items: center;
	gap: 18px;
	padding: 24px 14px;
	border-radius: 16px;
	color: var(--wx-dark) !important;
	font-size: inherit !important;
	text-decoration: none;
	isolation: isolate;
}

.wx-cr-track a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: #f8f1e7;
	opacity: 0;
	transition: opacity .4s ease;
}

.wx-cr-track a::after {
	content: "";
	width: 40px;
	height: 40px;
	border: 1px solid #d9d0c3;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23131313' d='M13.26 1.34a1 1 0 0 0-.97-1.03L3.3 0a1 1 0 0 0-.07 2l8 .27-.27 8a1 1 0 0 0 2 .07l.3-9ZM1.37 12.85 12.94 2.04 11.58.57 0 11.39Z'/%3E%3C/svg%3E") center / 12px no-repeat;
	transform: rotate(90deg);
	transition: background-color .35s ease, border-color .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

.wx-cr-track a:hover::before {
	opacity: 1;
}

.wx-cr-track a:hover::after {
	border-color: var(--wx-dark);
	background-color: var(--wx-dark);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23fcf6ef' d='M13.26 1.34a1 1 0 0 0-.97-1.03L3.3 0a1 1 0 0 0-.07 2l8 .27-.27 8a1 1 0 0 0 2 .07l.3-9ZM1.37 12.85 12.94 2.04 11.58.57 0 11.39Z'/%3E%3C/svg%3E");
	transform: rotate(135deg);
}

.wx-cr-track__num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wx-dark);
	color: var(--wx-cream);
	font-size: 13px;
	font-weight: 700;
}

.wx-cr-track__body {
	display: grid;
	gap: 4px;
}

.wx-cr-track__body strong {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.wx-cr-track__body span {
	color: var(--wx-grey);
	font-size: 15px;
	line-height: 1.45;
}

/* ---------- shared split ---------- */

.wx-cr-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 80px;
}

/* ---------- track 1: quote and open roles ---------- */

.wx-cr-quote {
	padding: 44px 46px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0, transparent 179px, rgba(252, 246, 239, .1) 180px, transparent 181.5px, transparent 259px, rgba(252, 246, 239, .06) 260px, transparent 261.5px),
		var(--wx-dark);
	box-shadow: 0 60px 100px -60px rgba(0, 0, 0, .7);
}

.wx-cr p.wx-cr-quote__label {
	margin-bottom: 18px;
	color: #a8a39c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.wx-cr p.wx-cr-quote__text {
	color: var(--wx-cream);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -.3px;
}

.wx-cr-quote__text::before {
	content: "“";
	display: block;
	height: 40px;
	color: rgba(252, 246, 239, .35);
	font-size: 72px;
	line-height: 1;
}

.wx-cr p.wx-cr-label {
	margin: 80px 0 20px;
	color: var(--wx-grey);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.wx-cr-roles {
	overflow: hidden;
	border: 1px solid var(--wx-edge);
	border-radius: 28px;
	background: #fff;
}

.wx-cr-role {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 120px 52px;
	grid-template-areas:
		"num title where arrow"
		"num text where arrow";
	align-items: center;
	gap: 6px 24px;
	padding: 30px 40px;
	border-bottom: 1px solid #f1ebe2;
	isolation: isolate;
}

.wx-cr-role:last-child {
	border-bottom: 0;
}

.wx-cr-role::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wx-paper);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.wx-cr-role::after {
	content: "";
	grid-area: arrow;
	width: 52px;
	height: 52px;
	border: 1px solid #d9d0c3;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23131313' d='M13.26 1.34a1 1 0 0 0-.97-1.03L3.3 0a1 1 0 0 0-.07 2l8 .27-.27 8a1 1 0 0 0 2 .07l.3-9ZM1.37 12.85 12.94 2.04 11.58.57 0 11.39Z'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: background-color .35s ease, border-color .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

.wx-cr-role:hover::before {
	transform: scaleX(1);
}

.wx-cr-role:hover::after {
	border-color: var(--wx-dark);
	background-color: var(--wx-dark);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23fcf6ef' d='M13.26 1.34a1 1 0 0 0-.97-1.03L3.3 0a1 1 0 0 0-.07 2l8 .27-.27 8a1 1 0 0 0 2 .07l.3-9ZM1.37 12.85 12.94 2.04 11.58.57 0 11.39Z'/%3E%3C/svg%3E");
	transform: rotate(45deg);
}

.wx-cr-role.is-linked {
	cursor: pointer;
}

.wx-cr p.wx-cr-role__num {
	grid-area: num;
	color: #9a9a9a;
	font-size: 14px;
	font-weight: 700;
}

.wx-cr h3.wx-cr-role__title {
	grid-area: title;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.4px;
}

.wx-cr-role__title a {
	color: var(--wx-dark) !important;
	font-size: inherit !important;
	font-weight: inherit;
	text-decoration: none;
}

.wx-cr p.wx-cr-role__where {
	grid-area: where;
	justify-self: start;
	padding: 7px 14px;
	border: 1px solid var(--wx-edge);
	border-radius: 30px;
	background: #fff;
	color: var(--wx-dark);
	font-size: 13px;
	font-weight: 600;
}

.wx-cr p.wx-cr-role__text {
	grid-area: text;
	max-width: 760px;
	color: var(--wx-grey);
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- track 2 beside the form ---------- */

.wx-cr-split--form {
	align-items: start;
}

.wx-cr ul.wx-cr-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
	padding: 0;
	list-style: none;
}

.wx-cr-fields li {
	padding: 8px 16px;
	border: 1px solid var(--wx-edge);
	border-radius: 30px;
	background: #fff;
	color: var(--wx-dark);
	font-size: 14px;
	font-weight: 600;
}

.wx-cr-points {
	display: grid;
	gap: 10px;
	margin-top: 30px;
	counter-reset: wx-point;
}

.wx-cr-point {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--wx-edge);
	border-radius: 18px;
	background: #fff;
	counter-increment: wx-point;
}

.wx-cr-point::before {
	content: counter(wx-point, decimal-leading-zero);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wx-dark);
	color: var(--wx-cream);
	font-size: 12px;
	font-weight: 700;
}

.wx-cr p.wx-cr-point__text {
	color: var(--wx-dark);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.wx-cr p.wx-cr-note {
	margin-top: 22px;
	color: var(--wx-grey);
	font-size: 15px;
	line-height: 1.65;
}

.wx-cr-form {
	padding: 44px 44px 40px;
	border: 1px solid var(--wx-edge);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 50px 90px -50px rgba(70, 50, 25, .3);
}

.wx-cr h3.wx-cr-form__title {
	color: var(--wx-dark);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.6px;
}

.wx-cr p.wx-cr-form__lead {
	margin: 10px 0 28px;
	color: var(--wx-grey);
	font-size: 16px;
	line-height: 1.6;
}

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

.wx-cr-cta {
	padding: 80px 40px;
	border-radius: 32px;
	background:
		radial-gradient(60% 80% at 50% 50%, rgba(19, 19, 19, .9), rgba(19, 19, 19, .5) 70%, rgba(19, 19, 19, .3)),
		url("../services/ai-network.svg") center / cover no-repeat,
		var(--wx-dark);
	text-align: center;
}

.wx-cr-cta h2 {
	color: var(--wx-cream);
}

.wx-cr p.wx-cr-cta__text {
	max-width: 620px;
	margin: 18px auto 0;
	color: #b9b4ad;
	font-size: 18px;
	line-height: 1.6;
}

.wx-cr-cta .wp-block-buttons {
	justify-content: center;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
	.wx-cr-hero__inner,
	.wx-cr-split {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.wx-cr-hero__inner {
		padding-top: 130px;
		padding-bottom: 70px;
	}

	.wx-cr-role {
		grid-template-columns: 48px minmax(0, 1fr) 52px;
		grid-template-areas:
			"num title arrow"
			"num where arrow"
			"num text arrow";
		padding: 26px 30px;
	}
}

@media (max-width: 767px) {
	.wx-cr {
		--wx-pad: 20px;
	}

	.wx-cr-section {
		padding-top: 70px;
		padding-bottom: 70px;
	}

	.wx-cr-hero__inner {
		gap: 32px;
		padding-top: 110px;
		padding-bottom: 44px;
	}

	.wx-cr p.wx-cr-lead,
	.wx-cr-hero p.wx-cr-lead {
		font-size: 16px;
	}

	.wx-cr-tracks {
		padding: 20px 12px 12px;
		border-radius: 22px;
	}

	.wx-cr-track a {
		grid-template-columns: 38px 1fr;
		gap: 14px;
		padding: 18px 10px;
	}

	.wx-cr-track a::after {
		display: none;
	}

	.wx-cr-track__num {
		width: 38px;
		height: 38px;
	}

	.wx-cr-track__body strong {
		font-size: 18px;
	}

	.wx-cr-quote {
		padding: 30px 24px;
	}

	.wx-cr p.wx-cr-quote__text {
		font-size: 20px;
	}

	.wx-cr p.wx-cr-label {
		margin-top: 50px;
	}

	.wx-cr-role {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"where"
			"text";
		padding: 22px 20px;
	}

	.wx-cr-role::after,
	.wx-cr p.wx-cr-role__num {
		display: none;
	}

	.wx-cr h3.wx-cr-role__title {
		font-size: 21px;
	}

	.wx-cr p.wx-cr-role__text {
		font-size: 15px;
	}

	.wx-cr-form {
		padding: 28px 20px;
		border-radius: 22px;
	}

	.wx-cr h3.wx-cr-form__title {
		font-size: 24px;
	}

	.wx-cr-cta {
		padding: 50px 22px;
	}
}

/* =====================================================================
   Single role pages (single-career.php)
   ===================================================================== */

.wx-cr-hero__inner--job {
	grid-template-columns: minmax(0, 1fr);
}

.wx-cr-job .wx-cr-hero h1 {
	max-width: 900px;
}

.wx-cr-eyebrow a {
	color: inherit !important;
	font-size: inherit !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.wx-cr ul.wx-cr-job__tags {
	margin-top: 24px;
}

.wx-cr-job__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: start;
	gap: 70px;
}

.wx-cr-job__about {
	margin-bottom: 20px;
	padding: 36px 40px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0, transparent 179px, rgba(252, 246, 239, .1) 180px, transparent 181.5px, transparent 259px, rgba(252, 246, 239, .06) 260px, transparent 261.5px),
		var(--wx-dark);
}

.wx-cr-job__about .wx-cr-eyebrow {
	color: #a8a39c;
}

.wx-cr p.wx-cr-job__intro {
	color: var(--wx-cream);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.5;
}

.wx-cr-job__block {
	padding: 32px 0;
	border-bottom: 1px solid var(--wx-edge);
}

.wx-cr-job__block:last-child {
	border-bottom: 0;
}

.wx-cr h3.wx-cr-job__title {
	margin-bottom: 16px;
	color: var(--wx-dark);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.5px;
}

.wx-cr ul.wx-cr-job__list {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
}

.wx-cr-job__list li {
	position: relative;
	padding-left: 32px;
	color: #404040;
	font-size: 17px;
	line-height: 1.6;
}

.wx-cr-job__list li::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--wx-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23fcf6ef' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* the apply form stays in view while the details scroll */
.wx-cr-job__apply {
	position: sticky;
	top: 110px;
	scroll-margin-top: 110px;
}

.wx-cr-job__apply h3.wx-cr-form__title {
	font-size: 30px;
}

/* the CV upload as a dashed drop zone */
.wx-cr-form input[type="file"] {
	width: 100%;
	margin-top: 8px;
	padding: 18px;
	border: 1.5px dashed #d9d0c3;
	border-radius: 16px;
	background: var(--wx-paper);
	color: var(--wx-grey);
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	cursor: pointer;
	transition: border-color .25s ease, background-color .25s ease;
}

.wx-cr-form input[type="file"]:hover {
	border-color: var(--wx-dark);
	background: #f8f1e7;
}

.wx-cr-form input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 9px 18px;
	border: 0;
	border-radius: 30px;
	background: var(--wx-dark);
	color: var(--wx-cream);
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
}

.wx-cr-roles--others {
	margin-top: 44px;
}

@media (max-width: 1024px) {
	.wx-cr-job__grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.wx-cr-job__apply {
		position: static;
	}
}

@media (max-width: 767px) {
	.wx-cr-job__about {
		padding: 26px 22px;
	}

	.wx-cr p.wx-cr-job__intro {
		font-size: 18px;
	}

	.wx-cr-job__block {
		padding: 26px 0;
	}

	.wx-cr h3.wx-cr-job__title {
		font-size: 20px;
	}

	.wx-cr-job__list li {
		font-size: 15px;
	}

	.wx-cr-job__apply h3.wx-cr-form__title {
		font-size: 24px;
	}
}
