/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  --bg:          #080808;
  --surface:     #0f0f0f;
  --elevated:    #141414;
  --border:      rgba(255, 255, 255, 0.09);
  --brand:       #fe6603;
  --brand-dim:   rgba(254, 102, 3, 0.12);
  --brand-glow:  rgba(254, 102, 3, 0.18);
  --text:        #F2EFE9;
  --text-sec:    #9A9590;
  --text-muted:  #4A4845;
  --radius:      12px;
  --radius-lg:   20px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ── Grain Overlay ──────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  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-size: 180px 180px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

.section--surface {
  background: var(--surface);
}

/* ── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

#nav.has-subnav.scrolled {
  border-color: transparent;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo icon — pre-colored #fe6603 in the asset file */
.nav-logo-icon {
  height: 26px;
  width: auto;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Text wordmark replacing image logo */
.logo-brand {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-sec);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 0.45em;
  line-height: 1;
  align-self: center;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-sec);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--text); }
.nav-link--active { color: var(--text) !important; text-decoration: underline; text-underline-offset: 7px; text-decoration-color: rgba(255,255,255,0.4) !important; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(232, 98, 26, 0.5);
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.nav-cta:active { transform: scale(0.97); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-sec);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
}

.nav-mobile.open { display: flex; }

.nav-mobile-link {
  padding: 0.75rem 0;
  font-size: 15px;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--text); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 98, 26, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-heading em {
  font-style: italic;
  color: var(--brand);
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-sec);
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Neural Network Hero Animation ──────────────────────────── */
.neuro-wrap {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.neuro-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.neuro-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.neuro-label {
  font-size: 14px;
  font-weight: 600;
  font-family: Inter, sans-serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.neuro-controls .neuro-label:first-child { color: rgba(254,102,3,0.95); }
.neuro-controls .neuro-label:last-child  { color: rgba(90,34,13,0.85); }

.neuro-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  outline: none;
  cursor: pointer;
  accent-color: var(--brand);
}
.neuro-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(254,102,3,0.5);
}
.neuro-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(254,102,3,0.5);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── NMJ Comparison (hero-right) ────────────────────────────── */
.nmj-compare {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.nmj-svg {
  width: 100%;
  height: auto;
}

.nmj-caption {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* ── Approach Section ───────────────────────────────────────── */
.approach-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 3rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.approach-box:last-child { margin-bottom: 0; }

.approach-box--reverse .approach-text { order: 2; }
.approach-box--reverse .approach-media { order: 1; }

.approach-box-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.approach-box-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sec);
}

.approach-media { position: relative; min-width: 0; overflow: hidden; }

.approach-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.approach-media-caption {
  margin-top: 0.5rem;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ── Lab Image ──────────────────────────────────────────────── */
.lab-image-section {
  padding: 2rem 0 4rem;
  background: var(--bg);
}

.lab-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.lab-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.lab-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,8,8,0.2) 0%, transparent 20%, transparent 60%, rgba(8,8,8,0.7) 100%),
    linear-gradient(to right, rgba(8,8,8,0.2) 0%, transparent 15%, transparent 85%, rgba(8,8,8,0.2) 100%);
  pointer-events: none;
}

.lab-image-caption {
  position: absolute;
  bottom: 2rem;
  left: 2.5rem;
  right: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.lab-image-caption-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(242,239,233,0.9);
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.lab-image-caption-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
  padding-bottom: 0.15rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* ── Team Featured Panels ───────────────────────────────────── */
.team-featured-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}

.team-featured-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease;
}

.team-featured-panel:hover {
  border-color: rgba(232, 98, 26, 0.2);
}

.tfp-photo {
  width: 260px;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}

.tfp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.tfp-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.25rem;
}

.tfp-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.tfp-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.tfp-bio {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-sec);
  margin-bottom: 1.5rem;
}

.tfp-links {
  display: flex;
  gap: 0.5rem;
}

