/* NextLevel Collections — the public catalog. Dark, type-led, one accent per collection. */
:root {
  --bg: #0b0b10;
  --bg-2: #13131b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f1ea;
  --muted: #a3a0ad;
  --faint: #6f6c7a;
  --lime: #c6f432;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---- top bar ---- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(11, 11, 16, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -0.01em; }
.brand-sub { color: var(--muted); font-weight: 500; }
.mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--lime); color: var(--bg); font: 800 17px/1 var(--display);
}
.top-cta {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 14px/1 var(--body); text-decoration: none; white-space: nowrap;
  padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
}
.top-cta:hover { border-color: var(--lime); color: var(--lime); }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 104px); line-height: 0.93; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1; font-weight: 800; }
.eyebrow { margin: 0 0 18px; font: 600 12px/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent, var(--lime)); }
.eyebrow a { text-decoration: none; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 36em; margin: 22px 0 0; }
.lede a { color: var(--text); }

/* ---- buttons ---- */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--accent, var(--lime)); color: #0b0b10; border: 0; cursor: pointer;
  font: 700 16px/1 var(--body); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent, var(--lime)); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }

/* ---- the poster: a collection drawn from its own titles ---- */
.poster {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 18px;
  background:
    radial-gradient(120% 80% at 85% 110%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%),
    radial-gradient(90% 60% at 0% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    #121219;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  isolation: isolate;
}
.poster-wall {
  position: absolute; inset: -20% -30%; z-index: -1;
  transform: rotate(-12deg);
  font: 800 13px/1.05 var(--display); text-transform: uppercase; letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--accent) 42%, transparent);
  word-spacing: 2px; text-align: justify;
  mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}
.poster-wall i { font-style: normal; color: color-mix(in srgb, var(--accent) 80%, transparent); }
.poster-icon { position: absolute; left: 18px; bottom: 46px; font-size: 54px; line-height: 1; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5)); }
.poster-meta {
  position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between;
  font: 600 11px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
}
.poster-big { border-radius: 26px; }
.poster-big .poster-wall { font-size: clamp(16px, 2vw, 24px); line-height: 1.02; }
.poster-big .poster-icon { font-size: clamp(64px, 8vw, 104px); left: 28px; bottom: 64px; }
.poster-big .poster-meta { left: 28px; right: 28px; bottom: 26px; font-size: 12px; }

/* ---- landing ---- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 8vw, 110px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero-poster { position: relative; display: block; text-decoration: none; transform: rotate(2.5deg); transition: transform 0.3s ease; --accent: #ff3b3b; }
.hero-poster:hover { transform: rotate(0deg) scale(1.02); }
.hero-poster-title {
  position: absolute; left: 28px; right: 28px; top: 26px;
  font: 800 clamp(26px, 3vw, 38px)/0.95 var(--display); letter-spacing: -0.02em;
}

.how {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(50px, 8vw, 100px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.how-step { padding: 26px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.how-step h2 { font-size: 24px; margin: 18px 0 10px; }
.how-step p { margin: 0; color: var(--muted); }
.how-n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--lime); color: var(--bg); font: 800 16px/1 var(--display);
}

.browse { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(50px, 8vw, 100px); }
.browse-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.browse-tools input {
  width: min(360px, 100%); min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: 500 15px var(--body);
}
.browse-tools { flex: 1 1 260px; display: flex; justify-content: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  min-height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line); font: 600 14px var(--body);
}
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; }
.grid-small { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { text-decoration: none; display: block; }
.card .poster { transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover .poster { transform: translateY(-4px) rotate(-1deg); border-color: var(--accent); }
.card h3 { font-size: 21px; line-height: 1.1; margin: 14px 2px 6px; }
.card p { margin: 0 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.card[hidden] { display: none; }
.empty { color: var(--muted); }

.soon { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(50px, 8vw, 100px); }
.soon ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.soon li {
  display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 18px;
  border: 1px dashed var(--line); font: 700 20px/1.2 var(--display);
}
.soon li span { font-size: 30px; margin-bottom: 6px; }
.soon li em { font: 400 14px/1.4 var(--body); color: var(--muted); font-style: normal; }

/* ---- collection page ---- */
.coll { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 80px) var(--gutter) 40px; }
.coll-hero { display: grid; grid-template-columns: minmax(220px, 0.7fr) 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: clamp(36px, 6vw, 72px); }
.coll-hero h1 { font-size: clamp(40px, 6.4vw, 84px); }
.coll-note { margin: 16px 0 0; font-size: 13px; color: var(--faint); }
.members { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); columns: 2 360px; column-gap: 40px; }
.members li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.members a { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 14px 4px; text-decoration: none; }
.members a:hover .m-t { color: var(--accent); }
.m-n { grid-row: span 2; font: 800 18px/1.3 var(--display); color: var(--accent); }
.members:not(.members-ordered) .m-n::before { content: ''; display: block; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
.m-t { font: 700 19px/1.25 var(--display); letter-spacing: -0.01em; transition: color 0.15s; }
.m-d { font-size: 13px; color: var(--muted); }
.related { margin-top: clamp(48px, 7vw, 90px); }
.related h2 { margin-bottom: 22px; }

/* ---- item page ---- */
.item { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--gutter) 40px; }
.item-h { margin: clamp(36px, 6vw, 64px) 0 22px; }

/* ---- waitlist ---- */
.join { padding: clamp(60px, 9vw, 120px) var(--gutter); background: var(--lime); color: #0b0b10; }
.join-in { max-width: 720px; margin: 0 auto; text-align: center; }
.join h2 { font-size: clamp(38px, 6vw, 72px); }
.join p { font-size: 18px; margin: 18px auto 0; max-width: 32em; }
.join-form { display: flex; gap: 10px; margin: 30px auto 0; max-width: 520px; }
.join-form input[type=email] {
  flex: 1 1 auto; min-width: 0; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 2px solid #0b0b10;
  background: #fff; color: #0b0b10; font: 500 16px var(--body);
}
.join-form button {
  flex: 0 0 auto; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: #0b0b10; color: var(--lime); font: 700 16px var(--body);
}
.join-form button[disabled] { opacity: 0.6; }
.join-form .hp { display: none; }
.join-msg { min-height: 1.5em; font-weight: 600; }

/* ---- footer ---- */
.foot { padding: 40px var(--gutter) 56px; color: var(--muted); max-width: var(--max); margin: 0 auto; font-size: 15px; }
.foot strong { color: var(--text); }
.foot-small { font-size: 13px; color: var(--faint); }

/* ---- phone ---- */
@media (max-width: 820px) {
  .hero, .coll-hero { grid-template-columns: 1fr; }
  .hero-poster { max-width: 360px; transform: rotate(1.5deg); }
  .coll-hero .poster { max-width: 300px; }
  .how { grid-template-columns: 1fr; }
  .join-form { flex-direction: column; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero-poster, .hero-poster:hover { transform: none; }
}
