/**
 * VATax BD — experience layer.
 *
 * Loaded after app.css. Everything here is namespaced under .vx- or
 * [data-vx-*] so the existing theme styles, Elementor pages and the
 * WooCommerce/LearnDash surfaces are untouched.
 *
 * Palette is VATax's own (theme.json): atmosphere / canvas / ink /
 * indigo / lilac. No colour is imported from any reference site.
 *
 * @package VATax_BD
 */

:root {
	--vx-atmosphere: #8a91a5;
	--vx-canvas: #f5f4f8;
	--vx-ink: #17141f;
	--vx-ink-soft: #5c5668;
	--vx-muted: #8b8596;
	--vx-indigo: #2a2438;
	--vx-indigo-deep: #1a1624;
	--vx-indigo-mid: #c3bdd1;
	--vx-indigo-haze: #d8d4e0;
	--vx-lilac: #ece8f2;

	/* Brand accents, sampled from VATax's own logo mark rather than
	   invented: amber, the deep blue and the green of the wordmark.
	   Used sparingly — one accent doing a little work reads as
	   deliberate; several doing a lot reads as decoration. */
	--vx-accent: #fc9000;
	--vx-accent-soft: rgba(252, 144, 0, 0.16);
	--vx-brand-blue: #00309c;
	--vx-brand-green: #009c3c;

	/* Layout primitives — the equivalents of the reference's two classes. */
	--vx-pad: 1.75rem;
	--vx-pad-lg: 3.5rem;
	--vx-max: 90rem;

	--vx-r-pill: 999px;
	--vx-r-card: 22px;
	--vx-r-panel: 26px;

	/* Motion budget. */
	--vx-t-state: 300ms;
	--vx-t-move: 500ms;
	--vx-t-enter: 700ms;
	--vx-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
	--vx-ease-out: cubic-bezier(0, 0, 0.2, 1);

	/* Glass recipe. On a light ground the panels need a faint ink hairline
	   and a soft lift, or they disappear into the background. */
	--vx-glass: rgba(255, 255, 255, 0.62);
	--vx-glass-strong: rgba(255, 255, 255, 0.9);
	--vx-glass-line: rgba(255, 255, 255, 0.9);
	--vx-glass-edge: rgba(42, 36, 56, 0.09);
	--vx-glass-lift: 0 1px 2px rgba(26, 22, 36, 0.04), 0 12px 32px -18px rgba(26, 22, 36, 0.35);
	--vx-glass-tint: linear-gradient(45deg, rgba(195, 189, 209, 0.85) 0%, rgba(255, 255, 255, 0.7) 100%);
	--vx-glass-tint-soft: linear-gradient(20deg, rgba(255, 255, 255, 0.55) 0%, rgba(216, 212, 224, 0.7) 45%);
	--vx-ink-panel: linear-gradient(140deg, #2a2438 0%, #1a1624 100%);
}

/* ------------------------------------------------------------------ *
 * 1. Page shell
 * ------------------------------------------------------------------ */

.vx-home {
	/* Light end of the brand palette. The mid-grey `atmosphere` token is kept
	   for accents; as a full-page ground it made the canvas read murky. */
	background: var(--vx-lilac);
	color: var(--vx-ink);
}

/* Hide the legacy decorative art on the choreographed home page. */
.vx-home .edge-art,
.vx-home > .atmosphere {
	display: none;
}

.vx-atmosphere {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(180deg, var(--vx-indigo-haze) 0%, var(--vx-lilac) 100%);
}

.vx-atmosphere canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* Fallback ground when WebGL is unavailable or motion is reduced. */
.vx-atmosphere.is-static canvas {
	display: none;
}

.vx-atmosphere.is-static {
	background:
		radial-gradient(ellipse at 66% 28%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(180deg, var(--vx-indigo-haze) 0%, var(--vx-lilac) 100%);
}

/* ------------------------------------------------------------------ *
 * 1b. Intro wash
 *
 * A bright radial bloom that covers the first paint and dissolves. It
 * hides the moment where the sky is painted but the particle formation
 * has not settled, which otherwise reads as a flicker.
 * ------------------------------------------------------------------ */

.vx-intro {
	position: fixed;
	inset: 0;
	z-index: 90;
	pointer-events: none;
	background:
		radial-gradient(ellipse 70% 55% at 50% 46%, #fff 0%, rgba(255,255,255,0.96) 42%, rgba(255,255,255,0) 76%),
		var(--vx-lilac);
	opacity: 1;
	transition: opacity 1.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vx-intro.is-gone {
	opacity: 0;
}

/* A light veil settles the scene without dulling it. Kept weak — an opaque
   overlay was what made the first pass read grey and flat. */
.vx-atmosphere__veil {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.28) 40%, rgba(195, 189, 209, 0.3) 100%);
}

.vx-smooth-wrapper {
	position: relative;
	z-index: 2;
}

.vx-main {
	position: relative;
	z-index: 2;
}

/* ------------------------------------------------------------------ *
 * 2. Section system
 * ------------------------------------------------------------------ */

.vx-section {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	padding-inline: var(--vx-pad);
	/* Clears the fixed header pill. Without this the top line of a centred
	   heading sat underneath it. Content still centres inside the padded box. */
	padding-block: 6.5rem 3rem;
	overflow: clip;
}

.vx-section > * {
	width: 100%;
	max-width: var(--vx-max);
	margin-inline: auto;
}

@media (min-width: 64rem) {
	.vx-section {
		padding-inline: var(--vx-pad-lg);
	}
}

.vx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vx-indigo-deep);
	opacity: 0.72;
	margin-bottom: 1.1rem;
}

