/* ============================================================
   HUMO — humomusic.com
   Estilos del sitio · brutalismo rojo 660 nm / negro
   Tipografía: DM Mono + DM Sans (familia cjdevelopment)
   ============================================================ */

@font-face {
  font-family: 'DM Mono'; font-style: normal; font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono'; font-style: normal; font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-mono-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans-var-latin.woff2') format('woff2-variations');
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #050103; color: #c9bdbd;
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
#c { display: block; position: fixed; inset: 0; z-index: 0; }

/* ---- pantalla de entrada ---- */
#enter {
  position: fixed; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,1,3,0.86); cursor: pointer;
  transition: opacity 1.1s ease;
}
#enter.gone { opacity: 0; pointer-events: none; }
#playEnter {
  width: 86px; height: 86px; border-radius: 20px;
  background: #0a0810; border: 1px solid #ff2a20;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  animation: pulse 2.8s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .25s ease;
}
#playEnter:hover { transform: scale(1.06); box-shadow: 0 0 70px rgba(255,40,24,.55); }
#playEnter svg { width: 34px; height: 34px; fill: #f0e8e6; margin-left: 5px; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 34px rgba(255,40,24,.22), inset 0 0 26px rgba(255,40,24,.08); }
  50%     { box-shadow: 0 0 58px rgba(255,40,24,.44), inset 0 0 26px rgba(255,40,24,.15); }
}

/* ---- telemetría · título del track ---- */
#nowplaying {
  position: fixed; left: 50%; bottom: 98px; transform: translateX(-50%);
  font: 400 0.62rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.34em; padding-left: 0.34em;
  text-transform: uppercase; white-space: nowrap;
  color: rgba(255,120,96,0); transition: color 1.1s ease;
  pointer-events: none; z-index: 8;
}
#nowplaying.show { color: rgba(255,120,96,0.8); }

