/* ========================================
   KVDOS Bio — styles.css
   ======================================== */

:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-2: #161616;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-hover: rgba(255, 255, 255, 0.14);
  --color-text: rgba(255, 255, 255, 0.92);
  --color-text-muted: rgba(255, 255, 255, 0.52);
  --color-text-faint: rgba(255, 255, 255, 0.22);
  --color-accent: #3edbc6;
  --color-accent-dim: rgba(62, 219, 198, 0.10);
  --color-accent-glow: rgba(62, 219, 198, 0.06);
  --color-gold: #d4a853;
  --color-gold-dim: rgba(212, 168, 83, 0.15);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Sizes */
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-hero: 4rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s var(--ease-smooth), background 0.5s var(--ease-smooth);
}

.nav--scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(10, 10, 10, 0.88);
}

.nav__logo {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.3s;
}

.nav__logo-light {
  font-weight: 300;
  color: var(--color-text-muted);
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease-smooth);
  position: relative;
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link.active {
  color: var(--color-accent);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__videos {
  position: absolute;
  inset: -20%;
  will-change: transform;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s var(--ease-smooth);
}

.hero__video.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.7) 60%, rgba(10, 10, 10, 0.96) 100%);
  z-index: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: lowercase;
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeIn 1.8s 0.6s var(--ease-out) forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2.4s var(--ease-smooth) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* ========================================
   SECTIONS (generic)
   ======================================== */

.section {
  padding: var(--space-xl) 0;
}

.section__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__heading {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

/* ========================================
   SCIENTIFIC PILLARS
   ======================================== */

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pillar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg);
  transition:
    border-color 0.4s var(--ease-smooth),
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.pillar:hover {
  border-color: rgba(62, 219, 198, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--color-accent-glow), 0 0 0 1px rgba(62, 219, 198, 0.08);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar__number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.pillar__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: 0;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.pillar__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ========================================
   IN SILICO & ML PLATFORM (compact)
   ======================================== */

.platform__intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 780px;
  margin-bottom: var(--space-lg);
}

.platform__capabilities {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-md);
}

.platform__item {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.8;
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease-smooth);
}

.platform__item:hover {
  color: var(--color-text);
}

.platform__bullet {
  color: var(--color-accent);
  font-weight: 500;
  flex-shrink: 0;
}

/* ========================================
   WET LAB VALIDATION
   ======================================== */

.platform__wetlab {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
}

.platform__wetlab-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin-bottom: var(--space-md);
}

.platform__wetlab-content {
  max-width: 680px;
}

.platform__wetlab-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

.platform__wetlab-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-lg);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.footer__logo {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.footer__logo span {
  font-weight: 300;
  color: var(--color-text-muted);
}

.footer__address {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
  text-align: right;
  margin-bottom: var(--space-xs);
}

.footer__email {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-decoration: none;
  display: block;
  text-align: right;
  transition: color 0.3s;
}

.footer__email:hover {
  color: #fff;
}

.footer__entity-links {
  text-align: center;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.footer__entity-links a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer__entity-links a:hover {
  color: var(--color-accent);
}

.footer__dot {
  color: var(--color-text-faint);
  margin: 0 0.75rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ========================================
   PROGRAMS VIEW
   ======================================== */

.programs-view {
  padding-top: 5rem;
  min-height: 100dvh;
}

.programs-container {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.programs__back {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: var(--space-md);
  transition: color 0.3s;
}

.programs__back:hover {
  color: var(--color-accent);
}

/* ========================================
   PIPELINE TABLE
   ======================================== */

.pipeline {
  margin-bottom: var(--space-lg);
  overflow-x: auto;
}

.pipeline__header {
  display: grid;
  grid-template-columns: 140px 150px 1fr repeat(3, 110px) 60px;
  gap: 1px;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.pipeline__header .pipeline__col {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pipeline__header .pipeline__col--phase {
  text-align: center;
}

.pipeline__row {
  display: grid;
  grid-template-columns: 140px 150px 1fr repeat(3, 110px) 60px;
  gap: 1px;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  transition: background 0.3s;
}

.pipeline__row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pipeline__row--highlight {
  background: rgba(212, 168, 83, 0.04);
}

.pipeline__row--highlight:hover {
  background: rgba(212, 168, 83, 0.07);
}

.pipeline__row--commercial {
  background: transparent;
}

.pipeline__row--commercial:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pipeline__name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  display: block;
}

.pipeline__badge {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--color-gold);
  background: var(--color-gold-dim);
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pipeline__col--target {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.pipeline__col--indication {
  padding-right: var(--space-sm);
}

.pipeline__col--indication strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text);
  display: block;
}

.pipeline__subdesc {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: block;
  margin-top: 2px;
}

.pipeline__external-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-gold);
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.pipeline__external-link:hover {
  color: #e8c06a;
}

.pipeline__col--phase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.pipeline__bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--color-surface-2);
  position: relative;
  overflow: hidden;
}

.pipeline__bar--full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  border-radius: 4px;
}

.pipeline__bar--partial::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  background: var(--color-accent);
  border-radius: 4px 0 0 4px;
}

.pipeline__note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  padding: var(--space-xs) 0;
  letter-spacing: 0.05em;
}

/* ========================================
   COMMERCIAL PROGRAM SEPARATOR
   ======================================== */

.pipeline__commercial-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0 var(--space-md);
}

