/* =========================================================
   TOKESLA — styles
   ========================================================= */

:root {
  --bg: #04050a;
  --bg-2: #080b14;
  --bg-3: #0d111c;
  --ink: #f5f2ec;
  --ink-2: #c9ccd4;
  --muted: #8a90a0;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --ember: #ff5b1f;
  --ember-2: #ff8a3d;
  --flame: #ffc46b;
  --blood: #c4160e;
  --ice: #9fd8ff;
  --up: #63f59a;
  --down: #ff4d4d;
  --fire: linear-gradient(180deg, #fff6e0 0%, #ffc46b 30%, #ff7a2f 62%, #d8230f 100%);
  --fire-x: linear-gradient(90deg, #ffc46b, #ff7a2f 45%, #ff3d1a);
  --radius: 22px;
  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; height: 100vh; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ember); color: #120400; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--flame), var(--ember)); border-radius: 10px; border: 3px solid var(--bg); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- custom cursor ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 1001; opacity: 0; transition: opacity .3s; }
html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { opacity: 1; }
html.cursor-hidden .cursor-dot, html.cursor-hidden .cursor-ring { opacity: 0; }
.cursor-dot {
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #fff3d6;
  box-shadow: 0 0 10px 2px rgba(255, 140, 60, .9), 0 0 26px 6px rgba(255, 70, 20, .45);
}
.cursor-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  will-change: transform;
}
.cursor-ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255, 196, 107, .55);
  transition: transform .45s var(--ease), background .35s, border-color .35s;
}
.cursor-ring.is-hover::before { transform: scale(1.9); background: rgba(255, 91, 31, .12); border-color: rgba(255, 140, 60, .9); }
.cursor-ring.is-down::before { transform: scale(.7); }
.cursor-ring.is-hover.is-down::before { transform: scale(1.5); }
.cursor-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6);
  font: 700 10px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
  color: #fff3d6; opacity: 0; white-space: nowrap;
  transition: opacity .3s, transform .45s var(--ease);
}
.cursor-ring.has-label .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; }

