/* Musique · una noche de evento a la luz de las velas.
   Umbra cálida, vino profundo, marfil y el oro de la marca. Grano de película y luz que respira. */
:root {
  --noche: #120d08;
  --umbra: #1d150d;
  --vino: #2e1114;
  --marfil: #efe5d0;
  --marfil-suave: #b9ad95;
  --oro: #d4ab2a;
  --oro-claro: #ecbf10;
  --oro-viejo: #8a6d12;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --curva: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--noche); scrollbar-width: thin; scrollbar-color: rgba(212,171,42,.55) var(--noche); }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--noche); }
html::-webkit-scrollbar-thumb { background: linear-gradient(var(--oro-viejo), var(--oro), var(--oro-viejo)); border: 2px solid var(--noche); border-radius: 8px; }
html::-webkit-scrollbar-thumb:hover { background: var(--oro-claro); }
body { color: var(--marfil); font: 300 17px/1.7 var(--sans); background: var(--noche); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.cargando { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--oro); }
::selection { background: var(--oro); color: var(--noche); }
:focus-visible { outline: 1px solid var(--oro); outline-offset: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* grano de película */
body::after { content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 90; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 1s steps(4) infinite; }
@keyframes grano { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* luces de vela que respiran en el salón */
.luces { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.luces i { translate: var(--mx, 0) var(--my, 0); position: absolute; border-radius: 50%; filter: blur(70px); opacity: .22; animation: vela 9s ease-in-out infinite alternate; }
.luces i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: 8vh; background: #b4741c; }
.luces i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 48vh; background: #6e1f22; animation-duration: 12s; }
.luces i:nth-child(3) { width: 30vw; height: 30vw; left: 38vw; bottom: -14vw; background: #c99a2e; animation-duration: 7s; opacity: .14; }
@keyframes vela { 0% { transform: scale(1) translate(0, 0); opacity: .16; } 40% { opacity: .26; } 100% { transform: scale(1.15) translate(3vw, -2vh); opacity: .2; } }

.voz { font: italic 400 22px var(--serif); color: var(--oro); margin-bottom: 18px; }
.titulo-sec { font: 300 clamp(40px, 5.2vw, 78px)/1.02 var(--serif); letter-spacing: -.01em; margin-bottom: 28px; }
.titulo-sec em { display: block; }
.parrafo { color: var(--marfil-suave); max-width: 42ch; }

/* ---------- precarga y ritual ---------- */
.telon { position: fixed; inset: 0; z-index: 100; background: var(--noche); display: grid; place-items: center; align-content: center; gap: 18px; text-align: center;
  transition: opacity 1.6s var(--curva) .3s, visibility 0s 2s; }
.telon.abierto { opacity: 0; visibility: hidden; }
.telon-luz { position: absolute; left: 50%; top: 42%; width: 70vmin; height: 70vmin; margin: -35vmin; border-radius: 50%; background: radial-gradient(circle, rgba(212,150,40,.35), transparent 65%);
  transform: scale(var(--luz, .2)); opacity: var(--luz, .2); transition: transform .6s, opacity .6s; }
.telon-logo { position: relative; width: clamp(180px, 22vw, 260px); height: auto; filter: drop-shadow(0 0 18px rgba(236,191,16,.4)); }
.telon-cuenta { position: relative; font: 300 clamp(70px, 10vw, 130px)/1 var(--serif); color: var(--marfil); font-variant-numeric: tabular-nums; min-width: 3ch; transition: opacity .6s; }
.telon-frase { position: relative; font: italic 400 22px var(--serif); color: var(--marfil-suave); opacity: 0; transition: opacity 1s .2s; }
.telon-botones { position: relative; display: grid; gap: 14px; justify-items: center; margin-top: 18px; opacity: 0; transform: translateY(10px); transition: opacity 1s .5s, transform 1s .5s var(--curva); pointer-events: none; }
.telon.listo .telon-cuenta { display: none; }
.telon.listo .telon-frase, .telon.listo .telon-botones { opacity: 1; transform: none; pointer-events: auto; }
.telon-botones button { font: 400 12px var(--sans); letter-spacing: .3em; text-transform: uppercase; padding: 16px 30px; border: 1px solid rgba(212,171,42,.6); color: var(--oro-claro); transition: background .5s, color .5s; }
.telon-botones button:hover { background: var(--oro); color: var(--noche); }
.telon-botones .discreto { border-color: transparent; color: var(--marfil-suave); padding: 6px; font-size: 11px; }
.telon-botones .discreto:hover { background: none; color: var(--marfil); }

/* ---------- barra ---------- */
.barra { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 4vw, 56px); transition: background .6s, padding .6s; }
.barra.llena { background: rgba(18,13,8,.78); backdrop-filter: blur(14px); padding-block: 12px; }
.marca img { width: 118px; height: auto; }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.barra::before { content: ''; position: absolute; inset: 0 0 -70px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(18,13,8,.82), rgba(18,13,8,.45) 55%, transparent); transition: opacity .6s; }
.barra.llena::before { opacity: 0; }
.menu { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.menu > a:not(.boton-fino) { color: var(--marfil); transition: color .4s; }
.menu > a:not(.boton-fino):hover { color: var(--oro-claro); }
.idioma { letter-spacing: .2em; color: var(--marfil); }
.boton-fino { border: 1px solid rgba(236,191,16,.8); background: rgba(18,13,8,.35); padding: 10px 18px; color: var(--oro-claro); transition: background .4s, color .4s; }
.boton-fino:hover { background: var(--oro); color: var(--noche); }
.sonido { width: 26px; height: 20px; display: grid; place-items: center; }
.ondas { display: flex; gap: 2px; align-items: center; height: 14px; }
.ondas i { width: 2px; height: 3px; background: var(--oro); }
.sonido[aria-pressed="true"] .ondas i { animation: ola 1s ease-in-out infinite; }
.ondas i:nth-child(2) { animation-delay: .2s !important; } .ondas i:nth-child(3) { animation-delay: .4s !important; } .ondas i:nth-child(4) { animation-delay: .1s !important; }
@keyframes ola { 0%, 100% { height: 3px; } 50% { height: 14px; } }

/* ---------- el hilo ---------- */
.hilo { position: absolute; left: 0; top: 0; width: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.hilo path { fill: none; stroke: var(--oro); stroke-width: 1.2; opacity: .6; }

main { position: relative; z-index: 3; overflow: clip; }
main > section { position: relative; }
.escena { z-index: 6; }

/* ---------- la escena: una película lenta de sus eventos ---------- */
.escena { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--noche); }
.tomas, .toma { position: absolute; inset: 0; margin: 0; }
.toma { opacity: 0; transition: opacity 2.4s cubic-bezier(.45, 0, .2, 1); }
.toma.on { opacity: 1; }
.toma img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%);
  filter: sepia(.12) saturate(.95) contrast(1.04) brightness(.9); transform: scale(1.08); transition: transform 9s linear; }
.toma.on img { transform: scale(1); }
.escena::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(18,13,8,.55), transparent 24%), linear-gradient(transparent 48%, rgba(18,13,8,.35) 66%, rgba(18,13,8,.88)); }
.escena-titular { position: absolute; z-index: 2; left: clamp(22px, 6vw, 96px); right: clamp(22px, 6vw, 96px); bottom: clamp(120px, 17vh, 170px); margin: 0;
  font: 400 clamp(36px, 5.2vw, 92px)/1.04 var(--serif); letter-spacing: -.02em; color: var(--marfil); max-width: 14em; text-wrap: balance; }
