:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-card: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #171717;
  --gray: #525252;
  --gray-2: #737373;
  --gray-3: #a3a3a3;
  --line: #e8e8e8;
  --line-2: #f0f0f0;
  --green: #16a34a;
  --green-soft: #f0fdf4;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 56px rgba(0,0,0,0.10);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grid: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv02','cv03','cv04','cv11','ss01';
  background-color: var(--bg);
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.045) 1px, transparent 1.5px);
  background-size: var(--grid) var(--grid);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
}

/* Animated letters title */
.anim-letters .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(48px) rotate(-8deg) scale(0.85);
  filter: blur(10px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
}
.reveal.in .anim-letters .letter,
.reveal.in.anim-letters .letter,
.in .anim-letters .letter {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
  filter: blur(0);
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--ink);
  z-index: 100;
  transition: width 0.08s linear;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-mark {
  font-family: 'Homemade Apple', 'Caveat', cursive;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  height: 16px;
}
.logo-dot {
  font-size: 16px;
  color: var(--gray-3);
  line-height: 1;
}
.logo-text { display: inline-block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.18s var(--ease);
  position: relative;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s var(--ease);
}
.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--ink);
  color: #ffffff;
}
.btn-primary .btn-arrow { color: #ffffff; }
.btn-nav, .btn-nav:hover { color: #ffffff !important; }
.btn-nav .btn-arrow { color: #ffffff !important; }
.btn-nav .btn-arrow path { stroke: #ffffff; }
.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 88px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at center 40%, rgba(255,255,255,0.4), transparent 80%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.hero .container { text-align: center; position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 56px;
  box-shadow: var(--shadow-xs);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex-shrink: 0;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.35;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 64px;
  white-space: nowrap;
}

/* Rotating word */
.rotator {
  display: inline-block;
  position: relative;
  text-align: left;
  vertical-align: baseline;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  font-style: italic;
  font-weight: 500;
  min-width: 4ch;
}
.rotator::after {
  content: '|';
  display: inline-block;
  margin-left: 4px;
  color: var(--gray-3);
  font-weight: 300;
  font-style: normal;
  animation: caret 1s ease-in-out infinite;
}
.rotator.swap {
  opacity: 0;
  transform: translateY(-8px);
}
@keyframes caret {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 36px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.stat { flex: 1; text-align: left; }
.stat-value {
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-2);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.divider {
  width: 1px;
  height: 32px;
  background: var(--line);
  margin: 0 24px;
  flex-shrink: 0;
}

/* ===== Section ===== */
.section {
  padding: 88px 0;
  position: relative;
}
.section-alt {
  background-color: var(--bg-soft);
}

/* About / Our story */
.about-section { padding: 72px 0 56px; }
#thesis { padding-top: 56px; }
.about-lead {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--ink-2);
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.about-lead p {
  font-size: clamp(16px, 1.4vw, 18px);
  margin-bottom: 18px;
}
.about-lead p:last-child { margin-bottom: 0; }
.about-mission {
  font-size: clamp(17px, 1.5vw, 20px) !important;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  padding-top: 8px;
}
.highlight {
  font-weight: 600;
  color: var(--ink);
  background-image: linear-gradient(rgba(254, 240, 138, 0.7), rgba(254, 240, 138, 0.7));
  background-size: 0 38%;
  background-position: 0 88%;
  background-repeat: no-repeat;
  transition: background-size 0.9s var(--ease);
  padding: 0 1px;
}
.reveal.in .highlight { background-size: 100% 38%; }
.reveal.in .highlight:nth-of-type(2) { transition-delay: 0.15s; }
.reveal.in .highlight:nth-of-type(3) { transition-delay: 0.3s; }
.reveal.in .highlight:nth-of-type(4) { transition-delay: 0.45s; }
.reveal.in .highlight:nth-of-type(5) { transition-delay: 0.6s; }
.reveal.in .highlight:nth-of-type(6) { transition-delay: 0.75s; }
.reveal.in .highlight:nth-of-type(7) { transition-delay: 0.9s; }
.reveal.in .highlight:nth-of-type(8) { transition-delay: 1.05s; }
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.about-pillar {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.25s var(--ease);
}
.about-pillar:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.about-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.about-pillar h4 {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.about-pillar p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}
.about-pillars > *:nth-child(2) { --i: 1; }
.about-pillars > *:nth-child(3) { --i: 2; }

/* Thesis — playbook stickers */
#thesis {
  position: relative;
  overflow: hidden;
}
#thesis .container { position: relative; z-index: 2; }
.playbook-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.sticker {
  position: absolute;
  pointer-events: none;
  user-select: none;
  transition: transform 0.6s var(--ease);
}
.sticker svg { width: 100%; height: 100%; display: block; }

/* Black/white fintech-style annotations */
.sticker { color: var(--ink); opacity: 0.35; }

.sticker-spark {
  width: 90px; height: 32px;
  top: 70px; right: 7%;
  transform: rotate(-3deg);
  animation: stickerFloat 7s ease-in-out infinite;
}
.sticker-bracket {
  width: 70px; height: 36px;
  top: 60px; left: 6%;
  transform: rotate(2deg);
  animation: stickerFloat 8s ease-in-out infinite;
  animation-delay: -1s;
}
.sticker-ruler {
  width: 90px; height: 18px;
  top: 240px; left: 9%;
  transform: rotate(8deg);
  animation: stickerFloat 6.5s ease-in-out infinite;
  animation-delay: -2s;
}
.sticker-chevron {
  width: 70px; height: 20px;
  top: 280px; right: 10%;
  transform: rotate(-6deg);
  animation: stickerFloat 7.5s ease-in-out infinite;
  animation-delay: -3s;
}
.sticker-dots {
  width: 44px; height: 44px;
  bottom: 220px; right: 7%;
  transform: rotate(4deg);
  opacity: 0.3;
  animation: stickerFloat 9s ease-in-out infinite;
  animation-delay: -4s;
}
.sticker-cross {
  width: 32px; height: 32px;
  bottom: 160px; left: 8%;
  transform: rotate(0);
  opacity: 0.35;
  animation: crossSpin 24s linear infinite;
}
.sticker-asterisk {
  width: 24px; height: 24px;
  bottom: 340px; left: 12%;
  opacity: 0.4;
  animation: asteriskPulse 3s ease-in-out infinite;
}
.sticker-tick {
  width: 80px; height: 16px;
  bottom: 280px; right: 14%;
  transform: rotate(-4deg);
  opacity: 0.3;
  animation: stickerFloat 8s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes stickerFloat {
  0%, 100% { transform: var(--rot, rotate(0)) translateY(0); }
  50% { transform: var(--rot, rotate(0)) translateY(-4px); }
}
@keyframes crossSpin {
  to { transform: rotate(360deg); }
}
@keyframes asteriskPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

/* Per-sticker float keyframes preserving rotation */
.sticker-spark { animation: floatSpark 7s ease-in-out infinite; }
@keyframes floatSpark {
  0%,100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-4px); }
}
.sticker-bracket { animation: floatBracket 8s ease-in-out infinite; animation-delay: -1s; }
@keyframes floatBracket {
  0%,100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-3px); }
}
.sticker-ruler { animation: floatRuler 6.5s ease-in-out infinite; animation-delay: -2s; }
@keyframes floatRuler {
  0%,100% { transform: rotate(8deg) translateX(0); }
  50% { transform: rotate(8deg) translateX(3px); }
}
.sticker-chevron { animation: floatChev 7.5s ease-in-out infinite; animation-delay: -3s; }
@keyframes floatChev {
  0%,100% { transform: rotate(-6deg) translateX(0); }
  50% { transform: rotate(-6deg) translateX(4px); }
}
.sticker-dots { animation: floatDots 9s ease-in-out infinite; animation-delay: -4s; }
@keyframes floatDots {
  0%,100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-3px); }
}
.sticker-tick { animation: floatTick 8s ease-in-out infinite; animation-delay: -5s; }
@keyframes floatTick {
  0%,100% { transform: rotate(-4deg) translateX(0); }
  50% { transform: rotate(-4deg) translateX(3px); }
}

