:root {
  --bg: #08080b;
  --ink: #f6f3ee;
  --dim: rgba(246, 243, 238, .62);
  --disp: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--disp); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }

/* ───────── home ───────── */
#home { position: relative; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; }
#homeMorph { position: absolute; inset: 0; width: 100%; height: 100%; }
#home::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .16; mix-blend-mode: overlay; }
.home-in { position: relative; z-index: 2; width: min(680px, 92vw); padding: 48px 0; }
.brand { font-weight: 800; letter-spacing: -.02em; font-size: 22px; }
.brand sup, .tb-brand sup { font-size: .55em; margin-left: 2px; }
.home-in h1 { font-size: clamp(44px, 8.4vw, 92px); line-height: .92; letter-spacing: -.045em; font-weight: 800; margin: 28px 0 22px; text-wrap: balance; }
.lede { font-size: clamp(16px, 2.1vw, 19px); line-height: 1.45; color: var(--dim); max-width: 34em; }
#go { display: flex; gap: 8px; margin-top: 32px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px; backdrop-filter: blur(14px); }
#go input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 500 15px var(--mono); padding: 0 16px; }
#go input::placeholder { color: rgba(246,243,238,.45); }
#go button { background: var(--ink); color: #0b0b0e; font-weight: 800; font-size: 16px; padding: 14px 22px; border-radius: 999px; white-space: nowrap; transition: transform .15s; }
#go button:hover { transform: scale(1.03); }
#go:focus-within { border-color: rgba(255,255,255,.4); }
.err { min-height: 22px; margin-top: 10px; color: #ff8a8a; font-size: 14px; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; opacity: .85; }
.fine { margin-top: 26px; font-size: 13px; color: rgba(246,243,238,.45); font-family: var(--mono); }

#loading { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; background: rgba(8,8,11,.55); backdrop-filter: blur(24px); }
.load-k { font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.load-n { font-size: clamp(80px, 18vw, 180px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: 12px; font-variant-numeric: tabular-nums; }
.load-s { font-size: 18px; color: var(--dim); }
.load-bar { width: min(420px, 80vw); height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; margin: 28px auto 12px; overflow: hidden; }
.load-bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s; }
.load-d { font: 400 13px var(--mono); color: var(--dim); }

/* ───────── story frame ───────── */
#story { min-height: 100dvh; display: grid; place-items: center; position: relative; }
.frame { position: relative; height: min(100dvh - 32px, 940px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; container-type: size; box-shadow: 0 30px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.07); background: var(--bg); }
.side { position: absolute; right: 28px; bottom: 28px; font: 400 12px/1.7 var(--mono); color: rgba(246,243,238,.4); text-align: right; }
.side-k { text-transform: uppercase; letter-spacing: .14em; color: rgba(246,243,238,.6); }
@media (max-width: 640px), (max-aspect-ratio: 10/16) {
  .frame { height: 100dvh; width: 100vw; aspect-ratio: auto; border-radius: 0; }
  .side { display: none; }
}
.bars { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 6; }
.bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.bars i b { display: block; height: 100%; width: 0; background: #fff; }
.bars i.done b { width: 100%; }
.topbar { position: absolute; top: 24px; left: 16px; right: 12px; z-index: 6; display: flex; justify-content: space-between; align-items: center; }
.tb-brand { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.tb-r button { width: 34px; height: 34px; border-radius: 50%; font-size: 14px; opacity: .85; }
.tb-r button:hover { background: rgba(255,255,255,.12); }
.tap { position: absolute; top: 70px; bottom: 90px; z-index: 4; }
.tap.prev { left: 0; width: 32%; }
.tap.next { right: 0; width: 68%; }
.share { position: absolute; z-index: 6; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: #0b0b0e; font-weight: 800; font-size: 15px; padding: 12px 22px; border-radius: 999px; box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .15s; }
.share:hover { transform: translateX(-50%) scale(1.04); }

/* ───────── slides ───────── */
.slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; color: var(--ink); background: var(--bg); }
.slide.on { visibility: visible; }
.slide canvas.mo { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .22; mix-blend-mode: overlay; }
.sc { position: absolute; inset: 0; z-index: 2; padding: 17cqh 7.5cqw 13cqh; display: flex; flex-direction: column; }
.sc.mid { justify-content: center; }
.sc.end { justify-content: flex-end; }
.foot { position: absolute; z-index: 3; left: 7.5cqw; right: 7.5cqw; bottom: 3.6cqh; display: flex; justify-content: space-between; font: 600 2.6cqw var(--mono); letter-spacing: .04em; color: rgba(246,243,238,.7); }
.foot b { font-family: var(--disp); font-weight: 800; letter-spacing: -.01em; color: var(--ink); }

.k { font: 600 3cqw var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 2.4cqh; }
.h { font-weight: 800; font-size: 10.5cqw; line-height: .93; letter-spacing: -.045em; text-wrap: balance; }
.h.xl { font-size: 15cqw; }
.h.md { font-size: 8.2cqw; }
.sub { font-size: 4.4cqw; line-height: 1.32; color: var(--dim); margin-top: 2.6cqh; text-wrap: pretty; }
.sub, .fact, .h, .chap { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.sub b, .h em { color: var(--ink); font-style: normal; }
.num { font-weight: 800; font-size: 25cqw; line-height: .86; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.num.md { font-size: 17cqw; }
.pos { color: var(--pos, #c9ff4a); }
.neg { color: var(--neg, #ff6b7d); }
.hl { color: var(--a); }

/* entry motion: base state is the final state so captures never catch a half frame */
.slide.on .r { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.slide.on .r2 { animation-delay: .12s; } .slide.on .r3 { animation-delay: .26s; } .slide.on .r4 { animation-delay: .42s; } .slide.on .r5 { animation-delay: .6s; } .slide.on .r6 { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(5cqh) scale(.98); filter: blur(6px); } }
.slide.on .pop { animation: pop .9s cubic-bezier(.2,1.4,.3,1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }

/* coin chip */
.coin { display: inline-flex; align-items: center; gap: 3cqw; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 1.6cqw 4.2cqw 1.6cqw 1.6cqw; font-weight: 800; font-size: 5cqw; letter-spacing: -.02em; margin-top: 3cqh; align-self: flex-start; backdrop-filter: blur(8px); }
.coin img, .tc img, .rl img { border-radius: 50%; object-fit: cover; background: #222; }
.coin img { width: 10cqw; height: 10cqw; }

/* stats grid */
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqh 5cqw; margin-top: 5cqh; }
.grid4 .v { font-weight: 800; font-size: 13cqw; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.grid4 .l { font: 600 2.8cqw var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 1cqh; }

/* clock */
.clock { width: 74cqw; height: 74cqw; align-self: center; margin: 2cqh 0; }
.clock text { font: 600 9px var(--mono); fill: rgba(246,243,238,.55); }

/* month bars */
.months { display: flex; align-items: center; gap: 1.4cqw; height: 34cqh; margin-top: 4cqh; position: relative; }
.months .mcol { flex: 1; height: 100%; display: flex; flex-direction: column; position: relative; }
.months .up, .months .dn { flex: 1; display: flex; }
.months .up { align-items: flex-end; } .months .dn { align-items: flex-start; }
.months i { display: block; width: 100%; border-radius: 1.2cqw; min-height: 2px; }
.months .up i { background: var(--a); } .months .dn i { background: var(--neg, #ff6b7d); opacity: .85; }
.months .ml { position: absolute; left: 0; right: 0; bottom: -3.4cqh; text-align: center; font: 600 2.4cqw var(--mono); color: var(--dim); }
.months .mcol.best .ml { color: var(--ink); }
.months::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.25); }

/* trading cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; margin-top: 3cqh; }
.tc { position: relative; border-radius: 4cqw; padding: 3cqw; background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.2); overflow: hidden; }
.tc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%); pointer-events: none; }
.tc.first { grid-column: 1 / -1; display: grid; grid-template-columns: 30cqw 1fr; gap: 4cqw; align-items: center; padding: 3.6cqw; background: linear-gradient(150deg, color-mix(in srgb, var(--a) 55%, transparent), rgba(255,255,255,.05)); }
.tc.first img { width: 30cqw; height: 30cqw; border-radius: 3cqw; }
.tc:not(.first) { display: grid; grid-template-columns: 11cqw 1fr; gap: 2.4cqw; align-items: center; }
.tc:not(.first) img { width: 11cqw; height: 11cqw; }
.tc .rk { font: 600 2.6cqw var(--mono); color: var(--dim); }
.tc .sy { font-weight: 800; font-size: 5cqw; letter-spacing: -.03em; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc.first .sy { font-size: 9cqw; }
.tc .st { font: 400 2.5cqw/1.45 var(--mono); color: var(--dim); margin-top: .6cqh; }
.tc.first .st { font-size: 3cqw; }
.tc .pn { font: 600 2.8cqw var(--mono); margin-top: .5cqh; }
.tc.first .pn { font-size: 4cqw; }

/* bars list */
.blist { margin-top: 4cqh; display: flex; flex-direction: column; gap: 1.9cqh; }
.brow { display: grid; grid-template-columns: 22cqw 1fr 12cqw; align-items: center; gap: 3cqw; font: 600 3.1cqw var(--mono); }
.brow .tr { height: 4.2cqh; background: rgba(255,255,255,.08); border-radius: 1.4cqw; overflow: hidden; }
.brow .tr i { display: block; height: 100%; background: var(--a); border-radius: 1.4cqw; }
.brow.me .tr i { background: var(--ink); }
.brow .pc { text-align: right; color: var(--dim); }

/* habits list */
.facts { margin-top: 4cqh; display: flex; flex-direction: column; gap: 3.2cqh; }
.fact .fv { font-weight: 800; font-size: 9cqw; letter-spacing: -.04em; line-height: 1; }
.fact .fl { font-size: 4cqw; color: var(--dim); margin-top: .6cqh; }

/* status */
.status-name { font-weight: 800; font-size: 17cqw; line-height: .84; letter-spacing: -.06em; color: var(--a); margin-top: 1cqh; }
.chips { display: flex; flex-wrap: wrap; gap: 2cqw; margin-top: 3.4cqh; }
.chip { font: 600 3cqw var(--mono); padding: 1.6cqw 3cqw; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.25); }
.others { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.6cqw; }
.others span { font: 600 2.4cqw var(--mono); text-align: center; padding: 1.6cqw 0; border-radius: 2cqw; border: 1px solid rgba(255,255,255,.14); color: rgba(246,243,238,.45); }
.others span.me { background: var(--a); color: #0b0b0e; border-color: var(--a); }

/* receipt */
.receipt { margin-top: 1cqh; background: #f4f1ea; color: #121212; border-radius: 1.4cqw; padding: 5cqw 5cqw 4cqw; font: 400 2.9cqw/1.55 var(--mono); transform: rotate(-1.4deg); box-shadow: 0 2cqh 6cqh rgba(0,0,0,.5); position: relative; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2.2cqw; height: 2.4cqw; background: radial-gradient(circle at 1.2cqw 0, transparent 1.2cqw, #f4f1ea 1.3cqw) 0 0 / 2.4cqw 2.4cqw repeat-x; transform: rotate(180deg); }
.receipt .rh { text-align: center; font-weight: 600; font-size: 4.2cqw; letter-spacing: .08em; }
.receipt .rs { text-align: center; color: #555; margin-bottom: 1.4cqh; }
.receipt .rl { display: grid; grid-template-columns: 5.2cqw 1fr auto; gap: 2cqw; align-items: center; }
.receipt .rl img { width: 5.2cqw; height: 5.2cqw; }
.receipt .rl span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt hr { border: 0; border-top: 1px dashed #888; margin: 1.2cqh 0; }
.receipt .tot { display: flex; justify-content: space-between; font-weight: 600; }
.receipt .tot.big { font-size: 4.4cqw; }
.receipt .bc { height: 6cqh; margin-top: 1.6cqh; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.receipt .neg { color: #c4122f; } .receipt .pos { color: #0a7a3b; }

/* book */
.book { display: grid; grid-template-columns: 34cqw 1fr; gap: 5cqw; margin-top: 3cqh; align-items: start; }
.cover { aspect-ratio: 2 / 3; border-radius: 1cqw 3cqw 3cqw 1cqw; background: linear-gradient(160deg, var(--a), var(--b)); padding: 3.6cqw 3cqw; color: #0b0b0e; display: flex; flex-direction: column; box-shadow: inset 2cqw 0 0 rgba(0,0,0,.18), 0 2cqh 5cqh rgba(0,0,0,.5); transform: rotate(-3deg); }
.cover .ct { font-weight: 800; font-size: 6cqw; line-height: .92; letter-spacing: -.04em; }
.cover .ca { margin-top: auto; font: 600 2.2cqw var(--mono); }
.chap { font-size: 3.6cqw; line-height: 1.25; margin-bottom: 2.1cqh; }
.chap small { display: block; font: 600 2.4cqw var(--mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4cqh; }

/* summary */
.sum-top { display: grid; grid-template-columns: 40cqw 1fr; gap: 5cqw; align-items: center; }
.sum-top img { width: 40cqw; height: 40cqw; border-radius: 3cqw; object-fit: cover; box-shadow: 0 2cqh 5cqh rgba(0,0,0,.4); }
.sum-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; margin-top: 4cqh; }
.sum-cols h4 { font: 600 2.7cqw var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.2cqh; font-weight: 600; }
.sum-cols ol { list-style: none; counter-reset: i; }
.sum-cols li { counter-increment: i; font-weight: 800; font-size: 4.6cqw; letter-spacing: -.02em; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sum-cols li::before { content: counter(i) "  "; color: var(--dim); font-weight: 600; }
.sum-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqh 4cqw; margin-top: 4cqh; }
.sum-stats .l { font: 600 2.7cqw var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sum-stats .v { font-weight: 800; font-size: 8.4cqw; letter-spacing: -.04em; line-height: 1.05; }

/* pnl card */
.pnl-big { font-weight: 800; font-size: 21cqw; letter-spacing: -.06em; line-height: .9; margin-top: 2cqh; font-variant-numeric: tabular-nums; }
.pnl-usd { font: 600 4cqw var(--mono); color: var(--dim); margin-top: 1.4cqh; }
.wl { display: flex; height: 3cqh; border-radius: 2cqw; overflow: hidden; margin-top: 4cqh; }
.wl i { display: block; }
.wl-l { display: flex; justify-content: space-between; font: 600 3cqw var(--mono); margin-top: 1.2cqh; color: var(--dim); }

/* end */
.endbtns { display: flex; flex-direction: column; gap: 2cqh; margin-top: 5cqh; position: relative; z-index: 7; }
.endbtns button { background: var(--ink); color: #0b0b0e; font-weight: 800; font-size: 4.6cqw; padding: 2.4cqh 0; border-radius: 999px; }
.endbtns button.ghost { background: rgba(255,255,255,.1); color: var(--ink); border: 1px solid rgba(255,255,255,.2); }

/* ───────── capture host: off-screen fixed 9:16 stage ───────── */
#capHost { position: fixed; left: -12000px; top: 0; width: 540px; height: 960px; container-type: size; overflow: hidden; }
#capHost .slide { visibility: visible; }
#capHost *, #capHost *::before, #capHost *::after { animation: none !important; transition: none !important; }
#capHost .cap-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ───────── modal ───────── */
#modal { position: fixed; inset: 0; z-index: 50; background: rgba(4,4,6,.82); backdrop-filter: blur(18px); display: grid; place-items: center; padding: 20px; }
.m-in { display: flex; gap: 28px; align-items: center; max-height: 100%; }
.m-img img { display: block; height: min(78dvh, 760px); aspect-ratio: 9/16; border-radius: 18px; box-shadow: 0 20px 80px rgba(0,0,0,.6); background: #111; }
.m-btns { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }
.m-btns button, .m-btns a { background: var(--ink); color: #0b0b0e; font-weight: 800; font-size: 16px; padding: 14px 20px; border-radius: 999px; text-align: center; text-decoration: none; }
.m-btns .ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,.25); }
.m-note { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font: 400 13px var(--mono); color: var(--dim); }
@media (max-width: 720px) {
  .m-in { flex-direction: column; gap: 16px; }
  .m-img img { height: 58dvh; }
  .m-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .m-btns button, .m-btns a { padding: 11px 16px; font-size: 14px; }
}

/* ───────── landing: scroll tour + CA ───────── */
.sec-in { width: min(1120px, 92vw); margin: 0 auto; }
.sec-k { font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
#tour h2 { font-size: clamp(40px, 7vw, 84px); line-height: .92; letter-spacing: -.045em; font-weight: 800; margin: 16px 0 18px; text-wrap: balance; }
.sec-p { font-size: 18px; line-height: 1.45; color: var(--dim); max-width: 36em; }
.sec-p.small { font-size: 14px; margin-top: 18px; }
#tour { padding: 120px 0 60px; }
.tour-grid { width: min(1120px, 92vw); margin: 64px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 56px 24px; perspective: 1400px; }
.tour-item { margin: 0; }
.mini { position: relative; aspect-ratio: 9 / 16; container-type: size; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.45);
  clip-path: inset(46% 0 46% 0 round 18px); transform: translateY(60px) rotateX(24deg) scale(.94); opacity: .25;
  transition: clip-path 1.1s cubic-bezier(.7,0,.2,1) var(--d), transform 1.1s cubic-bezier(.2,.8,.2,1) var(--d), opacity .8s var(--d); }
.tour-item.open .mini { clip-path: inset(0 0 0 0 round 18px); transform: none; opacity: 1; }
.tour-item.open:hover .mini { transform: translateY(-6px) scale(1.02); transition-delay: 0s; }
.tour-item figcaption { margin-top: 16px; font-size: 14.5px; line-height: 1.4; color: var(--dim); opacity: 0; transform: translateY(10px); transition: .7s calc(var(--d) + .35s); }
.tour-item.open figcaption { opacity: 1; transform: none; }
.tour-item figcaption span { font: 600 12px var(--mono); color: rgba(246,243,238,.4); margin-right: 8px; }
.tour-item figcaption b { display: block; color: var(--ink); font-size: 17px; letter-spacing: -.01em; margin: 4px 0 3px; }
.blank { display: inline-block; height: .74em; vertical-align: -.02em; border-radius: .2em; background: currentColor; opacity: .28; max-width: 100%; }
.mini .slide.on .blank { animation: shimmer 2.4s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .14; } }

#ca { padding: 80px 0 100px; }
.ca-box { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); max-width: 860px; }
.ca-box code { flex: 1; min-width: 0; font: 600 clamp(14px, 2.2vw, 22px) var(--mono); overflow-wrap: anywhere; padding: 12px 0; }
.ca-box.soon code { color: var(--dim); }
.ca-box.soon { border-style: dashed; }
.ca-box button { background: var(--ink); color: #0b0b0e; font-weight: 800; padding: 14px 22px; border-radius: 16px; }
.ca-links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ca-links a { color: var(--ink); font: 600 13px var(--mono); padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); text-decoration: none; }
.ca-links a:hover { background: rgba(255,255,255,.1); }
.site-foot { width: min(1120px, 92vw); margin: 0 auto; padding: 36px 0 48px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font: 400 12px var(--mono); color: rgba(246,243,238,.45); }
.site-foot button { background: var(--ink); color: #0b0b0e; font-weight: 800; font-size: 15px; padding: 12px 20px; border-radius: 999px; font-family: var(--disp); }
@media (prefers-reduced-motion: reduce) { .mini, .tour-item figcaption { transition: none; clip-path: none; transform: none; opacity: 1; } }

/* Soundtrack (music.js) */
#music { position: fixed; z-index: 40; left: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: "Geist Mono", ui-monospace, monospace; }
.mu-pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(18,18,24,.82); color: #f6f3ee; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 15px 9px 12px; font: 600 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 28px rgba(0,0,0,.4); transition: transform .15s, border-color .15s; }
.mu-pill:hover { transform: translateY(-1px); border-color: rgba(255,79,216,.6); }
.mu-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.mu-eq i { width: 3px; height: 4px; border-radius: 2px; background: linear-gradient(#ff4fd8, #ff8a3d); }
#music.live .mu-eq i { animation: muEq .9s ease-in-out infinite alternate; }
#music.live .mu-eq i:nth-child(2) { animation-delay: -.3s; }
#music.live .mu-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes muEq { from { height: 3px; } to { height: 12px; } }
.mu-panel { width: min(360px, calc(100vw - 32px)); background: rgba(14,14,19,.92); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 12px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.mu-panel[hidden] { display: block; position: absolute; left: -10000px; } /* hidden, but the player keeps playing */
.mu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mu-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #ff4fd8; }
.mu-x { background: none; border: 0; color: #f6f3ee; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
.mu-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.mu-tabs button { background: rgba(255,255,255,.06); color: #f6f3ee; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 11px; font: 600 11px/1 "Geist Mono", ui-monospace, monospace; cursor: pointer; }
.mu-tabs button.on { background: #f6f3ee; color: #0b0b0e; border-color: #f6f3ee; }
.mu-frame iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
@media (max-width: 640px) { #music { left: 10px; bottom: 10px; } .mu-pill .mu-t { display: none; } .mu-pill { padding: 10px; } }
@media (prefers-reduced-motion: reduce) { #music.live .mu-eq i { animation: none; height: 8px; } }