.vx-eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--vx-accent);
	opacity: 0.9;
}

.vx-h1,
.vx-h2 {
	font-weight: 300;
	letter-spacing: -0.035em;
	line-height: 1.08;
	margin: 0;
	color: var(--vx-indigo-deep);
	text-wrap: balance;
}

.vx-h1 {
	font-size: clamp(2.15rem, 6.4vw, 5rem);
}

.vx-h2 {
	font-size: clamp(1.85rem, 4.2vw, 3.4rem);
}

.vx-h1 strong,
.vx-h2 strong {
	font-weight: 700;
}

.vx-lead {
	font-size: clamp(1rem, 1.3vw, 1.25rem);
	line-height: 1.65;
	color: var(--vx-indigo);
	max-width: 46ch;
}

/* Bengali needs more vertical room than Latin at the same size. */
.vx-h1:lang(bn),
.vx-h2:lang(bn),
[lang="bn"] .vx-h1,
[lang="bn"] .vx-h2 {
	line-height: 1.35;
}

/* ------------------------------------------------------------------ *
 * 3. Glass surfaces
 * ------------------------------------------------------------------ */

.vx-glass {
	background: var(--vx-glass);
	border: 1px solid var(--vx-glass-line);
	outline: 1px solid var(--vx-glass-edge);
	outline-offset: -1px;
	border-radius: var(--vx-r-card);
	box-shadow: var(--vx-glass-lift);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.vx-glass--tint {
	background-image: var(--vx-glass-tint-soft);
}

.vx-glass--ink {
	background: var(--vx-ink-panel);
	border-color: rgba(255, 255, 255, 0.14);
	color: var(--vx-canvas);
}

.vx-glass--ink .vx-h2,
.vx-glass--ink .vx-eyebrow {
	color: var(--vx-canvas);
}

/* ------------------------------------------------------------------ *
 * 4. Move 1 — line-mask reveal
 * ------------------------------------------------------------------ */

.vx-line {
	display: block;
	overflow: hidden;
	/* Room for Bengali descenders, which clip at overflow:hidden otherwise. */
	padding-block: 0.06em;
	margin-block: -0.06em;
}

.vx-line__inner {
	display: block;
	will-change: transform;
}

.vx-js .vx-line__inner {
	translate: 0 110%;
}

.vx-line__inner.vx-line--in {
	animation: vx-line-in var(--vx-t-enter) var(--vx-ease) forwards;
}

@keyframes vx-line-in {
	from { translate: 0 110%; }
	to { translate: 0 0; }
}

/* ------------------------------------------------------------------ *
 * 5. Move 2 — panel unfurl
 * ------------------------------------------------------------------ */

.vx-unfurl {
	position: relative;
	/* Narrower than the grid so the scene reads either side of it. A panel
	   spanning the full measure buries the 3D it is supposed to sit within. */
	max-width: 62rem;
	margin-inline: auto;
	border-radius: var(--vx-r-panel);
	padding: clamp(1.5rem, 3.5vw, 3rem);
	background-image: var(--vx-glass-tint);
	border: 1px solid var(--vx-glass-line);
	box-shadow: var(--vx-glass-lift);
	transform-origin: left center;
	will-change: transform;
}

.vx-static .vx-unfurl,
.vx-static [data-vx-unfurl] {
	transform: none !important;
}

/* ------------------------------------------------------------------ *
 * 6. Move 3 — the compliance chain
 * ------------------------------------------------------------------ */

.vx-chain {
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2.6vw, 2.1rem);
}

