/* =========================================================
   AnierArmy v7 — "Midnight Cobalt"
   Negro azulado, plata y cobalto. Syne (titulares) · Inter (texto) ·
   JetBrains Mono (etiquetas).
   Concepto de navegación: la web es un disco; cada sección es una pista.
   ========================================================= */

@font-face {
  font-family: "Syne";
  src: url("fonts/syne-latin-wght.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  /* color */
  --bg: #06070b;
  --bg-raised: #0b0d14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --ink: #eef1f7;
  --ink-soft: rgba(238, 241, 247, 0.76);   /* ≈ 11:1 sobre --bg */
  --ink-faint: rgba(238, 241, 247, 0.58);  /* ≈ 6.5:1 sobre --bg */
  --line: rgba(238, 241, 247, 0.11);
  --line-strong: rgba(238, 241, 247, 0.22);
  --accent: #7d93ff;          /* cobalto */
  --accent-hover: #97a8ff;
  --accent-soft: #b9c6ff;     /* cobalto claro para texto sobre oscuro */
  --accent-glow: rgba(125, 147, 255, 0.45);
  --on-accent: #060818;
  --silver: linear-gradient(180deg, #ffffff 0%, #d3daee 52%, #8a96bd 100%);

  /* tipografía */
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --t-h2: clamp(52px, 9vw, 136px);
  --t-h3: clamp(18px, 1.5vw, 21px);
  --t-lead: clamp(16px, 1.25vw, 18px);
  --t-body: 16px;
  --t-small: 14px;
  --t-micro: 11px;

  /* espaciado (base 8) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section-y: clamp(96px, 12vw, 168px);
  --head-gap: clamp(40px, 5vw, 72px);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-top: 14px;
  --header-h: 64px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-top) + var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* grano fino de película */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* el atributo hidden siempre oculta, aunque la clase defina su propio display (p. ej. .btn) */
[hidden] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { top: var(--s-4); }

.hp { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- tipografía ---------- */

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.display { margin: 0; font-family: var(--font-display); font-weight: 800; }
.display-kicker {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -.01em;
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}
/* el nombre ocupa todo el ancho disponible (en Syne 800, ANIER mide ≈ 5 × su tamaño) */
.display-name {
  display: block;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 5.1), 360px);
  max-width: 100%;
  line-height: .8;
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.display-name, .display-name .char {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.char-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .06em; margin: 0 -.02em -.06em; }
.char { display: inline-block; will-change: transform; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-h2);
  line-height: .86;
  letter-spacing: -.045em;
  text-transform: uppercase;
  margin: 0;
}
.section-title .line { display: inline-block; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 var(--s-3);
}

.lead {
  color: var(--ink-soft);
  font-size: var(--t-lead);
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 0 var(--s-6);
}

.fineprint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-faint);
  margin: var(--s-3) 0 0;
}
.fineprint a {
  /* enlace legal discreto: visible, pero sin llamar la atención */
  color: rgba(238, 241, 247, 0.42);
  text-decoration-color: rgba(238, 241, 247, 0.2);
  text-underline-offset: 3px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.fineprint a:hover, .fineprint a:focus-visible { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- botones ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  /* transform lo gestiona Motion (magnético + pulsación) */
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 36px -12px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 14px 44px -10px var(--accent-glow); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(238, 241, 247, 0.5); background: rgba(255, 255, 255, 0.12); }

.btn-spotify { background: var(--ink); color: var(--bg); }
.btn-spotify:hover { background: #fff; box-shadow: 0 12px 40px -14px rgba(255, 255, 255, .6); }

.btn-blue { background: var(--accent-soft); color: var(--on-accent); }
.btn-blue:hover { background: #d2dbff; }

.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- intro ---------- */

.intro { display: none; }
.fx.intro-on .intro {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: radial-gradient(700px 400px at 50% 60%, rgba(125, 147, 255, .16), transparent 70%), var(--bg);
  pointer-events: none;
}
.intro-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 200px);
  letter-spacing: -.045em;
  line-height: .9;
}
.intro-word, .intro-word .char { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx.intro-on .intro-word { visibility: hidden; }
.fx.intro-on .intro-word:has(.char) { visibility: visible; }
.fx.intro-on .intro-word .char { transform: translateY(115%); }

/* ---------- cabecera flotante ---------- */

.site-header {
  position: fixed;
  top: var(--header-top);
  left: 0;
  right: 0;
  z-index: 40;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  position: relative;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-4);
  max-width: calc(var(--container) - 2 * var(--gutter));
  padding: 0 10px 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9);
  overflow: hidden;
}
@media (max-width: 1360px) {
  .header-inner { max-width: none; margin: 0 var(--gutter); width: auto; }
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  min-height: 44px;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-20deg); }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.03em; text-transform: uppercase; }

