/* groove · The House Lounge #1 DJ promo request (/house-lounge).
   groove's graphite and paper, with the record's own purple to pink and its Bayon title face. */
@font-face { font-family: "Geist"; src: url("../assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bayon"; src: url("../assets/fonts/Bayon-Regular.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #1E1D1B; --panel: #292826; --line: #3D3B37; --line-2: #4A4743;
  --text: #F4F1EA; --soft: #C9C4BA; --muted: #9C978F;
  --paper: #F4F1EA; --ink: #171614; --paper-muted: #6E6A62;
  --purple: #7350AC; --purple-l: #A68BD8; --pink: #DD79B2; --glow: #D9668C; --loss: #B0473B;
  --grad: linear-gradient(100deg, #8C6AD0 0%, #DD79B2 100%);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.3, 1.5, .4, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
p, li, span, small, label { text-wrap: pretty; } h1, h2 { text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- top ---------- */
.top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; max-width: 1240px; margin: 0 auto; padding: 24px clamp(18px, 4vw, 40px); }
.top__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top__logo svg { width: 22px; height: 26px; }
.top__logo b { font-size: 20px; font-weight: 600; letter-spacing: -1px; }
.top__presents { font: 500 11px "Geist Mono", monospace; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-left: 4px; }
.top__link { font-size: 14px; color: var(--soft); text-decoration: none; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .15s, color .15s; }
.top__link:hover { background: #2A2926; color: var(--text); }

/* ---------- intro ---------- */
.intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 1240px; margin: 0 auto; padding: 24px clamp(18px, 4vw, 40px) 80px; }
.art { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; margin-right: 12%; }
.art__glow { position: absolute; inset: -12%; background: radial-gradient(closest-side, rgba(140, 106, 208, .38), rgba(221, 121, 178, .14) 55%, transparent 75%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
.art__sleeve { position: relative; z-index: 2; display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04); animation: sleeve-in 1s var(--ease) both; }
.art__disc { position: absolute; z-index: 1; top: 3%; left: 3%; width: 94%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #F4F1EA 0 1.1%, transparent 1.3%), radial-gradient(circle, transparent 0 15.5%, #0D0C0B 15.7% 16.6%, transparent 16.8%), repeating-radial-gradient(circle, #181716 0 1.5px, #23211F 1.5px 3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55); animation: disc-out 1.4s var(--ease) .5s both; }
.art__disc::before { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: conic-gradient(from 210deg, #7350AC, #DD79B2, #9B6BC6, #7350AC); animation: spin 2.2s linear infinite; animation-play-state: paused; }
.art__disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 9%, rgba(255, 255, 255, .09) 13%, transparent 19% 58%, rgba(255, 255, 255, .06) 62%, transparent 68%); }
.art__disc i { position: absolute; inset: 49%; border-radius: 50%; background: var(--paper); z-index: 2; }
.art:hover .art__disc::before { animation-play-state: running; }
@keyframes sleeve-in { from { opacity: 0; transform: translateY(18px) rotate(-1.5deg); } }
@keyframes disc-out { from { transform: translateX(0) rotate(-40deg); } to { transform: translateX(24%) rotate(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .7; transform: scale(1.04); } }

.kick { margin: 0; font: 600 12px "Geist Mono", monospace; letter-spacing: 2.4px; text-transform: uppercase; color: var(--pink); }
.title { margin: 14px 0 0; font: 400 clamp(64px, 8.4vw, 124px)/.86 "Bayon", "Geist", sans-serif; letter-spacing: .5px; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title span { display: inline; }
.title em { font: 800 .5em/1 "Geist", sans-serif; letter-spacing: -.04em; font-style: normal; color: var(--text); -webkit-text-fill-color: var(--text); vertical-align: .8em; margin-left: .12em; }
.sub { margin: 14px 0 0; font-size: 22px; font-weight: 300; color: var(--soft); }
.lede { margin: 22px 0 0; max-width: 520px; font-size: 16px; line-height: 26px; color: var(--muted); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 30px; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.facts b { display: block; font: 700 24px/1 "Geist", sans-serif; letter-spacing: -.5px; color: var(--text); }
.facts span { display: block; margin-top: 6px; font: 500 11px "Geist Mono", monospace; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px rgba(140, 106, 208, .35); transition: transform .2s var(--spring), box-shadow .2s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(221, 121, 178, .4); }
.intro__copy > * { animation: rise .8s var(--ease) both; }
.intro__copy > :nth-child(2) { animation-delay: .08s; } .intro__copy > :nth-child(3) { animation-delay: .16s; } .intro__copy > :nth-child(4) { animation-delay: .24s; }
.intro__copy > :nth-child(5) { animation-delay: .32s; } .intro__copy > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- tracklist and the slip ---------- */
.body { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: clamp(32px, 6vw, 80px); align-items: start; max-width: 1240px; margin: 0 auto; padding: 40px clamp(18px, 4vw, 40px) 100px; border-top: 1px solid var(--line); }
.h2 { margin: 0 0 22px; font: 600 12px "Geist Mono", monospace; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.side + .side { margin-top: 30px; }
.side__h { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side__l { font: 600 11px "Geist Mono", monospace; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); }
.side__h b { font: 400 30px/1 "Bayon", sans-serif; letter-spacing: .5px; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side ol { list-style: none; margin: 0; padding: 0; }
.side li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 70px 52px; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid #2A2926; transition: background .15s; }
.side li:hover { background: #22211F; }
.tn { font: 500 12px "Geist Mono", monospace; color: var(--purple-l); }
.tt b { display: block; font-weight: 400; font-size: 18px; }
.tt small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.tb { font: 600 15px "Geist Mono", monospace; color: var(--purple-l); text-align: right; }
.tb small { display: block; font-size: 9.5px; letter-spacing: 1.5px; color: var(--muted); font-weight: 500; }
.tl { font: 400 14px "Geist Mono", monospace; color: var(--muted); text-align: right; }
.how { margin-top: 48px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--panel); border-radius: 12px; padding: 18px; }
.steps li::before { content: "0" counter(s); display: block; font: 600 12px "Geist Mono", monospace; color: var(--pink); margin-bottom: 10px; }
.steps b { display: block; font-size: 16px; } .steps span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 20px; color: var(--muted); }

.anim .side li, .anim .steps li, .anim .tracks .h2 { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.anim .side li.in, .anim .steps li.in, .anim .tracks .h2.in { opacity: 1; transform: none; }
.anim .slip { opacity: 0; transform: translateY(-24px); clip-path: inset(0 0 100% 0); transition: opacity .3s, transform 1s var(--ease), clip-path 1.2s var(--ease); }
.anim .slip.in { opacity: 1; transform: none; clip-path: inset(0 0 -40px 0); }

.slipwrap { position: sticky; top: 24px; scroll-margin-top: 24px; }
.slip { position: relative; background: var(--paper); color: var(--ink); padding: 28px 30px 44px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; }
.slip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 20px; background: radial-gradient(circle at 10px 10px, var(--bg) 9.5px, transparent 10px) 0 0 / 20px 20px repeat-x; }
.slip__head { text-align: center; }
.slip__disc { display: inline-block; position: relative; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, transparent 0 34%, #0D0C0B 35% 38%, transparent 39%), repeating-radial-gradient(circle, #171614 0 1.5px, #2A2826 1.5px 3px); }
.slip__disc::before { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: conic-gradient(from 200deg, #7350AC, #DD79B2, #7350AC); }
.slip__disc i { position: absolute; inset: 46%; border-radius: 50%; background: var(--paper); z-index: 1; }
.slip__t { margin: 10px 0 0; font: 400 34px/1 "Bayon", sans-serif; letter-spacing: .6px; text-transform: uppercase; color: var(--ink); outline: none; }
.slip__s { margin: 6px 0 0; font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--paper-muted); }
.dash { border: 0; border-top: 1.5px dashed var(--ink); opacity: .45; margin: 18px 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.f { display: block; margin-top: 12px; }
.grid2 .f { margin-top: 0; } .dash + .f, .dash + .grid2 { margin-top: 0; }
.grid2 + .f, .f + .grid2 { margin-top: 12px; }
.f > span { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--paper-muted); }
.f input, .f textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid #B9B4AA; border-radius: 6px; background: #FBF9F4; color: var(--ink); font: 400 15px "Geist", system-ui, sans-serif; transition: border-color .15s, box-shadow .15s; }
.f textarea { resize: vertical; line-height: 22px; min-height: 120px; }
.f input::placeholder, .f textarea::placeholder { color: #8E897F; }
.f input:hover, .f textarea:hover { border-color: var(--paper-muted); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(115, 80, 172, .2); }
.f [aria-invalid="true"] { border-color: var(--loss); }
.f__hint { display: block; margin-top: 6px; font-size: 11.5px; color: var(--paper-muted); }
.f__err, .formmsg { display: block; margin-top: 6px; font: 500 12px "Geist", sans-serif; color: var(--loss); }
.formmsg { margin: 14px 0 0; min-height: 0; font-size: 13px; } .formmsg:empty { display: none; }
.tick { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 18px; font: 400 13px/19px "Geist", sans-serif; color: #3D3B37; cursor: pointer; }
.tick input { width: 24px; height: 24px; margin: -2px 0 0; accent-color: var(--purple); }
.tick .f__err { grid-column: 2; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; height: 54px; margin-top: 18px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font: 600 15px "Geist", sans-serif; cursor: pointer; transition: background .15s, transform .15s; }
.send:hover:not(:disabled) { background: #2D2A33; } .send:active { transform: scale(.99); }
.send.is-busy { opacity: .75; cursor: progress; }
.slip__fine { margin: 12px 0 0; text-align: center; font: 400 11.5px "Geist", sans-serif; color: var(--paper-muted); }
.slip__bc { display: flex; justify-content: center; margin-top: 18px; color: var(--ink); }
.ln { display: flex; justify-content: space-between; gap: 12px; line-height: 24px; }
.ln > :last-child { text-align: right; }
.stampin { display: block; width: max-content; margin: 4px auto 18px; padding: 8px 16px; border: 3px solid var(--purple); color: var(--purple); border-radius: 6px; font: 400 30px/1 "Bayon", sans-serif; letter-spacing: 2px; transform: rotate(-5deg); animation: stamp .5s var(--spring) .2s both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-5deg) scale(2.2); } }
.slip__done { font: 400 14px/22px "Geist", sans-serif; text-align: center; margin: 0; }
.thanks { margin: 8px 0 0; text-align: center; font-size: 11px; letter-spacing: 3px; }
.slip.is-done { animation: rise .6s var(--ease) both; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: 1240px; margin: 0 auto; padding: 24px clamp(18px, 4vw, 40px) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.foot a { text-decoration: none; } .foot a:hover { color: var(--text); }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .intro, .body { grid-template-columns: minmax(0, 1fr); }
  .art { max-width: 460px; margin: 0 auto; transform: translateX(-9%); }
  .slipwrap { position: static; max-width: 560px; width: 100%; justify-self: center; }
  .body { padding-top: 28px; }
}
@media (max-width: 560px) {
  .top__presents { display: none; }
  .art { max-width: 80%; margin: 0 auto 0 0; transform: none; }
  .facts { grid-template-columns: repeat(2, auto); }
  .grid2 { grid-template-columns: minmax(0, 1fr); gap: 0; } .grid2 .f + .f { margin-top: 12px; }
  .slip { padding: 24px 18px 40px; }
  .side li { grid-template-columns: 26px minmax(0, 1fr) 54px; } .tl { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .art__disc { transform: translateX(24%); }
  html { scroll-behavior: auto; }
}

/* ---------- logo hover: the record spins, the lines print, the letters bounce ---------- */
.mark__disc { transform-box: fill-box; transform-origin: center; }
.mark__lines rect { transform-box: fill-box; transform-origin: left center; }
.top__logo b span { display: inline-block; }
@keyframes logo-tilt { 0%, 100% { transform: none; } 45% { transform: translateY(-3px) rotate(-6deg); } }
@keyframes logo-spin { to { transform: rotate(360deg); } }
@keyframes logo-print { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes logo-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-5px); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html:not(.a11y-calm) .top__logo:is(:hover, :focus-visible) svg { animation: logo-tilt .6s cubic-bezier(.3, 1.4, .4, 1); }
  html:not(.a11y-calm) .top__logo:is(:hover, :focus-visible) .mark__disc { animation: logo-spin .9s cubic-bezier(.2, .7, .2, 1); }
  html:not(.a11y-calm) .top__logo:is(:hover, :focus-visible) .mark__lines rect { animation: logo-print .4s cubic-bezier(.2, .8, .2, 1) both; }
  html:not(.a11y-calm) .top__logo:is(:hover, :focus-visible) .mark__lines rect:nth-child(2) { animation-delay: .12s; }
  html:not(.a11y-calm) .top__logo:is(:hover, :focus-visible) .mark__lines rect:nth-child(3) { animation-delay: .22s; }
  html:not(.a11y-calm) .top__logo:is(:hover, :focus-visible) b span { animation: logo-hop .5s cubic-bezier(.3, 1.6, .4, 1) both; animation-delay: calc(var(--i) * 40ms); }
}
