/* =========================================================
   Variant B — "Kinetic Grid"
   Deep-navy foreground with living data grid; kinetic type
   that locks on scroll; azure accent; technical/mono tone.
   ========================================================= */

body[data-variant="c"] {
  background: #061024;
  color: #e4e8f2;
}
body[data-variant="c"] {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(43, 91, 215, 0.18), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(192, 83, 42, 0.08), transparent 55%);
}

:root {
  --b-bg: #061024;
  --b-bg2: #0a1a38;
  --b-ink: #e4e8f2;
  --b-ink-2: rgba(228, 232, 242, 0.72);
  --b-ink-3: rgba(228, 232, 242, 0.42);
  --b-rule: rgba(228, 232, 242, 0.14);
  --b-rule-soft: rgba(228, 232, 242, 0.07);
  --b-azure: #4f86ff;
  --b-azure-dim: #2b5bd7;
  --b-ember: #e8b08a;
}

/* ---------- Nav ---------- */
.b-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 20px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  background: rgba(6, 16, 36, 0.65);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--b-rule);
}
.b-nav .b-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-ink);
}
.b-nav .b-brand .mk {
  width: 10px; height: 10px;
  background: var(--b-azure);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--b-azure);
}
.b-nav .b-center {
  display: flex; gap: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.b-nav .b-center a { color: var(--b-ink-2); transition: color .2s; }
.b-nav .b-center a:hover { color: var(--b-ink); }
.b-nav .b-right {
  display: flex; justify-content: flex-end; align-items: center; gap: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b-ink-3);
}
.b-nav .b-right .live {
  display: inline-flex; align-items: center; gap: 8px;
}
.b-nav .b-right .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #7fde8c; box-shadow: 0 0 10px #7fde8c;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.b-nav .b-cta {
  padding: 9px 16px;
  border: 1px solid var(--b-azure);
  border-radius: 3px;
  color: var(--b-azure);
  transition: background .25s, color .25s;
}
.b-nav .b-cta:hover { background: var(--b-azure); color: var(--b-bg); }

.b-nav .b-home-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity .25s, transform .25s;
}

.b-nav .b-home-logo img {
  width: auto;
  height: 36px;
  display: block;
}

.b-nav .b-home-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ---------- Scroll rail ---------- */
.b-rail {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 90; background: rgba(228, 232, 242, 0.06);
}
.b-rail > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--b-azure), var(--b-ember));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Hero: Kinetic Grid ---------- */
.b-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}
.b-hero .wrap { position: relative; z-index: 2; }

/* Animated canvas layer */
.b-grid-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.b-hero::after {
  /* vignette */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, transparent 30%, rgba(6, 16, 36, 0.65) 75%);
  pointer-events: none;
  z-index: 1;
}

.b-hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--b-rule);
  margin-bottom: 56px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-ink-3);
}
.b-hero-top div span.k { display: block; margin-bottom: 6px; color: var(--b-ink-3); font-size: 10px; }
.b-hero-top div span.v { color: var(--b-ink); font-size: 12px; letter-spacing: 0.14em; }
.b-hero-top div span.v em { color: var(--b-azure); font-style: normal; }

.b-hero-display {
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--b-ink);
  max-width: 16ch;
  margin-bottom: 48px;
  position: relative;
}
.b-hero-display .lr { display: block; overflow: hidden; padding-bottom: 0.18em; }
.b-hero-display .lr > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.b-hero.is-in .b-hero-display .lr > span { transform: translateY(0); }
.b-hero-display .lr:nth-child(2) > span { transition-delay: .08s; }
.b-hero-display .lr:nth-child(3) > span { transition-delay: .16s; }
.b-hero-display em {
  font-style: italic;
  color: var(--b-azure);
  position: relative;
}
.b-hero-display em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  background: var(--b-azure);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 1.4s .7s var(--ease) forwards;
}
@keyframes underline {
  to { transform: scaleX(0.95); }
}

.b-hero-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: end;
}
.b-hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--b-ink-2);
  max-width: 48ch;
}
.b-hero-lede strong { color: var(--b-ink); font-weight: 500; }
.b-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.b-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: all .25s;
  position: relative;
}
.b-btn-primary { background: var(--b-azure); color: #fff; }
.b-btn-primary:hover { background: #fff; color: var(--b-bg); }
.b-btn-ghost { color: var(--b-ink); border-color: var(--b-rule); }
.b-btn-ghost:hover { border-color: var(--b-azure); color: var(--b-azure); }
.b-btn .arw {
  width: 14px; height: 14px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s;
}
.b-btn:hover .arw { transform: rotate(45deg) translate(3px, -3px); }

/* Live side panel */
.b-ticker-strip {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--b-rule);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b-ink-3);
}
.b-ticker-strip span strong { color: var(--b-azure); font-weight: 500; }

