/* FIRST.RIP page. Sources: index.html (markup), styles.css (this file), app.js (behaviour), data.js (picture sizes,
   client list, globe land mask). Pictures: /media/site/. */
html { color-scheme: dark; }
body { margin: 0; font: 14px system-ui; background: #0a0a0c; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:root { --logo: url("/media/site/logo.webp"); --rip: url("/media/site/rip-mark.png"); --tear: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'><polygon points='0,26 0,9.9 18,10.7 32,6.9 63,7.1 94,6.7 125,8.6 139,11.2 153,8.9 184,11.1 215,7.5 233,13.6 264,17.4 295,13.0 309,17.7 323,12.7 341,9.5 359,12.5 390,9.7 408,7.2 439,13.7 461,7.2 475,12.8 506,8.5 537,11.1 559,11.6 585,10.3 603,15.5 621,7.0 643,12.3 665,14.8 687,13.3 701,7.4 727,8.0 749,7.8 775,11.1 789,15.2 820,15.5 842,10.1 864,13.1 895,15.6 909,16.1 931,11.7 945,6.7 967,13.8 993,9.4 1019,16.6 1041,6.3 1067,10.3 1098,7.4 1112,8.6 1134,7.6 1152,10.8 1200,7.0 1200,26' fill='%230f0f12'/><polyline points='0,11.3 18,12.1 32,8.3 63,8.5 94,8.1 125,10.0 139,12.6 153,10.3 184,12.5 215,8.9 233,15.0 264,18.8 295,14.4 309,19.1 323,14.1 341,10.9 359,13.9 390,11.1 408,8.6 439,15.1 461,8.6 475,14.2 506,9.9 537,12.5 559,13.0 585,11.7 603,16.9 621,8.4 643,13.7 665,16.2 687,14.7 701,8.8 727,9.4 749,9.2 775,12.5 789,16.6 820,16.9 842,11.5 864,14.5 895,17.0 909,17.5 931,13.1 945,8.1 967,15.2 993,10.8 1019,18.0 1041,7.7 1067,11.7 1098,8.8 1112,10.0 1134,9.0 1152,12.2 1200,8.4' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='1.6'/><polyline points='0,9.9 18,10.7 32,6.9 63,7.1 94,6.7 125,8.6 139,11.2 153,8.9 184,11.1 215,7.5 233,13.6 264,17.4 295,13.0 309,17.7 323,12.7 341,9.5 359,12.5 390,9.7 408,7.2 439,13.7 461,7.2 475,12.8 506,8.5 537,11.1 559,11.6 585,10.3 603,15.5 621,7.0 643,12.3 665,14.8 687,13.3 701,7.4 727,8.0 749,7.8 775,11.1 789,15.2 820,15.5 842,10.1 864,13.1 895,15.6 909,16.1 931,11.7 945,6.7 967,13.8 993,9.4 1019,16.6 1041,6.3 1067,10.3 1098,7.4 1112,8.6 1134,7.6 1152,10.8 1200,7.0' fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='1'/></svg>"); --tear-line: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 8' preserveAspectRatio='none'><polyline points='0,3.0 14,3.5 38,4.5 48,4.4 72,3.0 86,2.8 110,4.2 134,3.6 148,2.9 162,5.5 186,5.0 196,2.6 206,3.2 216,5.3 234,3.9 258,4.9 282,3.6 306,5.9 320,5.5 330,2.1 354,2.9 378,5.1 396,3.7 420,4.3 444,4.3 462,4.7 472,5.4 486,4.8 504,5.9 514,4.9 528,4.5 546,3.1 556,3.9 580,2.4 590,3.6 604,2.1 628,5.1 638,2.2 648,3.5 666,4.2 684,4.0 694,3.2 704,2.4 714,5.8 738,3.2 756,2.6 766,5.9 784,3.3 798,5.6 822,3.5 846,4.6 856,4.5 874,3.7 888,5.7 912,5.9 930,4.2 940,5.2 958,2.1 972,2.2 990,3.9 1008,4.4 1026,5.0 1036,4.4 1046,5.9 1064,4.5 1082,4.4 1100,2.7 1114,3.3 1132,5.4 1150,3.2 1174,2.4 1184,5.9 1200,3.2' fill='none' stroke='%23ffffff' stroke-opacity='.3' stroke-width='1.4'/></svg>") center / 100% 100% no-repeat; --seam: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 26' preserveAspectRatio='none'><defs><radialGradient id='g' cx='.5' cy='.5' r='.5' gradientTransform='matrix(1 0 0 .35 0 .325)'><stop offset='0' stop-color='%23d9ffbf'/><stop offset='.35' stop-color='%239bff5e'/><stop offset='.75' stop-color='%2349de0c'/><stop offset='1' stop-color='%23195c00'/></radialGradient></defs><polygon points='0,13.0 3,12.8 9,12.4 13,12.4 19,11.2 25,11.9 31,11.8 34,11.2 38,9.5 43,9.2 48,10.7 52,10.0 58,9.9 62,10.3 66,10.0 72,11.0 77,8.1 82,7.2 88,9.4 91,8.9 97,10.2 100,5.7 103,10.3 106,10.2 109,4.9 112,8.7 115,9.5 121,8.7 126,8.7 132,4.1 135,8.2 139,9.7 142,9.0 148,6.5 154,10.3 158,9.0 163,7.6 166,7.2 170,10.2 176,10.5 179,10.4 182,10.7 188,8.5 193,11.1 197,9.3 200,11.2 206,8.5 211,10.9 215,11.0 218,11.6 224,11.6 230,11.3 235,11.9 240,11.0 246,12.5 252,12.3 260,13.0 260,13.0 252,13.8 246,14.2 240,13.7 235,14.7 230,13.9 224,13.9 218,14.1 215,14.3 211,15.4 206,14.7 200,15.0 197,14.9 193,14.9 188,18.3 182,15.8 179,16.6 176,18.6 170,16.2 166,15.0 163,16.4 158,15.9 154,19.9 148,19.5 142,15.9 139,16.3 135,17.8 132,15.8 126,15.7 121,15.5 115,20.5 112,20.5 109,18.5 106,15.4 103,15.9 100,15.2 97,16.3 91,15.0 88,15.1 82,15.9 77,15.1 72,14.8 66,14.5 62,15.8 58,14.4 52,15.2 48,15.9 43,14.2 38,14.2 34,14.7 31,13.8 25,14.1 19,13.6 13,13.4 9,13.3 3,13.1 0,13.0' fill='url(%23g)'/><polyline points='0,13.0 3,12.8 9,12.4 13,12.4 19,11.2 25,11.9 31,11.8 34,11.2 38,9.5 43,9.2 48,10.7 52,10.0 58,9.9 62,10.3 66,10.0 72,11.0 77,8.1 82,7.2 88,9.4 91,8.9 97,10.2 100,5.7 103,10.3 106,10.2 109,4.9 112,8.7 115,9.5 121,8.7 126,8.7 132,4.1 135,8.2 139,9.7 142,9.0 148,6.5 154,10.3 158,9.0 163,7.6 166,7.2 170,10.2 176,10.5 179,10.4 182,10.7 188,8.5 193,11.1 197,9.3 200,11.2 206,8.5 211,10.9 215,11.0 218,11.6 224,11.6 230,11.3 235,11.9 240,11.0 246,12.5 252,12.3 260,13.0' fill='none' stroke='%23ffffff' stroke-opacity='.75' stroke-width='.9' stroke-linejoin='bevel'/><polyline points='0,13.0 3,13.1 9,13.3 13,13.4 19,13.6 25,14.1 31,13.8 34,14.7 38,14.2 43,14.2 48,15.9 52,15.2 58,14.4 62,15.8 66,14.5 72,14.8 77,15.1 82,15.9 88,15.1 91,15.0 97,16.3 100,15.2 103,15.9 106,15.4 109,18.5 112,20.5 115,20.5 121,15.5 126,15.7 132,15.8 135,17.8 139,16.3 142,15.9 148,19.5 154,19.9 158,15.9 163,16.4 166,15.0 170,16.2 176,18.6 179,16.6 182,15.8 188,18.3 193,14.9 197,14.9 200,15.0 206,14.7 211,15.4 215,14.3 218,14.1 224,13.9 230,13.9 235,14.7 240,13.7 246,14.2 252,13.8 260,13.0' fill='none' stroke='%23ffffff' stroke-opacity='.45' stroke-width='.8' stroke-linejoin='bevel'/></svg>"); }
/* Layout: one long scroll told in chapters, stitched together by a torn green seam.
   Deliberately single-theme (black stage, foil colour) — every colour is set explicitly. */
:root {
  --ground: #09090b;
  --ink-1: #0f0f12;
  --ink-2: #151519;
  --ink-3: #1d1d22;
  --ink-4: #27272d;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --fg: #f4f4f1;
  --soft: rgba(244, 244, 241, .76);
  --muted: #9c9ca3;
  --dim: #67676e;
  --silver: #8d8e95;
  --hi: #ffffff;
  --volt: #49de0c;
  --volt-hi: #9bff5e;
  --volt-ink: #061200;
  --volt-glow: rgba(255, 255, 255, 0.175);
  --r-common: #b4bdb0;
  --r-uncommon: #3dd6ff;
  --r-rare: #9a7bff;
  --r-epic: #ff4fcb;
  --r-legendary: #ffb21e;
  --r-grail: #f6fff0;
  --danger: #ff5d5d;
  --display: 'Archivo', 'Arial Black', 'Helvetica Neue', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ground); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ground);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ground);
}
::selection { background: var(--hi); color: var(--ground); }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

/* Film grain over everything — the "cardboard" texture */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 55; opacity: .07; mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.045), transparent 62%);
  transform: translate3d(-999px, -999px, 0); transition: opacity .4s;
}

