/* ============ Pilar Arejo — web oficial ============ */
:root {
  --bg: #0b0a09;
  --bg-2: #12100e;
  --bg-3: #1a1713;
  --ink: #f2ede3;
  --muted: #a69f92;
  --gold: #e0b92c;
  --gold-soft: rgba(224, 185, 44, .14);
  --line: rgba(242, 237, 227, .1);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --logo: "Josefin Sans", "Century Gothic", sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1280px;
  --z-grain: 1; --z-header: 50; --z-float: 40; --z-modal: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: clamp(1.02rem, .98rem + .2vw, 1.15rem); line-height: 1.7; font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: #000; }

.wrap { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: #000; padding: .6rem 1rem; transition: top .2s; }
.skip:focus { top: 1rem; }

.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .07;
  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");
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---- tipografía ---- */
.eyebrow { font-family: var(--display); font-weight: 500; font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.h2 { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .92; letter-spacing: -.01em; text-transform: uppercase; margin: .4rem 0 2.2rem; text-wrap: balance; }
.h2-xl { font-size: clamp(3.6rem, 10vw, 8rem); }
.prose p { max-width: 62ch; color: #d8d2c6; text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.5; max-width: 52ch; color: var(--ink); text-wrap: pretty; }

.section { padding-block: clamp(5rem, 11vw, 9rem) clamp(5.5rem, 12vw, 10rem); position: relative; }
.section-alt { background: var(--bg-2); }

/* ---- botones ---- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.8rem; border-radius: 999px; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; line-height: 1; border: 1px solid transparent; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s; will-change: transform; }
.btn-sm { padding: .7rem 1.3rem; font-size: .82rem; }
.btn-gold { background: var(--gold); color: #120f06; box-shadow: 0 10px 30px -12px rgba(224, 185, 44, .55); }
.btn-gold:hover { background: #f0cb49; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(224, 185, 44, .7); }
.btn-line { border-color: rgba(242, 237, 227, .28); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.link-arrow { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ---- cabecera ---- */
.header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); transition: background .35s, backdrop-filter .35s, transform .4s var(--ease); }
.header.is-solid { background: rgba(11, 10, 9, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 4.5rem; }
.nav-logo img { width: clamp(8.5rem, 14vw, 11.5rem); height: auto; }
.footer-logo img { width: clamp(12rem, 28vw, 20rem); height: auto; }
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); margin-left: auto; }
.nav-links a { position: relative; font-family: var(--display); font-weight: 500; letter-spacing: .15em; text-transform: uppercase; font-size: .9rem; color: var(--muted); padding-block: .4rem; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.burger { display: none; width: 2.75rem; height: 2.75rem; position: relative; }
.burger span { position: absolute; left: .7rem; right: .7rem; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.burger span:first-child { top: 1.05rem; } .burger span:last-child { top: 1.65rem; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(.3rem) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-.3rem) rotate(-45deg); }
.menu-movil { position: fixed; inset: 0; top: 4.5rem; background: rgba(11, 10, 9, .97); display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; padding: var(--pad); }
.menu-movil[hidden] { display: none; }
.menu-movil a:not(.btn) { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 2.6rem; text-transform: uppercase; line-height: 1; }
.menu-movil .btn { align-self: flex-start; margin-top: 1rem; }

/* ---- hero ---- */
.hero { background: #000; position: relative; min-height: 100dvh; display: flex; align-items: center; padding-block: 6.5rem 5.5rem; overflow: clip; isolation: isolate; }
.hero-glow { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(38rem 30rem at var(--gx, 70%) var(--gy, 45%), rgba(190, 50, 30, .16), transparent 70%), radial-gradient(40rem 30rem at 20% 20%, rgba(224, 160, 44, .07), transparent 70%); transition: background-position .3s; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; }
.hero-text { position: relative; z-index: 2; }
.smoke { position: relative; width: clamp(14rem, 30vw, 24rem); aspect-ratio: 1; margin: -2rem 0 -1rem -2.5rem; --dis: 0; pointer-events: none; }
.smoke img { position: absolute; inset: 0; width: 100%; height: 100%; }
.smoke .core { opacity: calc(1 - var(--dis) * 1.15); transform: translateY(calc(var(--dis) * -70px)) scale(calc(1 + var(--dis) * .45)); animation: drift 11s ease-in-out infinite alternate; will-change: transform, opacity; }
.smoke.is-blow .core { filter: url(#blow); animation: none; }
.smoke .wisp { opacity: 0; filter: blur(7px); animation: rise 7s ease-out infinite; }
.smoke .w2 { animation-delay: -3.5s; animation-duration: 9s; }
.smoke.is-blow .wisp { display: none; }
@keyframes drift { from { transform: translate3d(-1.5%, 1%, 0) rotate(-1.2deg) scale(1); } to { transform: translate3d(1.5%, -1.5%, 0) rotate(1.2deg) scale(1.035); } }
@keyframes rise { 0% { opacity: 0; transform: translate3d(0, 2%, 0) scale(.98); } 25% { opacity: .5; } 100% { opacity: 0; transform: translate3d(2%, -14%, 0) scale(1.1) rotate(2deg); } }
.contact-smoke img { width: 100%; animation: drift 11s ease-in-out infinite alternate; }
.hero-name { font-family: var(--logo); font-weight: 200; text-transform: uppercase; font-size: clamp(3.4rem, 8.2vw, 7.6rem); line-height: .98; letter-spacing: .06em; margin: 1.1rem 0 2.4rem; }
.hero-name .line { display: block; }
.hero-name .line + .line { margin-left: .9em; font-weight: 300; }
.hero-name .ch { display: inline-block; opacity: 0; transform: translateY(40%) rotate(3deg); animation: ch .9s var(--ease) forwards; animation-delay: calc(var(--n) * 55ms + .15s); }
@keyframes ch { to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-photo { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px 2px 2px; overflow: hidden; box-shadow: 0 40px 80px -35px rgba(190, 40, 30, .5); transform: translateY(var(--py, 0)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 20%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 10, 9, .45)); }
.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; width: 1.5rem; height: 2.4rem; border: 1px solid rgba(242, 237, 227, .35); border-radius: 99px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: .45rem; width: 3px; height: 6px; margin-left: -1.5px; background: var(--gold); border-radius: 3px; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(.9rem); opacity: 0; } 100% { opacity: 0; } }

/* ---- biografía ---- */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 4rem); align-items: center; }
.bio-photo { position: relative; margin: 0; isolation: isolate; }
.bio-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: contrast(1.05);
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 36%, rgba(0, 0, 0, .55) 58%, transparent 80%);
  mask-image: radial-gradient(ellipse 58% 62% at 50% 46%, #000 36%, rgba(0, 0, 0, .55) 58%, transparent 80%); }
.fog { position: absolute; inset: -6%; z-index: 1; pointer-events: none; background: radial-gradient(40% 32% at 18% 78%, rgba(255, 255, 255, .13), transparent 70%), radial-gradient(36% 30% at 84% 24%, rgba(255, 255, 255, .1), transparent 70%), radial-gradient(30% 26% at 70% 90%, rgba(224, 185, 44, .08), transparent 70%); filter: blur(14px); animation: fog 14s ease-in-out infinite alternate; }
@keyframes fog { from { transform: translate3d(-2%, 1%, 0) scale(1); } to { transform: translate3d(3%, -3%, 0) scale(1.06); } }
.js .bio-photo.reveal { transform: none; transition: opacity .8s ease-out; }
.prose a.inline, .lead a.inline { color: var(--gold); border-bottom: 1px solid rgba(224, 185, 44, .4); transition: border-color .25s; }
.prose a.inline:hover { border-color: var(--gold); }
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.more-inner { overflow: hidden; }
.more-inner p:first-child { margin-top: 1.1em; }
.more.is-open { grid-template-rows: 1fr; }
.more:not(.is-open) .more-inner { visibility: hidden; transition: visibility 0s .6s; }
.bio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.2rem; }
.link-btn { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- tiziano ---- */
.tz { text-align: center; overflow: clip; isolation: isolate; padding-block: clamp(6rem, 12vw, 10rem); }
.tz-title { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(5rem, 17vw, 14rem); line-height: .9; letter-spacing: -.02em; margin: 0; padding-inline: .1em; background: linear-gradient(100deg, #f5efe2 20%, var(--gold) 70%, #b98f1c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tz-artist { font-family: var(--display); letter-spacing: .5em; text-transform: uppercase; font-size: clamp(.95rem, 2vw, 1.3rem); margin-right: -.5em; }
.tz-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(224, 185, 44, .35); animation: ring 9s ease-out infinite; opacity: 0; }
.tz-rings i:nth-child(2) { animation-delay: 3s; } .tz-rings i:nth-child(3) { animation-delay: 6s; }
@keyframes ring { 0% { transform: scale(.35); opacity: 0; } 15% { opacity: .7; } 100% { transform: scale(1.1); opacity: 0; } }
.ico-play { width: 1rem; height: 1rem; fill: currentColor; }

/* ---- discografía: línea de tiempo ---- */
.tl { margin-top: clamp(1rem, 3vw, 2rem); outline-offset: -4px; }
.tl-viewport { overflow: hidden; padding-block: 2.2rem; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tl-viewport.is-drag { cursor: grabbing; }
.tl-track { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: flex-start; width: max-content; transition: transform .7s var(--ease); will-change: transform; }
.tl-track.no-anim { transition: none; }
.rel { width: clamp(17rem, 30vw, 25rem); flex: none; opacity: .38; transform: scale(.82); transform-origin: 50% 0; transition: opacity .6s var(--ease), transform .7s var(--ease); cursor: pointer; user-select: none; }
.rel.is-active { opacity: 1; transform: scale(1); cursor: default; }
.rel-cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 40px 70px -35px #000, 0 0 0 1px var(--line); }
.rel.is-active .rel-cover { box-shadow: 0 50px 90px -40px rgba(224, 185, 44, .35), 0 0 0 1px rgba(224, 185, 44, .25); }
.ph { display: flex; flex-direction: column; justify-content: flex-end; padding: 8%; background: radial-gradient(120% 90% at 20% 0%, #1c1810, #050505 65%); }
.ph b { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: .95; color: var(--ink); }
.rel-info { padding-top: 1.4rem; }
.rel-type { font-family: var(--display); letter-spacing: .18em; text-transform: uppercase; font-size: .88rem; color: var(--gold); }
.rel-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin: .35rem 0 .3rem; }
.rel-place { font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.rel-desc { color: #d8d2c6; font-size: .98rem; line-height: 1.6; }
.tracklist { counter-reset: t; columns: 2; gap: 1.5rem; margin: 1rem 0 .4rem; font-size: .88rem; color: var(--muted); }
.tracklist li { counter-increment: t; break-inside: avoid; padding: .1rem 0; }
.tracklist li::before { content: counter(t) "  "; color: var(--gold); font-family: var(--display); letter-spacing: .08em; }
.bonus { font-size: .88rem; color: var(--gold); margin-top: .2rem; }
.tl-ctrl { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); margin-top: 1rem; }
.tl-arrow { flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(242, 237, 227, .25); display: grid; place-items: center; transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease), opacity .25s; }
.tl-arrow svg { width: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tl-arrow:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: #120f06; transform: scale(1.06); }
.tl-arrow:disabled { opacity: .25; cursor: default; }
.tl-dots { flex: 1; display: flex; justify-content: space-between; position: relative; padding-top: .2rem; }
.tl-dots::before { content: ""; position: absolute; left: 0; right: 0; top: calc(.2rem + .45rem); height: 1px; background: var(--line); }
.tl-dots li { position: relative; }
.tl-dots button { display: grid; justify-items: center; gap: .6rem; padding: .2rem .4rem; }
.tl-dots button::before { content: ""; width: .9rem; height: .9rem; border-radius: 50%; background: var(--bg); border: 1px solid rgba(242, 237, 227, .4); transition: background .3s, border-color .3s, transform .4s var(--ease), box-shadow .3s; position: relative; z-index: 1; }
.tl-dots span { font-family: var(--display); letter-spacing: .1em; font-size: .9rem; color: var(--muted); transition: color .3s; font-variant-numeric: tabular-nums; }
.tl-dots button:hover::before { border-color: var(--gold); }
.tl-dots button[aria-current="true"]::before { background: var(--gold); border-color: var(--gold); transform: scale(1.35); box-shadow: 0 0 0 5px var(--gold-soft); }
.tl-dots button[aria-current="true"] span { color: var(--gold); }

.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.pills a { padding: .5rem 1.1rem; border: 1px solid rgba(242, 237, 227, .22); border-radius: 999px; font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.pills a::after { content: " ↗"; opacity: .6; }
.pills a:hover { background: var(--gold); color: #120f06; border-color: var(--gold); transform: translateY(-2px); }
.pills-lg a { padding: .8rem 1.6rem; font-size: 1rem; }
.listen { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 2.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.listen-title { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.listen .pills { margin: 0; }

/* ---- live ---- */
.live { position: relative; padding-block: clamp(6rem, 12vw, 10rem); overflow: clip; isolation: isolate; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.live-facts { display: flex; flex-wrap: wrap; gap: 2.4rem; margin: 0 0 2.4rem; }
.live-facts b { display: block; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: var(--gold); }
.live-facts span { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: .88rem; color: var(--muted); }
.live-main .btn { margin-top: 2.2rem; }
.formacion { margin-top: 2rem; padding: 1.6rem 1.8rem; background: rgba(11, 10, 9, .6); backdrop-filter: blur(8px); border-left: 2px solid var(--gold); }
.formacion h3 { font-family: var(--display); letter-spacing: .22em; text-transform: uppercase; font-size: .9rem; font-weight: 500; color: var(--gold); margin-bottom: .8rem; }
.formacion ul { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.formacion li { font-size: 1.02rem; }
.formacion li:first-child { font-weight: 500; }

/* ---- trayectoria ---- */
.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; padding: .9rem 1.4rem; font-family: var(--display); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: 1rem; color: var(--muted); white-space: nowrap; transition: color .25s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--gold); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.panel { animation: panel .6s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panel { from { opacity: 0; transform: translateY(14px); } }
.panel-intro { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 2.5rem; }
.panel-intro .eyebrow { margin-bottom: .8rem; }
.panel-img { width: clamp(9rem, 22vw, 17rem); aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; flex: none; filter: saturate(.9); }
#panel-av .panel-img { object-position: 50% 78%; }
#panel-autoria .panel-img { object-position: 50% 30%; }
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.8rem 1rem 1.8rem 0; border-bottom: 1px solid var(--line); transition: background .35s, padding .4s var(--ease); }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .4s var(--ease); }
.row:hover { background: linear-gradient(90deg, var(--gold-soft), transparent 70%); padding-left: 1.2rem; }
.row:hover::before { transform: scaleY(1); }
.row-year { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.7rem; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.row h3, .av h3 { font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; }
.row-by { font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; color: var(--muted); margin: .35rem 0 .7rem; }
.row-by a { color: var(--gold); border-bottom: 1px solid rgba(224, 185, 44, .35); }
.row-main p:last-child, .av p:last-child { color: #d8d2c6; max-width: 62ch; }
.vid { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.2rem; border: 1px solid rgba(224, 185, 44, .5); border-radius: 999px; color: var(--gold); font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; transition: background .25s, color .25s, transform .3s var(--ease); white-space: nowrap; }
.vid svg { width: 1rem; height: 1rem; fill: currentColor; flex: none; }
.vid-link svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.vid:hover { background: var(--gold); color: #120f06; transform: translateY(-2px); }
.av-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.av { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .8rem; position: relative; overflow: hidden; }
.av::after { content: ""; position: absolute; inset: 0; background: radial-gradient(18rem 14rem at var(--mx, 50%) var(--my, 0%), var(--gold-soft), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.av:hover::after { opacity: 1; }
.av .vid { align-self: flex-start; margin-top: auto; }
.av-pending h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .8rem; }
.tags li { padding: .8rem 1.4rem; border: 1px solid rgba(242, 237, 227, .2); font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; transition: border-color .25s, color .25s, transform .3s var(--ease); }
.tags li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ---- contacto ---- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.c-name { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; line-height: 1; }
.c-role { font-family: var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-size: .95rem; margin-top: .3rem; }
.c-list { margin: 2rem 0; display: grid; gap: .4rem; }
.c-item { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.c-big { font-size: clamp(1.25rem, 2.6vw, 2.1rem); font-weight: 300; border-bottom: 1px solid var(--line); transition: color .25s, border-color .25s; overflow-wrap: anywhere; }
.c-big:hover { color: var(--gold); border-color: var(--gold); }
.copy { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; transition: color .25s, border-color .25s; }
.copy:hover { color: var(--gold); border-color: var(--gold); }
.copy.is-done { color: #0b0a09; background: var(--gold); border-color: var(--gold); }
.contact-smoke { justify-self: end; width: min(100%, 30rem); aspect-ratio: 1; pointer-events: none; }

/* ---- pie ---- */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.social { display: flex; gap: .7rem; }
.social a { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.social svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #120f06; transform: translateY(-3px); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; margin-top: 2rem; }
.footer-links a { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--muted); transition: color .25s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

.float-cta { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: var(--z-float); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease), background .25s; }
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta.is-on:hover { transform: translateY(-2px); }

/* ---- visor vídeo ---- */

/* ---- reveal ---- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero { padding-top: 6rem; }
  .hero-grid, .bio-grid, .live-grid, .contact-grid { grid-template-columns: 1fr; }
  .bio-photo { max-width: 30rem; margin-inline: auto; }
  .hero-photo { max-width: 26rem; justify-self: end; margin-top: 1rem; }
  .hero-name .line + .line { margin-left: .6em; }
  .live-side { max-width: 34rem; }
  .row { grid-template-columns: 1fr; gap: .8rem; }
  .row-year { font-size: 1.3rem; }
  .vid { justify-self: start; }
  .av-list { grid-template-columns: 1fr; }
  .panel-intro { flex-direction: column; align-items: flex-start; }
  .contact-smoke { display: none; }
  .smoke { margin: -1rem 0 -1rem -1.5rem; }
}
@media (max-width: 560px) {
  .hero-name { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .tracklist { columns: 1; }
  .btn { padding: .85rem 1.3rem; font-size: .88rem; }
  .hero-name { margin-bottom: 1.6rem; }
  .float-cta { right: 1rem; bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-name .ch { opacity: 1; transform: none; }
  .smoke img, .contact-smoke img { animation: none !important; }
  .smoke .wisp { display: none; }
}

/* ---- titulares: serif editorial (etiquetas y botones siguen en Barlow Condensed) ---- */
.h2, .live-facts b, .row h3, .av h3, .c-name, .row-year, .player-bar p, .menu-movil a:not(.btn) { font-family: var(--serif); font-style: normal; text-transform: none; font-weight: 600; letter-spacing: -.01em; }
.h2 { font-size: clamp(3.2rem, 7.5vw, 6rem); line-height: .92; margin: .3rem 0 2.2rem; }
.h2-xl { font-size: clamp(4rem, 11vw, 8.6rem); }
.live-facts b { font-size: clamp(3.2rem, 6vw, 5rem); font-weight: 500; font-style: italic; }
.row h3, .av h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.02; }
.av-pending h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.row-year { font-size: 1.7rem; font-weight: 500; font-style: italic; color: var(--gold); letter-spacing: 0; }
.c-name { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.menu-movil a:not(.btn) { font-size: 2.8rem; line-height: 1.05; }
#biografia { overflow: clip; }
.tl-dots { min-width: 0; }
@media (max-width: 560px) {
  .tl-ctrl { gap: .4rem; }
  .tl-arrow { width: 2.5rem; height: 2.5rem; }
  .tl-dots button { padding: .2rem .1rem; }
  .tl-dots span { font-size: .75rem; letter-spacing: .04em; }
}

/* ---- retorno: vídeo en la segunda columna ---- */
.live { overflow: visible; isolation: auto; }
.live-grid { align-items: center; }
.live-side { display: grid; gap: 2rem; }
.live-video { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -45px rgba(224, 185, 44, .4), 0 0 0 6px rgba(242, 237, 227, .02); }
.live-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-sound { position: absolute; left: .9rem; bottom: .9rem; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(11, 10, 9, .78); backdrop-filter: blur(6px); border: 1px solid rgba(224, 185, 44, .5); color: var(--gold); font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; transition: background .25s, color .25s; }
.live-sound[hidden] { display: none; }
.live-sound svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.live-sound:hover { background: var(--gold); color: #120f06; }
.formacion { margin-top: 0; }

/* ---- Ti Sognai: imagen con bordes de humo ---- */
.tz { text-align: left; }
.tz-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tz-copy { display: grid; justify-items: start; gap: 1.2rem; }
.tz-title { font-size: clamp(4.4rem, 11vw, 9.5rem); }
.tz-artist { margin-right: 0; }
.tz-rings { left: 72%; }
.tz-art { position: relative; margin: 0; justify-self: center; width: min(100%, 30rem); aspect-ratio: 954 / 1034;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent), linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent), linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-composite: intersect; }
.tz-art img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) brightness(.92); }
/* Pilar Arejo: realce sutil. Laura Bono: atenuada, legible. (posiciones sobre la imagen recortada) */
.tz-hl, .tz-dim { position: absolute; left: 25.5%; width: 72%; height: 8.9%; pointer-events: none; border-radius: 6px; }
.tz-hl { top: 71.2%; background: linear-gradient(90deg, rgba(224, 185, 44, .2), rgba(224, 185, 44, .05)); box-shadow: inset 2px 0 0 var(--gold), 0 0 30px -6px rgba(224, 185, 44, .45); animation: hl 4.5s ease-in-out infinite alternate; }
@keyframes hl { from { opacity: .65; } to { opacity: 1; } }
.tz-dim { top: 80.7%; background: rgba(36, 36, 36, .62); }
.tz-rings { position: absolute; top: 50%; width: min(80vw, 56rem); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.tz-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(224, 185, 44, .3); animation: ring 9s ease-out infinite; opacity: 0; }
.tz-rings i:nth-child(2) { animation-delay: 3s; } .tz-rings i:nth-child(3) { animation-delay: 6s; }

/* ---- discografía: referencias temporales discretas ---- */
.rel-type { font-size: .72rem; letter-spacing: .24em; color: var(--muted); }
.tl-dots span { font-size: .68rem; letter-spacing: .12em; }

/* ---- pestañas: siempre visibles en móvil ---- */
@media (max-width: 680px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; overflow: visible; border-bottom: 0; }
  .tabs button { min-height: 2.9rem; padding: .6rem .5rem; border: 1px solid var(--line); border-radius: 4px; font-size: .92rem; letter-spacing: .12em; text-align: center; }
  .tabs button::after { display: none; }
  .tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #120f06; }
}

/* ---- móvil: intro centrada y compacta ---- */
@media (max-width: 960px) {
  .tz-grid { grid-template-columns: 1fr; text-align: center; }
  .tz-copy { justify-items: center; }
  .tz-rings { left: 50%; }
  .hero { padding-block: 5rem 2.5rem; min-height: 100svh; }
  .hero-grid { gap: 1.25rem; justify-items: center; text-align: center; }
  .hero-text { display: grid; justify-items: center; }
  .hero-name { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .smoke { width: clamp(8rem, 30vw, 10rem); margin: 0 auto -.4rem; }
  .eyebrow { font-size: .85rem; }
  .hero-actions { justify-content: center; margin-top: 1rem; }
  .hero-photo { justify-self: center; margin: 0; width: min(78%, 17rem); aspect-ratio: 4 / 5; }
  .scroll-hint { display: none; }
  .bio-actions { justify-content: center; }
  .bio-text, .prose p { text-align: left; }
}
.live-grid > *, .tz-grid > *, .bio-grid > * { min-width: 0; }
@media (max-width: 960px) {
  .hero-grid, .bio-grid, .live-grid, .contact-grid, .tz-grid { grid-template-columns: minmax(0, 1fr); }
  .live-facts { gap: 1.4rem 2rem; }
}

/* ---- música: galería y botones en un solo bloque, sin años ---- */
#musica { padding-block: clamp(4rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5rem); }
#musica .h2 { margin-bottom: .6rem; }
.tl { margin-top: 0; }
.tl-viewport { padding-block: 1rem .4rem; }
.rel { width: clamp(15rem, 23vw, 19.5rem); }
.rel-info { padding-top: 1rem; }
.rel-title { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin: .25rem 0; }
.rel-place { margin-bottom: .5rem; }
.rel-desc { font-size: .92rem; line-height: 1.55; }
.rel .pills { margin-top: .8rem; }
.tl-ctrl { justify-content: center; gap: 1rem; margin-top: .6rem; }
.listen { margin-top: 1.6rem; padding-top: 1.4rem; }
/* flechas pegadas a la galería: a los lados de la portada activa */
.tl { --rw: clamp(15rem, 23vw, 19.5rem); position: relative; }
.rel { width: var(--rw); }
.tl-ctrl { position: absolute; left: 0; right: 0; top: calc(1rem + var(--rw) / 2 - 1.5rem); width: auto; margin: 0; padding-inline: clamp(.6rem, 3vw, 3rem); justify-content: space-between; pointer-events: none; z-index: 3; }
.tl-arrow { pointer-events: auto; background: rgba(11, 10, 9, .72); backdrop-filter: blur(6px); }
@media (max-width: 560px) { .tl { --rw: 14.5rem; } .tl-ctrl { padding-inline: .4rem; } }
@media (max-width: 560px) {
  #musica { padding-top: 3.2rem; padding-bottom: 3rem; }
  #musica .h2 { font-size: 2.9rem; margin-bottom: 0; }
  .rel-desc { font-size: .88rem; line-height: 1.5; }
  .rel-place { margin-bottom: .35rem; }
}

.tl-viewport { transition: height .5s var(--ease); }

/* ---- visor de vídeo: pantalla completa en negro, solo el vídeo y un botón de cerrar ---- */
.player { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #050504; color: var(--ink); }
.player[open] { display: grid; place-items: center; }
.player-bar { position: absolute; top: 0; right: 0; padding: 1rem; z-index: 2; }
.player-bar p, .player-bar a { display: none; }
.player-close { width: 2.8rem; height: 2.8rem; background: rgba(11, 10, 9, .7); border-color: rgba(242, 237, 227, .3); font-size: 1rem; }
.player-frame { width: min(100vw - 2rem, calc((100dvh - 5rem) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 100px -40px rgba(224, 185, 44, .3); }
.player::backdrop { background: rgba(5, 4, 3, .94); }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close { display: grid; place-items: center; border: 1px solid rgba(242, 237, 227, .3); border-radius: 50%; color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.player-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* ---- móvil: foto primero, P de humo a su derecha (sobre fondo negro), luego textos y botones ---- */
@media (max-width: 960px) {
  .hero-text { display: contents; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "eyebrow" "actions"; row-gap: 1.2rem; justify-items: center; position: relative; }
  .hero-photo { grid-area: photo; justify-self: start; width: min(68%, 16.5rem); margin: 0; }
  .smoke { grid-area: photo; justify-self: end; align-self: center; width: min(58%, 12rem); margin: 0 -.8rem 0 0; z-index: 3; }
  .hero-text .eyebrow { grid-area: eyebrow; justify-self: center; text-align: center; }
  .hero-actions { grid-area: actions; justify-content: center; margin-top: 0; }
}

/* ---- móvil: bloque 1 = P de humo a pantalla completa; bloque 2 = foto + botones a pantalla completa ---- */
@media (max-width: 960px) {
  .hero { display: block; min-height: 0; padding-block: 0; overflow: clip; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: 100svh auto auto auto; grid-template-areas: "smoke" "photo" "eyebrow" "actions"; row-gap: 1.2rem; justify-items: center; align-items: start; }
  .smoke { grid-area: smoke; justify-self: center; align-self: center; width: min(82vw, 24rem); margin: 0; z-index: 1; }
  .hero-photo { grid-area: photo; justify-self: center; width: min(74vw, 17rem); margin-top: max(1rem, calc((100svh - 31rem) / 2)); }
  .hero-text .eyebrow { grid-area: eyebrow; }
  .hero-actions { grid-area: actions; margin-bottom: max(1.5rem, calc((100svh - 31rem) / 2)); }
  .scroll-hint { display: block; bottom: auto; top: calc(100svh - 4.5rem); }
  .hero-glow { inset: 0 -20%; }
}
@media (max-width: 960px) { .smoke { width: min(94vw, 27rem); } }

/* Safari/iPhone: la disolución se dibuja en un canvas */
.smoke-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: none; pointer-events: none; }
.smoke.is-fx .smoke-fx { display: block; opacity: min(1, calc(var(--dis) * 9)); }
.smoke.is-fx .core { opacity: max(0, calc(1 - var(--dis) * 9)); transform: none; }
.smoke.is-fx .wisp { display: none; }
