/* ============================================================
   INFOGRAPHICS — animated svg/css scenes used across pages
   Each block is small, composable, and self-contained.
   ============================================================ */

/* ── Generic decoration grid background ──────────────── */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(hsl(var(--accent-electric) / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--accent-electric) / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black, transparent 75%);
}

/* ── Marquee stripe (scrolling tokens) ───────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
  border-block: 1px solid hsl(var(--border-subtle));
  background: hsl(var(--bg-deep));
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex; gap: var(--space-12);
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-track > span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  color: hsl(var(--fg-tertiary));
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: var(--space-4);
}
.marquee-track > span::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--accent-electric));
  box-shadow: 0 0 10px hsl(var(--accent-electric));
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ── Animated stat tile ──────────────────────────────── */
.stat-tile {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, hsl(var(--bg-elevated)), hsl(var(--bg-base)));
  border: 1px solid hsl(var(--border-subtle));
  box-shadow: var(--inner-highlight), var(--shadow-md);
  overflow: hidden;
}
.stat-tile::before {
  content: ""; position: absolute; inset: -1px;
  background: linear-gradient(135deg, transparent 50%, hsl(var(--accent-electric) / 0.4));
  -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
          mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity var(--duration-base);
}
.stat-tile:hover::before { opacity: 1; }
.stat-tile .num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: var(--gradient-stat);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: block;
}
.stat-tile .lab {
  display: block;
  margin-top: var(--space-3);
  color: hsl(var(--fg-secondary));
  font-size: var(--text-sm);
  line-height: 1.5;
  max-width: 30ch;
}

/* ── Pillar deck ─────────────────────────────────────── */
.pillar-deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 980px) { .pillar-deck { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillar-deck { grid-template-columns: 1fr; } }
.pillar {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: hsl(var(--bg-elevated) / 0.6);
  border: 1px solid hsl(var(--border-subtle));
  transition: transform var(--duration-base), border-color var(--duration-base);
}
.pillar:hover { transform: translateY(-3px); border-color: hsl(var(--accent-electric) / 0.4); }
.pillar .pillar-num {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.15em; color: hsl(var(--accent-electric));
  margin-bottom: var(--space-3);
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: hsl(var(--fg-pure));
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.pillar p { color: hsl(var(--fg-secondary)); font-size: var(--text-sm); line-height: 1.5; }

/* ── Animated funnel infographic ─────────────────────── */
.funnel-figure {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}
.funnel-figure svg { width: 100%; height: 100%; overflow: visible; }
.funnel-figure .funnel-band {
  fill: hsl(var(--accent-electric) / 0.08);
  stroke: hsl(var(--accent-electric) / 0.4);
  stroke-width: 1;
  transition: fill 800ms;
}
.funnel-figure .funnel-band.lit { fill: hsl(var(--accent-electric) / 0.18); }
.funnel-figure .funnel-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  fill: hsl(var(--fg-secondary)); text-transform: uppercase;
}
.funnel-figure .funnel-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  fill: hsl(var(--fg-pure)); letter-spacing: -0.02em;
}
.funnel-figure .data-dot {
  fill: hsl(var(--accent-electric));
  filter: drop-shadow(0 0 6px hsl(var(--accent-electric)));
  animation: data-fall 4s linear infinite;
}
.funnel-figure .data-dot:nth-child(2) { animation-delay: -1.2s; }
.funnel-figure .data-dot:nth-child(3) { animation-delay: -2.4s; }
.funnel-figure .data-dot:nth-child(4) { animation-delay: -3.6s; }
@keyframes data-fall {
  0%   { transform: translate(0,-180px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(0, 220px); opacity: 0; }
}

/* ── Channel constellation (used on /branding, /paid-media, etc) ── */
.constellation {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.constellation svg { width: 100%; height: 100%; overflow: visible; }
.constellation .ring {
  stroke: hsl(var(--accent-electric) / 0.18);
  stroke-dasharray: 4 6;
  fill: none;
  animation: spin-slow 60s linear infinite;
  transform-origin: center;
}
.constellation .ring.r2 { animation-duration: 90s; animation-direction: reverse; }
.constellation .core {
  fill: hsl(var(--accent-deep));
  stroke: hsl(var(--accent-bright));
  stroke-width: 1.5;
  filter: drop-shadow(0 0 16px hsl(var(--accent-electric)));
}
.constellation .node {
  fill: hsl(var(--bg-elevated));
  stroke: hsl(var(--accent-electric) / 0.6);
  stroke-width: 1.5;
}
.constellation .node-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  fill: hsl(var(--fg-secondary)); text-transform: uppercase;
}
.constellation .core-label {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  fill: hsl(var(--fg-pure)); letter-spacing: -0.01em; text-anchor: middle;
}
.constellation .pulse-line {
  stroke: hsl(var(--accent-bright));
  stroke-width: 1.4; stroke-linecap: round; fill: none;
  stroke-dasharray: 4 200;
  animation: beam-fire 5s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ── Loop diagram (services -> growth -> services) ──── */
.loop-figure {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
}
.loop-figure svg { width: 100%; height: 100%; overflow: visible; }
.loop-figure .loop-arc {
  fill: none; stroke: hsl(var(--accent-electric) / 0.55);
  stroke-width: 2; stroke-dasharray: 6 240;
  animation: beam-fire 6s linear infinite;
}
.loop-figure .loop-node {
  fill: hsl(var(--bg-elevated));
  stroke: hsl(var(--accent-electric) / 0.8);
  stroke-width: 1.5;
}
.loop-figure .loop-node-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  fill: hsl(var(--fg-pure));
  text-anchor: middle;
  letter-spacing: -0.01em;
}
.loop-figure .loop-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: hsl(var(--accent-electric));
  text-anchor: middle;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Bar-chart infographic ───────────────────────────── */
.bars {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
  height: 240px;
  align-items: end;
  padding: var(--space-6);
  background: hsl(var(--bg-deep));
  border: 1px solid hsl(var(--border-subtle));
  border-radius: var(--radius-lg);
  box-shadow: var(--inner-highlight), var(--shadow-md);
  position: relative; overflow: hidden;
}
.bars::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 39px, hsl(var(--border-subtle)) 39px, hsl(var(--border-subtle)) 40px);
  opacity: 0.6;
  pointer-events: none;
}
.bars .bar {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, hsl(var(--accent-bright)), hsl(var(--accent-deep)));
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 12px hsl(var(--accent-electric) / 0.5);
  transform-origin: bottom;
  animation: bar-rise 1.4s var(--ease-out) backwards;
}
.bars .bar:nth-child(1) { animation-delay: .05s; }
.bars .bar:nth-child(2) { animation-delay: .15s; }
.bars .bar:nth-child(3) { animation-delay: .25s; }
.bars .bar:nth-child(4) { animation-delay: .35s; }
.bars .bar:nth-child(5) { animation-delay: .45s; }
.bars .bar:nth-child(6) { animation-delay: .55s; }
.bars .bar:nth-child(7) { animation-delay: .65s; }
@keyframes bar-rise { from { transform: scaleY(0); opacity: 0; } }
.bars-cap {
  margin-top: var(--space-3);
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: hsl(var(--fg-tertiary)); letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}

