:root {
  --graphite-1: #0A0A0A;
  --graphite-2: #141414;
  --graphite-3: #1E1E1E;
  --border-dark: #2A2A2A;
  --lime-neon: #39FF14;
  --lime-acid: #20E030;
  --cyan-cold: #00FFFF;
  --pink-neon: #FF10F0;
  --text-soft: #A0A0A0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--graphite-1);
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

strong, p, span, a, li, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

.font-unbounded {
  font-family: 'Unbounded', sans-serif;
}

.font-space {
  font-family: 'Space Grotesk', sans-serif;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', monospace;
}

.bg-graphite-1 { background-color: var(--graphite-1); }
.bg-graphite-2 { background-color: var(--graphite-2); }
.bg-graphite-3 { background-color: var(--graphite-3); }
.bg-lime-neon { background-color: var(--lime-neon); color: #0A0A0A; }
.text-lime-neon { color: var(--lime-neon); }
.text-cyan-cold { color: var(--cyan-cold); }
.text-pink-neon { color: var(--pink-neon); }
.text-soft-grey { color: var(--text-soft); }
.border-lime-neon { border-color: var(--lime-neon); }
.border-graphite { border-color: var(--border-dark); }

/* Hover variants for custom colors */
.hover\:bg-lime-neon:hover { background-color: var(--lime-neon); }
.hover\:text-black:hover { color: #000000; }
.hover\:text-lime-neon:hover { color: var(--lime-neon); }
.hover\:text-cyan-cold:hover { color: var(--cyan-cold); }
.hover\:text-pink-neon:hover { color: var(--pink-neon); }
.hover\:border-lime-neon:hover { border-color: var(--lime-neon); }

.btn-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-neon);
  color: #0A0A0A;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 18px 36px;
  border: 2px solid var(--lime-neon);
  border-radius: 0;
  text-transform: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(57, 255, 20, 0.25);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn-lime:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(57, 255, 20, 0.45);
  background: #4dff2e;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--lime-neon);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 16px 34px;
  border: 2px solid var(--lime-neon);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--lime-neon);
  color: #0A0A0A;
  transform: translateY(-3px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #0A0A0A;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 18px 36px;
  border: 2px solid #FFFFFF;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
.btn-white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

.section-hard-cut {
  border-top: 1px solid var(--border-dark);
}

.h-display {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  word-spacing: 0.05em;
  line-height: 1.05;
  text-transform: none;
}

.h-section {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.caption-tech {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.mesh-gradient-bg {
  position: relative;
  overflow: hidden;
  background: var(--graphite-1);
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: meshMove 22s ease-in-out infinite;
  pointer-events: none;
}
.mesh-blob.b1 { width: 520px; height: 520px; background: var(--lime-neon); top: -10%; left: -10%; animation-delay: 0s; }
.mesh-blob.b2 { width: 460px; height: 460px; background: var(--cyan-cold); bottom: -15%; right: -5%; animation-delay: -7s; animation-duration: 28s; }
.mesh-blob.b3 { width: 380px; height: 380px; background: #FFFFFF; top: 40%; right: 30%; animation-delay: -14s; animation-duration: 25s; }
.mesh-blob.b4 { width: 300px; height: 300px; background: var(--pink-neon); bottom: 20%; left: 20%; animation-delay: -4s; animation-duration: 32s; opacity: 0.35; }

@keyframes meshMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(42, 42, 42, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 42, 42, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid var(--lime-neon);
  backdrop-filter: blur(8px);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0;
}

.bento-cell {
  position: relative;
  overflow: hidden;
  background: var(--graphite-2);
  border: 2px solid var(--border-dark);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.3s, border-color 0.3s;
  z-index: 1;
}

.bento-cell:hover {
  transform: scale(1.03);
  z-index: 20;
  border-color: var(--lime-neon);
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-medium { grid-column: span 2; grid-row: span 1; }
.bento-small { grid-column: span 1; grid-row: span 1; }

.masonry-grid {
  column-count: 3;
  column-gap: 24px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  position: relative;
  background: var(--graphite-2);
  border: 2px solid var(--border-dark);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.3s, border-color 0.3s;
  z-index: 1;
  cursor: pointer;
}

.masonry-item:hover {
  transform: scale(1.04) translateY(-6px);
  z-index: 20;
  border-color: var(--lime-neon);
}

.stacking-card {
  position: relative;
  background: var(--graphite-2);
  border: 2px solid var(--border-dark);
  padding: 36px 40px;
  margin-bottom: -90px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.3s, border-color 0.3s, margin 0.3s ease;
  z-index: 1;
  color: #FFFFFF;
}

.stacking-card:last-child { margin-bottom: 0; }
.stacking-card:nth-child(1) { z-index: 6; }
.stacking-card:nth-child(2) { z-index: 5; }
.stacking-card:nth-child(3) { z-index: 4; }
.stacking-card:nth-child(4) { z-index: 3; }
.stacking-card:nth-child(5) { z-index: 2; }
.stacking-card:nth-child(6) { z-index: 1; }

.stacking-card:hover {
  transform: translateY(-10px) scale(1.02);
  z-index: 30;
  border-color: var(--lime-neon);
  margin-bottom: -30px;
}

.stacking-card .reveal-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.stacking-card:hover .reveal-text {
  max-height: 300px;
  margin-top: 16px;
  opacity: 1;
}

.node-graph {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
  padding: 40px 20px;
}

.node-item {
  background: var(--graphite-2);
  border: 2px solid var(--border-dark);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  color: #FFFFFF;
}

.node-item:hover {
  border-color: var(--lime-neon);
  transform: translateY(-6px) scale(1.03);
  z-index: 10;
  background: var(--graphite-3);
}

.coverflow {
  position: relative;
  perspective: 1400px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.cover-card {
  position: absolute;
  width: 70%;
  max-width: 520px;
  background: var(--graphite-2);
  border: 2px solid var(--border-dark);
  padding: 36px 32px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease, z-index 0.5s;
  cursor: pointer;
  color: #FFFFFF;
}

.cover-card.center {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 5;
  border-color: var(--lime-neon);
}

.cover-card.left {
  transform: translateX(-65%) scale(0.85) rotateY(35deg);
  opacity: 0.5;
  z-index: 2;
}

.cover-card.right {
  transform: translateX(65%) scale(0.85) rotateY(-35deg);
  opacity: 0.5;
  z-index: 2;
}

.cover-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.7);
}

.accordion-item {
  background: var(--graphite-2);
  border: 2px solid var(--border-dark);
  margin-bottom: -2px;
  transition: border-color 0.3s ease;
  color: #FFFFFF;
}

.accordion-item.open {
  border-color: var(--lime-neon);
  z-index: 5;
  position: relative;
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  min-height: 44px;
}

.accordion-icon {
  font-family: 'JetBrains Mono', monospace;
  color: var(--lime-neon);
  font-size: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--text-soft);
}

.accordion-item.open .accordion-content {
  max-height: 400px;
  padding: 0 28px 24px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 12px;
  border-bottom: 2px solid var(--border-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  color: #FFFFFF;
  z-index: 1;
}

.team-row:hover {
  background: var(--graphite-2);
  z-index: 10;
  padding-left: 32px;
  border-color: var(--lime-neon);
}

.team-row .team-tooltip {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--graphite-2);
  border: 2px solid var(--lime-neon);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 30;
  color: #FFFFFF;
  white-space: nowrap;
}

.team-row:hover .team-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.team-tooltip img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--lime-neon);
}

.team-tooltip .info {
  display: flex;
  flex-direction: column;
}

.team-row .team-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.split-left {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow: hidden;
}

.split-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-right {
  padding: 80px 60px;
  background: var(--graphite-1);
  color: #FFFFFF;
}

.form-line {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-dark);
  padding: 14px 4px;
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.3s ease;
  background-color: transparent;
}

.form-line::placeholder {
  color: var(--text-soft);
  opacity: 1;
}

.form-line:focus {
  border-bottom-color: var(--lime-neon);
}

textarea.form-line {
  resize: vertical;
  min-height: 100px;
}

.burger {
  display: none;
  background: transparent;
  border: 2px solid var(--lime-neon);
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  padding: 0;
  flex-shrink: 0;
  color: var(--lime-neon);
}

.burger span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--lime-neon);
  transition: all 0.3s ease;
}