.wrap {
  width: 100%; max-width: calc(var(--maxw) + 2 * 32px); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.logo {
  display: block; aspect-ratio: 1440 / 229; background: var(--logo) center / contain no-repeat;
}

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  letter-spacing: -.012em; line-height: .94; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 5.6vw, 4.6rem); text-shadow: 0 0 28px rgba(242, 246, 239, .18); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.05; letter-spacing: 0; }
.v { color: var(--silver); text-shadow: none; }
.g { color: var(--volt); text-shadow: 0 0 26px var(--volt-glow); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--soft); max-width: 60ch; margin: 0; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
.mono, .eyebrow, .pill {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}
.eyebrow { color: var(--hi); }
.pill {
  display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.225); color: var(--fg); background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.06) inset;
}
.pill.warn { border-color: rgba(255, 178, 30, .5); color: var(--r-legendary); background: rgba(255, 178, 30, .08); box-shadow: none; }
.dot { width: .55em; height: .55em; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.tabnum { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--hi); --bi: var(--ground);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: .86rem; line-height: 1; padding: 1.05em 1.5em; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--b); color: var(--bi); text-decoration: none; position: relative; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 10px 30px -8px rgba(255, 255, 255, .14);
  transition: transform .25s var(--spring), box-shadow .25s, background .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 16px 40px -8px rgba(255, 255, 255, 0.275); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.btn.ghost { background: rgba(242, 246, 239, .05); color: var(--fg); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn.ghost:hover { background: rgba(242, 246, 239, .1); }
.btn.sm { font-size: .72rem; padding: .85em 1.15em; border-radius: 10px; }
.btn.lg { font-size: 1rem; padding: 1.15em 1.8em; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  padding: 12px var(--gutter-r) 12px var(--gutter);
}
.nav-in {
  max-width: calc(var(--maxw) + 40px); margin: 0 auto; display: flex; align-items: center; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 18px;
  background: rgba(8, 11, 8, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--line);
}
.nav .logo { width: 132px; flex: none; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 9px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(242, 246, 239, .05); }
.nav-links a.on { color: var(--fg); }
.nav-links a.on::after { content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px; background: var(--hi); box-shadow: 0 0 10px var(--hi); }
.nav-right { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; cursor: pointer;
  background: rgba(242, 246, 239, .05); border: 1px solid var(--line); color: var(--soft); transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(242, 246, 239, .1); color: var(--fg); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[aria-pressed="false"] .snd-on, .icon-btn[aria-pressed="true"] .snd-off { display: none; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: var(--gutter); right: var(--gutter-r); top: calc(100% - 4px);
    padding: 10px; border-radius: 16px; background: rgba(10, 13, 10, .96); border: 1px solid var(--line-2);
  }
  .nav.open .nav-links a { padding: 12px 14px; font-size: .95rem; }
}
.nav-cta-short { display: none; }
@media (max-width: 480px) { .nav .logo { width: 108px; } .nav-cta-full { display: none; } .nav-cta-short { display: inline; } }

/* Chapter rail (desktop) */
.rail {
  position: fixed; left: max(18px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); z-index: 40;
  display: none; flex-direction: column; gap: 16px; padding: 6px 0;
}
.rail::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.rail-fill { position: absolute; left: 4px; top: 0; width: 1px; height: 0; background: var(--hi); box-shadow: 0 0 8px var(--hi); }
.rail a { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dim); font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.rail a i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line-2); flex: none; transition: all .3s; }
.rail a span { opacity: 0; transform: translateX(-4px); transition: all .3s; white-space: nowrap; }
.rail:hover a span, .rail a.on span { opacity: 1; transform: none; }
.rail a.on { color: var(--fg); }
.rail a.on i, .rail a.done i { background: var(--hi); border-color: var(--hi); box-shadow: 0 0 10px var(--hi); }
@media (min-width: 1380px) { .rail { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 6vw, 70px) clamp(40px, 6vw, 80px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 72% 40%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(30% 40% at 15% 20%, rgba(154, 123, 255, .1), transparent 70%),
    radial-gradient(30% 30% at 90% 85%, rgba(255, 178, 30, .07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero h1 { font-size: clamp(2.2rem, 4.9vw, 4.5rem); }
.hero h1 .rip { position: relative; display: inline-block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 4px 0 0; list-style: none; }
.pillars li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.pillars li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--hi); box-shadow: 0 0 8px var(--hi); }
.pillars li.soon::before { background: var(--r-legendary); box-shadow: 0 0 8px var(--r-legendary); }
.pillars small { font-family: var(--mono); font-size: .58rem; color: var(--r-legendary); letter-spacing: .08em; }

.hero-stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; width: 100%; justify-self: center; perspective: 1400px; }
.hero-stage .hs-pack { position: absolute; width: 44%; left: 28%; top: 16%; z-index: 3; }
.hero-stage .hs-card { position: absolute; width: 33%; z-index: 2; }
.hs-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.callout {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 14px; background: rgba(12, 16, 12, .82); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
  font-size: .78rem; line-height: 1.25; white-space: nowrap;
}
.callout b { display: block; font-weight: 700; }
.callout small { color: var(--muted); font-size: .72rem; }
.callout .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.callout .ic svg { width: 16px; height: 16px; }
.callout .amt { font-family: var(--mono); font-weight: 700; font-size: .74rem; color: var(--fg); margin-left: 6px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 460px; order: -1; margin-top: -6px; }
}
@media (max-width: 520px) { .callout { font-size: .7rem; padding: 8px 10px 8px 8px; } .callout .ic { width: 24px; height: 24px; } .callout.co1, .callout.co2 { display: none; } }

/* Live pulls ticker */
.ticker { position: relative; border-block: 1px solid var(--line); background: rgba(11, 14, 11, .7); overflow: hidden; }
.ticker-label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px;
  padding: 0 16px 0 var(--gutter); background: var(--ink-1); box-shadow: 24px 0 24px var(--ink-1);
  color: var(--fg);
}
.ticker-label .dot { color: #ff3d3d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ticker-track { display: flex; gap: 10px; padding: 12px 0; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 12px;
  background: var(--ink-2); border: 1px solid var(--line); font-size: .78rem; white-space: nowrap;
}
.tk .mini { width: 30px; }
.tk b { font-weight: 700; }
.tk small { color: var(--muted); display: block; font-size: .68rem; }
.tk .val { font-family: var(--mono); font-size: .72rem; font-weight: 700; margin-left: 6px; }

/* ---------- Chapters ---------- */
.chapter { position: relative; padding-block: clamp(70px, 10vw, 140px) clamp(40px, 6vw, 80px); }
.ch-head { display: grid; justify-items: center; text-align: center; gap: 18px; position: relative; padding-top: 110px; }
.ch-head::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 92px; transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--hi));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='92'><path d='M0 0h2v92H0z'/></svg>");
}
.ch-head::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--fg); box-shadow: 0 0 14px var(--hi), 0 0 4px #fff; animation: drip 2.6s var(--ease) infinite;
}
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(88px); opacity: 0; } }
.ch-head.left { justify-items: start; text-align: left; padding-top: 0; }
.ch-head.left::before, .ch-head.left::after { display: none; }
.ch-head .lede { text-align: inherit; }
.ch-tag { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* Torn paper seam between bands */
.tear { height: 26px; width: 100%; background: var(--tear) center / 1200px 100% repeat-x; position: relative; z-index: 2; }
.tear.flip { transform: scaleY(-1); }

.band { background: var(--ink-1); position: relative; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%);
}

/* Reveal (content stays readable at rest) */
.io [data-reveal] { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.io [data-reveal]:not(.in) { transform: translateY(28px); opacity: .18; }
@media (prefers-reduced-motion: reduce) { .io [data-reveal]:not(.in) { transform: none; opacity: 1; } }

/* ---------- Prologue ---------- */
.prologue { padding-block: clamp(60px, 9vw, 130px) clamp(30px, 5vw, 60px); position: relative; }
.prologue p {
  font-family: var(--display); font-stretch: 118%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(1.45rem, 3.6vw, 3.05rem); line-height: 1.1; letter-spacing: -.005em; text-align: center; max-width: 24ch; margin: 0 auto;
  text-wrap: balance;
}
.prologue .w { color: rgba(242, 246, 239, .16); transition: color .35s, text-shadow .35s; }
.prologue .w.lit { color: var(--fg); text-shadow: 0 0 22px rgba(242, 246, 239, .22); }
.prologue .w.v.lit { color: var(--hi); text-shadow: 0 0 22px rgba(255, 255, 255, .14); }
.no-js .prologue .w, .reduced .prologue .w { color: var(--fg); }

/* ---------- Packs & cards (shared components) ---------- */
.pack {
  --w: 200px; position: relative; width: var(--w); aspect-ratio: 100 / 164; user-select: none; -webkit-user-select: none;
  transform-style: preserve-3d; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55));
}
.pack-half { position: absolute; inset: 0; transition: transform .7s var(--ease), opacity .7s; will-change: transform; }
.pack-skin {
  position: absolute; inset: 0; overflow: hidden; border-radius: 3px;
  background: var(--pk-bg, #222);
}
.pack-skin svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pack-skin::after { /* foil sheen */
  content: ""; position: absolute; inset: -40%; pointer-events: none; mix-blend-mode: soft-light; opacity: .9;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 46%, rgba(255, 255, 255, .1) 52%, transparent 60%);
  transform: translateX(var(--sheen, -30%)); transition: transform .9s var(--ease);
}
.pack:hover .pack-skin::after, .pack.sheen .pack-skin::after { --sheen: 30%; }
.pack-crimp { position: absolute; left: 0; right: 0; height: 7%; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, rgba(0, 0, 0, .25) 2px 4px); mix-blend-mode: overlay; }
.pack-crimp.t { top: 0; } .pack-crimp.b { bottom: 0; }
.pack-label { position: absolute; left: 8%; right: 8%; bottom: 13%; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.pack-label .pk-brand { font-family: var(--mono); font-size: calc(var(--w) * .043); letter-spacing: .14em; opacity: .9; margin-bottom: 4%; display: flex; align-items: center; justify-content: center; gap: 5%; }
.pack-label .pk-brand .logo { width: 46%; }
.pack-label .pk-name { font-family: var(--display); font-stretch: 108%; font-weight: 900; text-transform: uppercase; line-height: .92; font-size: calc(var(--w) * .098); letter-spacing: -.01em; }
.pack-label .pk-sub { font-family: var(--mono); font-size: calc(var(--w) * .034); letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-top: 5%; }
.pack-count {
  position: absolute; right: 7%; top: 19%; background: rgba(0, 0, 0, .78); color: #fff; border-radius: 4px; text-align: center;
  padding: 3% 4%; font-family: var(--display); font-stretch: 125%; font-weight: 900; line-height: .85; font-size: calc(var(--w) * .085);
}
.pack-count small { display: block; font-family: var(--mono); font-weight: 500; font-size: .36em; letter-spacing: .1em; margin-top: 2px; }
.pack.ripping { animation: shake .45s linear; }
@keyframes shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(-3px, 1px) rotate(-1.2deg); } 40% { transform: translate(3px, -1px) rotate(1deg); }
  60% { transform: translate(-2px, 0) rotate(-.6deg); } 80% { transform: translate(2px, 1px) rotate(.5deg); }
}
.pack.torn .pack-half.top { transform: translate(38%, -70%) rotate(24deg); opacity: 0; }
.pack.torn .pack-half.bot { transform: translateY(46%) scale(.96); opacity: 0; transition-delay: .25s; }

/* Card */
.card {
  --w: 160px; --rc: var(--r-common); --foil: 0; --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; width: var(--w); aspect-ratio: 63 / 88; flex: none; perspective: 900px; user-select: none; -webkit-user-select: none;
}
.card-inner {
  position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--spring);
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + 0deg));
}
.card.back-up .card-inner { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + 180deg)); }
.card-face, .card-back {
  position: absolute; inset: 0; border-radius: calc(var(--w) * .055); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.card-back { transform: rotateY(180deg);
  background:
    radial-gradient(70% 50% at 50% 50%, rgba(255, 255, 255, 0.11), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 9px),
    #070a07;
  border: calc(var(--w) * .035) solid #16161b; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  display: grid; place-items: center;
}
.card-back .logo { width: 72%; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.225)); }
.card-back::after { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: calc(var(--w) * .03); }
.card-face {
  padding: calc(var(--w) * .045); display: flex; flex-direction: column; gap: calc(var(--w) * .03);
  background: linear-gradient(160deg, var(--c1, #333), var(--c2, #111));
  box-shadow: 0 0 0 calc(var(--w) * .012) var(--rc) inset, 0 0 0 calc(var(--w) * .03) rgba(0, 0, 0, .35) inset;
  color: #fff; font-size: calc(var(--w) * .062);
}
.c-head { display: flex; align-items: center; gap: 4%; padding: 2% 3%; background: rgba(0, 0, 0, .38); border-radius: calc(var(--w) * .025); }
.c-name { font-family: var(--display); font-stretch: 110%; font-weight: 850; text-transform: uppercase; font-size: 1em; line-height: 1.05; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-gem { width: 1.15em; height: 1.15em; flex: none; filter: drop-shadow(0 0 4px var(--rc)); }
.c-art { position: relative; border-radius: calc(var(--w) * .02); overflow: hidden; aspect-ratio: 100 / 76; box-shadow: 0 0 0 calc(var(--w) * .01) rgba(255, 255, 255, .25); }
.c-art svg { display: block; width: 100%; height: 100%; }
.c-type { font-family: var(--mono); font-size: .62em; letter-spacing: .06em; text-transform: uppercase; opacity: .82; display: flex; justify-content: space-between; gap: 4%; }
.c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--w) * .018); margin-top: auto; }
.c-stats div { background: rgba(0, 0, 0, .3); border-radius: calc(var(--w) * .018); padding: 4% 6%; display: flex; justify-content: space-between; align-items: baseline; font-size: .7em; }
.c-stats b { font-family: var(--display); font-stretch: 112%; font-size: 1.25em; }
.c-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .55em; letter-spacing: .05em; opacity: .85; }
.c-rar { color: var(--rc); font-weight: 700; text-transform: uppercase; }
.c-foil {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: var(--foil); border-radius: inherit;
  background:
    repeating-linear-gradient(115deg, hsl(0 100% 60% / .5) 0%, hsl(60 100% 60% / .5) 6%, hsl(140 100% 60% / .5) 12%, hsl(200 100% 60% / .5) 18%, hsl(280 100% 65% / .5) 24%, hsl(0 100% 60% / .5) 30%);
  background-size: 300% 300%; background-position: var(--mx) var(--my);
  -webkit-mask: linear-gradient(#000, #000); filter: saturate(1.2) brightness(.85);
}
.c-glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: overlay;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 45%); opacity: calc(.25 + var(--foil) * .6);
}
.card.r-rare { --rc: var(--r-rare); --foil: .35; }
.card.r-uncommon { --rc: var(--r-uncommon); --foil: .12; }
.card.r-epic { --rc: var(--r-epic); --foil: .55; }
.card.r-legendary { --rc: var(--r-legendary); --foil: .7; }
.card.r-grail { --rc: var(--r-grail); --foil: 1; }
.card.r-legendary .card-face { box-shadow: 0 0 0 calc(var(--w) * .018) var(--rc) inset, 0 0 0 calc(var(--w) * .03) rgba(0, 0, 0, .35) inset; }
.card.r-grail .card-face::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: calc(var(--w) * .018); pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang, 0deg), #ff5d5d, #ffd25d, #7dff5d, #5dfcff, #8a5dff, #ff5dd8, #ff5d5d);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 4s linear infinite;
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-ang { to { --ang: 360deg; } }
.card.glow::after {
  content: ""; position: absolute; inset: -14%; z-index: -1; border-radius: 30%; pointer-events: none;
  background: radial-gradient(closest-side, var(--rc), transparent); opacity: .55; filter: blur(14px); animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .9; transform: scale(1.06); } }