/* ── Timeline / process ribbon ──────────────────────── */
.ribbon {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 880px) { .ribbon { grid-template-columns: 1fr; } }
.ribbon::before {
  content: ""; position: absolute;
  top: 28px; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--accent-electric) / 0.5), transparent);
}
@media (max-width: 880px) { .ribbon::before { display: none; } }
.ribbon-step {
  position: relative;
  text-align: center;
  padding-top: var(--space-12);
}
.ribbon-step::before {
  content: ""; position: absolute; top: 22px; left: 50%; width: 14px; height: 14px;
  border-radius: 50%; transform: translateX(-50%);
  background: hsl(var(--accent-electric));
  box-shadow: 0 0 10px hsl(var(--accent-electric)), 0 0 24px hsl(var(--accent-electric) / 0.5);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.ribbon-step:nth-child(1)::before { animation-delay: 0s; }
.ribbon-step:nth-child(2)::before { animation-delay: .6s; }
.ribbon-step:nth-child(3)::before { animation-delay: 1.2s; }
.ribbon-step:nth-child(4)::before { animation-delay: 1.8s; }
.ribbon-step .num {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.15em; color: hsl(var(--accent-electric));
  margin-bottom: var(--space-2);
}
.ribbon-step h5 {
  font-family: var(--font-display); font-size: var(--text-base);
  font-weight: 500; color: hsl(var(--fg-pure));
  margin-bottom: var(--space-2); letter-spacing: -0.01em;
}
.ribbon-step p { font-size: var(--text-sm); color: hsl(var(--fg-secondary)); line-height: 1.5; }

/* ── Phone mock for socials ─────────────────────────── */
.phone-mock {
  position: relative;
  width: 280px;
  aspect-ratio: 9/19;
  margin-inline: auto;
  border-radius: 36px;
  background: linear-gradient(180deg, hsl(var(--bg-elevated)), hsl(var(--bg-deep)));
  border: 1px solid hsl(var(--border-medium));
  box-shadow: var(--shadow-xl), var(--inner-highlight), 0 0 60px hsl(var(--accent-electric) / 0.18);
  padding: 14px;
  overflow: hidden;
  isolation: isolate;
}
.phone-mock::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; background: hsl(var(--bg-void));
  border-radius: var(--radius-full); z-index: 5;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, hsl(var(--bg-deep)), hsl(var(--bg-base)));
  overflow: hidden;
}
.phone-feed {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 44px 10px 10px;
  animation: phone-scroll 18s linear infinite;
}
@keyframes phone-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.phone-post {
  flex-shrink: 0;
  border-radius: 12px;
  padding: 10px;
  background: hsl(var(--bg-elevated) / 0.8);
  border: 1px solid hsl(var(--border-subtle));
}
.phone-post .row {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.phone-post .av { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, hsl(var(--accent-electric)), hsl(var(--accent-deep))); flex-shrink: 0; }
.phone-post .ln {
  height: 6px; background: hsl(var(--fg-tertiary) / 0.4); border-radius: 3px; flex: 1;
}
.phone-post .ln.short { flex: 0 0 40%; }
.phone-post .img-block {
  height: 70px; border-radius: 8px;
  background: linear-gradient(135deg, hsl(var(--accent-deep) / 0.5), hsl(var(--accent-electric) / 0.5));
  position: relative; overflow: hidden;
  margin-bottom: 6px;
}
.phone-post .img-block::after {
  content: "▶"; position: absolute; inset: 0; display: grid; place-items: center;
  color: hsl(var(--fg-pure)); font-size: 22px;
}

/* ── Search-result mock (used on /services) ─────────── */
.search-mock {
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border-subtle));
  background: hsl(var(--bg-elevated) / 0.5);
  padding: var(--space-5);
  font-family: var(--font-mono); font-size: var(--text-xs);
}
.search-mock .url { color: hsl(var(--accent-electric)); }
.search-mock .title { font-family: var(--font-display); font-size: var(--text-base); color: hsl(var(--fg-pure)); margin-block: 4px 6px; }
.search-mock .snippet { color: hsl(var(--fg-secondary)); line-height: 1.5; font-family: var(--font-body); font-size: var(--text-sm); }
.search-mock + .search-mock { margin-top: var(--space-3); }
.search-mock.is-ai {
  border-color: hsl(var(--accent-electric) / 0.45);
  background: linear-gradient(135deg, hsl(var(--accent-deep) / 0.18), hsl(var(--bg-elevated) / 0.4));
  position: relative;
}
.search-mock.is-ai::before {
  content: "AI Overview"; position: absolute; top: -10px; left: 16px;
  background: hsl(var(--bg-void));
  padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 10px; letter-spacing: 0.12em; color: hsl(var(--accent-electric));
}
.search-cite { color: hsl(var(--accent-electric)); border-bottom: 1px dotted hsl(var(--accent-electric)); }

