/* =====================================================================
   MW FINAL CTA — "Connect with us, and let's build a strategy…"
   The packages sink back and darken; a blue wave and then this section's
   dark rise from the bottom of the screen over them. The heading builds
   word by word, the buttons arrive, and "What happens next" draws its line
   down through three steps. A soft blue light follows the mouse; the
   buttons lean towards it.
   Motion: assets/js/cta.js. Sizes are Figma px of the 2359 × 1066 frame
   × --mw-u.
   ===================================================================== */

/* --- Edit values here ------------------------------------------------ */
.mw-cta {
	--mw-u:      calc(100vw / 2359);    /* 1 Figma px */
	--cta-bg:    #101010;
	--cta-head:  #E4E4E4;
	--cta-ink:   #FFFFFF;
	--cta-mute:  #8E8E8E;
	--cta-line:  #2A2A2A;
	--cta-blue:  #0061FF;
	--cta-ease:  cubic-bezier(.19, 1, .22, 1);
	--cta-length: 120svh;               /* pinned length — cta.js sets this */
}

/* --- Section --------------------------------------------------------- */
.mw-cta {
	position: relative;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	background: var(--cta-bg);
	color: var(--cta-ink);
	overflow-x: clip;
	font-family: 'Roboto', sans-serif;
	pointer-events: auto;
}

/* The section pulls itself up over the packages (negative margin); the Elementor
   wrappers move up with it and would catch the mouse — let it pass through. */
.elementor-widget-mw-cta,
.elementor-widget-mw-cta > .elementor-widget-container {
	pointer-events: none;
}

body:has(.mw-cta) {
	overflow-x: clip;
}

.e-con:has(> .elementor-widget-mw-cta),
.e-con:has(> .e-con-inner > .elementor-widget-mw-cta) {
	position: relative;
	z-index: 10;                         /* above the packages */
}
.e-con:has(> .elementor-widget-mw-cta),
.e-con:has(> .e-con-inner > .elementor-widget-mw-cta),
.e-con:has(> .e-con-inner > .elementor-widget-mw-cta) > .e-con-inner {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	padding: 0 !important;
	gap: 0 !important;
}

.mw-cta *,
.mw-cta *::before,
.mw-cta *::after {
	box-sizing: border-box;
}

/* --- Entry (cta.js) ---------------------------------------------------- */
.mw-cta__wave,
.mw-cta__veil {
	display: none;
}

.mw-cta--js {
	margin-top: -100svh;
	background: transparent;
	pointer-events: none;
}

.mw-cta--js.is-in {
	background: var(--cta-bg);
	pointer-events: auto;
}

/* the blue wave and the dark that follows it, as growing circles from below the screen */
.mw-cta--js .mw-cta__wave,
.mw-cta--js .mw-cta__veil {
	display: block;
	position: sticky;
	top: 0;
	height: 100svh;
	margin-bottom: -100svh;
	clip-path: circle(0 at 50% 115%);
	pointer-events: none;
}

.mw-cta--js .mw-cta__wave {
	background: var(--cta-blue);
}

.mw-cta--js .mw-cta__veil {
	background: var(--cta-bg);
}

.mw-cta__stage {
	position: relative;
	z-index: 1;
	overflow: clip;
}

.mw-cta--pin {
	height: calc(100svh + var(--cta-length));
	--mw-u: min(calc(100vw / 2359), calc(100svh / 1066));
}

.mw-cta--pin .mw-cta__stage {
	position: sticky;
	top: 0;
	height: 100svh;
}

.mw-cta--pin .mw-cta__inner {
	top: max(calc(50svh - 533 * var(--mw-u)), 0px);
}

