/* 74 LABS — base styles */
:root {
  --bg: #0A0A0B;
  --surface: #111114;
  --surface-2: #17181C;
  --border: #1F2024;
  --border-strong: #2A2B30;
  --text: #E8E8EA;
  --muted: #8B8B92;
  --muted-2: #5C5C63;
  --accent: #7C5CFF;
  --accent-glow: rgba(124, 92, 255, 0.35);
  --accent-soft: rgba(124, 92, 255, 0.08);
  --max: 1360px;
  --gutter: 32px;
  --font-sans: 'Geist', 'Inter', system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
html { overflow-x: clip; }
body {
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Subtle background grid */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

/* Type scale */
.mono { font-family: var(--font-mono); font-feature-settings: 'ss02', 'zero', 'cv11'; }
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.label-bright { color: var(--text); }

h1, h2, h3 { font-family: var(--font-sans); font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; }
.display { font-size: clamp(56px, 11vw, 168px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.88; }
.h2 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.035em; line-height: 1.0; }
.h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.025em; line-height: 1.05; }

.muted { color: var(--muted); }
.text-lg { font-size: 18px; line-height: 1.55; color: var(--muted); }

/* ================================
   Liquid Glass — reusable effect
   ================================
   Use .glass (plain), .glass-strong (more blur + tint), .glass-pill (rounded)
   Each element gets: frosted backdrop, layered gradient border, inner light
   highlight at top, specular shine on hover.
*/
.glass {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02) 40%, rgba(255,255,255,0) 70%),
    rgba(18, 16, 28, 0.45);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 8px 32px rgba(0,0,0,0.35),
    0 0 0 1px rgba(124,92,255,0.02);
  overflow: hidden;
  isolation: isolate;
}
.glass::before {
  /* top specular highlight */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 60% at 50% -10%, rgba(255,255,255,0.14), transparent 60%);
  mix-blend-mode: screen;
}
.glass::after {
  /* moving shine on hover */
  content: ''; position: absolute; inset: -1px; pointer-events: none; z-index: 1;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,0.10) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .9s cubic-bezier(.22,.61,.36,1);
}
.glass:hover::after { transform: translateX(120%); }

.glass-strong {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03) 40%, rgba(124,92,255,0.04) 100%),
    rgba(14, 12, 24, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 20px 60px rgba(0,0,0,0.5);
}

.glass-accent {
  /* accent-tinted variant */
  background:
    linear-gradient(135deg, rgba(124,92,255,0.14), rgba(124,92,255,0.04) 50%, rgba(255,255,255,0.02) 100%),
    rgba(18, 16, 28, 0.45);
  border-color: rgba(124,92,255,0.25);
}

@supports not (backdrop-filter: blur(1px)) {
  .glass, .glass-strong, .glass-accent { background: rgba(18, 16, 28, 0.92); }
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  background: linear-gradient(180deg, rgba(10,10,14,0.55), rgba(10,10,14,0.35));
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(10,10,14,0.78), rgba(10,10,14,0.65)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.4); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-wordmark { line-height: 1; white-space: nowrap; }
.logo-img { height: 18px; width: auto; display: block; flex-shrink: 0; color: var(--text); transition: color .25s ease, filter .25s ease; }
.logo-wordmark:hover .logo-img { color: var(--accent); filter: drop-shadow(0 0 10px var(--accent-glow)); }
.logo-img-lg { height: 26px; }
.hub-logo-img { width: 72px; height: auto; display: block; color: rgba(255,255,255,0.95); filter: drop-shadow(0 1px 4px rgba(10,6,32,0.6)); }
.logo-wordmark .wm {
  font-family: var(--font-sans); font-weight: 700; font-size: 18px;
  letter-spacing: -0.04em; color: var(--text);
  transition: color .25s ease, text-shadow .25s ease;
}
.logo-wordmark .wm-tag {
  font-family: var(--font-sans); font-weight: 400; font-size: 13px;
  letter-spacing: -0.01em; color: var(--muted);
  transition: color .25s ease;
  white-space: nowrap;
}
@media (max-width: 1080px) {
  .nav .logo-wordmark .wm-tag { display: none; }
}
.logo-wordmark:hover .wm { color: var(--accent); text-shadow: 0 0 18px var(--accent-glow); }
.logo-wordmark:hover .wm-tag { color: var(--text); }
.logo-wordmark-lg .wm-tag { font-size: 15px; display: block; margin-top: 8px; }
.logo-wordmark-lg { flex-direction: column; align-items: flex-start; gap: 0; }

.nav-links { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}

.nav-cta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--border-strong); padding: 8px 14px; transition: all .2s ease;
  white-space: nowrap;
}
.nav-cta:hover { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 1px var(--accent), 0 0 20px var(--accent-glow); }

/* Buttons */
.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02) 60%, rgba(255,255,255,0) 100%),
    rgba(18, 16, 28, 0.3);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -1px 0 rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.25);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-line:hover { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 1px var(--accent), 0 0 32px var(--accent-glow); }
.btn-line .arrow { transition: transform .25s ease; }
.btn-line:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); transition: color .2s ease;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--accent); }
.btn-ghost .arrow { transition: transform .2s ease; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

/* Section scaffolding */
section { position: relative; z-index: 1; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 32px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 56px;
}
.section-tag { display: flex; align-items: center; gap: 10px; }
.section-tag .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent-glow); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Hero */
.hero { padding: 96px 0 160px; position: relative; min-height: 90vh; overflow: hidden; }
.hero > .container { position: relative; z-index: 3; }

.globe-wrap {
  position: absolute; right: -340px; top: -40px; width: 760px; height: 760px;
  pointer-events: auto; z-index: 1;
  filter: drop-shadow(0 0 40px rgba(124,92,255,0.18));
  opacity: 0.35;
  user-select: none; -webkit-user-select: none; touch-action: none;
  cursor: grab;
  -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 78%);
          mask-image: radial-gradient(circle at center, black 55%, transparent 78%);
}
.globe-wrap:active { cursor: grabbing; }
.globe-wrap canvas { width: 100% !important; height: 100% !important; display: block; }
.globe-hud, .hud-hint { display: none; }

.hero > .container { position: relative; z-index: 3; }

.hero-bracket {
  position: absolute; width: 28px; height: 28px; border: 1px solid var(--accent);
  opacity: 0.5;
}
.hero-bracket.tl { top: 24px; left: 24px; border-right: 0; border-bottom: 0; }
.hero-bracket.tr { top: 24px; right: 24px; border-left: 0; border-bottom: 0; opacity: 0.25; }
.hero-bracket.bl { bottom: 24px; left: 24px; border-right: 0; border-top: 0; }
.hero-bracket.br { bottom: 24px; right: 24px; border-left: 0; border-top: 0; }

.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 4;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 10px 0;
  background:
    linear-gradient(180deg, rgba(10,10,14,0.7), rgba(10,10,14,0.85));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.hero-ticker-track {
  display: inline-flex; gap: 48px;
  animation: tickerScroll 60s linear infinite;
}
.hero-ticker-item { display: inline-flex; align-items: center; gap: 12px; }
.hero-ticker-item .dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.hero-ticker-item .v { color: var(--text); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-rail {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  z-index: 2;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
  letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 28px;
  width: 14px;
}
.hero-rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.hero-rail .live { color: var(--accent); }
.hero-rail .pulse {
  display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow); animation: pulse 2s infinite;
  writing-mode: horizontal-tb; transform: none;
  margin-bottom: 8px;
}
.hero-rail .live { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.hero-rail .pulse { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } }

@media (max-width: 1100px) {
  .globe-wrap, .liquid-eye-wrap { width: 560px; height: 560px; right: -120px; top: 40px; opacity: 0.7; }
  .hero-rail { display: none; }
}
@media (max-width: 720px) {
  /* Keep globe on mobile — reposition as elegant hero backdrop */
  .globe-wrap, .liquid-eye-wrap {
    display: block !important;
    position: absolute;
    right: -35%;
    top: 4%;
    width: 520px; height: 520px;
    opacity: 0.42;
    pointer-events: auto;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 72%);
            mask-image: radial-gradient(circle at center, black 40%, transparent 72%);
    filter: drop-shadow(0 0 30px rgba(124,92,255,0.25));
    animation: globeFloat 12s ease-in-out infinite alternate;
  }
  @keyframes globeFloat {
    0%   { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-14px) translateX(-10px); }
  }
  .hero-bracket { display: none; }
}
.hero-meta { display: flex; justify-content: space-between; gap: 32px; margin-bottom: 80px; }
.hero-meta .col { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .v { color: var(--text); font-family: var(--font-mono); font-size: 12px; }

.hero-title { position: relative; }
.hero-title .word { display: inline-block; }
.hero-title .underline {
  display: block; height: 2px; background: var(--accent); width: 0;
  box-shadow: 0 0 18px var(--accent-glow);
  transition: width 1.6s cubic-bezier(.2,.7,.2,1) .3s;
  margin-top: clamp(8px, 1.2vw, 18px);
}
.hero-title.in .underline { width: 38%; }

.hero-sub { max-width: 720px; margin-top: 36px; font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); line-height: 1.45; }
.hero-sub em { color: var(--text); font-style: normal; }

.hero-cta-row { display: flex; align-items: center; gap: 24px; margin-top: 48px; flex-wrap: wrap; }

.hero-metrics {
  margin-top: 96px; margin-bottom: 72px; padding-top: 28px; padding-right: 40px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  background: linear-gradient(180deg, rgba(10,10,14,0.6), rgba(10,10,14,0.8));
  position: relative; z-index: 3;
}
.hero-metric { display: flex; flex-direction: column; gap: 6px; }
.hero-metric .num { font-family: var(--font-mono); font-size: 22px; color: var(--text); letter-spacing: -0.01em; white-space: nowrap; }
.hero-meta .v { white-space: nowrap; }

/* Manifesto */
.manifesto { padding: 140px 0; }
.manifesto-quote { font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.03em; line-height: 1.05; max-width: 1100px; }
.manifesto-quote .accent-text { color: var(--accent); }
.manifesto-quote .secondary { display: block; margin-top: 24px; color: var(--muted); font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.3; }

/* Products */
.products { padding: 80px 0 120px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  position: relative; padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015) 45%, rgba(255,255,255,0) 80%),
    rgba(18, 16, 28, 0.42);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 8px 32px rgba(0,0,0,0.3);
  display: flex; flex-direction: column; gap: 24px;
  min-height: 460px; transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 40%);
  opacity: 0; transition: opacity .35s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(255,255,255,0.02) 50%, rgba(255,255,255,0) 100%), rgba(22, 18, 36, 0.55); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 20px 60px rgba(124,92,255,0.18), 0 0 0 1px var(--accent); }
.product-card:hover::before { opacity: 1; }
.product-card:hover .product-num { color: var(--accent); }

.product-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; transition: color .25s ease; }
.product-title { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.product-tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.55; max-width: 28ch; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.product-features li {
  font-family: var(--font-mono); font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 10px;
}
.product-features li::before { content: '→'; color: var(--accent); }
.product-cta { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--border); margin-top: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.product-cta .arrow { transition: transform .25s ease; }
.product-card:hover .product-cta .arrow { transform: translateX(6px); color: var(--accent); }

/* Services list (catalog) */
.services { padding: 120px 0; }
.services-list { border-top: 1px solid var(--border); }
.service-row {
  display: grid; grid-template-columns: 60px 280px 1fr 180px;
  align-items: center; gap: 32px;
  padding: 26px 32px; border-bottom: 1px solid var(--border);
  position: relative; cursor: pointer; transition: background .3s ease;
}
.service-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--accent); transition: width .3s ease;
  box-shadow: 0 0 12px var(--accent-glow);
}
.service-row:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 60%); }
.service-row:hover::before { width: 3px; }
.service-row:hover .service-name { color: var(--text); }
.service-row:hover .service-action { color: var(--accent); }

.service-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.service-name { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; transition: color .2s ease; }
.service-desc { font-family: var(--font-mono); font-size: 12px; color: var(--muted); line-height: 1.55; }
.service-action { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; text-align: right; transition: color .2s ease; }

/* Numbers — Bento */
.numbers { padding: 96px 0 120px; }
.numbers .section-head { margin-bottom: 24px; }

/* ─── Ledger — editorial stats layout ──────────────────── */
.ledger {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Hero stat — the centerpiece */
.ledger-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 56px;
  padding: 36px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ledger-hero-num {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(140px, 18vw, 280px);
  letter-spacing: -0.055em; line-height: 0.82;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: flex-start;
  position: relative;
  min-width: 0;
}
.ledger-hero-num .countup-ghost { visibility: hidden; }
.ledger-hero-num .countup-live {
  background: linear-gradient(180deg, #ffffff 0%, #d9d1ff 60%, #8a73ff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ledger-hero-suffix {
  font-size: 0.35em;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-left: 0.12em;
  margin-top: 0.28em;
  font-weight: 400;
  -webkit-text-fill-color: var(--accent);
}
.ledger-hero-meta {
  display: flex; flex-direction: column;
  gap: 14px;
  padding-bottom: 18px;
  max-width: 420px;
  min-width: 0;
}
.ledger-hero-label {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--text);
  line-height: 1.25;
}
.ledger-hero-desc {
  font-size: 14px; line-height: 1.6;
  color: var(--muted);
}

/* Ticker — 2 rows of animated crypto addresses flowing in opposite directions */
.ledger-ticker {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding: 18px 0 6px;
  border-top: 1px dashed rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.ledger-ticker-row {
  overflow: hidden;
  position: relative;
  height: 34px;
  /* strong edge darkening — 18% fade each side */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 6%, black 18%, black 82%, rgba(0,0,0,0.3) 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 6%, black 18%, black 82%, rgba(0,0,0,0.3) 94%, transparent 100%);
}
.ledger-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 14px;
  animation: tickerScroll 52s linear infinite;
  will-change: transform;
}
.ledger-ticker-row--reverse .ledger-ticker-track {
  animation: tickerScrollReverse 64s linear infinite;
}
@keyframes tickerScrollReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Pill-style item — chain badge + hash + value + timestamp */
.tx-item {
  display: inline-flex; align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  height: 26px;
  transition: background .2s ease, border-color .2s ease;
}
.tx-item:hover {
  background: rgba(124,92,255,0.08);
  border-color: rgba(124,92,255,0.28);
}
.tx-item .tx-chain {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 7px; height: 16px;
  border-radius: 3px;
  background: rgba(124,92,255,0.18);
  color: #d9d1ff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.tx-item .tx-hash {
  color: rgba(255,255,255,0.72);
  font-weight: 400;
}
.tx-item .tx-val {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}
.tx-item .tx-val.up::before {
  content: '▲';
  margin-right: 3px;
  font-size: 8px;
  color: var(--accent);
}
.tx-item .tx-val.dn::before {
  content: '▼';
  margin-right: 3px;
  font-size: 8px;
  color: rgba(189,162,255,0.7);
  transform: scaleY(-1);
  display: inline-block;
}
.tx-item em {
  font-style: normal;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.02em;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Primary row — 4 key stats */
.ledger-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ledger-stat {
  padding: 44px 36px 44px 0;
  display: flex; flex-direction: column;
  gap: 10px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: background .3s ease;
}
.ledger-stat:first-child { padding-left: 0; }
.ledger-stat:last-child  { border-right: 0; padding-right: 0; }
.ledger-stat:not(:first-child) { padding-left: 36px; }
.ledger-stat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.ledger-stat:hover::before { transform: scaleX(1); }
.ledger-stat-num {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(48px, 4.2vw, 64px);
  letter-spacing: -0.035em; line-height: 0.95;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ledger-stat-num .countup-ghost { visibility: hidden; }
.ledger-stat-num .countup-live { color: var(--accent); }
.ledger-stat-label {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
}

/* ─── Network section — 74 LABS hub connecting clients ↔ solutions ─── */
.network-section {
  padding: 80px 0 90px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124,92,255,0.06) 0%, transparent 70%);
}
.network-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.1fr) minmax(0, 1fr);
  grid-template-rows: 36px repeat(4, 52px);
  column-gap: 0;
  row-gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.network-col-head {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-self: end;
  grid-row: 1;
}
.network-col-head--left  { grid-column: 1; }
.network-col-head--right { grid-column: 3; text-align: right; }

