@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

/* =========================================================
   BLACK HOLE — 3D LANDING ONLY
   The app/dashboard CSS is intentionally not touched here.
   ========================================================= */

:root {
  --bhx-bg: #020208;
  --bhx-panel: rgba(7, 8, 19, .64);
  --bhx-panel-strong: rgba(5, 6, 15, .83);
  --bhx-line: rgba(160, 133, 255, .18);
  --bhx-line-strong: rgba(151, 121, 255, .36);
  --bhx-text: #f5f3ff;
  --bhx-muted: #9796aa;
  --bhx-dim: #69687b;
  --bhx-violet: #8f66ff;
  --bhx-violet-2: #bb72ff;
  --bhx-cyan: #5de5ff;
  --bhx-blue: #5a7dff;
  --bhx-green: #5ce8bd;
}

html {
  scroll-behavior: smooth;
  background: var(--bhx-bg);
}

body.bhx-landing {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--bhx-text);
  background: var(--bhx-bg);
  font-family: Inter, var(--bh-font-body, system-ui, sans-serif);
}

body.bhx-landing *,
body.bhx-landing *::before,
body.bhx-landing *::after { box-sizing: border-box; }

body.bhx-landing a { color: inherit; text-decoration: none; }
body.bhx-landing button { font: inherit; }

/* ---------- Navigation ---------- */
.bh-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: 76px;
  padding: 17px clamp(20px, 3vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(2, 2, 8, .76), rgba(2, 2, 8, .16) 72%, transparent);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.bh-nav.is-scrolled {
  background: rgba(3, 3, 11, .76);
  border-bottom-color: rgba(255,255,255,.055);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.bh-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bh-nav__mark {
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #010107 0 40%, transparent 42%),
    conic-gradient(from 210deg, var(--bhx-cyan), var(--bhx-violet), #e476ff, var(--bhx-cyan));
  box-shadow: 0 0 18px rgba(125, 93, 255, .4);
}

.bh-nav__mark::after {
  content: "";
  position: absolute;
  inset: 3px -4px;
  border: 1px solid rgba(126, 222, 255, .42);
  border-radius: 50%;
  transform: rotate(-16deg) scaleY(.42);
}

.bh-nav__links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 42px);
}

.bh-nav__links a,
.bh-nav__login {
  position: relative;
  color: #aaa8bb;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .2s ease;
}

.bh-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--bhx-cyan), var(--bhx-violet));
  transition: right .25s ease;
}

.bh-nav__links a:hover,
.bh-nav__login:hover { color: #fff; }
.bh-nav__links a:hover::after { right: 0; }

.bh-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.bh-nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(7,8,18,.7);
  cursor: pointer;
}

.bh-nav__toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: #eceaf5;
  border-radius: 4px;
  transition: transform .25s ease, opacity .25s ease;
}
.bh-nav__toggle span:nth-child(1) { top: 14px; }
.bh-nav__toggle span:nth-child(2) { top: 21px; }
.bh-nav__toggle span:nth-child(3) { top: 28px; }
.bh-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bh-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bh-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bh-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  padding: 100px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  background: rgba(2,2,9,.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.bh-mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.bh-mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #dddae8;
  font-size: 20px;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.bhx-btn {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  transition: transform .24s cubic-bezier(.22,.8,.22,1), border-color .24s ease, background .24s ease, box-shadow .24s ease, color .24s ease;
}

.bhx-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
  opacity: .75;
  z-index: -1;
}

.bhx-btn::after {
  content: "";
  position: absolute;
  top: -130%;
  left: -30%;
  width: 46%;
  height: 360%;
  transform: rotate(24deg) translateX(-180%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  opacity: 0;
  transition: transform .7s cubic-bezier(.2,.75,.2,1), opacity .3s ease;
  z-index: -1;
}

.bhx-btn:hover,
.bhx-btn:focus-visible {
  transform: translateY(-2px);
}

.bhx-btn:hover::after,
.bhx-btn:focus-visible::after {
  opacity: .95;
  transform: rotate(24deg) translateX(420%);
}

.bhx-btn span[aria-hidden="true"] {
  transition: transform .24s ease, opacity .24s ease;
}

.bhx-btn:hover span[aria-hidden="true"],
.bhx-btn:focus-visible span[aria-hidden="true"] {
  transform: translateX(2px) translateY(-1px);
}

.bhx-btn:active {
  transform: translateY(0) scale(.988);
}

.bhx-btn--primary {
  color: #fbfbff;
  border-color: rgba(166, 134, 255, .36);
  background:
    radial-gradient(circle at 18% 24%, rgba(175, 146, 255, .34), transparent 34%),
    linear-gradient(135deg, #0a0816 0%, #171133 34%, #341971 68%, #6d3cff 100%);
  box-shadow: 0 18px 48px rgba(72, 34, 168, .34), 0 0 0 1px rgba(150,120,255,.08), inset 0 1px rgba(255,255,255,.16);
}

.bhx-btn--primary:hover,
.bhx-btn--primary:focus-visible {
  border-color: rgba(190, 164, 255, .52);
  box-shadow: 0 22px 60px rgba(86, 41, 196, .42), 0 0 28px rgba(118, 73, 255, .22), inset 0 1px rgba(255,255,255,.2);
}

.bhx-btn--glass,
.bhx-btn--quiet {
  color: #ebe8f8;
  border-color: rgba(132, 110, 210, .26);
  background:
    radial-gradient(circle at 18% 22%, rgba(114, 80, 214, .18), transparent 32%),
    linear-gradient(135deg, rgba(10,11,24,.86), rgba(18,15,39,.78));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.06);
}

.bhx-btn--glass:hover,
.bhx-btn--glass:focus-visible,
.bhx-btn--quiet:hover,
.bhx-btn--quiet:focus-visible {
  color: #f6f2ff;
  border-color: rgba(172, 138, 255, .42);
  background:
    radial-gradient(circle at 18% 22%, rgba(132, 97, 244, .26), transparent 34%),
    linear-gradient(135deg, rgba(15,16,32,.92), rgba(28,19,58,.86));
  box-shadow: 0 18px 42px rgba(19, 10, 48, .34), 0 0 26px rgba(120,82,255,.12), inset 0 1px rgba(255,255,255,.08);
}

/* ---------- Fixed 3D world ---------- */
.bhx-cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #020208;
}

.bhx-cosmos__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 42%, rgba(77,43,159,.13), transparent 23%),
    radial-gradient(circle at 71% 55%, rgba(49,91,198,.1), transparent 28%),
    radial-gradient(circle at 20% 63%, rgba(103,44,130,.08), transparent 30%),
    linear-gradient(180deg, #05040d 0%, #020208 55%, #020207 100%);
}

#bh-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.bhx-cosmos.is-3d-ready #bh-3d-canvas { opacity: 1; }

.bhx-cosmos__mist {
  position: absolute;
  width: 58vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .13;
  mix-blend-mode: screen;
}
.bhx-cosmos__mist--one { left: -20vw; top: 20vh; background: #361a86; }
.bhx-cosmos__mist--two { right: -24vw; bottom: -10vh; background: #123b78; }

.bhx-cosmos__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,2,8,.58), transparent 28%, transparent 72%, rgba(2,2,8,.46)),
    radial-gradient(ellipse at center, transparent 35%, rgba(1,1,6,.2) 70%, rgba(1,1,6,.7) 100%);
}

.bhx-model-fallback {
  position: absolute;
  left: 50%;
  top: 51%;
  width: min(58vw, 850px);
  aspect-ratio: 1.8;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: .8;
  transition: opacity .8s ease, transform .8s ease;
}
.bhx-cosmos.is-3d-ready .bhx-model-fallback { opacity: 0; transform: translate(-50%,-50%) scale(.9) rotate(-8deg); }
.bhx-model-fallback__halo,
.bhx-model-fallback__disk,
.bhx-model-fallback__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; }
.bhx-model-fallback__halo {
  width: 84%; height: 44%;
  border: 1px solid rgba(140,89,255,.42);
  box-shadow: 0 0 60px rgba(110,69,255,.22), inset 0 0 50px rgba(128,70,255,.14);
  filter: blur(2px);
}
.bhx-model-fallback__disk {
  width: 100%; height: 26%;
  border: 2px solid rgba(179,104,255,.55);
  box-shadow: 0 0 16px rgba(168,80,255,.5), 0 0 65px rgba(84,94,255,.22);
}
.bhx-model-fallback__core {
  width: 22%; aspect-ratio: 1;
  background: #000;
  box-shadow: 0 0 0 2px rgba(171,112,255,.38), 0 0 36px rgba(141,76,255,.38);
}

.bhx-model-status {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 999px;
  color: #77768a;
  background: rgba(5,6,15,.5);
  backdrop-filter: blur(10px);
  font: 500 9px/1 DM Mono, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity .35s ease;
}
.bhx-cosmos.is-3d-ready .bhx-model-status { opacity: 0; }
.bhx-model-status.is-error { color: #a29eb0; }
.bhx-model-status__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #9173ff;
  box-shadow: 0 0 10px rgba(145,115,255,.8);
  animation: bhx-pulse 1.2s ease-in-out infinite;
}
@keyframes bhx-pulse { 50% { opacity: .35; transform: scale(.76); } }

