/* 128K — identidad visual. Negro, carbón, rojo profundo. Precisión antes que efecto. */

@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/static/fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/static/fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(/static/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(/static/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2C60-2C7F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/static/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/static/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2C60-2C7F; }

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-3: #151515;
  --line: #242424;
  --line-2: #363636;
  --text: #ece8e1;       /* blanco roto — 16:1 sobre --bg */
  --muted: #a29e97;      /* 7,6:1 */
  --dim: #8a857f;        /* 5,4:1 — mínimo para texto pequeño */
  --red: #a8101c;        /* fondos de botón: 7,3:1 con --text */
  --red-2: #c4161c;      /* líneas, puntos, forma de onda */
  --red-text: #ef4146;   /* texto rojo pequeño: 5,2:1 sobre --bg */
  --display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1360px;
  --header-h: 68px;
  --player-h: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--body); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--player-h);
  overflow-x: hidden;
}
/* Grano de película: sutil, sin interferir con la lectura */
body::after {
  content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 60;
  background: url(/static/img/grain.png?v=1); opacity: .07;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--red-2); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--red); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 1px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--red); color: #fff; font: 500 .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.skip:focus { top: 16px; }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.label { font: 500 .72rem/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.label--red { color: var(--red-text); }
.i { width: 1em; height: 1em; flex: none; }
.link-plain { text-decoration: none; color: var(--muted); }
.link-plain:hover { color: var(--text); text-decoration: underline; }
.link-arrow { display: inline-flex; align-items: center; gap: .7em; font: 500 .74rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--text); padding: .6em 0; }
.link-arrow .i { width: 1.4em; color: var(--red-text); transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }

/* ---------------------------------------------------------------- Cabecera */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: linear-gradient(#0a0a0aee, #0a0a0a00);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: #0a0a0af2; border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { font: 800 1.45rem/1 var(--display); font-stretch: 125%; letter-spacing: -.01em; text-decoration: none; color: var(--text); }
.site-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.6vw, 40px); }
.site-nav a { display: block; padding: 10px 0; font: 500 .74rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text); position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--red-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--red-text); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle .i { width: 24px; height: 24px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; background: var(--bg); height: 100dvh; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .site-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
  .site-header.is-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav a { font: 700 clamp(2rem, 9vw, 3rem)/1.1 var(--display); font-stretch: 120%; letter-spacing: .02em; padding: 10px 0; }
  .site-nav a::after { display: none; }
  .site-header.is-open .brand { position: relative; z-index: 2; }
}

