/* Vidas – Manifiesto (primera sección de About)
 * Medidas del diseño en proporción a la columna de contenido (1cqw = 1% de la columna; 13.92px a 1392):
 *   etiqueta común (16/26); titular en 4 renglones de 9.1cqw (~127px) con interlineado 1.01,
 *   los dos primeros SemiBold y los dos últimos Light; párrafo Light 28/40 desde el 58.3% de la columna hasta
 *   su borde derecho, separado del titular ~20cqw.
 * Tablet: mismo titular, párrafo 22/32 desde el 45%. Móvil: titular 11.6cqw con cortes automáticos, párrafo 18/26.
 * Sin fondo ni espacio vertical propios.
 */

.vmf {
	--vmf-label: #000;
	--vmf-strong: #000;
	--vmf-light: #000;
	--vmf-text: #000;
	--vmf-accent: #4e20e4;
	--vmf-max: 1392px;
	--vmf-pad: 60px;

	width: 100%;
	padding: 0 var(--vmf-pad);
	box-sizing: border-box;
	font-family: "Soleil", sans-serif;
}

.vmf__inner {
	max-width: var(--vmf-max);
	margin: 0 auto;
	container-type: inline-size;
}

/* Con JS el contenido espera oculto a que arranque la animación (si algo fallara, aparece solo a los 2.5 s) */
.vmf.is-pending .vmf__inner {
	visibility: hidden;
	animation: vmf-show 0s linear 2.5s forwards;
}

@keyframes vmf-show {
	to { visibility: visible; }
}

/* ---------- Etiqueta (igual que Partner) ---------- */
.vmf__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--vmf-label);
}

.vmf__asterisk {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	transform-origin: 50% 50%;
}

.vmf__label-text {
	display: block;
}

/* ---------- Titular ---------- */
.vmf__heading {
	margin: var(--vmf-gap-label, 1.5cqw) 0 0;
	padding: 0;
	font-family: inherit;
	font-size: 9.1cqw;
	line-height: 1.01;
	letter-spacing: -0.025em;
}

.vmf__inner > .vmf__heading:first-child {
	margin-top: 0;
}

.vmf__strong,
.vmf__light {
	position: relative;
	display: block;
	will-change: transform;
}

.vmf__strong {
	font-weight: 600;
	color: var(--vmf-strong);
}

.vmf__light {
	font-weight: 300;
	color: var(--vmf-light);
}

/* Contenedor ya repartido en renglones: flex para que los márgenes negativos de las máscaras no se colapsen */
.vmf .is-split {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* Renglones (los crea el JS): máscara con holgura para acentos y descendentes */
.vmf__line {
	position: relative;
	display: block;
	align-self: stretch;
	overflow: hidden;
	padding: 0.18em 0 0.24em;
	margin: -0.18em 0 -0.24em;
}

.vmf__line-in {
	position: relative;
	display: block;
	width: max-content;
	max-width: none;
	padding: 0.18em 0 0.24em;
	margin: -0.18em 0 -0.24em;
	white-space: nowrap;
	will-change: transform, clip-path;
}

.vmf__w {
	display: inline-block;
	will-change: transform;
}

/* Escáner que descubre la parte fina */
.vmf__scan {
	position: absolute;
	left: 0;
	top: 0.22em;
	bottom: 0.3em;
	width: max(2px, 0.022em);
	border-radius: 2px;
	background: var(--vmf-accent);
	box-shadow: none;                    /* sin halo: solo la línea */
	opacity: 0;
	pointer-events: none;
	will-change: transform, opacity;
}

/* ---------- Párrafo ---------- */
.vmf__text-wrap {
	margin-top: var(--vmf-gap-text, 18.35cqw);
	padding-left: var(--vmf-text-x, 58.3%);
	will-change: transform;
}

.vmf__text {
	position: relative;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: 300;
	font-size: 28px;
	line-height: 40px;
	letter-spacing: -0.01em;
	color: var(--vmf-text);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.vmf__text-wrap {
		margin-top: var(--vmf-gap-text, 12cqw);
		padding-left: var(--vmf-text-x, 45%);
	}

	.vmf__text {
		font-size: 22px;
		line-height: 32px;
	}
}

/* ---------- Móvil ---------- */
@media (max-width: 767px) {
	.vmf {
		--vmf-pad: 20px;
	}

	.vmf__label {
		gap: 8px;
		font-size: 11px;
		line-height: 18px;
	}

	.vmf__asterisk {
		width: 14px;
		height: 14px;
	}

	.vmf__heading {
		margin-top: var(--vmf-gap-label, 2.5cqw);
		font-size: 11.6cqw;
		line-height: 1.06;
	}

	.vmf__br {
		display: none;                       /* en móvil los renglones se reparten solos */
	}

	.vmf__text-wrap {
		margin-top: var(--vmf-gap-text, 14cqw);
		padding-left: var(--vmf-text-x, 0%);
	}

	.vmf__text {
		font-size: 18px;
		line-height: 26px;
	}
}