.card .c-val {
  position: absolute; left: 50%; top: -12%; transform: translate(-50%, 6px); opacity: 0; z-index: 4; white-space: nowrap;
  font-family: var(--mono); font-weight: 700; font-size: max(10px, calc(var(--w) * .075)); padding: .35em .7em; border-radius: 99px;
  background: rgba(5, 6, 5, .9); border: 1px solid var(--rc); color: var(--fg); transition: all .4s var(--spring);
}
.card.show-val .c-val { opacity: 1; transform: translate(-50%, 0); }
.card.dim { filter: brightness(.38) saturate(.6); }

/* Football card variant */
.card.pitch .card-face { padding: calc(var(--w) * .05); gap: 0; background: linear-gradient(170deg, var(--c1), var(--c2)); }
.pf-top { position: relative; flex: 1; border-radius: calc(var(--w) * .03) calc(var(--w) * .03) 0 0; overflow: hidden; }
.pf-top svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pf-rating { position: absolute; left: 7%; top: 5%; z-index: 2; text-align: center; line-height: .85; }
.pf-rating b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 2.6em; }
.pf-rating span { font-family: var(--mono); font-size: .7em; letter-spacing: .08em; font-weight: 700; }
.pf-top .pf-gem { position: absolute; right: 7%; top: 6%; width: 1.3em; height: 1.3em; z-index: 2; filter: drop-shadow(0 0 4px var(--rc)); }
.pf-name { font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; text-align: center; padding: 3% 0 2%; font-size: 1.02em; border-top: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .25); }
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); font-family: var(--mono); font-size: .56em; }
.pf-stats div { background: rgba(0, 0, 0, .35); padding: 5% 0; text-align: center; }
.pf-stats b { font-family: var(--display); font-stretch: 110%; font-size: 1.4em; display: block; }
.pitch .c-foot { padding-top: 3%; }

/* Rarity gem rows */
.gems { display: flex; flex-wrap: wrap; gap: 8px; }
.gem-chip {
  --rc: var(--r-common); display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 10px;
  background: var(--ink-2); border: 1px solid var(--line); font-size: .76rem; transition: border-color .25s, background .25s, transform .25s var(--spring);
}
.gem-chip:hover { border-color: var(--rc); transform: translateY(-2px); }
.gem-chip svg { width: 18px; height: 18px; filter: drop-shadow(0 0 5px var(--rc)); }
.gem-chip b { font-weight: 700; }
.gem-chip .odds { font-family: var(--mono); font-size: .68rem; color: var(--muted); }

/* ---------- Chapter 01: digital demo ---------- */
.demo {
  margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(25, 32, 26, .7), rgba(11, 14, 11, .9));
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.demo-ctrl { padding: clamp(20px, 3vw, 30px); display: grid; gap: 22px; align-content: start; border-right: 1px solid var(--line); min-width: 0; }
.step-lbl { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.step-lbl i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: var(--fg); font-size: .62rem; }
.pack-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pp {
  display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; cursor: pointer; text-align: left;
  background: var(--ink-2); border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .2s var(--spring); min-width: 0;
}
.pp:hover { border-color: var(--line-2); transform: translateY(-1px); }
.pp[aria-checked="true"] { border-color: var(--hi); background: rgba(255, 255, 255, 0.04); box-shadow: 0 0 0 1px var(--hi) inset; }
.pp .pack { --w: 34px; filter: none; flex: none; }
.pp .pack .pack-label, .pp .pack .pack-count { display: none; }
.pp b { display: block; font-size: .78rem; line-height: 1.15; }
.pp small { font-family: var(--mono); font-size: .64rem; color: var(--muted); }
.pp > span { min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); gap: 4px; }
.seg button {
  border: 0; background: transparent; padding: 10px 8px; border-radius: 9px; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--muted);
  transition: background .2s, color .2s; line-height: 1.2;
}
.seg button small { display: block; font-family: var(--mono); font-size: .6rem; font-weight: 400; opacity: .8; margin-top: 2px; }
.seg button[aria-pressed="true"] { background: var(--ink-4); color: var(--fg); box-shadow: 0 0 0 1px var(--line-2) inset; }
.rip-row { display: flex; gap: 10px; align-items: center; }
.rip-row .btn { flex: 1; }
.bal { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); }
.bal span { font-size: .78rem; color: var(--muted); }
.bal b { font-family: var(--mono); font-size: .95rem; transition: color .3s; }
.bal b.up { color: var(--fg); } .bal b.down { color: var(--danger); }
.odds-note { font-size: .74rem; color: var(--muted); line-height: 1.45; }

.stage {
  position: relative; min-height: 560px; overflow: hidden; isolation: isolate; display: grid; place-items: center;
  background:
    radial-gradient(50% 45% at 50% 55%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0a0f0a, #060806);
}
.stage::before { /* spotlight floor */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 7%; height: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.11), transparent); filter: blur(6px); z-index: -1;
}
.stage-hud { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 6; pointer-events: none; }
.stage-hud .mono { color: var(--muted); }
.stage-hint { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .8rem; z-index: 6; transition: opacity .3s; }
.stage-pack { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); cursor: pointer; z-index: 3; transition: transform .5s var(--spring); }
.stage-pack:hover { transform: translate(-50%, -56%) rotate(-1deg); }
.stage-pack .pack { --w: clamp(150px, 19vw, 210px); }
.stage-cards { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.stage-cards .card { position: absolute; left: 50%; top: 50%; pointer-events: auto; transition: transform .75s var(--spring), filter .4s; cursor: pointer; }
.burst { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; z-index: 3; pointer-events: none; }
.burst i { position: absolute; width: 6px; height: 6px; border-radius: 2px; background: var(--c, var(--hi)); animation: spark 1s var(--ease) forwards; }
@keyframes spark { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) rotate(260deg); opacity: 0; } }
.ring { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 2px solid var(--c, var(--hi)); z-index: 3; pointer-events: none; animation: ring .9s var(--ease) forwards; }
@keyframes ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(9); opacity: 0; } }

.summary {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 8; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 14px; border-radius: 18px; background: rgba(8, 11, 8, .88); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(130%); transition: transform .6s var(--spring);
}
.summary.on { transform: none; }
.summary .sum-l { flex: 1 1 180px; min-width: 0; }
.summary .sum-l small { display: block; color: var(--muted); font-size: .74rem; }
.summary .sum-l b { font-family: var(--mono); font-size: 1.15rem; }
.summary .sum-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.toast-line { font-size: .86rem; color: var(--fg); display: flex; align-items: center; gap: 8px; }