/* Tighter padding for Portfolio + Track record */
#performance, #portfolio { padding: 64px 0; }
#performance .section-head, #portfolio .section-head { margin-bottom: 36px; }
.dept-section { padding: 48px 0 56px; }
.founders-section { padding: 24px 0 40px; }
.founders-section .section-head { margin-bottom: 28px; }
.hiring-section { padding: 64px 0 80px; }
.section .container { position: relative; z-index: 2; }
.section-head {
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-2);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gray-3);
}
.section h2 {
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 14px;
  white-space: nowrap;
}
.section-sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
}

/* ===== Operating stack ===== */
.trusted {
  padding: 56px 0;
  background: var(--bg);
  position: relative;
}
.logos-label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.trust-marquee {
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4px 32px;
  mask-image: linear-gradient(90deg, transparent 0, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 12%, black 88%, transparent 100%);
}
.trust-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: trustScroll 24s linear infinite;
}
.trust-marquee:hover .trust-track { animation-play-state: paused; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 2)); }
}
.trust-item {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.trust-item:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.trust-item:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.trust-mark {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.trust-item:hover .trust-mark {
  transform: scale(1.1) rotate(-4deg);
}
.trust-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}

/* ===== Thesis grid ===== */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.25s var(--ease);
  position: relative;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  transition: all 0.25s var(--ease);
}
.card-icon svg { width: 18px; height: 18px; }
.card:hover .card-icon {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.card h3 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}

