/* ==========================================================================
   NOVUS — STORE STYLES
   Colors, fonts and frame size are the tokens right below. Change them here.
   Black and white carry the design; --accent (purple) is used only for small marks.
   Performance rules this file sticks to: no backdrop-filter, no box-shadow
   animation, only opacity/transform transitions.
   ========================================================================== */
:root {
  --bg: #050506;            /* page background (black) */
  --bg-2: #0f0f12;          /* raised panels (drawer, menu) */
  --ink: #f4f3f7;           /* text + buttons (white) */
  --ink-60: rgba(244, 243, 247, .6);
  --ink-40: rgba(244, 243, 247, .4);
  --ink-20: rgba(244, 243, 247, .2);
  --ink-10: rgba(244, 243, 247, .1);
  --ink-05: rgba(244, 243, 247, .05);
  --accent: #8e7cff;        /* the one purple: small marks, progress, selection */
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;          /* body and interface */
  --display: "Outfit", "Manrope", "Segoe UI", Arial, sans-serif; /* headlines, numbers and the wordmark */
  --mono: Consolas, "SF Mono", monospace;                     /* only inline code */
  --m: 2.5rem;              /* frame margin around the screen */
  --c: 1.5rem;              /* corner radius of the frame */
  --r: 1.25rem;             /* corner radius of cards and panels */
  --r-sm: .75rem;           /* corner radius of inputs and small boxes */
  --line: 1px solid var(--ink-10);
  --ease: cubic-bezier(.2, 0, 0, 1);
}
@media (max-width: 720px) { :root { --m: .625rem; --c: 1rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; animation: pagein .45s linear; transition: opacity .24s linear; }
@keyframes pagein { from { opacity: 0; } }
html.leaving body { opacity: 0; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
code { font-family: var(--mono); font-size: .875em; background: var(--ink-10); padding: .1em .35em; border-radius: .3em; }

/* ---------------- background city + frame ---------------- */
#city { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
html.over-logo, html.over-logo body { cursor: pointer; }     /* the 3D N is clickable (it shatters) */
body.sub #city { position: absolute; height: 100vh; opacity: .42; -webkit-mask-image: linear-gradient(#000 35%, transparent 92%); mask-image: linear-gradient(#000 35%, transparent 92%); }
/* rounded window: the frame is a transparent box with a huge black "shadow" around it */
.frame { position: fixed; inset: var(--m); z-index: 50; pointer-events: none; border-radius: var(--c); box-shadow: 0 0 0 100vmax var(--bg); }
.topfade { position: fixed; left: 0; right: 0; top: 0; height: calc(var(--m) + 7.5rem); z-index: 40; pointer-events: none; background: linear-gradient(var(--bg) 70%, rgba(5, 5, 6, 0)); }
body.home .topfade { opacity: 0; transition: opacity .3s linear; }
body.home.past .topfade { opacity: 1; }

/* ---------------- type ---------------- */
h1, h2, h3, .display, .h2, .h3 { font-family: var(--display); }
.display { font-weight: 600; font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -.025em; }
.h2 { font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.015em; }
h3, .h3 { font-weight: 600; font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; }
/* small labels: plain sentence case with a purple dot (no mono, no caps) */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 500 .8125rem/1 var(--sans); color: var(--ink-60); }
.eyebrow::before { content: ""; width: .375rem; height: .375rem; border-radius: 50%; background: var(--accent); flex: none; }
.lead { font-weight: 300; font-size: 1.125rem; line-height: 1.6; color: var(--ink-60); max-width: 44ch; }
.muted { color: var(--ink-60); font-weight: 300; }
.center { text-align: center; }
.wrap { width: 100%; max-width: 84rem; margin: 0 auto; padding: 0 calc(var(--m) + 1.5rem); }

/* ---------------- buttons ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; font: 600 .875rem/1.2 var(--sans); letter-spacing: -.005em; white-space: nowrap;
  background: var(--ink); color: var(--bg); cursor: pointer; border-radius: 999px;
  transition: background-color .2s linear, color .2s linear, opacity .2s linear, transform .3s var(--ease);
}
.btn svg { width: .7rem; height: .7rem; flex: none; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost, .btn--dark { background: var(--ink-05); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-10); }
.btn--ghost:hover, .btn--dark:hover { background: var(--ink-10); }
.btn--sm { padding: .65rem 1.1rem; font-size: .8125rem; }
.btn[disabled], .btn.is-busy { opacity: .5; pointer-events: none; }

.tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.tag { font: 500 .6875rem/1 var(--sans); padding: .4rem .65rem; border-radius: 999px; background: var(--ink-05); box-shadow: inset 0 0 0 1px var(--ink-10); color: var(--ink-60); }
.price { font: 600 1rem/1 var(--display); letter-spacing: -.01em; }
.price s { color: var(--ink-40); margin-right: .25rem; font-weight: 400; }
.skeleton { background: var(--ink-05); min-height: 1rem; border-radius: var(--r); animation: sk 1.2s linear infinite alternate; }
@keyframes sk { to { opacity: .45; } }

/* ---------------- header ---------------- */
.hdr { position: fixed; z-index: 60; top: calc(var(--m) + 1rem); left: calc(var(--m) + 1.5rem); right: calc(var(--m) + 1rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; pointer-events: none; }   /* logo | centred links | controls */
.hdr__right { justify-self: end; }
.hdr > * { pointer-events: auto; }
/* the N mark is the first letter of the word, so the two read as one "NOVUS" */
.logo { display: flex; align-items: center; gap: .2em; font-size: 1.0625rem; }
.logo svg { height: 1em; width: auto; fill: var(--ink); }
.logo b { font: 600 1.1em/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.logo small { margin-left: .6rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo small { font: 600 .625rem/1 var(--sans); letter-spacing: .08em; padding: .3rem .5rem; border-radius: 999px; background: var(--ink-10); }
.hdr__right { display: flex; align-items: center; gap: .375rem; }
/* sound toggle: a pill fixed to the bottom-left corner of the screen */
.snd { position: fixed; z-index: 60; left: calc(var(--m) + 1rem); bottom: calc(var(--m) + 1rem); display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; border-radius: 999px; background: var(--ink-05); box-shadow: inset 0 0 0 1px var(--ink-10); border: 0; color: var(--ink); cursor: pointer; font: 600 .8125rem/1 var(--sans); opacity: .75; transition: opacity .2s linear, background-color .2s linear; }
.snd:hover, .snd.is-on { opacity: 1; } .snd:hover { background: var(--ink-10); }
.snd__bars { display: flex; align-items: flex-end; gap: 2px; height: .75rem; }
.snd__bars i { width: 2px; height: 100%; background: currentColor; transform: scaleY(.25); transform-origin: bottom; }
.snd.is-on .snd__bars i { animation: sndbar 1.1s ease-in-out infinite alternate; }
.snd.is-on .snd__bars i:nth-child(2) { animation-delay: -.35s; } .snd.is-on .snd__bars i:nth-child(3) { animation-delay: -.7s; } .snd.is-on .snd__bars i:nth-child(4) { animation-delay: -.2s; }
@keyframes sndbar { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@media (max-width: 720px) { .snd { left: calc(var(--m) + .5rem); bottom: calc(var(--m) + .5rem); padding: .6rem .8rem; } }
/* the main links sit in one pill, like the basket button; the current page is a filled pill inside it */
.hdr__links { display: flex; gap: .125rem; justify-self: center; padding: .3rem; border-radius: 999px; background: var(--ink-05); box-shadow: inset 0 0 0 1px var(--ink-10); }
.hdr__links a { position: relative; padding: .6rem 1rem; border-radius: 999px; font: 500 .8125rem/1 var(--sans); color: var(--ink-60); transition: color .2s linear, background-color .2s linear; }
.hdr__links a:hover { color: var(--ink); background: var(--ink-10); }
.hdr__links a.is-current { color: var(--bg); background: var(--ink); }
.hdr__links a.is-current::before { content: ""; display: inline-block; width: .375rem; height: .375rem; border-radius: 50%; background: var(--accent); margin-right: .45rem; vertical-align: .05em; }
@media (max-width: 900px) { .hdr__links { display: none; } }
@media (max-width: 720px) { .hdr { top: calc(var(--m) + .5rem); left: calc(var(--m) + 1rem); right: calc(var(--m) + .5rem); } .hdr .btn { padding: .9rem 1rem; } }

/* ---------------- menu overlay ---------------- */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--m) + 1.5rem); opacity: 0; visibility: hidden; transition: opacity .25s linear, visibility 0s .25s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .25s linear; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__links { display: flex; flex-direction: column; gap: .25rem; margin: 2rem 0; }
.menu__links a { display: flex; align-items: baseline; gap: 1rem; font: 600 clamp(2rem, 6vw, 4.25rem)/1.05 var(--display); letter-spacing: -.025em; opacity: 0; transform: translateY(1.25rem); transition: opacity .3s linear, transform .3s var(--ease); }
.menu.is-open .menu__links a { opacity: .45; transform: none; transition: opacity .4s linear, transform .6s var(--ease); }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .05s; } .menu.is-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .15s; } .menu.is-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__links a:hover, .menu.is-open .menu__links a.is-current { opacity: 1; transform: translateX(.75rem); transition-delay: 0s; }
.menu__links a span { color: var(--accent); }
.menu__links a span { align-self: center; font: 500 .8125rem/1 var(--sans); letter-spacing: 0; min-width: 1.5rem; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1.5rem; font: 500 .8125rem/1 var(--sans); }
.menu__foot a { opacity: .6; } .menu__foot a:hover { opacity: 1; }

/* ---------------- basket drawer ---------------- */
.scrim { position: fixed; inset: 0; z-index: 99; background: rgba(5, 5, 6, .7); opacity: 0; visibility: hidden; transition: opacity .25s linear, visibility 0s .25s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .25s linear; }
/* basket drawer: floats in from the right as a rounded sheet (Vaul-style) */
.drawer { position: fixed; z-index: 101; top: .75rem; right: .75rem; bottom: .75rem; width: min(27rem, calc(100% - 1.5rem)); background: linear-gradient(180deg, #121218, #0c0c0f 40%); border: var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; transform: translateX(calc(100% + 1rem)); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.drawer::before { content: ""; position: absolute; left: 50%; top: -8rem; width: 26rem; height: 16rem; margin-left: -13rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(142, 124, 255, .22), transparent); pointer-events: none; }   /* the same purple glow as the N's pool */
.drawer > * { position: relative; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.5rem 1.5rem 1.25rem; }
.drawer__title { font: 600 1.75rem/1 var(--display); letter-spacing: -.02em; margin-top: .6rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: .25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.drawer__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: var(--line); display: flex; flex-direction: column; gap: .75rem; background: rgba(5, 5, 6, .35); }
.drawer__foot .btn { width: 100%; }
.drawer__fine { font-size: .75rem; color: var(--ink-40); text-align: center; }
.drawer__empty { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem 1rem; text-align: center; color: var(--ink-60); }
.drawer__empty svg { width: 2.5rem; fill: var(--ink-20); }
.x { font: 500 .8125rem/1 var(--sans); opacity: .6; padding: .5rem .75rem; border-radius: 999px; background: var(--ink-05); box-shadow: inset 0 0 0 1px var(--ink-10); }
.x:hover { opacity: 1; background: var(--ink-10); }
.line { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: .875rem; align-items: center; padding: .75rem; background: var(--ink-05); border: var(--line); border-radius: var(--r-sm); }
.line img { width: 4.5rem; height: 3rem; object-fit: cover; border-radius: .5rem; }
.line b { display: block; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.line button { font: 500 .75rem/1 var(--sans); color: var(--ink-60); margin-top: .4rem; }
.line button:hover { color: var(--ink); }
.note { font-size: .875rem; font-weight: 300; color: var(--ink-60); padding: 1rem 1.1rem; background: var(--ink-05); border: var(--line); border-radius: var(--r-sm); }
.note b { color: var(--ink); font-weight: 600; }
.drawer .note + .btn { width: 100%; }
.codes { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
.codes form { display: flex; gap: .5rem; }
.field { flex: 1; min-width: 0; background: var(--ink-05); border: var(--line); padding: .7rem .9rem; font: 400 .875rem/1.2 var(--sans); color: var(--ink); border-radius: 999px; transition: border-color .2s linear, box-shadow .2s linear; }
.field::placeholder { color: var(--ink-40); }
.field:focus { outline: none; border-color: var(--ink-40); box-shadow: 0 0 0 3px rgba(142, 124, 255, .18); }
.applied { display: flex; justify-content: space-between; font: 500 .8125rem/1 var(--sans); padding: .7rem .9rem; background: var(--ink-10); border-radius: var(--r-sm); }
.sum { display: flex; justify-content: space-between; font: 400 .875rem/1 var(--sans); color: var(--ink-60); }
.sum--total { color: var(--ink); font-size: 1rem; font-weight: 600; }

/* toasts: stacked bottom-right, rounded (Sonner-style) */
.toasts { position: fixed; z-index: 150; right: calc(var(--m) + 1rem); bottom: calc(var(--m) + 1rem); display: flex; flex-direction: column; gap: .5rem; align-items: flex-end; pointer-events: none; width: max-content; max-width: calc(100% - 2rem); }
.toast { background: var(--bg-2); color: var(--ink); border: var(--line); border-radius: var(--r-sm); font: 500 .875rem/1.4 var(--sans); padding: .85rem 1.1rem; animation: toast .35s var(--ease); }
.toast.is-error { border-color: rgba(255, 143, 143, .5); color: #ffb3b3; }
@keyframes toast { from { opacity: 0; transform: translateY(.75rem) scale(.97); } }
@media (max-width: 720px) { .toasts { left: 1rem; right: 1rem; align-items: stretch; width: auto; } }

/* ---------------- loader (home, first visit of the session only) ---------------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-wrap: wrap; column-gap: .5rem; row-gap: 1.25rem; align-items: center; justify-content: center; animation: loaderOut .35s linear 1.15s forwards; }
.loader svg { height: 2.75rem; width: auto; fill: var(--ink); animation: loaderDraw .8s steps(9) both; }
.loader b { font: 600 3rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.loader span { flex-basis: 100%; text-align: center; }
.loader span { font: 500 .875rem/1 var(--sans); color: var(--accent); }
@keyframes loaderDraw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.no-loader .loader { display: none; }

/* ---------------- home: scroll story ---------------- */
.track { position: relative; z-index: 1; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(rgba(5, 5, 6, 0), rgba(5, 5, 6, .8) 70%); pointer-events: none; }
.stagebar { position: absolute; z-index: 4; left: calc(var(--m) + var(--c)); right: calc(var(--m) + var(--c)); bottom: calc(var(--m) + .25rem); height: 2px; border-radius: 1px; overflow: hidden; background: var(--ink-10); }
.stagebar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.scrollhint { font: 500 .8125rem/1 var(--sans); padding-bottom: .9rem; opacity: 0; transition: opacity .3s linear; animation: hint 1.6s ease-in-out infinite; }
.stage[data-active="0"] .scrollhint { opacity: .7; }
@keyframes hint { 50% { transform: translateY(.3rem); } }
.panel { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(var(--m) + 4.5rem); padding: 0 calc(var(--m) + 1.5rem); display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; visibility: hidden; transform: translateY(1rem); transition: opacity .3s linear, transform .5s var(--ease), visibility 0s .3s; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .4s linear .15s, transform .6s var(--ease) .15s; }
.panel h1, .panel h2 { font-weight: 600; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 1.5rem; }
.panel p { font-weight: 300; color: var(--ink-60); max-width: 30rem; margin-bottom: 2rem; }
.panel .eyebrow { display: none; margin-bottom: 1.5rem; }
/* story position indicator (iOS style): a thin track that appears while scrolling and fades when you stop */
.scrollpill { position: absolute; z-index: 4; right: calc(var(--m) + 1.25rem); top: 50%; width: 4px; height: 9rem; margin-top: -4.5rem; border-radius: 2px; background: var(--ink-10); opacity: 0; transition: opacity .5s linear .1s; pointer-events: none; }
.scrollpill i { display: block; width: 100%; height: 2.25rem; border-radius: 2px; background: var(--ink); transform: translateY(calc(var(--p, 0) * 6.75rem)); transition: transform .15s linear; }
.scrollpill.is-scrolling { opacity: 1; transition: opacity .12s linear; }
.stagectl { position: absolute; z-index: 4; left: calc(var(--m) + 1rem); right: calc(var(--m) + 1rem); bottom: calc(var(--m) + 1rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; pointer-events: none; }
.stagectl > * { pointer-events: auto; justify-self: start; }
.stagectl .scrollhint { grid-column: 2; justify-self: center; }
.stagectl .btn { background: var(--ink-05); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-10); }
.stagectl .btn:hover { background: var(--ink-10); }
.stagectl div { display: flex; gap: .375rem; }
.marker { position: absolute; z-index: 2; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: .75rem; opacity: 0; pointer-events: none; transition: opacity .35s linear; will-change: transform; }
.stage[data-active="2"] .marker { opacity: 1; pointer-events: auto; }
.marker i { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--ink-20); background: radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px) var(--ink-05); transition: background-color .2s linear, transform .3s var(--ease); }
.marker:hover i { background-color: var(--ink-20); transform: scale(1.1); }
.marker b { font: 600 .875rem/1 var(--sans); background: var(--ink); color: var(--bg); padding: .45rem .8rem; border-radius: 999px; white-space: nowrap; }
@media (max-width: 720px) {
  .stagectl div, .scrollhint { display: none; }
  .scrollpill { right: calc(var(--m) + .5rem); height: 6rem; margin-top: -3rem; } .scrollpill i { height: 1.5rem; transform: translateY(calc(var(--p, 0) * 4.5rem)); }
  .panel { align-items: flex-start; text-align: left; bottom: calc(var(--m) + 5.5rem); }
  .panel .eyebrow { display: inline-flex; }
  .marker b { font-size: .75rem; } .marker i { width: 1.75rem; height: 1.75rem; }
}

/* ---------------- content sections ---------------- */
main { position: relative; z-index: 1; }
body.sub main { padding-top: calc(var(--m) + 7rem); min-height: 100vh; }
.solid { position: relative; z-index: 5; background: var(--bg); }
.section { padding: 6rem 0; }
.section--tight { padding-top: 3rem; padding-bottom: 3rem; }
#releases { padding-top: calc(var(--m) + 7rem); }
.section--gray { background: var(--ink-05); }
.solid.section--gray { background: #0c0c0f; }
.phero { padding: 2rem 0 3.5rem; }
.phero .display { margin-top: 1.5rem; }
.phero p { margin-top: 1.5rem; max-width: 46ch; font-weight: 300; font-size: 1.125rem; color: var(--ink-60); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sechead .h2 { margin-top: 1.25rem; }

.card { display: flex; flex-direction: column; background: var(--ink-05); border: var(--line); border-radius: var(--r); overflow: hidden; transition: background-color .2s linear, border-color .2s linear, transform .4s var(--ease); }
.card:hover { background: var(--ink-10); border-color: var(--ink-20); transform: translateY(-.25rem); }
/* purple spotlight that follows the pointer (position set by core.js as --mx / --my) */
.card, .value, .step, .discord-panel, .stat, .member { position: relative; }
.card > *, .value > *, .step > *, .discord-panel > *, .stat > *, .member > * { position: relative; z-index: 1; }
.card::after, .value::after, .step::after, .discord-panel::after, .stat::after, .member::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s linear; background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 50%), rgba(142, 124, 255, .16), transparent 65%); }
.card:hover::after, .value:hover::after, .step:hover::after, .discord-panel:hover::after, .stat:hover::after, .member:hover::after { opacity: 1; }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.25rem 1.5rem; flex: 1; }
.card__body p { font-size: .875rem; font-weight: 300; color: var(--ink-60); }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .5rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 4rem; }
.stat { background: var(--ink-05); border: var(--line); border-radius: var(--r); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.stat b { font: 600 2.5rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font: 400 .875rem/1.3 var(--sans); color: var(--ink-60); }
.values, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.value, .step { background: var(--ink-05); border: var(--line); border-radius: var(--r); padding: 1.75rem 1.5rem 2rem; display: flex; flex-direction: column; gap: .875rem; }
.value p, .step p { font-size: .9375rem; font-weight: 300; color: var(--ink-60); }
.num, .step::before { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink-10); font: 600 .75rem/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.step::before { counter-increment: step; content: "0" counter(step); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.member { display: flex; align-items: center; gap: 1rem; background: var(--ink-05); border: var(--line); border-radius: var(--r); padding: 1rem; }
.member__avatar { width: 3.5rem; height: 3.5rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; overflow: hidden; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__body b { display: block; font-weight: 600; letter-spacing: -.01em; }
.member__body span { font: 400 .8125rem/1.3 var(--sans); color: var(--ink-60); }

.faqgrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.faqgrid__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.faqgrid__cta p { font-weight: 300; color: var(--ink-60); }
.acc { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.acc__item { background: var(--ink-05); border: var(--line); border-radius: var(--r-sm); padding: 0 1.25rem; transition: background-color .2s linear; }
.acc__item:hover { background: var(--ink-10); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1.1rem 0; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.acc__q svg { width: .75rem; height: .75rem; flex: none; opacity: .6; transition: transform .3s var(--ease); }
.acc__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc__a > div { overflow: hidden; font-weight: 300; color: var(--ink-60); }
.acc__q[aria-expanded="true"] + .acc__a { grid-template-rows: 1fr; }
.acc__q[aria-expanded="true"] + .acc__a > div { padding-bottom: 1.25rem; }
.acc__a a, .prose a, .done a:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
main > .wrap > .h3, main .wrap > h2.h3 { margin-top: 3rem; }

.discord-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; background: var(--ink-05); border: var(--line); border-radius: var(--r); padding: 2.5rem; }
.discord-panel p { margin: 1rem 0 1.75rem; font-weight: 300; color: var(--ink-60); max-width: 46ch; }
.dstats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.dstat { background: var(--bg); border: var(--line); border-radius: var(--r-sm); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.dstat b { font: 600 2rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dstat span { display: flex; align-items: center; gap: .5rem; font: 400 .8125rem/1 var(--sans); color: var(--ink-60); }
.dstat i { width: .5rem; height: .5rem; border-radius: 50%; background: #7dffb0; box-shadow: 0 0 8px rgba(125, 255, 176, .6); } .dstat i.off { background: var(--ink-40); box-shadow: none; }

.legal { max-width: 52rem; padding-bottom: 6rem; }
.updated { font: 400 .8125rem/1 var(--sans); color: var(--ink-60); margin-bottom: 2rem; }
.prose { font-weight: 300; color: rgba(244, 243, 247, .78); }
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 2.25rem; font-size: 1.125rem; }
.prose ul, .prose ol { padding-left: 1.25rem; } .prose ul { list-style: square; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4rem; }
.prose img, .prose iframe { max-width: 100%; }

.done { min-height: calc(100vh - 12rem); display: grid; place-items: center; text-align: center; padding: 2rem calc(var(--m) + 1.5rem) 6rem; }
.done > div { max-width: 40rem; }
.done__check { width: 3.5rem; height: 3.5rem; margin: 0 auto 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); }
.done__check svg { width: 1.75rem; height: 1.75rem; }
.done ol { text-align: left; margin: 2rem 0 2.5rem; counter-reset: d; display: flex; flex-direction: column; gap: .5rem; }
.done li { counter-increment: d; display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--ink-05); border: var(--line); border-radius: var(--r-sm); font-weight: 300; color: var(--ink-60); }
.done li::before { content: "0" counter(d); flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--ink-10); font: 600 .75rem/1 var(--sans); color: var(--ink); }

/* ---------------- store + product ---------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .375rem; }
.chip { font: 500 .8125rem/1 var(--sans); padding: .65rem 1rem; border-radius: 999px; background: var(--ink-05); box-shadow: inset 0 0 0 1px var(--ink-10); color: var(--ink-60); transition: background-color .2s linear, color .2s linear; }
.chip:hover { color: var(--ink); background: var(--ink-10); } .chip.is-active { background: var(--ink); color: var(--bg); box-shadow: none; }
.search { display: flex; gap: .5rem; flex: 0 1 26rem; }
.search select.field { flex: 0 0 auto; }
.search select.field option { background: var(--bg-2); }
.empty { grid-column: 1 / -1; padding: 4rem 0; text-align: center; color: var(--ink-60); }
.empty--soon { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 5rem 1rem; background: var(--ink-05); border: var(--line); border-radius: var(--r); }
.empty--soon svg { width: 2.5rem; fill: var(--ink-20); margin-bottom: .5rem; } .empty--soon h3 { color: var(--ink); } .empty--soon p { max-width: 32ch; } .empty--soon .btn { margin-top: .5rem; }
.storewrap { padding-bottom: 6rem; }

.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; padding-bottom: 4rem; }
.pdp__main { aspect-ratio: 16 / 10; background: var(--bg-2); border: var(--line); border-radius: var(--r); overflow: hidden; }
.pdp__main img, .pdp__main iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.pdp__thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.pdp__thumbs button { width: 6rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .5rem; opacity: .5; transition: opacity .2s linear; }
.pdp__thumbs button.is-active, .pdp__thumbs button:hover { opacity: 1; }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; position: sticky; top: calc(var(--m) + 6rem); }
.pdp__info .display { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.crumbs { font: 400 .8125rem/1 var(--sans); color: var(--ink-60); }
.crumbs a:hover { color: var(--ink); }
.pdp__price { font-size: 1.5rem; }
.pdp__buy { display: flex; gap: .5rem; flex-wrap: wrap; }
.pdp__perks { width: 100%; display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.pdp__perks li { display: flex; align-items: center; gap: .875rem; padding: .9rem 1.1rem; background: var(--ink-05); border: var(--line); border-radius: var(--r-sm); font-size: .875rem; font-weight: 300; color: var(--ink-60); }
.pdp__perks svg { width: 1rem; height: 1rem; flex: none; color: var(--ink); }

/* ---------------- ticker ---------------- */
.marquee { position: relative; z-index: 5; background: var(--bg); border-top: var(--line); border-bottom: var(--line); overflow: hidden; padding: 1.1rem 0; font: 500 .875rem/1 var(--sans); color: var(--ink-60); }
.marquee > div { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; white-space: nowrap; }
.marquee span::after { content: ""; width: .375rem; height: .375rem; border-radius: 50%; background: var(--accent); }
.marquee:hover > div { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- cursor ring (desktop only) ---------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 1.5rem; height: 1.5rem; margin: -.75rem 0 0 -.75rem; border: 1px solid var(--ink-40); border-radius: 50%; pointer-events: none; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .2s linear, opacity .2s linear, background-color .2s linear; }
.cursor.is-link { width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; border-color: var(--accent); background: rgba(142, 124, 255, .1); }
.cursor.is-down { width: .9rem; height: .9rem; margin: -.45rem 0 0 -.45rem; background: var(--accent); border-color: var(--accent); }
.cursor.is-out { opacity: 0; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------------- footer ---------------- */
.footer { position: relative; z-index: 5; background: var(--bg); padding: 5rem 0 calc(var(--m) + 2rem); border-top: var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer__grid p { margin-top: 1.25rem; font-weight: 300; color: var(--ink-60); max-width: 30ch; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; }
.footer__col a { font: 400 .9375rem/1 var(--sans); opacity: .6; transition: opacity .2s linear; }
.footer__col a:hover { opacity: 1; }
.footer__mark { display: block; margin: 4.5rem 0 1.5rem; width: 100%; touch-action: pan-y; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font: 400 .8125rem/1.5 var(--sans); color: var(--ink-40); }

/* ---------------- reveal on scroll ---------------- */
.js [data-reveal], .js [data-split] { opacity: 0; transform: translateY(.75rem); transition: opacity .5s linear, transform .7s var(--ease); }
.js [data-reveal].in, .js [data-split].in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .split, .faqgrid, .pdp, .discord-panel { grid-template-columns: 1fr; gap: 2rem; }
  .pdp__info { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .values, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
}
