*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-50:  #E1F5EE;
  --green-100: #9FE1CB;
  --green-400: #1D9E75;
  --green-600: #0F6E56;
  --green-800: #085041;

  --blue-50:  #E6F1FB;
  --blue-400: #378ADD;
  --blue-600: #185FA5;

  --amber-50:  #FAEEDA;
  --amber-600: #854F0B;

  --gray-100: #F5F5F4;
  --gray-200: #E5E5E3;
  --gray-500: #1A1A18;
  --gray-900: #1A1A18;

  --font: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 2.5rem;
  background: #ffffff;
  border-bottom: 0.5px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-img-mobile { display: none; }

/* Switch to compact logo on anything narrower than a small laptop —
   covers all iPhone landscape widths (up to 932px) */
@media (max-width: 960px) {
  .logo-img-full { display: none; }
  .logo-img-mobile { display: block; height: 40px; }
  .nav { padding: 0.65rem 1.25rem; }
  .nav-links { gap: 1.1rem; font-size: 14px; }
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 15px;
  color: var(--gray-500);
}

.nav-links a:hover {
  color: var(--gray-900);
}


.nav-cta {
  font-size: 15px;
  padding: 7px 18px;
  border: 0.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--gray-900);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.nav-cta:hover {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: #0a1f44;
}

.hero-illustration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 560px;
  height: auto;
  z-index: 0;
  opacity: 0.72;
  pointer-events: none;
}

.hero-illustration-right {
  right: 5%;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.hero-illustration-left {
  left: 0;
  width: 54%;
  max-width: 640px;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center left;
  opacity: 0.22;
  z-index: 0;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.hero-content .hero-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: 999px;
  background: rgba(91,184,245,0.15);
  color: #5bb8f5;
  margin-bottom: 1.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(91,184,245,0.35);
}

.hero-content h1 {
  font-size: 45px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-content h1 .accent {
  color: #5bb8f5;
}

.hero-content p {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2.25rem;
}

.hero-content .hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-content .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.hero-content .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 11px 24px;
  background: #1a56a0;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: #0d3d7a;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-block;
  padding: 11px 24px;
  border: 0.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: var(--font);
  background: transparent;
  color: var(--gray-900);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: var(--gray-100);
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 0.5px solid var(--gray-200);
}

/* ── SECTIONS ── */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5.5rem 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #1a56a0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.section h2 {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.lead {
  font-size: 18px;
  color: #555;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 3px solid #1a56a0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 1.75rem 1.75rem 1.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
}

.card:hover {
  background: #f8fafc;
  box-shadow: 0 4px 20px rgba(26, 86, 160, 0.08);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.card p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}


