/* =========================================================
   ArpiVita
   Black + cyan + off-white. Editorial, not template-y.
   ========================================================= */

:root {
  --bg:           #0b0d11;
  --bg-2:         #14181e;
  --bg-3:         #1a1f27;
  --bg-4:         #20262f;

  --cyan:         #4FC3DC;
  --cyan-bright:  #7FD8E8;
  --cyan-warm:    #6FB8C7;
  --cyan-deep:    #2A7A92;
  --cyan-dim:     #1a3a48;

  --ink:          #ebebe5;
  --ink-soft:     #b6bdc4;
  --ink-mute:     #7c8590;
  --ink-faint:    #4a525c;

  --line:         #262e38;
  --line-bright:  #313945;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --ease:      cubic-bezier(0.33, 1, 0.68, 1);
  --ease-back: cubic-bezier(0.34, 1.4, 0.64, 1);
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--cyan); color: #000; }

/* =========================================================
   Type scale — varied, not "design system"
   ========================================================= */
.serif { font-family: var(--serif); }
.italic { font-style: italic; }

/* =========================================================
   Reveal — subtle
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.28s; }
.reveal[data-delay="4"] { transition-delay: 0.38s; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 13, 17, 0.92);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  transition: padding 0.3s;
}
.nav.scrolled .nav-inner { padding: 12px 32px; }

.logo {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo-img {
  width: 52px; height: 52px;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}
.logo:hover .logo-img { transform: rotate(60deg); }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--cyan-warm);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.cta-btn {
  background: transparent;
  color: var(--ink);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  border: 1px solid var(--line-bright);
  transition: all 0.3s var(--ease);
}
.cta-btn:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
}

/* Mobile nav toggle (hamburger) — hidden on desktop, revealed at 720px */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-bright);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan-warm); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.3s var(--ease);
}
.nav-toggle:hover span { background: var(--cyan-warm); }
.nav-toggle.open { border-color: var(--cyan-warm); }
.nav-toggle.open span { background: var(--cyan-warm); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO — asymmetric, editorial
   ========================================================= */
.hero {
  position: relative;
  padding: 110px 32px 100px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, 90%);
  aspect-ratio: 1 / 1;
  background-image: url("logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 80px;
  align-items: start;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--ink-mute);
}
.hero-meta-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.hero-meta-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 60px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 900px;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--cyan-warm);
}

.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--cyan);
  color: #000;
}
.btn-primary:hover {
  background: var(--cyan-bright);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-bright);
}
.btn-secondary:hover {
  border-color: var(--cyan-warm);
  color: var(--cyan-warm);
}
.btn-text {
  color: var(--cyan-warm);
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px solid var(--cyan-dim);
  transition: border-color 0.3s, color 0.3s;
}
.btn-text:hover {
  color: var(--cyan-bright);
  border-bottom-color: var(--cyan);
}

.hero-aside {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-aside .label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cyan-warm);
  font-size: 15px;
  margin-bottom: 12px;
  display: block;
}
.hero-aside p { margin-bottom: 14px; }
.hero-aside p:last-child { margin-bottom: 0; }

/* =========================================================
   GENERIC SECTION
   ========================================================= */
section { position: relative; }
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-divider hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* =========================================================
   PIPELINE — three sections stacked, not a row of identical cards
   ========================================================= */
.pipeline {
  padding: 100px 0;
}

.pipeline-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 70px;
  align-items: end;
}
.pipeline-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.pipeline-intro h2 em {
  color: var(--cyan-warm);
  font-weight: 300;
}
.pipeline-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.stages {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stage {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
  position: relative;
}
.stage:last-child {
  border-bottom: 1px solid var(--line);
}
.stage:hover {
  padding-left: 24px;
}
.stage::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: width 0.5s var(--ease);
}
.stage:hover::before { width: 12px; }

.stage-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 60px;
  font-weight: 200;
  color: var(--ink-faint);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.4s;
}
.stage:hover .stage-num { color: var(--cyan-warm); }

.stage-body h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.stage-body p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
}
.stage-arrow {
  color: var(--ink-mute);
  font-size: 20px;
  transition: color 0.4s, transform 0.4s var(--ease);
}
.stage:hover .stage-arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

