/* ==========================================================================
   MOODZ — Sistema de interfaz Fables → MOODZ
   Arquitectura e interacción medidas en studiofables.com; identidad MOODZ.
   El módulo de 70px gobierna nav, filas, bandas y ritmo. Gutter 16.
   ========================================================================== */

:root {
	--bg: #F2EEE5; --bg-warm: #EDE7D9; --bg-deep: #1C1814; --cream: #F8F4EA;
	--ink: #1C1814; --ink-soft: #4A4238; --ink-mute: #8A7F6E; --ink-mute-text: #6B6152; --gold-text: #7A5C0E;   /* F1204 · texto pequeño sobre crema: 5.2:1 y 5.4:1 (AA); --ink-mute y --gold quedan para líneas y adornos */
	--line: #D9D1BE; --line-soft: #E5DECC;
	--gold: #A8821A; --gold-soft: #C9A23A; --gold-pale: #E8C975; --gold-bright: #D4A537;

	--mz-mod: 70px;                 /* módulo: nav, fila, banda */
	--mz-gut: 16px;                 /* gutter */
	--mz-gap: 8px;
	--mz-pill-h: 34px;
	--mz-pill-w: 250px;
	--mz-radius: 4px;
	--mz-ease: cubic-bezier(.22, .61, .36, 1);
	--mz-vh: 100svh;

	--mz-serif: 'Cormorant Garamond', Georgia, serif;
	--mz-sans: 'Inter', system-ui, sans-serif;
}

@media (max-width: 1200px) {
	:root { --mz-pill-w: 196px; }
}
@media (max-width: 900px) {
	:root { --mz-mod: 62px; --mz-gut: 18px; --mz-pill-w: auto; }   /* F1167: márgenes de 18 px en el teléfono (antes 12, se veía pegado) */
}

/* ── Base ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html:has(body.mz) { overflow-x: clip; }
body.mz {
	font-family: var(--mz-sans); font-weight: 300; font-size: 15px; line-height: 1.5;
	background: var(--bg); color: var(--ink);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	min-height: var(--mz-vh);
	overflow-x: clip;
	/* F1050 · Alto visible = ventana menos la barra de administración de WordPress (sesión iniciada). En CSS y no en
	   píxeles fijados al cargar: así sigue exacto al cambiar el tamaño de la ventana. */
	--mz-ab: 0px;
	--mz-vh: calc(100vh - var(--mz-ab));
}
@supports (height: 100svh) { body.mz { --mz-vh: calc(100svh - var(--mz-ab)); } }
body.mz.admin-bar { --mz-ab: 32px; }
@media screen and (max-width: 782px) { body.mz.admin-bar { --mz-ab: 46px; } }
/* La portada es un póster de una pantalla: nunca se desplaza. */
/* F1169: la portada ya no bloquea el desplazamiento con overflow:hidden (así el navegador no reservaba el hueco de la barra y
   el sitio saltaba de lado); cabe entera en la pantalla (F1050), así que no se desplaza igual. */
/* F1169 · La portada no se desplaza y las secciones sí: al aparecer la barra de desplazamiento (15 px en Windows) todo el
   sitio se encogía y saltaba de lado al pasar MOODZ ↔ Proyectos. El hueco de la barra queda reservado siempre, a los dos
   lados para que todo siga centrado (en el teléfono la barra flota y esto no cambia nada). */