/* reel */
.reel { position: absolute; inset: 0; z-index: 4; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.reel-track { position: absolute; left: 0; top: 50%; display: flex; gap: 14px; transform: translate3d(0, -50%, 0); will-change: transform; }
.reel .card { transition: transform .5s var(--spring), filter .4s; }
.reel-mark { position: absolute; pointer-events: none; left: 50%; top: 14%; bottom: 14%; width: 2px; margin-left: -1px; background: linear-gradient(transparent, var(--hi), transparent); z-index: 5; opacity: 0; transition: opacity .3s; box-shadow: 0 0 12px var(--hi); }
.reel-on .reel-mark { opacity: .9; }
.reel-fade { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(90deg, #060806, transparent 22%, transparent 78%, #060806); }

@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .demo-ctrl { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage { min-height: 500px; }
}

.rarity-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.rarity-row p { color: var(--muted); font-size: .84rem; max-width: 46ch; }

/* ---------- Chapter 02: Rip.TV ---------- */
.tv-seq { position: relative; height: 420vh; margin-top: 50px; }
.tv-sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); height: calc(100vh - 110px); min-height: 520px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.tv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tv-steps li { padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; transition: background .4s, border-color .4s, opacity .4s; opacity: .4; }
.tv-steps li.on { opacity: 1; background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.15); }
.tv-steps li.done { opacity: .7; }
.tv-steps .n { font-family: var(--mono); font-size: .64rem; color: var(--hi); letter-spacing: .1em; }
.tv-steps h3 { margin: 6px 0 6px; }
.tv-steps p { font-size: .88rem; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.tv-steps li.on p { max-height: 120px; }
.tv-bar { height: 2px; border-radius: 2px; background: var(--line-2); margin-top: 18px; overflow: hidden; }
.tv-bar i { display: block; height: 100%; width: 0; background: var(--hi); box-shadow: 0 0 10px var(--hi); }

.tv-screen {
  position: relative; aspect-ratio: 16 / 10.5; width: 100%; max-height: 100%; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: #09090b; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(255, 255, 255, 0.125);
}
.tv-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; display: grid; place-items: center; }
.tv-layer.on { opacity: 1; }
.tv-top { position: absolute; left: 14px; right: 14px; top: 12px; z-index: 9; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.tv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(0, 0, 0, .6); font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.tv-chip .dot { color: #ff3b3b; animation: blink 1.2s infinite; }
/* layer 1: catalog */
.tv-catalog { display: flex; gap: 4%; align-items: flex-end; justify-content: center; width: 86%; }
.tv-catalog .slot { display: grid; justify-items: center; gap: 10px; transition: transform .5s var(--spring), opacity .4s; }
.tv-catalog .slot .pack { --w: clamp(70px, 9vw, 120px); }
.tv-catalog .slot small { font-family: var(--mono); font-size: .62rem; color: var(--muted); }
.tv-catalog .slot.sel { transform: translateY(-14px) scale(1.08); }
.tv-catalog .slot.sel small { color: var(--fg); }
.tv-catalog .slot:not(.sel) { opacity: .45; }
.tv-catalog .slot { position: relative; }
.tv-catalog.chosen .slot.sel::after { content: "Selected"; position: absolute; left: 50%; top: -30px; transform: translateX(-50%); padding: 4px 10px; border-radius: 99px; background: var(--fg); color: var(--ground); font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
/* layer 2: vault shuffle */
.tv-static { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; mix-blend-mode: screen; }
.vault-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 82%; z-index: 2; }
.vtile {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--a, #2a2010), var(--b, #0a0806)); transition: transform .25s, box-shadow .25s, opacity .25s, border-color .25s;
}
.vtile::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: .62; transform: translate(-50%, -50%) rotate(-8deg); border-radius: 2px; background: var(--p, #6a4); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.vtile span { position: absolute; left: 6px; bottom: 5px; font-family: var(--mono); font-size: .52rem; color: rgba(255, 255, 255, .75); }
.vtile.hot { border-color: var(--hi); box-shadow: 0 0 0 2px var(--hi), 0 0 30px rgba(255, 255, 255, .14); transform: scale(1.06); z-index: 2; }
.vault-grid.locked .vtile:not(.hot) { opacity: .2; }
.vault-cap { position: absolute; bottom: 7%; left: 0; right: 0; text-align: center; z-index: 3; font-family: var(--mono); font-size: .7rem; color: var(--soft); letter-spacing: .06em; }
/* layer 3: footage */
.footage { position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(255, 206, 140, .28), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, #2b1d12, transparent 70%),
    linear-gradient(180deg, #1d1610 0%, #120d09 55%, #2a1f15 56%, #1a130d 100%);
}
.footage .mat { position: absolute; left: 12%; right: 12%; bottom: -6%; height: 52%; border-radius: 18px; background: linear-gradient(180deg, #0f2a17, #0a1a0f); transform: perspective(600px) rotateX(55deg); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.125) inset; }
.footage .mat::after { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(255, 255, 255, 0.15); border-radius: 10px; }
.footage .cam { position: absolute; inset: 0; animation: handheld 5s ease-in-out infinite; }
@keyframes handheld { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-3px, 2px) rotate(-.2deg); } 50% { transform: translate(2px, -2px) rotate(.15deg); } 75% { transform: translate(1px, 3px) rotate(-.1deg); } }
.footage .pack { --w: clamp(110px, 13vw, 170px); position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-4deg); filter: drop-shadow(0 30px 25px rgba(0, 0, 0, .6)) sepia(.15); }
.footage .fcard { position: absolute; left: 50%; top: 48%; transition: transform .2s linear; }
.footage .fcard .card { --w: clamp(84px, 10vw, 130px); filter: sepia(.12) drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); }
.footage .vign { position: absolute; inset: 0; background: radial-gradient(75% 70% at 50% 45%, transparent 55%, rgba(0, 0, 0, .75)); pointer-events: none; }
.footage canvas.grain2 { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
.player { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 9; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .62rem; color: var(--soft); }
.player .prog { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.player .prog i { display: block; height: 100%; width: 0; background: var(--hi); }
.player svg { width: 14px; height: 14px; }
/* layer 4: results */
.tv-results { display: grid; justify-items: center; gap: 20px; }
.tv-results .row { display: flex; gap: 14px; }
.tv-results .card { --w: clamp(90px, 11vw, 140px); }
.tv-results .acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tv-results .total { font-family: var(--mono); font-size: .8rem; color: var(--soft); }

@media (max-width: 900px) {
  .tv-seq { height: 380vh; }
  .tv-sticky { grid-template-columns: 1fr; align-content: center; gap: 16px; top: calc(env(safe-area-inset-top, 0px) + 74px); height: calc(100vh - 90px); min-height: 0; }
  .tv-screen { order: -1; aspect-ratio: 16 / 12; }
  .tv-steps li:not(.on) { display: none; }
  .tv-steps li { padding: 12px 14px; }
  .tv-steps li.on p { max-height: 160px; }
  .vault-grid { grid-template-columns: repeat(3, 1fr); }
  .vault-grid .vtile:nth-child(n+10) { display: none; }
}

/* ---------- Chapter 04: sell or ship ---------- */
.after { margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.path { padding: 24px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); display: grid; gap: 16px; align-content: start; position: relative; overflow: hidden; }
.path .big { font-family: var(--mono); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--fg); text-shadow: 0 0 20px rgba(255, 255, 255, .14); }
.path ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.path li { display: flex; gap: 10px; font-size: .9rem; color: var(--soft); }
.path li svg { width: 18px; height: 18px; flex: none; color: var(--hi); margin-top: 2px; }
.path p { color: var(--muted); font-size: .92rem; }
.path .vis { height: 130px; position: relative; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line); overflow: hidden; }
.coins i { position: absolute; bottom: -20px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c4, #ffb21e 55%, #8a5a00); box-shadow: 0 0 10px rgba(255, 178, 30, .4); animation: coin 2.6s linear infinite; }
@keyframes coin { from { transform: translateY(0) rotateY(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(-170px) rotateY(720deg); opacity: 0; } }
.box { position: absolute; left: 50%; bottom: 14px; width: 92px; height: 62px; transform: translateX(-50%); border-radius: 6px; background: linear-gradient(180deg, #c49a5c, #8a6634); box-shadow: 0 10px 20px rgba(0, 0, 0, .5); }
.box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: rgba(0, 0, 0, .15); }
.box::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 14px; margin-left: -7px; background: rgba(255, 255, 255, 0.375); }
.drop-card { position: absolute; left: 50%; top: -60px; margin-left: -18px; animation: dropin 2.8s var(--ease) infinite; }
.drop-card .card { --w: 36px; }
@keyframes dropin { 0% { transform: translateY(0) rotate(-10deg); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(110px) rotate(0); opacity: 1; } 75%, 100% { transform: translateY(126px); opacity: 0; } }
.globe-wrap { position: relative; border-radius: 22px; border: 1px solid var(--line-2); overflow: hidden; background: radial-gradient(60% 50% at 50% 50%, rgba(255, 255, 255, 0.05), transparent 70%), var(--ink-1); min-height: 420px; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-feed { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 6px; z-index: 2; }
.gf { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(8, 11, 8, .85); border: 1px solid var(--line); font-size: .76rem; animation: msgin .5s var(--ease); }
.gf .dot { color: var(--hi); }
.gf.sell .dot { color: var(--r-legendary); }
.gf small { color: var(--muted); margin-left: auto; font-family: var(--mono); font-size: .64rem; }
.globe-cap { position: absolute; left: 0; right: 0; top: 16px; text-align: center; z-index: 2; color: var(--muted); }
@media (max-width: 1000px) {
  .after { grid-template-columns: 1fr 1fr; }
  .globe-wrap { grid-column: 1 / -1; order: -1; min-height: 380px; }
}
@media (max-width: 640px) { .after { grid-template-columns: 1fr; } }

/* ---------- Chapter 05: marketplace ---------- */
.mkt-bar { margin-top: clamp(30px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-2); background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 99px; cursor: pointer; font-size: .8rem; font-weight: 600; transition: all .2s; }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--ground); border-color: var(--fg); }
.cart { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); font-size: .8rem; }
.cart b { font-family: var(--mono); }
.cart svg { width: 18px; height: 18px; color: var(--hi); }
.cart.bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { transform: scale(1.08); } }
.conveyor { margin-top: 20px; position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; padding-block: 26px 10px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.conveyor.drag { cursor: grabbing; }
.conv-track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.listing { width: 210px; flex: none; padding: 14px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 12px; justify-items: center; transition: transform .35s var(--spring), border-color .3s; }
.listing:hover { transform: translateY(-6px); border-color: var(--line-2); }
.listing .card { --w: 170px; }
.listing .meta { width: 100%; display: grid; gap: 2px; }
.listing .meta b { font-size: .86rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing .meta small { font-family: var(--mono); font-size: .6rem; color: var(--muted); letter-spacing: .04em; }
.listing .buy { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.listing .price { font-family: var(--mono); font-weight: 700; font-size: .95rem; }
.listing .btn.sm { padding: .75em .95em; }
.listing .btn.added { background: var(--ink-4); color: var(--fg); box-shadow: 0 0 0 1px var(--hi) inset; }
.mkt-notes { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.note { padding: 18px 20px; border-left: 2px solid var(--hi); display: grid; gap: 6px; }
.note p { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .mkt-notes { grid-template-columns: 1fr; } .listing { width: 176px; } .listing .card { --w: 146px; } }

/* ---------- Chapter 06: platform ---------- */
.wl { margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.wl-ctrl { padding: 24px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--ink-2); display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label, .field .lbl { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.input {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink-1); color: var(--fg);
  font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: var(--hi); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.09); }
textarea.input { min-height: 96px; resize: vertical; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 40px; height: 40px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset; transition: transform .2s var(--spring); }
.sw:hover { transform: scale(1.08); }
.sw[aria-checked="true"] { border-color: var(--fg); box-shadow: 0 0 0 3px var(--ground) inset, 0 0 18px var(--c); }
.wl-preview { border-radius: 22px; border: 1px solid var(--line-2); overflow: hidden; background: var(--ink-1); display: flex; flex-direction: column; min-width: 0; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.browser-bar .url { margin-left: 10px; flex: 1; min-width: 0; padding: 6px 12px; border-radius: 8px; background: var(--ink-1); font-family: var(--mono); font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op { --brand: #49de0c; --brand-ink: #061200; --rad: 14px; --opbg: #0b0d10; --opsurf: #14171c; flex: 1; background: var(--opbg); padding: 18px; display: grid; gap: 16px; align-content: start; transition: background .5s; font-family: var(--body); }
.op-nav { display: flex; align-items: center; gap: 14px; }
.op-logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1rem; letter-spacing: -.01em; min-width: 0; }
.op-logo i { width: 26px; height: 26px; border-radius: calc(var(--rad) * .5); background: var(--brand); flex: none; display: grid; place-items: center; color: var(--brand-ink); font-style: normal; font-size: .8rem; transition: background .5s, border-radius .5s; }
.op-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-links { display: flex; gap: 12px; font-size: .74rem; color: #8a9099; margin-left: 6px; }
.op-links b { color: #fff; font-weight: 600; }
.op-bal { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: calc(var(--rad) * .7); background: var(--opsurf); font-family: var(--mono); font-size: .7rem; transition: border-radius .5s; }
.op-bal i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); transition: background .5s; }
.op-hero { border-radius: var(--rad); padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(110deg, color-mix(in srgb, var(--brand) 26%, var(--opsurf)), var(--opsurf)); transition: border-radius .5s, background .5s; }
.op-hero h4 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(.9rem, 1.6vw, 1.25rem); line-height: 1; }
.op-hero p { font-size: .74rem; color: #a3a9b2; margin-top: 6px; }
.op-btn { border: 0; cursor: pointer; padding: 10px 16px; border-radius: calc(var(--rad) * .7); background: var(--brand); color: var(--brand-ink); font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: .72rem; transition: background .5s, border-radius .5s; white-space: nowrap; }
.op-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.op-tile { border-radius: var(--rad); background: var(--opsurf); padding: 12px 10px; display: grid; justify-items: center; gap: 8px; transition: border-radius .5s; }
.op-tile .pack { --w: min(80px, 100%); filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .5)); }
.op-tile .pack .pk-brand .logo { display: none; }
.op-tile .op-tn { font-size: .66rem; color: #c9ced6; text-align: center; line-height: 1.2; }
.op-tile .op-pr { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .66rem; }
.op-tile .op-pr i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); transition: background .5s; }
.op .pk-brand-op { font-family: var(--display); font-stretch: 125%; font-weight: 900; }
@media (max-width: 900px) { .wl { grid-template-columns: 1fr; } .op-links { display: none; } }
@media (max-width: 520px) { .op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .op-hero { flex-direction: column; align-items: flex-start; } }

.features { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.feat { background: var(--ground); padding: 24px 22px 26px; display: grid; gap: 10px; align-content: start; transition: background .3s; }
.feat:hover { background: var(--ink-1); }
.feat svg { width: 26px; height: 26px; color: var(--hi); }
.feat p { color: var(--muted); font-size: .88rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.steps4 { margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps4::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--tear-line); opacity: .8; }
.s4 { position: relative; padding: 0 18px 0 0; display: grid; gap: 10px; align-content: start; }
.s4 .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ground); border: 1px solid var(--hi); color: var(--fg); font-family: var(--mono); font-size: .72rem; position: relative; z-index: 1; box-shadow: 0 0 18px rgba(255, 255, 255, .14); }
.s4 p { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .steps4 { grid-template-columns: 1fr 1fr; gap: 28px 18px; } .steps4::before { display: none; } }
@media (max-width: 480px) { .steps4 { grid-template-columns: 1fr; } }

/* ---------- CTA / Form ---------- */
.cta { position: relative; padding-block: clamp(80px, 10vw, 140px) clamp(60px, 8vw, 100px); overflow: clip; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 50% at 50% 40%, rgba(255, 255, 255, 0.07), transparent 70%); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 70px); align-items: start; position: relative; }
.cta-copy { display: grid; gap: 22px; justify-items: start; }
.cta-copy .cta-cards { justify-self: stretch; }
.cta-copy h2 { font-size: clamp(2.6rem, 6.6vw, 5.8rem); }
.cta-cards { position: relative; height: 220px; margin-top: 10px; }
.cta-cards .card { position: absolute; --w: 130px; }
.form { padding: clamp(20px, 3vw, 32px); border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(25, 32, 26, .85), rgba(11, 14, 11, .95)); display: grid; gap: 16px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .chips .chip { font-size: .78rem; }
.form .chip[aria-pressed="true"] { background: rgba(255, 255, 255, 0.07); color: var(--fg); border-color: var(--hi); }
.form-err { color: var(--danger); font-size: .82rem; min-height: 1.2em; }
.form-fine { font-size: .74rem; color: var(--dim); }
.form-done { display: grid; gap: 14px; justify-items: start; padding: 10px 0; }
.form-done .ok { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: var(--fg); box-shadow: 0 0 30px rgba(255, 255, 255, .14); }
.form-done .ok svg { width: 26px; height: 26px; }
.form-done p { color: var(--soft); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } .cta-cards { display: none; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 44px 36px; }
.foot-in { display: grid; gap: 26px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot .logo { width: 170px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.foot nav a:hover { color: var(--fg); }
.foot .fine { font-size: .74rem; color: var(--dim); max-width: 90ch; line-height: 1.6; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 70; transform: translate(-50%, 140%);
  padding: 12px 18px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--hi); color: var(--fg); font-size: .86rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8), 0 0 30px -10px rgba(255, 255, 255, .14); transition: transform .5s var(--spring), visibility 0s .5s; max-width: calc(100vw - 32px);
  visibility: hidden; transform: translate(-50%, calc(100% + 60px));
}
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--spring); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ticker-track { animation: none; }
}

