/* =====================================================================
   ZUCA · Propuesta premium
   Sistema visual tomado del MANUAL DE MARCA ZUCA:
   - Paleta principal: Solid Purple #59438F · Morado claro #D4C7E2 · Negro #231F20
   - Complementarios: Blanco #FFFFFF · Gris #D1D3D4
   - Combinaciones: morado + lila · morado + negro · negro + lila
   - Títulos: Montserrat ExtraBold · Subtítulos: Montserrat Regular
   - Texto corrido: Inter · Resaltados: Inter Bold
   - Recursos gráficos: ondas concéntricas con punto, cápsula del isotipo,
     iniciales en círculo, bandas verticales "ZUCA MUSIC".
   ===================================================================== */

:root {
  --purple: #59438F;   /* Solid Purple · color emocional protagonista */
  --lilac:  #D4C7E2;   /* Morado claro · fondos claros premium */
  --black:  #231F20;   /* Negro · textos elegantes */
  --white:  #FFFFFF;   /* Blanco · color base elegante */
  --gray:   #D1D3D4;   /* Gris · fondos claros premium */

  --f-title: 'Montserrat', system-ui, sans-serif;
  --f-text: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --rail: 0px;
  --gutter: clamp(20px, 5vw, 88px);
  --pad: calc(var(--gutter) + var(--rail));
}
@media (min-width: 1200px) { :root { --rail: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-text);
  font-weight: 400;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, dl, dt, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }
::selection { background: var(--purple); color: var(--white); }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; border-radius: 6px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container {
  width: 100%;
  max-width: calc(1440px + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { position: relative; padding-block: clamp(96px, 12vw, 190px); }

/* ---------- Logo oficial (wordmark como máscara: monocromático permitido por el manual) ---------- */
.wordmark {
  display: block;
  aspect-ratio: 1400 / 539;
  background: currentColor;
  -webkit-mask: url(../img/zuca-wordmark.png) center / contain no-repeat;
          mask: url(../img/zuca-wordmark.png) center / contain no-repeat;
}
.descriptor {
  font-family: var(--f-title);
  font-weight: 300;
  font-size: 7px;
  line-height: 1.05;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

/* ---------- Ondas concéntricas (recurso gráfico del manual, estáticas como en el manual) ---------- */
.rings {
  position: absolute;
  aspect-ratio: 1;
  pointer-events: none;
}
.rings::before {                       /* el punto central de las ondas */
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 2.4%; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}
.rings span {
  position: absolute;
  inset: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: .45;
}
.rings span:nth-child(1) { inset: 40%; }
.rings span:nth-child(2) { inset: 30%; }
.rings span:nth-child(3) { inset: 20%; }
.rings span:nth-child(4) { inset: 10%; }
.rings span:nth-child(n+5) { display: none; }

/* ---------- Etiquetas pequeñas ---------- */
.label {
  display: inline-block;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.label--light { color: var(--lilac); }
.label--dark { color: var(--purple); }

/* ---------- Encabezado de sección: título + subtítulo ---------- */
.head { margin-bottom: clamp(48px, 6vw, 96px); }
.head__eyebrow {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--lilac);
}
.head__title {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 108px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: .12em 0 .14em;
}
/* Títulos en varias líneas: reparte las palabras parejo (sin palabras sueltas) */
.head__title, .songs__title, .community__title, .berklee__name, .song__name, .ticket__title { text-wrap: balance; }
.head__sub {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(16px, 1.45vw, 22px);
  color: var(--lilac);
}
.head--dark .head__eyebrow, .head--dark .head__sub { color: var(--purple); }
.head--dark .head__title { color: var(--purple); }

/* Palabras para las animaciones de texto */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: transparent;
  --hbg: var(--white); --hfg: var(--purple);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 32px;
  border: 1.5px solid var(--bd);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-title);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--hbg);
  transform: translateY(102%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--hfg); border-color: var(--hbg); }