html:has(> body.mz) { scrollbar-gutter: stable both-edges; }
/* Grano de papel: identidad, sobre todo fondo claro. */
body.mz::before {
	content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .2;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.mz > .mz-stage { position: relative; z-index: 1; }
body.mz > .mz-nav { z-index: 2000; }
body.mz > .mz-preview { z-index: 5000; }
body.mz > .mz-player { z-index: 6000; }

img, video, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, p { font-weight: inherit; }

.mz-skip { position: fixed; top: -60px; left: var(--mz-gut); z-index: 9999; padding: 8px 14px; background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: .12em; }
.mz-skip:focus { top: var(--mz-gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }

/* ── Tipografía de sistema ─────────────────────────────────────────────── */

.mz-eyebrow { font-family: var(--mz-sans); font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-mute-text); }
.mz-label   { font-family: var(--mz-sans); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.mz-mute    { color: var(--ink-mute-text); }

/* Wordmark: MOO + D itálica dorada + Z cerrada. */
.mz-wordmark { font-family: var(--mz-serif); font-weight: 400; letter-spacing: .4em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.mz-wordmark em { font-style: italic; font-weight: 300; color: var(--gold); }
.mz-wordmark i  { font-style: normal; letter-spacing: 0; }

.mz-diamond { display: inline-block; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.mz-x { position: relative; display: block; width: 12px; height: 12px; }
.mz-x::before, .mz-x::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.mz-x::before { transform: rotate(45deg); } .mz-x::after { transform: rotate(-45deg); }

/* ── Navegación: una sola, persistente ─────────────────────────────────── */

.mz-nav {
	position: fixed; top: var(--mz-ab, 0px); left: 0; width: 100%; height: var(--mz-mod); z-index: 2000;
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--mz-gap);
	padding: 0 var(--mz-gut);
	background: var(--bg);
	transition: transform .55s var(--mz-ease);   /* F1166: antes .7s; igual que NAV_MS en mz-app.js */
	will-change: transform;
}
.mz-nav[data-pos="bottom"] { transform: translateY(calc(var(--mz-vh) - var(--mz-mod))); }
.mz-nav[data-pos="hidden"] { transform: translateY(calc(-100% - var(--mz-ab, 0px))); }
/* Hairline de carga: avanza mientras llega la siguiente página. */
.mz-nav::after { content: ''; position: absolute; left: var(--mz-gut); right: var(--mz-gut); bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity .3s var(--mz-ease); }
.mz-js.is-loading .mz-nav::after { opacity: 1; animation: mz-load 1.4s var(--mz-ease) forwards; }
@keyframes mz-load { 0% { transform: scaleX(0); } 60% { transform: scaleX(.7); } 100% { transform: scaleX(.92); } }
.mz-nav[data-pos="bottom"]::after { bottom: auto; top: 0; }

.mz-nav__pages { display: flex; gap: var(--mz-gap); min-width: 0; }
.mz-nav__pages li { flex: 0 1 var(--mz-pill-w); min-width: 0; }
.mz-nav__dots  { display: flex; gap: var(--mz-gap); }

/* Pill: 34 de alto, 250 de ancho, borde 1px, transparente; activa = tinta. */
.mz-pill {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	height: var(--mz-pill-h); width: 100%; padding: 0 14px;
	border: 1px solid var(--ink-mute); border-radius: 999px;
	font-family: var(--mz-sans); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	color: var(--ink); white-space: nowrap; overflow: hidden;
	transition: background-color .3s var(--mz-ease), color .3s var(--mz-ease), border-color .3s var(--mz-ease);
}
.mz-pill:hover { border-color: var(--ink); }
.mz-pill.is-active, .mz-pill[aria-current="page"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.mz-pill.is-active .mz-wordmark em { color: var(--gold-pale); }
.mz-pill--brand .mz-wordmark { font-size: 15px; letter-spacing: .38em; transform: translateY(1px); }
.mz-pill--brand .mz-wordmark i { margin-right: -.38em; }
.mz-pill__soon { font-size: 10px; letter-spacing: .18em; color: var(--ink-mute-text); }
.mz-pill.is-active .mz-pill__soon { color: rgba(248, 244, 234, .55); }
.mz-pill--soon { border-color: var(--line); }

.mz-dot {
	display: flex; align-items: center; justify-content: center;
	width: var(--mz-pill-h); height: var(--mz-pill-h); border: 1px solid var(--ink-mute); border-radius: 50%;
	color: var(--ink); transition: border-color .3s var(--mz-ease), background-color .3s var(--mz-ease), transform .3s var(--mz-ease);
}
.mz-dot:hover { border-color: var(--ink); }
.mz-dot--close { display: none; }

/* Pill inline (contacto, info): ancho al contenido. */
.mz-pill--inline { display: inline-flex; width: auto; }

/* ── Escenario y transiciones de ruta ──────────────────────────────────── */

.mz-stage { position: relative; min-height: var(--mz-vh); }
.mz-content { position: relative; outline: none; isolation: isolate; }   /* F1180: sus capas internas no se cuelan sobre la hoja */

/* La página saliente sube y se desvanece; la entrante llega desde abajo. */
.mz-content.is-leaving  { animation: mz-leave .28s var(--mz-ease) both; }   /* F1166: antes .45s y .55s */
.mz-content.is-entering { animation: mz-enter .36s var(--mz-ease) both; }
/* F1170 · Portada ↔ secciones como hoja (mz-app.js): la portada quieta detrás (.mz-fondo) y la sección opaca encima, que sube
   (.mz-sube) o baja (.mz-hoja-sale) pegada a la nav. Solo se anima transform y opacidad.
   F1189 · Antes la que sube se llamaba .mz-hoja, igual que el menú «+» del teléfono (F1172, display:none): la página
   nueva quedaba invisible y solo se movía la nav. */
.mz-fondo { position: fixed; top: 0; z-index: 0; height: var(--mz-vh); overflow: hidden; pointer-events: none; }
.mz-content.mz-sube { z-index: 1; background: var(--bg); min-height: var(--mz-vh); will-change: transform; }
.mz-hoja-sale { position: fixed; top: 0; z-index: 2; height: var(--mz-vh); overflow: hidden; background: var(--bg); pointer-events: none; will-change: transform; }
@keyframes mz-leave { to   { opacity: 0; transform: translateY(-24px); } }
@keyframes mz-enter { from { opacity: 0; transform: translateY(24px); } }

/* Revelados: entradas escalonadas, cortas. Solo con JS activo. */
.mz-js [data-reveal] > * { opacity: 0; transform: translateY(14px); }
.mz-js [data-reveal].is-in > * { opacity: 1; transform: none; transition: opacity .7s var(--mz-ease), transform .7s var(--mz-ease); }
.mz-js [data-reveal].is-in > :nth-child(2) { transition-delay: .06s; }
.mz-js [data-reveal].is-in > :nth-child(3) { transition-delay: .12s; }
.mz-js [data-reveal].is-in > :nth-child(4) { transition-delay: .18s; }
.mz-js [data-reveal].is-in > :nth-child(5) { transition-delay: .24s; }
.mz-js [data-reveal].is-in > :nth-child(n+6) { transition-delay: .3s; }

/* Elemento compartido (portada → detalle). */
.mz-flip { position: fixed; z-index: 3000; overflow: hidden; border-radius: var(--mz-radius); pointer-events: none; background: var(--bg-deep); }
.mz-flip img { width: 100%; height: 100%; object-fit: cover; }

/* ── Marco de imagen: radio 4 + esquinas Déco ──────────────────────────── */

.mz-media { position: relative; overflow: hidden; border-radius: var(--mz-radius); background: var(--color, var(--bg-deep)); }
.mz-media > img, .mz-media > video, .mz-media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.mz-media--contain > img { object-fit: contain; }
/* F1173 · Mientras llega la foto se ve su miniatura (moodz_lqip, 24 px) ampliada sobre el color dominante: el navegador la
   suaviza al estirarla y la foto la tapa al cargar. Va como fondo y no en ::before, que ya usan las esquinas doradas. */
.mz-media[style*="--lqip"] { background-image: var(--lqip); background-size: cover; background-position: center; }
.mz-corners::before, .mz-corners::after, .mz-corners > .c::before, .mz-corners > .c::after {
	content: ''; position: absolute; width: 16px; height: 16px; border: 0 solid var(--gold); opacity: .6; pointer-events: none; z-index: 2;
	transition: opacity .4s var(--mz-ease);
}
.mz-corners::before { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.mz-corners::after  { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }
.mz-corners > .c::before { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.mz-corners > .c::after  { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }

/* ── HOME: poster de una pantalla ──────────────────────────────────────── */

.mz-home {
	height: var(--mz-vh);
	display: grid; grid-template-rows: auto 1fr var(--mz-mod); grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
}

/* Marquesina del wordmark: la expresión de marca a gran escala. */
/* F1050 · Ninguna letra sobresale: las mayúsculas con acento de Cormorant miden 0,81 em de tinta, así que la letra se
   limita al alto de la banda menos su aire (--mq-h − 16 px) / 0,81, y se baja 0,065 em para centrar la tinta, no la caja. */
.mz-marquee { --mq-h: clamp(104px, 15.5vh, 150px); overflow: hidden; height: var(--mq-h); display: flex; align-items: center; border-bottom: 0; }
.mz-marquee__track { display: flex; gap: 0; white-space: nowrap; will-change: transform; animation: mz-marquee 80s linear infinite; }
.mz-marquee__item {
	display: inline-flex; align-items: center; gap: .32em; padding-right: .32em;
	font-family: var(--mz-serif); font-weight: 300; font-size: min(clamp(76px, 12.6vw, 176px), calc((var(--mq-h) - 16px) / .81)); line-height: 1; text-transform: uppercase; letter-spacing: .1em;
	color: var(--ink); position: relative; top: .065em;
}
.mz-marquee__item .mz-wordmark { font-weight: 300; letter-spacing: .38em; }
.mz-marquee__item .mz-wordmark i { margin-right: -.38em; }
.mz-marquee__item .mz-diamond { width: .16em; height: .16em; margin: 0 .18em; }
.mz-marquee__item small { font-size: .5em; font-weight: 300; font-style: italic; letter-spacing: .12em; color: var(--ink-mute-text); text-transform: none; }
@keyframes mz-marquee { to { transform: translateX(-50%); } }

/* Panel de media: oscuro, con gutters, radio 4 y esquinas. */
/* F1050 · Sin margen abajo: las pills del menú quedan centradas en su banda, mismo aire sobre y bajo ellas (pedido del dueño). */
.mz-home__panel { padding: 0 var(--mz-gut); min-height: 0; min-width: 0; }
.mz-reel {
	position: relative; height: 100%; min-width: 0; border-radius: var(--mz-radius); overflow: hidden;
	background: var(--bg-deep);
	/* F1050 · Zócalo de 84: los dos renglones de la frase y la línea pequeña caben enteros a 22 px, centrados con aire
	   igual arriba y abajo en el espacio bajo la línea dorada (zócalo + 6 px).
	   Cabecera de 52: los enlaces legales y el botón de sonido viven arriba, sin pisar el video. */
	--mz-plinth: 84px; --mz-head: 52px;
	display: flex; align-items: stretch; justify-content: center; gap: var(--mz-gut);
	padding: var(--mz-head) var(--mz-gut) calc(var(--mz-gut) + var(--mz-plinth));
}
.mz-reel::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(212, 165, 55, .08), transparent 70%); }
.mz-reel__v { position: relative; height: 100%; aspect-ratio: 9 / 16; flex: 0 1 auto; max-width: 100%; min-width: 0; border-radius: var(--mz-radius); overflow: hidden; background: #0a0805; }
.mz-reel__v video { width: 100%; height: 100%; object-fit: cover; }
.mz-reel__v { height: 100%; }
/* F1050 · Video de presentación a sangre: llena todo el panel oscuro, como si fuera la página entera (pedido del dueño).
   Las líneas doradas, la frase, «Ver presentación», los legales y el sonido van encima, con un velo arriba y abajo para
   que se lean sobre cualquier cuadro. */
.mz-reel__stage { position: absolute; inset: 0; z-index: 0; }
.mz-reel__promo { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #000; }
.mz-reel__promo video { width: 100%; height: 100%; object-fit: cover; }
.mz-reel__stage::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(14, 11, 8, .72) 0, rgba(14, 11, 8, 0) calc(var(--mz-head) + 40px)),
		linear-gradient(to top, rgba(14, 11, 8, .86) 0, rgba(14, 11, 8, .5) calc(var(--mz-plinth) + 6px), rgba(14, 11, 8, 0) calc(var(--mz-plinth) + 120px));
}
.mz-reel:has(.mz-reel__stage)::before { display: none; }   /* el brillo dorado del centro sobra con el video */

/* F1071 · Rotación por servicio: dos videos que se cruzan (fundido), los verticales enteros en la computadora con su propia
   portada difuminada detrás, el nombre del servicio arriba a la izquierda y la esquina de arriba a la derecha con el sonido
   y la lista de servicios (al pasar el ratón o al tocar «Servicios»). */
.mz-rota__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--mz-ease); }
.mz-rota__v.is-on { opacity: 1; }
.mz-rota__fondo { position: absolute; inset: -48px; background: center / cover no-repeat; filter: blur(38px) brightness(.42) saturate(1.1); opacity: 0; transition: opacity .9s var(--mz-ease); }
@media (min-width: 901px) and (orientation: landscape) {
	.mz-rota__v[data-formato="vertical"] { object-fit: contain; }
	.mz-reel__stage.is-vertical .mz-rota__fondo { opacity: 1; }
}
/* teléfono de pie con una pieza horizontal que no tiene versión de teléfono (p. ej. Moodz Identidades): se ve entera sobre su
   portada difuminada, como el vertical en la computadora, en vez de recortarla */
@media (orientation: portrait) {
	.mz-reel__stage.is-entero .mz-rota__v.is-on { object-fit: contain; }
	.mz-reel__stage.is-entero .mz-rota__fondo { opacity: 1; }
}
.mz-reel__servicio {
	position: absolute; top: 20px; left: calc(var(--mz-gut) + 4px); z-index: 3; display: inline-flex; align-items: center; gap: 10px;
	font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-pale);
	opacity: 0; transform: translateY(-4px); transition: opacity .6s var(--mz-ease), transform .6s var(--mz-ease); pointer-events: none;
}
.mz-reel__servicio .mz-diamond { width: 6px; height: 6px; background: var(--gold-pale); }
.mz-reel__servicio.is-on { opacity: 1; transform: none; }
.mz-reel__corner {
	position: absolute; top: 8px; right: calc(var(--mz-gut) + 4px); z-index: 4;
	display: flex; align-items: center; gap: 18px; padding: 6px 0 14px 48px;   /* zona de la esquina un poco más grande para el ratón */
}
.mz-reel__corner .mz-reel__sound { position: static; }
.mz-reel__menu { position: relative; }
.mz-reel__menu-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; min-height: 24px;
	font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(248, 244, 234, .66);
	transition: color .3s var(--mz-ease);
}
.mz-reel__menu-btn .mz-diamond { width: 6px; height: 6px; background: currentColor; }
.mz-reel__lista {
	position: absolute; top: calc(100% + 10px); right: 0; min-width: 260px; padding: 8px 0;
	background: rgba(14, 11, 8, .84); backdrop-filter: blur(8px); border: 1px solid rgba(232, 201, 117, .3); border-radius: var(--mz-radius);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .3s var(--mz-ease), transform .3s var(--mz-ease), visibility 0s linear .3s;
}
.mz-reel__menu.is-open .mz-reel__lista { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mz-reel__menu.is-open .mz-reel__menu-btn { color: var(--gold-pale); }
/* Al pasar el ratón solo donde hay ratón: en el teléfono el «hover» se queda pegado al último toque y la lista no cerraba. */
@media (hover: hover) and (pointer: fine) {
	.mz-reel__corner:hover .mz-reel__lista, .mz-reel__menu:focus-within .mz-reel__lista { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.mz-reel__corner:hover .mz-reel__menu-btn { color: var(--gold-pale); }
}
.mz-reel__lista button, .mz-reel__lista a {
	display: flex; text-decoration: none; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 18px; text-align: left;
	font-family: var(--mz-serif); font-size: 19px; font-weight: 300; color: var(--cream); transition: color .25s var(--mz-ease), background-color .25s var(--mz-ease);
}
.mz-reel__lista button::before, .mz-reel__lista a::before { content: ''; width: 5px; height: 5px; transform: rotate(45deg); background: transparent; border: 1px solid rgba(232, 201, 117, .6); flex: 0 0 auto; }
.mz-reel__lista button:hover, .mz-reel__lista button:focus-visible, .mz-reel__lista a:hover, .mz-reel__lista a:focus-visible { color: var(--gold-pale); background: rgba(232, 201, 117, .07); }
.mz-reel__lista button[aria-current="true"] { color: var(--gold-pale); }
.mz-reel__lista button[aria-current="true"]::before { background: var(--gold-pale); border-color: var(--gold-pale); }
/* F1198 · menú grande: las divisiones arriba y, debajo, los servicios en tres columnas por pilar. */
.mz-reel__lista:has(.mz-reel__catalogo) { width: min(760px, calc(100vw - 48px)); max-height: calc(100svh - 220px); overflow-y: auto; overscroll-behavior: contain; }
.mz-reel__lista:has(.mz-reel__catalogo) > li > button, .mz-reel__lista:has(.mz-reel__catalogo) > li > a { min-height: 34px; padding: 4px 18px; font-size: 16px; }
.mz-reel__catalogo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; margin-top: 8px; padding: 16px 18px 10px; border-top: 1px solid rgba(232, 201, 117, .2); }
.mz-reel__pilar { margin: 0 0 6px; font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-pale); }
.mz-reel__lista .mz-reel__catalogo a { min-height: 26px; padding: 3px 0; gap: 0; font-family: var(--mz-sans, Inter, sans-serif); font-size: 13px; color: rgba(248, 244, 234, .82); }
.mz-reel__lista .mz-reel__catalogo a::before { content: none; }
.mz-reel__lista .mz-reel__catalogo a:hover, .mz-reel__lista .mz-reel__catalogo a:focus-visible { background: none; color: var(--gold-pale); }
@media (max-width: 760px) { .mz-reel__catalogo { grid-template-columns: 1fr; gap: 14px; } }
.mz-reel__sale { margin-left: auto; font-family: var(--mz-sans, Inter, sans-serif); font-size: 13px; color: rgba(232, 201, 117, .7); }   /* división sin película: lleva a su página */
@media (prefers-reduced-motion: reduce) { .mz-rota__v, .mz-rota__fondo, .mz-reel__servicio, .mz-reel__lista { transition: none !important; } }
.mz-reel__sound {
	position: absolute; top: 22px; left: calc(var(--mz-gut) + 4px); z-index: 3;
	display: inline-flex; align-items: center; gap: 8px; padding: 4px 0;
	font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(248, 244, 234, .66);
	transition: color .3s var(--mz-ease);
}
.mz-reel__sound:hover, .mz-reel__sound[aria-pressed="true"] { color: var(--gold-pale); }
.mz-reel__sound .mz-ico { width: 14px; height: 14px; flex: 0 0 auto; }
.mz-reel__sound[aria-pressed="true"] .mz-ico--off, .mz-reel__sound[aria-pressed="false"] .mz-ico--on { display: none; }
/* Doble hairline dorada: sección oscura, identidad. */
.mz-reel__rule { position: absolute; left: var(--mz-gut); right: var(--mz-gut); height: 5px; pointer-events: none; z-index: 2; }
.mz-reel__rule::before, .mz-reel__rule::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold); opacity: .45; }
.mz-reel__rule::before { top: 0; } .mz-reel__rule::after { bottom: 0; }
.mz-reel__rule--top { top: 8px; } .mz-reel__rule--bottom { bottom: calc(var(--mz-plinth) + 6px); }