/* sonando ahora */
.now-playing {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.np-window { position: relative; display: block; overflow: hidden; height: 1.6em; line-height: 1.6em; min-width: 21ch; }
.np-label { display: block; white-space: nowrap; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; filter: drop-shadow(0 0 4px var(--accent-glow)); }
.eq i { width: 2px; height: 100%; background: var(--accent); border-radius: 1px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; animation-duration: .8s; }
.eq i:nth-child(3) { animation-delay: -.2s; animation-duration: 1.2s; }
.eq i:nth-child(4) { animation-delay: -.6s; animation-duration: .9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.nav { position: relative; justify-self: end; display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a.nav-cta { background: var(--ink); color: var(--bg); margin-left: var(--s-2); padding: 0 20px; font-weight: 600; }
.nav a.nav-cta:hover { background: #fff; }

.nav-indicator {
  position: absolute;
  left: 0;
  top: 50%;
  height: 40px;
  margin-top: -20px;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
  pointer-events: none;
}

/* progreso de scroll: una línea de luz en el borde inferior de la píldora */
.scroll-progress {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(var(--container) - 2 * var(--gutter) - 56px);
  max-width: calc(100% - 2 * var(--gutter) - 56px);
  transform: translateX(-50%);
  height: 1px;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-soft) 30%, var(--accent));
  box-shadow: 0 0 10px var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
@media (max-width: 1360px) {
  .scroll-progress { width: auto; left: calc(var(--gutter) + 28px); right: calc(var(--gutter) + 28px); max-width: none; transform: none; }
}

@media (max-width: 1023px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .now-playing { display: none; }
}
@media (max-width: 560px) {
  :root { --header-top: 10px; --header-h: 58px; }
  .header-inner { padding: 0 6px 0 12px; margin: 0 10px; }
  .brand-text { display: none; }
  .nav a { padding: 0 9px; font-size: 13px; min-height: 44px; }
  .nav a.nav-cta { margin-left: 2px; padding: 0 14px; }
  .nav-indicator { height: 36px; margin-top: -18px; }
  .scroll-progress { left: 34px; right: 34px; }
}
@media (max-width: 380px) {
  .nav a { padding: 0 7px; }
  .nav a.nav-cta { padding: 0 11px; }
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
}

.hero-media {
  position: absolute;
  inset: -90px 0 0;
  z-index: -3;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,11,.55) 0%, rgba(6,7,11,0) 26%, rgba(6,7,11,.25) 52%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,7,11,.35) 0%, rgba(6,7,11,0) 45%, rgba(6,7,11,.35) 100%);
}

/* foco de luz que sigue al cursor (posición vía --mx / --my desde fx.js) */
.hero-light {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 32%), rgba(125, 147, 255, .2), transparent 65%);
  mix-blend-mode: screen;
}

.hero .container { max-width: 1920px; }
.hero-inner { width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 7vw, 88px); }
.hero-copy { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); }

.hero-side { justify-self: end; max-width: 440px; }
.hero-lead {
  font-size: var(--t-lead);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 var(--s-5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.hero-eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-5); }
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 7vw, 88px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  min-width: 44px;
  padding: var(--s-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.scroll-cue:hover { color: var(--ink); }
.scroll-cue i { position: relative; width: 1px; height: 48px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--accent);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

@media (min-width: 900px) {
  /* el bloque de texto lateral queda arriba a la derecha, el nombre abajo a lo ancho */
  .hero-copy { grid-template-rows: auto auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 899px) {
  .hero-inner { padding-top: 120px; }
  .hero-side { order: 2; justify-self: start; max-width: 520px; }
  .hero-copy { gap: var(--s-6); }
  .hero-media img { object-position: 42% 20%; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- cinta ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--s-6);
  padding-right: var(--s-6);
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 24px);
  letter-spacing: -.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
/* (sin text-stroke: Syne variable muestra sus contornos internos al trazarla) */
.marquee span.o { color: rgba(238, 241, 247, .32); }
.marquee b { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */

.section { position: relative; padding: var(--section-y) 0; }

/* luz ambiental cobalto, muy sutil, que da profundidad a cada sección */
#musica::before, #stuff::before, #newsletter::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(80, 100, 255, .13), transparent);
  pointer-events: none;
}
#musica::before { top: -120px; right: -260px; }
#stuff::before { top: 20%; left: -380px; }
#newsletter::before { bottom: -120px; right: -200px; }
#musica, #stuff, #newsletter { isolation: isolate; overflow-x: clip; }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "num num" "title sub";
  column-gap: var(--s-6);
  row-gap: var(--s-4);
  align-items: end;
  margin-bottom: var(--head-gap);
}
.section-num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.section-num::before { content: "Track "; color: var(--ink-faint); }
.section-head .section-title { grid-area: title; }
.section-sub {
  grid-area: sub;
  max-width: 260px;
  margin: 0 0 .6em;
  text-align: right;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; grid-template-areas: "num" "title" "sub"; }
  .section-sub { text-align: left; max-width: none; margin: 0; }
}