/* =========================================================
   BEE VENOM SECTION — asymmetric two-column
   ========================================================= */
.venom-block {
  padding: 100px 0;
  background: var(--bg-2);
}
.venom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 90px;
  align-items: start;
}
.venom-text .small-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cyan-warm);
  font-size: 16px;
  margin-bottom: 16px;
}
.venom-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 600px;
}
.venom-text > p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 32px;
}
.venom-points {
  list-style: none;
  margin-bottom: 32px;
}
.venom-points li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  color: var(--ink);
  display: flex;
  gap: 16px;
}
.venom-points li::before {
  content: "→";
  color: var(--cyan-warm);
  flex-shrink: 0;
}
.venom-aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
}
.venom-aside .small-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--cyan-warm);
  margin-bottom: 16px;
  display: block;
}
.venom-aside p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.venom-aside p:last-of-type { margin-bottom: 20px; }

/* =========================================================
   PARTNERS — quiet horizontal scroll
   ========================================================= */
.partners {
  padding: 60px 0 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partners-head {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 32px;
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.partners-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--cyan-warm);
  flex-shrink: 0;
}
.partners-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.partners-note {
  font-size: 13px;
  color: var(--ink-mute);
}
.partners-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.partners-track {
  display: flex;
  gap: 70px;
  width: max-content;
  /* --partners-offset is set by the JS renderer based on how many copies it generates */
  --partners-offset: -50%;
  animation: partnersScroll 40s linear infinite;
  align-items: center;
}
.partners:hover .partners-track { animation-play-state: paused; }
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--partners-offset)); }
}
.partner-logo {
  display: flex;
  align-items: center;
  height: 60px;
  min-width: 180px;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}
.partner-logo:hover { opacity: 1; }
.partner-logo img { max-height: 100%; max-width: 100%; }

/* =========================================================
   PUBLICATIONS BRIDGE
   ========================================================= */
.pub-bridge {
  padding: 110px 0;
}
.pub-bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.pub-bridge .small-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cyan-warm);
  font-size: 16px;
  margin-bottom: 16px;
}
.pub-bridge h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.pub-bridge p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #07090c;
  padding: 70px 32px 28px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 320px;
}
.footer-cols h4 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--cyan-warm);
  font-weight: 400;
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.footer-cols a:hover { color: var(--cyan-warm); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 20px;
  font-size: 13px;
  color: var(--ink-mute);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero .crumb {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
}
.page-hero .crumb a { color: var(--cyan-warm); }
.page-hero .crumb a:hover { color: var(--cyan-bright); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.page-hero h1 em {
  color: var(--cyan-warm);
  font-weight: 300;
}
.page-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
}

/* =========================================================
   PCTS SCHEMATIC (ex vivo page)
   ========================================================= */
.pcts-section {
  padding: 30px 0 20px;
}
.pcts-head {
  text-align: center;
  margin-bottom: 36px;
}
.pcts-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.005em;
  margin-bottom: 10px;
}
.pcts-lede {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}

.pcts-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  position: relative;
}
.pcts-stage {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 16px 18px;
  position: relative;
}
.pcts-stage + .pcts-stage::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--cyan-dim);
  transform: translateY(-50%);
}
.pcts-stage + .pcts-stage::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid var(--cyan-dim);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}
.pcts-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: var(--cyan-warm);
  margin-bottom: 6px;
  line-height: 1;
}
.pcts-stage-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.pcts-stage-sub {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .pcts-flow { grid-template-columns: repeat(2, 1fr); }
  .pcts-stage + .pcts-stage::before,
  .pcts-stage + .pcts-stage::after { display: none; }
}
@media (max-width: 600px) {
  .pcts-flow { grid-template-columns: 1fr; }
  .pcts-head h2 { font-size: 26px; }
}

