/* ==========================================================================
   POP PESADO — Listening Experience
   Tokens
========================================================================== */
@font-face{ font-family:'Benguiat Book';   src:url('../img/tipografia/ITCBenguiatStdBookCn.OTF') format('opentype');   font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Benguiat Book';   src:url('../img/tipografia/ITCBenguiatStdBookCnIt.OTF') format('opentype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face{ font-family:'Benguiat Medium'; src:url('../img/tipografia/ITCBenguiatStdMediumCn.OTF') format('opentype');   font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:'Benguiat Medium'; src:url('../img/tipografia/ITCBenguiatStdMediumCnIt.OTF') format('opentype'); font-weight:500; font-style:italic; font-display:swap; }
@font-face{ font-family:'Benguiat Bold';   src:url('../img/tipografia/ITCBenguiatStdBoldCn.OTF') format('opentype');   font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Benguiat Bold';   src:url('../img/tipografia/ITCBenguiatStdBoldCnIt.OTF') format('opentype'); font-weight:700; font-style:italic; font-display:swap; }

:root{
  --black:      #0c0b0a;
  --black-deep: #060504;
  --bone:       #f4efe4;
  --bone-dim:   #ab9d8c;
  --bone-faint: #6f6355;
  --wine:       #7c2230;
  --bronze:     #8c7c5e;
  --line:       rgba(244,239,228,.14);
  --line-soft:  rgba(244,239,228,.07);
  --line-on-light: rgba(12,11,10,.12);

  --display:    'Benguiat Bold', Georgia, serif;
  --display-md: 'Benguiat Medium', Georgia, serif;
  --display-bk: 'Benguiat Book', Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1320px;
  --header-h: clamp(64px, 8vh, 92px);
  --ease-out: cubic-bezier(.16,.8,.24,1);
  --ease-out-soft: cubic-bezier(.22,.68,.32,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:auto; }
/* while present, the hero is the only thing reachable — no scrolling past
   it until "Explorar el disco" is pressed */
html.scroll-locked, html.scroll-locked body{ height:100%; overflow:hidden; }
body{
  margin:0; background:var(--black); color:var(--bone);
  font-family:var(--body); font-weight:500; line-height:1.55;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; background:none; border:none; color:inherit; cursor:pointer; padding:0; }
img{ display:block; max-width:100%; }
::selection{ background:var(--wine); color:var(--bone); }
:focus-visible{ outline:2px solid var(--bronze); outline-offset:3px; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 clamp(20px,5vw,56px); }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

/* ==========================================================================
   Custom cursor (desktop, fine pointer only)
========================================================================== */
.cursor-dot{
  position:fixed; top:0; left:0; width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(244,239,228,.7); pointer-events:none; z-index:999;
  display:flex; align-items:center; justify-content:center;
  transform:translate(-50%,-50%); mix-blend-mode:difference;
  transition:width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s var(--ease-out);
  will-change:transform;
}
.cursor-dot span{
  font-family:var(--display-md); font-size:9.5px; letter-spacing:.08em; text-transform:uppercase;
  opacity:0; transform:scale(.6); transition:opacity .2s var(--ease-out), transform .2s var(--ease-out);
  white-space:nowrap; color:var(--bone);
}
.cursor-dot.is-label{ width:64px; height:64px; border-color:var(--bone); background:rgba(12,11,10,.35); }
.cursor-dot.is-label span{ opacity:1; transform:scale(1); }
html.has-fine-cursor, html.has-fine-cursor a, html.has-fine-cursor button{ cursor:none; }
@media (pointer:coarse){ .cursor-dot{ display:none !important; } }

/* ==========================================================================
   Header
========================================================================== */
.site-header{
  position:absolute; top:0; left:0; right:0; z-index:60; min-height:var(--header-h);
  display:flex; align-items:center; mix-blend-mode:normal;
}
.site-header .wrap{ display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; width:100%; }
.site-header .wrap > a{ grid-column:2; justify-self:center; }
.site-logo{ height:clamp(90px,11vw,130px); width:auto; display:block; filter:drop-shadow(0 4px 16px rgba(0,0,0,.85)); transition:filter .3s var(--ease-out); }
.site-logo.for-light{ display:none; }
.site-header.theme-light .site-logo.for-dark{ display:none; }
.hero-nav{
  position:absolute; right:clamp(20px,5vw,56px); bottom:clamp(28px,5.4vh,56px); z-index:4;
  display:flex; flex-direction:column; align-items:flex-end; gap:8px;
}
.hero-nav #nav-tracklist{
  font-family:var(--display-md); font-size:12.5px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--bone-dim); display:inline-block; padding:2px 0; text-decoration:none;
  transition:color .25s var(--ease-out);
}
.hero-nav #nav-tracklist:hover{ color:var(--bone); }

/* ==========================================================================
   HERO
========================================================================== */
.hero{
  position:relative; height:100svh; min-height:560px; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end;
  visibility:hidden;
}
.hero.is-ready{ visibility:visible; }
.hero-bg{
  position:absolute; inset:0; z-index:0; opacity:0; transform:scale(1.06);
  background:#0d0b09;
}
.hero-bg img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; filter:grayscale(.08) contrast(1.04); }
.hero-bg::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(6,5,4,.1) 0%, rgba(6,5,4,.2) 55%, rgba(6,5,4,.6) 100%);
}
.hero-portrait{
  position:absolute; inset:0; z-index:1; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:translateY(40px) scale(.96);
}
.hero-portrait-photo{
  max-height:76%; max-width:92vw; width:auto; height:auto; object-fit:contain; filter:grayscale(.1) contrast(1.03);
  transform:translateY(-9vh) rotate(90deg);
}
.hero-pop-logo{
  position:absolute; left:50%; top:40%; transform:translateX(-50%);
  width:clamp(172px,80vw,700px); height:auto; z-index:100; pointer-events:none;
  filter:brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0,0,0,.55));
}
.hero::after{
  content:''; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(180deg, rgba(6,5,4,.04) 0%, rgba(6,5,4,.11) 40%, rgba(6,5,4,.54) 62%, rgba(6,5,4,.8) 100%);
}
.hero-rivets{ position:absolute; inset:0; z-index:3; pointer-events:none; }
.hero-rivet{
  position:absolute; width:clamp(100px,12vw,180px); height:auto;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.5));
}
.hero-rivet::before{
  content:''; position:absolute; inset:6%; z-index:-1;
  background:#0c0b0a; border-radius:50%;
}
.hero-rivet.rivet-tl{ top:clamp(28px,6vh,52px); left:clamp(54px,12vw,150px); transform:rotate(-8deg); width:clamp(90px,11vw,160px); }
.hero-rivet.rivet-bl{ bottom:clamp(70px,14vh,140px); left:clamp(24px,7vw,80px); transform:rotate(6deg); width:clamp(120px,14vw,205px); }
.hero-rivet.rivet-tr{ top:clamp(64px,11vh,110px); right:clamp(28px,6vw,64px); transform:rotate(4deg); width:clamp(105px,12.5vw,185px); }
.hero-rivet.rivet-br{ bottom:clamp(260px,27vh,360px); right:clamp(50px,11vw,140px); transform:rotate(-5deg); width:clamp(100px,12vw,175px); }
.hero-copy{
  position:relative; z-index:3; text-align:center; padding:0 clamp(20px,5vw,56px) clamp(40px,7vh,72px);
  margin-top:auto; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px; width:100%;
}
.hero-actions{
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
}
.hero-kicker{
  display:block; font-family:var(--display-md); font-size:12.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--bone-dim); margin:0; opacity:0; transform:translateY(16px);
}
.hero-sub{
  max-width:340px; margin:0; text-align:left; font-size:clamp(13.5px,1.6vw,15.5px); color:var(--bone);
  opacity:0; transform:translateY(16px); text-shadow:0 2px 14px rgba(0,0,0,.7);
}
.scroll-cue{
  display:inline-flex; align-items:center; gap:9px; margin-top:14px;
  font-family:var(--display-md); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--black); background:var(--bone); border:1px solid var(--bone); padding:11px 18px 11px 20px; border-radius:999px;
  opacity:0; transform:translateY(16px);
  transition:border-color .25s var(--ease-out), color .25s var(--ease-out), background .25s var(--ease-out);
  text-decoration:none;
}
.scroll-cue.btn-press-release{
  margin-top:4px; padding:11px 22px; cursor:pointer;
}
.scroll-cue:hover{ border-color:var(--bronze); background:var(--bronze); color:var(--black); }
.scroll-cue svg{ width:13px; height:13px; animation:cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(4px); } }
@media (max-width:640px){
  .hero-copy{
    grid-template-columns:1fr; justify-items:center; text-align:center; gap:18px;
    padding-bottom:clamp(72px,14vh,100px);
  }
  .hero-actions{ order:1; }
  .hero-sub{ order:2; max-width:90%; text-align:center; font-size:12px; }
  .hero-portrait-photo{ max-height:76%; }
  .hero-nav{
    left:50%; right:auto; bottom:clamp(16px,3vh,28px); transform:translateX(-50%);
  }
  .hero-nav #nav-tracklist{
    display:none !important;
  }
}