/* ── Partners Carousel ──────────────────────────────────────── */
.partners-outer {
  overflow: hidden;
  margin-top: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partners-scroll 45s linear infinite;
  padding: 0.5rem 0;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(232, 98, 26, 0.3), 0 1px 4px rgba(232,98,26,0.2);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #d4571a;
  box-shadow: 0 6px 32px rgba(232, 98, 26, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0;
  color: var(--text-sec);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease, gap 0.2s ease;
}

.btn-ghost:hover { color: var(--text); gap: 0.5rem; }
.btn-ghost .arrow { transition: transform 0.2s ease; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.btn-ghost:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  border: 1px solid rgba(232, 98, 26, 0.4);
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: var(--brand-dim);
  border-color: var(--brand);
}

.btn-outline:active { transform: scale(0.98); }
.btn-outline:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ── Tag Pill ─────────────────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  background: var(--brand-dim);
  border: 1px solid rgba(232, 98, 26, 0.2);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ── Section Headers ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-heading em {
  font-style: italic;
  color: var(--brand);
}
.section-heading .heading-brand {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.body-text {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-sec);
}

/* ── Stats Bar ───────────────────────────────────────────────── */
.stats-bar {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.stat-item {
  padding: 1rem 2rem;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sec);
  max-width: 200px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

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

.pillar-card {
  padding: 2rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  border-color: rgba(232, 98, 26, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 40px rgba(232,98,26,0.05);
}

.pillar-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--brand-dim);
  border: 1px solid rgba(232, 98, 26, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.pillar-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-sec);
}

/* ── Split layout ─────────────────────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-grid--reverse .split-text { order: 2; }
.split-grid--reverse .product-visual { order: 1; }

.split-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Visuals grid */
.split-visuals { display: flex; flex-direction: column; }

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.visual-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--elevated);
  border: 1px solid var(--border);
}

.vc-tall   { height: 520px; grid-row: span 2; }
.vc-square { height: 250px; }
.vc-wide   { height: 190px; grid-column: span 2; }

.visual-card img { transition: transform 0.5s ease; }
.visual-card:hover img { transform: scale(1.04); }

.visual-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.875rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sec);
}

/* ── Metrics ──────────────────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric-card {
  padding: 1.75rem 1.5rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.metric-card:hover {
  border-color: rgba(232, 98, 26, 0.25);
  transform: translateY(-2px);
}

.metric-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-dim);
  border: 1px solid rgba(232, 98, 26, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 1rem;
}

.metric-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.metric-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sec);
}

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

.pub-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.pub-card:hover {
  border-color: rgba(232, 98, 26, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.pub-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.pub-journal {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

.pub-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 0.875rem;
  flex-grow: 1;
}

.pub-excerpt {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sec);
  margin-bottom: 1.5rem;
  flex-grow: 2;
}

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

.pub-year {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.pub-arrow {
  font-size: 16px;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.pub-card:hover .pub-arrow { transform: translateX(4px); }

/* ── Product Section ──────────────────────────────────────────── */
.product-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--elevated);
  border: 1px solid var(--border);
  height: 480px;
}

.product-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.875rem 1.25rem;
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.product-badge-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-badge-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mini-stat {
  padding: 1.25rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.mini-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.mini-stat-label {
  font-size: 12.5px;
  color: var(--text-sec);
}

/* ── Team ─────────────────────────────────────────────────────── */
.team-group { margin-bottom: 4rem; }

.team-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.team-card:hover {
  border-color: rgba(232, 98, 26, 0.25);
  transform: translateY(-3px);
}

.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.4s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }

.team-info {
  padding: 0.875rem 1rem;
}

.team-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.4;
}

.team-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.advisor-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.advisor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.advisor-info { flex: 1; min-width: 0; }

.advisor-card:hover { border-color: rgba(232, 98, 26, 0.2); }

.advisor-photo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}

/* Team social links */
.team-socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.team-social-link:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-dim);
}

.team-social-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.team-social-link--disabled { opacity: 0.25; pointer-events: none; }