/* Left column nodes — 4 rows */
.network-diagram > .node--left { grid-column: 1; }
.network-diagram > .node--left-0 { grid-row: 2; }
.network-diagram > .node--left-1 { grid-row: 3; }
.network-diagram > .node--left-2 { grid-row: 4; }
.network-diagram > .node--left-3 { grid-row: 5; }

/* Right column nodes — 4 rows */
.network-diagram > .node--right { grid-column: 3; }
.network-diagram > .node--right-0 { grid-row: 2; }
.network-diagram > .node--right-1 { grid-row: 3; }
.network-diagram > .node--right-2 { grid-row: 4; }
.network-diagram > .node--right-3 { grid-row: 5; }

.network-wiring {
  grid-column: 2;
  grid-row: 1 / span 5;
  position: relative;
  min-height: 280px;
}
.network-node {
  position: relative;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) 60%, transparent),
    rgba(16, 14, 26, 0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
  display: flex; align-items: center;
  gap: 10px;
}
.node--left  { padding-right: 36px; }
.node--right { padding-left: 36px; justify-content: flex-end; }
.network-node::after {
  content: '';
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  opacity: 0.75;
}
.node--left::after  { right: 12px; }
.node--right::after { left: 12px; }
.network-node:hover {
  border-color: rgba(124,92,255,0.45);
  background:
    linear-gradient(135deg, rgba(124,92,255,0.1), rgba(255,255,255,0.02) 60%, transparent),
    rgba(22, 18, 36, 0.55);
  transform: translateY(-1px);
}
.network-node[data-kind="solution"]::after {
  background: #d9d1ff;
  box-shadow: 0 0 10px rgba(217, 209, 255, 0.6);
}

.network-wiring svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 4px rgba(124,92,255,0.35));
}
@keyframes netWireDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -42; }
}
.net-wire-dash {
  animation: netWireDash 3.2s linear infinite;
}

/* Hub — pulsing 74 LABS emblem at center */
.network-hub {
  position: absolute;
  left: 50%; top: calc(50% + 25px);
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.network-hub-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(124,92,255,0.35);
  animation: hubPulse 3.2s ease-out infinite;
}
.network-hub-ring--2 { animation-delay: 1.6s; }
@keyframes hubPulse {
  0%   { transform: scale(0.65); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}
.network-hub-core {
  position: relative; z-index: 2;
  width: 116px; height: 116px;
  border-radius: 50%;
  background:
    /* specular highlight */
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.12) 18%, transparent 38%),
    /* rim light on bottom-right */
    radial-gradient(circle at 72% 78%, rgba(189,162,255,0.45) 0%, transparent 40%),
    /* sphere body: deep purple gradient */
    radial-gradient(circle at 50% 50%, #5a3fd4 0%, #3a25a0 42%, #1e1250 78%, #0a0620 100%);
  border: 1px solid rgba(189,162,255,0.55);
  box-shadow:
    /* inner top highlight */
    inset 0 4px 8px rgba(255,255,255,0.18),
    /* inner bottom shadow — creates roundness */
    inset 0 -14px 24px rgba(10,6,32,0.9),
    /* ambient glow */
    0 12px 40px rgba(124,92,255,0.4),
    0 0 60px rgba(124,92,255,0.35),
    /* drop shadow for depth */
    0 20px 40px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  overflow: hidden;
}
.network-hub-core::before {
  /* specular highlight gleam — animated subtle shift */
  content: '';
  position: absolute;
  top: 8%; left: 18%;
  width: 55%; height: 45%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.35) 0%, transparent 60%);
  filter: blur(4px);
  pointer-events: none;
  animation: hubSpecular 6s ease-in-out infinite;
}
@keyframes hubSpecular {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50%      { transform: translate(4px, -2px) scale(1.05); opacity: 1; }
}
.network-hub-logo {
  position: relative;
  z-index: 2;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(10,6,32,0.6);
}
.network-hub-labs {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.28em;
  text-shadow: 0 1px 4px rgba(10,6,32,0.6);
}

@media (max-width: 900px) {
  .network-section { padding: 56px 0 64px; }
  .network-diagram {
    grid-template-columns: minmax(0, 1fr) minmax(0, 140px) minmax(0, 1fr);
    grid-template-rows: 24px repeat(4, 44px);
    row-gap: 10px;
  }
  .network-node { font-size: 11px; padding: 8px 10px; gap: 6px; }
  .node--left  { padding-right: 26px; }
  .node--right { padding-left: 26px; }
  .node--left::after  { right: 8px; }
  .node--right::after { left: 8px; }
  .network-hub { width: 100px; height: 100px; top: calc(50% + 17px); }
  .network-hub-core { width: 80px; height: 80px; }
  .hub-logo-img { width: 52px; }
  .network-hub-logo { font-size: 24px; }
}
@media (max-width: 520px) {
  .network-diagram {
    grid-template-columns: minmax(0, 1fr) minmax(0, 88px) minmax(0, 1fr);
    grid-template-rows: 18px repeat(4, 36px);
    row-gap: 8px;
  }
  .network-node { font-size: 9px; padding: 5px 7px; gap: 4px; border-radius: 4px; }
  .node--left  { padding-right: 18px; }
  .node--right { padding-left: 18px; }
  .network-node::after { width: 5px; height: 5px; }
  .node--left::after  { right: 5px; }
  .node--right::after { left: 5px; }
  .network-hub { width: 72px; height: 72px; top: calc(50% + 13px); }
  .network-hub-core { width: 58px; height: 58px; }
  .hub-logo-img { width: 38px; }
  .network-hub-logo { font-size: 18px; }
  .network-col-head { font-size: 8px; letter-spacing: 0.08em; }
}