/* ---------- grain + progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 4%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 998; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--fire-x); box-shadow: 0 0 12px rgba(255, 91, 31, .9);
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1002;
  transform: translate(-50%, 140%); opacity: 0;
  padding: 14px 22px; border-radius: 999px; max-width: calc(100vw - 32px);
  font: 600 14px/1.3 var(--f-body); letter-spacing: .01em; text-align: center;
  background: rgba(16, 12, 10, .85); border: 1px solid rgba(255, 140, 60, .4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -20px rgba(255, 91, 31, .7);
  transition: transform .6s var(--ease), opacity .4s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 2000;
  background:
    radial-gradient(60% 50% at 50% 70%, rgba(255, 91, 31, .14), transparent 70%),
    radial-gradient(120% 80% at 50% 0%, #0b1020 0%, var(--bg) 60%);
  display: grid; place-items: center; overflow: hidden;
  clip-path: inset(0 0 0 0);
  --p: 0;
}
.loader__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__moon {
  position: absolute; right: 9vw; top: 10vh; width: clamp(70px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .95), rgba(214, 222, 240, .9) 40%, rgba(150, 160, 185, .85) 75%),
    #cfd6e6;
  box-shadow: 0 0 60px 10px rgba(180, 200, 255, .25), 0 0 160px 40px rgba(120, 150, 255, .12);
  opacity: .85;
  animation: moonFloat 6s ease-in-out infinite;
}
.loader__moon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 62% 40%, rgba(110, 120, 145, .45) 0 9%, transparent 10%),
    radial-gradient(circle at 40% 66%, rgba(110, 120, 145, .4) 0 12%, transparent 13%),
    radial-gradient(circle at 30% 30%, rgba(110, 120, 145, .3) 0 6%, transparent 7%),
    radial-gradient(circle at 70% 72%, rgba(110, 120, 145, .3) 0 5%, transparent 6%);
}
@keyframes moonFloat { 50% { transform: translateY(-10px); } }

.loader__top, .loader__bottom {
  position: absolute; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; gap: 16px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.loader__top { top: 28px; }
.loader__bottom { bottom: 28px; }
.loader__center { position: relative; z-index: 2; width: min(640px, 86vw); text-align: center; }

.loader__word { position: relative; font: 900 clamp(44px, 11vw, 120px)/1 var(--f-display); letter-spacing: -.04em; }
.loader__word-outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
.loader__word-fill {
  position: absolute; inset: 0;
  background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0);
  filter: drop-shadow(0 0 24px rgba(255, 91, 31, .55));
}

.joint { position: relative; height: 26px; margin: 48px auto 0; display: flex; align-items: center; }
.joint__filter {
  width: 14%; height: 70%;
  background: repeating-linear-gradient(90deg, #e1cfae 0 3px, #bea47a 3px 6px);
  border-radius: 4px 0 0 4px;
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, .35), inset 0 2px 2px rgba(255, 255, 255, .35);
}
.joint__body { position: relative; flex: 1; height: 100%; clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%); }
.joint__paper {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc((1 - var(--p)) * 100%);
  background:
    repeating-linear-gradient(100deg, rgba(0, 0, 0, .04) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #fdf8ec 0%, #f0e5ce 45%, #c9b691 100%);
}
.joint__paper::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 34px;
  background: linear-gradient(90deg, transparent, #5a3b22 55%, #1b120c);
}
.joint__ember {
  position: absolute; top: 50%; left: calc(14% + 86% * (1 - var(--p)));
  width: 20px; height: 30px; border-radius: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, #fff4d4 0%, #ffb04a 30%, #ff5b1f 60%, #8f1408 100%);
  box-shadow: 0 0 24px 8px rgba(255, 110, 40, .75), 0 0 80px 30px rgba(255, 60, 20, .3);
  animation: flicker .14s infinite alternate;
}
@keyframes flicker { from { opacity: .82; filter: brightness(.95); } to { opacity: 1; filter: brightness(1.25); } }

.loader__meta {
  margin-top: 26px; display: flex; justify-content: space-between; align-items: baseline;
  font: 400 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.loader__log i { color: var(--ember); font-style: normal; }
.blink { animation: blink 1s steps(1) infinite; color: var(--ember); }
@keyframes blink { 50% { opacity: 0; } }
.loader__num { font: 600 13px/1 var(--f-mono); color: var(--muted); }
.loader__num b { font: 700 30px/1 var(--f-display); color: var(--ink); margin-right: 2px; font-variant-numeric: tabular-nums; }
.loader__flash {
  position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 55%, #fff6e0 0%, #ffb04a 25%, #ff5b1f 50%, #2a0602 100%);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(6, 7, 12, .6);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 10px; font: 900 18px/1 var(--f-display); letter-spacing: -.02em; }
.mark { width: 34px; height: 34px; color: var(--ink); }
.mark__ember { fill: var(--ember); filter: drop-shadow(0 0 6px rgba(255, 91, 31, .9)); animation: flicker .2s infinite alternate; }
.nav__links { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.nav__links a {
  position: relative; padding: 9px 16px; border-radius: 999px;
  font: 500 14px/1 var(--f-body); color: var(--ink-2);
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.icon-btn:hover { background: var(--ember); border-color: var(--ember); color: #140600; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 30px; border-radius: 999px;
  font: 700 15px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  isolation: isolate; overflow: hidden;
  transition: box-shadow .4s, color .4s;
}
.btn__txt { position: relative; display: inline-flex; align-items: center; gap: 10px; pointer-events: none; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 13px; }
.btn--fire {
  color: #170700;
  background: linear-gradient(180deg, #ffd690 0%, #ff8a3d 50%, #ff4a12 100%);
  box-shadow: 0 12px 40px -12px rgba(255, 91, 31, .9), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 6px rgba(150, 20, 0, .35);
}
.btn--fire::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--fire:hover::before { transform: translateX(120%); }
.btn--fire:hover { box-shadow: 0 18px 60px -10px rgba(255, 91, 31, 1), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--ghost {
  color: var(--ink); border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fire-x); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn--ghost:hover { color: #170700; border-color: transparent; }
.btn--ghost:hover::before { transform: translateY(0); }
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.is-pending { opacity: .92; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__zoom { position: absolute; inset: 0; will-change: transform; }
.hero__float { position: absolute; inset: -4%; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 24%; }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(4, 5, 10, .82) 22%, rgba(4, 5, 10, .25) 52%, transparent 70%),
    linear-gradient(to bottom, rgba(4, 5, 10, .55) 0%, transparent 18%),
    radial-gradient(70% 70% at 0% 100%, rgba(4, 5, 10, .75), transparent 70%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(70px, 11vh, 130px);
  max-width: 1320px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 18px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(10, 12, 20, .5); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ember); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

.hero__title {
  margin: 0; display: flex; overflow: hidden; padding: .04em 0 .02em;
  font: 900 clamp(58px, 13.6vw, 236px)/.86 var(--f-display); letter-spacing: -.055em;
  margin-left: -.04em;
}
.hero__title .char {
  display: inline-block;
  background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255, 70, 20, .35));
  will-change: transform;
}
.hero__sub { max-width: 560px; margin: 22px 0 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.hero__sub em, .lead em { font-style: normal; color: var(--flame); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.ca-pill {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; max-width: 100%;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(10, 12, 20, .55); border: 1px dashed rgba(255, 196, 107, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .3s, background .3s;
}
.ca-pill:hover { border-color: var(--ember); background: rgba(255, 91, 31, .1); }
.ca-pill__label { padding: 6px 10px; border-radius: 999px; background: var(--ember); color: #170700; font: 700 11px/1 var(--f-display); letter-spacing: .08em; }
.ca-pill__value { font: 400 13px/1 var(--f-mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-pill__icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; color: var(--flame); }

.hero__hud {
  position: absolute; right: var(--gutter); bottom: clamp(70px, 11vh, 130px);
  width: 260px; padding: 18px 20px; border-radius: 18px;
  background: rgba(8, 10, 18, .55); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.hud__row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hud__row span { font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hud__row b { font: 600 16px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.hud__status { display: flex; align-items: center; gap: 8px; padding-top: 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

[data-status] i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
[data-status][data-state="indexing"] i { background: var(--flame); box-shadow: 0 0 10px var(--flame); animation: blink 1s steps(1) infinite; }
[data-status][data-state="live"] i { background: var(--up); box-shadow: 0 0 12px var(--up); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 2px var(--up); opacity: .6; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 400 10px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--ember), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff3d6; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

.up { color: var(--up); }
.down { color: var(--down); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { position: relative; z-index: 2; padding: 40px 0; overflow: hidden; margin-top: -30px; }
.marquee__row {
  overflow: hidden; transform: rotate(-2.2deg); margin: 0 -2vw;
  background: var(--fire-x); color: #170700;
  box-shadow: 0 20px 80px -20px rgba(255, 91, 31, .7);
}
.marquee__row--alt {
  transform: rotate(1.6deg); margin-top: -8px;
  background: #0c0f18; color: var(--ink); border-block: 1px solid var(--line-2); box-shadow: none;
}
.marquee__track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 16px 14px; will-change: transform; }
.marquee__track span { font: 900 clamp(22px, 3vw, 40px)/1 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.marquee__row--alt .marquee__track span { font-weight: 500; font-size: clamp(16px, 2vw, 24px); }
.marquee__track i { font-style: normal; font-size: .9em; opacity: .7; }
.marquee__row--alt .marquee__track i { color: var(--ember); }

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section { position: relative; padding: clamp(100px, 13vw, 180px) 0; }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ember-2);
}
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.h2 { margin: 0; font: 700 clamp(38px, 6.4vw, 92px)/.98 var(--f-display); letter-spacing: -.045em; }
.h2 em, .community__title em { font-style: normal; color: var(--ember-2); }
.h2 em .wi, .community__title em .wi { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }

.card {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transform-style: preserve-3d;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 47, .16), transparent 45%);
  opacity: 0; transition: opacity .45s;
}
.card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 160, 80, .85), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .45s;
}
.card:hover::before, .card:hover::after { opacity: 1; }

.spec__label { display: block; font: 500 11px/1.2 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   VEHICLE
   ========================================================= */
