/* =====================================================================
   MW QUICK LINKS — "Want to know more about us? Here are some quick links"
   Minimal and centred. Entry plays by itself once the section is on
   screen (not scroll-driven): a soft blue bloom opens, the words come out
   of a blur one by one, a hairline draws out from the centre and the
   links arrive. Pointing at a link pulls it into focus and blurs the
   others; a glass pill glides to it and a caption says where it leads.
   Behaviour: assets/js/quicklinks.js. Sizes are Figma px of the
   2359 × 1066 frame × --mw-u.
   ===================================================================== */

/* --- Edit values here ------------------------------------------------ */
.mw-ql {
	--mw-u:    calc(100vw / 2359);   /* 1 Figma px */
	--ql-bg:   #101010;
	--ql-head: #E4E4E4;
	--ql-ink:  #FFFFFF;
	--ql-mute: #8E8E8E;
	--ql-line: #262626;
	--ql-blue: #0061FF;
	--ql-ease: cubic-bezier(.19, 1, .22, 1);
	--ql-step: 70ms;                 /* between words in the entry */
	/* the section fills the screen (so the footer can rise over it); the frame is centred in it */
	--ql-shift: max(0px, calc((100svh - 1066 * var(--mw-u)) / 2));
}

/* --- Section --------------------------------------------------------- */
.mw-ql {
	position: relative;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	min-height: max(calc(1066 * var(--mw-u)), 100svh);
	background: var(--ql-bg);
	color: var(--ql-ink);
	overflow: clip;
	font-family: 'Roboto', sans-serif;
}

body:has(.mw-ql) {
	overflow-x: clip;
}

.e-con:has(> .elementor-widget-mw-quicklinks),
.e-con:has(> .e-con-inner > .elementor-widget-mw-quicklinks),
.e-con:has(> .e-con-inner > .elementor-widget-mw-quicklinks) > .e-con-inner {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	padding: 0 !important;
	gap: 0 !important;
}

.mw-ql *,
.mw-ql *::before,
.mw-ql *::after {
	box-sizing: border-box;
}

/* the soft blue light behind everything */
.mw-ql__bloom {
	position: absolute;
	left: 50%;
	top: calc(500 * var(--mw-u) + var(--ql-shift));
	width: calc(1500 * var(--mw-u));
	height: calc(760 * var(--mw-u));
	margin: calc(-380 * var(--mw-u)) 0 0 calc(-750 * var(--mw-u));
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(0, 97, 255, .16), rgba(0, 97, 255, .115) 20%, rgba(0, 97, 255, .07) 40%, rgba(0, 97, 255, .035) 60%, rgba(0, 97, 255, .012) 80%, rgba(0, 97, 255, 0));
	filter: blur(calc(30 * var(--mw-u)));
	pointer-events: none;
}

.mw-ql__inner {
	position: relative;
	padding: calc(366 * var(--mw-u) + var(--ql-shift)) 0 calc(200 * var(--mw-u));
	text-align: center;
}

/* --- Heading --------------------------------------------------------- */
.mw-ql .mw-ql__title {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: calc(48 * var(--mw-u));
	line-height: calc(52 * var(--mw-u));
	letter-spacing: 0;
	text-transform: none;
	color: var(--ql-head);
}

.mw-ql__line {
	display: block;
}

.mw-ql__w {
	display: inline-block;
}

/* the hairline between the heading and the links */
.mw-ql__rule {
	display: block;
	width: calc(520 * var(--mw-u));
	height: 1px;
	margin: calc(46 * var(--mw-u)) auto 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, 0));
}

/* --- Links ------------------------------------------------------------- */
.mw-ql__nav {
	position: relative;
	margin-top: calc(44 * var(--mw-u));
}

.mw-ql .mw-ql__links {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: calc(20 * var(--mw-u)) calc(68 * var(--mw-u));
	margin: 0;
	padding: 0;
	list-style: none;
}

.mw-ql .mw-ql__item {
	margin: 0;
	padding: 0;
}