/* ==========================================================================
   LISTENING EXPERIENCE
========================================================================== */
.listening{
  position:relative; height:100vh; height:100svh; overflow:hidden;
  padding-top:clamp(66px,9vh,96px);
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
}
.listening-bg{
  position:absolute; inset:0; z-index:0; opacity:0;
}
.listening-bg img{ display:block; width:100%; height:100%; object-fit:cover; object-position:center top; }
.listening-bg::after{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(60% 50% at 50% 8%, rgba(12,11,10,.15), transparent 70%),
    linear-gradient(180deg, rgba(6,5,4,.42) 0%, rgba(6,5,4,.18) 30%, rgba(6,5,4,.4) 78%, rgba(6,5,4,.85) 100%);
}

/* ---- vertical infinite marquee behind the vinyl (not overlapping the cards) ---- */
.marquee{
  position:absolute; left:0; right:0; bottom:0; top:clamp(210px,38vh,320px);
  z-index:1; overflow:hidden; pointer-events:none;
  -webkit-mask-image:linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image:linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}
.marquee-track{
  position:absolute; left:0; right:0; top:0; text-align:center;
  font-size:80px; /* JS rescales this per-title so every line spans the full width */
}
.marquee-track span{
  display:block; font-family:var(--display); font-weight:700;
  width:max-content; position:relative; left:50%; transform:translateX(-50%);
  line-height:1.25; color:var(--bone); opacity:.28;
  white-space:nowrap;
}

