@font-face {
	font-family: "ALS Chromius";
	src: url("./assets/ALS_Chromius_Regular_0.8.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "ALS Chromius";
	src: url("./assets/ALS_Chromius_Medium_0.8.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "ALS Chromius";
	src: url("./assets/ALS_Chromius_Bold_0.8.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "ALS Chromius";
	src: url("./assets/ALS_Chromius_Black_0.8.otf") format("opentype");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

.maps-social {
	position: relative;
	z-index: 2;
	--maps-bg: #151515;
	--maps-card: #1d1d1d;
	--maps-text: #ffffff;
	--maps-blue: #196dff;
	width: 100%;
	min-width: 320px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	background: transparent;
	color: var(--maps-text);
	font-family: "ALS Chromius", Arial, Helvetica, sans-serif;
}

.maps-social img {
	display: block;
	width: 100%;
	height: auto;
}

.maps-social-wrapper {
	position: relative;
	width: 100%;
}

.maps-social-wrapper::before {
	content: "";
	position: absolute;
	pointer-events: none;
}

.maps-social-intro {
	display: grid;
	justify-items: center;
	padding: clamp(44px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
	text-align: center;
}

.maps-social-intro::before {
	top: clamp(-520px, -36vw, -260px);
	left: 50%;
	width: max(1200px, 140vw);
	aspect-ratio: 2685 / 2102;
	background: url("./assets/Ellipse_5282_1.svg") center top / contain no-repeat;
	transform: translateX(-50%);
	opacity: 0.9;
}

.maps-social-icon {
	position: relative;
	z-index: 1;
	width: 72px;
	max-width: none;
	margin: 0 auto clamp(68px, 12vw, 162px);
	border-radius: 18px;
	overflow: hidden;
}

.maps-social-lead {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 40px), 960px);
	max-width: none;
	margin: 0 auto;
	padding: 0;
}

.maps-social-lead p {
	margin: 0;
	color: var(--maps-text);
	font-size: clamp(20px, 2.1vw, 32px);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: 0;
	text-align: center;
}

.maps-social-slides {
	display: grid;
	justify-items: center;
	gap: clamp(14px, 2vw, 30px);
	padding: 0 0 clamp(14px, 2vw, 30px);
	background: transparent;
}

.maps-social-slide,
.maps-social-stack {
	position: relative;
	width: min(calc(100vw - 24px), 1376px);
	max-width: none;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	border-radius: clamp(14px, 2vw, 24px);
	background: var(--maps-card);
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.maps-social-slide-dark,
.maps-social-stack.maps-social-stack-dark {
	background: var(--maps-bg);
}

.maps-social-slide img {
	aspect-ratio: 4128 / 2418;
	object-fit: cover;
}

.maps-social-stack {
	display: grid;
	background: #e9e9e9;
}

.maps-social-summary {
	padding: clamp(84px, 12vw, 160px) 0 clamp(52px, 8vw, 110px);
	background: var(--maps-bg);
	text-align: center;
}

.maps-social-summary-text {
	width: min(calc(100% - 36px), 960px);
	max-width: none;
	margin: 0 auto;
	padding: 0;
}

.maps-social-summary-text p {
	margin: 0;
	color: var(--maps-text);
	font-size: clamp(32px, 7vw, 72px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0;
	text-align: center;
}

.maps-social-wrapper.bottom-transition {
	--transition-bottom-crop: 24px;
	--transition-gradient-height: min(58svh, 560px);
	min-height: 100vh;
	min-height: 100svh;
	/* Trim the empty bottom edge without resizing the WebGL scene. */
	margin-bottom: calc(-1 * var(--transition-bottom-crop));
	clip-path: inset(0 0 var(--transition-bottom-crop) 0);
	overflow: hidden;
	background: var(--maps-bg);
}

.maps-social-wrapper.bottom-transition::before {
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	height: var(--transition-gradient-height);
	background: linear-gradient(
		0deg,
		#196dff 0%,
		rgba(25, 109, 255, 0.98) 10%,
		rgba(25, 109, 255, 0.84) 28%,
		rgba(25, 109, 255, 0.58) 50%,
		rgba(25, 109, 255, 0.28) 74%,
		rgba(25, 109, 255, 0.08) 92%,
		rgba(25, 109, 255, 0) 100%
	);
	pointer-events: none;
}

.maps-social-wrapper.bottom-transition--solid-front {
	--front-card-solid-distance: 10.8;
	--front-card-solid-facing: 0.38;
}

.maps-social-wrapper.bottom-transition--infinite-scroll {
	--scroll-to-progress: 0.00032;
}

.maps-social-wrapper.bottom-transition--desktop-wheel-smooth {
	--desktop-wheel-max-step: 0;
	--desktop-wheel-smoothing: 1;
}

.maps-social-wrapper.bottom-transition--wheel-balanced {
	--wheel-line-step: 18;
	--wheel-page-step-ratio: 1;
	--wheel-return-kick-ratio: 0;
}

.maps-social-wrapper.bottom-transition--drag-balanced {
	--drag-return-page-step: 1;
	--drag-scroll-speed: 0.84;
	--drag-max-velocity: 2.7;
	--drag-flick-multiplier: 0.78;
}

.maps-social-wrapper.bottom-transition--instant-rotation {
	--carousel-start-threshold: 1;
	--carousel-start-speed: 1;
}

.maps-social-wrapper.bottom-transition--mouse-reactive.bottom-transition--locked-camera {
	--mouse-card-tilt-x: 0.022;
	--mouse-card-tilt-y: 0.028;
	--touch-card-tilt-x: 0;
	--touch-card-tilt-y: 0;
}

.maps-social-transition-stage {
	position: relative;
	top: 0;
	z-index: 2;
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100svh;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	pointer-events: auto;
	touch-action: pan-y;
}

.maps-social-transition-stage canvas {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.maps-social-transition-stage canvas.is-dragging {
	cursor: grabbing;
}

.maps-social-transition-fallback {
	display: none;
}

.maps-social-transition-stage.is-webgl-ready .maps-social-transition-fallback {
	opacity: 0;
}

.maps-social-transition-fallback__card {
	position: absolute;
	width: clamp(132px, 38vw, 230px);
	aspect-ratio: 375 / 812;
	object-fit: cover;
	border-radius: clamp(22px, 7vw, 40px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
	transform-origin: 50% 50%;
}

.maps-social-transition-fallback__card.card-1 {
	top: -7%;
	left: -8%;
	opacity: 0.5;
	transform: rotate(-9deg);
}

.maps-social-transition-fallback__card.card-2 {
	top: 4%;
	left: 29%;
	opacity: 0.78;
	transform: rotate(2deg);
}

.maps-social-transition-fallback__card.card-3 {
	top: 24%;
	right: -5%;
	opacity: 0.62;
	transform: rotate(-6deg);
}

.maps-social-transition-fallback__card.card-4 {
	top: 30%;
	left: -5%;
	opacity: 0.9;
	transform: rotate(4deg);
}

.maps-social-transition-fallback__card.card-5 {
	right: 2%;
	bottom: 16%;
	opacity: 0.46;
	transform: rotate(-7deg);
}

.maps-social-transition-fallback__card.card-6 {
	bottom: -10%;
	left: 32%;
	opacity: 0.42;
	transform: rotate(5deg);
}

@media (min-width: 1500px) {
	.maps-social-slide,
	.maps-social-stack {
		width: min(calc(100vw - 64px), 1556px);
	}

	.maps-social-wrapper.bottom-transition--desktop-wheel-smooth {
		--desktop-wheel-max-step: 140;
		--desktop-wheel-smoothing: 11;
	}

	.maps-social-wrapper.bottom-transition--wheel-balanced {
		--wheel-return-kick-ratio: 1;
	}
}

@media (max-width: 900px) {
	.maps-social-icon {
		width: 58px;
		border-radius: 15px;
	}

	.maps-social-lead {
		width: min(calc(100% - 32px), 680px);
	}

	.maps-social-transition-fallback__card {
		width: clamp(190px, 18vw, 286px);
		border-radius: clamp(30px, 3vw, 48px);
	}

	.maps-social-transition-fallback__card.card-1 {
		top: -11%;
		left: 7%;
	}

	.maps-social-transition-fallback__card.card-2 {
		top: -2%;
		left: 42%;
	}

	.maps-social-transition-fallback__card.card-3 {
		top: 20%;
		right: 12%;
	}

	.maps-social-transition-fallback__card.card-4 {
		top: 30%;
		left: 19%;
	}

	.maps-social-transition-fallback__card.card-5 {
		right: 25%;
		bottom: 2%;
	}

	.maps-social-transition-fallback__card.card-6 {
		bottom: -18%;
		left: 49%;
	}
}

@media (max-width: 560px) {
	/* Keep the cover glow behind the intro and the first slide on narrow screens. */
	.yms_cover_grad {
		top: -100px;
		height: max(820px, 220vw);
	}

	.als-text-title h1 {
		font-size: clamp(28px, 8.6vw, 46px);
		line-height: 1.05;
	}

	.announce__text.yms_intro_text {
		margin-top: -32px;
		margin-bottom: 48px;
		padding-bottom: 0;
	}

	.announce__text.yms_intro_text p {
		margin-bottom: 0;
	}

	.maps-social-intro {
		padding-top: 34px;
	}

	.maps-social-icon {
		width: 48px;
		margin-bottom: 58px;
		border-radius: 12px;
	}

	.maps-social-lead p {
		font-size: 20px;
		line-height: 1.2;
	}

	.maps-social-slide,
	.maps-social-stack {
		width: calc(100vw - 18px);
		border-radius: 12px;
	}

	.maps-social-summary-text p {
		font-size: clamp(28px, 8vw, 38px);
	}

	.maps-social-wrapper.bottom-transition {
		--mobile-camera-y: 0.28;
		--mobile-camera-z: 16.1;
		--mobile-look-at-y: -0.55;
		--mobile-top-card-fade-start: -18;
		--mobile-top-card-fade-end: 96;
		min-height: 96svh;
	}

	.maps-social-transition-stage {
		height: 96svh;
		touch-action: pan-y;
	}

	.maps-social-transition-stage canvas {
		touch-action: pan-y;
	}

	.maps-social-wrapper.bottom-transition::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		z-index: 3;
		height: clamp(118px, 24svh, 178px);
		background: linear-gradient(
			180deg,
			#151515 0%,
			rgba(21, 21, 21, 0.95) 28%,
			rgba(21, 21, 21, 0) 100%
		);
		pointer-events: none;
	}
}

.maps-social-magnifier {
	--lens-size: 72px;
	--zoom: 2.15;
	display: none;
	position: fixed;
	top: 18px;
	right: 16px;
	z-index: 30;
	width: var(--lens-size);
	height: var(--lens-size);
	padding: 0;
	border: 0;
	background: transparent;
	cursor: grab;
	touch-action: none;
	user-select: none;
	transition: width 180ms ease, height 180ms ease, filter 180ms ease;
}

.maps-social-magnifier.is-active {
	--lens-size: min(436px, 68vw);
	cursor: grabbing;
	filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.44));
}

.maps-social-magnifier.is-growing {
	transition: width 180ms ease, height 180ms ease, left 180ms ease, top 180ms ease, filter 180ms ease;
}

.maps-social-magnifier.is-active.is-placed {
	cursor: grab;
}

.maps-social-magnifier.is-returning {
	pointer-events: none;
}

.maps-social-magnifier__view {
	position: absolute;
	inset: 3.7% 19.8% 19.5% 3.2%;
	overflow: hidden;
	border-radius: 50%;
	background: var(--maps-bg, #151515);
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease;
}

.maps-social-magnifier.is-active .maps-social-magnifier__view {
	opacity: 1;
}

.maps-social-magnifier__copy {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	min-height: 100vh;
	transform-origin: 0 0;
	pointer-events: none;
}

.maps-social-magnifier__copy * {
	pointer-events: none;
}

.maps-social-magnifier__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}


@media (min-width: 750px) {
	.maps-social-magnifier {
		--lens-size: 94px;
		display: block;
		top: calc(8vw + 18px);
		right: 28px;
	}

	.maps-social-magnifier.is-active {
		--lens-size: min(456px, 48vw);
	}
}
