/* THE JABBA RECORDS — editorial minimal
   Blanco, tipografía fina, rejilla estricta, mucho aire.
   Inter (base) · Space Mono (códigos y metadatos) */

/* Apfel Grotezk Satt — tipografía display de la web (Collletttivo, SIL OFL 1.1,
   licencia en fonts/ApfelGrotezk-LICENSE.txt). El wordmark en PNG sigue siendo
   el lettering original de la marca. */
@font-face {
  font-family: "Apfel Grotezk";
  src: url("fonts/ApfelGrotezk-Satt.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #0e0e0d;
  --ink: #f0efe9;
  --ink-soft: #a6a69c;
  --line: #2b2b28;
  --ph: #6e6e66;
  --frame: #161614;
  --accent: #e3212a;
  --max: none; /* ancho completo en toda la web, mismos márgenes que la topbar (antes 1200px) */
  --pad: clamp(20px, 4vw, 48px);
  --topbar-h: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--accent); color: #fff; }

.hero-line { display: block; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 300; }

/* ---------- topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--topbar-h);
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.wordmark { display: block; }

.wordmark img {
  display: block;
  height: 22px;
  width: auto;
  transition: opacity 0.2s;
}

.wordmark:hover img { opacity: 0.7; }

.nav { display: flex; gap: clamp(16px, 3vw, 40px); }

.nav a {
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a:hover { color: var(--ink); }

.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.topbar-meta { color: var(--ink-soft); }

/* ---------- menú móvil ---------- */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topbar-h);
  bottom: 0;
  z-index: 9;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 6vh, 48px) var(--pad) calc(28px + env(safe-area-inset-bottom));
}

.mobile-menu[hidden] { display: none; }

.mobile-nav { display: flex; flex-direction: column; gap: 14px; }

.mobile-nav a {
  width: fit-content;
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(44px, 13vw, 76px);
  line-height: 1.05;
  color: var(--ink);
}

.mobile-nav a[aria-current="page"] { color: var(--accent); }

.mobile-menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.mobile-menu-foot a { color: var(--ink-soft); }

@media (min-width: 761px) {
  .mobile-menu { display: none; }
}

/* ---------- hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 9vh, 110px) var(--pad) clamp(36px, 6vh, 72px);
}

.hero-title {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-size: clamp(30px, 5.2vw, 68px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: 0;
  max-width: 18em;
}

.hero-cat {
  margin-top: clamp(24px, 4vh, 44px);
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--ink-soft);
}

.hero-rule {
  margin-top: clamp(28px, 4vh, 48px);
  border-top: 1px solid var(--ink);
}

/* ---------- sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 10vh, 110px) var(--pad);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.section-num { color: var(--ink-soft); }

.section-head h2 {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: 0;
}

.section-cat {
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--ink-soft);
}

.section-intro {
  max-width: 44em;
  color: var(--ink-soft);
  margin-bottom: clamp(36px, 6vh, 64px);
}

/* ---------- manifesto film: apertura a pantalla completa ---------- */

.film-hero {
  position: relative;
  height: calc(100svh - var(--topbar-h));
  background: #000;
  overflow: hidden;
}

.film-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vh, 36px) var(--pad);
  background: linear-gradient(rgba(0, 0, 0, 0.55), transparent 30%, transparent 66%, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.film-overlay a { pointer-events: auto; }

.film-kicker { color: #f0efe9; }

.film-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.film-caption { color: #f0efe9; }

.film-caption a { border-bottom: 1px solid rgba(240, 239, 233, 0.5); }
.film-caption a:hover { border-color: #f0efe9; }

.film-cue { color: rgba(240, 239, 233, 0.7); }

/* ---------- subpage head ---------- */

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 11vh, 130px) var(--pad) clamp(28px, 5vh, 56px);
}

.page-title {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(44px, 8vw, 110px);
  line-height: 1;
  letter-spacing: 0;
}

.page-cat {
  margin-top: 18px;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--ink-soft);
}

/* variante cartel: el título llena el ancho y el contenido va pegado */

.page-head-poster {
  max-width: none;
  padding: clamp(24px, 4.5vh, 48px) var(--pad) 0;
}

.page-title-giant {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.92;
  letter-spacing: 0;
}

.page-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: clamp(16px, 2.5vh, 26px);
  padding: 14px 0 clamp(20px, 3.5vh, 36px);
}

