/* =========================================================
   COMPARTIR LA MÚSICA · ESTUDIO A
   Hoja de estilos. Organizada en el mismo orden que el recorrido.
   Diseño y desarrollo: Synesis Code · https://www.synesiscode.com

   ÍNDICE
     1. Variables y modos de luz   ← colores, fuentes y medidas globales
     2. Base                       ← reset, utilidades, grano y luz del cursor
     3. Cursor personalizado
     4. Botones de hardware        ← botones con “profundidad” física
     5. Puerta del estudio
     6. Barra de transporte        ← header, timecode y regla tipo DAW
     7. Cuarto de control          ← vidrio, bocinas y título dinámico
     8. Consola                    ← canales, faders, perillas, vúmetros
     9. Letrero LED
    10. Secciones comunes          ← títulos y revelado al hacer scroll
    11. Sala principal
    12. Cabinas
    13. Sala de escucha
    14. Siguiente toma
    15. Footer y crédito Synesis Code
    16. Video (ventana modal)
    17. Responsivo                 ← tabletas (≤1180, ≤920) y móviles (≤640)
    18. Movimiento reducido        ← accesibilidad

   CÓMO FUNCIONAN LAS ANIMACIONES CON JAVASCRIPT
   app.js no mueve elementos directamente: solo actualiza variables CSS
   (por ejemplo --pulse, --mx, --lvl, --a) y aquí se decide qué hacer con
   ellas. Así el diseño se puede ajustar sin tocar el código.
   ========================================================= */

/* ---------- 1. Variables y modos de luz ---------- */
:root {
  --ink: #0b0b0d;
  --ink-2: #111114;
  --panel: #17171b;
  --panel-2: #1f1f25;
  --line: rgba(255, 255, 255, .09);
  --text: #f4efe4;
  --muted: #a49d90;
  --yellow: #ffd322;
  --red: #ff3b2f;
  --green: #3ef08a;
  --amber: #ffb020;
  --wood: #6d4022;
  --wood-2: #a46536;

  /* Luz de ambiente: cambia con el panel “Luces del estudio” */
  --mood: #8b5cff;
  --mood-2: #3d7bff;
  --mood-rgb: 139, 92, 255;

  --pulse: 0;                 /* 0–1, sube con cada golpe del bombo (lo controla app.js) */
  --header-h: 66px;
  --pad: clamp(18px, 4vw, 56px);
  --radius: 18px;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
html[data-mood="azul"]  { --mood: #2f8bff; --mood-2: #00d2ff; --mood-rgb: 47, 139, 255; }
html[data-mood="ambar"] { --mood: #ff9a2f; --mood-2: #ff4d6d; --mood-rgb: 255, 154, 47; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html.door-open body { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--yellow); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: #111; }

.red-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.4s steps(2) infinite; vertical-align: middle; }
.led-green { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
@keyframes blink { 50% { opacity: .25; } }

/* Grano de película: da textura analógica a toda la página */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* Luz de estudio que sigue al cursor */
.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 30%), rgba(var(--mood-rgb), .16), transparent 62%);
  transition: background .3s;
}

