/* CRATECUTZ · sitio prototipo · estilos de componentes sobre tokens.css */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--cc-bg); color: var(--cc-text);
  font-family: var(--cc-font-body); font-size: var(--cc-body); line-height: var(--cc-body-lh);
  -webkit-font-smoothing: antialiased; padding-bottom: var(--cc-player-h); overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--cc-brand-text); }
a:hover { color: var(--cc-text); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cc-focus); outline-offset: 2px; }
main:focus { outline: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--cc-bone); color: var(--cc-black); padding: 10px 14px; }

/* Base de layout */
.container { max-width: var(--cc-container); margin: 0 auto; padding: 0 var(--cc-margin); }
.section { padding: 112px 0; border-bottom: 1px solid var(--cc-line); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.head-l { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Tipografía */
.mono { font-family: var(--cc-font-mono); font-size: var(--cc-mono); text-transform: uppercase; letter-spacing: var(--cc-mono-tracking); }
.mono-s { font-family: var(--cc-font-mono); font-size: var(--cc-mono-s); text-transform: uppercase; letter-spacing: var(--cc-mono-s-tracking); }
.muted { color: var(--cc-muted); }
.faint { color: var(--cc-faint); }
.accent { color: var(--cc-brand-text); }
.display { margin: 0; font-family: var(--cc-font-display); font-stretch: var(--cc-stretch-display); font-weight: 900; text-transform: uppercase; line-height: .86; }
.serif { font-family: var(--cc-font-accent); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%; color: var(--cc-brand-text); }
.h-xl { font-size: clamp(68px, 10.4vw, 150px); line-height: .82; }
.h-l { font-size: clamp(52px, 6.2vw, 88px); }
.h-m { font-size: clamp(40px, 5vw, 72px); line-height: .9; }
.h-s { font-size: clamp(24px, 2vw, 28px); line-height: 1.05; font-weight: 800; }
.lede { margin: 0; max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--cc-text-2); }
p { margin: 0; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--cc-radius-1); border: 1px solid transparent;
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: box-shadow var(--cc-dur-2) var(--cc-ease), background var(--cc-dur-1), border-color var(--cc-dur-2);
}
.btn--primary { background: var(--cc-brand); color: var(--cc-bone); }
.btn--primary:hover { box-shadow: var(--cc-glow); color: var(--cc-bone); }
.btn--primary:active { background: var(--cc-brand-press); }
.btn--secondary { background: transparent; color: var(--cc-text); border-color: var(--cc-line-strong); }
.btn--secondary:hover { border-color: var(--cc-text); color: var(--cc-text); }
.btn--l { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--s { height: 44px; padding: 0 16px; font-size: 14px; }
.btn svg { fill: currentColor; }
.link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--cc-brand-text); text-decoration: none;
  font-family: var(--cc-font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
}
.link:hover { color: var(--cc-text); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: var(--cc-text); }
.icon-btn:hover { color: var(--cc-brand-text); }

/* Play redondo: dos iconos, el estado los alterna */
.play {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: var(--cc-radius-round); border: 0; cursor: pointer;
  background: var(--cc-brand); display: inline-flex; align-items: center; justify-content: center;
  transition: box-shadow var(--cc-dur-2) var(--cc-ease), background var(--cc-dur-1);
}
.play:hover { box-shadow: var(--cc-glow); }
.play svg { fill: var(--cc-bone); }
.play .i-pause { display: none; }
.play.is-playing { background: var(--cc-bone); }
.play.is-playing svg { fill: var(--cc-black); }
.play.is-playing .i-play { display: none; }
.play.is-playing .i-pause { display: block; }
.play--l { width: 64px; height: 64px; }
.play--s { width: 48px; height: 48px; }