.page-head-claim {
  font-size: clamp(17px, 2vw, 24px);
  color: var(--ink-soft);
}

.page-head-tag { color: var(--ink-soft); }

.page-head-poster + .section { padding-top: clamp(28px, 5vh, 56px); }

.page-head-poster + .section .section-head { margin-bottom: clamp(24px, 4vh, 44px); }

/* ---------- poster grid (página /events/, patrón Public Possession) ---------- */

.section-full { max-width: none; }

.section-full .section-head,
.section-full .section-intro,
.section-full .rows-note {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-full .section-intro { margin-bottom: clamp(36px, 6vh, 64px); }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.poster-tile {
  position: relative;
  overflow: hidden;
}

.poster-tile .ph-frame { aspect-ratio: 4 / 5; }

.poster-tile img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.poster-tile:hover img { transform: scale(1.03); }

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(16px, 2vw, 26px);
  background: linear-gradient(transparent 16%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.9));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.poster-tile:hover .poster-overlay,
.poster-tile:focus-within .poster-overlay { opacity: 1; }

@media (hover: none) {
  /* en táctil la info va debajo del cartel, sobre negro, no encima */
  .poster-tile { overflow: visible; }
  .poster-tile img { height: auto; }
  .poster-overlay {
    position: static;
    inset: auto;
    opacity: 1;
    background: none;
    padding: 14px 0 6px;
  }
  .poster-overlay .mono,
  .poster-overlay h3 { text-shadow: none; }
  .poster-date, .poster-venue { color: var(--ink-soft); }
}

.poster-overlay h3 {
  color: #f0efe9;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.2;
}