/* Team expander */
.team-expand-row {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.team-expand-btn {
  min-width: 160px;
}

/* Section footer CTA */
.section-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ── Partners ─────────────────────────────────────────────────── */
.partners-bar {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.partners-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* partners-bar label spacing when using carousel */
.partners-bar .container { padding-bottom: 1.5rem; }

.partner-logo {
  display: flex;
  align-items: center;
  opacity: 0.45;
  transition: opacity 0.2s ease;
  padding: 0 2rem;
  flex-shrink: 0;
}

.partner-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(2);
}

.partner-logo:hover { opacity: 0.85; }

/* ── News ─────────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  border-color: rgba(232, 98, 26, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.news-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.news-image {
  height: 200px;
  overflow: hidden;
  background: var(--surface);
}

.news-image img { transition: transform 0.5s ease; }
.news-card:hover .news-image img { transform: scale(1.06); }

.news-image--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--elevated);
}
.news-logo-fallback {
  width: 48px;
  height: auto;
  opacity: 0.12;
  filter: grayscale(1);
}
.news-card:hover .news-logo-fallback { transform: none; }

.news-body { padding: 1.5rem; }

.news-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.news-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.news-date {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: #060606;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0; }

.footer-brand {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 0.2rem;
}

.footer-location {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 0.5rem; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sec);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-dim);
}

.social-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-sec);
  transition: color 0.2s ease;
}

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

.footer-newsletter-copy {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input::placeholder { color: var(--text-muted); }

.newsletter-input:focus { border-color: rgba(232, 98, 26, 0.5); }

.newsletter-btn {
  padding: 0.625rem 1rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-btn:hover { background: #d4571a; }
.newsletter-btn:active { transform: scale(0.97); }
.newsletter-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-contact-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-inner p {
  font-size: 12px;
  color: #2e2e2e;
}

/* ── Sub-page Hero ────────────────────────────────────────────── */
.page-hero {
  padding-top: calc(80px + 5rem);
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner { max-width: 680px; }

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.page-breadcrumb a {
  color: var(--text-sec);
  transition: color 0.2s;
}
.page-breadcrumb a:hover { color: var(--brand); }

.page-hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.page-hero-heading em {
  font-style: italic;
  color: var(--brand);
}

.page-hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-sec);
  max-width: 580px;
}

/* ── Science Stats ────────────────────────────────────────────── */
.science-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 2rem;
}

.science-stat {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.science-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.science-stat-label {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-sec);
}

/* Metric card detail variant */
.metrics-grid--tall .metric-card--detail {
  padding: 2rem;
}

.metrics-grid--tall .metric-card--detail .metric-desc {
  margin-top: 0.75rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sec);
}

/* Publications full-page variant */
.pub-grid--full {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pub-grid--full .pub-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr auto;
  gap: 0;
}

.pub-grid--full .pub-card .pub-journal { grid-column: 1; }
.pub-grid--full .pub-card .pub-title   { grid-column: 1 / 2; font-size: 1.1rem; }
.pub-grid--full .pub-card .pub-excerpt { grid-column: 1 / 2; }
.pub-grid--full .pub-card .pub-footer  { grid-column: 1 / 3; }

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-label-optional {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.contact-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.contact-input::placeholder { color: var(--text-muted); }
.contact-input:focus { border-color: rgba(232, 98, 26, 0.5); }

.contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-submit {
  align-self: flex-start;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.contact-submit:hover { background: #d4571a; }
.contact-submit:active { transform: scale(0.97); }
.contact-submit:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-status {
  font-size: 13px;
  min-height: 1.2em;
  margin-top: -0.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.25rem;
}

.contact-info-block { display: flex; flex-direction: column; gap: 0.4rem; }

.contact-info-heading {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-link {
  font-size: 15px;
  color: var(--brand);
  text-decoration: none;
  transition: opacity 0.2s;
}
.contact-info-link:hover { opacity: 0.75; }

.contact-info-text {
  font-size: 15px;
  color: var(--text-sec);
}

.contact-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  width: fit-content;
  transition: border-color 0.2s, color 0.2s;
}
.contact-linkedin-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ── Scroll Reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

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

/* ── FlyGym Hero Split ───────────────────────────────────────── */
.page-hero--split .page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 100%;
}

.fly-tube-wrap {
  position: relative;
  width: 100%;
}

.fly-tube-svg {
  width: 100%;
  height: 300px;
  overflow: visible;
}

/* ── Drosophila Facts Grid ───────────────────────────────────── */
.drosophila-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.drosophila-fact {
  padding: 0.875rem 1rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-sec);
  line-height: 1.5;
}

/* ── Bio Columns (shared biology two-box layout) ─────────────── */
.bio-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 680px) {
  .bio-columns-grid { grid-template-columns: 1fr; }
}