/* Holo drift on touch devices (no pointer to steer the foil) */
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.holo-auto { animation: holo 5s ease-in-out infinite alternate; }
@keyframes holo { from { --mx: 12%; --my: 20%; } to { --mx: 88%; --my: 80%; } }
.card:hover .card-inner { transition: transform .18s linear; }
.card.zoomed { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.pk-brand-op { font-size: 1.6em; letter-spacing: .02em; text-transform: uppercase; }
.hs-card, .hs-pack, .callout { transition: translate .6s var(--ease); }
.hs-card .card { width: 100%; }

.pp small { display: block; }

.vf { position: absolute; inset: 15% 5% 13%; pointer-events: none; z-index: 8; }
.vf i { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, .7); }
.vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.vf span { position: absolute; left: 30px; bottom: 4px; font-family: var(--mono); font-size: .58rem; color: rgba(255, 255, 255, .75); letter-spacing: .1em; }
.vf b { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }

/* Green kept for the brand accents only */
.btn { --b: var(--volt); --bi: var(--volt-ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 10px 30px -10px var(--volt-glow); }
.btn:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 16px 40px -10px rgba(73, 222, 12, .5); }
.btn.ghost { box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn.ghost:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; }
::selection { background: var(--volt); color: var(--volt-ink); }
.nav-links a.on::after { background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.rail a.on i { background: var(--volt); border-color: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.rail a.done i { background: var(--fg); border-color: var(--fg); box-shadow: none; }
.rail-fill { box-shadow: none; }
.callout .amt, .bal b.up, .toast-line { color: var(--volt-hi); }
.prologue .w.v.lit { color: var(--volt); text-shadow: 0 0 22px var(--volt-glow); }
.hero .pill .dot, .cta .pill .dot { color: var(--volt); }
.pill { box-shadow: none; }
.form-done .ok { background: rgba(73, 222, 12, .14); color: var(--volt-hi); box-shadow: 0 0 30px var(--volt-glow); }
.vtile.hot { border-color: var(--fg); box-shadow: 0 0 0 2px var(--fg), 0 0 30px rgba(255, 255, 255, .2); }
.gf.ship .dot { color: var(--volt); }
.pillars li::before { background: var(--fg); box-shadow: none; }

/* ---------- Real card and pack images ---------- */
.card-face { padding: 0; background: #16161b; border-radius: calc(var(--w) * .045); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.card-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card-back { border-radius: calc(var(--w) * .045); border-color: #17171c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset;
  background: radial-gradient(70% 50% at 50% 50%, rgba(255, 255, 255, .07), transparent 70%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9px), #0c0c0f; }
.card-back::after { border-color: rgba(255, 255, 255, .12); }
.card-back .logo { filter: none; }
.c-foil { mix-blend-mode: overlay; }
.card.r-uncommon { --foil: 0; } .card.r-rare { --foil: .14; } .card.r-epic { --foil: .22; } .card.r-legendary { --foil: .3; } .card.r-grail { --foil: .38; }
.card.r-legendary .card-face, .card.r-grail .card-face { box-shadow: 0 0 0 calc(var(--w) * .012) var(--rc); }
.card.r-grail .card-face::before { z-index: 3; }
.card.glow::after { opacity: .45; }
.pack-skin { background: #111; border-radius: 2px; }
.pack-skin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-skin::after { opacity: .7; }
.hero-stage .hs-pack { width: 34%; left: 33%; top: 37%; }
.vtile::before { content: none; }
.vtile img { position: absolute; left: 50%; top: 46%; height: 80%; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.vtile { background: linear-gradient(135deg, #1c1c22, #0b0b0e); }
.op-tn small { display: block; color: #8a9099; font-size: .6rem; margin-top: 2px; }
.listing .meta small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gem-dot { width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: var(--rc); box-shadow: 0 0 8px var(--rc); flex: none; }
.mkt-empty { margin-top: 20px; min-height: 300px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(24px, 4vw, 48px); border-radius: 22px; border: 1px dashed var(--line-2); background: var(--ink-2); }
.mkt-empty > div { display: grid; gap: 10px; max-width: 56ch; min-width: 0; }
.mkt-empty p { color: var(--muted); }
.footage .mat { background: linear-gradient(180deg, #1c1c22, #111115); }
.tv-steps li.on { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
.tv-steps .n, .eyebrow { color: var(--silver); }
.s4 .n { box-shadow: none; border-color: var(--line-2); color: var(--fg); }
.feat svg, .path li svg, .cart svg { color: var(--fg); }
.note { border-left-color: var(--line-2); }
.path .big { color: var(--fg); text-shadow: none; }
.listing .btn.added { color: var(--volt-hi); box-shadow: 0 0 0 1px rgba(73, 222, 12, .6) inset; }
.ticker-label { color: var(--fg); }
.ticker-label .dot { color: #ff3d3d; }

@media (max-width: 900px) { .hero-stage { margin-bottom: 28px; } }


/* ================= v3 additions ================= */

/* ---- 3D shiny packs (real product photos with alpha) ---- */
.p3 {
  --w: 180px; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%;
  position: relative; width: var(--w); aspect-ratio: var(--ar, .57); flex: none; user-select: none; -webkit-user-select: none;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--spring);
  filter: drop-shadow(0 26px 20px rgba(0, 0, 0, .55)) drop-shadow(0 4px 5px rgba(0, 0, 0, .4));
}
.p3:hover { transition: transform .12s linear; }
.p3 > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.p3 .p3-l { position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--img) center / 100% 100% no-repeat; mask: var(--img) center / 100% 100% no-repeat; }
.p3 .p3-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, 0) 11%, rgba(255, 255, 255, .13) 27%, rgba(255, 255, 255, 0) 46%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, .5) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 7%, rgba(0, 0, 0, 0) 92%, rgba(0, 0, 0, .38) 100%);
}
.p3 .p3-glare { background: radial-gradient(55% 38% at var(--mx) var(--my), rgba(255, 255, 255, .32), transparent 62%); mix-blend-mode: overlay; }
.p3 .p3-foil {
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, .3) 44%, rgba(190, 235, 255, .16) 48%, transparent 58%);
  background-size: 260% 100%; mix-blend-mode: soft-light; animation: p3sheen 6s ease-in-out infinite;
}
.p3.is-box .p3-shade { background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 30%, transparent 80%, rgba(0, 0, 0, .3)), linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 15%, transparent 85%, rgba(0, 0, 0, .3)); }
@keyframes p3sheen { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }
.float { animation: float 6s ease-in-out infinite; }

/* image cards with transparent rounded corners */
.card-face { background: transparent; box-shadow: none; }
.card { filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .5)); }
.card.r-legendary .card-face, .card.r-grail .card-face { box-shadow: none; }
.card .c-foil, .card .c-glare { border-radius: calc(var(--w) * .047); }

/* ---- Hero ---- */
.hero-stage .hc { position: absolute; width: 31%; z-index: 2; }
.hero-stage .hp { position: absolute; z-index: 3; }
.hero-stage .hp .p3 { width: 100%; }
.pillars li::before { background: var(--volt); box-shadow: 0 0 8px var(--volt-glow); }

/* ticker sports chip */
.tk .sport { width: 30px; height: 42px; border-radius: 5px; display: grid; place-items: center; background: linear-gradient(160deg, #2a2a31, #141418); border: 1px solid var(--line-2); flex: none; }
.tk .sport svg { width: 18px; height: 18px; }
.tk .mini-pack { width: 30px; height: 42px; flex: none; display: grid; place-items: center; }
.tk .mini-pack img { max-height: 42px; max-width: 30px; }
.tk .rar { font-family: var(--mono); font-size: .64rem; margin-left: 6px; display: flex; align-items: center; gap: 6px; color: var(--soft); }
.tk .rar i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }

/* ---- 01 Showcase ---- */
.showcase { margin-top: clamp(40px, 6vw, 64px); }
.sc-tabs { justify-content: center; }
.sc-tabs .chip[aria-selected="true"] { background: var(--fg); color: var(--ground); border-color: var(--fg); }
.shelf {
  position: relative; margin-top: 22px; height: clamp(460px, 48vw, 600px); border-radius: 30px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
  background:
    radial-gradient(50% 55% at 50% 100%, rgba(255, 255, 255, .09), transparent 70%),
    radial-gradient(40% 40% at 50% 30%, var(--sc-glow, rgba(255, 255, 255, .05)), transparent 70%),
    linear-gradient(180deg, var(--ink-1), var(--ground));
  transition: background .6s;
}
.shelf::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); }
.shelf::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); }
.sh-hits { position: absolute; left: 50%; top: 8%; width: 0; height: 0; z-index: 1; }
.sh-hits .card { position: absolute; left: 0; top: 0; --w: clamp(110px, 12vw, 160px); transition: transform .7s var(--spring), opacity .5s; }
.sh-row { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2.4vw, 34px); padding: 0 20px; z-index: 2; }
.sh-item { display: grid; justify-items: center; gap: 14px; transition: transform .6s var(--spring), opacity .5s; }
.sh-item .p3 { -webkit-box-reflect: below 2px linear-gradient(transparent 76%, rgba(255, 255, 255, .14)); }
.sh-item .sh-name { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); width: max-content; max-width: max(100%, 150px); text-align: center; }
.sh-item { position: relative; }
.sh-name b { display: block; font-size: .8rem; line-height: 1.2; }
.sh-name small { font-family: var(--mono); font-size: .58rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.shelf.swap .sh-item, .shelf.swap .sh-hits .card { opacity: 0; transform: translateY(26px); }
.sc-points { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scp { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-1); }
.scp-i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-2); flex: none; }
.scp-i svg { width: 22px; height: 22px; }
.scp p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 900px) {
  .sc-points { grid-template-columns: 1fr; }
  .shelf { height: 470px; }
  .sh-row { overflow-x: auto; justify-content: flex-start; padding-bottom: 60px; bottom: 6%; scrollbar-width: none; }
  .sh-row::-webkit-scrollbar { display: none; }
}

