/* Base de los diseños sencillos: una portada fija que se quita al abrir, sin escena ni GSAP.
   Cada diseño pone su `--apertura` y anima `body.abriendo`; lo que esconde para animarlo va bajo `.animar`, que solo existe si hay movimiento. */
:root { --apertura: 450ms; }
body.cerrado { overflow: hidden; height: 100vh; height: 100svh; }
#portada { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 24px 16px; background: #FFFFFF; transition: opacity .45s ease; }
#portada.saliendo { opacity: 0; pointer-events: none; }
#abrir { min-height: 48px; cursor: pointer; }
#encabezado { --sube: 0; position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 24px 56px; text-align: center; overflow-wrap: anywhere; overflow: hidden; }

/* Letras sueltas (ver `data-letras` en sencillo.js). */
[data-letras] .palabra { display: inline-block; white-space: nowrap; }
[data-letras] .l { display: inline-block; }

/* Marcos que se dibujan (ver `data-trazo` en sencillo.js). */
.con-trazo { position: relative; border-color: transparent !important; outline-color: transparent !important; }
.trazo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trazo rect { fill: none; stroke: var(--acento); stroke-width: 1.5; stroke-dasharray: var(--p) var(--p); }

@media (prefers-reduced-motion: reduce) {
  #portada { transition: none; }
}