/* ---------- Section frame ---------- */
.b-section { position: relative; padding: 140px 0; }
.b-section-head {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 80px;
  position: relative;
}
.b-index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--b-azure);
}
.b-index .slash { color: var(--b-ink-3); display: inline-block; margin: 0 6px; }
.b-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-ink-3);
}
.b-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--b-ink);
  max-width: 18ch;
  margin-top: 14px;
}
.b-title em { font-style: italic; color: var(--b-azure); }
.b-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--b-ink-2);
  max-width: 42ch;
  align-self: end;
}

/* ---------- Beliefs (cards + live nodes) ---------- */
.b-beliefs { background: transparent; border-top: 1px solid var(--b-rule-soft); }
.b-belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--b-rule);
  border: 1px solid var(--b-rule);
  border-radius: 4px;
  overflow: hidden;
}
.b-belief {
  background: rgba(10, 26, 56, 0.5);
  padding: 44px 32px 44px;
  position: relative;
  transition: background .35s;
}
.b-belief:hover { background: rgba(43, 91, 215, 0.08); }
.b-belief-meta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--b-azure);
  margin-bottom: 56px;
  display: flex;
  justify-content: space-between;
}
.b-belief-meta .status { color: #7fde8c; }
.b-belief-meta .status::before {
  content: ''; display: inline-block; width: 5px; height: 5px;
  background: #7fde8c; border-radius: 50%; margin-right: 8px;
  transform: translateY(-1px);
}
.b-belief h3 {
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--b-ink);
  margin-bottom: 20px;
  max-width: 17ch;
}
.b-belief h3 em { font-style: italic; color: var(--b-azure); }
.b-belief p {
  color: var(--b-ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 34ch;
}
.b-belief-tags {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--b-rule-soft);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.b-belief-tags span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--b-ink-3);
  padding: 4px 8px;
  border: 1px solid var(--b-rule);
  border-radius: 2px;
}

/* ---------- Build: pinned 4-layer stack ---------- */
.b-build { background: transparent; }
.b-layers {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--b-rule);
  border-radius: 4px;
  overflow: hidden;
}
.b-layer {
  display: grid;
  grid-template-columns: 100px 260px 1fr 140px;
  gap: 32px;
  padding: 32px 28px;
  border-bottom: 1px solid var(--b-rule);
  align-items: center;
  background: rgba(10, 26, 56, 0.35);
  transition: background .4s;
  position: relative;
}
.b-layer:last-child { border-bottom: none; }
.b-layer:hover { background: rgba(43, 91, 215, 0.1); }
.b-layer::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--b-azure);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .4s var(--ease);
}
.b-layer:hover::before { transform: scaleY(1); }
.b-layer .idx {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--b-azure);
}
.b-layer .lt {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 38px);
  color: var(--b-ink);
  letter-spacing: -0.015em;
}
.b-layer .ld {
  color: var(--b-ink-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 54ch;
}
.b-layer .ld em { color: var(--b-ember); font-style: italic; }
.b-layer .lm {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b-ink-3);
  text-align: right;
}

/* Arc */
.b-arc {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.b-arc h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  color: var(--b-ink);
  max-width: 14ch;
  letter-spacing: -0.01em;
}
.b-arc h3 em { font-style: italic; color: var(--b-azure); }
.b-arc-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.b-arc-step {
  padding: 22px 18px;
  border: 1px solid var(--b-rule);
  border-radius: 3px;
  position: relative;
  background: rgba(10, 26, 56, 0.4);
  transition: border-color .3s, background .3s;
}
.b-arc-step:hover {
  border-color: var(--b-azure);
  background: rgba(43, 91, 215, 0.12);
}
.b-arc-step .k {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--b-azure); display: block; margin-bottom: 12px;
}
.b-arc-step .n {
  font-family: var(--f-display); font-size: 22px; color: var(--b-ink);
  display: block; letter-spacing: -0.01em;
}
.b-arc-step .sub {
  font-size: 12px; color: var(--b-ink-3); display: block;
  margin-top: 8px; line-height: 1.45;
}