.escena-titular em { color: var(--oro-claro); }
.escena-pie { position: absolute; z-index: 2; left: clamp(22px, 6vw, 96px); right: clamp(22px, 6vw, 96px); bottom: clamp(34px, 6vh, 56px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 18px; border-top: 1px solid rgba(239,229,208,.22); }
.creditos { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 3vw, 44px); }
.creditos li { position: relative; display: flex; gap: 10px; align-items: baseline; font: italic 400 17px/1.3 var(--serif); color: rgba(239,229,208,.45); transition: color 1.2s; cursor: pointer; }
.creditos li .n { font: 400 12px var(--sans); color: inherit; }
.creditos li.on { color: var(--marfil); }
.creditos li::before { content: ''; position: absolute; left: 0; right: 0; top: -19px; height: 1px; background: var(--oro); transform: scaleX(0); transform-origin: left; }
.creditos li.on::before { transform: scaleX(1); transition: transform 7s linear; }
.enlace-fecha { flex: none; color: var(--oro-claro); font: 400 15px var(--sans); letter-spacing: .04em; padding-bottom: 6px; background: linear-gradient(var(--oro), var(--oro)) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--curva); }
.enlace-fecha:hover { background-size: 40% 1px; }
.escena-titular, .escena-pie { opacity: 0; transform: translateY(22px); transition: opacity 1.6s var(--curva), transform 1.6s var(--curva); }
body:not(.cargando) .escena-titular { opacity: 1; transform: none; transition-delay: .3s; }
body:not(.cargando) .escena-pie { opacity: 1; transform: none; transition-delay: .8s; }
@media (max-width: 820px) {
  .toma img { object-position: var(--pm, var(--pos, 50% 50%)); }
  .creditos li:not(.on) { display: none; }
  .creditos li::before { top: -19px; }
  .escena-titular { bottom: 128px; }
}
@media (prefers-reduced-motion: reduce) { .toma img, .toma.on img { transition: none; transform: none; } }
.titular { font: 300 clamp(42px, 5.6vw, 92px)/1 var(--serif); letter-spacing: -.015em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.titular span, .titular em { display: block; }

/* ---------- manifiesto ---------- */
.manifiesto { position: relative; padding: 26vh clamp(24px, 9vw, 160px) 20vh; }
.manifiesto-texto { font: 300 clamp(30px, 3.6vw, 56px)/1.25 var(--serif); max-width: 22em; }
.manifiesto-texto .p { color: rgba(239,229,208,.16); transition: color .5s; }
.manifiesto-texto .p.on { color: var(--marfil); }
.manifiesto-texto .p.oro.on { color: var(--oro); font-style: italic; }
.firmas { display: flex; gap: clamp(16px, 3vw, 46px); justify-content: flex-end; margin-top: 14vh; }
.firmas figure { width: clamp(140px, 17vw, 250px); }
.firmas figure:nth-child(2) { margin-top: 10vh; } .firmas figure:nth-child(3) { margin-top: -4vh; }
.firmas img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: sepia(.2) brightness(.85); transition: filter .8s; }
.firmas figure:hover img { filter: none; }
.firmas figcaption { font: italic 400 22px var(--serif); color: var(--oro); margin-top: 10px; }