.vx-chain__step {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1rem;
}

.vx-chain__rail {
	position: relative;
	display: flex;
	align-items: center;
	width: clamp(46px, 9vw, 132px);
	height: 20px;
}

.vx-chain__line {
	position: absolute;
	inset-inline: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(26, 22, 36, 0) 0%, var(--vx-indigo-deep) 100%);
	opacity: 0.65;
	will-change: clip-path;
}

.vx-chain__node {
	position: absolute;
	inset-inline-end: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--vx-accent);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6), 0 0 0 7px var(--vx-accent-soft);
	will-change: transform;
}

.vx-chain__body {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 0.9rem;
	padding: clamp(0.85rem, 1.6vw, 1.25rem) clamp(1.1rem, 2.2vw, 1.9rem);
	border-radius: var(--vx-r-pill);
	background-image: var(--vx-glass-tint);
	border: 1px solid var(--vx-glass-line);
	will-change: transform, opacity;
}

.vx-chain__num {
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vx-indigo-deep);
	opacity: 0.6;
}

.vx-chain__title {
	font-size: clamp(1.05rem, 1.9vw, 1.6rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--vx-indigo-deep);
	margin: 0;
}

.vx-chain__note {
	flex: 1 1 18ch;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--vx-indigo);
	opacity: 0.85;
	margin: 0;
}

@media (max-width: 47.99rem) {
	.vx-chain__step {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}

	.vx-chain__rail {
		width: 60px;
	}
}

/* ------------------------------------------------------------------ *
 * 7. Move 4 — cascade grids and cards
 * ------------------------------------------------------------------ */

