
@font-face { font-family: "Gelasio"; src: url(fuentes/gelasio.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url(fuentes/robotomono.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url(fuentes/robotomono-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --hueso: #EAD8B2;
  --negro: #171514;
  --ascua: #C8431C;
  --punto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23111'/%3E%3C/svg%3E") 7 7, auto;
  --ruido: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93  0 0 0 0 .86  0 0 0 0 .72  0 0 0 .6 -.12'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { font-size: 81%; -webkit-text-size-adjust: none; text-size-adjust: none; }
body { margin: 0; background: #fff; color: #000; font: 400 1rem/1.4 "Gelasio", Georgia, "Times New Roman", serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; cursor: var(--punto); }
a, button, img, video, .peli, .gal-vista { cursor: var(--punto); }
a { color: inherit; text-decoration: none; }
a:active { opacity: .7; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
img, video, canvas, svg { max-width: none; }
:focus-visible { outline: 2px solid var(--ascua); outline-offset: 3px; }
.salto { position: fixed; left: 8px; top: -60px; z-index: 50; background: #111; color: #fff; padding: .5rem .8rem; }
.salto:focus { top: 8px; }


.lado { position: fixed; z-index: 4; top: 0; left: 0; bottom: 0; width: 32%; border-left: 1px solid #000; border-top: 1px solid #000; pointer-events: none; }
.logo { display: block; padding: 1.7rem; pointer-events: auto; width: max-content; max-width: 100%; color: #111; }
.logo svg { display: block; width: 262px; max-width: 100%; height: auto; overflow: visible; }
.reloj { position: fixed; z-index: 5; left: 0; bottom: 0; width: 32%; height: calc(3.4rem + 1.4rem + 1px); border-top: 1px solid #000; border-left: 1px solid #000; padding: 1.7rem; display: flex; justify-content: space-between; align-items: flex-start; background: transparent; pointer-events: none; font-variant-numeric: tabular-nums; }
.reloj-eti { color: #000; }


.feed { margin-left: 32%; width: 68%; border-left: 1px solid #000; }
.pieza { border-top: 1px solid #000; padding: 2rem; }
.pieza.x22 { padding-bottom: calc(2rem + 22px); }
.fila { display: flex; }
.fila > .c { flex: 0 0 auto; }
.f1 > .c { width: 100%; }
.f2 > .c { width: 50%; }
.f3 > .c { width: 33.3333%; }
.c { position: relative; overflow: hidden; aspect-ratio: var(--r); background: #111; }
.c picture { display: contents; }
.c img, .c > video, .c > canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro h1 { margin: 0; font-weight: 400; font-size: 1rem; line-height: 1.4; color: #181818; padding-bottom: 1.4em; }
.enlace { color: var(--ascua); }
.pie { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pie p { margin: 0; }
.pie a { text-decoration: underline; text-underline-offset: 2px; }


.baldosas { position: relative; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--filas), 1fr); width: 100%; height: 100%; background: #1a1918; color: var(--hueso); overflow: hidden; }
.baldosa { position: relative; overflow: hidden; border-right: 1.5px solid rgba(234, 216, 178, .55); border-bottom: 1.5px solid rgba(234, 216, 178, .55); }
.baldosa:nth-child(4n) { border-right-color: transparent; }
.baldosa .eti { position: absolute; z-index: 2; left: 5px; top: 4px; right: 3px; font: 400 7.3px/1.2 "Roboto Mono", ui-monospace, monospace; letter-spacing: .015em; text-transform: uppercase; color: #E7E4DA; white-space: nowrap; overflow: hidden; }
.baldosa svg { position: absolute; left: 0; top: 7%; width: 100%; height: 93%; overflow: visible; }
.baldosas::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; background: repeating-linear-gradient(0deg, rgba(234, 216, 178, .075) 0 1px, transparent 1px 3px), var(--ruido); background-size: auto, 180px 180px; opacity: .55; animation: grano .5s steps(1) infinite; }
.baldosas::before { content: ""; position: absolute; left: 0; right: 0; height: 9%; top: -12%; z-index: 3; pointer-events: none; background: linear-gradient(rgba(234, 216, 178, 0), rgba(234, 216, 178, .08), rgba(234, 216, 178, 0)); animation: rueda 6.5s linear infinite; }
.baldosas.pausa *, .baldosas.pausa::before, .baldosas.pausa::after { animation-play-state: paused !important; }
.baldosas.hoja, .baldosas.fina { background: #121110; }
.hoja .baldosa, .fina .baldosa { border: 0; }
.hoja .baldosa svg { top: 2%; height: 78%; }
.hoja .baldosa .eti { left: 0; right: 0; top: auto; bottom: 9%; text-align: center; font-size: 6.4px; color: #D9D2C0; white-space: normal; padding: 0 4px; }
.fina .baldosa .eti { display: none; }
.fina .baldosa svg { top: 0; height: 100%; }
.fina .baldosa svg path, .fina .baldosa svg ellipse { stroke-width: 3.4; }
.fina .baldosa .gl { transform: scale(.7); }
.hoja .baldosa:nth-child(3n+1), .hoja .baldosa:nth-child(3n+2) { border-right: 0; }

.gl { transform-box: view-box; transform-origin: 50px 54px; animation: aparece 10.4s ease-in-out infinite both; }
.a-dedo { transform-box: view-box; transform-origin: 50px 62px; animation: dedo 2.4s ease-in-out infinite; }
.a-marcha { stroke-dasharray: 12 9; animation: marcha 2.4s linear infinite; }
.a-eco { animation: eco 1.8s ease-in-out infinite; }
.a-traza { stroke-dasharray: 100; animation: traza 3.6s ease-in-out infinite; }
.a-baja { animation: baja 1.7s ease-in-out infinite; }
.a-cadena { stroke-dasharray: 34 66; animation: cadena 2.6s linear infinite; }
.a-parpadeo { animation: parpadeo 2.4s ease-in-out infinite; }
.a-aplasta { transform-box: fill-box; transform-origin: center; animation: aplasta 1.9s ease-in-out infinite; }
.a-gira { transform-box: view-box; transform-origin: 50px 54px; animation: gira 9s linear infinite; }
.a-gira.lento { animation-duration: 22s; }
.a-crece { transform-box: view-box; transform-origin: 50px 70px; animation: crece 3.4s ease-in-out infinite; }
.a-franja { animation: franja 1.3s linear infinite; }
.a-desliza { animation: desliza 1.7s ease-in-out infinite; }
@keyframes aparece { 0% { opacity: 0; transform: scale(.7); } 9% { opacity: 1; transform: scale(1); } 78% { opacity: 1; transform: scale(1); } 91%, 100% { opacity: 0; transform: scale(1.06); } }
@keyframes dedo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
@keyframes marcha { to { stroke-dashoffset: -21; } }
@keyframes eco { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes traza { 0% { stroke-dashoffset: 100; } 45%, 72% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes baja { 0%, 100% { transform: translateY(-6px); opacity: .25; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes cadena { to { stroke-dashoffset: -100; } }
@keyframes parpadeo { 0%, 100% { opacity: .08; } 40%, 70% { opacity: 1; } }
@keyframes aplasta { 0%, 100% { transform: scale(1.3, .7); } 50% { transform: scale(.78, 1.3); } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes crece { 0%, 100% { transform: scaleY(.45); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes franja { to { transform: translateY(8px); } }
@keyframes desliza { 0%, 100% { transform: translateX(-7px); } 50% { transform: translateX(8px); } }
@keyframes grano { 0% { background-position: 0 0, 0 0; } 20% { background-position: 0 0, -37px 22px; } 40% { background-position: 0 0, 51px -64px; } 60% { background-position: 0 0, -88px -31px; } 80% { background-position: 0 0, 23px 77px; } }
@keyframes rueda { to { top: 108%; } }



.grano::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--ruido); background-size: 180px 180px; opacity: .32; animation: grano .5s steps(1) infinite; }
.sello { position: absolute; left: 6%; top: 41%; width: 23%; height: auto; color: var(--hueso); overflow: visible; transform: rotate(-6deg); filter: drop-shadow(0 0 1px rgba(0, 0, 0, .35)); }
.iconos { position: absolute; right: 3.6%; top: 41%; width: 32%; display: flex; justify-content: space-between; color: var(--hueso); }
.iconos svg { width: 24%; height: auto; overflow: visible; }
.estampa { position: absolute; color: var(--hueso); }
.estampa svg { display: block; width: 100%; height: auto; overflow: visible; }
.triangulo { position: absolute; left: 30%; top: 38%; width: 44%; height: auto; color: var(--hueso); overflow: visible; transform: rotate(-4deg); }
.huella { position: absolute; left: 42%; top: 11%; width: 16%; height: auto; color: var(--hueso); overflow: visible; }
.trazos { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trazos path { fill: none; stroke: #BCCADB; stroke-linecap: round; stroke-dasharray: 60 240; animation: barre 3.4s ease-in-out infinite; opacity: .9; }
@keyframes barre { 0% { stroke-dashoffset: 300; } 55%, 100% { stroke-dashoffset: -60; } }
.suela { background: #0f0d0c; }
.suela-cv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; image-rendering: auto; }
.marca-esp { position: absolute; right: 3.4%; top: 5%; width: 8.2%; height: auto; color: var(--hueso); overflow: visible; opacity: 0; }
.barrido { position: absolute; left: 0; right: 0; height: 9%; top: -12%; pointer-events: none; background: linear-gradient(rgba(234, 216, 178, 0), rgba(234, 216, 178, .16), rgba(234, 216, 178, 0)); animation: rueda 5.6s linear infinite; }
.brillo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(234, 216, 178, .24), transparent 42%); background-size: 160% 160%; animation: brillo 8s ease-in-out infinite alternate; }
@keyframes brillo { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
.pila { display: flex; flex-direction: column; }
.pila > .c { width: 100%; flex: 0 0 auto; }


.galc { background: #fff; overflow: hidden; }
.gal { position: absolute; inset: 0; }
.gal-vista { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gal-pista { display: flex; width: 100%; height: 100%; will-change: transform; transition: transform .5s ease-in-out; }
.gal-s { flex: 0 0 100%; width: 100%; height: 100%; position: relative; }
.gal-s img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.gal-s.mat { background: #ECEBE8; padding: 24px; }
.gal-s.mat img { box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.gal-ant, .gal-sig { position: absolute; z-index: 3; top: 50%; margin-top: -18px; width: 36px; height: 36px; opacity: 0; transition: opacity .2s ease; }
.gal-ant { left: 9px; } .gal-sig { right: 9px; }
.gal:hover .gal-ant, .gal:hover .gal-sig, .gal:focus-within .gal-ant, .gal:focus-within .gal-sig { opacity: 1; }
.gal-ant svg, .gal-sig svg { width: 36px; height: 36px; display: block; }
.gal-ant polyline, .gal-sig polyline { fill: none; stroke: rgba(0, 0, 0, .85); stroke-width: 1.5; }
.galc:has(.cartela) .gal-ant polyline, .galc:has(.cartela) .gal-sig polyline { stroke: rgba(234, 216, 178, .9); }
.galc:has(.cartela) { background: #181716; }


.cartela { background: #181716; display: grid; place-items: center; overflow: hidden; }
.cartela::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--ruido), repeating-linear-gradient(0deg, rgba(234, 216, 178, .05) 0 1px, transparent 1px 3px); background-size: 180px 180px, auto; opacity: .5; animation: grano .5s steps(1) infinite; }
.cartel { font-family: "Roboto Mono", ui-monospace, monospace; font-weight: 700; text-transform: uppercase; color: #D6D2C6; line-height: 1.08; letter-spacing: .12em; font-size: clamp(1.4rem, 4.3vw, 5.4rem); width: 100%; padding-left: 27%; text-align: left; }
.cartel p { margin: 0; white-space: nowrap; }
.cartel .l1, .cartel .l2 { color: #E6E1D2; }
.cartel .l3, .cartel .l4 { color: #D2CCBB; }
.cartel i { font-style: normal; display: inline-block; animation: letra 6.4s steps(1) infinite; animation-delay: calc(var(--d) * .07s); }
.cartel .l3 i, .cartel .l4 i { animation-name: letra-baja; }
.cartel.v1 { padding-left: 11%; } .cartel.v1 .l1 { color: #E4572E; }
.cartel.v2 { padding-left: 0; text-align: center; letter-spacing: .05em; } .cartel.v2 .l1 { color: #EAD8B2; }
@keyframes letra-baja { 0% { opacity: 0; } 6% { opacity: 1; } 40% { opacity: .5; } 60% { opacity: .22; } 70% { opacity: .1; } 90% { opacity: .1; } 96%, 100% { opacity: 0; } }
@keyframes letra { 0% { opacity: 0; } 5% { opacity: 1; } 68% { opacity: 1; } 71% { opacity: .15; } 74% { opacity: 1; } 90% { opacity: 1; } 95%, 100% { opacity: 0; } }


.anillo-c { background: #000; }
.anillo { filter: blur(6px) contrast(15); }
.cinta { background: #000; }


.peliculas { background: #000; }
.peli { position: absolute; inset: 0; color: #fff; background: #000; font-family: "Roboto Mono", ui-monospace, monospace; }
.peli img, .peli-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.peli-cab { position: absolute; z-index: 2; left: 12px; top: 10px; display: flex; align-items: center; gap: 9px; text-shadow: 0 0 6px rgba(0, 0, 0, .55); }
.peli-av { width: 28px; height: 28px; border-radius: 50%; background: var(--hueso); color: #111; font: 700 14px/28px "Gelasio", serif; text-align: center; }
.peli-tit b { display: block; font-weight: 700; font-size: 11.5px; line-height: 1.25; letter-spacing: .01em; }
.peli-tit i { display: block; font-style: normal; font-size: 10.5px; opacity: .8; line-height: 1.25; }
.peli-play { position: absolute; z-index: 2; left: 8px; bottom: 8px; width: 56px; height: 32px; border-radius: 4px; background: rgba(17, 17, 17, .92); display: grid; place-items: center; transition: background .2s ease; }
.peli-play:hover { background: #000; }
.peli-play svg { width: 18px; height: 18px; display: block; }
.peli.suena .peli-play svg path { d: path("M5 3 H8 V17 H5 Z M12 3 H15 V17 H12 Z"); }
.peli-barra { position: absolute; z-index: 2; left: 72px; right: 8px; bottom: 8px; height: 32px; border-radius: 4px; background: rgba(17, 17, 17, .92); display: flex; align-items: center; gap: 12px; padding: 0 14px; font-size: 10.5px; letter-spacing: .02em; }
.peli-linea { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .26); position: relative; overflow: hidden; }
.peli-linea i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; }
.peli-sin { opacity: .7; }


.vid video { background: #111; }


.punto-menu { display: none; position: fixed; z-index: 30; top: 4px; right: 4px; width: 40px; height: 40px; border-radius: 50%; background: #111; }
.panel { position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: rgba(20, 20, 20, .96); color: rgba(255, 255, 255, .85); padding: 20px 30px 90px; font-size: 1.7rem; line-height: 1.3; }
.panel[hidden] { display: none; }
.panel-cierra { position: absolute; right: 18px; top: 8px; font-size: 3.6rem; line-height: 1; color: rgba(255, 255, 255, .5); }
.panel-logo { display: block; color: #EAD8B2; width: 220px; margin: 28px 0 12px -8px; }
.panel-logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.panel p { margin: 0 0 1rem; }
.panel .enlace { color: #F08A63; }
.panel-hora { font-size: 1.2rem; opacity: .7; font-variant-numeric: tabular-nums; }
.aviso { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: min(92vw, 520px); margin: 0; padding: .6rem 1rem; background: #111; color: #fff; font-size: 1rem; line-height: 1.35; text-align: center; }
.aviso[hidden] { display: none; }


@media (max-width: 800px) {
  .lado, .reloj { display: none; }
  .feed { margin: 0; width: 100%; border-left: 0; }
  .pieza { padding: 1.6rem; }
  .pieza.x22 { padding-bottom: calc(1.6rem + 22px); }
  .fila { display: block; }
  .f1 > .c, .f2 > .c, .f3 > .c { width: 100%; }
  .punto-menu { display: block; }
  .intro h1 { padding-right: 0; }
  .baldosa .eti { font-size: 6.6px; }
  .gal-ant, .gal-sig { opacity: .85; }
  .peli-play, .peli-barra { display: none; }
  .cartel { font-size: clamp(1.1rem, 5.6vw, 2.2rem); padding-left: 12%; }
  .cartel.v1 { padding-left: 6%; }
  .cartel.v2 { font-size: clamp(1.1rem, 5.6vw, 2.2rem); padding-left: 0; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gl { opacity: 1; transform: none; }
  .a-traza, .a-marcha, .a-cadena { stroke-dasharray: none; }
  .a-parpadeo, .a-eco, .a-baja { opacity: 1; }
  .trazos path { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .5; }
  .cartel i { opacity: 1; }
  .baldosas::before, .barrido { display: none; }
}