/* ---------------------------------------------------------------- Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .9em; min-height: 48px; padding: 0 24px;
  font: 500 .74rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--text); background: transparent; border: 1px solid var(--line-2); cursor: pointer; border-radius: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--text); color: #fff; }
.btn .i { width: 1.2em; height: 1.2em; }
.btn--primary { background: var(--red); border-color: var(--red); color: #f6f3ee; }
.btn--primary:hover { background: var(--red-2); border-color: var(--red-2); }
.btn--ghost { background: transparent; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .68rem; }
.btn--wide { width: 100%; }
.btn--danger { border-color: #5a1a1d; color: #ff8a8d; }
.btn--danger:hover { background: #3a0d10; border-color: var(--red-2); }
.btn__wave { width: 1.8em !important; color: #f6f3ee; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Botón de reproducción */
.play { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--red-2); background: #0a0a0acc; color: var(--red-text); cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.play .i { width: 18px; height: 18px; grid-area: 1 / 1; }
.play:hover { background: var(--red); color: #fff; }
.play:active { transform: scale(.96); }
.play__off { display: none; }
.play.is-playing .play__on { display: none; }
.play.is-playing .play__off { display: block; }
.play.is-loading { animation: pulse 1.2s ease-in-out infinite; }
.play--xl { width: 72px; height: 72px; }
.play--xl .i { width: 24px; height: 24px; }
.play--labelled { width: auto; border-radius: 0; display: inline-flex; gap: .9em; padding: 0 26px 0 22px; height: 56px; background: var(--red); border-color: var(--red); color: #f6f3ee; font: 500 .76rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.play--labelled:hover { background: var(--red-2); }
.play--labelled .i { grid-area: auto; }
.btn.play { width: auto; height: auto; border-radius: 0; display: inline-flex; background: var(--red); color: #f6f3ee; }
.btn.play .i { grid-area: auto; width: 1.1em; height: 1.1em; }
.btn.play .play__text { order: -1; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------------------------------------------------------------- Portada (hero) */
.hero {
  position: relative; min-height: min(100svh, 940px); display: grid; align-items: end;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(48px, 9vh, 96px);
  overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line);
}
.hero__media { position: absolute; inset: 0 0 0 auto; width: min(68%, 1100px); z-index: -1; overflow: hidden; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, #0a0a0ab3 28%, #0a0a0a00 60%), linear-gradient(0deg, var(--bg) 0%, #0a0a0a00 35%), linear-gradient(180deg, #0a0a0a99 0%, #0a0a0a00 22%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 0%; filter: grayscale(1) contrast(1.05) brightness(.92); }
.hero__art { width: 100%; height: 100%; opacity: .9; }
.hero__arc { transform-origin: 0 0; animation: spin 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__content { max-width: 760px; position: relative; }
.hero__title { margin: 0 0 .1em; font: 800 clamp(5rem, 19vw, 15rem)/.82 var(--display); font-stretch: 125%; letter-spacing: -.035em; color: #dcd8d1; margin-left: -.04em; }
.wear { display: inline-block; -webkit-mask-image: url(/static/img/wear.webp?v=2); mask-image: url(/static/img/wear.webp?v=2); -webkit-mask-size: 520px auto; mask-size: 520px auto; padding-right: .04em; }
.hero__genre { margin: .5em 0 1.4em; font: 500 clamp(1rem, 2vw, 1.4rem)/1 var(--display); font-stretch: 125%; letter-spacing: .5em; text-transform: uppercase; color: var(--red-text); }
.hero__tagline { margin: 0 0 1.4em; font: 300 clamp(1.05rem, 2.2vw, 1.55rem)/1.5 var(--display); font-stretch: 112%; letter-spacing: .3em; text-transform: uppercase; max-width: 30ch; }
.hero__roles { margin: 0 0 2.2em; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.hero__actions .btn { min-height: 54px; }
.hero__quick { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.hero__quick a { text-decoration: none; color: var(--muted); display: inline-flex; align-items: center; gap: .6em; padding: 6px 0; }
.hero__quick a::before { content: ''; width: 18px; height: 1px; background: var(--red-2); }
.hero__quick a:hover { color: var(--text); }
.hero__quick strong { color: var(--text); font-weight: 500; }
.rail { position: absolute; top: 50%; margin: 0; font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; color: var(--dim); writing-mode: vertical-rl; transform: translateY(-50%); white-space: nowrap; }
.rail--left { left: 20px; transform: translateY(-50%) rotate(180deg); }
.rail--left::after { content: ''; display: inline-block; height: 28px; width: 1px; background: var(--red-2); margin-top: 16px; vertical-align: middle; }
.rail--right { right: 20px; }
@media (max-width: 1100px) { .rail { display: none; } }
@media (max-width: 760px) {
  .hero { align-items: end; min-height: 92svh; }
  .hero__media { width: 100%; height: 58%; bottom: auto; top: var(--header-h); opacity: .85; }
  .hero__media::after { background: linear-gradient(0deg, var(--bg) 0%, #0a0a0a00 45%), linear-gradient(180deg, #0a0a0a99 0%, #0a0a0a00 20%); }
  .hero__img { object-position: 55% 0%; }
  .hero__genre { letter-spacing: .35em; }
  .hero__tagline { letter-spacing: .2em; }
  .hero__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- Secciones */
.section { padding: clamp(56px, 9vw, 112px) var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.section:last-of-type { padding-bottom: clamp(56px, 9vw, 112px); }
.section-head { display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 16px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head__num { font-size: .72rem; color: var(--red-text); letter-spacing: .1em; position: relative; padding-bottom: 10px; align-self: start; }
.section-head__num::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 1px; background: var(--red-2); }
.section-head__title { font: 500 clamp(1.15rem, 2.4vw, 1.7rem)/1.2 var(--display); font-stretch: 118%; letter-spacing: .3em; text-transform: uppercase; }
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .section-head .link-arrow { justify-self: start; }
}

.page-head { padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) var(--gutter) clamp(32px, 5vw, 56px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; border-bottom: 1px solid var(--line); }
.page-title { font: 800 clamp(3rem, 10vw, 7.5rem)/.9 var(--display); font-stretch: 125%; letter-spacing: -.03em; color: #dcd8d1; margin-bottom: .25em; overflow-wrap: break-word; hyphens: auto; }
.page-title--sm { font-size: clamp(2.4rem, 7vw, 4.5rem); }
.page-intro { max-width: 60ch; color: var(--muted); font-size: 1.08rem; margin: 0; }
.page-intro a { color: var(--text); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.32rem); line-height: 1.55; max-width: 52ch; }
.h-small { font: 500 .74rem/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); margin: 0 0 1.2em; }
.quote { margin: 2em 0; padding: 0 0 0 22px; border-left: 1px solid var(--red-2); font: 500 clamp(1rem, 1.6vw, 1.15rem)/1.5 var(--display); font-stretch: 110%; letter-spacing: .14em; text-transform: uppercase; }
.quote p { margin: 0; }
.quote--big { font-size: clamp(1.15rem, 2.4vw, 1.6rem); }

/* ---------------------------------------------------------------- Rejilla y tarjetas */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--catalog { padding: 0 var(--gutter) clamp(56px, 9vw, 112px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.card { background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: border-color .3s; }
.card:hover, .card:focus-within { border-color: var(--line-2); }
.card__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0d; }
.card__cover img, .card__cover .gen-cover { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); transition: transform .8s var(--ease), filter .5s; }
.card:hover .card__cover img { transform: scale(1.03); filter: grayscale(0) contrast(1.05); }
.card__play { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font: 600 1.18rem/1.25 var(--display); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .5em; }
.card__link { text-decoration: none; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__link:hover { color: #fff; }
.card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: .74rem; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; text-transform: uppercase; }
.card .wave { position: relative; z-index: 2; margin-top: auto; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; position: relative; z-index: 2; }
.tags li, .tags a { font: 400 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 6px 8px; text-decoration: none; }
.tags--links a { display: inline-block; padding: 9px 10px; }
.tags--links li { border: 0; padding: 0; }
.tags--links a:hover { border-color: var(--red-2); color: var(--text); }
.gen-cover__label { font: 500 15px var(--mono); letter-spacing: .2em; fill: #8a857f; text-transform: uppercase; }

/* ---------------------------------------------------------------- Forma de onda */
.wave { position: relative; height: 44px; cursor: pointer; --p: 0%; touch-action: none; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave__base path { fill: #3b3936; }
.wave__fill path { fill: var(--red-2); }
.wave__fill { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.wave:hover .wave__base path { fill: #55524d; }
.wave__hover { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--text); opacity: 0; pointer-events: none; left: var(--h, 0); }
.wave:hover .wave__hover { opacity: .7; }
.wave__hover::after { content: attr(data-time); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font: 400 .66rem/1 var(--mono); background: var(--bg); padding: 4px 6px; border: 1px solid var(--line-2); white-space: nowrap; }
.wave--big { height: 96px; }
.wave--card { height: 36px; }

/* ---------------------------------------------------------------- Sesión destacada */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(16px, 2.5vw, 32px); }
.feature__cover { aspect-ratio: 1; overflow: hidden; background: #0d0d0d; }
.feature__cover img, .feature__cover .gen-cover { width: 100%; height: 100%; object-fit: cover; }
.feature__title { font: 700 clamp(1.6rem, 3.6vw, 2.8rem)/1.05 var(--display); font-stretch: 118%; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .4em; }
.feature__title a { text-decoration: none; }
.feature__meta { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.feature__desc { color: var(--muted); max-width: 56ch; }
.feature__player { display: flex; align-items: center; gap: 20px; margin: 28px 0 16px; }
.feature__player .wave { flex: 1; height: 72px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature__player .wave { height: 56px; } }

/* ---------------------------------------------------------------- Agenda */
.dates-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .dates-layout { grid-template-columns: 1fr; } .poster { display: none; } }
.events { list-style: none; position: relative; }
.events::before { content: ''; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.event { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 22px 0 22px 36px; border-bottom: 1px solid var(--line); position: relative; }
.event::before { content: ''; position: absolute; left: 2px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 1px solid var(--red-2); box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 6px var(--red-2); }
.event--past::before { box-shadow: none; border-color: var(--line-2); }
.event__date { display: grid; grid-template-columns: auto; line-height: 1; font-family: var(--mono); }
.event__day { font: 600 2.1rem/1 var(--display); font-stretch: 112%; }
.event__mon { color: var(--red-text); font-size: .76rem; letter-spacing: .18em; margin-top: 6px; }
.event__year { color: var(--dim); font-size: .72rem; letter-spacing: .14em; margin-top: 4px; }
.event__city { font: 600 1.15rem/1.2 var(--display); font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.event__country { color: var(--muted); font-weight: 400; }
.event__venue { color: var(--muted); font-size: .9rem; margin: 0; }
.event--cancelled .event__city, .event--cancelled .event__day { text-decoration: line-through; text-decoration-color: var(--red-2); color: var(--muted); }
@media (max-width: 640px) {
  .event { grid-template-columns: 70px minmax(0, 1fr); }
  .event__cta { grid-column: 2; }
}
.events--full .event { padding-top: 28px; padding-bottom: 28px; }
.poster { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 60% at 50% 115%, #a8101c66, transparent 60%), repeating-linear-gradient(90deg, #ffffff05 0 1px, transparent 1px 64px), var(--bg-2); }
.poster::after { content: ''; position: absolute; left: 0; right: 0; bottom: 28%; height: 1px; background: linear-gradient(90deg, transparent, var(--red-2), transparent); opacity: .7; }
.poster__text { font: 800 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); margin: 0; }
.poster__brand { font: 800 1.7rem/1 var(--display); font-stretch: 125%; color: var(--red-text); margin: 0; }
.poster__wave { position: absolute; right: 28px; bottom: 30px; width: 120px; color: var(--muted); }
/* Cartel con fotografía de fondo: la imagen debajo, el texto encima */
.poster--img { aspect-ratio: 4 / 3; background: #050505; }
.poster--img::after { display: none; }
.poster__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.poster--img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #0a0a0acc 0%, #0a0a0a33 40%, #0a0a0a00 60%, #0a0a0ab3 100%); }
.poster--img > :not(.poster__img):not(.smoke) { position: relative; z-index: 2; }
.poster--img .poster__wave { position: absolute; }
.agenda-block { padding: clamp(40px, 6vw, 72px) var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.agenda-block:last-child { padding-bottom: clamp(56px, 9vw, 112px); }
.archive-year { border-top: 1px solid var(--line); }
.archive-year summary { display: flex; justify-content: space-between; padding: 18px 0; cursor: pointer; list-style: none; letter-spacing: .14em; }
.archive-year summary::-webkit-details-marker { display: none; }
.archive-year summary::after { content: '+'; font-family: var(--mono); color: var(--red-text); margin-left: 16px; }
.archive-year[open] summary::after { content: '−'; }
.archive-year summary > span:first-child { flex: 1; }

/* ---------------------------------------------------------------- Bloques varios */
.signal { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.signal:not(:has(.signal__img)) { grid-template-columns: 1fr; }
.signal:has(.signal__img) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.signal__img { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 88%, transparent 100%); }
.signal__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 45% 40%; filter: grayscale(1) contrast(1.06); }
@media (max-width: 820px) { .signal { grid-template-columns: 1fr; } }
.booking-cta { border-top: 1px solid var(--line); padding-top: 32px; display: grid; gap: 24px; }
.booking-cta__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.socials a { display: inline-flex; align-items: center; gap: .35em; padding: 10px 0; font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.socials a .i { color: var(--red-text); width: .95em; height: .95em; }
.socials a:hover { color: var(--text); }
.socials--stack { flex-direction: column; gap: 0; }
.empty { border: 1px dashed var(--line-2); padding: clamp(28px, 5vw, 56px); text-align: left; max-width: 760px; }
.empty__title { font: 600 clamp(1.1rem, 2.2vw, 1.5rem)/1.2 var(--display); font-stretch: 115%; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6em; }
.empty p:not(.empty__title) { color: var(--muted); }
.empty a { color: var(--text); }
.empty--signal { position: relative; overflow: hidden; }
.empty--signal::before { content: ''; position: absolute; left: 0; bottom: -1px; width: 120px; height: 1px; background: var(--red-2); }
.grid--catalog + .empty, .page-head + .empty, .results-count + .empty, form + .empty { margin: 0 var(--gutter) 96px; }
.badge { display: inline-block; font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.badge--red { border-color: var(--red-2); color: var(--red-text); }
.badge--ok { border-color: #2e4a35; color: #8fd0a0; }
.notice { border: 1px solid var(--line-2); padding: 20px 22px; margin-bottom: 24px; background: var(--bg-2); }
.notice__title { font-weight: 600; margin-bottom: .4em; }
.notice p:last-child { margin-bottom: 0; }
.notice--ok { border-color: #2e4a35; }
.notice--ok .notice__title { color: #a7e0b5; }
.notice--error { border-color: var(--red-2); }
.notice--error .notice__title { color: var(--red-text); }
.notice ul { padding-left: 1.2em; margin: .4em 0 0; }
.notice a { color: var(--text); }

/* ---------------------------------------------------------------- Catálogo: filtros */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 20px 28px; padding: 32px var(--gutter) 12px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend, .chips legend { font: 500 .7rem/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field--search { flex: 1 1 280px; }
input, select, textarea {
  font: 400 1rem/1.4 var(--body); color: var(--text); background: #0d0d0d; border: 1px solid var(--line-2); border-radius: 0;
  padding: 13px 14px; min-height: 48px; width: 100%; transition: border-color .2s;
}
textarea { resize: vertical; min-height: 140px; }
select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--red-text) 50%), linear-gradient(135deg, var(--red-text) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input:hover, select:hover, textarea:hover { border-color: #4a4a4a; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--red-text); outline: 1px solid var(--red-text); outline-offset: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red-text); }
input::placeholder, textarea::placeholder { color: #8a857f; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); }
.field__error { color: var(--red-text); font-size: .86rem; margin: 0; }
.field__help { color: var(--dim); font-size: .84rem; margin: 0; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-2); font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: border-color .2s, color .2s; }
.chip input:checked + span { border-color: var(--red-2); color: var(--text); background: #a8101c22; }
.chip input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }
.chip:hover span { color: var(--text); }
.filters__actions { display: flex; gap: 16px; align-items: center; min-height: 48px; }
.js .filters__actions .btn { display: none; }
.results-count { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto 20px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-height: 1.2em; }

/* ---------------------------------------------------------------- Página de sesión */
.crumbs { padding: calc(var(--header-h) + 28px) var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.crumbs ol { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--red-text); }
.crumbs a { color: var(--muted); }
.mix { padding: 28px var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.mix__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.mix__cover { aspect-ratio: 1; background: #0d0d0d; overflow: hidden; border: 1px solid var(--line); }
.mix__cover img, .mix__cover .gen-cover { width: 100%; height: 100%; object-fit: cover; }
.mix__title { font: 800 clamp(2.2rem, 6vw, 4.6rem)/.95 var(--display); font-stretch: 122%; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: .45em; overflow-wrap: break-word; hyphens: auto; }
.mix__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 0 0 22px; }
.mix__facts dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.mix__facts dd { margin: 0; font-size: .9rem; letter-spacing: .06em; }
.mix__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.mix__wave { margin: clamp(28px, 4vw, 48px) 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mix__columns { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); }
.mix__desc p { max-width: 62ch; color: #d6d2cb; }
@media (max-width: 860px) {
  .mix__top, .mix__columns { grid-template-columns: 1fr; }
  .mix__cover { order: 2; }   /* en móvil, primero título y botón de escuchar */
  .mix__actions { margin-top: 20px; }
}
.tracklist { list-style: none; counter-reset: t; }
.tracklist li { display: grid; grid-template-columns: 32px 84px 1fr; gap: 14px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.tracklist__n { color: var(--dim); font-size: .72rem; }
.tracklist__time { font-size: .78rem; color: var(--red-text); background: none; border: 1px solid transparent; padding: 8px 6px; min-width: 64px; text-align: left; cursor: pointer; }
.tracklist__time:hover { border-color: var(--line-2); }
span.tracklist__time { cursor: default; color: var(--dim); }
.tracklist__text { overflow-wrap: anywhere; }
.tracklist--plain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(22px, 3vw, 42px); }
.tracklist--plain li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px 0; border-bottom: 0; }
.tracklist--plain .tracklist__n { padding-top: .2em; color: var(--red-text); }
.tracklist--plain .tracklist__text { overflow-wrap: normal; }
@media (max-width: 560px) {
  .tracklist--plain { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Artista */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 9vw, 112px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; align-items: start; }
.about__img { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; }
.about__img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 34%; filter: grayscale(1) contrast(1.08); }
.about__caption { position: absolute; z-index: 3; left: 18px; bottom: 16px; padding-left: 12px; border-left: 1px solid var(--red-2); color: var(--text); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.about__placeholder { aspect-ratio: 4 / 5; border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--bg-2); }
.about__placeholder svg { width: 100%; height: 100%; opacity: .7; }
.about__placeholder figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.about__text section { margin-bottom: 2.4em; }
.about__text p { max-width: 64ch; color: #d6d2cb; }
.manifesto { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); background: linear-gradient(145deg, #111 0%, #090909 74%); position: relative; overflow: hidden; }
.manifesto::after { content: '128000 HZ'; position: absolute; right: -24px; top: 50%; transform: rotate(90deg) translateY(-50%); color: var(--dim); font: 500 .58rem/1 var(--mono); letter-spacing: .24em; opacity: .6; }
.manifesto__title { max-width: 16ch; margin: .5em 0 .8em; font: 700 clamp(1.55rem, 3.5vw, 3rem)/1.02 var(--display); font-stretch: 120%; letter-spacing: .02em; text-transform: uppercase; }
.manifesto__title::first-line { color: var(--text); }
.manifesto__body p:last-child { margin-bottom: 0; }
.manifesto__age { display: flex; flex-wrap: wrap; gap: .45em 1.2em; margin: 1.8em 0 0 !important; padding-top: 1.3em; border-top: 1px solid var(--line); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.manifesto__age strong { color: var(--red-text); font-weight: 500; }
.manifesto__age span { color: var(--text); }
.signal-code { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 2.8em; background: var(--line); border: 1px solid var(--line); }
.signal-code li { min-width: 0; padding: 18px 10px 14px; background: var(--bg); text-align: center; }
.signal-code li > span { display: block; width: 34px; height: 20px; margin: 0 auto 10px; background: repeating-linear-gradient(90deg, transparent 0 3px, var(--muted) 3px 4px); clip-path: polygon(0 45%, 10% 45%, 10% 25%, 20% 25%, 20% 65%, 30% 65%, 30% 8%, 40% 8%, 40% 80%, 50% 80%, 50% 30%, 60% 30%, 60% 60%, 70% 60%, 70% 15%, 80% 15%, 80% 72%, 90% 72%, 90% 45%, 100% 45%, 100% 55%, 0 55%); }
.signal-code strong { display: block; overflow-wrap: anywhere; color: var(--muted); font: 500 .6rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.after-strobe { padding-bottom: clamp(56px, 9vw, 112px); border-top: 1px solid var(--line); }
.after-strobe__intro { max-width: 52ch; margin: -18px 0 28px 80px; color: var(--muted); }
.after-strobe__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(12px, 2vw, 24px); }
.after-strobe figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.after-strobe img { width: 100%; height: 100%; min-height: 280px; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .5s, transform .8s var(--ease); }
.after-strobe figure:nth-child(2) img { aspect-ratio: 4 / 3; }
.after-strobe figure:hover img { filter: grayscale(.2) contrast(1.08); transform: scale(1.015); }
.after-strobe figcaption { position: absolute; left: 14px; bottom: 12px; padding: 5px 8px; background: #080808d9; color: var(--text); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) {
  .about, .about__cols, .after-strobe__grid { grid-template-columns: 1fr; }
  .about__img { position: static; }
  .about__img img { max-height: 82svh; }
  .after-strobe__intro { margin-left: 0; }
}
@media (max-width: 560px) { .signal-code { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- Live archive */
.live-archive { border-top: 1px solid var(--line); padding-bottom: clamp(64px, 10vw, 128px); }
.live-archive__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.live-archive__title { font: 800 clamp(2.4rem, 6vw, 5.6rem)/.92 var(--display); font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; color: #dcd8d1; }
.live-archive__title span { color: var(--red-text); }
.live-archive__copy { max-width: 56ch; color: #d6d2cb; }
.live-archive__meta { margin: 1.7em 0 0 !important; color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.live-archive__feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .72fr); gap: clamp(12px, 2vw, 24px); align-items: stretch; margin-bottom: clamp(12px, 2vw, 24px); }
.live-archive figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.live-archive img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.live-archive__lead img { min-height: 560px; }
.live-archive__video { display: flex; flex-direction: column; }
.live-archive__video video { width: 100%; flex: 1; min-height: 560px; aspect-ratio: 9 / 16; object-fit: cover; background: #050505; }
.live-archive figcaption { position: absolute; left: 14px; bottom: 12px; padding: 5px 8px; background: #080808dc; color: var(--text); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; z-index: 2; }
.live-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.live-archive__grid img { aspect-ratio: 3 / 2; }
.live-archive__document { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); gap: clamp(32px, 8vw, 128px); align-items: end; margin-top: clamp(48px, 8vw, 96px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.live-archive__document-copy { align-self: start; max-width: 520px; }
.live-archive__document-copy h3 { margin: clamp(32px, 7vw, 88px) 0 20px; font: 800 clamp(2.2rem, 5vw, 4.8rem)/.9 var(--display); font-stretch: 125%; letter-spacing: -.025em; text-transform: uppercase; }
.live-archive__document-copy > p:last-child { color: var(--muted); font: .72rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.live-archive__poster { width: 100%; justify-self: end; }
.live-archive__poster img { display: block; aspect-ratio: 3 / 4; object-fit: contain; }
.live-archive figure:hover img { transform: scale(1.012); filter: contrast(1.04); }
@media (max-width: 860px) {
  .live-archive__head, .live-archive__feature { grid-template-columns: 1fr; }
  .live-archive__video { width: min(100%, 430px); justify-self: center; }
  .live-archive__lead img, .live-archive__video video { min-height: 0; }
  .live-archive__document { grid-template-columns: 1fr; }
  .live-archive__document-copy h3 { margin-top: 32px; }
  .live-archive__poster { width: min(100%, 430px); justify-self: center; }
}
@media (max-width: 620px) { .live-archive__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 9vw, 112px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.contact__info .h-small:not(:first-child) { margin-top: 2.6em; }
.contact__mail { font: 600 clamp(1.05rem, 2vw, 1.35rem)/1.3 var(--display); font-stretch: 110%; letter-spacing: .04em; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field--wide { grid-column: 1 / -1; }
.field--hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--red); }
.field--check label { font: 400 .92rem/1.5 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.field--check .field__error { grid-column: 2; }
.form-note { font-size: .72rem; color: var(--dim); letter-spacing: .1em; margin: 18px 0; }
.gdpr-box { border-left: 1px solid var(--line-2); padding: 4px 0 4px 14px; margin: 0 0 22px; }
.gdpr-box p { font-size: .8rem; line-height: 1.55; color: var(--muted); margin: 0; }
.gdpr-box a { color: var(--text); }
.prose ul { padding-left: 1.2em; color: #d6d2cb; }
.prose li { margin-bottom: .6em; }
.prose code { font-family: var(--mono); font-size: .85em; background: #1a1a1a; padding: 1px 5px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Legales / error */
.prose { padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(56px, 9vw, 112px); max-width: calc(760px + 2 * var(--gutter)); }
.prose h2 { font: 500 .78rem/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); margin: 2.4em 0 1em; }
.prose p { color: #d6d2cb; }
.error-page { min-height: 80svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; position: relative; overflow: hidden; }
.error-page__code { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); font: 800 clamp(8rem, 30vw, 22rem)/1 var(--display) !important; font-stretch: 125% !important; color: #141414; z-index: -1; margin: 0; }

/* ---------------------------------------------------------------- Pie */
.site-footer { border-top: 1px solid var(--line); padding: 48px var(--gutter) 28px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; margin-bottom: 40px; }
.brand--footer { font-size: 2rem; margin: 0 0 6px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-nav a { font: 500 .72rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 10px 0; display: inline-block; }
.footer-nav a:hover { color: var(--text); }
.site-footer__bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; font-size: .7rem; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.footer-wave { width: 100%; max-width: 360px; height: 20px; color: #4a4744; justify-self: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.footer-legal a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 760px) { .site-footer__bottom { grid-template-columns: 1fr; } .footer-wave { justify-self: start; } }

/* ---------------------------------------------------------------- Reproductor persistente */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #0b0b0bf5; border-top: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-bottom: env(safe-area-inset-bottom); }
.player[hidden] { display: none; }
.player__seek { position: relative; height: 0; }
.player__bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: #262626; pointer-events: none; }
.player__buffer, .player__played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.player__buffer { background: #3d3d3d; }
.player__played { background: var(--red-2); }
.player__range { position: absolute; left: 0; right: 0; top: -12px; height: 24px; margin: 0; padding: 0; min-height: 0; border: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.player__range::-webkit-slider-runnable-track { height: 24px; background: transparent; }
.player__range::-moz-range-track { height: 24px; background: transparent; }
.player__range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--text); border: 2px solid var(--red-2); opacity: 0; transition: opacity .2s; }
.player__range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 2px solid var(--red-2); opacity: 0; }
.player:hover .player__range::-webkit-slider-thumb, .player__range:focus-visible::-webkit-slider-thumb { opacity: 1; }
.player:hover .player__range::-moz-range-thumb, .player__range:focus-visible::-moz-range-thumb { opacity: 1; }
.player__range:focus-visible { outline: 2px solid var(--red-text); outline-offset: -6px; }
.player__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(110px, auto) minmax(130px, .7fr) auto; grid-template-areas: 'meta controls time vol close'; align-items: center; gap: 12px 24px; padding: 12px var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.player__meta { grid-area: meta; display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.player__cover { width: 48px; height: 48px; flex: none; background: #151515 center / cover no-repeat; border: 1px solid var(--line); position: relative; overflow: hidden; }
.player__cover:empty::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid #ffffff33; box-shadow: inset 0 0 0 6px #0b0b0b, inset 0 0 0 7px #ffffff22, inset 0 0 0 11px #0b0b0b, inset 0 0 0 12px var(--red-2); }
.player__text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.player__title { font: 600 .95rem/1.2 var(--display); font-stretch: 110%; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__meta:hover .player__title { text-decoration: underline; text-decoration-color: var(--red-2); }
.player__controls { grid-area: controls; display: flex; align-items: center; gap: 6px; }
.pbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid transparent; color: var(--text); cursor: pointer; border-radius: 50%; padding: 0; }
.pbtn .i { width: 22px; height: 22px; grid-area: 1 / 1; }
.pbtn:hover { border-color: var(--line-2); }
.pbtn--main { width: 52px; height: 52px; background: var(--red); border-color: var(--red); color: #fff; }
.pbtn--main:hover { background: var(--red-2); }
.pbtn--main .i { width: 20px; height: 20px; }
.pbtn--main.is-playing .play__on { display: none; }
.pbtn--main.is-playing .play__off { display: block; }
.pbtn--main.is-loading { animation: pulse 1.2s ease-in-out infinite; }
.pbtn--close .i { width: 18px; height: 18px; color: var(--muted); }
.pbtn--close { grid-area: close; }
.player__time { grid-area: time; margin: 0; font-size: .76rem; letter-spacing: .08em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.player__time #pl-cur { color: var(--text); }
.player__vol { grid-area: vol; display: flex; align-items: center; gap: 8px; }
.player__vol[hidden] { display: none; }
.vol__off { display: none; }
.pbtn.is-muted .vol__on { display: none; }
.pbtn.is-muted .vol__off { display: block; }
.player__volrange { -webkit-appearance: none; appearance: none; height: 24px; padding: 0; min-height: 0; border: 0; background: transparent; cursor: pointer; --v: 90%; }
.player__volrange::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--text) var(--v), #333 var(--v)); }
.player__volrange::-moz-range-track { height: 2px; background: #333; }
.player__volrange::-moz-range-progress { height: 2px; background: var(--text); }
.player__volrange::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--text); }
.player__volrange::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 0; }
.player__volrange:focus-visible { outline: 2px solid var(--red-text); outline-offset: 2px; }
@media (max-width: 900px) {
  .player__inner { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: 'meta controls close' 'time controls close'; gap: 2px 8px; padding: 10px 12px 10px 16px; }
  .player__vol { display: none; }
  .player__time { font-size: .68rem; padding-left: 0; }
  .player__meta { gap: 10px; }
  .player__cover { width: 40px; height: 40px; }
  .player__time { padding-left: 50px; }
  .player__sub { display: none; }
  .pbtn { width: 44px; height: 44px; }
  .pbtn--main { width: 48px; height: 48px; }
}
@media (max-width: 380px) { #pl-back, #pl-fwd { width: 36px; } }

/* ---------------------------------------------------------------- Humo animado sobre las fotos */
/* Dos texturas propias y repetibles que derivan en direcciones cruzadas (solo transform: lo mueve la GPU).
   La cara de cada foto queda casi despejada con una máscara radial. */
.smoke { position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen;
  --cx: 50%; --cy: 35%; --o: .5;
  -webkit-mask-image: radial-gradient(ellipse 20% 26% at var(--cx) var(--cy), rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 45%, #000 100%);
  mask-image: radial-gradient(ellipse 20% 26% at var(--cx) var(--cy), rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 45%, #000 100%);
  animation: smoke-breathe 13s ease-in-out infinite alternate; }
.smoke span { position: absolute; left: 0; top: 0; --tile: 820px; width: calc(100% + var(--tile)); height: calc(100% + var(--tile));
  background-repeat: repeat; background-size: var(--tile) var(--tile); will-change: transform; }
.smoke__a { background-image: url(/static/img/smoke-a.webp?v=1); opacity: var(--o); animation: smoke-drift-a 75s linear infinite; }
.smoke__b { --tile: 1180px !important; background-image: url(/static/img/smoke-b.webp?v=1); opacity: calc(var(--o) * .85); animation: smoke-drift-b 120s linear infinite; }
.smoke.is-paused, .smoke.is-paused span { animation-play-state: paused; }
@keyframes smoke-drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-1 * var(--tile)), calc(-1 * var(--tile)), 0); } }
@keyframes smoke-drift-b { from { transform: translate3d(calc(-1 * var(--tile)), 0, 0); } to { transform: translate3d(0, calc(-1 * var(--tile)), 0); } }
@keyframes smoke-breathe { from { opacity: .72; } to { opacity: 1; } }
.smoke--hero { --cx: 50%; --cy: 30%; --o: .55; }
.smoke--signal { --cx: 45%; --cy: 26%; --o: .5; }
.smoke--about { --cx: 42%; --cy: 30%; --o: .5; }
.smoke--poster { --o: .32; -webkit-mask-image: none; mask-image: none; }
.smoke--archive { --cx: 54%; --cy: 42%; --o: .16; z-index: 1; animation-duration: 18s; }
.live-archive__grid .smoke--archive { --o: .12; }
@media (max-width: 760px) { .smoke--hero { --cx: 50%; --cy: 34%; } .smoke span { --tile: 560px; } .smoke__b { --tile: 820px !important; } }

/* ---------------------------------------------------------------- Movimiento */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
main { transition: opacity .18s ease; }
main.is-leaving { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__arc { animation: none; }
  .smoke, .smoke span { animation: none !important; }
}
@media (forced-colors: active) {
  .btn, .play, .pbtn, .chip span { border: 1px solid ButtonText; }
  .wave__fill path { fill: Highlight; }
}
