/* ============================================================
   LIVEST · Call Time
   Dos direcciones: [data-theme="noir"] · [data-theme="bone"]
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --ink: #000000;
  --bone: #DCDCCE;
  --bone-deep: #C9C9B8;
  --grey-900: #0B0B0B;
  --grey-800: #141414;
  --grey-700: #1E1E1E;
  --grey-500: #6E6E6E;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1560px;
  --rule: 1px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --anim-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Tema NOIR (negro) --- */
[data-theme="noir"] {
  --bg: #000000;
  --bg-alt: #0B0B0B;
  --fg: #DCDCCE;
  --fg-dim: #8C8C82;
  --line: rgba(220, 220, 206, 0.16);
  --line-strong: rgba(220, 220, 206, 0.38);
  --btn-bg: #DCDCCE;
  --btn-fg: #000000;
  --img-blend: normal;
  --img-opacity: 0.92;
  --anim-accent: #DCDCCE;
  --anim-glow: rgba(220, 220, 206, 0.35);
}

/* --- Tema BONE (crema) --- */
[data-theme="bone"] {
  --bg: #DCDCCE;
  --bg-alt: #D2D2C3;
  --fg: #000000;
  --fg-dim: #5C5C55;
  --line: rgba(0, 0, 0, 0.18);
  --line-strong: rgba(0, 0, 0, 0.45);
  --btn-bg: #000000;
  --btn-fg: #DCDCCE;
  --img-blend: multiply;
  --img-opacity: 1;
  --anim-accent: #000000;
  --anim-glow: rgba(0, 0, 0, 0.25);
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-variation-settings: "wght" 400, "wdth" 100;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- TIPOGRAFÍA ---------- */
.display {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 125;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.02em;
  margin: 0;
}
.eyebrow {
  font-variation-settings: "wght" 600, "wdth" 100;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
  margin: 0;
}
.lede {
  font-size: clamp(1.125rem, 1.9vw, 1.65rem);
  line-height: 1.4;
  font-variation-settings: "wght" 450, "wdth" 100;
  letter-spacing: -0.01em;
  max-width: 46ch;
}
.mono {
  font-variation-settings: "wght" 500, "wdth" 87;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0 1.6rem;
  border: var(--rule) solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-variation-settings: "wght" 700, "wdth" 100;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  border-radius: 999px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn--solid { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn--solid:hover { background: transparent; color: var(--fg); border-color: var(--fg); }
.nav__cta .btn--solid { background: #ffffff; color: #000000; border-color: #ffffff; mix-blend-mode: normal; }
.nav__cta .btn--solid:hover { background: transparent; color: #ffffff; border-color: #ffffff; }
/* El nav "sin pegar" siempre va sobre el hero oscuro, así que el CTA se mantiene blanco fijo.
   Una vez que el nav queda "pegado" (fondo = var(--bg)), el CTA debe seguir los tokens del tema
   para no perder contraste en modo claro (botón blanco sobre fondo ya claro). */
[data-theme="bone"] .nav.is-stuck .nav__cta .btn--solid { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); mix-blend-mode: normal; }
[data-theme="bone"] .nav.is-stuck .nav__cta .btn--solid:hover { background: transparent; color: var(--fg); border-color: var(--fg); }
/* "View All Events" es el único CTA de contorno fuera del hero (que ya tiene su propio
   tratamiento fijo por ir sobre foto oscura); en modo claro un botón sin relleno se pierde
   contra el fondo claro, así que en bone pasa a relleno sólido igual que el resto de CTAs. */
[data-theme="bone"] #events .btn:not(.evt__ticket) { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
[data-theme="bone"] #events .btn:not(.evt__ticket):hover { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem var(--gut);
  background: rgba(0, 0, 0, 0.45);
  color: #DCDCCE;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-stuck {
  background: var(--bg);
  color: var(--fg);
  border-bottom: var(--rule) solid var(--line);
  padding-block: 0.75rem;
}
.nav__logo {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 125;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a {
  font-variation-settings: "wght" 600, "wdth" 100;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.4rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__burger { display: none; }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
  }
  .nav__burger span { width: 20px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* Menú móvil */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gut) 3rem;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  visibility: hidden;
}
.menu.is-open { transform: translateY(0); visibility: visible; }
.menu a {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 110;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 11vw, 4rem);
  line-height: 1.06;
  border-bottom: var(--rule) solid var(--line);
  padding-block: 0.5rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 38%, rgba(0,0,0,0.82) 100%);
}
[data-theme="bone"] .hero__scrim {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.7) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gut) clamp(1.5rem, 3vw, 2.5rem);
  color: #DCDCCE;
}
.hero__word {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 17.5vw, 16rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  margin: 0 0 0.35em;
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: var(--rule) solid rgba(220, 220, 206, 0.28);
  padding-top: 1.25rem;
}
.hero__tagline {
  font-variation-settings: "wght" 700, "wdth" 100;
  text-transform: uppercase;
  font-size: clamp(0.8125rem, 1.2vw, 1rem);
  letter-spacing: 0.3em;
  margin: 0;
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero .btn { border-color: rgba(220, 220, 206, 0.7); color: #DCDCCE; }
.hero .btn:hover { background: #DCDCCE; color: #000; border-color: #DCDCCE; }
.hero .btn--solid { background: #DCDCCE; color: #000; border-color: #DCDCCE; }
.hero .btn--solid:hover { background: transparent; color: #DCDCCE; border-color: #DCDCCE; }

/* Barra de estado tipo call sheet */
.callbar {
  position: relative;
  z-index: 2;
  --ak-gap: 3rem;
  border-top: var(--rule) solid rgba(220, 220, 206, 0.28);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #DCDCCE;
  padding-block: 0.7rem;
}
.callbar__track span { display: inline-flex; align-items: center; gap: 3rem; }
.callbar__track span::after {
  content: "";
  width: 4px; height: 4px;
  background: currentColor;
  border-radius: 50%;
}

/* ---------- SECCIONES ---------- */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-bottom: var(--rule) solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section__title {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
}
.section__index {
  font-variation-settings: "wght" 600, "wdth" 87;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}

/* ---------- WHO WE ARE ---------- */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .about { grid-template-columns: 1.35fr 1fr; align-items: stretch; } }
.about__statement {
  font-family: var(--font-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.3vw, 2.125rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.about__statement em { font-style: normal; }
.about__media { position: relative; overflow: hidden; min-height: 320px; aspect-ratio: 2048 / 1365; background: #000; }
.about__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(1);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: var(--rule) solid var(--line);
  margin-top: auto;
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
}
.stat {
  background: var(--bg);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.stat__num {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 100;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  hyphens: auto;
}
.stat__label {
  font-variation-settings: "wght" 500, "wdth" 87;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 0.55rem;
}

/* ---------- CAPABILITIES ---------- */
.caps { border-top: var(--rule) solid var(--line); }
.cap {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-bottom: var(--rule) solid var(--line);
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem);
  transition: color 0.4s var(--ease);
}
@media (min-width: 820px) {
  .cap { grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; }
}
.cap__num {
  font-variation-settings: "wght" 600, "wdth" 87;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease);
}
.cap__name {
  font-family: var(--font-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  text-transform: uppercase;
  font-size: clamp(1.125rem, 2.6vw, 2rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
}
.cap__desc {
  font-size: 0.9375rem;
  color: var(--fg-dim);
  margin: 0.35rem 0 0;
  grid-column: 2 / -1;
  transition: color 0.4s var(--ease);
}
@media (min-width: 820px) {
  .cap__desc { grid-column: 3; margin: 0; text-align: right; }
}
@media (hover: hover) and (min-width: 820px) {
  .caps:hover .cap { color: var(--fg-dim); }
  .caps:hover .cap:hover { color: var(--fg); }
  .cap:hover .cap__num, .cap:hover .cap__desc { color: var(--fg); }
}
/* Tarjetas grandes con protagonismo para el cartel: carrusel horizontal
   con scroll nativo en TODOS los tamaños (móvil, tablet y escritorio).
   El eje dominante del gesto decide: horizontal mueve solo el carrusel,
   vertical sigue el scroll normal de la página. Nunca usar overflow:hidden
   ni bloquear touchmove/pointermove aquí — ver también .events-rail-wrap. */
.evt-grid {
  display: flex;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  touch-action: pan-x pan-y pinch-zoom;
}
.evt {
  flex: 0 0 78%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  border: var(--rule) solid var(--line);
  transition: border-color 0.35s var(--ease);
}
.evt:hover { border-color: var(--fg-dim); }
@media (min-width: 560px) { .evt { flex-basis: 46%; } }
/* Desktop: mismo tamaño de tarjeta que el layout de 4 columnas de
   siempre (no se achica al pasar de 4 a 5 eventos); el 5º se alcanza
   deslizando el carrusel o con las flechas .rail-nav. */
@media (min-width: 900px) {
  .evt { flex-basis: calc((100% - 3 * clamp(1rem, 2.2vw, 1.5rem)) / 4); }
}
.evt__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.evt__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  transition: filter 350ms ease;
}
.evt:hover .evt__media img,
.evt:focus-within .evt__media img,
.evt:active .evt__media img { filter: grayscale(0%); }
.evt__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.1rem 1.35rem; flex: 1; }
.evt__artist {
  font-family: var(--font-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  text-transform: uppercase;
  font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.evt__tag {
  display: block;
  font-family: var(--font-text);
  font-variation-settings: "wght" 500, "wdth" 87;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.evt__meta { margin-top: 0.1rem; }
.evt__date {
  font-variation-settings: "wght" 600, "wdth" 87;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--fg-dim);
}
.evt__place { font-size: 0.8125rem; color: var(--fg-dim); margin-top: 0.2rem; }
.evt__status {
  font-variation-settings: "wght" 600, "wdth" 87;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.evt__status[data-status="onsale"] { color: var(--fg); }
.evt__buy { margin-top: auto; padding-top: 0.75rem; }
.evt__buy .btn { min-height: 42px; padding-inline: 1.2rem; font-size: 0.6875rem; width: 100%; justify-content: center; }
.evt__ticket { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.evt__ticket:hover { background: transparent; color: var(--fg); border-color: var(--fg); }

/* Responsive: tarjetas de Upcoming Events más compactas en móvil/tablet,
   ajustando solo padding/gaps/tipografía — el afiche conserva su proporción
   completa (sin recortar). Desktop (≥900px) no cambia. */
@media (max-width: 899px) {
  .evt__body { padding: 0.7rem 0.8rem 0.85rem; gap: 0.3rem; }
  .evt__artist { font-size: clamp(0.9375rem, 1.6vw, 1.25rem); }
  .evt__tag { font-size: 0.625rem; line-height: 1.2; }
  .evt__date { font-size: 0.6875rem; line-height: 1.2; }
  .evt__place { font-size: 0.75rem; line-height: 1.2; }
  .evt__status { line-height: 1.2; }
  .evt__buy { padding-top: 0.5rem; }
  .evt__buy .btn { min-height: 40px; }
}

/* ---------- PAST (riel horizontal, legado — .features abajo lo reemplaza
   cuando hay pocos shows curados) ---------- */
.rail {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.rail::-webkit-scrollbar { height: 2px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); }

/* ---------- ARTISTS: cuadrícula uniforme en escritorio, carrusel
   compacto (~1.5 tarjetas visibles) en responsive. Mismo principio de
   eje dominante que .evt-grid: touch-action + overscroll-behavior en
   ambos ejes dejan que el navegador decida horizontal vs. vertical en
   vez de que lo capture JS — nunca overflow:hidden ni bloquear
   touchmove/pointermove aquí. ---------- */
.artists-rail-wrap { position: relative; }
.events-rail-wrap { position: relative; }
.artists-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 2vw, 2rem);
  overflow-x: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}
@media (max-width: 900px) {
  .artists-rail {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 0.35rem;
  }
  .artists-rail .artist-card {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
}
@media (max-width: 360px) {
  .artists-rail .artist-card { flex-basis: 68%; }
}
.artist-card {
  width: auto;
  margin: 0;
}
.artist-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.artist-card figcaption {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--fg);
}
.rail-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: var(--rule) solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.rail-nav:hover { background: var(--fg); color: var(--bg); }
.rail-nav--prev { left: -8px; }
.rail-nav--next { right: -8px; }
@media (max-width: 700px) { .rail-nav { display: none; } }
/* Los rail-nav sólo tienen sentido mientras la sección es un carrusel
   con overflow horizontal; en el layout de grid de escritorio se ocultan. */
@media (min-width: 901px) { .artists-rail-wrap .rail-nav { display: none; } }
@media (min-width: 860px) { .gallery-wrap .rail-nav { display: none; } }

/* ---------- PAST · tarjetas compactas (6 en fila en escritorio) ---------- */
.past-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1rem);
}
@media (min-width: 560px) { .past-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .past-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- PAST · ficha horizontal ----------
   Con uno o dos shows archivados, un riel de tarjetas deja media pantalla
   muerta. Ahí el evento se abre a fila completa, solo tipografía: el nombre
   en grande y la hoja de datos al lado. Con tres o más vuelve el riel. */
.features { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 820px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.feature__artist {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 112;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 6.5vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin: 0;
}
.feature__sheet { margin: 0; border-top: var(--rule) solid var(--line); }
.feature__sheet > div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  border-bottom: var(--rule) solid var(--line);
  padding-block: 0.85rem;
}
.feature__sheet dt {
  font-variation-settings: "wght" 600, "wdth" 87;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.feature__sheet dd {
  margin: 0;
  font-variation-settings: "wght" 500, "wdth" 100;
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
}
.past {
  flex: 0 0 min(78vw, 380px);
  scroll-snap-align: start;
  min-width: 0;
}
.past-grid .past { flex: initial; }
.past__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.past__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  mix-blend-mode: var(--img-blend);
  opacity: var(--img-opacity);
}
.past:hover .past__media img { transform: scale(1.05); }
.past__media--demo {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line-strong);
  background: var(--bg-alt);
}
.past__demo-badge {
  font-variation-settings: "wght" 700, "wdth" 87;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: var(--rule) solid var(--line-strong);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.past__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: var(--rule) solid var(--line);
  padding-top: 0.55rem;
  margin-top: 0.55rem;
}
.past-grid .past__meta { flex-direction: row; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.past--demo .past__meta { justify-content: flex-start; }
.past__artist {
  font-family: var(--font-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1.6vw, 0.9375rem);
  letter-spacing: -0.005em;
  margin: 0;
}
.past__where { font-size: 0.6875rem; color: var(--fg-dim); margin: 0.2rem 0 0; }
.past__date {
  font-variation-settings: "wght" 600, "wdth" 87;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- GALLERY ---------- */
/* Escritorio: mosaico en grid con filas de alto fijo + flujo denso.
   Responsive (<860px): slider horizontal de una fila (~1.2 tarjetas en
   móvil, ~2.2 en tablet) para no alargar la sección. Mismo principio de
   eje dominante que .evt-grid/.artists-rail: touch-action + overscroll-
   behavior en ambos ejes, nunca overflow:hidden ni bloquear
   touchmove/pointermove aquí. */
.gallery-wrap { position: relative; }
.gallery {
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  gap: clamp(0.5rem, 1vw, 0.875rem);
  padding-bottom: 0.35rem;
}
.gallery .shot {
  flex: 0 0 80%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
}
@media (min-width: 480px) and (max-width: 859px) {
  .gallery .shot { flex-basis: 43%; }
}
@media (min-width: 860px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(180px, 13vw, 240px);
    grid-auto-flow: dense;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .gallery .shot { flex-basis: auto; aspect-ratio: auto; }
}
.shot { position: relative; overflow: hidden; }
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  filter: grayscale(100%) contrast(1.18);
}
.shot:hover img { transform: scale(1.05); }
@media (min-width: 860px) {
  .shot--tall { grid-row: span 2; }
  .shot--wide { grid-column: span 2; }
}

/* ---------- LIGHTBOX (galería) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: clamp(1rem, 5vw, 3rem);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close {
  position: absolute; top: clamp(0.75rem, 3vw, 1.5rem); right: clamp(0.75rem, 3vw, 1.5rem);
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: var(--rule) solid rgba(255, 255, 255, 0.4);
  background: transparent; color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- CONTACT ---------- */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact__lines { border-top: var(--rule) solid var(--line); }
.cline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: var(--rule) solid var(--line);
  padding-block: 1.1rem;
  transition: padding 0.4s var(--ease);
}
.cline:hover { padding-inline: 0.75rem; }
.cline__name {
  font-family: var(--font-display);
  font-variation-settings: "wght" 800, "wdth" 100;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
}
.cline__to { font-size: 0.8125rem; color: var(--fg-dim); }

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-variation-settings: "wght" 600, "wdth" 87;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.9375rem;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: var(--rule) solid var(--line-strong);
  padding: 0.7rem 0;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--fg);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer; }
[data-theme="noir"] .field select option { background: #0B0B0B; color: #DCDCCE; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form__note { font-size: 0.75rem; color: var(--fg-dim); margin: 0; }

/* ---------- MARQUEE ---------- */
.strip {
  --ak-gap: 2.5rem;
  border-block: var(--rule) solid var(--line);
  padding-block: clamp(1rem, 2vw, 1.75rem);
}
.strip__track span {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.strip__track span::after {
  content: "";
  width: 0.34em; height: 0.34em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.strip__track .is-out {
  -webkit-text-stroke: 1px var(--fg);
  color: transparent;
}

/* ---------- FOOTER ---------- */
.foot {
  border-top: var(--rule) solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}
.foot__word {
  font-family: var(--font-display);
  font-variation-settings: "wght" 900, "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(3rem, 18vw, 15rem);
  line-height: 0.78;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
}
.foot__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: var(--rule) solid var(--line);
  padding-top: 1.25rem;
}
.foot__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot small { color: var(--fg-dim); font-size: 0.6875rem; letter-spacing: 0.08em; }


/* Los pósters son el arte real del artista: van a todo color, sin teñir.
   Son la única nota de color del sitio — la empresa es monocroma, el show no. */
img[data-poster] {
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: none !important;
}

/* ---------- SELECTOR DE TEMA (dark / light, nav) ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  background: none;
  border: var(--rule) solid currentColor;
  border-radius: 999px;
  color: inherit;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.theme-toggle:hover, .theme-toggle:focus-visible { opacity: 1; }
.theme-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.theme-toggle__icon { width: 17px; height: 17px; display: none; }
[data-theme="noir"] .theme-toggle__icon--sun { display: block; }
[data-theme="bone"] .theme-toggle__icon--moon { display: block; }

/* ---------- IDIOMA EN / ES (nav) ---------- */
.lang { display: inline-flex; align-items: center; gap: 0.1rem; font-size: 0.75rem; letter-spacing: 0.16em; font-variation-settings: "wght" 700, "wdth" 100; }
.lang button { min-width: 36px; min-height: 44px; padding: 0 0.3rem; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; opacity: 0.62; cursor: pointer; transition: opacity 0.2s var(--ease); }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.lang button:hover { opacity: 1; }
.lang button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.lang span { opacity: 0.4; }
@media (max-width: 560px) {
  .nav__cta { gap: 0.4rem; }
  .lang button { min-width: 30px; padding: 0 0.15rem; }
  .nav__cta .btn { padding: 0 1rem; letter-spacing: 0.12em; }
}
@media (max-width: 400px) {
  .lang button { min-width: 28px; }
  .nav__cta .btn { padding: 0 0.8rem; }
}
