/* ==========================================================================
   [29-nov-2026] DETRÁS DE CÁMARA EN «QUIÉN ESTÁ DETRÁS»
   --------------------------------------------------------------------------
   Ginder (28-nov, por 24FPS y en el chat de la web): «usad ya el vídeo corto
   de detrás de cámara… en el que sale él con otras personas» y «quiero que
   pongas ese vídeo en algún lado». Es el reel de Studio Cow (5 s, vertical).
   Solo va la parte de los cortes (2,77 s, en bucle): el mosaico del
   principio lleva un dron, y el dron no sale en la web. Medido con el guion de
   destellos del director creativo: 1 por segundo como mucho (el tope es 3).

   La tarjeta pasa a tres zonas: arriba el rótulo, su foto junto a su nombre
   y el texto; a la derecha (en el móvil, debajo), el reel en vertical, con
   esquinas redondas y una píldora «Detrás de cámara» que también lo pausa.
   Solo lo cargan las dos portadas, después de final-papel.css. El vídeo no se
   descarga hasta que la tarjeta se acerca (bts.js). Cero sombras en el texto.
   ========================================================================== */

html body .about-card.gh-con-bts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow eyebrow bts"
    "photo   name    bts"
    "bio     bio     bts";
  column-gap: clamp(16px, 2.6vw, 36px);
  row-gap: 14px;
  align-items: center;
}
html body .about-card.gh-con-bts .about-txt { display: contents; }
html body .about-card.gh-con-bts .about-txt .eyebrow { grid-area: eyebrow; }
html body .about-card.gh-con-bts .about-txt h2 { grid-area: name; margin: 0; }
html body .about-card.gh-con-bts .about-txt p { grid-area: bio; margin: 0; }
html body .about-card.gh-con-bts .about-photo {
  grid-area: photo;
  justify-self: start;
  width: clamp(64px, 6vw, 84px);
}

/* El reel: vertical, redondo, con el póster debajo mientras llega el vídeo. */
html body .gh-bts {
  grid-area: bts;
  position: relative;
  margin: 0;
  width: clamp(176px, 16vw, 232px);
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: #17120f url(/img/bts/studiocow-poster-v1.jpg) center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.22);
  isolation: isolate;
}
html body .gh-bts video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Todo el reel es un botón: pausa y sigue. La píldora dice qué es. */
html body .gh-bts-boton {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px;
  margin: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html body .gh-bts-boton:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  border-radius: 24px;
}
html body .gh-bts-pildora {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 13px 0 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
  background: rgba(22, 17, 14, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
/* El signo: dos rayas mientras suena, un triángulo si está parado. */
html body .gh-bts-icono {
  position: relative;
  width: 9px;
  height: 10px;
  flex: none;
}
html body .gh-bts-icono::before,
html body .gh-bts-icono::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: currentColor;
}
html body .gh-bts-icono::before { left: 0; }
html body .gh-bts-icono::after { right: 0; }
html body .gh-bts.parado .gh-bts-icono::before {
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent currentColor;
}
html body .gh-bts.parado .gh-bts-icono::after { display: none; }

@media (hover: hover) and (min-width: 761px) {
  html body .gh-bts-pildora {
    background: rgba(22, 17, 14, 0.36);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    backdrop-filter: blur(12px) saturate(1.4);
  }
  html body .gh-bts-boton:hover .gh-bts-pildora { background: rgba(22, 17, 14, 0.5); }
}

/* Móvil: el reel va debajo del texto, centrado. */
@media (max-width: 640px) {
  html body .about-card.gh-con-bts {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "photo   name"
      "bio     bio"
      "bts     bts";
  }
  html body .about-card.gh-con-bts .about-photo { width: 64px; }
  html body .gh-bts {
    justify-self: center;
    width: min(64%, 236px);
    margin-top: 8px;
  }
}