/* ── Map pack mock ──────────────────────────────────── */
.map-mock {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border-subtle));
  background:
    radial-gradient(ellipse 80% 90% at 50% 50%, hsl(var(--accent-electric) / 0.05), transparent 70%),
    repeating-linear-gradient(0deg, hsl(var(--bg-deep)) 0 30px, hsl(var(--bg-base)) 30px 31px),
    repeating-linear-gradient(90deg, hsl(var(--bg-deep)) 0 30px, hsl(var(--bg-base)) 30px 31px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-mock .lake {
  position: absolute; right: -10%; top: -10%; width: 60%; height: 80%;
  background: radial-gradient(ellipse at 30% 30%, hsl(210 60% 22%), hsl(220 50% 12%) 60%);
  border-radius: 50% 30% 60% 40%;
  filter: blur(2px);
  opacity: 0.7;
}
.map-mock .pin {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: hsl(var(--accent-electric));
  box-shadow: 0 0 0 3px hsl(var(--accent-electric) / 0.25), 0 0 18px hsl(var(--accent-electric));
  animation: pulse-pin 2.4s ease-in-out infinite;
}
.map-mock .pin.you {
  width: 22px; height: 22px;
  background: hsl(var(--accent-bright));
  box-shadow: 0 0 0 4px hsl(var(--accent-bright) / 0.3), 0 0 30px hsl(var(--accent-bright));
}
@keyframes pulse-pin { 50% { transform: scale(1.15); } }

/* ── Logo grid (branding page) ──────────────────────── */
.logo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid hsl(var(--border-subtle));
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: hsl(var(--bg-deep));
}
@media (max-width: 720px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-cell {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border: 0.5px solid hsl(var(--border-subtle));
  position: relative;
  overflow: hidden;
  background: hsl(var(--bg-base));
  transition: background var(--duration-base);
}
.logo-cell:hover { background: hsl(var(--bg-elevated)); }
.logo-cell.alt { background: hsl(var(--accent-deep) / 0.4); }
.logo-cell.alt:hover { background: hsl(var(--accent-deep) / 0.55); }
.logo-cell svg { width: 50%; height: 50%; }

/* ── Color swatches (branding) ──────────────────────── */
.swatches { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.swatch {
  display: flex; flex-direction: column; gap: var(--space-1);
  padding: var(--space-3);
  background: hsl(var(--bg-elevated) / 0.5);
  border: 1px solid hsl(var(--border-subtle));
  border-radius: var(--radius-sm);
  min-width: 110px;
}
.swatch .chip {
  width: 100%; height: 60px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border-subtle));
}
.swatch .nm { font-family: var(--font-mono); font-size: var(--text-xs); color: hsl(var(--fg-secondary)); }
.swatch .hx { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--fg-quiet)); letter-spacing: 0.04em; }

/* ── ServiceRow (used on /services) — reused styles ──── */
.svc-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-16); align-items: center; padding: var(--space-20) 0; border-bottom: 1px solid hsl(var(--border-subtle)); }
.svc-row:last-child { border-bottom: 0; }
.svc-row.flip > div:first-child { order: 2; }
@media (max-width: 880px) { .svc-row { grid-template-columns: 1fr; gap: var(--space-10); padding: var(--space-12) 0; } .svc-row.flip > div:first-child { order: 0; } }
.svc-illus {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at center, hsl(var(--accent-electric) / 0.18), transparent 70%), linear-gradient(135deg, hsl(var(--bg-elevated)), hsl(var(--bg-deep)));
  border: 1px solid hsl(var(--accent-electric) / 0.2);
  display: grid; place-items: center;
  box-shadow: var(--inner-highlight), var(--glow-md);
}
.svc-illus::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, hsl(var(--accent-electric) / 0.04) 0px, hsl(var(--accent-electric) / 0.04) 1px, transparent 1px, transparent 24px);
  pointer-events: none;
}
.svc-tag { font-family: var(--font-mono); font-size: var(--text-xs); color: hsl(var(--accent-electric)); letter-spacing: .15em; text-transform: uppercase; margin-bottom: var(--space-4); }
.svc-list { margin: var(--space-6) 0; padding-left: 0; list-style: none; }
.svc-list li { padding: var(--space-2) 0 var(--space-2) var(--space-6); position: relative; color: hsl(var(--fg-secondary)); font-size: var(--text-sm); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 12px; height: 1px; background: hsl(var(--accent-electric)); }
.svc-best { font-family: var(--font-mono); font-size: var(--text-xs); color: hsl(var(--fg-tertiary)); letter-spacing: 0.04em; padding: var(--space-3) 0; border-top: 1px solid hsl(var(--border-subtle)); margin-top: var(--space-4); }

/* ============================================================
   HOMEPAGE SERVICE INFOGRAPHICS — five distinct 3D-feeling scenes
   ============================================================ */

.svc-block {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-20) 0;
  border-bottom: 1px solid hsl(var(--border-subtle));
  position: relative;
  scroll-margin-top: 100px;
}
.svc-block:last-of-type { border-bottom: 0; }
.svc-block.flip { grid-template-columns: 1.05fr 1fr; }
.svc-block.flip .svc-block-text { order: 2; }
@media (max-width: 920px) {
  .svc-block, .svc-block.flip { grid-template-columns: 1fr; gap: var(--space-10); padding: var(--space-12) 0; }
  .svc-block.flip .svc-block-text { order: 0; }
}
.svc-block-text .svc-eyebrow {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: hsl(var(--accent-electric));
  margin-bottom: var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
}
.svc-block-text .svc-eyebrow::before {
  content: ""; width: 36px; height: 1px;
  background: linear-gradient(90deg, hsl(var(--accent-electric)), transparent);
}
.svc-block-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.05;
  color: hsl(var(--fg-pure));
  margin-bottom: var(--space-5);
  text-wrap: balance;
}
.svc-block-text .svc-hook {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-lg);
  color: hsl(var(--fg-secondary));
  margin-bottom: var(--space-6);
  line-height: 1.4;
  max-width: 42ch;
  border-left: 2px solid hsl(var(--accent-electric) / 0.5);
  padding-left: var(--space-4);
}
.svc-block-text .svc-body {
  color: hsl(var(--fg-secondary));
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 50ch;
}
.svc-block-text ul {
  list-style: none; padding-left: 0;
  margin-bottom: var(--space-7);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2);
}
@media (max-width: 540px) { .svc-block-text ul { grid-template-columns: 1fr; } }
.svc-block-text ul li {
  position: relative; padding-left: 22px;
  font-size: var(--text-sm); color: hsl(var(--fg-secondary));
  line-height: 1.45;
}
.svc-block-text ul li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px;
  border: 1.5px solid hsl(var(--accent-electric));
  background: hsl(var(--accent-electric) / 0.15);
  transform: rotate(45deg);
}
.svc-meta-row {
  display: flex; align-items: center; gap: var(--space-5);
  flex-wrap: wrap;
  padding: var(--space-4) 0;
  border-top: 1px solid hsl(var(--border-subtle));
  border-bottom: 1px solid hsl(var(--border-subtle));
  margin-bottom: var(--space-6);
}
.svc-meta-row .meta-price { display: flex; align-items: baseline; gap: var(--space-1); }
.svc-meta-row .meta-price .from { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--fg-tertiary)); letter-spacing: 0.12em; text-transform: uppercase; margin-right: var(--space-2); }
.svc-meta-row .meta-price .num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: hsl(var(--fg-pure)); letter-spacing: -0.02em; }
.svc-meta-row .meta-price .unit { font-family: var(--font-mono); font-size: 11px; color: hsl(var(--fg-tertiary)); letter-spacing: 0.05em; }
.svc-meta-row .meta-divider { width: 1px; height: 28px; background: hsl(var(--border-subtle)); }
.svc-meta-row .meta-mode { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: hsl(var(--fg-secondary)); display: flex; align-items: center; gap: 6px; }
.svc-meta-row .meta-mode::before { content: ""; width: 8px; height: 8px; background: hsl(var(--accent-electric)); border-radius: 50%; box-shadow: 0 0 8px hsl(var(--accent-electric)); }