.poster-overlay .mono {
  font-size: 12px;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.poster-overlay h3 { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }

.poster-date, .poster-venue { color: rgba(240, 239, 233, 0.88); }

.poster-lineup { color: #f0efe9; letter-spacing: 0.08em; }

.poster-note { color: #ff4d55; letter-spacing: 0.08em; }

.events-more { margin-top: 28px; }

@media (max-width: 1000px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .poster-grid { grid-template-columns: 1fr; }
}

/* ---------- upcoming rows ---------- */

.rows { list-style: none; border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.row-date, .row-meta { color: var(--ink-soft); }

.row-title { font-size: clamp(17px, 2vw, 22px); }

.row-link {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.row-link:hover { color: var(--accent); }

.rows-note { margin-top: 24px; color: var(--ink-soft); font-size: 14px; }

.rows-note a { border-bottom: 1px solid var(--line); }

/* ---------- placeholders ---------- */

.ph { color: var(--ph); }

.ph-link { opacity: 0.45; }

.ph-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  color: var(--ph);
  background:
    linear-gradient(45deg, transparent 49.6%, var(--line) 49.6%, var(--line) 50.4%, transparent 50.4%);
  background-color: var(--frame);
}

.ph-frame .mono, .ph-frame figcaption { color: var(--ph); }

/* ---------- releases ---------- */

.release {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.release-art { aspect-ratio: 1 / 1; }

.release-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

.release-code { color: var(--ink-soft); display: block; margin-bottom: 16px; }

.release-title {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 30px);
  margin-bottom: 16px;
}

.release-info p { max-width: 34em; color: var(--ink-soft); margin-bottom: 28px; }

/* página /about/ */

.about-body {
  max-width: 44em;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.about-body p { margin-bottom: 1.2em; color: var(--ink-soft); }

.timeline { list-style: none; border-top: 1px solid var(--line); }

.timeline-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: clamp(24px, 4vh, 36px) 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year { color: var(--accent); }

.timeline-row p {
  max-width: 34em;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.timeline-row a { border-bottom: 1px solid var(--line); }
.timeline-row a:hover { color: var(--accent); border-color: var(--accent); }

.partners-list {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(28px, 5vh, 48px);
}

.partners-list li {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 3.2vw, 48px);
  line-height: 1.1;
  padding: clamp(16px, 2.5vh, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s, transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.partners-list li:hover { color: var(--accent); transform: translateX(10px); }

@media (max-width: 760px) {
}

@media (max-width: 560px) {
  .timeline-row { grid-template-columns: 1fr; gap: 6px; }
}

/* página /releases/ */

/* página de producto (/releases/tjr001/) */

.product-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 3.5vh, 32px) var(--pad) 0;
}

.back-link {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.back-link:hover { color: var(--accent); border-color: var(--accent); }

.record-detail { border-top: none; padding-top: clamp(28px, 5vh, 48px); }

.record-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.record-detail-grid > * { min-width: 0; }

.record-detail-info .bc-player { max-width: 100%; }

.record-detail-media figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
}

.record-detail-info .upcoming-title { font-size: clamp(30px, 3.6vw, 54px); }

.record-detail .release-photos { max-width: var(--max); margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
  .record-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* catálogo en rejilla (ref. SlapFunk records) */

.records-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .records-grid { grid-template-columns: repeat(2, 1fr); }
}

.record-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--frame);
  overflow: hidden;
}

.record-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

a.record-art:hover img { transform: scale(1.025); }

.record-more {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 7px 12px;
  background: rgba(14, 14, 13, 0.85);
  color: var(--ink);
  letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease;
}

a.record-art:hover .record-more { background: var(--accent); color: #0e0e0d; }

.record-art-ph { border-style: dashed; border-color: var(--ph); }

.record-art-ph .ph { color: var(--ph); }

.record-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
}

.record-tag { color: var(--accent); }

.record-name {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 700px) {
  .records-grid { grid-template-columns: 1fr; gap: 32px; }
}

.release-feature { max-width: 56em; }

.tracklist {
  list-style: none;
  margin: clamp(24px, 4vh, 40px) 0;
  border-top: 1px solid var(--line);
  max-width: 34em;
}

.tracklist li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.track-no { color: var(--ink-soft); }

.track-note { color: var(--ink-soft); }

.bc-player {
  border: 0;
  width: 100%;
  max-width: 34em;
  height: 42px;
  margin-bottom: clamp(24px, 4vh, 40px);
}

.credits { margin-bottom: clamp(24px, 4vh, 40px); }

.credits-label { color: var(--ink-soft); margin-bottom: 10px; }

.credits-list {
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.release-photo { margin-top: clamp(40px, 7vh, 80px); }

.release-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: clamp(40px, 7vh, 80px);
}

.release-photos .release-photo { margin-top: 0; }

.release-photos .release-photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 700px) {
  .release-photos { grid-template-columns: 1fr; gap: 28px; }
}

.release-photo img { display: block; width: 100%; height: auto; }

.release-photo figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
}

.link-arrow {
  display: inline-block;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.link-arrow:hover { opacity: 1; color: var(--accent); border-color: var(--accent); }

/* ---------- shop ---------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.product .ph-frame { aspect-ratio: 3 / 4; }

.product-frame { aspect-ratio: 1 / 1; background: var(--frame); }

.product-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
}

.product-info h3 { font-size: 15px; font-weight: 400; }

.product-price { color: var(--ink-soft); }

.product-buy {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.product-buy:hover { color: var(--accent); }

@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ---------- archive ---------- */

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 40px);
}

.archive-item-wide { grid-column: 1 / -1; }

.archive-item-wide .ph-frame { aspect-ratio: 21 / 9; }

.archive-item figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink);
}

.archive-item figcaption .mono { color: var(--ink-soft); }

.archive-more {
  display: block;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}

.archive-more:hover { border-color: var(--ink); }

.archive-more-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.archive-more-inner .mono { color: var(--ink-soft); }

.archive-more-label {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
}

/* ---------- community ---------- */

.community-claim {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 26em;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.community-actions { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); }

.community-photo {
  margin-top: 0;
  margin-bottom: clamp(32px, 5vh, 56px);
}

