/* $KTF · Kimchi Trust Fund. One amber on warm black, hairlines instead of boxes, one mono family. */
:root {
  --bg: #070605;
  --bg2: #0c0a08;
  --tx: #efe7da;
  --tx2: #b9ad9c;
  --dim: #7d7162;
  --am: #ffa62b;
  --am-hi: #ffd08a;
  --am-lo: #a8640f;
  --red: #ff4a3d;
  --grn: #46e08a;
  --line: rgba(255, 166, 43, 0.14);
  --line2: rgba(255, 166, 43, 0.26);
  --glow: 0 0 22px rgba(255, 150, 40, 0.35);
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;
  --gut: 40px;
  --top: 64px;
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 40px); background: var(--bg); }
body {
  margin: 0; color: var(--tx); background: var(--bg);
  font: 400 14px/1.6 var(--mono); letter-spacing: -0.005em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
/* the room: a warm light from the top left, an LED grid that fades out, the faintest scanlines */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 18% -8%, rgba(255, 140, 30, 0.13), transparent 60%),
    radial-gradient(900px 600px at 100% 30%, rgba(255, 74, 61, 0.05), transparent 60%),
    radial-gradient(circle, rgba(255, 166, 43, 0.07) 1px, transparent 1.6px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.25) 100%);
  mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.25) 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--am); color: #120a00; }
:focus-visible { outline: 1px solid var(--am); outline-offset: 3px; }
kbd { font: 600 10px/1 var(--mono); color: var(--am); border: 1px solid var(--line2); border-radius: 3px; padding: 3px 4px 2px; letter-spacing: 0.02em; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.go { display: inline-block; font: 700 11px/1 var(--mono); color: #04150b; background: var(--grn); padding: 3px 5px 2px; border-radius: 2px; letter-spacing: 0.04em; }
.go.sm { font-size: 9.5px; padding: 2px 4px 1px; }
.cur { display: inline-block; width: 0.6em; height: 1.1em; background: var(--am); vertical-align: -0.18em; margin-left: 2px; animation: blink 1.05s steps(1) infinite; box-shadow: var(--glow); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 1px solid var(--line2); border-radius: 2px; background: rgba(255, 166, 43, 0.03);
  font: 600 12.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx);
  overflow: hidden; isolation: isolate; transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--am); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.btn:hover { color: #120a00; border-color: var(--am); }
.btn:hover::before { transform: scaleX(1); }
.btn-primary { background: var(--am); color: #120a00; border-color: var(--am); box-shadow: 0 0 0 1px rgba(255, 166, 43, 0.4), 0 10px 40px -10px rgba(255, 140, 30, 0.6); }
.btn-primary::before { background: var(--am-hi); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 11px; }

/* ---------- intro ---------- */
.intro { display: none; }
html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 100; background: #050403; color: var(--am); transition: background-color 0.9s var(--ease); }
html.intro-on, html.intro-on body { overflow: hidden; }
.intro canvas { position: absolute; inset: 0; pointer-events: none; }
.intro .lb {
  position: absolute; left: 0; right: 0; height: 11vh; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut); font: 500 11px/1 var(--mono); letter-spacing: 0.18em; color: var(--dim); background: #050403; z-index: 2;
  transition: transform 1s var(--ease), opacity 0.6s;
}
.intro .lb i { color: var(--am-lo); font-style: normal; }
.intro .lb-top { top: 0; border-bottom: 1px solid var(--line); }
.intro .lb-bot { bottom: 0; border-top: 1px solid var(--line); }
.intro .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--grn); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 10px var(--grn); }
.boot {
  position: absolute; left: 50%; top: 50%; width: min(640px, calc(100vw - 48px)); transform: translate(-50%, -50%);
  font: 500 14px/1.9 var(--mono); z-index: 1;
}
.boot.mid { transform: translateY(-50%) !important; }
.boot-in { transform-origin: 50% 50%; }
.boot-cmd { font-size: clamp(22px, 3vw, 34px); font-weight: 600; color: var(--am); text-shadow: var(--glow); margin-bottom: 14px; white-space: nowrap; }
.boot-load { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--tx2); }
.boot-bar { flex: 1; height: 3px; background: rgba(255, 166, 43, 0.12); border-radius: 2px; overflow: hidden; }
.boot-bar i { display: block; height: 100%; background: var(--am); box-shadow: 0 0 12px var(--am); transform: scaleX(0); transform-origin: left; }
.boot-load b { min-width: 4ch; text-align: right; color: var(--am); font-variant-numeric: tabular-nums; }
.boot-cmd .ps { color: var(--am-lo); }
.boot-cmd .go { font-size: 0.5em; vertical-align: 0.35em; margin-left: 0.3em; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.3s var(--ease); }
.boot-cmd .go.on { opacity: 1; transform: none; box-shadow: 0 0 18px rgba(70, 224, 138, 0.6); }
.boot-log { list-style: none; margin: 0; padding: 0; min-height: 11.4em; color: var(--tx2); font-size: 12px; letter-spacing: 0.06em; }
.boot-log li { display: flex; gap: 10px; opacity: 0; transform: translateY(4px); transition: opacity 0.18s, transform 0.25s var(--ease); }
.boot-log li.on { opacity: 1; transform: none; }
.boot-log .k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boot-log .d { flex: 1; border-bottom: 1px dotted rgba(255, 166, 43, 0.3); transform: translateY(-0.5em); min-width: 12px; }
.boot-log .v { color: var(--am); font-weight: 600; white-space: nowrap; }
.boot-log li:last-child .v { color: var(--grn); }
.intro.crt .boot-in { animation: crt 0.3s cubic-bezier(0.7, 0, 0.84, 0) forwards; }
@keyframes crt {
  0% { transform: none; filter: brightness(1); }
  60% { transform: scale(1.04, 0.02); filter: brightness(4); }
  100% { transform: scale(1.3, 0.004); filter: brightness(6); opacity: 0.9; }
}
.intro.open { background-color: rgba(5, 4, 3, 0); pointer-events: none; }
.intro.open .lb-top { transform: translateY(-101%); }
.intro.open .lb-bot { transform: translateY(101%); }
.intro.open canvas { opacity: 0; transition: opacity 0.7s 0.35s; }