/* Branching project-flow schematic (services page): brief -> 3 alternatives -> report */
.project-flow {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
}
.project-flow-col {
  display: flex;
  align-items: center;
  position: relative;
}
.project-flow-col .pcts-stage { flex: 1; }
.project-flow-fork {
  position: relative;
  padding: 0 6px;
}
.project-flow-fork-label {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--cyan-warm);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.project-flow-options {
  display: grid;
  gap: 24px;
}
.project-flow-options .pcts-stage { padding: 14px 16px; }
.pcts-stage--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.pcts-stage--link:hover {
  border-color: var(--cyan-warm);
  background: rgba(79, 195, 220, 0.06);
  transform: translateY(-2px);
}
.project-flow-options .pcts-num { font-size: 18px; margin-bottom: 4px; }
.project-flow-options .pcts-stage-title { font-size: 14px; margin-bottom: 4px; }
.project-flow-options .pcts-stage-sub { font-size: 12px; }

/* Suppress the default PCTS sibling-arrow rule inside the options stack
   (those are sized for horizontal layout; here we use explicit arrows). */
.project-flow-options .pcts-stage + .pcts-stage::before,
.project-flow-options .pcts-stage + .pcts-stage::after {
  content: none;
}
.project-flow .pcts-stage { position: relative; }

/* All three arrow types share the same dimensions and the same 4px clearance
   between the arrow and the cards on either end. The 24px column / option
   gap is split as: 4px clearance + 10px line + 6px arrowhead + 4px clearance. */

/* Inbound arrow into the middle option (Ex vivo) */
.pcts-arrow-in {
  position: absolute;
  left: -20px;       /* line starts 4px past Brief's right edge */
  top: 50%;
  width: 10px;       /* line is 10px */
  height: 1px;
  background: var(--cyan-dim);
  transform: translateY(-50%);
  pointer-events: none;
}
.pcts-arrow-in::after {
  content: "";
  position: absolute;
  right: -6px;       /* arrowhead extends 6px past the line, apex 4px before card */
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid var(--cyan-dim);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}

/* Outbound arrow from the middle option toward Report */
.pcts-arrow-out {
  position: absolute;
  right: -20px;      /* line ends 10px before Report's left edge */
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--cyan-dim);
  transform: translateY(-50%);
  pointer-events: none;
}
.pcts-arrow-out::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid var(--cyan-dim);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}

/* Vertical arrows between consecutive options (02→03 and 03→04). */
.pcts-arrow-down {
  position: absolute;
  top: -20px;        /* line starts 4px below previous card */
  left: 50%;
  width: 1px;
  height: 10px;      /* line is 10px tall */
  background: var(--cyan-dim);
  transform: translateX(-50%);
  pointer-events: none;
}
.pcts-arrow-down::after {
  content: "";
  position: absolute;
  top: 100%;         /* arrowhead immediately after line; apex 4px before this card */
  left: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid var(--cyan-dim);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .project-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pcts-arrow-in,
  .pcts-arrow-out,
  .pcts-arrow-down { display: none; }
}

/* =========================================================
   ASSAYS / FLIP CARDS
   ========================================================= */
.assays {
  padding: 70px 0 110px;
}
.assays-head {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.assays-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.assays-head .meta {
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 320px;
  text-align: right;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.flip-card {
  perspective: 1400px;
  height: 320px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.flip-card.in {
  opacity: 1;
  transform: translateY(0);
}
.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.8s cubic-bezier(0.6, 0.05, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner,
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card--no-flip { cursor: default; }
.flip-card--no-flip.flipped .flip-card-inner,
.flip-card--no-flip:hover .flip-card-inner {
  transform: none;
}

/* Route pointer events to the face that is currently facing the user.
   Without this, the hidden front face can still capture clicks on links
   that live on the back face (because backface-visibility: hidden
   does not disable pointer events in every browser). */
.flip-front { pointer-events: auto; }
.flip-back  { pointer-events: none; }
.flip-card:not(.flip-card--no-flip):hover .flip-front,
.flip-card.flipped .flip-front {
  pointer-events: none;
}
.flip-card:not(.flip-card--no-flip):hover .flip-back,
.flip-card.flipped .flip-back {
  pointer-events: auto;
}
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r);
  overflow: hidden;
}
.flip-front {
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease);
}
.flip-card:hover .flip-front { border-color: var(--cyan-warm); }

.flip-front-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
  filter: saturate(0.85);
}
.flip-card:hover .flip-front-image {
  transform: scale(1.05);
  filter: saturate(1);
}
.flip-front-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,17,0.55) 0%, rgba(11,13,17,0.15) 40%, rgba(11,13,17,0.5) 70%, rgba(11,13,17,0.92) 100%);
  pointer-events: none;
}
.flip-front-pattern {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 160px; height: 160px;
  opacity: 0.18;
  color: var(--cyan);
  pointer-events: none;
  transition: transform 0.9s var(--ease);
}
.flip-card:hover .flip-front-pattern { transform: rotate(30deg); }

