.team-hero {
  background: #F2FAFA;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 150, 149, 0.1);
  padding-top: 88px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-d);
  border: 1px solid rgba(0, 150, 149, 0.28);
  border-radius: 2em;
  background: rgba(0, 150, 149, 0.07);
  padding: 0.35em 1em;
  margin-bottom: 1.6rem;
}

.hero-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  animation: hpulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes hpulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}
.team-hero h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.06;
  max-width: 620px;
  margin: 0 0 1.2rem;
}

.team-hero h1 span {
  color: var(--teal);
}

.team-hero p {
  font-size: 16px;
  color: var(--mid);
  max-width: 520px;
  margin: 0;
  line-height: 1.78;
}

/* ── SECTIONS ── */
.team-section {
  padding: 72px 0;
  background-color: #F4F8F8;
}

.team-section.alt {
  background: var(--white);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 991.98px) {
  .wrap {
    padding: 0 1.3rem;
  }
}

.sec-header {
  margin-bottom: 40px;
}

.sec-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 150, 149, 0.07);
  border: 1px solid rgba(0, 150, 149, 0.18);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.sec-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 24px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.sec-desc {
  font-size: 16px;
  color: var(--soft);
  max-width: 600px;
  line-height: 1.65;
  margin-top: 8px;
}

/* ── GRIDS ── */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* SAB side-by-side split */
.sab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}

.sab-col-title {
  font-size:12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sab-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.sab-data-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}

/* responsive */
@media (max-width: 960px) {
  .founders-grid {
    grid-template-columns: 1fr 1fr;
  }
  .strat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sab-split {
    grid-template-columns: 1fr;
  }
  .sab-data-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .team-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .strat-grid {
    grid-template-columns: 1fr;
  }
  .sab-grid-2 {
    grid-template-columns: 1fr;
  }
  .sab-col-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-content {
    padding: 72px 17px;
  }
}
@media (max-width: 480px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
  .team-grid-3 {
    grid-template-columns: 1fr;
  }
}
/* ── SAB sub-section badges ── */
.sub-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}

.sub-badge.immuno {
  background: rgba(0, 150, 149, 0.1);
  color: #007574;
  border: 1px solid rgba(0, 150, 149, 0.25);
}

.sub-badge.onco {
  background: rgba(0, 150, 149, 0.1);
  color: #007574;
  border: 1px solid rgba(0, 150, 149, 0.25);
}

.sub-badge.data {
  background: rgba(0, 150, 149, 0.07);
  color: var(--teal);
  border: 1px solid rgba(0, 150, 149, 0.2);
}

/* ── CONCEPT CANVAS ── */
.concept-canvas-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgb(0 150 149 / 12%);
  background: #F6FBFB;
}

.concept-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 300px;
}

/* Biomarker canvas stretches to match adjacent card */
.biomarker-wrap {
  height: 100%;
  min-height: 320px;
}

.biomarker-wrap canvas {
  height: 100% !important;
  min-height: 320px;
}

.concept-canvas-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}

.concept-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  width: fit-content;
}

.concept-badge.immuno {
  background: rgba(0, 150, 149, 0.18);
  color: #005F5F;
  border: 1px solid rgba(0, 150, 149, 0.38);
}

.concept-badge.onco {
  background: rgba(0, 150, 149, 0.18);
  color: #005F5F;
  border: 1px solid rgba(0, 150, 149, 0.38);
}

.concept-badge.data-badge {
  background: rgba(0, 150, 149, 0.1);
  color: var(--teal-d);
  border: 1px solid rgba(0, 150, 149, 0.28);
}

.concept-canvas-label strong {
  font-size: 0.78rem;
  color: var(--ink);
  display: block;
}

.concept-canvas-label > span:last-child {
  font-size: 0.7rem;
  color: #6b8888;
  max-width: 280px;
  line-height: 1.35;
}

/* ── CARDS ── */
.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  opacity: 0;
  transform: translateY(16px);
}

.pcard.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s, border-color 0.25s;
}