.bio-column-box {
  padding: 1.75rem 2rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.bio-column-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.bio-column-title em { font-style: italic; color: var(--brand); }

.bio-column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bio-column-list li {
  font-size: 13.5px;
  color: var(--text-sec);
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
}

.bio-ref {
  font-size: 10px;
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 0.2rem;
  vertical-align: super;
  line-height: 1;
  opacity: 0.6;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.bio-ref:hover {
  color: var(--brand);
  opacity: 1;
}

.bio-column-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.7;
}

/* ── Research Citations Strip ────────────────────────────────── */
.bio-citations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .bio-citations { grid-template-columns: 1fr; }
}

.bio-citation {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-left: 2px solid rgba(254, 102, 3, 0.35);
  border-radius: var(--radius);
  background: rgba(254, 102, 3, 0.03);
}

.bio-citation-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 0.6rem;
}

.bio-citation-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-sec);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.bio-citation-source {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.bio-citation-source em { font-style: italic; }

/* ── Measurement Boxes ───────────────────────────────────────── */
.measurement-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  transition: border-color 0.25s ease;
}

.measurement-box:hover {
  border-color: rgba(254, 102, 3, 0.2);
}

.measurement-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.measurement-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-sec);
}

/* ── Additional Features ─────────────────────────────────────── */
.additional-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.additional-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.25s ease;
}

.additional-feature:hover {
  border-color: rgba(254, 102, 3, 0.25);
}

.af-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.af-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
}

/* ── News Accordion ───────────────────────────────────────────── */
.news-accordion {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-row {
  border-bottom: 1px solid var(--border);
}
.news-row:last-child { border-bottom: none; }

.news-row-summary {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
  user-select: none;
}
.news-row-summary:hover { background: var(--elevated); }

.news-row-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
}

.news-row-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.news-row-date {
  font-size: 13px;
  color: var(--text-sec);
  white-space: nowrap;
}

.news-row-chevron {
  font-size: 14px;
  color: var(--text-sec);
  transition: transform 0.3s ease;
  line-height: 1;
}
.news-row--expanded .news-row-chevron { transform: rotate(180deg); }

.news-row-body {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 2.5rem;
  align-items: start;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}
.news-row--expanded .news-row-body {
  max-height: 600px;
  padding: 0 1.5rem 1.75rem;
}

.news-row-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 6/5;
  object-fit: cover;
}

.news-row-excerpt {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-sec);
  margin-bottom: 1rem;
}

.news-row-body--text-only { grid-template-columns: 1fr; }

