/* =========================================================
   Conexión HD – La Radio
   Estética "archivo VHS": papel crema, tinta, azul y semitono
   ========================================================= */

:root {
  --bg: #f3efe6;
  --paper: #ebe5d8;
  --paper-2: #e3dccb;
  --ink: #16161a;
  --ink-2: #4a4a52;
  --muted: #85837b;
  --blue: #2340d6;
  --blue-deep: #182fa8;
  --red: #e2342b;
  --dot: #b6bdd6;
  --line: rgba(22, 22, 26, .14);
  --line-strong: rgba(22, 22, 26, .38);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-serif: "DM Serif Display", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.live { color: var(--red); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* ---------- Semitono (texto relleno de puntos) ---------- */
.halftone {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.02em;
  color: transparent;
  background-image: radial-gradient(circle at center, var(--dot) 0 2.1px, transparent 2.6px);
  background-size: 7px 7px;
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand img { height: 40px; width: auto; }
.header__crumb { color: var(--blue); display: flex; align-items: center; gap: 12px; }
.header__crumb::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--blue);
  transition: right .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.burger {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 7px; padding: 0 9px;
}
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.header.nav-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.header.nav-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* =========================================================
   HERO – ARCHIVO DE CINTAS
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column;
  padding-top: clamp(8px, 2vh, 24px);
  overflow: hidden;
  overflow: clip; /* recorta sin crear zona desplazable */
}
.halftone--left, .halftone--right {
  position: absolute; top: 46%;
  font-size: clamp(64px, 8.4vw, 136px);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.halftone--left { left: clamp(4px, 2.4vw, 40px); transform: translateY(-50%) rotate(180deg); }
.halftone--right { right: clamp(4px, 2.4vw, 40px); transform: translateY(-50%); }

/* Escenario 3D */
.stage {
  position: relative;
  overflow: clip;
  flex: 0 0 auto;
  height: clamp(300px, 50vh, 440px);
  margin-top: auto;
  perspective: 1500px;
  perspective-origin: 50% 40%;
  outline: none;
  touch-action: pan-y;
  cursor: grab;
}
.stage:active { cursor: grabbing; }
.stage:focus-visible { outline: 2px dashed var(--blue); outline-offset: -8px; }
.stage__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.stage__floor {
  position: absolute; left: 50%; top: calc(50% + var(--floor, 130px));
  width: min(760px, 80%); height: 46px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(22, 22, 26, .26), rgba(22, 22, 26, 0) 68%);
  filter: blur(4px);
  pointer-events: none;
}

/* Cinta */
.tape {
  position: absolute; left: 50%; top: 50%;
  background: var(--c);
  color: var(--t);
  border-radius: 3px;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, .18),
    inset -1px 0 0 rgba(0, 0, 0, .25),
    0 18px 26px -14px rgba(22, 22, 26, .55);
  transition:
    transform .75s var(--ease),
    width .75s var(--ease),
    height .75s var(--ease),
    opacity .4s ease,
    filter .4s ease;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
}
.tape.no-anim { transition: none; }
.tape::after { /* brillo de caja plástica */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,0) 28%, rgba(0,0,0,0) 70%, rgba(0,0,0,.22));
}
.tape:not(.is-active):hover { filter: brightness(1.08); }

.tape__spine, .tape__cover {
  position: absolute; inset: 0;
  transition: opacity .45s ease;
}
.tape__spine {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 9px 0 8px;
}
.tape__no { font-family: var(--f-mono); font-size: 8px; letter-spacing: .08em; opacity: .7; }
.tape__name {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-display); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-height: 74%;
}
.tape[data-font="serif"] .tape__name { font-family: var(--f-serif); font-weight: 400; font-size: 14px; letter-spacing: .04em; }
.tape__hd {
  font-family: var(--f-mono); font-size: 7.5px; font-weight: 500; letter-spacing: .05em;
  border: 1px solid currentColor; padding: 1px 3px; border-radius: 2px;
}
.tape__cover { opacity: 0; padding: 14px; display: flex; flex-direction: column; pointer-events: none; }
.tape.is-active .tape__spine { opacity: 0; }
.tape.is-active .tape__cover { opacity: 1; pointer-events: auto; transition-delay: .2s; }

