/* ------------------------------------------------------------------
   FUZZ & LINT · estilo v25 (claro, limpio, con el rincón de la casa)
   Trazo de tinta como los personajes, sombras suaves, rejilla de 8 px.
   ------------------------------------------------------------------ */
@font-face { font-family: 'Fredoka'; font-weight: 500; font-display: swap; src: url('../fonts/fredoka-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 700; font-display: swap; src: url('../fonts/fredoka-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Special Elite'; font-weight: 400; font-display: swap; src: url('../fonts/special-elite-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-weight: 700; font-display: swap; src: url('../fonts/zilla-slab-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #1a1a24; --ink2: #14141c; --ink70: rgba(26, 26, 36, .7); --cream: #FFF4D6; --yel: #FFD84A; --gray: #E6E8EC;
  --red: #E0554F; --blue: #5B7FC4; --pink: #F06FA0; --lilac: #D9CBE3; --teal: #1b8f86; --crumb: #C99A5B;
  --plaster: #F3EBDD; --paper: #FBF7EE; --butter: #FFF2C6; --mint: #D8EEE7; --dusk: #241d33;
  --round: 'Fredoka', 'Arial Rounded MT Bold', 'Arial Rounded Bold', system-ui, sans-serif;
  --type: 'Special Elite', 'American Typewriter', 'Courier New', monospace;
  --slab: 'Zilla Slab', 'American Typewriter', Georgia, serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --card: 0 2px 0 var(--ink), 0 18px 34px -16px rgba(60, 40, 20, .35);
  --card-hover: 0 3px 0 var(--ink), 0 26px 40px -16px rgba(60, 40, 20, .42);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--plaster); color: var(--ink); font-family: var(--round); font-weight: 500; line-height: 1.45; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; }

.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise .9s var(--spring) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.985); } }

