/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* CinRx / CinDome brand typography: Gotham (see public/CinRx_BrandGuide.pdf). */
:root {
  --font-gotham: 'Gotham', 'Gotham A', 'Gotham B', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Self-host licensed fonts under public/fonts/Gotham/ */
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamLight/GothamLight.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamItalic/GothamItalic.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamBook/GothamBook.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamItalic/GothamItalic.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamMedium/GothamMedium.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamMedium/GothamMedium.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamBold/GothamBold.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('public/fonts/Gotham/GothamBlack/GothamBlack.otf') format('opentype');
}

body {
  font-family: var(--font-gotham);
  font-weight: 400;
  color: #333;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: #0a9bae;
  text-decoration: underline;
  transition: color 0.3s;
}
a:hover {
  color: #077d8e;
}

img { max-width: 100%; height: auto; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
#header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo-svg {
  height: 55px;
  width: auto;
  display: block;
}

/* Logo Animation */
.poly-anim {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center;
  animation: materialize 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes materialize {
  0% { opacity: 0; transform: scale(0.5) translate(10px, 10px); }
  100% { opacity: 1; transform: scale(1) translate(0, 0); }
}

.poly-anim:nth-child(1) { animation-delay: 0.1s; }
.poly-anim:nth-child(2) { animation-delay: 0.15s; }
.poly-anim:nth-child(3) { animation-delay: 0.2s; }
.poly-anim:nth-child(4) { animation-delay: 0.25s; }
.poly-anim:nth-child(5) { animation-delay: 0.3s; }
.poly-anim:nth-child(6) { animation-delay: 0.35s; }
.poly-anim:nth-child(7) { animation-delay: 0.4s; }
.poly-anim:nth-child(8) { animation-delay: 0.45s; }
.poly-anim:nth-child(9) { animation-delay: 0.5s; }
.poly-anim:nth-child(10) { animation-delay: 0.55s; }
.poly-anim:nth-child(11) { animation-delay: 0.6s; }
.poly-anim:nth-child(12) { animation-delay: 0.65s; }
.poly-anim:nth-child(13) { animation-delay: 0.7s; }
.poly-anim:nth-child(14) { animation-delay: 0.75s; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
.main-nav ul li a {
  font-family: var(--font-gotham);
  font-size: 14px;
  font-weight: 400;
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 20px;
}
.main-nav ul li a:hover {
  color: #0a9bae;
  background: rgba(10, 155, 174, 0.08);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px;
}
.mobile-toggle .bar {
  display: block;
  width: 28px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}
.menu-word {
  font-family: var(--font-gotham);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-top: 2px;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background: url('public/CinDome_Home_Header-1.jpg') center center / cover no-repeat;
}

.hero-content {
  color: #fff;
  text-align: left;
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 800px;
  z-index: 2;
}

.hero-line1 {
  font-family: var(--font-gotham);
  font-size: 30px;
  font-weight: 300;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 0;
  line-height: 1.3;
  color: rgba(255,255,255,0.95);
}

.hero-line2 {
  font-family: var(--font-gotham);
  font-size: 52px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 30px;
  color: #fff;
}

.hero-line2 strong {
  font-weight: 700;
}

.hero-for {
  font-weight: 300;
  color: rgba(255,255,255,0.9);
}

.hero-btn {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(0,45,60,0.7);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-family: var(--font-gotham);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.3s;
}
.hero-btn:hover {
  background: rgba(0,45,60,0.85);
  color: #fff;
  text-decoration: none;
}

.hero-chevron {
  font-size: 9px;
  margin-left: 6px;
  vertical-align: 1px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-heading {
  font-family: var(--font-gotham);
  font-size: 34px;
  font-weight: 600;
  color: #0a9bae;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 35px;
}

/* ===== LATTICE BACKGROUND ANIMATION ===== */
.lattice-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lattice-poly {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: latticeFade 12s ease-in-out infinite alternate;
}

@keyframes latticeFade {
  0% { 
    opacity: 0.04; 
    transform: scale(0.97); 
  }
  30% {
    opacity: 0.18;
  }
  70% {
    opacity: 0.22;
  }
  100% { 
    opacity: 0.25; 
    transform: scale(1.02); 
  }
}

.lattice-poly:nth-child(1) { animation-delay: -4.0s; animation-duration: 14s; }
.lattice-poly:nth-child(2) { animation-delay: -1.5s; animation-duration: 17s; }
.lattice-poly:nth-child(3) { animation-delay: -8.0s; animation-duration: 15s; }
.lattice-poly:nth-child(4) { animation-delay: -3.5s; animation-duration: 18s; }
.lattice-poly:nth-child(5) { animation-delay: -11.0s; animation-duration: 16s; }
.lattice-poly:nth-child(6) { animation-delay: -6.5s; animation-duration: 19s; }
.lattice-poly:nth-child(7) { animation-delay: -14.0s; animation-duration: 14.5s; }
.lattice-poly:nth-child(8) { animation-delay: -2.5s; animation-duration: 17.5s; }
.lattice-poly:nth-child(9) { animation-delay: -9.0s; animation-duration: 15.5s; }
.lattice-poly:nth-child(10) { animation-delay: -16.5s; animation-duration: 18.5s; }
.lattice-poly:nth-child(11) { animation-delay: -5.0s; animation-duration: 16.5s; }
.lattice-poly:nth-child(12) { animation-delay: -12.5s; animation-duration: 19.5s; }
.lattice-poly:nth-child(13) { animation-delay: -7.0s; animation-duration: 14.8s; }
.lattice-poly:nth-child(14) { animation-delay: -18.5s; animation-duration: 17.8s; }
.lattice-poly:nth-child(15) { animation-delay: -10.0s; animation-duration: 15.8s; }
.lattice-poly:nth-child(16) { animation-delay: -1.0s; animation-duration: 18.8s; }
.lattice-poly:nth-child(17) { animation-delay: -15.0s; animation-duration: 16.8s; }

/* ===== APPROACH ===== */
.approach-section {
  overflow: hidden;
}

.approach-bg-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 85%;
  max-width: 1100px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.dome-svg {
  width: 100%;
  height: 100%;
  display: block;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,1) 80%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,1) 80%);
}