/* what waits behind the intro */
html.intro-on:not(.revealed) [data-rv],
html.intro-on:not(.revealed) .tape { opacity: 0; transform: translateY(16px); }
html.intro-on:not(.revealed) .top { transform: translateY(-100%); }
html.intro-on [data-rv], html.intro-on .tape { transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(0.35s + var(--d, 0) * 0.09s); }
html.intro-on .tape { transition-delay: 0.6s; }
html.intro-on .top { transition: transform 0.9s var(--ease) 0.25s; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--top);
  background: rgba(7, 6, 5, 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.top-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.brand-ico { width: 26px; height: 26px; display: block; }
.brand-t i { font-style: normal; color: var(--dim); font-weight: 500; margin-left: 4px; }
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 2px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx2); transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--tx); background: rgba(255, 166, 43, 0.06); }
.nav a kbd { color: var(--dim); border-color: var(--line); }
.nav a:hover kbd { color: var(--am); border-color: var(--line2); }
.top-r { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--am); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--am); box-shadow: 0 0 0 0 rgba(255, 166, 43, 0.6); animation: ping 2s infinite; }
.status.live { color: var(--grn); }
.status.live i { background: var(--grn); animation-name: pingg; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 166, 43, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 166, 43, 0); } }
@keyframes pingg { 0% { box-shadow: 0 0 0 0 rgba(70, 224, 138, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(70, 224, 138, 0); } }
.clock { font-size: 11.5px; color: var(--dim); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }

/* ---------- tape ---------- */
.tape {
  position: relative; z-index: 2; height: 38px; overflow: hidden; border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track { display: inline-flex; align-items: center; height: 100%; white-space: nowrap; animation: tape 70s linear infinite; will-change: transform; }
.tape:hover .track { animation-play-state: paused; }
.track span.it { display: inline-flex; gap: 10px; padding: 0 28px; font-size: 12px; letter-spacing: 0.04em; color: var(--tx2); border-right: 1px solid var(--line); }
.track b { color: var(--tx); font-weight: 600; }
.up { color: var(--grn); } .dn { color: var(--red); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px 64px; align-items: end;
  min-height: clamp(620px, calc(100svh - var(--top) - 38px), 980px); padding-top: 44px; padding-bottom: 92px;
}
.hero-l { min-width: 0; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 22px; }
.eyebrow .sep { color: var(--am-lo); }
.mark { position: relative; width: 100%; max-width: 720px; margin-left: -6px; }
.ledmark { position: relative; }
.ledmark canvas { position: absolute; left: 0; top: 0; display: block; }
.ledmark-glow { opacity: 0.55; mix-blend-mode: screen; transform: scale(1.01); }
.h1 { margin: 26px 0 0; font-size: clamp(15px, 1.55vw, 20px); font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--tx); }
.lede { margin: 12px 0 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; color: var(--am-hi); text-shadow: 0 0 30px rgba(255, 150, 40, 0.18); }
.sub { margin: 16px 0 0; max-width: 58ch; color: var(--tx2); font-size: 14.5px; }
.ca {
  display: flex; align-items: center; margin-top: 28px; max-width: 600px; height: 50px;
  border: 1px solid var(--line2); border-radius: 2px; background: rgba(255, 166, 43, 0.035);
}
.ca-k { padding: 0 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--am); border-right: 1px solid var(--line); height: 100%; display: flex; align-items: center; }
.ca code { flex: 1; min-width: 0; padding: 0 16px; font: 500 13.5px var(--mono); color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca code.pending { color: var(--dim); }
.ca-copy { height: 100%; padding: 0 18px; border: 0; border-left: 1px solid var(--line); background: transparent; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--am); transition: background 0.2s, color 0.2s; }
.ca-copy:hover { background: var(--am); color: #120a00; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.kmx {
  position: relative; padding: 26px 26px 22px; border: 1px solid var(--line2); border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 166, 43, 0.075), rgba(255, 166, 43, 0.01) 70%);
  box-shadow: 0 30px 80px -40px rgba(255, 130, 20, 0.35);
}
.kmx::before, .kmx::after { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--am); }
.kmx::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.kmx::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.kmx-h { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--grn); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--grn); animation: pingg 2s infinite; }
.kmx-v { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.kmx-v b { font-size: 64px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; color: var(--am); text-shadow: 0 0 34px rgba(255, 150, 40, 0.45); font-variant-numeric: tabular-nums; }
.kmx-v span { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx2); }
.kmx-p { margin: 0 0 18px; font-size: 12.5px; color: var(--tx2); }
.kv { margin: 0; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; color: var(--tx); font-weight: 500; font-variant-numeric: tabular-nums; }
.src { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 0.06em; color: var(--dim); transition: color 0.2s; }
.src:hover { color: var(--am); }
.scroll-cue { position: absolute; left: var(--gut); bottom: 30px; display: flex; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }
.scroll-cue i { position: relative; width: 60px; height: 1px; background: var(--line2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--am); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- sections ---------- */
.sec { padding-top: 132px; padding-bottom: 20px; }
.sec-h { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 40px; align-items: baseline; margin-bottom: 52px; }
.sec-k { grid-row: span 2; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.idx { color: var(--am); }
.sec-h h2 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; font-weight: 400; letter-spacing: -0.035em; color: var(--tx); }
.sec-h p { margin: 14px 0 0; max-width: 60ch; color: var(--tx2); }
.fine { font-size: 11.5px; color: var(--dim); margin: 16px 0 0; }

/* in-view reveal (only once JS has run; never hides anything without it) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- flow: the pipeline ---------- */
.pipe { position: relative; list-style: none; margin: 0 0 0 280px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.pipe li { position: relative; padding: 46px 28px 8px 0; }
.pipe .pn { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; border: 1px solid var(--line2); border-radius: 50%; background: var(--bg); font-size: 10px; font-weight: 700; color: var(--dim); z-index: 1; transition: color 0.4s, border-color 0.4s, box-shadow 0.4s, background 0.4s; }
.pipe b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--tx2); transition: color 0.4s; }
.pipe p { margin: 10px 0 0; font-size: 13px; color: var(--dim); max-width: 30ch; transition: color 0.4s; }
.pipe li.on .pn { color: #120a00; background: var(--am); border-color: var(--am); box-shadow: 0 0 0 6px rgba(255, 166, 43, 0.12), var(--glow); }
.pipe li.on b { color: var(--am-hi); }
.pipe li.on p { color: var(--tx2); }
.pipe-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line2); }
.pipe-line::after { content: "↺"; position: absolute; right: -4px; top: -10px; font-size: 14px; color: var(--am-lo); }
.pkt { position: absolute; top: -2px; left: 0; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: radial-gradient(closest-side, var(--am-hi), rgba(255, 166, 43, 0.6) 40%, transparent); filter: blur(0.5px); box-shadow: 0 0 18px 3px rgba(255, 150, 40, 0.5); }