/* tarjeta de cristal reutilizable */
.album-card, .product, .contact-item, .show-row, .newsletter, .modal-box, .idea-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
}

/* ---------- música ---------- */

.music-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s-5);
  align-items: start;
}

.album-card { border-radius: var(--radius-lg); padding: var(--s-5); display: flex; flex-direction: column; }
/* en escritorio el disco acompaña mientras bajas por los vídeos */
@media (min-width: 1000px) {
  .album-card { position: sticky; top: calc(var(--header-top) + var(--header-h) + 24px); }
}
.album-cover { position: relative; margin-bottom: var(--s-5); isolation: isolate; }
.album-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.9);
}
/* el vinilo asoma por detrás de la portada al pasar por encima */
.vinyl {
  position: absolute;
  z-index: 0;
  top: 4%; left: 4%;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--accent) 0 9%, #06070b 9.5% 11%, transparent 11.5%),
    repeating-radial-gradient(circle, #14161e 0 2px, #090a0f 2px 4px);
  box-shadow: 0 10px 40px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .8s var(--ease-out);
}
.album-card:hover .vinyl, .album-card:focus-within .vinyl { transform: translateX(30%) rotate(160deg); }

.album-meta .eyebrow { margin-bottom: var(--s-1); }
.album-title {
  margin: 0 0 var(--s-5);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}
.album-actions { display: flex; flex-direction: column; gap: var(--s-2); margin-top: auto; }
.album-card .btn { width: 100%; padding: 12px 16px; }

.videos { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }

.video-item {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.video-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.video-facade, .video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* portada HD de YouTube (16:9 nativa): se ve completa, sin recortes */
  transition: filter .6s var(--ease), transform 1s var(--ease-out);
}
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,7,11,.6));
  pointer-events: none;
}
/* al pasar por encima, la miniatura recupera el color */
.video-facade:hover img, .video-facade:focus-visible img { filter: brightness(1.06); transform: scale(1.02); }
.video-facade .play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.video-facade:hover .play { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 40px var(--accent-glow); }
.video-facade .play svg { margin-left: 3px; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 999px) {
  .music-grid { grid-template-columns: 1fr; }
  .album-card { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: var(--s-4) var(--s-5); align-items: center; }
  .album-cover { margin: 0; }
  .album-title { margin-bottom: 0; }
  .album-actions { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .album-card { grid-template-columns: 104px minmax(0, 1fr); padding: var(--s-4); }
  .album-title { font-size: clamp(16px, 4.5vw, 28px); }
}

/* ---------- shows ---------- */

.section-photo { overflow: hidden; isolation: isolate; }
.section-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center 40%;
  opacity: .55;
}
.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6,7,11,0.45) 30%, rgba(6,7,11,0.45) 70%, var(--bg) 100%);
}

.panel { max-width: 860px; }

.shows-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.shows-list:empty { display: none; }

.show-row {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6);
  border-radius: var(--radius);
  background: rgba(10, 12, 20, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .45s var(--ease);
}
.show-row:hover, .show-row:focus-within {
  border-color: rgba(125, 147, 255, .45);
  background: rgba(14, 17, 30, 0.75);
  box-shadow: 0 0 0 1px rgba(125, 147, 255, .12), 0 20px 50px -30px var(--accent-glow);
}

.show-date { display: flex; flex-direction: column; line-height: 1; }
.show-date .d { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -.04em; color: var(--ink); }
.show-date .m { font-family: var(--font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-faint); margin-top: 8px; }

.show-name strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.show-name span { color: var(--ink-soft); font-size: 15px; }