/* ---- 02 Rip.TV ---- */
.tv-wrap { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.phone { width: min(360px, 100%); justify-self: center; aspect-ratio: 9 / 18.6; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2b2b31, #0c0c0f); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 45% at 50% 40%, rgba(255, 210, 150, .28), transparent 70%),
    radial-gradient(40% 25% at 20% 12%, rgba(120, 160, 255, .25), transparent 70%),
    radial-gradient(40% 25% at 85% 18%, rgba(255, 90, 150, .2), transparent 70%),
    linear-gradient(180deg, #17120d 0%, #0e0b08 62%, #1d2a1f 63%, #101a12 100%); }
.phone-screen::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: radial-gradient(80% 70% at 50% 45%, transparent 55%, rgba(0, 0, 0, .7)); }
.ph-scene { position: absolute; inset: 0; animation: handheld 6s ease-in-out infinite; }
.ph-mat { position: absolute; left: -10%; right: -10%; bottom: -4%; height: 42%; background: linear-gradient(180deg, #1a2a1d, #0d150f); transform: perspective(500px) rotateX(50deg); border-top: 1px solid rgba(255, 255, 255, .12); }
.ph-pack { position: absolute; left: 50%; top: 13%; transform: translateX(-50%) rotate(-5deg); z-index: 2; }
.ph-pack .p3 { --w: 46%; width: 150px; }
.ph-cards { position: absolute; left: 50%; top: 44%; z-index: 3; }
.ph-cards .card { position: absolute; left: 0; top: 0; --w: 108px; }
.ph-top { position: absolute; left: 14px; right: 14px; top: 18px; z-index: 8; display: flex; justify-content: space-between; gap: 6px; }
.ph-top .dot { color: #ff3b3b; animation: blink 1.2s infinite; }
.ph-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; padding: 60px 16px 16px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85) 45%); display: grid; gap: 12px; }
.ph-pull small { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ph-pull b { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; margin-top: 3px; }
.ph-pull span { font-size: .74rem; color: var(--r-legendary); }
.ph-acts { display: flex; gap: 6px; }
.ph-btn { flex: 1; text-align: center; padding: 9px 6px; border-radius: 12px; font-size: .74rem; font-weight: 700; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); }
.ph-btn.on { background: var(--volt); color: var(--volt-ink); border-color: transparent; }
.ph-prog { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ph-prog i { display: block; height: 100%; width: 40%; background: #fff; animation: phprog 9s linear infinite; }
@keyframes phprog { from { width: 0; } to { width: 100%; } }
.steps-v { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps-v li { display: flex; gap: 18px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.sv-n { font-family: var(--mono); font-size: .7rem; color: var(--silver); padding-top: 4px; }
.steps-v p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.vlib { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vt { position: relative; aspect-ratio: 9 / 12; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(70% 50% at 50% 40%, rgba(255, 210, 150, .2), transparent 70%), linear-gradient(180deg, #17120d, #0b0908); }
.vt img { position: absolute; left: 50%; top: 44%; height: 66%; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
.vt .play { position: absolute; left: 50%; top: 44%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; backdrop-filter: blur(6px); }
.vt .play svg { width: 12px; height: 12px; margin-left: 2px; }
.vt span { position: absolute; left: 8px; right: 8px; bottom: 7px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: .54rem; color: rgba(255, 255, 255, .8); }
.vlib-cap { margin-top: 12px; color: var(--muted); }
@media (max-width: 900px) { .tv-wrap { grid-template-columns: 1fr; } .vlib { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- 03 Live ---- */
.live2 { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.stream2 { position: relative; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); background: #0b0b0e; }
.st-bg { position: absolute; inset: 0; background:
    radial-gradient(35% 45% at 18% 10%, rgba(80, 120, 255, .35), transparent 70%),
    radial-gradient(35% 45% at 85% 5%, rgba(255, 70, 160, .28), transparent 70%),
    radial-gradient(60% 50% at 50% 35%, rgba(255, 255, 255, .08), transparent 70%),
    linear-gradient(180deg, #121218 0%, #0a0a0d 60%, #16161b 61%, #0c0c0f 100%); }
.st-ring { position: absolute; left: 33%; top: 5%; width: 30%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: clamp(4px, .7vw, 8px) solid rgba(255, 255, 255, .92); box-shadow: 0 0 60px rgba(255, 255, 255, .45), inset 0 0 30px rgba(255, 255, 255, .3); }
.st-host { position: absolute; left: 33%; top: 14%; width: 30%; transform: translateX(-50%); }
.st-host svg { display: block; width: 100%; height: auto; filter: blur(3.5px); opacity: .85; }
.st-desk { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, #1d1d24 0%, #121217 30%, #0b0b0e 100%); border-top: 1px solid rgba(255, 255, 255, .09); }
.st-desk::before { content: ""; position: absolute; left: 4%; width: 58%; top: 18%; height: 54%; border-radius: 14px; background: radial-gradient(60% 70% at 50% 40%, rgba(73, 222, 12, .10), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); border: 1px solid rgba(255, 255, 255, .06); }
.st-table { position: absolute; left: 4%; width: 58%; bottom: 15%; height: 40%; }
.st-table > * { position: absolute; bottom: 0; transform-origin: 50% 100%; }
.st-table .p3 { --w: 17%; width: 17%; }
.st-table .card { --w: 14.5%; width: 14.5%; }
.st-top { position: absolute; left: 16px; top: 14px; z-index: 5; display: flex; gap: 8px; align-items: center; }
.st-chat { position: absolute; right: 14px; top: 76px; bottom: 64px; width: 32%; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; -webkit-mask: linear-gradient(transparent, #000 30%); mask: linear-gradient(transparent, #000 30%); }
.st-msg { align-self: flex-end; max-width: 100%; padding: 7px 11px; border-radius: 14px 14px 4px 14px; background: rgba(15, 15, 20, .72); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); font-size: .72rem; line-height: 1.3; animation: msgin .4s var(--ease); }
.st-msg b { margin-right: 5px; }
.st-msg.sys { background: rgba(73, 222, 12, .14); border-color: rgba(73, 222, 12, .35); color: var(--volt-hi); font-family: var(--mono); font-size: .62rem; }
.st-hit { position: absolute; right: 14px; top: 14px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(12, 12, 16, .86); border: 1px solid rgba(255, 178, 30, .6); box-shadow: 0 0 40px rgba(255, 178, 30, .25); transform: translateY(-14px); opacity: 0; transition: all .5s var(--spring); }
.st-hit.on { opacity: 1; transform: none; }
.st-hit .sh-c .card { --w: 36px; }
.st-hit b { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: .76rem; color: var(--r-legendary); }
.st-hit small { font-size: .72rem; color: var(--soft); }
.st-spots { position: absolute; left: 16px; bottom: 12px; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; max-width: 62%; }
.st-spot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .56rem; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .3); color: var(--muted); transition: all .4s; }
.st-spot.taken { border-style: solid; border-color: transparent; color: #0b0b0e; background: var(--c); }
.live-pts { display: grid; gap: 12px; }
.lp2 { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-1); }
.lp2 .lp-n { font-family: var(--mono); font-size: .66rem; color: var(--silver); }
.lp2 h3 { margin-top: 8px; }
.lp2 p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 900px) { .live2 { grid-template-columns: 1fr; } .stream2 { aspect-ratio: 4 / 3.4; } .st-chat { width: 44%; } }

/* ---- 04 Bento: sell or ship ---- */
.bento { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bx { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), var(--ink-1); min-width: 0; }
.bx::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 40% at 30% 0%, rgba(255, 255, 255, .07), transparent 70%); }
.bx-eyebrow { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); position: relative; }
.bx-choice { grid-column: span 5; }
.bx-globe { grid-column: span 7; grid-row: span 2; min-height: 520px; padding: 0; }
.bx-buy { grid-column: span 5; }
.bx-ship { grid-column: span 12; }
.choice { margin-top: 20px; display: flex; gap: 22px; align-items: center; position: relative; }
.choice-card .card { --w: clamp(110px, 11vw, 150px); }
.choice-ui { display: grid; gap: 10px; min-width: 0; flex: 1; }
.choice-ui b { font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: 1.15rem; line-height: 1.05; }
.choice-ui small { color: var(--muted); font-size: .8rem; margin-bottom: 6px; }
.ch-btn { display: block; text-align: center; padding: 13px 14px; border-radius: 14px; font-weight: 700; font-size: .86rem; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); transition: all .4s var(--ease); }
.ch-btn.on.sell { background: var(--volt); color: var(--volt-ink); border-color: transparent; box-shadow: 0 10px 30px -10px var(--volt-glow); transform: scale(1.02); }
.ch-btn.on.ship { background: var(--fg); color: var(--ground); border-color: transparent; transform: scale(1.02); }
.bx-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bx-head { position: absolute; left: 28px; top: 26px; z-index: 2; }
.bx-head h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-top: 8px; }
.bx-globe .globe-feed { left: 22px; right: auto; bottom: 22px; width: min(320px, calc(100% - 44px)); }
.gf { background: rgba(12, 12, 16, .78); backdrop-filter: blur(10px); border-radius: 14px; }
.gf .dot { color: var(--volt); }
.gf.sell .dot { color: var(--r-legendary); }
.flow { margin: 26px 0 22px; display: flex; align-items: center; gap: 14px; }
.flow-card .card { --w: 64px; }
.flow-line { flex: 1; height: 2px; position: relative; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px); }
.flow-line i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 12px var(--volt); animation: flowdot 2.4s linear infinite; }
.flow-line i:nth-child(2) { animation-delay: .8s; } .flow-line i:nth-child(3) { animation-delay: 1.6s; }
@keyframes flowdot { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
.flow-wallet { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(73, 222, 12, .12); border: 1px solid rgba(73, 222, 12, .4); color: var(--volt-hi); flex: none; }
.flow-wallet svg { width: 28px; height: 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.ticks li { display: flex; gap: 10px; font-size: .92rem; color: var(--soft); }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 6px; background: rgba(255, 255, 255, .08) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12 4 4 8-9'/></svg>") center / 12px no-repeat; }
.track { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.track::before { content: ""; position: absolute; left: 12px; right: calc(25% - 12px); top: 11px; height: 2px; background: var(--line-2); }
.track::after { content: ""; position: absolute; left: 12px; top: 11px; height: 2px; width: 0; background: linear-gradient(90deg, var(--volt), var(--volt-hi)); box-shadow: 0 0 10px var(--volt-glow); animation: trackfill 6s var(--ease) infinite; }
@keyframes trackfill { 0% { width: 0; } 70%, 100% { width: 75%; } }
.track li { position: relative; display: grid; gap: 4px; padding-right: 12px; }
.track li i { width: 24px; height: 24px; border-radius: 50%; background: var(--ink-1); border: 2px solid var(--line-2); position: relative; z-index: 1; margin-bottom: 10px; animation: trackdot 6s var(--ease) infinite; }
.track li:nth-child(2) i { animation-delay: 1.4s; } .track li:nth-child(3) i { animation-delay: 2.8s; } .track li:nth-child(4) i { animation-delay: 4.2s; }
@keyframes trackdot { 0% { border-color: var(--line-2); background: var(--ink-1); } 8%, 70% { border-color: var(--volt); background: var(--volt); box-shadow: 0 0 14px var(--volt-glow); } 100% { border-color: var(--line-2); background: var(--ink-1); } }
.track b { font-size: .95rem; }
.track small { color: var(--muted); font-size: .8rem; }
@media (max-width: 1000px) {
  .bx-choice, .bx-buy { grid-column: span 6; } .bx-globe { grid-column: span 12; grid-row: auto; min-height: 420px; order: -1; } .bx-ship { grid-column: span 12; }
}
@media (max-width: 680px) {
  .bx-choice, .bx-buy { grid-column: span 12; }
  .track { grid-template-columns: 1fr 1fr; gap: 18px 0; } .track::before, .track::after { display: none; }
}

/* ---- 05 Marketplace ---- */
.listing .thumb { width: 170px; height: 238px; display: grid; place-items: center; }
.listing .thumb .p3 { max-height: 238px; }
.conveyor.static { cursor: default; -webkit-mask: none; mask: none; }
.conveyor.static .conv-track { width: 100%; justify-content: center; flex-wrap: wrap; transform: none !important; }
.listing .tag { display: inline-block; margin-top: 4px; font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--soft); }
@media (max-width: 760px) { .listing .thumb { width: 146px; height: 205px; } .listing .thumb .p3 { max-height: 205px; } }

/* ---- 06 Brand packs ---- */
.brand-packs { margin-top: clamp(40px, 6vw, 64px); display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px) clamp(12px, 2vw, 30px); padding-bottom: 20px; }
.bp { display: grid; justify-items: center; gap: 16px; width: clamp(130px, 11.6vw, 170px); }
.bp-pack { --rx: 0deg; --ry: 0deg; width: 100%; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--spring); filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .6)); }
.bp-pack:hover { transition: transform .12s linear; }
.bp-pack svg { display: block; width: 100%; height: auto; overflow: visible; }
.bp:nth-child(odd) .bp-pack { animation: float 6.5s ease-in-out infinite; }
.bp:nth-child(even) .bp-pack { animation: float 6.5s ease-in-out -3.2s infinite; }
.bp-glare { animation: bpglare 5.5s ease-in-out infinite; }
@keyframes bpglare { 0%, 100% { transform: translateX(-260px); } 50% { transform: translateX(260px); } }
.bp-cap { text-align: center; display: grid; gap: 3px; }
.bp-cap b { font-size: .84rem; }
.bp-cap small { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---- 07 Clients ---- */
.clients { padding-block: clamp(80px, 10vw, 130px) clamp(30px, 5vw, 60px); }
.cl-head { display: grid; justify-items: center; text-align: center; gap: 16px; }
.cl-eyebrow { display: inline-flex; align-items: center; gap: 16px; font-family: var(--display); font-stretch: 125%; font-weight: 900; letter-spacing: .28em; text-transform: uppercase; font-size: .86rem; }
.cl-eyebrow i { width: clamp(40px, 10vw, 120px); height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.cl-eyebrow i:last-child { transform: scaleX(-1); }
.logo-grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lg-tile {
  --bc: rgba(255, 255, 255, .3); position: relative; display: grid; place-items: center; height: clamp(104px, 9vw, 132px); padding: 18px 22px;
  border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)), var(--ink-1);
  transition: transform .35s var(--spring), border-color .3s, box-shadow .3s, background .3s; text-decoration: none; overflow: hidden;
}
.lg-tile::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; background: radial-gradient(70% 90% at 50% 120%, var(--bc), transparent 70%); }
.lg-tile:hover, .lg-tile:focus-visible { transform: translateY(-4px); border-color: var(--bc); box-shadow: 0 24px 40px -26px var(--bc); }
.lg-tile:hover::before, .lg-tile:focus-visible::before { opacity: .22; }
.lg-tile img { position: relative; max-width: 80%; max-height: 52px; width: auto; height: auto; object-fit: contain; transition: transform .35s var(--spring); }
.lg-tile:hover img { transform: scale(1.05); }
.lg-tile.w2 { grid-column: span 2; }
.lg-tile.w2 img { max-width: 70%; }
.lg-tile.tall img { max-height: 70px; }
.lg-tile.black { background: #030303; }
.lg-tile.vip { background: #070707; border-color: rgba(250, 204, 21, .35); }
.lg-go { position: absolute; right: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); opacity: 0; transform: translate(-4px, 4px); transition: all .3s var(--ease); }
.lg-go svg { width: 12px; height: 12px; }
.lg-tile:hover .lg-go, .lg-tile:focus-visible .lg-go { opacity: 1; transform: none; }
.lg-url { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; color: var(--muted); opacity: 0; transition: opacity .3s; }
.lg-tile:hover .lg-url, .lg-tile:focus-visible .lg-url { opacity: 1; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lg-tile.w2 { grid-column: span 2; } }

/* ---- CTA ---- */
.cta-cards { height: 250px; }
.cta-cards .card { --w: 128px; }
.cta-cards .p3 { --w: 150px; }

/* misc */
.pill.warn { border-color: rgba(255, 178, 30, .45); color: var(--r-legendary); background: rgba(255, 178, 30, .07); }
.listing .btn.added { color: var(--volt-hi); }
/* phones: all three hero call-outs, smaller and kept inside the picture (Hristo, 2026-11-03) */
@media (max-width: 520px) {
  .callout.co1, .callout.co2 { display: flex; }
  .callout { font-size: .6rem; gap: 6px; padding: 6px 8px 6px 6px; border-radius: 10px; }
  .callout small { font-size: .55rem; }
  .callout .ic { width: 20px; height: 20px; border-radius: 6px; }
  .callout .ic svg { width: 12px; height: 12px; }
  .callout.co0 { left: 0 !important; right: auto !important; top: 57% !important; bottom: auto !important; }
  .callout.co1 { right: 0 !important; left: auto !important; top: 26% !important; bottom: auto !important; }
  .callout.co2 { right: 2% !important; left: auto !important; bottom: 2% !important; top: auto !important; }
}
.sh-word { position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%); text-align: center; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--display, inherit); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .8; letter-spacing: -.02em;
  font-size: clamp(90px, 15vw, 230px); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 75%); -webkit-background-clip: text; background-clip: text; transition: opacity .4s; }
.shelf.swap .sh-word { opacity: 0; }
.sh-hits .p3.fan { position: absolute; left: 0; top: 0; transition: transform .7s var(--spring), opacity .5s; }
.shelf.swap .sh-hits .p3 { opacity: 0; }
.p3 .p3-l { transition: opacity .4s; }
.p3:not(.ld) .p3-l { opacity: 0; }
.p3:not(.ld) { filter: none; }

/* rail labels: keep them off the content on narrower desktops */
@media (max-width: 1640px) {
  .rail a.on span { opacity: 0; transform: translateX(-6px); }
  .rail:hover a span { opacity: 1; transform: none; }
  .rail a span { background: rgba(10, 10, 12, .86); padding: 4px 8px; border-radius: 8px; backdrop-filter: blur(6px); }
}
.lg-tile.wide img { max-width: 92%; }
@media (max-width: 900px) { .logo-grid { grid-auto-flow: dense; } }
@media (max-width: 600px) {
  .st-table { left: 3%; width: 54%; bottom: 22%; height: 36%; }
  .st-desk::before { left: 2%; width: 56%; top: 8%; height: 48%; }
  .st-table .p3 { --w: 22%; width: 22%; }
  .st-table .card { --w: 19%; width: 19%; }
  .st-spot { width: 22px; height: 22px; font-size: .46rem; }
  .st-spot:nth-child(n+10) { display: none; }
  .st-spots { gap: 4px; left: 12px; bottom: 10px; flex-wrap: nowrap; }
  .st-chat { width: 40%; right: 10px; top: 64px; bottom: 44px; }
  .st-msg { font-size: .62rem; padding: 5px 8px; }
  .st-hit { display: none; }
  .st-hit b { font-size: .6rem; }
  .st-hit small { font-size: .62rem; }
  .st-top { left: 12px; top: 12px; }
  .st-ring { top: 18%; width: 34%; left: 30%; }
  .st-host { top: 26%; width: 34%; left: 30%; }
}

/* ================= v4 additions ================= */
/* Rip.TV: packs with host thumbnails */
.tvp { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tvp-item { position: relative; display: grid; gap: 16px; padding: 18px 18px 20px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(80% 60% at 50% 30%, rgba(255, 255, 255, .06), transparent 70%), var(--ink-1); overflow: hidden; transition: border-color .3s, transform .4s var(--spring); }
.tvp-item:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tvp-stage { position: relative; height: clamp(250px, 23vw, 320px); }
.tvp-pack { position: absolute; left: 4%; bottom: 4%; width: 54%; }
.tvp-pack .p3 { width: 100%; --w: 100%; }
.tvp-thumb { position: absolute; right: -2%; top: 4%; width: 66%; margin: 0; aspect-ratio: 46 / 40; border-radius: 16px; overflow: hidden; transform: rotate(var(--r, 5deg)); box-shadow: 0 26px 40px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .5s var(--spring); z-index: 2; }
.tvp-item:hover .tvp-thumb { transform: rotate(0deg) scale(1.03); }
.tvp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvp-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 35%, transparent 70%, rgba(0, 0, 0, .35)); }
.tvp-chip { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(10, 10, 12, .78); backdrop-filter: blur(6px); font-family: var(--mono); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; }
.tvp-chip svg { width: 12px; height: 12px; color: var(--volt); }
.tvp-rec { position: absolute; right: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(10, 10, 12, .7); font-family: var(--mono); font-size: .54rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.tvp-rec i { width: 6px; height: 6px; border-radius: 50%; background: #ff3d3d; box-shadow: 0 0 8px #ff3d3d; animation: blink 1.4s infinite; }
.tvp-meta { display: grid; gap: 3px; }
.tvp-meta small { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tvp-meta b { font-size: .95rem; }
.tv-steps2 { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tv-steps2 li { display: flex; gap: 14px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.tv-steps2 .sv-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .68rem; background: var(--ink-3); border: 1px solid var(--line-2); }
.tv-steps2 h3 { font-size: .98rem; }
.tv-steps2 p { color: var(--muted); font-size: .86rem; margin-top: 6px; }
@media (max-width: 1100px) { .tvp, .tv-steps2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tvp { grid-template-columns: 1fr 1fr; gap: 10px; } .tvp-item { padding: 12px; border-radius: 20px; } .tvp-stage { height: 200px; } .tvp-meta b { font-size: .82rem; } .tv-steps2 { grid-template-columns: 1fr; } }

/* Live: real studio still */
.stream2 { aspect-ratio: 16 / 9; }
.st-cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.st-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%, transparent 62%, rgba(0, 0, 0, .55)), linear-gradient(90deg, transparent 55%, rgba(0, 0, 0, .45)); }
.st-chat { top: 70px; bottom: 56px; }
@media (max-width: 900px) { .stream2 { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .stream2 { aspect-ratio: 4 / 3.4; } .st-cam { object-position: 42% 40%; } }

/* White-label packs: theme label */
.bp-theme { justify-self: center; padding: 3px 9px; border-radius: 999px; font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); margin-bottom: 4px; }

/* Clients: full list from the client sheet */
.logo-grid { gap: 12px; grid-auto-flow: dense; }
.lg-tile { height: clamp(92px, 7.6vw, 116px); padding: 16px 18px; }
.lg-tile img { max-width: 78%; max-height: 44px; }
.lg-tile.w2 img { max-width: 62%; }
.lg-tile.tall img { max-height: 62px; }
.lg-tile.wide img { max-width: 88%; }
.lg-tile.tinted { background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent), var(--tile); border-color: rgba(255, 255, 255, .1); }
.lg-tile.light { background: var(--tile); border-color: transparent; }
.lg-tile.light .lg-url { color: #4b4b52; }
.lg-tile.light .lg-go { background: rgba(0, 0, 0, .08); color: #111; }
@media (max-width: 560px) { .lg-tile { height: 86px; padding: 12px 14px; } .lg-tile img { max-height: 36px; } .lg-tile.tall img { max-height: 50px; } }
.tvp-thumb { width: 60%; top: 1%; right: -5%; }
.tvp-pack { left: 6%; width: 50%; bottom: 2%; }
@media (min-width: 901px) { .stream2 { aspect-ratio: auto; height: 100%; min-height: 420px; } }
@media (max-width: 560px) {
  .tvp-thumb { width: 78%; right: -8%; top: 0; border-radius: 12px; }
  .tvp-pack { width: 56%; left: 2%; }
  .tvp-rec { display: none; }
  .tvp-chip { left: 6px; top: 6px; padding: 3px 6px; font-size: .5rem; }
}
@media (max-width: 600px) { .st-chat .st-msg:nth-last-child(n+5) { display: none; } }

/* white-label packs are 3D renders (Hristo, 2026-11-02) */
.bp-pack img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.bp-pack { filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .55)); }

/* The RIP of the logo, in the brand green, inside headings (Hristo, 2026-11-03).
   Sized to the heading's cap height and sitting on its baseline; the word stays in the text for screen readers. */
.rip-mark { display: inline-block; position: relative; height: .7em; aspect-ratio: 443 / 159; margin: 0 .03em;
  background: var(--volt); -webkit-mask: var(--rip) center / contain no-repeat; mask: var(--rip) center / contain no-repeat;
  filter: drop-shadow(0 0 22px var(--volt-glow)); }
.rip-mark .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* Clients sit right after the hero (2026-11-03): a compact wall */
.chapter.clients { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.clients .logo-grid { margin-top: clamp(24px, 3.5vw, 40px); gap: 10px; }
.clients .lg-tile { height: clamp(78px, 6.2vw, 96px); padding: 12px 16px; border-radius: 18px; }
.clients .lg-tile img { max-height: 38px; }
.clients .lg-tile.tall img { max-height: 54px; }
@media (max-width: 560px) {
  .clients .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .clients .lg-tile { height: 58px; padding: 8px 8px; border-radius: 12px; }
  .clients .lg-tile img { max-width: 90%; max-height: 24px; }
  .clients .lg-tile.tall img { max-height: 34px; }
  .clients .lg-tile.w2 img { max-width: 80%; }
  .clients .lg-go, .clients .lg-url { display: none; }
}
/* shorter copy: title-only cards */
.scp { align-items: center; }
.tv-steps2 li, .lp2 { align-items: center; }
.lp2 { display: flex; gap: 14px; align-items: center; }
.lp2 h3 { margin-top: 0; }
.feat h3 { margin-bottom: 0; }
/* the steps line runs from the first dot to the last one, not past it */
.steps4::before { left: 20px; right: calc(25% - 20px); }

/* ================= 2026-11-03 (round 6) ================= */
/* Section seam: the crimped seal of a pack, ripped open at one point (replaces the torn paper edge) */
.tear { height: 40px; width: 100%; position: relative; z-index: 2; overflow: hidden; background: linear-gradient(180deg, var(--ground), var(--ink-1)); --x: 50%; }
.tear::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 12px; transform: translateY(-50%);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent) -260px 0 / 260px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .11), rgba(255, 255, 255, .11)) top / 100% 1px no-repeat,
    linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015) 55%, rgba(0, 0, 0, .25)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 2px, rgba(0, 0, 0, .4) 2px 3px, transparent 3px 4px);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 14%, #000 calc(var(--x) - 150px), transparent calc(var(--x) - 112px), transparent calc(var(--x) + 112px), #000 calc(var(--x) + 150px), #000 86%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 14%, #000 calc(var(--x) - 150px), transparent calc(var(--x) - 112px), transparent calc(var(--x) + 112px), #000 calc(var(--x) + 150px), #000 86%, transparent 100%);
  animation: seamsheen 9s ease-in-out infinite; }