.btn span, .btn svg { position: relative; pointer-events: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 11px; }
.btn--light   { --bg: var(--white);  --fg: var(--purple); --hbg: var(--lilac); --hfg: var(--black); }
.btn--ghost   { --bd: var(--white); --fg: var(--white); --hbg: var(--white); --hfg: var(--purple); }
.btn--purple  { --bg: var(--purple); --fg: var(--white); --hbg: var(--lilac); --hfg: var(--black); }
.btn--outline-dark { --bd: var(--lilac); --fg: var(--white); --hbg: var(--lilac); --hfg: var(--black); }
.btn--lilac   { --bg: var(--lilac);  --fg: var(--black); --hbg: var(--white); --hfg: var(--purple); }
.btn--dark    { --bg: var(--black);  --fg: var(--white); --hbg: var(--white); --hfg: var(--purple); }
.btn--outline { --bd: currentColor; --fg: currentColor; --hbg: var(--purple); --hfg: var(--white); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--purple);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 6px;
  transition: background-size .6s var(--ease);
}
.arrow-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.arrow-link:hover { background-size: 100% 1.5px; }
.arrow-link:hover svg { transform: translateX(6px); }
.arrow-link--sm { font-size: 11.5px; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
  html.has-cursor .cursor { display: block; }
  .cursor {
    --c: var(--lilac);
    position: fixed;
    left: 0; top: 0;
    z-index: 90;
    pointer-events: none;
  }
  .cursor[data-theme="light"], .cursor[data-theme="lilac"] { --c: var(--purple); }
  html.has-cursor input { cursor: text; }
  .cursor__dot, .cursor__ring {
    position: fixed;
    left: 0; top: 0;
    will-change: transform;
  }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--c); transition: opacity .3s, background-color .3s; }
  /* El aro cambia de tamaño solo con scale: no recalcula el diseño de la página */
  .cursor__ring { width: 0; height: 0; }
  .cursor__ring::before {
    content: '';
    position: absolute;
    left: -52px; top: -52px;
    width: 104px; height: 104px;
    border: 2.7px solid var(--c);
    border-radius: 50%;
    transform: scale(.365);
    transition: transform .45s var(--ease), background-color .45s var(--ease), border-color .3s;
  }
  .cursor__label {
    position: absolute;
    left: 0; top: 0;
    transform: translate(-50%, -50%);
    font-family: var(--f-title);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transition: opacity .3s;
  }
  .cursor.is-link .cursor__ring::before { transform: scale(.62); }
  .cursor.is-link .cursor__dot { opacity: 0; }
  .cursor.is-label .cursor__ring::before { transform: scale(1); background: var(--purple); border-color: var(--purple); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Navegación ---------- */
.nav {
  --nav-fg: var(--white);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px var(--pad);
  color: var(--nav-fg);
  transition: transform .7s var(--ease), color .5s var(--ease);
}
[data-ui="light"] .nav, [data-ui="lilac"] .nav { --nav-fg: var(--black); }
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: var(--black);
  transition: opacity .5s var(--ease), background-color .5s var(--ease);
}
[data-ui="light"] .nav::before { background: var(--gray); }
[data-ui="lilac"] .nav::before { background: var(--lilac); }
[data-ui="purple"] .nav::before { background: var(--purple); }
.nav.is-scrolled { padding-block: 14px; }
.nav.is-scrolled::before { opacity: 1; }
.nav__logo { display: flex; align-items: center; gap: 5px; text-decoration: none; color: inherit; transition: color .5s var(--ease); }
[data-ui="purple"] .nav__logo, .menu-open .nav__logo { color: var(--lilac); }   /* lila sobre morado */
[data-ui="lilac"] .nav__logo { color: var(--purple); }                        /* morado sobre lila */
.nav__logo .wordmark { width: 92px; }       /* tamaño mínimo del manual: 70 px */
.nav__links { display: flex; gap: clamp(18px, 2vw, 34px); margin-inline: auto; }
.nav__links a {
  position: relative;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { flex: none; }
.nav__burger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.nav__burger span:not(.sr-only) {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 27px; }
.menu-open .nav__burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.menu-open .nav { --nav-fg: var(--white); }
.menu-open .nav::before { opacity: 0; }

/* Menú de pantalla completa */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--pad) 40px;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.rings--menu { width: 140vmax; left: 0; bottom: 0; translate: -50% 50%; color: var(--lilac); opacity: .3; }
.menu__links { position: relative; display: grid; gap: 4px; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(38px, 10vw, 72px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu__links a:hover { color: var(--lilac); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .45s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .5s; }
.menu-open .menu__links a:nth-child(7) { transition-delay: .55s; }
.menu__foot { position: relative; margin-top: 40px; font-family: var(--f-title); font-size: 13px; letter-spacing: .2em; color: var(--lilac); }

/* ---------- Rieles laterales (bandas verticales del manual) ---------- */
.rail {
  position: fixed;
  top: 0; bottom: 0;
  z-index: 40;
  width: var(--rail);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  pointer-events: none;
  color: var(--white);
  transition: color .5s var(--ease);
}
[data-rail="light"] .rail { color: var(--black); }
[data-rail="lilac"] .rail { color: var(--purple); }   /* morado sobre lila */
[data-rail="purple"] .rail { color: var(--lilac); }  /* lila sobre morado */
@media (min-width: 1200px) { .rail { display: flex; } }
.rail--left { left: 0; }
.rail__brand { position: relative; width: 28px; height: 74px; }
.rail__brand::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 74px; height: 28px;
  translate: -50% -50%;
  rotate: -90deg;
  background: currentColor;
  -webkit-mask: url(../img/zuca-wordmark.png) center / contain no-repeat;
          mask: url(../img/zuca-wordmark.png) center / contain no-repeat;
}
.rail__music {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .5em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  rotate: 180deg;
}

/* =====================================================================
   01 · INICIO
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
}
/* Aura con el violeta de la foto para fundirla con el negro de marca */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(38% 72% at 72% 16%, rgba(89, 67, 143, .95) 0%, rgba(89, 67, 143, .45) 45%, rgba(89, 67, 143, 0) 100%),
    radial-gradient(70% 60% at 20% 110%, rgba(89, 67, 143, .4), rgba(35, 31, 32, 0) 70%);
}
/* Póster completo a la derecha (la foto entera, sin recortar el logo ni el rostro) */
.hero__media {
  position: absolute;
  top: 78px; bottom: 0;
  right: var(--rail);
  z-index: -2;
  width: min(100%, calc((100svh - 78px) * .862));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 7%, #000 70%, transparent 99%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 7%, #000 70%, transparent 99%);
          mask-composite: intersect;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 50% 30%; }
.rings--hero { width: 115vmax; left: -57.5vmax; bottom: -57.5vmax; color: var(--lilac); opacity: .22; z-index: -1; }
.rings--hero::before { width: 2.2%; opacity: .6; }

/* Bloque de lanzamiento a la izquierda, libre del rostro */
.hero__content {
  position: relative;
  width: min(100%, calc(var(--pad) + 46vw));
  padding: 0 0 clamp(48px, 11vh, 120px) var(--pad);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--lilac);
}
.hero__title {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(40px, 4.8vw, 92px);
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 20px 0 22px -.04em;
}
.hero__title .ch { display: inline-block; }
.hero__lead {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--white);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* =====================================================================
   BIOGRAFÍA
   ===================================================================== */