/* ===== Performance ===== */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.kpi-card {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.25s var(--ease);
}
.kpi-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.kpi-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-2);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.kpi-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #d1fae5;
}
.kpi-val {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: text-shadow 0.2s var(--ease);
}
.kpi-val.scrambling {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.01em;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.35);
  color: var(--green);
}
.kpi-spark {
  width: 100%;
  height: 36px;
  display: block;
}
.kpi-spark .spark-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}
.kpi-spark .spark-area { opacity: 0; transition: opacity 0.8s var(--ease) 1s; }
.kpi-card.in .spark-line { stroke-dashoffset: 0; }
.kpi-card.in .spark-area { opacity: 1; }

.chart-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
}
.chart-card.sm { padding: 22px; }
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.chart-head h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.chart-head p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray-2);
}
.chart-legend {
  display: flex;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.chart-main {
  width: 100%;
  height: 280px;
  display: block;
}
.chart-grid line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.chart-ylabels text {
  fill: var(--gray-3);
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-anchor: end;
}
.chart-xlabels text {
  fill: var(--gray-3);
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  text-anchor: middle;
}
.chart-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2.2s var(--ease) 0.3s;
}
.chart-area {
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1.2s;
}
.chart-dots circle {
  fill: var(--bg);
  stroke: var(--ink);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.chart-card.in .chart-line { stroke-dashoffset: 0; }
.chart-card.in .chart-area { opacity: 1; }
.chart-card.in .chart-dots circle { opacity: 1; }
.chart-card.in .chart-dots circle:nth-child(1) { transition-delay: 0.6s; }
.chart-card.in .chart-dots circle:nth-child(2) { transition-delay: 1.0s; }
.chart-card.in .chart-dots circle:nth-child(3) { transition-delay: 1.4s; }
.chart-card.in .chart-dots circle:nth-child(4) { transition-delay: 1.8s; }
.chart-card.in .chart-dots circle:nth-child(5) { transition-delay: 2.2s; }
.chart-card.in .chart-dots circle:nth-child(6) { transition-delay: 2.6s; }

.dual-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.chart-bars, .chart-area-sm {
  width: 100%;
  height: 200px;
  display: block;
}
.bars rect {
  fill: var(--ink);
  rx: 4;
  transition: y 1.2s var(--ease), height 1.2s var(--ease);
}
.chart-xlabels.sm text {
  fill: var(--gray-3);
  font-size: 10px;
}

/* ===== Criteria ===== */
.criteria-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.criteria-wrap > div:first-child h2 { white-space: normal; text-align: left; }
.criteria-wrap > div:first-child { text-align: left; }
.criteria-wrap > div:first-child .kicker::before { display: none; }
.criteria-wrap > div:first-child .section-sub { margin: 12px 0 0; text-align: left; }
.criteria-table {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cr-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  align-items: center;
  transition: background 0.2s var(--ease);
}
.cr-row:hover { background: var(--bg-soft); }
.cr-row:last-child { border-bottom: none; }
.cr-key {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gray-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cr-val { color: var(--ink); }

/* ===== Portfolio ===== */
.portfolio-marquee {
  overflow: hidden;
  width: 100%;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.portfolio-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 20px;
  animation: portfolioScroll 120s linear infinite;
}
.portfolio-marquee:hover .portfolio-track { animation-play-state: paused; }
@keyframes portfolioScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 2)); }
}
.live-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.port-card {
  position: relative;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.25s var(--ease);
  display: block;
  overflow: hidden;
  flex: 0 0 270px;
}
.port-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.port-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.port-card:hover::before { transform: scaleX(1); }
.port-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-2);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.port-cat {
  background: var(--ink);
  color: var(--bg);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 10px;
}
.port-card h3 {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.nda-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gray-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 10px;
}
.nda-tag svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.port-card p {
  font-size: 14px;
  color: var(--gray);
}
.port-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 16px;
  color: var(--gray-3);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.port-card:hover .port-arrow {
  color: var(--ink);
  transform: translateX(6px);
}

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.process-step {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.25s var(--ease);
  position: relative;
}
.process-step:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.process-step h3 {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--ink);
}
.process-step p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.55;
}
.step-time {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  padding: 4px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
}