.vx-grid {
	display: grid;
	gap: clamp(0.85rem, 1.6vw, 1.4rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.vx-grid > * {
	will-change: transform, opacity;
}

/* A single horizontal track. Used where the item count is editable, so the
   section can never spill into a second row and overflow its own height. */
.vx-track[data-vx-hscroll] {
	/* Snap fights a scroll-driven scrollLeft, so it is off where the track
	   is driven by the page. Manual swiping still works. */
	scroll-snap-type: none;
}

.vx-track {
	display: flex;
	align-items: stretch;
	gap: clamp(0.85rem, 1.6vw, 1.4rem);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.75rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(42, 36, 56, 0.28) transparent;
}

.vx-track::-webkit-scrollbar {
	height: 5px;
}

.vx-track::-webkit-scrollbar-thumb {
	background: rgba(42, 36, 56, 0.28);
	border-radius: 99px;
}

.vx-track > * {
	flex: 0 0 clamp(230px, 23vw, 300px);
	scroll-snap-align: start;
	will-change: transform, opacity;
}

@media (max-width: 61.99rem) {
	.vx-track > * {
		flex-basis: min(78vw, 300px);
	}
}

.vx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: clamp(1.1rem, 2vw, 1.7rem);
	border-radius: var(--vx-r-card);
	/* No backdrop-filter here on purpose. These cards are transform-animated
	   and clip their media; in Chromium that combination stops the child
	   <img> rasterising, so the artwork rendered as a flat block. A solid-ish
	   translucent fill gives the same look, and costs far less to composite
	   across a grid of animating cards. */
	background: var(--vx-glass-strong);
	border: 1px solid var(--vx-glass-line);
	outline: 1px solid var(--vx-glass-edge);
	outline-offset: -1px;
	box-shadow: var(--vx-glass-lift);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform var(--vx-t-move) var(--vx-ease-out),
		background-color var(--vx-t-state) var(--vx-ease-out),
		border-color var(--vx-t-state) var(--vx-ease-out);
}

a.vx-card:hover,
a.vx-card:focus-visible {
	transform: translateY(-4px);
	background: #fff;
	border-color: #fff;
	box-shadow: 0 2px 4px rgba(26, 22, 36, 0.05), 0 22px 44px -20px rgba(26, 22, 36, 0.45);
}

.vx-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: calc(var(--vx-r-card) - 8px);
	overflow: hidden;
	margin: calc(-1 * clamp(0.35rem, 0.7vw, 0.6rem)) 0 0.3rem;
	background: var(--vx-indigo-haze);
}

.vx-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--vx-t-move) var(--vx-ease-out);
}

a.vx-card:hover .vx-card__media img,
a.vx-card:focus-visible .vx-card__media img {
	transform: scale(1.08);
}

.vx-card__kicker {
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--vx-indigo-deep);
	opacity: 0.62;
}

.vx-card__title {
	font-size: clamp(1.02rem, 1.5vw, 1.28rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.28;
	margin: 0;
	color: var(--vx-indigo-deep);
}

.vx-card__text {
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--vx-indigo);
	opacity: 0.86;
	margin: 0;
}

.vx-card__arrow {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid currentColor;
	color: var(--vx-indigo-deep);
	opacity: 0.55;
	transition: transform var(--vx-t-state) var(--vx-ease-out), opacity var(--vx-t-state);
}

a.vx-card:hover .vx-card__arrow {
	transform: rotate(-45deg);
	opacity: 1;
	color: var(--vx-accent);
	border-color: var(--vx-accent);
}

/* ------------------------------------------------------------------ *
 * 8. Move 5 — counter-rotating marquees
 * ------------------------------------------------------------------ */

.vx-marquee {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.vx-marquee__track {
	display: flex;
	gap: clamp(0.7rem, 1.6vw, 1.3rem);
	width: max-content;
	will-change: transform;
	animation: vx-marquee 46s linear infinite;
}

.vx-marquee--reverse .vx-marquee__track {
	animation-direction: reverse;
	animation-duration: 58s;
}

@keyframes vx-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-33.333%); }
}

.vx-marquee:hover .vx-marquee__track {
	animation-play-state: paused;
}

.vx-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	flex-shrink: 0;
	padding: 0.7rem 1.35rem;
	border-radius: var(--vx-r-pill);
	background: var(--vx-glass);
	border: 1px solid var(--vx-glass-line);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 0.86rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
	color: var(--vx-indigo-deep);
}

.vx-chip__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--vx-accent);
	opacity: 0.75;
}

/* ------------------------------------------------------------------ *
 * 9. Hero
 * ------------------------------------------------------------------ */

.vx-hero {
	justify-content: flex-end;
	padding-block: 7rem 4rem;
}

@media (min-width: 64rem) {
	.vx-hero {
		justify-content: center;
		padding-block: 6rem;
	}
}

.vx-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

.vx-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.6rem;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vx-indigo-deep);
	opacity: 0.7;
}

.vx-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.vx-hero__meta span::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

.vx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	align-items: center;
}

.vx-hero__scroll {
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.6;
}

.vx-hero__scroll i {
	display: block;
	width: 1px;
	height: 26px;
	background: var(--vx-accent);
	transform-origin: top;
	animation: vx-scroll-hint 2.1s var(--vx-ease) infinite;
}