/* ── Pipeline Meta ────────────────────────────────────────────── */
.pipeline-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.4rem;
}
.pipeline-id {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}
.pipeline-status {
  font-size: 12px;
  color: var(--text-sec);
  background: var(--elevated);
  border: 1px solid var(--border);
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { height: auto; }
  .neuro-wrap { max-width: 420px; }
  .split-grid { grid-template-columns: 1fr; gap: 3rem; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .science-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-box { grid-template-columns: 1fr; gap: 2rem; }
  .approach-box--reverse .approach-text { order: 0; }
  .approach-box--reverse .approach-media { order: 0; }
  .team-featured-panel { grid-template-columns: 200px 1fr; gap: 1.75rem; }
  .tfp-photo { width: 200px; height: 200px; }
  .page-hero--split .page-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .measurement-box { grid-template-columns: 1fr; gap: 1.75rem; }
  .drosophila-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .section { padding: 5rem 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-heading { font-size: 3rem; }
  .hero-grid { padding-top: 2rem; padding-bottom: 4rem; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pub-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-row-summary { grid-template-columns: 1fr auto; }
  .news-row-tag, .news-row-date { display: none; }
  .news-row-body { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .science-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-grid--full .pub-card { grid-template-columns: 1fr; }
  .team-secondary-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .approach-box { padding: 2rem 1.5rem; }
  .approach-img { height: 240px; }
  .survival-chart-wrap { height: 240px; }
  .drosophila-facts { grid-template-columns: 1fr; }
  .measurement-box { padding: 1.75rem 1.5rem; }
  .additional-features { gap: 1rem; }
  .team-featured-list { grid-template-columns: 1fr; }
  .team-featured-panel { grid-template-columns: 1fr; gap: 1.5rem; }
  .tfp-photo { width: 100%; height: 220px; }
  .lab-image-wrap { height: 260px; }
  .lab-image-caption-text { font-size: 1.1rem; }
  .lab-image-caption { bottom: 1.25rem; left: 1.5rem; right: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-heading { font-size: 2.2rem; }
  .neuro-wrap { max-width: 340px; }
  .hero-right { height: auto; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
}

/* ── Drosophila Flies ────────────────────────────────────────── */
body { position: relative; }

.fly-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}

.fly {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 30px;
  pointer-events: all;
  cursor: pointer;
  transform-origin: 13px 15px;
  will-change: transform;
}

.fly-svg {
  display: block;
  filter: drop-shadow(0 0 4px rgba(255, 102, 0, 0));
  transition: filter 0.25s ease;
}

.fly:hover .fly-svg {
  filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.6));
}

@keyframes fly-bob {
  0%, 100% { transform: translateY(0px) scaleY(1); }
  50%       { transform: translateY(-1px) scaleY(0.97); }
}

.fly.walking .fly-svg {
  animation: fly-bob 0.22s ease-in-out infinite;
}

@keyframes fly-wing-beat {
  0%, 100% { transform: rotate(-20deg) scaleX(1); }
  50%       { transform: rotate(-25deg) scaleX(0.92); }
}

/* ── Fly Tooltip ──────────────────────────────────────────────── */
.fly-tooltip-global {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fly-tooltip-global.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.fly-tooltip-global {
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: 10px;
  padding: 0.875rem 1.125rem;
  min-width: 180px;
  max-width: 240px;
  backdrop-filter: blur(16px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 20px rgba(255, 102, 0, 0.08);
}

.fly-tooltip-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.fly-tooltip-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.fly-tooltip-location,
.fly-tooltip-date {
  font-size: 12px;
  color: var(--text-sec);
  font-style: italic;
}

.fly-tooltip-location::before { content: ""; }
.fly-tooltip-date::before     { content: ""; }

.fly-tooltip-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  pointer-events: all;
  transition: opacity 0.15s ease;
}

/* ── Career Page ──────────────────────────────────────────────── */

/* Hero actions */
.career-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

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

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.benefit-card:hover {
  border-color: rgba(232, 98, 26, 0.25);
  transform: translateY(-2px);
}

.benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-dim);
  border-radius: 8px;
  color: var(--brand);
}

.benefit-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.benefit-text {
  font-size: 0.85rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* Jobs list */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.job-card__left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.job-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.job-card__sep {
  color: var(--text-muted);
  font-size: 12px;
}

.job-card:not(.job-card--coming-soon):not(.job-card--empty):hover {
  border-color: rgba(232, 98, 26, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.job-card__view {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.job-card__view:hover { color: var(--brand); }

.job-card--coming-soon {
  opacity: 0.45;
  pointer-events: none;
}
.job-card--empty {
  pointer-events: none;
  border-style: dashed;
  opacity: 0.6;
}
.job-card__empty-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.job-card__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-card__team {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: var(--brand-dim);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}

.job-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.job-card__location {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.job-card__badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
}
.job-card__badge--fulltime {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.2);
}
.job-card__badge--parttime {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
}
.job-card__badge--internship {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.08);
  border-color: rgba(192, 132, 252, 0.2);
}

/* ── Job Detail Page ────────────────────────────────────────── */
.job-detail-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.job-detail-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
}
.job-detail-wrap {
  max-width: 720px;
}
.job-detail-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.job-detail-section {}
.job-detail-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}
.job-detail-text {
  color: var(--text-muted);
  line-height: 1.75;
}
.job-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.job-detail-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}
.job-detail-list li::before {
  content: '→';
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 1px;
}
.job-detail-list--muted li::before {
  color: var(--text-muted);
}
.job-detail-apply {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.job-apply-form-wrap {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
  max-height: 2400px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.4s ease,
              margin-top 0.4s ease;
  opacity: 1;
}
.job-apply-form-wrap--collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  border-top-color: transparent;
}
.job-apply-form-wrap .job-detail-heading {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.job-apply-form-wrap .contact-layout {
  grid-template-columns: 1fr 260px;
  gap: 3.5rem;
}

.jobs-open-cta {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-sec);
}

.jobs-open-cta a {
  color: var(--brand);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.jobs-open-cta a:hover {
  opacity: 0.75;
}

/* File input */
.career-file-input {
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--text-sec);
}

.career-file-input::file-selector-button {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-sec);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  padding: 0.3rem 0.8rem;
  margin-right: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.career-file-input::file-selector-button:hover {
  border-color: rgba(232, 98, 26, 0.4);
  color: var(--text);
}

/* Select input */
.contact-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .job-card__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

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

  .career-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.fly-tooltip-link:hover { opacity: 0.75; }

/* ── Page Subnav ──────────────────────────────────────────────── */
.page-subnav {
  position: sticky;
  z-index: 90;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.page-subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-subnav-inner::-webkit-scrollbar { display: none; }

.page-subnav-link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.page-subnav-link:hover {
  color: var(--text-sec);
}

.page-subnav-link.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* ── Pillar header (icon + title inline) ─────────────────────── */
.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pillar-header .pillar-icon-wrap {
  margin-bottom: 0;
  flex-shrink: 0;
}

.pillar-header .pillar-title {
  margin-bottom: 0;
}

/* ── Disease table ────────────────────────────────────────────── */
.disease-table-wrap {
  overflow-x: auto;
}

.disease-table-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sec);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.disease-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.disease-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
}