.dome-tile {
  fill: #e8e8e8;
  stroke: #d0d0d0;
  stroke-width: 0.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: domeBreathe 6s ease-in-out infinite;
}

@keyframes domeBreathe {
  0% { 
    opacity: 0.15; 
    transform: scale(0.97); 
  }
  25% {
    opacity: 0.4;
    transform: scale(1.02);
  }
  50% { 
    opacity: 0.12; 
    transform: scale(0.96); 
  }
  75% {
    opacity: 0.45;
    transform: scale(1.03);
  }
  100% { 
    opacity: 0.15; 
    transform: scale(0.97); 
  }
}

.dome-tile:nth-child(1) { animation-delay: -1.2s; animation-duration: 7s; }
.dome-tile:nth-child(2) { animation-delay: -3.8s; animation-duration: 8.5s; }
.dome-tile:nth-child(3) { animation-delay: -0.5s; animation-duration: 6.5s; }
.dome-tile:nth-child(4) { animation-delay: -5.2s; animation-duration: 9s; }
.dome-tile:nth-child(5) { animation-delay: -2.1s; animation-duration: 7.5s; }
.dome-tile:nth-child(6) { animation-delay: -6.8s; animation-duration: 8s; }
.dome-tile:nth-child(7) { animation-delay: -1.7s; animation-duration: 9.5s; }
.dome-tile:nth-child(8) { animation-delay: -4.5s; animation-duration: 6.8s; }
.dome-tile:nth-child(9) { animation-delay: -0.3s; animation-duration: 7.8s; }
.dome-tile:nth-child(10) { animation-delay: -5.9s; animation-duration: 8.2s; }
.dome-tile:nth-child(11) { animation-delay: -3.1s; animation-duration: 7.2s; }
.dome-tile:nth-child(12) { animation-delay: -7.4s; animation-duration: 9.2s; }
.dome-tile:nth-child(13) { animation-delay: -1.0s; animation-duration: 8.8s; }
.dome-tile:nth-child(14) { animation-delay: -4.9s; animation-duration: 6.2s; }

.approach-inner {
  position: relative;
  z-index: 1;
}