/* ---------- momentos ---------- */
.momentos { height: 480vh; position: relative; }
.momentos-fijo { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--noche); }
.momento { position: absolute; inset: 0; clip-path: circle(var(--r, 0%) at var(--x, 50%) 55%); }
.momento:first-of-type { --r: 150%; }
.momento img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.15 - var(--k, 0) * .15)); filter: sepia(.2) brightness(.72) contrast(1.08); }
.momento::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,8,.75), transparent 60%), linear-gradient(transparent 60%, rgba(18,13,8,.6)); }
.momento-texto { position: absolute; z-index: 2; left: clamp(24px, 7vw, 120px); bottom: 14vh; max-width: 560px; }
.hora { display: block; margin-bottom: 6px; font: italic 400 clamp(18px, 1.6vw, 23px)/1.3 var(--serif); color: var(--oro); }
.momento-texto h2 { font: italic 300 clamp(44px, 6vw, 96px)/1 var(--serif); margin: .12em 0 18px .05em; line-height: 1.05; }
.momento-texto p { font-size: 18px; color: var(--marfil-suave); max-width: 34ch; }
.reloj { position: absolute; z-index: 5; right: clamp(20px, 4vw, 56px); top: 50%; transform: translateY(-50%); list-style: none; display: grid; gap: 14px; font: italic 400 18px var(--serif); color: rgba(239,229,208,.62); text-align: right; text-shadow: 0 1px 14px rgba(0,0,0,.7); }
.reloj li { transition: color .5s; position: relative; padding-right: 22px; }
.reloj li::after { content: ''; position: absolute; right: 0; top: 50%; width: 12px; height: 1px; background: currentColor; transition: width .5s; }
.reloj li.on { color: var(--oro-claro); }
.reloj li.on::after { width: 18px; }