.shows-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-6) 0 0;
}
.shows-more p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.show-tbc .show-date .d { font-size: 36px; color: var(--ink); }
.show-notify { grid-column: 1 / -1; margin: 0; padding-top: var(--s-2); }
.show-notify .field-label { color: var(--ink); }
.show-link[aria-expanded="true"] { border-color: var(--accent); color: var(--accent-soft); }

@media (min-width: 900px) {
  .section-photo .section-bg { left: 40%; background-position: 50% 52%; opacity: .75; }
  .section-photo .section-bg::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(6,7,11,0) 38%),
      linear-gradient(180deg, var(--bg) 0%, rgba(6,7,11,0) 22%, rgba(6,7,11,0) 78%, var(--bg) 100%);
  }
  .section-photo .panel { max-width: 680px; }
}

.shows-past { margin-top: var(--s-6); }
.shows-past summary {
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.shows-past summary:hover { color: var(--ink); }
.shows-past .shows-list { margin-top: var(--s-3); }
.shows-past .show-row { grid-template-columns: 120px 1fr; }
.shows-past .show-row > * { opacity: .6; }

@media (max-width: 560px) {
  .show-row { grid-template-columns: minmax(64px, max-content) 1fr; gap: var(--s-3) var(--s-4); padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5); }
  .show-row .show-link { grid-column: 1 / -1; width: 100%; }
  .show-date .d { font-size: 34px; }
  .show-tbc .show-date .d { font-size: 24px; }
  .shows-past .show-row { grid-template-columns: minmax(64px, max-content) 1fr; }
  .shows-more .btn { width: 100%; }
}