/* ---------- Counters ---------- */
.b-counters { padding: 120px 0; border-top: 1px solid var(--b-rule-soft); border-bottom: 1px solid var(--b-rule-soft); }
.b-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b-rule);
  border: 1px solid var(--b-rule);
  border-radius: 4px;
  overflow: hidden;
}
.b-counter {
  background: rgba(10, 26, 56, 0.5);
  padding: 40px 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
  justify-content: space-between;
}
.b-counter-num {
  font-family: var(--f-display);
  font-size: clamp(56px, 6.5vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--b-ink);
}
.b-counter-num .sfx { color: var(--b-azure); font-style: italic; }
.b-counter .k {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--b-ink-3);
}
.b-counter .d { color: var(--b-ink-2); font-size: 13.5px; line-height: 1.55; max-width: 28ch; }

/* ---------- Domains ---------- */
.b-domains { background: transparent; }
.b-dom-table {
  border: 1px solid var(--b-rule);
  border-radius: 4px;
  overflow: hidden;
}
.b-dom-row {
  display: grid;
  grid-template-columns: 80px 1.6fr 2.4fr;
  gap: 40px;
  padding: 40px 32px;
  border-bottom: 1px solid var(--b-rule);
  background: rgba(10, 26, 56, 0.4);
  transition: background .4s;
  align-items: start;
}
.b-dom-row:last-child { border-bottom: none; }
.b-dom-row:hover { background: rgba(43, 91, 215, 0.1); }
.b-dom-row .di {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--b-azure);
  padding-top: 6px;
}
.b-dom-row .dt {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  color: var(--b-ink);
  letter-spacing: -0.015em;
}
.b-dom-row .dt em { font-style: italic; color: var(--b-azure); }
.b-dom-row .dt .sub {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-ink-3);
  margin-top: 12px;
}
.b-dom-row .db p {
  color: var(--b-ink-2); font-size: 15px; line-height: 1.6;
  max-width: 52ch; margin-bottom: 20px;
}
.b-pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.b-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--b-rule);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--b-ink-2);
  background: rgba(6, 16, 36, 0.5);
}
.b-pill strong { color: var(--b-azure); font-weight: 500; letter-spacing: 0.04em; }

/* ---------- Quote ---------- */
.b-quote {
  padding: 140px 0;
  border-top: 1px solid var(--b-rule-soft);
  position: relative;
  overflow: hidden;
}
.b-quote blockquote {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--b-ink);
  max-width: 22ch;
  position: relative;
  z-index: 1;
}
.b-quote blockquote em { font-style: italic; color: var(--b-azure); }
.b-quote .byline {
  margin-top: 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-ink-3);
  display: flex; align-items: center; gap: 14px;
}
.b-quote .byline::before { content: ''; width: 40px; height: 1px; background: var(--b-azure); }

/* ---------- CTA ---------- */
.b-cta {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(43, 91, 215, 0.08) 100%);
  border-top: 1px solid var(--b-rule);
}
.b-cta-canvas {
  position: absolute; inset: 0; pointer-events: none;
}
.b-cta .wrap { position: relative; z-index: 2; }
.b-cta-title {
  font-family: var(--f-display);
  font-size: clamp(48px, 7.6vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--b-ink);
  max-width: 14ch;
}
.b-cta-title em { font-style: italic; color: var(--b-azure); }
.b-cta-lede {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--b-ink-2);
  max-width: 56ch;
}

/* ---------- Footer ---------- */
.b-footer {
  padding: 40px 0;
  border-top: 1px solid var(--b-rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-ink-3);
}
.b-footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.b-footer strong { color: var(--b-azure); font-weight: 500; }

/* Reveals (shared selector) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* Responsive */
@media (max-width: 1024px) {
  .b-nav { grid-template-columns: 1fr auto; }
  .b-nav .b-right { display: none; }
  .b-belief-grid { grid-template-columns: 1fr; }
  .b-counter-grid { grid-template-columns: 1fr 1fr; }
  .b-layer { grid-template-columns: 60px 1fr; gap: 16px; }
  .b-layer .ld, .b-layer .lm { grid-column: 2 / -1; }
  .b-dom-row { grid-template-columns: 1fr; gap: 20px; }
  .b-arc { grid-template-columns: 1fr; gap: 40px; }
  .b-arc-flow { grid-template-columns: 1fr 1fr; }
  .b-section-head { grid-template-columns: 1fr; gap: 20px; }
  .b-hero-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .b-hero-bottom { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .b-nav { padding: 14px 20px; }
  .b-nav .b-center { display: none; }
  .b-counter-grid { grid-template-columns: 1fr; }
  .b-arc-flow { grid-template-columns: 1fr; }
  .b-section, .b-hero { padding: 80px 0 60px; }
}

/* ---------- Variant C: disable custom cursor, use default pointer ---------- */
html.has-custom-cursor,
html.has-custom-cursor * { cursor: auto !important; }
.qn-cursor-dot,
.qn-cursor-ring { display: none !important; }