.cover__top { font-family: var(--f-mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.cover__title {
  margin: 8px 0 0;
  font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: .95;
  text-transform: uppercase; letter-spacing: -.01em;
}
.tape[data-font="serif"] .cover__title { font-family: var(--f-serif); font-weight: 400; font-size: 30px; text-transform: none; letter-spacing: 0; }
.cover__art { flex: 1; display: grid; place-items: center; padding: 8px 0; min-height: 0; }
.cover__art svg { width: 100%; max-height: 100%; height: auto; }
.cover__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cover__sub { font-family: var(--f-mono); font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; line-height: 1.3; }

/* Cinta EN VIVO */
.tape--live { --c: #faf6ee; --t: var(--ink); }
.tape--live .tape__cover { padding: 14px 14px 12px; align-items: stretch; }
.live__logo { width: 88%; margin: 2px auto 0; }
.live__art {
  position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: 0;
  transition: opacity .5s ease;
}
.tape--live.has-art .live__art { opacity: .22; }
.live__center { flex: 1; display: grid; place-items: center; position: relative; }
.live__play {
  position: relative;
  width: 68px; height: 68px; border-radius: 50%;
  border: 0; background: var(--blue); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(35, 64, 214, .7);
  transition: transform .25s var(--ease), background .25s;
}
.live__play:hover { transform: scale(1.06); background: var(--blue-deep); }
.live__play::before { /* onda expansiva al sonar */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--blue); opacity: 0;
}
.is-playing .live__play::before { animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.live__play svg { width: 28px; height: 28px; fill: currentColor; }
.live__foot { display: flex; justify-content: space-between; align-items: center; }
.live__foot .mono { font-size: 8.5px; }

/* Iconos de estado del reproductor */
.i-pause { display: none; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.spinner {
  display: none; position: absolute; inset: 0; margin: auto;
  width: 60%; height: 60%; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
.is-loading .spinner { display: block; }
.is-loading .i-play, .is-loading .i-pause { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ecualizador */
.eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.eq i {
  display: block; width: 3px; height: 100%; background: currentColor; border-radius: 1px;
  transform-origin: bottom; transform: scaleY(.25);
}
.is-playing .eq i { animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s !important; }
.eq i:nth-child(3) { animation-delay: -.6s !important; }
.eq i:nth-child(4) { animation-delay: -.15s !important; }
.eq i:nth-child(5) { animation-delay: -.45s !important; }
@keyframes eq { 0% { transform: scaleY(.2); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }

/* Pie del carrusel */
.caption {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 40px);
  padding: 0 var(--gutter);
  margin-top: -6px;
}
.caption__text { text-align: center; min-width: 0; max-width: 620px; }
.caption__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -.025em;
  color: var(--blue);
  overflow-wrap: anywhere;
}
.caption__sub { margin: 8px 0 0; color: var(--ink-2); }
.caption__arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.caption__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.caption__arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Botón escuchar */
.cta { display: flex; justify-content: center; margin: 22px 0 6px; }
.btn-live {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 22px 7px 7px;
  border: 0; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 15.5px;
  box-shadow: 0 12px 28px -14px rgba(35, 64, 214, .9);
  transition: background .25s, transform .25s var(--ease);
}
.btn-live:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-live__icon {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--blue); display: grid; place-items: center;
}
.btn-live__icon svg { width: 18px; height: 18px; fill: currentColor; }
.btn-live .eq { display: none; height: 14px; }
.is-playing .btn-live .eq { display: inline-flex; }
.btn-live--ink { background: var(--ink); margin-top: 26px; box-shadow: none; }
.btn-live--ink:hover { background: var(--blue); }
.btn-live--ink .btn-live__icon { color: var(--ink); }

.player-error {
  text-align: center; margin: 6px var(--gutter) 0; font-size: 14px; color: var(--red);
}
.player-error button {
  border: 0; background: none; padding: 0; color: var(--blue); text-decoration: underline; font-weight: 700;
}

/* Línea de tiempo (progreso de la canción) */
.timeline { padding: 18px var(--gutter) 18px; margin-top: auto; }
.timeline__meta, .timeline__labels {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ink-2);
}
.timeline__meta { font-size: 10px; margin-bottom: 8px; }
.timeline__meta b { color: var(--ink); font-weight: 500; }
.timeline__vol { display: inline-flex; align-items: center; gap: 6px; }
.timeline__ruler {
  position: relative; height: 16px;
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 100%) left bottom / calc(100% / 10) 14px repeat-x,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 100%) left bottom / calc(100% / 50) 7px repeat-x;
  border-bottom: 1px solid var(--line-strong);
}
.timeline__fill { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--blue); transition: width 1s linear; }
.timeline__dot {
  position: absolute; bottom: -5px; left: 0; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(35, 64, 214, .15);
  transition: left 1s linear;
}
.timeline__labels { font-size: 10px; margin-top: 10px; }