/* ---------- footer ---------- */

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 24px;
}

.footer-links a { color: var(--ink); }
.footer-links a:hover { color: var(--accent); }

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-icon { display: block; opacity: 0.85; }

/* ---------- motion (GSAP maneja los reveals; micro-interacciones aquí) ---------- */

.row,
.archive-item .ph-frame,
.product-frame,
.archive-more {
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.row:hover { transform: translateX(10px); }

.product-frame img,
.release-art img {
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.product:hover .product-frame img,
.release-art:hover img { transform: scale(1.035); }


a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .nav { display: none; }
  .topbar-meta { display: none; }
  .nav-toggle { display: inline-block; }

  .section-head { grid-template-columns: 1fr; gap: 6px; }
  .section-num { order: -1; }

  .row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .release { grid-template-columns: 1fr; }

  .archive-grid { grid-template-columns: 1fr; }

  .archive-item figcaption { flex-direction: column; gap: 2px; }
}

/* ---------- split hero (/about/, patrón SlapFunk) ---------- */

.split-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: calc(100svh - var(--topbar-h));
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 6vh, 64px);
  padding: clamp(28px, 5vh, 56px) var(--pad);
  position: relative;
  z-index: 2;
}

.split-title {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(54px, 10vw, 180px); /* fallback sin JS; main.js ajusta por línea */
  line-height: 0.96;
  letter-spacing: 0;
}

.split-line { display: block; white-space: nowrap; width: fit-content; }

.split-line-accent { color: var(--accent); }

.split-foot {
  max-width: 30em;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split-body {
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
}

.split-cat {
  font-size: clamp(20px, 2.3vw, 28px);
  color: var(--ink);
}

.split-foot .rows-note { margin-top: 0; }

.split-media {
  position: relative;
  overflow: hidden;
  background: var(--frame);
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 72%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.split-media .film-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #f0efe9;
  z-index: 2;
}

@media (max-width: 900px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-title { font-size: clamp(50px, 15vw, 100px); }
  .split-media { height: 64svh; position: relative; }
  .split-copy { gap: 32px; padding-bottom: 36px; }
}

/* ---------- capítulos del About (composición por capas, patrón SlapFunk) ---------- */

.chapter {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 10vh, 120px) 0 clamp(70px, 12vh, 140px);
}

.chapter-word {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(88px, 16vw, 280px);
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: 0;
  position: relative;
  left: -0.03em;
  z-index: 0;
  color: var(--ink);
}

.chapter-right .chapter-word { text-align: right; left: auto; right: -0.03em; }

.chapter-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(28px, 4vw, 64px);
  padding: 0 var(--pad);
  margin-top: clamp(-120px, -7vw, -36px);
  align-items: start;
}

.chapter-media img { display: block; width: 100%; height: auto; }

.chapter-text { margin-top: clamp(48px, 14vh, 180px); max-width: 30em; }

.chapter-label { color: var(--ink-soft); margin-bottom: 18px; }

.chapter-text p:not(.chapter-label) {
  color: var(--ink-soft);
  margin-bottom: 1.2em;
}

.chapter-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: clamp(-60px, -4vw, -16px) auto 0;
  padding: 0 var(--pad);
}

/* capítulo invertido: rojo de marca */

.chapter-invert { background: var(--accent); }