/* ---------- empresas ---------- */
.empresas { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; padding: 28vh clamp(24px, 7vw, 120px) 22vh; background: linear-gradient(var(--noche), var(--vino) 50%, var(--noche)); overflow: hidden; }
.empresas-foto { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; box-shadow: 0 50px 100px -50px #000; }
.empresas-foto img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--y, 0)); filter: sepia(.2) brightness(.85); }
.empresas-texto { position: relative; z-index: 1; }

/* ---------- exposición ---------- */
.expo { position: relative; padding: 22vh clamp(16px, 4vw, 60px) 16vh; overflow: hidden; }
.expo-cabeza { text-align: center; margin-bottom: 9vh; }
.expo-cabeza .titulo-sec { margin: 0; }
.expo-muro { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 44px); align-items: start; }
.columna { display: grid; gap: clamp(16px, 3vw, 44px); will-change: transform; }
.columna:nth-child(2) { margin-top: 18vh; }
.obra { position: relative; cursor: zoom-in; overflow: hidden; }
.obra img { width: 100%; height: auto; filter: sepia(.25) brightness(.7) saturate(.85); transition: filter 1s, transform 1.4s var(--curva); }
.obra:hover img { filter: none; transform: scale(1.04); }
.obra::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(236,191,16,0); transition: border-color .8s; pointer-events: none; }
.obra:hover::after { border-color: rgba(236,191,16,.5); }