.bio { background: var(--black); }
.bio .head__title { color: var(--white); }
.bio__statement {
  max-width: 19em;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(28px, 4.1vw, 66px);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.scrub .sw { opacity: .16; }
html:not(.js) .scrub .sw, .no-anim .scrub .sw { opacity: 1; }
.bio__meta {
  display: flex;
  align-items: center;
  gap: clamp(40px, 8vw, 140px);
  margin: clamp(48px, 5vw, 80px) 0 clamp(56px, 7vw, 110px);
  font-family: var(--f-title);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lilac);
}
.bio__meta em { display: block; margin-top: 6px; font-family: var(--f-text); font-style: normal; letter-spacing: .08em; color: var(--gray); }
.bio__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  color: var(--white);
  font-weight: 400;
}
.bio__close strong { color: var(--lilac); }

/* =====================================================================
   MANIFIESTO (morado + negro, como las portadas del manual)
   ===================================================================== */
.manifest {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--purple);
  color: var(--black);
  padding-block: clamp(120px, 15vw, 240px);
}
.rings--manifest { width: 95vmax; right: 0; top: 50%; translate: 45% -50%; color: var(--lilac); opacity: .3; z-index: -1; }
.manifest__iso { position: absolute; right: 5%; top: 8%; height: 84%; width: auto; opacity: .42; z-index: -1; }
.manifest__inner { position: relative; }
.manifest .label { color: var(--lilac); }
.manifest__quote {
  max-width: 13.5em;
  margin-top: 36px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(40px, 6.6vw, 116px);
  line-height: 1;
  letter-spacing: -.045em;
}
.scrub--dark .sw { opacity: .2; }

/* =====================================================================
   02 · MADRID
   ===================================================================== */
.madrid { background: var(--gray); color: var(--black); overflow: hidden; }
.madrid .head { margin-bottom: 28px; }
/* Dos líneas fijas: "1000 VECES" / "EN MADRID" */
.madrid__title {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(44px, 7.2vw, 132px);
  line-height: .92;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--purple);
}
.madrid__line { display: block; white-space: nowrap; }
.madrid__num {
  display: inline-block;
  margin-right: .22em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
.madrid__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(56px, 6vw, 100px);
}
.madrid__copy { grid-column: 1 / span 5; display: grid; gap: 26px; align-content: start; font-size: clamp(16px, 1.15vw, 19px); }
.madrid__copy strong { color: var(--purple); }
.madrid__quote {
  margin: 14px 0;
  padding-left: 26px;
  border-left: 2px solid var(--purple);
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--purple);
}
.madrid__media { grid-column: 7 / -1; grid-row: 1 / span 2; position: relative; align-self: start; }
/* Bordes desvanecidos (como la foto de portada): la foto se funde con el gris de la sección */
.madrid__photo {
  position: relative;
  aspect-ratio: 1500 / 2182;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 87%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 87%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 82%, transparent 100%);
          mask-composite: intersect;
}
.madrid__photo img, .exp__photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }

.polaroid { position: absolute; width: clamp(150px, 16vw, 250px); z-index: 2; }
.polaroid__in {
  padding: 5.5% 5.5% 0;
  rotate: var(--rot, 0deg);
  background: var(--white);
  box-shadow: 0 34px 60px -24px rgba(35, 31, 32, .55), 0 3px 10px rgba(35, 31, 32, .12);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.polaroid__img { aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--gray); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.polaroid__cap {
  padding: 13% 0 12%;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(14px, 1.25vw, 19px);
  line-height: 1;
  letter-spacing: -.02em;
  text-align: center;
  color: var(--black);
}
.polaroid--madrid { left: -15%; top: 9%; }

/* Boleta del evento */
.ticket {
  grid-column: 1 / span 6;
  position: relative;
  display: flex;
  margin-top: clamp(48px, 5vw, 80px);
  border-radius: 28px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 50px 90px -40px rgba(35, 31, 32, .7);
  overflow: hidden;
}
.ticket::before, .ticket::after {               /* muescas de boleta */
  content: '';
  position: absolute;
  right: calc(var(--stub) - 15px);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gray);
  z-index: 2;
}
.ticket { --stub: clamp(84px, 8vw, 120px); }
.ticket::before { top: -15px; }
.ticket::after { bottom: -15px; }
.ticket__main { flex: 1; min-width: 0; padding: clamp(28px, 3vw, 46px); }
.ticket__title { font-family: var(--f-title); font-weight: 800; font-size: clamp(34px, 3vw, 50px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--lilac); }
.ticket__sub { margin-top: 10px; font-family: var(--f-title); font-weight: 400; font-size: clamp(16px, 1.2vw, 19px); }
.ticket__data {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0;
  padding: 20px 0;
  border-block: 1px solid var(--purple);
}
.ticket__data dt { font-family: var(--f-title); font-weight: 800; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--lilac); }
.ticket__data dd { margin-top: 6px; font-size: clamp(15px, 1.1vw, 17px); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.countdown > div {
  padding: 14px 6px 12px;
  border-radius: 16px;
  background: var(--purple);
  text-align: center;
}
.countdown b { display: block; font-family: var(--f-title); font-weight: 800; font-size: clamp(26px, 2.3vw, 38px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 6px; font-family: var(--f-title); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--lilac); }
.ticket__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ticket__stub {
  flex: none;
  width: var(--stub);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0;
  border-left: 2px dashed var(--lilac);
  background: var(--purple);
}
.ticket__date { writing-mode: vertical-rl; rotate: 180deg; font-family: var(--f-title); font-weight: 800; font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -.02em; color: var(--white); }
.ticket__iso { position: relative; width: 22px; height: 58px; border: 1.5px solid var(--lilac); border-radius: 99px; }
.ticket__iso::before { content: ''; position: absolute; left: 50%; top: 8px; height: 26px; width: 1.5px; translate: -50% 0; background: var(--lilac); }
.ticket__iso i { position: absolute; left: 50%; bottom: 4px; width: 12px; height: 12px; translate: -50% 0; border-radius: 50%; background: var(--black); }

.madrid__end { margin-top: clamp(96px, 11vw, 180px); }
.madrid__invite {
  max-width: 20em;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(28px, 3.9vw, 62px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.scrub--light .sw { opacity: .16; }
.madrid__sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: .04em;
  color: var(--purple);
}

/* =====================================================================
   03 · MIS CANCIONES (scroll horizontal en escritorio)
   ===================================================================== */
.songs { position: relative; background: var(--lilac); color: var(--black); overflow: hidden; }
.songs__pin { position: relative; }
.songs__track {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: clamp(96px, 12vw, 160px) var(--pad);
}
.songs__intro { max-width: 520px; }
.songs__intro .head { margin-bottom: 24px; }
.songs__title {
  margin-bottom: 28px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(42px, 4.3vw, 84px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--purple);
}
.songs__hint { display: none; align-items: center; gap: 14px; margin-top: 48px; font-family: var(--f-title); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--purple); }
.song { flex: none; width: 100%; max-width: 560px; }
.song__card {
  position: relative;
  display: block;
  padding: 14px 14px 58px;
  background: var(--white);
  rotate: var(--rot, 0deg);
  box-shadow: 0 40px 70px -34px rgba(35, 31, 32, .5), 0 2px 8px rgba(35, 31, 32, .08);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.song__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--black); }