.approach-heading {
  text-align: left;
  color: #0a9bae;
}

.approach-grid {
  display: grid;
  grid-template-columns: 4fr 6.5fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

.approach-text {}
.approach-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}
.approach-text a {
  color: #0a9bae;
  font-weight: 600;
}

.approach-video {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #dde5ea;
  border-radius: 4px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-wrapper:hover .video-overlay {
  opacity: 1;
}

.visit-video-link {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-family: var(--font-gotham);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.visit-video-link:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-decoration: none;
}

.play-pause-btn {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

.play-pause-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

.callout-block {
  max-width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.callout-header-bar {
  background: #0a9bae;
  color: #fff;
  padding: 22px 35px;
  border-radius: 6px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.callout-header-bar h3 {
  font-family: var(--font-gotham);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}
.callout-header-bar h3 strong {
  font-weight: 600;
  text-decoration: none;
}

.callout-items-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.callout-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 35px 30px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
}
.callout-item + .callout-item {
  border-left: none;
}

.callout-icon-circle {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -50px;
  margin-top: 5px;
}

.callout-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}
.callout-item p strong {
  color: #222;
  font-weight: 600;
}

/* ===== PIPELINE ===== */
.pipeline-section {
  padding: 100px 0;
  overflow: hidden;
  min-height: 750px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pipeline-bg-img {
  position: absolute;
  inset: 0;
  background: url('public/globe_gradient_bg.png') center center / cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.pipeline-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,15,25,0.35) 0%, rgba(2,30,45,0.3) 50%, rgba(4,45,65,0.25) 100%);
  z-index: 1;
}

.pipeline-inner {
  position: relative;
  z-index: 2;
}

.pipeline-heading {
  color: #fff;
  text-align: center;
  letter-spacing: 6px;
}

.pipeline-table {
  max-width: 1050px;
  margin: 0 auto 60px;
  background: rgba(0, 30, 50, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  border-radius: 6px;
  overflow: hidden;
}

.pipeline-header-row {
  background: rgba(0,0,0,0.15);
}

.pipeline-header-row,
.pipeline-body-row {
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
}

.pt-col {
  padding: 14px 12px;
  font-family: var(--font-gotham);
}

.pt-candidate {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.pt-phase {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.pt-drug {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  padding: 18px 15px;
}
.pt-drug strong {
  font-size: 20px;
}
.pt-check {
  color: #0077a0;
  font-size: 20px;
  margin-top: 2px;
}

.pt-bar-col {
  display: flex;
  align-items: center;
  padding: 18px 8px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.pt-bar {
  height: 48px;
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pt-bar-full {
  background: #0077a0;
}
.pt-bar-partial {
  background: linear-gradient(90deg, #0077a0 55%, rgba(255,255,255,0.1) 55%);
}
.pt-bar-empty {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.pipeline-section.fade-in-visible .pt-bar {
  width: 100%;
}
.pipeline-section.fade-in-visible .pt-bar-col:nth-child(2) .pt-bar { transition-delay: 0.2s; }
.pipeline-section.fade-in-visible .pt-bar-col:nth-child(3) .pt-bar { transition-delay: 0.5s; }
.pipeline-section.fade-in-visible .pt-bar-col:nth-child(4) .pt-bar { transition-delay: 0.8s; }
.pipeline-section.fade-in-visible .pt-bar-col:nth-child(5) .pt-bar { transition-delay: 1.1s; }

.pipeline-trigger {
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
}
.pipeline-trigger:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pt-expand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
  margin-left: auto;
}
.pipeline-trigger[aria-expanded="true"] .pt-expand-icon {
  transform: rotate(45deg);
}

.pipeline-desktop .pipeline-body-row.pipeline-trigger {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 40px;
  align-items: center;
}
.pipeline-mobile .pm-drug-name {
  padding-right: 15px;
}

.pipeline-expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
  text-align: left;
}

.pipeline-expand-content.open {
  opacity: 1;
}

.pipeline-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 0;
  padding: 30px;
  background: rgba(0, 45, 60, 0.4);
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  backdrop-filter: blur(8px);
}

.pipeline-detail-col h3 {
  font-family: var(--font-gotham);
  font-size: 20px;
  font-weight: 600;
  color: #5ce6e6;
  margin-bottom: 15px;
}

.pipeline-detail-col p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.7;
}

.clinical-trial-card {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.clinical-trial-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ct-logo-container {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 5px;
}

.ct-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.ct-logo-text {
  font-family: var(--font-gotham);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.ct-logo-text sup {
  color: #5ce6e6;
  font-size: 12px;
}

.ct-info h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}

.ct-info p {
  font-size: 13px;
  margin-bottom: 10px;
}

.ct-link {
  font-size: 13px;
  color: #5ce6e6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.ct-link:hover {
  color: #fff;
  text-decoration: underline;
}

.pipeline-desc a {
  color: #5ce6e6;
  font-weight: 500;
}
.pipeline-desc a:hover {
  color: #fff;
}

.pipeline-mobile { display: none; }

.pm-drug-name {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.pm-drug-name strong { font-size: 22px; display: block; }
.pm-sub { font-size: 15px; color: rgba(255,255,255,0.65); }
.pm-phases { padding: 16px 20px 20px; }
.pm-phase-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.pm-phase-row:last-child { margin-bottom: 0; }
.pm-label {
  font-family: var(--font-gotham);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.75);
  width: 90px;
  flex-shrink: 0;
  text-align: right;
}
.pm-bar-track {
  flex: 1;
}
.pm-bar-track .pt-bar {
  height: 36px;
  border-radius: 4px;
}

.pipeline-section.fade-in-visible .pm-bar-track .pt-bar { width: 100%; }
.pm-phase-row:nth-child(1) .pt-bar { transition-delay: 0.2s; }
.pm-phase-row:nth-child(2) .pt-bar { transition-delay: 0.5s; }
.pm-phase-row:nth-child(3) .pt-bar { transition-delay: 0.8s; }
.pm-phase-row:nth-child(4) .pt-bar { transition-delay: 1.1s; }

/* ===== TEAM ===== */
.team-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.team-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  transform: scaleX(-1);
  z-index: 0;
  opacity: 0.12;
}

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

.team-heading {
  text-align: left;
  font-weight: 500;
  font-size: 36px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.team-svg-wrapper {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.team-animated-svg {
  width: 100%;
  height: auto;
  display: block;
}

.team-path {
  fill: url(#teamGrad);
  opacity: 0;
  transform-origin: center;
}

.team-section.fade-in-visible .team-path {
  animation: teamPathIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.team-section.team-looping .team-path {
  animation: teamPathLoop 8s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.team-section.fade-in-visible .team-path:nth-child(1) { animation-delay: 0.1s; }
.team-section.fade-in-visible .team-path:nth-child(2) { animation-delay: 0.15s; }
.team-section.fade-in-visible .team-path:nth-child(3) { animation-delay: 0.2s; }
.team-section.fade-in-visible .team-path:nth-child(4) { animation-delay: 0.25s; }
.team-section.fade-in-visible .team-path:nth-child(5) { animation-delay: 0.3s; }
.team-section.fade-in-visible .team-path:nth-child(6) { animation-delay: 0.35s; }
.team-section.fade-in-visible .team-path:nth-child(7) { animation-delay: 0.4s; }
.team-section.fade-in-visible .team-path:nth-child(8) { animation-delay: 0.45s; }
.team-section.fade-in-visible .team-path:nth-child(9) { animation-delay: 0.5s; }
.team-section.fade-in-visible .team-path:nth-child(10) { animation-delay: 0.55s; }
.team-section.fade-in-visible .team-path:nth-child(11) { animation-delay: 0.6s; }
.team-section.fade-in-visible .team-path:nth-child(12) { animation-delay: 0.65s; }

@keyframes teamPathIn {
  0% {
    opacity: 0;
    transform: scale(0.85) rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes teamPathLoop {
  0% {
    opacity: 0;
    transform: scale(0.85) rotate(-5deg);
  }
  15% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  55% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  70% {
    opacity: 0;
    transform: scale(0.85) rotate(5deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.85) rotate(-5deg);
  }
}

.team-text-col p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}
.team-text-col a {
  color: #0a9bae;
  font-weight: 500;
}

.sub-heading {
  font-family: var(--font-gotham);
  font-size: 26px;
  font-weight: 700;
  color: #0077a0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 40px;
}

.sab-section {
  background: #fff;
  padding-top: 40px;
}

.sab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  max-width: 1000px;
  margin: 0 auto 80px;
  text-align: center;
}

.sab-member h4 {
  font-family: var(--font-gotham);
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}
.sab-member p {
  font-size: 15px;
  color: #777;
}

.investors-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.investor-logo {
  max-width: 320px;
  height: auto;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.investor-logo:hover {
  transform: translateY(0) scale(1.03) !important;
}

.fade-in-visible .investor-logo {
  opacity: 0.9;
  transform: translateY(0) scale(1);
}
.fade-in-visible .investor-logo:nth-child(1) { transition-delay: 0.3s; }
.fade-in-visible .investor-logo:nth-child(2) { transition-delay: 0.6s; }

/* ===== NEWS ===== */
.news-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.news-bg-img {
  position: absolute;
  bottom: 0;
  left: -12%;
  width: 85%;
  max-width: 1100px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.news-inner {
  position: relative;
  z-index: 1;
}

.news-heading {
  text-align: left;
  font-weight: 500;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.news-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,85,104,0.15), 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,180,200,0.2);
}

.news-side-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  animation: newsImgDrift 8s ease-in-out infinite;
}

@keyframes newsImgDrift {
  0% { transform: scale(1.02) translateX(0); }
  25% { transform: scale(1.03) translateX(-6px); }
  50% { transform: scale(1.02) translateX(0); }
  75% { transform: scale(1.03) translateX(4px); }
  100% { transform: scale(1.02) translateX(0); }
}

.news-img-ripple {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.06) 20%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: rippleSweep 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 8px;
}

@keyframes rippleSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.news-subheading {
  font-family: var(--font-gotham);
  font-size: 28px;
  font-weight: 700;
  color: #0077a0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  margin-top: 10px;
}

.news-item {
  padding: 20px 0;
}

.news-date {
  font-family: var(--font-gotham);
  font-size: 15px;
  font-weight: 600;
  color: #0077a0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-item h4 {
  font-family: var(--font-gotham);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.news-link {
  color: #0a9bae;
  text-decoration: none;
}
.news-link:hover {
  color: #077d8e;
  text-decoration: underline;
}

.news-divider {
  border: none;
  border-top: 2px solid #0a9bae;
  margin: 0;
}

.news-viewmore-wrap {
  text-align: left;
  padding: 30px 0 40px;
}

.view-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0a3c50;
  color: #fff;
  font-family: var(--font-gotham);
  font-size: 13px;
  font-weight: 500;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}
.view-more-btn:hover {
  background: #072d3d;
  color: #fff;
  text-decoration: none;
}
.view-more-btn span {
  margin-left: 5px;
  font-size: 16px;
}

.nothing-found {
  font-family: var(--font-gotham);
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}
.no-posts {
  color: #888;
}

/* ===== POSTERS ===== */
.posters-section {
  background: #f4f8fa;
  border-top: 1px solid #e0e6ea;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 80px 0 60px;
  overflow: hidden;
}

.contact-bg-img {
  position: absolute;
  inset: 0;
  background: url('public/globe_gradient_bg.png') center center / cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.contact-overlay {
  display: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact-heading {
  color: #fff;
  text-align: center;
  letter-spacing: 5px;
}

.contact-desc {
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 35px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row-full {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 2px;
  font-family: var(--font-gotham);
  font-size: 15px;
  color: #333;
  background: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #0cc;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.form-submit-row {
  text-align: center;
  padding-top: 10px;
}

.submit-btn {
  display: inline-block;
  padding: 12px 35px;
  background: #fff;
  color: #333;
  font-family: var(--font-gotham);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover {
  background: #e8e8e8;
}

/* ===== FOOTER ===== */
#footer {
  background: #041e2a;
  color: #8fa6b0;
  padding: 80px 0 40px;
  border-top: none;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo-link {
  display: block;
  margin-bottom: 25px;
}
.footer-logo-svg {
  height: 55px;
  width: auto;
  display: block;
}
.footer-logo-text-1 path { fill: #fff; stroke: #fff; stroke-width: .5px; }
.footer-logo-text-2 path { fill: #fff; }
.ftr-poly {
  fill: #fff;
  opacity: 0;
  transform: scale(0.5);
  transform-origin: center;
  animation: ftrMaterialize 8s ease-in-out infinite;
}
@keyframes ftrMaterialize {
  0% { opacity: 0; transform: scale(0.5) translate(10px, 10px); }
  12% { opacity: 1; transform: scale(1) translate(0, 0); }
  50% { opacity: 1; transform: scale(1) translate(0, 0); }
  62% { opacity: 0; transform: scale(0.5) translate(-10px, -10px); }
  100% { opacity: 0; transform: scale(0.5) translate(10px, 10px); }
}
.ftr-poly:nth-child(1) { animation-delay: 0s; }
.ftr-poly:nth-child(2) { animation-delay: 0.15s; }
.ftr-poly:nth-child(3) { animation-delay: 0.3s; }
.ftr-poly:nth-child(4) { animation-delay: 0.45s; }
.ftr-poly:nth-child(5) { animation-delay: 0.6s; }
.ftr-poly:nth-child(6) { animation-delay: 0.75s; }
.ftr-poly:nth-child(7) { animation-delay: 0.05s; }
.ftr-poly:nth-child(8) { animation-delay: 0.2s; }
.ftr-poly:nth-child(9) { animation-delay: 0.35s; }
.ftr-poly:nth-child(10) { animation-delay: 0.5s; }
.ftr-poly:nth-child(11) { animation-delay: 0.65s; }
.ftr-poly:nth-child(12) { animation-delay: 0.1s; }
.ftr-poly:nth-child(13) { animation-delay: 0.25s; }
.ftr-poly:nth-child(14) { animation-delay: 0.4s; }
.footer-desc {
  line-height: 1.8;
  max-width: 400px;
}
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 15px;
}
.footer-col a {
  color: #8fa6b0;
  text-decoration: none;
  transition: 0.3s;
}
.footer-col a:hover {
  color: #0cc;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  margin: 0;
}
.footer-legal-links a {
  color: #8fa6b0;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.3s;
}
.footer-legal-links a:hover {
  color: #fff;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background: #0a9bae;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: #088a9c;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: rgba(220,230,235,0.97);
  color: #444;
  padding: 15px 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 -1px 8px rgba(0,0,0,0.1);
  transition: transform 0.4s;
}
.cookie-banner.hidden {
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 14px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
}
.cookie-btn {
  padding: 8px 20px;
  font-family: var(--font-gotham);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s;
}
.cookie-accept {
  background: #0a9bae;
  color: #fff;
}
.cookie-accept:hover { background: #088a9c; color: #fff; text-decoration: none; }
.cookie-hide {
  background: #555;
  color: #fff;
}
.cookie-hide:hover { background: #666; color: #fff; text-decoration: none; }
.cookie-settings {
  background: transparent;
  color: #555;
  border: 1px solid #999;
}
.cookie-settings:hover { border-color: #666; color: #333; text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }

  .main-nav.active {
    display: block;
    position: fixed;
    top: 90px; left: 0; width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .main-nav.active ul {
    flex-direction: column;
    padding: 20px 40px;
    gap: 0;
  }
  .main-nav.active ul li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }

  .hero-content {
    right: 5%;
  }
  .hero-line2 {
    font-size: 36px;
  }
  .team-heading { text-align: center; }

  .approach-bg-img {
    top: 0 !important;
    bottom: 0 !important;
    left: -10%;
    width: 95%;
    max-width: none;
    height: 100% !important;
  }
  .news-bg-img {
    top: auto !important;
    bottom: 0 !important;
    left: -10%;
    width: 95%;
    max-width: none;
    height: 100% !important;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header-inner { height: 75px; padding: 0 20px; }
  .logo-svg { height: 36px; }

  .main-nav.active {
    top: 75px;
  }

  .hero-content {
    position: relative;
    left: 0;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    padding: 180px 20px 60px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-line1 { font-size: 22px; }
  .hero-line2 { font-size: 30px; }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .approach-text { max-width: 100%; }
  .approach-video {
    max-width: 500px;
    margin: 0 auto;
  }
  .callout-items-row {
    grid-template-columns: 1fr;
  }
  .callout-item + .callout-item {
    border-left: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  .team-img-col { max-width: 350px; margin: 0 auto; }
  .team-text-col { text-align: center; }

  .sab-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sab-member:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  .pipeline-desktop { display: none; }
  .pipeline-mobile { display: block; }
  
  .pipeline-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }
  
  .clinical-trial-card {
    flex-direction: column;
    gap: 10px;
  }

  .form-row-inline {
    grid-template-columns: 1fr;
  }

  .section-heading { font-size: 24px; letter-spacing: 3px; }
  .section { padding: 60px 0; }
  .pipeline-section { min-height: 950px; }

  .callout-header-bar h3 {
    font-size: 20px;
    padding: 0 10px;
  }

  .callout-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .callout-icon-circle {
    margin-left: 0;
    margin-top: 0;
  }

  .approach-bg-img {
    top: 0 !important;
    bottom: 0 !important;
    left: -5%;
    width: 120%;
    max-width: none;
    height: 100% !important;
    opacity: 0.45;
  }
  .news-bg-img {
    top: auto !important;
    bottom: 0 !important;
    left: -5%;
    width: 120%;
    max-width: none;
    height: 100% !important;
    opacity: 0.45;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .brand-col {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    padding: 15px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .cookie-btn {
    width: 100%;
    padding: 14px 10px;
    font-size: 14px;
    min-width: auto;
    flex: none;
  }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .main-nav.active { top: 60px; }
  .logo-svg { height: 32px; }
  .hero-line1 { font-size: 18px; }
  .hero-line2 { font-size: 24px; }
  .section-heading { font-size: 20px; letter-spacing: 2px; }
  .sub-heading { font-size: 18px; letter-spacing: 2px; }

  .approach-bg-img {
    top: 0 !important;
    bottom: 0 !important;
    left: 0;
    width: 140%;
    height: 100% !important;
    opacity: 0.35;
  }
  .news-bg-img {
    top: auto !important;
    bottom: 0 !important;
    left: 0;
    width: 140%;
    height: 100% !important;
    opacity: 0.35;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-logo-svg { height: 42px; }
}

/* POLICY PAGES */
.policy-section {
  padding: 150px 20px 80px;
  max-width: 800px;
  margin: 0 auto;
  color: #004053;
  line-height: 1.6;
}
.policy-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #0077a0;
}
.policy-section h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #00b5d1;
}
.policy-section p, .policy-section li {
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.policy-section ul {
  margin-left: 20px;
  margin-bottom: 20px;
  list-style-type: disc;
}
.policy-section strong {
  color: #004053;
}

/* Cookie Settings specific styles */
.cookie-settings-block {
  margin-top: 30px;
  background-color: #f7f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #00b5d1;
}

.cookie-heading {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #0077a0;
}

.checkbox-group {
  margin-top: 15px;
  margin-bottom: 15px;
}

.checkbox-group p {
  margin-bottom: 5px;
}

.cookie-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1.5;
}

.cookie-label input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cookie-link {
  color: #0077a0;
  text-decoration: underline;
}

.cookie-link:hover {
  color: #005568;
}

.cookie-save-actions {
  margin-top: 40px;
  display: flex;
  gap: 15px;
}

.cookie-save-actions .cookie-btn {
  font-family: inherit;
  font-size: 1rem;
}

.policy-header {
  margin-bottom: 40px;
  border-bottom: 2px solid #ceebf0;
  padding-bottom: 20px;
}
.policy-company {
  font-size: 1.1rem;
  color: #004053;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.policy-effective-date {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  margin-top: 10px;
}
.policy-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.policy-table th, .policy-table td {
  border: 1px solid #c9e9eb;
  padding: 15px;
  text-align: left;
}
.policy-table th {
  background-color: #f7f9fa;
  color: #0077a0;
  font-size: 1.15rem;
}
.policy-contact-box {
  background-color: #f7f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #00b5d1;
  margin: 20px 0;
}
.policy-contact-box a {
  color: #0077a0;
  text-decoration: underline;
}
.policy-contact-box a:hover {
  color: #005568;
}