/* ─── Markets footer — regional coverage grid ─── */
.ledger-markets {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  align-items: start;
  gap: 56px;
  padding: 48px 0 8px;
}
.ledger-markets-head {
  display: flex; align-items: baseline; gap: 20px;
  padding-top: 8px;
}
.ledger-markets-num {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(72px, 7vw, 104px);
  letter-spacing: -0.05em; line-height: 0.85;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.ledger-markets-num .countup-ghost { visibility: hidden; }
.ledger-markets-num .countup-live { color: var(--accent); }
.ledger-markets-meta { display: flex; flex-direction: column; gap: 4px; }
.ledger-markets-label {
  font-size: 15px; font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ledger-markets-sublabel {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
}
.ledger-markets-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.markets-region {
  display: flex; flex-direction: column;
  gap: 14px;
  position: relative;
  padding-top: 14px;
}
.markets-region::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(124,92,255,0.5), rgba(124,92,255,0.06));
}
.markets-region-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 2px;
}
.markets-region-name {
  font-size: 13px; font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.markets-region-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}
.markets-region-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 2px;
}
.markets-region-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  transition: padding-left .25s ease;
}
.markets-region-list li:hover {
  padding-left: 6px;
}
.markets-region-list li:hover .markets-code {
  color: var(--accent);
  border-color: rgba(124,92,255,0.5);
  background: rgba(124,92,255,0.08);
}
.markets-region-list li:last-child { border-bottom: 0; }
.markets-code {
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  color: rgba(217,209,255,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 3px 6px;
  text-align: center;
  background: rgba(16,14,26,0.6);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.markets-region-list li span {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.72);
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .ledger-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0 36px;
  }
  .ledger-hero-meta { max-width: 100%; padding-bottom: 0; }
  .ledger-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ledger-stat {
    padding: 32px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .ledger-stat:nth-child(2n) { border-right: 0; }
  .ledger-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .ledger-markets {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 8px;
  }
  .ledger-markets-regions {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ledger-markets-num { font-size: 72px !important; }
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}
.bento-cell {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01) 45%, rgba(255,255,255,0) 80%),
    rgba(16, 14, 26, 0.42);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 6px 24px rgba(0,0,0,0.28);
  padding: 48px;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .35s ease;
}
.bento-cell:hover {
  border-color: rgba(124,92,255,0.45);
  background:
    linear-gradient(135deg, rgba(124,92,255,0.12), rgba(255,255,255,0.015) 50%, rgba(255,255,255,0) 100%),
    rgba(22, 18, 36, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 14px 40px rgba(124,92,255,0.14);
}
.bento-cell .bento-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; gap: 12px;
  /* SAFE SPACE — text can never collide with graphics */
  padding-right: 8px;
  max-width: 100%;
}
/* Per-graphic text-safe widths. Each cell reserves enough room for the graphic
   so text never overlaps regardless of viewport. */
.bento-cell:has(.gfx-heatmap) .bento-content,
.bento-cell:has(.gfx-flow)  .bento-content,
.bento-cell:has(.gfx-rings) .bento-content,
.bento-cell:has(.gfx-network) .bento-content { max-width: 52%; }

.bento-cell:has(.gfx-logo-cloud) .bento-content { max-width: 36%; }

.bento-cell:has(.gfx-bars) .bento-content,
.bento-cell:has(.gfx-chart) .bento-content,
.bento-cell:has(.gfx-pulse) .bento-content,
.bento-cell:has(.gfx-dotfloor) .bento-content { max-width: 60%; }

.bento-cell:has(.gfx-matrix) .bento-content,
.bento-cell:has(.gfx-globe-mini) .bento-content,
.bento-cell:has(.gfx-chrono) .bento-content { max-width: 58%; }

/* Widen text desc to use available width inside its capped column */
.bento-cell .bento-desc { max-width: 100%; }
.bento-cell .bento-num {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(64px, 6.2vw, 96px); letter-spacing: -0.04em; line-height: 0.9;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 32px var(--accent-glow);
  position: relative; z-index: 3;
}
.bento-cell .bento-num .countup-ghost { visibility: hidden; }
.bento-cell .bento-num .countup-live { color: var(--accent); }
.bento-cell.compact .bento-num { font-size: clamp(56px, 5.2vw, 80px); }
.bento-cell.compact { padding: 36px; }
.bento-cell .bento-label { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; color: var(--text); }
.bento-cell .bento-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }
.bento-cell .bento-tag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); letter-spacing: 0.08em;
}

/* Bento sizes — asymmetric 6-col grid */
.bento-cell.compact { grid-column: span 2; grid-row: span 1; }  /* text-only cells — smaller footprint */
.bento-cell.big-v { grid-column: span 3; grid-row: span 2; }
.bento-cell.wide  { grid-column: span 3; grid-row: span 1; }
.bento-cell.sq    { grid-column: span 2; grid-row: span 1; }
.bento-cell.tall  { grid-column: span 2; grid-row: span 2; }

/* Per-cell overrides by order within .bento —
   order: 3× compact, partners (wide), uptime (wide), markets (tall) */
.bento > .bento-cell:nth-child(1) { grid-column: span 2; grid-row: span 1; }  /* 5 years */
.bento > .bento-cell:nth-child(2) { grid-column: span 2; grid-row: span 1; }  /* 17M users */
.bento > .bento-cell:nth-child(3) { grid-column: span 2; grid-row: span 1; }  /* 9M txs */
.bento > .bento-cell:nth-child(4) { grid-column: span 4; grid-row: span 2; }  /* Partners — big w/ flow */
.bento > .bento-cell:nth-child(5) { grid-column: span 2; grid-row: span 2; }  /* Uptime — with dotfloor */
.bento > .bento-cell:nth-child(6) { grid-column: span 6; grid-row: span 1; }  /* Markets — full-width */

/* Bento graphics */
.bento-gfx {
  position: absolute; pointer-events: none; z-index: 1;
  opacity: 0.22; /* very pale at rest — cleaner, less busy */
}

/* ─── Animation gating ────────────────────────────────────
   By default, bento graphics are STATIC. On hover (desktop) or
   .is-active (mobile scroll), they brighten and animate. */
.bento-cell .bento-gfx,
.bento-cell .bento-gfx * {
  animation-play-state: paused !important;
}
.bento-cell:hover .bento-gfx,
.bento-cell:hover .bento-gfx *,
.bento-cell.is-active .bento-gfx,
.bento-cell.is-active .bento-gfx * {
  animation-play-state: running !important;
}
/* Smooth opacity transition between states — no saturation or blur dampening,
   keep colors crisp and clean. */
.bento-gfx {
  transition: opacity 1.2s cubic-bezier(.22,.61,.36,1);
}
.bento-cell:hover .bento-gfx,
.bento-cell.is-active .bento-gfx {
  opacity: 0.72;
}