/* «Ver presentación» con las páginas legales debajo, centrados juntos en el zócalo a la derecha (pedido del dueño). */
.mz-reel__end {
	position: absolute; right: calc(var(--mz-gut) + 4px); bottom: 0; height: calc(var(--mz-plinth) + 6px); z-index: 3;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
}
.mz-reel__cta {
	height: var(--mz-pill-h); padding: 0 16px; border: 1px solid rgba(232, 201, 117, .55); border-radius: 999px;
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-pale);
	background: rgba(28, 24, 20, .6); backdrop-filter: blur(4px);
	transition: border-color .3s var(--mz-ease), background-color .3s var(--mz-ease);
}
.mz-reel__cta:hover { border-color: var(--gold-pale); background: rgba(28, 24, 20, .85); }
.mz-reel__cta .mz-diamond { background: var(--gold-pale); width: 6px; height: 6px; }

.mz-reel__claim {
	position: absolute; left: calc(var(--mz-gut) + 4px); bottom: 0; height: calc(var(--mz-plinth) + 6px); z-index: 3;
	display: flex; flex-direction: column; justify-content: center; gap: 4px;
	max-width: 60%; color: rgba(248, 244, 234, .86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	padding-bottom: 4px;   /* la tinta de Cormorant cae baja en su renglón: así queda el mismo aire arriba y abajo */
	font-family: var(--mz-serif); font-weight: 300; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.1;
}
.mz-reel__claim em { font-style: italic; color: var(--gold-pale); }
.mz-reel__claim small { display: block; font-family: var(--mz-sans); font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: rgba(248, 244, 234, .5); }

.mz-home__navband { height: var(--mz-mod); }

/* Páginas legales en el panel de la portada (WM-030): pequeñas, arriba a la derecha, bajo la hairline. */
.mz-reel__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 18px; padding-right: 2px; }
.mz-reel__legal a { display: inline-block; padding: 4px 0; font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(248, 244, 234, .66); transition: color .3s var(--mz-ease); }
.mz-reel__legal a:hover { color: var(--gold-pale); }

/* ── Pie legal de las páginas (WM-030) ─────────────────────────────────── */