/* Chips y tags */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; flex: 0 0 auto;
  border: 1px solid var(--cc-line-strong); border-radius: var(--cc-radius-1); background: transparent; color: var(--cc-text);
  font-family: var(--cc-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer;
}
.chip:hover { border-color: var(--cc-text); }
.chip[aria-pressed="true"] { background: var(--cc-bone); color: var(--cc-black); border-color: var(--cc-bone); }
.tag {
  height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--cc-line-strong);
  font-family: var(--cc-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.badge {
  position: absolute; top: 12px; left: 12px; height: 28px; display: inline-flex; align-items: center; padding: 0 10px;
  border: 1px solid var(--cc-line-strong); background: var(--cc-bg); border-radius: var(--cc-radius-1);
  font-family: var(--cc-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-muted);
}
.badge--bone { background: var(--cc-bone); color: var(--cc-black); border-color: var(--cc-bone); }
.live {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--cc-live);
  border-radius: var(--cc-radius-1); color: var(--cc-live);
  font-family: var(--cc-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc-live); animation: blink 1.4s ease-in-out infinite; }

/* Cards */
.card { background: var(--cc-surface); transition: background var(--cc-dur-2), box-shadow var(--cc-dur-2); }
.card:hover { background: var(--cc-surface-2); box-shadow: 0 0 0 1px var(--cc-line-strong); }
.eq { display: none; align-items: flex-end; gap: 3px; height: 26px; }
.eq span { width: 4px; height: 100%; background: var(--cc-brand-text); transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.eq span:nth-child(2) { animation-delay: -.5s; }
.eq span:nth-child(3) { animation-delay: -.3s; }
.eq span:nth-child(4) { animation-delay: -.7s; background: var(--cc-live); }
.is-playing .eq { display: inline-flex; }
.is-playing .eq-off { display: none; }
.progress { flex: 1; height: 3px; background: var(--cc-line); }
.progress i { display: block; height: 100%; width: 0; background: var(--cc-brand-text); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(10, 10, 11, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cc-line); }
.bar { height: 76px; display: flex; align-items: center; gap: 40px; }
.logo img { width: 48px; height: 48px; clip-path: circle(46.6% at 50% 50%); transition: transform var(--cc-rev-33) linear; }
.logo:hover img { transform: rotate(360deg); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--cc-text); text-decoration: none; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cc-brand-text); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.seg { display: flex; border: 1px solid var(--cc-line-strong); border-radius: var(--cc-radius-1); margin: 0 6px; }
.seg button { height: 36px; padding: 0 10px; background: transparent; border: 0; font-family: var(--cc-font-mono); font-size: 12px; cursor: pointer; }
.seg [aria-pressed="true"] { background: var(--cc-bone); color: var(--cc-black); }
.cur { height: 38px; padding: 0 10px; white-space: nowrap; background: transparent; border: 1px solid var(--cc-line-strong); border-radius: var(--cc-radius-1); font-family: var(--cc-font-mono); font-size: 12px; cursor: pointer; }
.cart { height: 44px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; cursor: pointer; font-family: var(--cc-font-mono); font-size: 12px; }
.cart.has-items span { color: var(--cc-live); }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--cc-line); }
.hero .halo {
  position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%;
  background: var(--cc-halo); pointer-events: none;
  transform: translate(var(--hx, 62vw), var(--hy, 320px)); transition: transform .8s var(--cc-ease);
}
.hero .grid { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 112px; }
.hero .copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero .art { flex: 0 1 500px; display: flex; justify-content: center; }
.hero .art img { width: 100%; max-width: 500px; aspect-ratio: 1; mix-blend-mode: screen; animation: spin 20s linear infinite; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page head (páginas internas) */
.page-head { padding: 80px 0 56px; border-bottom: 1px solid var(--cc-line); position: relative; overflow: hidden; }
.page-head .halo { position: absolute; right: -240px; top: -300px; width: 760px; height: 760px; border-radius: 50%; background: var(--cc-halo); pointer-events: none; }
.page-head .container { position: relative; display: flex; flex-direction: column; gap: 18px; }

/* Crate digger */
.crate { display: flex; align-items: flex-end; padding: 44px 4px 14px; isolation: isolate; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--cc-line-strong) transparent; }
.sleeve {
  position: relative; flex: 0 0 150px; width: 150px; height: 150px; margin-left: -44px; padding: 0; border: 0; cursor: pointer;
  box-shadow: -10px 0 18px rgba(0, 0, 0, .7);
  transition: transform var(--cc-dur-3) var(--cc-ease), opacity var(--cc-dur-2), box-shadow var(--cc-dur-2);
}
.sleeve:first-child { margin-left: 0; }
.sleeve:hover { transform: translateY(-12px); }
.sleeve.is-active { transform: translateY(-30px); box-shadow: var(--cc-glow); }
.sleeve.is-dim { opacity: .22; }
.sleeve .cat { position: absolute; left: 8px; bottom: 8px; padding: 3px 6px; background: rgba(10, 10, 11, .85); color: var(--cc-text); font-family: var(--cc-font-mono); font-size: 10px; letter-spacing: .06em; }
.crate-detail { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.rec { flex: 1 1 560px; min-width: 0; padding: 32px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.rec-art { position: relative; width: 270px; height: 180px; flex: 0 0 270px; }
.rec-art .vinyl {
  position: absolute; left: 92px; top: 10px; width: 160px; height: 160px; border-radius: 50%;
  background: repeating-radial-gradient(circle, #0A0A0B 0 2px, #26262c 2px 4px); box-shadow: 0 0 0 1px var(--cc-line-strong);
  display: flex; align-items: center; justify-content: center; transition: left var(--cc-dur-3) var(--cc-ease);
}
.rec-art .vinyl span { width: 30%; height: 30%; border-radius: 50%; background: var(--cc-brand); }
.rec-art .front { position: absolute; left: 0; top: 0; width: 180px; height: 180px; }
.rec-art.is-playing .vinyl { left: 108px; animation: spin var(--cc-rev-33) linear infinite; }
.rec-info { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rec-title { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 900; font-size: 40px; line-height: .95; text-transform: uppercase; }
.dial-panel { flex: 0 1 420px; padding: 32px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.dial-panel .row { justify-content: center; }
.dial {
  width: 200px; height: 200px; border-radius: var(--cc-radius-round); border: 0; padding: 0; cursor: grab; position: relative; touch-action: none;
  background: conic-gradient(from 200deg, #2b2b30, #7a7a84, #1a1a1d, #55555e, #2b2b30);
  box-shadow: inset 0 0 0 10px #121214, 0 0 48px rgba(3, 86, 241, .35);
}
.dial:active { cursor: grabbing; }
.dial .pointer {
  position: absolute; left: 50%; top: 50%; width: 6px; height: 78px; margin: -78px 0 0 -3px; background: var(--cc-bone);
  transform-origin: 50% 100%; transform: rotate(var(--angle, -170deg)); transition: transform var(--cc-dur-3) var(--cc-ease);
  box-shadow: 0 0 12px rgba(77, 132, 255, .8);
}
.bpm { font-family: var(--cc-font-mono); font-size: 48px; font-weight: 600; line-height: 1; }
.bpm small { font-size: 14px; color: var(--cc-muted); margin-left: 8px; }
.eras { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.era { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; min-height: 120px; border: 0; background: var(--cc-surface); color: var(--cc-text); text-align: left; cursor: pointer; }
.era:hover { background: var(--cc-surface-2); }
.era[aria-pressed="true"] { background: var(--cc-brand); }
.era .y { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 900; font-size: 44px; line-height: .9; }
.ticks { display: flex; justify-content: space-between; align-items: flex-end; height: 18px; width: 100%; }
.ticks i { width: 1px; height: 8px; background: currentColor; }
.ticks i:first-child { height: 18px; }
.ticks i:nth-child(6) { height: 12px; }

/* Sets */
.set-feature { display: flex; flex-wrap: wrap; }
.set-cover { flex: 0 1 440px; aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, rgba(3, 86, 241, .85) 0%, rgba(3, 86, 241, .2) 42%, #050506 70%); display: flex; align-items: center; justify-content: center; }
.set-cover img { width: 68%; aspect-ratio: 1; clip-path: circle(46.6% at 50% 50%); }
.is-playing .set-cover img { animation: spin var(--cc-rev-33) linear infinite; }
.set-info { flex: 1 1 480px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.set-info .player-row { display: flex; gap: 16px; align-items: center; margin-top: auto; }
.set-list { border-top: 1px solid var(--cc-line); }
.set-row { display: grid; grid-template-columns: 56px 64px minmax(0, 1fr) 180px 150px 56px; gap: 20px; align-items: center; padding: 14px 12px; border-bottom: 1px solid var(--cc-line); background: var(--cc-bg); }
.set-row .thumb { width: 64px; height: 64px; }
.set-row .name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.set-row strong { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; }
.set-row.is-playing { background: var(--cc-surface); }
.mixes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mix { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.mix .swatch-bar { height: 6px; }

/* Posts */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; }
.post .ph { aspect-ratio: 3 / 2; position: relative; overflow: hidden; }
.post .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post .body .link { margin-top: auto; }
.post--guide { padding: 24px; gap: 14px; }
.post--guide .num { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 900; font-size: 140px; line-height: .8; color: var(--cc-brand); }
.ph-release { background: #050506; display: flex; align-items: center; justify-content: center; }
.ph-release .sl { width: 44%; aspect-ratio: 1; background: linear-gradient(135deg, var(--cc-bone) 0 50%, var(--cc-brand) 50%); position: relative; z-index: 1; }
.ph-release .vn { width: 40%; aspect-ratio: 1; border-radius: 50%; margin-left: -20%; background: repeating-radial-gradient(circle, #111114 0 2px, #1d1d22 2px 4px); display: flex; align-items: center; justify-content: center; }
.ph-release .vn span { width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--cc-brand); }
.ph-booth { background: linear-gradient(180deg, #0A0A0B 0%, #0b1a44 60%, var(--cc-brand) 100%); }
.ph-booth::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 38%; height: 70%; transform: translateX(-50%); background: #050506; border-radius: 48% 48% 0 0 / 38% 38% 0 0; }
.ph-grooves { background: repeating-radial-gradient(circle at 18% 120%, #0A0A0B 0 3px, #1d1d22 3px 5px); }
.ph-grooves::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 60% at 62% 40%, rgba(77, 132, 255, .45), transparent 70%); }

/* Banda hueso (tienda) */
.band--bone { background: var(--cc-invert-bg); color: var(--cc-invert-text); border-bottom: 0; }
.band--bone .muted { color: var(--cc-invert-muted); }
.band--bone .link { color: var(--cc-brand); }
.band--bone .link:hover { color: var(--cc-black); }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; justify-content: space-between; height: 150px; padding: 18px; background: var(--cc-black); color: var(--cc-bone); text-decoration: none; transition: box-shadow var(--cc-dur-2); }
.cat-tile:hover { color: var(--cc-bone); box-shadow: var(--cc-glow); }
.cat-tile .t { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 900; font-size: 28px; line-height: .95; text-transform: uppercase; }
.cat-tile--brand { background: var(--cc-brand); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product { color: var(--cc-text); display: flex; flex-direction: column; }
.product .ph { aspect-ratio: 1; background: #050506; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.product strong { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.product .price { font-family: var(--cc-font-mono); font-size: 14px; font-weight: 600; white-space: nowrap; }
.product .btn { margin-top: auto; }
.art-knob { width: 40%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 200deg, #2b2b30, #7a7a84, #1a1a1d, #55555e, #2b2b30); box-shadow: -12px 0 36px rgba(3, 86, 241, .8), inset 0 0 0 5px #121214; }
.art-mat { width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--cc-brand); box-shadow: inset 0 0 0 26px #111114; }
.art-bottle { width: 30%; height: 58%; background: linear-gradient(180deg, var(--cc-bone) 0 28%, #17171A 28%); box-shadow: 0 0 36px rgba(3, 86, 241, .6); }
.art-record { width: 56%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #111114 0 2px, #1d1d22 2px 4px); box-shadow: 0 0 0 1px var(--cc-line); }
.art-needle { width: 12%; height: 52%; background: linear-gradient(180deg, #7a7a84, #2b2b30); transform: rotate(24deg); box-shadow: -10px 0 30px rgba(3, 86, 241, .7); }
.art-brush { width: 50%; height: 22%; background: repeating-linear-gradient(90deg, #2b2b30 0 3px, #111114 3px 6px); border-top: 10px solid var(--cc-brand); }
.art-pads { width: 58%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.art-pads i { aspect-ratio: 1; background: #202024; }
.art-pads i:nth-child(2), .art-pads i:nth-child(11) { background: var(--cc-brand); }
.art-pads i:nth-child(8) { background: var(--cc-live); }

/* Configurador */
.config { background: var(--cc-black); color: var(--cc-bone); display: flex; flex-wrap: wrap; }
.config .copy { flex: 1 1 460px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.config .stage { flex: 1 1 460px; min-width: 0; min-height: 460px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 50%, rgba(3, 86, 241, .35), #050506 65%); padding: 40px; }
.deck { width: 100%; max-width: 380px; aspect-ratio: 380 / 330; background: var(--cc-surface); position: relative; box-shadow: inset 0 0 0 1px var(--cc-line); --mat: var(--cc-brand); --mat-text: var(--cc-bone); --knob: #1a1a1d; }
.platter { position: absolute; left: 5.8%; top: 5.5%; width: 77.4%; aspect-ratio: 1; border-radius: 50%; background: #0F0F12; display: flex; align-items: center; justify-content: center; }
.mat { width: 92%; aspect-ratio: 1; border-radius: 50%; background: var(--mat); display: flex; align-items: center; justify-content: center; position: relative; transition: background var(--cc-dur-3) var(--cc-ease); }
.mat .ring { position: absolute; top: 7%; left: 0; right: 0; text-align: center; font-family: var(--cc-font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mat-text); white-space: nowrap; overflow: hidden; padding: 0 22%; }
.mat img { width: 36%; aspect-ratio: 1; clip-path: circle(46.6% at 50% 50%); }
.deck.is-spinning .mat { animation: spin var(--cc-rev-33) linear infinite; }
.arm { position: absolute; right: 7%; top: 8%; width: 10px; height: 60%; background: var(--cc-muted); transform: rotate(18deg); transform-origin: top; transition: transform var(--cc-dur-3) var(--cc-ease); }
.deck.is-spinning .arm { transform: rotate(30deg); }
.knobs { position: absolute; right: 6%; bottom: 7%; display: flex; gap: 10px; }
.knobs span { width: 26px; height: 26px; border-radius: 50%; background: var(--knob); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35); transition: background var(--cc-dur-3); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: var(--cc-radius-round); border: 1px solid var(--cc-line-strong); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { border: 2px solid var(--cc-bone); box-shadow: inset 0 0 0 2px var(--cc-black); }
.field-label { font-family: var(--cc-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-muted); }
.input {
  height: 48px; padding: 0 14px; background: var(--cc-surface); color: var(--cc-text); border: 1px solid var(--cc-line-strong);
  border-radius: var(--cc-radius-1); font-size: 16px; width: 100%; max-width: 360px;
}
.input::placeholder { color: var(--cc-faint); }

/* Pad grid */
.packs { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pads { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pad {
  aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 12px;
  border-radius: 4px; background: var(--cc-surface); border: 1px solid var(--cc-line); color: var(--cc-text); cursor: pointer;
  font-family: var(--cc-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  transition: background 80ms, box-shadow var(--cc-dur-2), transform 80ms; touch-action: manipulation; user-select: none;
}
.pad .k { opacity: .6; }
.pad:hover { border-color: var(--cc-line-strong); }
.pad.is-hit { background: var(--cc-brand); border-color: var(--cc-brand-text); box-shadow: var(--cc-glow); transform: scale(.97); }
.pads-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.readout { font-family: var(--cc-font-mono); font-size: 20px; color: var(--cc-brand-text); min-height: 28px; }

/* Evento */
.event { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.event .copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.countdown div { background: var(--cc-surface); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.countdown b { font-family: var(--cc-font-mono); font-size: 48px; font-weight: 600; line-height: 1; }
.countdown div:last-child b { color: var(--cc-brand-text); }
.map {
  flex: 1 1 520px; min-height: 440px; position: relative; overflow: hidden; background-color: #0F0F12;
  background-image: repeating-linear-gradient(0deg, #1b1b20 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, #1b1b20 0 1px, transparent 1px 48px);
}
.map .land { position: absolute; border: 1px solid var(--cc-line); }
.pin { position: absolute; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px; background: transparent; border: 0; cursor: pointer; transform: translate(-12px, -50%); }
.pin .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cc-brand-text); flex: 0 0 auto; transition: width var(--cc-dur-2), height var(--cc-dur-2); }
.pin.up .dot { animation: pulse 2s ease-out infinite; }
.pin.past .dot { background: var(--cc-faint); }
.pin.is-active .dot { width: 18px; height: 18px; }
.pin .lbl { font-family: var(--cc-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--cc-text); background: rgba(10, 10, 11, .85); padding: 3px 6px; }
.map .info { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(23, 23, 26, .95); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.legend { display: flex; gap: 14px; font-family: var(--cc-font-mono); font-size: 11px; color: var(--cc-muted); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc-brand-text); }
.legend .p i { background: var(--cc-faint); }
.event-list { border-top: 1px solid var(--cc-line); }
.event-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 200px auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--cc-line); }
.event-row .date { font-family: var(--cc-font-mono); font-size: 14px; }
.event-row strong { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 900; font-size: 32px; line-height: 1; text-transform: uppercase; }

/* Únete */
.join { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.join form { flex: 0 1 480px; display: flex; flex-direction: column; gap: 10px; }
.join .field { display: flex; }
.join .field .input { height: 56px; max-width: none; border-right: 0; border-radius: 2px 0 0 2px; flex: 1; min-width: 0; }
.join .field .btn { height: 56px; border-radius: 0 2px 2px 0; }

/* Footer */
.marquee { overflow: hidden; border-bottom: 1px solid var(--cc-line); padding: 18px 0; }
.marquee .track { display: flex; gap: 48px; width: max-content; white-space: nowrap; animation: marq 26s linear infinite; font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 900; font-size: 40px; text-transform: uppercase; }
.marquee b { color: var(--cc-brand-text); font-weight: 900; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 48px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols a { color: var(--cc-text); text-decoration: none; }
.foot-cols a:hover, .foot-link:hover { color: var(--cc-brand-text); }
.foot-link { background: none; border: 0; padding: 0; text-align: left; color: var(--cc-text); cursor: pointer; }
.foot-brand img { width: 72px; height: 72px; clip-path: circle(46.6% at 50% 50%); }
.ship { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 40px; font-family: var(--cc-font-mono); font-size: 12px; color: var(--cc-faint); }

/* Mini-player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--cc-player-h); background: var(--cc-surface); border-top: 1px solid var(--cc-line); view-transition-name: player; }
.player .in { max-width: var(--cc-container); margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.player .now { display: flex; align-items: center; gap: 12px; flex: 1 1 320px; min-width: 0; }
.player .cover { width: 48px; height: 48px; flex: 0 0 48px; clip-path: circle(46.6% at 50% 50%); }
.player.is-playing .cover { animation: spin var(--cc-rev-33) linear infinite; }
.player .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.player .state { font-family: var(--cc-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-muted); }
.player.is-playing .state { color: var(--cc-brand-text); }
.player .title { font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 800; font-size: 18px; line-height: 1.1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .ctrls { display: flex; align-items: center; gap: 10px; }
.player .play { width: 48px; height: 48px; }
.player .time { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; font-family: var(--cc-font-mono); font-size: 11px; color: var(--cc-muted); }
.player .open { white-space: nowrap; font-size: 12px; }
.progress-top { display: none; position: absolute; left: 0; right: 0; top: -1px; height: 2px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--cc-player-h) + 16px); z-index: 60; max-width: calc(100% - 32px);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--cc-bone); color: var(--cc-black);
  padding: 12px 16px; font-family: var(--cc-font-mono); font-size: 12px; letter-spacing: .02em;
  transition: opacity var(--cc-dur-2), transform var(--cc-dur-3) var(--cc-ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Animaciones */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eq { 0% { transform: scaleY(.2); } 100% { transform: scaleY(1); } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(77, 132, 255, .7); } 100% { box-shadow: 0 0 0 18px rgba(77, 132, 255, 0); } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

/* Tablet */
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.open .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cc-bg); padding: 8px var(--cc-margin) 24px; border-bottom: 1px solid var(--cc-line);
  }
  .site-header.open .nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--cc-line); font-size: 22px; font-family: var(--cc-font-display); font-stretch: 62%; font-weight: 900; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products, .mixes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-row { grid-template-columns: 64px minmax(0, 1fr) 150px 56px; }
  .set-row .num, .set-row .mood { display: none; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Celular */
@media (max-width: 599px) {
  .hide-m { display: none !important; }
  .bar { height: 60px; gap: 12px; }
  .logo img { width: 40px; height: 40px; }
  .section { padding: 64px 0; }
  .stack { gap: 24px; }
  .hero .grid { padding-top: 40px; padding-bottom: 56px; gap: 24px; }
  .hero .art img { max-width: 300px; }
  .ctas { flex-direction: column; }
  .ctas .btn { width: 100%; }
  .crate { margin: 0 calc(var(--cc-margin) * -1); padding: 28px 16px 10px; gap: 12px; scroll-snap-type: x mandatory; }
  .sleeve { flex-basis: 200px; width: 200px; height: 200px; margin-left: 0; scroll-snap-align: center; box-shadow: none; }
  .sleeve.is-active { transform: translateY(-16px); }
  .rec, .dial-panel, .set-info, .config .copy { padding: 20px; }
  .rec-art { width: 230px; height: 150px; flex-basis: 230px; }
  .rec-art .front { width: 150px; height: 150px; }
  .rec-art .vinyl { width: 136px; height: 136px; left: 80px; top: 7px; }
  .rec-art.is-playing .vinyl { left: 92px; }
  .dial { width: 150px; height: 150px; }
  .dial .pointer { height: 58px; margin-top: -58px; }
  .bpm { font-size: 36px; }
  .eras { display: flex; overflow-x: auto; margin: 0 calc(var(--cc-margin) * -1); padding: 0 16px; }
  .era { flex: 0 0 112px; min-height: 96px; }
  .era .y { font-size: 36px; }
  .set-row { grid-template-columns: 56px minmax(0, 1fr) 48px; gap: 12px; padding: 12px 0; }
  .set-row .thumb { width: 56px; height: 56px; }
  .set-row .eqcol { display: none; }
  .grid-3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--cc-margin) * -1); padding: 0 16px; gap: 12px; }
  .grid-3 > * { flex: 0 0 300px; scroll-snap-align: start; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cats .cat-tile:last-child { grid-column: span 2; height: 88px; }
  .cat-tile { height: 104px; padding: 14px; }
  .cat-tile .t { font-size: 22px; }
  .products { gap: 8px; }
  .product .body { padding: 12px; }
  .product strong { font-size: 18px; }
  .product .top { flex-direction: column; gap: 4px; }
  .mixes { grid-template-columns: 1fr; }
  .config .stage { min-height: 320px; padding: 24px; order: -1; }
  .pads { gap: 6px; }
  .pad { padding: 8px; font-size: 10px; }
  .pad .k { display: none; }
  .countdown b { font-size: 32px; }
  .countdown div { padding: 12px 8px; }
  .map { min-height: 300px; }
  .event-row { grid-template-columns: 1fr; gap: 8px; }
  .join .field { flex-direction: column; gap: 8px; }
  .join .field .input { border-right: 1px solid var(--cc-line-strong); border-radius: 2px; }
  .join .field .btn { border-radius: 2px; }
  .marquee .track { font-size: 28px; gap: 32px; }
  .legal { flex-direction: column; }
  .player .in { padding: 0 6px 0 10px; gap: 10px; }
  .player .cover { width: 38px; height: 38px; flex-basis: 38px; }
  .player .title { font-size: 15px; }
  .player .time, .player .prev, .player .next, .player .open { display: none; }
  .player .play { width: 44px; height: 44px; }
  .progress-top { display: block; }
  .page-head { padding: 48px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