.flip-front-content {
  position: relative; z-index: 2;
  flex: 1;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.3s ease-out;
}
.flip-card:hover .flip-front-content,
.flip-card.flipped .flip-front-content { opacity: 0; }
.flip-card:hover .flip-front-pattern,
.flip-card.flipped .flip-front-pattern { opacity: 0; }

.flip-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--cyan-warm);
  font-weight: 400;
}
.flip-num::before { content: "— "; opacity: 0.5; }

.flip-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: auto;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.flip-hint {
  font-size: 13px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  opacity: 0.75;
}

.flip-back {
  background: var(--bg-3);
  color: var(--ink);
  transform: rotateY(180deg);
  border: 1px solid var(--cyan-warm);
}
.flip-back-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
  transform: scaleX(-1);
  pointer-events: none;
}
.flip-back-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,18,26,0.55) 0%, rgba(8,18,26,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}
.flip-back.has-image { background: #0b1218; }

.flip-back.compact .flip-back-content { padding: 22px 22px; }
.flip-back.compact .flip-back-title { font-size: 15px; margin-bottom: 10px; padding-bottom: 8px; }
.flip-back.compact li { font-size: 13px; line-height: 1.4; padding: 6px 0 6px 13px; }
.flip-back.compact li::before { font-size: 17px; top: 6px; }
.flip-back-content {
  position: relative; z-index: 2;
  height: 100%;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s ease-in 0.4s;
}
.flip-card:hover .flip-back-content,
.flip-card.flipped .flip-back-content { opacity: 1; }

.flip-back-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--cyan-warm);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cyan-dim);
}
.flip-back.note-layout .flip-back-content {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.flip-back-title--center {
  border-bottom: none;
  padding-bottom: 0;
  font-size: 20px;
  margin-bottom: 14px;
}
.flip-back-note {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 240px;
}
.flip-back-cta {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(79, 195, 220, 0.08);
  border: 1px solid var(--cyan-warm);
  border-radius: var(--r-sm);
  color: var(--cyan-warm);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.flip-back-cta:hover {
  background: rgba(79, 195, 220, 0.18);
  transform: translateY(-2px);
}
.flip-back ul {
  list-style: none;
  flex-grow: 1;
  overflow-y: auto;
}
.flip-back li {
  font-size: 13.5px;
  line-height: 1.45;
  padding: 7px 0 7px 14px;
  position: relative;
  border-bottom: 1px solid rgba(79, 195, 220, 0.08);
}
.flip-back li::before {
  content: "·";
  position: absolute;
  left: 0; top: 7px;
  color: var(--cyan-warm);
  font-weight: 700;
  font-size: 18px;
}
.flip-back li:last-child { border: none; }
.flip-back ul::-webkit-scrollbar { width: 4px; }
.flip-back ul::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 2px; }

/* =========================================================
   BEE VENOM PAGE
   ========================================================= */
.venom-page-hero {
  padding: 90px 0 80px;
  border-bottom: 1px solid var(--line);
}
.venom-page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: center;
}
.venom-page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.venom-page-hero h1 em {
  color: var(--cyan-warm);
  font-weight: 300;
}
.venom-page-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
}

