/* ============================================================
   BrainOmega — main stylesheet
   Brand palette, layout, components, animations, responsive
   ============================================================ */

:root {
  --ink-950: #070912;
  --ink-900: #0b0f1f;
  --ink-850: #0e1428;
  --ink-800: #131a35;
  --ink-700: #1c2547;
  --neural-300: #c4adff;
  --neural-400: #a784ff;
  --neural-500: #7034ff;
  --neural-600: #5b1fde;
  --bio-200: #a8edf8;
  --bio-300: #6fdfee;
  --bio-400: #22ceee;
  --bio-500: #07b5d6;
  --ok-400: #34d399;
  --warn-400: #fbbf24;
  --danger-400: #f87171;
  --slate-100: #e2e8f0;
  --slate-200: #cbd5e1;
  --slate-300: #94a3b8;
  --slate-400: #64748b;
  --slate-500: #475569;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 1200px;
  --shadow-glow: 0 0 40px rgba(112, 52, 255, 0.25);
  --shadow-card: 0 10px 40px -12px rgba(0, 0, 0, 0.5);
  --grad-primary: linear-gradient(135deg, var(--neural-500) 0%, var(--bio-500) 100%);
  --grad-accent: linear-gradient(90deg, var(--neural-400), var(--bio-400));
  --grad-bg: radial-gradient(ellipse at top, rgba(112, 52, 255, 0.15), transparent 50%),
             radial-gradient(ellipse at bottom right, rgba(34, 206, 238, 0.10), transparent 50%);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-200);
  background: var(--ink-950);
  background-image: var(--grad-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--bio-300); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--bio-200); }
h1, h2, h3, h4, h5, h6 { color: var(--white); margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { padding-block: 88px; position: relative; }
@media (max-width: 768px) { section { padding-block: 56px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bio-300);
  background: rgba(34, 206, 238, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 206, 238, 0.25);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--bio-400); box-shadow: 0 0 8px var(--bio-400);
}

.section-title { margin-bottom: 14px; }
.section-lead { color: var(--slate-300); max-width: 760px; font-size: 1.05rem; }
.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 6px 24px -8px rgba(112, 52, 255, 0.5);
}
.btn-primary:hover { box-shadow: 0 12px 40px -10px rgba(112, 52, 255, 0.7); color: var(--white); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate-100);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.2); }
.btn-outline {
  background: transparent;
  color: var(--bio-300);
  border-color: rgba(34, 206, 238, 0.4);
}
.btn-outline:hover { background: rgba(34, 206, 238, 0.08); border-color: var(--bio-400); color: var(--bio-200); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 9, 18, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.25s;
}
.site-header.scrolled { background: rgba(7, 9, 18, 0.92); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { color: var(--white); }
.brand-slogan {
  display: block;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bio-300);
  white-space: nowrap;
  opacity: 0.9;
  margin-top: 1px;
  max-width: 157px;        /* never wider than the logo above */
  text-align: center;
  width: 100%;
  /* prevent the global :not([data-logo-invert]) filter from making the slogan white */
  filter: none !important;
}
.site-footer .brand-slogan { font-size: 7px; }
@media (max-width: 480px) {
  .brand-slogan { display: none; }
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
/* Brand logo — img (PNG) or inline SVG */
.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 34px;
  width: auto;
  color: #fff;
  line-height: 0;
}
.brand-logo img,
.brand-logo svg,
.brand-logo-svg svg {
  height: 100%;
  width: auto;
  display: block;
}
.brand-logo-svg { color: #fff; }
/* Custom-logo (uploaded via WP Customizer) wraps img in <a class="custom-logo-link"> */
.brand .custom-logo-link img,
.brand .custom-logo {
  height: 34px;
  width: auto;
  display: block;
}
.site-footer .brand-logo,
.site-footer .brand .custom-logo,
.site-footer .brand .custom-logo-link img { height: 32px; }

/* Black-on-transparent logos render as white on the dark theme.
   Add `data-logo-invert="false"` on the brand wrapper if your logo is
   already white or coloured and shouldn't be inverted. */
.brand:not([data-logo-invert="false"]) img,
.brand:not([data-logo-invert="false"]) .brand-logo,
.brand:not([data-logo-invert="false"]) .custom-logo,
.brand:not([data-logo-invert="false"]) .custom-logo-link img {
  filter: brightness(0) invert(1);
}
.brand-name b { color: var(--white); }
.brand-name span { color: var(--bio-300); }
.primary-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.primary-menu li a, .primary-menu li > .menu-link {
  color: var(--slate-200);
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  display: inline-block;
}
.primary-menu li a:hover, .primary-menu li.current-menu-item > a { color: var(--white); background: rgba(255,255,255,0.05); }
.primary-menu .tm {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  vertical-align: top;
  margin-left: 4px;
  margin-top: 1px;
  padding: 2px 5px;
  border: 1px solid rgba(34, 206, 238, 0.45);
  border-radius: 4px;
  color: var(--bio-300);
  background: rgba(34, 206, 238, 0.10);
  line-height: 1;
  text-transform: uppercase;
}
.primary-menu li:hover .tm,
.primary-menu li.current-menu-item .tm {
  color: var(--white);
  background: rgba(34, 206, 238, 0.22);
  border-color: var(--bio-400);
}
.nav-cta { display: inline-flex; gap: 8px; }
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 0.25s;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 160px; padding-bottom: 100px; min-height: 92vh; display: flex; align-items: center; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 560px;
  margin-block: 18px 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--slate-300);
  line-height: 1.4;
}
.hero-trust > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-trust .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok-400);
}
.hero-trust .check svg {
  width: 11px; height: 11px;
  display: block;
}
@media (max-width: 540px) {
  .hero-trust { gap: 10px 18px; font-size: 0.8rem; }
  .hero-trust > span { white-space: normal; }
}

.hero-visual {
  position: relative;
  aspect-ratio: 1.1 / 1;
  max-width: 720px;
  margin-left: auto;
  width: 100%;
}
/* Background orb hidden — protein sits on the page directly */
.hero-orb { display: none; }

.hero-visual svg { position: relative; z-index: 1; width: 100%; height: 100%; }

/* Real 3D protein viewer (3Dmol.js) — full-bleed, no chrome */
.hero-protein {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero-protein.loaded {
  opacity: 1;
  pointer-events: auto;
  cursor: grab;
}
.hero-protein.loaded:active { cursor: grabbing; }
.hero-protein,
.hero-protein > div,
.hero-protein canvas {
  background: transparent !important;
  background-color: transparent !important;
}
.hero-protein-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
}
/* Once the viewer takes over, fade out the SVG fallback */
.hero-protein.loaded ~ .hero-protein-fallback,
.hero-visual:has(.hero-protein.loaded) .hero-protein-fallback {
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero-protein-fallback { transition: opacity 0.55s ease; }

/* PDB caption — hidden (clean, label-free hero) */
.hero-protein-caption { display: none !important; }
.hero-protein-caption-disabled {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7,9,18,0.78);
  border: 1px solid rgba(34,206,238,0.3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bio-300);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  pointer-events: none;
}
.hero-protein-caption .led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bio-400); box-shadow: 0 0 8px var(--bio-400);
  animation: pulse-live 1.4s ease-in-out infinite;
}
.hero-protein-caption .dim { color: var(--slate-500); }
.hero-orbit { animation: rotate 30s linear infinite; transform-origin: 50% 50%; }
.hero-orbit.reverse { animation-direction: reverse; animation-duration: 40s; }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
}

/* ---------- "Why we move fast" — human-impact section ---------- */
.impact-section {
  position: relative;
  padding-block: 80px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.impact-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(34,206,238,0.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 50%, rgba(167,132,255,0.10), transparent 60%);
  pointer-events: none; z-index: 0;
}
.impact-section > .container { position: relative; z-index: 1; }