/* ─── User-density heatmap — cell 02 "Users served" ─────── */
.gfx-heatmap {
  right: 28px; top: 50%; transform: translateY(-50%);
  width: 46%; height: calc(100% - 60px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 1fr;
  gap: 3px;
  opacity: 0.95;
}
.gfx-heatmap i {
  display: block;
  background: var(--accent);
  border-radius: 2px;
  opacity: var(--o, 0);
  box-shadow: 0 0 6px rgba(124,92,255,calc(var(--o, 0) * 0.6));
  animation: heatPulse 4.5s cubic-bezier(.45,0,.55,1) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes heatPulse {
  0%,100% { transform: scale(1); filter: brightness(.9); }
  50%     { transform: scale(1.06); filter: brightness(1.25); }
}

/* ─── Liquid Glass primitives ────────────────────────────── */
/* Shared glass orb — used inside several graphics for a refractive sphere look */
.glass-orb {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.08) 22%, transparent 45%),
    radial-gradient(circle at 70% 78%, rgba(189,162,255,0.35) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.22) 0%, rgba(22,18,36,0.55) 70%, rgba(10,8,20,0.85) 100%);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,0.5),
    inset 0 -20px 40px rgba(124,92,255,0.35),
    inset 0 40px 60px rgba(255,255,255,0.06),
    0 10px 40px rgba(124,92,255,0.28),
    0 0 60px rgba(124,92,255,0.18);
  backdrop-filter: blur(20px) saturate(180%);
}
.glass-orb::before {
  /* specular highlight */
  content: ''; position: absolute;
  top: 8%; left: 18%; width: 42%; height: 28%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 65%);
  border-radius: 50%;
  filter: blur(2px);
}
.glass-orb::after {
  /* chromatic rim */
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background:
    conic-gradient(from 200deg, transparent 0deg, rgba(255,255,255,0.35) 30deg, transparent 80deg, transparent 200deg, rgba(189,162,255,0.5) 260deg, transparent 320deg);
  -webkit-mask: radial-gradient(circle, transparent 63%, black 66%, black 100%);
          mask: radial-gradient(circle, transparent 63%, black 66%, black 100%);
  opacity: 0.8;
}

/* Globe-mini — now a liquid glass orb floating out of the corner */
.gfx-globe-mini {
  right: -110px; bottom: -110px; width: 340px; height: 340px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.06) 20%, transparent 42%),
    radial-gradient(circle at 70% 75%, rgba(189,162,255,0.32) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.25) 0%, rgba(22,18,36,0.5) 65%, rgba(10,8,20,0.85) 100%);
  box-shadow:
    inset 0 3px 10px rgba(255,255,255,0.45),
    inset 0 -30px 60px rgba(124,92,255,0.3),
    inset 0 60px 80px rgba(255,255,255,0.05),
    0 20px 60px rgba(124,92,255,0.25);
}
.gfx-globe-mini::before {
  content: ''; position: absolute;
  top: 10%; left: 18%; width: 50%; height: 30%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.7) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(3px);
}
.gfx-globe-mini::after {
  /* glass meridian */
  content: ''; position: absolute; inset: 20%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 30px rgba(189,162,255,0.15);
}

/* Dot perspective floor — glassier, with a subtle wave */
.gfx-dotfloor {
  left: -10%; right: -10%; bottom: -10px; height: 220px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124,92,255,0.2) 0%, transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.35) 1px, transparent 1.5px);
  background-size: 100% 100%, 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 55%, black 100%);
          mask-image: linear-gradient(180deg, transparent 0%, black 55%, black 100%);
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center bottom;
  opacity: 0.55;
}

/* ─── Thematic glass graphics ────────────────────────────── */

/* Matrix rain — "years in production" */
.gfx-matrix {
  inset: 0;
  overflow: hidden;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.2) 35%, black 65%, black 100%);
          mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.2) 35%, black 65%, black 100%);
}
.gfx-matrix::before {
  /* dark vignette behind text */
  content: ''; position: absolute;
  left: 0; top: 0; width: 62%; height: 62%;
  background: radial-gradient(ellipse at top left, rgba(10,8,20,0.95) 0%, rgba(10,8,20,0.75) 50%, transparent 100%);
  pointer-events: none; z-index: 1;
}
.gfx-matrix .matrix-col {
  position: absolute; top: -120%;
  display: flex; flex-direction: column; gap: 2px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 14px; line-height: 1.1;
  animation: matrixFall linear infinite;
  will-change: transform;
}
.gfx-matrix .matrix-col b {
  display: block;
  color: rgba(124,92,255,0.55);
  font-weight: 400;
  text-shadow: 0 0 6px rgba(124,92,255,0.45);
}
/* head/tail brightness gradient — last elements brighter */
.gfx-matrix .matrix-col b:nth-last-child(-n+3) { color: rgba(180,160,255,0.9); text-shadow: 0 0 10px rgba(124,92,255,0.9); }
.gfx-matrix .matrix-col b:last-child { color: #fff; text-shadow: 0 0 14px rgba(255,255,255,0.9), 0 0 6px var(--accent); }
.gfx-matrix .matrix-col b:nth-child(-n+4) { opacity: 0.2; }

@keyframes matrixFall {
  0%   { transform: translateY(0); }
  100% { transform: translateY(240%); }
}

/* Chronometer — "years in production" */
.gfx-chrono {
  right: -80px; bottom: -80px; width: 340px; height: 340px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.06) 22%, transparent 45%),
    radial-gradient(circle at 70% 75%, rgba(189,162,255,0.3) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.22) 0%, rgba(22,18,36,0.55) 68%, rgba(10,8,20,0.88) 100%);
  box-shadow:
    inset 0 3px 10px rgba(255,255,255,0.4),
    inset 0 -28px 56px rgba(124,92,255,0.28),
    0 18px 50px rgba(124,92,255,0.22);
}
.gfx-chrono::before {
  /* bezel glow */
  content: ''; position: absolute; inset: 18px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 40px rgba(189,162,255,0.15);
}
.gfx-chrono .chrono-face {
  position: absolute; inset: 46px; border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(255,255,255,0.35) 0%, transparent 45%),
    rgba(10,8,20,0.35);
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.25),
    inset 0 -10px 24px rgba(124,92,255,0.2);
  overflow: hidden;
}
.gfx-chrono .chrono-tick {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 50%;
  transform-origin: top center;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 18%);
}
.gfx-chrono .chrono-hand {
  position: absolute; left: 50%; top: 50%;
  transform-origin: left center;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(189,162,255,0.85) 60%, #fff);
  box-shadow: 0 0 10px rgba(189,162,255,0.7);
}
.gfx-chrono .chrono-hand-h {
  width: 28%; height: 3px; margin-top: -1.5px;
  transform: rotate(-60deg);
  animation: chronoHour 60s linear infinite;
}
.gfx-chrono .chrono-hand-m {
  width: 40%; height: 2px; margin-top: -1px;
  transform: rotate(45deg);
  animation: chronoMin 10s linear infinite;
}
.gfx-chrono .chrono-pin {
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, rgba(189,162,255,0.9) 40%, rgba(124,92,255,0.8) 100%);
  box-shadow: 0 0 12px rgba(189,162,255,0.9);
}
@keyframes chronoHour { to { transform: rotate(300deg); } }
@keyframes chronoMin  { from { transform: rotate(45deg);  } to { transform: rotate(405deg); } }

/* Crowd of avatars — "users served" */
.gfx-crowd {
  right: 36px; top: 40px; bottom: 40px; width: 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 40%, black 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 40%, black 100%);
}
.gfx-crowd .crowd-av {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: var(--s, 24px); height: var(--s, 24px);
  padding: calc(var(--s, 24px) * 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 28%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(189,162,255,0.35) 0%, rgba(22,18,36,0.72) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.5),
    inset 0 -2px 5px rgba(124,92,255,0.35),
    0 4px 10px rgba(0,0,0,0.3);
  animation: crowdFloat 3.2s ease-in-out infinite alternate;
  animation-delay: var(--d);
  backdrop-filter: blur(6px);
  fill: none;
  stroke: rgba(255,255,255,0.85);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  filter: drop-shadow(0 0 4px rgba(189,162,255,0.45));
}
.gfx-crowd .crowd-av--hero {
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.12) 28%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.62) 0%, rgba(22,18,36,0.72) 100%);
  border-color: rgba(189,162,255,0.6);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.7),
    inset 0 -4px 8px rgba(124,92,255,0.55),
    0 0 28px rgba(124,92,255,0.55);
  stroke: #fff;
  stroke-width: 1.3;
  filter: drop-shadow(0 0 8px rgba(189,162,255,0.8));
}
@keyframes crowdFloat {
  0% { transform: translate(-50%, -50%) translateY(0); }
  100% { transform: translate(-50%, -50%) translateY(-4px); }
}