/* ===== CTA ===== */
.cta-section { padding: 56px 0 88px; }
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at top right, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 20%, transparent 75%);
}
.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 480px at 85% 15%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.08) 50%, transparent 62%);
  background-size: 100% 100%, 250% 250%;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
  animation: ctaShimmer 7s linear infinite, ctaGlow 9s ease-in-out infinite;
}
@keyframes ctaShimmer {
  0% { background-position: 85% 15%, 180% center; }
  100% { background-position: 85% 15%, -180% center; }
}
@keyframes ctaGlow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
.cta-text { position: relative; z-index: 2; }
.cta-text .kicker { color: rgba(255,255,255,0.6); }
.cta-text .kicker::before { background: rgba(255,255,255,0.4); }
.cta-text h2 {
  color: var(--bg);
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 14px;
  white-space: normal;
}
.cta-text > p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 28px;
}
.cta-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.cta-bullets li svg {
  width: 16px;
  height: 16px;
  color: var(--bg);
  flex-shrink: 0;
}

.cta-forms {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: var(--r-lg);
}
.cta-tabs {
  display: flex;
  position: relative;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 16px;
}
.cta-tab {
  flex: 1;
  position: relative;
  z-index: 2;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.22s var(--ease);
  text-align: center;
  background: transparent;
  border: none;
}
.cta-tab.active { color: var(--ink); }
.cta-tab:hover:not(.active) { color: rgba(255,255,255,0.85); }
.tab-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--bg);
  border-radius: 6px;
  transition: transform 0.32s var(--ease);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.cta-tab[data-tab="sell"].active ~ .tab-indicator,
.cta-tabs[data-active="sell"] .tab-indicator {
  transform: translateX(100%);
}
.cta-form-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
  position: absolute;
  width: calc(100% - 40px);
}
.cta-form-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  width: 100%;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: var(--bg);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}
.field select option { background: var(--ink); color: var(--bg); }
.cta-form-panel .btn {
  grid-column: 1 / -1;
  margin-top: 6px;
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.cta-form-panel .btn:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}
.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 8px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--r-md);
  font-size: 13px;
  color: #86efac;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}
.form-success.show { opacity: 1; transform: translateY(0); }

/* ===== Footer ===== */
.footer {
  background: var(--bg);
  color: var(--gray);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  position: relative;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}
.footer .logo { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--gray); max-width: 260px; }
.footer-col h4 { display: none; }
.footer-col ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-col li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  cursor: default;
  user-select: none;
}
.footer-col a:hover { color: var(--gray); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray-2);
  letter-spacing: 0.02em;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.07s);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger grid children */
.thesis-grid > *:nth-child(2),
.portfolio-grid > *:nth-child(2),
.process-grid > *:nth-child(2),
.kpi-row > *:nth-child(2),
.founders-grid > *:nth-child(2),
.dept-grid > *:nth-child(2) { --i: 1; }
.thesis-grid > *:nth-child(3),
.portfolio-grid > *:nth-child(3),
.process-grid > *:nth-child(3),
.kpi-row > *:nth-child(3),
.founders-grid > *:nth-child(3),
.dept-grid > *:nth-child(3) { --i: 2; }
.thesis-grid > *:nth-child(4),
.portfolio-grid > *:nth-child(4),
.process-grid > *:nth-child(4),
.kpi-row > *:nth-child(4),
.dept-grid > *:nth-child(4) { --i: 3; }
.portfolio-grid > *:nth-child(5),
.dept-grid > *:nth-child(5) { --i: 4; }
.portfolio-grid > *:nth-child(6),
.dept-grid > *:nth-child(6) { --i: 5; }
.dept-grid > *:nth-child(7) { --i: 6; }
.dept-grid > *:nth-child(8) { --i: 7; }
.dept-grid > *:nth-child(9) { --i: 8; }
.dept-grid > *:nth-child(10) { --i: 9; }