/* --- The light that follows the mouse ------------------------------------ */
.mw-cta__glow {
	position: absolute;
	left: 0;
	top: 0;
	width: calc(1300 * var(--mw-u));
	height: calc(1300 * var(--mw-u));
	margin: calc(-650 * var(--mw-u)) 0 0 calc(-650 * var(--mw-u));
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(0, 97, 255, .2), rgba(0, 97, 255, .07) 45%, rgba(0, 97, 255, 0) 100%);
	transform: translate3d(calc(1830 * var(--mw-u)), calc(760 * var(--mw-u)), 0);
	opacity: 0;
	pointer-events: none;
	will-change: transform;
}

/* --- Layout: the 2359 × 1066 Figma frame ------------------------------ */
.mw-cta__inner {
	position: relative;
	height: calc(1066 * var(--mw-u));
}

.mw-cta .mw-cta__title {
	position: absolute;
	left: calc(221 * var(--mw-u));
	top: calc(365 * var(--mw-u));
	margin: 0;
	font-family: 'Antonio', sans-serif;
	font-weight: 200;
	font-size: calc(128 * var(--mw-u));
	line-height: 1;
	letter-spacing: -.008em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--cta-head);
}

.mw-cta__line {
	display: block;
	overflow: clip;
	padding-bottom: .06em;
	margin-bottom: -.06em;
}

.mw-cta__w {
	display: inline-block;
}

.mw-cta .mw-cta__text {
	position: absolute;
	left: calc(221 * var(--mw-u));
	top: calc(795.3 * var(--mw-u));
	width: calc(745 * var(--mw-u));
	margin: 0;
	font-weight: 300;
	font-size: calc(20 * var(--mw-u));
	line-height: calc(20 * var(--mw-u));
	color: var(--cta-ink);
}

/* Buttons */
.mw-cta__btns {
	position: absolute;
	left: calc(221 * var(--mw-u));
	top: calc(867 * var(--mw-u));
	display: flex;
	gap: calc(10 * var(--mw-u));
}

.mw-cta .mw-cta__btn,
.mw-cta .mw-cta__btn:hover,
.mw-cta .mw-cta__btn:focus {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: calc(84 * var(--mw-u));
	min-height: 40px;
	padding: 0 calc(33 * var(--mw-u));
	border: max(1px, calc(2 * var(--mw-u))) solid #2E2E2E;
	border-radius: 999px;
	background: var(--cta-bg);
	box-shadow: none;
	overflow: hidden;
	isolation: isolate;
	font-family: 'Antonio', sans-serif;
	font-weight: 300;
	font-size: calc(20 * var(--mw-u));
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--cta-head);
	cursor: pointer;
	transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
	transition: color .45s var(--cta-ease), border-color .45s ease;
}

.mw-cta .mw-cta__btn--main,
.mw-cta .mw-cta__btn--main:hover,
.mw-cta .mw-cta__btn--main:focus {
	border-color: var(--cta-blue);
}

/* the fill that sweeps in on hover */
.mw-cta__btn::before {
	content: '';
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: var(--cta-blue);
	transform: translate3d(-101%, 0, 0);
	transition: transform .6s var(--cta-ease);
}

.mw-cta__btn--alt::before {
	background: var(--cta-head);
}

.mw-cta__btn-in {
	display: block;
	overflow: hidden;
	padding: .1em 0;
	transform: translate3d(var(--lx, 0px), var(--ly, 0px), 0);   /* the label leans a little further than the button */
}

/* the label rolls: it slides up and its copy comes in from below */
.mw-cta__btn-t {
	position: relative;
	display: block;
	white-space: nowrap;
	transition: transform .55s var(--cta-ease);
}

.mw-cta__btn-t::after {
	content: attr(data-t);
	position: absolute;
	left: 0;
	top: 100%;
	padding-top: .1em;
}

@media (hover: hover) {
	.mw-cta .mw-cta__btn:hover::before {
		transform: none;
	}
	.mw-cta .mw-cta__btn:hover .mw-cta__btn-t {
		transform: translate3d(0, calc(-100% - .1em), 0);
	}
	.mw-cta .mw-cta__btn--main:hover {
		color: #fff;
	}
	.mw-cta .mw-cta__btn--alt:hover {
		color: var(--cta-bg);
		border-color: var(--cta-head);
	}
}