/* ---------- Story ---------- */
.bhx-story {
  position: relative;
  z-index: 2;
}

.bhx-scene {
  position: relative;
  min-height: 112svh;
  padding: 120px clamp(24px, 7vw, 112px) 80px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.bhx-scene::before {
  content: "";
  position: absolute;
  inset: 8% 3.4%;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 30px;
  opacity: 0;
  transition: opacity .7s ease;
}

.bhx-scene--hero {
  min-height: 126svh;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: clamp(126px, 16vh, 175px);
}

.bhx-hero-copy {
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bhx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aaa7b7;
  font: 500 10px/1.4 DM Mono, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bhx-kicker > span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bhx-cyan);
  box-shadow: 0 0 11px rgba(93,229,255,.8);
}

.bhx-hero-copy h1 {
  margin: 17px 0 0;
  font-family: 'Inter Tight', Inter, system-ui, sans-serif;
  font-size: clamp(4rem, 10vw, 8.55rem);
  line-height: .86;
  font-weight: 800;
  letter-spacing: -.072em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f8f6ff 0%, #ddd5ff 38%, #a18dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(140, 101, 255, .16), 0 0 64px rgba(41, 21, 92, .16);
}

.bhx-hero-mantra {
  margin: 19px 0 0;
  color: #e5e2ed;
  font-size: clamp(.78rem, 1.3vw, 1rem);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.bhx-hero-mantra em { color: #a989ff; font-style: normal; }

.bhx-hero-lead {
  width: min(590px, 100%);
  margin: 18px auto 0;
  color: var(--bhx-muted);
  font-size: clamp(.93rem, 1.25vw, 1.08rem);
  line-height: 1.8;
}

.bhx-actions { margin-top: 29px; display: flex; justify-content: center; gap: 11px; flex-wrap: wrap; }
.bhx-actions--center { justify-content: center; }

.bhx-hero-dock {
  position: absolute;
  left: 50%;
  bottom: 7.8vh;
  transform: translateX(-50%);
  width: min(880px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(4,5,14,.5);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  box-shadow: 0 26px 80px rgba(0,0,0,.24);
}

.bhx-hero-dock article {
  min-width: 0;
  min-height: 112px;
  padding: 21px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,.06);
}
.bhx-hero-dock article:last-child { border-right: 0; }
.bhx-hero-dock small,
.bhx-card-topline,
.bhx-level-grid small,
.bhx-trade-card small,
.bhx-trade-card footer span,
.bhx-kpi-row small,
.bhx-insight span {
  color: #747287;
  font: 500 9px/1.4 DM Mono, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bhx-hero-dock strong { font-size: 13px; }
.bhx-hero-dock article > span { color: #777587; font-size: 11px; line-height: 1.5; }

.bhx-scroll-cue {
  position: absolute;
  left: clamp(22px, 4vw, 58px);
  bottom: 8vh;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
  color: #565466;
  font: 500 8px DM Mono, monospace;
  letter-spacing: .2em;
}
.bhx-scroll-cue i { width: 42px; height: 1px; background: linear-gradient(90deg, #5e5b6d, transparent); }

.bhx-scene--left { justify-content: flex-start; }
.bhx-scene--right { justify-content: flex-end; }

.bhx-scene-copy {
  position: relative;
  width: min(510px, 45vw);
  min-width: 0;
}

.bhx-scene-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  color: #8a66ff;
  font: 600 10px DM Mono, monospace;
  letter-spacing: .13em;
}
.bhx-scene-number::after { content: ""; width: 44px; height: 1px; background: rgba(143,102,255,.48); }
.bhx-scene-number span { color: #aaa7b7; }

.bhx-scene-copy h2,
.bhx-final h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 700;
  text-wrap: balance;
}
.bhx-scene-copy h2 em,
.bhx-final h2 em {
  color: #b79aff;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -.04em;
}

.bhx-scene-copy > p,
.bhx-final > p {
  max-width: 475px;
  margin: 20px 0 0;
  color: #9795a8;
  font-size: clamp(.94rem, 1.25vw, 1.04rem);
  line-height: 1.8;
}

.bhx-glass-card {
  border: 1px solid var(--bhx-line);
  background:
    linear-gradient(135deg, rgba(137,96,255,.055), transparent 40%),
    rgba(5,6,16,.68);
  box-shadow: 0 24px 70px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.025);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

/* Trade card */
.bhx-execution-card {
  margin-top: 31px;
  padding: 20px;
  border-radius: 18px;
}
.bhx-card-topline { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.bhx-live-dot { color: var(--bhx-green); }
.bhx-live-dot::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; vertical-align: 1px; }
.bhx-symbol-row { margin-top: 25px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bhx-symbol-row > div { display: flex; flex-direction: column; gap: 5px; }
.bhx-symbol-row strong { font-size: 25px; letter-spacing: -.03em; }
.bhx-symbol-row small { color: #696779; font: 500 9px DM Mono, monospace; letter-spacing: .11em; }
.bhx-symbol-row > b { color: #b69cff; font-size: 24px; letter-spacing: -.035em; }
.bhx-level-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.bhx-level-grid > div { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.055); border-radius: 10px; background: rgba(255,255,255,.02); }
.bhx-level-grid strong { display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; font: 500 12px DM Mono, monospace; color: #d8d5e2; }
.bhx-risk-line { margin-top: 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; color: #747183; font-size: 10px; }
.bhx-risk-line i { height: 3px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.bhx-risk-line i b { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bhx-cyan), var(--bhx-violet)); }
.bhx-risk-line strong { color: #dfdce9; font: 500 10px DM Mono, monospace; }

/* Journal cards */
.bhx-journal-stack { position: relative; height: 245px; margin-top: 31px; }
.bhx-trade-card { position: absolute; inset: 0 0 26px 0; z-index: 2; padding: 20px; border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.bhx-trade-card--back { z-index: 1; inset: 28px -10px 0 32px; opacity: .38; transform: rotate(2deg); }
.bhx-trade-card > div:first-child { display: flex; justify-content: space-between; align-items: flex-start; }
.bhx-trade-card > div:first-child small { color: #d9d6e5; font-size: 12px; }
.bhx-trade-card > div:first-child strong { color: #a787ff; font-size: 28px; }
.bhx-trade-card > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 7px; }
.bhx-trade-card > div:nth-child(2) span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; color: #878497; background: rgba(255,255,255,.02); font-size: 9px; }
.bhx-trade-card footer { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; justify-content: space-between; }
.bhx-trade-card footer b { color: #fff; font-size: 20px; }

/* Analytics */
.bhx-analytics-card { margin-top: 31px; padding: 20px; border-radius: 18px; }
.bhx-kpi-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 20px; }
.bhx-kpi-row > div { padding: 11px; border: 1px solid rgba(255,255,255,.05); border-radius: 9px; }
.bhx-kpi-row strong { display: block; margin-top: 6px; font-size: 19px; }
.bhx-chart { height: 118px; margin-top: 13px; color: #8b68ff; border-bottom: 1px solid rgba(255,255,255,.055); }
.bhx-chart svg { width: 100%; height: 100%; overflow: visible; }
.bhx-chart-fill { fill: url(#bhxChartFill); }
.bhx-chart-line { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 7px rgba(139,104,255,.5)); }
.bhx-insight { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.bhx-insight strong { color: #d5d2df; font-size: 10px; text-align: right; }

/* DNA */
.bhx-dna-card { margin-top: 31px; padding: 22px; border-radius: 18px; display: grid; grid-template-columns: 145px 1fr; gap: 22px; align-items: center; }
.bhx-grade-orbit { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle, rgba(128,83,255,.1), transparent 62%); }
.bhx-grade-orbit__ring { position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(134,103,255,.32); box-shadow: 0 0 24px rgba(121,78,255,.12), inset 0 0 24px rgba(121,78,255,.1); }
.bhx-grade-orbit__ring::before { content: ""; position: absolute; width: 7px; height: 7px; right: 11px; top: 20px; border-radius: 50%; background: var(--bhx-cyan); box-shadow: 0 0 10px rgba(93,229,255,.8); }
.bhx-grade-orbit strong { font-size: 35px; }
.bhx-grade-orbit small { margin-top: 5px; color: #777487; font: 500 8px DM Mono, monospace; letter-spacing: .1em; }
.bhx-dna-list { display: grid; gap: 10px; }
.bhx-dna-list > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.05); color: #848193; font-size: 10px; }
.bhx-dna-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.bhx-dna-list b { color: #ddd9e7; font: 500 11px DM Mono, monospace; }

/* Final */
.bhx-scene--final { min-height: 118svh; justify-content: center; text-align: center; }
.bhx-final { width: min(760px, 100%); display: flex; flex-direction: column; align-items: center; }
.bhx-final h2 { margin-top: 21px; font-size: clamp(4.2rem, 10vw, 9rem); line-height: .78; }
.bhx-final > p { margin-left: auto; margin-right: auto; }

/* ---------- Section progress ---------- */
.bhx-progress {
  position: fixed;
  z-index: 20;
  right: clamp(14px, 2.2vw, 33px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 11px;
}
.bhx-progress a { display: grid; grid-template-columns: 20px 17px; gap: 7px; align-items: center; color: #4d4b59; font: 500 7px DM Mono, monospace; transition: color .25s ease; }
.bhx-progress a i { position: relative; width: 17px; height: 1px; background: #44424f; transition: width .25s ease, background .25s ease; }
.bhx-progress a.is-active { color: #c5bfd7; }
.bhx-progress a.is-active i { width: 28px; background: linear-gradient(90deg, #8c6bff, #5fe0ff); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.bhx-anchor { position: absolute; top: 0; width: 1px; height: 1px; }

/* ---------- Event-horizon page transition used by app.js ---------- */
.bh-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #010104;
}
.bh-transition.is-active { opacity: 1; visibility: visible; animation: bhx-transition-in .7s cubic-bezier(.2,.75,.2,1) forwards; }
.bh-transition__ring { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #8a64ff; box-shadow: 0 0 40px rgba(129,83,255,.55); animation: bhx-ring-collapse .7s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes bhx-transition-in { from { opacity:0; } to { opacity:1; } }
@keyframes bhx-ring-collapse { 0%{transform:scale(1);opacity:.8} 65%{transform:scale(5);opacity:1} 100%{transform:scale(.02);opacity:0} }

/* ---------- Footer ---------- */
.bhx-footer {
  position: relative;
  z-index: 4;
  min-height: 110px;
  padding: 28px clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.055);
  background: rgba(2,2,8,.88);
}
.bhx-footer p { margin: 0; text-align: center; color: #555461; font-size: 9px; line-height: 1.6; }
.bhx-footer nav { display: flex; gap: 18px; color: #767382; font-size: 10px; }
.bhx-footer nav a:hover { color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .bh-nav { grid-template-columns: auto 1fr auto; padding-inline: 22px; }
  .bh-nav__links { display: none; }
  .bh-nav__actions { margin-left: auto; }
  .bh-nav__login { display: none; }
  .bh-nav__toggle { display: block; }

  .bhx-scene { padding-inline: 34px; }
  .bhx-scene-copy { width: min(470px, 58vw); }
  .bhx-progress { display: none; }
  .bhx-cosmos__vignette { background: radial-gradient(ellipse at center, transparent 24%, rgba(1,1,6,.2) 62%, rgba(1,1,6,.7) 100%); }
  .bhx-footer { grid-template-columns: 1fr auto; }
  .bhx-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .bh-nav { min-height: 68px; padding: 12px 16px; gap: 10px; }
  .bh-nav__brand { font-size: 11px; letter-spacing: .13em; }
  .bh-nav__mark { width: 23px; height: 23px; flex-basis: 23px; }
  .bh-nav__actions .bhx-btn { display: none; }
  .bh-nav__toggle { display: block; margin-left: auto; }

  .bh-mobile-menu { padding-inline: 20px; }

  .bhx-cosmos__vignette {
    background:
      linear-gradient(180deg, rgba(2,2,8,.16), transparent 25%, transparent 64%, rgba(2,2,8,.58)),
      radial-gradient(ellipse at 50% 42%, transparent 15%, rgba(1,1,6,.2) 53%, rgba(1,1,6,.7) 100%);
  }

  .bhx-model-fallback { top: 43%; width: 115vw; }
  .bhx-model-status { bottom: 14px; }

  .bhx-scene {
    min-height: 118svh;
    padding: 92px 18px 52px;
    align-items: flex-end;
  }

  .bhx-scene--hero {
    min-height: 128svh;
    padding: 105px 18px 52px;
    justify-content: flex-start;
    align-items: center;
  }

  .bhx-hero-copy h1 { font-size: clamp(4rem, 20vw, 6rem); letter-spacing: -.07em; }
  .bhx-hero-mantra { max-width: 340px; font-size: 10px; line-height: 1.8; letter-spacing: .14em; }
  .bhx-hero-lead { max-width: 370px; font-size: .9rem; line-height: 1.68; }
  .bhx-actions { width: 100%; max-width: 370px; gap: 8px; }
  .bhx-actions .bhx-btn { flex: 1 1 100%; width: 100%; min-height: 48px; }

  .bhx-hero-dock {
    bottom: 4.5vh;
    width: calc(100% - 30px);
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .bhx-hero-dock article { min-height: 66px; padding: 12px 15px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.055); gap: 3px; }
  .bhx-hero-dock article:last-child { border-bottom: 0; }
  .bhx-hero-dock article > span { display: none; }
  .bhx-scroll-cue { display: none; }

  .bhx-scene--left,
  .bhx-scene--right { justify-content: center; }
  .bhx-scene-copy {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(4,5,14,.5), rgba(4,5,14,.79));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .bhx-scene-copy h2 { font-size: clamp(2.65rem, 12vw, 4.2rem); }
  .bhx-scene-copy > p { margin-top: 14px; font-size: .9rem; line-height: 1.65; }

  .bhx-execution-card,
  .bhx-analytics-card,
  .bhx-dna-card,
  .bhx-journal-stack { margin-top: 22px; }

  .bhx-level-grid { grid-template-columns: 1fr; }
  .bhx-level-grid > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .bhx-level-grid strong { margin-top: 0; }
  .bhx-journal-stack { height: 225px; }
  .bhx-kpi-row strong { font-size: 16px; }
  .bhx-dna-card { grid-template-columns: 105px 1fr; gap: 14px; padding: 16px; }
  .bhx-grade-orbit strong { font-size: 27px; }

  .bhx-scene--final { align-items: center; min-height: 112svh; }
  .bhx-final h2 { font-size: clamp(4rem, 20vw, 6.5rem); }
  .bhx-final > p { font-size: .92rem; line-height: 1.7; }

  .bhx-footer { grid-template-columns: 1fr; gap: 17px; padding: 26px 20px 34px; }
  .bhx-footer p { grid-row: auto; text-align: left; }
  .bhx-footer nav { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .bhx-scene-copy { padding: 17px; }
  .bhx-symbol-row strong { font-size: 21px; }
  .bhx-symbol-row > b { font-size: 20px; }
  .bhx-kpi-row { grid-template-columns: 1fr 1fr; }
  .bhx-kpi-row > div:last-child { grid-column: 1 / -1; }
  .bhx-dna-card { grid-template-columns: 1fr; }
  .bhx-grade-orbit { width: 110px; margin-inline: auto; }
}

@media (hover: hover) and (pointer: fine) {
  .bhx-glass-card { transition: transform .3s ease, border-color .3s ease, background .3s ease; }
  .bhx-glass-card:hover { transform: translateY(-4px); border-color: var(--bhx-line-strong); background: linear-gradient(135deg, rgba(137,96,255,.08), transparent 40%), rgba(5,6,16,.73); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   2026-09-02 — Background-only landing + hard card containment
   Keeps all existing landing sections/slides and copy intact.
   ========================================================= */

/* Use ONLY the original BLACK HOLE background artwork.
   The newer live 3D black-hole layer/fallback/status are intentionally hidden. */
.bhx-cosmos__base {
  background:
    linear-gradient(180deg, rgba(1,1,7,.20) 0%, rgba(2,2,10,.26) 52%, rgba(1,1,7,.54) 100%),
    url('../assets/images/landing-black-hole.jpg') center center / cover no-repeat;
  transform: none;
}

#bh-3d-canvas,
.bhx-model-fallback,
.bhx-model-status {
  display: none !important;
}

/* Do not let decorative mist create the impression of a second black hole. */
.bhx-cosmos__mist { opacity: .06; }

/* Hard containment: nothing in the landing page may widen the viewport. */
html,
body.bhx-landing,
.bhx-story,
.bhx-scene,
.bhx-hero-copy,
.bhx-final {
  width: 100%;
  max-width: 100%;
}

html,
body.bhx-landing,
.bhx-story,
.bhx-scene {
  overflow-x: clip;
}

.bhx-scene,
.bhx-scene-copy,
.bhx-glass-card,
.bhx-execution-card,
.bhx-analytics-card,
.bhx-dna-card,
.bhx-journal-stack,
.bhx-trade-card,
.bhx-hero-dock,
.bhx-hero-dock article {
  min-width: 0;
  max-width: 100%;
}

/* The three hero cards were too wide on laptop-sized browsers.
   Keep the same three-card slide, but give it guaranteed side gutters. */
.bhx-hero-dock {
  left: 50%;
  right: auto;
  width: min(760px, calc(100vw - 140px));
  max-width: min(760px, calc(100vw - 140px));
  transform: translateX(-50%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bhx-hero-dock article {
  padding-left: 16px;
  padding-right: 16px;
  overflow: hidden;
}

.bhx-hero-dock strong,
.bhx-hero-dock article > span,
.bhx-scene-copy h2,
.bhx-scene-copy p,
.bhx-final h2,
.bhx-final p {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Prevent the offset rear journal card from escaping its parent. */
.bhx-journal-stack { overflow: hidden; }
.bhx-trade-card--back {
  right: 0;
  left: 28px;
  width: auto;
}

/* Laptop / Chromebook widths. */
@media (min-width: 701px) and (max-width: 1180px) {
  .bhx-scene {
    padding-left: clamp(28px, 5vw, 56px);
    padding-right: clamp(28px, 5vw, 56px);
  }

  .bhx-hero-dock {
    width: min(700px, calc(100vw - 112px));
    max-width: min(700px, calc(100vw - 112px));
  }

  .bhx-hero-dock article {
    padding: 15px 14px;
  }

  .bhx-hero-dock strong { font-size: 12px; }
  .bhx-hero-dock article > span { font-size: 9.5px; }

  .bhx-scene-copy {
    width: min(470px, calc(100vw - 112px));
    max-width: calc(100vw - 112px);
  }
}

/* On narrower tablets, keep every card readable instead of squeezing 3 columns. */
@media (min-width: 701px) and (max-width: 820px) {
  .bhx-hero-dock {
    width: min(620px, calc(100vw - 80px));
    max-width: min(620px, calc(100vw - 80px));
  }
  .bhx-hero-dock article { padding-inline: 12px; }
  .bhx-hero-dock article > span { display: none; }
}

@media (max-width: 700px) {
  .bhx-hero-dock {
    width: calc(100vw - 30px);
    max-width: calc(100vw - 30px);
    grid-template-columns: 1fr;
  }

  .bhx-scene-copy {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   2026-09-03 — viewport-safe hero dock + dimensional scroll story
   Landing page only. Keeps the existing section order/copy and
   the original BLACK HOLE background artwork.
   ========================================================= */

/* ---------- HARD FIX: hero feature dock can never escape the viewport ---------- */
.bhx-scene--hero {
  overflow: hidden;
}

.bhx-hero-dock {
  /* Do not size/center this with translateX anymore. The old combination
     could exceed the browser's usable content width at laptop zoom levels. */
  left: clamp(22px, 6vw, 76px) !important;
  right: clamp(22px, 6vw, 76px) !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
  box-sizing: border-box;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bhx-hero-dock article {
  width: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.bhx-hero-dock article > * {
  min-width: 0;
  max-width: 100%;
}

.bhx-hero-dock strong,
.bhx-hero-dock article > span {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Laptop / Chromebook: preserve all 3 cards, but tighten spacing instead of clipping. */
@media (min-width: 821px) and (max-width: 1180px) {
  .bhx-hero-dock {
    left: clamp(28px, 5vw, 54px) !important;
    right: clamp(28px, 5vw, 54px) !important;
  }
  .bhx-hero-dock article {
    padding: 15px 13px;
  }
  .bhx-hero-dock strong { font-size: 11.5px; }
  .bhx-hero-dock article > span { font-size: 9px; line-height: 1.45; }
}

/* Narrow tablet: 3 compact columns still stay INSIDE the scene. */
@media (min-width: 701px) and (max-width: 820px) {
  .bhx-hero-dock {
    left: 24px !important;
    right: 24px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bhx-hero-dock article {
    padding: 13px 10px;
  }
  .bhx-hero-dock small { font-size: 7.5px; letter-spacing: .08em; }
  .bhx-hero-dock strong { font-size: 10.5px; }
  .bhx-hero-dock article > span { display: none; }
}

/* Phones: stack the 3 boxes; no horizontal squeeze or page overflow. */
@media (max-width: 700px) {
  .bhx-hero-dock {
    left: 15px !important;
    right: 15px !important;
    width: auto !important;
    max-width: none !important;
    grid-template-columns: 1fr;
  }
}

/* ---------- DIMENSIONAL STORY: same slides, real spatial depth ---------- */
.bhx-story {
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

.bhx-scene {
  transform-style: preserve-3d;
  contain: paint;
}

/* A quiet architectural frame appears around the active scene so sections
   feel like physical rooms/panels rather than a vertical comment feed. */
.bhx-scene::before {
  inset: 8% clamp(18px, 3.8vw, 58px);
  border-color: rgba(123, 105, 255, .12);
  background:
    linear-gradient(90deg, rgba(89, 214, 255, .035), transparent 22%, transparent 78%, rgba(133, 92, 255, .04)),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 20%, transparent 80%, rgba(255,255,255,.012));
  box-shadow: inset 0 0 80px rgba(69, 45, 140, .035);
  opacity: 0;
  transform: translateZ(-100px) scale(.985);
  transition: opacity .5s ease, transform .7s cubic-bezier(.2,.75,.2,1), border-color .5s ease;
  pointer-events: none;
}

.bhx-scene.is-depth-active::before {
  opacity: .9;
  transform: translateZ(-30px) scale(1);
  border-color: rgba(128, 105, 255, .20);
}

.bhx-scene-copy,
.bhx-final {
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: filter .2s linear;
}

/* Create real layer separation inside each section. */
.bhx-scene-number { transform: translateZ(62px); }
.bhx-scene-copy h2 { transform: translateZ(46px); }
.bhx-scene-copy > p { transform: translateZ(28px); }
.bhx-scene-copy .bhx-glass-card,
.bhx-journal-stack { transform-style: preserve-3d; }

.bhx-execution-card,
.bhx-analytics-card,
.bhx-dna-card,
.bhx-journal-stack {
  position: relative;
  z-index: 2;
  will-change: transform;
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.bhx-scene.is-depth-active .bhx-glass-card {
  border-color: rgba(132, 105, 255, .24);
  box-shadow:
    0 34px 90px rgba(0,0,0,.34),
    0 0 55px rgba(77, 48, 163, .07),
    inset 0 1px rgba(255,255,255,.035);
}

/* Tiny HUD rails give the eye a stable 3D reference while scrolling. */
.bhx-scene--left::after,
.bhx-scene--right::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(80px, 12vw, 170px);
  height: 1px;
  opacity: .22;
  background: linear-gradient(90deg, transparent, rgba(91,223,255,.8));
  transform: translateY(-50%) translateZ(-70px);
  pointer-events: none;
}
.bhx-scene--left::after { right: clamp(30px, 7vw, 110px); }
.bhx-scene--right::after {
  left: clamp(30px, 7vw, 110px);
  transform: translateY(-50%) translateZ(-70px) scaleX(-1);
}

/* The original background picture remains the only black-hole artwork,
   but now moves subtly with scroll so the environment has depth. */
.bhx-cosmos__base {
  transform: translate3d(0, var(--bhx-bg-y, 0px), 0) scale(1.045) !important;
  transform-origin: 50% 50%;
  will-change: transform, background-position;
}

.bhx-cosmos__mist--one {
  transform: translate3d(var(--bhx-mist-x, 0px), var(--bhx-mist-y, 0px), 0);
}
.bhx-cosmos__mist--two {
  transform: translate3d(calc(var(--bhx-mist-x, 0px) * -0.65), calc(var(--bhx-mist-y, 0px) * -0.5), 0);
}

@media (max-width: 700px) {
  /* Keep depth on mobile, but reduce tilt so text stays easy to read. */
  .bhx-scene::before { inset-inline: 10px; }
  .bhx-scene--left::after,
  .bhx-scene--right::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bhx-scene-copy,
  .bhx-final,
  .bhx-execution-card,
  .bhx-analytics-card,
  .bhx-dna-card,
  .bhx-journal-stack,
  .bhx-cosmos__base {
    transform: none !important;
  }
}

/* =========================================================
   2026-09-03 — professional section snapping
   Each wheel gesture settles on a complete landing scene.
   ========================================================= */

/* Browser-level snap is a safety net for touch/trackpad momentum. The JS
   controller above handles desktop wheel gestures with a precise eased move. */
html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
  overscroll-behavior-y: none;
}

.bhx-scene {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* On laptop/desktop, make each story scene a true viewport-sized stage.
   Content can still increase the height if it genuinely needs more room. */
@media (min-width: 701px) {
  .bhx-scene,
  .bhx-scene--hero,
  .bhx-scene--final {
    min-height: 100svh;
  }

  .bhx-scene--hero {
    padding-top: clamp(104px, 13vh, 142px);
  }
}

/* Touch devices retain native finger scrolling but snap cleanly when momentum
   ends. Proximity avoids trapping a user if a mobile scene is taller than one screen. */
@media (pointer: coarse) {
  html { scroll-snap-type: y proximity; }
}

.bhx-footer {
  scroll-snap-align: end;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}

/* =========================================================
   2026-09-03 — clean cinematic scenes + fluid navigation
   Removes the large outline/frame from every landing scene and
   prevents browser snap from fighting desktop wheel transitions.
   ========================================================= */

/* Remove the large rounded rectangular frame entirely. */
.bhx-scene::before,
.bhx-scene.is-depth-active::before {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Keep the scene itself invisible as a container — no giant panel around it. */
.bhx-scene {
  background: transparent !important;
  outline: 0 !important;
}

/* Fine-pointer devices use the JS scene transition only. Turning native snap
   off here removes the sticky / double-snap fight seen on trackpads. */
html.bhx-desktop-scenes {
  scroll-snap-type: none !important;
  overscroll-behavior-y: auto;
}

html.bhx-desktop-scenes .bhx-scene,
html.bhx-desktop-scenes .bhx-footer {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

/* Each desktop scene is one clean viewport stage. */
@media (min-width: 701px) and (pointer: fine) {
  .bhx-scene,
  .bhx-scene--hero,
  .bhx-scene--final {
    min-height: 100svh;
  }

  .bhx-scene-copy,
  .bhx-final {
    transition: none;
  }
}

/* Touch scrolling stays native and settles into the closest complete section. */
@media (pointer: coarse) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }

  .bhx-scene {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html.bhx-desktop-scenes {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   2026-09-03 — integrated indicator + true 3D space + reliable slides
   Final landing-only override. No app/dashboard styles are changed.
   ========================================================= */

/* Keep the original black-hole artwork as the cinematic base, then place a
   transparent WebGL asteroid field above it. This creates actual 3D depth
   without adding a second black hole. */
.bhx-cosmos__base {
  background:
    linear-gradient(180deg, rgba(1,1,7,.26) 0%, rgba(2,2,10,.31) 54%, rgba(1,1,7,.58) 100%),
    url('../assets/images/landing-black-hole.jpg') center center / cover no-repeat !important;
  transform: translate3d(0, var(--bhx-bg-y, 0px), 0) scale(1.035) !important;
}

#bh-3d-canvas {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
  filter: saturate(.92) contrast(1.04);
}

.bhx-cosmos.is-space-ready #bh-3d-canvas { opacity: .82; }
.bhx-model-fallback,
.bhx-model-status { display: none !important; }

.bhx-cosmos__mist { z-index: 2; opacity: .07; }
.bhx-cosmos__vignette { z-index: 3; }

/* The story now behaves as discrete cinematic stages. */
html.bhx-snap-scenes {
  scroll-snap-type: y mandatory !important;
  scroll-padding-top: 0;
  overscroll-behavior-y: contain;
}

html.bhx-snap-scenes .bhx-scene {
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
}

@media (min-width: 701px) {
  .bhx-scene,
  .bhx-scene--hero,
  .bhx-scene--indicator {
    min-height: 100svh !important;
    height: 100svh;
  }
}

/* No giant slide frames. The copy itself has spatial staging instead. */
.bhx-scene::before,
.bhx-scene.is-depth-active::before {
  content: none !important;
  display: none !important;
}

.bhx-scene .bhx-scene-copy,
.bhx-scene .bhx-final {
  opacity: .38;
  transform: translate3d(0, 22px, 0) scale(.982);
  filter: blur(.4px);
  transition:
    opacity .58s cubic-bezier(.2,.75,.2,1),
    transform .68s cubic-bezier(.2,.75,.2,1),
    filter .58s ease;
}

.bhx-scene.is-depth-active .bhx-scene-copy,
.bhx-scene.is-depth-active .bhx-final,
.bhx-scene--hero .bhx-hero-copy {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: none;
}

.bhx-scene--left.is-depth-active .bhx-scene-copy {
  transform: translate3d(0,0,32px) rotateY(-.7deg);
}

.bhx-scene--right.is-depth-active .bhx-scene-copy {
  transform: translate3d(0,0,32px) rotateY(.7deg);
}

/* ---------- Indicator integrated as the final landing scene ---------- */
.bhx-scene--indicator {
  justify-content: flex-end;
}

.bhx-indicator-card {
  margin-top: 30px;
  padding: 18px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.bhx-indicator-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,229,255,.11), transparent 68%);
  pointer-events: none;
}

.bhx-indicator-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #86dfcd;
}

.bhx-indicator-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.bhx-indicator-chart {
  position: relative;
  height: 220px;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 13px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13,15,31,.72), rgba(4,6,16,.92));
  background-size: 100% 36px, 48px 100%, auto;
  box-shadow: inset 0 0 45px rgba(0,0,0,.28);
}

.bhx-zone {
  position: absolute;
  left: 7%;
  right: 7%;
  height: 22%;
  border-radius: 7px;
  border: 1px solid rgba(142,105,255,.18);
}

.bhx-zone--supply {
  top: 11%;
  background: linear-gradient(90deg, rgba(137,95,255,.10), rgba(137,95,255,.025));
}

.bhx-zone--demand {
  bottom: 9%;
  border-color: rgba(89,219,255,.14);
  background: linear-gradient(90deg, rgba(89,219,255,.025), rgba(89,219,255,.08));
}

.bhx-liquidity-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 49%;
  height: 1px;
  border-top: 1px dashed rgba(199,197,216,.18);
}

.bhx-candles {
  position: absolute;
  inset: 15% 9% 13%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 5px;
}

.bhx-candles i {
  position: relative;
  align-self: end;
  height: var(--h);
  transform: translateY(var(--o));
  border-radius: 2px;
  background: linear-gradient(180deg, #63e6dc, #5d8fff);
  box-shadow: 0 0 9px rgba(88,208,255,.12);
  opacity: .78;
}

.bhx-candles i:nth-child(3n+2),
.bhx-candles i:nth-child(4n) {
  background: linear-gradient(180deg, #a280ff, #6d62df);
}

.bhx-candles i::before,
.bhx-candles i::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 8px;
  transform: translateX(-50%);
  background: rgba(207,213,238,.45);
}
.bhx-candles i::before { bottom: 100%; }
.bhx-candles i::after { top: 100%; }

.bhx-chart-badge {
  position: absolute;
  z-index: 3;
  padding: 5px 7px;
  border-radius: 6px;
  font: 600 7px/1 DM Mono, monospace;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

.bhx-chart-badge--buy {
  right: 13%;
  top: 25%;
  color: #b9f7e5;
  border: 1px solid rgba(92,232,189,.22);
  background: rgba(27,93,76,.24);
}

.bhx-chart-badge--sweep {
  left: 10%;
  top: 46%;
  color: #c9c2e9;
  border: 1px solid rgba(157,128,255,.16);
  background: rgba(67,49,116,.24);
}

.bhx-indicator-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 7px;
  margin-top: 10px;
}

.bhx-indicator-meta span {
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 7px;
  color: #747487;
  text-align: center;
  font: 500 7px/1.2 DM Mono, monospace;
  letter-spacing: .07em;
}

.bhx-indicator-open {
  margin-top: 13px;
  min-height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(143,102,255,.18);
  border-radius: 10px;
  color: #d9d6e6;
  background: rgba(121,86,255,.055);
  font-size: 10px;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

@media (hover:hover) and (pointer:fine) {
  .bhx-indicator-open:hover {
    transform: translateY(-2px);
    border-color: rgba(93,229,255,.28);
    background: rgba(93,229,255,.055);
  }
}

@media (max-width: 700px) {
  html.bhx-snap-scenes { scroll-snap-type: y mandatory !important; }
  .bhx-scene--indicator { min-height: 118svh; justify-content: center; }
  .bhx-indicator-chart { height: 190px; }
  .bhx-indicator-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bhx-scene .bhx-scene-copy,
  .bhx-scene .bhx-final { filter: none; }
  .bhx-scene--left.is-depth-active .bhx-scene-copy,
  .bhx-scene--right.is-depth-active .bhx-scene-copy { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.bhx-snap-scenes { scroll-snap-type: none !important; }
  #bh-3d-canvas { opacity: .35 !important; }
  .bhx-scene .bhx-scene-copy,
  .bhx-scene .bhx-final { opacity: 1; transform: none !important; filter: none; }
}


/* =========================================================
   2026-09-03 — exact slide settlement + elevated composition
   ========================================================= */
:root {
  --bhx-scene-lift: -28px;
}

html.bhx-desktop-scenes {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  overscroll-behavior-y: none;
}

html.bhx-touch-scenes {
  scroll-snap-type: y mandatory !important;
  scroll-padding-top: 0;
}

html.bhx-touch-scenes .bhx-scene {
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
}

@media (min-width: 701px) {
  .bhx-scene,
  .bhx-scene--hero,
  .bhx-scene--indicator {
    height: 100svh !important;
    min-height: 100svh !important;
  }

  .bhx-scene:not(.bhx-scene--hero) .bhx-scene-copy {
    translate: 0 var(--bhx-scene-lift);
  }

  .bhx-scene--left.is-depth-active .bhx-scene-copy {
    transform: translate3d(0,0,32px) rotateY(-.55deg) !important;
  }

  .bhx-scene--right.is-depth-active .bhx-scene-copy {
    transform: translate3d(0,0,32px) rotateY(.55deg) !important;
  }
}

.bhx-cosmos.is-space-ready #bh-3d-canvas {
  opacity: .68 !important;
  mix-blend-mode: normal;
  filter: saturate(.72) contrast(1.04) brightness(.74);
}

.bhx-cosmos__base {
  filter: brightness(.64) saturate(.76) contrast(1.06);
}

.bhx-cosmos__vignette {
  background:
    radial-gradient(ellipse at 50% 46%, transparent 22%, rgba(1,1,7,.16) 56%, rgba(1,1,7,.75) 100%),
    linear-gradient(180deg, rgba(1,1,8,.08), rgba(1,1,8,.26)) !important;
}

@media (max-width: 700px) {
  :root { --bhx-scene-lift: -12px; }

  .bhx-scene:not(.bhx-scene--hero) .bhx-scene-copy {
    translate: 0 var(--bhx-scene-lift);
  }

  .bhx-cosmos.is-space-ready #bh-3d-canvas {
    opacity: .54 !important;
    mix-blend-mode: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bhx-scene:not(.bhx-scene--hero) .bhx-scene-copy {
    translate: none !important;
  }
}


/* Restored BLACK HOLE indicator system — landing final slide */
.bhx-indicator-slide {
  width: min(1180px, 100%);
  align-items: stretch;
}

.bhx-indicator-slide > .bhx-scene-number {
  align-self: flex-start;
  margin-bottom: clamp(20px, 3vh, 36px);
}

.bhx-indicator-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  width: 100%;
}

.bhx-indicator-copy { min-width: 0; }
.bhx-indicator-copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(3.1rem, 5.7vw, 6.8rem);
  line-height: .88;
  letter-spacing: -.055em;
}
.bhx-indicator-copy h2 em { color: #b8a6ff; font-family: Playfair Display, serif; font-weight: 600; }
.bhx-indicator-copy > p { max-width: 570px; color: #9693a5; line-height: 1.8; font-size: clamp(13px, 1.1vw, 16px); }

.bhx-indicator-terminal {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  transform: perspective(1100px) rotateY(-4deg) rotateX(1.2deg);
  box-shadow: 0 35px 100px rgba(0,0,0,.44), 0 0 70px rgba(89,76,210,.09);
}
.bhx-terminal-bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(6,7,18,.72);
}
.bhx-terminal-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #343341; }
.bhx-terminal-bar > b { margin-left: auto; color: #8f8b9d; font: 500 9px DM Mono, monospace; letter-spacing: .09em; }
.bhx-terminal-chart {
  position: relative;
  height: clamp(260px, 36vh, 390px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 62% 52%, rgba(92,76,221,.10), transparent 36%),
    rgba(2,3,11,.74);
  background-size: 42px 42px, 42px 42px, auto, auto;
}
.bhx-terminal-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bhx-price-path { fill: none; stroke: #8c7bff; stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px rgba(128,103,255,.45)); }
.bhx-sweep-path { fill: none; stroke: #5fe0ff; stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.bhx-zone { position: absolute; left: 7%; right: 7%; height: 46px; border: 1px solid rgba(255,255,255,.07); background: rgba(117,82,255,.055); }
.bhx-zone small { position: absolute; left: 9px; top: 7px; color: #7f7a91; font: 500 7px DM Mono, monospace; letter-spacing: .08em; }
.bhx-zone--supply { top: 12%; }
.bhx-zone--demand { bottom: 11%; background: rgba(66,196,255,.035); }
.bhx-entry-tag, .bhx-tp-tag, .bhx-sl-tag { position: absolute; right: 8%; padding: 5px 7px; border-radius: 5px; font: 700 7px DM Mono, monospace; letter-spacing: .08em; }
.bhx-entry-tag { top: 44%; color: #d9d5ff; border: 1px solid rgba(139,109,255,.45); background: rgba(100,72,209,.22); }
.bhx-tp-tag { top: 23%; color: #98ecff; border: 1px solid rgba(95,224,255,.32); background: rgba(35,121,149,.18); }
.bhx-sl-tag { top: 65%; color: #b2a9c0; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.bhx-terminal-footer { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.06); }
.bhx-terminal-footer span { padding: 13px 14px; color: #666375; font: 500 7px DM Mono, monospace; letter-spacing: .08em; border-right: 1px solid rgba(255,255,255,.05); }
.bhx-terminal-footer span:last-child { border-right: 0; }
.bhx-terminal-footer b { display: block; margin-top: 5px; color: #b8b3c7; font-size: 8px; }

@media (max-width: 900px) {
  .bhx-indicator-layout { grid-template-columns: 1fr; gap: 28px; }
  .bhx-indicator-terminal { transform: none; }
  .bhx-indicator-copy h2 { font-size: clamp(3rem, 10vw, 5.4rem); }
}

@media (max-width: 700px) {
  html,
  html.bhx-native-scenes { scroll-snap-type: y proximity !important; }
  .bhx-scene { scroll-snap-stop: normal !important; }
  .bhx-rock-field { opacity: .58; }
  .bhx-rock--1, .bhx-rock--4, .bhx-rock--6, .bhx-rock--8 { transform: scale(.78) translate3d(var(--rock-x), var(--rock-y), var(--rz,0px)) rotateZ(var(--rock-r)); }
  .bhx-terminal-footer { grid-template-columns: 1fr; }
  .bhx-terminal-footer span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html.bhx-native-scenes { scroll-behavior: auto !important; scroll-snap-type: y proximity !important; }
  .bhx-rock { transform: none !important; }
}
.bhx-indicator-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 22px;max-width:560px}.bhx-indicator-system-grid>div{min-width:0;padding:12px 13px;border:1px solid rgba(255,255,255,.07);background:rgba(8,8,15,.32);backdrop-filter:blur(8px)}.bhx-indicator-system-grid span{display:block;color:#695eff;font:700 8px DM Mono,monospace;letter-spacing:.12em}.bhx-indicator-system-grid strong{display:block;margin-top:5px;color:#f2f0f7;font-size:12px}.bhx-indicator-system-grid small{display:block;margin-top:4px;color:#777384;font:500 8px DM Mono,monospace;line-height:1.5}.bhx-liquidity-tag{position:absolute;left:56%;top:46%;padding:5px 7px;border:1px solid rgba(95,224,255,.34);background:rgba(25,96,118,.22);color:#92ecff;font:700 7px DM Mono,monospace;letter-spacing:.08em;transform:translate(-50%,-50%);white-space:nowrap}@media(max-width:860px){.bhx-indicator-system-grid{grid-template-columns:1fr 1fr}.bhx-indicator-layout{grid-template-columns:1fr;gap:24px}.bhx-indicator-terminal{transform:none}}@media(max-width:560px){.bhx-indicator-system-grid{grid-template-columns:1fr}.bhx-terminal-footer{grid-template-columns:1fr}.bhx-terminal-footer span{border-right:0;border-bottom:1px solid rgba(255,255,255,.05)}}


/* =========================================================
   2026-09-03 — alternating desktop card placement + final CTA breathing room
   Requested layout only: Slide 2 card RIGHT, Slide 3 card LEFT,
   Slide 4 card RIGHT. Text remains opposite the card.
   ========================================================= */
@media (min-width: 901px) {
  #trade,
  #track,
  #learn {
    justify-content: center !important;
  }

  #trade .bhx-scene-copy,
  #track .bhx-scene-copy,
  #learn .bhx-scene-copy {
    width: min(1180px, 100%) !important;
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(44px, 7vw, 104px);
    align-items: center;
  }

  /* Slide 2 / TRADE — copy LEFT, execution card RIGHT */
  #trade .bhx-scene-number,
  #trade .bhx-scene-copy > h2,
  #trade .bhx-scene-copy > p {
    grid-column: 1;
  }
  #trade .bhx-execution-card {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin-top: 0 !important;
    width: 100%;
    max-width: 500px;
    justify-self: end;
  }

  /* Slide 3 / TRACK — journal card LEFT, copy RIGHT */
  #track .bhx-scene-number,
  #track .bhx-scene-copy > h2,
  #track .bhx-scene-copy > p {
    grid-column: 2;
  }
  #track .bhx-journal-stack {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    margin-top: 0 !important;
    width: 100%;
    max-width: 500px;
    justify-self: start;
  }

  /* Slide 4 / LEARN — copy LEFT, analytics card RIGHT */
  #learn .bhx-scene-number,
  #learn .bhx-scene-copy > h2,
  #learn .bhx-scene-copy > p {
    grid-column: 1;
  }
  #learn .bhx-analytics-card {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin-top: 0 !important;
    width: 100%;
    max-width: 520px;
    justify-self: end;
  }

  /* Keep the final Indicator scene unchanged visually, but allow a short
     amount of real scroll below it so both CTA buttons can be seen fully. */
  #indicator.bhx-scene--indicator {
    height: auto !important;
    min-height: calc(100svh + 130px) !important;
    padding-bottom: 190px !important;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  #trade .bhx-scene-copy,
  #track .bhx-scene-copy,
  #learn .bhx-scene-copy {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
    column-gap: 34px;
  }

  #trade .bhx-execution-card,
  #track .bhx-journal-stack,
  #learn .bhx-analytics-card {
    max-width: 440px;
  }
}


/* =========================================================
   2026-09-03 — brand title refinement + darker purple rock palette
   User request: hero wordmark should feel more premium and match
   the BLACK HOLE theme, while debris should feel darker and more real.
   ========================================================= */
.bhx-hero-copy {
  position: relative;
  z-index: 5;
}

.bhx-hero-copy h1 {
  filter: drop-shadow(0 16px 44px rgba(11, 7, 25, .34));
}

.bhx-hero-copy h1::selection {
  background: rgba(142, 106, 255, .26);
}


/* Hero wordmark: premium editorial/SaaS typography, not gaming-styled. */
.bhx-hero-copy h1 {
  font-stretch: normal;
  font-variation-settings: normal;
  transform: translateZ(0);
}

.bhx-hero-copy .bhx-hero-mantra,
.bhx-hero-copy .bhx-hero-lead {
  text-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* =========================================================
   2026-09-03 — cursor-reactive 3D landing cards
   No layout/content changes. Trade, Learn and Improve tilt with
   the pointer; Track remains a two-card clickable shuffle deck.
   ========================================================= */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #trade .bhx-execution-card,
  #learn .bhx-analytics-card,
  #improve .bhx-dna-card,
  #track .bhx-journal-stack {
    --card-rx: 0deg;
    --card-ry: 0deg;
    --card-lift: 0px;
    --shine-x: 50%;
    --shine-y: 50%;
    transform-style: preserve-3d;
    transform-origin: 50% 50%;
    will-change: transform;
  }

  #trade .bhx-execution-card,
  #learn .bhx-analytics-card,
  #improve .bhx-dna-card {
    transform:
      perspective(1100px)
      translate3d(0, calc(var(--card-lift) * -1), 0)
      rotateX(var(--card-rx))
      rotateY(var(--card-ry));
    transition: transform .38s cubic-bezier(.2,.75,.2,1), box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
  }

  #trade .bhx-execution-card::before,
  #learn .bhx-analytics-card::before,
  #improve .bhx-dna-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(174,145,255,.13), transparent 33%);
    transition: opacity .28s ease;
  }

  #trade .bhx-execution-card > *,
  #learn .bhx-analytics-card > *,
  #improve .bhx-dna-card > * {
    position: relative;
    z-index: 1;
    transform: translateZ(14px);
  }

  #trade .bhx-execution-card.is-card-tilting,
  #learn .bhx-analytics-card.is-card-tilting,
  #improve .bhx-dna-card.is-card-tilting {
    border-color: rgba(146,112,255,.34);
    box-shadow: 0 36px 90px rgba(0,0,0,.38), 0 12px 35px rgba(75,47,150,.13), inset 0 1px rgba(255,255,255,.04);
    transition: transform .07s linear, box-shadow .28s ease, border-color .28s ease;
  }

  #trade .bhx-execution-card.is-card-tilting::before,
  #learn .bhx-analytics-card.is-card-tilting::before,
  #improve .bhx-dna-card.is-card-tilting::before {
    opacity: 1;
  }

  .bhx-hero-dock article {
    --card-rx: 0deg;
    --card-ry: 0deg;
    --card-lift: 0px;
    --shine-x: 50%;
    --shine-y: 50%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform:
      perspective(950px)
      translate3d(0, calc(var(--card-lift) * -1), 0)
      rotateX(var(--card-rx))
      rotateY(var(--card-ry));
    transition: transform .34s cubic-bezier(.2,.75,.2,1), border-color .3s ease, background .3s ease, box-shadow .3s ease;
    will-change: transform;
  }

  .bhx-hero-dock article::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(170,140,255,.14), transparent 38%);
    transition: opacity .24s ease;
  }

  .bhx-hero-dock article > * {
    position: relative;
    z-index: 1;
    transform: translateZ(12px);
  }

  .bhx-hero-dock article.is-card-tilting {
    border-color: rgba(142,110,255,.24);
    background: linear-gradient(160deg, rgba(88,60,180,.12), transparent 52%), rgba(7,8,20,.72);
    box-shadow: 0 26px 56px rgba(0,0,0,.28), 0 10px 28px rgba(61,38,130,.14);
    transition: transform .07s linear, border-color .26s ease, background .26s ease, box-shadow .26s ease;
  }

  .bhx-hero-dock article.is-card-tilting::before {
    opacity: 1;
  }

  #track .bhx-journal-stack {
    cursor: pointer;
    transform:
      perspective(1200px)
      translate3d(0, calc(var(--card-lift) * -1), 0)
      rotateX(var(--card-rx))
      rotateY(var(--card-ry));
    transition: transform .34s cubic-bezier(.2,.75,.2,1);
    overflow: visible !important;
  }

  #track .bhx-journal-stack.is-card-tilting {
    transition: transform .08s linear;
  }
}

/* Track — real clickable 2-card deck. */
#track .bhx-journal-stack {
  isolation: isolate;
  perspective: 1400px;
  transform-style: preserve-3d;
  outline: none;
  overflow: visible !important;
}

#track .bhx-journal-stack:focus-visible {
  border-radius: 22px;
  box-shadow: 0 0 0 2px rgba(127,102,255,.45);
}

#track .bhx-trade-card {
  --card-rx: 0deg;
  --card-ry: 0deg;
  --card-lift: 0px;
  --shine-x: 50%;
  --shine-y: 50%;
  inset: 0 0 14px 0;
  border: 1px solid rgba(118, 94, 198, .2);
  background:
    radial-gradient(circle at 16% 18%, rgba(120,84,255,.16), transparent 30%),
    linear-gradient(145deg, rgba(12,11,28,.92), rgba(8,9,21,.78) 60%, rgba(15,10,34,.88));
  box-shadow:
    0 26px 60px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(126, 96, 220, .06);
  transition:
    transform .56s cubic-bezier(.18,.82,.22,1),
    opacity .42s ease,
    filter .42s ease,
    box-shadow .42s ease,
    border-color .42s ease;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  overflow: hidden;
}

#track .bhx-trade-card::before,
#track .bhx-trade-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#track .bhx-trade-card::before {
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(171,146,255,.18), transparent 36%);
  opacity: 0;
  transition: opacity .24s ease;
}

#track .bhx-trade-card::after {
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  opacity: .72;
}

#track .bhx-trade-card > * {
  position: relative;
  z-index: 1;
  transform: translateZ(18px);
}

#track .bhx-trade-card > div:first-child strong,
#track .bhx-trade-card footer b {
  text-shadow: 0 0 22px rgba(127, 91, 255, .16);
}

#track .bhx-trade-card > div:nth-child(2) span {
  border-color: rgba(146, 115, 255, .12);
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  color: #d6d0ee;
}

#track .bhx-trade-card footer {
  border-top-color: rgba(255,255,255,.08);
}

#track .bhx-trade-card.is-card-tilting {
  border-color: rgba(155, 124, 255, .34);
  box-shadow:
    0 34px 70px rgba(0,0,0,.38),
    0 16px 38px rgba(65,32,150,.16),
    inset 0 1px 0 rgba(255,255,255,.08);
}

#track .bhx-trade-card.is-card-tilting::before {
  opacity: 1;
}

#track .bhx-trade-card:not(.bhx-trade-card--back) {
  z-index: 3;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform:
    perspective(1200px)
    translate3d(0, calc(var(--card-lift) * -1), 42px)
    rotateX(var(--card-rx))
    rotateY(var(--card-ry))
    rotateZ(0deg)
    scale(1);
}

#track .bhx-trade-card--back {
  z-index: 1;
  inset: 0 0 14px 0 !important;
  opacity: 0;
  filter: saturate(.75) brightness(.78) blur(1px);
  pointer-events: none;
  transform:
    perspective(1200px)
    translate3d(0, 18px, -86px)
    rotateX(2deg)
    rotateY(-3deg)
    rotateZ(0deg)
    scale(.95);
}

#track .bhx-journal-stack.is-shuffled .bhx-trade-card:not(.bhx-trade-card--back) {
  z-index: 1;
  opacity: 0;
  filter: saturate(.72) brightness(.78) blur(1px);
  pointer-events: none;
  transform:
    perspective(1200px)
    translate3d(0, 18px, -86px)
    rotateX(2deg)
    rotateY(3deg)
    rotateZ(0deg)
    scale(.95);
}

#track .bhx-journal-stack.is-shuffled .bhx-trade-card--back {
  z-index: 3;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform:
    perspective(1200px)
    translate3d(0, calc(var(--card-lift) * -1), 42px)
    rotateX(var(--card-rx))
    rotateY(var(--card-ry))
    rotateZ(0deg)
    scale(1);
}

/* The clicked/front card briefly lifts out of the deck before swapping. */
#track .bhx-trade-card.is-card-outgoing {
  opacity: .98 !important;
  transform:
    perspective(1200px)
    translate3d(-18px, calc((var(--card-lift) * -1) - 12px), 126px)
    rotateX(calc(var(--card-rx) + 2deg))
    rotateY(calc(var(--card-ry) - 6deg))
    rotateZ(-2.2deg)
    scale(1.015) !important;
  filter: brightness(1.04) saturate(1.03) !important;
  box-shadow: 0 44px 110px rgba(0,0,0,.48), 0 12px 50px rgba(89,58,180,.18) !important;
}

#track .bhx-trade-card.is-card-incoming {
  border-color: rgba(170,136,255,.3);
  opacity: .86 !important;
  filter: brightness(1.02) saturate(.96) !important;
}

#track .bhx-journal-stack::after {
  content: "CLICK TO SHUFFLE";
  position: absolute;
  right: 8px;
  bottom: -22px;
  color: rgba(150,145,170,.42);
  font: 500 7px/1 DM Mono, monospace;
  letter-spacing: .14em;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  #track .bhx-journal-stack:hover::after { opacity: 1; }
}

@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  #trade .bhx-execution-card,
  #learn .bhx-analytics-card,
  #improve .bhx-dna-card,
  #track .bhx-journal-stack,
  .bhx-hero-dock article {
    transform: none !important;
  }

  #track .bhx-journal-stack::after { display: none; }
}