.vehicle { background: radial-gradient(70% 50% at 85% 20%, rgba(159, 216, 255, .06), transparent 70%); }
.vehicle__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.vehicle__lore p { color: var(--ink-2); margin: 0 0 20px; max-width: 520px; }
.vehicle__lore .lead { font: 500 clamp(22px, 2.3vw, 30px)/1.3 var(--f-body); color: var(--ink); letter-spacing: -.01em; }

.blueprint {
  position: relative; margin: 0; aspect-ratio: 1; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(255, 91, 31, .45), 0 0 0 1px rgba(255, 255, 255, .03);
  transform-style: preserve-3d;
}
.blueprint img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.blueprint__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(159, 216, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 216, 255, .12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 85%);
}
.blueprint__scan {
  position: absolute; left: 0; right: 0; height: 30%; top: -30%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(159, 216, 255, .14) 80%, rgba(159, 216, 255, .5) 100%);
  animation: scan 4.5s linear infinite;
}
@keyframes scan { to { top: 100%; } }
.blueprint figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between;
  font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.callout { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.callout i {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--ice); box-shadow: 0 0 12px var(--ice);
}
.callout i::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ice); animation: blink 1.4s steps(1) infinite; }
.callout em {
  position: absolute; top: -34px; right: 10px; white-space: nowrap;
  padding: 6px 10px; border-radius: 8px; font: 500 10px/1 var(--f-mono); font-style: normal;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ice);
  background: rgba(4, 8, 16, .72); border: 1px solid rgba(159, 216, 255, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.callout em::after { content: ''; position: absolute; right: -9px; bottom: -16px; width: 1px; height: 22px; background: rgba(159, 216, 255, .6); transform: rotate(-40deg); transform-origin: top; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(60px, 8vw, 110px); }
.spec { padding: 28px; min-height: 220px; display: flex; flex-direction: column; }
.spec__value {
  display: block; margin: auto 0 10px; padding-top: 30px;
  font: 900 clamp(48px, 5.5vw, 76px)/1 var(--f-display); letter-spacing: -.05em;
  background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec__value small { font-size: .4em; letter-spacing: 0; margin-left: 4px; }
.spec p { margin: 0; color: var(--muted); font-size: 15px; }

/* =========================================================
   TELEMETRY
   ========================================================= */
.telemetry {
  background:
    radial-gradient(50% 40% at 20% 30%, rgba(255, 91, 31, .08), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
}
.telemetry::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.status small { color: var(--muted); letter-spacing: .08em; text-transform: none; }

.tele { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; }
.gauge { padding: 28px; display: flex; flex-direction: column; }
.gauge__head { display: flex; justify-content: space-between; align-items: center; }
.gauge__logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.gauge__svg { width: 100%; margin: 14px auto 0; max-width: 440px; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 14; stroke-linecap: round; }
.gauge__arc { fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.gauge__ticks line { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.gauge__ticks line.major { stroke: rgba(255, 255, 255, .6); stroke-width: 2; }
.gauge__ticks text { fill: var(--muted); font: 500 9px var(--f-mono); letter-spacing: .05em; text-anchor: middle; dominant-baseline: middle; }
.gauge__needle { transform-origin: 150px 140px; transform-box: view-box; transform: rotate(-120deg); }
.gauge__needle path { fill: #fff3d6; filter: drop-shadow(0 0 6px rgba(255, 140, 60, .9)); }
.gauge__hub { fill: #0b0d14; stroke: var(--ember); stroke-width: 3; }
.gauge__readout { text-align: center; margin-top: -6px; }
.gauge__readout b { display: block; font: 900 clamp(34px, 4vw, 54px)/1.05 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gauge__readout span { display: block; margin-top: 8px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-2); }

.tele__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.metric { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 160px; }
.metric__value { margin-top: auto; font: 700 clamp(26px, 2.6vw, 38px)/1.05 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; word-break: break-word; }
.metric__value sub { font-size: .55em; vertical-align: -.2em; margin: 0 .04em; color: var(--ember-2); }
.metric__sub { font: 400 12px/1.2 var(--f-mono); color: var(--muted); letter-spacing: .06em; }
.is-tick-up { animation: tickUp .9s ease-out; }
.is-tick-down { animation: tickDown .9s ease-out; }
@keyframes tickUp { 0% { color: var(--up); text-shadow: 0 0 18px var(--up); } }
@keyframes tickDown { 0% { color: var(--down); text-shadow: 0 0 18px var(--down); } }

.txbar { position: relative; height: 12px; margin-top: auto; border-radius: 999px; overflow: hidden; background: rgba(255, 77, 77, .65); }
.txbar__buy { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--up); box-shadow: 0 0 16px var(--up); transition: width 1.2s var(--ease); }
.txbar__legend { display: flex; justify-content: space-between; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.txbar__legend b { font-weight: 600; margin-left: 4px; }

.ca-block { margin-top: 16px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ca-block__info { min-width: 0; flex: 1 1 340px; }
.ca-block code { display: block; margin-top: 10px; font: 500 clamp(13px, 1.4vw, 18px)/1.3 var(--f-mono); color: var(--ink); word-break: break-all; }
.ca-block__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.note { margin: 22px 0 0; font: 400 12px/1.5 var(--f-mono); letter-spacing: .06em; color: var(--muted); text-align: center; }

/* =========================================================
   BOARDING
   ========================================================= */
.passes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pass { padding: 24px; display: flex; flex-direction: column; min-height: 400px; overflow: hidden; }
.pass__top, .pass__bottom { display: flex; justify-content: space-between; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pass__num {
  display: block; margin: 26px 0 16px; font: 900 84px/.9 var(--f-display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 140, 60, .7);
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.pass:hover .pass__num { color: var(--ember); -webkit-text-stroke-color: transparent; text-shadow: 0 0 40px rgba(255, 91, 31, .6); }
.pass h3 { margin: 0 0 10px; font: 700 21px/1.15 var(--f-display); letter-spacing: -.02em; }
.pass p { margin: 0; color: var(--muted); font-size: 15px; }
.pass__perf { position: relative; margin: auto -24px 18px; padding-top: 24px; }
.pass__perf::before { content: ''; display: block; border-top: 2px dashed rgba(255, 255, 255, .14); }
.pass__perf::after { content: ''; position: absolute; left: -12px; right: -12px; bottom: -11px; height: 22px; background: radial-gradient(circle at 0 50%, var(--bg) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--bg) 10px, transparent 11px); }
.pass--final { background: linear-gradient(180deg, rgba(255, 91, 31, .16), rgba(255, 91, 31, .03)); border-color: rgba(255, 122, 47, .35); }
.pass--final .btn { align-self: flex-start; }

/* =========================================================
   FUEL
   ========================================================= */
.fuel__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.fuel__visual { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin: 0 auto; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.donut__track { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 22; }
.donut__arc { fill: none; stroke: url(#gaugeGrad); stroke-width: 22; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 14px rgba(255, 91, 31, .6)); }
.donut__inner { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; stroke-dasharray: 2 4; }
.donut__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__label b { font: 900 clamp(48px, 6vw, 84px)/1 var(--f-display); letter-spacing: -.05em; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.donut__label > span { font: 500 12px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.fuel__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile { padding: 22px 24px; }
.tile b { display: block; margin-top: 14px; font: 700 clamp(18px, 1.9vw, 26px)/1.1 var(--f-display); letter-spacing: -.02em; }

/* =========================================================
   FLIGHT PLAN
   ========================================================= */
.flight { overflow: hidden; background: radial-gradient(60% 40% at 85% 6%, rgba(160, 190, 255, .1), transparent 70%); }
.flight::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, #fff, transparent), radial-gradient(1px 1px at 75% 45%, #fff, transparent),
    radial-gradient(1px 1px at 90% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 20% 90%, #fff, transparent),
    radial-gradient(1px 1px at 45% 55%, #fff, transparent), radial-gradient(1px 1px at 65% 92%, #fff, transparent);
  background-size: 420px 420px;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .3; } }
.flight__moon {
  position: absolute; right: -6vw; top: 4%; width: clamp(200px, 30vw, 460px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #dfe5f2 35%, #a5afc6 70%, #6f7890 100%);
  box-shadow: 0 0 100px 20px rgba(170, 195, 255, .18), 0 0 260px 80px rgba(120, 150, 255, .08), inset -30px -30px 80px rgba(0, 0, 0, .35);
  opacity: .9;
}
.flight__moon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 62% 40%, rgba(100, 110, 135, .45) 0 8%, transparent 9%),
    radial-gradient(circle at 40% 66%, rgba(100, 110, 135, .4) 0 11%, transparent 12%),
    radial-gradient(circle at 28% 32%, rgba(100, 110, 135, .3) 0 5%, transparent 6%),
    radial-gradient(circle at 72% 72%, rgba(100, 110, 135, .3) 0 4%, transparent 5%),
    radial-gradient(circle at 50% 20%, rgba(100, 110, 135, .25) 0 3%, transparent 4%);
}
.route { position: relative; display: flex; flex-direction: column; gap: clamp(40px, 7vw, 90px); padding: 20px 0; }
.route__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 90px; transform: translateX(-50%); pointer-events: none; }
.route__line svg { width: 100%; height: 100%; overflow: visible; }
.route__base { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; stroke-dasharray: 4 8; vector-effect: non-scaling-stroke; }
.route__path { fill: none; stroke: url(#gaugeGrad); stroke: var(--ember); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 91, 31, .9)); }
.route__comet {
  position: absolute; left: 50%; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: radial-gradient(circle, #fff6e0 0%, #ffb04a 35%, #ff5b1f 60%, transparent 72%);
  box-shadow: 0 0 30px 10px rgba(255, 91, 31, .6), 0 0 80px 30px rgba(255, 60, 20, .25);
}
.phase { width: calc(50% - 80px); padding: 30px; transition: border-color .6s, box-shadow .6s, opacity .6s; opacity: .45; }
.phase:nth-of-type(even) { margin-left: auto; }
.phase.is-active { opacity: 1; border-color: rgba(255, 122, 47, .45); box-shadow: 0 30px 90px -40px rgba(255, 91, 31, .7); }
.phase__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: all .5s; }
.phase.is-active .phase__tag { background: var(--ember); border-color: var(--ember); color: #170700; }
.phase h3 { margin: 18px 0 14px; font: 900 clamp(28px, 3.2vw, 44px)/1 var(--f-display); letter-spacing: -.04em; }
.phase ul { list-style: none; margin: 0; padding: 0; color: var(--ink-2); }
.phase li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid var(--line); }
.phase li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 1.5px solid var(--ember); }
.phase.is-active li::before { background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.phase--moon h3 { background: linear-gradient(180deg, #fff, #b8c4e0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   COMMUNITY
   ========================================================= */
.community { position: relative; padding: clamp(130px, 18vw, 240px) 0; overflow: hidden; text-align: center; isolation: isolate; }
.community__bg { position: absolute; inset: -10% 0; z-index: -1; }
.community__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scaleX(-1); filter: blur(3px) saturate(1.2) brightness(.45); }
.community__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(4, 5, 10, .35) 30%, rgba(4, 5, 10, .45) 70%, var(--bg)); }
.community__inner { display: flex; flex-direction: column; align-items: center; }
.community__title { margin: 0; font: 900 clamp(52px, 11vw, 176px)/.9 var(--f-display); letter-spacing: -.055em; text-transform: uppercase; }
.community__sub { max-width: 520px; margin: 26px auto 0; color: var(--ink-2); font-size: 18px; }
.community__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 50px; width: 100%; max-width: 1040px; }
.social {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; text-align: left;
  background: rgba(10, 12, 20, .55); border: 1px solid var(--line-2); overflow: hidden; isolation: isolate;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: color .45s, border-color .45s;
}
.social::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fire-x); transform: translateY(101%); transition: transform .6s var(--ease); }
.social:hover { color: #170700; border-color: transparent; }
.social:hover::before { transform: none; }
.social svg { width: 26px; height: 26px; fill: currentColor; flex: none; pointer-events: none; }
.social span { display: flex; flex-direction: column; font: 700 18px/1.1 var(--f-display); letter-spacing: -.02em; pointer-events: none; }
.social small { font: 500 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; opacity: .65; margin-bottom: 6px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; padding: 40px 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__word {
  font: 900 clamp(56px, 15.4vw, 250px)/.8 var(--f-display); letter-spacing: -.06em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, #fff6e0 0%, #ffc46b 14%, #ff7a2f 30%, #d8230f 44%, transparent 54%); -webkit-background-clip: text; background-clip: text;
  background-size: 100% 240%; background-position: 0 100%;
  margin: 10px 0 30px; user-select: none;
}
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 13px/1.4 var(--f-mono); color: var(--ink-2); }
.footer__row a:hover { color: var(--ember-2); }
.footer__legal { margin: 20px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 900px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero__hud { display: none; }
  .passes { grid-template-columns: repeat(2, 1fr); }
  .community__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .vehicle__grid, .tele, .fuel__grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .fuel__visual { max-width: 340px; }
  .route__line { left: 20px; width: 40px; transform: none; margin-left: -20px; }
  .phase, .phase:nth-of-type(even) { width: auto; margin-left: 46px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav__logo span { display: none; }
  .nav__actions .btn { padding: 0 16px; }
  .hero__img { object-position: 58% 40%; }
  .hero__content { bottom: 64px; }
  .hero__ctas .btn { flex: 1 1 auto; height: 54px; padding: 0 20px; }
  .hero__scroll { display: none; }
  .ca-pill { width: 100%; }
  .specs, .tele__cards, .passes, .fuel__tiles, .community__links { grid-template-columns: 1fr; }
  .spec { min-height: 180px; }
  .pass { min-height: 0; }
  .callout em { font-size: 8px; padding: 4px 6px; top: -28px; }
  .ca-block__actions, .ca-block__actions .btn { width: 100%; }
  .loader__meta { flex-direction: column; align-items: center; gap: 14px; }
}


/* Chrome doesn't repaint background-clip:text on parents when child text changes */
.spec__value > span, .donut__label b > span {
  display: inline-block;
  background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 420px) {
  .nav .btn [data-bind="symbol"] { display: none; }
  .nav__actions { gap: 8px; }
  .icon-btn { width: 40px; height: 40px; }
}