/* ---------- 3. Cursor personalizado (solo puntero fino) ---------- */
.cursor { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%); }
.cursor-dot { width: 8px; height: 8px; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); transform: translate3d(var(--dx, -100px), var(--dy, -100px), 0) translate(-50%, -50%); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(255, 211, 34, .7);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor-ring em { font: 600 10px/1 var(--f-mono); letter-spacing: .1em; color: #111; opacity: 0; font-style: normal; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor-ring { width: 74px; height: 74px; background: var(--yellow); border-color: var(--yellow); }
.cursor.is-hover .cursor-ring em { opacity: 1; }
.cursor.is-hover .cursor-dot { opacity: 0; }
.cursor.is-down .cursor-ring { width: 56px; height: 56px; }

/* ---------- 4. Botones de hardware ---------- */
.hw-btn {
  --b: #2a2a31;
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.4em; border-radius: 12px; border: 0; cursor: pointer;
  font: 700 .95rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none;
  background: var(--b); color: var(--text);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 0 #050506, 0 14px 26px rgba(0,0,0,.45);
  transform: translateY(0);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .25s, filter .25s;
}
.hw-btn svg { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.hw-btn:hover { filter: brightness(1.08); }
.hw-btn:hover svg:last-child { transform: translate(2px, -2px); }
.hw-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 1px 0 #050506, 0 4px 10px rgba(0,0,0,.4); }
.hw-btn-yellow { --b: var(--yellow); color: #141416; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 0 #9c7c00, 0 14px 30px rgba(255, 211, 34, .22); }
.hw-btn-yellow:active { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 0 #9c7c00, 0 4px 10px rgba(255, 211, 34, .2); }
.hw-btn-ghost { --b: rgba(255,255,255,.06); box-shadow: 0 0 0 1px var(--line) inset, 0 6px 0 #050506; backdrop-filter: blur(6px); }
.hw-link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none;
  padding-bottom: 3px; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0% 2px no-repeat;
  transition: background-size .4s var(--ease), color .2s;
}
.hw-link:hover { background-size: 100% 2px; color: var(--yellow); }
.hw-link svg { width: .9em; height: .9em; }

/* ---------- 5. Puerta del estudio ---------- */
.door { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; perspective: 1600px; background: #060607; }
.door[hidden] { display: none; }
.door-leaf {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.04) 0 2px, transparent 3px) 0 0 / 46px 46px,
    linear-gradient(180deg, #2b2b31, #1a1a1f);
  box-shadow: inset 0 0 0 10px #121215, inset 0 0 80px rgba(0,0,0,.6);
  transition: transform 1.25s cubic-bezier(.7, 0, .2, 1);
}
.door-leaf-left { left: 0; transform-origin: left center; border-right: 2px solid #050506; }
.door-leaf-right { right: 0; transform-origin: right center; }
.door-padding { position: absolute; inset: 9% 12%; border-radius: 14px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px), linear-gradient(160deg, #25252b, #19191d); box-shadow: inset 0 2px 0 rgba(255,255,255,.05), inset 0 -10px 30px rgba(0,0,0,.4); }
.door-porthole { position: absolute; top: 14%; left: 50%; width: min(190px, 28vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; overflow: hidden; border: 10px solid #0d0d10; box-shadow: 0 0 0 3px #3a3a42, inset 0 0 30px #000, 0 0 60px rgba(var(--mood-rgb), .35); }
.door-porthole img { width: 100%; height: 100%; object-fit: cover; filter: blur(2.5px) saturate(1.3) brightness(.75); transform: scale(1.2); }
.door-porthole::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 45%); }
.door-handle { position: absolute; top: 52%; width: 14px; height: 120px; border-radius: 8px; background: linear-gradient(90deg, #6f6f78, #c9c9d2, #6f6f78); box-shadow: 0 6px 16px rgba(0,0,0,.6); }
.door-leaf-left .door-handle { right: 7%; }
.door-leaf-right .door-handle { left: 7%; }
.door-onair { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 3; }
.door-onair span, .onair span, .toma-onair span {
  display: inline-block; font: 800 1.05rem/1 var(--f-display); letter-spacing: .28em; padding: .55em 1em .55em 1.28em;
  border-radius: 8px; color: #5a2420; background: #2a1414; border: 2px solid #3a1c1c;
  transition: color .4s, background .4s, box-shadow .4s, text-shadow .4s;
}
.door-onair.lit span, html.is-playing .onair span, html.on-air .onair span, .toma-onair.lit span {
  color: #fff4ef; background: #d6261c; border-color: #ff6a5c;
  box-shadow: 0 0 calc(30px + var(--pulse) * 40px) rgba(255, 59, 47, .75), inset 0 0 12px rgba(255,255,255,.3);
  text-shadow: 0 0 10px #fff;
}
.door-panel {
  position: relative; z-index: 2; width: min(520px, calc(100% - 32px)); text-align: center;
  padding: 34px 28px 26px; border-radius: 22px;
  background: rgba(14, 14, 17, .78); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transition: opacity .5s, transform .6s var(--ease);
}
.door-plate { display: inline-block; padding: 6px 12px; border-radius: 6px; background: linear-gradient(180deg, #c9a24a, #8e6b23); color: #24190a; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.door-smile { display: block; margin: 22px auto 10px; width: 54px; height: 54px; color: var(--yellow); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-6deg); } }
.door-title { margin: 0; font: 800 clamp(2.6rem, 9vw, 4rem)/.88 var(--f-display); letter-spacing: -.01em; }
.door-title span { color: var(--yellow); }
.door-copy { color: var(--muted); margin: 14px 0 22px; }
.door-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.door-hint { margin: 20px 0 0; color: #6f695f; font-size: .64rem; }
/* Apertura */
.door.opening .door-leaf-left { transform: rotateY(-100deg); }
.door.opening .door-leaf-right { transform: rotateY(100deg); }
.door.opening .door-panel { opacity: 0; transform: scale(1.12); }
.door.opening { background: transparent; transition: background 1s .3s; }
.door.opening .door-onair { opacity: 0; transition: opacity .6s .6s; }

/* ---------- 6. Barra de transporte (header) ---------- */
.transport {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 22px;
  padding: 0 var(--pad);
  background: linear-gradient(180deg, rgba(11,11,13,.92), rgba(11,11,13,.78));
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 .98rem/.86 var(--f-display); letter-spacing: .02em; }
.brand b { color: var(--yellow); }
.brand-smile { width: 34px; height: 34px; color: var(--yellow); transition: transform .5s var(--ease); }
.brand:hover .brand-smile { transform: rotate(-18deg) scale(1.08); }
.timecode {
  display: flex; align-items: center; gap: 14px; padding: 7px 14px; border-radius: 10px;
  background: #050506; border: 1px solid #26262c; box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
  font-family: var(--f-mono); font-size: .7rem; color: #6c665d; letter-spacing: .08em;
}
.tc-digits { font-size: 1.05rem; font-weight: 600; color: var(--amber); text-shadow: 0 0 10px rgba(255,176,32,.55); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.tc-rec { display: inline-flex; align-items: center; gap: 6px; }
.tc-rec i { width: 7px; height: 7px; border-radius: 50%; background: #4a1d1a; }
html.is-playing .tc-rec, html.on-air .tc-rec { color: var(--red); }
html.is-playing .tc-rec i, html.on-air .tc-rec i { background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1s steps(2) infinite; }
.tracks { display: flex; justify-content: center; gap: 4px; }
.tracks a {
  position: relative; text-decoration: none; font-size: .84rem; font-weight: 600; color: var(--muted);
  padding: 8px 12px; border-radius: 8px; transition: color .25s, background .25s;
}
.tracks a b { font: 500 .66rem var(--f-mono); color: #5f5a52; margin-right: 4px; transition: color .25s; }
.tracks a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.tracks a.active { color: var(--text); background: rgba(var(--mood-rgb), .16); box-shadow: inset 0 0 0 1px rgba(var(--mood-rgb), .4); }
.tracks a.active b { color: var(--yellow); }
.sound-switch {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  font-size: .82rem; font-weight: 600; transition: background .25s, border-color .25s, box-shadow .25s;
}
.sound-switch svg { width: 18px; height: 18px; }
.sound-switch .ico-on, .sound-switch[aria-pressed="true"] .ico-off { display: none; }
.sound-switch[aria-pressed="true"] .ico-on { display: block; color: var(--green); }
.sound-switch .state { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.sound-switch[aria-pressed="true"] { border-color: rgba(62,240,138,.45); box-shadow: 0 0 18px rgba(62,240,138,.15); }
.sound-switch[aria-pressed="true"] .state { color: var(--green); }
.sound-switch:hover { background: rgba(255,255,255,.08); }

/* Regla de tiempo tipo DAW */
.ruler { position: absolute; left: 0; right: 0; bottom: -15px; height: 14px; background: rgba(8,8,10,.86); border-bottom: 1px solid var(--line); overflow: hidden; }
.ruler-ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 10px) 0 100% / 100% 5px no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 1px, transparent 1px 80px) 0 100% / 100% 10px no-repeat; }
.ruler-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(var(--mood-rgb), .05), rgba(var(--mood-rgb), .35)); }
.playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.ruler-marker { position: absolute; top: 0; bottom: 0; padding: 0 6px; display: flex; align-items: center; font: 600 8.5px/1 var(--f-mono); letter-spacing: .08em; color: rgba(255,255,255,.6); border-left: 1px solid rgba(var(--mood-rgb), .9); background: rgba(var(--mood-rgb), .14); text-decoration: none; white-space: nowrap; }
.ruler-marker:hover { color: var(--yellow); }

/* ---------- 7. Cuarto de control (hero) ---------- */
.control { position: relative; z-index: 2; padding: calc(var(--header-h) + 52px) var(--pad) 70px; overflow: hidden; isolation: isolate; }
.acoustic-wall {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(var(--mood-rgb), .25), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--ink) 100%),
    repeating-linear-gradient(90deg, #1c130c 0 26px, #2a1b10 26px 30px, #120c08 30px 34px);
}
.acoustic-wall::after { /* paneles de espuma acústica */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: conic-gradient(from 45deg, #0b0b0e 0 25%, #16161b 0 50%, #0b0b0e 0 75%, #16161b 0) 0 0 / 34px 34px;
  mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 60%, transparent 100%);
}
.ceiling-light { position: absolute; left: 10%; right: 10%; top: var(--header-h); height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--mood), var(--mood-2), transparent); box-shadow: 0 0 40px 8px rgba(var(--mood-rgb), .55); opacity: calc(.6 + var(--pulse) * .4); }
.control-room { position: relative; max-width: 1360px; margin: 0 auto; }
.onair { display: flex; justify-content: center; margin-bottom: 18px; }

.window-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; gap: 22px; align-items: center; }
.speaker {
  position: relative; height: 230px; border-radius: 12px; padding: 16px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-around;
  background: linear-gradient(160deg, #26262c, #141418); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 40px rgba(0,0,0,.6);
}
.tweeter { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, #555 0 22%, #111 30%, #2a2a2e 70%); box-shadow: inset 0 0 0 3px #0a0a0c; }
.woofer { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #1a1a1d 0 40%, #0b0b0d 60%, #2d2d33 72%, #0a0a0c 76%); box-shadow: inset 0 0 0 4px #08080a; }
.woofer i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #555, #111); transform: scale(calc(1 + var(--pulse) * .22)); }
.speaker-tag { font: 700 .6rem var(--f-mono); color: #66615a; letter-spacing: .2em; }

.glass {
  position: relative; min-height: clamp(500px, 72vh, 740px); border-radius: 26px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 84px clamp(26px, 5vw, 70px) clamp(96px, 12vh, 124px);
  border: 10px solid #121215; box-shadow: 0 0 0 1px #2c2c33, 0 40px 90px rgba(0,0,0,.65), 0 0 120px rgba(var(--mood-rgb), .18);
  --mx: 0; --my: 0;
}
html.on-air .glass { box-shadow: 0 0 0 2px rgba(255, 59, 47, .7), 0 40px 90px rgba(0,0,0,.65), 0 0 120px rgba(255, 59, 47, .25); }
.glass-photo { position: absolute; inset: -6%; transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 14px + var(--scroll-shift, 0px)), 0) scale(1.06); will-change: transform; }
.glass-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(1.15) contrast(1.05); }
.glass-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.6) 42%, rgba(8,8,10,.1) 75%), linear-gradient(0deg, rgba(8,8,10,.85), transparent 45%), linear-gradient(180deg, rgba(var(--mood-rgb), .28), transparent 40%); }
.glass-reflect { position: absolute; inset: -20%; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.07) 45%, rgba(255,255,255,.02) 50%, transparent 56%); transform: translate3d(calc(var(--mx) * -40px), calc(var(--my) * -20px), 0); }
.glass-hud { position: absolute; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.75); font-size: .66rem; }
.glass-hud .hud-right b { color: var(--amber); font-weight: 600; }
.glass-corners i { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.5); }
.glass-corners i:nth-child(1) { top: 46px; left: 22px; border-right: 0; border-bottom: 0; }
.glass-corners i:nth-child(2) { top: 46px; right: 22px; border-left: 0; border-bottom: 0; }
.glass-corners i:nth-child(3) { bottom: 22px; left: 22px; border-right: 0; border-top: 0; }
.glass-corners i:nth-child(4) { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }

