@font-face { font-family: "tiktok"; src: url("fonts/TikTokSans.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "geist-mono"; src: url("fonts/GeistMono.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "departure"; src: url("fonts/DepartureMono-Regular.otf") format("opentype"); font-display: swap; }

:root {
  --bg: #0f1111;
  --bg-2: #161818;
  --blue: #1a2cff;
  --blue-deep: #0a1490;
  --lime: #c0fe04;
  --l1: #f4f4f0;
  --l2: rgba(244, 244, 240, .6);
  --l3: rgba(244, 244, 240, .32);
  --line: rgba(244, 244, 240, .1);
  --ease: cubic-bezier(.66, 0, .01, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(16px, 2.2vw, 32px);
  --sans: "tiktok", "Helvetica Neue", sans-serif;
  --mono: "geist-mono", ui-monospace, Menlo, monospace;
  --pixel: "departure", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--l1); font-family: var(--sans);
  font-size: 16px; line-height: 1.45; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; line-height: 1.5; }
.dim { color: var(--l3); }
em { font-style: normal; color: var(--lime); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--blue-deep); transition: opacity .6s var(--ease-out), visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-bar { width: 140px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.18); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: #fff; transition: width .5s var(--ease-out); }

/* ---------- chrome ---------- */
.chrome { position: fixed; inset: 0; z-index: 50; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: var(--gut); font-family: var(--pixel); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; mix-blend-mode: difference; color: #fff; }
.chrome a, .chrome button { pointer-events: auto; }
.chrome-top, .chrome-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 13px; letter-spacing: .06em; }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 28px; height: 18px; position: relative; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.burger i:first-child { top: 4px; } .burger i:last-child { bottom: 4px; }
.burger.open i:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger.open i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.clock { display: inline-flex; align-items: center; gap: 8px; }
.clock b { font-weight: 400; }
.pill { border: 1px solid currentColor; border-radius: 99px; padding: 7px 14px; transition: background .3s, color .3s; }
.pill:hover { background: #fff; color: #000; }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--blue); display: flex; flex-direction: column; justify-content: center; padding: var(--gut); gap: 8px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.menu.open { clip-path: inset(0 0 0 0); }
.menu a { font-size: 13vw; font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.03em; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 60% 40%, #2a3dff 0%, #1626e0 35%, #0a1490 75%, #060c5c 100%); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-grid { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-grid i { position: absolute; background: rgba(255,255,255,.09); }
.hero-grid i:nth-child(1) { left: 25%; top: 0; bottom: 0; width: 1px; }
.hero-grid i:nth-child(2) { left: 75%; top: 0; bottom: 0; width: 1px; }
.hero-grid i:nth-child(3) { top: 30%; left: 0; right: 0; height: 1px; }
.hero-grid i:nth-child(4) { top: 68%; left: 0; right: 0; height: 1px; }
.hero-meta { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); top: calc(var(--gut) + 54px); display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: var(--gut); pointer-events: none; }
.hero-kicker { font-weight: 600; font-size: 19px; line-height: 1.15; }
.hero-note, .hero-about { color: rgba(255,255,255,.72); }
.hero-about { max-width: 360px; justify-self: end; }
.hero-title { position: absolute; z-index: 5; left: var(--gut); bottom: calc(var(--gut) + 44px); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 7.4vw, 128px); line-height: .9; letter-spacing: -.035em; pointer-events: none; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .02em; }
.hero-title .line span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.ready .hero-title .line span { transform: none; }
.ready .hero-title .line:nth-child(2) span { transition-delay: .08s; }
.ready .hero-title .line:nth-child(3) span { transition-delay: .16s; }
.hero-meta > :not(.hero-left), .hero-kicker { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease-out) .4s, transform .9s var(--ease-out) .4s; }
.ready .hero-meta > :not(.hero-left), .ready .hero-kicker { opacity: 1; transform: none; }

