/* ==========================================================================
   HELLO SEAHORSE! — MONTAÑA
   Tipografías: coloca los .woff2 en assets/fonts con estos nombres exactos.
   ========================================================================== */
@font-face { font-family: "GT Pressura Mono"; src: url("../assets/fonts/GT-Pressura-Mono-light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Pressura Mono"; src: url("../assets/fonts/GT-Pressura-Mono-light-italic.ttf") format("truetype"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "GT Pressura Mono"; src: url("../assets/fonts/GT-Pressura-Mono-regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Pressura Mono"; src: url("../assets/fonts/GT-Pressura-Mono-regular-italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "GT Pressura Mono"; src: url("../assets/fonts/GT-Pressura-Mono-bold.ttf") format("truetype"); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Pressura Mono"; src: url("../assets/fonts/GT-Pressura-Mono-bold-italic.ttf") format("truetype"); font-weight: 700 800; font-style: italic; font-display: swap; }
@font-face { font-family: "HS Titulos"; src: url("../assets/fonts/HS-Titulos.ttf") format("truetype"); font-weight: 100 900; font-display: block; }
@font-face { font-family: "HS Subtitulos"; src: url("../assets/fonts/HS-Subtitulos.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --mono: "GT Pressura Mono", "JetBrains Mono", ui-monospace, monospace;
  --title: "HS Titulos", "GT Pressura Mono", "JetBrains Mono", monospace;
  --sub: "HS Subtitulos", "GT Pressura Mono", "JetBrains Mono", monospace;

  /* Paleta Montaña */
  --paper: #ECEAE5;
  --paper-2: #E2DFD8;
  --ink: #111111;
  --carbon: #29282B;
  --acid: #E6F23A;
  --mint: #CFE3CC;
  --wine: #3A2430;
  --beige: #D8CAB0;
  --night: #0A0A0A;

  --gut: clamp(16px, 3.2vw, 48px);
  --fs: clamp(11px, 0.85vw, 14px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

/* Temas por sección: el fondo lo pinta el canvas topográfico */
[data-theme="paper"] { --bg: var(--paper); --fg: var(--ink); --mut: #8b8780; --hi: #ffffff; --sh: rgba(0,0,0,.28); --acc: var(--ink); }
[data-theme="beige"] { --bg: var(--beige); --fg: #1d1b1f; --mut: #7d705c; --hi: #f3e9d6; --sh: rgba(60,40,20,.38); --acc: var(--wine); }
[data-theme="carbon"] { --bg: var(--carbon); --fg: var(--acid); --mut: #8a8a6a; --hi: rgba(255,255,255,.12); --sh: rgba(0,0,0,.7); --acc: var(--acid); }
[data-theme="black"] { --bg: var(--night); --fg: var(--paper); --mut: #6d6d6d; --hi: rgba(255,255,255,.14); --sh: rgba(0,0,0,.9); --acc: var(--paper); }
[data-theme="mint"] { --bg: var(--mint); --fg: #2a1b22; --mut: #6f8a6c; --hi: #eef8ec; --sh: rgba(20,50,20,.3); --acc: var(--wine); }
[data-theme="wine"] { --bg: var(--wine); --fg: var(--beige); --mut: #9a7b84; --hi: rgba(255,255,255,.1); --sh: rgba(0,0,0,.55); --acc: var(--acid); }
[data-theme="night"] { --bg: var(--night); --fg: var(--acid); --mut: #6d6d55; --hi: rgba(255,255,255,.12); --sh: rgba(0,0,0,.9); --acc: var(--acid); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: var(--fs); line-height: 1.5; letter-spacing: .02em;
  text-transform: uppercase; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px dashed currentColor; outline-offset: 4px; }

/* ---------- Capas fijas ---------- */
#topo { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .11; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.2 -0.1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
body.dark-zone .grain { mix-blend-mode: screen; opacity: .07; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,-2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }

main { position: relative; z-index: 1; }

/* ---------- Retícula justificada (ADN de la identidad) ---------- */
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1ch; }
.row > * { white-space: nowrap; }
.spread-letters { display: flex; justify-content: space-between; flex: 1; }

/* ---------- Relieve / emboss ---------- */
.emboss {
  color: var(--bg);
  text-shadow: -1px -1px 0 var(--hi), 1px 1px 1px var(--sh);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1ch;
  padding: 1.15em 2.4em; border-radius: 999px; font-weight: 700; letter-spacing: .14em;
  background: var(--bg);
  box-shadow: -2px -2px 4px var(--hi), 2px 2px 5px var(--sh), inset 0 0 0 transparent;
  transition: box-shadow .35s var(--ease), color .35s, transform .35s var(--ease);
  color: var(--fg); text-shadow: none;
}
.btn.emboss { color: var(--fg); }
.btn:hover { box-shadow: inset -2px -2px 4px var(--hi), inset 2px 2px 5px var(--sh); transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn--big { padding: 1.4em 3.4em; }

/* ---------- Secciones ---------- */
.sec { position: relative; min-height: 100vh; padding: calc(var(--gut) * 3) var(--gut) calc(var(--gut) * 2); color: var(--fg); }
.sec__head { font-weight: 700; color: var(--mut); padding-bottom: var(--gut); border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); margin-bottom: var(--gut); }
.sec__title { display: block; width: 100%; height: clamp(110px, 17vw, 300px); margin: calc(var(--gut) * .5) 0 var(--gut); }
canvas.smear { display: block; width: 100%; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 3ch;
  padding: 18px var(--gut); font-weight: 700; color: var(--navfg, var(--ink)); transition: color .4s;
}
.nav__logo { font-size: 1.25em; letter-spacing: .05em; }
.nav__links { flex: 1; display: flex; justify-content: space-between; }
.nav__links a { position: relative; opacity: .55; transition: opacity .25s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::before { content: ""; position: absolute; left: -1.1ch; top: 50%; width: .5ch; height: .5ch; background: currentColor; border-radius: 50%; transform: translateY(-50%); }
.nav__toggle { display: none; font-weight: 700; }
.nav__mini-player { display: flex; align-items: center; gap: 1ch; max-width: 22ch; }
.nav__mini-player[hidden] { display: none; }
.mini__play { width: 2.4em; height: 2.4em; border-radius: 50%; border: 1px solid currentColor; font-size: .8em; }
.mini__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.menu { position: fixed; inset: 0; z-index: 49; background: var(--paper); color: var(--ink); padding: 90px var(--gut) var(--gut); display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu a { display: flex; justify-content: space-between; font-size: clamp(22px, 7vw, 40px); font-weight: 700; line-height: 1.15; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: grid; place-items: center; padding: var(--gut); transition: opacity .6s .2s; }
.loader__eye { width: min(70vw, 620px); aspect-ratio: 1472 / 766; height: auto; }
.loader__row { position: absolute; left: var(--gut); right: var(--gut); bottom: var(--gut); display: flex; justify-content: space-between; font-weight: 700; }
.loader.is-done { opacity: 0; pointer-events: none; }

/* ---------- Cortina ---------- */
.wipe { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: flex; }
.wipe span { flex: 1; height: 100%; margin-right: -1px; background: var(--wipe, var(--ink)); transform: scaleY(0); transform-origin: 50% 0; }
.wipe.is-covered span { transform: scaleY(1); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; mix-blend-mode: difference; color: #fff; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; }
.cursor__eye {
  position: absolute; width: 38px; height: 20px; transform: translate(-50%, -50%) scale(var(--s, 1), var(--sy, 1)); background: #fff;
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: transform .25s var(--ease);
}
/* Sobre un link: el ojo no crece ni muestra texto; cambia de color en loop (como gif) con la paleta de la identidad */
.cursor.is-hover { mix-blend-mode: normal; }
.cursor.is-hover .cursor__eye { animation: eye-colors 1.2s infinite; animation-timing-function: steps(1, end); }
@keyframes eye-colors {
  0%    { background: #6B5D52; } 12.5% { background: #A5A6A0; } 25%   { background: #4B4B4B; } 37.5% { background: #A9A3AA; }
  50%   { background: #C8C8C8; } 62.5% { background: #B8C2C9; } 75%   { background: #3E4955; } 87.5% { background: #ADA5B0; }
}
.cursor.is-blink .cursor__eye { --sy: .08; }

/* ---------- 01 Hero ---------- */
.hero { display: flex; flex-direction: column; justify-content: center; gap: calc(var(--gut) * 1.2); padding-top: 110px; }
.hero__logo { width: min(100%, 1500px); margin: 0 auto; }
.hero__logo canvas { aspect-ratio: 1820 / 812; height: auto; }
.hero__line { font-weight: 700; font-size: clamp(12px, 1.15vw, 18px); }
.hero__line .spread { flex: 0 1 34%; display: flex; justify-content: space-between; }
.hero__cta { display: flex; justify-content: center; gap: 2ch; flex-wrap: wrap; }
.hero__foot { color: var(--mut); font-weight: 700; }

/* ---------- 02 Álbum ---------- */
.album__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: calc(var(--gut) * 1.5); align-items: center; }
.album__vinyl { margin: 0; perspective: 1200px; }
.album__vinyl img { width: 100%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); }
.album__title { aspect-ratio: 1724 / 502; height: auto; margin-bottom: var(--gut); }
.album__meta { font-weight: 700; color: var(--mut); margin-bottom: var(--gut); flex-wrap: wrap; }
.tracklist { border-top: 1px solid color-mix(in srgb, var(--fg) 15%, transparent); }
.tracklist li { border-bottom: 1px solid color-mix(in srgb, var(--fg) 15%, transparent); }
.tracklist a {
  width: 100%; display: flex; justify-content: space-between; padding: .78em 0; font-weight: 700;
  font-size: clamp(12px, 1.1vw, 17px); text-align: left; transition: letter-spacing .5s var(--ease), color .3s;
}
.tracklist a:hover, .tracklist li.is-current a { color: var(--fg); letter-spacing: .06em; }
.tracklist .t-num { color: var(--mut); width: 3ch; flex: none; }
.tracklist .t-body { flex: 1; display: flex; justify-content: space-between; }
.tracklist li.is-current .t-num { color: var(--fg); }
.tracklist li.is-current .t-num::before { content: "▶"; }
.tracklist li.is-current .t-num span { display: none; }
.album__cta { display: flex; gap: 2ch; margin-top: calc(var(--gut) * 1.2); flex-wrap: wrap; }

/* ---------- 03 Escuchar ---------- */
.player { display: grid; gap: calc(var(--gut) * .7); max-width: 1400px; margin: 0 auto; }
.player__viz { width: 100%; height: clamp(160px, 26vw, 380px); display: block; }
.player__title { height: clamp(110px, 15vw, 260px); }
.player__meta { font-weight: 700; color: var(--mut); }
.player__bar { position: relative; height: 14px; cursor: pointer; }
.player__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--bg); box-shadow: 0 -1px 0 var(--sh), 0 1px 0 var(--hi); }
.player__bar span { position: absolute; left: 0; top: 5px; height: 4px; width: 0; background: var(--fg); }
.player__controls { display: flex; justify-content: center; gap: 2ch; }
.player__note { text-align: center; color: var(--mut); margin: 0; min-height: 1.5em; }
.player__note a { text-decoration: underline; text-underline-offset: 3px; }
.listen__meta { max-width: 1000px; margin: 0 auto; font-weight: 700; color: var(--mut); flex-wrap: wrap; }
.listen__embed { max-width: 1000px; margin: var(--gut) auto 0; }
.listen__embed iframe { width: 100%; border: 0; border-radius: 14px; }
.listen__links { max-width: 1000px; margin: calc(var(--gut) * 1.2) auto 0; flex-wrap: wrap; font-weight: 700; padding-top: var(--gut); border-top: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.listen__links a { opacity: .65; transition: opacity .2s; }
.listen__links a:hover { opacity: 1; }

/* ---------- 04 Letras ---------- */
.lyrics__grid { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 8fr); gap: calc(var(--gut) * 1.5); min-height: 70vh; }
.lyrics__list li button { width: 100%; display: flex; gap: 2ch; padding: .55em 0; font-weight: 700; opacity: .45; transition: opacity .25s, padding .4s var(--ease); text-align: left; }
.lyrics__list li button:hover { opacity: .85; }
.lyrics__list li.is-current button { opacity: 1; padding-left: 1.5ch; }
.lyrics__stage { position: relative; display: grid; align-items: center; }
.lyrics__ghost { position: absolute; inset: 0; width: 100%; height: 100%; }
.lyrics__text { position: relative; font-weight: 700; font-size: clamp(12px, 1.25vw, 19px); line-height: 1.9; max-width: 1000px; width: 100%; margin: 0 auto; }
.lyrics__text .row { min-height: 1.9em; }
.lyrics__text .row span { opacity: 0; transform: translateY(.4em); filter: blur(4px); transition: opacity .5s, transform .6s var(--ease), filter .5s; }
.lyrics__text.is-in .row span { opacity: 1; transform: none; filter: none; }
.lyrics__empty { text-align: center; color: var(--mut); }

/* ---------- 05 Tour ---------- */
.tour__list li { border-top: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.tour__list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.tour__row { display: grid; grid-template-columns: 11ch minmax(0, 4fr) minmax(0, 3fr) auto; align-items: center; gap: 2ch; padding: 1.3em 0; font-weight: 700; transition: padding .45s var(--ease); }
.tour__row:hover { padding-left: 1.5ch; padding-right: 1.5ch; }
.tour__date { font-size: 1.2em; }
.tour__city { font-family: var(--sub); font-size: clamp(18px, 2.4vw, 38px); line-height: 1; letter-spacing: 0; }
.tour__venue { color: var(--mut); }
.tour__tag { font-size: .8em; padding: .2em .7em; border: 1px solid currentColor; border-radius: 99px; margin-left: 1ch; vertical-align: middle; }
.tour__empty { padding: 2em 0; color: var(--mut); text-align: center; }
.tour__past { margin-top: calc(var(--gut) * 1.5); }
.tour__past summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--mut); padding: 1em 0; }
.tour__past summary::-webkit-details-marker { display: none; }
.tour__list--past .tour__row { opacity: .55; }
.tour__flyer { position: fixed; left: 0; top: 0; width: 220px; z-index: 40; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .25s, transform .4s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.tour__flyer.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }

/* ---------- 06 Videos ---------- */
.videos__main { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; margin: 0 auto var(--gut); background: #000; overflow: hidden; }
.videos__main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard { position: relative; display: block; overflow: hidden; color: var(--paper); }
.vcard canvas, .vcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard__info { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--gut); display: flex; justify-content: space-between; align-items: end; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.vcard__title { font-family: var(--sub); font-size: clamp(22px, 4vw, 64px); line-height: .95; }
.vcard__play { width: clamp(56px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 1.4em; transition: transform .4s var(--ease), background .3s, color .3s; }
.vcard:hover .vcard__play { transform: scale(1.1); background: var(--paper); color: var(--night); }
.videos__strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.videos__strip .vcard { aspect-ratio: 4 / 5; }
.videos__strip .vcard__title { font-size: clamp(16px, 1.6vw, 26px); }
.videos__strip .vcard.is-current { outline: 1px solid var(--paper); outline-offset: 4px; }
.videos__strip .vcard img { filter: grayscale(1) contrast(1.1); transition: filter .4s, transform .8s var(--ease); }
.videos__strip .vcard:hover img { filter: none; transform: scale(1.04); }

/* ---------- 07 Merch ---------- */
.merch__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.product { display: block; }
.product__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.product__img canvas { width: 100%; height: 100%; display: block; }
.product__meta { display: flex; justify-content: space-between; gap: 1ch; padding: 1em 0; font-weight: 700; border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.product__meta small { display: block; color: var(--mut); font-size: 1em; font-weight: 400; }
.merch__foot { justify-content: center; margin-top: calc(var(--gut) * 1.5); }

/* ---------- 08 Galería ---------- */
.gallery { overflow: hidden; }
.gallery__track { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; cursor: grab; user-select: none; scroll-snap-type: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-drag { cursor: grabbing; }
.gallery__track canvas { flex: none; height: 68vh; width: auto; display: block; }
.gallery__hint { margin-top: var(--gut); color: var(--mut); font-weight: 700; }

/* ---------- 09 Discografía ---------- */
.disco__list li { position: relative; }
.disco__item { display: grid; grid-template-columns: 8ch minmax(0, 1fr) 14ch 12ch; gap: 2ch; align-items: baseline; padding: .9em 0; font-weight: 700; border-top: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); transition: padding .5s var(--ease); }
.disco__item:hover { padding-left: 2ch; }
.disco__title { font-family: var(--sub); font-size: clamp(18px, 3vw, 46px); line-height: 1.05; letter-spacing: 0; }
.disco__type, .disco__alt { color: var(--mut); text-align: right; }
.disco__list li:first-child .disco__title { color: var(--acc); }

/* ---------- 10 Bio ---------- */
.bio__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: calc(var(--gut) * 1.5); align-items: start; }
.bio__photo { width: 100%; aspect-ratio: 636 / 750; height: auto; display: block; position: sticky; top: 100px; }
.bio__text p { margin: 0 0 1.6em; font-size: clamp(15px, 1.7vw, 26px); line-height: 1.4; font-weight: 700; text-align: justify; text-align-last: justify; hyphens: auto; }
.bio__text p:last-child { text-align-last: left; }

/* ---------- 11 Prensa ---------- */
.press__list li a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) auto; gap: 2ch; padding: 1.4em 0; border-top: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); font-weight: 700; align-items: baseline; transition: padding .45s var(--ease); }
.press__list li:last-child a { border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.press__list li a:hover { padding-left: 1.5ch; }
.press__medio { color: var(--mut); }
.press__titulo { font-family: var(--sub); font-size: clamp(16px, 1.8vw, 28px); line-height: 1.15; letter-spacing: 0; }
.press__foot { justify-content: center; margin-top: calc(var(--gut) * 1.5); }

/* ---------- 12 Contacto ---------- */
.contact { display: flex; flex-direction: column; }
.contact__list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2ch; padding: 1.2em 0; border-top: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); font-weight: 700; align-items: baseline; }
.contact__list li a { font-family: var(--sub); font-size: clamp(16px, 2.2vw, 34px); text-align: right; letter-spacing: 0; text-transform: none; }
.contact__list li a:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact__list .c-area { color: var(--mut); }
.contact__social { font-weight: 700; padding: 1.4em 0; border-top: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); flex-wrap: wrap; }
.contact__social a:hover { text-decoration: line-through; }
.contact__eye { aspect-ratio: 1472 / 766; height: auto; width: min(100%, 900px); margin: calc(var(--gut) * 2) auto; }
.footer { margin-top: auto; color: var(--mut); font-weight: 700; padding-top: var(--gut); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform 1.1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav { justify-content: space-between; }
}
@media (max-width: 860px) {
  :root { --fs: 12px; }
  .sec { padding-top: 96px; min-height: auto; padding-bottom: 72px; }
  .hero { min-height: 100svh; }
  .hero__line { flex-wrap: wrap; justify-content: space-between; row-gap: .4em; }
  .hero__line .spread { flex-basis: 100%; order: -1; font-size: 1.4em; }
  .album__grid, .lyrics__grid, .bio__grid { grid-template-columns: 1fr; }
  .lyrics__list { display: flex; overflow-x: auto; gap: 2ch; scrollbar-width: none; }
  .lyrics__list li { flex: none; }
  .lyrics__list li.is-current button { padding-left: 0; text-decoration: underline; text-underline-offset: 5px; }
  .lyrics__text { font-size: 11px; }
  .tour__row { grid-template-columns: 1fr auto; row-gap: .4em; }
  .tour__date { grid-column: 1 / -1; }
  .tour__venue { grid-column: 1; }
  .tour__row .btn { grid-row: 2 / 4; grid-column: 2; padding: .9em 1.4em; }
  .merch__grid { grid-template-columns: 1fr; }
  .gallery__track canvas { height: 52vh; }
  .disco__item { grid-template-columns: 5ch minmax(0, 1fr) auto; }
  .disco__alt { display: none; }
  .bio__photo { position: relative; top: 0; }
  .bio__text p { text-align-last: left; }
  .press__list li a { grid-template-columns: 1fr auto; }
  .press__medio { grid-column: 1 / -1; }
  .contact__list li { grid-template-columns: 1fr; gap: .3em; }
  .contact__list li a { text-align: left; }
  .tour__flyer { display: none; }
  .nav__mini-player { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   MULTIPÁGINA
   ========================================================================== */
/* Mientras llega la cortina de la página anterior, no mostrar el contenido */
html.arriving body > main { visibility: hidden; }
html.arriving body { background: transparent; }

/* Inicio: exactamente una pantalla, sin scroll */
body[data-page="inicio"] { overflow: hidden; }
body[data-page="inicio"] .hero {
  height: 100vh; height: 100svh; min-height: 0; overflow: hidden;
  padding-top: 84px; padding-bottom: var(--gut); gap: clamp(14px, 3vh, 40px); justify-content: space-between;
}
body[data-page="inicio"] .hero__logo {
  flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center;
}
body[data-page="inicio"] .hero__logo canvas {
  width: auto; height: 100%; max-width: min(100%, 1500px); max-height: 100%; aspect-ratio: 1820 / 812;
}
/* Última fila: coordenadas | botones | ©, centrados verticalmente entre sí y pegados abajo */
body[data-page="inicio"] .hero__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 2ch;
}
body[data-page="inicio"] .hero__coords { justify-self: start; white-space: nowrap; }
body[data-page="inicio"] .hero__copy { justify-self: end; white-space: nowrap; }
body[data-page="inicio"] .hero__line { margin-top: auto; }

/* Pie de página (todas las páginas con scroll): su color propio hace el cambio de fondo al bajar */
.site-foot { min-height: 70vh; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--gut); padding-top: calc(var(--gut) * 2); }
.site-foot__eye { width: min(80%, 620px); aspect-ratio: 1472 / 766; height: auto; margin: 0 auto auto; }
.site-foot__social { font-weight: 700; padding: 1.2em 0; border-top: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); flex-wrap: wrap; }
.site-foot__social a:hover { text-decoration: line-through; }
.site-foot .footer { margin-top: 0; }
@media (max-width: 860px) {
  body[data-page="inicio"] .hero__foot { grid-template-columns: 1fr; justify-items: center; gap: .4em; font-size: 10px; }
  body[data-page="inicio"] .hero__cta { order: -1; margin-bottom: .8em; font-size: 12px; }
  body[data-page="inicio"] .hero__coords, body[data-page="inicio"] .hero__copy { justify-self: center; }
}

/* Videos embebidos */
.videos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__meta { padding: 1em 0; font-weight: 700; border-bottom: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); }
.video__meta span:first-child { color: var(--mut); }
.video__title { font-family: var(--sub); font-size: clamp(18px, 2vw, 32px); letter-spacing: 0; }
.videos__foot { justify-content: center; margin-top: calc(var(--gut) * 1.5); }
@media (max-width: 860px) { .videos__grid { grid-template-columns: 1fr; } }

/* Botón FLYER en las fechas */
button.tour__tag { font: inherit; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--fg); cursor: pointer; transition: background .25s, color .25s; }
button.tour__tag:hover, button.tour__tag:focus-visible { background: var(--fg); color: var(--bg); }

/* Lightbox del flyer */
.lightbox {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 64px var(--gut) var(--gut);
  background: rgba(10, 10, 10, .88); opacity: 0; transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__img {
  height: calc(100vh - 100px); max-height: 1400px; width: auto; max-width: 100%; object-fit: contain;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); transform: scale(.96); transition: transform .4s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: var(--gut); color: #ECEAE5; font-weight: 700; letter-spacing: .14em; }
html.lightbox-open, html.lightbox-open body { overflow: hidden; }
@media (max-width: 860px) { .lightbox__img { width: 100%; height: auto; max-height: calc(100vh - 100px); } }

/* Escuchar: reproductor compacto de Spotify debajo de los controles (fuente del audio) */
.player__spotify { max-width: 520px; width: 100%; margin: 0 auto; }
.player__spotify iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }

/* Créditos: link a Decimal */
.credits__link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.credits__link:hover { color: var(--fg); }