/* F1204 · en las páginas de noche (fondo oscuro) el texto pequeño vuelve a los tonos claros */
body.is-night { --gold-text: #E8C975; --ink-mute-text: #B8AE9C; }
/* F1228 · Pie art déco (pedido del dueño, 28-oct-2026): columnas centradas con filete dorado entre ellas, título con su raya,
   enlaces en serif grandes, un arco con estrella a cada lado (solo en pantallas anchas), línea con estrella y barra final. */
.mz-legal { position: relative; overflow: hidden; margin-top: calc(var(--mz-mod) * 1.5); padding: 56px var(--mz-gut) 0; border-top: 1px solid rgba(168,130,26,.35); background: var(--cream); color: var(--ink-soft); }
.mz-legal__arco { position: absolute; top: 0; width: 140px; height: 420px; color: rgba(168,130,26,.75); pointer-events: none; display: none; }
.mz-legal__arco svg { display: block; width: 100%; height: 100%; }
.mz-legal__arco--izq { left: 0; }
.mz-legal__arco--der { right: 0; transform: scaleX(-1); }
@media (min-width: 1100px) { .mz-legal__arco { display: block; } }
.mz-indice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; text-align: center; }
.mz-indice__grupo { padding: 0 24px; }
.mz-indice__grupo + .mz-indice__grupo { border-left: 1px solid rgba(168,130,26,.35); }
.mz-indice__titulo { margin-bottom: 22px; font-family: var(--mz-serif); font-size: 14px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); }
.mz-indice__titulo::after { content: ""; display: block; width: 40px; height: 1px; margin: 12px auto 0; background: var(--gold); }
.mz-indice ul { display: grid; gap: 4px; }
.mz-indice a { display: inline-block; padding: 4px 0; font-family: var(--mz-serif); font-size: 21px; line-height: 1.3; color: var(--ink); transition: color .3s var(--mz-ease); }
.mz-indice a:hover, .mz-indice a[aria-current="page"] { color: var(--gold-text); }
@media (max-width: 700px) {
	.mz-indice { grid-template-columns: 1fr; gap: 32px; }
	.mz-indice__grupo + .mz-indice__grupo { border-left: 0; }
	.mz-indice a { padding: 7px 0; font-size: 19px; }
}
.mz-legal__sep { display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 40px auto 28px; color: var(--gold); }
.mz-legal__sep::before, .mz-legal__sep::after { content: ""; flex: 1; height: 1px; background: rgba(168,130,26,.45); }
.mz-legal__sep svg { flex: none; }
.mz-legal__aviso { max-width: 1180px; margin: 0 auto; font-family: var(--mz-serif); font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.mz-legal__aviso + .mz-legal__aviso { margin-top: 14px; }
.mz-legal__aviso a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.mz-legal__pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin: 32px calc(var(--mz-gut) * -1 + 24px) 0; padding: 18px 0 22px; border-top: 1px solid rgba(168,130,26,.45); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.mz-legal__pie ul { display: flex; flex-wrap: wrap; }
.mz-legal__pie li + li { border-left: 1px solid rgba(168,130,26,.55); }
.mz-legal__pie a { display: inline-block; padding: 6px 28px; transition: color .3s var(--mz-ease); }
.mz-legal__pie li:last-child a { padding-right: 0; }
.mz-legal__pie a:hover { color: var(--gold-text); }
@media (max-width: 700px) { .mz-legal__pie { justify-content: center; text-align: center; margin-left: 0; margin-right: 0; } .mz-legal__pie ul { justify-content: center; } .mz-legal__pie li + li { border-left: 0; } .mz-legal__pie a { padding: 6px 14px; } .mz-legal__pie li:last-child a { padding-right: 14px; } }

/* ── Reproductor de presentación ───────────────────────────────────────── */

.mz-player { position: fixed; inset: var(--mz-ab, 0px) 0 0; z-index: 5000; background: rgba(28, 24, 20, .92); display: grid; place-items: center; padding: var(--mz-gut); }
.mz-player[hidden] { display: none; }
.mz-player__frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--mz-radius); overflow: hidden; }
.mz-player__frame iframe { width: 100%; height: 100%; border: 0; }
.mz-player__close { position: absolute; top: var(--mz-gut); right: var(--mz-gut); width: var(--mz-pill-h); height: var(--mz-pill-h); border: 1px solid rgba(248, 244, 234, .5); border-radius: 50%; color: var(--cream); display: grid; place-items: center; }

/* ── TIRA HORIZONTAL (Proyectos y detalle) ─────────────────────────────── */

.mz-strip {
	--mz-strip-top: calc(var(--mz-mod) + clamp(40px, 10vh, 93px));   /* nav + aire, como Fables (163 a 900 de alto) */
	--mz-strip-h: calc(var(--mz-vh) - var(--mz-strip-top) - var(--mz-mod));
	height: var(--mz-vh);
	display: flex; align-items: flex-end;
	padding: var(--mz-strip-top) var(--mz-gut) 0;
	overflow-x: auto; overflow-y: hidden;
	scrollbar-width: none; -ms-overflow-style: none;
	overscroll-behavior-x: contain;
	cursor: grab;
}
.mz-strip::-webkit-scrollbar { display: none; }
.mz-strip.is-dragging { cursor: grabbing; user-select: none; }
.mz-strip img, .mz-strip video { -webkit-user-drag: none; user-select: none; }
.mz-strip--project { --mz-strip-top: calc(var(--mz-gut) + 2px); }
/* Cierre visual: aire al final de la tira. */
.mz-strip::after { content: ''; flex: 0 0 var(--mz-gut); height: 1px; }

.mz-piece {
	flex: 0 0 auto; display: flex; flex-direction: column;
	height: calc(var(--mz-strip-h) + var(--mz-mod));
	width: calc(var(--mz-strip-h) * var(--ratio, 1.5));
	margin-right: var(--mz-gut);
}
.mz-piece__media { position: relative; flex: 1 1 auto; min-height: 0; }
.mz-piece__media .mz-media { position: absolute; inset: 0; }
.mz-piece__media .mz-media > .mz-piece__video { position: absolute; inset: 0; }   /* F1182: sobre la portada */
.mz-piece__media img, .mz-piece__media video { transition: transform 1s var(--mz-ease); }
.mz-piece:hover .mz-piece__media img { transform: scale(1.025); }
.mz-piece:hover .mz-corners::before, .mz-piece:hover .mz-corners::after, .mz-piece:hover .mz-corners > .c::before, .mz-piece:hover .mz-corners > .c::after { opacity: 1; }

/* Banda inferior de 70: título + disciplina. */
.mz-piece__caption {
	height: var(--mz-mod); display: flex; align-items: center; gap: 18px; white-space: nowrap; overflow: hidden;
}
.mz-piece__title { font-family: var(--mz-serif); font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink); letter-spacing: -.005em; }
.mz-piece__cat   { font-family: var(--mz-sans); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute-text); transform: translateY(1px); }
.mz-piece a { display: contents; }

/* Bloques de presentación dentro de la tira. */
.mz-block--two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mz-gut); position: absolute; inset: 0; }
.mz-block--two .mz-media { position: relative; height: 100%; }
.mz-block--grid { position: absolute; inset: 0; display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; gap: var(--mz-gut); }
.mz-block--grid .mz-media { position: relative; }
.mz-block--grid .mz-media:first-child { grid-row: 1 / 3; }
.mz-block--board { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: var(--mz-gut); padding: var(--mz-gut); background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--mz-radius); }
.mz-block--board .mz-media { position: relative; background: var(--bg); }
.mz-block--board .mz-media img { object-fit: contain; padding: 12%; }
/* Tablero de fotos (p. ej. la flota de Ichy, 28-oct-2026): cada foto llena su celda, sin el margen de los logos. */
.mz-block--board-fotos .mz-media img { object-fit: cover; padding: 0; }

/* Marcos de dispositivo: CSS puro, sin imágenes de mockup. */
.mz-device { position: absolute; inset: 0; display: grid; place-items: center; }
.mz-device__body { position: relative; background: #0f0d0b; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
.mz-device__body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mz-device--phone .mz-device__body   { height: 92%; aspect-ratio: 9 / 19.2; border-radius: 34px; padding: 10px; }
.mz-device--phone .mz-device__body img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 26px; }
.mz-device--tablet .mz-device__body  { height: 90%; aspect-ratio: 3 / 4; border-radius: 22px; padding: 14px; }
.mz-device--tablet .mz-device__body img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); border-radius: 10px; }
.mz-device--laptop .mz-device__body  { width: 86%; aspect-ratio: 16 / 10; border-radius: 12px 12px 0 0; padding: 10px 10px 0; }
.mz-device--laptop .mz-device__body img { inset: 10px 10px 0; width: calc(100% - 20px); height: calc(100% - 10px); border-radius: 6px 6px 0 0; }
.mz-device--laptop .mz-device__base  { position: absolute; left: 50%; transform: translateX(-50%); width: 100%; height: 12px; margin-top: -12px; background: linear-gradient(#2a241d, #17130f); border-radius: 0 0 10px 10px; top: calc(50% + 43% * .625 + 6px); }
.mz-device--browser .mz-device__body { width: 92%; aspect-ratio: 16 / 10; border-radius: 8px; background: var(--cream); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line); }
.mz-device--browser .mz-device__bar  { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); background: var(--bg-warm); font-size: 10px; letter-spacing: .12em; color: var(--ink-mute-text); }
.mz-device--browser .mz-device__bar i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink-mute); }
.mz-device--browser .mz-device__bar span { margin-left: 8px; font-family: var(--mz-sans); }
.mz-device--browser .mz-device__body img { top: 30px; height: calc(100% - 30px); }