.pipeline__commercial-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.35;
}

.pipeline__commercial-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.pipeline__commercial-card {
  background: var(--color-surface);
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 12px;
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.pipeline__commercial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent 70%);
  opacity: 0.6;
}

.pipeline__commercial-card:hover {
  border-color: rgba(212, 168, 83, 0.32);
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.06);
}

.pipeline__commercial-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.pipeline__commercial-header .pipeline__name {
  color: var(--color-gold);
}

.pipeline__commercial-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-bottom: var(--space-md);
}

.pipeline__commercial-card .pipeline__external-link {
  color: var(--color-gold);
}

.pipeline__commercial-card .pipeline__external-link:hover {
  color: #e8c06a;
}

/* Inline commercial text (replaces phase bars in 006-C row) */
.pipeline__col--commercial-text {
  padding: 0 var(--space-sm);
}

.pipeline__commercial-inline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.625rem;
  line-height: 1.6;
  color: var(--color-text-faint);
  margin-bottom: 4px;
}

/* OLV Platform statement (above pipeline) */
.pipeline__platform-statement {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 100%;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

/* ========================================
   APPROACH SECTION (programs view)
   ======================================== */

.approach {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
}

.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-top: var(--space-md);
}

.approach__footer {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-xs);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-faint);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.approach__video-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 9;
}

.approach__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.approach__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
}

.approach__content {
  padding-top: var(--space-sm);
}

.approach__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 560px;
}

.approach__text--muted {
  font-style: italic;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}

/* ========================================
   EXTERNAL LINK MODAL
   ======================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.modal-overlay.modal--visible {
  opacity: 1;
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-lg);
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.3s var(--ease-out);
}

.modal-overlay.modal--visible .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  color: var(--color-text-faint);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.3s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  color: var(--color-text);
}

.modal__icon {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.modal__icon svg {
  display: block;
}

.modal__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.modal__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.modal__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

.modal__btn {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  cursor: pointer;
}

.modal__btn:active {
  transform: scale(0.97);
}

.modal__btn--secondary {
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
}

.modal__btn--secondary:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

.modal__btn--primary {
  color: var(--color-bg);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  font-weight: 500;
}

.modal__btn--primary:hover {
  background: #35c7b3;
}

/* ========================================
   COMING SOON (modal)
   ======================================== */

.modal__coming-soon {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-accent-dim);
  border: 1px solid rgba(62, 219, 198, 0.15);
  border-radius: 10px;
  margin-bottom: var(--space-md);
}

.modal__coming-soon-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}

.modal__coming-soon-date {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

/* ========================================
   CONTACT FORM (modal)
   ======================================== */

.modal--contact {
  max-width: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form__input {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.3s var(--ease-smooth), background 0.3s;
  -webkit-appearance: none;
}

.contact-form__input:focus {
  border-color: rgba(62, 219, 198, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form__input::placeholder {
  color: var(--color-text-faint);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 72px;
}

.contact-form__submit {
  width: 100%;
  margin-top: var(--space-xs);
  justify-content: center;
}

.contact-form__success {
  text-align: center;
  padding: var(--space-lg) 0;
}

.contact-form__check {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.contact-form__check svg {
  display: inline-block;
}

.contact-form__success p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

/* ========================================
   VIEW TRANSITIONS
   ======================================== */

#main-view {
  transition: opacity 0.4s var(--ease-smooth);
}

#programs-view {
  transition: opacity 0.4s var(--ease-smooth);
}

.view-fade-out {
  opacity: 0 !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .pillars__grid {
    grid-template-columns: 1fr;
  }

  .section__heading {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: var(--space-sm) var(--space-md);
  }

  .nav__links {
    gap: var(--space-md);
  }

  .hero__tagline {
    font-size: var(--text-base);
    letter-spacing: 0.12em;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .section__heading {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
  }

  .footer__grid {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer__address,
  .footer__email {
    text-align: left;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  /* Pipeline mobile */
  .pipeline__header {
    display: none;
  }

  .pipeline__row {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
  }

  .pipeline__row--highlight {
    background: rgba(212, 168, 83, 0.04);
    border-color: rgba(212, 168, 83, 0.15);
  }

  .pipeline__row--commercial {
    background: var(--color-surface);
    border-color: var(--color-border);
  }

  .pipeline__col--phase {
    justify-content: flex-start;
  }

  .pipeline__col--phase::before {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    min-width: 80px;
  }

  .pipeline__row .pipeline__col--phase:nth-child(4)::before { content: 'IND: '; }
  .pipeline__row .pipeline__col--phase:nth-child(5)::before { content: 'PK/Safety: '; }
  .pipeline__row .pipeline__col--phase:nth-child(6)::before { content: 'Pivotal: '; }
  .pipeline__row .pipeline__col--phase:nth-child(7)::before { content: ''; }

  .pipeline__bar {
    width: 80px;
  }

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

  .pipeline__commercial-divider {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .pipeline__commercial-card {
    padding: var(--space-md);
  }

  .pipeline__col--commercial-text {
    grid-column: 1 !important;
  }

  .platform__capabilities {
    padding-left: var(--space-sm);
  }

  .modal {
    padding: var(--space-md);
  }

  .modal__actions {
    flex-direction: column;
  }

  .modal__btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav__logo {
    font-size: var(--text-sm);
  }

  .nav__link {
    font-size: 0.5625rem;
  }
}