.mw-cta .mw-cta__btn:focus-visible {
	outline: 1px solid var(--cta-head);
	outline-offset: 4px;
}

/* What happens next */
.mw-cta__next {
	position: absolute;
	left: calc(1530 * var(--mw-u));
	top: calc(365 * var(--mw-u));
	width: calc(608 * var(--mw-u));
	height: calc(586 * var(--mw-u));
}

.mw-cta .mw-cta__eyebrow {
	display: flex;
	align-items: center;
	gap: calc(20 * var(--mw-u));
	margin: 0;
	font-family: 'Antonio', sans-serif;
	font-weight: 300;
	font-size: calc(16 * var(--mw-u));
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cta-mute);
}

.mw-cta__eyebrow i {
	flex: 1;
	height: 1px;
	background: var(--cta-line);
	transform-origin: 0 50%;
}

.mw-cta__list {
	position: relative;
	margin-top: calc(44 * var(--mw-u));
}

/* the line down through the steps — its blue part grows as they arrive */
.mw-cta__track {
	position: absolute;
	left: calc(5 * var(--mw-u));
	top: calc(8 * var(--mw-u));
	bottom: calc(60 * var(--mw-u));
	width: 1px;
	background: var(--cta-line);
}

.mw-cta__track i {
	position: absolute;
	inset: 0;
	background: linear-gradient(var(--cta-blue), rgba(0, 97, 255, .35));
	transform: scaleY(var(--tr, 1));
	transform-origin: 50% 0;
}

.mw-cta .mw-cta__steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mw-cta .mw-cta__step {
	position: relative;
	margin: 0 0 calc(30 * var(--mw-u));
	padding: 0 0 0 calc(52 * var(--mw-u));
}

.mw-cta .mw-cta__step:last-child {
	margin-bottom: 0;
}

.mw-cta__dot {
	position: absolute;
	left: 0;
	top: calc(2 * var(--mw-u));
	width: calc(11 * var(--mw-u));
	height: calc(11 * var(--mw-u));
	min-width: 7px;
	min-height: 7px;
	border-radius: 50%;
	background: var(--cta-blue);
	box-shadow: 0 0 0 calc(5 * var(--mw-u)) rgba(0, 97, 255, .16);
}

.mw-cta__num {
	display: block;
	font-family: 'Antonio', sans-serif;
	font-weight: 300;
	font-size: calc(16 * var(--mw-u));
	line-height: 1;
	letter-spacing: .08em;
	color: var(--cta-blue);
}

.mw-cta .mw-cta__step-h {
	margin: calc(12 * var(--mw-u)) 0 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: calc(24 * var(--mw-u));
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cta-head);
}

.mw-cta .mw-cta__step-t {
	max-width: calc(540 * var(--mw-u));
	margin: calc(10 * var(--mw-u)) 0 0;
	font-weight: 300;
	font-size: calc(18 * var(--mw-u));
	line-height: calc(26 * var(--mw-u));
	color: var(--cta-mute);
}

/* the live status, level with the buttons */
.mw-cta__status {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(502 * var(--mw-u));
	height: calc(84 * var(--mw-u));
	padding-top: calc(22 * var(--mw-u));
	border-top: 1px solid var(--cta-line);
}

.mw-cta__status-row {
	display: flex;
	align-items: center;
	gap: calc(14 * var(--mw-u));
}

.mw-cta__pulse {
	position: relative;
	flex: none;
	width: calc(9 * var(--mw-u));
	height: calc(9 * var(--mw-u));
	min-width: 6px;
	min-height: 6px;
	border-radius: 50%;
	background: #6B6B6B;
}

.mw-cta__status.is-open .mw-cta__pulse {
	background: var(--cta-blue);
}