.impact-viz {
  margin-top: 40px;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}
.impact-viz svg { width: 100%; height: auto; display: block; }

/* Heartbeat line draw-on then ambient pulse */
.ecg-line {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: ecg-draw 2.4s ease-out forwards, ecg-glow 2s ease-in-out 2.4s infinite;
  filter: drop-shadow(0 0 6px rgba(34, 206, 238, 0.35));
}
@keyframes ecg-draw  { to { stroke-dashoffset: 0; } }
@keyframes ecg-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(34, 206, 238, 0.35)); }
  50%      { filter: drop-shadow(0 0 12px rgba(34, 206, 238, 0.85)); }
}

/* Travelling pulse markers (twin) */
.ecg-pulse-cyan   { filter: drop-shadow(0 0 8px #22ceee); }
.ecg-pulse-violet { filter: drop-shadow(0 0 6px #a784ff); }

/* Pulsing 3D heart — lub-dub rhythm in sync with a real heartbeat */
.heart-3d {
  transform-origin: center;
  transform-box: fill-box;
  animation: heart-beat 1.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(112, 52, 255, 0.55));
  will-change: transform;
}
@keyframes heart-beat {
  0%, 60%, 100% { transform: scale(1) rotate(-4deg); }
  10%           { transform: scale(1.14) rotate(-4deg); }
  20%           { transform: scale(1.02) rotate(-4deg); }
  32%           { transform: scale(1.10) rotate(-4deg); }
  44%           { transform: scale(1) rotate(-4deg); }
}

/* Real 3D Y-axis rotation for the molecule (wrapped so it doesn't override the outer translate) */
.mol-3d {
  transform-origin: center;
  transform-box: fill-box;
  animation: mol-3d-rotate 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes mol-3d-rotate {
  0%, 100% { transform: perspective(420px) rotateY(-30deg) rotateX(8deg); }
  50%      { transform: perspective(420px) rotateY(30deg)  rotateX(-4deg); }
}

/* Molecule (left) — opacity-only pulse so it doesn't fight the SVG translate() */
.impact-mol { animation: impact-mol-pulse 3s ease-in-out infinite; }
@keyframes impact-mol-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}
.impact-mol > circle:first-child { animation: impact-halo-pulse 3.5s ease-in-out infinite; }
@keyframes impact-halo-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.95; }
}

/* Family silhouette (right) — filter-only glow (doesn't touch transform) */
.impact-family { animation: family-glow 5s ease-in-out infinite; }
@keyframes family-glow {
  0%, 60%   { filter: drop-shadow(0 0 6px rgba(34, 206, 238, 0.35)); }
  80%       { filter: drop-shadow(0 0 18px rgba(34, 206, 238, 0.95)); }
  100%      { filter: drop-shadow(0 0 6px rgba(34, 206, 238, 0.35)); }
}

/* Closing line */
.impact-foot {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
  opacity: 0.85;
}

@media (max-width: 720px) {
  .impact-section { padding-block: 60px; }
  .impact-viz svg { min-height: 200px; }
}

/* ---------- The Product Loop section (kept for the WP page templates) ---------- */
.loop-section {
  position: relative;
  padding-block: 80px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.loop-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 30%, rgba(34,206,238,0.06), transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(167,132,255,0.06), transparent 65%);
  pointer-events: none; z-index: 0;
}
.loop-section > .container { position: relative; z-index: 1; }

.loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
  position: relative;
}
@media (max-width: 880px) { .loop { grid-template-columns: 1fr; gap: 20px; } }

.loop-node {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  text-align: left;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  z-index: 1;
}
.loop-node:hover {
  transform: translateY(-4px);
  border-color: rgba(34,206,238,0.35);
  box-shadow: 0 20px 50px -16px rgba(34,206,238,0.20);
}
.loop-node::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.loop-node:hover::before { transform: scaleX(1); }

.loop-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(112,52,255,0.20), rgba(34,206,238,0.12));
  border: 1px solid rgba(167,132,255,0.28);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--bio-300);
}
.loop-icon svg { width: 32px; height: 32px; }

.loop-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bio-300);
  margin-bottom: 6px;
}
.loop-node h3 { font-size: 1.15rem; margin-bottom: 8px; }
.loop-node p { font-size: 0.92rem; color: var(--slate-300); margin: 0; line-height: 1.55; }

/* Animated atoms (Generate card) */
.loop-atoms circle { animation: pulse-live 1.8s ease-in-out infinite; }
.loop-atoms circle:nth-child(1) { animation-delay: 0.0s; }
.loop-atoms circle:nth-child(2) { animation-delay: 0.2s; }
.loop-atoms circle:nth-child(3) { animation-delay: 0.4s; }
.loop-atoms circle:nth-child(4) { animation-delay: 0.6s; }
.loop-atoms circle:nth-child(5) { animation-delay: 0.8s; }