/* Shared 3D scene shell */
.scene3d {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 100%, hsl(var(--accent-electric) / 0.14), transparent 70%),
    linear-gradient(160deg, hsl(var(--bg-elevated)) 0%, hsl(var(--bg-deep)) 60%, hsl(var(--bg-void)) 100%);
  border: 1px solid hsl(var(--border-medium));
  box-shadow: var(--shadow-xl), var(--inner-highlight), 0 0 80px hsl(var(--accent-electric) / 0.1);
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}
.scene3d::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(hsl(var(--accent-electric) / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--accent-electric) / 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 60%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 60%, black 30%, transparent 80%);
  pointer-events: none;
}
.scene3d::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, hsl(var(--accent-electric) / 0.12), transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.scene3d .floor {
  position: absolute; left: 50%; bottom: -10%;
  width: 120%; height: 50%;
  background: linear-gradient(180deg, transparent, hsl(var(--accent-electric) / 0.12));
  transform: translateX(-50%) rotateX(70deg);
  transform-origin: top center;
  border-top: 1px solid hsl(var(--accent-electric) / 0.3);
}

/* ── 1. SEO/GEO/AEO scene — orbiting query satellites + central beacon ── */
.scn-search { display: grid; place-items: center; }
.scn-search .core-tower {
  position: relative;
  width: 28%; aspect-ratio: 1/2.6;
  z-index: 4;
  transform: translateZ(40px);
  filter: drop-shadow(0 24px 30px hsl(var(--bg-void) / 0.7));
}
.scn-search .core-tower::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, hsl(var(--accent-bright)) 0%, hsl(var(--accent-deep)) 70%, hsl(220 60% 12%) 100%);
  clip-path: polygon(35% 0, 65% 0, 80% 100%, 20% 100%);
  box-shadow: inset 0 0 30px hsl(var(--accent-electric) / 0.4);
}
.scn-search .core-tower::after {
  content: ""; position: absolute; left: 50%; top: -25%;
  width: 4px; height: 30%; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, hsl(var(--accent-bright)));
  box-shadow: 0 0 18px hsl(var(--accent-bright)), 0 0 36px hsl(var(--accent-electric));
  animation: tower-pulse 2s ease-in-out infinite;
}
@keyframes tower-pulse { 0%,100%{opacity:.6;} 50%{opacity:1;} }
.scn-search .beacon-rays {
  position: absolute; left: 50%; top: 50%;
  width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.scn-search .ray {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 50%; transform-origin: top center;
  background: linear-gradient(180deg, hsl(var(--accent-electric) / 0.5), transparent);
  animation: ray-spin 18s linear infinite;
}
.scn-search .ray:nth-child(2) { transform: rotate(72deg); animation-delay: -3s; }
.scn-search .ray:nth-child(3) { transform: rotate(144deg); animation-delay: -6s; }
.scn-search .ray:nth-child(4) { transform: rotate(216deg); animation-delay: -9s; }
.scn-search .ray:nth-child(5) { transform: rotate(288deg); animation-delay: -12s; }
@keyframes ray-spin {
  0%,100% { opacity: .25; }
  50% { opacity: .9; }
}
.scn-search .query-orbit {
  position: absolute; left: 50%; top: 55%;
  width: 90%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px dashed hsl(var(--accent-electric) / 0.2);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}
.scn-search .query-orbit.qo2 { width: 70%; animation-duration: 28s; animation-direction: reverse; border-style: dotted; }
.scn-search .query-chip {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -50%);
  background: hsl(var(--bg-elevated));
  border: 1px solid hsl(var(--accent-electric) / 0.5);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-family: var(--font-mono); font-size: 9px;
  color: hsl(var(--fg-secondary)); letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 0 12px hsl(var(--accent-electric) / 0.3);
  animation: counter-spin 40s linear infinite;
}
.query-orbit.qo2 .query-chip { animation-duration: 28s; animation-direction: reverse; }
.scn-search .query-chip .src { color: hsl(var(--accent-electric)); margin-right: 4px; }
.scn-search .query-chip:nth-child(1) { transform: rotate(0deg) translate(-50%, -50%); }
.scn-search .query-chip:nth-child(2) { left: 100%; top: 50%; transform: translate(-50%, -50%); }
.scn-search .query-chip:nth-child(3) { left: 50%; top: 100%; transform: translate(-50%, -50%); }
.scn-search .query-chip:nth-child(4) { left: 0; top: 50%; transform: translate(-50%, -50%); }
@keyframes counter-spin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* ── 2. Social media scene — stacked 3D phone deck ── */
.scn-social {
  display: grid; place-items: center;
  perspective: 1400px;
}
.scn-social .deck {
  position: relative;
  width: 60%;
  aspect-ratio: 9/16;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(8deg);
  animation: deck-tilt 12s ease-in-out infinite alternate;
}
@keyframes deck-tilt {
  from { transform: rotateY(-22deg) rotateX(8deg); }
  to   { transform: rotateY(-12deg) rotateX(4deg); }
}
.scn-social .card3d {
  position: absolute; inset: 0;
  border-radius: 18px;
  background: linear-gradient(160deg, hsl(var(--bg-elevated)), hsl(var(--bg-deep)));
  border: 1px solid hsl(var(--border-medium));
  box-shadow: 0 30px 60px hsl(var(--bg-void) / 0.6), var(--inner-highlight);
  overflow: hidden;
  padding: 14% 8% 8%;
}
.scn-social .card3d.c1 { transform: translate3d(-30%, 8%, -80px); opacity: 0.75; }
.scn-social .card3d.c2 { transform: translate3d(-15%, 4%, -40px); opacity: 0.92; }
.scn-social .card3d.c3 { transform: translate3d(0, 0, 0); }
.scn-social .card3d.c4 { transform: translate3d(15%, -4%, -40px); opacity: 0.92; }
.scn-social .card3d.c5 { transform: translate3d(30%, -8%, -80px); opacity: 0.75; }
.scn-social .card3d .head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.scn-social .card3d .av { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, hsl(var(--accent-bright)), hsl(var(--accent-deep))); }
.scn-social .card3d .bar { height: 4px; border-radius: 2px; background: hsl(var(--fg-tertiary) / 0.4); }
.scn-social .card3d .bar.s { width: 50%; }
.scn-social .card3d .body3d {
  height: 50%; border-radius: 10px; margin-bottom: 8px;
  background: linear-gradient(135deg, hsl(var(--accent-deep) / 0.6), hsl(var(--accent-electric) / 0.4));
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.scn-social .card3d .body3d::after {
  content: "▶";
  color: hsl(var(--fg-pure)); font-size: 18px;
  background: hsl(var(--bg-void) / 0.5);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid hsl(var(--fg-pure) / 0.4);
}
.scn-social .card3d .stats { display: flex; gap: 4px; margin-top: 6px; }
.scn-social .card3d .stat3d { font-family: var(--font-mono); font-size: 8px; color: hsl(var(--accent-electric)); padding: 2px 5px; background: hsl(var(--accent-electric) / 0.12); border-radius: 999px; }
.scn-social .float-num {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 600;
  color: hsl(var(--accent-electric));
  text-shadow: 0 0 18px hsl(var(--accent-electric));
  animation: float-up 3s ease-out infinite;
  z-index: 5;
  font-size: clamp(0.85rem, 1.4vw, 1.2rem);
  pointer-events: none;
}
.scn-social .float-num.f1 { left: 15%; bottom: 20%; animation-delay: 0s; }
.scn-social .float-num.f2 { left: 70%; bottom: 30%; animation-delay: -1s; }
.scn-social .float-num.f3 { left: 50%; bottom: 12%; animation-delay: -2s; }
@keyframes float-up {
  0%   { transform: translateY(20px); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(-60px); opacity: 0; }
}

/* ── 3. Growth marketing scene — 3D bar tower ── */
.scn-growth {
  display: grid; place-items: end center;
  padding-bottom: 10%;
  perspective: 1100px;
}
.scn-growth .bars3d {
  position: relative;
  width: 70%;
  height: 70%;
  display: flex;
  gap: 6%;
  align-items: end;
  justify-content: center;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-10deg);
}
.scn-growth .bar3d {
  position: relative;
  width: 12%;
  background: linear-gradient(180deg, hsl(var(--accent-bright)), hsl(var(--accent-deep)));
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 18px hsl(var(--accent-electric) / 0.6);
  transform-style: preserve-3d;
  animation: bar-grow 2.4s ease-out forwards;
  transform-origin: bottom;
}
.scn-growth .bar3d::before {
  content: "";
  position: absolute; left: 100%; top: 0; bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, hsl(var(--accent-deep)), hsl(220 60% 14%));
  transform: skewY(-45deg); transform-origin: top left;
}
.scn-growth .bar3d::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: hsl(var(--accent-bright));
  transform: skewX(-45deg); transform-origin: bottom left;
  margin-left: 6px;
}
.scn-growth .bar3d.b1 { height: 22%; animation-delay: 0s; }
.scn-growth .bar3d.b2 { height: 32%; animation-delay: .15s; }
.scn-growth .bar3d.b3 { height: 28%; animation-delay: .3s; }
.scn-growth .bar3d.b4 { height: 48%; animation-delay: .45s; }
.scn-growth .bar3d.b5 { height: 42%; animation-delay: .6s; }
.scn-growth .bar3d.b6 { height: 70%; animation-delay: .75s; }
.scn-growth .bar3d.b7 { height: 92%; animation-delay: .9s; }
@keyframes bar-grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.scn-growth .trend-line {
  position: absolute;
  left: 5%; right: 5%; bottom: 0;
  height: 80%;
  pointer-events: none;
}
.scn-growth .trend-line svg { width: 100%; height: 100%; overflow: visible; }
.scn-growth .trend-line path {
  fill: none; stroke: hsl(var(--accent-electric)); stroke-width: 2;
  filter: drop-shadow(0 0 6px hsl(var(--accent-electric)));
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-line 3s ease-out 1s forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.scn-growth .conversion-tag {
  position: absolute; right: 8%; top: 8%;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: hsl(var(--accent-electric));
  background: hsl(var(--bg-deep));
  border: 1px solid hsl(var(--accent-electric) / 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 18px hsl(var(--accent-electric) / 0.3);
  z-index: 5;
}

/* ── 4. Paid media scene — overlapping 3D platform shards ── */
.scn-paid { display: grid; place-items: center; perspective: 1200px; }
.scn-paid .platforms {
  position: relative;
  width: 80%; height: 75%;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(-10deg) rotateZ(-3deg);
}
.scn-paid .shard {
  position: absolute;
  border-radius: 14px;
  border: 1px solid hsl(var(--border-medium));
  background: linear-gradient(160deg, hsl(var(--bg-elevated)), hsl(var(--bg-deep)));
  box-shadow: 0 20px 40px hsl(var(--bg-void) / 0.6), var(--inner-highlight);
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.scn-paid .shard .label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--shard-color, hsl(var(--accent-electric)));
}
.scn-paid .shard .roas {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: hsl(var(--fg-pure));
  letter-spacing: -0.02em;
}
.scn-paid .shard .mini {
  margin-top: auto;
  height: 16px;
  background:
    linear-gradient(90deg, var(--shard-color, hsl(var(--accent-electric))), transparent);
  border-radius: 2px;
  position: relative; overflow: hidden;
}
.scn-paid .shard .mini::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 4px, hsl(var(--bg-void) / 0.4) 4px 5px);
}
.scn-paid .shard.s1 { left: 5%; top: 10%; width: 38%; height: 38%; --shard-color: #4285F4; transform: translateZ(60px); }
.scn-paid .shard.s2 { left: 50%; top: 5%; width: 42%; height: 32%; --shard-color: #1877F2; transform: translateZ(20px); }
.scn-paid .shard.s3 { left: 12%; top: 52%; width: 36%; height: 38%; --shard-color: #FF0050; transform: translateZ(40px); }
.scn-paid .shard.s4 { left: 55%; top: 45%; width: 38%; height: 42%; --shard-color: #0A66C2; transform: translateZ(0); }
.scn-paid .center-roas {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateZ(120px);
  background: hsl(var(--bg-void));
  border: 1px solid hsl(var(--accent-electric));
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-base);
  color: hsl(var(--accent-electric));
  letter-spacing: -0.01em;
  box-shadow: 0 0 30px hsl(var(--accent-electric) / 0.6);
  white-space: nowrap;
  z-index: 10;
  animation: pulse-roas 2.5s ease-in-out infinite;
}
@keyframes pulse-roas { 50% { box-shadow: 0 0 50px hsl(var(--accent-electric) / 0.9); } }

/* ── 5. Automations scene — flowing data pipes ── */
.scn-auto { padding: 8%; }
.scn-auto svg { width: 100%; height: 100%; }
.scn-auto .pipe {
  fill: none; stroke: hsl(var(--accent-electric) / 0.3);
  stroke-width: 2; stroke-linecap: round;
}
.scn-auto .pipe-flow {
  fill: none; stroke: hsl(var(--accent-bright));
  stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 8 100;
  filter: drop-shadow(0 0 6px hsl(var(--accent-electric)));
  animation: pipe-flow 3s linear infinite;
}
.scn-auto .pipe-flow.p2 { animation-delay: -1s; stroke-dasharray: 8 80; }
.scn-auto .pipe-flow.p3 { animation-delay: -2s; stroke-dasharray: 8 120; }
@keyframes pipe-flow {
  to { stroke-dashoffset: -108; }
}
.scn-auto .node3d-rect {
  fill: hsl(var(--bg-elevated));
  stroke: hsl(var(--accent-electric) / 0.6);
  stroke-width: 1.5;
  filter: drop-shadow(0 8px 12px hsl(var(--bg-void) / 0.6));
}
.scn-auto .node3d-rect.hub {
  fill: hsl(var(--accent-deep) / 0.4);
  stroke: hsl(var(--accent-bright));
  filter: drop-shadow(0 0 18px hsl(var(--accent-electric)));
}
.scn-auto .node-tx {
  font-family: var(--font-mono); font-size: 10px;
  fill: hsl(var(--fg-pure));
  letter-spacing: 0.04em;
  text-anchor: middle;
}
.scn-auto .node-sub {
  font-family: var(--font-mono); font-size: 8px;
  fill: hsl(var(--accent-electric));
  letter-spacing: 0.08em; text-transform: uppercase;
  text-anchor: middle;
}
.scn-auto .blip {
  fill: hsl(var(--accent-bright));
  filter: drop-shadow(0 0 8px hsl(var(--accent-electric)));
  animation: blip-pulse 1.6s ease-in-out infinite;
}
@keyframes blip-pulse { 50% { r: 5; opacity: 0.6; } }

/* ── 6. Branding scene — rotating brand cube ── */
.scn-brand {
  display: grid; place-items: center;
  perspective: 1200px;
}
.scn-brand .cube-stage {
  position: relative;
  width: 50%; aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: cube-spin 22s linear infinite;
}
@keyframes cube-spin {
  from { transform: rotateX(-15deg) rotateY(0deg); }
  to   { transform: rotateX(-15deg) rotateY(360deg); }
}
.scn-brand .face {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, hsl(var(--bg-elevated)), hsl(var(--bg-deep)));
  border: 1px solid hsl(var(--accent-electric) / 0.4);
  border-radius: 8px;
  display: grid; place-items: center;
  box-shadow: var(--inner-highlight), 0 0 30px hsl(var(--accent-electric) / 0.15);
  font-family: var(--font-display);
  font-weight: 600;
  color: hsl(var(--fg-pure));
  letter-spacing: -0.02em;
  font-size: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
}
.scn-brand .face.front  { transform: rotateY(0deg)   translateZ(var(--cube-half, 100px)); }
.scn-brand .face.back   { transform: rotateY(180deg) translateZ(var(--cube-half, 100px)); }
.scn-brand .face.right  { transform: rotateY(90deg)  translateZ(var(--cube-half, 100px)); }
.scn-brand .face.left   { transform: rotateY(-90deg) translateZ(var(--cube-half, 100px)); }
.scn-brand .face.top    { transform: rotateX(90deg)  translateZ(var(--cube-half, 100px)); }
.scn-brand .face.bottom { transform: rotateX(-90deg) translateZ(var(--cube-half, 100px)); }
.scn-brand .face .swatch-mini {
  width: 60%; height: 16px; border-radius: 8px;
  background: hsl(var(--accent-electric));
  box-shadow: 0 0 14px hsl(var(--accent-electric));
}
.scn-brand .face .typo-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.05em;
  line-height: 1;
}
.scn-brand .face .logo-circle {
  width: 48%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, hsl(var(--accent-bright)), hsl(var(--accent-deep)) 70%);
  box-shadow: 0 0 24px hsl(var(--accent-electric));
  position: relative;
}
.scn-brand .face .logo-circle::after {
  content: "F"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700;
  color: hsl(var(--bg-void));
  font-family: var(--font-display);
}
.scn-brand .face .grid-mark {
  width: 70%; height: 70%;
  background-image:
    linear-gradient(hsl(var(--accent-electric) / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--accent-electric) / 0.4) 1px, transparent 1px);
  background-size: 16% 16%;
  border: 1px solid hsl(var(--accent-electric) / 0.5);
  position: relative;
}
.scn-brand .face .grid-mark::after {
  content: ""; position: absolute; inset: 30%;
  background: hsl(var(--accent-electric));
  box-shadow: 0 0 18px hsl(var(--accent-electric));
}
.scn-brand .face .word-mark {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(0.8rem, 1.6vw, 1.2rem);
  color: hsl(var(--fg-pure));
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding: 8%;
}
.scn-brand .face .word-mark .accent { color: hsl(var(--accent-electric)); }