.hero-copy { position: relative; max-width: 660px; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--muted); }
.kinetic { margin: 0; font: 800 clamp(3rem, 7.4vw, 6.6rem)/.86 var(--f-display); letter-spacing: -.012em; text-transform: uppercase; }
.k-line { display: block; }
.k-accent { color: var(--yellow); }
.kinetic .w { display: inline-block; white-space: nowrap; }
.kinetic .ch {
  display: inline-block; transform-origin: 50% 100%;
  transform: translateY(calc(var(--lift, 0) * -14px)) scaleY(calc(1 + var(--lift, 0) * .12 + var(--pulse) * .035));
  transition: transform .25s var(--ease), color .25s, text-shadow .25s;
}
.kinetic .ch.hot { color: #fff; text-shadow: 0 0 24px rgba(var(--mood-rgb), .9); }
.k-accent .ch.hot { color: #fff6c9; text-shadow: 0 0 24px rgba(255, 211, 34, .8); }
.kinetic.intro .ch { animation: chIn .8s var(--ease) both; animation-delay: calc(var(--i) * 24ms + .2s); }
@keyframes chIn { from { opacity: 0; transform: translateY(60%) scaleY(1.6); filter: blur(6px); } }
.hero-sub { max-width: 440px; margin: 22px 0 26px; font-size: 1.06rem; color: #d8d1c4; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- 8. Consola ---------- */
.desk { position: relative; z-index: 3; margin: -58px auto 0; max-width: 1240px; perspective: 1400px; }
.desk-surface {
  padding: 18px 22px 16px; border-radius: 22px 22px 16px 16px;
  background: linear-gradient(180deg, #2a2a30 0%, #1b1b20 22%, #151519 100%);
  border-top: 14px solid var(--wood);
  border-image: none;
  box-shadow: 0 -2px 0 var(--wood-2) inset, 0 40px 80px rgba(0,0,0,.7), 0 0 0 1px #000;
  transform: rotateX(7deg); transform-origin: 50% 0;
}
.desk-surface::before { /* madera frontal */
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; border-radius: 22px 22px 0 0;
  background: repeating-linear-gradient(90deg, #7a4826 0 6px, #6a3d20 6px 9px, #8a5530 9px 16px);
}
.desk-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8d877c; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; font-size: .64rem; }
.desk-note { color: #6a655c; text-transform: none; letter-spacing: .02em; }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .7fr); gap: 20px; align-items: stretch; }
.desk-tip { margin: 14px 4px 0; color: #5f5a52; font-size: .62rem; text-transform: none; letter-spacing: .03em; }

.strips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.strip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 6px 10px; border-radius: 12px; background: linear-gradient(180deg, #202026, #17171c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 0 1px rgba(0,0,0,.6);
  transition: box-shadow .3s;
}
.strip.is-solo { box-shadow: inset 0 0 0 1px var(--amber), 0 0 22px rgba(255,176,32,.15); }
.strip.is-muted { opacity: .55; }
.strip-num { color: #77716a; font-size: .62rem; }
.knob {
  --v: 50; position: relative; width: 40px; height: 40px; border-radius: 50%; cursor: ns-resize; touch-action: none;
  background: radial-gradient(circle at 38% 30%, #5c5c66, #26262c 60%, #141417);
  box-shadow: 0 4px 10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 4px #0e0e11, 0 0 0 5px #2a2a31;
  transform: rotate(calc(-135deg + var(--v) * 2.7deg)); transition: box-shadow .2s;
}
.knob i { position: absolute; left: 50%; top: 4px; width: 3px; height: 13px; margin-left: -1.5px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.knob:hover, .knob:focus-visible { box-shadow: 0 4px 10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 4px #0e0e11, 0 0 0 6px rgba(var(--mood-rgb), .8); }
.knob-big { width: 58px; height: 58px; }
.knob-big i { height: 18px; top: 5px; }
.knob-label { color: #7b756b; font-size: .58rem; }
.strip-btns { display: flex; gap: 6px; }
.ms {
  width: 30px; height: 24px; border-radius: 6px; border: 0; cursor: pointer;
  font: 700 .7rem var(--f-mono); color: #8a847a; background: #2b2b32;
  box-shadow: 0 3px 0 #0a0a0c, inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .1s, box-shadow .1s, background .2s, color .2s;
}
.ms:active { transform: translateY(2px); box-shadow: 0 1px 0 #0a0a0c; }
.ms-m[aria-pressed="true"] { background: #3f7bff; color: #fff; box-shadow: 0 3px 0 #0a0a0c, 0 0 14px rgba(63,123,255,.6); }
.ms-s[aria-pressed="true"] { background: var(--amber); color: #1d1300; box-shadow: 0 3px 0 #0a0a0c, 0 0 14px rgba(255,176,32,.6); }

.fader-bay { position: relative; display: flex; gap: 8px; align-items: stretch; height: 168px; padding: 6px 0; }
.led-meter { position: relative; width: 7px; border-radius: 4px; background: #0a0a0c; overflow: hidden; box-shadow: inset 0 0 0 1px #000; }
.led-meter i {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--lvl, 0) * 100%);
  background: linear-gradient(0deg, var(--green) 0 60%, #c9f03e 60% 78%, var(--amber) 78% 90%, var(--red) 90%) 0 100% / 100% 168px no-repeat;
  -webkit-mask: repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 5px);
          mask: repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 5px);
}
.led-meter b { position: absolute; left: 0; right: 0; height: 2px; bottom: calc(var(--peak, 0) * 100%); background: #fff; opacity: calc(var(--peak, 0) * 4); }

/* Fader vertical */
.fader {
  -webkit-appearance: none; appearance: none; cursor: grab;
  writing-mode: vertical-lr; direction: rtl;
  width: 34px; height: 100%; margin: 0; background: transparent; touch-action: none;
}
.fader::-webkit-slider-runnable-track { width: 6px; border-radius: 4px; background: linear-gradient(90deg, #050506, #1d1d22); box-shadow: inset 0 0 0 1px #000, 0 1px 0 rgba(255,255,255,.06); }
.fader::-moz-range-track { width: 6px; border-radius: 4px; background: linear-gradient(90deg, #050506, #1d1d22); }
.fader::-webkit-slider-thumb {
  -webkit-appearance: none; width: 34px; height: 46px; margin-left: -14px; border-radius: 6px; border: 0;
  background: linear-gradient(180deg, #4b4b54 0%, #2c2c33 46%, #f4efe4 46% 54%, #2c2c33 54%, #1f1f25 100%);
  box-shadow: 0 6px 12px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.fader::-moz-range-thumb {
  width: 34px; height: 46px; border-radius: 6px; border: 0;
  background: linear-gradient(180deg, #4b4b54 0%, #2c2c33 46%, #f4efe4 46% 54%, #2c2c33 54%, #1f1f25 100%);
  box-shadow: 0 6px 12px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.fader:active { cursor: grabbing; }
.fader:hover::-webkit-slider-thumb { background: linear-gradient(180deg, #4b4b54 0%, #2c2c33 46%, var(--yellow) 46% 54%, #2c2c33 54%, #1f1f25 100%); }
.fader:hover::-moz-range-thumb { background: linear-gradient(180deg, #4b4b54 0%, #2c2c33 46%, var(--yellow) 46% 54%, #2c2c33 54%, #1f1f25 100%); }
.fader-master::-webkit-slider-thumb { background: linear-gradient(180deg, #ff6a5c 0%, #b8231a 46%, #fff 46% 54%, #b8231a 54%, #7d150f 100%); }
.fader-master::-moz-range-thumb { background: linear-gradient(180deg, #ff6a5c 0%, #b8231a 46%, #fff 46% 54%, #b8231a 54%, #7d150f 100%); }
.scribble { font: 700 1.25rem/1 var(--f-hand); color: #1b1b1b; background: #f3ead2; padding: 3px 10px 4px; border-radius: 2px; transform: rotate(-2deg); box-shadow: 0 2px 4px rgba(0,0,0,.4); white-space: nowrap; }
.strip:nth-child(even) .scribble { transform: rotate(1.5deg); }

/* Centro */
.desk-center { display: flex; flex-direction: column; gap: 12px; }
.screen { position: relative; flex: 1; min-height: 170px; border-radius: 12px; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(var(--mood-rgb), .2), transparent 60%), #07070a; box-shadow: inset 0 0 0 1px #000, inset 0 0 30px rgba(0,0,0,.8), 0 0 0 5px #0f0f12; }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.screen-top, .screen-bottom { position: absolute; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: .62rem; color: rgba(255,255,255,.7); z-index: 2; }
.screen-top { top: 10px; } .screen-bottom { bottom: 10px; color: #6b665e; }
#screen-status { color: var(--green); }
.screen-rec { color: #4a2421; }
html.on-air .screen-rec { color: var(--red); animation: blink 1s steps(2) infinite; }
.tape { display: flex; align-items: center; justify-content: center; gap: 0; height: 64px; padding: 0 10px; border-radius: 10px; background: linear-gradient(180deg, #232329, #18181d); box-shadow: inset 0 0 0 1px #000; }
.reel { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #0c0c0e 0 14%, #3a2a1a 15% 48%, #241a10 49% 62%, #9b9ba3 63% 66%, #2a2a30 67%); box-shadow: 0 0 0 2px #0a0a0c; animation: spin 2.4s linear infinite; animation-play-state: paused; }
.reel i { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(transparent 0 26deg, rgba(200,200,210,.65) 26deg 34deg, transparent 34deg 146deg, rgba(200,200,210,.65) 146deg 154deg, transparent 154deg 266deg, rgba(200,200,210,.65) 266deg 274deg, transparent 274deg); -webkit-mask: radial-gradient(circle, transparent 14%, #000 15% 40%, transparent 41%); mask: radial-gradient(circle, transparent 14%, #000 15% 40%, transparent 41%); }
.tape-band { flex: 1; height: 4px; margin: 0 -4px; background: #3a2a1a; border-radius: 2px; }
html.is-playing .reel { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.transport-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tbtn {
  height: 50px; border-radius: 10px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(180deg, #3a3a42, #26262c); color: #cfc9be;
  box-shadow: 0 5px 0 #08080a, inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .1s, box-shadow .1s, color .2s, background .2s;
}
.tbtn svg { width: 22px; height: 22px; }
.tbtn:hover { color: #fff; background: linear-gradient(180deg, #45454e, #2c2c33); }
.tbtn:active { transform: translateY(4px); box-shadow: 0 1px 0 #08080a, inset 0 1px 0 rgba(255,255,255,.14); }
.tbtn-play .ico-pause, .tbtn-play[aria-pressed="true"] .ico-play { display: none; }
.tbtn-play[aria-pressed="true"] .ico-pause { display: block; }
.tbtn-play[aria-pressed="true"] { color: var(--green); box-shadow: 0 5px 0 #08080a, 0 0 18px rgba(62,240,138,.35), inset 0 1px 0 rgba(255,255,255,.14); }
.tbtn-rec { color: #7a2a24; }
.tbtn-rec[aria-pressed="true"] { color: var(--red); box-shadow: 0 5px 0 #08080a, 0 0 22px rgba(255,59,47,.5), inset 0 1px 0 rgba(255,255,255,.14); }

/* Master */
.desk-master { display: flex; flex-direction: column; gap: 14px; }
.vu-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vu {
  position: relative; height: 82px; border-radius: 8px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 110%, #fff5d8, #f0dfae 70%, #c9b37a); box-shadow: inset 0 0 0 3px #111, inset 0 6px 16px rgba(0,0,0,.35), 0 0 calc(var(--pulse) * 20px) rgba(255, 200, 80, .35);
}
.vu-scale { position: absolute; left: 50%; bottom: -46px; width: 130px; height: 130px; transform: translateX(-50%); border-radius: 50%; background: conic-gradient(from -50deg, #222 0 70deg, #c0261c 70deg 100deg, transparent 100deg); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55% 58%, transparent 59%); mask: radial-gradient(circle, transparent 54%, #000 55% 58%, transparent 59%); }
.vu-needle { position: absolute; left: 50%; bottom: 6px; width: 2px; height: 66px; margin-left: -1px; background: #1a1a1a; transform-origin: 50% 100%; transform: rotate(var(--a, -48deg)); border-radius: 2px; }
.vu-needle::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #111; }
.vu-label { position: absolute; left: 8px; bottom: 6px; color: #5d4f2c; font-weight: 600; }
.master-row { flex: 1; display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr auto; align-items: center; justify-content: space-around; gap: 6px 14px; padding: 12px; border-radius: 12px; background: linear-gradient(180deg, #202026, #17171c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); }
.master-knob { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fader-bay-master { height: 150px; }
.scribble-master { grid-column: 1 / -1; justify-self: center; background: #ffe7e3; }

/* ---------- 9. Letrero LED ---------- */
.led-ticker { position: relative; z-index: 2; overflow: hidden; background: #050506; border-block: 1px solid #1d1d22; padding: 16px 0; }
.led-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.led-track span {
  font: 700 clamp(1.4rem, 3vw, 2.3rem)/1 var(--f-mono); letter-spacing: .14em; color: var(--amber); white-space: nowrap;
  text-shadow: 0 0 12px rgba(255,176,32,.6);
  -webkit-mask: radial-gradient(circle, #000 45%, transparent 55%) 0 0 / 4px 4px; mask: radial-gradient(circle, #000 45%, transparent 55%) 0 0 / 4px 4px;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 10. Secciones comunes ---------- */
.section { position: relative; z-index: 2; padding: clamp(80px, 12vw, 150px) var(--pad); max-width: 1440px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; margin-bottom: clamp(36px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.section-head .eyebrow { margin: 0; color: var(--yellow); }
.side-note { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.display { margin: 0; font: 800 clamp(3rem, 7.4vw, 6.6rem)/.86 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.display span { color: var(--yellow); }

/* Revelado al hacer scroll: “sube el fader” */
html.js .reveal { opacity: 0; transform: translateY(46px); clip-path: inset(0 0 22% 0); transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; clip-path: inset(-50%); }

/* ---------- 11. Sala principal ---------- */
.sala-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.sala-wall {
  position: relative; min-height: 640px; border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(var(--mood-rgb), .22), transparent 60%),
    repeating-linear-gradient(90deg, #1d140d 0 22px, #2b1c11 22px 26px, #130d08 26px 30px);
  box-shadow: inset 0 0 80px rgba(0,0,0,.7);
}
.pin { position: absolute; margin: 0; padding: 12px 12px 46px; background: #f4ecd8; border-radius: 3px; box-shadow: 0 30px 50px rgba(0,0,0,.55); transition: box-shadow .4s; will-change: transform; }
.pin img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(1.08); }
.pin figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 700 1.5rem/1 var(--f-hand); color: #2a2620; }
.pin-a { width: 56%; left: 7%; top: 7%; rotate: -4deg; }
.pin-b { width: 46%; right: 6%; bottom: 7%; rotate: 5deg; }
.pin:hover { box-shadow: 0 40px 70px rgba(0,0,0,.65), 0 0 0 3px var(--yellow); }
.tape-strip { position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: rgba(255, 238, 180, .55); rotate: -3deg; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sticker { position: absolute; right: 12%; top: 9%; width: 118px; height: 118px; border-radius: 50%; background: var(--yellow); color: #141416; display: grid; place-items: center; text-align: center; box-shadow: 0 16px 30px rgba(0,0,0,.5); rotate: 10deg; transition: rotate .6s var(--ease); }
.sticker:hover { rotate: -12deg; }
.sticker svg { width: 50px; height: 50px; color: var(--yellow); position: absolute; top: 14px; }
.sticker span { position: absolute; bottom: 22px; font: 800 .95rem/1 var(--f-display); letter-spacing: .08em; }
.sala-copy .display { font-size: clamp(3rem, 6.2vw, 5.8rem); }
.lead { font-size: 1.32rem; font-weight: 600; color: var(--text); margin: 28px 0 10px; }
.sala-copy p { color: #cfc8bb; max-width: 520px; }
.track-sheet { margin: 30px 0; max-width: 460px; padding: 18px 20px 14px; background: #f3ead2; color: #1d1b17; border-radius: 4px; rotate: -1deg; box-shadow: 0 20px 40px rgba(0,0,0,.45); background-image: repeating-linear-gradient(0deg, transparent 0 33px, rgba(60, 80, 160, .18) 33px 34px); }
.sheet-head { display: flex; justify-content: space-between; color: #6b5f45; border-bottom: 2px solid #1d1b17; padding-bottom: 8px; margin-bottom: 4px; }
.track-sheet ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.track-sheet li { font: 700 1.5rem/34px var(--f-hand); display: flex; gap: 10px; align-items: baseline; }
.track-sheet li span { font: 500 .7rem var(--f-mono); color: #8a7c5c; }
.sheet-you { color: #c0261c; }
.lights { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lights-label { width: 100%; color: var(--muted); margin-bottom: 2px; }
.light-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; font-size: .86rem; font-weight: 600; transition: border-color .25s, background .25s, transform .2s; }
.light-btn i { width: 12px; height: 12px; border-radius: 50%; }
.light-btn[data-mood="violeta"] i { background: #8b5cff; box-shadow: 0 0 10px #8b5cff; }
.light-btn[data-mood="azul"] i { background: #2f8bff; box-shadow: 0 0 10px #2f8bff; }
.light-btn[data-mood="ambar"] i { background: #ff9a2f; box-shadow: 0 0 10px #ff9a2f; }
.light-btn:hover { transform: translateY(-2px); }
.light-btn[aria-pressed="true"] { border-color: rgba(var(--mood-rgb), .8); background: rgba(var(--mood-rgb), .16); }

/* ---------- 12. Cabinas ---------- */
.cabinas-intro, .playback-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.cabinas-intro p, .playback-intro p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 380px; }
.cabinas-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 54px); align-items: stretch; }
.pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px; border-radius: var(--radius); background: linear-gradient(180deg, #1f1f25, #141418); box-shadow: inset 0 0 0 1px #000, 0 30px 60px rgba(0,0,0,.5); align-content: start; }
.pad {
  --c: var(--mood); position: relative; aspect-ratio: 1; border: 0; cursor: pointer; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 14px; text-align: left;
  background: linear-gradient(160deg, #34343c, #23232a); color: var(--text);
  box-shadow: 0 6px 0 #08080a, inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(0,0,0,.4);
  transition: transform .09s, box-shadow .09s, background .3s;
}
.pad[data-inst="guitarra"] { --c: #ffd322; } .pad[data-inst="bateria"] { --c: #ff3b2f; } .pad[data-inst="bajo"] { --c: #3ef08a; }
.pad[data-inst="canto"] { --c: #ff5fb5; } .pad[data-inst="piano"] { --c: #4fb4ff; } .pad[data-inst="produccion"] { --c: #a77bff; }
.pad::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, var(--c), transparent 70%); opacity: 0; transition: opacity .5s; }
.pad:hover::before { opacity: .22; }
.pad[aria-pressed="true"] { box-shadow: 0 6px 0 #08080a, inset 0 0 0 2px var(--c), 0 0 28px color-mix(in srgb, var(--c) 35%, transparent); }
.pad[aria-pressed="true"]::before { opacity: .3; }
.pad.hit { transform: translateY(5px); box-shadow: 0 1px 0 #08080a, inset 0 0 0 2px var(--c), 0 0 50px var(--c); }
.pad.hit::before { opacity: .9; transition: opacity .05s; }
.pad-key { position: absolute; top: 10px; right: 12px; color: rgba(255,255,255,.45); }
.pad-name { position: relative; font: 800 clamp(1.1rem, 2vw, 1.55rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.pad-sub { position: relative; color: var(--c); font-size: .6rem; margin-top: 5px; }
.pad .ripple { position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--c); transform: translate(-50%, -50%); animation: ripple .7s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { width: 260px; height: 260px; opacity: 0; } }
.pads-hint { grid-column: 1 / -1; margin: 6px 0 0; color: #6f695f; font-size: .64rem; text-transform: none; letter-spacing: .03em; }
.pads-hint.warn { color: var(--amber); }

.booth { position: relative; min-height: 560px; border-radius: var(--radius); overflow: hidden; border: 10px solid #121215; box-shadow: 0 0 0 1px #2c2c33, 0 40px 80px rgba(0,0,0,.6); }
.booth-window { position: absolute; inset: 0; }
.booth-window img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform 1.2s var(--ease), filter .45s; }
.booth.swapping .booth-window img { opacity: 0; transform: scale(1.06); filter: blur(8px); }
.booth-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,.95) 6%, rgba(8,8,10,.25) 55%, rgba(8,8,10,.35)); }
.booth-scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(var(--mood-rgb), .25), transparent) 0 -100% / 100% 40% no-repeat; animation: scan 4.5s linear infinite; mix-blend-mode: screen; }
@keyframes scan { to { background-position: 0 220%; } }
.booth-light { position: absolute; z-index: 2; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; background: rgba(0,0,0,.6); font: 600 .62rem var(--f-mono); letter-spacing: .1em; }
.booth-light i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.booth-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 4vw, 38px); transition: opacity .35s, transform .45s var(--ease); }
.booth.swapping .booth-info { opacity: 0; transform: translateY(14px); }
.booth-tag { color: var(--yellow); }
.booth-info h3 { margin: 12px 0 10px; font: 800 clamp(2.4rem, 5vw, 4rem)/.88 var(--f-display); text-transform: uppercase; }
.booth-info p { margin: 0 0 18px; color: #d6cfc2; max-width: 440px; }

/* ---------- 13. Sala de escucha ---------- */
.monitors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.monitor { display: block; text-decoration: none; padding: 14px 14px 0; border-radius: 22px; background: linear-gradient(180deg, #25252b, #16161a); box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); transition: transform .5s var(--ease), box-shadow .5s; }
.monitor:hover { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 60px rgba(var(--mood-rgb), .25), inset 0 1px 0 rgba(255,255,255,.08); }
.monitor-screen { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 2px #000; }
.monitor-screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.75); transition: transform 1.2s var(--ease), filter .5s; }
.monitor:hover .monitor-screen img { transform: scale(1.06); filter: saturate(1.25) brightness(.9); }
.monitor-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px), radial-gradient(ellipse, transparent 55%, rgba(0,0,0,.6)); }
.monitor-hud { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; color: rgba(255,255,255,.85); font-size: .62rem; }
.tc-run { color: var(--amber); font-variant-numeric: tabular-nums; }
.monitor-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #141416; box-shadow: 0 0 0 10px rgba(255,211,34,.2), 0 20px 40px rgba(0,0,0,.5); transition: transform .4s var(--ease), box-shadow .4s; }
.monitor-play svg { width: 32px; height: 32px; margin-left: 4px; }
.monitor:hover .monitor-play { transform: scale(1.12); box-shadow: 0 0 0 18px rgba(255,211,34,.15), 0 20px 40px rgba(0,0,0,.5); }
.monitor-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 6px 18px; }
.monitor-title { font: 700 1.5rem/1.05 var(--f-display); text-transform: uppercase; }
.monitor-foot .mono { color: var(--muted); }
.playback-help { color: #6f695f; margin-top: 26px; text-align: center; }

/* ---------- 14. Siguiente toma ---------- */
.toma { text-align: center; padding-bottom: clamp(100px, 14vw, 180px); }
.toma-onair { margin-bottom: 30px; }
.toma .eyebrow { justify-content: center; color: var(--yellow); }
.toma-title { font-size: clamp(3rem, 8.6vw, 8rem); }
.toma-cta { display: flex; align-items: center; justify-content: center; gap: clamp(26px, 5vw, 60px); margin-top: 54px; flex-wrap: wrap; }
.rec-big { position: relative; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #3a3a42, #1a1a1f); box-shadow: 0 10px 0 #050506, 0 30px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12); transition: transform .15s, box-shadow .15s; }
.rec-core { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ff6a5c, #c01e14); box-shadow: 0 0 30px rgba(255,59,47,.6); transition: transform .4s var(--ease), border-radius .4s var(--ease); }
.rec-ring { position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255,59,47,.6); animation: recPulse 2s ease-out infinite; }
@keyframes recPulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.rec-big:hover .rec-core { transform: scale(1.12); }
.rec-big:active { transform: translateY(8px); box-shadow: 0 2px 0 #050506, 0 10px 20px rgba(0,0,0,.6); }
.toma-copy { text-align: left; }
.toma-copy p { color: #cfc8bb; margin: 0 0 22px; }

/* ---------- 15. Footer y crédito Synesis Code ---------- */
.footer { position: relative; z-index: 2; padding: 0 var(--pad) 40px; }
.cassette-label { max-width: 1360px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-radius: 16px; background: linear-gradient(180deg, #f3ead2 0 30%, #ffd322 30% 36%, #f3ead2 36%); color: #1b1b1b; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.cassette-label .brand-smile { color: var(--yellow); filter: drop-shadow(0 0 0 #1b1b1b) drop-shadow(0 0 1px #1b1b1b); }
.cassette-label .brand b { color: #c0261c; }
.cassette-label .scribble { background: transparent; box-shadow: none; font-size: 1.5rem; white-space: normal; }
.back-top { text-decoration: none; font-weight: 600; }
.back-top:hover { color: #c0261c; }

/* Crédito Synesis Code: tarjeta clara para respetar los colores del logo */
.credit { max-width: 1360px; margin: 28px auto 0; }
.credit-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px);
  padding: clamp(24px, 4vw, 44px); border-radius: 20px;
  background: #fff; color: #0c1638;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 -6px 0 #00b89c;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.credit-card:hover { transform: translateY(-4px); box-shadow: 0 34px 80px rgba(0,0,0,.55), 0 0 60px rgba(0, 184, 156, .25), inset 0 -6px 0 #00b89c; }
.credit-logo { display: block; }
.credit-logo img { width: 100%; max-width: 520px; height: auto; transition: transform .5s var(--ease); }
.credit-logo:hover img { transform: scale(1.03); }
.credit-eyebrow { margin: 0 0 8px; color: #00a58c; font-weight: 600; }
.credit-copy h2 { margin: 0 0 8px; font: 800 clamp(1.8rem, 3.4vw, 2.8rem)/.95 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.credit-copy p { margin: 0 0 20px; color: #3a4466; }
.credit-btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.3em; border-radius: 12px; text-decoration: none;
  font-weight: 700; background: #0c1638; color: #fff;
  box-shadow: 0 5px 0 #00b89c; transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .25s;
}
.credit-btn svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.credit-btn:hover { background: #142256; }
.credit-btn:hover svg { transform: translate(2px, -2px); }
.credit-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #00b89c; }
.credit :focus-visible { outline-color: #00b89c; }

/* Barra de pistas móvil */
.mobile-tracks { display: none; }

/* ---------- 16. Video ---------- */
dialog { width: min(980px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #0d0d10; color: var(--text); box-shadow: 0 40px 100px rgba(0,0,0,.8); }
dialog::backdrop { background: rgba(5,5,7,.85); backdrop-filter: blur(6px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; }
.dialog-head h2 { margin: 0; color: var(--muted); }
.video-mount { aspect-ratio: 16 / 9; background: #000; }
.video-mount iframe { width: 100%; height: 100%; border: 0; display: block; }
.dialog-foot { padding: 12px 20px; margin: 0; color: var(--muted); text-transform: none; letter-spacing: .02em; }

/* ---------- 17. Responsivo ---------- */
@media (max-width: 1180px) {
  .tracks a { padding: 8px 8px; font-size: .78rem; }
  .tc-meta { display: none; }
  .desk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .strips { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  :root { --header-h: 58px; }
  .transport { grid-template-columns: auto 1fr auto; gap: 12px; }
  .tracks { display: none; }
  .timecode { justify-self: center; padding: 6px 10px; }
  .tc-rec { display: none; }
  .window-row { grid-template-columns: minmax(0, 1fr); }
  .speaker { display: none; }
  .glass { min-height: min(78svh, 660px); border-width: 6px; border-radius: 20px; padding: 70px 20px 86px; }
  .glass-tint { background: linear-gradient(0deg, rgba(8,8,10,.95) 8%, rgba(8,8,10,.55) 55%, rgba(8,8,10,.25)), linear-gradient(180deg, rgba(var(--mood-rgb), .3), transparent 40%); }
  .desk { margin-top: -50px; }
  .desk-surface { transform: none; padding: 14px; }
  .sala-grid, .cabinas-grid, .monitors { grid-template-columns: minmax(0, 1fr); }
  .sala-wall { min-height: 520px; }
  .booth { min-height: 480px; }
  .mobile-tracks {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 100;
    padding: 6px; border-radius: 16px; background: rgba(14,14,17,.9); backdrop-filter: blur(14px); border: 1px solid var(--line);
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
  .mobile-tracks a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; text-decoration: none; font-size: .68rem; font-weight: 600; color: var(--muted); }
  .mobile-tracks b { font: 600 .6rem var(--f-mono); color: #5f5a52; }
  .mobile-tracks a.active { background: rgba(var(--mood-rgb), .2); color: var(--text); }
  .mobile-tracks a.active b { color: var(--yellow); }
  .footer { padding-bottom: 100px; }
  .door-leaf .door-handle { height: 80px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .sound-switch span { display: none; }
  .sound-switch { padding: 9px; }
  .ruler { bottom: -13px; height: 12px; }
  .ruler-marker { display: none; }
  .glass-hud .hud-right { display: none; }
  .kinetic { font-size: clamp(2.5rem, 12.5vw, 4.4rem); }
  .hero-sub { font-size: .98rem; margin: 16px 0 20px; }
  .desk-grid { grid-template-columns: minmax(0, 1fr); }
  .strips { grid-template-columns: repeat(4, minmax(74px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .strip { scroll-snap-align: start; }
  .fader-bay { height: 140px; }
  .scribble { font-size: 1.05rem; }
  .desk-note { display: none; }
  .pads { gap: 10px; padding: 12px; }
  .pad { padding: 10px; }
  .pad-sub { display: none; }
  .pad-name { font-size: clamp(.9rem, 4.4vw, 1.2rem); overflow-wrap: anywhere; }
  .sala-wall { min-height: 440px; }
  .sticker { width: 92px; height: 92px; }
  .sticker svg { width: 38px; height: 38px; top: 12px; }
  .sticker span { bottom: 16px; font-size: .78rem; }
  .track-sheet ol { grid-template-columns: 1fr; }
  .credit-card { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .credit-logo img { margin: 0 auto; }
  .toma-copy { text-align: center; }
  .rec-big { width: 120px; height: 120px; }
}

/* ---------- 18. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain, .booth-scan, .rec-ring { display: none; }
  html.js .reveal { clip-path: none; transform: none; }
}