.song--tall .song__img { aspect-ratio: 2 / 3; }
.song__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.song__card:hover .song__img img { transform: scale(1.08); }
.song__play {
  position: absolute;
  left: 50%; top: calc(50% - 22px);
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  translate: -50% -50%;
  scale: .6;
  opacity: 0;
  transition: scale .6s var(--ease), opacity .4s var(--ease);
}
.song__play svg { width: 24px; height: 24px; margin-left: 4px; fill: currentColor; }
.song__card:hover .song__play, .song__card:focus-visible .song__play { scale: 1; opacity: 1; }
.has-cursor .song__card:hover .song__play { opacity: 0; }
.song__info { margin-top: 30px; padding-left: 4px; }
.song__name { margin: 0 0 12px; font-family: var(--f-title); font-weight: 800; font-size: clamp(26px, 2.5vw, 42px); line-height: 1; letter-spacing: -.015em; text-transform: uppercase; }
.song__line { max-width: 28em; margin-bottom: 18px; font-size: 16px; line-height: 1.55; color: var(--black); }

@media (min-width: 1024px) {
  /* Sin JS: cuadrícula de 3 canciones */
  html:not(.hscroll) .songs__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; column-gap: 56px; }
  html:not(.hscroll) .songs__intro { grid-column: 1 / -1; }
  html:not(.hscroll) .song { max-width: none; }
  /* Con JS: carril horizontal fijado */
  .hscroll .songs__pin { height: 100vh; height: 100svh; display: flex; align-items: center; }
  .hscroll .songs__track {
    flex-direction: row;
    align-items: center;
    gap: clamp(64px, 7vw, 140px);
    width: max-content;
    padding-block: 90px 40px;
    will-change: transform;
  }
  .hscroll .songs__intro { width: clamp(340px, 32vw, 520px); flex: none; }
  .hscroll .songs__hint { display: flex; }
  .hscroll .song { width: min(36vw, calc(52svh * 1.5 + 28px)); max-width: none; }
  .hscroll .song--tall { width: min(25vw, calc(58svh * .6667 + 28px)); }
  .hscroll .song:last-child { margin-right: 4vw; }
}

/* =====================================================================
   PRÓXIMAMENTE
   ===================================================================== */
.soon { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding-block: clamp(100px, 11vw, 180px); }
.marquee { display: grid; margin-bottom: clamp(60px, 6vw, 100px); }
.marquee__row {
  display: flex;
  text-transform: uppercase;
  width: max-content;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(64px, 11vw, 200px);
  line-height: 1.02;
  letter-spacing: -.045em;
  white-space: nowrap;
  will-change: transform;
}
.marquee__row span { display: flex; align-items: center; gap: .3em; padding-right: .3em; }
.marquee__row--outline { color: var(--purple); }
.marquee__row--outline .pill-sep { background: var(--lilac); }
.pill-sep {                       /* mini cápsula del isotipo como separador */
  position: relative;
  display: inline-block;
  width: .22em; height: .52em;
  border-radius: 99px;
  background: var(--purple);
  -webkit-text-stroke: 0;
}
.pill-sep::after { content: ''; position: absolute; left: 50%; bottom: .04em; width: .13em; height: .13em; translate: -50% 0; border-radius: 50%; background: var(--black); }
.soon__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.soon__songs { font-family: var(--f-title); font-weight: 800; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.03em; }
.soon__songs span { white-space: nowrap; }
.soon__text { max-width: 26em; font-family: var(--f-title); font-weight: 400; font-size: clamp(16px, 1.3vw, 20px); color: var(--lilac); }
.soon .btn { margin-top: 12px; }

/* =====================================================================
   04 · PERFIL
   ===================================================================== */