/* ---------- catálogo ---------- */

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}
@media (max-width: 960px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catalog { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ---------- Origins (drop especial 2018-2019) ---------- */

.origins { margin-bottom: var(--s-8); }
.origins-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-4);
  margin-bottom: var(--s-5);
}
.origins-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.035em;
  line-height: 1;
}
.origins-tag {
  border: 1px solid rgba(125, 147, 255, .5);
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.origins-sub {
  flex-basis: 100%;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.catalog-origins { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .catalog-origins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catalog-origins { grid-template-columns: 1fr; } }

.catalog-origins[hidden] { display: none; }

/* bloqueado: las 4 camisetas difuminadas en mosaico (4 en fila; 2×2 en móvil) y el candado encima */
.origins-lock {
  position: relative;
  display: grid;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.origins-lock[hidden] { display: none; }
.origins-lock > * { grid-area: 1 / 1; }
.origins-lock-bg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.origins-lock-bg img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; filter: blur(9px) brightness(.45) saturate(.7); transform: scale(1.06); }
@media (max-width: 600px) { .origins-lock-bg { grid-template-columns: repeat(2, 1fr); } }
.origins-lock-box {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(360px, calc(100% - 2 * var(--s-4)));
  margin: var(--s-5) 0;
  padding: var(--s-5) var(--s-5) var(--s-5);
  border: 1px solid rgba(125, 147, 255, .45);
  border-radius: var(--radius-lg);
  background: rgba(10, 12, 20, .74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}
.lock-art { position: relative; display: inline-block; }
.lock-icon { display: block; overflow: visible; filter: drop-shadow(0 0 22px rgba(125, 147, 255, .55)); }
.lock-shackle { transform-box: view-box; transform-origin: 46px 38px; }
.lock-sparks { position: absolute; left: 50%; top: 62%; width: 0; height: 0; pointer-events: none; }
.spark {
  position: absolute;
  left: -3px; top: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}
.lock-label {
  margin: var(--s-2) 0 var(--s-1);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 32px);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  color: var(--ink);
}
.origins-lock-text { margin: 0 0 var(--s-4); color: var(--ink-soft); font-size: 14px; }
/* móvil: bloque cuadrado con las 4 previsualizaciones en 2×2 y el candado encima, centrado */
@media (max-width: 600px) {
  .origins-lock { aspect-ratio: 1 / 1; }
  .origins-lock-bg { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .origins-lock-bg img { aspect-ratio: auto; height: 100%; filter: blur(5px) brightness(.55) saturate(.8); }
  .origins-lock-box {
    width: calc(100% - 2 * var(--s-5));
    margin: 0;
    padding: var(--s-3) var(--s-4) var(--s-4);
    background: rgba(10, 12, 20, .55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .origins-lock-text { display: none; }
  .lock-icon { width: 48px; height: 60px; }
  .lock-label { margin: var(--s-1) 0 var(--s-3); font-size: 24px; }
  .origins-form .field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #origins-pass::placeholder { text-transform: none; letter-spacing: normal; }
}
.origins-form { display: flex; flex-direction: column; gap: var(--s-2); text-align: left; }
.origins-form input { text-transform: uppercase; letter-spacing: .12em; }
.origins-error { margin: var(--s-1) 0 0; font-size: 14px; color: #ff9b9b; text-align: center; }

.size-list { display: flex; flex-wrap: wrap; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.size-list li {
  min-width: 36px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  color: var(--ink-soft);
}
.size-list:has(.is-out) { padding-top: 22px; }
.size-list li.is-out { position: relative; min-width: 62px; text-decoration: line-through; color: var(--ink-faint); border-color: rgba(238, 241, 247, 0.12); }
/* etiqueta roja encima de la talla agotada */
.size-list li.is-out::before {
  content: 'Agotada';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-soldout .gallery-track img { filter: grayscale(.35) brightness(.82); }
.catalog-origins .gallery-track img { transition: transform 1s var(--ease-out), filter .6s var(--ease); }

/* drop agotado entero: el candado se abre solo (sin formulario) y al final sale la tarjeta de cierre */
.origins-form[hidden] { display: none; }
.origins-lock.is-auto .origins-lock-text { display: none; }
.origins-final {
  position: relative;
  overflow: hidden;
  margin: var(--s-5) 0 0;
  padding: var(--s-5) var(--s-6);
  border: 1px solid rgba(135, 214, 255, .45);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(135, 214, 255, .14), rgba(125, 147, 255, .08));
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -.02em;
  line-height: 1.2;
  color: #8fd8ff;
  text-shadow: 0 0 24px rgba(135, 214, 255, .45);
}
.origins-final[hidden] { display: none; }
/* reflejo que cruza la tarjeta cada pocos segundos */
.origins-final::after {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg);
  animation: origins-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes origins-shine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .origins-final::after { display: none; } }

/* móvil, todo agotado: las 4 en 2×2 en una pantalla, tarjetas compactas sin tallas ni botón */
@media (max-width: 600px) {
  .catalog-origins.is-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .catalog-origins.is-archive .product { border-radius: 18px; }
  .catalog-origins.is-archive .gallery { aspect-ratio: 1 / 1; }
  .catalog-origins.is-archive .product-info { padding: var(--s-2) var(--s-3) var(--s-3); gap: 0; }
  .catalog-origins.is-archive .product-top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .catalog-origins.is-archive .product-top h3 { font-size: 15px; }
  .catalog-origins.is-archive .price { font-size: 11px; }
  .catalog-origins.is-archive .size-list,
  .catalog-origins.is-archive .product-info > .btn,
  .catalog-origins.is-archive .gallery-dots { display: none; }
  .catalog-origins.is-archive .soon-badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 8px; }
  .origins-final { margin-top: var(--s-3); padding: var(--s-4); font-size: 18px; }
}
.product-soldout .price { color: var(--ink-faint); }
.product-info > .btn:disabled { background: rgba(238,241,247,0.1); color: var(--ink-soft); cursor: not-allowed; box-shadow: none; }

.product {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .35s var(--ease), box-shadow .45s var(--ease), background-color .35s var(--ease);
}
.product:hover { border-color: var(--line-strong); background: var(--surface-hover); box-shadow: 0 40px 80px -40px rgba(0,0,0,.95), 0 0 60px -30px var(--accent-glow); }

.gallery { position: relative; aspect-ratio: 4 / 5; background: #000; overflow: hidden; }
.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 1s var(--ease-out);
}
.product:hover .gallery-track:not(.blurred) img { transform: scale(1.04); }
.gallery-track.blurred { overflow: hidden; }
.gallery-track.blurred img { filter: blur(16px); transform: scale(1.12); }

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(10, 12, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s var(--ease), background-color .2s var(--ease);
}
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; }
.gallery-nav:hover { background: rgba(10, 12, 20, 0.85); }
.gallery-nav[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .gallery-nav { display: none; } }

.gallery-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.gallery-dots span {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(238, 241, 247, 0.5);
  box-shadow: 0 1px 4px rgba(0,0,0,.6);
  transition: background-color .2s, width .35s var(--ease-out);
}
.gallery-dots span.on { background: var(--ink); width: 20px; }

.soon-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(10, 12, 20, .6);
  border: 1px solid rgba(125, 147, 255, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5);
  flex: 1;
}
.product-info > .btn, .product-info > .notify-box { margin-top: auto; }

.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.product-top h3 { margin: 0; font-family: var(--font-display); font-size: var(--t-h3); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.product-title {
  background: none; border: 0; padding: 0; text-align: left;
  font-weight: 700; cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--ease-out);
}
.product-title:hover { background-size: 100% 1px; }
.price { margin: 0; font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--accent-soft); white-space: nowrap; }
.product-soon .price { color: var(--ink-faint); }

.swatches { display: flex; align-items: center; gap: var(--s-1); }
.swatch {
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.swatch::before {
  content: "";
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px var(--bg-raised), 0 0 0 4px rgba(238,241,247,0.25);
  transition: box-shadow .25s var(--ease);
}
.swatch:hover::before { box-shadow: 0 0 0 3px var(--bg-raised), 0 0 0 4px rgba(238,241,247,0.6); }
.swatch[aria-checked="true"]::before { box-shadow: 0 0 0 3px var(--bg-raised), 0 0 0 5px var(--accent-soft); }
.swatch-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-left: var(--s-1); }

/* ---------- formularios ---------- */

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}

input[type="email"], input[type="password"], textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* evita el zoom automático en iOS */
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .3s var(--ease);
}
textarea { border-radius: var(--radius-sm); }
input[type="email"]::placeholder, textarea::placeholder { color: var(--ink-faint); }
input[type="email"]:hover, input[type="password"]:hover, textarea:hover { border-color: rgba(238, 241, 247, 0.4); }
input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(125, 147, 255, 0.18);
}