.mz-block--text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; }
.mz-block--text h2 { font-family: var(--mz-sans); font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.mz-block--text p  { font-family: var(--mz-serif); font-weight: 300; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; color: var(--ink); text-wrap: pretty; }
/* «Siguiente proyecto», recogido (28-oct-2026): franja estrecha con el nombre abajo; en vertical, una franja baja a lo ancho. */
.mz-piece--next .mz-block--text { justify-content: flex-end; padding: 0 10% 14%; }
.mz-piece--next .mz-block--text h2 { margin-bottom: 10px; }
.mz-piece--next .mz-block--text p { font-size: clamp(18px, 1.5vw, 22px); }
@media (orientation: portrait) { .mz-piece--next { --ratio: 3.4 !important; } .mz-piece--next .mz-block--text { justify-content: center; padding-bottom: 0; } }

/* Cabecera de Proyectos (vacía a propósito en escritorio: el trabajo es la interfaz). */
.mz-strip__lead { display: none; }

/* ── DETALLE DE PROYECTO ───────────────────────────────────────────────── */

.mz-project { position: relative; }
.mz-project__band {
	position: fixed; left: 0; right: 0; bottom: 0; height: var(--mz-mod); z-index: 1500;
	display: flex; align-items: center; gap: 18px; padding: 0 var(--mz-gut);
	background: var(--bg); pointer-events: none;
}
.mz-project__band > * { pointer-events: auto; }
.mz-project__title { font-family: var(--mz-serif); font-size: 24px; font-weight: 400; line-height: 1; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.mz-project__cat { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute-text); white-space: nowrap; }
.mz-project__info { margin-left: auto; flex: 0 0 auto; }

.mz-close-fixed { position: fixed; top: calc(var(--mz-gut) + 2px + var(--mz-ab, 0px)); right: var(--mz-gut); z-index: 1600; background: var(--bg); }

/* Panel Info: sube desde la banda. */
.mz-infos {
	position: fixed; left: 0; right: 0; bottom: var(--mz-mod); z-index: 1400;
	background: var(--bg); border-top: 1px solid var(--line);
	transform: translateY(102%); transition: transform .6s var(--mz-ease);
	max-height: calc(var(--mz-vh) - var(--mz-mod) - var(--mz-gut)); overflow: auto;
}
.mz-infos.is-open { transform: none; }
.mz-infos__inner { display: grid; grid-template-columns: minmax(0, 60ch) 1fr; gap: 48px; padding: 28px var(--mz-gut) 32px; }
.mz-infos__desc h2 { font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.mz-infos__desc p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }
.mz-infos__desc p + p { margin-top: 1em; }
.mz-datas { width: 100%; border-collapse: collapse; align-self: start; }
.mz-datas tr { border-top: 1px solid var(--line-soft); }
.mz-datas tr:last-child { border-bottom: 1px solid var(--line-soft); }
.mz-datas th, .mz-datas td { padding: 12px 0; vertical-align: top; text-align: left; font-weight: 300; }
.mz-datas th { width: 40%; font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-mute-text); padding-right: 16px; padding-top: 14px; }
.mz-datas td { font-size: 14px; color: var(--ink); }
.mz-datas a { border-bottom: 1px solid var(--line); }
/* F1183 · Información al final de la tira del proyecto: secciones y ficha, en una columna que se desplaza sola si es larga */
.mz-piece--info .mz-piece__media { background: transparent; }
.mz-info-col { position: absolute; inset: 0; overflow-y: auto; padding: 4px 3% 4px 3%; column-count: 2; column-gap: 48px; column-fill: auto; scrollbar-width: thin; }
.mz-info-col > * { break-inside: avoid; margin-bottom: 28px; }
.mz-info-col__sec h2 { font-family: var(--mz-sans); font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.mz-info-col__sec p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }
.mz-info-col__sec p + p { margin-top: .9em; }
.mz-info-col .mz-datas { margin-top: 6px; }
/* F1184 · Proyecto en vertical como la referencia: a sangre, un medio debajo de otro a todo el ancho, 8 px entre bloques. Antes
   llevaba márgenes, las parejas y rejillas iban lado a lado a 168 px (ilegibles) y los navegadores quedaban chicos con aire. */
@media (max-width: 900px), (orientation: portrait) {
	.mz-strip.mz-strip--project { padding-left: 0; padding-right: 0; }
	.mz-strip--project .mz-media { border-radius: 0; }
	.mz-strip--project .mz-piece--two-up .mz-piece__media, .mz-strip--project .mz-piece--grid .mz-piece__media { aspect-ratio: auto; }
	.mz-strip--project .mz-block--two, .mz-strip--project .mz-block--grid { position: relative; inset: auto; display: flex; flex-direction: column; gap: 8px; }
	.mz-strip--project .mz-block--two .mz-media, .mz-strip--project .mz-block--grid .mz-media { height: auto; }
	.mz-strip--project .mz-block--two .mz-media img, .mz-strip--project .mz-block--grid .mz-media img { height: auto; display: block; }
	.mz-strip--project .mz-piece--browser, .mz-strip--project .mz-piece--laptop { --ratio: 1.6 !important; }
	.mz-strip--project .mz-device--browser .mz-device__body { width: 100%; border-radius: 0; box-shadow: none; }
	.mz-strip--project .mz-device--laptop .mz-device__body { width: 100%; }
	.mz-strip--project .mz-piece--text .mz-block--text, .mz-strip--project .mz-info-col, .mz-strip--project .mz-piece--next .mz-block--text { padding-left: var(--mz-gut); padding-right: var(--mz-gut); }
}
@media (orientation: portrait) { .mz-piece--info { --ratio: 0.62 !important; } .mz-info-col { position: relative; inset: auto; overflow: visible; padding: 8px 0; column-count: 1; } .mz-piece--info .mz-piece__media { height: auto !important; aspect-ratio: auto !important; } }

/* ── ARCHIVO ───────────────────────────────────────────────────────────── */

.mz-archive { padding-top: var(--mz-mod); min-height: var(--mz-vh); }
.mz-archive__head {
	position: sticky; top: calc(var(--mz-mod) + var(--mz-ab, 0px)); z-index: 10; background: var(--bg);
	display: grid; grid-template-columns: minmax(200px, 360px) 1fr minmax(120px, auto) 88px; gap: var(--mz-gut);
	align-items: end; height: var(--mz-mod); padding: 0 var(--mz-gut) 12px;
	font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-mute-text);
}
.mz-archive__head::after { content: ''; position: absolute; left: var(--mz-gut); right: var(--mz-gut); bottom: 0; height: 1px; background: var(--ink-mute); }
.mz-archive__head .toggle { display: flex; gap: 20px; }
.mz-archive__head button { letter-spacing: inherit; text-transform: inherit; color: var(--ink-mute-text); transition: color .3s var(--mz-ease); }
.mz-archive__head button.is-active, .mz-archive__head button:hover { color: var(--ink); }
.mz-archive__head .ta-r { text-align: right; }
/* F1175 · columnas que ordenan: una flecha fina en la columna activa (arriba = ascendente) */
.mz-archive__head .mz-sort.is-sorted { color: var(--ink); }
.mz-archive__head .mz-sort.is-sorted::after { content: '↓'; margin-left: 6px; font-size: .9em; }
.mz-archive__head .mz-sort.is-sorted[data-dir="asc"]::after { content: '↑'; }
.mz-archive__count { font-family: var(--mz-serif); font-style: italic; font-weight: 400; font-size: 13px; letter-spacing: .05em; text-transform: none; color: var(--gold); margin-left: 10px; }

.mz-archive__filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px var(--mz-gut) 0; min-height: 0; }
.mz-archive__filters:empty { display: none; }
.mz-chip { display: inline-flex; align-items: center; gap: 10px; height: 28px; padding: 0 6px 0 12px; border: 1px solid var(--ink); border-radius: 999px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.mz-chip .mz-x { width: 9px; height: 9px; }

.mz-row {
	display: grid; grid-template-columns: minmax(200px, 360px) 1fr minmax(120px, auto) 88px; gap: var(--mz-gut);
	align-items: center; height: var(--mz-mod); padding: 0 var(--mz-gut);
	border-bottom: 1px solid var(--line);
	transition: background-color .3s var(--mz-ease);
}
.mz-row:hover { background: var(--bg-warm); }
.mz-row[hidden] { display: none; }
.mz-row__title { font-family: var(--mz-serif); font-size: 24px; font-weight: 400; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-row__details { position: relative; height: 1.2em; min-width: 0; overflow: hidden; }
.mz-row__details p { position: absolute; left: 0; top: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s var(--mz-ease), display .3s allow-discrete; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute-text); white-space: nowrap; }
/* GOAL-APP-CLON: la columna inactiva sale con display:none (no solo opacity:0): si no, la de encima se queda los clics y el lector lee las dos. */
.mz-row__details p { opacity: 0; display: none; }
.mz-archive[data-col="services"] .mz-row__details .services,
.mz-archive[data-col="deliverables"] .mz-row__details .deliverables { opacity: 1; display: block; }
.mz-row__industry, .mz-row__year { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute-text); text-align: right; white-space: nowrap; }
.mz-row__year { font-family: var(--mz-serif); font-size: 21px; letter-spacing: .02em; color: var(--ink); }
.mz-row [data-filter] { cursor: pointer; }
.mz-row [data-filter]:hover { color: var(--ink); }
/* Ficha del Archivo (28-oct-2026): el proyecto se abre dentro de la lista, recogido. Tira corta de imágenes y, al final, la
   tarjeta con quién es el cliente, qué hicimos y sus datos. Abre con un despliegue corto; con «reducir movimiento», sin él. */
