/* DESKS on Solana: Solana's black with its purple (#9945FF) and green (#14F195); DM Sans with Geist Mono captions. */
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { color-scheme: dark; accent-color: #9945FF;
  --bg: #0b0b0f; --card: #121217; --white: #15151b; --sunk: #1c1c23; --line: #25252e; --line-3: #33333e;
  --ink: #f3f3f6; --ink-2: #f3f3f6b5; --muted: #8b8b98; --brand: #9945FF; --brand-2: #7b2fe8; --sky: #14F195; --up: #14F195;
  --grad: linear-gradient(90deg, #9945FF, #14F195);
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); --r: 8px; --rc: 14px;
  --btn: radial-gradient(130% 160% at 88% 0%, #b98bff, #9945FF 40%, #7b2fe8);
  --btn-hover: radial-gradient(130% 160% at 88% 0%, #c6a0ff, #a557ff 40%, #8636f0);
  --btn-shadow: inset 0 1px 0 #ffffff3d, 0 1px 2px #00000080, 0 12px 28px -10px #9945ffa6;
  --btn-sky: radial-gradient(130% 160% at 88% 0%, #c9ffe6, #14F195 35%, #0cc97a);
  --btn-sky-shadow: inset 0 1px 0 #ffffffa0, inset 0 -1px 0 #0000002e, 0 1px 2px #00000080, 0 12px 30px -10px #14f19599;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.cap { font: 12px/16px var(--mono); color: var(--muted); }
.mono { font-family: var(--mono); }
.wrap { max-width: 1184px; margin: 0 auto; padding: 0 24px; }
svg[role=img], .art svg { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--r); font: 500 16px var(--sans);
  white-space: nowrap; cursor: pointer; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }
.btn.go { background: var(--btn); color: #fafafa; box-shadow: var(--btn-shadow); }
.btn.go:not([disabled]):hover { background: var(--btn-hover); }
.btn.sky { background: var(--btn-sky); color: #04120b; box-shadow: var(--btn-sky-shadow); }
.btn.lg { height: 48px; padding: 0 16px; font-size: 18px; }
.btn.big { width: 100%; height: 48px; font-size: 17px; }
.btn.sm { height: 36px; font-size: 15px; }

/* nav: clear over the hero, paper once you scroll (and on every other page) */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 20px; transition: background .3s, box-shadow .3s, color .3s; }
.nav.solid { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 6px 24px -18px #00000040; color: var(--ink); }
.nav.dark { color: #fafafa; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 500; letter-spacing: -.035em; }
.logo svg { width: 28px; height: 28px; }
.links { display: flex; gap: 4px; }
.links a { padding: 8px 12px; border-radius: var(--r); font-weight: 500; }
.links a:hover { background: #8882; }
.links a[aria-current] { background: #8882; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chip { display: inline-flex; flex-direction: column; justify-content: center; height: 40px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); line-height: 1.1; }
.chip .cap { font-size: 10.5px; line-height: 12px; }
.chip b { font-weight: 500; font-size: 14px; }
.nav.dark .chip { border-color: #ffffff2e; background: #00000033; backdrop-filter: blur(6px); }
.nav.dark .chip .cap { color: #ffffffa0; }
.nav [data-connect].on { font-family: var(--mono); font-size: 14px; }
body.page { padding-top: 64px; }

/* home: the hero */
.hero { position: relative; height: max(720px, 100svh); overflow: hidden; background: #050508; color: #fafafa; isolation: isolate; }
.hero-in { transition: none; will-change: transform, opacity; }
.hero h1 .w { display: inline-block; animation: riseIn 1.2s var(--ease) both; animation-delay: var(--d, 0ms); }
.gusts { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.gust { position: absolute; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 6px; border-radius: 999px; font: 12px/1 var(--mono); color: #fff; white-space: nowrap;
  background: #00000066; border: 1px solid #ffffff45; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 24px #14f19566, inset 0 1px 0 #ffffff26;
  animation: gust 4.2s var(--ease) forwards; }
.gust i { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #eafff5, #14F195 45%, #0cc97a); }
@keyframes gust { 0% { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(4px); } 12% { opacity: 1; transform: none; filter: none; } 78% { opacity: 1; } 100% { opacity: 0; transform: translateY(-56px); } }
.note b { font-weight: 400; color: #fff; font-variant-numeric: tabular-nums; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 10%; background: linear-gradient(to bottom, #0b0b0f00, #0b0b0fc0 62%, var(--bg)); z-index: 0; pointer-events: none; }
.hero-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 128px 16px 0; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font: 14px/20px var(--mono); background: #00000033; border: 1px solid #ffffff4d; backdrop-filter: blur(8px); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.hero h1 { margin: 22px 0 30px; font-size: clamp(48px, 6vw, 86px); max-width: 1020px; font-weight: 500; letter-spacing: -.055em; line-height: .98; text-shadow: 0 2px 30px #00000040; }
.hero h1 > span:not(.w) { color: #ffffffb0; }
.note { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 12px; border-radius: 999px; font: 12px var(--mono); color: #ffffffcc; background: #0000004d; border: 1px solid #ffffff26; backdrop-filter: blur(8px); }
.note i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: ping 2s infinite; }
.hero .credit { position: absolute; right: 20px; top: 76px; z-index: 2; font: 11px var(--mono); color: #ffffff80; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #14f195aa; } 70%, 100% { box-shadow: 0 0 0 8px #14f19500; } }
@keyframes shotIn { from { opacity: 0; filter: brightness(.35) saturate(.6); } }
.rise { animation: riseIn 1.2s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } }

/* home: paper sections */
.lead { position: relative; text-align: center; padding: 24px 0 56px; isolation: isolate; }
.lead::before { content: ''; position: absolute; left: 50%; top: 40%; width: min(760px, 100%); height: 300px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, #9945ff38, #0b0b0f00); filter: blur(10px); z-index: -1; }
.lead h2, .close h2 { margin: 0 0 18px; font-size: clamp(36px, 4.2vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.lead p { margin: 0 auto 30px; max-width: 760px; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.flow { position: relative; margin: 10px 0 80px; }
.flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow .lbl { position: absolute; transform: translateY(-50%); text-align: right; white-space: nowrap; }
.flow .lbl b { display: block; font-weight: 400; font-size: 16px; }
.flow .node { position: absolute; transform: translate(-50%, -50%); width: 15.2%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.flow .node::before { content: ''; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(closest-side, #14f1954d, #14f19500); z-index: -1; }
.flow .ring { width: 84%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; background: var(--white); }
.flow .ring svg { width: 46%; }
.flow .ring { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.flow .ring.hit { transform: scale(1.06); box-shadow: 0 0 0 10px #14f19533, 0 0 40px #14f19580; }
.flow .node::after { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 2px solid #14F195; opacity: 0; animation: ripple 3.2s ease-out infinite; }
.flow .node .ripple2 { position: absolute; inset: 8%; border-radius: 50%; border: 2px solid #9945FF; opacity: 0; animation: ripple 3.2s ease-out 1.6s infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.flow path.march { animation: march 1.1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -16; } }
.flow path.draw { transition: stroke-dashoffset 1.8s var(--ease); }
.flow .lbl, .flow .tail { opacity: 0; transform: translateY(-50%) translateX(-10px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.flow .tail { transform: translateY(-50%) translateX(10px); }
.flow.in .lbl, .flow.in .tail { opacity: 1; transform: translateY(-50%); }
.flow .node { opacity: 0; transition: opacity 1s var(--ease) .5s; }
.flow.in .node { opacity: 1; }
.flow .tail { position: absolute; transform: translateY(-50%); }
.flow .tail b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.flow-list.products { display: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px 0; align-items: center; }
.split h3 { margin: 0 0 12px; font-size: 36px; font-weight: 400; letter-spacing: -.03em; line-height: 40px; }
.split p { color: var(--ink-2); max-width: 520px; }
.stats { display: flex; gap: 44px; margin-top: 40px; flex-wrap: wrap; }
.stats b { display: block; font-size: 22px; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats .cap { margin-top: 4px; max-width: 150px; }

.mintart { background: var(--white); border: 1px solid var(--line); border-radius: var(--rc); padding: 10px; box-shadow: 0 30px 60px -40px #00000055; }
.mintart .art { border-radius: 8px; overflow: hidden; position: relative; }
.mintart .live-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font: 11px var(--mono); color: #fff; background: #0000008c; backdrop-filter: blur(6px); }
.mintart .live-tag i { width: 6px; height: 6px; border-radius: 50%; background: #14F195; animation: ping 2s infinite; }
.mintart { transition: transform .6s var(--ease); }
.mintart:hover { transform: rotate(-.6deg) translateY(-3px); }
.ticket { display: grid; gap: 16px; }
.traits-line { display: flex; flex-wrap: wrap; gap: 6px; }
.traits-line span { font: 12px var(--mono); color: var(--ink-2); background: var(--sunk); border-radius: 6px; padding: 3px 8px; }
.qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 6px 6px 6px 14px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 34px; height: 34px; border-radius: 8px; border: 0; background: var(--sunk); font: 500 18px var(--sans); cursor: pointer; color: var(--ink); }
.stepper output { min-width: 34px; text-align: center; font: 16px var(--mono); }
.fine { color: var(--muted); font-size: 14px; }

.how { padding: 80px 0 40px; text-align: center; }
.how h2 { margin: 0 0 14px; font-size: 36px; font-weight: 400; letter-spacing: -.03em; }
.how > p { margin: 0 auto; max-width: 640px; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 0; text-align: left; }
.steps::before { content: ''; position: absolute; left: 11px; right: 0; top: 37px; height: 1px; background: linear-gradient(90deg, var(--brand), var(--line-3) 40%, var(--line-3) 70%, #33333e00);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .2s; }
.in .steps::before { transform: none; }
.step .dot, .step h4, .step p { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.in .step .dot, .in .step h4, .in .step p { opacity: 1; transform: none; }
.in .step:nth-child(2) > * { transition-delay: .45s; } .in .step:nth-child(3) > * { transition-delay: .9s; }
.step { position: relative; padding-top: 72px; }
.step .dot { position: absolute; top: 26px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-3); display: grid; place-items: center; }
.step .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #9945ff26; }
.step h4 { margin: 0 0 6px; font-size: 20px; font-weight: 400; letter-spacing: -.015em; }
.step p { color: var(--ink-2); font-size: 15px; max-width: 330px; }

.close { position: relative; text-align: center; padding: 120px 0 140px; overflow: hidden; isolation: isolate; }
.close::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(900px, 100%); height: 380px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, #9945ff30, #0b0b0f00); z-index: -1; }
.close h2 { margin-top: 10px; margin-bottom: 28px; }

/* desk grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.cell { background: var(--white); border: 1px solid var(--line); border-radius: var(--rc); overflow: hidden; display: block; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cell:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px #00000066; }
.cell img { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.cell .meta { padding: 10px 12px 12px; display: grid; gap: 1px; }
.cell .live svg { display: block; width: 100%; height: auto; }
.cell:hover .meta span::after { content: ' · live'; font: 11px var(--mono); color: var(--brand); }
[data-reveal] .grid .cell { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .25s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
[data-reveal].in .grid .cell { opacity: 1; transform: none; }
[data-reveal].in .grid .cell:hover { transform: translateY(-3px); transition-delay: 0s; }
.cell .meta span { font-weight: 500; }
.cell .meta b { font: 15px var(--mono); color: var(--brand); font-weight: 400; }
.cell .meta small { font: 12px var(--mono); color: var(--muted); }
.cell.ghost img { opacity: .55; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-head h3 { font-size: 36px; font-weight: 400; letter-spacing: -.03em; }
.more { color: var(--brand); font-weight: 500; white-space: nowrap; }

/* app pages */
.page-head { padding: 48px 0 26px; display: grid; gap: 10px; }
.page-head h1 { font-size: clamp(40px, 5vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.page-head p { color: var(--ink-2); max-width: 42em; font-size: 17px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); border-radius: var(--rc); overflow: hidden; }
.tile { padding: 18px 20px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.tile:first-child { border-left: 0; }
.tile span { font: 12px var(--mono); color: var(--muted); }
.tile b { font-size: 28px; font-weight: 400; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile small { color: var(--muted); font-size: 13px; }

.toolbar { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; background: var(--sunk); padding: 3px; border-radius: 10px; }
.tabs button { border: 0; background: none; height: 34px; padding: 0 14px; border-radius: 8px; font: 500 15px var(--sans); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-pressed=true] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px #00000026, 0 0 0 1px #ffffff14; }
.find { margin-left: auto; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r); padding: 0 12px; font: 15px var(--sans); width: 260px; color: var(--ink); }
.claimbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--rc); padding: 12px 12px 12px 18px; margin-bottom: 14px; }
.claimbar b { font: 18px var(--mono); color: var(--brand); font-weight: 400; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-3); border-radius: var(--rc); }
.empty a { color: var(--brand); }

.desk { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 52px; padding: 40px 0 80px; align-items: start; }
.desk .art { border: 1px solid var(--line); border-radius: var(--rc); overflow: hidden; }
.desk h1 { font-size: clamp(42px, 5vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.desk .owner { color: var(--muted); margin-top: 10px; font: 13px var(--mono); }
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 14px; }
.money div { background: var(--white); border: 1px solid var(--line); border-radius: var(--rc); padding: 16px 18px; display: grid; gap: 4px; }
.money span { font: 12px var(--mono); color: var(--muted); }
.money b { font-size: 30px; font-weight: 400; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.money small { color: var(--muted); font-size: 13px; }
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rc); overflow: hidden; margin-top: 26px; }
.traits div { background: var(--white); padding: 12px 16px; display: grid; }
.traits span { font: 11px var(--mono); color: var(--muted); }
.traits div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pager { display: flex; justify-content: space-between; margin-top: 20px; }
.pager a { color: var(--ink-2); font-weight: 500; }

.products { display: grid; }
.product { display: grid; grid-template-columns: 44px 200px 1fr 150px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.product:first-child { border-top: 1px solid var(--line); }
.product .n { font: 12px var(--mono); color: var(--muted); }
.product h3 { font-size: 19px; font-weight: 400; display: flex; align-items: center; gap: 10px; }
.product p { color: var(--ink-2); }
.product .paid { text-align: right; font: 15px var(--mono); color: var(--brand); }
.product .paid small { display: block; color: var(--muted); font-size: 12px; }
.pill-s { font: 11px var(--mono); padding: 2px 7px; border-radius: 6px; background: var(--sunk); color: var(--muted); }
.pill-s.live { background: #14f19514; color: var(--up); }
.pill-s.next { background: #9945ff14; color: var(--brand); }
.section { padding: 56px 0; }
.section > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.section h2 { font-size: 36px; font-weight: 400; letter-spacing: -.03em; }
.section > header p { color: var(--ink-2); max-width: 30em; }

.doc { display: grid; grid-template-columns: 200px 1fr; gap: 56px; padding: 40px 0 80px; }
.doc nav { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; }
.doc nav a { color: var(--muted); padding: 5px 0; font-size: 14px; }
.doc nav a:hover { color: var(--ink); }
.doc article { max-width: 680px; }
.doc h1 { font-size: 52px; font-weight: 500; letter-spacing: -.045em; margin-bottom: 18px; }
.doc h2 { font-size: 26px; font-weight: 400; letter-spacing: -.02em; margin: 44px 0 12px; scroll-margin-top: 90px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc td, .doc th { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.doc th { font: 12px var(--mono); color: var(--muted); font-weight: 400; }
.doc td:last-child, .doc th:last-child { text-align: right; font-family: var(--mono); }
code { font: 13px var(--mono); color: var(--brand); }

.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .logo { font-size: 18px; color: var(--ink); }
.foot .logo svg { width: 22px; height: 22px; }
.foot .r { margin-left: auto; }
.foot a { color: var(--ink-2); }

.walletpick { border: 1px solid var(--line); border-radius: 16px; padding: 18px; width: 320px; background: var(--card); color: var(--ink); }
.walletpick::backdrop { background: #00000055; }
.walletpick h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.walletpick button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; background: none; border-radius: 10px; font: 500 15px var(--sans); cursor: pointer; color: var(--ink); }
.walletpick button:hover { background: var(--sunk); }
.walletpick img { width: 28px; height: 28px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: #f3f3f6; color: #0b0b0f; padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal] .grid .cell, .step .dot, .step h4, .step p, .flow .lbl, .flow .tail, .flow .node { opacity: 1; transform: none; transition: none; }
  .steps::before { transform: none; transition: none; }
  .rise, .hero .shot, .hero h1 .w, .note i, .flow path.march, .flow .node::after, .flow .node .ripple2, .gust { animation: none; }
}

@media (max-width: 900px) {
  .links { display: none; }
  .split, .desk { grid-template-columns: 1fr; gap: 32px; }
  .mintart { max-width: 460px; }
  .steps { grid-template-columns: 1fr; } .steps::before { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile:nth-child(3) { border-left: 0; } .tile:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product { grid-template-columns: 32px 1fr auto; } .product p { grid-column: 2 / -1; } .product .paid { grid-row: 1; grid-column: 3; }
  .doc { grid-template-columns: 1fr; } .doc nav { display: none; }
  .flow { display: none; }
  .flow-list.products { display: grid; gap: 0; margin: 0 0 56px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 12px; padding: 0 12px; } .nav .chip { display: none; }
  .hero .view { width: 240%; transform: translate(-50%, -30%) scale(var(--z, 1)); }
  .hero-in { padding-top: 104px; }
  .hero h1 { font-size: 44px; }
  .hero .credit { top: auto; bottom: 10px; right: 12px; color: var(--muted); }
  .find { width: 100%; margin-left: 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats { gap: 24px; }
  .section-head { flex-direction: column; align-items: start; }
  .foot .r { margin-left: 0; }
}

/* ---------- page switches: a soft crossfade, the nav stays put ---------- */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* ---------- home: three doors into the pages ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 0 8px; }
.door { display: grid; gap: 6px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--rc); padding: 12px 12px 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.door:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px #00000066; }
.door > .cap, .door h3, .door p, .door .more { padding: 0 8px; }
.door .cap { margin-top: 10px; }
.door h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.door p { color: var(--ink-2); font-size: 15px; }
.door .more { margin-top: 8px; font-size: 15px; }
.door-vis { height: 176px; border-radius: 10px; background: var(--sunk); overflow: hidden; display: grid; place-items: center; position: relative; }
.door-desk { width: 176px; }
.door-desk svg { display: block; width: 100%; }
.fan img { position: absolute; width: 112px; height: 112px; border-radius: 10px; box-shadow: 0 10px 24px -12px #00000080; image-rendering: pixelated;
  transform: translateX(calc((var(--k) - 1) * 74px)) rotate(calc((var(--k) - 1) * 7deg)); transition: transform .45s var(--ease); }
.door:hover .fan img { transform: translateX(calc((var(--k) - 1) * 92px)) rotate(calc((var(--k) - 1) * 10deg)) translateY(-4px); }
.door-bars { position: absolute; inset: 22px 18px 0; width: calc(100% - 36px); height: calc(100% - 22px); }

/* ---------- mint page ---------- */
.mint-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; padding: 40px 0 64px; align-items: start; }
.mint-stage { position: sticky; top: 88px; display: grid; gap: 14px; }
.mintart.big { padding: 12px; border-radius: 20px; }
.mintart.big .art { border-radius: 12px; }
.stage-nav { display: flex; align-items: center; justify-content: space-between; }
.mint-ticket { padding-top: 6px; }
.mint-h1 { font-size: clamp(48px, 5.4vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.pricebox { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--rc); background: var(--white); overflow: hidden; }
.pricebox div { padding: 14px 16px; display: grid; gap: 4px; }
.pricebox div + div { border-left: 1px solid var(--line); }
.pricebox b { font-size: 22px; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 16px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.bar .t { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.bar .t b { font-size: 24px; font-weight: 300; letter-spacing: -.02em; }
.bar .t em { margin-left: auto; font: 13px var(--mono); color: var(--muted); font-style: normal; }
.track { height: 5px; border-radius: 3px; background: #25252e; overflow: hidden; }
.track i { display: block; height: 100%; width: var(--w); border-radius: 3px; transition: width 1.4s var(--ease); }
.track.slim { height: 3px; margin-top: 10px; }
.mint-top .bars .track i, .rev-split .track i { animation: grow 1.4s var(--ease) both .3s; }
@keyframes grow { from { width: 0; } }

.wall-sec > header { margin-bottom: 18px; }
.wall { display: grid; grid-template-columns: repeat(50, 1fr); gap: 3px; }
.wall a { aspect-ratio: 1; border-radius: 2px; background: #23232b; transition: transform .2s var(--ease), background .2s; }
.wall a:hover { transform: scale(1.6); background: #f3f3f6; z-index: 1; position: relative; }
.wall a.on { background: #9a6cff; }
.wall a.me { background: var(--sky); box-shadow: 0 0 8px var(--sky); }
.wall a.next { background: #f3f3f6; animation: nextp 1.6s ease-in-out infinite; }
@keyframes nextp { 50% { box-shadow: 0 0 0 3px #14f19566; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 12px; border-radius: 2px; display: inline-block; }
.lg-on { background: #9a6cff; }
.lg-next { background: #f3f3f6; }
.lg-me { background: var(--sky); }
.lg-open { background: #23232b; }
.wall-tip { margin-left: auto; color: var(--ink-2); }

/* ---------- desks page: a gallery with trait filters ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.mini-stats { display: flex; gap: 32px; margin: 0 0 30px; }
.mini-stats div { display: grid; gap: 2px; }
.mini-stats dd { margin: 0; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gallery { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; padding-bottom: 40px; }
.filters { position: sticky; top: 88px; display: grid; gap: 4px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.filters details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.filters summary { cursor: pointer; font-weight: 500; padding: 4px 0; list-style: none; display: flex; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; color: var(--muted); }
.filters details[open] summary::after { content: '\2212'; }
.filters label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.filters label small { margin-left: auto; font: 12px var(--mono); color: var(--muted); }
.filters input { accent-color: var(--brand); }
.filters .btn { margin-top: 10px; }
.gallery .toolbar { margin-top: 0; }
.gallery .toolbar .sort { width: auto; margin-left: auto; }
.gallery .toolbar .find:not(.sort) { margin-left: 0; }
.count-line { margin: -4px 0 12px; }

/* ---------- revenue page ---------- */
.rev-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 48px 0 40px; align-items: end; }
.rev-big { display: flex; align-items: baseline; gap: 14px; margin-top: 8px; }
.rev-big b { font-size: clamp(64px, 8vw, 112px); font-weight: 500; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.rev-big span { font-size: 28px; letter-spacing: -.02em; color: var(--ink-2); }
.rev-usd { margin-top: 10px; font: 13px var(--mono); color: var(--muted); }
.rev-lede { margin-top: 22px; color: var(--ink-2); max-width: 30em; }
.rev-split { display: grid; gap: 22px; }
.earn { position: relative; height: 280px; background: var(--white); border: 1px solid var(--line); border-radius: var(--rc); padding: 14px 14px 0; }
.earn svg { width: 100%; height: 100%; display: block; }
.earn-tip { position: absolute; top: 12px; width: 220px; background: #f3f3f6; color: #0b0b0f; padding: 6px 10px; border-radius: 8px; pointer-events: none; }
.earn-tip b { font-weight: 400; color: var(--sky); }
.earn-axis { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.earn-key { display: inline-flex; gap: 14px; } .earn-key i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.product > div p { color: var(--ink-2); }

@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .mint-top, .rev-top { grid-template-columns: 1fr; gap: 28px; }
  .mint-stage { position: static; max-width: 520px; }
  .gallery { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
  .wall { grid-template-columns: repeat(25, 1fr); }
}
@media (max-width: 600px) {
  .mini-stats { gap: 18px; flex-wrap: wrap; }
  .pricebox b { font-size: 18px; }
  .wall-tip { display: none; }
  .filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .wall a.next { animation: none; } .track i { animation: none !important; transition: none; } }

/* ---------- phones: bottom tab bar, filters behind a button ---------- */
.tabbar, .ftoggle { display: none; }
@media (max-width: 900px) {
  .tabbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 45; height: 52px; padding: 5px;
    border-radius: 16px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 0 1px var(--line), 0 14px 32px -14px #00000059; view-transition-name: tabbar; }
  .tabbar a { flex: 1; display: grid; place-items: center; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .tabbar a[aria-current] { background: var(--btn); color: #fafafa; box-shadow: var(--btn-shadow); }
  body { padding-bottom: 76px; }
  .ftoggle { display: inline-flex; }
  .filters { display: none; }
  .filters.open { display: grid; margin-bottom: 16px; }
  .gallery .toolbar .sort { margin-left: 0; }
}

/* ---------- Solana hero: a glow from below and the floor of all 1,000 desks ---------- */
.hero .glow { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 55% at 22% 100%, #9945ff59, #9945ff00 70%), radial-gradient(55% 50% at 80% 100%, #14f19540, #14f19500 70%),
  radial-gradient(80% 60% at 50% 0%, #1b1030, #050508 70%); }
.hero .hwall { position: absolute; left: 50%; bottom: 7%; width: min(1700px, 125vw); aspect-ratio: 50 / 20; z-index: -1;
  transform: translateX(-50%) perspective(1000px) rotateX(54deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 50%, #0000 100%); mask-image: linear-gradient(to top, #000 50%, #0000 100%); }
.hero-in { padding-top: 21svh; }
@media (max-width: 600px) { .hero .hwall { width: 250vw; bottom: 64px; } .hero-in { padding-top: 18svh; } }
@media (max-width: 600px) { .section > header { flex-direction: column; align-items: start; gap: 8px; } }