/* Flow chart — "partners & clients" */
.gfx-flow {
  right: 12px; top: 12px; bottom: 12px; width: 58%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 100%);
}
.gfx-flow svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 0 4px rgba(124,92,255,0.35));
}
@keyframes flowDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -34; }
}
.gfx-flow .flow-dash {
  animation: flowDash 3.5s linear infinite;
}
.gfx-flow .flow-dash--center {
  animation: flowDash 1.6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(189,162,255,0.9));
}
.gfx-flow .flow-node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); font-style: normal;
  border-radius: 5px;
  border: 1px solid rgba(124,92,255,0.28);
  background: #0F0D18;
  box-shadow: 0 0 12px rgba(124,92,255,0.12);
  white-space: nowrap;
  animation: flowNodePulse 5s ease-in-out infinite alternate;
  z-index: 2;
}
.gfx-flow .flow-node:nth-of-type(2) { animation-delay: .3s; }
.gfx-flow .flow-node:nth-of-type(3) { animation-delay: .6s; }
.gfx-flow .flow-node:nth-of-type(5) { animation-delay: .9s; }
.gfx-flow .flow-node:nth-of-type(6) { animation-delay: 1.2s; }
.gfx-flow .flow-node--hub {
  padding: 9px 14px;
  font-size: 10px; font-weight: 600;
  color: #fff;
  border-color: rgba(124,92,255,0.6);
  background: #1A1430;
  box-shadow: 0 0 24px rgba(124,92,255,0.4);
  z-index: 3;
}
@keyframes flowNodePulse {
  0%   { box-shadow: 0 0 8px rgba(124,92,255,0.1); }
  100% { box-shadow: 0 0 18px rgba(124,92,255,0.35); }
}

/* Network graph (kept for reference, unused) */
.gfx-network {
  right: -40px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 220px;
}
.gfx-network svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 0 6px rgba(124,92,255,0.4));
}
.gfx-network .net-node {
  position: absolute;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.12) 30%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(189,162,255,0.55) 0%, rgba(22,18,36,0.7) 100%);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.6),
    0 0 14px rgba(189,162,255,0.55);
  animation: netPulse 3s ease-in-out infinite alternate;
}
.gfx-network .net-node--hub {
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.12) 30%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.65) 0%, rgba(22,18,36,0.7) 100%);
  border-color: rgba(189,162,255,0.5);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.7),
    inset 0 -4px 8px rgba(124,92,255,0.55),
    0 0 30px rgba(124,92,255,0.75);
}
.gfx-network .net-node:nth-of-type(2) { animation-delay: .3s; }
.gfx-network .net-node:nth-of-type(3) { animation-delay: .6s; }
.gfx-network .net-node:nth-of-type(4) { animation-delay: .9s; }
.gfx-network .net-node:nth-of-type(5) { animation-delay: 1.2s; }
@keyframes netPulse {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

/* Concentric rings (kept for fallback) */
.gfx-rings {
  right: -70px; top: 50%; transform: translateY(-50%); width: 300px; height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.28) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.18) 0%, rgba(22,18,36,0.35) 55%, transparent 80%);
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.25),
    inset 0 -20px 40px rgba(124,92,255,0.2),
    0 0 60px rgba(124,92,255,0.15);
  overflow: hidden;
}
.gfx-rings::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 220deg, transparent 0deg, rgba(255,255,255,0.3) 40deg, transparent 90deg, transparent 240deg, rgba(189,162,255,0.4) 290deg, transparent 340deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, black 63%, black 100%);
          mask: radial-gradient(circle, transparent 60%, black 63%, black 100%);
  opacity: 0.85;
}
.gfx-rings span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.gfx-rings span:nth-child(2) { inset: 34px; border-color: rgba(189,162,255,0.2); }
.gfx-rings span:nth-child(3) { inset: 68px; border-color: rgba(124,92,255,0.28); }
.gfx-rings span:nth-child(4) {
  inset: 102px;
  border: 1px solid rgba(255,255,255,0.35);
  background:
    radial-gradient(circle at 40% 30%, rgba(255,255,255,0.5) 0%, transparent 45%),
    radial-gradient(circle at 60% 70%, rgba(124,92,255,0.4) 0%, rgba(22,18,36,0.7) 100%);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -8px 14px rgba(124,92,255,0.3),
    0 0 30px rgba(124,92,255,0.5);
}

/* Bar chart — glass shards rising */
.gfx-bars {
  right: 28px; bottom: 28px; display: flex; align-items: flex-end; gap: 7px; height: 82px;
}
.gfx-bars b {
  width: 10px; border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.1) 8%, rgba(124,92,255,0.4) 40%, rgba(124,92,255,0.75) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    inset -1px 0 2px rgba(255,255,255,0.15),
    0 0 8px rgba(124,92,255,0.35);
  animation: barRise 2.4s ease-in-out infinite alternate;
  backdrop-filter: blur(6px);
}
.gfx-bars b:nth-child(1) { height: 30%; animation-delay: 0s; }
.gfx-bars b:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.gfx-bars b:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.gfx-bars b:nth-child(4) { height: 45%; animation-delay: 0.3s; }
.gfx-bars b:nth-child(5) {
  height: 95%; animation-delay: 0.4s;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 0 16px rgba(189,162,255,0.6);
}
.gfx-bars b:nth-child(6) { height: 65%; animation-delay: 0.5s; }
.gfx-bars b:nth-child(7) { height: 85%; animation-delay: 0.6s; }
@keyframes barRise { from { transform: scaleY(0.75); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

/* Minimalist crypto line chart — "On-chain TXs / month" */
.gfx-chart {
  right: 24px; bottom: 24px; left: 44%; top: 38%;
  opacity: 0.22;
}
.gfx-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gfx-chart .chart-line {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: chartDraw 2.4s cubic-bezier(.4,0,.2,1) forwards;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}
.gfx-chart .chart-dot {
  opacity: 0;
  animation: chartDot 0.4s ease-out 2.2s forwards;
  filter: drop-shadow(0 0 8px var(--accent));
}
@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes chartDot {
  from { opacity: 0; transform: scale(0.4); transform-origin: 200px 6px; }
  to   { opacity: 1; transform: scale(1);   transform-origin: 200px 6px; }
}

/* Logo cloud */
.gfx-logo-cloud {
  right: 32px; top: 50%; transform: translateY(-50%); left: 42%; height: auto;
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; align-content: center;
}
.gfx-logo-cloud > * { position: relative; z-index: 0; }
.gfx-logo-cloud span {
  border: 1px solid rgba(124,92,255,0.18);
  background: rgba(10,8,20,0.5);
  border-radius: 6px;
  padding: 10px 0; text-align: center;
  font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  transition: all .25s ease;
}
.gfx-logo-cloud span:hover {
  color: #fff; border-color: rgba(124,92,255,0.6);
  background: rgba(124,92,255,0.14);
  box-shadow: 0 0 16px rgba(124,92,255,0.35);
}

/* Pulse — glass bead with concentric rings */
.gfx-pulse {
  right: 28px; top: 28px; width: 72px; height: 72px;
}
.gfx-pulse::before, .gfx-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(189,162,255,0.7);
  animation: pulseRing 2.4s infinite;
}
.gfx-pulse::after { animation-delay: 1.2s; }
.gfx-pulse b {
  position: absolute; inset: 22px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.08) 25%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.5) 0%, rgba(22,18,36,0.6) 80%);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.6),
    inset 0 -4px 8px rgba(124,92,255,0.5),
    0 0 24px rgba(124,92,255,0.6);
}
@keyframes pulseRing { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

/* Mobile bento */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-cell.big-v, .bento-cell.tall, .bento-cell.wide, .bento-cell.sq, .bento-cell.compact { grid-column: span 2; grid-row: span 1; }
}
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.number-cell {
  padding: 56px 28px 36px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px; position: relative; min-height: 320px;
}
.number-cell .big {
  font-size: clamp(72px, 10vw, 156px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.9;
  font-variant-numeric: tabular-nums;
  display: block;
}
.countup { position: relative; display: inline-block; }
.countup-ghost { visibility: hidden; pointer-events: none; }
.countup-live { position: absolute; top: 0; left: 0; right: 0; }
.number-cell .big .suffix { color: var(--accent); }
/* Apply accent to trailing + or M+ in countup */
.countup-live, .countup-ghost { color: var(--text); }
.number-cell .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: auto; line-height: 1.5; }
.number-cell .corner { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); }