.mz-row.is-open { background: var(--bg-warm); }
.mz-row.is-open .mz-row__title { font-style: italic; }
.mz-ficha { display: grid; grid-template-rows: 0fr; border-bottom: 1px solid var(--line); transition: grid-template-rows .42s var(--mz-ease); }
.mz-ficha.is-open { grid-template-rows: 1fr; }
.mz-ficha[hidden] { display: none; }
.mz-ficha__in { --alto: clamp(280px, 54vh, 480px); min-height: 0; overflow: hidden; display: flex; align-items: flex-start; gap: 10px; padding: 18px var(--mz-gut) 22px; }
.mz-ficha__tira { flex: 1 1 auto; min-width: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.mz-ficha__tira:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.mz-ficha__img { flex: 0 0 auto; height: var(--alto); aspect-ratio: var(--ratio, 1.5); margin: 0; background: var(--color, var(--bg-deep)); scroll-snap-align: start; overflow: hidden; }
.mz-ficha__img img, .mz-ficha__img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mz-ficha__info { flex: 0 0 auto; width: min(480px, 40vw); min-height: var(--alto); padding: 24px 28px; background: var(--bg-deep); color: var(--cream); display: flex; flex-direction: column; gap: 16px; }
.mz-ficha__info h3 { font-family: var(--mz-sans); font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 10px; }
.mz-ficha__info p { font-size: 14px; line-height: 1.55; color: var(--cream); text-wrap: pretty; }
.mz-ficha__info p + p { margin-top: .8em; }
.mz-ficha__datos { display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(248, 244, 234, .18); }
.mz-ficha__datos div { display: flex; gap: 14px; font-size: 12px; letter-spacing: .08em; }
.mz-ficha__datos dt { flex: 0 0 92px; text-transform: uppercase; color: var(--gold-pale); }
.mz-ficha__datos dd { margin: 0; color: var(--cream); }
.mz-ficha__ver { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border: 1px solid var(--gold-pale); border-radius: 999px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-pale); transition: background-color .3s var(--mz-ease), color .3s var(--mz-ease); }
.mz-ficha__ver:hover, .mz-ficha__ver:focus-visible { background: var(--gold-pale); color: var(--bg-deep); }
@media (max-width: 760px) { .mz-ficha__in { --alto: 240px; flex-direction: column; align-items: stretch; padding-top: 14px; } .mz-ficha__info { width: auto; min-height: 0; padding: 22px 20px; } }
@media (prefers-reduced-motion: reduce) { .mz-ficha { transition: none; } }
.mz-archive__empty { padding: 48px var(--mz-gut); font-family: var(--mz-serif); font-style: italic; font-size: 20px; color: var(--ink-mute-text); }

/* Preview flotante: fixed, sigue al cursor, altura min(50vh, 400). */
.mz-preview {
	--mz-pv-h: min(44vh, 360px);
	position: fixed; top: 0; left: 0; z-index: 5000; pointer-events: none;
	height: var(--mz-pv-h); width: calc(var(--mz-pv-h) * var(--ratio, .75));
	border-radius: var(--mz-radius); overflow: hidden; background: var(--color, var(--bg-deep));
	box-shadow: 0 24px 60px -24px rgba(28, 24, 20, .45);
	opacity: 0; transform: translate(-9999px, -9999px);
	transition: opacity .35s var(--mz-ease), width .5s var(--mz-ease);
}
.mz-preview.is-on { opacity: 1; }
.mz-preview__slides { display: flex; height: 100%; transition: transform .6s var(--mz-ease); }
.mz-preview__slides li { flex: 0 0 auto; height: 100%; width: calc(var(--mz-pv-h) * var(--ratio, .75)); background: var(--color, var(--bg-deep)); }
.mz-preview__slides img { width: 100%; height: 100%; object-fit: contain; }   /* F1052 · un logo nunca se recorta */

/* ── ESTUDIO (About) ───────────────────────────────────────────────────── */

.mz-about { padding-top: var(--mz-mod); }
.mz-about > * { padding-left: var(--mz-gut); padding-right: var(--mz-gut); }

/* F1054 · La primera pantalla de Estudio, en horizontal: el título a la izquierda y, a la derecha, la explicación con los
   botones de contacto debajo; todo dentro de la pantalla (también en el teléfono, apilado). Las letras se limitan por el
   ancho y por el alto visible (svh) para que nunca empujen nada fuera. */
.mz-about__intro {
	/* Sin forzar el alto de la ventana: el aire de arriba y abajo es solo el necesario (pedido del dueño). */
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
	column-gap: clamp(32px, 5vw, 112px); padding-top: clamp(28px, 5svh, 64px); padding-bottom: clamp(36px, 6svh, 72px);
}
.mz-statement {
	font-family: var(--mz-serif); font-weight: 300; font-size: min(clamp(44px, 6.4vw, 112px), 13svh); line-height: .98; letter-spacing: -.015em;
	max-width: 14ch; text-wrap: balance; color: var(--ink);
}
.mz-statement em { font-style: italic; color: var(--gold); }
.mz-about__side { display: grid; gap: clamp(20px, 3.2svh, 36px); align-content: center; }
.mz-mention { max-width: 60ch; }
.mz-mention p { font-family: var(--mz-sans); font-weight: 300; font-size: min(clamp(16px, 1.3vw, 21px), 2.5svh); line-height: 1.55; letter-spacing: -.005em; color: var(--ink-soft); text-wrap: pretty; }
.mz-mention p + p { margin-top: .9em; }
.mz-about__side .mz-links { padding-bottom: 0; }

.mz-links { display: flex; flex-wrap: wrap; gap: var(--mz-gap); padding-bottom: 48px; }

.mz-section { padding-top: 40px; padding-bottom: 8px; }
.mz-section > h2 { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-mute-text); padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid var(--ink-mute); }
.mz-lists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--mz-gut); }
.mz-lists h3 { font-family: var(--mz-serif); font-size: 22px; font-weight: 400; line-height: 1.1; margin-bottom: 10px; }
.mz-lists .role, .mz-lists .list li { font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.mz-lists .list li { display: flex; gap: 10px; align-items: baseline; }
.mz-lists .list li::before { content: '—'; color: var(--gold); flex: 0 0 auto; }
.mz-lists .role { color: var(--ink-mute-text); text-transform: uppercase; letter-spacing: .18em; font-size: 10.5px; }
.mz-member { display: grid; gap: 14px; align-content: start; }   /* F1226 · la tarjeta corta no reparte su sobrante: nombres al mismo nivel */
.mz-member .mz-media { aspect-ratio: 4 / 5; }
.mz-member__sin-foto { display: grid; place-items: center; background: var(--bg-deep); }
.mz-member__sin-foto > span:last-child { font-family: var(--mz-serif); font-size: clamp(44px, 5vw, 72px); letter-spacing: .06em; color: var(--gold-soft); }
.mz-member p.proof { margin-top: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--gold-text); }
.mz-member p.bio { font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
.mz-member .links { display: flex; gap: 14px; margin-top: 4px; }
.mz-member .links a { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; }

.mz-clients .mz-lists { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mz-about__gallery { padding: 48px var(--mz-gut) 16px; display: grid; grid-template-columns: 2fr 1fr; gap: var(--mz-gut); }
.mz-about__gallery .mz-media { aspect-ratio: 3 / 2; }
.mz-about__gallery .mz-media:last-child { aspect-ratio: auto; }

.mz-about__cta { padding: 64px var(--mz-gut) 40px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; border-top: 1px solid var(--line); margin: 48px var(--mz-gut) 0; padding-left: 0; padding-right: 0; }
.mz-about__cta p { font-family: var(--mz-serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; max-width: 20ch; text-wrap: balance; }
.mz-about__cta p em { font-style: italic; color: var(--gold); }

.mz-about__brand { padding: 32px var(--mz-gut) 0; overflow: hidden; }
.mz-about__brand .mz-wordmark { display: block; font-size: clamp(56px, 16vw, 240px); font-weight: 300; letter-spacing: .18em; text-align: center; line-height: .82; padding-left: .18em; max-width: 100%; }
.mz-about__brand .meta { display: flex; justify-content: space-between; align-items: center; height: var(--mz-mod); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-mute-text); border-top: 1px solid var(--line); margin-top: 24px; }

/* ── LAB ───────────────────────────────────────────────────────────────── */
.mz-lab { min-height: var(--mz-vh); padding: var(--mz-mod) var(--mz-gut) 0; display: grid; place-items: center; }
.mz-lab p { font-family: var(--mz-serif); font-weight: 300; font-size: clamp(40px, 8vw, 120px); line-height: 1; letter-spacing: -.01em; }
.mz-lab p em { font-style: italic; color: var(--gold); }

/* ── Proyectos en vertical (móvil / retrato) ───────────────────────────── */
@media (max-width: 900px), (orientation: portrait) {
	.mz-strip { height: auto; display: block; overflow: visible; padding: calc(var(--mz-mod) + 24px) var(--mz-gut) 0; cursor: auto; }
	.mz-strip--project { padding-top: calc(var(--mz-gut) + 2px); padding-bottom: var(--mz-mod); }
	.mz-strip::after { display: none; }
	.mz-piece { width: 100%; height: auto; margin: 0 0 8px; }
	.mz-piece__media { flex: none; aspect-ratio: var(--ratio, 1.5); }
	.mz-piece__caption { height: 56px; }
	.mz-piece__title { font-size: 20px; }
	.mz-strip__lead { display: block; padding: 0 0 20px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-mute-text); }
	.mz-infos__inner { grid-template-columns: 1fr; gap: 24px; }
	.mz-project__cat { display: none; }
	.mz-project__title { font-size: 19px; }
	.mz-archive__head { grid-template-columns: 1fr auto; height: auto; padding-top: 14px; }
	.mz-archive__head .ta-r { display: none; }
	.mz-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; height: auto; padding-top: 14px; padding-bottom: 14px; row-gap: 6px; }
	.mz-row__title { grid-column: 1; grid-row: 1; font-size: 20px; white-space: normal; }
	.mz-row__details { grid-column: 1; grid-row: 2; height: auto; }
	/* GOAL-APP-CLON: sin transición en móvil: aquí las columnas van en flujo y retener la saliente .3s duplicaba el alto de cada fila. */
	.mz-row__details p { position: static; display: none; white-space: normal; transition: none; }
	.mz-archive[data-col="services"] .mz-row__details .services,
	.mz-archive[data-col="deliverables"] .mz-row__details .deliverables { display: block; }
	.mz-row__industry { display: none; }
	.mz-row__year { grid-column: 2; grid-row: 1 / 3; align-self: start; }
	.mz-lists, .mz-clients .mz-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mz-lists h3, .mz-lists .list li { overflow-wrap: anywhere; }
	.mz-about__gallery { grid-template-columns: 1fr; }
	.mz-about__cta { grid-template-columns: 1fr; }
	.mz-about__intro { grid-template-columns: 1fr; align-content: center; row-gap: clamp(20px, 3.5svh, 32px); }
	.mz-statement { font-size: min(clamp(40px, 10.5vw, 64px), 8svh); }
	.mz-nav__pages li:first-child { flex: 0 0 auto; }
	.mz-nav__pages li { flex: 1 1 0; }
	.mz-pill { padding: 0 10px; font-size: 10px; letter-spacing: .14em; justify-content: center; }
	.mz-pill--brand .mz-wordmark { font-size: 14px; }
	.mz-pill__soon { display: none; }
	/* GOAL-APP-CLON: el diamante «Agendar llamada» ya no se esconde aquí: es la llamada a la acción principal del menú. */
	.mz-marquee { --mq-h: clamp(76px, 11vh, 96px); }
	.mz-marquee__item { font-size: min(clamp(64px, 19vw, 90px), calc((var(--mq-h) - 12px) / .81)); }
	/* F1050 · En el teléfono el zócalo apila la frase (arriba, a todo el ancho) y «Ver presentación» (abajo): ya no se pisan. */
	.mz-reel { --mz-plinth: 104px; --mz-head: 52px; gap: 8px; padding: var(--mz-head) 8px calc(8px + var(--mz-plinth)); }
	.mz-reel__sound { top: 11px; left: 4px; width: 44px; height: 44px; justify-content: center; padding: 0; }
	.mz-reel__sound span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.mz-reel__sound .mz-ico { width: 18px; height: 18px; }
	.mz-reel__corner { top: 4px; right: 4px; gap: 2px; padding: 0 0 0 16px; }
	.mz-reel__menu-btn { min-height: 44px; padding: 0 10px; }
	.mz-reel__lista { right: 4px; min-width: min(260px, calc(100vw - 48px)); }
	.mz-reel__servicio { top: 18px; left: 14px; font-size: 9px; letter-spacing: .24em; }
	.mz-reel__v:nth-of-type(2), .mz-reel__v:nth-of-type(3) { display: none; }
	.mz-reel__claim { left: 12px; right: 12px; bottom: 52px; height: auto; max-width: none; white-space: normal; font-size: 15px; line-height: 1.2; padding: 2px 0; }
	.mz-reel__claim small { display: none; }
	.mz-reel { --mz-plinth: 120px; }
	.mz-reel__claim { bottom: 72px; }
	.mz-reel__end { left: 12px; right: auto; bottom: 10px; height: auto; align-items: flex-start; }
	.mz-reel__legal { justify-content: flex-start; }
	.mz-reel__cta { height: 30px; padding: 0 12px; font-size: 10px; }
	.mz-preview { display: none; }
}