.mw-ql .mw-ql__a,
.mw-ql .mw-ql__a:hover,
.mw-ql .mw-ql__a:focus {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: 0;
	background: none;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: calc(20 * var(--mw-u));
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: var(--ql-ink);
	cursor: pointer;
	transition: opacity .45s ease, filter .45s ease, color .3s ease;
}

.mw-ql .mw-ql__a:focus-visible {
	outline: none;
}

.mw-ql__label {
	display: inline-block;
	transition: transform .5s var(--ql-ease);
}

/* 01, 02 … as small superscripts */
.mw-ql__num {
	position: absolute;
	right: calc(-20 * var(--mw-u));
	top: calc(-11 * var(--mw-u));
	font-family: 'Antonio', sans-serif;
	font-weight: 300;
	font-size: calc(12 * var(--mw-u));
	line-height: 1;
	letter-spacing: .06em;
	color: var(--ql-blue);
	transition: opacity .3s ease, transform .45s var(--ql-ease);
}

/* ↗ that slides in on hover */
.mw-ql__arrow {
	position: absolute;
	right: calc(-22 * var(--mw-u));
	top: 50%;
	width: calc(14 * var(--mw-u));
	height: calc(14 * var(--mw-u));
	min-width: 10px;
	min-height: 10px;
	margin-top: calc(-7 * var(--mw-u));
	color: var(--ql-blue);
	opacity: 0;
	transform: translate3d(-6px, 6px, 0);
	transition: opacity .3s ease, transform .5s var(--ql-ease);
}

/* on phones the hint is shown under each link; on desktop it's read by screen readers only */
.mw-ql__hint-m {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* the glass pill that glides to the link you point at (quicklinks.js places it) */
.mw-ql__pill {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	width: var(--pw, 100px);
	height: calc(58 * var(--mw-u));
	min-height: 36px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .035);
	box-shadow: 0 0 calc(40 * var(--mw-u)) rgba(0, 97, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .06);
	transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
	opacity: 0;
	pointer-events: none;
	transition: transform .6s var(--ql-ease), width .6s var(--ql-ease), opacity .35s ease;
}

.mw-ql__nav.is-pointing .mw-ql__pill {
	opacity: 1;
}

.mw-ql__nav.is-fresh .mw-ql__pill {
	transition: opacity .35s ease;   /* first appearance: no slide from the old place */
}

/* where the link leads */
.mw-ql .mw-ql__caption {
	min-height: 1.4em;
	margin: calc(46 * var(--mw-u)) 0 0;
	font-weight: 300;
	font-size: calc(17 * var(--mw-u));
	line-height: 1.4;
	color: var(--ql-mute);
	opacity: 0;
	transition: opacity .4s ease;
}

.mw-ql__nav.is-pointing .mw-ql__caption {
	opacity: 1;
}

.mw-ql__cap-t {
	display: inline-block;
	animation: mw-ql-cap .55s var(--ql-ease) both;
}

@keyframes mw-ql-cap { from { opacity: 0; filter: blur(6px); transform: translate3d(0, 6px, 0); } to { opacity: 1; filter: none; transform: none; } }

@media (hover: hover) and (min-width: 1025px) {
	/* depth of field: the link you point at is sharp, the rest soften */
	.mw-ql__links:has(.mw-ql__a:hover) .mw-ql__a:not(:hover),
	.mw-ql__links:has(.mw-ql__a:focus-visible) .mw-ql__a:not(:focus-visible) {
		opacity: .38;
		filter: blur(1.6px);
	}
	.mw-ql .mw-ql__a:hover .mw-ql__num,
	.mw-ql .mw-ql__a:focus-visible .mw-ql__num {
		opacity: 0;
		transform: translate3d(4px, -4px, 0);
	}
	.mw-ql .mw-ql__a:hover .mw-ql__arrow,
	.mw-ql .mw-ql__a:focus-visible .mw-ql__arrow {
		opacity: 1;
		transform: none;
	}
	.mw-ql .mw-ql__a:hover .mw-ql__label,
	.mw-ql .mw-ql__a:focus-visible .mw-ql__label {
		transform: translate3d(calc(-6 * var(--mw-u)), 0, 0);
	}
}