/* ---------- basket ---------- */
.alloc { display: flex; gap: 3px; height: 54px; margin: 0 0 30px 280px; }
.alloc .seg { position: relative; min-width: 2px; }
.alloc .seg i { display: block; height: 6px; border-radius: 1px; background: var(--c); box-shadow: 0 0 14px -2px var(--c); transform-origin: left; }
.alloc .seg span { position: absolute; left: 0; top: 16px; font-size: 11px; white-space: nowrap; color: var(--tx2); }
.alloc .seg span b { display: block; color: var(--tx); font-weight: 600; }
.hold { margin-left: 280px; border-top: 1px solid var(--line2); }
.hrow {
  display: grid; grid-template-columns: 34px minmax(180px, 1.6fr) 104px 86px 88px 104px minmax(150px, 1fr) 28px; gap: 16px; align-items: center;
  min-height: 70px; padding: 0 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; transition: background 0.25s;
}
.hrow .n { text-align: right; }
.hhead { min-height: 40px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
a.hrow:hover { background: linear-gradient(90deg, rgba(255, 166, 43, 0.07), rgba(255, 166, 43, 0.015)); }
a.hrow:hover .tk { color: var(--am-hi); text-shadow: var(--glow); }
.hrow .rk { color: var(--dim); font-size: 12px; }
.hrow .coin { min-width: 0; }
.tk { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--am); letter-spacing: 0.01em; transition: color 0.2s, text-shadow 0.2s; }
.tk em { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--red); border: 1px solid rgba(255, 74, 61, 0.45); border-radius: 2px; padding: 2px 4px 1px; }
.nm { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt { display: flex; align-items: center; gap: 12px; }
.wt .bar { flex: 1; height: 3px; background: rgba(255, 166, 43, 0.1); border-radius: 2px; overflow: hidden; }
.wt .bar i { display: block; height: 100%; background: var(--am); border-radius: 2px; box-shadow: 0 0 10px rgba(255, 166, 43, 0.6); }
.wt b { width: 3ch; text-align: right; font-weight: 600; color: var(--tx); }
.hrow .cap { color: var(--tx); }
.hrow .hd, .hrow .vol { color: var(--tx2); }
.hrow .pos { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 12.5px; }
.hrow .pos .pend { color: var(--dim); font-size: 11.5px; letter-spacing: 0.06em; }
.hrow .pos .bar { flex: 1; height: 3px; background: rgba(255, 166, 43, 0.1); border-radius: 2px; overflow: hidden; }
.hrow .pos .bar i { display: block; height: 100%; background: var(--am); box-shadow: 0 0 10px rgba(255, 166, 43, 0.6); }
.hrow .pos b { color: var(--tx); font-weight: 600; }
.hrow .pos small { color: var(--dim); font-size: 11px; white-space: nowrap; }
.eyebrow .ai { color: var(--am); }
.alloc[hidden] { display: none; }
.hrow .arr { color: var(--dim); text-align: right; transition: color 0.2s, transform 0.25s var(--ease); }
a.hrow:hover .arr { color: var(--am); transform: translate(2px, -2px); }

/* ---------- fund ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-left: 280px; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 22px 24px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 22px; }
.stat:last-child { border-right: 0; }
.sk { font-size: 10.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); }
.stat b { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; font-weight: 300; letter-spacing: -0.04em; color: var(--tx); font-variant-numeric: tabular-nums; }
.stat b.pend { color: #3d352c; }
.stat b.pos { color: var(--grn); } .stat b.neg { color: var(--red); }
.stat b.am { color: var(--am); text-shadow: 0 0 26px rgba(255, 150, 40, 0.35); }
.su { font-size: 11.5px; color: var(--dim); letter-spacing: 0.06em; }
.fund-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 28px 0 0 280px; }
.fund-grid.live { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.navbox, .feed { border: 1px solid var(--line); border-radius: 2px; background: rgba(12, 10, 8, 0.6); }
.box-h { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); }
.box-h a { color: var(--am); letter-spacing: 0.04em; text-transform: none; font-weight: 500; }
.navchart { height: 240px; padding: 16px 0 0; }
.navchart svg { width: 100%; height: 100%; display: block; }
.feed-l { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow: auto; }
.feed-l li { display: grid; grid-template-columns: 92px 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.feed-l li:last-child { border-bottom: 0; }
.feed-l time { color: var(--dim); font-size: 11.5px; }
.tag { justify-self: start; font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; padding: 3px 6px 2px; border-radius: 2px; border: 1px solid currentColor; }
.tag.CLAIM { color: var(--am); } .tag.BUY { color: var(--tx2); } .tag.SELL { color: var(--grn); } .tag.BUYBACK { color: #120a00; background: var(--am); border-color: var(--am); }
.tag.BURN { color: var(--red); } .tag.IN, .tag.OUT { color: var(--dim); }
.feed-l .what { color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-l .what small { color: var(--dim); }
.feed-l .tx { color: var(--dim); font-size: 11.5px; }
.feed-l .tx:hover { color: var(--am); }
.feed-l li.feed-empty { display: block; padding: 46px 22px; text-align: center; }
.cur-l { font-size: 15px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--am); text-shadow: var(--glow); }
.feed-empty small { display: block; margin-top: 14px; color: var(--dim); font-size: 12.5px; }

/* ---------- meta ---------- */
.bigs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-left: 280px; border-top: 1px solid var(--line2); }
.bigs > div { padding: 26px 22px 0 0; display: flex; flex-direction: column; gap: 8px; }
.bigs > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.bigs b { font-size: clamp(32px, 3.6vw, 54px); line-height: 1; font-weight: 300; letter-spacing: -0.045em; color: var(--tx); font-variant-numeric: tabular-nums; }
.bigs > div:first-child b { color: var(--am); text-shadow: 0 0 30px rgba(255, 150, 40, 0.35); }
.bigs small { font-size: 12px; color: var(--dim); max-width: 24ch; }
.led-band { margin-top: 120px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 140, 30, 0.04), transparent); }
.led { width: 100%; }
.ledmarquee canvas { display: block; }
.lore { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px 60px; align-items: end; padding-top: 80px; padding-bottom: 120px; }
.lore p { margin: 0 0 0 280px; max-width: 64ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--tx2); font-weight: 300; }
.lore p b { color: var(--tx); font-weight: 500; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 120px; }
.foot-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px 60px; align-items: start; }
.foot-mark { width: 200px; grid-row: span 3; }
.foot-l { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.foot-l a, .foot-l button { color: var(--tx2); background: none; border: 0; padding: 0; letter-spacing: inherit; text-transform: inherit; font-size: inherit; transition: color 0.2s; }
.foot-l a:hover, .foot-l button:hover { color: var(--am); }
.disc { margin: 0; max-width: 78ch; font-size: 12px; color: var(--dim); }
.foot .fine { margin: 0; }

/* ---------- command line ---------- */
.top-cmd { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 12px; border: 1px solid var(--line); border-radius: 2px; background: rgba(255, 166, 43, 0.03); font-size: 11.5px; color: var(--dim); transition: border-color 0.2s, color 0.2s; }
.top-cmd .ps { color: var(--am); font-weight: 700; }
.top-cmd:hover { border-color: var(--line2); color: var(--tx2); }
.cmdk-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; display: none !important; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px 0 16px;
  border: 1px solid var(--line2); border-radius: 2px; background: rgba(10, 8, 6, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 12px; color: var(--tx2); box-shadow: 0 16px 50px -20px rgba(0, 0, 0, 0.9); transition: border-color 0.2s, color 0.2s, opacity 0.6s, transform 0.6s var(--ease);
}
.cmdk-btn:hover { border-color: var(--am); color: var(--tx); }
.cmdk-btn .ps, .cmdk-in .ps { color: var(--am); font-weight: 700; }
.cmdk-btn.away { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cmdk { position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center; padding-top: 16vh; background: rgba(5, 4, 3, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cmdk[hidden] { display: none; }
.cmdk-box { width: min(620px, calc(100vw - 32px)); border: 1px solid var(--line2); border-radius: 3px; background: #0b0907; box-shadow: 0 40px 120px -30px rgba(255, 120, 20, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.6); overflow: hidden; animation: pop 0.25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(0.985); } }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 60px; border-bottom: 1px solid var(--line); font-size: 16px; }
.cmdk-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--tx); font: 500 16px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; caret-color: var(--am); }
.cmdk-in input::placeholder { color: #4a4036; }
.cmdk-l { list-style: none; margin: 0; padding: 6px; max-height: 340px; overflow: auto; }
.cmdk-l li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 2px; cursor: pointer; font-size: 13px; }
.cmdk-l li b { color: var(--am); font-weight: 700; letter-spacing: 0.06em; }
.cmdk-l li span { color: var(--tx2); }
.cmdk-l li kbd { justify-self: end; color: var(--dim); border-color: var(--line); }
.cmdk-l li.sel { background: rgba(255, 166, 43, 0.1); }
.cmdk-l li.sel b { color: var(--am-hi); }
.cmdk-f { display: flex; gap: 20px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 85; transform: translate(-50%, 10px); padding: 12px 18px; border: 1px solid var(--am); border-radius: 2px; background: #120d07; color: var(--am-hi); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); box-shadow: var(--glow); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 25% { box-shadow: inset 0 0 0 1px var(--am), 0 0 60px -10px rgba(255, 150, 40, 0.5); } 100% { box-shadow: inset 0 0 0 1px transparent; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gut: 32px; }
  .sec-h { grid-template-columns: 1fr; row-gap: 14px; }
  .sec-k { grid-row: auto; }
  .pipe, .alloc, .hold, .stats, .fund-grid, .bigs { margin-left: 0; }
  .lore p { margin-left: 0; }
  .hrow { grid-template-columns: 30px minmax(150px, 1.4fr) 92px 74px 76px 92px minmax(120px, 1fr) 22px; gap: 12px; }
}
@media (max-width: 960px) {
  .nav, .top-cmd { display: none; }
  .cmdk-btn { display: flex !important; }
  .top-r { margin-left: auto; }
  .hero { grid-template-columns: 1fr; align-items: start; min-height: 0; padding-bottom: 80px; }
  .kmx { max-width: 520px; }
  .scroll-cue { display: none; }
  .pipe { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pipe-line { display: none; }
  .pipe li { padding: 40px 24px 0 0; border-top: 1px solid var(--line2); }
  .pipe .pn { margin-top: -14px; }
  .stats, .bigs { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bigs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .bigs > div { padding-bottom: 26px; }
  .fund-grid.live { grid-template-columns: 1fr; }
  .lore { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-mark { grid-row: auto; }
  /* basket rows fold into two lines */
  .hhead { display: none; }
  .hrow { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "rk coin cap" "rk pos ch" "rk meta vol"; row-gap: 8px; padding: 16px 4px; }
  .hrow .rk { grid-area: rk; align-self: start; padding-top: 3px; }
  .hrow .coin { grid-area: coin; }
  .hrow .cap { grid-area: cap; font-size: 15px; }
  .hrow .pos { grid-area: pos; max-width: 260px; }
  .hrow .vol { grid-area: vol; font-size: 11.5px; }
  .hrow .vol::after { content: " vol"; }
  .hrow .ch { grid-area: ch; }
  .hrow .hd { grid-area: meta; justify-self: start; font-size: 11.5px; }
  .hrow .hd::after { content: " holders"; }
  .hrow .arr { display: none; }
}
@media (max-width: 600px) {
  :root { --gut: 18px; --top: 56px; }
  body { font-size: 13.5px; }
  .top-in { gap: 12px; }
  .brand-t i, .brand .go, .clock { display: none; }
  .top-r { gap: 12px; }
  .status { font-size: 10px; letter-spacing: 0.1em; }
  .hero { padding-top: 40px; gap: 34px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.12em; gap: 7px; margin-bottom: 18px; }
  .mark { margin-left: -3px; }
  .h1 { margin-top: 24px; letter-spacing: 0.3em; font-size: 13px; }
  .sub { font-size: 13.5px; }
  .ca { margin-top: 26px; }
  .ca-k { padding: 0 12px; }
  .ca code { padding: 0 12px; font-size: 12.5px; }
  .ca-copy { padding: 0 14px; }
  .ctas .btn { flex: 1 1 100%; }
  .kmx { padding: 22px 20px 18px; }
  .kmx-v b { font-size: 54px; }
  .sec { padding-top: 92px; }
  .sec-h { margin-bottom: 36px; }
  .pipe { grid-template-columns: 1fr; row-gap: 30px; }
  .alloc { height: auto; flex-wrap: wrap; row-gap: 10px; }
  .alloc .seg span { display: none; }
  .stat b { font-size: 30px; }
  .stat { padding: 20px 14px 18px 0; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .bigs b { font-size: 32px; }
  .bigs > div { padding: 20px 14px 22px 0; }
  .bigs > div + div { padding-left: 14px; }
  .bigs > div:nth-child(3) { padding-left: 0; }
  .feed-l li { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tag what tx" "time time time"; row-gap: 4px; padding: 12px 14px; }
  .feed-l time { grid-area: time; }
  .feed-l .tag { grid-area: tag; } .feed-l .what { grid-area: what; } .feed-l .tx { grid-area: tx; }
  .led-band { margin-top: 90px; padding: 18px 0; }
  .lore { padding-top: 56px; padding-bottom: 90px; }
  .cmdk-btn { right: 14px; bottom: 14px; height: 42px; padding: 0 14px; }
  .cmdk-btn .cmdk-hint, .cmdk-btn kbd { display: none; }
  .cmdk { padding-top: 10vh; }
  .cmdk-l li { grid-template-columns: 90px minmax(0, 1fr); }
  .cmdk-l li kbd { display: none; }
  .intro .lb { font-size: 9.5px; letter-spacing: 0.12em; height: 9vh; }
  .boot-log { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .cur, .status i, .live i, .scroll-cue i::after { animation: none; }
  .js .rv { opacity: 1; transform: none; }
}
.brand-ico { background: url(../assets/favicon.svg) center / contain no-repeat; border-radius: 5px; box-shadow: 0 0 0 1px var(--line), 0 0 18px -4px rgba(255, 150, 40, 0.5); }