/* ── Stack-it interactive (compounding services) ──────── */
.compound-board {
  margin-top: var(--space-12);
  border: 1px solid hsl(var(--accent-electric) / 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  background: linear-gradient(160deg, hsl(var(--accent-deep) / 0.18), hsl(var(--bg-deep)));
  position: relative;
  overflow: hidden;
}
.compound-board .compound-head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.compound-board .compound-head h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-2xl); color: hsl(var(--fg-pure));
  letter-spacing: -0.02em;
}
.compound-board .compound-head p { color: hsl(var(--fg-secondary)); font-size: var(--text-sm); max-width: 36ch; }
.compound-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
@media (max-width: 880px) { .compound-grid { grid-template-columns: 1fr; } }
.compound-toggles { display: flex; flex-direction: column; gap: var(--space-2); }
.compound-toggle {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: hsl(var(--bg-elevated) / 0.5);
  border: 1px solid hsl(var(--border-subtle));
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-base);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: hsl(var(--fg-secondary));
  user-select: none;
}
.compound-toggle:hover { border-color: hsl(var(--accent-electric) / 0.5); }
.compound-toggle.is-on {
  background: hsl(var(--accent-electric) / 0.12);
  border-color: hsl(var(--accent-electric));
  color: hsl(var(--fg-pure));
  box-shadow: 0 0 18px hsl(var(--accent-electric) / 0.25);
}
.compound-toggle .dot {
  width: 14px; height: 14px; border-radius: 4px;
  border: 1.5px solid hsl(var(--fg-tertiary));
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all var(--duration-base);
}
.compound-toggle.is-on .dot {
  background: hsl(var(--accent-electric));
  border-color: hsl(var(--accent-electric));
  box-shadow: 0 0 10px hsl(var(--accent-electric));
}
.compound-toggle.is-on .dot::after {
  content: ""; width: 6px; height: 6px;
  background: hsl(var(--bg-void));
  clip-path: polygon(15% 50%, 40% 75%, 85% 25%, 85% 35%, 40% 85%, 15% 60%);
}
.compound-toggle .price {
  margin-left: auto;
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: hsl(var(--fg-tertiary));
  letter-spacing: 0.04em;
}
.compound-toggle.is-on .price { color: hsl(var(--accent-electric)); }
.compound-readout {
  background: hsl(var(--bg-void));
  border: 1px solid hsl(var(--accent-electric) / 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  position: relative;
}
.compound-readout .lab { font-family: var(--font-mono); font-size: var(--text-xs); color: hsl(var(--fg-tertiary)); letter-spacing: 0.12em; text-transform: uppercase; }
.compound-readout .total {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--gradient-stat);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-block: var(--space-3) var(--space-2);
}
.compound-readout .unit { font-family: var(--font-mono); font-size: var(--text-xs); color: hsl(var(--fg-secondary)); letter-spacing: 0.05em; }
.compound-readout .multiplier {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px dashed hsl(var(--border-subtle));
}
.compound-readout .multiplier .mlab { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--fg-tertiary)); letter-spacing: 0.12em; text-transform: uppercase; }
.compound-readout .multiplier .mval { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: hsl(var(--accent-electric)); margin-top: 4px; letter-spacing: -0.02em; }