.disease-table td {
  padding: 0.75rem 1rem;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.disease-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

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

.disease-table tbody tr:hover td {
  background: var(--elevated);
}

/* ── Survival chart ───────────────────────────────────────────── */
.survival-chart-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  background: var(--elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem 0.75rem;
  height: 320px;   /* matches .approach-img default height */
  box-sizing: border-box;
  overflow: hidden;
}

/* Standardise all measurement-box graph containers */
.measurement-box .approach-img {
  object-fit: contain;
  background: var(--elevated);
  padding: 1rem;
  border-radius: var(--radius);
}

/* ── Pipeline Chart ───────────────────────────────────────────── */
.pipeline-wrap {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem 1.5rem;
  overflow-x: auto;
  min-width: 500px;
}

/* Every row (header + data) shares the same 6-column grid */
.pipeline-row {
  display: grid;
  grid-template-columns: 180px repeat(5, 1fr);
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pipeline-row--header {
  min-height: auto;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.pipeline-row--last {
  border-bottom: none;
}

/* Header stage cells */
.pipeline-stage {
  padding: 0.4rem 0.5rem;
  text-align: center;
  border-left: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pipeline-stage--reached {
  color: rgba(254,102,3,0.8);
}
.pipeline-stage--complete {
  color: rgba(254,102,3,0.9);
  font-weight: 700;
}
.pipeline-stage--started {
  color: rgba(254,102,3,0.7);
  background: rgba(254,102,3,0.08);
  border-radius: 4px;
}

/* Compound label cell */
.pipeline-compound {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-right: 1rem;
}

.pipeline-compound-id {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.pipeline-compound-area {
  font-size: 11px;
  color: var(--text-muted);
}

/* Arrow bars — body + tip flex layout, positioned via inline grid-column */
.pipeline-bar {
  display: flex;
  align-items: center;
  align-self: center;
  height: 30px;
}

.pb-body {
  flex: 1;
  height: 100%;
}

.pb-tip {
  width: 0;
  flex-shrink: 0;
}

/* Filled (JUVION-001) */
.pipeline-bar--filled .pb-body {
  background: rgba(254,102,3,0.2);
  border-top: 1.5px solid rgba(254,102,3,0.6);
  border-bottom: 1.5px solid rgba(254,102,3,0.6);
  border-left: 1.5px solid rgba(254,102,3,0.6);
}

.pipeline-bar--filled .pb-tip {
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 16px solid rgba(254,102,3,0.55);
}

/* Outline (JUVION-002, JUVION-003) — double-triangle trick for hollow tip */
.pipeline-bar--outline .pb-body {
  background: transparent;
  border-top: 1.5px solid rgba(255,255,255,0.18);
  border-bottom: 1.5px solid rgba(255,255,255,0.18);
  border-left: 1.5px solid rgba(255,255,255,0.18);
}

.pipeline-bar--outline .pb-tip {
  position: relative;
  width: 16px;
  height: 30px;
}

.pipeline-bar--outline .pb-tip::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 16px solid rgba(255,255,255,0.18);
}

.pipeline-bar--outline .pb-tip::after {
  content: '';
  position: absolute;
  top: 1.5px; left: 0;
  width: 0;
  border-top: 13.5px solid transparent;
  border-bottom: 13.5px solid transparent;
  border-left: 14px solid #141414; /* matches var(--elevated) = pipeline-wrap bg */
}

/* Legend */
.pipeline-legend {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.pipeline-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.pipeline-legend-swatch {
  display: inline-flex;
  align-items: center;
  width: 36px;
  height: 14px;
  flex-shrink: 0;
}

.pipeline-legend-swatch .pb-body {
  flex: 1;
  height: 100%;
}

.pipeline-legend-swatch .pb-tip {
  width: 0;
  flex-shrink: 0;
}

.pipeline-legend-swatch--filled .pb-body {
  background: rgba(254,102,3,0.25);
  border-top: 1.5px solid rgba(254,102,3,0.6);
  border-bottom: 1.5px solid rgba(254,102,3,0.6);
  border-left: 1.5px solid rgba(254,102,3,0.6);
}

.pipeline-legend-swatch--filled .pb-tip {
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid rgba(254,102,3,0.55);
}

.pipeline-legend-swatch--outline .pb-body {
  background: transparent;
  border-top: 1.5px solid rgba(255,255,255,0.18);
  border-bottom: 1.5px solid rgba(255,255,255,0.18);
  border-left: 1.5px solid rgba(255,255,255,0.18);
}

.pipeline-legend-swatch--outline .pb-tip {
  position: relative;
  width: 8px;
  height: 14px;
}

.pipeline-legend-swatch--outline .pb-tip::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid rgba(255,255,255,0.18);
}

.pipeline-legend-swatch--outline .pb-tip::after {
  content: '';
  position: absolute;
  top: 1.5px; left: 0;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  border-left: 6px solid #141414;
}

/* ── Pipeline solid bars (3 fill levels matching reference image) ── */
.pipeline-bar--solid .pb-body {
  flex: 1;
  height: 100%;
}

.pipeline-bar--solid .pb-tip {
  width: 0;
  flex-shrink: 0;
}

/* Level 3 — full progress (JUVION-001) */
.pipeline-bar--l3 .pb-body {
  background: rgba(254, 102, 3, 0.82);
}
.pipeline-bar--l3 .pb-tip {
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 18px solid rgba(254, 102, 3, 0.82);
}

/* Level 2 — mid progress (JUVION-002) */
.pipeline-bar--l2 .pb-body {
  background: rgba(254, 102, 3, 0.52);
}
.pipeline-bar--l2 .pb-tip {
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 18px solid rgba(254, 102, 3, 0.52);
}

/* Level 1 — early (JUVION-003) */
.pipeline-bar--l1 .pb-body {
  background: rgba(254, 102, 3, 0.28);
}
.pipeline-bar--l1 .pb-tip {
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 18px solid rgba(254, 102, 3, 0.28);
}

/* Legend swatches for solid levels */
.pipeline-legend-swatch--l3 .pb-body { background: rgba(254,102,3,0.82); }
.pipeline-legend-swatch--l3 .pb-tip  { border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid rgba(254,102,3,0.82); }

.pipeline-legend-swatch--l2 .pb-body { background: rgba(254,102,3,0.52); }
.pipeline-legend-swatch--l2 .pb-tip  { border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid rgba(254,102,3,0.52); }

.pipeline-legend-swatch--l1 .pb-body { background: rgba(254,102,3,0.28); }
.pipeline-legend-swatch--l1 .pb-tip  { border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid rgba(254,102,3,0.28); }

/* ── Compound detail section ────────────────────────────────── */
.pipeline-compound-detail {
  max-width: 760px;
}

.pcd-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pcd-tag {
  display: flex;
  align-items: center;
  height: 28px;
  width: 72px;
  flex-shrink: 0;
}

.pcd-id {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}

.pcd-area {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 0.25rem;
}

.pcd-stages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.pcd-stage {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.pcd-stage--reached {
  background: rgba(254, 102, 3, 0.15);
  color: var(--brand);
  border: 1px solid rgba(254, 102, 3, 0.35);
}

.pcd-stage--next {
  background: rgba(254, 102, 3, 0.06);
  color: rgba(254, 102, 3, 0.6);
  border: 1px solid rgba(254, 102, 3, 0.2);
}

.pcd-stage--future {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.pcd-stage-arrow {
  color: var(--brand);
  font-size: 12px;
  opacity: 0.6;
}

.pcd-stage-arrow--muted {
  color: var(--text-muted);
  opacity: 0.4;
}

.pcd-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pcd-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-sec);
}
