:root {
  --bg: #060a0f; --side: #0a0f15; --panel: #0e151d; --panel-2: #142030; --line: #1c2a38;
  --text: #e6f0f6; --muted: #7d91a3; --ice: #7fd6ff; --ice-ink: #060a0f; --bronze: #c8a96a; --melt: #ff5c6c;
  --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
.ice { color: var(--ice); } .melt { color: var(--melt); } .muted { color: var(--muted); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 16px clamp(18px, 4vw, 48px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(6, 10, 15, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px var(--serif); letter-spacing: .02em; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; justify-content: center; background: var(--ice); color: var(--ice-ink); font-weight: 600; font-size: 14px; padding: 10px 20px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.pill:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(127, 214, 255, .15), 0 10px 30px rgba(127, 214, 255, .25); }
.pill.big { padding: 14px 26px; font-size: 15px; }
.pill.wide { width: 100%; padding: 13px; }
.pill:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.ghost { color: var(--muted); font-size: 14px; background: none; border: 0; cursor: pointer; transition: color .2s; }
.ghost:hover { color: var(--text); }
.ghost.small { font-size: 12px; margin-top: 10px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; padding: 120px clamp(18px, 6vw, 96px) 140px; max-width: 900px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--muted); border: 1px solid var(--line); background: rgba(14, 21, 29, .6); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font: 500 clamp(52px, 8.4vw, 118px)/.95 var(--serif); letter-spacing: -.02em; margin: 26px 0 24px; }
h1 em { padding-right: .12em; font-style: italic; color: transparent; background: linear-gradient(100deg, #f4fbff 0%, var(--ice) 55%, #3f8db5 100%); -webkit-background-clip: text; background-clip: text; }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: #b5c6d3; max-width: 520px; }
.lede b { color: var(--bronze); }
.cta { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }

.tape { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; gap: 42px; padding: 14px clamp(18px, 6vw, 96px); border-top: 1px solid var(--line); background: rgba(6, 10, 15, .7); backdrop-filter: blur(10px); font: 13px var(--mono); overflow-x: auto; scrollbar-width: none; }
.tape div { white-space: nowrap; color: var(--muted); }
.tape b { color: var(--text); font-weight: 500; margin: 0 6px; }
.up { color: var(--ice) !important; } .down { color: var(--melt) !important; }

/* sections */
section:not(.hero) { padding: clamp(80px, 12vw, 150px) clamp(18px, 6vw, 96px); position: relative; }
.eyebrow { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--bronze); margin-bottom: 16px; }
.serif { font: 500 clamp(36px, 5vw, 64px)/1.02 var(--serif); letter-spacing: -.01em; }
.big-serif { font: 500 clamp(40px, 6.2vw, 88px)/1.02 var(--serif); letter-spacing: -.015em; max-width: 1100px; }
.big-serif em { color: var(--ice); }
.statement { text-align: left; border-top: 1px solid var(--line); }
.statement .muted { margin-top: 26px; font-size: 17px; max-width: 520px; }
.route-head { margin-bottom: 54px; max-width: 720px; }
.route-head .muted { margin-top: 16px; }

.card { position: relative; background: linear-gradient(180deg, var(--panel), rgba(14, 21, 29, .6)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: border-color .3s, transform .3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(127, 214, 255, .12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: #2b4157; transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .num { font: 13px var(--mono); color: var(--bronze); }
.steps h3 { font: 500 34px var(--serif); margin: 40px 0 10px; }
.steps p { color: var(--muted); }

.camp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.camp .alt { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.camp .size { font: 500 64px/1 var(--serif); margin: 18px 0 26px; }
.camp ul { list-style: none; border-top: 1px solid var(--line); }
.camp li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.camp li span { color: var(--muted); }
.camp li b { font: 500 13px var(--mono); }
.camp .price { margin-top: 22px; font-size: 13px; color: var(--bronze); }
.camp.featured { border-color: rgba(200, 169, 106, .45); background: linear-gradient(180deg, #131b24, var(--panel)); }
.camp.featured .size { color: var(--ice); }
.note { margin-top: 26px; color: var(--muted); font-size: 13px; }

/* desk */
.desk { background: linear-gradient(180deg, transparent, #070d13 20%, #070d13 80%, transparent); }
.desk-grid { display: grid; grid-template-columns: 1fr 300px 280px; grid-template-areas: "chart ticket gauge" "pos pos pos"; gap: 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.chart-panel { grid-area: chart; display: flex; flex-direction: column; }
.ticket { grid-area: ticket; display: flex; flex-direction: column; gap: 14px; }
.gauge-panel { grid-area: gauge; display: flex; flex-direction: column; gap: 10px; }
.pos-panel { grid-area: pos; overflow-x: auto; }
.mkts { display: flex; gap: 6px; flex-wrap: wrap; }
.mkts button { font: 500 12px var(--mono); color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.mkts button.on { color: var(--ice-ink); background: var(--ice); border-color: var(--ice); }
.quote { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 8px; flex-wrap: wrap; font-family: var(--mono); }
.quote #qCoin { color: var(--muted); font-size: 13px; }
.quote #qPx { font-size: 30px; font-weight: 500; }
.quote .fund { margin-left: auto; color: var(--muted); font-size: 12px; }
.chg { font-size: 13px; }
#chart { width: 100%; height: 300px; flex: 1; min-height: 240px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--panel-2); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: none; color: var(--muted); font: 600 14px var(--sans); padding: 9px; border-radius: 999px; cursor: pointer; }
.seg button.on.long { background: var(--ice); color: var(--ice-ink); }
.seg button.on.short { background: var(--melt); color: #1a0508; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
label b { color: var(--text); font: 500 13px var(--mono); }
label:has(input[type=range]) { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
input[type=number] { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; color: var(--text); font: 15px var(--mono); padding: 11px 12px; outline: none; }
input[type=number]:focus { border-color: var(--ice); }
input[type=range] { width: 100%; accent-color: var(--ice); }
.kv { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.kv b { color: var(--text); font: 500 13px var(--mono); }
.msg { min-height: 18px; font-size: 12px; color: var(--muted); }
.equity { display: flex; flex-direction: column; }
.equity span { font-size: 13px; color: var(--muted); }
.equity b { font: 500 30px var(--mono); }
.gauge { margin: 6px 0 8px; }
.g-track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 92, 108, .35), var(--panel-2) 40%, rgba(127, 214, 255, .35)); overflow: hidden; }
.g-fill { position: absolute; inset: 0 auto 0 0; width: 42.8%; background: linear-gradient(90deg, transparent, rgba(230, 240, 246, .18)); transition: width .4s; }
.g-mark { position: absolute; top: -3px; width: 3px; height: 16px; border-radius: 2px; background: var(--text); left: 42.8%; transition: left .4s; box-shadow: 0 0 10px var(--ice); }
.g-labels { display: flex; justify-content: space-between; font: 11px var(--mono); margin-top: 8px; }
.status { margin-top: auto; text-align: center; font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 10px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); }
.status.crossed { color: var(--ice); border-color: var(--ice); box-shadow: 0 0 30px rgba(127, 214, 255, .2) inset; }
.status.fell { color: var(--melt); border-color: var(--melt); }
table { width: 100%; border-collapse: collapse; font: 13px var(--mono); }
th { text-align: left; color: var(--muted); font-weight: 400; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr.empty td { color: var(--muted); text-align: center; padding: 22px; font-family: var(--sans); }
td button { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 4px 12px; font: 12px var(--sans); cursor: pointer; }
td button:hover { color: var(--text); border-color: var(--muted); }

/* freeze */
.flow { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.node { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font: 500 22px var(--serif); min-width: 220px; }
.node small { display: block; font: 12px var(--mono); color: var(--muted); margin-top: 4px; }
.node.frozen { border-color: rgba(127, 214, 255, .5); background: linear-gradient(135deg, rgba(127, 214, 255, .12), var(--panel)); color: var(--ice); }
.arrow { width: 70px; height: 1px; background: linear-gradient(90deg, var(--line), var(--ice)); position: relative; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; border: 4px solid transparent; border-left-color: var(--ice); transform: translateX(4px); }
.split { display: flex; flex-direction: column; gap: 10px; }

/* watch */
.watch { border-top: 1px solid var(--line); }
.watch-empty { margin-top: 40px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--muted); text-align: center; }
.watch-empty img { opacity: .7; }

.foot { padding: 60px clamp(18px, 6vw, 96px) 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.foot .fine { font-size: 12px; max-width: 640px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .desk-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "chart chart" "ticket gauge" "pos pos"; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .nav .pill { margin-left: auto; }
  .steps, .camp-grid { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: 1fr; grid-template-areas: "chart" "ticket" "gauge" "pos"; }
  .hero-inner { padding-bottom: 120px; }
  .arrow { width: 1px; height: 30px; background: linear-gradient(180deg, var(--line), var(--ice)); }
  .arrow::after { display: none; }
  .flow { flex-direction: column; align-items: stretch; }
}
/* ---------- art ---------- */
.hero-bg { position: absolute; inset: -4%; z-index: 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.07) translate(-1.2%, -1%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6,10,15,.92) 0%, rgba(6,10,15,.55) 38%, rgba(6,10,15,0) 65%), linear-gradient(0deg, var(--bg) 0%, rgba(6,10,15,0) 30%); }
#sky { z-index: 1; }

.statement { min-height: 120vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-top: 0 !important; padding-top: 110px !important; padding-bottom: 110px !important; }
.tip-bg { position: absolute; inset: 0; z-index: 0; }
.tip-bg img { width: 100%; height: 120%; object-fit: cover; object-position: center 30%; will-change: transform; }
.tip-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(6,10,15,.1) 18%, rgba(6,10,15,.1) 60%, rgba(6,10,15,.85) 88%, var(--bg) 100%); }
.tip-top, .tip-bottom { position: relative; z-index: 1; }
.tip-bottom { align-self: flex-end; text-align: right; max-width: 780px; }
.tip-bottom .muted { margin-left: auto; margin-top: 22px; font-size: 17px; max-width: 460px; }
.big-serif { text-shadow: 0 2px 40px rgba(6,10,15,.8); }

.step { padding: 0; display: flex; flex-direction: column; }
.step figure { aspect-ratio: 4 / 3; overflow: hidden; margin: 0; position: relative; }
.step figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--panel)); }
.step img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.step:hover img { transform: scale(1.06); }
.step-body { padding: 4px 30px 30px; }
.step h3 { margin-top: 14px !important; }

.camp { min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--panel); isolation: isolate; }
.camp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,10,15,0) 0%, rgba(6,10,15,.25) 35%, rgba(6,10,15,.9) 62%, rgba(6,10,15,.97) 100%), var(--img) center top / cover no-repeat; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.camp:hover::after { transform: scale(1.05); }
.camp > * { position: relative; }
.camp ul { border-color: rgba(230,240,246,.14); }
.camp li { border-color: rgba(230,240,246,.1); }
.camp.summit { border-color: rgba(200, 169, 106, .55); }
.camp.summit .size { color: var(--bronze); }
.camp.featured { background: var(--panel); }

.desk { overflow: hidden; }
.desk::before { content: ""; position: absolute; inset: 0; background: url(art/desk-bg.webp?v=1) center / cover no-repeat; opacity: .28; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); pointer-events: none; }
.desk > * { position: relative; }
.panel { background: rgba(14, 21, 29, .86); backdrop-filter: blur(8px); }

.freeze-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.coin { margin: 0; position: relative; }
.coin img { width: 100%; max-width: 520px; display: block; margin: auto; border-radius: 24px; animation: float 7s ease-in-out infinite; mask-image: radial-gradient(circle at center, #000 55%, transparent 72%); -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 72%); }
.coin::before { content: ""; position: absolute; inset: 15%; background: radial-gradient(circle, rgba(127,214,255,.25), transparent 65%); filter: blur(30px); z-index: -1; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }

.watch { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.owl { margin: 0; position: relative; }
.owl img { width: 100%; max-width: 560px; display: block; border-radius: 24px; mask-image: radial-gradient(ellipse at center, #000 50%, transparent 74%); -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 74%); }
.owl::after { content: ""; position: absolute; width: 10px; height: 10px; left: 50%; top: 32%; border-radius: 50%; box-shadow: 0 0 80px 40px rgba(127,214,255,.18); animation: pulse 4s infinite; pointer-events: none; }
.watch-copy .muted { margin-top: 18px; max-width: 460px; }
.watch-empty { margin-top: 28px !important; padding: 26px 22px !important; align-items: flex-start !important; text-align: left !important; font-size: 14px; }

.foot { position: relative; overflow: hidden; padding-top: 220px !important; }
.foot > * { position: relative; }
.foot .foot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: 1; mask-image: linear-gradient(180deg, transparent, #000 25%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%); }
.foot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,10,15,.75) 0%, transparent 45%); }
.foot > :not(.foot-bg) { z-index: 1; }

@media (max-width: 900px) {
  .freeze-grid, .watch { grid-template-columns: 1fr; }
  .owl { order: -1; }
  .hero::after { background: linear-gradient(180deg, rgba(6,10,15,.35) 0%, rgba(6,10,15,.78) 30%, rgba(6,10,15,.78) 70%, var(--bg) 100%); }
  .statement { min-height: 90vh; }
  .tip-bg img { object-position: 45% 30%; }
  .camp { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .coin img, .owl::after { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}