/* Animated bars (Score card) */
.loop-bars rect {
  fill: url(#loop-grad);
  transform-origin: bottom;
  animation: bar-bob 2.4s ease-in-out infinite;
}
.loop-bars rect:nth-child(2) { animation-delay: 0.15s; }
.loop-bars rect:nth-child(3) { animation-delay: 0.30s; }
.loop-bars rect:nth-child(4) { animation-delay: 0.45s; }

/* Animated shield (Refine card) */
.loop-shield { animation: shield-pulse 2.6s ease-in-out infinite; transform-origin: 30px 30px; }

/* Connecting arrows between nodes */
.loop-arrows {
  position: absolute;
  top: 56px;     /* aligns with .loop-icon vertical centre (28+56/2 ≈ 56) */
  left: 0; right: 0;
  width: 100%; height: 40px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 880px) { .loop-arrows { display: none; } }

.loop-arrow {
  animation: residue-flow 1.5s linear infinite;
  opacity: 0.7;
}
.loop-pulse {
  filter: drop-shadow(0 0 6px currentColor);
  animation: loop-pulse-x 5s linear infinite;
  opacity: 0;
}
.loop-pulse.p1 { animation-delay: 0s;   color: #22ceee; }
.loop-pulse.p2 { animation-delay: 1.7s; color: #a784ff; }
.loop-pulse.p3 { animation-delay: 3.4s; color: #22ceee; }
@keyframes loop-pulse-x {
  0%   { transform: translateX(60px);  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(940px); opacity: 0; }
}

/* Loop-back arc below the row */
.loop-back {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  justify-content: center;
}
.loop-back svg { width: 220px; height: 60px; }
.loop-back-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  animation: residue-flow 2.5s linear infinite;
  opacity: 0.7;
}
.loop-back-tip {
  filter: drop-shadow(0 0 6px #22ceee);
  animation: pulse-live 1.8s ease-in-out infinite;
}
@media (max-width: 880px) { .loop-back { display: none; } }

/* Legacy classes (no longer used but harmless) */
.trust-bar { padding-block: 50px; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.trust-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 22px;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  opacity: 0.7;
}
.trust-logos span {
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-300);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) { .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.stat {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  text-align: left;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.stat:hover { transform: translateY(-3px); border-color: rgba(34, 206, 238, 0.3); box-shadow: var(--shadow-card); }
.stat-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--slate-400); margin-top: 6px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / Platform ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.feature-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(167, 132, 255, 0.3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(112, 52, 255, 0.2), rgba(34, 206, 238, 0.15));
  border: 1px solid rgba(167, 132, 255, 0.25);
  display: grid; place-items: center;
  color: var(--bio-300);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--slate-300); font-size: 0.95rem; margin-bottom: 14px; }
.feature-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.feature-card li {
  font-size: 0.86rem;
  color: var(--slate-300);
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.feature-card li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--bio-400);
  border-bottom: 2px solid var(--bio-400);
  transform: rotate(-45deg);
}
@media (max-width: 980px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Targets / Therapeutic focus ---------- */
.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.target {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.target:hover { border-color: rgba(34, 206, 238, 0.35); transform: translateY(-2px); }
.target-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bio-300);
  background: rgba(34, 206, 238, 0.08);
  padding: 4px 8px; border-radius: 4px;
  margin-bottom: 12px;
}
.target h4 { font-size: 1.1rem; margin-bottom: 6px; }
.target p { font-size: 0.85rem; color: var(--slate-400); margin: 0; }
@media (max-width: 980px) { .target-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Process / How it works ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.25s, transform 0.25s;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -14px; left: 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-950);
  background: var(--bio-400);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.step:hover { border-color: rgba(167, 132, 255, 0.3); transform: translateY(-3px); }
.step h4 { margin-bottom: 6px; }
.step p { font-size: 0.88rem; color: var(--slate-400); margin: 0; }
@media (max-width: 768px) { .process { grid-template-columns: 1fr 1fr; } }

/* ---------- Slider / Case studies ---------- */
.slider {
  margin-top: 44px;
  position: relative;
}
.slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(112, 52, 255, 0.08), rgba(34, 206, 238, 0.04));
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.slide-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neural-300); margin-bottom: 8px; }
.slide h3 { font-size: 1.2rem; margin-bottom: 10px; }
.slide p { font-size: 0.92rem; color: var(--slate-300); }
.slide-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.slide-meta div { font-size: 0.8rem; }
.slide-meta strong { display: block; color: var(--white); font-family: var(--font-mono); font-size: 1rem; }
.slide-meta span { color: var(--slate-400); }
.slider-controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.slider-controls button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.slider-controls button:hover { background: rgba(34,206,238,0.1); border-color: var(--bio-400); }
@media (max-width: 980px) { .slide { flex: 0 0 calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .slide { flex: 0 0 88%; } }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.why-item {
  display: flex; gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}
.why-icon {
  flex: 0 0 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(112,52,255,0.15), rgba(34,206,238,0.1));
  border: 1px solid rgba(167,132,255,0.2);
  display: grid; place-items: center;
  color: var(--neural-300);
}
.why-item h4 { margin-bottom: 4px; }
.why-item p { color: var(--slate-300); font-size: 0.9rem; margin: 0; }
@media (max-width: 768px) { .why { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.member {
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.25s, transform 0.25s;
}
.member:hover { transform: translateY(-3px); border-color: rgba(34,206,238,0.3); }
.member-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--grad-primary);
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.4rem;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-glow);
}
.member h4 { font-size: 1rem; margin-bottom: 2px; }
.member-role { font-size: 0.82rem; color: var(--bio-300); margin-bottom: 8px; font-family: var(--font-mono); }
.member p { font-size: 0.84rem; color: var(--slate-400); margin: 0; }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Insights / Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.post-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(34,206,238,0.3); }
.post-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(112,52,255,0.25), rgba(34,206,238,0.15));
  position: relative;
}
.post-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.post-body { padding: 22px; }
.post-meta { font-family: var(--font-mono); font-size: 11px; color: var(--slate-400); margin-bottom: 8px; letter-spacing: 0.05em; }
.post-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.post-card p { font-size: 0.88rem; color: var(--slate-400); margin: 0; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top left, rgba(112,52,255,0.25), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(34,206,238,0.18), transparent 50%),
    linear-gradient(180deg, var(--ink-850), var(--ink-900));
  border: 1px solid rgba(167,132,255,0.2);
  text-align: center;
  margin-block: 50px;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.cta p { color: var(--slate-300); font-size: 1.05rem; max-width: 620px; margin: 12px auto 24px; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; margin-top: 36px; align-items: start; }
.contact-info p { color: var(--slate-300); }
.contact-points { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-points li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; color: var(--slate-300); }
.contact-points svg { flex-shrink: 0; color: var(--bio-400); margin-top: 3px; }
.contact-points strong { color: var(--white); display: block; font-size: 0.9rem; }
.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.8rem; color: var(--slate-300); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(7,9,18,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--slate-100);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--bio-400);
  background: rgba(7,9,18,0.95);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form button { width: 100%; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 56px 28px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: var(--slate-400); font-size: 0.92rem; max-width: 360px; margin-top: 14px; }
.footer-grid h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.55;
}
.footer-grid a { color: var(--slate-300); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--bio-300); }

/* Get-in-touch column with icon + text on each row */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-list li svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--bio-400);
  margin-top: 3px;
}
.contact-list li > span,
.contact-list li > a {
  flex: 1;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--slate-400);
  flex-wrap: wrap; gap: 12px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: grid; place-items: center;
  color: var(--slate-300);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.socials a:hover { background: rgba(34,206,238,0.1); color: var(--bio-300); border-color: var(--bio-400); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-header {
  padding: 140px 0 50px;
  text-align: center;
}
.page-header .breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 14px;
}
.page-header h1 { margin-bottom: 12px; }
.page-content { padding-bottom: 80px; }
.entry-content { max-width: 760px; margin-inline: auto; padding-inline: 24px; color: var(--slate-200); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.4em; }
.entry-content blockquote {
  border-left: 3px solid var(--bio-400);
  padding-left: 16px; margin-left: 0;
  color: var(--slate-300); font-style: italic;
}
.entry-content code {
  background: rgba(34,206,238,0.08);
  padding: 2px 6px; border-radius: 4px;
  font-size: 0.9em; color: var(--bio-200);
  font-family: var(--font-mono);
}
.entry-content pre {
  background: rgba(0,0,0,0.4); padding: 18px; border-radius: var(--radius-sm);
  overflow-x: auto; border: 1px solid rgba(255,255,255,0.06);
}

/* Search / 404 */
.error-404, .search-no-results {
  padding: 160px 24px 80px;
  text-align: center;
}
.error-404 .big {
  font-family: var(--font-mono);
  font-size: clamp(5rem, 14vw, 10rem);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

/* Pagination */
.pagination {
  display: flex; gap: 8px; justify-content: center; margin-top: 40px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  color: var(--slate-200);
  font-size: 0.9rem;
}
.pagination .current { background: var(--grad-primary); border-color: transparent; color: var(--white); }

/* Comments (basic) */
.comments-area { max-width: 760px; margin: 50px auto 0; padding-inline: 24px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Mobile menu ---------- */
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .primary-menu {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    background: rgba(7,9,18,0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .primary-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-menu li a { padding: 14px 16px; border-radius: 10px; font-size: 1rem; display: block; }
}

/* ---------- Print ---------- */
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .cta, .hero-visual { display: none; }
}

/* ============================================================
   v1.1 — Generative AI section, Partners, richer animations
   ============================================================ */

/* ---------- Generative AI showcase ---------- */
.genai {
  position: relative;
  overflow: hidden;
}
.genai::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(112,52,255,0.12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(34,206,238,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.genai > .container { position: relative; z-index: 1; }

.genai-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 44px;
}
@media (max-width: 980px) { .genai-grid { grid-template-columns: 1fr; gap: 30px; } }

.genai-demo {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(112,52,255,0.10), rgba(34,206,238,0.06));
  border: 1px solid rgba(167,132,255,0.25);
  padding: 26px;
  font-family: var(--font-mono);
  overflow: hidden;
}
.genai-demo::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167,132,255,0.5), transparent 30%, transparent 70%, rgba(34,206,238,0.5));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.genai-demo-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  font-size: 11px; color: var(--slate-400);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.genai-demo-dots { display: inline-flex; gap: 6px; }
.genai-demo-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--slate-500);
  display: inline-block;
}
.genai-demo-dots span:nth-child(1) { background: #ef4444; }
.genai-demo-dots span:nth-child(2) { background: #f59e0b; }
.genai-demo-dots span:nth-child(3) { background: #10b981; }

.genai-demo-status {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--bio-300);
}
.genai-demo-status::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bio-400);
  box-shadow: 0 0 8px var(--bio-400);
  animation: pulse-live 1.4s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.genai-demo-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.genai-demo-line .gl-arrow {
  color: var(--bio-300);
  font-weight: 700;
}
.genai-demo-line .gl-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--slate-400);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.genai-demo-line .gl-text {
  color: var(--slate-100);
  word-break: break-all;
}
.genai-demo-line.gen .gl-text { color: var(--bio-200); }

