/* Rulet Records Beat Auction — 2027 */
:root {
  --bg: #0A0A0C;
  --surface: #141418;
  --surface-2: #1C1C22;
  --line: #2A2A33;
  --text: #F4F4F0;
  --muted: #A6A6B0;
  --lime: #C8FF2E;
  --violet: #A08BFF;
  --ink: #0A0A0C;
  --r: 22px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.eyebrow { font: 600 13px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--lime); margin-bottom: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d8ff66; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: var(--ink); color: var(--lime); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; }
.pill--live { background: rgba(200,255,46,.12); color: var(--lime); border: 1px solid rgba(200,255,46,.35); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(200,255,46,.7)} 70%{box-shadow:0 0 0 10px rgba(200,255,46,0)} 100%{box-shadow:0 0 0 0 rgba(200,255,46,0)} }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,12,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 16px/1 var(--display); letter-spacing: .02em; }
.nav__brand img { border-radius: 10px; object-fit: cover; }
.nav__brand b { color: var(--lime); font-weight: 900; margin-left: 4px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__menu { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; place-items: center; }

/* hero */
.hero { padding: 64px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(60px, 10.5vw, 148px); font-weight: 900; line-height: .9; margin: 22px 0 18px; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--lime); }
.hero__sub { font: 700 clamp(20px, 2.2vw, 26px)/1.25 var(--display); }
.hero__lede { color: var(--muted); max-width: 520px; margin-top: 14px; font-size: 17px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__side { display: grid; gap: 16px; }
.hero__art { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); border: 1px solid var(--line); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; padding: 10px 16px; border-radius: 999px; font: 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.sticker--lime { background: var(--lime); top: 18px; left: 18px; transform: rotate(-6deg); }
.sticker--violet { background: var(--violet); bottom: 18px; right: 18px; transform: rotate(5deg); }
.countdown { padding: 22px 24px; }
.countdown .eyebrow { margin-bottom: 6px; }
.countdown__title { font: 700 18px/1.2 var(--display); margin-bottom: 14px; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown__grid div { background: var(--surface-2); border-radius: 14px; padding: 14px 6px; text-align: center; }
.countdown__grid b { display: block; font: 900 clamp(26px, 3vw, 36px)/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown__grid span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ticker */
.ticker { background: var(--lime); color: var(--ink); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 8px -10px 0; }
.ticker__track { display: flex; gap: 28px; width: max-content; animation: marquee 28s linear infinite; font: 900 22px/1 var(--display); white-space: nowrap; }
.ticker i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 96px 0 0; }
.section--tight { padding-top: 72px; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section__note { color: var(--muted); max-width: 380px; }

/* lots */
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.lot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.lot:hover { border-color: #3a3a46; transform: translateY(-3px); }
.lot--skeleton { min-height: 520px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.lot__cover { position: relative; aspect-ratio: 1; background: var(--surface-2); }
.lot__cover img { width: 100%; height: 100%; object-fit: cover; }
.lot__badge { position: absolute; top: 14px; left: 14px; }
.lot__badge.ended { background: rgba(10,10,12,.8); color: var(--muted); border-color: var(--line); }
.lot__play { position: absolute; right: 14px; bottom: 14px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.lot__play[disabled] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.lot__body { padding: 20px; display: grid; gap: 16px; flex: 1; }
.lot__title { font-size: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { flex: 1; background: #3a3a46; border-radius: 3px; transition: background .2s; }
.lot.playing .wave i { background: var(--lime); animation: bounce .9s ease-in-out infinite alternate; }
@keyframes bounce { to { transform: scaleY(.45); } }
.lot__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lot__stats div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.lot__stats span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.lot__stats b { font: 800 22px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.lot__stats .flash { animation: flash .9s; }
@keyframes flash { 0% { color: var(--lime); transform: scale(1.12); } 100% { transform: scale(1); } }
.lot__leader { font-size: 14px; color: var(--muted); }
.lot__leader b { color: var(--text); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border-top: 2px solid var(--line); padding-top: 22px; }
.step__n { font: 900 15px/1 var(--display); color: var(--lime); }
.step h3 { font-size: 28px; margin: 12px 0 8px; }
.step p { color: var(--muted); }

/* drops */
.drops { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.drop { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 24px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.drop__date { text-align: center; background: var(--surface-2); border-radius: 16px; padding: 12px 0; }
.drop__date b { display: block; font: 900 32px/1 var(--display); }
.drop__date span { font-size: 13px; font-weight: 700; color: var(--lime); letter-spacing: .14em; }
.drop h3 { font-size: 22px; margin-bottom: 4px; }
.drop p { color: var(--muted); font-size: 15px; }
.drop__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: end; }
.drop__rsvp { display: flex; gap: 8px; }
.drop__rsvp input { width: 200px; }
.drop.is-rsvpd .btn--ghost { border-color: var(--lime); color: var(--lime); }

/* releases */
.releases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.release { text-decoration: none; }
.release__cover { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.release__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.release:hover img { transform: scale(1.05); }
.release h3 { font-size: 17px; margin-top: 14px; }
.release p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento__about { grid-column: span 3; padding: 40px; display: grid; gap: 18px; }
.bento__about p:not(.eyebrow) { color: var(--muted); max-width: 760px; font-size: 18px; }
.offer { padding: 26px; display: grid; gap: 10px; align-content: start; }
.offer svg { width: 40px; height: 40px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.offer p { color: var(--muted); font-size: 15px; }

/* bento image + gallery */
.bento__img { grid-column: span 1; margin: 0; overflow: hidden; min-height: 260px; }
.bento__img img { width: 100%; height: 100%; object-fit: cover; }
.footer .nav__brand img { height: 48px; width: auto; }
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100% - 1240px) / 2)) 16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.gallery figure { flex: 0 0 auto; margin: 0; height: 320px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); scroll-snap-align: start; }
.gallery img { height: 100%; width: auto; max-width: 80vw; object-fit: cover; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.video__frame { aspect-ratio: 16/9; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.video__frame iframe { width: 100%; height: 100%; border: 0; }
.video h3 { font-size: 16px; padding: 16px 18px; line-height: 1.3; }

/* newsletter */
.newsletter { background: var(--lime); color: var(--ink); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.newsletter p { margin-top: 10px; font-weight: 500; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter input { flex: 1; background: #fff; color: var(--ink); border-color: transparent; }
.newsletter .form-msg { grid-column: 1 / -1; color: var(--ink); }

/* forms */
input, textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 500 16px var(--body); }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
label small { color: var(--muted); font-weight: 500; }
.form { padding: 28px; display: grid; gap: 16px; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1.2em; }
.form-msg.err { color: #FF8A8A; }
.form-msg.ok { color: var(--lime); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { margin-bottom: 14px; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.contact__list a { font: 700 20px/1.3 var(--display); text-decoration: none; word-break: break-word; }
.contact__list a:hover { color: var(--lime); }

/* footer */
.footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }

/* bid sheet */
.sheet { border: 1px solid var(--line); border-radius: 26px; padding: 0; background: var(--surface); color: var(--text); width: min(460px, 100% - 24px); }
.sheet::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.sheet__inner { padding: 26px; display: grid; gap: 16px; }
.sheet__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.sheet__head .eyebrow { margin-bottom: 8px; }
.sheet__head h3 { font-size: 26px; }
.sheet__current { color: var(--muted); font-size: 15px; }
.sheet__current b { color: var(--text); }
.amount { display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding-left: 16px; }
.amount span { font: 800 24px var(--display); color: var(--lime); }
.amount input { border: 0; background: transparent; font: 800 24px var(--display); }
.amount input:focus { outline: none; }
.amount:focus-within { outline: 2px solid var(--lime); }
.quick { display: flex; gap: 8px; flex-wrap: wrap; }
.quick button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 700 14px var(--body); cursor: pointer; }
.quick button:hover { border-color: var(--lime); color: var(--lime); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--text); color: var(--ink); padding: 14px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; z-index: 80; transition: transform .35s cubic-bezier(.2,.9,.3,1.2); max-width: calc(100% - 32px); text-align: center; visibility: hidden; }
.toast.show { visibility: visible; }
.toast.show { transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 980px) {
  .hero__grid, .contact, .newsletter { grid-template-columns: 1fr; }
  .releases { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__about { grid-column: span 2; }
  .bento__img { grid-column: span 2; max-height: 360px; }
  .videos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 18px; padding: 14px; }
  .nav__menu { display: grid; }
  .nav__cta { display: none; }
  .hero { padding-top: 40px; }
  .section { padding-top: 72px; }
  .steps, .videos { grid-template-columns: 1fr; }
  .drop { grid-template-columns: 76px 1fr; }
  .drop__actions { grid-column: 1 / -1; justify-content: stretch; }
  .drop__actions > * { flex: 1; }
  .drop__rsvp input { width: 100%; }
  .newsletter { padding: 28px; }
  .newsletter__row { flex-direction: column; }
  .bento__about { padding: 26px; }
}
@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .bento__about, .bento__img { grid-column: span 1; }
  .gallery figure { height: 240px; }
  .lots { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
