/* ==========================================================================
   Учебен свят - страницата за учебната занималня (subject-zan.php)
   One idea through the page: the six areas of the study room are the six faces of one cube.
   Hero: a 3D puzzle cube (zan-3d.js). Under the clouds: the same cube unfolds into its net while
   you scroll, two towers of subject blocks, the activities on a horizontal track, three steps
   5. -> 6. -> 7. клас, where and when. The voucher, the sheet, the FAQ chat and the launch come
   from sections.css. Calm and professional: no handwritten notes.
   ========================================================================== */

@property --f {
	syntax: "<number>";
	inherits: true;
	initial-value: 0;
}

/* hero ------------------------------------------------------------------------ */
.zan-hero {
	--accent: #5fd3ff;
	background:
		radial-gradient(620px 470px at 74% 46%, rgba(255, 255, 255, .12) 0%, rgba(190, 236, 255, .08) 34%, rgba(190, 236, 255, 0) 64%),
		radial-gradient(520px 300px at 30% 8%, rgba(235, 240, 255, .08) 0%, rgba(235, 240, 255, 0) 70%),
		radial-gradient(1100px 760px at 74% 48%, #2f3fa6 0%, rgba(47, 63, 166, 0) 64%),
		radial-gradient(900px 700px at 0% 100%, #4d2c92 0%, rgba(77, 44, 146, 0) 62%),
		radial-gradient(1000px 640px at 8% 0%, #1b4fa0 0%, rgba(27, 79, 160, 0) 62%),
		linear-gradient(180deg, #111f63 0%, #1a1b6a 50%, #2a1c7a 100%);
}

.zan-hero .usv-hero__aurora--a {
	background: color-mix(in srgb, var(--accent) 34%, #25307a);
}

.zan-hero__canvas {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: grab;
	touch-action: pan-y;
	transition: opacity 1.4s var(--ease-out);
}

.zan-hero.is-gl .zan-hero__canvas {
	opacity: 1;
}

.zan-hero.is-grab .zan-hero__canvas {
	cursor: grabbing;
}

.zan-hero.is-nogl .zan-hero__canvas {
	display: none;
}

.zan-hero__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	padding-bottom: 168px; /* the copy stays above the clouds */
}

.zan-hero .usv-hero__copy {
	margin-bottom: 40px;
}

.zan-hero__stage {
	position: relative;
	justify-self: stretch;
	height: min(calc(100svh - 250px), 620px);
	min-height: 460px;
	pointer-events: none;
}

/* without WebGL: a drawn cube that floats */
.zan-hero__fallback {
	display: none;
	position: absolute;
	left: 50%;
	top: 44%;
	width: min(64%, 340px);
	translate: -50% -50%;
	overflow: visible;
}

.zan-hero__fb-body {
	fill: #141a4f;
	stroke: rgba(255, 255, 255, .16);
	stroke-width: 1.5;
	stroke-linejoin: round;
}

.zan-hero__fb-st polygon {
	stroke-width: 5;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 5px rgba(255, 255, 255, .25));
}

.zan-hero.is-nogl .zan-hero__fallback {
	display: block;
	animation: zan-float 6s ease-in-out infinite alternate;
}

@keyframes zan-float {
	from { transform: translateY(-8px) rotate(-2deg); }
	to { transform: translateY(8px) rotate(2deg); }
}

/* the caption: the name of the face in front, the six colours, a pause button */
.zan-hero__cap {
	--cc: #5fd3ff;
	position: absolute;
	left: 50%;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: calc(100% - 16px);
	padding: 12px 14px 12px 22px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 22px;
	background: rgba(22, 18, 80, .58);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(8, 6, 40, .3);
	translate: -50% 0;
	pointer-events: auto;
}

.zan-hero__lbl {
	margin: 0 0 4px;
	color: rgba(255, 255, 255, .55);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	white-space: nowrap;
}

.zan-hero__now {
	display: flex;
	align-items: baseline;
	gap: 10px;
	min-width: 268px;
	margin: 0;
	color: #fff;
	font: 700 17px/1.2 var(--font-display);
	white-space: nowrap;
	transition: opacity .3s, translate .45s var(--ease-out);
}

.zan-hero__now b {
	color: var(--cc);
	font-weight: 800;
	text-shadow: 0 0 16px color-mix(in srgb, var(--cc) 70%, transparent);
	transition: color .4s;
}

.zan-hero__cap.is-swap .zan-hero__now {
	opacity: 0;
	translate: 0 6px;
}

.zan-hero__dots {
	display: grid;
	grid-template-columns: repeat(3, 12px);
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zan-hero__dots li {
	width: 12px;
	height: 12px;
	border-radius: 4px;
	background: var(--c);
	opacity: .35;
	transition: opacity .35s, scale .45s var(--ease-spring), box-shadow .35s;
}

.zan-hero__dots li.is-on {
	opacity: 1;
	scale: 1.15;
	box-shadow: 0 0 12px var(--c);
}

.zan-hero__pause {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
	transition: background .25s, border-color .25s;
}

.zan-hero__pause[hidden] {
	display: none;
}

.zan-hero__pause:hover {
	border-color: var(--accent);
	background: rgba(255, 255, 255, .14);
}

.zan-hero__pause svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.zan-hero__ic-play {
	display: none;
	fill: currentColor;
	stroke-width: 1.4;
}

.zan-hero__pause[aria-pressed="true"] .zan-hero__ic-pause {
	display: none;
}

.zan-hero__pause[aria-pressed="true"] .zan-hero__ic-play {
	display: block;
}

/* light sections: shared bits --------------------------------------------------- */
.zan-net-sec,
.zan-blocks-sec,
.zan-act-sec,
.zan-grades-sec,
.zan-where-sec {
	overflow-x: clip;
}

/* 1. the net of the cube ----------------------------------------------------------- */
.zan-net-sec {
	padding-top: clamp(40px, 5vw, 70px);
	background:
		radial-gradient(560px 400px at 96% 30%, rgba(95, 211, 255, .2), transparent 70%),
		radial-gradient(560px 380px at 0% 80%, rgba(185, 140, 255, .14), transparent 70%),
		var(--paper);
}

.zan-net {
	position: relative;
	container-type: inline-size;
}

/* wide screens: a 4 x 3 grid, one cell = one face of the cube */
@media (min-width: 1100px) {
	.zan-net {
		--s: 25cqw;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: minmax(var(--s), auto) var(--s) var(--s);
	}

	.zan-net__head {
		position: relative;
		z-index: 2;
		grid-column: 3 / 5;
		grid-row: 1;
		align-self: end;
		padding: 0 0 26px 30px;
	}

	.zan-net__head .usv-h2 {
		margin-bottom: 16px;
		font-size: clamp(30px, 3.1vw, 46px);
	}

	.zan-net__head .usv-lead {
		font-size: 17px;
	}

	.zan-net__stage {
		position: relative;
		z-index: 1;
		grid-column: 1 / -1;
		grid-row: 1 / -1;
		perspective: 1900px;
		perspective-origin: 37% 62%;
		pointer-events: none;
	}

	.zan-net__cube {
		position: absolute;
		left: 0;
		bottom: 0;
		width: calc(var(--s) * 4);
		height: calc(var(--s) * 3);
		margin: 0;
		padding: 0;
		list-style: none;
		transform-style: preserve-3d;
		transform-origin: calc(var(--s) * 1.5) calc(var(--s) * 1.5) calc(var(--s) * -.5);
		transform: rotateX(calc(var(--f) * -18deg)) rotateY(calc(var(--f) * -26deg)) scale(calc(1 - var(--f) * .24));
	}

	.zan-face {
		--a: calc(var(--f) * 90deg);
		position: absolute;
		left: 0;
		top: 0;
		width: var(--s);
		height: var(--s);
		padding: 7px;
		transform-origin: 0 0;
		pointer-events: auto;
	}

	.zan-face--front { transform: translate(var(--s), var(--s)); }
	.zan-face--top { transform: translate(var(--s), var(--s)) rotateX(var(--a)) translateY(calc(var(--s) * -1)); }
	.zan-face--bottom { transform: translate(var(--s), calc(var(--s) * 2)) rotateX(calc(var(--a) * -1)); }
	.zan-face--left { transform: translate(var(--s), var(--s)) rotateY(calc(var(--a) * -1)) translateX(calc(var(--s) * -1)); }
	.zan-face--right { transform: translate(calc(var(--s) * 2), var(--s)) rotateY(var(--a)); }
	.zan-face--back { transform: translate(calc(var(--s) * 2), var(--s)) rotateY(var(--a)) translateX(var(--s)) rotateY(var(--a)); }

	.zan-face__in {
		height: 100%;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}

	/* while it is folded the faces are coloured tiles, like the cube of the hero; the text comes in as it opens */
	.zan-face__title,
	.zan-face__pts {
		opacity: calc(1 - var(--f) * 2.2);
	}

	.zan-face__in::before {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: inherit;
		background: linear-gradient(140deg, color-mix(in srgb, var(--c) 55%, #fff), var(--c));
		opacity: calc(var(--f) * 1.4 - .25);
		pointer-events: none;
	}

	.zan-face__in > * {
		position: relative;
	}

	/* 11.11 Нели: the card bumped into the faces above it on big screens. It sits at the bottom of its row
	   now, a little more to the side, always clear of the faces 03 and 04. */
	.zan-net__cta {
		position: relative;
		z-index: 2;
		grid-column: 3 / 5;
		grid-row: 3;
		align-self: end;
		margin: 36px 0 18px 48px;
	}

	.zan-net__deco {
		position: relative;
		z-index: 0;
		display: grid;
		place-items: center;
		pointer-events: none;
	}

	.zan-net__deco--a { grid-column: 1; grid-row: 1; align-self: center; }
	.zan-net__deco--b { grid-column: 1; grid-row: 3; align-self: end; padding-bottom: 18px; }

	.zan-net__deco .usv-3d {
		width: min(120px, 60%);
		height: auto;
		filter: drop-shadow(0 22px 20px rgba(40, 60, 140, .2));
		opacity: calc(1 - var(--f));
		translate: 0 calc(var(--f) * 40px);
		animation: usv-bob 6s ease-in-out infinite;
	}

	.zan-net__deco--b .usv-3d {
		animation-delay: -2.4s;
	}
}

.zan-face__in {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: clamp(18px, 1.8vw, 26px);
	border: 1.5px solid color-mix(in srgb, var(--c) 42%, #fff);
	border-radius: 24px;
	background:
		radial-gradient(160px 120px at 100% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%),
		linear-gradient(160deg, #fff 40%, color-mix(in srgb, var(--c) 12%, #fff));
	box-shadow: 0 30px 50px -34px color-mix(in srgb, var(--c) 80%, #1d1245), 0 2px 6px rgba(29, 18, 69, .05), inset 0 1px 0 #fff;
	transition: translate .5s var(--ease-spring), box-shadow .5s;
}

/* the colour of the face as a sticker in the corner */
.zan-face__in::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 16px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--c) 60%, #fff), var(--c));
	box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--c) 90%, #000), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.zan-face:hover .zan-face__in {
	translate: 0 -5px;
	box-shadow: 0 40px 60px -34px color-mix(in srgb, var(--c) 90%, #1d1245), 0 2px 6px rgba(29, 18, 69, .05), inset 0 1px 0 #fff;
}

.zan-face__no {
	margin-bottom: 10px;
	color: color-mix(in srgb, var(--c) 70%, #1d1245);
	font: 800 clamp(28px, 2.6vw, 40px)/1 var(--font-display);
	letter-spacing: -.01em;
}

.zan-face__title {
	margin: 0 0 12px;
	padding-right: 30px;
	color: var(--ink);
	font: 800 clamp(17px, 1.45vw, 20px)/1.2 var(--font-display);
	text-wrap: balance;
}

.zan-face__pts {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zan-face__pts li {
	position: relative;
	padding-left: 16px;
	color: var(--ink-2);
	font-size: clamp(13.5px, 1.05vw, 15px);
	line-height: 1.42;
}

.zan-face__pts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--c);
}

.zan-net__cta {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 24px 26px;
	border: 1px solid #e3ecfb;
	border-radius: 26px;
	background: linear-gradient(150deg, #f2fbff, #f7f3ff);
	box-shadow: 0 30px 50px -36px rgba(40, 80, 160, .45);
}

.zan-net__cta-img {
	flex: none;
	width: 58px;
	height: auto;
	filter: drop-shadow(0 10px 12px rgba(200, 140, 0, .25));
}

.zan-net__cta h3 {
	margin: 0 0 6px;
	color: var(--ink);
	font: 800 19px/1.25 var(--font-display);
}

.zan-net__cta p {
	margin: 0 0 14px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.55;
}

/* narrow screens: the faces are cards that fold down into place */
@media (max-width: 1099px) {
	.zan-net__head {
		max-width: 760px;
		margin-bottom: 34px;
	}

	.zan-net__cube {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		margin: 0;
		padding: 0;
		list-style: none;
		perspective: 1200px;
	}

	.zan-face__in {
		min-height: 100%;
	}

	.usv-js .zan-face {
		opacity: 0;
		transform: rotateX(-62deg);
		transform-origin: 50% 0;
		transition: opacity .6s, transform .9s var(--ease-spring);
		transition-delay: calc(var(--k) % 2 * 110ms);
	}

	.usv-js .zan-face.is-shown {
		opacity: 1;
		transform: none;
	}

	@media (prefers-reduced-motion: reduce) {
		.usv-js .zan-face {
			opacity: 1;
			transform: none;
			transition: none;
		}
	}

	.zan-net__cta {
		margin-top: 22px;
	}

	.zan-net__deco {
		display: none;
	}
}

/* 2. the block principle: two towers -------------------------------------------- */
.zan-blocks-sec {
	background:
		radial-gradient(600px 420px at 12% 60%, rgba(255, 126, 182, .12), transparent 70%),
		radial-gradient(600px 420px at 90% 60%, rgba(95, 211, 255, .16), transparent 70%),
		linear-gradient(180deg, var(--paper), #f8f9ff 40%, var(--paper));
}

.zan-blocks {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: end;
}

.zan-tower {
	margin: 0;
}

.zan-tower__stack {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	min-height: 440px;
	padding: 0 14px 0 4px;
}

.zan-tower__icon {
	position: relative;
	z-index: 2;
	margin-bottom: -6px;
}

.zan-tower__icon .usv-3d {
	width: 104px;
	height: auto;
	filter: drop-shadow(0 16px 14px rgba(40, 30, 110, .25));
}

.zan-brick {
	--w: 90%;
	--r: 0deg;
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: var(--w);
	height: 64px;
	margin-top: 12px; /* room for the top face */
	padding: 0 12px;
	border-radius: 8px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, #fff), color-mix(in srgb, var(--c) 78%, #fff));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 color-mix(in srgb, var(--c) 70%, #2a1a6e), 0 12px 20px -14px rgba(29, 18, 69, .45);
	color: color-mix(in srgb, var(--c) 18%, #1d1245);
	font: 800 16px/1.15 var(--font-display);
	text-align: center;
	rotate: var(--r);
}

/* the top face and the side of the block */
.zan-brick::before,
.zan-brick::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.zan-brick::before {
	left: 0;
	right: 0;
	bottom: 100%;
	height: 12px;
	border-radius: 6px 6px 0 0;
	background: color-mix(in srgb, var(--c) 30%, #fff);
	transform: skewX(-45deg);
	transform-origin: 0 100%;
}

.zan-brick::after {
	left: 100%;
	top: 0;
	width: 12px;
	height: 100%;
	border-radius: 0 6px 6px 0;
	background: color-mix(in srgb, var(--c) 85%, #2a1a6e);
	transform: skewY(-45deg);
	transform-origin: 0 0;
}

.zan-brick:nth-of-type(2) { --w: 78%; --r: 1.2deg; }
.zan-brick:nth-of-type(3) { --w: 86%; --r: -1deg; }
.zan-brick:nth-of-type(4) { --w: 82%; --r: .8deg; }
.zan-brick:nth-of-type(5) { --w: 94%; --r: 0deg; }

.zan-tower__base {
	width: 100%;
	height: 22px;
	margin-top: 4px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(29, 18, 69, .2), rgba(29, 18, 69, 0));
}

.usv-js .zan-tower .zan-brick,
.usv-js .zan-tower .zan-tower__icon {
	opacity: 0;
}

.zan-tower.is-in .zan-brick {
	animation: zan-drop 1s var(--ease-out) both;
	animation-delay: calc(var(--d, 0ms) + 260ms + var(--k) * 170ms);
}

.zan-tower.is-in .zan-tower__icon {
	animation: zan-drop 1s var(--ease-out) both;
	animation-delay: calc(var(--d, 0ms) + 1000ms);
}

@keyframes zan-drop {
	0% { opacity: 0; transform: translateY(-260px) rotate(calc(var(--r, 0deg) * 6)); }
	22% { opacity: 1; }
	55% { transform: translateY(0) scale(1.05, .88); }
	72% { transform: translateY(-12px) scale(.98, 1.03); }
	88% { transform: translateY(0) scale(1.01, .99); }
	100% { opacity: 1; transform: none; }
}

.zan-tower__cap {
	margin-top: 18px;
	text-align: center;
}

.zan-tower__cap h3 {
	margin: 0 0 6px;
	color: var(--ink);
	font: 800 21px/1.2 var(--font-display);
	-webkit-hyphens: manual;
	hyphens: manual;
}

.zan-tower__cap p {
	margin: 0;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.5;
}

.zan-blocks__mid {
	align-self: center;
	padding: 32px 30px;
	border: 1px solid #e9e6fb;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 40px 70px -46px rgba(70, 40, 160, .45), 0 2px 6px rgba(29, 18, 69, .04);
}

.zan-blocks__big {
	margin: 0 0 22px;
	color: var(--ink);
	font: 700 clamp(19px, 1.6vw, 23px)/1.4 var(--font-display);
	text-wrap: pretty;
}

.zan-blocks__pts {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zan-blocks__pts li {
	display: flex;
	gap: 10px;
	color: var(--ink);
	font-size: 15.5px;
	line-height: 1.45;
}

.zan-blocks__pts i {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: #e6f7ff;
	color: #1b9fd4;
}

.zan-blocks__pts .usv-ic {
	width: 14px;
	height: 14px;
	stroke-width: 2.4;
}

/* 3. the activities ------------------------------------------------------------------- */
.zan-act-sec {
	padding: clamp(50px, 6vw, 90px) 0;
	background:
		radial-gradient(700px 460px at 80% 30%, rgba(255, 200, 69, .12), transparent 70%),
		radial-gradient(620px 420px at 10% 80%, rgba(95, 211, 255, .12), transparent 70%),
		var(--paper);
}

.zan-act__head {
	margin-bottom: clamp(28px, 3.5vw, 44px);
}

.zan-act__track {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	list-style: none;
}

.zan-act__card {
	--c: #ff7eb6;
	display: grid;
	grid-template-rows: minmax(210px, 1fr) auto;
	overflow: hidden;
	border: 1px solid #ece8fb;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 40px 70px -48px rgba(70, 40, 160, .5), 0 2px 6px rgba(29, 18, 69, .04);
}

.zan-act__card--stage { --c: #b98cff; }
.zan-act__card--logic { --c: #ffc845; }
.zan-act__card--study { --c: #5fd3ff; }

.zan-act__art {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		radial-gradient(260px 180px at 50% 110%, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%),
		linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #fff), color-mix(in srgb, var(--c) 30%, #fff));
}

.zan-act__body {
	padding: 24px 28px 28px;
}

.zan-act__no {
	margin: 0 0 8px;
	color: color-mix(in srgb, var(--c) 60%, #1d1245);
	font: 800 13px/1 var(--font-display);
	letter-spacing: .14em;
}

.zan-act__title {
	margin: 0 0 12px;
	color: var(--ink);
	font: 800 clamp(20px, 1.7vw, 24px)/1.2 var(--font-display);
}

.zan-act__pts {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zan-act__pts li {
	position: relative;
	padding-left: 18px;
	color: var(--ink-2);
	font-size: 15.5px;
	line-height: 1.45;
}

.zan-act__pts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .52em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c);
}

.zan-act__foot {
	display: none;
}

/* wide screens: the cards are a row that moves to the side while you scroll (zan.js adds .is-pinned) */
.zan-act.is-pinned .zan-act__pin {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100vh;
	height: 100svh;
	padding-top: 56px;
	overflow: hidden;
}

.zan-act.is-pinned .zan-act__pin > .usv-wrap {
	width: 100%;
}

.zan-act.is-pinned .zan-act__view {
	overflow: visible;
}

.zan-act.is-pinned .zan-act__track {
	display: flex;
	gap: 28px;
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px));
	will-change: transform;
}

.zan-act.is-pinned .zan-act__card {
	flex: none;
	width: clamp(440px, 38vw, 560px);
	height: clamp(400px, calc(100svh - 330px), 500px);
	grid-template-rows: minmax(0, 1fr) auto;
	transition: scale .6s var(--ease-out), opacity .6s;
}

.zan-act.is-pinned .zan-act__card:not(.is-on) {
	scale: .96;
	opacity: .72;
}

.zan-act.is-pinned .zan-act__foot {
	display: block;
	margin-top: 26px;
}

.zan-act__bar {
	display: block;
	overflow: hidden;
	width: min(320px, 50%);
	height: 6px;
	border-radius: 3px;
	background: #ece8fb;
}

.zan-act__bar i {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: linear-gradient(90deg, #ff7eb6, #b98cff, #ffc845, #5fd3ff);
	transform-origin: 0 50%;
	transform: scaleX(var(--p, 0));
}

/* art: paint strokes and a palette */
.zan-paint {
	width: min(86%, 380px);
	height: auto;
	overflow: visible;
}

.zan-paint__s {
	fill: none;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.4s var(--ease-out);
}

.zan-paint__s--a { stroke: #ff7eb6; stroke-width: 22; }
.zan-paint__s--b { stroke: #5fd3ff; stroke-width: 16; transition-delay: .35s; }
.zan-paint__s--c { stroke: #ffc845; stroke-width: 12; transition-delay: .7s; }

.zan-paint__dots circle {
	fill: #b98cff;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
	scale: .2;
	transition: opacity .4s, scale .6s var(--ease-spring);
	transition-delay: 1s;
}

.zan-paint__dots circle:nth-child(2) { fill: #3fd99a; transition-delay: 1.1s; }
.zan-paint__dots circle:nth-child(3) { fill: #ff8a4c; transition-delay: 1.2s; }
.zan-paint__dots circle:nth-child(4) { fill: #6f9bff; transition-delay: 1.3s; }

.is-on .zan-paint__s {
	stroke-dashoffset: 0;
}

.is-on .zan-paint__dots circle {
	opacity: 1;
	scale: 1;
}

.zan-palette {
	position: absolute;
	right: 22px;
	bottom: 18px;
	display: flex;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .8);
	box-shadow: 0 10px 20px -12px rgba(29, 18, 69, .4);
}

.zan-palette i {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #ff7eb6;
}

.zan-palette i:nth-child(2) { background: #ffc845; }
.zan-palette i:nth-child(3) { background: #3fd99a; }
.zan-palette i:nth-child(4) { background: #5fd3ff; }
.zan-palette i:nth-child(5) { background: #b98cff; }

.is-on .zan-palette i {
	animation: zan-dip 2.8s ease-in-out infinite;
	animation-delay: calc(var(--i, 0) * .2s);
}

.zan-palette i:nth-child(2) { --i: 1; }
.zan-palette i:nth-child(3) { --i: 2; }
.zan-palette i:nth-child(4) { --i: 3; }
.zan-palette i:nth-child(5) { --i: 4; }

@keyframes zan-dip {
	0%, 70%, 100% { translate: 0 0; }
	80% { translate: 0 -6px; }
}

/* communication: a small stage, the curtains open, two speech bubbles */
.zan-stage {
	position: relative;
	width: min(80%, 340px);
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 18px 18px 8px 8px;
	background: linear-gradient(180deg, #2a1d70, #3b2794);
	box-shadow: 0 20px 34px -20px rgba(40, 20, 120, .6);
}

.zan-stage__top {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 16%;
	background: repeating-radial-gradient(circle at 50% -40%, #e0448a 0 14px, #c2306f 14px 22px);
	box-shadow: 0 6px 10px rgba(0, 0, 0, .25);
}

.zan-stage__cur {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 52%;
	background: repeating-linear-gradient(90deg, #e0448a 0 12px, #b82a66 12px 18px, #e0448a 18px 26px);
	transition: transform 1.3s var(--ease-out);
}

.zan-stage__cur--l {
	left: 0;
	transform-origin: 0 0;
}

.zan-stage__cur--r {
	right: 0;
	transform-origin: 100% 0;
}

.is-on .zan-stage__cur {
	transform: scaleX(.16);
}

.zan-stage__light {
	position: absolute;
	left: 50%;
	top: 0;
	width: 70%;
	height: 100%;
	background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(255, 240, 190, .5) 20deg, transparent 40deg);
	opacity: 0;
	translate: -50% 0;
	transition: opacity .8s .6s;
}

.is-on .zan-stage__light {
	opacity: 1;
	animation: zan-sweep 5s ease-in-out infinite alternate;
}

@keyframes zan-sweep {
	from { rotate: -10deg; }
	to { rotate: 10deg; }
}

.zan-stage__floor {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 18%;
	background: linear-gradient(180deg, #7a4a2a, #5c341c);
}

.zan-stage__bub {
	position: absolute;
	top: 30%;
	display: flex;
	gap: 4px;
	padding: 9px 12px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .4);
	opacity: 0;
	scale: .4;
}

.zan-stage__bub::after {
	content: "";
	position: absolute;
	bottom: -6px;
	width: 12px;
	height: 12px;
	background: #fff;
	rotate: 45deg;
}

.zan-stage__bub--a { left: 24%; transform-origin: 0 100%; }
.zan-stage__bub--a::after { left: 14px; }
.zan-stage__bub--b { right: 24%; top: 44%; transform-origin: 100% 100%; background: #ffe9a8; }
.zan-stage__bub--b::after { right: 14px; background: #ffe9a8; }

.zan-stage__bub i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #b98cff;
}

.zan-stage__bub--b i { background: #ff8a4c; }

.is-on .zan-stage__bub--a { animation: zan-say 4s var(--ease-spring) 1s infinite; }
.is-on .zan-stage__bub--b { animation: zan-say 4s var(--ease-spring) 3s infinite; }

@keyframes zan-say {
	0% { opacity: 0; scale: .4; }
	8%, 40% { opacity: 1; scale: 1; }
	50%, 100% { opacity: 0; scale: .8; }
}

/* logic: a crossword fills in */
.zan-cross {
	--q: clamp(30px, 3vw, 40px);
	position: relative;
	width: calc(var(--q) * 6);
	height: calc(var(--q) * 5);
}

.zan-cross__c {
	position: absolute;
	left: calc(var(--c) * var(--q));
	top: calc(var(--r) * var(--q));
	display: grid;
	place-items: center;
	width: calc(var(--q) - 3px);
	height: calc(var(--q) - 3px);
	border: 2px solid #1d1245;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 4px 0 rgba(29, 18, 69, .15);
}

.zan-cross__c small {
	position: absolute;
	left: 3px;
	top: 1px;
	color: var(--ink-2);
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
}

.zan-cross__c b {
	color: #1d1245;
	font: 800 calc(var(--q) * .5)/1 var(--font-display);
	opacity: 0;
	scale: .3;
	transition: opacity .3s, scale .45s var(--ease-spring);
	transition-delay: calc(var(--n) * 110ms + 200ms);
}

.is-on .zan-cross__c b {
	opacity: 1;
	scale: 1;
}

.is-on .zan-cross__c {
	animation: zan-cell .5s ease both;
	animation-delay: calc(var(--n) * 110ms + 200ms);
}

@keyframes zan-cell {
	50% { background: #ffe9a8; }
}

/* self-study: a plan whose rows are ticked off */
.zan-plan {
	position: relative;
	display: grid;
	gap: 12px;
	width: min(78%, 320px);
	padding: 22px 22px 22px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 34px -22px rgba(29, 70, 140, .5);
}

.zan-plan__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.zan-plan__box {
	display: grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 2px solid #b9e6fb;
	border-radius: 8px;
	transition: background .3s, border-color .3s;
	transition-delay: calc(var(--j) * .5s + .4s);
}

.zan-plan__box svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: #fff;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 24;
	stroke-dashoffset: 24;
	transition: stroke-dashoffset .4s var(--ease-out);
	transition-delay: calc(var(--j) * .5s + .5s);
}

.zan-plan__line {
	flex: 1;
	height: 10px;
	border-radius: 5px;
	background: linear-gradient(90deg, #dff4fe 0 100%) no-repeat 0 0 / 100% 100%, #f1f4fb;
}

.zan-plan__row:nth-child(3) .zan-plan__line { margin-right: 18%; }
.zan-plan__row:nth-child(4) .zan-plan__line { margin-right: 34%; }

.is-on .zan-plan__box {
	border-color: #22aee6;
	background: #22aee6;
}

.is-on .zan-plan__box svg {
	stroke-dashoffset: 0;
}

.zan-plan__ring {
	position: absolute;
	right: -18px;
	top: -18px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 20px -10px rgba(29, 70, 140, .5);
}

.zan-plan__ring svg {
	position: absolute;
	inset: 6px;
	rotate: -90deg;
}

.zan-plan__ring circle {
	fill: none;
	stroke: #e6f3fb;
	stroke-width: 4;
}

.zan-plan__ring .zan-plan__arc {
	stroke: #22aee6;
	stroke-linecap: round;
	stroke-dasharray: 113.1;
	stroke-dashoffset: 113.1;
	transition: stroke-dashoffset 1.8s var(--ease-out) .5s;
}

.is-on .zan-plan__ring .zan-plan__arc {
	stroke-dashoffset: 0;
}

.zan-plan__ring b {
	color: #1d1245;
	font: 800 12px/1 var(--font-display);
}

/* 4. from 5th to 7th grade -------------------------------------------------------- */
.zan-grades-sec {
	background:
		radial-gradient(600px 420px at 18% 60%, rgba(185, 140, 255, .14), transparent 70%),
		radial-gradient(560px 380px at 92% 30%, rgba(255, 138, 76, .1), transparent 70%),
		linear-gradient(180deg, var(--paper), #faf8ff 40%, var(--paper));
}

.zan-grades {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
}

.zan-stairs {
	position: relative;
	padding: 120px 0 0;
}

.zan-stairs__row {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: clamp(10px, 1.6vw, 20px);
}

.zan-stairs__row::after {
	content: "";
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: 34px;
	z-index: -1;
	height: 26px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(29, 18, 69, .16), rgba(29, 18, 69, 0));
}

.zan-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: clamp(110px, 11vw, 150px);
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink-2);
	cursor: pointer;
}

.zan-step:focus-visible {
	outline: 3px solid rgba(69, 69, 218, .4);
	outline-offset: 6px;
	border-radius: 16px;
}

.zan-step__col {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	gap: 6px;
	width: 100%;
	transition: translate .5s var(--ease-spring);
}

.zan-step__col i {
	position: relative;
	display: block;
	height: clamp(56px, 5.4vw, 72px);
	border-radius: 14px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px calc(33.33% - 1px), rgba(255, 255, 255, .5) calc(33.33% - 1px) calc(33.33% + 1px), transparent calc(33.33% + 1px) calc(66.66% - 1px), rgba(255, 255, 255, .5) calc(66.66% - 1px) calc(66.66% + 1px), transparent 0),
		linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, #fff), color-mix(in srgb, var(--c) 52%, #fff));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -4px 0 color-mix(in srgb, var(--c) 45%, #fff), 0 10px 18px -12px rgba(29, 18, 69, .4);
	filter: saturate(.8) brightness(1.03);
	transition: filter .4s, box-shadow .4s;
}

.zan-step:hover .zan-step__col {
	translate: 0 -4px;
}

.zan-step.is-on .zan-step__col {
	translate: 0 -8px;
}

.zan-step.is-on .zan-step__col i {
	filter: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -4px 0 color-mix(in srgb, var(--c) 70%, #2a1a6e), 0 18px 30px -14px color-mix(in srgb, var(--c) 90%, #1d1245);
}

.zan-step__flag {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 4px);
	padding: 5px 12px 5px 10px;
	border-radius: 4px 12px 12px 4px;
	background: #ff8a4c;
	color: #fff;
	font: 800 12px/1 var(--font-display);
	letter-spacing: .08em;
	translate: 22px 0;
	box-shadow: 0 8px 16px -8px rgba(240, 100, 30, .8);
}

.zan-step__flag::before {
	content: "";
	position: absolute;
	right: 100%;
	top: 0;
	width: 3px;
	height: 46px;
	border-radius: 2px;
	background: #514a72;
}

.zan-step__lbl {
	font-size: 15px;
	font-weight: 700;
	transition: color .25s;
}

.zan-step__lbl b {
	font: 800 22px/1 var(--font-display);
	color: var(--ink);
}

.zan-step.is-on .zan-step__lbl {
	color: var(--ink);
}

/* the graduation cap hops onto the chosen step (zan.js sets --zx and --zy) */
.zan-stairs__hop {
	position: absolute;
	left: var(--zx, 50%);
	top: var(--zy, 0px);
	z-index: 2;
	width: 76px;
	pointer-events: none;
	translate: -50% -100%;
	transition: left .7s var(--ease-out), top .7s var(--ease-out);
}

.zan-stairs__hop .usv-3d {
	width: 76px;
	height: auto;
	filter: drop-shadow(0 12px 10px rgba(29, 18, 69, .3));
}

.zan-stairs__hop.is-hop .usv-3d {
	animation: zan-hop .7s var(--ease-out);
}

@keyframes zan-hop {
	0% { transform: translateY(0) rotate(0); }
	40% { transform: translateY(-46px) rotate(-12deg); }
	75% { transform: translateY(4px) rotate(4deg) scale(1.05, .94); }
	100% { transform: none; }
}

.zan-grades__out {
	display: grid;
}

.zan-gpanel {
	grid-area: 1 / 1;
	padding: clamp(26px, 3vw, 40px);
	border: 1px solid #ece8fb;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 40px 70px -46px rgba(70, 40, 160, .45), 0 2px 6px rgba(29, 18, 69, .04);
}

.zan-gpanel.is-on {
	animation: zan-fade .55s var(--ease-out);
}

@keyframes zan-fade {
	from { opacity: 0; translate: 0 10px; }
	to { opacity: 1; translate: 0 0; }
}

.zan-gpanel__no {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--c) 14%, #fff);
	color: var(--c);
	font: 800 13px/1 var(--font-display);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.zan-gpanel h3 {
	margin: 0 0 12px;
	color: var(--ink);
	font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--font-display);
}

.zan-gpanel__lead {
	margin: 0 0 20px;
	color: var(--ink-2);
	font-size: 17px;
	line-height: 1.6;
}

.zan-gpanel__pts {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zan-gpanel__pts li {
	display: flex;
	gap: 10px;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.45;
}

.zan-gpanel.is-on .zan-gpanel__pts li {
	animation: zan-fade .5s var(--ease-out) both;
	animation-delay: calc(var(--j) * 90ms + 120ms);
}

.zan-gpanel__pts i {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--c) 14%, #fff);
	color: var(--c);
}

.zan-gpanel__pts .usv-ic {
	width: 14px;
	height: 14px;
	stroke-width: 2.4;
}

.zan-gpanel__note {
	display: flex;
	gap: 10px;
	margin: 22px 0 0;
	padding: 13px 16px;
	border-radius: 16px;
	background: #fff6ee;
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.5;
}

.zan-gpanel__note .usv-ic {
	flex: none;
	width: 20px;
	height: 20px;
	color: #f2701f;
}

.zan-monthly {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 900px;
	margin: clamp(36px, 4vw, 56px) auto 0;
	padding: 18px 26px 18px 18px;
	border: 1px solid #dff0fa;
	border-radius: 24px;
	background: linear-gradient(90deg, #eef9ff, #f6f2ff);
	color: var(--ink-2);
	font-size: 16px;
	line-height: 1.55;
}

.zan-monthly__ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 20px -12px rgba(29, 70, 140, .45);
}

.zan-monthly__ic .usv-3d {
	width: 46px;
	height: auto;
}

.zan-monthly b {
	display: block;
	margin-bottom: 2px;
	color: var(--ink);
	font: 800 15px/1.3 var(--font-display);
}

/* 5. where and when --------------------------------------------------------------- */
.zan-where-sec {
	background:
		radial-gradient(620px 420px at 10% 50%, rgba(95, 211, 255, .14), transparent 70%),
		var(--paper);
}

.zan-where {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
}

.zan-where__map {
	position: relative;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	border-radius: 34px;
	background: linear-gradient(160deg, #eaf7ff, #f1edff);
	box-shadow: 0 50px 80px -50px rgba(40, 70, 160, .5), inset 0 0 0 1px #e1eefb;
}

.zan-where__streets {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.zan-where__streets path {
	fill: none;
	stroke: #fff;
	stroke-width: 9;
	stroke-linecap: round;
}

.zan-where__streets .zan-where__main {
	stroke: #ffe39a;
	stroke-width: 14;
}

.zan-where__streets .zan-where__park {
	fill: #c9f0dc;
	stroke: none;
}

/* two schools on the map (11.11): each spot sets where its pin and tag are */
.zan-where__spot--0 { --x: 32%; --y: 36%; }
.zan-where__spot--1 { --x: 70%; --y: 60%; --pin: #f2649f; }

.zan-where__pin {
	position: absolute;
	left: var(--x, 50%);
	top: var(--y, 46%);
	display: grid;
	place-items: center;
	width: 0;
	height: 0;
}

.zan-where__pin i {
	position: absolute;
	width: 70px;
	height: 70px;
	margin: -35px;
	left: 0;
	top: 0;
	border: 2px solid var(--pin, #22aee6);
	border-radius: 50%;
	opacity: 0;
	animation: zan-ping 3s ease-out infinite;
}

.zan-where__pin i:nth-child(2) { animation-delay: 1s; }
.zan-where__pin i:nth-child(3) { animation-delay: 2s; }

@keyframes zan-ping {
	from { opacity: .9; scale: .5; }
	to { opacity: 0; scale: 2.6; }
}

.zan-where__pin b {
	position: absolute;
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	margin: -39px;
	left: 0;
	top: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 6px rgba(34, 174, 230, .25), 0 18px 30px -12px rgba(29, 70, 140, .55);
	animation: usv-bob 5s ease-in-out infinite;
}

.zan-where__pin .usv-3d {
	width: 50px;
	height: auto;
}

.zan-where__tag {
	position: absolute;
	left: var(--x, 50%);
	top: calc(var(--y, 46%) + 56px);
	padding: 8px 14px;
	border-radius: 999px;
	background: #1d1245;
	color: #fff;
	font: 700 14px/1.2 var(--font-display);
	white-space: nowrap;
	translate: -50% 0;
	box-shadow: 0 12px 24px -12px rgba(29, 18, 69, .7);
}

.zan-where__info .usv-h2 {
	margin-bottom: 16px;
}

.zan-shifts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.zan-shift {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #e6eefb;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 34px -28px rgba(40, 70, 160, .45);
}

.zan-shift__sky {
	flex: none;
	width: 62px;
	height: auto;
	overflow: visible;
}

.zan-shift__day {
	fill: none;
	stroke: #e6eefb;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-dasharray: 2 6;
}

.zan-shift__arc {
	fill: none;
	stroke: #ffc845;
	stroke-width: 5;
	stroke-linecap: round;
}

.zan-shift__sun {
	fill: #ffb21f;
	filter: drop-shadow(0 0 4px rgba(255, 178, 31, .8));
}

.zan-shift__txt {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.zan-shift__txt b {
	color: var(--ink);
	font: 800 18px/1.2 var(--font-display);
	white-space: nowrap;
}

.zan-shift__txt span {
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.35;
}

.zan-shift__txt small {
	color: var(--ink-2);
	font-size: 13.5px;
	line-height: 1.3;
}

.zan-where__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

/* the two schools under the title */
.zan-where__places {
	display: grid;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.zan-where__places li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 2px 14px;
	padding: 14px 18px;
	border: 1px solid #e3e9fb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 26px -22px rgba(29, 70, 140, .45);
}

.zan-where__places b {
	color: var(--ink);
	font: 700 17px/1.25 var(--font-display);
}

.zan-where__places span {
	grid-column: 1;
	color: var(--ink-2);
	font-size: 15px;
}

.zan-where__places a {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #eef6ff;
	color: #1f5fbf;
	font: 700 14px/1 var(--font-display);
	text-decoration: none;
	transition: background .2s, color .2s;
}

.zan-where__places a:hover,
.zan-where__places a:focus-visible {
	background: #1f5fbf;
	color: #fff;
}

.zan-where__places .usv-ic {
	width: 16px;
	height: 16px;
}

/* responsive ------------------------------------------------------------------ */
@media (min-width: 641px) and (max-width: 1279px) {
	.zan-hero .usv-facts {
		flex-wrap: nowrap;
	}

	.zan-hero .usv-facts > div {
		min-width: 0;
		padding: 12px 15px 13px;
	}
}

@media (max-width: 1279px) {
	.zan-hero__lbl {
		display: none;
	}

	.zan-hero__now {
		flex: none;
		min-width: 250px;
		font-size: 15.5px;
	}

	.zan-blocks__mid {
		padding: 26px 22px;
	}

	.zan-brick {
		font-size: 15px;
	}
}

@media (max-width: 1099px) {
	.zan-hero__inner {
		grid-template-columns: 1fr;
		padding-bottom: 150px;
	}

	.zan-hero__stage {
		order: -1;
		height: min(46svh, 420px);
		min-height: 320px;
		margin: 0 -22px;
	}

	.zan-hero .usv-hero__copy {
		margin-top: 0;
		margin-bottom: 0;
	}

	.zan-blocks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 22px;
	}

	.zan-blocks__mid {
		grid-column: 1 / -1;
		order: 3;
	}

	.zan-tower__stack {
		min-height: 400px;
	}

	.zan-grades,
	.zan-where {
		grid-template-columns: 1fr;
	}

	.zan-stairs {
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
	}
}

@media (max-width: 640px) {
	.zan-hero__stage {
		height: min(42svh, 330px);
		min-height: 290px;
		margin-bottom: 10px;
	}

	.zan-hero__cap {
		bottom: 6px;
		gap: 12px;
		padding: 9px 10px 9px 14px;
		border-radius: 18px;
	}

	.zan-hero__now {
		flex: 0 1 auto;
		min-width: 0;
		font-size: 14px;
	}

	.zan-hero__dots {
		grid-template-columns: repeat(3, 9px);
		gap: 3px;
	}

	.zan-hero__dots li {
		width: 9px;
		height: 9px;
		border-radius: 3px;
	}

	.zan-hero__pause {
		width: 34px;
		height: 34px;
	}

	.zan-net__cube {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.zan-face__in {
		padding: 20px 18px;
		border-radius: 22px;
	}

	.zan-face__no {
		font-size: 28px;
	}

	.zan-net__cta {
		flex-direction: column;
		gap: 12px;
		padding: 22px 20px;
	}

	.zan-tower__stack {
		min-height: 330px;
		padding: 0 10px 0 0;
	}

	.zan-tower__icon .usv-3d {
		width: 74px;
	}

	.zan-brick {
		height: 52px;
		margin-top: 9px;
		padding: 0 6px;
		border-radius: 7px;
		font-size: 12.5px;
	}

	.zan-brick::before {
		height: 9px;
	}

	.zan-brick::after {
		width: 9px;
	}

	.zan-tower__cap h3 {
		font-size: 17px;
	}

	.zan-tower__cap p {
		font-size: 13.5px;
	}

	.zan-act__track {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 0 16px;
	}

	.zan-act__card {
		grid-template-rows: 200px auto;
		border-radius: 26px;
	}

	.zan-act__body {
		padding: 20px 20px 22px;
	}

	.zan-stairs {
		padding-top: 100px;
	}

	.zan-step {
		width: min(100px, 28vw);
		gap: 10px;
	}

	.zan-step__col i {
		height: 46px;
		border-radius: 11px;
	}

	.zan-step__lbl b {
		font-size: 19px;
	}

	.zan-stairs__hop,
	.zan-stairs__hop .usv-3d {
		width: 60px;
	}

	.zan-gpanel {
		border-radius: 24px;
	}

	.zan-gpanel__lead {
		font-size: 16px;
	}

	.zan-monthly {
		align-items: flex-start;
		gap: 14px;
		padding: 16px;
		font-size: 15px;
	}

	.zan-monthly__ic {
		width: 52px;
		height: 52px;
		border-radius: 14px;
	}

	.zan-monthly__ic .usv-3d {
		width: 38px;
	}

	.zan-where__map {
		border-radius: 26px;
	}

	.zan-where__tag {
		font-size: 13px;
	}

	.zan-shifts {
		grid-template-columns: 1fr;
	}

	.zan-where__actions .usv-cta,
	.zan-where__actions .usv-ghost {
		flex: 1 1 auto;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zan-hero.is-nogl .zan-hero__fallback,
	.zan-net__deco .usv-3d,
	.zan-where__pin i,
	.zan-where__pin b,
	.is-on .zan-palette i,
	.is-on .zan-stage__light,
	.is-on .zan-stage__bub--a,
	.is-on .zan-stage__bub--b {
		animation: none;
	}

	.zan-where__pin i {
		display: none;
	}

	.is-on .zan-stage__bub--a,
	.is-on .zan-stage__bub--b {
		opacity: 1;
		scale: 1;
	}

	.usv-js .zan-tower .zan-brick,
	.usv-js .zan-tower .zan-tower__icon {
		opacity: 1;
		animation: none !important;
	}

	.zan-stairs__hop,
	.zan-act.is-pinned .zan-act__card,
	.zan-act__card *,
	.zan-act__card *::before,
	.zan-act__card *::after {
		transition: none !important;
	}

	.is-on .zan-cross__c,
	.zan-gpanel.is-on,
	.zan-gpanel.is-on .zan-gpanel__pts li {
		animation: none;
	}
}