/* Controles pequeños */
.icon-btn {
  width: 28px; height: 28px; border: 0; background: transparent; padding: 4px;
  display: inline-grid; place-items: center; color: inherit;
}
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn .i-mute { display: none; }
.is-muted .icon-btn .i-vol { display: none; }
.is-muted .icon-btn .i-mute { display: block; }
input[type="range"] { width: 90px; accent-color: var(--blue); cursor: pointer; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker { background: var(--ink); color: var(--bg); overflow: hidden; padding: 13px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 0 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 52px;
}
.ticker span::after { content: "✦"; color: var(--dot); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--rule { border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-num { color: var(--blue); margin: 0 0 14px; }
.sec-title {
  margin: 0;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(34px, 5.2vw, 66px); line-height: 1; letter-spacing: -.035em;
}
.sec-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--blue); letter-spacing: -.01em; }
.sec-lead { margin: 18px 0 0; color: var(--ink-2); max-width: 54ch; }

/* Catálogo: lo que sonó */
.catalog { border-top: 1px solid var(--ink); }
.catalog__row {
  display: grid; grid-template-columns: 64px 1.5fr 1fr 130px; gap: 16px; align-items: center;
  padding: 16px 8px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.catalog__row:not(.catalog__row--head):not(.catalog__row--empty):hover { background: var(--paper); }
.catalog__row--head { color: var(--muted); padding-top: 12px; padding-bottom: 12px; font-size: 10px; }
.catalog__row--empty { color: var(--muted); grid-template-columns: 1fr; }
.catalog__no { font-family: var(--f-mono); font-size: 13px; color: var(--blue); }
.catalog__song { font-weight: 700; font-size: 18px; line-height: 1.25; }
.catalog__song small { display: none; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.catalog__artist { color: var(--ink-2); }
.catalog__time { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: right; }
.catalog__time .now { color: var(--red); font-weight: 500; }
.catalog__row--head span:last-child { text-align: right; }

/* Noticias */
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; }
.sec-head--row .sec-lead { margin: 0; max-width: 36ch; }
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.news__empty { grid-column: 1 / -1; color: var(--muted); margin: 0; padding: 28px 0; border-top: 1px solid var(--line); }
.news-card {
  display: flex; flex-direction: column; gap: 14px;
  text-align: left; background: none; border: 0; padding: 0; color: inherit;
  text-decoration: none; cursor: pointer;
}
.news-card__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 20px 34px -26px rgba(22, 22, 26, .7);
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img, .news-card:hover .news-cover { transform: scale(1.04); }
.news-card__meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.news-card__cat { color: var(--c, var(--blue)); }
.news-card__title {
  margin: 0; font-size: 21px; line-height: 1.18; letter-spacing: -.015em; font-weight: 700;
  transition: color .2s;
}
.news-card:hover .news-card__title { color: var(--blue); }
.news-card__sum {
  margin: 0; color: var(--ink-2); font-size: 15.5px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__read { color: var(--ink); font-size: 10.5px; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }

/* Portada generada cuando la noticia no tiene foto */
.news-cover {
  position: absolute; inset: 0; background: var(--c, var(--ink)); color: #f3ead9;
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px;
  transition: transform .6s var(--ease);
}
.news-cover::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: radial-gradient(circle at center, #fff 0 1.5px, transparent 1.9px);
  background-size: 8px 8px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
  mask-image: linear-gradient(200deg, #000, transparent 70%);
}
.news-cover__top { position: relative; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.news-cover__word { position: relative; font-family: var(--f-serif); font-size: clamp(34px, 4vw, 52px); line-height: .9; }
.news-cover__hd { border: 1px solid currentColor; padding: 1px 5px; border-radius: 3px; }

/* Noticia destacada (la más reciente) */
.news-card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line);
  margin-bottom: clamp(4px, 1vw, 12px);
}
.news-card--featured .news-card__media { aspect-ratio: 16 / 10; }
.news-card--featured .news-card__text { display: flex; flex-direction: column; gap: 16px; }
.news-card--featured .news-card__title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.03em; }
.news-card--featured .news-card__sum { font-size: 17px; -webkit-line-clamp: 4; }
.news-card--featured .news-cover__word { font-size: clamp(44px, 6vw, 84px); }
.news-card__text { display: flex; flex-direction: column; gap: 10px; }
.news-badge { background: var(--red); color: #fff; padding: 2px 7px; border-radius: 3px; font-size: 9.5px; }
.news__more { text-align: center; margin: 36px 0 0; }
.news__more button { background: none; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer; }

/* Lector */
.reader {
  width: min(760px, calc(100% - 24px)); max-height: min(88vh, 900px);
  padding: 0; border: 0; border-radius: 14px;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  overflow: auto; overscroll-behavior: contain;
}
.reader::backdrop { background: rgba(16, 16, 20, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.reader[open] { animation: reader-in .4s var(--ease); }
@keyframes reader-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.modal-open { overflow: hidden; }
.reader__close {
  position: sticky; top: 12px; float: right; margin: 12px 12px -54px 0; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(22, 22, 26, .78); color: #fff; display: grid; place-items: center;
}
.reader__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.reader__close:hover { background: var(--blue); }
.reader__media { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.reader__media img { width: 100%; height: 100%; object-fit: cover; }
.reader__body { padding: clamp(22px, 4vw, 44px); }
.reader__meta { margin: 0; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.reader__title { margin: 14px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.06; letter-spacing: -.03em; }
.reader__text { margin-top: 22px; }
.reader__text p { margin: 0 0 16px; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.reader__share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
}
.reader__share .mono { color: var(--muted); margin-right: 4px; }
.reader__share a, .reader__share button {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.reader__share a:hover, .reader__share button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__mark { margin: 0; position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.about__dots {
  position: absolute; inset: 4%; border-radius: 50%;
  background-image: radial-gradient(circle at center, var(--dot) 0 2.2px, transparent 2.7px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 71%);
  mask-image: radial-gradient(circle at center, #000 55%, transparent 71%);
}
.about__mark img { position: relative; width: 84%; }
.about__mark figcaption { position: absolute; bottom: 6%; color: var(--blue); text-align: center; }
.about__copy p { color: var(--ink-2); max-width: 58ch; }
.about__copy p strong { color: var(--ink); }
.about__copy .sec-title { margin-bottom: 26px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 4vw, 46px); line-height: 1; letter-spacing: -.03em; }
.stats dd { margin: 8px 0 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Programación: cajas de cinta */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.box {
  position: relative; min-height: 380px;
  display: flex; flex-direction: column;
  padding: 24px 24px 24px 38px;
  background: var(--c); color: #f3ead9; border-radius: 4px;
  box-shadow: 0 26px 40px -26px rgba(22, 22, 26, .7);
  transition: transform .45s var(--ease);
  overflow: hidden;
}
.box::before { /* lomo */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px;
  background: linear-gradient(90deg, rgba(0,0,0,.32), rgba(0,0,0,.12)), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 2px, transparent 2px 6px);
}
.box::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.12), rgba(255,255,255,0) 40%);
}
.box:hover { transform: translateY(-8px) rotate(-.6deg); }
.box__tag { margin: 0; opacity: .7; }
.box__title { margin: 14px 0 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 56px); line-height: .95; }
.box p:not(.box__tag) { margin: auto 0 0; font-size: 15.5px; opacity: .88; max-width: 34ch; }
.box__hd { position: absolute; top: 22px; right: 22px; border: 1px solid currentColor; padding: 2px 6px; border-radius: 3px; font-size: 10px; }

/* Escúchanos */
.listen { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.platforms { display: grid; gap: 14px; }
.platform {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--paper); text-decoration: none;
  transition: border-color .2s, transform .3s var(--ease), background .2s;
}
.platform:hover { border-color: var(--ink); background: #fff; transform: translateX(4px); }
.platform img { height: 30px; width: auto; }
.platform .mono { color: var(--ink-2); }

/* Donaciones */
.donate__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.donate__uses { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.donate__uses li {
  position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: baseline;
  padding: 16px 18px 16px 26px; background: var(--paper); border-radius: 6px; overflow: hidden;
}
.donate__uses li::before { /* lomo de cinta */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c);
}
.donate__uses .mono { color: var(--c); grid-row: span 2; font-size: 12px; }
.donate__uses b { font-size: 17px; }
.donate__uses small { color: var(--ink-2); font-size: 14.5px; }

.donate__card {
  position: relative;
  background: var(--ink); color: var(--bg);
  border-radius: 14px; padding: clamp(24px, 3vw, 36px);
  text-align: center; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(22, 22, 26, .8);
}
.donate__card::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(circle at center, var(--dot) 0 1.6px, transparent 2px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(ellipse at top, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at top, #000, transparent 70%);
}
.cassette { position: relative; width: min(280px, 100%); height: auto; margin: 0 auto 22px; display: block; }
.cassette__body { fill: #2a2a31; stroke: #3a3a44; stroke-width: 2; }
.cassette__label { fill: var(--bg); }
.cassette__text { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink); }
.cassette__text--dim { font-size: 8.5px; fill: var(--muted); }
.cassette__window { fill: #121216; }
.cassette__base { fill: #222228; stroke: #3a3a44; stroke-width: 2; }
.cassette__hole { fill: #121216; }
.reel { fill: none; stroke: var(--bg); stroke-width: 2.4; transform-box: fill-box; transform-origin: center; animation: reel 4s linear infinite; }
.reel circle { fill: #2a2a31; }
.donate__card:hover .reel { animation-duration: 1.2s; }
@keyframes reel { to { transform: rotate(360deg); } }

.donate__kicker { margin: 0; color: var(--dot); }
.donate__title { margin: 8px 0 0; font-family: var(--f-serif); font-size: clamp(34px, 4vw, 46px); line-height: 1; }
.donate__text { margin: 12px auto 0; max-width: 34ch; color: rgba(243, 239, 230, .78); font-size: 15.5px; }
.donate__steps {
  list-style: none; margin: 20px 0 0; padding: 0; text-align: left;
  display: grid; gap: 10px; font-size: 14.5px; color: rgba(243, 239, 230, .85);
}
.donate__steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; line-height: 1.4; }
.donate__steps b {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(243, 239, 230, .35); font-family: var(--f-mono); font-size: 11px; font-weight: 500;
}
.donate__steps em { font-style: normal; color: var(--bg); font-weight: 700; }
.btn-donate {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 24px; padding: 17px 24px;
  border-radius: 999px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: background .25s, transform .25s var(--ease);
}
.btn-donate svg { width: 20px; height: 20px; fill: currentColor; }
.btn-donate:hover { background: #3557ff; transform: translateY(-2px); }
.btn-donate:hover svg { animation: beat .8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.22); } }
.donate__note { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.donate__alt { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(243, 239, 230, .14); font-size: 14.5px; color: rgba(243, 239, 230, .78); }
.donate__alt a { color: var(--bg); font-weight: 700; }

.nav .nav__donate { color: var(--blue); }
.support-link {
  display: block; width: max-content; margin: 2px auto 0; padding: 6px 4px;
  color: var(--ink-2); text-decoration: none; font-size: 10.5px;
}
.support-link:hover { color: var(--blue); }

/* Causa */
.cause { background: var(--blue); color: #f6f3ff; padding: clamp(44px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cause::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(circle at center, #fff 0 1.6px, transparent 2px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
  mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.cause__inner { position: relative; }
.cause .mono { margin: 0 0 10px; opacity: .75; }
.cause h2 { margin: 0; font-weight: 700; font-size: clamp(28px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.03em; max-width: 18ch; }
.cause h2 strong { font-family: var(--f-serif); font-style: italic; font-weight: 400; }

/* Familia DM */
.family { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.family article { padding: 22px 22px 26px; border-right: 1px solid var(--line); }
.family article:first-child { padding-left: 0; }
.family article:last-child { border-right: 0; }
.family .mono { color: var(--blue); margin: 0; }
.family h3 { margin: 12px 0 8px; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; }
.family p:not(.mono) { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.family a.mono { display: inline-block; margin-top: 14px; text-decoration: none; border-bottom: 1px solid currentColor; }
.family__more { margin: 34px 0 0; }
.link-arrow { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }

/* Auspicio */
.sponsors { display: grid; grid-template-columns: .7fr 1.2fr 1.3fr 1.2fr; gap: clamp(12px, 2vw, 24px); align-items: stretch; }
.sponsors .sec-num { grid-column: 1 / -1; margin: 0; }
.sponsor {
  height: 120px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); padding: 8px 18px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.sponsor:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(22,22,26,.5); }
.sponsor img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.sponsor--photo { position: relative; padding: 0; text-decoration: none; }
.sponsor--photo img { width: 100%; height: 100%; object-fit: cover; }
.sponsor--photo span {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(10, 12, 20, .85));
  color: #fff; font-weight: 700; font-size: 16px;
}

.sponsor--wide { padding: 12px 16px; }
.sponsor--wide img { height: auto; width: 100%; max-height: 100%; }
.sponsor--lf {
  flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 12px 22px; text-decoration: none; color: #0c1b33;
  font-family: "Instrument Sans", var(--f-display);
}
.lf__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1; }
.lf__brand b { font-weight: 700; }
.lf__brand svg { width: 40px; height: 40px; flex: none; }
.sponsor--lf small { font-size: 12.5px; color: #566275; max-width: 26ch; line-height: 1.3; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.contact__list li {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.contact__list .mono { color: var(--muted); }
.contact__list a { text-decoration: none; font-weight: 700; }
.contact__list a:hover { color: var(--blue); }
.map { margin-top: 26px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }

.form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px;
}
.form__tag { margin: 0 0 4px; color: var(--blue); }
.form label { display: grid; gap: 7px; }
.form label .mono { font-size: 10px; color: var(--ink-2); }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 64, 214, .18); }
.form input[aria-invalid="true"] { border-color: var(--red); }
.form__error { margin: 0; color: var(--red); font-size: 14px; }
.btn-send {
  border: 0; border-radius: 999px; padding: 16px 22px; margin-top: 4px;
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: 16px;
  transition: background .25s;
}
.btn-send:hover { background: var(--blue); }
.form__note { margin: 0; color: var(--muted); font-size: 10px; text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); overflow: hidden; padding-bottom: 90px; }
.footer__giant { font-size: clamp(64px, 15.5vw, 230px); text-align: center; white-space: nowrap; padding: 34px 0 10px; }
.footer__inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; }

/* =========================================================
   MINI REPRODUCTOR
   ========================================================= */
.mini {
  position: fixed; left: 50%; bottom: 16px; z-index: 50;
  width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px;
  padding: 7px 16px 7px 7px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  transform: translate(-50%, 160%);
  transition: transform .5s var(--ease);
}
.mini.is-visible { transform: translate(-50%, 0); }
.mini__play {
  position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--blue); color: #fff; display: grid; place-items: center;
}
.mini__play svg { width: 20px; height: 20px; fill: currentColor; }
.mini__meta { flex: 1; min-width: 0; line-height: 1.25; }
.mini__live { color: #ff6a60; font-size: 9.5px; }
.mini__text { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .eq { color: var(--dot); }
.mini__vol { display: inline-flex; align-items: center; gap: 4px; }
.mini__vol input { width: 80px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .header__crumb { display: none; }
  .family { grid-template-columns: repeat(2, 1fr); }
  .family article { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .family article:nth-child(odd) { padding-right: 22px; border-right: 1px solid var(--line); }
  .family article:nth-child(even) { padding-left: 22px; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .burger { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .header.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .halftone--left, .halftone--right { font-size: clamp(48px, 13vw, 96px); top: 40%; opacity: .65; }
  .timeline__copy { display: none; }
  .timeline__vol { display: none; }

  .about, .listen, .contact, .donate__grid { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr 1fr; }
  .news-card--featured { grid-template-columns: 1fr; }
  .sponsors { grid-template-columns: 1fr 1fr; }
  .donate__card { max-width: 520px; width: 100%; margin: 0 auto; }
  .about__mark { max-width: 420px; width: 100%; margin: 0 auto; }
  .boxes { grid-template-columns: 1fr; }
  .box { min-height: 260px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .halftone--left, .halftone--right { display: none; }
  .tape__name { font-size: 10px; letter-spacing: .05em; }
  .tape[data-font="serif"] .tape__name { font-size: 11.5px; letter-spacing: .02em; }
  .tape__no { font-size: 7px; }
  .stage {
    height: 320px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .caption { gap: 12px; }
  .caption__arrow { width: 38px; height: 38px; }
  .catalog__row { grid-template-columns: 34px 1fr 76px; gap: 10px; padding: 14px 2px; }
  .catalog__artist { display: none; }
  .catalog__song { font-size: 16px; }
  .catalog__song small { display: block; margin-top: 2px; }
  .catalog__time { font-size: 11px; }
  .stats { gap: 12px; }
  .news { grid-template-columns: 1fr; }
  .reader { width: 100%; max-height: 100%; height: 100%; max-width: none; border-radius: 0; margin: 0; }
  .family { grid-template-columns: 1fr; }
  .family article, .family article:nth-child(odd), .family article:nth-child(even) { padding: 20px 0; border-right: 0; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .sponsors { grid-template-columns: 1fr; }
  .sponsor { height: 104px; }
  .sponsor--photo { height: 150px; }
  .mini__vol { display: none; }
  .footer__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
}