.venom-info { padding: 90px 0; }
.venom-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-card {
  padding: 32px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.info-card:hover {
  border-color: var(--cyan-warm);
  transform: translateY(-3px);
}
.info-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}
.info-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.venom-process {
  padding: 90px 0;
  background: var(--bg-2);
}
.venom-process .head {
  margin-bottom: 50px;
  max-width: 700px;
}
.venom-process .head .small-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cyan-warm);
  font-size: 16px;
  margin-bottom: 14px;
  display: block;
}
.venom-process .head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  padding-top: 50px;
  position: relative;
  counter-increment: step;
}
.process-steps { counter-reset: step; }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  font-weight: 200;
  color: var(--cyan-warm);
  line-height: 1;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.purchase-note {
  margin-top: 60px;
  padding: 32px 36px;
  background: var(--bg);
  border-left: 2px solid var(--cyan-warm);
  border-radius: var(--r-sm);
}
.purchase-note h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 500;
}
.purchase-note p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.6;
}

/* =========================================================
   PUBLICATIONS PAGE
   ========================================================= */
.pubs { padding: 70px 0 110px; }
.pubs-wrap { max-width: 1000px; margin: 0 auto; padding: 0 32px; }

.pub-filters {
  display: flex; gap: 8px; margin-bottom: 36px;
  flex-wrap: wrap;
}
.pub-filter {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--line-bright);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.pub-filter:hover { border-color: var(--cyan-warm); color: var(--cyan-warm); }
.pub-filter.active {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
}

.pub-list { display: flex; flex-direction: column; }
.pub-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  font-style: italic;
  border: 1px dashed var(--line);
  border-radius: var(--r);
}
.pub-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 28px;
  padding: 26px 12px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s, padding 0.4s var(--ease);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), background 0.4s, padding 0.4s var(--ease);
}
.pub-item.in { opacity: 1; transform: translateY(0); }
.pub-item:hover { background: var(--bg-2); padding-left: 20px; }

.pub-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  font-weight: 300;
  color: var(--cyan-warm);
}
.pub-content h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}
.pub-content h3 a { color: inherit; transition: color 0.3s; }
.pub-content h3 a:hover { color: var(--cyan-warm); }
.pub-link-arrow {
  color: var(--cyan-warm);
  font-size: 0.7em;
  margin-left: 4px;
}
.pub-authors {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 4px;
}
.pub-journal {
  font-size: 13px;
  color: var(--ink-mute);
}
.pub-journal em { color: var(--cyan-warm); font-style: italic; }
.pub-tag {
  padding: 4px 12px;
  background: transparent;
  border: 1px solid var(--cyan-dim);
  border-radius: var(--r-sm);
  font-size: 11.5px;
  color: var(--cyan-warm);
  white-space: nowrap;
}

/* =========================================================
   PUBLICATION DETAIL PAGE
   ========================================================= */
.paper-page {
  padding: 80px 0 110px;
}
.paper-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

.paper-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.paper-back {
  color: var(--cyan-warm);
  transition: color 0.3s;
}
.paper-back:hover { color: var(--cyan-bright); }
.paper-divider { color: var(--ink-faint); }
.paper-year {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cyan-warm);
  font-size: 15px;
}

.paper-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.paper-title em { font-style: italic; color: var(--cyan-warm); font-weight: 300; }

.paper-authors {
  font-size: 15px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 6px;
}
.paper-journal {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 50px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.paper-section {
  margin-bottom: 50px;
}
.paper-section h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--cyan-warm);
  margin-bottom: 20px;
}
.paper-section h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 4px;
}

.paper-prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 70ch;
  text-align: justify;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.paper-prose p:last-child { margin-bottom: 0; }
.paper-prose em { color: var(--ink); font-style: italic; }

.paper-findings {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.paper-findings li {
  padding: 14px 0 14px 28px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
}
.paper-findings li::before {
  content: "→";
  position: absolute;
  left: 0; top: 14px;
  color: var(--cyan-warm);
}
.paper-findings li:last-child { border-bottom: none; }

.paper-methods {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding: 20px 24px;
  background: var(--bg-2);
  border-left: 2px solid var(--cyan-dim);
  border-radius: var(--r-sm);
}

/* Data tabs (in vitro / in vivo etc.) */
.data-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.data-tab {
  padding: 12px 22px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-mute);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  margin-bottom: -1px;
}
.data-tab:hover { color: var(--cyan-warm); }
.data-tab.active {
  color: var(--cyan-warm);
  border-bottom-color: var(--cyan-warm);
}