.tear::after { content: ""; position: absolute; left: var(--x); top: 50%; width: 260px; height: 26px; transform: translate(-50%, -50%);
  background: var(--seam) center / 100% 100% no-repeat; filter: drop-shadow(0 0 8px rgba(73, 222, 12, .6)) drop-shadow(0 0 22px rgba(73, 222, 12, .3)); }
@keyframes seamsheen { 0%, 55% { background-position: -260px 0, top, bottom, 0 0, 0 0; } 100% { background-position: calc(100% + 260px) 0, top, bottom, 0 0, 0 0; } }
.reduced .tear::before { animation: none; }
@media (max-width: 600px) { .tear::after { width: 180px; height: 20px; } }

/* "Ship it home": centred steps, the line runs from the first dot to the last */
.bx-ship { text-align: center; }
.track li { justify-items: center; text-align: center; padding-right: 0; }
.track::before { left: 12.5%; right: 12.5%; }
.track::after { left: 12.5%; }
@keyframes trackfill { 0% { width: 0; } 70%, 100% { width: 75%; } }

/* White-label steps: centred, line from the first number to the last */
.s4 { justify-items: center; text-align: center; padding: 0 10px; }
.steps4::before { left: 12.5%; right: 12.5%; }

/* Demo form: dark glass that matches the page, with a faint green glow from the top */
.form { background:
    radial-gradient(120% 70% at 50% 0%, rgba(73, 222, 12, .07), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    var(--ink-1);
  border-color: var(--line-2); backdrop-filter: blur(8px); }

/* ================= 2026-11-03 (round 7) ================= */
/* Section divider (Hristo's reference): a hairline that brightens to white in the middle, with a soft green
   glow underneath. Replaces the ripped seal. */
.tear, .tear.flip { height: 56px; transform: none; overflow: hidden; }
.tear { background: linear-gradient(180deg, var(--ground), var(--ink-1)); }
.tear.flip { background: linear-gradient(180deg, var(--ink-1), var(--ground)); }
.tear::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform: none; -webkit-mask: none; mask: none; animation: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .09) 8%, rgba(255, 255, 255, .13) 34%, rgba(255, 255, 255, .45) 45%, #fff 50%, rgba(255, 255, 255, .45) 55%, rgba(255, 255, 255, .13) 66%, rgba(255, 255, 255, .09) 92%, rgba(255, 255, 255, 0) 100%);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, .35)); }
.tear::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(1200px, 86%); height: 30px; transform: translateX(-50%);
  background: radial-gradient(50% 100% at 50% 0%, rgba(73, 222, 12, .13), rgba(73, 222, 12, .05) 50%, transparent 80%); filter: none; }