.perfil { background: var(--lilac); color: var(--black); overflow: hidden; }
.perfil .head { margin-bottom: 0; }
.perfil__frame {
  position: relative;
  height: min(92svh, 64vw);
  margin: clamp(56px, 6vw, 96px) 0;
  overflow: hidden;
  transform-origin: 50% 50%;
}
.perfil__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.perfil__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 140px); }
.perfil__col { display: grid; gap: 22px; align-content: start; }
.perfil__lead { font-family: var(--f-title); font-weight: 400; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.28; letter-spacing: -.02em; color: var(--purple); }
.perfil__lead strong { font-weight: 800; }
.perfil__col strong { color: var(--purple); }
.perfil__col--right .label { margin-bottom: 6px; }
.berklee {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: 24px;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.berklee::after {                         /* ondas del manual dentro de la tarjeta */
  content: '';
  position: absolute;
  right: -90px; top: -90px;
  width: 260px; height: 260px;
  z-index: -1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(212, 199, 226, .28) 22px 24px);
}
.berklee__kicker { font-family: var(--f-title); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--lilac); }
.berklee__name { font-family: var(--f-title); font-weight: 800; font-size: clamp(22px, 2.1vw, 34px); line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; }

/* =====================================================================
   05 · EXPERIENCIA
   ===================================================================== */
.exp { background: var(--white); color: var(--black); overflow: hidden; }
.exp__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.exp__media { grid-column: 1 / span 6; position: relative; padding: 0 12% 0 0; }
.exp__photo { position: relative; aspect-ratio: 1500 / 1450; overflow: hidden; }
.polaroid--exp1 { right: 0; top: -8%; width: clamp(120px, 13vw, 210px); }
.polaroid--exp2 { right: 9%; bottom: -12%; width: clamp(120px, 12vw, 190px); }
.exp__copy { grid-column: 7 / -1; padding-left: clamp(0px, 2vw, 32px); }
.exp__copy .head { margin-bottom: 36px; }
.exp__copy .head__title { font-size: clamp(34px, 3.9vw, 66px); }
.exp__intro { font-family: var(--f-title); font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); color: var(--purple); }
.exp__list { margin: 26px 0 34px; border-top: 1px solid var(--gray); }
.exp__list li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 24px 12px;
  border-bottom: 1px solid var(--gray);
  isolation: isolate;
  overflow: hidden;
}
.exp__list li::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lilac);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.exp__list li:hover::before { transform: scaleY(1); }
.exp__t { font-family: var(--f-title); font-weight: 800; font-size: clamp(21px, 2vw, 32px); line-height: 1.15; letter-spacing: -.025em; transition: transform .6s var(--ease); }
.exp__list li:hover .exp__t { transform: translateX(10px); }
.exp__text { max-width: 34em; color: var(--black); }

/* =====================================================================
   06 · CONTACTO
   ===================================================================== */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.contact__media { position: relative; overflow: hidden; }
.contact__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 35% 40%; }
.contact__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35, 31, 32, 0) 55%, var(--black) 100%), linear-gradient(0deg, rgba(35, 31, 32, .6), rgba(35, 31, 32, 0) 40%); }
.contact__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 9vw, 150px) var(--pad) clamp(80px, 8vw, 130px) clamp(32px, 5vw, 96px);
}
.contact__panel .head { margin-bottom: 36px; }
.contact__panel .head__title { color: var(--white); font-size: clamp(38px, 4.4vw, 80px); }
.contact__card { display: grid; justify-items: start; gap: 14px; padding-left: 28px; border-left: 2px solid var(--purple); }
.contact__name { font-family: var(--f-title); font-weight: 800; font-size: clamp(18px, 1.75vw, 28px); letter-spacing: .07em; }
.contact__row { display: flex; align-items: center; gap: 12px; }
.contact__link {
  font-size: clamp(18px, 1.5vw, 23px);
  color: var(--lilac);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease), color .3s;
}
.contact__link:hover { background-size: 100% 1px; color: var(--white); }
.copy {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background: none;
  color: var(--lilac);
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.copy:hover { background: var(--lilac); color: var(--black); }
.copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy__ok {
  position: absolute;
  left: calc(100% + 10px);
  font-family: var(--f-title);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lilac);
  white-space: nowrap;
  opacity: 0;
  translate: -6px 0;
  transition: opacity .3s, translate .4s var(--ease);
}
.copy.is-copied .copy__ok { opacity: 1; translate: 0 0; }
.contact__kit { margin-top: 18px; }
.listen { margin-top: clamp(56px, 6vw, 88px); }
.platforms { margin-top: 18px; border-top: 1px solid var(--purple); }
.platforms a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--purple);
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(22px, 2.3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-decoration: none;
  overflow: hidden;
  transition: color .45s var(--ease);
}
.platforms a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lilac);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.platforms a:hover::before, .platforms a:focus-visible::before { transform: none; }
.platforms a:hover, .platforms a:focus-visible { color: var(--purple); }
.platforms__name { transition: transform .55s var(--ease); }
.platforms a:hover .platforms__name { transform: translateX(14px); }
.platforms svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .55s var(--ease); }
.platforms a:hover svg { transform: rotate(45deg); }

/* =====================================================================
   07 · COMUNIDAD
   ===================================================================== */
.community {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--purple);
  color: var(--white);
  padding-block: clamp(120px, 14vw, 230px);
  text-align: center;
}
.rings--community { width: 140vmax; left: 50%; top: 50%; translate: -50% -50%; color: var(--lilac); opacity: .22; z-index: -2; }
.community__iso { position: absolute; left: 0; right: 0; top: -9%; height: 118%; width: auto; margin-inline: auto; opacity: .32; z-index: -1; pointer-events: none; }
.community__inner { position: relative; display: grid; justify-items: center; }
.community__title {
  max-width: 11em;
  margin: 26px auto 28px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 108px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--black);
}
.community__text { max-width: 36em; font-size: clamp(17px, 1.35vw, 21px); color: var(--lilac); }
/* Botón que lleva a la página "Únete a mi refugio" */
.community__cta { margin-top: 46px; min-height: 64px; padding: 0 46px; font-size: 13px; }