/* ===== Thesis fact tiles ===== */
.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 28px auto 64px;
}
.fact-card {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.fact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.fact-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.fact-card:hover::before { transform: scaleX(1); }
.fact-big {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.fact-unit { font-weight: 600; }
.fact-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.fact-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ===== Thesis quote ===== */
.thesis-quote {
  margin: 28px auto 0;
  max-width: 760px;
  padding: 24px 36px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  font-style: italic;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.typed-text {
  white-space: nowrap;
}
.typed-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--ink);
  font-style: normal;
  font-weight: 300;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ===== Dropdown cards ===== */
.dd-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.dd-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.dd-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.dd-card.open {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.dd-card.open::before { transform: scaleX(1); }
.dd-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 24px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}
.dd-head .card-icon {
  margin-bottom: 0;
  animation: floatIcon 4.4s ease-in-out infinite;
}
.dd-card:nth-of-type(2) .card-icon { animation-delay: -1.1s; }
.dd-card:nth-of-type(3) .card-icon { animation-delay: -2.2s; }
.dd-card:nth-of-type(4) .card-icon { animation-delay: -3.3s; }
.dd-card:hover .card-icon { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dd-title h3 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.dd-summary {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}
.dd-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: transform 0.32s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  flex-shrink: 0;
  margin-top: 2px;
}
.dd-arrow svg { width: 14px; height: 14px; }
.dd-card:hover .dd-arrow { background: var(--bg-soft); }
.dd-card.open .dd-arrow {
  transform: rotate(180deg);
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.dd-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.dd-body-inner {
  overflow: hidden;
  min-height: 0;
}
.dd-card.open .dd-body { grid-template-rows: 1fr; }
.dd-card .dd-body-inner p {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* Dropdown chart */
.dd-chart {
  padding: 0 24px 18px;
}
.dd-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
}
.dd-chart-val {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease) 0.25s, transform 0.5s var(--ease) 0.25s;
}
.dd-chart-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gray-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.4s;
}
.dd-spark {
  width: 100%;
  height: 60px;
  display: block;
}
.dd-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.6s var(--ease) 0.15s;
}
.dd-area {
  opacity: 0;
  transition: opacity 0.8s var(--ease) 0.9s;
}
.dd-dots circle {
  fill: var(--bg);
  stroke: var(--ink);
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.dd-bars rect {
  fill: var(--ink);
  rx: 2;
  transition: y 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dd-card.open .dd-chart-val { opacity: 1; transform: translateY(0); }
.dd-card.open .dd-chart-lbl { opacity: 1; }
.dd-card.open .dd-line { stroke-dashoffset: 0; }
.dd-card.open .dd-area { opacity: 1; }
.dd-card.open .dd-dots circle { opacity: 1; }
.dd-card.open .dd-dots circle:nth-child(1) { transition-delay: 0.5s; }
.dd-card.open .dd-dots circle:nth-child(2) { transition-delay: 0.7s; }
.dd-card.open .dd-dots circle:nth-child(3) { transition-delay: 0.9s; }
.dd-card.open .dd-dots circle:nth-child(4) { transition-delay: 1.1s; }
.dd-card.open .dd-dots circle:nth-child(5) { transition-delay: 1.3s; }
.dd-card.open .dd-dots circle:nth-child(6) { transition-delay: 1.5s; }
.dd-card.open .dd-dots circle:last-child {
  animation: dotPulseSm 2s ease-in-out 1.6s infinite;
}

/* ===== Live stats bar ===== */
.live-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.live-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 80% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, black 30%, transparent 75%);
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
  z-index: 2;
}
.live-indicator .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  position: relative;
  margin: 0;
}
.live-indicator .live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #4ade80;
  opacity: 0.35;
  animation: pulseRing 2.2s ease-out infinite;
}
.live-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}
.live-val {
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--bg);
  line-height: 1;
  transition: opacity 0.15s;
}
.live-val.tick { animation: tickFlash 0.4s ease-out; }
@keyframes tickFlash {
  0% { color: #4ade80; }
  100% { color: var(--bg); }
}
.live-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Live counter / blur ===== */
.big-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 4px;
  margin-left: 4px;
  position: relative;
  vertical-align: middle;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.35;
  animation: pulseRing 2.2s ease-out infinite;
}
.blurred {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.02em;
  transition: filter 0.4s var(--ease);
}
.port-card:hover .blurred { filter: blur(4px); }

/* ===== Checklist ===== */
.checklist {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.check-item:hover {
  border-color: var(--ink);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.check-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.check-mark svg { width: 16px; height: 16px; }
.check-mark svg path {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  transition: stroke-dashoffset 0.7s var(--ease) 0.15s;
}
.check-item.in .check-mark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.check-item.in .check-mark svg path { stroke-dashoffset: 0; }
.check-content { flex: 1; display: flex; align-items: baseline; gap: 32px; }
.check-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-2);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 110px;
}
.check-val { font-size: 15px; color: var(--ink); }