/* GOAL-APP-CLON: el 5.º botón ya no es «Lab: pronto» sino Partners y no se esconde, y el diamante Agendar se ve en
   móvil. Para que quepan los 5 y el diamante sin recortarse hasta 320 px, cada pill toma el ancho de su texto y la
   letra, el espaciado y el aire bajan por tramos. Solo las del menú (.mz-nav): las de Estudio y el «Info» del caso no encogen. */
@media (max-width: 600px) {
	.mz-nav { gap: 6px; }
	.mz-nav__pages { gap: 4px; }
	.mz-nav__pages li, .mz-nav__pages li:first-child { flex: 1 1 auto; }
	.mz-nav .mz-pill { padding: 0 6px; font-size: 9px; letter-spacing: .08em; }
	.mz-pill--brand .mz-wordmark { font-size: 12px; letter-spacing: .2em; }
	.mz-pill--brand .mz-wordmark i { margin-right: -.2em; }
}
@media (max-width: 420px) {
	.mz-nav__pages { gap: 3px; }
	.mz-nav .mz-pill { padding: 0 4px; letter-spacing: .02em; }
	.mz-pill--brand .mz-wordmark { font-size: 11px; letter-spacing: .14em; }
	.mz-pill--brand .mz-wordmark i { margin-right: -.14em; }
}
@media (max-width: 359px) {
	.mz-nav { --mz-pill-h: 30px; gap: 4px; }
	.mz-nav__pages { gap: 2px; }
	.mz-nav .mz-pill { padding: 0 3px; font-size: 8.5px; letter-spacing: 0; }
	.mz-pill--brand .mz-wordmark { font-size: 10px; letter-spacing: .1em; }
	.mz-pill--brand .mz-wordmark i { margin-right: -.1em; }
}

@media (max-width: 560px) {
	.mz-clients .mz-lists { grid-template-columns: 1fr; }
}

/* Teléfono · la frase, «Ver presentación» y los enlaces legales centrados en el panel (pedido del dueño, 25-oct-2026). */
@media (max-width: 900px), (orientation: portrait) {
	.mz-reel__claim { text-align: center; }
	.mz-reel__end { left: 12px; right: 12px; align-items: center; }
	.mz-reel__legal { justify-content: center; padding-right: 0; }
}

/* Teléfono · el menú como una sola cápsula Moodz (pedido del dueño: «los botones debería de ser diferente»): fondo tinta con
   filete de oro, sin un borde por botón, divisiones finas de oro, la sección activa en oro y 40 px de área táctil por
   botón; el diamante Agendar queda aparte como el único botón de acción. Solo estilo: el marcado y los enlaces no cambian. */
@media (max-width: 600px) {
	#mz-nav { gap: 6px; padding: 0 12px; }   /* F1167: la cápsula conserva sus 12 px; el resto del sitio usa 18 */
	#mz-nav .mz-nav__pages { gap: 0; align-items: center; height: 46px; padding: 0 1px; border-radius: 999px; background: var(--ink); box-shadow: inset 0 0 0 1px rgba(201, 162, 58, .55), 0 6px 18px rgba(28, 24, 20, .16); }
	#mz-nav .mz-nav__pages li { position: relative; flex: 1 1 auto; display: flex; min-width: 0; }
	#mz-nav .mz-nav__pages li + li::before { content: ''; position: absolute; left: 0; top: 13px; bottom: 13px; width: 1px; background: rgba(201, 162, 58, .38); }
	#mz-nav .mz-pill { height: 40px; border: 0; border-radius: 999px; padding: 0 4px; justify-content: center; background: transparent; color: rgba(248, 244, 234, .84); font-size: 9px; letter-spacing: 0; }   /* F1167: aire entre el texto y las divisiones (5 px recortaba 1 px a 390, F1053) */
	#mz-nav .mz-pill:hover { color: var(--gold-pale); }
	#mz-nav .mz-pill.is-active, #mz-nav .mz-pill[aria-current="page"] { background: rgba(232, 201, 117, .15); color: var(--gold-pale); }
	#mz-nav .mz-pill--brand .mz-wordmark { color: var(--cream); }
	#mz-nav .mz-pill--brand .mz-wordmark em { color: var(--gold-pale); }
	#mz-nav .mz-nav__pages li.mz-nav__regalo { flex: 0 0 auto; }
	#mz-nav .mz-pill.mz-regalo-btn { width: 44px; height: 44px; border-radius: 50%; color: var(--gold-pale); }   /* área táctil de 44 px (F1053) */
	#mz-nav .mz-dot { width: 44px; height: 44px; background: var(--ink); border-color: rgba(201, 162, 58, .65); }
	#mz-nav .mz-dot .mz-diamond { background: var(--gold-pale); }
	#mz-nav .mz-dot--cuenta { display: none; }   /* F1151: no cabe sin cortar las pills; va en el pie y en el panel de la portada */
}

/* F1172 · Menú del teléfono: la cápsula deja MOODZ, la sección en la que estás, el «+» y el regalo; las demás secciones (con
   Contacto y la cuenta) viven en la hoja que abre el «+». Letra de 12 px en vez de 9. En la computadora nada cambia. */