@keyframes vx-scroll-hint {
	0% { transform: scaleY(0); opacity: 0; }
	40% { transform: scaleY(1); opacity: 1; }
	100% { transform: scaleY(1) translateY(26px); opacity: 0; }
}

/* ------------------------------------------------------------------ *
 * 10. Buttons
 * ------------------------------------------------------------------ */

.vx-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.78rem 1.5rem;
	border-radius: var(--vx-r-pill);
	border: 1px solid transparent;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--vx-t-state) var(--vx-ease-out),
		color var(--vx-t-state) var(--vx-ease-out),
		border-color var(--vx-t-state) var(--vx-ease-out),
		transform var(--vx-t-state) var(--vx-ease-out);
}

.vx-btn--solid {
	background: var(--vx-indigo-deep);
	color: var(--vx-canvas);
}

.vx-btn--solid:hover,
.vx-btn--solid:focus-visible {
	background: var(--vx-indigo);
	transform: translateY(-2px);
}

.vx-btn--ghost {
	background: var(--vx-glass);
	border-color: var(--vx-glass-line);
	color: var(--vx-indigo-deep);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.vx-btn--ghost:hover,
.vx-btn--ghost:focus-visible {
	background: #fff;
	transform: translateY(-2px);
}

.vx-btn svg {
	transition: transform var(--vx-t-state) var(--vx-ease-out);
}

.vx-btn:hover svg {
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ *
 * 11. Header pill + mobile menu
 * ------------------------------------------------------------------ */

.vx-header {
	position: fixed;
	top: 1.1rem;
	left: 50%;
	translate: -50% 0;
	z-index: 60;
	display: none;
	align-items: center;
	gap: 1.6rem;
	padding: 0.55rem 0.6rem 0.55rem 1.4rem;
	border-radius: var(--vx-r-pill);
	background: var(--vx-glass-strong);
	border: 1px solid var(--vx-glass-line);
	box-shadow: var(--vx-glass-lift);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	max-width: calc(100vw - 2rem);
}

@media (min-width: 62rem) {
	.vx-header {
		display: flex;
	}
}

.vx-header__brand img {
	display: block;
	height: 26px;
	width: auto;
	transition: opacity var(--vx-t-state);
}

.vx-header__brand:hover img {
	opacity: 0.8;
}

.vx-header__nav ul {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vx-header__nav a {
	font-size: 0.83rem;
	letter-spacing: 0.02em;
	color: var(--vx-indigo-deep);
	text-decoration: none;
	transition: color var(--vx-t-state) var(--vx-ease-out);
}

.vx-header__nav a:hover,
.vx-header__nav .current-menu-item > a {
	color: var(--vx-indigo);
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-color: var(--vx-accent);
	text-decoration-thickness: 2px;
}

.vx-header .vx-btn {
	padding: 0.6rem 1.15rem;
	font-size: 0.83rem;
}

/* Mobile bar */
.vx-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem var(--vx-pad);
}

@media (min-width: 62rem) {
	.vx-bar {
		display: none;
	}
}

.vx-bar__brand img {
	display: block;
	height: 26px;
	width: auto;
}

.vx-burger {
	position: relative;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid var(--vx-glass-line);
	background: var(--vx-glass);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	cursor: pointer;
}

.vx-burger span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 17px;
	height: 1.5px;
	margin-left: -8.5px;
	border-radius: 2px;
	background: var(--vx-indigo-deep);
	transition: transform var(--vx-t-state) var(--vx-ease-out), opacity var(--vx-t-state);
}

.vx-burger span:nth-child(1) { transform: translateY(-5px); }
.vx-burger span:nth-child(2) { transform: translateY(0); }
.vx-burger span:nth-child(3) { transform: translateY(5px); }

.vx-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.vx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vx-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.vx-menu {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	padding: var(--vx-pad);
	background: rgba(236, 232, 242, 0.94);
	-webkit-backdrop-filter: blur(22px);
	backdrop-filter: blur(22px);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--vx-t-move) var(--vx-ease-out);
}