.mw-cta__status.is-open .mw-cta__pulse::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--cta-blue);
	animation: mw-cta-pulse 2s ease-out infinite;
}

@keyframes mw-cta-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.4); opacity: 0; } }

.mw-cta__state {
	flex: 1;
	font-weight: 400;
	font-size: calc(18 * var(--mw-u));
	line-height: 1.2;
	color: var(--cta-head);
}

.mw-cta__time {
	font-family: 'Antonio', sans-serif;
	font-weight: 300;
	font-size: calc(20 * var(--mw-u));
	line-height: 1;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
	color: var(--cta-head);
}

.mw-cta .mw-cta__hours {
	margin: calc(10 * var(--mw-u)) 0 0 calc(23 * var(--mw-u));
	font-weight: 300;
	font-size: calc(15 * var(--mw-u));
	line-height: 1.3;
	color: var(--cta-mute);
}

/* --- Tablets & phones -------------------------------------------------- */
@media (max-width: 1024px) {
	.mw-cta {
		--pad: 24px;
	}

	.mw-cta__glow {
		display: none;
	}

	.mw-cta__inner {
		height: auto;
		padding: 96px var(--pad) 88px;
	}

	.mw-cta .mw-cta__title {
		position: static;
		font-size: 52px;
		white-space: normal;
	}

	.mw-cta__line {
		display: inline;
		overflow: visible;
	}

	.mw-cta__line::after {
		content: ' ';
	}

	.mw-cta .mw-cta__text {
		position: static;
		width: auto;
		margin-top: 24px;
		font-size: 15px;
		line-height: 1.45;
	}

	.mw-cta__btns {
		position: static;
		flex-wrap: wrap;
		gap: 10px;
		margin-top: 32px;
	}

	.mw-cta .mw-cta__btn,
	.mw-cta .mw-cta__btn:hover,
	.mw-cta .mw-cta__btn:focus {
		height: 54px;
		padding: 0 26px;
		border-width: 1.5px;
		font-size: 17px;
	}

	.mw-cta__next {
		position: static;
		width: auto;
		height: auto;
		margin-top: 72px;
	}

	.mw-cta .mw-cta__eyebrow {
		gap: 14px;
		font-size: 13px;
	}

	.mw-cta__list {
		margin-top: 32px;
	}

	.mw-cta__track {
		left: 4px;
		top: 6px;
		bottom: 48px;
	}

	.mw-cta .mw-cta__step {
		margin-bottom: 28px;
		padding-left: 34px;
	}

	.mw-cta__dot {
		width: 9px;
		height: 9px;
		box-shadow: 0 0 0 4px rgba(0, 97, 255, .16);
	}

	.mw-cta__num {
		font-size: 13px;
	}

	.mw-cta .mw-cta__step-h {
		margin-top: 8px;
		font-size: 18px;
	}

	.mw-cta .mw-cta__step-t {
		max-width: none;
		margin-top: 6px;
		font-size: 14px;
		line-height: 1.5;
	}

	.mw-cta__status {
		position: relative;
		top: auto;
		height: auto;
		margin-top: 36px;
		padding-top: 18px;
	}

	.mw-cta__status-row {
		gap: 10px;
	}

	.mw-cta__state {
		font-size: 15px;
	}

	.mw-cta__time {
		font-size: 17px;
	}

	.mw-cta .mw-cta__hours {
		margin: 6px 0 0 16px;
		font-size: 12.5px;
	}

	.mw-cta--js .mw-cta__inner {
		padding-top: 70svh;          /* starts once the dark has covered the screen */
	}
}

@media (max-width: 1024px) and (min-width: 600px) {
	.mw-cta {
		--pad: 48px;
	}
	.mw-cta .mw-cta__title {
		font-size: 76px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mw-cta *,
	.mw-cta *::before,
	.mw-cta *::after {
		animation: none !important;
		transition: none !important;
	}
}