.typewriter {
  position: relative;
  display: inline-block;
  min-height: 1.4em;
}
.typewriter::after {
  content: '▎';
  display: inline-block;
  margin-left: 1px;
  color: var(--bio-400);
  animation: blink 1s steps(1) infinite;
  font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }

.genai-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.genai-meta div {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-400);
}
.genai-meta strong {
  display: block;
  font-size: 1.05rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  margin-bottom: 2px;
}

/* GenAI feature row underneath */
.genai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 768px) { .genai-features { grid-template-columns: 1fr; } }
.genai-feature {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.genai-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(34,206,238,0.35);
  box-shadow: 0 18px 50px -16px rgba(34,206,238,0.18);
}
.genai-feature h4 { font-size: 1.05rem; margin: 12px 0 4px; }
.genai-feature p { color: var(--slate-400); font-size: 0.86rem; margin: 0; }
.genai-feature-viz {
  height: 90px;
  border-radius: var(--radius-sm);
  background: rgba(7,9,18,0.55);
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

/* Animated bars (calibrated scoring) */
.viz-bars { display: flex; align-items: flex-end; gap: 6px; height: 100%; padding: 14px 16px; }
.viz-bars span {
  flex: 1;
  background: var(--grad-accent);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
  transform-origin: bottom;
  animation: bar-bob 2.8s ease-in-out infinite;
}
.viz-bars span:nth-child(1) { animation-delay: 0.0s; height: 30%; }
.viz-bars span:nth-child(2) { animation-delay: 0.15s; height: 55%; }
.viz-bars span:nth-child(3) { animation-delay: 0.30s; height: 75%; }
.viz-bars span:nth-child(4) { animation-delay: 0.45s; height: 90%; }
.viz-bars span:nth-child(5) { animation-delay: 0.60s; height: 70%; }
.viz-bars span:nth-child(6) { animation-delay: 0.75s; height: 50%; }
.viz-bars span:nth-child(7) { animation-delay: 0.90s; height: 35%; }
@keyframes bar-bob {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.65); }
}

/* Animated radar (resistance forecasting) */
.viz-radar { width: 100%; height: 100%; }
.viz-radar-shape { animation: radar-spin 8s linear infinite; transform-origin: 50% 50%; }
@keyframes radar-spin { to { transform: rotate(360deg); } }
.viz-radar-pulse { animation: radar-pulse 2s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes radar-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Animated assembly (scaffold gen) */
.viz-assembly { position: relative; width: 100%; height: 100%; }
.viz-assembly circle { animation: float-blob 4s ease-in-out infinite; }
.viz-assembly circle:nth-child(2) { animation-delay: 0.4s; }
.viz-assembly circle:nth-child(3) { animation-delay: 0.8s; }
.viz-assembly circle:nth-child(4) { animation-delay: 1.2s; }
.viz-assembly circle:nth-child(5) { animation-delay: 1.6s; }
.viz-assembly line { stroke-dasharray: 4 6; animation: dash-flow 1.5s linear infinite; }
@keyframes float-blob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes dash-flow { to { stroke-dashoffset: -20; } }

/* Generative AI illustration (right side) */
.genai-illu {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-inline: auto;
}
.genai-illu svg { width: 100%; height: 100%; }
.genai-illu .ring {
  fill: none;
  stroke: rgba(167,132,255,0.3);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: rotate 18s linear infinite;
  transform-origin: 200px 200px;
}
.genai-illu .ring.r2 { stroke: rgba(34,206,238,0.35); animation-duration: 22s; animation-direction: reverse; }
.genai-illu .ring.r3 { stroke: rgba(167,132,255,0.2); animation-duration: 30s; }
.genai-illu .pulse {
  fill: var(--bio-400);
  animation: node-pulse 2s ease-in-out infinite;
}
.genai-illu .pulse.p2 { animation-delay: 0.4s; fill: var(--neural-400); }
.genai-illu .pulse.p3 { animation-delay: 0.8s; }
.genai-illu .pulse.p4 { animation-delay: 1.2s; fill: var(--neural-400); }
@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.7; }
}
.genai-illu .edge {
  stroke: rgba(167,132,255,0.4);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: edge-flow 3s linear infinite;
}
.genai-illu .edge.e2 { animation-delay: 0.5s; stroke: rgba(34,206,238,0.45); }
.genai-illu .edge.e3 { animation-delay: 1.0s; }
.genai-illu .edge.e4 { animation-delay: 1.5s; stroke: rgba(34,206,238,0.45); }
.genai-illu .edge.e5 { animation-delay: 2.0s; }
@keyframes edge-flow {
  0% { stroke-dashoffset: 60; opacity: 0; }
  20% { opacity: 1; }
  100% { stroke-dashoffset: -60; opacity: 0; }
}
.genai-illu .core {
  fill: url(#genai-core);
  filter: drop-shadow(0 0 18px rgba(167,132,255,0.55));
  animation: core-breathe 3.5s ease-in-out infinite;
  transform-origin: 200px 200px;
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* ---------- Partners section ---------- */
.partners {
  position: relative;
  background:
    linear-gradient(180deg, transparent, rgba(112,52,255,0.04) 30%, rgba(34,206,238,0.03) 70%, transparent);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 980px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  padding: 26px 22px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.tier:hover {
  transform: translateY(-4px);
  border-color: rgba(167,132,255,0.45);
  box-shadow: 0 22px 50px -18px rgba(112,52,255,0.35);
}
.tier::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0%, rgba(167,132,255,0.5) 18%, rgba(34,206,238,0.45) 32%, transparent 50%, transparent 100%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
  animation: ang 6s linear infinite paused;
  pointer-events: none;
}
.tier:hover::after { opacity: 1; animation-play-state: running; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }

.tier-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tier.t-pharma  .tier-tag { color: #fbbf24; background: rgba(251,191,36,0.10); border: 1px solid rgba(251,191,36,0.3); }
.tier.t-biotech .tier-tag { color: var(--bio-300); background: rgba(34,206,238,0.10); border: 1px solid rgba(34,206,238,0.3); }
.tier.t-academic .tier-tag { color: var(--neural-300); background: rgba(167,132,255,0.10); border: 1px solid rgba(167,132,255,0.3); }
.tier.t-investor .tier-tag { color: #34d399; background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.3); }

.tier h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tier > p { color: var(--slate-300); font-size: 0.9rem; margin-bottom: 14px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 18px; }
.tier li {
  font-size: 0.85rem;
  color: var(--slate-300);
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.tier li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--bio-400);
  border-bottom: 2px solid var(--bio-400);
  transform: rotate(-45deg);
}
.tier .btn { width: 100%; margin-top: auto; }

/* Logo marquee — infinite scrolling */
.marquee {
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-300);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}
.marquee-item:hover { opacity: 1; color: var(--bio-300); }
.marquee-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neural-400);
  box-shadow: 0 0 6px var(--neural-400);
}
.marquee-item--logo {
  width: 200px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
}
.marquee-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
}
.marquee-logo--invert {
  filter: invert(1) hue-rotate(180deg) brightness(1.05) contrast(0.95);
  opacity: 0.78;
}
.marquee-item--card {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-item--card .marquee-logo { opacity: 1; }
.marquee-item:hover .marquee-logo { opacity: 1; transform: scale(1.05); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Partner CTA strip */
.partners-cta {
  margin-top: 50px;
  padding: 30px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at top right, rgba(112,52,255,0.18), transparent 60%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(167,132,255,0.25);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.partners-cta > div:first-child { flex: 1 1 320px; }
.partners-cta > div:last-child { flex: 0 0 auto; margin-left: auto; }
.partners-cta h3 { margin-bottom: 4px; }
.partners-cta p { color: var(--slate-300); margin: 0; font-size: 0.95rem; }

/* ---------- Tilt cards (3D mouse interaction) ---------- */
.tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.15s ease-out, box-shadow 0.25s;
  will-change: transform;
}
.tilt > * { transform: translateZ(0); }

/* ---------- Particle network background (canvas) ---------- */
.bg-net {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ---------- Floating chips (hero ambient AI labels) ---------- */
.chip-float {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(7,9,18,0.78);
  border: 1px solid rgba(167,132,255,0.3);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bio-300);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  pointer-events: none;
  animation: chip-float 6s ease-in-out infinite;
}
.chip-float .led { width: 7px; height: 7px; border-radius: 50%; background: var(--bio-400); box-shadow: 0 0 6px var(--bio-400); }
.chip-float.violet { color: var(--neural-300); border-color: rgba(167,132,255,0.4); }
.chip-float.violet .led { background: var(--neural-400); box-shadow: 0 0 6px var(--neural-400); }
/* Hero floating chips disabled — protein only, no chrome. */
.hero-visual .chip-float { display: none !important; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); opacity: 0.95; }
  50%      { transform: translateY(-8px); opacity: 1; }
}
@media (max-width: 980px) {
  .chip-float { display: none; }
}