.mz-nav__mas, .mz-hoja { display: none; }
@media (max-width: 600px) {
	#mz-nav .mz-nav__pages > li:not(:first-child):not(.mz-nav__regalo):not(.mz-nav__mas):not(:has(> .is-active)) { display: none; }
	#mz-nav .mz-nav__pages > li.mz-nav__mas { display: flex; flex: 0 0 auto; }
	#mz-nav .mz-pill { font-size: 12px; letter-spacing: .06em; padding: 0 12px; }
	#mz-nav .mz-pill--brand .mz-wordmark { font-size: 12px; letter-spacing: .22em; }
	#mz-nav .mz-pill.mz-mas-btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--gold-pale); }
	#mz-nav .mz-mas-btn svg { transition: transform .3s var(--mz-ease); }
	#mz-nav .mz-mas-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
	#mz-nav .mz-hoja:not([hidden]) { display: block; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); z-index: 2; background: var(--ink); border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(201, 162, 58, .55), 0 14px 32px rgba(28, 24, 20, .22); padding: 6px 0; }
	#mz-nav[data-pos="bottom"] .mz-hoja:not([hidden]) { top: auto; bottom: calc(100% + 6px); }
	#mz-nav .mz-hoja ul { list-style: none; margin: 0; padding: 0; }
	#mz-nav .mz-hoja li + li { border-top: 1px solid rgba(201, 162, 58, .22); }
	#mz-nav .mz-hoja a { display: flex; align-items: center; min-height: 48px; padding: 0 22px; color: var(--cream); font-family: var(--mz-sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
	#mz-nav .mz-hoja a[aria-current="page"], #mz-nav .mz-hoja a:hover { color: var(--gold-pale); }
}
@media (max-width: 380px) {
	#mz-nav .mz-pill { padding: 0 1px; font-size: 8.5px; letter-spacing: 0; }
	#mz-nav .mz-pill--brand .mz-wordmark { font-size: 10px; letter-spacing: .1em; }
	#mz-nav .mz-pill--brand .mz-wordmark i { margin-right: -.1em; }
}
@media (max-width: 340px) {
	#mz-nav { gap: 5px; }
	#mz-nav .mz-pill { font-size: 8px; }
	#mz-nav .mz-dot { width: 42px; height: 42px; }
}

/* ── Movimiento reducido: cortes limpios, misma composición ─────────────── */
@media (prefers-reduced-motion: reduce) {
	.mz-nav, .mz-pill, .mz-dot, .mz-infos, .mz-preview, .mz-preview__slides, .mz-piece__media img { transition: none !important; }
	.mz-content.is-leaving, .mz-content.is-entering { animation: none !important; }
	.mz-marquee__track { animation: none !important; }
	.mz-js [data-reveal] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
	.mz-flip { display: none !important; }
}

/* ── Motion Conócenos (mzc) · «del valor invisible al sistema visible» ──────────────────────────────────────────
   Un gesto corto por sección, una sola vez, al entrar en pantalla ([data-mzc] → .is-in, mz-app.js initMotionConocenos).
   Todo nace del mismo diamante. Líneas que se dibujan (pathLength=1) y piezas que se ordenan con transform/opacity;
   ~0,9 s con --mz-ease-mzc (sale rápido, asienta suave). Sin JS o con movimiento reducido: la composición final, quieta. */
:root { --mz-ease-mzc: cubic-bezier(.16, 1, .3, 1); --mz-ease-mzc-mov: cubic-bezier(.65, 0, .35, 1); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mzc, .mzc-ico { display: block; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 1; stroke-linecap: square; }
.mzc { margin: 28px 0; max-width: 100%; }
#quienes-somos .mzc { margin: 0 0 2.5rem; }
.mzc .mzc-d, .mzc-ico .mzc-d, .mzc-ico .mzc-p, .mzc-ico .mzc-r path { fill: var(--gold); stroke: none; }
.mzc-ico { margin-bottom: 18px; }
#valores .mzc-ico { stroke: var(--gold-soft); }
#valores .mzc-ico .mzc-d, #valores .mzc-ico .mzc-p, #valores .mzc-ico .mzc-r path { fill: var(--gold-soft); }
.mzc--eje { display: none; width: 100%; height: 48px; margin: 0 0 -1px; stroke: rgba(168,130,26,.55); }
@media (min-width: 768px) { .mzc--eje { display: block; } }
.mzc--eje path { vector-effect: non-scaling-stroke; }
.mzc--doble { margin: 0 auto 2.2rem; }
.mzc-equipo .mz-team-card { position: relative; }
.mzc-equipo .mz-team-card::before, .mzc-equipo .mz-team-card::after { content: ""; position: absolute; z-index: 2; width: 34px; height: 34px; pointer-events: none; border: 0 solid var(--gold); }
.mzc-equipo .mz-team-card::before { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; transform-origin: 0 0; }
.mzc-equipo .mz-team-card::after { right: 10px; bottom: 10px; border-bottom-width: 1px; border-right-width: 1px; transform-origin: 100% 100%; }

/* Estado de partida (solo con JS y con movimiento permitido) */
@media (prefers-reduced-motion: no-preference) {
	.mz-js [data-mzc] .mzc-l { stroke-dasharray: 1; stroke-dashoffset: 1; }
	.mz-js [data-mzc] .mzc-d { opacity: 0; transform: scale(.6) rotate(-45deg); transform-box: fill-box; transform-origin: center; }
	.mz-js .mzc--claridad .mzc-s { transform: translate(var(--x), var(--y)) rotate(var(--r)); transform-box: fill-box; transform-origin: center; opacity: .45; }
	.mz-js [data-mzc] .mzc-g { transform-box: fill-box; transform-origin: center; }
	.mz-js [data-mzc] .mzc-g--a { transform: rotate(-38deg); }
	.mz-js [data-mzc] .mzc-g--b { transform: rotate(38deg); }
	.mz-js [data-mzc] .mzc-p { opacity: 0; }
	.mz-js [data-mzc] .mzc-x { opacity: .9; }
	.mz-js [data-mzc] .mzc-e { transform: rotate(-45deg) translate(-3px, 3px); transform-box: fill-box; transform-origin: center; }
	.mz-js [data-mzc] .mzc-r path { transform: translate(var(--x), var(--y)) rotate(45deg); transform-box: fill-box; transform-origin: center; opacity: .3; }
	.mz-js .mzc-equipo .mz-team-card::before, .mz-js .mzc-equipo .mz-team-card::after { transform: scale(.4); opacity: 0; }
	.mz-js .mzc-manifiesto .mzc-w { display: inline-block; opacity: 0; transform: translateY(.35em); }

	/* Llegada */
	[data-mzc].is-in .mzc-l { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--mz-ease-mzc) var(--t, .12s); }
	[data-mzc].is-in .mzc-l--2 { --t: .42s; }
	[data-mzc].is-in .mzc-d { opacity: 1; transform: none; transition: opacity .5s var(--mz-ease-mzc) .05s, transform .8s var(--mz-ease-mzc) .05s; }
	.mzc--claridad.is-in .mzc-s { transform: none; opacity: 1; transition: transform .9s var(--mz-ease-mzc-mov), opacity .6s var(--mz-ease-mzc); }
	.mzc--claridad.is-in .mzc-s:nth-of-type(2) { transition-delay: .05s; } .mzc--claridad.is-in .mzc-s:nth-of-type(3) { transition-delay: .1s; }
	.mzc--claridad.is-in .mzc-s:nth-of-type(4) { transition-delay: .15s; } .mzc--claridad.is-in .mzc-s:nth-of-type(5) { transition-delay: .2s; }
	.mzc--claridad.is-in .mzc-d { transition-delay: .55s; }
	[data-mzc].is-in .mzc-g { transform: none; transition: transform 1s var(--mz-ease-mzc-mov) var(--t, .12s); }
	[data-mzc].is-in .mzc-p { opacity: 1; transition: opacity .4s var(--mz-ease-mzc) var(--t, 0s); }
	[data-mzc].is-in .mzc-x { opacity: 0; transform: scale(.92); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--mz-ease-mzc) .35s, transform .9s var(--mz-ease-mzc); }
	[data-mzc].is-in .mzc-e { transform: none; transition: transform 1.05s var(--mz-ease-mzc-mov) var(--t, .12s); }
	[data-mzc].is-in .mzc-r path { transform: none; opacity: 1; transition: transform 1s var(--mz-ease-mzc-mov) var(--t, .12s), opacity .6s var(--mz-ease-mzc) var(--t, .12s); }
	.mzc-equipo.is-in .mz-team-card::before, .mzc-equipo.is-in .mz-team-card::after { transform: none; opacity: 1; transition: transform .8s var(--mz-ease-mzc) .2s, opacity .4s var(--mz-ease-mzc) .2s; }
	.mzc-manifiesto.is-in .mzc-w { opacity: 1; transform: none; transition: opacity .6s var(--mz-ease-mzc), transform .7s var(--mz-ease-mzc); transition-delay: calc(.35s + var(--i) * 28ms); }

	/* Cascada: cada tarjeta de pilares, valores y equipo arranca 90 ms después de la anterior */
	[data-mzc] > :nth-child(2) { --t0: .09s; } [data-mzc] > :nth-child(3) { --t0: .18s; } [data-mzc] > :nth-child(4) { --t0: .27s; }
	[data-mzc] > :nth-child(5) { --t0: .36s; } [data-mzc] > :nth-child(n+6) { --t0: .45s; }
	#mz-cn-pillars-grid.is-in > *, #mz-cn-values-grid.is-in > * { --t: calc(var(--t0, 0s) + .12s); }
	#mz-cn-pillars-grid.is-in > * .mzc-l--2, #mz-cn-values-grid.is-in > * .mzc-l--2 { --t: calc(var(--t0, 0s) + .4s); }
	.mzc-equipo.is-in > .mz-team-card::before, .mzc-equipo.is-in > .mz-team-card::after { transition-delay: calc(var(--t0, 0s) + .2s); }
}
