/* ============================================================
   SPINE — X-ray fund
   ============================================================ */
:root {
  --bg: #02060b;
  --bg2: #040a12;
  --panel: #071220;
  --panel2: #0a1828;
  --line: rgba(160, 210, 255, 0.1);
  --line2: rgba(160, 210, 255, 0.2);
  --ice: #a8dcff;
  --ice2: #7cc4f5;
  --bone: #eaf5ff;
  --text: #d9e8f6;
  --muted: #8299ae;
  --dim: #51667b;
  --red: #ff6b86;
  --lav: #b9b5ea;
  --serif: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(20px, 6vw, 96px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { overflow-x: hidden; font-size: 16px; line-height: 1.5; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); }
.ice { color: var(--ice); }
::selection { background: rgba(168, 220, 255, 0.25); color: var(--bone); }

/* ---------- stage ---------- */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 45%, transparent 40%, rgba(2, 6, 11, 0.75) 100%),
    linear-gradient(90deg, rgba(2, 6, 11, 0.55) 0%, transparent 45%);
}
.grain {
  position: fixed; inset: -60%; z-index: 1; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .8  0 0 0 0 .9  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.no-gl .hero { background: radial-gradient(60% 70% at 72% 50%, rgba(120, 190, 255, 0.12), transparent 70%); }
main, .foot { position: relative; z-index: 2; }

/* ---------- labels on the 3D spine ---------- */
#labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; }
.vl { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0; will-change: transform; }
.vl.l { flex-direction: row-reverse; }
.vl .vl-dot { width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 12px var(--ice); flex: none; }
.vl .vl-ln { width: 64px; height: 1px; background: linear-gradient(90deg, rgba(168, 220, 255, 0.9), rgba(168, 220, 255, 0.15)); }
.vl.l .vl-ln { background: linear-gradient(270deg, rgba(168, 220, 255, 0.9), rgba(168, 220, 255, 0.15)); }
.vl .vl-tx { margin: 0 10px; padding: 7px 10px; border: 1px solid var(--line2); border-radius: 8px; background: rgba(4, 12, 22, 0.72); backdrop-filter: blur(6px); white-space: nowrap; font-family: var(--mono); line-height: 1.35; }
.vl .vl-tx b { display: block; font-weight: 500; font-size: 11px; color: var(--bone); letter-spacing: 0.04em; }
.vl .vl-tx span { font-size: 10.5px; color: var(--ice); }
.vl { transform: translate3d(-999px, -999px, 0); }
.vl.l .vl-tx { text-align: right; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(16px, 3.4vw, 48px);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(2, 6, 11, 0.72); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: 0.22em; font-size: 14px; color: var(--bone); }
.mark { width: 30px; height: 28px; color: #cbe9ff; filter: drop-shadow(0 0 2px rgba(168, 220, 255, 0.9)) drop-shadow(0 0 10px rgba(120, 190, 255, 0.45)); }
.links { display: flex; gap: 30px; }
.links a { text-decoration: none; font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.links a:hover { color: var(--bone); }
.nav-r { display: flex; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); background: rgba(4, 12, 22, 0.5); }
.pill b { font-weight: 500; color: var(--bone); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: blink 1.6s infinite; }
.pill.replay i { background: var(--lav); box-shadow: 0 0 10px var(--lav); }
@keyframes blink { 50% { opacity: 0.3; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; text-decoration: none;
  font: 500 14.5px/1 var(--sans); letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-ice { background: linear-gradient(180deg, #d4eeff, var(--ice)); color: #04111e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 40px -12px rgba(168, 220, 255, 0.75); }
.btn-ice:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 50px -10px rgba(168, 220, 255, 0.95); }
.btn-ghost { border: 1px solid var(--line2); color: var(--bone); background: rgba(8, 20, 34, 0.45); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(168, 220, 255, 0.45); background: rgba(14, 32, 52, 0.6); }
.arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 12px var(--ice); }
h1, h2, h3 { font-weight: 600; }
h2 em, h1 em { font-style: normal; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: center; padding: 120px var(--pad) 170px; }
.hero-inner { max-width: min(660px, 50vw); position: relative; }
.hero h1 { font-family: var(--serif); font-size: clamp(46px, 5.3vw, 96px); line-height: 1; letter-spacing: -0.045em; margin: 26px 0 30px; color: var(--bone); }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .l2 em {
  color: var(--ice);
  text-shadow: 0 0 28px rgba(120, 190, 255, 0.45);
}
.lede { font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); max-width: 520px; line-height: 1.6; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ctas.center { justify-content: center; }

.hero-stats { position: absolute; left: var(--pad); bottom: 54px; display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.hero-stats > div { display: flex; flex-direction: column; gap: 6px; padding-right: 36px; margin-right: 36px; border-right: 1px solid var(--line); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats .k { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.hero-stats .v { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.04em; color: var(--bone); }
.hero-stats .v.ice { color: var(--ice); text-shadow: 0 0 22px rgba(168, 220, 255, 0.4); }
.down-t { color: var(--red) !important; }

.dicom { position: absolute; display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; letter-spacing: 0.12em; color: rgba(168, 220, 255, 0.5); text-transform: uppercase; }
.dicom b { font-weight: 500; color: rgba(234, 245, 255, 0.85); }
.dicom.tr { top: 96px; right: clamp(16px, 3.4vw, 48px); text-align: right; align-items: flex-end; }
.dicom.br { bottom: 54px; right: clamp(16px, 3.4vw, 48px); text-align: right; align-items: flex-end; }
.ruler { position: absolute; right: clamp(16px, 3.4vw, 48px); top: 26%; bottom: 26%; width: 14px; }
.ruler i { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(168, 220, 255, 0.4) 0 1px, transparent 1px 12px); -webkit-mask: linear-gradient(90deg, #000 40%, transparent 41%); mask: linear-gradient(90deg, #000 40%, transparent 41%); }
.ruler::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 100%; background: repeating-linear-gradient(180deg, rgba(168, 220, 255, 0.6) 0 1px, transparent 1px 60px); }

/* ---------- tape ---------- */
.tape { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(3, 9, 16, 0.78); backdrop-filter: blur(10px); height: 46px; display: flex; align-items: center; }
.tape-track { display: flex; gap: 0; white-space: nowrap; animation: tape 60s linear infinite; will-change: transform; }
.tape-track span { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; font-family: var(--mono); font-size: 12px; color: var(--muted); border-right: 1px solid var(--line); }
.tape-track b { color: var(--bone); font-weight: 500; }
.tape-track em { font-style: normal; color: var(--ice); }
.tape-track i { font-style: normal; font-size: 10px; letter-spacing: 0.12em; color: var(--dim); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- mandate (pinned) ---------- */
.how { position: relative; height: 440vh; }
.how-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding: 0 var(--pad); }
.how-left { max-width: min(560px, 46vw); display: flex; flex-direction: column; gap: 34px; }
.steps { position: relative; height: 330px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); pointer-events: none; }
.step.on { opacity: 1; transform: none; filter: none; }
.step .num { font-size: 11.5px; letter-spacing: 0.16em; color: var(--ice); }
.step h2 { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 70px); line-height: 1; letter-spacing: -0.045em; margin: 18px 0 22px; color: var(--bone); }
.step h2 em { color: var(--ice); text-shadow: 0 0 24px rgba(120, 190, 255, 0.4); }
.step p { color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; max-width: 460px; }
.how-progress { display: flex; flex-direction: column; gap: 14px; }
.how-progress .bar { display: block; width: 260px; height: 1px; background: var(--line2); position: relative; }
.how-progress .bar i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 0; background: var(--ice); box-shadow: 0 0 12px var(--ice); }
.how-progress ol { list-style: none; display: flex; gap: 22px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.how-progress li { transition: color 0.3s; }
.how-progress li.on { color: var(--bone); }

/* ---------- manifesto ---------- */
.manifesto { position: relative; padding: 26vh var(--pad) 22vh; background: linear-gradient(180deg, transparent, var(--bg) 18%); }
.manifesto .big { margin-top: 30px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.5vw, 56px); line-height: 1.15; letter-spacing: -0.035em; max-width: 1180px; color: var(--bone); }
.manifesto .big b { font-weight: 600; }
.manifesto .w { opacity: 0.12; transition: opacity 0.4s; }
.manifesto .w.on { opacity: 1; }

/* ---------- sections ---------- */
.scan, .desk, .survivors { position: relative; background: var(--bg); padding: 120px 0; }
.sec-head { padding: 0 var(--pad); margin-bottom: 48px; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(48px, 6vw, 100px); line-height: 0.95; letter-spacing: -0.03em; color: var(--bone); margin: 18px 0 22px; }
.sec-head h2 em { color: var(--ice); text-shadow: 0 0 24px rgba(120, 190, 255, 0.4); }
.sec-head .sub { color: var(--muted); max-width: 560px; font-size: 17px; line-height: 1.6; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-head.row .sub { margin-bottom: 26px; }

/* lightbox */
.ca-form { margin: 0 var(--pad); max-width: 820px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(12, 28, 46, 0.7), rgba(6, 14, 24, 0.7)); box-shadow: 0 30px 80px -40px rgba(120, 190, 255, 0.4); transition: border-color 0.3s, box-shadow 0.3s; }
.ca-form:focus-within { border-color: rgba(168, 220, 255, 0.55); box-shadow: 0 0 0 4px rgba(168, 220, 255, 0.08), 0 30px 80px -30px rgba(120, 190, 255, 0.55); }
.ca-ico { font-size: 11px; letter-spacing: 0.14em; color: var(--ice); padding: 6px 9px; border: 1px solid var(--line2); border-radius: 6px; }
.ca-form input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--bone); font: 400 15px var(--mono); padding: 12px 4px; }
.ca-form input::placeholder { color: var(--dim); }
.ca-msg { margin: 12px var(--pad) 0; min-height: 18px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.ca-msg.err { color: var(--red); }

.ca-result[hidden] { display: none; }
.ca-result { margin: 26px var(--pad) 0; display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 0; border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #0a1828, #050c16 60%); animation: rise 0.7s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.ca-result .film { position: relative; background: #02070d; border-right: 1px solid var(--line); min-height: 440px; }
.ca-result .film canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ca-result .read { padding: 34px 36px; display: flex; flex-direction: column; gap: 22px; }
.read-top { display: flex; align-items: center; gap: 14px; }
.read-top img, .coin-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #0d1d30; border: 1px solid var(--line); flex: none; }
.read-top .t b { display: block; font-size: 20px; font-weight: 600; color: var(--bone); }
.read-top .t span { font-size: 13px; color: var(--muted); }
.read-verdict { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.read-verdict h3 { font-family: var(--serif); font-size: clamp(36px, 3.8vw, 60px); line-height: 1; letter-spacing: -0.045em; }
.read-verdict h3.spine { color: var(--ice); }
.read-verdict h3.bent { color: var(--lav); }
.read-verdict h3.none { color: var(--red); }
.score-big { text-align: right; }
.score-big b { display: block; font-family: var(--serif); font-size: 58px; line-height: 0.9; color: var(--bone); font-weight: 600; letter-spacing: -0.04em; }
.score-big span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.read-sum { color: var(--text); font-size: 16.5px; line-height: 1.6; max-width: 560px; }
.tf { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tf div { padding: 14px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.tf div:last-child { border-right: 0; }
.tf .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.tf .v { font-family: var(--mono); font-size: 16px; }
.tf .s { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.read-meta { display: flex; gap: 26px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.read-meta b { color: var(--bone); font-weight: 500; }
.read-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.up { color: var(--ice); }
.down { color: var(--red); }
.flat { color: var(--muted); }

.board-head { margin: 90px var(--pad) 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.board-head h3 { font-family: var(--serif); font-size: 30px; color: var(--bone); letter-spacing: -0.035em; }
.small { font-size: 11.5px; color: var(--dim); letter-spacing: 0.06em; margin-top: 4px; }
.filters { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(6, 14, 24, 0.7); }
.filters button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; color: var(--muted); transition: background 0.25s, color 0.25s; }
.filters button span { font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-left: 4px; }
.filters button.on { background: rgba(168, 220, 255, 0.12); color: var(--bone); box-shadow: inset 0 0 0 1px rgba(168, 220, 255, 0.25); }

.plates { padding: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.plate { position: relative; display: block; text-decoration: none; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #091625, #050c16); transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s; overflow: hidden; }
.plate:hover { transform: translateY(-4px); border-color: rgba(168, 220, 255, 0.3); box-shadow: 0 30px 60px -30px rgba(120, 190, 255, 0.35); }
.plate::after { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(200,232,255,.14), transparent); opacity: 0; transform: translateY(40px); pointer-events: none; }
.plate:hover::after { opacity: 1; animation: platescan 1.4s var(--ease) infinite; }
@keyframes platescan { from { transform: translateY(40px); } to { transform: translateY(230px); } }
.plate canvas { display: block; width: 100%; height: 200px; border-radius: 11px; }
.plate .p-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.plate .coin-img { width: 30px; height: 30px; }
.plate .p-id { min-width: 0; }
.plate .p-id b { display: block; font-size: 14.5px; font-weight: 600; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plate .p-id span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.chip { margin-left: auto; flex: none; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; padding: 5px 9px; border-radius: 99px; border: 1px solid; text-transform: uppercase; }
.chip.spine { color: var(--ice); border-color: rgba(168, 220, 255, 0.4); background: rgba(168, 220, 255, 0.08); }
.chip.bent { color: var(--lav); border-color: rgba(185, 181, 234, 0.35); background: rgba(185, 181, 234, 0.06); }
.chip.none { color: var(--red); border-color: rgba(255, 107, 134, 0.35); background: rgba(255, 107, 134, 0.06); }
.p-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.p-metrics div { display: flex; flex-direction: column; gap: 3px; }
.p-metrics .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.p-metrics .v { font-family: var(--mono); font-size: 13px; }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1px dashed var(--line2); border-radius: 18px; color: var(--muted); font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; font-size: 24px; }
.empty span { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: 10px; letter-spacing: 0.06em; }

/* book */
.desk-grid { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 340px; gap: 14px; }
.book { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pos { position: relative; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #0a1828, #050c16); padding: 20px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; overflow: hidden; transition: border-color 0.3s, transform 0.45s var(--ease); }
.pos:hover { border-color: rgba(168, 220, 255, 0.3); transform: translateY(-3px); }
.pos .rank { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ice); display: flex; justify-content: space-between; }
.pos .rank span { color: var(--dim); }
.pos canvas { display: block; width: 100%; height: 150px; flex: 1; min-height: 190px; border-radius: 12px; }
.pos .who { display: flex; align-items: center; gap: 10px; }
.pos .who b { font-size: 18px; color: var(--bone); font-weight: 600; }
.pos .who span { font-size: 12.5px; color: var(--muted); display: block; }
.pos .alloc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.pos .alloc div { display: flex; flex-direction: column; gap: 4px; }
.pos .alloc .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.pos .alloc .v { font-family: var(--mono); font-size: 14px; color: var(--bone); }
.pos.cash { justify-content: center; align-items: flex-start; border-style: dashed; min-height: 340px; }
.pos.cash h4 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--bone); line-height: 1.1; letter-spacing: -0.035em; }
.pos.cash h4 em { font-style: normal; color: var(--ice); }
.pos.cash p { color: var(--muted); font-size: 14px; }
.mandate { border-radius: 20px; border: 1px solid var(--line2); padding: 24px; background: radial-gradient(120% 80% at 100% 0%, rgba(120, 190, 255, 0.08), transparent 60%), #050c16; display: flex; flex-direction: column; gap: 18px; }
.mandate h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); font-weight: 500; }
.mandate ol { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.mandate li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.5; color: var(--text); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mandate li span { color: var(--dim); font-size: 11px; padding-top: 3px; }
.wallet { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.wallet .k { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.wallet .addr { font-size: 12.5px; color: var(--bone); text-decoration: none; word-break: break-all; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(2, 6, 11, 0.6); }
.log { margin: 14px var(--pad) 0; border-radius: 20px; border: 1px solid var(--line); background: #040a12; overflow: hidden; }
.log-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: blink 1.6s infinite; }
.log ul { list-style: none; max-height: 290px; overflow: auto; }
.log li { display: grid; grid-template-columns: 96px 70px 1fr; gap: 14px; padding: 11px 20px; border-bottom: 1px solid rgba(160, 210, 255, 0.05); font-family: var(--mono); font-size: 12.5px; color: var(--muted); animation: rise 0.6s var(--ease); }
.log li .t { color: var(--dim); }
.log li .tag { color: var(--ice); letter-spacing: 0.1em; font-size: 11px; }
.log li .tag.flag { color: var(--red); }
.log li .tag.book { color: var(--bone); }
.log li b { color: var(--bone); font-weight: 500; }

/* survivors table */
.table-wrap { margin: 0 var(--pad); border: 1px solid var(--line); border-radius: 20px; overflow: auto; background: #040a12; }
.tbl { width: 100%; border-collapse: collapse; min-width: 820px; }
.tbl th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding: 16px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 18px; border-bottom: 1px solid rgba(160, 210, 255, 0.05); font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.tbl tr { transition: background 0.2s; cursor: pointer; }
.tbl tbody tr:hover { background: rgba(120, 190, 255, 0.04); }
.tbl td.rk { color: var(--dim); width: 48px; }
.tbl .coin { display: flex; align-items: center; gap: 10px; font-family: var(--sans); }
.tbl .coin .coin-img { width: 26px; height: 26px; }
.tbl .coin b { color: var(--bone); font-weight: 600; font-size: 14px; }
.tbl .coin span { color: var(--muted); font-size: 12px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.sbar { display: flex; align-items: center; gap: 10px; }
.sbar i { display: block; width: 90px; height: 4px; border-radius: 4px; background: rgba(160, 210, 255, 0.1); overflow: hidden; position: relative; }
.sbar i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 4px; background: var(--c, var(--ice)); box-shadow: 0 0 8px var(--c, var(--ice)); }
.sbar b { color: var(--bone); font-weight: 500; min-width: 22px; }

/* token */
.token { position: relative; background: var(--bg); padding: 130px var(--pad) 120px; text-align: center; overflow: hidden; }
.token::before { content: ""; position: absolute; left: 50%; top: 40%; width: 80vw; height: 60vh; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(120, 190, 255, 0.12), transparent); pointer-events: none; }
.giant { position: relative; font-family: var(--serif); font-weight: 700; font-size: clamp(96px, 21vw, 340px); line-height: 0.85; letter-spacing: -0.06em; margin: 34px 0 10px; }
.giant span {
  display: inline-block; position: relative;
  background: linear-gradient(180deg, #f2f9ff 8%, #9cc9ea 46%, #2b4a66 78%, #0b1726 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.giant span::after {
  content: "SPINE"; position: absolute; inset: 0; color: transparent;
  background: linear-gradient(180deg, transparent 0%, transparent 44%, rgba(220, 240, 255, 0.95) 50%, transparent 56%, transparent 100%);
  background-size: 100% 300%; -webkit-background-clip: text; background-clip: text;
  animation: sweep 5s var(--ease) infinite; mix-blend-mode: screen;
}
@keyframes sweep { 0% { background-position: 0 100%; } 60%, 100% { background-position: 0 0%; } }
.tagline { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(22px, 2.3vw, 32px); color: var(--ice); text-shadow: 0 0 22px rgba(120, 190, 255, 0.4); }
.ca-box { margin: 40px auto 0; max-width: 620px; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border: 1px solid var(--line2); border-radius: 14px; background: rgba(4, 10, 18, 0.8); position: relative; }
.ca-box .k { font-size: 10.5px; letter-spacing: 0.16em; color: var(--ice); }
.ca-box .v { flex: 1; text-align: left; font-size: 13.5px; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-box button { height: 36px; padding: 0 16px; border-radius: 9px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line2); color: var(--bone); transition: background 0.2s; }
.ca-box button:hover { background: rgba(168, 220, 255, 0.1); }

/* footer */
.foot { background: var(--bg); border-top: 1px solid var(--line); padding: 36px var(--pad) 48px; display: flex; gap: 40px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.foot-l { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.22em; font-size: 13px; color: var(--bone); }
.foot p { max-width: 640px; font-size: 12.5px; line-height: 1.7; color: var(--dim); }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .desk-grid { grid-template-columns: 1fr; }
  .book { grid-template-columns: repeat(3, 1fr); }
  .links { display: none; }
}
@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; }
  .ca-result { grid-template-columns: 1fr; }
  .ca-result .film { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tf { grid-template-columns: repeat(2, 1fr); }
  .tf div:nth-child(2) { border-right: 0; }
  .tf div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav .pill { display: none; }
  .vignette { background: radial-gradient(120% 90% at 50% 45%, rgba(2, 6, 11, 0.35) 30%, rgba(2, 6, 11, 0.85) 100%); }
  .hero { padding: 110px var(--pad) 210px; align-content: end; }
  .hero-inner { max-width: 100%; }
  .hero h1 { font-size: clamp(40px, 11.2vw, 64px); margin: 18px 0 20px; }
  .hero h1 span { white-space: normal; }
  .lede { font-size: 15.5px; }
  .hero-stats { left: var(--pad); right: var(--pad); bottom: 36px; }
  .hero-stats > div { padding-right: 14px; margin-right: 14px; flex: 1; }
  .hero-stats .v { font-size: 28px; }
  .hero-stats .k { font-size: 9px; }
  .dicom.br, .ruler { display: none; }
  .dicom.tr { top: 82px; font-size: 9px; }
  .how { height: 400vh; }
  .how-sticky { align-items: end; padding-bottom: 8vh; }
  .how-left { max-width: 100%; padding: 22px; border-radius: 20px; background: rgba(3, 9, 16, 0.72); backdrop-filter: blur(12px); border: 1px solid var(--line); gap: 22px; }
  .steps { height: 215px; }
  .step h2 { font-size: 34px; margin: 12px 0 14px; }
  .step p { font-size: 15px; }
  .how-progress .bar { width: 100%; }
  .how-progress ol { gap: 12px; font-size: 9.5px; }
  .scan, .desk, .survivors { padding: 90px 0; }
  .ca-form { padding-left: 14px; }
  .ca-ico { display: none; }
  .ca-form .btn { padding: 0 18px; }
  .ca-result .read { padding: 24px 22px; }
  .board-head { margin-top: 70px; }
  .filters { width: 100%; overflow-x: auto; }
  .filters button { flex: none; }
  .plates { grid-template-columns: 1fr 1fr; gap: 10px; }
  .plate { padding: 10px; border-radius: 14px; }
  .plate canvas { height: 150px; }
  .plate .p-metrics { grid-template-columns: 1fr 1fr; }
  .plate .p-metrics div:nth-child(3) { display: none; }
  .plate .chip { display: none; }
  .log li { grid-template-columns: 70px 1fr; }
  .log li .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-track, .grain, .giant span::after { animation: none; }
}