/* ──────────────────────────────────────────────────────
   LAUNCH SEQUENCE — pre-launch infographic for founders.html
   A high-end "mission control" countdown + ignition stack.
   ────────────────────────────────────────────────────── */
.launch-block {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-16) 0;
}
@media (max-width: 980px) { .launch-block { grid-template-columns: 1fr; gap: var(--space-10); padding: var(--space-12) 0; } }
.launch-text .convo {
  margin-top: var(--space-6);
  border: 1px solid hsl(var(--border-subtle));
  border-radius: var(--radius-lg);
  background: hsl(var(--bg-elevated) / 0.5);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.6;
  position: relative;
  max-width: 52ch;
}
.launch-text .convo::before {
  content: "TYPICAL FIRST CONVO"; position: absolute; top: -10px; left: 16px;
  background: hsl(var(--bg-base));
  padding: 2px 10px; border-radius: var(--radius-full);
  font-size: 9px; letter-spacing: 0.18em; color: hsl(var(--accent-electric));
  border: 1px solid hsl(var(--accent-electric) / 0.4);
}
.launch-text .convo .you, .launch-text .convo .us {
  display: block; padding: 4px 0;
}
.launch-text .convo .who { color: hsl(var(--accent-electric)); margin-right: var(--space-2); }
.launch-text .convo .you .who { color: hsl(var(--fg-tertiary)); }
.launch-text .convo .quote { color: hsl(var(--fg-secondary)); }
.launch-text .convo .us .quote { color: hsl(var(--fg-pure)); }
.launch-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.05;
  color: hsl(var(--fg-pure)); margin-bottom: var(--space-5);
  text-wrap: balance;
}
.launch-text p { color: hsl(var(--fg-secondary)); font-size: var(--text-base); line-height: 1.6; max-width: 52ch; }