/* ---------- programa impreso: cabe en una pantalla ---------- */
.programa { position: relative; min-height: 100svh; padding: 12vh clamp(16px, 6vw, 120px); display: grid; place-items: center; }
.programa-hoja { width: min(640px, 100%); background: linear-gradient(160deg, #f4ebd8, #e5d7bb); color: #2a2014; padding: clamp(34px, 5vh, 56px) clamp(26px, 5vw, 64px) clamp(28px, 4vh, 44px); text-align: center;
  box-shadow: 0 60px 120px -40px #000, inset 0 0 70px rgba(120,80,20,.16); transform: rotate(-.5deg); position: relative; }
.programa-hoja::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(138,109,18,.5); pointer-events: none; }
.programa-hoja::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(138,109,18,.22); pointer-events: none; }
.programa-logo { display: block; margin: 0 auto 10px; width: 92px; height: auto; filter: brightness(.55) sepia(1); }
.programa-titulo { font: italic 400 clamp(38px, 4.4vw, 58px)/1 var(--serif); color: #7a1f22; }
.programa-sub { font: 400 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #7d6a48; margin: 12px auto 24px; max-width: 36ch; line-height: 1.7; }
.programa-sub::after { content: '❦'; display: block; margin-top: 12px; font: 400 18px/1 var(--serif); letter-spacing: 0; color: #a0842c; }
.obras { list-style: none; text-align: left; border-top: 1px solid rgba(138,109,18,.3); }
.obras li { display: flex; align-items: baseline; gap: 12px; padding: 12px 8px; border-bottom: 1px solid rgba(138,109,18,.18); cursor: default; transition: background .5s, padding .5s var(--curva); }
.obras .num { flex: none; width: 2.4em; font: italic 400 15px var(--serif); color: #a0842c; }
.obras b { font: 400 clamp(20px, 2vw, 26px)/1.15 var(--serif); white-space: nowrap; transition: color .4s; }
.obras .puntos { flex: 1; border-bottom: 1px dotted rgba(42,32,20,.35); transform: translateY(-5px); min-width: 20px; }
.obras i { font: italic 400 15px var(--serif); color: #6b5a3c; white-space: nowrap; }
.obras li:hover { background: rgba(138,109,18,.09); padding-left: 14px; }
.obras li:hover b { color: #7a1f22; font-style: italic; }
.obra-flotante { position: fixed; z-index: 40; top: 0; left: 0; width: 240px; aspect-ratio: 3 / 4; pointer-events: none; overflow: hidden; opacity: 0;
  transform: translate(var(--fx, 0), var(--fy, 0)) rotate(4deg) scale(.92); transition: opacity .45s, transform .18s linear; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 6px solid #f2e8d3; }
.obra-flotante.ver { opacity: 1; }
.obra-flotante img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- invitación con sello ---------- */
.invitacion { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(30px, 6vw, 100px); align-items: center; min-height: 100svh; padding: 12vh clamp(24px, 7vw, 120px) 10vh; }
.invitacion-texto .titulo-sec { font-size: clamp(36px, 4.2vw, 64px); }
.tarjeta { position: relative; display: grid; gap: 14px; background: linear-gradient(160deg, #f4ebd8, #e6d9bf); color: #2a2014; padding: clamp(36px, 5vh, 50px) clamp(26px, 3vw, 44px) clamp(24px, 3vh, 32px);
  box-shadow: 0 60px 120px -40px #000; transform: rotate(.8deg); }
.tarjeta::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(138,109,18,.45); pointer-events: none; }
.tarjeta::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(138,109,18,.2); pointer-events: none; }
.sello { position: absolute; top: -34px; right: 30px; width: 76px; height: 76px; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #8a2a2c, #5a1518 60%, #3c0c0f); filter: drop-shadow(0 8px 10px rgba(0,0,0,.45));
  clip-path: polygon(50% 0, 61% 4%, 72% 2%, 80% 10%, 91% 13%, 94% 24%, 100% 34%, 97% 46%, 100% 58%, 94% 68%, 92% 80%, 82% 86%, 74% 96%, 62% 95%, 50% 100%, 39% 96%, 27% 97%, 19% 88%, 8% 82%, 6% 70%, 0 60%, 3% 48%, 0 36%, 7% 26%, 10% 14%, 21% 10%, 30% 2%, 40% 4%); }
.sello::before { content: ''; position: absolute; inset: 12px; border-radius: 50%; box-shadow: inset 0 2px 4px rgba(0,0,0,.5), 0 1px 0 rgba(255,190,170,.2); }
.sello span { position: relative; font: 400 38px/1 var(--serif); color: rgba(60,8,10,.75); text-shadow: 0 1px 0 rgba(255,190,170,.25), 0 -1px 1px rgba(0,0,0,.45); }
.tarjeta-encabezado { font: italic 400 26px var(--serif); color: #7a1f22; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid rgba(138,109,18,.3); }
.tarjeta label { display: grid; gap: 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #6b5a3c; }
.tarjeta .dos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.tarjeta input, .tarjeta select, .tarjeta textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(42,32,20,.3); color: #2a2014;
  font: 400 17px var(--serif); padding: 5px 0 4px; letter-spacing: normal; text-transform: none; border-radius: 0; transition: border-color .4s; color-scheme: light; }
.tarjeta input:focus, .tarjeta select:focus, .tarjeta textarea:focus { outline: none; border-color: #7a1f22; }
.tarjeta textarea { resize: none; height: 2.6em; }
.trampa { position: absolute !important; left: -9999px; }
.boton { margin-top: 6px; background: #2a2014; color: #f2e8d3; padding: 17px 26px; font: 400 12px var(--sans); letter-spacing: .26em; text-transform: uppercase; transition: background .4s, transform .4s var(--curva); }
.boton:hover { background: #7a1f22; }
.boton:active { transform: scale(.98); }
.boton[disabled] { opacity: .5; cursor: wait; }
.aviso { min-height: 1.2em; font: italic 17px var(--serif); color: #7a1f22; }

.pie { position: relative; z-index: 3; display: grid; gap: 16px; justify-items: center; text-align: center; padding: 64px 24px 40px; color: var(--marfil-suave); font-size: 14px; border-top: 1px solid rgba(212,171,42,.15); }
.pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; }
.pie nav a:hover { color: var(--oro); }
.legal { font-size: 12px; opacity: .6; }

.visor { position: fixed; inset: 0; z-index: 80; background: rgba(12,8,5,.94); display: grid; place-items: center; padding: 5vh 5vw; animation: aparecer .5s var(--curva); }
.visor[hidden] { display: none; }
.visor img { max-height: 90vh; width: auto; box-shadow: 0 40px 90px -30px #000; }
.visor button { position: absolute; top: 20px; right: 28px; font: 300 44px var(--serif); color: var(--marfil); }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }

.revela { opacity: 0; transform: translateY(30px); transition: opacity 1.3s var(--curva), transform 1.3s var(--curva); }
.revela.visto { opacity: 1; transform: none; }
.descubre { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s cubic-bezier(.7, 0, .2, 1) var(--tarde, 0s); }
.descubre img { transform: scale(1.25); transition: transform 2.2s var(--curva) var(--tarde, 0s), filter 1s; }
.descubre.visto { clip-path: inset(0 0 0 0); }
.descubre.visto img { transform: none; }
.obra.descubre.visto:hover img { transform: scale(1.04); }
.momento-texto > * { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--curva), transform 1.2s var(--curva); }
.momento.vivo .momento-texto > * { opacity: 1; transform: none; }
.momento.vivo .momento-texto > :nth-child(2) { transition-delay: .12s; }
.momento.vivo .momento-texto > :nth-child(3) { transition-delay: .24s; }

@media (max-width: 860px) {
  .menu > a:not(.boton-fino) { display: none; }
  .boton-fino { padding: 8px 12px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
  .marca img { width: 92px; }
  .firmas { justify-content: center; }
  .firmas figure { width: 30vw; }
  .empresas, .invitacion { grid-template-columns: 1fr; }
  .reloj { gap: 10px; font-size: 15px; top: auto; bottom: 14vh; transform: none; }
  .momento-texto { right: 130px; }
  .obras b { white-space: normal; font-size: 24px; }
  .obras li { flex-wrap: wrap; }
  .obras .puntos { display: none; }
  .obras i { width: 100%; padding-left: 48px; font-size: 14px; margin-top: -4px; }
  .obras b { font-size: 20px; }
  .tarjeta .dos { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .invitacion { min-height: 0; padding: 12vh 20px 8vh; gap: 48px; }
  .programa { min-height: 0; padding: 10vh 16px; }
  .obra-flotante { display: none; }
  .programa-hoja { transform: none; }
}
@media (max-width: 640px) {
  .expo-muro { grid-template-columns: 1fr 1fr; }
  .columna:nth-child(2) { margin-top: 8vh; }
  .reloj { display: none; }
  .momento-texto { right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .revela, .descubre, .descubre img, .momento-texto > * { opacity: 1; transform: none; clip-path: none; transition: none; }
  .luces i, body::after { animation: none; }
}
.tarjeta label, .tarjeta .dos > * { min-width: 0; }
.tarjeta input, .tarjeta select, .tarjeta textarea { width: 100%; min-width: 0; }
/* profundidad del hilo: pasa por detrás de las piezas de papel y de algunas fotos, y por encima de lo demás */
.tarjeta, .programa-hoja, .empresas-foto, .columna:nth-child(2) { z-index: 5; }
.firmas figure:nth-child(2) { position: relative; z-index: 5; }
.hilo path { filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.hilo.frente { z-index: 7; }