.burger span:nth-child(1) { top: 12px; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 12px; }

.burger[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #FFFFFF;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 2px solid var(--border-dark);
  width: 100%;
  display: block;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.mobile-menu a:hover {
  color: var(--lime-neon);
  padding-left: 16px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-grid-bg {
  background-image:
    linear-gradient(to right, rgba(57, 255, 20, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(57, 255, 20, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}

.scrollbar-thin::-webkit-scrollbar { width: 6px; }
.scrollbar-thin::-webkit-scrollbar-track { background: var(--graphite-1); }
.scrollbar-thin::-webkit-scrollbar-thumb { background: var(--lime-neon); border-radius: 0; }

.crosshair {
  cursor: crosshair;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--graphite-2);
  border: 2px solid var(--lime-neon);
  padding: 24px;
  z-index: 90;
  color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.cookie-banner.hidden-banner {
  display: none;
}

.pulse-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime-neon), transparent);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, -2px); }
}

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; grid-row: span 2; }
  .bento-medium { grid-column: span 2; grid-row: span 1; }
  .masonry-grid { column-count: 2; }
  .split-screen { grid-template-columns: 1fr; }
  .split-left { position: relative; top: 0; height: 360px; }
  .node-graph { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .desktop-nav { display: none; }
  .burger { display: block; }
  .cover-card { width: 85%; padding: 28px 22px; }
  .team-row .team-tooltip { display: none; }
  .split-right { padding: 50px 24px; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-medium, .bento-small { grid-column: span 1; grid-row: span 1; }
  .masonry-grid { column-count: 1; }
  .node-graph { grid-template-columns: 1fr; }
  .stacking-card { padding: 24px 20px; margin-bottom: -110px; }
  .stacking-card:hover { margin-bottom: -60px; }
  .coverflow { height: 520px; }
  .cover-card.left, .cover-card.right { display: none; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; max-width: calc(100% - 24px); }
  .team-row .team-name { font-size: 18px; }
  .reveal-up { transform: translateY(20px); }
  .mesh-blob.b1 { width: 280px; height: 280px; }
  .mesh-blob.b2 { width: 240px; height: 240px; }
  .mesh-blob.b3 { width: 180px; height: 180px; }
  .mesh-blob.b4 { width: 140px; height: 140px; }
}

::selection { background: var(--lime-neon); color: #0A0A0A; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