/* ---------- Animated gradient text shimmer ---------- */
.shimmer {
  background: linear-gradient(90deg,
    var(--neural-400) 0%,
    var(--bio-300) 25%,
    #fff 50%,
    var(--bio-300) 75%,
    var(--neural-400) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Subtle background grid ---------- */
.bg-grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,132,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,132,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask: radial-gradient(ellipse at center, #000, transparent 70%);
          mask: radial-gradient(ellipse at center, #000, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   v1.2 — 3D protein figure, transformer architecture, flow diagram
   ============================================================ */

/* ---------- 3D Protein figure (KRAS G12C + sotorasib) ---------- */
.structures {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 30% 30%, rgba(34,206,238,0.08), transparent 65%),
    radial-gradient(ellipse 60% 60% at 70% 70%, rgba(167,132,255,0.10), transparent 65%);
}

.protein-stage {
  position: relative;
  margin-top: 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at center, rgba(7,9,18,0.4), rgba(7,9,18,0.85)),
    linear-gradient(135deg, rgba(112,52,255,0.08), rgba(34,206,238,0.04));
  border: 1px solid rgba(167,132,255,0.2);
  padding: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.protein-stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,132,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,132,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
@media (max-width: 980px) {
  .protein-stage { grid-template-columns: 1fr; padding: 24px; }
}

.protein-3d {
  position: relative;
  perspective: 1400px;
  z-index: 1;
}
.protein-3d-inner {
  position: relative;
  transform-style: preserve-3d;
  animation: protein-spin 22s linear infinite;
  transform-origin: 50% 50%;
}
.protein-3d:hover .protein-3d-inner { animation-play-state: paused; }
@keyframes protein-spin {
  0%   { transform: rotateY(-32deg) rotateX(8deg); }
  25%  { transform: rotateY(  0deg) rotateX(0deg); }
  50%  { transform: rotateY( 32deg) rotateX(-8deg); }
  75%  { transform: rotateY(  0deg) rotateX(0deg); }
  100% { transform: rotateY(-32deg) rotateX(8deg); }
}

.protein-3d svg { display: block; width: 100%; height: auto; max-height: 460px; }

/* Glow halo around binding pocket */
.binding-halo {
  fill: url(#bind-glow);
  animation: halo-breathe 3.2s ease-in-out infinite;
  transform-origin: 300px 200px;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.07); }
}

/* Alpha helix coils — animated stroke offset to suggest residue flow */
.helix {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
  animation: residue-flow 4s linear infinite;
}
.helix.h1 { stroke: url(#helix-cyan);   stroke-width: 14; }
.helix.h2 { stroke: url(#helix-violet); stroke-width: 12; animation-delay: 0.4s; animation-duration: 5s; }
.helix.h3 { stroke: url(#helix-cyan);   stroke-width: 13; animation-delay: 0.8s; animation-duration: 4.5s; }
.helix.h4 { stroke: url(#helix-violet); stroke-width: 11; animation-delay: 1.2s; }
@keyframes residue-flow { to { stroke-dashoffset: -28; } }

/* Beta sheet arrows */
.sheet { fill: url(#sheet-grad); stroke: rgba(255,255,255,0.15); stroke-width: 0.8; opacity: 0.92; }

/* Ligand (sotorasib stylised) */
.ligand-group { animation: ligand-bind 5s ease-in-out infinite; transform-origin: 305px 205px; }
@keyframes ligand-bind {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  20%      { transform: translate(0, -3px) scale(1.04); opacity: 1; }
  60%      { transform: translate(2px, 1px) scale(1); opacity: 0.95; }
}
.ligand-bond { stroke: #f59e0b; stroke-width: 1.8; stroke-linecap: round; }
.ligand-atom { stroke: #fff; stroke-width: 0.8; }
.ligand-atom.c { fill: #f59e0b; }
.ligand-atom.n { fill: #60a5fa; }
.ligand-atom.o { fill: #ef4444; }
.ligand-atom.f { fill: #34d399; }

/* Connection sparks between ligand and protein pocket */
.spark { stroke: rgba(34,206,238,0.7); stroke-width: 1; stroke-dasharray: 2 4; animation: spark-flicker 1.6s linear infinite; }
@keyframes spark-flicker {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.95; }
}

/* Annotations + leader lines */
.annot-line { stroke: rgba(167,132,255,0.45); stroke-width: 1; fill: none; stroke-dasharray: 2 3; }
.annot-text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--bio-300);
  letter-spacing: 0.05em;
}
.annot-text.tiny { font-size: 9px; fill: var(--slate-400); }
.annot-text.title { fill: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Right side: structure metadata */
.protein-meta {
  position: relative;
  z-index: 1;
}
.protein-meta .pdb-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,206,238,0.10);
  color: var(--bio-300);
  border: 1px solid rgba(34,206,238,0.3);
  margin-bottom: 14px;
}
.protein-meta .pdb-tag::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bio-400); box-shadow: 0 0 8px var(--bio-400);
  animation: pulse-live 1.4s ease-in-out infinite;
}
.protein-meta h3 { font-size: 1.5rem; margin-bottom: 8px; }
.protein-meta > p { color: var(--slate-300); font-size: 0.95rem; }
.protein-data {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 22px; padding: 18px;
  border-radius: var(--radius);
  background: rgba(7,9,18,0.55);
  border: 1px solid rgba(255,255,255,0.06);
}
.protein-data div { font-family: var(--font-mono); font-size: 11px; color: var(--slate-400); letter-spacing: 0.05em; }
.protein-data strong {
  display: block;
  font-size: 1.05rem; font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2px;
}

/* ---------- Mini target structure cards (in the targets section) ---------- */
.target { padding-top: 0; overflow: hidden; }
.target-thumb {
  display: block;
  margin: 0 -22px 14px;
  height: 110px;
  background: linear-gradient(180deg, rgba(112,52,255,0.12), rgba(34,206,238,0.06));
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.target-thumb svg {
  width: 100%; height: 100%;
  animation: thumb-spin 16s linear infinite;
  transform-origin: 50% 50%;
}
.target:hover .target-thumb svg { animation-duration: 6s; }
@keyframes thumb-spin {
  0%, 100% { transform: rotateY(-18deg); }
  50%      { transform: rotateY(18deg); }
}
.target { padding-left: 22px; padding-right: 22px; padding-bottom: 22px; }
.target h4 { margin-top: 4px; }

/* ---------- Transformer architecture diagram ---------- */
.transformer {
  position: relative;
  margin-top: 38px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(7,9,18,0.55), rgba(7,9,18,0.85));
  border: 1px solid rgba(167,132,255,0.18);
  overflow: hidden;
}
.transformer-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-400);
  flex-wrap: wrap; gap: 8px;
}
.transformer-head strong { color: var(--bio-300); font-weight: 600; }

.transformer-svg { display: block; width: 100%; height: auto; }

/* Animated tokens flowing through layers */
.tok {
  fill: rgba(34,206,238,0.85);
  stroke: var(--bio-400);
  stroke-width: 0.5;
}
.tok.active { fill: var(--neural-400); animation: tok-glow 1.2s ease-in-out infinite; }
@keyframes tok-glow { 0%,100% { filter: drop-shadow(0 0 0 transparent); } 50% { filter: drop-shadow(0 0 6px #a784ff); } }

.attn-line {
  stroke: rgba(167,132,255,0.5);
  stroke-width: 0.8;
  fill: none;
  stroke-dasharray: 2 3;
  animation: residue-flow 2.5s linear infinite;
}
.attn-line.lo { stroke: rgba(34,206,238,0.4); stroke-width: 0.6; }

.layer-box {
  fill: rgba(112,52,255,0.10);
  stroke: rgba(167,132,255,0.5);
  stroke-width: 1.2;
  rx: 8; ry: 8;
}
.layer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--slate-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.head-label { font-family: var(--font-mono); font-size: 9px; fill: var(--bio-300); }

/* Flowing dot along the layer pipeline */
.flow-dot {
  fill: var(--bio-300);
  filter: drop-shadow(0 0 6px var(--bio-400));
  animation: flow-along 4.5s linear infinite;
}
.flow-dot.d2 { fill: var(--neural-300); animation-delay: 1.5s; filter: drop-shadow(0 0 6px var(--neural-400)); }
.flow-dot.d3 { animation-delay: 3s; }
@keyframes flow-along {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(640px); opacity: 0; }
}

/* Attention heatmap miniature */
.heatmap {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 2px;
  width: 100%; aspect-ratio: 1 / 1;
}
.heatmap div {
  border-radius: 2px;
  background: rgba(167,132,255,0.05);
  animation: heat-flicker 4s ease-in-out infinite;
}
@keyframes heat-flicker {
  0%, 100% { background: rgba(167,132,255,0.05); }
  50%      { background: rgba(167,132,255,0.45); box-shadow: 0 0 4px rgba(167,132,255,0.6); }
}

/* Loss curve animation */
.loss-curve {
  width: 100%; aspect-ratio: 4 / 1;
  margin-top: 14px;
}
.loss-line {
  fill: none;
  stroke: url(#loss-grad);
  stroke-width: 2;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-line 4s ease-out forwards infinite;
}
@keyframes draw-line {
  0%   { stroke-dashoffset: 600; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
.loss-fill { fill: url(#loss-fill-grad); opacity: 0; animation: fade-in-loss 4s ease-out forwards infinite; }
@keyframes fade-in-loss {
  0%, 60% { opacity: 0; }
  100%    { opacity: 0.55; }
}

/* ---------- Process flow diagram (between cards) ---------- */
.process-flow {
  position: relative;
  margin-top: 50px;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: rgba(7,9,18,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.process-flow::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,206,238,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,206,238,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  pointer-events: none;
}
.process-flow svg { position: relative; z-index: 1; width: 100%; height: auto; max-height: 200px; display: block; }
.flow-stage {
  fill: rgba(7,9,18,0.85);
  stroke: rgba(167,132,255,0.4);
  stroke-width: 1.4;
}
.flow-stage-label { font-family: var(--font-mono); font-size: 10px; fill: var(--bio-300); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.flow-stage-sub  { font-family: Inter, sans-serif; font-size: 9px; fill: var(--slate-400); }
.flow-arrow { fill: none; stroke: url(#arrow-grad); stroke-width: 2; stroke-dasharray: 6 6; animation: residue-flow 1.4s linear infinite; }
.flow-pulse { fill: var(--bio-400); animation: flow-along-x 3s linear infinite; filter: drop-shadow(0 0 8px var(--bio-400)); }
.flow-pulse.p2 { fill: var(--neural-400); animation-delay: 0.75s; filter: drop-shadow(0 0 8px var(--neural-400)); }
.flow-pulse.p3 { animation-delay: 1.5s; }
.flow-pulse.p4 { fill: var(--neural-400); animation-delay: 2.25s; filter: drop-shadow(0 0 8px var(--neural-400)); }
@keyframes flow-along-x {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* When the live demo sits inside the Impact section, give it breathing room */
#impact .impact-demo { margin-top: 44px; margin-bottom: 50px; }
#impact .stats-grid { margin-top: 0; }

/* ---------- Stats: small inline figure under each stat ---------- */
.stat-fig { margin-top: 14px; height: 36px; position: relative; }
.stat-fig svg { width: 100%; height: 100%; }
.stat-fig .bar { fill: var(--bio-400); animation: bar-bob 2.4s ease-in-out infinite; transform-origin: bottom; }
.stat-fig .bar.b2 { animation-delay: 0.2s; fill: var(--neural-400); }
.stat-fig .bar.b3 { animation-delay: 0.4s; }
.stat-fig .bar.b4 { animation-delay: 0.6s; fill: var(--neural-400); }
.stat-fig .bar.b5 { animation-delay: 0.8s; }
.stat-fig .arc { fill: none; stroke: var(--grad-accent); stroke-width: 3; stroke-linecap: round; }
.stat-fig .ring-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 3; }
.stat-fig .ring-fg { fill: none; stroke: url(#ring-grad); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 88;
  animation: ring-fill 2.4s ease-out forwards;
}
@keyframes ring-fill { 0% { stroke-dashoffset: 88; } 100% { stroke-dashoffset: 22; } }

/* ============================================================
   v1.3 — Dedicated /generative-ai/ page sections
   ============================================================ */

/* Hero (page-specific) */
.genai-hero {
  padding-top: 130px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}
.genai-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(112,52,255,0.15), transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 70%, rgba(34,206,238,0.10), transparent 65%);
  pointer-events: none; z-index: 0;
}
.genai-hero > .container { position: relative; z-index: 1; }
.genai-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.genai-stat .num {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.genai-stat .lbl { font-size: 0.85rem; color: var(--slate-400); margin-top: 6px; line-height: 1.4; }
@media (max-width: 768px) { .genai-stat-row { grid-template-columns: 1fr 1fr; } }

/* Pipeline (vertical numbered timeline) */
.genai-pipeline { padding-block: 90px; }
.pipeline-list {
  list-style: none;
  margin: 50px 0 0;
  padding: 0;
  position: relative;
}
.pipeline-list::before {
  content: '';
  position: absolute;
  left: 22px; top: 16px; bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--neural-500), var(--bio-500), transparent);
  border-radius: 2px;
}
.pipeline-step {
  position: relative;
  padding: 0 0 50px 70px;
}
.pipeline-step:last-child { padding-bottom: 0; }
.pipeline-dot {
  position: absolute; left: 14px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bio-400);
  box-shadow: 0 0 0 4px rgba(34,206,238,0.15), 0 0 16px rgba(34,206,238,0.6);
  animation: pulse-live 2.4s ease-in-out infinite;
}
.pipeline-step:nth-child(2) .pipeline-dot,
.pipeline-step:nth-child(4) .pipeline-dot {
  background: var(--neural-400);
  box-shadow: 0 0 0 4px rgba(167,132,255,0.15), 0 0 16px rgba(167,132,255,0.6);
}
.pipeline-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bio-300);
  margin-bottom: 8px;
}
.pipeline-step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pipeline-step > p { color: var(--slate-300); max-width: 720px; font-size: 0.95rem; }
.pipeline-viz {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(7,9,18,0.55);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Tokenize visualisation */
.tok-string {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.tok-raw { color: var(--slate-400); white-space: nowrap; }
.tok-arrow { color: var(--bio-300); font-size: 1.1rem; }
.tok-pieces { display: flex; flex-wrap: wrap; gap: 4px; }
.tk {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  background: rgba(255,255,255,0.03);
  color: var(--slate-200);
  animation: tok-pop 0.5s ease-out forwards;
  opacity: 0; transform: translateY(6px);
}
.tk.a { background: rgba(34,206,238,0.15);  border-color: rgba(34,206,238,0.4);  color: var(--bio-300); }
.tk.b { background: rgba(167,132,255,0.10); border-color: rgba(167,132,255,0.3); color: var(--neural-300); }
.tk.c { background: rgba(251,191,36,0.10);  border-color: rgba(251,191,36,0.3);  color: #fbbf24; }
.tk.d { background: rgba(244,114,182,0.10); border-color: rgba(244,114,182,0.3); color: #f472b6; }
.tok-pieces .tk:nth-child(1)  { animation-delay: 0.05s; }
.tok-pieces .tk:nth-child(2)  { animation-delay: 0.10s; }
.tok-pieces .tk:nth-child(3)  { animation-delay: 0.15s; }
.tok-pieces .tk:nth-child(4)  { animation-delay: 0.20s; }
.tok-pieces .tk:nth-child(5)  { animation-delay: 0.25s; }
.tok-pieces .tk:nth-child(6)  { animation-delay: 0.30s; }
.tok-pieces .tk:nth-child(7)  { animation-delay: 0.35s; }
.tok-pieces .tk:nth-child(8)  { animation-delay: 0.40s; }
.tok-pieces .tk:nth-child(9)  { animation-delay: 0.45s; }
.tok-pieces .tk:nth-child(10) { animation-delay: 0.50s; }
.tok-pieces .tk:nth-child(n+11) { animation-delay: 0.55s; }
@keyframes tok-pop {
  to { opacity: 1; transform: none; }
}

/* Embed grid (60 small cells with shimmer) */
.pipeline-embed {
  display: flex; flex-direction: column; gap: 8px;
  align-items: stretch;
}
.embed-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 3px;
}
.embed-grid span {
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background: rgba(167,132,255,0.07);
  animation: heat-flicker 3s ease-in-out infinite;
}
.embed-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

/* Loss mini chart */
.loss-mini { width: 100%; max-width: 480px; height: 100px; }
.pre-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw-line 4s ease-out forwards infinite; }
.pre-fill { opacity: 0; animation: fade-in-loss 4s ease-out forwards infinite; }

/* Folds row */
.pipeline-folds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.fold {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(167,132,255,0.05);
  text-align: center;
}
.fold span { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--slate-400); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.fold b {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 640px) { .pipeline-folds { grid-template-columns: repeat(3, 1fr); } }

/* Inference output bars */
.pipeline-infer { display: flex; flex-direction: column; gap: 10px; }
.infer-row {
  display: grid;
  grid-template-columns: 130px 1fr 60px;
  gap: 12px;
  align-items: center;
}
.infer-k { font-family: var(--font-mono); font-size: 11px; color: var(--slate-400); letter-spacing: 0.05em; }
.infer-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}
.infer-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--grad-accent);
  border-radius: 4px;
  transform-origin: left;
  animation: bar-grow 1.4s ease-out forwards;
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.infer-v {
  font-family: var(--font-mono); font-size: 0.92rem; font-weight: 600;
  color: var(--white); text-align: right;
}

/* Calibration plot */
.genai-calibration { padding-block: 90px; background: linear-gradient(180deg, transparent, rgba(34,206,238,0.03), transparent); }
@media (max-width: 880px) { .genai-calibration .reveal { grid-template-columns: 1fr !important; gap: 30px !important; } }
.calibration-bullets { list-style: none; padding: 0; margin: 22px 0 0; }
.calibration-bullets li { font-size: 0.92rem; color: var(--slate-300); padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.calibration-bullets li:last-child { border-bottom: 0; }
.calibration-plot {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(7,9,18,0.55);
  border: 1px solid rgba(167,132,255,0.18);
}
.cal-curve { stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw-line 3.4s ease-out forwards infinite; }
.cal-dot   { fill: var(--bio-300); opacity: 0; animation: fade-in-loss 3.4s ease-out forwards infinite; }
.cal-dot:nth-of-type(2) { animation-delay: 0.2s; }
.cal-dot:nth-of-type(3) { animation-delay: 0.4s; }
.cal-dot:nth-of-type(4) { animation-delay: 0.6s; }
.cal-dot:nth-of-type(5) { animation-delay: 0.8s; }

/* Trust two-column (IS / IS NOT) */
.genai-trust { padding-block: 90px; }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 720px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-col {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.trust-h { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase; }
.trust-h.is  { color: var(--ok-400); }
.trust-h.not { color: var(--slate-400); }
.trust-col ul { list-style: none; padding: 0; margin: 0; }
.trust-col li {
  font-size: 0.92rem;
  color: var(--slate-300);
  padding: 9px 0 9px 22px;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  position: relative;
}
.trust-col li:last-child { border-bottom: 0; }
.trust-col li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(34,206,238,0.6);
}
.trust-col.is-not li::before,
.trust-col:last-child li::before { background: rgba(167,132,255,0.55); }

/* ============================================================
   v1.4 — Company page (mission, values, leadership, advisors)
   ============================================================ */

/* Mission block — short, centred prose with a stat strip */
.company-mission {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) { .company-mission { grid-template-columns: 1fr; gap: 20px; } }
.company-mission p {
  color: var(--slate-300);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.company-mission .pull {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(112,52,255,0.10), rgba(34,206,238,0.04));
  border: 1px solid rgba(167,132,255,0.25);
}
.company-mission .pull p { color: var(--slate-200); margin: 0; }
.company-mission .pull strong { color: var(--white); display: block; margin-bottom: 8px; font-size: 1.05rem; }

/* Values — 4 cards with icon + headline + body */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 980px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34,206,238,0.35);
  box-shadow: 0 18px 50px -16px rgba(34,206,238,0.18);
}
.value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(112,52,255,0.18), rgba(34,206,238,0.12));
  border: 1px solid rgba(167,132,255,0.28);
  display: grid; place-items: center;
  color: var(--bio-300);
  margin-bottom: 14px;
}
.value-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { color: var(--slate-400); font-size: 0.88rem; margin: 0; line-height: 1.55; }

/* Advisor grid — same look as team-grid but 3 across */
.team-grid.advisors-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) { .team-grid.advisors-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .team-grid.advisors-3 { grid-template-columns: 1fr; } }
.member.advisor .member-avatar {
  background: linear-gradient(135deg, var(--neural-500), var(--bio-500));
  font-size: 1.15rem;
}
.member.advisor .member-role { color: var(--neural-300); }
.advisor-affil {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.06);
}

/* ============================================================
   v1.5 — Company page: startup story timeline, hero figure,
                       mission visual, animated value icons
   ============================================================ */

/* Startup stage badge row under hero */
.startup-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.startup-stage {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-300);
}
.startup-stage::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bio-400);
  box-shadow: 0 0 8px var(--bio-400);
}
.startup-stage.violet::before { background: var(--neural-400); box-shadow: 0 0 8px var(--neural-400); }

/* Hero startup figure (right side) */
.company-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 980px) {
  .company-hero { grid-template-columns: 1fr; }
  .company-hero-fig { max-width: 480px; margin-inline: auto; }
}
.company-hero-fig { position: relative; aspect-ratio: 1.1 / 1; }
.company-hero-fig svg { width: 100%; height: 100%; display: block; }

/* Animated growth bars in hero figure */
.grow-bar {
  fill: url(#grow-grad);
  transform-origin: center bottom;
  animation: grow-up 2.5s cubic-bezier(.2,.7,.3,1) forwards;
}
.grow-bar.b1 { animation-delay: 0.15s; }
.grow-bar.b2 { animation-delay: 0.30s; }
.grow-bar.b3 { animation-delay: 0.45s; }
.grow-bar.b4 { animation-delay: 0.60s; }
.grow-bar.b5 { animation-delay: 0.75s; }
.grow-bar.b6 { animation-delay: 0.90s; }
@keyframes grow-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.grow-arrow {
  fill: none;
  stroke: url(#grow-grad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw-line 2.6s ease-out 0.6s forwards;
}
.grow-tip {
  fill: var(--bio-300);
  filter: drop-shadow(0 0 8px var(--bio-400));
  opacity: 0;
  animation: tip-pop 0.4s ease-out 3s forwards, pulse-live 2.4s ease-in-out 3.4s infinite;
}
@keyframes tip-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

/* Mission figure (impact compression chart) */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 36px;
  align-items: center;
}
@media (max-width: 880px) { .mission-grid { grid-template-columns: 1fr; gap: 26px; } }
.mission-text p {
  color: var(--slate-300);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 12px;
}
.mission-text p strong { color: var(--white); }
.compress-fig { width: 100%; aspect-ratio: 1.2 / 1; }
.compress-fig svg { width: 100%; height: 100%; display: block; }
/* Discovery-timeline figure */
.compress-bar-old {
  animation: bar-grow 1.6s cubic-bezier(.2,.7,.3,1) forwards;
  transform-origin: left;
}
.compress-bar-new {
  animation: bar-grow 1.4s cubic-bezier(.2,.7,.3,1) 0.5s forwards;
  transform-origin: left;
  transform: scaleX(0);
  filter: drop-shadow(0 0 12px rgba(34, 206, 238, 0.35));
}
/* Section title */
.ct-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  fill: var(--slate-400);
  letter-spacing: 0.18em;
}
/* Row labels */
.ct-label-old { font-family: var(--font-mono); font-size: 10px; fill: var(--slate-300); letter-spacing: 0.12em; font-weight: 600; }
.ct-label-new { font-family: var(--font-mono); font-size: 10px; fill: var(--bio-300);   letter-spacing: 0.12em; font-weight: 600; }
.ct-side      { font-family: var(--font-mono); font-size: 10px; fill: var(--slate-500); letter-spacing: 0.05em; }
.ct-side-new  { font-family: var(--font-mono); font-size: 10px; fill: var(--bio-300);   letter-spacing: 0.05em; opacity: 0.8; }
/* Big time labels inside the bars */
.ct-time {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  fill: #fff;
  letter-spacing: 0.06em;
}
/* Arrow — line + polygon head, drawn together, then breathing pulse */
.ct-arrow-line {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: ct-arrow-draw 0.55s ease-out 1.1s forwards, ct-arrow-pulse 2.4s ease-in-out 2s infinite;
}
.ct-arrow-head {
  opacity: 0;
  transform-origin: 200px 145px;
  animation: ct-tip-pop 0.35s cubic-bezier(.2,.7,.3,1.4) 1.5s forwards, ct-arrow-pulse 2.4s ease-in-out 2s infinite;
}
@keyframes ct-arrow-draw  { to { stroke-dashoffset: 0; } }
@keyframes ct-tip-pop     { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ct-arrow-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(34, 206, 238, 0.4)); }
  50%      { filter: drop-shadow(0 0 12px rgba(34, 206, 238, 0.9)); }
}
.ct-arrow-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  fill: var(--bio-300);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fade-up 0.4s ease-out 1.7s forwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* Bottom callout */
.ct-callout-bg {
  fill: rgba(167, 132, 255, 0.10);
  stroke: rgba(167, 132, 255, 0.3);
}
.ct-callout-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  fill: var(--neural-300);
}
.ct-callout-text {
  font-family: var(--font-sans);
  font-size: 13px;
  fill: var(--slate-200);
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Value cards — same .value-card class but with animated visual block */
.value-viz {
  width: 100%;
  height: 80px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: rgba(7,9,18,0.45);
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.value-viz svg { width: 100%; height: 100%; }

/* Specific value-viz animations */
.vv-target { animation: radar-pulse 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
.vv-target.spin { animation: radar-spin 8s linear infinite; transform-origin: 50% 50%; }

.vv-shield {
  fill: rgba(34,206,238,0.12);
  stroke: var(--bio-400);
  stroke-width: 1.5;
  animation: shield-pulse 2.6s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes shield-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50%      { transform: scale(1.04); filter: drop-shadow(0 0 8px rgba(34,206,238,0.5)); }
}

.vv-globe-line {
  stroke: rgba(167,132,255,0.5);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 4 4;
  animation: residue-flow 5s linear infinite;
}
.vv-globe-pin {
  fill: var(--bio-400);
  filter: drop-shadow(0 0 4px var(--bio-400));
  animation: pulse-live 1.6s ease-in-out infinite;
}

.vv-spark {
  fill: var(--neural-300);
  animation: pulse-live 1.4s ease-in-out infinite;
}
.vv-spark.s2 { animation-delay: 0.3s; fill: var(--bio-300); }
.vv-spark.s3 { animation-delay: 0.6s; }
.vv-spark.s4 { animation-delay: 0.9s; fill: var(--bio-300); }
.vv-link {
  stroke: rgba(167,132,255,0.4);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 3 3;
  animation: residue-flow 3s linear infinite;
}

/* Startup story timeline */
.timeline {
  position: relative;
  margin-top: 50px;
  padding: 40px 24px 30px;
  border-radius: var(--radius);
  background: rgba(7,9,18,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px; right: 24px; top: 78px;
  height: 2px;
  background: linear-gradient(90deg, var(--neural-500), var(--bio-500));
  border-radius: 2px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 768px) { .timeline-track { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 480px) { .timeline-track { grid-template-columns: 1fr; } }
.tl-step { text-align: center; position: relative; }
.tl-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bio-300);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: var(--bio-400);
  position: relative;
  box-shadow: 0 0 0 5px rgba(34,206,238,0.15), 0 0 14px rgba(34,206,238,0.55);
  animation: pulse-live 2.4s ease-in-out infinite;
}
.tl-dot.violet { background: var(--neural-400); box-shadow: 0 0 0 5px rgba(167,132,255,0.15), 0 0 14px rgba(167,132,255,0.55); }
.tl-step h4 { font-size: 1rem; margin: 0 0 4px; }
.tl-step p { color: var(--slate-400); font-size: 0.85rem; margin: 0; line-height: 1.4; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