/* ===== Process timeline ===== */
.timeline {
  position: relative;
  padding-top: 8px;
}
.tl-track {
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line);
  border-radius: 1px;
  z-index: 1;
}
.tl-fill {
  height: 100%;
  width: 0;
  background: var(--ink);
  border-radius: 1px;
  transition: width 2.4s var(--ease) 0.3s;
}
.timeline.in .tl-fill { width: 100%; }
.tl-stations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 2;
}
.tl-station {
  text-align: center;
  padding: 0 16px;
}
.tl-dot {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-2);
  transition: all 0.4s var(--ease);
  position: relative;
}
.timeline.in .tl-station:nth-child(1) .tl-dot { transition-delay: 0.4s; }
.timeline.in .tl-station:nth-child(2) .tl-dot { transition-delay: 0.9s; }
.timeline.in .tl-station:nth-child(3) .tl-dot { transition-delay: 1.4s; }
.timeline.in .tl-station:nth-child(4) .tl-dot { transition-delay: 1.9s; }
.timeline.in .tl-station .tl-dot {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tl-station:hover .tl-dot {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.tl-day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tl-station h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.tl-station p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.55;
}

/* ===== Testimonials ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.testi-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.28s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testi-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi-mark {
  width: 28px;
  height: 28px;
  color: var(--gray-3);
}
.testi-card p {
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 500;
  flex: 1;
}
.testi-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.testi-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  display: block;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.testi-card footer span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.02em;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-card .dd-head {
  grid-template-columns: 1fr auto;
  padding: 22px 24px;
}
.faq-card .dd-title h3 {
  font-size: 16px;
}
.faq-card .dd-body-inner p {
  padding: 0 24px 22px;
}

/* ===== Playbook ===== */
.playbook-section {
  position: relative;
  overflow: hidden;
}
.playbook-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 15%, transparent 75%);
}
.playbook-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.flow-step {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.flow-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.flow-step:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.flow-step:hover::before { transform: scaleX(1); }
.flow-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.flow-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.flow-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.flow-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  animation: floatIcon 4s ease-in-out infinite;
}
.playbook-flow .flow-step:nth-of-type(2) .flow-icon { animation-delay: -1s; }
.playbook-flow .flow-step:nth-of-type(3) .flow-icon { animation-delay: -2s; }
.playbook-flow .flow-step:nth-of-type(4) .flow-icon { animation-delay: -3s; }
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.flow-icon svg { width: 22px; height: 22px; }
.flow-step:hover .flow-icon {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(-6deg) scale(1.08);
}
.flow-step h3 {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.flow-step p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.55;
}
.flow-arrow {
  width: 60px;
  height: 12px;
  color: var(--gray-3);
  align-self: center;
  margin: 0 -4px;
}
.flow-arrow path {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: arrowDraw 1.4s var(--ease) forwards;
  animation-delay: 0.6s;
}
.flow-arrow path:nth-child(2) {
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  animation-delay: 1.6s;
}
@keyframes arrowDraw {
  to { stroke-dashoffset: 0; }
}

/* Stagger flow steps */
.playbook-flow .flow-step:nth-of-type(1) { --i: 0; }
.playbook-flow .flow-step:nth-of-type(2) { --i: 1; }
.playbook-flow .flow-step:nth-of-type(3) { --i: 2; }
.playbook-flow .flow-step:nth-of-type(4) { --i: 3; }

/* ===== Enhanced chart animations ===== */
.chart-card.in .chart-grid line {
  animation: gridFade 0.8s var(--ease) forwards;
  opacity: 0;
}
.chart-card.in .chart-grid line:nth-child(1) { animation-delay: 0.0s; }
.chart-card.in .chart-grid line:nth-child(2) { animation-delay: 0.12s; }
.chart-card.in .chart-grid line:nth-child(3) { animation-delay: 0.24s; }
.chart-card.in .chart-grid line:nth-child(4) { animation-delay: 0.36s; }
.chart-card.in .chart-grid line:nth-child(5) { animation-delay: 0.48s; }
@keyframes gridFade {
  to { opacity: 1; }
}

/* Pulsing last data point */
.chart-card.in .chart-dots circle:last-child {
  animation: dotPulse 2s ease-in-out infinite;
  animation-delay: 2.6s;
}
@keyframes dotPulse {
  0%, 100% {
    r: 4;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  50% {
    r: 6;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.5));
  }
}
.chart-area-sm .chart-dots circle:last-child {
  animation: dotPulseSm 2s ease-in-out infinite;
  animation-delay: 2.6s;
}
@keyframes dotPulseSm {
  0%, 100% {
    r: 3.5;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  50% {
    r: 5.5;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.45));
  }
}

/* Scan line animation on chart */
.chart-card {
  position: relative;
}
.chart-card.in::after {
  content: '';
  position: absolute;
  top: 60px;
  bottom: 30px;
  left: 28px;
  width: 1.5px;
  background: linear-gradient(180deg, transparent, var(--ink), transparent);
  opacity: 0.4;
  animation: scanSweep 2.4s var(--ease) forwards;
  pointer-events: none;
}
@keyframes scanSweep {
  0% { left: 28px; opacity: 0; }
  10% { opacity: 0.45; }
  90% { opacity: 0.45; }
  100% { left: calc(100% - 28px); opacity: 0; }
}