/* ── PIPELINE TABLE ── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--gray-200);
}

.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pipeline-table thead tr {
  background: var(--gray-100);
  border-bottom: 0.5px solid var(--gray-200);
}

.pipeline-table th {
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  white-space: nowrap;
}

.pipeline-table tbody tr {
  border-bottom: 0.5px solid var(--gray-200);
  transition: background 0.12s;
}

.pipeline-table tbody tr:last-child {
  border-bottom: none;
}

.pipeline-table tbody tr:hover {
  background: var(--gray-100);
}

.pipeline-table td {
  padding: 0.9rem 1.25rem;
  color: var(--gray-500);
  white-space: nowrap;
}

.prog-name {
  font-weight: 600;
  color: var(--gray-900) !important;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge.phase1 {
  background: var(--green-50);
  color: var(--green-600);
}

.badge.phase2 {
  background: var(--blue-50);
  color: var(--blue-600);
}

.badge.preclinical {
  background: var(--amber-50);
  color: var(--amber-600);
}

.open {
  color: #1a56a0 !important;
  font-weight: 500;
}

.reviewing {
  color: var(--gray-500) !important;
}

/* ── PARTNERS ── */
.partners-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-card {
  border: 0.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  text-align: center;
  background: #fff;
  transition: border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card:hover {
  border-color: #b8d4f0;
  box-shadow: 0 2px 12px rgba(91,184,245,0.10);
}

.partner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--gray-100);
  border-top: 0.5px solid var(--gray-200);
  border-bottom: 0.5px solid var(--gray-200);
  padding: 5rem 2.5rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 37px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.contact-section > p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.contact-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.contact-tile {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 3px solid #1a56a0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: left;
  transition: background 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.contact-tile:hover {
  background: #f8fafc;
  box-shadow: 0 4px 20px rgba(26, 86, 160, 0.08);
}

.contact-tile-icon {
  font-size: 1.75rem;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.contact-tile h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.contact-tile p {
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.contact-tile .btn-primary {
  align-self: flex-start;
}

.contact-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 11px 16px;
  border: 0.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input[type="email"]:focus {
  border-color: #1a56a0;
  box-shadow: 0 0 0 3px rgba(26, 86, 160, 0.12);
}

.form-feedback {
  margin-top: 1rem;
  font-size: 15px;
  color: #1a56a0;
  min-height: 1.4rem;
}

/* ── FOOTER ── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  font-size: 14px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--gray-900);
}

/* ── ABOUT GRID ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 0.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: background 0.15s;
}

.highlight:hover {
  background: #f8fafc;
}

.highlight-icon {
  font-size: 21px;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

/* ── PUBLICATIONS ── */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  border: 0.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pub-item {
  padding: 0.75rem 1.5rem;
  border-bottom: 0.5px solid var(--gray-200);
  background: #fff;
  transition: background 0.15s;
}

.pub-item:last-child { border-bottom: none; }
.pub-item:hover { background: #f8fafc; }

.pub-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.4rem;
}

.pub-journal {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a56a0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pub-year {
  font-size: 12.5px;
  color: var(--gray-500);
  font-weight: 500;
}

.pub-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.pub-title:hover { color: #5bb8f5; text-decoration: underline; }

.pub-authors {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── PUB TABS ── */
.pub-tabs {
  margin-top: 2rem;
}

.pub-tab-list {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 0;
}

.pub-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.6rem 1.25rem;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.pub-tab:hover {
  color: #1a56a0;
}

.pub-tab.active {
  color: #1a56a0;
  border-bottom-color: #1a56a0;
}

.pub-panel {
  display: none;
}

.pub-panel.active {
  display: block;
}

.pub-more {
  margin-top: 1.5rem;
  text-align: center;
}

/* ── TEAM ── */
.team-pyramid {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-row-top {
  display: flex;
  justify-content: center;
}

.team-row-top .team-card {
  width: 52%;
}

.team-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  border: 0.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.2s;
}

.team-card:hover {
  background: #f8fafc;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: none;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  color: #1a56a0;
  letter-spacing: 0.04em;
  overflow: hidden;
}

.team-photo::after {
  content: attr(data-initials);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
  white-space: nowrap;
}

.team-role {
  font-size: 14px;
  color: #1a56a0;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

.highlight-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }

  /* swap to compact logo on mobile — avoids Arial Narrow fallback overflow */
  .logo-img-full { display: none; }
  .logo-img-mobile { display: block; height: 34px; }

  .hero-content { padding: 4rem 1.25rem 3rem; }
  .hero-content h1 { font-size: 31px; }
  .hero-content p { font-size: 16px; }
  .section h2 { font-size: 27px; }

  /* hide hero illustrations entirely on mobile — no space */
  .hero-illustration { display: none; }

  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* medium widths: narrow and fade more aggressively */
  .hero-illustration { width: 34%; opacity: 0.55; }
  .hero-illustration-right {
    mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 90%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 90%);
  }
  .hero-illustration-left {
    mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 90%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 90%);
  }

  .section { padding: 3.5rem 1.5rem; }
  .section h2 { font-size: 29px; }
  .cards { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .team-row-top .team-card { width: 100%; }
  .team-row-bottom { grid-template-columns: 1fr; }

  .contact-section { padding: 3rem 1.25rem; }
  .contact-tiles { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; padding: 1.25rem; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}