/* ================= HERO: un rincón de la casa ================= */
.hero { --floor-h: clamp(150px, 19vw, 212px); --corner: 54%; --hi: var(--ink); background: var(--plaster); position: relative; overflow: hidden; isolation: isolate; border-bottom: 2px solid var(--ink); color: var(--hi); transition: color .6s; }
.hero.lights-off { --hi: #F7F0DE; }
@media (max-width: 959px) { .hero { --corner: 78%; } }
.room { position: absolute; inset: 0 0 var(--tail, 0px) 0; z-index: 0; }
.room > * { position: absolute; }
.room-wall { top: 0; bottom: var(--floor-h); background-color: #F4ECDC; background-image: var(--tex-plaster, none); transform: translate(calc(var(--mx, 0) * -5px), 0) scale(1.03); }
.room-wall--l { left: 0; width: var(--corner); background-image: var(--tex-plaster, none), linear-gradient(90deg, #FAF4E6 0%, #F5ECDA 100%); }
.room-wall--r { left: var(--corner); right: 0; background-image: var(--tex-plaster, none), linear-gradient(90deg, #E8DBC2 0%, #EFE4CE 60%, #F2E8D4 100%); }
.room-corner { top: 0; bottom: var(--floor-h); left: var(--corner); width: 44px; margin-left: -22px; background: linear-gradient(90deg, rgba(70, 48, 24, 0), rgba(70, 48, 24, .17) 46%, rgba(255, 255, 255, .2) 54%, rgba(70, 48, 24, 0)); }
.room-grime { left: 0; right: 0; bottom: var(--floor-h); height: 120px; pointer-events: none;
  background: radial-gradient(70px 26px at 9% 100%, rgba(84, 62, 40, .16), transparent 70%), radial-gradient(110px 30px at 38% 100%, rgba(84, 62, 40, .12), transparent 70%), radial-gradient(90px 24px at 72% 100%, rgba(84, 62, 40, .14), transparent 70%), radial-gradient(60px 36px at 92% 100%, rgba(84, 62, 40, .16), transparent 70%), linear-gradient(to top, rgba(84, 62, 40, .07), transparent 90px); }
.room-sun { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: normal; animation: sunBreath 8s ease-in-out infinite alternate; transition: opacity .6s; }
@keyframes sunBreath { from { opacity: .78; } to { opacity: 1; } }
.lights-off .room-sun { opacity: 0 !important; animation: none; }
.room-board { left: 0; right: 0; bottom: calc(var(--floor-h) - 6px); height: 36px; background: linear-gradient(#FBF6EA, #EFE6D3); border-top: 2px solid rgba(26, 26, 36, .6); border-bottom: 2px solid rgba(26, 26, 36, .6); box-shadow: 0 -12px 22px rgba(60, 40, 20, .07); transform: translate(calc(var(--mx, 0) * -9px), 0) scale(1.03); }
.room-board::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 9px; opacity: .55; background: radial-gradient(circle at 11px 100%, #b3a995 0 3.2px, transparent 4px) repeat-x 0 0 / 23px 9px, radial-gradient(circle at 19px 100%, #c4baa6 0 2.4px, transparent 3px) repeat-x 0 0 / 41px 9px; }
.room-board::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(transparent, rgba(80, 55, 30, .22)); }
.room-floor { left: 0; right: 0; bottom: 0; height: var(--floor-h); overflow: hidden; background-color: #D2AF82; background-image: linear-gradient(rgba(70, 42, 18, .38), rgba(70, 42, 18, 0) 56px), var(--tex-wood, none), linear-gradient(#D8B88C, #C99F70); background-size: auto, 512px 256px, auto; transform: translate(calc(var(--mx, 0) * -14px), 0) scale(1.04); transform-origin: 50% 0; }
.room-floor::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 110%, rgba(60, 36, 14, .22), transparent 60%), linear-gradient(100deg, transparent 30%, rgba(255, 245, 210, .16) 52%, transparent 70%); pointer-events: none; }
.room-floor svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.room-web { top: 0; pointer-events: none; transform: translate(calc(var(--mx, 0) * -5px), 0); }
.room-spider { top: 0; width: 40px; height: 120px; z-index: 2; margin-top: 0; transform-origin: 50% 0; }
.room-spider svg { overflow: visible; }
.room-frame { left: calc(var(--corner) + 11%); top: 15%; width: 92px; height: 116px; transform: rotate(-2.2deg); background: #FFFDF6; border: 3px solid #6b4a2b; box-shadow: 0 8px 12px -6px rgba(60, 40, 20, .35), inset 0 0 0 5px #F3E3C1; }
.room-frame::before { content: ''; position: absolute; inset: 10px; background: linear-gradient(#BFE0DD 0 58%, #8FBF9B 58%); }
.room-frame::after { content: ''; position: absolute; left: 50%; top: -22px; width: 1.5px; height: 22px; background: rgba(26, 26, 36, .4); transform: translateX(-50%) rotate(8deg); }
@media (max-width: 959px) { .room-frame { display: none; } }
.room-switch { bottom: calc(var(--floor-h) + 104px); left: calc(var(--corner) + 28px); width: 38px; height: 58px; border-radius: 8px; background: #F8F2E4; border: 2px solid rgba(26, 26, 36, .75); box-shadow: 0 3px 0 rgba(26, 26, 36, .22), inset 0 0 0 4px #EFE6D3; cursor: pointer; z-index: 3; transition: transform .2s var(--spring); }
.room-switch:hover { transform: translateY(-2px) rotate(-1.5deg); }
.room-switch i { position: absolute; left: 9px; right: 9px; top: 9px; height: 18px; border-radius: 4px; background: #fff; border: 2px solid rgba(26, 26, 36, .7); transition: transform .2s var(--spring), background .2s; }
.room-switch.off i { transform: translateY(14px); background: #d7d0c0; }
.room-dark { inset: 0; background: radial-gradient(70% 60% at 50% 38%, rgba(24, 30, 52, .52), rgba(14, 18, 34, .8)); opacity: 0; pointer-events: none; transition: opacity .55s ease; z-index: 4; }
.lights-off .room-dark { opacity: 1; }
.motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.hero-in { position: relative; z-index: 5; max-width: 1160px; margin: 0 auto; padding: calc(36px + env(safe-area-inset-top)) 24px 0; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.hero-in, .stage, .stage-chars { pointer-events: none; }
.hero-head, .links, .char-svg, .stage-tools, .stage-chars .bubble { pointer-events: auto; }
.stage-chars .bubble { pointer-events: none; }
.hero-head { min-width: 0; }
.links { min-width: 0; }
.stage { position: relative; min-width: 0; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: 'head stage' 'links stage'; column-gap: 56px; row-gap: 28px; align-content: start; padding-top: 72px; padding-bottom: calc(var(--floor-h) + 24px); min-height: 640px; }
  .hero-head { grid-area: head; align-self: end; }
  .links { grid-area: links; align-self: start; }
  .stage { grid-area: stage; align-self: end; margin-bottom: calc(-1 * (var(--floor-h) + 24px)); }
}
@media (max-width: 959px) {
  .hero { --floor-h: 128px; }
  .room { border-bottom: 2px solid var(--ink); }
  .hero-in { padding-bottom: 28px; gap: 12px; padding-top: calc(22px + env(safe-area-inset-top)); }
  .hero-head { order: 0; }
  .stage { order: 1; margin-top: 0; min-height: calc(var(--floor-h) + 168px); }
  .stage-tools { order: 2; }
  .links { order: 3; margin-top: 10px; }
  .lede { display: none; }
  .tag { margin-top: .6em; }
}

/* ---------- logotipo ---------- */
.logo { display: flex; align-items: flex-end; gap: .14em; font-size: clamp(40px, 11.8vw, 98px); line-height: 1; white-space: nowrap; position: relative; }
.logo i { font-style: normal; display: inline-block; -webkit-text-stroke: .15em var(--ink); paint-order: stroke fill; }
.fz { position: relative; font-family: var(--round); font-weight: 700; color: var(--cream); filter: url(#fuzzy); letter-spacing: .01em; }
.fz i { opacity: 0; animation: drop .8s var(--spring) forwards; animation-delay: calc(var(--n) * 90ms + 1.15s); }
.fz i:nth-of-type(1) { --n: 0; } .fz i:nth-of-type(2) { --n: 1; } .fz i:nth-of-type(3) { --n: 2; } .fz i:nth-of-type(4) { --n: 3; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-1.3em) rotate(-14deg) scale(.55); } 60% { opacity: 1; transform: translateY(.08em) rotate(3deg) scale(1.08); } 100% { opacity: 1; transform: none; } }
/* una vez terminada la entrada las letras se quedan fijas y solo se menean al tocarlas (antes desaparecian) */
.logo.ready .fz i, .logo.ready .lt i, .logo.ready .amp { opacity: 1; animation: none; }
.logo.ready .fz i.wob, .logo.ready .lt i.wob, .logo.ready .amp.wob { animation: wob .5s var(--spring) both; }
@keyframes wob { 0%, 100% { transform: none; } 30% { transform: translateY(-.1em) rotate(-5deg); } 62% { transform: translateY(.02em) rotate(3deg); } 82% { transform: translateY(-.02em) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .logo.ready .fz i.wob, .logo.ready .lt i.wob, .logo.ready .amp.wob { animation: none; } }
.thread { position: absolute; left: -.04em; top: -.5em; width: .38em; height: .78em; overflow: visible; opacity: 0; animation: fadeIn .4s 2s forwards; }
.thread path { stroke-dasharray: 130; stroke-dashoffset: 130; animation: draw 1s 2s forwards; }
.spark { position: absolute; right: -.1em; top: -.36em; width: .34em; height: .34em; opacity: 0; animation: fadeIn .3s 2.1s forwards, twinkle 2.6s 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.3) rotate(25deg); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.amp { font-family: var(--round); font-weight: 700; color: var(--yel); font-size: .92em; -webkit-text-stroke: .15em var(--ink); paint-order: stroke fill; opacity: 0; animation: drop .8s var(--spring) forwards 1.5s; line-height: 1; }
.lt { position: relative; font-family: var(--slab); font-weight: 700; color: var(--gray); }
.lt i { opacity: 0; animation: typed .02s linear forwards, thunk .25s both; animation-delay: calc(var(--n) * 150ms + 1.8s), calc(var(--n) * 150ms + 1.8s); }
.lt i:nth-of-type(1) { --n: 0; } .lt i:nth-of-type(2) { --n: 1; } .lt i:nth-of-type(3) { --n: 2; } .lt i:nth-of-type(4) { --n: 3; }
@keyframes typed { from { opacity: 0; } to { opacity: 1; } }
@keyframes thunk { 0% { transform: translateY(-.05em) scale(1.12); } 100% { transform: none; } }
.wavy { position: absolute; left: 0; right: 0; bottom: -.17em; width: 100%; height: .2em; overflow: visible; }
.wavy path { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw .9s 2.5s var(--out) forwards; }
.crumb { position: absolute; right: -.2em; top: -.3em; width: .26em; opacity: 0; animation: fadeIn .3s 2.5s forwards; }
.tag { margin-top: .95em; font-family: var(--type); font-size: clamp(16px, 4.2vw, 23px); color: color-mix(in srgb, var(--hi) 78%, transparent); min-height: 1.4em; }
.tag::after { content: ''; display: inline-block; width: .5em; height: 1em; margin-left: 3px; background: var(--yel); border: 1.5px solid var(--ink); vertical-align: -.14em; animation: blink 1s steps(1) infinite; }
.tag.done::after { animation: blink 1s steps(1) 3, fadeOut .1s 3.2s forwards; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.lede { margin-top: .6em; max-width: 36ch; font-size: clamp(17px, 2.3vw, 20px); line-height: 1.5; color: color-mix(in srgb, var(--hi) 88%, transparent); text-wrap: pretty; }

/* ---------- escenario del hero ---------- */
.stage { container-type: inline-size; width: 100%; max-width: 640px; margin-inline: auto; min-height: calc(var(--floor-h) + 270px); }
.stage-chars, .socks { position: absolute; inset: 0; --u: .5px; --u: calc(100cqw / 1000 * 1.4); }
.stage-chars { transform: translate(calc(var(--mx, 0) * 10px), 0); z-index: 2; }
.stage-chars .char { position: absolute; }
.stage-chars .char--fuzz { left: 0; bottom: calc(var(--floor-h) * .3); }
.stage-chars .char--lint { right: -1%; bottom: calc(var(--floor-h) * .34); }
.lights-off .stage-chars .char-svg, .lights-off .socks { filter: brightness(.66) saturate(.85) drop-shadow(0 0 12px rgba(255, 240, 190, .22)); }
.char-svg, .socks { transition: filter .6s; }
.socks { z-index: 3; pointer-events: none; }
.sock { position: absolute; width: calc(var(--u) * 150); aspect-ratio: 140 / 110; pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: filter .2s; will-change: left, top; }
.sock.drag { cursor: grabbing; filter: drop-shadow(0 14px 10px rgba(40, 24, 8, .35)); transform: scale(1.1) rotate(-6deg) !important; transition: transform .15s var(--spring); z-index: 40; }
.sock.flying { pointer-events: none; }
.stage-tools { position: absolute; left: 24px; bottom: 12px; z-index: 6; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; pointer-events: none; max-width: calc(100% - 48px); }
.stage-tools > * { pointer-events: auto; }
.stage-hint { font-family: var(--type); font-size: 13px; color: #fff; background: rgba(26, 26, 36, .78); padding: .3em .9em; border-radius: 999px; transition: opacity .5s; }
.stage-hint.gone { opacity: 0; }
.sound-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--round); font-weight: 700; font-size: 15px; color: var(--ink); background: var(--yel); border: 2px solid var(--ink); border-radius: 999px; padding: .38em 1em .38em .8em; box-shadow: 0 3px 0 var(--ink); transition: transform .18s var(--spring), box-shadow .18s var(--spring), background .2s; }
.sound-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.sound-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.sound-btn .sb-ic { width: 20px; height: 20px; }
.sound-btn[aria-pressed='true'] { background: #fff; }
.sound-btn:not([aria-pressed='true']) .sb-w { opacity: .35; }
.sound-btn.pulse { animation: sbp 2.2s ease-in-out infinite; }
@keyframes sbp { 0%, 100% { box-shadow: 0 3px 0 var(--ink), 0 0 0 0 rgba(255, 216, 74, .7); } 50% { box-shadow: 0 3px 0 var(--ink), 0 0 0 9px rgba(255, 216, 74, 0); } }
@media (max-width: 959px) { .stage-tools { position: static; justify-self: center; margin-top: -2px; justify-content: center; max-width: 100%; } .stage-hint { display: none; } }

/* ---------- personajes (comunes) ---------- */
.char { width: calc(var(--u, .5px) * var(--vw)); position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.char-svg { width: 100%; height: auto; overflow: visible; display: block; cursor: pointer; }
.bubble { position: absolute; left: 50%; bottom: 100%; z-index: 20; display: grid; width: max-content; max-width: min(240px, 64vw); padding: .5em .85em; border: 2.5px solid var(--ink); border-radius: 18px; font-size: clamp(14px, 1.5vw, 16px); line-height: 1.3; color: var(--ink); box-shadow: 0 4px 0 rgba(26, 26, 36, .18);
  opacity: 0; pointer-events: none; transform: translate(calc(-50% + var(--bs, 0px)), 10px) scale(.6); transform-origin: 50% 100%; transition: opacity .15s, transform .25s var(--spring); margin-bottom: -12px; }
.bubble > * { grid-area: 1 / 1; }
.bubble .ghost { visibility: hidden; font-style: normal; }
.bubble.on { opacity: 1; transform: translate(calc(-50% + var(--bs, 0px)), -6px) scale(1); }
.bubble.off { opacity: 0; transform: translate(calc(-50% + var(--bs, 0px)), -14px) scale(.9); }
.bubble::after { content: ''; position: absolute; left: calc(50% - var(--bs, 0px)); bottom: -10px; width: 15px; height: 15px; background: inherit; border: 2.5px solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 4px 0; }
.bubble--fuzz, .bubble--wisp { background: #fff; font-family: var(--round); font-weight: 600; }
.bubble--wisp { background: #F6EEFB; }
.bubble b { font-weight: 700; background: linear-gradient(transparent 52%, var(--yel) 52%); }
.bubble--lint { background: var(--gray); font-family: var(--type); font-weight: 400; }
.bubble u { text-decoration: none; background: linear-gradient(transparent 80%, var(--red) 80%, var(--red) 94%, transparent 94%); }
.emote { position: absolute; top: 4%; width: 34px; height: 34px; pointer-events: none; z-index: 15; animation: floatUp 1.7s ease-out forwards; }
.emote svg { width: 100%; height: 100%; }
@keyframes floatUp { 0% { opacity: 0; transform: translate(0, 12px) scale(.4); } 14% { opacity: 1; transform: translate(0, -8px) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), -96px) scale(.9) rotate(14deg); } }
.puff { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: rgba(226, 211, 181, .7); pointer-events: none; animation: puff .9s ease-out forwards; }
@keyframes puff { from { opacity: .85; transform: translate(0, 0) scale(.4); } to { opacity: 0; transform: translate(var(--dx, -20px), -22px) scale(2.2); } }

/* ================= LINKTREE ================= */
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 560px; }
.lk { --c: #fff; --ic: var(--ink); list-style: none; min-width: 0; }
.lk--wide { grid-column: 1 / -1; }
.lk--red { --ic: #E0554F; } .lk--pink { --ic: #E1478A; } .lk--blue { --ic: #4C74C4; } .lk--lilac { --ic: #8A6FB8; } .lk--yellow { --ic: #E9B400; } .lk--cream { --ic: var(--ink); } .lk--teal { --ic: var(--teal); }
.lk > a, .lk > button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px 10px 10px; text-align: left; text-decoration: none; color: var(--ink);
  background: var(--c); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink); transition: transform .18s var(--spring), box-shadow .18s var(--spring); }
.js .lk { opacity: 0; animation: lkIn .7s var(--spring) forwards; animation-delay: calc(var(--i) * 80ms + 2.3s); }
@keyframes lkIn { 0% { opacity: 0; transform: translateY(26px) scale(.9); } 100% { opacity: 1; transform: none; } }
.lk > a:hover, .lk > button:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.lk > a:active, .lk > button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.lk-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ic); color: #fff; display: grid; place-items: center; transition: transform .3s var(--spring); }
.lk-ic svg { width: 22px; height: 22px; fill: currentColor; }
.lk--yellow .lk-ic { color: var(--ink); }
.lk > a:hover .lk-ic, .lk > button:hover .lk-ic { transform: rotate(-10deg) scale(1.1); }
.lk-tx { display: grid; gap: 0; min-width: 0; flex: 1; }
.lk-tx b { font-weight: 700; font-size: 18px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-tx small { font-family: var(--type); font-size: 13px; color: var(--ink70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-go { flex: none; width: 22px; height: 22px; opacity: .55; transition: transform .25s var(--spring), opacity .2s; }
.lk-go svg { width: 100%; height: 100%; }
.lk > a:hover .lk-go { transform: translateX(4px); opacity: 1; }
.lk:not(.lk--wide) .lk-go { display: none; }
.lk--primary > a { padding: 14px 16px 14px 14px; border-radius: 22px; background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--ink); }
.lk--primary .lk-ic { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--red); }
.lk--primary .lk-ic svg { width: 30px; height: 30px; }
.lk--primary .lk-tx b { font-size: 24px; }
.lk--primary .lk-tx small { color: rgba(255, 255, 255, .88); font-size: 14px; }
.lk--primary > a::after { content: ''; position: absolute; top: 0; bottom: 0; width: 70px; left: -90px; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-18deg); animation: shine 4.2s 3.4s ease-in-out infinite; }
@keyframes shine { 0% { left: -90px; } 36%, 100% { left: 130%; } }
.lk--soon > button { border-style: dashed; background: rgba(255, 255, 255, .7); }
.lk--soon .lk-ic { background: #b8b2a6; }
.lk--soon .lk-go { display: block; width: 20px; height: 20px; }
.lk.shake > * { animation: shake .5s; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px) rotate(-1.2deg); } 40% { transform: translateX(7px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.lights-off .lk > a, .lights-off .lk > button { box-shadow: 0 4px 0 #000; }
.links--wide { max-width: none; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.links--wide .lk--wide { grid-column: auto; }
.links--wide .lk--primary > a { padding: 10px 14px 10px 10px; border-radius: 18px; }
.links--wide .lk--primary .lk-ic { width: 40px; height: 40px; border-radius: 12px; }
.links--wide .lk--primary .lk-ic svg { width: 22px; height: 22px; }
.links--wide .lk--primary .lk-tx b { font-size: 18px; }
.links--wide .lk:not(.lk--wide) .lk-go, .links--wide .lk-go { display: none; }
.links--wide .js .lk, .floor .lk { opacity: 1; animation: none; }

/* ================= PASILLOS (ruedan con el scroll) ================= */
.strip { position: relative; height: clamp(158px, 24vw, 200px); overflow: hidden; border-bottom: 2px solid var(--ink); --u: .4px; }
.strip--plaster { background: linear-gradient(#EFE5D1, var(--plaster)); }
.strip--paper { background: linear-gradient(#F4EEE0, var(--paper)); }
.strip--butter { background: var(--butter); }
.strip--ink { background: linear-gradient(#2a2238, #3a2f4d); }
.strip-cap { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font-family: var(--type); font-size: clamp(12px, 3vw, 14px); color: var(--ink70); padding: 0 16px; }
.strip--ink .strip-cap { color: #c9c2d8; }
.strip-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(rgba(70, 42, 18, .3), rgba(70, 42, 18, 0) 14px), var(--tex-wood, none), linear-gradient(#D8B88C, #C99F70); background-size: auto, 512px 256px, auto; }
.strip-floor::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; background: linear-gradient(#FBF6EA, #EFE6D3); border-top: 2px solid rgba(26, 26, 36, .6); border-bottom: 2px solid rgba(26, 26, 36, .6); }
.strip .char { position: absolute; left: 0; bottom: 22px; will-change: transform; }
.redlight { position: absolute; left: -90px; bottom: 36px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 60, 50, .5), rgba(255, 60, 50, 0) 65%); animation: redp 1.2s ease-in-out infinite alternate; }
@keyframes redp { from { opacity: .5; transform: scale(.9); } to { opacity: 1; transform: scale(1.15); } }

/* ================= SECCIONES ================= */
.sec { position: relative; padding: clamp(64px, 9vw, 112px) 0; border-bottom: 2px solid var(--ink); overflow-x: clip; }
.sec-h { margin-bottom: clamp(32px, 5vw, 56px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--type); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--ink); }
.eyebrow--y, .eyebrow--r { color: inherit; }
h2 { margin-top: .5em; font-family: var(--round); font-weight: 700; font-size: clamp(34px, 6vw, 62px); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.sub { margin-top: 1em; font-size: clamp(17px, 2.1vw, 20px); line-height: 1.55; max-width: 52ch; text-wrap: pretty; color: var(--ink70); }

.sec--who { background: var(--paper); }
.cards { display: grid; gap: 32px 28px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: var(--card); overflow: hidden; transition: transform .3s var(--spring), box-shadow .3s var(--spring); }
.card:hover { transform: translateY(-5px); box-shadow: var(--card-hover); }
.card-stage { position: relative; height: 296px; border-bottom: 2px solid var(--ink); overflow: hidden; background: var(--bg); }
.card--fuzz { --bg: linear-gradient(#F7EBC9, #F2DFA8); --bar: #FFD84A; }
.card--lint { --bg: linear-gradient(#DCE3EC, #C7D2E0); --bar: #E0554F; }
.card--wisp { --bg: linear-gradient(#F0E6F7, #E1D1EE); --bar: #F06FA0; }
.card-stage::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(70, 42, 18, .28), rgba(70, 42, 18, 0) 18px), var(--tex-wood, none), linear-gradient(#D8B88C, #C99F70); background-size: auto, 512px 256px, auto; border-top: 2px solid var(--ink); }
.card-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 58px; height: 14px; background: linear-gradient(#FBF6EA, #EFE6D3); border-top: 2px solid rgba(26, 26, 36, .6); }
.card-char { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; --u: .66px; }
.card--wisp .card-char { --u: .8px; }
.card--lint .card-char { --u: .62px; }
.card-body { padding: 22px 24px 26px; }
.card h3 { font-weight: 700; font-size: 36px; line-height: 1; }
.role { margin-top: .4em; font-family: var(--type); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink70); }
.blurb { margin-top: .9em; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.bars { margin-top: 1.1em; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; margin-top: .8em; font-size: 15px; }
.bars span { font-weight: 700; }
.bars b { font-family: var(--type); font-weight: 400; color: var(--ink70); }
.bars i { grid-column: 1 / -1; height: 14px; border: 2px solid var(--ink); border-radius: 999px; background: #F4EEE0; position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 1%); background: var(--bar); border-right: 2px solid var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--spring) .35s; }
.bars li[style*='--v:0'] i::after { border-right: 0; }
.card.in .bars i::after { transform: scaleX(1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.3em; }
.chip { border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: .26em .85em; font-weight: 700; font-size: 14px; text-transform: lowercase; color: var(--ink); box-shadow: 0 2px 0 var(--ink); transition: transform .15s var(--spring), box-shadow .15s, background .2s; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); }
.chip:active, .chip.on { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); background: var(--yel); }
.also { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: clamp(48px, 7vw, 80px); align-items: end; }
@media (min-width: 760px) { .also { grid-template-columns: 1fr 300px; } }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1em; }
.tags button { border: 2px solid var(--ink); background: #fff; border-radius: 14px; padding: .45em .95em; font-weight: 700; font-size: 16px; color: var(--ink); box-shadow: 0 3px 0 var(--ink); transition: transform .18s var(--spring), box-shadow .18s, background .2s; }
.tags button:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.tags button.on { background: var(--yel); }
.also-r { display: flex; justify-content: center; min-height: 240px; }
.also-lint { --u: .42px; position: relative; align-self: flex-end; }
.also-lint .bubble { max-width: min(250px, 72vw); }

.sec--facts { background: var(--butter); }
.facts { display: grid; gap: 32px 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fact { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: var(--card); padding: 26px 26px 28px; cursor: pointer; container-type: inline-size; transition: transform .25s var(--spring), box-shadow .25s; }
.fact:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }
.fact:focus-visible { outline-offset: 5px; }
.fact .q { font-family: var(--type); font-size: 14px; color: var(--ink70); text-transform: uppercase; letter-spacing: .08em; min-height: 2.8em; }
.fact .guess { margin-top: 12px; display: flex; gap: 10px; align-items: baseline; font-weight: 700; font-size: 20px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--spring); }
.fact .guess em { font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--cream); border: 1.5px solid var(--ink); color: var(--ink); padding: .15em .65em; border-radius: 999px; }
.fact .guess s { text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 3px; transition: text-decoration-color .25s .15s; }
.fact.s1 .guess { opacity: 1; transform: none; }
.fact.s2 .guess s { text-decoration-color: var(--red); }
.fact .num { margin-top: 6px; font-family: var(--slab); font-weight: 700; font-size: clamp(60px, 34cqw, 100px); line-height: 1; color: var(--yel); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; font-variant-numeric: tabular-nums; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .5s var(--spring); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .18em; }
.fact .num.long { font-size: clamp(46px, 21cqw, 78px); }
.fact .num small { font-size: .3em; -webkit-text-stroke: 0; color: var(--ink); letter-spacing: .02em; }
.fact.s2 .num { opacity: 1; transform: none; }
.fact .lint { margin-top: 12px; min-height: 3.6em; font-family: var(--type); font-size: 17px; line-height: 1.4; opacity: 0; transition: opacity .3s; }
.fact .lint::before { content: 'LINT'; font-size: 11px; letter-spacing: .14em; background: var(--ink); color: #fff; padding: .2em .7em; margin-right: .6em; border-radius: 4px; vertical-align: .15em; }
.fact.s4 .lint { opacity: 1; }
.fact .lint u { text-decoration: none; background: linear-gradient(transparent 80%, var(--red) 80%, var(--red) 94%, transparent 94%); }
.stamp { position: absolute; right: 18px; top: -30px; font-family: var(--slab); font-weight: 700; font-size: 16px; letter-spacing: .1em; color: var(--red); background: #fff; border: 3px solid var(--red); padding: .2em .6em; border-radius: 6px; transform: rotate(-9deg) scale(3); opacity: 0; pointer-events: none; text-transform: uppercase; }
.fact.s3 .stamp { animation: slam .45s var(--out) forwards; }
@keyframes slam { 0% { opacity: 0; transform: rotate(-9deg) scale(3.4); } 55% { opacity: 1; transform: rotate(-9deg) scale(.9); } 75% { transform: rotate(-9deg) scale(1.06); } 100% { opacity: .95; transform: rotate(-9deg) scale(1); } }
.fact.s3 { animation: thud .3s .15s; }
@keyframes thud { 0%, 100% { transform: none; } 30% { transform: translateY(5px); } 60% { transform: translateY(-2px); } }
.fact .again { position: absolute; right: 18px; bottom: 12px; font-family: var(--type); font-size: 12px; color: var(--ink70); opacity: .7; }

.btn { margin-top: 1.8em; display: inline-flex; align-items: center; gap: .6em; font-family: var(--round); font-weight: 700; font-size: clamp(19px, 4.6vw, 22px); color: var(--ink); background: var(--yel); border: 2px solid var(--ink); border-radius: 18px; padding: .6em 1.2em; box-shadow: 0 5px 0 var(--ink); transition: transform .18s var(--spring), box-shadow .18s var(--spring); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.sec--latest { background: var(--paper); }
.vids { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.vid { position: relative; display: block; aspect-ratio: 9 / 16; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--card); background: #000; color: #fff; transition: transform .25s var(--spring); }
.vid:hover { transform: translateY(-5px); }
.vid img { width: 100%; height: 100%; object-fit: cover; }
.vid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; font-weight: 700; font-size: 15px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

.sec--watch { background: var(--paper); }
.watch-grid { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .watch-grid { grid-template-columns: 1.1fr .9fr; gap: 70px; } }
.watch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.textlink { margin-top: 1.8em; font-weight: 700; font-size: 17px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--yel); }
.textlink:hover { text-decoration-color: var(--ink); }
.watch-title { margin-top: 1.4em; font-family: var(--type); font-size: 16px; color: var(--ink70); min-height: 1.5em; text-wrap: balance; }
.watch-player { justify-self: center; width: min(100%, 340px); perspective: 900px; }
.player { position: relative; width: 100%; aspect-ratio: 9 / 16; border: 2px solid var(--ink); border-radius: 30px; overflow: hidden; background: #14141c; box-shadow: var(--card); transform: rotate(-1.5deg); transition: transform .5s var(--spring); }
.player:hover { transform: rotate(0); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #c9c2d8; font-family: var(--type); font-size: 15px; padding: 24px; text-align: center; }
.player.swap { animation: flip .55s var(--out); }
@keyframes flip { 0% { transform: rotateY(0) rotate(-1.5deg); } 50% { transform: rotateY(88deg) rotate(-1.5deg); } 100% { transform: rotateY(0) rotate(-1.5deg); } }

/* ================= EL SUELO (final de noche) ================= */
.floor { position: relative; background: var(--dusk); color: #F4EEDD; }
.floor .sub { color: #c9c2d8; }
.floor-head { padding-top: clamp(56px, 8vw, 96px); text-align: center; }
.floor-head .sub { margin-inline: auto; }
.floor-head .eyebrow { color: #ff9a93; }
.floor-head .eyebrow::before { background: #ff9a93; }
.vac { margin-top: 1.5em; display: inline-flex; align-items: baseline; gap: .7em; font-family: var(--type); font-size: 17px; background: #000; border: 2px solid var(--red); color: #ffb4ae; padding: .4em 1em; border-radius: 12px; }
.vac b { font-family: var(--slab); font-size: 30px; color: var(--red); line-height: 1; min-width: 1ch; }
.floor-stage { position: relative; margin-top: 34px; height: clamp(240px, 36vw, 330px); overflow: hidden; border-block: 2px solid var(--ink); background: linear-gradient(#2a2238, #392e4c); touch-action: pan-y; container-type: inline-size; --u: clamp(.38px, calc(100cqw / 1000 * .5), .6px); }
.fl-board { position: absolute; left: 0; right: 0; bottom: 74px; height: 28px; background: linear-gradient(#E9E0CE, #D9CFBB); border-block: 2px solid rgba(0, 0, 0, .6); }
.fl-planks { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 18px), var(--tex-wood, none), linear-gradient(rgba(24, 12, 36, .62), rgba(24, 12, 36, .62)), linear-gradient(#8a6a52, #5a4233); background-size: auto, 512px 256px, auto, auto; }
.fl-chars { position: absolute; inset: 0; }
.fl-chars .char { position: absolute; left: 0; bottom: 20px; will-change: transform; }
.robot { position: absolute; left: 0; bottom: 14px; width: 210px; will-change: transform; z-index: 6; pointer-events: none; }
.robot svg { width: 100%; height: auto; overflow: visible; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 52px 0 calc(110px + env(safe-area-inset-bottom)); font-family: var(--type); font-size: 14px; color: #9b95ad; }
.foot a { color: var(--yel); }

/* ================= DOCK ================= */
.dock { position: fixed; width: max-content; max-width: calc(100vw - 20px); left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: flex; gap: 10px; padding: 8px 10px; background: rgba(255, 255, 255, .92); border: 2px solid var(--ink); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px -8px rgba(40, 30, 20, .45), 0 3px 0 var(--ink);
  transform: translate(-50%, 170%); transition: transform .5s var(--spring); }
.dock.show { transform: translate(-50%, 0); }
.dock a, .dock button { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--ink)); color: #fff; border: 2px solid var(--ink); text-decoration: none; transition: transform .2s var(--spring); padding: 0; }
.dock a:hover, .dock button:hover { transform: translateY(-5px) scale(1.1) rotate(-6deg); }
.dock svg { width: 20px; height: 20px; fill: currentColor; }
.dock .soon { opacity: .85; background: #b8b2a6; }
.dock .soon::after { content: ''; position: absolute; right: -3px; top: -3px; width: 13px; height: 13px; border-radius: 50%; background: var(--yel); border: 2px solid var(--ink); }
.dock .lk-d--red { --c: #E0554F; } .dock .lk-d--pink { --c: #E1478A; } .dock .lk-d--blue { --c: #4C74C4; } .dock .lk-d--lilac { --c: #8A6FB8; } .dock .lk-d--yellow { --c: #E9B400; color: var(--ink); } .dock .lk-d--cream { --c: var(--ink); } .dock .lk-d--teal { --c: var(--teal); }
.dock-bubble .bubble { position: relative; left: auto; bottom: auto; transform: none; margin: 0; display: block; max-width: min(300px, 86vw); }
.dock-bubble .bubble::after { left: 50%; }
.dock-bubble { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 61; transform: translateX(-50%); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 440px) { .lk:not(.lk--wide) .lk-tx small { display: none; } .lk:not(.lk--wide) > a, .lk:not(.lk--wide) > button { padding: 9px 12px 9px 9px; gap: 10px; } .lk:not(.lk--wide) .lk-ic { width: 36px; height: 36px; border-radius: 11px; } .lk-tx b { font-size: 17px; } }
@media (max-width: 360px) { .dock { gap: 7px; padding: 7px 8px; } .dock a, .dock button { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .lk, .fz i, .lt i, .amp, .thread, .spark, .crumb { opacity: 1; }
  .wavy path, .thread path { stroke-dashoffset: 0; }
}

/* ---------- v26: pista del interruptor y móvil más compacto ---------- */
.sw-hint { position: absolute; right: calc(100% + 12px); top: 12px; white-space: nowrap; font-family: var(--type); font-size: 14px; line-height: 1; color: var(--ink); background: #fff; border: 2px solid var(--ink); padding: .32em .7em; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.sw-hint::after { content: ''; position: absolute; right: -7px; top: 50%; width: 10px; height: 10px; background: #fff; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.sw-hint.show { opacity: 1; animation: swh 1.4s ease-in-out infinite; }
.sw-hint.gone { opacity: 0; animation: none; }
@keyframes swh { 50% { transform: translateX(6px); } }
@media (max-width: 959px) {
  .stage { min-height: calc(var(--floor-h) + 138px); }
  .room-switch { bottom: calc(var(--floor-h) + 92px); }
}
.pop-ring { position: absolute; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; border: 4px solid #FFD84A; box-shadow: 0 0 0 2px #1a1a24; pointer-events: none; z-index: 4; animation: ringpop .55s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes ringpop { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pop-ring { display: none; } }