.data-panels { position: relative; }
.data-panel { display: none; }
.data-panel.active { display: block; }

/* Charts */
.paper-charts {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.paper-charts--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.paper-charts-group {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 8px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.paper-charts-group + .paper-charts { margin-bottom: 36px; }
.paper-charts--grid .paper-chart { padding: 20px 18px 18px; }
.paper-charts--grid .paper-chart-canvas-wrap { height: 280px; }
@media (max-width: 1100px) {
  .paper-charts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .paper-charts--grid { grid-template-columns: 1fr; }
}
.paper-chart {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 28px 24px;
}
.paper-chart-head {
  margin-bottom: 18px;
}
.paper-chart-head h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.paper-chart-head p {
  font-size: 13.5px;
  color: var(--ink-mute);
  font-style: italic;
}
.paper-chart-canvas-wrap {
  position: relative;
  height: 340px;
  width: 100%;
}

.paper-cta {
  padding-top: 8px;
}

.paper-footnote {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
}

.paper-not-found {
  text-align: center;
  padding: 80px 0;
}
.paper-not-found h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  margin-bottom: 16px;
}
.paper-not-found p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .paper-page { padding: 50px 0 80px; }
  .paper-wrap { padding: 0 20px; }
  .paper-chart { padding: 20px 18px; }
  .paper-chart-canvas-wrap { height: 280px; }
  .paper-section { margin-bottom: 36px; }
  .paper-journal { margin-bottom: 36px; padding-bottom: 22px; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact { padding: 80px 0 110px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.contact-info h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.contact-info h1 em { color: var(--cyan-warm); font-weight: 300; }
.contact-info > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.contact-detail {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact-detail h4 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--cyan-warm);
  margin-bottom: 4px;
  font-weight: 400;
}
.contact-detail p {
  font-size: 15px;
  color: var(--ink);
}

.form {
  background: var(--bg-2);
  padding: 38px;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-warm);
}
.field textarea { min-height: 110px; resize: vertical; font-family: var(--sans); }
.form button {
  background: var(--cyan);
  color: #000;
  padding: 13px 26px;
  border: none;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}
.form button:hover { background: var(--cyan-bright); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid,
  .venom-grid,
  .pipeline-intro,
  .pub-bridge-grid,
  .contact-grid,
  .venom-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .venom-info-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .stage {
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    padding: 32px 0;
  }
  .stage-num { font-size: 44px; }
}
@media (max-width: 720px) {
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .nav-toggle { display: flex; }
  .nav .cta-btn { display: none; }

  /* Slide-down drawer */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 20px 20px;
    background: rgba(11, 13, 17, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0s;
  }
  .nav-links a {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--ink-soft);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active { color: var(--cyan-warm); }
  .nav-links a::after { display: none; }

  .hero { padding: 60px 20px 70px; }
  .hero::before {
    width: 110%;
    top: 20%;
    opacity: 0.06;
  }
  .wrap, .pubs-wrap { padding: 0 20px; }
  .pipeline, .venom-block, .pub-bridge, .venom-info, .venom-process, .assays, .pubs, .contact {
    padding-left: 0; padding-right: 0;
  }
  .stage {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .stage-num { font-size: 32px; margin-bottom: 4px; }
  .stage-arrow { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .footer { padding: 48px 20px 24px; }
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
    padding-bottom: 28px;
  }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 4px; }
  .footer-brand p { font-size: 13.5px; max-width: none; }
  .footer-cols h4 { margin-bottom: 8px; font-size: 15px; }
  .footer-cols a { font-size: 13.5px; padding: 3px 0; }
  .footer-bottom { padding-top: 18px; font-size: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
  .assays-head { grid-template-columns: 1fr; gap: 16px; }
  .assays-head .meta { text-align: left; }
  .pub-item { grid-template-columns: 50px 1fr; padding: 22px 8px; }
  .pub-tag { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
  .pipeline-intro { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