/* Bar bounce */
.bars rect {
  transition: y 1.1s cubic-bezier(0.34, 1.56, 0.64, 1), height 1.1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-hero-main {
  padding: 72px 0 24px;
  text-align: center;
}
.team-hero-main h1 {
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-style: italic;
  min-height: 1.6em;
  max-width: 760px;
  margin: 0 auto;
}
.typed-team::before {
  content: "\201C";
  color: var(--gray-3);
  font-style: normal;
  font-weight: 400;
  margin-right: 2px;
}
.typed-team::after {
  content: "\201D";
  color: var(--gray-3);
  font-style: normal;
  font-weight: 400;
  margin-left: 2px;
}
.team-title .team-cursor {
  font-style: normal;
  font-weight: 300;
  color: var(--gray-3);
  margin-left: 4px;
  animation: blink 0.9s step-end infinite;
}

/* ===== Team page ===== */
.team-hero {
  padding: 110px 0 60px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.team-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.team-hero .container { position: relative; z-index: 2; }
.team-hero h1 {
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}

/* Founders & Departments */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.founder-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.founder-info { display: flex; flex-direction: column; align-items: flex-start; }
.founder-portrait {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 8px;
  display: block;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.founder-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.founder-card:hover::before { transform: scaleX(1); }
.founder-avatar {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease);
}
.founder-card:hover .founder-avatar {
  transform: scale(1.08) rotate(-6deg);
}
.founder-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-2);
  padding: 4px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.founder-card h3 {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--ink);
}
.founder-card .role {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.founder-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}
.founder-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  transition: all 0.22s var(--ease);
}
.founder-contact svg {
  width: 13px;
  height: 13px;
  transition: transform 0.22s var(--ease);
}
.founder-contact:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.founder-contact:hover svg { transform: translateX(3px); }

/* ===== Hiring section ===== */
.hiring-section { padding: 56px 0 88px; }
.hiring-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.hiring-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at top right, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 20%, transparent 75%);
}
.hiring-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 480px at 15% 85%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.08) 50%, transparent 62%);
  background-size: 100% 100%, 250% 250%;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
  animation: ctaShimmer 7s linear infinite, ctaGlow 9s ease-in-out infinite;
}
.hiring-text { position: relative; z-index: 2; }
.hiring-text .kicker { color: rgba(255,255,255,0.6); }
.hiring-text .kicker::before { background: rgba(255,255,255,0.4); }
.hiring-text h2 {
  color: var(--bg);
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 14px;
  white-space: normal;
}
.hiring-text > p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 28px;
}
.hiring-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: var(--r-lg);
}
.hiring-form .field { display: flex; flex-direction: column; gap: 6px; }
.hiring-form .field.full { grid-column: 1 / -1; }
.hiring-form label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hiring-form input, .hiring-form select, .hiring-form textarea {
  width: 100%;
  padding: 11px 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: var(--bg);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.18s var(--ease);
}
.hiring-form input::placeholder, .hiring-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.hiring-form input:focus, .hiring-form select:focus, .hiring-form textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}
.hiring-form select option { background: var(--ink); color: var(--bg); }
.hiring-form .btn {
  grid-column: 1 / -1;
  margin-top: 6px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid rgba(255,255,255,0.18);
}
.hiring-form .btn:hover {
  background: var(--ink-2);
  border-color: rgba(255,255,255,0.35);
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dept-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.25s var(--ease);
}
.dept-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.dept-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.dept-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.dept-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dept-roles { list-style: none; }
.dept-roles li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink);
}
.dept-roles li .role-count { display: none; }