/* =====================================================================
   PÁGINA "ÚNETE A MI REFUGIO" (refugio.html)
   Todo se anima solo con transform y opacity (fluido). Colores del manual.
   ===================================================================== */
.refugio-page { background: var(--purple); }

/* ---------- Transición suave entre la página principal y esta ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-2.5%) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(3%); } }

/* ---------- Barra superior ---------- */
.r-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  animation: rf-fade 1s var(--ease) .9s both;
}
.r-nav__logo { color: var(--purple); }                 /* logo morado sobre la foto lila */
.r-nav__back {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lilac);                                  /* lila sobre el panel morado */
}
.r-nav__back::after {
  content: '';
  position: absolute;
  left: 28px; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.r-nav__back:hover::after { transform: scaleX(1); transform-origin: left; }
.r-nav__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.r-nav__back:hover svg { transform: translateX(-5px); }

/* ---------- Estructura ---------- */
.refugio {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
}

/* ---------- Foto: cortina morada que se levanta + zoom que se aleja ---------- */
.refugio__media { position: relative; overflow: hidden; background: var(--lilac); }
.refugio__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--purple);
  transform-origin: 50% 0;
  animation: rf-curtain .95s cubic-bezier(.65, 0, .35, 1) both;
}
.refugio__photo { position: absolute; inset: -3%; will-change: transform; }   /* más grande: el movimiento no deja ver bordes */
.refugio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 45%;
  animation: rf-zoom 2.2s var(--ease) .1s both;
}

/* ---------- Isotipo flotando en la unión ---------- */
.refugio__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  height: clamp(150px, 26vh, 250px);
  translate: -50% -50%;
  pointer-events: none;
  will-change: transform;
}
.refugio__mark img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 26px 34px rgba(35, 31, 32, .35));
  animation: rf-mark 1.4s cubic-bezier(.34, 1.4, .64, 1) .85s both;
}

/* ---------- Panel ---------- */
.refugio__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px clamp(28px, 6vw, 110px) 80px;
  background: var(--purple);
  color: var(--white);
}
.rings--refugio {
  width: 120vmax;
  right: -60vmax;
  bottom: -60vmax;
  color: var(--lilac);
  opacity: .22;
  z-index: -1;
  animation: rf-rings 2.2s var(--ease) .2s both;
}
.refugio__content { width: 100%; max-width: 560px; }

/* Entrada en cascada de los textos */
.refugio__kicker, .refugio__intro, .refugio__soon, .refugio__group, .refugio__btn, .refugio__msg {
  animation: rf-rise 1s var(--ease) both;
}
.refugio__kicker { animation-delay: .2s; }
.refugio__intro  { animation-delay: .62s; }
.refugio__soon   { animation-delay: 1.25s; }
.refugio__group, .refugio__btn, .refugio__msg { animation-delay: calc(.72s + var(--i, 0) * .09s); }

.refugio__title {
  margin: 18px 0 22px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 88px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--black);                                  /* negro sobre morado, como las portadas del manual */
}
/* Palabras que suben desde una máscara (las arma refugio.js); el título no se ve quieto antes */
.js .refugio__title[data-split]:not(.is-split) { opacity: 0; animation: rf-show 0s 2.5s forwards; }   /* respaldo si el JS no carga */
@keyframes rf-show { to { opacity: 1; } }
.rf-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rf-wi { display: inline-block; animation: rf-word 1.1s var(--ease) both; animation-delay: calc(.3s + var(--w, 0) * .08s); }
.refugio__text { font-size: clamp(16px, 1.2vw, 19px); color: var(--lilac); }

/* ---------- Formulario ---------- */
.refugio__form { display: grid; gap: 26px; margin-top: 40px; }
.refugio__form[hidden] { display: none; }
.refugio__group { position: relative; display: grid; gap: 4px; }
/* línea base lila que se dibuja al entrar */
.refugio__group::before, .refugio__group::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  transform-origin: 0 50%;
}
.refugio__group::before {
  background: var(--lilac);
  animation: rf-line 1.2s var(--ease) both;
  animation-delay: calc(.85s + var(--i, 0) * .09s);
}
/* línea blanca que se llena al escribir y queda cuando el dato está bien */
.refugio__group::after {
  background: var(--white);
  transform: scaleX(0);
  transition: transform .7s var(--ease);
}
.refugio__group:focus-within::after, .refugio__group.is-valid::after { transform: scaleX(1); }
.refugio__label {
  font-family: var(--f-title);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--lilac);
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.refugio__group:focus-within .refugio__label { color: var(--white); transform: translateX(4px); }
.refugio__field {
  width: 100%;
  height: 52px;
  padding: 0 38px 0 4px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  font-family: var(--f-text);
  font-size: clamp(18px, 1.5vw, 22px);
}
.refugio__field::placeholder { color: var(--lilac); opacity: 1; transition: color .4s; }
.refugio__field:focus::placeholder { color: transparent; }
/* autocompletar del navegador: sin el fondo amarillo/blanco */
.refugio__field:-webkit-autofill,
.refugio__field:-webkit-autofill:hover,
.refugio__field:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  box-shadow: 0 0 0 100px var(--purple) inset;
  transition: background-color 9999s;
}
/* check que se dibuja cuando el dato está bien */
.refugio__check {
  position: absolute;
  right: 4px;
  bottom: 14px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.refugio__check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .55s var(--ease); }
.refugio__group.is-valid .refugio__check path { stroke-dashoffset: 0; }