.vx-menu.is-open {
	opacity: 1;
	pointer-events: auto;
}

.vx-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.vx-menu a {
	font-size: 1.15rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vx-indigo-deep);
	text-decoration: none;
}

.vx-menu a:hover {
	color: var(--vx-indigo);
}

html.vx-menu-open,
html.vx-menu-open body {
	overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * 12. Section rail
 * ------------------------------------------------------------------ */

.vx-rail {
	position: fixed;
	top: 50%;
	right: 0.9rem;
	translate: 0 -50%;
	z-index: 58;
	display: none;
}

@media (min-width: 75rem) {
	.vx-rail {
		display: block;
		right: 2rem;
	}
}

.vx-rail__list {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.55rem;
}

.vx-rail__list::before {
	content: "";
	position: absolute;
	right: 6px;
	top: 8px;
	bottom: 8px;
	width: 1px;
	background: rgba(42, 36, 56, 0.22);
}

.vx-rail__dot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.6rem;
	padding: 0.18rem 0;
	background: none;
	border: 0;
	cursor: pointer;
	opacity: 0.35;
	transition: opacity var(--vx-t-move) var(--vx-ease-out);
}

.vx-rail__dot:hover,
.vx-rail__dot.is-active {
	opacity: 1;
}

.vx-rail__mark {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--vx-indigo-deep);
	transition: transform var(--vx-t-move) var(--vx-ease-out), background-color var(--vx-t-state);
}

.vx-rail__dot.is-active .vx-rail__mark {
	transform: scale(1.5);
	background: var(--vx-accent);
	box-shadow: 0 0 0 3px var(--vx-canvas), 0 0 0 5px var(--vx-accent-soft);
}

.vx-rail__name {
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vx-indigo-deep);
	white-space: nowrap;
	opacity: 0;
	translate: 6px 0;
	transition: opacity var(--vx-t-state), translate var(--vx-t-state) var(--vx-ease-out);
}

.vx-rail__dot:hover .vx-rail__name,
.vx-rail__dot.is-active .vx-rail__name {
	opacity: 1;
	translate: 0 0;
}

/* ------------------------------------------------------------------ *
 * 13. Stats, principals, process
 * ------------------------------------------------------------------ */

.vx-stat {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.vx-stat__value {
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	font-weight: 300;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--vx-indigo-deep);
}

.vx-stat__label {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vx-indigo);
	opacity: 0.72;
}

.vx-person__role {
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.6;
}

.vx-person__name {
	font-size: clamp(1.15rem, 2vw, 1.6rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	margin: 0.25rem 0 0.5rem;
	color: var(--vx-indigo-deep);
}

.vx-person__list {
	margin: 0;
	padding-left: 1.05rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--vx-indigo);
	opacity: 0.88;
}

.vx-step__num {
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.55;
}

.vx-step__title {
	font-size: clamp(1.15rem, 2.2vw, 1.7rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	margin: 0.3rem 0 0.6rem;
	color: var(--vx-indigo-deep);
}

/* ------------------------------------------------------------------ *
 * 14. Footer
 * ------------------------------------------------------------------ */

.vx-footer {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2.5rem;
	min-height: 100vh;
	min-height: 100svh;
	padding: 5rem var(--vx-pad) 2rem;
	color: var(--vx-indigo-deep);
}

@media (min-width: 64rem) {
	.vx-footer {
		padding-inline: var(--vx-pad-lg);
	}
}

.vx-footer__inner {
	width: 100%;
	max-width: var(--vx-max);
	margin-inline: auto;
}

.vx-footer__statement {
	font-size: clamp(1.6rem, 4vw, 3.2rem);
	font-weight: 300;
	letter-spacing: -0.035em;
	line-height: 1.12;
	max-width: 18ch;
	margin: 0 0 2.5rem;
}

.vx-footer__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	padding-top: 2rem;
	border-top: 1px solid rgba(26, 22, 36, 0.18);
}