/* Partners — logo grid */
.partners { padding: 120px 0; }
.logo-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.logo-cell {
  border-right: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
  aspect-ratio: 196 / 90;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) 60%, rgba(255,255,255,0) 100%),
    rgba(16, 14, 26, 0.35);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
  transition: transform .3s ease;
  position: relative; overflow: hidden;
  will-change: transform;
}
.logo-cell::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.logo-cell:hover { transform: translateY(-2px); }
.logo-cell:hover::before { opacity: 1; }
.logo-cell img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity .25s ease, filter .25s ease;
  position: relative; z-index: 1;
}
.logo-cell:hover img { opacity: 1; }
@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Service modal overlay === */
.svc-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: svcFadeIn .2s ease;
}
@keyframes svcFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.svc-modal {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.01) 55%, transparent),
    rgba(12, 10, 22, 0.97);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(124,92,255,0.18), inset 0 1px 0 rgba(255,255,255,0.09);
  padding: 40px 44px;
  max-width: 580px; width: 100%;
  animation: svcSlideUp .28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes svcSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.svc-modal-head {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 18px;
}
.svc-modal-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.14em;
  text-transform: uppercase; padding-top: 5px; flex-shrink: 0;
}
.svc-modal-title {
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--text); flex: 1; line-height: 1.2; margin: 0;
}
.svc-modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 24px; line-height: 1;
  padding: 0 0 0 12px; flex-shrink: 0;
  transition: color .2s ease;
}
.svc-modal-close:hover { color: var(--text); }
.svc-modal-long {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.7; margin: 0 0 24px;
  border-left: 2px solid var(--accent); padding-left: 14px;
}
.svc-modal-bullets {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.svc-modal-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.65); line-height: 1.55;
}
.svc-modal-bullets li::before {
  content: '→'; color: var(--accent); flex-shrink: 0;
}
.svc-modal-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.svc-modal-tag {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}
@media (max-width: 540px) {
  .svc-modal { padding: 28px 24px; }
  .svc-modal-title { font-size: 18px; }
  .svc-modal-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* How we work */
.process { padding: 120px 0; }
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.process-step {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01) 50%, rgba(255,255,255,0) 100%),
    rgba(16, 14, 26, 0.38);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 48px 40px; min-height: 280px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; transition: background .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.process-step::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at 80% -20%, rgba(124,92,255,0.12), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
}
.process-step:hover {
  background:
    linear-gradient(135deg, rgba(124,92,255,0.10), rgba(255,255,255,0.015) 50%, rgba(255,255,255,0) 100%),
    rgba(22, 18, 36, 0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 12px 40px rgba(124,92,255,0.12);
}
.process-step:hover::after { opacity: 1; }
.process-step .pn { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }
.process-step h3 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.process-step p { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 50ch; margin-top: auto; }

/* Contact */
.contact { padding: 140px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(48px, 6vw, 96px); letter-spacing: -0.035em; line-height: 0.98; }
.contact-meta { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-meta .row { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 13px; }
.contact-meta .row .k { color: var(--muted); width: 80px; }
.contact-meta .row .v { color: var(--text); }
.copy-btn { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--border-strong); padding: 4px 8px; transition: all .2s ease; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }

.form {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) 50%, rgba(255,255,255,0) 100%),
    rgba(16, 14, 26, 0.38);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 16px 48px rgba(0,0,0,0.35);
  padding: 8px 24px 24px;
  position: relative; overflow: hidden;
}
.form::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at 10% -10%, rgba(124,92,255,0.12), transparent 60%);
}
.form-field { display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.06); position: relative; z-index: 1; }
.form-field:last-of-type { border-bottom: 0; }
.form-field label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; padding-top: 6px; }
.form-field input, .form-field textarea {
  background: transparent; border: 0; color: var(--text); font: inherit; font-size: 16px; outline: none; resize: none; width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-2); }
