/* ==========================================================================
   Revelado del Mundo tbō (inspirado en noth.in): el mundo borroso se define
   con el scroll, aparecen bloques «somos tbō» tecleados y sus letras caen.
   ========================================================================== */
.x-reveal { position: relative; height: 340vh; background: #0D0D10; }
.x-reveal__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.x-reveal__bg.x-play__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: blur(22px) brightness(0.55);
  transform: scale(1.18);
  image-rendering: pixelated;
  will-change: filter, transform;
}
.x-reveal__shade { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgb(10 10 14 / 0.15), rgb(10 10 14 / 0.6)); pointer-events: none; }
.x-reveal__words { position: absolute; inset: 0; pointer-events: none; }
.x-reveal__block {
  position: absolute;
  font: 400 clamp(0.95rem, 1.35vw, 1.3rem)/1.15 var(--f-ui);
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.35);
  white-space: nowrap;
}
.x-reveal__block span { display: inline-block; opacity: 0; will-change: transform; }
.x-reveal__block div:last-child { opacity: 0.85; }
.x-reveal__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  text-align: center; color: #fff;
  padding: 0 var(--x-pad);
  opacity: 0;
}
.x-reveal__kicker { color: #FFB21E; }
.x-reveal__title {
  font-family: var(--f-x); font-weight: 600;
  font-size: clamp(2rem, 5.6vw, 5.8rem); line-height: 0.98; letter-spacing: -0.04em;
  max-width: 14ch;
  text-shadow: 0 8px 40px rgb(0 0 0 / 0.45);
}
.x-reveal__title span { color: var(--c-brand); }
.x-reveal__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.4rem; }
.x-reveal .x-keys { color: rgb(255 255 255 / 0.8); }
.x-reveal .x-keys kbd { background: rgb(255 255 255 / 0.12); color: #fff; border-color: rgb(255 255 255 / 0.3); }
@media (max-width: 700px) {
  .x-reveal { height: 300vh; }
  .x-reveal__block { font-size: 0.85rem; }
  .x-reveal__block:nth-child(n+5) { display: none; }
}
/* Movimiento reducido: todo visible y quieto */
.x-reveal.is-static { height: auto; }
.x-reveal.is-static .x-reveal__sticky { position: relative; height: 100svh; }
.x-reveal.is-static .x-reveal__bg { filter: brightness(0.6); transform: none; }
.x-reveal.is-static .x-reveal__words { display: none; }
.x-reveal.is-static .x-reveal__center { opacity: 1; }

/* Título central siempre blanco y legible sobre el mundo */
.x-reveal__title { color: #fff; }
.x-reveal__shade { background: radial-gradient(60% 60% at 50% 50%, rgb(10 10 14 / 0.35), rgb(10 10 14 / 0.7)); }


/* El fondo del revelado es el logo 3D de tbō sobre un estudio oscuro */
.x-reveal__bg.x-reveal__mascot {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: radial-gradient(60% 70% at 50% 45%, #2C2C33, #0B0B0E);
  filter: blur(22px) brightness(0.55);
  transform: scale(1.18);
  will-change: filter, transform;
}
.x-reveal__logo {
  position: relative; width: clamp(240px, 34vw, 520px); aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: xRevealSpin 14s ease-in-out infinite;
}
.x-reveal__logo .x-lisa__face svg { width: 58%; height: 58%; }
@keyframes xRevealSpin { 0%, 100% { transform: rotateY(-22deg) rotateX(10deg); } 50% { transform: rotateY(22deg) rotateX(-8deg); } }
.x-reveal.is-static .x-reveal__bg.x-reveal__mascot { filter: brightness(0.6); transform: none; }
@media (prefers-reduced-motion: reduce) { .x-reveal__logo { animation: none; } }
