:root {
  --y: #FFD500; --k: #0a0a0a; --r: #c70012; --w: #fff3f3;
  --ink: var(--k); --paper: var(--y);
  --pad: clamp(16px, 3.4vw, 56px);
  --dock-h: 58px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
html[data-theme="y"] { --ink: #0a0a0a; --paper: #FFD500; }
html[data-theme="k"] { --ink: #FFD500; --paper: #0a0a0a; }
html[data-theme="r"] { --ink: #fff3f3; --paper: #b5000f; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: #0a0a0a; scrollbar-width: none; overflow-x: clip; }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; color: var(--ink); background: transparent; transition: color .55s ease;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, svg { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

#liquid { position: fixed; inset: 0; width: 100vw; height: 100lvh; z-index: -1; background: var(--y); }
html.no-gl #liquid { background: var(--paper); transition: background .6s; }

/* boot: a yellow disc kicks on black, then the disc IS the site */
#boot { position: fixed; inset: 0; z-index: 90; background: #0a0a0a; display: grid; place-items: center; }
#boot i { width: 26vmin; height: 26vmin; border-radius: 50%; background: var(--y); }
html.booted #boot { display: none; }

#iris { position: fixed; inset: 0; z-index: 80; background: var(--y); pointer-events: none; clip-path: circle(0 at 50% 100%); }

.title {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .92;
  font-size: clamp(50px, 12.6vw, 210px);
}
section { position: relative; padding: clamp(70px, 11vh, 140px) var(--pad); }

/* brand: one logo, huge in the hero and flying up to the corner */
#brand {
  position: fixed; top: 16px; left: var(--pad); z-index: 60; width: 148px; display: block;
  transform-origin: 0 0; will-change: transform; color: var(--ink); transition: color .55s ease;
}
#brand svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--paper); border-radius: 99px;
  padding: 10px 18px; font-size: 14px; font-weight: 800; letter-spacing: -.01em;
  transition: transform .35s var(--ease), background .55s, color .55s; white-space: nowrap;
}
.pill:hover { transform: scale(1.06); }
.pill:active { transform: scale(.95); }
.pill.big { padding: 15px 26px; font-size: 16px; }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
#tickets { position: fixed; top: 14px; right: var(--pad); z-index: 60; }

/* dock */
#dock {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 62;
  transform: translateX(-50%); height: var(--dock-h); display: flex; align-items: center; gap: 4px; padding: 0 7px;
  background: var(--ink); color: var(--paper); border-radius: 99px; transition: background .55s, color .55s;
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
}
.dock-disc {
  width: 44px; height: 44px; border-radius: 50%; flex: none; position: relative;
  background: repeating-radial-gradient(circle, #111 0 2px, #1d1d1d 2px 4px);
  box-shadow: 0 0 0 2px var(--paper); will-change: transform;
}
.dock-disc i { position: absolute; inset: 31%; border-radius: 50%; background: var(--y); }
.dock-disc i::after { content: ""; position: absolute; left: 50%; top: 8%; width: 3px; height: 24%; background: #0a0a0a; margin-left: -1.5px; }
.dock-links { display: flex; }
.dock-links a { padding: 10px 13px; font-size: 14px; border-radius: 99px; transition: background .3s, color .3s; white-space: nowrap; }
.dock-links a:hover, .dock-links a.on { background: var(--paper); color: var(--ink); }
.dock-menu { display: none; padding: 0 20px; height: 44px; font-size: 15px; }
.dock-cart { position: relative; width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 50%; transition: transform .3s var(--ease); }
.dock-cart:hover { transform: scale(1.12); }
.dock-cart b {
  position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px;
  background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.dock-cart b[hidden] { display: none; }

#menu {
  position: fixed; inset: 0; z-index: 58; background: var(--y); color: #0a0a0a; visibility: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 70px var(--pad) 90px;
  clip-path: circle(0 at 50% 100%);
}
#menu a { font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(42px, 12.8vw, 96px); }

/* hero */
.hero { height: 100lvh; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-foot { padding: 0 var(--pad) calc(var(--dock-h) + 50px); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hope { font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .94; font-size: clamp(40px, 7vw, 116px); }
.next {
  text-align: left; background: #0a0a0a; color: var(--y); padding: 14px 22px 15px; font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; font-size: clamp(14px, 1.4vw, 19px); line-height: 1.12; display: flex; align-items: center; gap: 14px;
  transition: transform .4s var(--ease);
}
.next:hover { transform: translateY(-4px) rotate(-1deg); }
.next em { font-style: normal; font-size: 1.9em; letter-spacing: -.03em; line-height: 1; }

/* semana */
#semana { padding: 0; }
.pin-week { height: 100lvh; padding: clamp(70px, 10vh, 100px) 0 0; display: flex; flex-direction: column; overflow: hidden; }
.pin-week .title { padding: 0 var(--pad); font-size: clamp(50px, 9.4vw, 150px); flex: none; }
.track { display: flex; align-items: flex-start; gap: clamp(16px, 2.4vw, 36px); padding: clamp(14px, 2.6vh, 28px) var(--pad) 0; width: max-content; flex: 1; min-height: 0; will-change: transform; }
.night { flex: none; height: 100%; display: flex; flex-direction: column; gap: 10px; padding-bottom: calc(var(--dock-h) + 30px); perspective: 900px; }
.night-btn { flex: none; display: block; position: relative; transform-style: preserve-3d; will-change: transform; }
.night-btn img, .night-btn video { height: 100%; width: 100%; display: block; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.night-btn video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.night-btn video.on { opacity: 1; }
.night-actions { display: flex; gap: 8px; flex: none; }
.night-actions .pill { padding: 9px 15px; font-size: 13px; }

/* red room */
#redroom { padding: 0; }
.rr-stage { height: 100lvh; display: grid; place-items: center; overflow: hidden; position: relative; }
.rr-door { width: min(86vmin, 820px); height: auto; will-change: transform; box-shadow: 0 0 120px rgba(255,20,60,.55); }
.rr-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: var(--w); z-index: 2; font-size: clamp(64px, 15.4vw, 340px); white-space: nowrap; text-shadow: 0 0 60px rgba(255,30,70,.9); pointer-events: none; }
.rr-list { display: grid; grid-template-columns: minmax(240px, 34vw) 1fr; gap: clamp(20px, 5vw, 90px); padding: 8vh var(--pad) 12vh; align-items: start; margin-top: -72lvh; position: relative; z-index: 3; }
.rr-poster { position: sticky; top: 12vh; }
.rr-poster button { display: block; width: 100%; }
.rr-poster img { width: 100%; height: auto; box-shadow: 18px 18px 0 rgba(0,0,0,.92); }
#rrNames button {
  display: block; text-align: left; width: 100%; font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(32px, 6.4vw, 104px); padding: .05em 0; color: var(--w); opacity: .42; transition: opacity .25s, transform .45s var(--ease);
}
#rrNames button.on, #rrNames button:hover { opacity: 1; transform: translateX(.18em); }

/* cabina */
.deck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-top: clamp(20px, 4vh, 50px); }
.platter-wrap { position: relative; width: min(88%, 60vh); aspect-ratio: 1; justify-self: center; }
.platter {
  position: absolute; inset: 0; border-radius: 50%; cursor: grab; touch-action: none; user-select: none;
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 clamp(6px, 1vw, 12px) #161616, 0 0 0 calc(clamp(6px, 1vw, 12px) + 2px) rgba(255,213,0,.5);
  transition: scale .3s var(--ease);
}
.platter.is-held { cursor: grabbing; scale: .985; }
#record { width: 100%; height: 100%; will-change: transform; border-radius: 50%; }
.tonearm { position: absolute; top: -6%; right: -8%; height: 66%; width: auto; transform-origin: 71.6% 11.3%; pointer-events: none; filter: drop-shadow(0 12px 12px rgba(0,0,0,.6)); will-change: transform; }
.now { font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .96; font-size: clamp(38px, 6.2vw, 104px); min-height: 1.96em; display: flex; align-items: flex-end; }
.deck-bar { height: 5px; background: rgba(255,213,0,.2); margin: 18px 0 20px; }
.deck-bar i { display: block; height: 100%; width: 100%; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; }
.deck-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.crate { display: flex; gap: 10px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.crate::-webkit-scrollbar { display: none; }
.crate button { flex: none; opacity: .55; transition: opacity .25s, transform .4s var(--ease); }
.crate button:hover { opacity: 1; transform: translateY(-5px); }
.crate button.on { opacity: 1; box-shadow: 0 0 0 3px var(--y); }
.crate img { height: clamp(92px, 15vh, 150px); width: auto; }

/* archivo */
#archivo { padding-left: 0; padding-right: 0; }
.wall-head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.search input {
  background: transparent; border: 0; border-bottom: 4px solid var(--ink); color: var(--ink); font: inherit; font-weight: 900; border-radius: 0;
  font-size: clamp(22px, 3.2vw, 46px); padding: 6px 0; width: min(90vw, 560px); letter-spacing: -.02em; outline: none; -webkit-appearance: none;
}
.search input::placeholder { color: var(--ink); opacity: .35; }
.search input::-webkit-search-cancel-button { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 18px var(--pad) 26px; }
.chips button { padding: 8px 14px; border-radius: 99px; font-size: 13.5px; box-shadow: inset 0 0 0 2px var(--ink); transition: background .25s, color .25s, transform .35s var(--ease); }
.chips button:hover { transform: translateY(-2px); }
.chips button.on { background: var(--ink); color: var(--paper); }
.wall { display: flex; flex-direction: column; gap: 10px; }
.row { position: relative; height: clamp(180px, 31vh, 340px); overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; transition: height .5s var(--ease); }
.row.dragging { cursor: grabbing; }
.row.none { height: 0; }
.row img { position: absolute; left: 0; top: 0; height: 100%; width: auto; display: none; will-change: transform; -webkit-user-drag: none; background: #151515; }
.empty { padding: 30px var(--pad); font-size: clamp(30px, 5vw, 80px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; }

/* tienda */
.rack { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(20px, 4vh, 44px); }
.item { grid-column: span 3; background: #efefef; color: #0a0a0a; display: flex; flex-direction: column; will-change: transform; transform-style: preserve-3d; }
.item.lead { grid-column: span 6; grid-row: span 2; }
.item-pic { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.item-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.item-pic img.back { opacity: 0; }
.item-pic.flip img.back { opacity: 1; }
.item-pic.flip img.front { opacity: 0; }
.item-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; justify-content: flex-end; }
.item-name { font-weight: 900; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(16px, 1.45vw, 21px); }
.item.lead .item-name { font-size: clamp(22px, 2.8vw, 44px); letter-spacing: -.03em; }
.item-price { font-weight: 800; font-size: 15px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.swatch { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); transition: transform .3s var(--ease), box-shadow .2s; }
.swatch:hover { transform: scale(1.15); }
.swatch.on { box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25), 0 0 0 2.5px #efefef, 0 0 0 5px #0a0a0a; }
.size { min-width: 38px; height: 34px; padding: 0 8px; font-size: 13px; box-shadow: inset 0 0 0 2px #0a0a0a; transition: background .2s, color .2s; }
.size.on { background: #0a0a0a; color: var(--y); }
.add { background: #0a0a0a; color: var(--y); height: 46px; font-weight: 900; font-size: 15px; width: 100%; transition: transform .35s var(--ease), background .2s, color .2s; }
.add:hover { transform: translateY(-3px); }
.add:active { transform: scale(.97); }
.add[disabled] { background: #d4d4d4; color: #6d6d6d; cursor: not-allowed; transform: none; }
.fly { position: fixed; z-index: 70; width: 46px; height: 46px; border-radius: 50%; background: #0a0a0a; box-shadow: 0 0 0 4px var(--y); pointer-events: none; left: 0; top: 0; }

/* carrito */
#cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(100vw, 460px); z-index: 75; background: #0a0a0a; color: var(--y);
  visibility: hidden; display: flex; flex-direction: column; padding: 22px;
}
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: 40px; }
.cart-head button, #boxClose { font-size: 24px; width: 44px; height: 44px; display: grid; place-items: center; }
#cartLines { flex: 1; overflow: auto; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; }
.line img { width: 76px; height: 76px; object-fit: contain; background: #efefef; }
.line p { font-size: 14px; line-height: 1.25; }
.qty { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--y); }
.qty span { min-width: 22px; text-align: center; }
.cart-total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 900; margin-bottom: 14px; }
#checkout { display: flex; width: 100%; background: var(--y); color: #0a0a0a; font-weight: 900; font-size: 18px; padding: 18px; }
#checkout.off { opacity: .35; pointer-events: none; }

/* cartel */
#box { position: fixed; inset: 0; z-index: 72; visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; background: rgba(5,5,5,.93); color: var(--y); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.box-media { min-height: 0; flex: 0 1 auto; display: flex; justify-content: center; }
.box-media img, .box-media video { max-width: 92vw; max-height: calc(100dvh - 110px); width: auto; height: auto; display: block; }
.box-actions { display: flex; gap: 8px; flex: none; }
.box-actions .pill { background: var(--y); color: #0a0a0a; }
#boxClose { position: absolute; top: 12px; right: 12px; color: var(--y); }

/* visita */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 80px); margin-top: clamp(20px, 4vh, 50px); align-items: end; }
.visit-photo { width: 100%; height: auto; }
.address { display: block; font-weight: 900; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(30px, 4.2vw, 68px); background-image: linear-gradient(currentColor, currentColor); background-size: 0 4px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.address:hover { background-size: 100% 4px; }
.hours { margin-top: 18px; font-size: clamp(16px, 1.6vw, 22px); }
.mail { display: inline-block; margin-top: 8px; font-size: clamp(16px, 1.6vw, 22px); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.big-hope { font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; font-size: 11.6vw; margin-top: clamp(50px, 10vh, 110px); white-space: nowrap; padding-bottom: calc(var(--dock-h) + 30px); }
#visita { padding-bottom: 0; }

/* cursor */
#cursor { position: fixed; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 95; display: none; opacity: 0; will-change: transform; }
@media (hover: hover) and (pointer: fine) { #cursor { display: block; } }

/* phone */
@media (max-width: 860px) {
  #brand { width: 118px; top: 18px; }
  .dock-links { display: none; }
  .dock-menu { display: block; }
  section { padding-top: 76px; padding-bottom: 76px; }
  .pin-week { height: auto; overflow: visible; padding-top: 76px; }
  .track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-left: var(--pad); }
  .track::-webkit-scrollbar { display: none; }
  .night { height: auto; scroll-snap-align: start; padding-bottom: 0; }
  .rr-title { font-size: 25vw; white-space: normal; }
  .rr-list { grid-template-columns: 1fr; padding-top: 4vh; padding-bottom: 80px; }
  .rr-poster { position: sticky; top: 64px; z-index: 2; width: 44vw; }
  .rr-poster img { box-shadow: 8px 8px 0 rgba(0,0,0,.92); }
  .deck { grid-template-columns: minmax(0, 1fr); }
  .tonearm { right: -2%; height: 58%; }
  .next { flex-wrap: wrap; gap: 2px 12px; }
  .next em { white-space: nowrap; }
  .pill.big { padding: 13px 20px; font-size: 15px; }
  .platter-wrap { width: min(86vw, 54vh); }
  .now { min-height: 1.96em; }
  .item, .item.lead { grid-column: span 12; grid-row: auto; }
  .item.half { grid-column: span 6; }
  .item.half .add { font-size: 13px; }
  .visit { grid-template-columns: 1fr; }
  .big-hope { margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
  #cursor { display: none !important; }
  .pin-week { height: auto; overflow: visible; }
  .track { width: auto; overflow-x: auto; }
  .night { height: 74vh; }
}