/* --- Entry: plays by itself when the section is on screen ---------------- */
.mw-ql--js:not(.is-shown) .mw-ql__w {
	opacity: 0;
	filter: blur(18px);
	transform: translate3d(0, .4em, 0) scale(1.12);
}

.mw-ql--js:not(.is-shown) .mw-ql__rule {
	opacity: 0;
	transform: scaleX(0);
}

.mw-ql--js:not(.is-shown) .mw-ql__item {
	opacity: 0;
	filter: blur(12px);
	transform: translate3d(0, calc(18 * var(--mw-u)), 0);
}

.mw-ql--js:not(.is-shown) .mw-ql__bloom {
	opacity: 0;
	transform: scale(.35);
}

.mw-ql--js .mw-ql__w {
	transition: opacity .9s ease, filter 1.2s var(--ql-ease), transform 1.3s var(--ql-ease);
	transition-delay: calc(var(--w) * var(--ql-step) + 150ms);
}

.mw-ql--js .mw-ql__rule {
	transition: opacity .6s ease, transform 1.4s var(--ql-ease);
	transition-delay: calc(var(--wn, 10) * var(--ql-step) + 350ms);
}

.mw-ql--js .mw-ql__item {
	transition: opacity .8s ease, filter 1s var(--ql-ease), transform 1.1s var(--ql-ease);
	transition-delay: calc(var(--wn, 10) * var(--ql-step) + 550ms + var(--i) * 90ms);
}

.mw-ql--js.is-shown .mw-ql__bloom {
	animation: mw-ql-bloom 2.6s var(--ql-ease) both;
}

@keyframes mw-ql-bloom {
	0%   { opacity: 0; transform: scale(.35); filter: blur(0); }
	35%  { opacity: 1; transform: scale(1.12); }
	100% { opacity: .8; transform: scale(1); }
}

/* --- Tablets & phones -------------------------------------------------- */
@media (max-width: 1024px) {
	.mw-ql {
		--pad: 24px;
		min-height: 100svh;
	}

	.mw-ql__bloom {
		top: 210px;
		width: 560px;
		height: 420px;
		margin: -210px 0 0 -280px;
	}

	.mw-ql__inner {
		max-width: 640px;
		margin: 0 auto;
		padding: 110px var(--pad) 100px;
	}

	.mw-ql .mw-ql__title {
		font-size: 28px;
		line-height: 1.22;
		text-wrap: balance;
	}

	.mw-ql__line {
		display: inline;
	}

	.mw-ql__line::after {
		content: ' ';
	}

	.mw-ql__rule {
		width: 60%;
		margin-top: 32px;
	}

	.mw-ql__nav {
		margin-top: 28px;
	}

	.mw-ql__pill,
	.mw-ql .mw-ql__caption {
		display: none;
	}

	.mw-ql .mw-ql__links {
		display: block;
		text-align: left;
	}

	.mw-ql .mw-ql__item {
		border-bottom: 1px solid var(--ql-line);
	}

	.mw-ql .mw-ql__a,
	.mw-ql .mw-ql__a:hover,
	.mw-ql .mw-ql__a:focus {
		display: grid;
		grid-template-columns: 34px 1fr 16px;
		grid-template-areas: "num label arrow" "num hint arrow";
		align-items: center;
		row-gap: 6px;
		width: 100%;
		padding: 20px 0;
		font-size: 17px;
	}

	.mw-ql__num {
		grid-area: num;
		position: static;
		align-self: start;
		padding-top: 3px;
		font-size: 12px;
	}

	.mw-ql__label {
		grid-area: label;
	}

	.mw-ql__arrow {
		grid-area: arrow;
		position: static;
		width: 12px;
		height: 12px;
		margin: 0;
		opacity: .7;
		transform: none;
	}

	.mw-ql__hint-m {
		grid-area: hint;
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		white-space: normal;
		font-weight: 300;
		font-size: 13px;
		line-height: 1.45;
		color: var(--ql-mute);
	}

	.mw-ql--js:not(.is-shown) .mw-ql__item {
		transform: translate3d(0, 14px, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mw-ql *,
	.mw-ql *::before,
	.mw-ql *::after {
		animation: none !important;
		transition: none !important;
	}
}