.vx-footer__grid h4 {
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.6;
	margin: 0 0 0.9rem;
}

.vx-footer__grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.vx-footer__grid a {
	font-size: 0.9rem;
	color: inherit;
	text-decoration: none;
	opacity: 0.82;
	transition: opacity var(--vx-t-state);
}

.vx-footer__grid a:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.8rem;
	margin-top: 2.5rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(26, 22, 36, 0.14);
	font-size: 0.78rem;
	opacity: 0.7;
}

/* ------------------------------------------------------------------ *
 * 15. Accessibility & fallbacks
 * ------------------------------------------------------------------ */

.vx-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.8rem 1.2rem;
	background: var(--vx-indigo-deep);
	color: var(--vx-canvas);
	border-radius: 0 0 12px 0;
}

.vx-skip:focus {
	left: 0;
}

:where(.vx-home) :focus-visible {
	outline: 2px solid var(--vx-indigo-deep);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Nothing in the choreography may hide content when motion is reduced.
   `html.vx-force-motion` is the QA override (?vx-motion=force) and is the
   only thing that stands this block down. */
@media (prefers-reduced-motion: reduce) {
	html:not(.vx-force-motion) .vx-line__inner {
		translate: 0 0;
	}

	html:not(.vx-force-motion) .vx-line__inner,
	html:not(.vx-force-motion) .vx-marquee__track,
	html:not(.vx-force-motion) .vx-hero__scroll i {
		animation: none !important;
	}

	html:not(.vx-force-motion) .vx-section,
	html:not(.vx-force-motion) .vx-footer {
		min-height: 0;
		padding-block: clamp(3rem, 8vw, 6rem);
	}

	html:not(.vx-force-motion) [data-vx-unfurl],
	html:not(.vx-force-motion) [data-vx-cascade] > *,
	html:not(.vx-force-motion) [data-vx-chain-line],
	html:not(.vx-force-motion) [data-vx-chain-node],
	html:not(.vx-force-motion) [data-vx-chain-body],
	html:not(.vx-force-motion) [data-vx-hero-layer] {
		transform: none !important;
		opacity: 1 !important;
		clip-path: none !important;
	}

	html:not(.vx-force-motion) * {
		scroll-behavior: auto !important;
	}
}

/* If JS never runs, show everything. */
html:not(.vx-js) .vx-line__inner {
	translate: 0 0;
}

html:not(.vx-js) .vx-atmosphere canvas {
	display: none;
}

/* Static (no-GSAP / reduced) entry states. */
.vx-static [data-vx-cascade] > *,
.vx-static [data-vx-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity var(--vx-t-enter) var(--vx-ease-out), transform var(--vx-t-enter) var(--vx-ease-out);
}

.vx-static [data-vx-cascade] > *.is-in,
.vx-static [data-vx-reveal].is-in {
	opacity: 1;
	transform: none;
}

.vx-static [data-vx-chain-line],
.vx-static [data-vx-chain-node],
.vx-static [data-vx-chain-body] {
	opacity: 1;
	transform: none;
	clip-path: none;
}

/* ------------------------------------------------------------------ *
 * 16. Mobile refinements
 * ------------------------------------------------------------------ */

@media (max-width: 61.99rem) {
	.vx-section {
		min-height: 0;
		padding-block: clamp(3.5rem, 12vw, 6rem);
	}

	.vx-hero {
		min-height: 100svh;
		padding-block: 6.5rem 3rem;
	}

	.vx-footer {
		min-height: 0;
		padding-block: 4rem 2rem;
	}

	/* Long horizontal tracks become swipeable rather than pinned. */
	.vx-scroller {
		display: flex;
		gap: 0.9rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.6rem;
		scrollbar-width: none;
	}

	.vx-scroller::-webkit-scrollbar {
		display: none;
	}

	.vx-scroller > * {
		flex: 0 0 min(78vw, 300px);
		scroll-snap-align: start;
	}
}

/* Nothing may ever push the page sideways. */
.vx-home {
	overflow-x: clip;
}