/* =========================================================
   2026-09-03 — MOBILE SCROLL PERFORMANCE FIX ONLY
   Phones use native vertical touch scrolling. This removes the competing
   mandatory snap layers that were causing sticky / half-section stops.
   No landing layout, content, colors, cards, or desktop behavior changed.
   ========================================================= */
@media (max-width: 700px), (pointer: coarse) {
  html,
  html.bhx-touch-scenes,
  html.bhx-native-scenes,
  html.bhx-snap-scenes,
  html.bhx-mobile-natural-scroll {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    overscroll-behavior-y: auto !important;
  }

  body.bhx-landing {
    touch-action: pan-y;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bhx-scene,
  .bhx-footer {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}


/* =========================================================
   2026-09-03 — MOBILE SCROLL V2: stable native touch + visible 3D
   Mobile-only performance/compositing adjustments. Desktop is untouched.
   ========================================================= */
@media (max-width: 700px), (pointer: coarse) {
  html,
  html.bhx-touch-scenes,
  html.bhx-native-scenes,
  html.bhx-snap-scenes,
  html.bhx-mobile-natural-scroll {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    overscroll-behavior-y: auto !important;
    overflow-anchor: none;
  }

  body.bhx-landing {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    touch-action: pan-y pinch-zoom !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }

  /* Prevent scene-level transforms/opacity transitions from being recomputed
     while a finger is scrolling. The visual layout stays the same. */
  .bhx-scene .bhx-scene-copy,
  .bhx-scene .bhx-final,
  .bhx-scene.is-depth-active .bhx-scene-copy,
  .bhx-scene.is-depth-active .bhx-final,
  .bhx-scene--left.is-depth-active .bhx-scene-copy,
  .bhx-scene--right.is-depth-active .bhx-scene-copy {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .bhx-scene:not(.bhx-scene--hero) .bhx-scene-copy {
    translate: 0 -12px;
  }

  /* Safari can repaint full-screen backdrop blur on every scroll frame.
     Use the same dark/glass appearance with a lighter mobile compositor path. */
  .bhx-scene-copy {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: linear-gradient(180deg, rgba(4,5,14,.72), rgba(4,5,14,.88)) !important;
  }

  .bhx-glass-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background:
      linear-gradient(135deg, rgba(137,96,255,.05), transparent 40%),
      rgba(5,6,16,.82) !important;
  }

  /* Make the actual perspective rock/star layer clearly visible on phones.
     The JS uses fewer objects plus adaptive 24–30fps rendering, so motion stays live while scrolling. */
  .bhx-cosmos.is-space-ready #bh-3d-canvas {
    display: block !important;
    opacity: .86 !important;
    mix-blend-mode: normal !important;
    filter: saturate(.92) contrast(1.12) brightness(1.08) !important;
  }

  .bhx-cosmos__base {
    transform: translate3d(0, var(--bhx-bg-y, 0px), 0) scale(1.025) !important;
    transform-origin: 50% 44% !important;
    will-change: transform !important;
    filter: brightness(.62) saturate(.78) contrast(1.08) !important;
  }

  .bhx-cosmos__mist { opacity: .055 !important; }
  .bhx-cosmos__vignette {
    background:
      linear-gradient(180deg, rgba(1,1,8,.08), transparent 22%, transparent 74%, rgba(1,1,8,.30)),
      radial-gradient(ellipse at 50% 44%, transparent 18%, rgba(1,1,7,.10) 54%, rgba(1,1,7,.58) 100%) !important;
  }
}


/* Indicator slide: only real LONG / SHORT signal features */
.bhx-indicator-system-grid--signals > div { min-height: 112px; position: relative; overflow: hidden; }
.bhx-indicator-system-grid--signals > div::after { content: ''; position: absolute; inset: 0; pointer-events:none; opacity:.38; background: radial-gradient(circle at 90% 20%, rgba(255,255,255,.08), transparent 34%); }
.bhx-signal-card--long { border-color: rgba(87, 225, 185, .17) !important; background: linear-gradient(145deg, rgba(24,92,74,.12), rgba(8,8,15,.32)) !important; }
.bhx-signal-card--short { border-color: rgba(241, 113, 139, .17) !important; background: linear-gradient(145deg, rgba(115,44,61,.12), rgba(8,8,15,.32)) !important; }
.bhx-signal-card--long > span { color:#78e4c5 !important; }
.bhx-signal-card--short > span { color:#f08aa1 !important; }
.bhx-terminal-chart--signals { background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), rgba(2,3,9,.72); background-size: 54px 54px; }
.bhx-chart-signal { position:absolute; left:var(--signal-x); top:var(--signal-y); transform:translate(-50%,-50%); z-index:4; }
.bhx-chart-signal span { display:inline-flex; padding:5px 8px; border-radius:5px; font:700 7px DM Mono,monospace; letter-spacing:.08em; box-shadow:0 6px 18px rgba(0,0,0,.26); }
.bhx-chart-signal--long span { color:#cffff1; border:1px solid rgba(88,226,187,.32); background:rgba(35,118,94,.40); }
.bhx-chart-signal--short span { color:#ffe1e7; border:1px solid rgba(239,111,137,.30); background:rgba(123,49,66,.42); }


/* =========================================================
   HERO SYSTEM DOCK — premium interactive navigation
   Three independent product cards; restrained depth, no cheap lift.
   ========================================================= */
.bhx-hero-dock {
  gap: 10px !important;
  padding: 8px !important;
  border: 0 !important;
  border-radius: 22px !important;
  overflow: visible !important;
  background: rgba(3,4,12,.20) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.bhx-hero-dock .bhx-dock-card {
  position: relative;
  min-height: 104px;
  padding: 18px 19px 17px !important;
  border: 1px solid rgba(139,112,224,.14) !important;
  border-radius: 15px !important;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(98,216,245,.055), transparent 68%),
    radial-gradient(180px 100px at 0% 100%, rgba(143,104,255,.08), transparent 70%),
    linear-gradient(150deg, rgba(10,10,24,.82), rgba(3,4,12,.76)) !important;
  box-shadow:
    0 16px 36px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.025);
  transition:
    transform .28s cubic-bezier(.2,.75,.2,1),
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease !important;
}

.bhx-hero-dock .bhx-dock-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  opacity: .65;
  background: linear-gradient(90deg, rgba(98,216,245,.62), rgba(143,104,255,.46), transparent 78%);
  pointer-events: none;
}

.bhx-hero-dock .bhx-dock-card small {
  color: #7d7691;
  font-size: 8px;
  letter-spacing: .14em;
}

.bhx-hero-dock .bhx-dock-card strong {
  margin-top: 1px;
  color: #f1eef9;
  font-size: 13px;
  font-weight: 680;
  letter-spacing: -.015em;
}

.bhx-hero-dock .bhx-dock-card > span {
  color: #858092;
  font-size: 10px;
  line-height: 1.55;
}

.bhx-hero-dock .bhx-dock-card:hover,
.bhx-hero-dock .bhx-dock-card:focus-visible,
.bhx-hero-dock .bhx-dock-card.is-card-tilting {
  border-color: rgba(132,172,255,.28) !important;
  background:
    radial-gradient(190px 100px at var(--shine-x,72%) var(--shine-y,18%), rgba(119,100,255,.11), transparent 64%),
    linear-gradient(150deg, rgba(14,13,31,.90), rgba(4,5,15,.82)) !important;
  box-shadow:
    0 21px 46px rgba(0,0,0,.27),
    0 0 26px rgba(106,76,214,.055),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
}

.bhx-hero-dock .bhx-dock-card:active {
  transform: perspective(950px) scale(.992) !important;
}

@media (max-width:700px) {
  .bhx-hero-dock {
    gap: 7px !important;
    padding: 7px !important;
    background: rgba(3,4,12,.18) !important;
  }

  .bhx-hero-dock .bhx-dock-card {
    min-height: 69px;
    padding: 12px 14px !important;
    gap: 3px;
    border-bottom: 1px solid rgba(139,112,224,.14) !important;
  }

  .bhx-hero-dock .bhx-dock-card::after {
    left: 14px;
    right: 42%;
  }

  .bhx-hero-dock .bhx-dock-card strong { font-size: 12px; }
  .bhx-hero-dock .bhx-dock-card > span { display: block !important; font-size: 9px; line-height: 1.4; }
}

@media (prefers-reduced-motion:reduce) {
  .bhx-hero-dock .bhx-dock-card { transition: border-color .15s ease, background .15s ease !important; }
}

/* =========================================================
   2026-09-10 — hero wordmark position/scale refinement
   User request: move the main BLACK HOLE title slightly lower,
   make it a little larger, and keep it premium.
   ========================================================= */
.bhx-scene--hero {
  padding-top: clamp(142px, 18vh, 196px);
}

.bhx-hero-copy {
  margin-top: 18px;
}

.bhx-hero-copy h1 {
  margin-top: 20px;
  font-size: clamp(4.35rem, 10.8vw, 9.15rem);
  line-height: .84;
  letter-spacing: -.078em;
  text-shadow:
    0 0 18px rgba(160, 134, 255, .12),
    0 18px 52px rgba(12, 7, 30, .34),
    0 0 72px rgba(59, 31, 135, .14);
}

.bhx-hero-mantra {
  margin-top: 21px;
}

@media (max-width: 900px) {
  .bhx-scene--hero {
    padding-top: 118px;
  }

  .bhx-hero-copy {
    margin-top: 10px;
  }

  .bhx-hero-copy h1 {
    font-size: clamp(4.25rem, 21vw, 6.55rem);
    line-height: .86;
  }
}

/* =========================================================
   2026-09-24 — desktop hero clearance refinement
   Keeps the hero design intact while lifting the complete copy/CTA group
   on laptop-height viewports so the buttons stay clearly above the dock.
   Mobile and all application/AI pages remain untouched.
   ========================================================= */
@media (min-width: 901px) {
  .bhx-scene--hero .bhx-hero-copy {
    position: relative;
    top: -34px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .bhx-scene--hero .bhx-hero-copy {
    top: -52px;
  }
}

@media (min-width: 901px) and (max-height: 740px) {
  .bhx-scene--hero .bhx-hero-copy {
    top: -64px;
  }
}