/* ---- barra de transporte · lenguaje LumaDeck ---- */
#transport {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 8;
  opacity: 0; pointer-events: none; transition: opacity .8s ease;
}
#transport.on { opacity: 1; pointer-events: auto; }
.tbtn {
  width: 46px; height: 46px; border-radius: 10px;
  background: #0a0810; border: 1px solid #3a1418;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.tbtn:hover { border-color: #ff2a20; background: #120a0c; transform: translateY(-2px); }
.tbtn svg { width: 20px; height: 20px; fill: #eeeaff; display: block; }
.tbtn span { display: flex; }
.tbtn.play { border-color: #ff2a20; }
.tbtn.stop { border-color: #ff0040; }
.tbtn.stop svg { fill: #ff0040; }
.tbtn.play .ic-pa { display: none; }
#transport.playing .tbtn.play .ic-pl { display: none; }
#transport.playing .tbtn.play .ic-pa { display: flex; }

/* ---- secciones ---- */
main { position: relative; z-index: 1; }
.hero-sp { height: 100vh; position: relative; }
.cue {
  position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%);
  font: 400 0.58rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.32em; padding-left: 0.32em; text-transform: uppercase;
  color: rgba(255,90,68,0.42);
}
.sec {
  min-height: 92vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 13vh 24px; text-align: center;
  background: rgba(5,1,3,0.93);
  border-top: 1px solid rgba(255,42,22,0.16);
}
.tag {
  font: 400 0.66rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.42em; padding-left: 0.42em; text-transform: uppercase;
  color: #ff5a3c; margin-bottom: 46px;
}

/* música */
.sc-frame {
  width: min(720px, 100%);
  border: 1px solid rgba(255,42,22,0.22); border-radius: 10px;
  overflow: hidden; background: #0a0810;
}
.sc-frame iframe { display: block; }
/* fachada del reproductor — la foto de SoundCloud; el player real carga al pulsar */
.sc-facade {
  display: block; position: relative; width: 100%;
  border: 0; padding: 0; margin: 0; cursor: pointer;
  background: #0a0810; aspect-ratio: 1 / 1;
}
.sc-facade-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.9; transition: opacity .3s ease;
}
.sc-facade:hover .sc-facade-img,
.sc-facade:focus-visible .sc-facade-img { opacity: 1; }
.sc-facade-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 20px;
  background: rgba(10,8,16,0.74); border: 1px solid #ff2a20;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px; color: #f0e8e6; padding-left: 5px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.sc-facade:hover .sc-facade-play,
.sc-facade:focus-visible .sc-facade-play {
  box-shadow: 0 0 60px rgba(255,40,24,.6);
  transform: translate(-50%, -50%) scale(1.07);
}
.sc-facade-hint {
  position: absolute; left: 0; right: 0; bottom: 24px;
  text-align: center;
  font: 400 0.62rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.26em; padding-left: 0.26em; text-transform: uppercase;
  color: #f0e8e6; text-shadow: 0 2px 18px rgba(0,0,0,.9);
}
.sc-cookie {
  margin-top: 13px; max-width: min(720px, 100%);
  font: 400 0.58rem/1.5 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.04em; color: #9a8585; text-align: center;
}

/* historia · timeline */
.bio { width: min(640px, 100%); text-align: left; }
.bio-lead {
  font-size: 1.05rem; line-height: 1.65; color: #d8c8c8;
  font-style: italic; margin-bottom: 42px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,42,22,0.14);
}
.tl2 { list-style: none; }
.tl2 li {
  display: grid; grid-template-columns: 84px 1fr; gap: 22px;
  padding: 17px 2px;
  border-top: 1px solid rgba(255,42,22,0.10);
}
.tl2 li:first-child { border-top: 0; }
.tl2 .yr {
  font: 500 0.78rem/1.7 'DM Mono', ui-monospace, monospace;
  color: #ff5a3c; letter-spacing: 0.06em;
}
.tl2 .ev { color: #b6a6a6; font-size: 0.94rem; line-height: 1.6; }

/* booking · formulario */
.bk-form { width: min(440px, 100%); display: flex; flex-direction: column; gap: 13px; }
.bk-form input, .bk-form textarea {
  width: 100%; background: #0a0810;
  border: 1px solid rgba(255,42,22,0.22); border-radius: 8px;
  padding: 14px 16px; color: #e8dede;
  font: 400 0.9rem/1.5 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  transition: border-color .2s ease;
}
.bk-form input::placeholder, .bk-form textarea::placeholder {
  color: #6a5a5a; font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.bk-form input:focus, .bk-form textarea:focus { outline: none; border-color: #ff2a20; }
.bk-form textarea { resize: vertical; min-height: 96px; }
.bk-form button {
  margin-top: 6px; cursor: pointer;
  background: #0a0810; border: 1px solid #ff2a20; color: #f0e8e6;
  padding: 14px; border-radius: 8px;
  font: 400 0.74rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.26em; padding-left: calc(0.26em + 14px);
  text-transform: uppercase;
  transition: background .2s ease, box-shadow .2s ease;
}
.bk-form button:hover { background: #1a0c0e; box-shadow: 0 0 30px rgba(255,42,22,.3); }
.bk-note {
  margin-top: 20px; min-height: 1em;
  font: 400 0.72rem/1.5 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.1em; color: #ff5a3c;
  opacity: 0; transition: opacity .4s ease;
}
.bk-note.show { opacity: 1; }

/* selector booking / sello */
.bk-type { display: flex; gap: 8px; margin-bottom: 3px; }
.bkt {
  flex: 1; cursor: pointer;
  background: #0a0810; border: 1px solid #3a1418; border-radius: 8px;
  padding: 11px 8px; color: #8a7b7b;
  font: 400 0.66rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.bkt:hover { color: #c9bdbd; }
.bkt.on { border-color: #ff2a20; color: #f0e8e6; background: #160a0c; }

/* toggle de idioma */
#langToggle {
  position: fixed; top: 20px; right: 20px; z-index: 9;
  background: rgba(10,8,16,0.7); backdrop-filter: blur(6px);
  border: 1px solid #3a1418; border-radius: 999px;
  padding: 9px 15px; cursor: pointer;
  font: 400 0.64rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.08em; color: #6a5a5a;
  transition: border-color .2s ease;
}
#langToggle:hover { border-color: #ff2a20; }
#langToggle .sep { margin: 0 6px; color: #3a2a2a; }
#langToggle .on { color: #f0e8e6; }

.pk-link {
  margin-top: 30px;
  font: 400 0.7rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.2em; padding-left: 0.2em; text-transform: uppercase;
  color: #8a7b7b; text-decoration: none; transition: color .2s ease;
}
.pk-link:hover { color: #ff2a20; }

/* contacto */
.bigmail {
  font: 500 clamp(1rem,2.6vw,1.45rem)/1.3 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.02em;
  color: #f0e8e6; text-decoration: none; transition: color .25s ease;
  word-break: break-word;
}
.bigmail:hover { color: #ff2a20; }
.links {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  margin-top: 36px;
}
.links a {
  font: 400 0.74rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #8a7b7b; text-decoration: none; transition: color .2s ease;
}
.links a:hover { color: #ff2a20; }
.loc {
  margin-top: 42px;
  font: 400 0.64rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.3em; text-transform: uppercase; color: #9a8585;
}

/* laboratorio — el manifiesto (la voz de Humo) + dos accesos */
.lab-manifesto {
  width: min(560px, 100%); text-align: left;
  margin-bottom: 40px;
  display: flex; flex-direction: column; gap: 15px;
}
.lab-manifesto p { font-size: 0.95rem; line-height: 1.7; color: #b6a6a6; }
.lab-cita { margin: 0; padding: 0; }
.lab-cita-txt {
  font-size: 1.16rem !important; line-height: 1.5 !important;
  font-style: italic; color: #d8c8c8 !important;
}
.lab-cita-firma {
  font: 400 0.62rem/1 'DM Mono', ui-monospace, monospace !important;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #ff5a3c !important; margin-top: 10px !important;
}
.lab-m-close { color: #8d7a7a !important; font-style: italic; }
.lab-intro {
  max-width: min(500px, 100%); margin-bottom: 44px;
  font-size: 1.02rem; line-height: 1.6; color: #c9bdbd; font-style: italic;
}
.lab-grid {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
  width: min(720px, 100%);
}
.lab-card {
  flex: 1 1 270px;
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px 28px; text-align: left; text-decoration: none;
  background: #0a0810; border: 1px solid rgba(255,42,22,0.22);
  border-radius: 10px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.lab-card:hover, .lab-card:focus-visible {
  border-color: #ff2a20; box-shadow: 0 0 48px rgba(255,40,24,.3);
  transform: translateY(-3px);
}
.lab-card-ico { font-size: 30px; line-height: 1; color: #ff5a3c; }
.lab-card-name {
  font: 400 0.74rem/1.2 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.16em; text-transform: uppercase; color: #f0e8e6;
}
.lab-card-desc { font-size: 0.9rem; line-height: 1.55; color: #b6a6a6; }
.lab-card-go {
  margin-top: 4px;
  font: 400 0.66rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.2em; text-transform: uppercase; color: #ff5a3c;
}

/* footer — padding inferior extra para que el reproductor flotante no lo tape */
.ft {
  position: relative; z-index: 1; padding: 48px 24px 130px;
  background: #050103; border-top: 1px solid rgba(255,42,22,0.12);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ft-mark {
  font: 400 0.6rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.4em; padding-left: 0.4em; color: #8d7a7a;
}
.ft-cj {
  font: 400 0.56rem/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: 0.22em; padding-left: 0.22em;
  color: #8d7a7a; text-decoration: none; transition: color .2s ease;
}
.ft-cj:hover { color: #ff2a20; }

/* honeypot anti-bots — nunca visible para una persona */
.hp { display: none !important; }

/* etiqueta para lectores de pantalla — invisible en pantalla, no ocupa hueco */
.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