.notify-box form > input[type="email"] { margin-bottom: var(--s-3); }

.form-thanks { margin: 0; color: var(--accent-soft); font-weight: 600; }
.form-error { margin: var(--s-2) 0 0; color: #ffb0b0; font-size: 14px; }

button[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- newsletter ---------- */

.newsletter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(125, 147, 255, .16), transparent 70%),
    var(--surface);
}
.newsletter-media { overflow: hidden; }
.newsletter-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.newsletter-copy { padding: var(--s-8) var(--s-7); align-self: center; }
.newsletter-copy .section-title { font-size: clamp(40px, 5vw, 76px); margin-bottom: var(--s-5); }

.inline-field { display: flex; gap: var(--s-2); }
.inline-field input { flex: 1; min-width: 0; }
.inline-field .btn { flex-shrink: 0; }

@media (max-width: 820px) {
  .newsletter { grid-template-columns: 1fr; }
  .newsletter-media img { aspect-ratio: 16 / 10; object-position: center 30%; }
  .newsletter-copy { padding: var(--s-6) var(--s-5) var(--s-7); }
}
@media (max-width: 480px) {
  .inline-field { flex-direction: column; }
  .inline-field .btn { width: 100%; }
}

/* ---------- contacto / confianza ---------- */

.trust {
  list-style: none;
  margin: var(--s-7) 0 0;
  padding: var(--s-5) 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  font-size: var(--t-small);
  color: var(--ink-soft);
}
.trust li { display: flex; align-items: center; gap: var(--s-2); }
.trust svg { color: var(--accent-soft); flex-shrink: 0; }
.trust a { color: var(--ink); text-underline-offset: 3px; }

.section-contact { padding-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}
.contact-item {
  padding: var(--s-6);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.contact-item:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.contact-item .eyebrow { color: var(--ink-faint); margin-bottom: var(--s-3); }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px;
  background-position: 0 95%;
  background-repeat: no-repeat;
  transition: background-size .5s var(--ease-out), color .2s var(--ease);
}
.contact-link svg { color: var(--accent-soft); transition: transform .35s var(--ease-out); }
.contact-link:hover { color: var(--accent-soft); background-size: 100% 2px; }
.contact-link:hover svg { transform: translate(3px, -3px); }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } .contact-item { padding: var(--s-5); } }

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0 0 var(--s-8);
  text-align: center;
}
.footer-word {
  margin: 0 0 var(--s-7);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc((100vw - 2 * var(--gutter)) / 5.35);
  line-height: .8;
  letter-spacing: -.045em;
  background: linear-gradient(180deg, rgba(185, 198, 255, .16), rgba(185, 198, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }

/* volver arriba */
.to-top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.to-top-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease);
}
.to-top-icon svg { transition: transform .4s var(--ease-out); }
.to-top:hover { color: var(--ink); }
.to-top:hover .to-top-icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 34px var(--accent-glow); }
.to-top:hover .to-top-icon svg { transform: translateY(-3px); }

.social-links { display: flex; gap: var(--s-2); }
.social-links a {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .35s var(--ease);
}
.social-links a:hover { color: var(--on-accent); border-color: var(--accent); background: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }

.copy { margin: 0; font-size: 13px; color: var(--ink-faint); }