.form-field:focus-within label { color: var(--accent); }
.form-actions { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; position: relative; z-index: 1; }
.form-status { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; }
.footer-clocks { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.footer-clock-row { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; }
.footer-clock-city { color: var(--muted); letter-spacing: 0.08em; width: 28px; flex-shrink: 0; }
.footer-clock-time { color: rgba(255,255,255,0.55); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; font-size: 14px; color: var(--text); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 36px; margin-top: 56px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

/* Tweaks panel */
.tweaks {
  position: fixed; right: 24px; bottom: 24px; z-index: 1000;
  background: var(--surface); border: 1px solid var(--border-strong);
  width: 280px; padding: 18px; display: none; flex-direction: column; gap: 14px;
  font-family: var(--font-mono); font-size: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.tweaks.open { display: flex; }
.tweaks h5 { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tweak-row { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.tweak-row:last-child { border-bottom: 0; padding-bottom: 0; }
.tweak-row .lbl { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch { width: 22px; height: 22px; border-radius: 4px; cursor: pointer; border: 1px solid var(--border-strong); position: relative; }
.tweak-swatch.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent); }
.tweak-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tweak-pill { padding: 6px 10px; border: 1px solid var(--border-strong); color: var(--muted); cursor: pointer; font-size: 11px; transition: all .2s ease; }
.tweak-pill.active { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.tweak-pill:hover { color: var(--text); }

/* Page-specific */
.page-pad { padding-top: 64px; }
.product-hero { padding: 96px 0 80px; border-bottom: 1px solid var(--border); }
.product-hero .crumb { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 32px; letter-spacing: 0.06em; text-transform: uppercase; }
.product-hero h1 { font-size: clamp(48px, 8vw, 124px); font-weight: 500; letter-spacing: -0.04em; line-height: 0.92; }
.product-hero .lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); max-width: 720px; margin-top: 32px; line-height: 1.5; }

.modules { padding: 100px 0; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.module { background: var(--bg); padding: 32px; min-height: 200px; transition: background .25s ease; }
.module:hover { background: var(--surface); }
.module .mn { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.module h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin-top: 12px; }
.module p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 12px; }

.stack { padding: 100px 0; }
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tag { font-family: var(--font-mono); font-size: 12px; padding: 8px 14px; border: 1px solid var(--border-strong); color: var(--text); transition: all .2s ease; }
.stack-tag:hover { border-color: var(--accent); color: var(--accent); }

.faq { padding: 100px 0; }
.faq-item { border-top: 1px solid var(--border); padding: 24px 0; cursor: pointer; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.faq-q h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.faq-q .icn { font-family: var(--font-mono); color: var(--muted); transition: color .2s ease, transform .3s ease; }
.faq-item.open .icn { color: var(--accent); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 70ch; }
.faq-item.open .faq-a { max-height: 320px; padding-top: 16px; }

/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .nav-inner { height: 56px; gap: 16px; }
  .cta-mini { padding: 8px 12px; font-size: 11px; }

  /* Hero */
  .hero { padding: 72px 0 180px; min-height: 100vh; }
  .hero-title { font-size: clamp(44px, 11vw, 88px) !important; }
  .hero-sub { font-size: 16px; margin-top: 24px; }
  .hero-cta-row { margin-top: 32px; gap: 12px; }
  .hero-cta-row .btn { flex: 1 1 auto; min-width: 0; text-align: center; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 14px; margin-bottom: 40px; }
  .hero-metrics {
    margin-top: 56px; margin-bottom: 40px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-right: 0;
    background: linear-gradient(180deg, rgba(10,10,14,0.72), rgba(10,10,14,0.88));
    padding: 20px 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .hero-metric .num { font-size: 18px; }

  /* Ticker: thinner, still animated */
  .hero-ticker { font-size: 10px; padding: 8px 0; bottom: 16px; }
  .hero-ticker-track { gap: 32px; animation-duration: 45s; }

  /* Section padding tightening */
  section, .numbers, .partners, .services, .process, .contact, .products { padding: 72px 0 !important; }
  .section-head { margin-bottom: 32px; padding-bottom: 20px; gap: 12px 16px; flex-wrap: wrap; }
  .section-head .section-tag { flex: 1 1 auto; min-width: 0; }
  .section-head > .label { flex-shrink: 0; font-size: 10px; }
  h2, .contact h2 { font-size: clamp(36px, 8vw, 56px) !important; }

  /* Products grid */
  .product-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .product-card { min-height: 280px; padding: 28px 24px; }
  .product-card h3 { font-size: 28px; }

  /* Numbers bento — stack into 1-column with graphics BELOW text, never overlapping */
  .bento {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 14px;
  }
  .bento-cell {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    min-height: 0;
    padding: 28px;
    /* Stack: text block, then a graphic zone underneath */
    display: grid;
    grid-template-rows: auto 160px;
    gap: 20px;
    overflow: hidden;
  }
  .bento-cell.big-v { grid-template-rows: auto 180px; }
  .bento-cell .bento-num { font-size: clamp(52px, 15vw, 80px); }
  .bento-cell .bento-label { font-size: 16px; }
  .bento-cell .bento-desc { font-size: 13px; }
  /* Text reclaims full width; graphic gets its own dedicated strip */
  .bento-cell .bento-content { max-width: 100% !important; position: relative; z-index: 2; }
  .bento-cell .bento-gfx {
    position: relative !important;
    inset: auto !important;
    top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
    transform: none !important;
    width: 100% !important; height: 100% !important;
    align-self: stretch;
    justify-self: stretch;
    opacity: 0.9;
  }

  /* Mobile bento graphics: each gfx gets its own row strip below text.
     Reset absolute positioning and let it fill the graphic cell. */
  .gfx-globe-mini, .gfx-chrono, .gfx-rings, .gfx-network,
  .gfx-heatmap, .gfx-flow, .gfx-bars, .gfx-pulse,
  .gfx-logo-cloud, .gfx-dotfloor, .gfx-matrix {
    position: relative !important;
    inset: 0 !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }
  /* Shrink orbital graphics to fit 160px strip */
  .gfx-globe-mini, .gfx-chrono, .gfx-rings {
    width: 160px !important; height: 160px !important;
    margin: 0 auto !important;
  }
  .gfx-chrono .chrono-face { inset: 22px; }
  .gfx-rings span:nth-child(2) { inset: 18px; }
  .gfx-rings span:nth-child(3) { inset: 36px; }
  .gfx-rings span:nth-child(4) { inset: 54px; }
  /* Flow: fit horizontally across strip */
  .gfx-flow { padding: 0 8px; }
  .gfx-flow .flow-node { font-size: 10px; padding: 6px 10px; }
  .gfx-flow .flow-node--hub { font-size: 11px; padding: 8px 12px; }
  /* Bars: center in strip */
  .gfx-bars { display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 100% !important; padding: 16px; }
  .gfx-bars b { width: 10px; }
  /* Logo cloud: keep as grid, center in strip */
  .gfx-logo-cloud {
    display: grid !important; grid-template-columns: repeat(9, 1fr) !important;
    gap: 6px; align-items: center; align-content: center; padding: 0 8px;
  }
  .gfx-logo-cloud span { font-size: 10px; padding: 10px 0; }
  .gfx-logo-cloud::before { display: none; }
  /* Dotfloor: full strip */
  .gfx-dotfloor { opacity: 0.5; }
  /* Matrix: contained in its strip */
  .gfx-matrix::before {
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10,8,20,0.3) 0%, transparent 40%, rgba(10,8,20,0.3) 100%);
  }
  /* Heatmap: fits full strip naturally */
  .gfx-heatmap { gap: 3px; }
  .gfx-pulse { width: 80px !important; height: 80px !important; margin: 0 auto !important; }

  /* Services */
  .service-row { grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 16px; }
  .service-row .service-desc, .service-row .service-action { display: none; }
  .service-name { font-size: 17px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding: 32px 24px; min-height: 220px; }
  .process-step h3 { font-size: 24px; }

  /* Partners */
  .logo-grid { grid-template-columns: repeat(3, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-meta { margin-top: 24px; }
  .form { padding: 4px 16px 16px; }
  .form-field { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .form-field label { padding-top: 0; font-size: 10px; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .form-actions .btn { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; padding-top: 24px; margin-top: 32px; }

  /* Tweaks → bottom sheet */
  .tweaks {
    right: 12px; left: 12px; bottom: 12px; width: auto;
    max-height: 70vh; overflow-y: auto;
    border-radius: 14px;
  }

  /* Product pages */
  .product-hero { padding: 72px 0 56px; }
  .product-hero h1 { font-size: clamp(44px, 11vw, 80px) !important; }
  .product-hero .lead { font-size: 16px; margin-top: 20px; }
  .module-grid { grid-template-columns: 1fr; }
  .module { padding: 24px; min-height: 160px; }

  /* FAQ */
  .faq-q h4 { font-size: 17px; }

  /* Reduce motion intensity a bit on mobile so it doesn't drag */
  .bento-cell { transition: border-color .25s ease, background .25s ease; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .hero { padding: 56px 0 160px; }
  .hero-title { font-size: clamp(40px, 13vw, 64px) !important; line-height: 0.95; }
  .hero-sub { font-size: 15px; }
  .footer-cols { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tighter globe on small phones */
  .globe-wrap, .liquid-eye-wrap {
    width: 420px !important; height: 420px !important;
    right: -35% !important; top: 2% !important;
    opacity: 0.38 !important;
  }
}