/* ===== Responsive ===== */
.mobile-br { display: none; }

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .container { padding-left: 28px; padding-right: 28px; }
  .nav-inner { padding: 14px 28px; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .thesis-grid,
  .portfolio-grid,
  .process-grid,
  .kpi-row,
  .fact-row,
  .dept-grid,
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
  .founders-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .dual-charts { grid-template-columns: 1fr; }
  .playbook-flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-arrow { transform: rotate(90deg); margin: 0 auto; width: 40px; }
  .trust-item { flex: 0 0 200px; }
  .port-card { flex: 0 0 250px; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding: 14px 20px; }
  .nav-links { gap: 14px; }
  .logo { font-size: 14px; gap: 6px; }
  .logo-mark { font-size: 14px; height: 14px; }
  .logo-dot { font-size: 14px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section h2 { white-space: normal; font-size: clamp(26px, 6.5vw, 34px); }

  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero h1 { white-space: normal; font-size: clamp(30px, 8vw, 42px); margin-bottom: 36px; }
  .rotator { text-align: center; }
  .hero .eyebrow { margin-bottom: 32px; font-size: 12px; padding: 5px 12px 5px 9px; }
  .lead { font-size: 15px; }
  .hero-cta { flex-direction: column; gap: 10px; margin-bottom: 40px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-cta .btn { width: 100%; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    padding: 22px 18px;
    align-items: stretch;
  }
  .stat {
    flex: initial;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .divider { display: none; }
  .stat-value { font-size: 22px; margin-bottom: 2px; }
  .stat-label { font-size: 11px; }

  /* Mobile-only line break */
  .mobile-br { display: inline; }

  /* All grids → 1 col */
  .thesis-grid,
  .portfolio-grid,
  .process-grid,
  .kpi-row,
  .fact-row,
  .founders-grid,
  .dept-grid,
  .testi-grid,
  .about-pillars { grid-template-columns: 1fr; }

  /* Marquees */
  .trust-item { flex: 0 0 200px; padding: 18px 14px; gap: 10px; }
  .trust-name { font-size: 14px; }
  .port-card { flex: 0 0 240px; padding: 20px; }
  .portfolio-track { padding: 0 8px; gap: 12px; }
  .trust-marquee { padding: 4px 20px; }

  /* Cards */
  .card,
  .process-step,
  .dd-card,
  .check-item,
  .testi-card,
  .dept-card,
  .about-pillar { padding: 22px; }
  .founder-card { padding: 24px 22px; }
  .kpi-card { padding: 18px; }
  .chart-card { padding: 20px; }
  .chart-card.sm { padding: 18px; }

  /* Criteria */
  .criteria-wrap { grid-template-columns: 1fr; gap: 24px; }
  .cr-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .check-content { flex-direction: column; align-items: flex-start; gap: 4px; }
  .check-key { min-width: auto; }

  /* CTA + Hiring */
  .cta-card,
  .hiring-card { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; border-radius: var(--r-lg); }
  .cta-text h2,
  .hiring-text h2 { font-size: clamp(24px, 6vw, 30px); }
  .cta-forms,
  .hiring-form { padding: 18px; }
  .cta-form-panel,
  .hiring-form { grid-template-columns: 1fr; gap: 10px; }
  .cta-form-panel .field.full,
  .hiring-form .field.full { grid-column: 1; }
  .cta-tabs { padding: 3px; }
  .cta-tab { padding: 9px 10px; font-size: 12px; }
  .cta-form-panel { width: 100%; }
  .cta-section { padding: 40px 0 56px; }
  .hiring-section { padding: 48px 0 56px; }

  /* Thesis quote */
  .thesis-quote { white-space: normal; padding: 20px 22px; font-size: 16px; min-height: 3em; }

  /* Charts */
  .chart-main { height: 220px; }
  .chart-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Track record + Portfolio */
  #performance,
  #portfolio { padding: 48px 0; }
  #performance .section-head,
  #portfolio .section-head { margin-bottom: 28px; }

  /* Trusted partners */
  .trusted { padding: 40px 0; }
  .logos-label { margin-bottom: 20px; }

  /* About */
  .about-section { padding: 56px 0 64px; }
  .about-lead { margin-bottom: 0; }
  .about-lead p { font-size: 15px; margin-bottom: 14px; }

  /* Playbook stickers — too cluttered on mobile */
  .playbook-stickers { display: none; }

  /* Process timeline */
  .timeline { padding-top: 0; }
  .tl-stations { grid-template-columns: 1fr; gap: 28px; }
  .tl-track { display: none; }
  .tl-station { text-align: left; padding: 0; }
  .tl-dot { margin: 0 0 14px; }

  /* Team page */
  .team-hero-main { padding: 48px 0 12px; }
  .team-hero-main h1 { white-space: normal; font-size: clamp(18px, 5.5vw, 24px); line-height: 1.35; }
  .founders-section { padding: 16px 0 24px; }
  .founders-section .section-head { margin-bottom: 20px; }
  .dept-section { padding: 28px 0 48px; }

  /* Footer */
  .footer { padding: 48px 0 32px; }
  .footer-inner { flex-direction: column; gap: 28px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding-top: 32px; padding-bottom: 12px; }
  .footer-col ul { flex-wrap: wrap; gap: 20px; }
  .logos-row { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .nav-inner { padding: 12px 16px; }
  .btn { padding: 11px 16px; font-size: 13px; }
  .btn-sm { padding: 8px 12px; font-size: 12px; }

  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: clamp(28px, 9vw, 36px); margin-bottom: 28px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-stats { padding: 14px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 10px; }

  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .section h2 { font-size: clamp(22px, 7vw, 28px); }

  .thesis-quote { font-size: 14px; padding: 16px 18px; }
  .kpi-val { font-size: 22px; }
  .chart-main { height: 180px; }

  .about-section { padding: 44px 0 48px; }
  .about-lead p { font-size: 14px; }

  .trust-item { flex: 0 0 170px; padding: 14px 12px; }
  .port-card { flex: 0 0 220px; padding: 18px; }

  .cta-card,
  .hiring-card { padding: 26px 18px; gap: 24px; }
  .cta-forms,
  .hiring-form { padding: 14px; }

  .team-hero-main h1 { font-size: clamp(16px, 5vw, 22px); }

  .footer { padding: 36px 0 18px; }
  .footer-col h4 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .rotator, .pulse::after, .sticker, .trust-track, .portfolio-track {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