.hero-left { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* ---------- partner badge ---------- */
.pbadge { display: grid; grid-template-columns: auto auto; align-items: center; gap: 10px 18px; padding: 12px 16px; border-radius: 6px; background: #fff; pointer-events: auto; }
.pbadge small { grid-column: 1 / -1; font-family: var(--pixel); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #5f6368; }
.pbadge img { display: block; width: auto; }
.pb-adsense { height: 18px; }
.pb-gam { height: 17px; }
.pbadge--hero { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease-out) .6s, transform .9s var(--ease-out) .6s; }
.ready .pbadge--hero { opacity: 1; transform: none; }
.pbadge--lg { padding: 20px 24px; gap: 14px 28px; }
.pbadge--lg small { font-size: 11px; }
.pbadge--lg .pb-adsense { height: 26px; }
.pbadge--lg .pb-gam { height: 23px; }
.partner-row { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 0 var(--gut) var(--gut); flex-wrap: wrap; }
.partner-note { color: var(--l2); max-width: 40ch; font-size: 17px; }

/* ---------- stickers ---------- */
.stickers { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.sticker { position: absolute; left: 0; top: 0; object-fit: contain; pointer-events: auto; cursor: grab; user-select: none; -webkit-user-drag: none; touch-action: none; will-change: transform; filter: drop-shadow(0 6px 10px rgba(0, 0, 20, .35)); transition: opacity .4s; }
.sticker.held { cursor: grabbing; filter: drop-shadow(0 14px 18px rgba(0, 0, 20, .4)); }
.sticker.gone { opacity: 0; }
.hero { cursor: crosshair; }

/* ---------- ticker ---------- */
.ticker { background: var(--lime); color: #000; overflow: hidden; border-block: 1px solid #000; }
.ticker-track { display: flex; width: max-content; gap: 28px; padding: 14px 0; animation: tick 38s linear infinite; font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.01em; white-space: nowrap; }
.ticker-track b { font-weight: 400; opacity: .35; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section-head { display: block; padding: 0 var(--gut) 28px; border-bottom: 1px solid var(--line); margin-bottom: var(--gut); }
.section-head h2 { font-size: clamp(34px, 4.8vw, 76px); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.03em; }
.tag { display: inline-block; font-family: var(--pixel); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; background: var(--lime); color: #000; padding: 3px 6px 2px; border-radius: 2px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* intro */
.intro { padding: clamp(90px, 14vw, 200px) var(--gut) clamp(80px, 10vw, 160px); }
.intro-lead { font-size: clamp(26px, 3.4vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; max-width: 22ch; max-width: 1180px; }
.intro-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); margin-top: clamp(56px, 7vw, 110px); }
.intro-cols p { margin-top: 14px; color: var(--l2); max-width: 36ch; }
.intro-cols > div:nth-child(2) { transition-delay: .08s; } .intro-cols > div:nth-child(3) { transition-delay: .16s; }

/* services */
.services { padding: 40px 0 clamp(90px, 12vw, 180px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); padding: 0 var(--gut); }
.card { display: flex; flex-direction: column; gap: 14px; }
.card:nth-child(3n+2) { transition-delay: .08s; } .card:nth-child(3n) { transition-delay: .16s; }
.card-art { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .8s var(--ease), border-color .4s; }
.card:hover .card-art { transform: scale(.985); border-color: rgba(192,254,4,.45); }
.card-foot { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.card-foot h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; }
.card-desc { color: var(--l2); font-size: 15px; max-width: 42ch; }

/* art 01 bars */
.art-bars { display: flex; align-items: flex-end; gap: 6%; padding: 14% 9% 0; background: linear-gradient(180deg, #121a8a, #1a2cff); }
.art-bars i { flex: 1; height: 20%; background: rgba(255,255,255,.92); border-radius: 3px 3px 0 0; transition: height 1.2s var(--ease); }
.art-bars i:last-child { background: var(--lime); }
.card.in .art-bars i { height: var(--h); }
.art-bars i:nth-child(1) { --h: 22%; } .art-bars i:nth-child(2) { --h: 30%; } .art-bars i:nth-child(3) { --h: 27%; } .art-bars i:nth-child(4) { --h: 41%; }
.art-bars i:nth-child(5) { --h: 50%; } .art-bars i:nth-child(6) { --h: 63%; } .art-bars i:nth-child(7) { --h: 74%; } .art-bars i:nth-child(8) { --h: 92%; }
.art-bars i:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms); }
.art-bars i:nth-child(2){--i:1}.art-bars i:nth-child(3){--i:2}.art-bars i:nth-child(4){--i:3}.art-bars i:nth-child(5){--i:4}.art-bars i:nth-child(6){--i:5}.art-bars i:nth-child(7){--i:6}.art-bars i:nth-child(8){--i:7}

/* art 02 arbitrage */
.art-arb svg { position: absolute; inset: 12% 0 0; width: 100%; height: 88%; }
.arb-rev { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.8s var(--ease); }
.arb-fill { opacity: 0; transition: opacity 1.2s ease .9s; }
.card.in .arb-rev { stroke-dashoffset: 0; } .card.in .arb-fill { opacity: 1; }
.art-arb .lbl { position: absolute; color: var(--l2); }
.art-arb .l1 { right: 8%; top: 10%; color: var(--lime); } .art-arb .l2 { right: 8%; bottom: 7%; }

/* art 03 auction */
.art-auction { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 9%; }
.bid { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; color: var(--l2); }
.bid b { height: 18px; border-radius: 3px; background: rgba(255,255,255,.14); transform-origin: left; animation: bid 4.8s var(--ease) infinite; }
.bid:nth-child(1) b { --w: .62; animation-delay: 0s; } .bid:nth-child(2) b { --w: .9; animation-delay: .3s; }
.bid:nth-child(3) b { --w: .48; animation-delay: .6s; } .bid:nth-child(4) b { --w: .7; animation-delay: .9s; }
.bid:nth-child(2) b { background: var(--lime); }
.bid:nth-child(2) span { color: var(--lime); }
@keyframes bid { 0% { transform: scaleX(.05); } 35%, 80% { transform: scaleX(var(--w)); } 100% { transform: scaleX(.05); } }

/* art 04 heatmap */
.art-heat { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; gap: 3px; padding: 8%; }
.art-heat i { border-radius: 2px; background: var(--blue); opacity: var(--o, .1); transition: opacity 1.4s ease, background 1.4s ease; }
.art-heat i.hot { background: var(--lime); }

/* art 05 creative stack */
.art-stack { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #1c2266, var(--bg-2) 70%); }
.art-stack i { grid-area: 1 / 1; width: 34%; aspect-ratio: 9 / 13; border-radius: 10px; display: grid; place-items: end start; padding: 10px; font-style: normal; font-family: var(--pixel); font-size: 12px; color: #000; box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform 1s var(--ease); }
.art-stack i:nth-child(1) { background: #fff; transform: rotate(-14deg) translateX(-38%); }
.art-stack i:nth-child(2) { background: #ff5b2e; transform: rotate(-4deg) translateX(-12%); }
.art-stack i:nth-child(3) { background: var(--blue); color: #fff; transform: rotate(6deg) translateX(14%); }
.art-stack i:nth-child(4) { background: var(--lime); transform: rotate(15deg) translateX(40%); }
.card:hover .art-stack i:nth-child(1) { transform: rotate(-20deg) translateX(-60%) translateY(-4%); }
.card:hover .art-stack i:nth-child(2) { transform: rotate(-7deg) translateX(-20%) translateY(-8%); }
.card:hover .art-stack i:nth-child(3) { transform: rotate(8deg) translateX(22%) translateY(-8%); }
.card:hover .art-stack i:nth-child(4) { transform: rotate(21deg) translateX(62%) translateY(-4%); }

/* art 06 spark */
.art-spark { background: linear-gradient(180deg, var(--bg-2), #0b0d0d); }
.art-spark svg { position: absolute; inset: 14% 0 10%; width: 100%; height: 76%; }
.art-spark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 25% 25%; }
.spark-line { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s var(--ease); }
.card.in .spark-line { stroke-dashoffset: 0; }

/* flow */
.flow { padding: 40px 0 clamp(90px, 12vw, 180px); }
.flow-stage { position: relative; margin: 0 var(--gut); height: clamp(420px, 46vw, 640px); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-2); }
#flowCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-col { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-around; padding: 6% 0; z-index: 2; }
.flow-col li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg-2); }
.flow-in { left: 3%; } .flow-out { right: 3%; text-align: right; }
.flow-out li { border-color: rgba(192,254,4,.35); color: var(--lime); }
.flow-core { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: clamp(110px, 13vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; background: var(--blue); }
.flow-core span { font-weight: 800; font-size: clamp(16px, 1.8vw, 24px); letter-spacing: -.01em; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow-caption { padding: var(--gut) var(--gut) 0; color: var(--l2); max-width: 60ch; font-size: 17px; }

/* geo */
.geo { padding: 40px 0 clamp(90px, 12vw, 180px); }
.markets { padding: 0 var(--gut); }
.markets-note { padding: 18px var(--gut) 0; color: var(--l3); }
.markets li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.markets li span { font-size: clamp(44px, 8vw, 132px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.markets li:hover { padding-left: 14px; color: var(--lime); }
.markets li small { color: var(--l3); }

/* stack */
.stack { padding: 40px 0 clamp(90px, 12vw, 180px); }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--gut); }
.logo { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 160px; padding: 20px; border: 1px solid var(--line); margin: 0 -1px -1px 0; transition: background .4s, color .4s; }
.logo b { font-size: clamp(20px, 1.9vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.logo small { color: var(--l3); }
.logo:hover { background: var(--blue); }
.logo:hover small { color: rgba(255,255,255,.75); }

/* warp */
.warp { height: 320vh; background: #000; }
.warp-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
#warpCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.warp-title { position: relative; z-index: 2; text-align: center; font-size: clamp(48px, 8.5vw, 150px); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.035em; }
.warp-title span { display: block; transition: opacity .4s, transform .6s var(--ease); }
.warp-title.swap span { opacity: 0; transform: translateY(20px); }

/* contact */
.contact { min-height: 100svh; padding: clamp(110px, 12vw, 180px) var(--gut) var(--gut); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; background: var(--blue); }
.contact-title { font-size: clamp(56px, 11vw, 200px); font-weight: 800; text-transform: uppercase; line-height: .86; letter-spacing: -.045em; }
.contact-title em { color: var(--lime); }
.contact-kicker { color: rgba(255,255,255,.7); }
.contact-text { font-size: clamp(18px, 1.6vw, 22px); max-width: 40ch; color: rgba(255,255,255,.85); margin-bottom: -24px; }
.contact-mail { align-self: flex-start; font-size: clamp(24px, 3.4vw, 54px); font-weight: 600; letter-spacing: -.02em; border-bottom: 2px solid currentColor; padding-bottom: 4px; transition: color .3s; }
.contact-mail:hover { color: var(--lime); }
.legal { color: rgba(255,255,255,.6); font-size: 10.5px; max-width: 90ch; margin-top: -40px; padding-bottom: 54px; }
.contact-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.25); padding-top: 16px; padding-bottom: 54px; }
.contact-row:has(+ .legal) { padding-bottom: 0; }
.contact-row + .legal { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-note, .hero-about { display: none; }
  .pbadge--hero { padding: 10px 12px; gap: 8px 14px; }
  .pbadge--lg { grid-template-columns: auto; padding: 16px 18px; gap: 12px; }
  .pbadge--lg .pb-adsense { height: 22px; }
  .pbadge--lg .pb-gam { height: 20px; }
  .pbadge--hero .pb-adsense { height: 15px; }
  .pbadge--hero .pb-gam { height: 15px; }
  .intro-cols, .cards { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .section-head > :last-child { justify-self: start; text-align: left; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .flow-stage { height: 520px; }
  .flow-col li { font-size: 10px; padding: 4px 6px; }
  .card:nth-child(n) { transition-delay: 0s; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
