/* ---------- INNOVATION HERO SECTION ---------- */
.inno-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background-color: var(--ink); /* Fallback */
  background-size: cover;
  background-position: center;
  transition: background-image 1.5s ease-in-out; /* Smooth crossfade for carousel */
  padding-top: 160px;
}

/* Architectural Grid Lines Overlay */
.inno-grid-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
  z-index: 1;
}

.inno-grid-lines span {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
}

.inno-layout {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 40px;
}

/* Content: Top Left */
.inno-main-content {
  grid-column: 1;
  grid-row: 1;
}

.inno-eyebrow {
  display: inline-block;
  background: #E89A6A; /* Warm orange */
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.inno-title {
  font-size: clamp(50px, 8vw, 90px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0;
}

/* Content: Top Right (Floating Card) */
.inno-floating-card {
  grid-column: 2;
  grid-row: 1;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(14,27,42,0.4);
  backdrop-filter: blur(10px);
  padding: 30px;
  align-self: center;
  margin-top: 40px;
}

.inno-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

/* ---------- DYNAMIC AVATAR OVERLAP ---------- */
.inno-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.inno-avatars-group {
  display: flex;
  align-items: center;
}

.inno-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  /* Creates a solid border that matches the card background for the cutout effect */
  border: 2px solid #1c2b3d; 
  margin-left: -14px; /* Pulls the images to the left so they overlap */
  position: relative;
  transition: transform 0.2s ease;
}

.inno-avatar-img:first-child {
  margin-left: 0; /* The first image shouldn't have negative margin */
}

/* Optional hover effect */
.inno-avatar-img:hover {
  transform: translateY(-4px);
  z-index: 20 !important; /* Brings hovered face to the very front */
}

.inno-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.inno-floating-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* Content: Bottom Left Trust Text */
.inno-trust-text {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin-bottom: 40px;
  max-width: 400px;
}

.inno-trust-text p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

/* ---------- STANDALONE LOGO CAROUSEL ---------- */
.inno-logos-section {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 30px 0;
  background: linear-gradient(to right, rgba(14,27,42,0.9), transparent, rgba(14,27,42,0.9));
}

.logo-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.logo-ticker-track {
  display: inline-flex;
  gap: 80px;
  animation: logo-scroll 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Auto-Resizing & Color Correction for Logos */
.ticker-item img {
  height: 32px; /* Enforces uniform height */
  width: auto;
  object-fit: contain;
  /* Forces all uploaded logos to pure white */
  filter: brightness(0) invert(1) opacity(0.8); 
  transition: opacity 0.3s ease;
}

.ticker-item img:hover {
  opacity: 1;
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 40px)); }
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .inno-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .inno-main-content, .inno-floating-card, .inno-trust-text {
    grid-column: 1;
  }
  .inno-trust-text {
    margin-bottom: 60px;
  }
}