.chapter-invert .chapter-word { color: #0e0e0d; }

.chapter-invert .chapter-label,
.chapter-invert .partners-list { border-top-color: rgba(14, 14, 13, 0.35); }

.chapter-invert .partners-list li {
  color: #0e0e0d;
  border-bottom-color: rgba(14, 14, 13, 0.35);
}

.chapter-invert .partners-list li:hover { color: #f0efe9; }

.chapter-invert .rows-note { color: rgba(14, 14, 13, 0.75); }

.chapter-invert .rows-note a {
  color: #0e0e0d;
  border-bottom: 1px solid rgba(14, 14, 13, 0.5);
}

.chapter-invert .rows-note a:hover { color: #f0efe9; border-color: #f0efe9; }

.chapter-invert ::selection { background: #0e0e0d; color: #f0efe9; }

@media (max-width: 760px) {
  .chapter-grid { grid-template-columns: 1fr; margin-top: clamp(-40px, -4vw, -12px); }
  .chapter-text { margin-top: 0; }
}

.chapter-invert .chapter-inner { margin-top: 18px; }

.chapter-inner-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.chapter-side { margin-top: clamp(48px, 12vh, 150px); }

.chapter-side img { display: block; width: 100%; height: auto; }

@media (max-width: 760px) {
  .chapter-inner-grid { grid-template-columns: 1fr; }
  .chapter-side { margin-top: 12px; }
}

.chapter-side-caption { margin-top: 10px; color: var(--ink-soft); }

/* ---------- events hero: cabecera + próximo evento, foto en la esquina derecha (ref. HOR) ---------- */

.page-hero {
  padding: clamp(24px, 4.5vh, 48px) var(--pad) clamp(40px, 7vh, 72px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4.5vw, 72px);
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero-left { display: flex; flex-direction: column; }

.page-hero-left .page-head-claim { margin-top: 16px; }

.page-hero-left .upcoming-info { margin-top: clamp(36px, 7vh, 72px); }

.page-hero-media { display: flex; flex-direction: column; }

.page-hero-media img {
  flex: 1;
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.upcoming-media.page-hero-media-square img {
  flex: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .upcoming-media.page-hero-media-square img { aspect-ratio: 1 / 1; }
}

.upcoming-kicker { color: var(--ink-soft); margin-bottom: 18px; }

.upcoming-title {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.upcoming-data { margin-top: 14px; color: var(--ink-soft); }

.upcoming-desc {
  margin-top: 22px;
  max-width: 30em;
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.upcoming-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vh, 40px);
}

.btn-pill {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #0e0e0d;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0e0e0d;
}

.btn-pill-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-pill-ghost:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.upcoming-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--frame);
}

.upcoming-media figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
}

/* ---------- upcoming hero: banda roja con titular en marquee (events) ---------- */

.event-hero-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--accent);
  overflow: hidden;
  padding: clamp(22px, 4.5vh, 44px) 0;
}

.event-hero-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: event-marquee 26s linear infinite;
}

.event-hero-word {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(80px, 15vw, 220px);
  line-height: 0.95;
  color: #0e0e0d;
}

@keyframes event-marquee {
  to { transform: translateX(-50%); }
}

.event-hero-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: #0e0e0d;
  padding: 10px 18px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.event-hero-cta:hover {
  background: #0e0e0d;
  color: var(--ink);
}

.event-hero-band ::selection { background: #0e0e0d; color: #f0efe9; }

.event-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 3.5vh, 36px) var(--pad) 0;
}

.event-hero-title {
  font-family: "Apfel Grotezk", "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: 0;
}

.event-hero-data { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .event-hero-track { animation: none; }
}

/* ---------- bloque rojo: un acento de fondo por página ---------- */

.section-red { position: relative; }

.section-red::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background: var(--accent);
  z-index: -1;
}

.section-red ::selection { background: #0e0e0d; color: #f0efe9; }

.section-red h2,
.section-red h3,
.section-red .row-title,
.section-red .community-claim { color: #0e0e0d; }

.section-red .section-num,
.section-red .section-intro,
.section-red .row-date,
.section-red .row-meta,
.section-red .rows-note,
.section-red .release-photo figcaption,
.section-red .ph { color: rgba(14, 14, 13, 0.72); }

.section-red .rows,
.section-red .row { border-color: rgba(14, 14, 13, 0.35); }

.section-red a,
.section-red .link-arrow,
.section-red .row-link {
  color: #0e0e0d;
  border-color: rgba(14, 14, 13, 0.55);
}

.section-red a:hover,
.section-red .link-arrow:hover,
.section-red .row-link:hover {
  color: #f0efe9;
  border-color: #f0efe9;
}

.section-red .events-more { border-color: #0e0e0d; }

.section-red .ph-link { opacity: 0.6; }