/* The mission-control scene */
.launch-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 5.4;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 110%, hsl(var(--accent-electric) / 0.25), transparent 60%),
    linear-gradient(160deg, hsl(var(--bg-elevated)) 0%, hsl(var(--bg-deep)) 50%, hsl(var(--bg-void)) 100%);
  border: 1px solid hsl(var(--border-medium));
  box-shadow: var(--shadow-xl), var(--inner-highlight), 0 0 90px hsl(var(--accent-electric) / 0.18);
  overflow: hidden;
  perspective: 1400px;
  isolation: isolate;
}
.launch-scene::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(hsl(var(--accent-electric) / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--accent-electric) / 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 60%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 60%, black 30%, transparent 80%);
  pointer-events: none;
}
/* HUD top bar */
.launch-scene .hud {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: hsl(var(--fg-tertiary));
  border-bottom: 1px solid hsl(var(--border-subtle));
  background: linear-gradient(180deg, hsl(var(--bg-void) / 0.7), transparent);
  z-index: 4;
}
.launch-scene .hud .live { color: hsl(var(--accent-electric)); display: flex; align-items: center; gap: 6px; }
.launch-scene .hud .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--accent-electric)); box-shadow: 0 0 8px hsl(var(--accent-electric)); animation: pulse-dot 1.6s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: 0.4; } }

/* Launch silo + rocket */
.launch-scene .silo {
  position: absolute; left: 50%; bottom: 0;
  width: 70%; height: 75%;
  transform: translateX(-50%);
  z-index: 3;
}
.launch-scene .silo svg { width: 100%; height: 100%; overflow: visible; }