/* fixed height reserved regardless of content, so the vinyl below never
   shifts up/down depending on whether the current track has a "ft." line */
.track-info{
  position:relative; z-index:2; text-align:center; margin-bottom:clamp(10px,2vh,18px);
  height:clamp(110px,17vh,190px);
}
.track-info .t-count{
  display:inline-flex; align-items:baseline; gap:.35em;
  font-family:var(--display-md); font-size:12px; letter-spacing:.14em; color:var(--bone);
}
.track-info .t-count .text-reveal{ line-height:1; }
.track-info .t-count-num{ display:block; }
.track-info .t-name-wrap{ overflow:hidden; margin-top:4px; }
.track-info .t-name{
  display:block; font-family:var(--display); font-weight:700; color:var(--black);
  font-size:clamp(44px,6.8vh,88px); margin:0; letter-spacing:-.01em;
}
.track-info .t-feat{
  display:block; margin-top:3px; font-size:12.5px; color:var(--bone); font-weight:600;
  min-height:1.4em; visibility:hidden;
}
.track-info .t-feat.has-feat{ visibility:visible; }

/* ---- carousel ---- */
.carousel-stage{
  --card-gap:108px;
  position:relative; z-index:2; width:100%;
  height:clamp(340px,54vh,560px);
  display:flex; align-items:center; justify-content:center;
  touch-action:pan-y; cursor:grab; outline:none;
}
.carousel-stage:active{ cursor:grabbing; }
.carousel-track{ position:relative; width:100%; height:100%; perspective:1400px; }
.track-card{
  position:absolute; top:50%; left:50%;
  width:clamp(280px,31vw,440px);
  height:clamp(320px,42vh,440px);
  padding:16px 18px;
  background:#ded4c4; color:var(--black);
  border:1px solid #c5b69f;
  border-radius:16px;
  will-change:transform, opacity;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  pointer-events:auto;
  transition:background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.track-card .c-num{ font-family:var(--display-md); font-size:12px; color:var(--wine); letter-spacing:.06em; }
.track-card .c-title{
  margin:6px 0 0; font-family:var(--display); font-weight:700; font-size:clamp(18px,2.1vw,26px);
  line-height:1.2; overflow-wrap:break-word;
}
.track-card .c-feat{ display:block; margin-top:2px; font-size:12px; color:var(--bone-faint); font-weight:600; }
.track-card .c-dur{ display:block; margin-top:10px; font-family:var(--display-md); font-size:12px; color:var(--bone-faint); }

/* ---- track card that IS the video (no title/duration — that's already
   shown above in .track-info) ---- */
.track-card.has-video{
  padding:0; background:#0c0b0a; overflow:hidden;
  height:auto; aspect-ratio:4/3; /* matches the source video — full width, no side-cropping */
}
.track-card.has-video .c-media{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  border-radius:16px;
}
.track-card.has-video .c-status{
  top:14px; right:14px; width:26px; height:26px; border-radius:50%;
  background:rgba(12,11,10,.55); backdrop-filter:blur(3px); color:var(--bone);
}
.track-card.has-video .c-status .icon-play{ width:12px; height:12px; }
/* not playing yet: a big, centered, unmissable "tap to play" target —
   once it's actually playing the badge shrinks back to the corner (below) */
.track-card.has-video.is-active:not(.is-playing) .c-status{
  top:50%; left:50%; right:auto; transform:translate(-50%,-50%);
  width:60px; height:60px;
  background:rgba(12,11,10,.6); border:1px solid rgba(244,239,228,.35);
}
.track-card.has-video.is-active:not(.is-playing) .c-status .icon-play{
  width:22px; height:22px; margin-left:2px; /* optical centering of the triangle */
}
.track-card .c-status{ position:absolute; top:12px; right:12px; width:16px; height:16px; display:none; align-items:center; justify-content:center; }
.track-card .c-status .icon-play{ width:10px; height:10px; }
.track-card .c-status .icon-eq{ display:none; align-items:flex-end; gap:2px; height:11px; }
.track-card .c-status .icon-eq i{ width:2.5px; background:currentColor; border-radius:1px; animation:eqBar .9s ease-in-out infinite; }
.track-card .c-status .icon-eq i:nth-child(1){ height:40%; animation-delay:0s; }
.track-card .c-status .icon-eq i:nth-child(2){ height:100%; animation-delay:.18s; }
.track-card .c-status .icon-eq i:nth-child(3){ height:65%; animation-delay:.36s; }
@keyframes eqBar{ 0%,100%{ transform:scaleY(.35); } 50%{ transform:scaleY(1); } }

.track-card.is-active{
  background:var(--bone); border-color:var(--bone); color:var(--black);
}
.track-card.is-active .c-num{ color:var(--wine); }
.track-card.is-active .c-feat{ color:var(--bone-faint); }
.track-card.is-active .c-dur{ color:var(--bone-faint); }
.track-card.is-active .c-status{ display:flex; color:var(--wine); }
.track-card.is-active.is-playing .c-status .icon-play{ display:none; }
.track-card.is-active.is-playing .c-status .icon-eq{ display:flex; }

/* video cards keep their own dark styling even when active — the beige
   "is-active" treatment above is for the plain text cards only */
.track-card.has-video.is-active{ background:#0c0b0a; border-color:var(--line); }
.track-card.has-video.is-active .c-status{ color:var(--bone); }

/* ---- youtube-backed card (LOBO, Moreno Fantasy) — same box as a local
   <video> card; the iframe is force-cropped to cover the 4:3 frame ---- */
.track-card.has-video .c-media-yt{ background-size:cover; background-position:center; pointer-events:none; }
.track-card.has-video .c-media-yt .yt-mount,
.track-card.has-video .c-media-yt iframe{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  /* iframe box kept at the source's 16:9 so YT doesn't letterbox it, sized
     to cover the card's own aspect-ratio (4:3 here, 4:5 on mobile below) —
     width% is height(=100% of card) * 16/9, expressed against card width. */
  width:134%; height:100%; border:0;
}

/* ---- fullscreen toggle (youtube cards only) — mirrors .c-status's badge
   look, opposite corner; expand/collapse icon swap driven purely by the
   :fullscreen pseudo-class, no JS state to keep in sync ---- */
.c-fullscreen-btn{
  position:absolute; top:14px; left:14px; z-index:6;
  display:flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%; pointer-events:auto;
  background:rgba(12,11,10,.55); backdrop-filter:blur(3px); color:var(--bone);
  transition:background .2s var(--ease-out), transform .2s var(--ease-out);
}
.c-fullscreen-btn:hover{ background:rgba(12,11,10,.8); }
.c-fullscreen-btn:active{ transform:scale(.9); }
.c-fullscreen-btn svg{ width:12px; height:12px; }
.c-fullscreen-btn .icon-collapse{ display:none; }

/* while fullscreen, .c-media-yt itself becomes the fullscreen element — its
   background thumbnail and the cropped-cover iframe hack both revert to a
   plain letterboxed fit so the whole video is actually visible */
.c-media-yt:fullscreen,
.c-media-yt:-webkit-full-screen{ background-image:none; background-color:#000; }
.c-media-yt:fullscreen .yt-mount, .c-media-yt:fullscreen iframe,
.c-media-yt:-webkit-full-screen .yt-mount, .c-media-yt:-webkit-full-screen iframe{
  position:absolute; top:0; left:0; transform:none; width:100%; height:100%;
}
.c-media-yt:fullscreen .c-fullscreen-btn .icon-expand,
.c-media-yt:-webkit-full-screen .c-fullscreen-btn .icon-expand{ display:none; }
.c-media-yt:fullscreen .c-fullscreen-btn .icon-collapse,
.c-media-yt:-webkit-full-screen .c-fullscreen-btn .icon-collapse{ display:flex; }

/* ---- carousel prev/next buttons ---- */
.carousel-nav{
  position:absolute; inset:0; z-index:250;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 clamp(4px,2vw,16px);
  pointer-events:none;
}
.carousel-nav-btn{
  pointer-events:auto;
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  color:var(--bone); background:rgba(12,11,10,.5);
  border:1px solid var(--line-soft);
  backdrop-filter:blur(6px);
  transition:background .2s var(--ease-out), transform .2s var(--ease-out), opacity .2s var(--ease-out);
}
.carousel-nav-btn:hover{ background:rgba(244,239,228,.16); }
.carousel-nav-btn:active{ transform:scale(.92); }
.carousel-nav-btn svg{ width:16px; height:16px; }
.carousel-nav-btn:disabled{ opacity:.2; pointer-events:none; }
@media (max-width:640px){
  .carousel-nav-btn{ width:36px; height:36px; }
  .carousel-nav-btn svg{ width:14px; height:14px; }
}

/* ---- minimal status bar (below the cards, above the vinyl) ---- */
.mini-status{
  position:relative; z-index:2; margin-top:clamp(6px,1.6vh,16px);
  align-items:center; gap:10px;
  display:none; /* hidden for now while we figure out where it lives — see feedback */
  background:rgba(8,7,6,.6); border:1px solid var(--line-soft);
  border-radius:999px; padding:8px 10px 8px 18px;
  font-family:var(--display-md); font-size:12.5px; color:var(--bone-dim);
  backdrop-filter:blur(6px);
}
.mini-status .status-time{ letter-spacing:.02em; }
.mini-status .status-btn{
  display:flex; align-items:center; justify-content:center; color:var(--bone);
  width:30px; height:30px; border-radius:50%; background:rgba(244,239,228,.08);
  transition:background .2s var(--ease-out), transform .2s var(--ease-out);
}
.mini-status .status-btn:hover{ background:rgba(244,239,228,.16); }
.mini-status .status-btn:active{ transform:scale(.9); }
.mini-status .status-btn svg{ width:12px; height:12px; }

/* ---- scroll hint ---- */
.scroll-hint{
  position:absolute; left:50%; bottom:clamp(18px,3vh,32px); transform:translateX(-50%);
  z-index:4; display:flex; flex-direction:column; align-items:center; gap:6px;
  font-family:var(--display-md); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--bone-dim); opacity:0; transition:opacity .5s var(--ease-out); pointer-events:none;
}
.scroll-hint.is-visible{ opacity:1; }
.scroll-hint svg{ width:13px; height:13px; animation:cue-bob 1.8s ease-in-out infinite; }

/* ---- press release button ---- */
.press-release-wrap{
  position:relative; z-index:10; margin-top:clamp(10px, 2vh, 22px); text-align:center; pointer-events:auto;
}
.btn-press-release{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--display-md); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--black); background:var(--bone); border:1px solid var(--bone); padding:11px 22px; border-radius:999px;
  text-decoration:none; white-space:nowrap;
  transition:border-color .25s var(--ease-out), color .25s var(--ease-out), background .25s var(--ease-out);
  cursor:pointer;
}
.btn-press-release:hover{ border-color:var(--bronze); background:var(--bronze); color:var(--black); }