/* ---------- Botón ---------- */
.refugio__btn { justify-self: start; margin-top: 8px; min-height: 60px; padding: 0 42px; }
/* efecto magnético (refugio.js mueve `translate`): rápido al seguir el mouse, con rebote al soltar */
.refugio__btn, .refugio__done-btn { transition: color .5s var(--ease), border-color .5s var(--ease), translate .8s cubic-bezier(.34, 1.56, .64, 1); }
.refugio__btn.is-magnet, .refugio__done-btn.is-magnet { transition: color .5s var(--ease), border-color .5s var(--ease), translate .35s var(--ease); }
.refugio__btn:disabled { cursor: not-allowed; }        /* se ve igual, pero no deja enviar */
html.has-cursor .refugio__btn:disabled { cursor: none; }
.refugio__btn:disabled::before { display: none; }
.refugio__btn-text, .refugio__arrow { transition: opacity .3s, transform .5s var(--ease); }
/* flecha que aparece cuando ya se puede enviar */
.refugio__btn .refugio__arrow { width: 18px; margin-right: -30px; opacity: 0; transform: translateX(-10px); }
.refugio__btn.is-ready .refugio__arrow { margin-right: 0; opacity: 1; transform: none; transition: opacity .4s, transform .6s var(--ease), margin .6s var(--ease); }
.refugio__btn.is-ready:hover .refugio__arrow { transform: translateX(5px); }
/* destello que cruza el botón al quedar listo */
.refugio__btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 60%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .28) 50%, transparent 100%);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}
.refugio__btn.is-ready::after { animation: rf-shine 1.1s var(--ease) .05s; }
/* enviando: el texto se va y gira un aro */
.refugio__spin {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid var(--lilac);
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s;
}
.refugio__btn.is-sending .refugio__btn-text, .refugio__btn.is-sending .refugio__arrow { opacity: 0; transform: translateY(-8px); }
.refugio__btn.is-sending .refugio__spin { opacity: 1; animation: rf-spin .8s linear infinite; }
.refugio__msg { min-height: 1.4em; font-family: var(--f-title); font-size: 14px; letter-spacing: .03em; color: var(--white); }

/* Salida del formulario al enviar */
.refugio__form.is-leaving > .refugio__group,
.refugio__form.is-leaving > .refugio__btn,
.refugio__form.is-leaving > .refugio__msg {
  animation: rf-leave .55s var(--ease-io) both;
  animation-delay: calc(var(--i, 0) * .05s);
}

/* ---------- Gracias ---------- */
.refugio__done { margin-top: 40px; display: grid; justify-items: start; gap: 14px; }
.refugio__done[hidden] { display: none; }
.refugio__seal { position: relative; width: 74px; height: 74px; margin-bottom: 10px; }
.refugio__seal svg { position: relative; width: 100%; height: 100%; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.refugio__seal circle { stroke-dasharray: 183; stroke-dashoffset: 183; transform: rotate(-90deg); transform-origin: center; animation: rf-draw 1s var(--ease) .15s forwards; }
.refugio__seal path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: rf-draw .6s var(--ease) .75s forwards; }
/* ondas de la marca que salen del sello */
.refugio__burst i {
  position: absolute;
  left: 50%; top: 50%;
  width: 74px; height: 74px;
  margin: -37px 0 0 -37px;
  border: 1.5px solid var(--lilac);
  border-radius: 50%;
  opacity: 0;
  animation: rf-burst 1.6s var(--ease) both;
}
.refugio__burst i:nth-child(1) { animation-delay: .8s; }
.refugio__burst i:nth-child(2) { animation-delay: .98s; }
.refugio__burst i:nth-child(3) { animation-delay: 1.16s; }
.refugio__done-title {
  font-family: var(--f-title);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  color: var(--black);
  outline: none;
}
.refugio__done .rf-wi { animation-delay: calc(.35s + var(--w, 0) * .08s); }
.refugio__done-text { animation: rf-rise 1s var(--ease) .7s both; }
.refugio__done-btn { margin-top: 12px; animation: rf-rise 1s var(--ease) .85s both; }

/* ---------- Próximamente ---------- */
.refugio__soon { margin-top: 64px; }
.refugio__songs { margin: 10px 0 6px; font-family: var(--f-title); font-weight: 800; font-size: clamp(20px, 1.8vw, 28px); color: var(--white); }
.refugio__songs span { white-space: nowrap; }

/* ---------- Animaciones ---------- */
@keyframes rf-fade    { from { opacity: 0; } }
@keyframes rf-curtain { to { transform: scaleY(0); } }
@keyframes rf-zoom    { from { transform: scale(1.22); } }
@keyframes rf-mark    { from { opacity: 0; transform: translateY(-60px) rotate(-14deg) scale(.7); } }
@keyframes rf-rings   { from { opacity: 0; transform: scale(.75); } }
@keyframes rf-rise    { from { opacity: 0; transform: translateY(34px); } }
@keyframes rf-word    { from { transform: translateY(112%) rotate(4deg); } }
@keyframes rf-line    { from { transform: scaleX(0); } }
@keyframes rf-shine   { to { transform: translateX(260%) skewX(-18deg); } }
@keyframes rf-spin    { to { transform: rotate(360deg); } }
@keyframes rf-leave   { to { opacity: 0; transform: translateY(-22px); } }
@keyframes rf-draw    { to { stroke-dashoffset: 0; } }
@keyframes rf-burst   { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(4.2); } }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .refugio { grid-template-columns: 1fr; }
  .refugio__media { height: 58svh; min-height: 340px; }
  .refugio__mark { left: auto; right: 22px; top: max(58svh, 340px); height: 118px; translate: 0 -50%; }
  .refugio__panel { padding: 56px var(--gutter) 72px; }
  .r-nav__back { color: var(--purple); }               /* en celular va sobre la foto lila */
  .refugio__btn { width: 100%; }
  .refugio__btn .refugio__arrow { margin-right: -30px; }
}