.launch-scene .rocket {
  fill: url(#rocketGrad);
  filter: drop-shadow(0 8px 18px hsl(var(--bg-void) / 0.7));
  animation: rocket-hover 4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes rocket-hover {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.launch-scene .rocket-fin { fill: hsl(var(--accent-deep)); }
.launch-scene .rocket-window {
  fill: hsl(var(--accent-electric));
  filter: drop-shadow(0 0 6px hsl(var(--accent-electric)));
  animation: window-flicker 3s ease-in-out infinite;
}
@keyframes window-flicker { 50% { opacity: 0.7; } }
.launch-scene .flame {
  fill: url(#flameGrad);
  transform-origin: center top;
  animation: flame-flicker 0.18s steps(2) infinite;
  filter: drop-shadow(0 0 18px hsl(var(--accent-electric)));
}
@keyframes flame-flicker {
  0%   { transform: scaleY(1) scaleX(1); }
  100% { transform: scaleY(1.08) scaleX(0.94); }
}
.launch-scene .smoke {
  fill: hsl(var(--accent-electric) / 0.18);
  animation: smoke-rise 5s ease-in-out infinite;
}
.launch-scene .smoke.s2 { animation-delay: -1.5s; }
.launch-scene .smoke.s3 { animation-delay: -3s; }
@keyframes smoke-rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-30px) scale(1.4); opacity: 0; }
}

/* Stage stack — five fueling rings on the launch tower */
.launch-stages {
  position: absolute;
  left: 6%; top: 70px; bottom: 30%;
  width: 32%;
  display: flex; flex-direction: column;
  justify-content: space-between;
  z-index: 5;
  font-family: var(--font-mono);
}
.launch-stage {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border: 1px solid hsl(var(--border-subtle));
  border-radius: var(--radius-sm);
  background: hsl(var(--bg-deep) / 0.85);
  backdrop-filter: blur(6px);
  font-size: 10px;
  color: hsl(var(--fg-secondary));
  letter-spacing: 0.04em;
  opacity: 0;
  animation: stage-online 0.6s ease-out forwards;
}
.launch-stage:nth-child(1) { animation-delay: 0.4s; }
.launch-stage:nth-child(2) { animation-delay: 0.9s; }
.launch-stage:nth-child(3) { animation-delay: 1.4s; }
.launch-stage:nth-child(4) { animation-delay: 1.9s; }
.launch-stage:nth-child(5) { animation-delay: 2.4s; }
@keyframes stage-online {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.launch-stage::after {
  content: "GO";
  margin-left: auto;
  color: hsl(var(--accent-electric));
  font-size: 9px; letter-spacing: 0.15em;
  text-shadow: 0 0 6px hsl(var(--accent-electric));
}
.launch-stage .indicator {
  width: 10px; height: 10px; border-radius: 50%;
  background: hsl(var(--accent-electric));
  box-shadow: 0 0 10px hsl(var(--accent-electric));
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.launch-stage .ix { color: hsl(var(--accent-electric)); margin-right: 4px; font-size: 9px; }
.launch-stage .nm { color: hsl(var(--fg-pure)); font-family: var(--font-display); font-size: 12px; letter-spacing: -0.01em; font-weight: 500; }

/* Right-side telemetry readout */
.launch-tele {
  position: absolute;
  right: 5%; top: 70px;
  width: 28%;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono);
  z-index: 5;
}
.launch-tele .row {
  background: hsl(var(--bg-deep) / 0.85);
  border: 1px solid hsl(var(--border-subtle));
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: hsl(var(--fg-tertiary));
  text-transform: uppercase;
  position: relative;
  backdrop-filter: blur(6px);
}
.launch-tele .row .v {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: hsl(var(--fg-pure));
  letter-spacing: -0.02em;
  text-transform: none;
}
.launch-tele .row .v .accent { color: hsl(var(--accent-electric)); text-shadow: 0 0 8px hsl(var(--accent-electric) / 0.6); }
.launch-tele .row .spark {
  position: absolute; right: 8px; top: 8px;
  width: 30px; height: 12px;
}
.launch-tele .row .spark path {
  fill: none; stroke: hsl(var(--accent-electric));
  stroke-width: 1.2;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw-line 2.4s ease-out 1.5s forwards;
}

/* Big T-minus countdown bottom */
.launch-tminus {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  background: hsl(var(--bg-void) / 0.85);
  border: 1px solid hsl(var(--accent-electric));
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 30px hsl(var(--accent-electric) / 0.5);
  z-index: 6;
  white-space: nowrap;
}
.launch-tminus .lab { font-family: var(--font-mono); font-size: 9px; color: hsl(var(--fg-tertiary)); letter-spacing: 0.18em; text-transform: uppercase; margin-right: 6px; }
.launch-tminus .num {
  font-size: 22px; color: hsl(var(--accent-electric));
  letter-spacing: -0.02em;
  text-shadow: 0 0 12px hsl(var(--accent-electric));
}
.launch-tminus .sub { font-family: var(--font-mono); font-size: 9px; color: hsl(var(--fg-secondary)); letter-spacing: 0.12em; text-transform: uppercase; }

/* Floor / horizon line */
.launch-scene .horizon {
  position: absolute; left: 0; right: 0; bottom: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--accent-electric) / 0.7), transparent);
  z-index: 2;
}
.launch-scene .horizon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 60%;
  background: linear-gradient(180deg, hsl(var(--accent-electric) / 0.08), transparent);
}

/* Stars / particles */
.launch-scene .star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: hsl(var(--accent-bright));
  box-shadow: 0 0 6px hsl(var(--accent-electric));
  animation: twinkle 3s ease-in-out infinite;
  z-index: 1;
}
@keyframes twinkle { 50% { opacity: 0.3; } }

/* ── Floating-orbits scene (branding hero) ───────────── */
.orbit-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
}
.orbit-scene .orb {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px; margin: -7px;
  border-radius: 50%; background: hsl(var(--accent-electric));
  box-shadow: 0 0 12px hsl(var(--accent-electric)), 0 0 24px hsl(var(--accent-electric));
}
.orbit-scene .ringline {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed hsl(var(--accent-electric) / 0.25);
  animation: spin-slow 50s linear infinite;
}
.orbit-scene .ringline.r2 { inset: 12%; animation-duration: 40s; animation-direction: reverse; border-style: dotted; border-color: hsl(var(--accent-bright) / 0.3); }
.orbit-scene .ringline.r3 { inset: 26%; animation-duration: 30s; }
.orbit-scene .center {
  position: absolute; left: 50%; top: 50%;
  width: 30%; height: 30%; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, hsl(var(--accent-bright)), hsl(var(--accent-deep)) 70%);
  box-shadow: 0 0 60px hsl(var(--accent-electric) / 0.6);
}