@media (max-width:640px){
  .track-card{ width:clamp(128px, 42vw, 210px); padding:12px 14px; }
  /* the active video dominates the screen; each neighbor only peeks in
     at the edge as a hint that there's another track — not a full third
     card like on desktop */
  .carousel-stage{ height:clamp(320px, 58vh, 460px); }
  .track-card.has-video{
    width:clamp(230px, 78vw, 300px); height:auto; aspect-ratio:4/5;
  }
  /* narrower (4:5) card here, so the 16:9 iframe needs more relative width
     to still cover it — see the desktop formula in the base rule above. */
  .track-card.has-video .c-media-yt .yt-mount,
  .track-card.has-video .c-media-yt iframe{ width:223%; }
}

/* ---- player (the big in-section pill is retired; only shared button/
   progress primitives remain, reused by the persistent .mini-player) ---- */
.player{ display:none; }
.player-btn{
  display:flex; align-items:center; justify-content:center; color:var(--bone);
  min-width:44px; min-height:44px; border-radius:50%;
  transition:opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.player-btn:hover{ opacity:.7; }
.player-btn:active{ transform:scale(.92); }
.player-btn.play{ width:56px; height:56px; border:1px solid var(--line); border-radius:50%; }
.player-btn.play svg{ width:18px; height:18px; }

.progress-bar{
  position:relative; flex:1; height:20px; display:flex; align-items:center; cursor:pointer; touch-action:none;
}
.progress-bar::before{ content:''; position:absolute; left:0; right:0; height:1px; background:var(--line); }
.progress-fill{ position:absolute; left:0; height:1px; background:var(--bone); width:0%; }
.progress-handle{
  position:absolute; left:0%; width:9px; height:9px; border-radius:50%; background:var(--bone);
  transform:translateX(-50%); transition:transform .15s var(--ease-out);
}
.progress-bar:hover .progress-handle{ transform:translateX(-50%) scale(1.3); }

/* ---- persistent bottom player (full width) ---- */
.mini-player{
  /* retired: track navigation now lives entirely in the carousel's own
     prev/next buttons, so the persistent floating player is hidden. */
  display:none !important;
  position:fixed; left:0; right:0; bottom:0; z-index:70; width:100%;
  padding:14px clamp(20px,4vw,48px);
  padding-bottom:calc(14px + env(safe-area-inset-bottom));
  background:var(--black-deep);
  border-top:1px solid var(--line);
  display:grid; grid-template-columns:minmax(0,1fr) 165px minmax(0,1fr);
  align-items:center; gap:clamp(14px,2.5vw,28px);
  transform:translateY(100%); transition:transform .5s var(--ease-out);
}
.mini-player.is-visible{ transform:translateY(0); }
.mini-player .mp-count{ font-family:var(--display-md); font-size:12px; color:var(--bronze); letter-spacing:.08em; flex:0 0 auto; }
.mini-player .mp-title{
  flex:1 1 auto; min-width:0; font-family:var(--display); font-weight:700; font-size:15px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.mini-player .mp-wave{ display:flex; align-items:flex-end; gap:3px; height:16px; flex:0 0 auto; }
.mini-player .mp-wave i{
  width:3px; background:var(--bone); border-radius:1px; opacity:.55;
  animation:eqBar 1s ease-in-out infinite; animation-play-state:paused;
}
.mini-player .mp-wave i:nth-child(1){ height:35%; animation-delay:0s; }
.mini-player .mp-wave i:nth-child(2){ height:70%; animation-delay:.12s; }
.mini-player .mp-wave i:nth-child(3){ height:100%; animation-delay:.24s; }
.mini-player .mp-wave i:nth-child(4){ height:55%; animation-delay:.36s; }
.mini-player .mp-wave i:nth-child(5){ height:80%; animation-delay:.48s; }
.mini-player.is-playing .mp-wave i{ animation-play-state:running; }
.mini-player .mp-controls{ display:flex; align-items:center; gap:6px; flex:0 0 auto; }
.mini-player .mp-controls .player-btn{ min-width:36px; min-height:36px; }
.mini-player .mp-controls .player-btn.play{ width:40px; height:40px; }
.mini-player .mp-controls .player-btn.play svg{ width:15px; height:15px; }
.mini-player .mp-controls .player-btn.prev svg,
.mini-player .mp-controls .player-btn.next svg{ width:16px; height:16px; }
.mini-player .mp-meta{ display:flex; align-items:center; gap:16px; min-width:0; }
.mini-player .mp-count{ flex:0 0 54px; font-variant-numeric:tabular-nums; }
.mini-player .mp-center{ display:flex; align-items:center; gap:14px; width:165px; }
.mini-player .mp-wave{ width:27px; flex:0 0 27px; }
.mini-player .mp-controls{ width:124px; flex:0 0 124px; }
.mini-player .mp-controls .player-btn{ width:36px; height:40px; flex:0 0 36px; }
.mini-player .mp-controls .player-btn.play{ flex-basis:40px; }
.mini-player .mp-seek{ display:flex; align-items:center; gap:16px; min-width:0; }
.mini-player .progress-bar{ display:flex; flex:1 1 0; min-width:0; }
.mini-player .mp-time{
  font-family:var(--display-md); font-size:11px; color:var(--bone-faint);
  width:96px; flex:0 0 96px; text-align:right; white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
@media (max-width:700px){
  .mini-player{ row-gap:4px; column-gap:12px; }
  .mini-player .mp-count{ display:none; }
  .mini-player .mp-title{ font-size:12px; }
  .mini-player .mp-seek{ grid-column:1 / -1; }
}

/* ==========================================================================
   CLOSING
========================================================================== */
.closing{
  position:relative; background:var(--bone); color:var(--black); padding:clamp(32px,6vh,64px) 0 0;
  overflow:hidden; width:100%; min-height:100vh; min-height:100svh;
  display:flex; flex-direction:column;
}
.closing-marks{ text-align:center; flex:1; display:flex; flex-direction:column; justify-content:center; align-items:center; }
.closing-pop{ width:min(620px,88vw); margin:0 auto; display:block; }
.closing-covers{
  display:flex; flex-direction:row; justify-content:center; align-items:center;
  gap:clamp(16px,3vw,32px); margin:clamp(24px,4vh,40px) auto 0;
  width:100%; max-width:min(640px,90vw);
}
.closing-cover-item{
  position:relative;
  flex:1 1 0; width:50%; max-width:300px; aspect-ratio:1 / 1;
  border-radius:16px;
  border:1px solid #0c0b0a;
  overflow:hidden;
  display:block;
  text-decoration:none;
  cursor:pointer;
  background:#0c0b0a;
}
.closing-cover-item img{
  width:100%; height:100%; object-fit:cover; display:block;
  border-radius:15px;
}
.cover-download-badge{
  position:absolute; bottom:12px; right:12px;
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 13px; border-radius:999px;
  background:var(--bone); color:var(--black);
  border:1px solid var(--bone);
  font-family:var(--display-md); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  box-shadow:0 2px 10px rgba(0,0,0,.35);
  pointer-events:none;
  transition:background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.cover-download-badge svg{ width:12px; height:12px; }
.closing-cover-item:hover .cover-download-badge{
  background:var(--bronze);
  border-color:var(--bronze);
  color:var(--black);
}
@media (max-width:640px){
  .closing-covers{ flex-direction:column; align-items:center; gap:20px; }
  .closing-cover-item{ width:100%; max-width:280px; flex:none; border-radius:14px; }
  .closing-cover-item img{ border-radius:13px; }
  .cover-download-badge{ padding:6px 12px; font-size:11px; bottom:10px; right:10px; gap:6px; }
  .cover-download-badge svg{ width:11px; height:11px; }
}
.closing-emjay{ height:clamp(50px,6.25vw,75px); margin:28px auto 0; opacity:.85; }
.closing-cta{ text-align:center; margin-top:clamp(30px,5vh,54px); font-family:var(--display-md); font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:rgba(12,11,10,.5); }
.platforms{
  display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:24px;
}
.platform-btn{
  font-family:var(--display-md); font-size:13px; letter-spacing:.04em;
  padding:14px 30px; border:1px solid var(--line-on-light); border-radius:999px;
  position:relative; overflow:hidden;
  transition:border-color .25s var(--ease-out), color .25s var(--ease-out);
}
.platform-btn span{ position:relative; z-index:1; }
.platform-btn::after{
  content:''; position:absolute; inset:0; background:var(--black); transform:translateY(101%);
  transition:transform .3s var(--ease-out); z-index:0;
}
.platform-btn:hover{ color:var(--bone); }
.platform-btn:hover::after{ transform:translateY(0); }

footer.site-footer{ margin-top:clamp(24px,4vh,40px); border-top:1px solid var(--line-on-light); padding:26px 0; }
footer.site-footer .wrap{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
footer.site-footer .footer-credits{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 14px; }
footer.site-footer .credit{ font-size:12.5px; color:rgba(12,11,10,.55); font-weight:600; }

.social-links{ display:flex; align-items:center; gap:10px; }
.social-btn{
  display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:50%; color:rgba(12,11,10,.55);
  border:1px solid var(--line-on-light);
  transition:color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.social-btn svg{ width:16px; height:16px; }
.social-btn:hover{ color:var(--black); border-color:var(--black); }
.social-btn:active{ transform:scale(.9); }

/* ==========================================================================
   Utility: text reveal wrapper
========================================================================== */
.text-reveal{ overflow:hidden; display:block; }
.text-reveal > *{ display:block; }

@media (max-width:640px){
  .carousel-stage{ --card-gap:20px; }
}

/* Three films, one full-screen stage; page scroll remains native. */
/* hidden: LOBO and Moreno Fantasy moved into the tracks carousel; kept
   in the markup/JS, unused, in case this section comes back later. */
.cinema{ display:none; position:relative; height:400vh; background:var(--black); }
.cinema-sticky{ position:sticky; top:0; height:100vh; height:100svh; overflow:hidden; isolation:isolate; }
.cinema-stage{ position:absolute; inset:0; }
.cinema-panel{ position:absolute; inset:0; overflow:hidden; background:#080706; transform:scale(.8); }
.cinema-media{ position:absolute; inset:0; }
.cinema-media iframe{ position:absolute; top:50%; left:50%; width:max(100vw,177.778vh); height:max(100vh,56.25vw); transform:translate(-50%,-50%); border:0; pointer-events:none; }
.cinema-media video{ width:100%; height:100%; object-fit:cover; }
.cinema-heading,.cinema-caption{ position:absolute; z-index:5; left:0; right:0; padding:32px clamp(20px,5vw,64px); display:flex; justify-content:space-between; gap:24px; color:var(--bone); pointer-events:none; }
.cinema-heading{ top:0; font:12px var(--display-md); letter-spacing:.15em; text-transform:uppercase; background:linear-gradient(#0009,transparent); }
.cinema-count.text-reveal{ line-height:1; }
.cinema-caption{ bottom:0; align-items:flex-end; background:linear-gradient(transparent,#000c); padding-top:80px; }
.cinema-eyebrow{ font:12px var(--display-md); letter-spacing:.16em; text-transform:uppercase; margin:0 0 8px; }
.cinema-title{ font:700 clamp(36px,6vw,88px)/1 var(--display); margin:0 0 16px; }
.cinema-link{ font-size:12px; text-decoration:underline; pointer-events:auto; }
.cinema-controls{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; max-width:460px; }
.cinema-controls button{ pointer-events:auto; padding:12px 18px; border:1px solid #ffffff66; border-radius:999px; color:var(--bone); background:#0c0b0acc; font:12px var(--display-md); }
.cinema-controls button:hover{ background:var(--bone); color:var(--black); }
.cinema-controls button:focus-visible,.cinema-link:focus-visible{ outline:2px solid var(--bone); outline-offset:4px; }
.cinema-status{ font-size:13px; max-width:360px; }
.cinema-status:empty{ display:none; }
@media(max-width:640px){
  .cinema-caption{ flex-direction:column; align-items:flex-start; gap:20px; padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
  .cinema-controls{ justify-content:flex-start; }
  .cinema-controls button{ padding:10px 12px; }
}