.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s-2); }
.legal-links a {
  font-size: 13px;
  color: var(--ink-faint);
  padding: 12px 6px;
  text-underline-offset: 3px;
}
.legal-links a:hover { color: var(--ink); }

/* ---------- modal producto ---------- */

.modal {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  max-width: min(940px, calc(100vw - 32px));
  width: 100%;
  max-height: calc(100dvh - 32px);
  overflow: visible;
}
.modal::backdrop { background: rgba(3, 4, 8, 0.78); backdrop-filter: blur(10px); }
html:not(.fx) .modal[open] { animation: modal-in .28s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.modal-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 80px -40px var(--accent-glow);
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 12, 20, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .35s var(--ease-out);
}
.modal-close:hover { background: rgba(20, 24, 40, 0.95); transform: rotate(90deg); }

.modal-img-wrap { background: #000; overflow: hidden; }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

.modal-info { padding: var(--s-7) var(--s-6) var(--s-6); display: flex; flex-direction: column; }
.modal-info h3 { margin: 0 0 var(--s-2); font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1; text-transform: uppercase; padding-right: 44px; }
.modal-info .price { font-size: 16px; margin-bottom: var(--s-5); }
.modal-desc { font-size: 15px; color: var(--ink-soft); white-space: pre-line; line-height: 1.7; margin-bottom: var(--s-5); }

.variant-picker { border: 0; padding: 0; margin: 0 0 var(--s-5); }
.variant-picker legend { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s-3); padding: 0; }
.variant-options { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.variant-options button {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.variant-options button i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.variant-options button:hover { border-color: var(--ink); }
.variant-options button[aria-pressed="true"] { border-color: var(--accent); background: rgba(125, 147, 255, 0.14); }
.variant-options button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; border-color: var(--line-strong); }

.btn.is-disabled { background: rgba(238,241,247,0.1); color: var(--ink-soft); cursor: not-allowed; box-shadow: none; }
.modal-fine { text-align: center; }

@media (max-width: 680px) {
  .modal { max-width: 100vw; max-height: 100dvh; margin: auto 0 0; }
  .modal-box { grid-template-columns: 1fr; max-height: 92dvh; border-radius: 24px 24px 0 0; border-bottom: 0; }
  .modal-img-wrap img { aspect-ratio: 4 / 3; }
  .modal-info { padding: var(--s-5) var(--s-4) calc(var(--s-5) + env(safe-area-inset-bottom)); }
  .modal-info .btn-primary { position: sticky; bottom: var(--s-3); }
}

/* ---------- burbuja sugerencias ---------- */

.idea-bubble {
  position: fixed;
  right: var(--s-5);
  bottom: var(--s-5);
  z-index: 30;
  width: min(340px, calc(100vw - 32px));
  background: rgba(12, 14, 24, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line-strong);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 50px -30px var(--accent-glow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .18s ease-in, transform .18s ease-in;
}
.idea-bubble.show {
  opacity: 1;
  transform: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}

.idea-head { display: flex; gap: var(--s-3); align-items: flex-start; padding-right: 36px; margin-bottom: var(--s-3); }
.idea-icon { flex-shrink: 0; color: var(--accent-soft); margin-top: 1px; }
.idea-bubble .msg { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--ink); }

.idea-bubble textarea { height: 84px; min-height: 60px; resize: vertical; display: block; }
.idea-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-3); }
.idea-privacy { font-size: 13px; color: var(--ink-soft); padding: 12px 4px; text-underline-offset: 3px; }
.idea-privacy:hover { color: var(--ink); }
.idea-actions .btn { min-width: 112px; }
.idea-bubble .form-thanks { padding: var(--s-2) 0; }

.idea-bubble-close {
  position: absolute;
  top: 4px; right: 4px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.idea-bubble-close:hover { color: var(--ink); background: rgba(238, 241, 247, 0.08); }

body.has-bubble { padding-bottom: calc(var(--bubble-h, 0px) + var(--s-5)); }
html.has-bubble { scroll-padding-bottom: calc(var(--bubble-h, 0px) + var(--s-5)); }

@media (max-width: 560px) {
  .idea-bubble {
    left: var(--s-3);
    right: var(--s-3);
    bottom: calc(var(--s-3) + env(safe-area-inset-bottom));
    width: auto;
    padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4);
  }
  .idea-bubble .msg { font-size: 14px; }
  .idea-head { margin-bottom: var(--s-2); }
  .idea-bubble textarea { height: 64px; min-height: 56px; }
  .idea-actions { margin-top: var(--s-2); }
}