/* ---------- Sin movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .refugio-page *, .refugio-page *::before, .refugio-page *::after { animation: none !important; transition: none !important; }
  .refugio__media::after { display: none; }
  .refugio__seal circle, .refugio__seal path { stroke-dashoffset: 0; }
}

/* =====================================================================
   PIE
   ===================================================================== */
.footer { position: relative; background: var(--black); color: var(--white); padding-top: clamp(64px, 7vw, 110px); overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer__logo { display: flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; }
.footer__logo .wordmark { width: 150px; }
.footer__logo .descriptor { font-size: 10px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 24px 0 7px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  font-family: var(--f-title);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.social:hover { background: var(--lilac); border-color: var(--lilac); color: var(--black); }
.social__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); transition: background-color .4s; }
.social:hover .social__ico { background: var(--purple); color: var(--white); }
.social__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__giant { padding: clamp(56px, 7vw, 110px) var(--pad) clamp(28px, 3vw, 44px); }
.wordmark--giant {
  width: 100%;
  background: var(--white);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--purple);
  font-family: var(--f-title);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--gray);
}
.footer__up { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--purple); border-radius: 50%; color: var(--white); transition: background-color .4s, color .4s; }
.footer__up:hover { background: var(--lilac); color: var(--black); }
.footer__up svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Estados iniciales de animación (solo si GSAP cargó) ---------- */
.anim .fade { opacity: 0; transform: translateY(46px); }
.anim .reveal-img { opacity: 0; }
.anim [data-hero-in] { opacity: 0; }
.anim .hero__title .ch { transform: translateY(110%); }
.anim .hero__title { overflow: hidden; padding-bottom: .06em; }

/* =====================================================================
   TABLET Y CELULAR
   ===================================================================== */
@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 1023px) {
  .madrid__copy { grid-column: 1 / span 6; }
  .madrid__media { grid-column: 7 / -1; }
  .ticket { grid-column: 1 / -1; }
  .song { margin-inline: auto; }
  .song:nth-child(odd of .song) { margin-left: 0; }
  .songs__track { gap: 96px; }
  .exp__media { grid-column: 1 / -1; max-width: 640px; margin-bottom: 110px; }
  .exp__copy { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
  .contact__media { aspect-ratio: 4 / 3.4; }
  .contact__media::after { background: linear-gradient(0deg, var(--black) 2%, rgba(35, 31, 32, 0) 50%); }
  .contact__panel { padding: 24px var(--pad) 110px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .section { padding-block: 88px; }
  .nav { padding: 14px var(--pad); }
  .nav__logo .wordmark { width: 78px; }
  .head { margin-bottom: 40px; }

  /* Inicio: foto completa arriba y el bloque de lanzamiento debajo */
  .hero { display: block; min-height: 0; padding-top: 0; }
  .hero__media {
    position: relative;
    left: auto; right: auto;
    width: 100%;
    aspect-ratio: 2200 / 2552;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  }
  .hero__glow { background: radial-gradient(90% 40% at 50% 10%, rgba(89, 67, 143, .95), rgba(89, 67, 143, 0) 100%); }
  .hero__content { width: 100%; margin-top: -20vw; padding: 0 var(--pad) 76px; }
  .hero__title { font-size: clamp(28px, 8.6vw, 64px); }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .rings--hero { width: 180vw; }

  .bio__grid { grid-template-columns: 1fr; gap: 24px; }
  .bio__meta { flex-direction: column; align-items: flex-start; gap: 16px; }

  .manifest__iso { right: -14%; opacity: .26; }

  .madrid__grid { display: flex; flex-direction: column; }
  .madrid__media { margin: 64px 0 40px auto; width: 82%; }
  .polaroid--madrid { left: -20%; top: auto; bottom: -8%; width: 44vw; }
  .ticket { flex-direction: column; margin-top: 80px; --stub: 0px; }
  .ticket::before, .ticket::after { display: none; }
  .ticket__data { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .ticket__stub { width: auto; flex-direction: row; padding: 18px 26px; border-left: 0; border-top: 2px dashed var(--lilac); }
  .ticket__date { writing-mode: horizontal-tb; rotate: none; font-size: 28px; }
  .ticket__iso { rotate: 90deg; }
  .ticket__ctas .btn { flex: 1 1 100%; }
  .countdown { gap: 6px; }
  .countdown > div { border-radius: 12px; padding: 12px 2px 10px; }
  .countdown span { font-size: 8.5px; letter-spacing: .14em; }

  .song__card { padding: 10px 10px 40px; }
  .song--tall { max-width: 360px; }

  .perfil__frame { height: 118vw; }
  .perfil__frame img { object-position: 38% 50%; }
  .perfil__grid { grid-template-columns: 1fr; }

  .exp__media { padding-right: 18%; }
  .polaroid--exp1 { width: 36vw; top: -10%; }
  .polaroid--exp2 { width: 34vw; right: 4%; bottom: -16%; }

  .contact__card { padding-left: 18px; }
  .platforms a { padding: 14px 4px; }

  .community__cta { width: 100%; }
  .community__iso { height: 90%; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .socials { gap: 10px; }
  .social { height: 48px; padding-right: 18px; font-size: 10.5px; }
  .social__ico { width: 34px; height: 34px; }
  .footer__bottom { font-size: 12px; }
}

/* Sin movimiento: todo visible y estático */
@media (prefers-reduced-motion: reduce) {
  .anim .fade, .anim [data-hero-in] { opacity: 1; transform: none; }
  .anim .reveal-img { opacity: 1; }
  .anim .hero__title .ch { transform: none; }
}