@media (max-width: 600px) { .tear, .tear.flip { height: 40px; } .tear::after { width: 90%; height: 20px; } }

/* Live: the host video */
video.st-cam { background: #12080a; }

/* Client logos are not links for now: no hover lift, normal cursor */
.lg-tile.static { cursor: default; }
.lg-tile.static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.lg-tile.static:hover::before { opacity: 0; }
.lg-tile.static:hover img { transform: none; }

/* ================= 2026-11-03 (round 8) ================= */
/* Live: the pulled card shown is the real card from the stream's top camera */
.st-hit { border-color: rgba(73, 222, 12, .55); box-shadow: 0 0 40px rgba(73, 222, 12, .2); }
.st-hit b { color: var(--volt-hi); }
.st-hit small { font-weight: 700; color: var(--fg); font-size: .8rem; }
.st-hit .sh-c img { display: block; width: 40px; height: auto; border-radius: 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.st-spot.dealt { box-shadow: 0 0 0 2px var(--ground), 0 0 0 3.5px var(--c), 0 0 12px var(--c); }
/* Section divider (round 8): no hard edge between sections any more. The background fades from one section's colour
   to the next, and a short silver line with a green diamond (the same diamond as the hero's product list) marks the
   change. Replaces the full-width hairline. */
.tear, .tear.flip { height: 96px; overflow: visible; transform: none; margin: 0; }
.tear { background: linear-gradient(180deg, var(--ground), var(--ink-1)); }
.tear.flip { background: linear-gradient(180deg, var(--ink-1), var(--ground)); }
.tear::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(360px, 56%); height: 1px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16) 30%, rgba(255, 255, 255, .26) 50%, rgba(255, 255, 255, .16) 70%, transparent);
  -webkit-mask: linear-gradient(90deg, #000 calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), #000 calc(50% + 16px));
  mask: linear-gradient(90deg, #000 calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), #000 calc(50% + 16px));
  filter: none; animation: none; }
.tear::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%) rotate(45deg);
  background: var(--volt); box-shadow: 0 0 10px rgba(73, 222, 12, .7), 0 0 26px rgba(73, 222, 12, .25); filter: none; border-radius: 1px; }
@media (max-width: 600px) { .tear, .tear.flip { height: 64px; } .tear::before { width: 60%; } }
/* the band's top highlight fades in, so the divider has no visible edge below it */
.band::before { -webkit-mask: linear-gradient(180deg, transparent, #000 260px); mask: linear-gradient(180deg, transparent, #000 260px); }

/* ================= 2026-11-03 (round 9) ================= */
/* No dividers: the bands fade in and out of the page colour, so sections meet without a line */
.band { background: linear-gradient(180deg, var(--ground) 0, var(--ink-1) 180px, var(--ink-1) calc(100% - 180px), var(--ground) 100%); }

/* Live: the table (5 spots) and the queue for the next deal */
.st-table-ui { position: absolute; left: 16px; bottom: 12px; z-index: 5; display: grid; gap: 8px; justify-items: start; max-width: 62%; }
.st-table-ui .st-spots { position: static; max-width: none; }
.st-queue { display: flex; align-items: center; gap: 4px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(10, 10, 12, .72); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .1); }
.sq-l { font-family: var(--mono); font-size: .54rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-right: 4px; }
.sq-a { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .44rem; font-weight: 700; color: #0b0b0e; background: var(--c); margin-left: -6px; box-shadow: 0 0 0 2px rgba(10, 10, 12, .9); }
.sq-a:first-of-type { margin-left: 0; }
.sq-more { font-family: var(--mono); font-size: .56rem; color: var(--soft); margin-left: 6px; }
.st-msg { animation-duration: .28s; }
@media (max-width: 600px) {
  .st-table-ui { left: 10px; bottom: 8px; gap: 5px; }
  .st-queue { padding: 3px 8px 3px 6px; }
  .sq-a { width: 16px; height: 16px; font-size: .38rem; }
  .sq-l, .sq-more { font-size: .48rem; }
  .st-chat { bottom: 78px; }
}

/* ================= 2026-11-03 (round 10): the Live stream on every phone ================= */
/* The host still sits behind the video, so the stream is never an empty box (a phone that cannot play the
   video, or before it loads, shows the still). */
.stream2 { background-color: #12080a; background-position: 50% 40%; background-size: cover; background-repeat: no-repeat; }
@media (max-width: 600px) { .stream2 { background-position: 42% 40%; } }
/* Older iPhones (iOS 14 and before) have no aspect-ratio: give the box its height another way */
@supports not (aspect-ratio: 1 / 1) {
  .stream2 { height: 0; padding-top: 62.5%; }
  @media (max-width: 900px) { .stream2 { padding-top: 62.5%; } }
  @media (max-width: 600px) { .stream2 { padding-top: 85%; } }
  @media (min-width: 901px) { .stream2 { height: auto; padding-top: 0; min-height: 420px; } }
}
.stream2 video.st-cam { background: transparent; }
.stream2 video.st-cam.failed { display: none; }

/* Safari/iOS WebKit: with the grid's align-items: stretch, a box that has aspect-ratio and only absolutely positioned
   children collapses to 0x0 (the stream box was a dot on iPhone). On one-column layouts, align it to the top so the
   aspect ratio gives it its height, and give it its full width. */
@media (max-width: 900px) { .stream2 { align-self: start; justify-self: stretch; width: 100%; min-width: 0; } }

/* ================= 2026-11-03 (round 11): client sites that open ================= */
/* Phones have no hover: the clickable logos show their small arrow all the time */
@media (hover: none) { .lg-tile:not(.static) .lg-go { opacity: .75; transform: none; width: 22px; height: 22px; right: 9px; top: 8px; } }
@media (hover: none) and (max-width: 560px) {
  .clients .lg-tile:not(.static) .lg-go { display: grid; width: 15px; height: 15px; right: 4px; top: 4px; opacity: .7; }
  .clients .lg-tile:not(.static) .lg-go svg { width: 8px; height: 8px; }
}

/* ================= 2026-11-04 (round 12): 38 clients, all clickable ================= */
/* snag.rip and loot.rip now take two cells; their heavy capitals read larger than the rest, so a touch smaller */
.clients .lg-tile[href="https://snag.rip"] img, .clients .lg-tile[href="https://loot.rip"] img { max-height: 31px; }
@media (max-width: 560px) { .clients .lg-tile[href="https://snag.rip"] img, .clients .lg-tile[href="https://loot.rip"] img { max-height: 20px; } }

/* ================= 2026-11-05 (round 13): the top bar scrolls away on phones and tablets ================= */
/* Hristo: on mobile the bar (logo, menu, Demo) stays at the top of the page and does not follow the scroll */
@media (max-width: 920px) { .nav { position: relative; top: auto; } }