/* ---------- aviso de novedad (promo.js) ---------- */

/* Ticket centrado en pantalla (ordenador y móvil), con un velo suave detrás */
.promo-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(3, 4, 8, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.promo-ticket {
  position: fixed;
  z-index: 45;
  left: 50%;
  top: 50%;
  translate: -50% -50%;   /* centrado con translate: Motion anima transform por separado */
  width: min(480px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 124px 1fr;
  color: var(--ink);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .75)) drop-shadow(0 0 50px rgba(125, 147, 255, .18));
}
/* talón: muescas semicirculares recortadas en las esquinas del troquel */
.promo-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(160deg, var(--accent-hover), var(--accent));
  color: var(--on-accent);
  -webkit-mask:
    radial-gradient(circle at 100% 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle at 100% 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
}
.promo-stub::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  bottom: 16px;
  border-right: 2px dashed rgba(6, 8, 24, .35);
}
.promo-stub b { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: .85; letter-spacing: -.05em; }
.promo-stub span { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.promo-stub small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; opacity: .75; }

.promo-body {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 24px 28px;
  border-radius: 0 22px 22px 0;
  background: linear-gradient(160deg, #141729, #0c0e18 70%);
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
}
/* reflejo holográfico que recorre el ticket cada pocos segundos */
.promo-body::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(185, 198, 255, .16) 48%, rgba(255, 255, 255, .22) 50%, rgba(185, 198, 255, .16) 52%, transparent 58%);
  transform: translateX(-55%);
  animation: promo-shine 5s var(--ease) 1.8s infinite;
}
@keyframes promo-shine { 0% { transform: translateX(-55%); } 28%, 100% { transform: translateX(55%); } }

.promo-kicker {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.promo-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.4s var(--ease) infinite; }
.promo-title { margin: 0 0 var(--s-1); font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; }
.promo-place { margin: 0 0 var(--s-5); font-size: 14px; color: var(--ink-soft); }
.promo-actions { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
/* fila del concierto resaltada al llegar desde el aviso */
.show-row.is-highlight { animation: row-glow 1.4s var(--ease) 2; }
@keyframes row-glow {
  0%, 100% { border-color: var(--line); box-shadow: none; }
  40% { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(125, 147, 255, .25), 0 0 60px -10px var(--accent-glow); }
}

.promo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.promo-close:hover { color: var(--ink); background: rgba(238, 241, 247, .08); }

/* sello que aparece al comprar */
.promo-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  padding: 10px 18px;
  border: 3px solid var(--accent-soft);
  border-radius: 10px;
  background: rgba(12, 14, 26, .92);
  box-shadow: 0 0 0 6px rgba(12, 14, 26, .6), 0 0 40px var(--accent-glow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.03em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--accent-soft);
  rotate: -10deg;
  opacity: 0;
  pointer-events: none;
}

/* Móvil: el mismo ticket, más compacto */
@media (max-width: 560px) {
  .promo-ticket { width: calc(100vw - 32px); grid-template-columns: 88px 1fr; }
  .promo-stub b { font-size: 34px; }
  .promo-stub span { font-size: 11px; }
  .promo-body { padding: 20px 18px 18px 20px; }
  .promo-kicker { font-size: 9px; letter-spacing: .14em; padding-right: 28px; }
  .promo-title { font-size: 32px; }
  .promo-place { font-size: 13px; margin-bottom: var(--s-4); }
  .promo-close { top: 2px; right: 2px; }
  .promo-stamp { font-size: 19px; padding: 8px 12px; }
}

/* ---------- estados iniciales de las animaciones (solo con .fx) ---------- */

.fx .reveal { opacity: 0; transform: translateY(32px); }
.fx .hero-eyebrow, .fx .display-kicker, .fx .hero-lead, .fx .hero-actions > *, .fx .scroll-cue { opacity: 0; }
.fx .hero-media { clip-path: inset(0 0 100% 0); }
.fx .display-name .char { transform: translateY(115%); }
.fx .section-title .line { transform: translateY(105%); }
.fx .section-title { overflow: hidden; padding-bottom: .06em; }
.fx .section-num, .fx .section-sub { opacity: 0; }
.fx .media-reveal { clip-path: inset(0 0 100% 0); }
.fx #shows-upcoming > .show-row { opacity: 0; }

/* ---------- movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .promo-body::after { display: none; }
  .gallery-track { scroll-behavior: auto; }
  .album-card:hover .vinyl, .album-card:focus-within .vinyl { transform: translateX(20%); }
}