.pcard:hover {
  box-shadow: 0 6px 28px rgba(0, 150, 149, 0.13);
  transform: translateY(-2px);
  border-color: rgba(0, 150, 149, 0.25);
}

.pcard.open {
  box-shadow: 0 10px 40px rgba(0, 150, 149, 0.16);
  border-color: rgba(0, 150, 149, 0.35);
}

.pcard-photo {
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

.pcard-founder .pcard-photo {
  aspect-ratio: 1/1;
}

.pcard-strat .pcard-photo, .pcard-med .pcard-photo, .pcard-sab .pcard-photo {
  aspect-ratio: 1;
}

.pcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s;
}

.pcard:hover .pcard-photo img {
  transform: scale(1.04);
}

/* ── Gradient placeholder (no photo) ── */
.pcard-gradient-ph {
  overflow: hidden;
}

.pcard-founder .pcard-body {
  padding: 22px 24px 18px;
}

.pcard-strat .pcard-body {
  padding: 13px 15px 11px;
}

.pcard-med .pcard-body, .pcard-sab .pcard-body {
  padding: 15px 16px 12px;
}

.pcard-subsect {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.pcard-founder .pcard-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 3px;
}

.pcard-strat .pcard-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.pcard-med .pcard-name, .pcard-sab .pcard-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.pcard-creds {
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 4px;
  line-height: 1.4;
}

.pcard-founder .pcard-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-d);
  line-height: 1.4;
  margin-bottom: 10px;
}

.pcard-strat .pcard-role, .pcard-med .pcard-role, .pcard-sab .pcard-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-d);
  line-height: 1.35;
  margin-bottom: 8px;
}

.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.pt {
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 150, 149, 0.07);
  color: var(--teal-d);
  border-radius: 20px;
  padding: 2px 7px;
}

.pcard-cta {
  font-size:12px;
  font-weight: 600;
  color: var(--teal);
  opacity: 0.7;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pcard-cta::after {
  content: "▾";
  display: inline-block;
  transition: transform 0.3s;
}

.pcard.open .pcard-cta::after {
  transform: rotate(180deg);
}

.pcard:hover .pcard-cta, .pcard.open .pcard-cta {
  opacity: 1;
}

.bio-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.pcard.open .bio-panel {
  max-height: 900px;
}

.bio-inner {
  position: relative;
  padding: 30px 18px 20px;
  border-top: 1px solid var(--border);
}

.bio-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--soft);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 4px 6px;
}

.bio-close:hover {
  opacity: 1;
}

.bio-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.bio-circuit path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 0.9;
  opacity: 0.18;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  stroke-linecap: round;
}

.pcard.open .bio-circuit path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s ease 0.1s;
}

.bio-text {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}

.bio-text p + p {
  margin-top: 0.8em;
}

.pcard.open .bio-text {
  opacity: 1;
  transform: none;
}

.bio-org {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 150, 149, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease 0.65s;
}

.pcard.open .bio-org {
  opacity: 1;
}

.borg {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(0, 150, 149, 0.18);
  border-radius: 3px;
  padding: 2px 7px;
  background: rgba(0, 150, 149, 0.04);
}

/* ── PARTNERS MARQUEE ── */
.team-partners {
  margin-top: 112px;
  margin-bottom: -72px;
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}

.team-partners::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../images/sub/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.team-partners__inner {
  position: relative;
  z-index: 1;
}

.team-partners__title {
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 50px;
}

.team-partners__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.team-partners__track {
  display: flex;
  width: max-content;
  animation: partner-marquee 42s linear infinite;
  gap: 60px;
  will-change: transform;
}

.team-partners__list {
  display: flex;
  align-items: center;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.team-partners__item {
  flex: 0 0 280px;
  width: 280px;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-partners__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes partner-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 700px) {
  .team-partners {
    padding: 72px 0 88px;
  }
  .team-partners__inner {
    padding: 0 20px;
  }
  .team-partners__list {
    gap: 36px;
  }
  .team-partners__item {
    flex: 0 0 200px;
    width: 200px;
    height: 82px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-partners__track {
    animation: none;
  }
}