.rna-morph {
  margin: 38px 0 44px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid #e6e5ee;
  border-radius: 24px;
  background: linear-gradient(140deg, #fff, #faf9ff);
}
.rna-morph-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rna-morph-heading h3 { margin: 8px 0 0; font-size: clamp(20px, 3vw, 28px); letter-spacing: -.03em; }
.rna-morph-heading button { font-size: 13px; }
.rna-morph-heading button[hidden] { display: none; }
.rna-morph-steps { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 48px); margin-top: 30px; font-size: clamp(12px, 1.7vw, 16px); font-weight: 600; }
.rna-morph-steps small { display: block; font-weight: 400; font-size: .85em; color: var(--muted); margin-top: 4px; }
.rna-morph-step-arrow { min-width: 96px; color: var(--primary); font-size: 26px; text-align: center; }
.rna-morph-step-arrow small { color: var(--primary-dark); font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rna-morph svg { width: 100%; max-width: 850px; margin: 8px auto 0; }
.rna-morph figcaption { text-align: center; color: var(--muted); font-size: 13px; }
.rna-morph figcaption p { margin: 12px 0 4px; }
.rna-morph figcaption small { font-size: 11px; }
.rna-morph-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.rna-morph-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rna-morph-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--gene-color); }

:root {
  --ink: #17162d;
  --ink-soft: #292740;
  --muted: #68667c;
  --muted-light: #666377;
  --primary: #6654d9;
  --primary-dark: #4c38c5;
  --primary-soft: #f0edff;
  --cyan: #2c91b7;
  --cyan-soft: #e9f7fc;
  --green: #0d715d;
  --green-soft: #eaf8f3;
  --rose: #cf5f82;
  --amber: #a87408;
  --amber-soft: #fff7dc;
  --paper: #ffffff;
  --wash: #f7f7fa;
  --wash-purple: #f8f7ff;
  --line: #e6e5ee;
  --line-dark: #d8d6e4;
  --shadow-sm: 0 5px 20px rgba(38, 32, 81, 0.06);
  --shadow-md: 0 20px 60px rgba(38, 32, 81, 0.1);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --page: 1180px;
  --header-height: 66px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--primary);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:where(a, button):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(calc(100% - 48px), var(--page));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 118px 0;
}

.section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section h3,
.section p {
  margin-top: 0;
}

.eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow-center {
  justify-content: center;
}

.mono-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(225, 224, 235, 0.9);
  box-shadow: 0 4px 20px rgba(31, 27, 65, 0.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.brand-mark > circle:first-child {
  fill: var(--primary-soft);
  stroke: var(--primary);
  stroke-width: 1.7;
}

.brand-mark > circle:not(:first-child) {
  fill: var(--primary);
  stroke: none;
}

.brand-mark > circle:nth-child(3) {
  fill: var(--green);
}

.brand-mark > circle:nth-child(4) {
  fill: var(--rose);
}

.brand-mark > circle:nth-child(5) {
  fill: var(--amber);
}

.site-nav {
  display: flex;
  gap: 29px;
  align-items: center;
}

.site-nav a {
  position: relative;
  color: #4c4a5e;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:not(.nav-code)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1.5px;
  content: "";
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary-dark);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-code {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 13px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
}

.nav-code-disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.site-nav .nav-code:hover {
  color: #fff;
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + 84px) 0 46px;
  overflow: hidden;
  background:
    linear-gradient(rgba(102, 84, 217, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 84, 217, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fff 0%, #fff 72%, #faf9ff 100%);
  background-size: 54px 54px, 54px 54px, auto;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 170px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(248, 247, 255, 0.92));
}

.hero-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-orb-one {
  top: 80px;
  right: -130px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(114, 87, 224, 0.15), rgba(114, 87, 224, 0) 68%);
}

.hero-orb-two {
  bottom: 80px;
  left: -210px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(36, 173, 164, 0.11), rgba(36, 173, 164, 0) 69%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  max-width: 980px;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.3rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.hero-copy h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin-top: .12em;
  color: var(--primary-dark);
  font-size: .68em;
  font-weight: 600;
  line-height: 1.08;
}

.hero-copy h1 em::after {
  position: absolute;
  right: -2px;
  bottom: 5px;
  left: -2px;
  z-index: -1;
  height: 14px;
  content: "";
  background: rgba(102, 84, 217, 0.12);
  transform: rotate(-1deg);
}

.hero-deck {
  max-width: 780px;
  margin: 32px 0 30px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.73;
}

.hero-deck strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 45px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 9px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.button-muted {
  color: #5f5c70;
  cursor: default;
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.button-muted small {
  color: #666377;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-outline {
  color: var(--ink);
  cursor: pointer;
  background: #fff;
  border-color: var(--line-dark);
}

.button-outline:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
}

.release-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.77rem;
}

.release-note strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: #d69b1d;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(214, 155, 29, 0.13);
}

.hero-visual {
  padding: 16px 16px 13px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(218, 216, 232, 0.92);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(42, 35, 91, 0.13);
  backdrop-filter: blur(16px);
}

.visual-topline {
  display: flex;
  min-height: 42px;
  padding: 0 4px 12px 8px;
  align-items: center;
  justify-content: space-between;
}

.protocol-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #f0eff6;
  border-radius: 9px;
}

.protocol-switch button {
  padding: 6px 11px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 600;
}

.protocol-switch button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 27, 65, 0.08);
}

.cell-stage {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(95, 199, 213, 0.11), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(139, 108, 222, 0.13), transparent 40%),
    #fafafd;
  border: 1px solid #eeedf4;
  border-radius: 17px;
}

.cell-stage svg {
  width: 100%;
}

.cell-body {
  stroke: #aaa5c9;
  stroke-width: 2;
  transition: stroke 0.25s ease, filter 0.25s ease;
}

.target-body {
  stroke: #8d80d4;
}

.nucleus {
  fill: rgba(105, 87, 219, 0.08);
  stroke: rgba(105, 87, 219, 0.2);
  stroke-width: 1.2;
}

.task-arrow path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-dasharray: 6 5;
}

.task-arrow rect {
  fill: #fff;
  stroke: #ddd9f2;
  stroke-width: 1;
}

.task-arrow text {
  fill: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.task-arrow .arrow-note {
  fill: var(--muted-light);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cell-kicker {
  fill: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.cell-name {
  fill: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.rna-dot {
  opacity: 0.88;
  transform-box: fill-box;
  transform-origin: center;
}

.cell-stage[data-mode="joint"] .target-body {
  stroke: var(--green);
}

.cell-stage[data-mode="joint"] #target-rna .rna-dot:nth-child(3n) {
  opacity: 0.45;
}


.protocol-caption {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 12px;
  padding: 14px 8px 8px;
  align-items: start;
}

.caption-index {
  display: grid;
  width: 29px;
  height: 29px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 50%;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
}

.protocol-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.protocol-caption strong {
  color: var(--ink-soft);
}

.gene-legend {
  display: flex;
  gap: 16px;
  padding: 8px 8px 2px 53px;
  color: var(--muted-light);
  flex-wrap: wrap;
  font-size: 0.75rem;
}

.gene-legend span {
  display: flex;
  gap: 5px;
  align-items: center;
}

.gene-legend i {
  width: 7px;
  height: 7px;
  background: var(--gene-color);
  border-radius: 50%;
}

.schematic-note {
  margin: 5px 8px 0 53px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.45;
}

.stat-rail {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 72px;
  padding-top: 12px;
}

.stat-item {
  display: flex;
  min-height: 60px;
  padding: 0 24px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border: 0;
}

.stat-value {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.stat-label {
  margin-top: 8px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-editorial {
  background: #fff;
}

.paper-meta {
  margin-bottom: 76px;
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(135deg, #fbfaff, #f5fbfb);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.paper-authors {
  display: flex;
  gap: 10px 24px;
  margin: 20px 0 0;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.paper-authors a:hover,
.paper-contact a:hover {
  color: var(--primary-dark);
}

.paper-authors sup,
.paper-affiliations sup,
.paper-contact sup {
  color: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: .62em;
}

.paper-affiliations,
.paper-contact {
  display: flex;
  gap: 8px 24px;
  margin: 18px 0 0;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .82rem;
}

.paper-contact {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: 110px;
  align-items: start;
}

.editorial-copy {
  padding-top: 48px;
}

.editorial-copy p {
  max-width: 660px;
  color: var(--muted);
}

.editorial-copy .lead-copy {
  color: var(--ink-soft);
  font-size: 1.22rem;
  line-height: 1.65;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 76px;
}

.concept-card {
  position: relative;
  min-height: 320px;
  padding: 28px 28px 26px;
  overflow: hidden;
  background: #fbfbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.concept-card:hover {
  border-color: #d5d1ef;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.concept-number {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.concept-card h3 {
  margin: 22px 0 9px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.25;
}

.concept-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.concept-icon {
  position: relative;
  width: 130px;
  height: 108px;
  margin-top: 22px;
}

.icon-points {
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-radius: 49% 42% 54% 47%;
  transform: rotate(-4deg);
}

.icon-points i {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
}

.icon-points i:nth-child(1) { top: 22px; left: 33px; }
.icon-points i:nth-child(2) { top: 48px; left: 79px; background: var(--green); }
.icon-points i:nth-child(3) { top: 73px; left: 45px; background: var(--rose); }
.icon-points i:nth-child(4) { top: 27px; left: 96px; width: 6px; height: 6px; }
.icon-points i:nth-child(5) { top: 77px; left: 98px; background: var(--amber); }
.icon-points i:nth-child(6) { top: 50px; left: 21px; width: 6px; height: 6px; background: var(--cyan); }

.icon-population {
  width: 150px;
}

.icon-population i {
  position: absolute;
  width: 78px;
  height: 78px;
  background: var(--cyan-soft);
  border: 1px solid var(--line);
  border-radius: 50% 44% 48% 53%;
}

.icon-population i:nth-child(1) { top: 0; left: 0; }
.icon-population i:nth-child(2) { top: 27px; left: 39px; background: rgba(240, 237, 255, .85); border-color: #dcd5ff; }
.icon-population i:nth-child(3) { top: 7px; left: 77px; background: rgba(234, 248, 243, .85); border-color: var(--line); }

.icon-separate {
  display: flex;
  width: 155px;
  align-items: center;
  justify-content: space-between;
}

.icon-separate i {
  display: grid;
  width: 55px;
  height: 55px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 700;
}

.icon-separate i:last-child {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--line);
}

.icon-separate span {
  width: 30px;
  height: 1px;
  background: var(--line-dark);
}

.overview-figure {
  margin-top: 86px;
}

.figure-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 18px;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.figure-button img {
  width: 100%;
  border-radius: 10px;
}

.expand-hint {
  position: absolute;
  right: 30px;
  bottom: 30px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(23, 22, 45, 0.82);
  border-radius: 7px;
  font-size: 0.68rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.figure-button:hover .expand-hint,
.figure-button:focus-visible .expand-hint {
  opacity: 1;
  transform: translateY(0);
}

.overview-figure figcaption {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.overview-figure figcaption span {
  color: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.task-section {
  background: var(--wash-purple);
  border-top: 1px solid #eeecf8;
  border-bottom: 1px solid #eeecf8;
}

.center-heading {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.center-heading > p {
  max-width: 680px;
  margin: 23px auto 0;
  color: var(--muted);
}

.protocol-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.protocol-card {
  position: relative;
  min-height: 455px;
  padding: 34px 34px 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.protocol-card::before {
  position: absolute;
  top: -90px;
  right: -60px;
  width: 260px;
  height: 260px;
  content: "";
  background: radial-gradient(circle, rgba(102, 84, 217, 0.12), transparent 68%);
  border-radius: 50%;
}

.protocol-joint::before {
  background: radial-gradient(circle, rgba(22, 141, 114, 0.13), transparent 68%);
}

.protocol-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.protocol-chip {
  padding: 5px 9px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 600;
}

.protocol-joint .protocol-chip {
  color: var(--green);
  background: var(--green-soft);
}

.protocol-card h3 {
  position: relative;
  margin: 35px 0 10px;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.protocol-question {
  position: relative;
  max-width: 480px;
  min-height: 57px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.mini-pipeline {
  display: flex;
  min-height: 72px;
  gap: 8px;
  margin: 28px 0 26px;
  padding: 15px;
  align-items: center;
  justify-content: center;
  background: #fafafd;
  border: 1px solid #efedf5;
  border-radius: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.63rem;
}

.mini-pipeline span,
.mini-pipeline strong {
  padding: 6px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 500;
}

.mini-pipeline strong {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: var(--line);
}

.protocol-joint .mini-pipeline strong {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--line);
}

.mini-pipeline b {
  color: #666377;
  font-weight: 500;
}

.protocol-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protocol-card li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.protocol-card .check {
  color: var(--green);
  font-weight: 700;
}

.protocol-card .cross {
  color: var(--rose);
  font-weight: 700;
}

.benchmark-section {
  background: #fff;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.filter-bar {
  display: flex;
  gap: 7px;
  margin: 58px 0 24px;
  padding-bottom: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-bar button {
  display: inline-flex;
  min-width: max-content;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 600;
}

.filter-bar button span {
  display: grid;
  min-width: 19px;
  height: 19px;
  color: var(--muted-light);
  background: var(--wash);
  border-radius: 50%;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.filter-bar button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.filter-bar button.is-active span {
  color: #fff;
  background: rgba(255,255,255,.17);
}

.dataset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.dataset-card {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 3px 16px rgba(34, 30, 70, 0.035);
  transition: opacity 0.3s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dataset-card:hover {
  border-color: #d7d3ec;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.dataset-card.is-filtered {
  display: none;
}

.dataset-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dataset-id {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.track-tag {
  padding: 4px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.perturbation-tag {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.context-tag {
  color: var(--green);
  background: var(--green-soft);
}

.dataset-card h3 {
  margin: 25px 0 3px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.dataset-card > p {
  min-height: 44px;
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.dataset-card dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0 0;
}

.dataset-card dl div {
  min-width: 0;
}

.dataset-card dt {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dataset-card dd {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 29px;
  padding: 28px 30px;
  background: #fafafd;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.track-explainer > div {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 2px 10px;
  align-items: center;
}

.track-line {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 99px;
}

.line-purple { background: var(--primary); }
.line-green { background: var(--green); }

.track-explainer strong {
  font-size: 0.8rem;
}

.track-explainer p {
  grid-column: 2;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.baselines-section {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.baseline-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 90px;
  align-items: start;
}

.baseline-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.baseline-intro > p {
  max-width: 460px;
  margin: 26px 0;
  color: var(--muted);
}

.baseline-note {
  display: grid;
  max-width: 470px;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 14px;
  color: #6e664d;
  background: var(--amber-soft);
  border: 1px solid #f0dfaa;
  border-radius: 10px;
  font-size: 0.7rem;
  line-height: 1.55;
}

.baseline-note span {
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--amber);
  background: #fff;
  border-radius: 50%;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
}

.baseline-list {
  display: grid;
  gap: 26px;
}

.baseline-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.group-label {
  display: block;
  padding: 12px 19px;
  color: var(--muted-light);
  background: #fbfbfd;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.baseline-group article {
  display: grid;
  min-height: 76px;
  grid-template-columns: 38px 1fr auto;
  gap: 13px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid #efeff4;
  transition: background 0.2s ease;
}

.baseline-group article:last-child {
  border: 0;
}

.baseline-group article:hover {
  background: #faf9ff;
}

.baseline-group article > b {
  color: #6f6c7e;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.baseline-group h3 {
  margin: 0 0 1px;
  font-size: 0.85rem;
  font-weight: 600;
}

.baseline-group p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.baseline-group article > span {
  padding: 4px 7px;
  color: var(--muted);
  background: var(--wash);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.evaluation-section {
  background: #fff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 62px;
}

.metric-card {
  min-height: 370px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.metric-viz {
  position: relative;
  height: 150px;
  margin-bottom: 25px;
  overflow: hidden;
  background: #fafafd;
  border: 1px solid #eeeeF4;
  border-radius: 12px;
}

.metric-card .mono-label {
  color: var(--primary-dark);
}

.metric-card h3 {
  margin: 12px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.3;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.58;
}

.abundance-viz {
  display: flex;
  gap: 13px;
  padding: 28px 25px 20px;
  align-items: end;
}

.abundance-viz i {
  width: 25px;
  height: 30%;
  background: #d8d3fb;
  border-radius: 5px 5px 2px 2px;
}

.abundance-viz i:nth-child(2) { height: 58%; background: #baaef5; }
.abundance-viz i:nth-child(3) { height: 88%; background: var(--primary); }
.abundance-viz i:nth-child(4) { height: 64%; background: #9788e9; }
.abundance-viz i:nth-child(5) { height: 39%; }
.abundance-viz span {
  position: absolute;
  right: 21px;
  bottom: 37px;
  width: 90px;
  height: 1.5px;
  background: var(--green);
  transform: rotate(-18deg);
}

.spatial-viz {
  background: radial-gradient(circle at center, #f0edff 0 22%, #f9f8ff 23% 55%, #fff 56%);
}

.spatial-viz::before,
.spatial-viz::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 78px;
  content: "";
  border: 1px dashed #c8c0ee;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.spatial-viz::after {
  width: 125px;
  height: 125px;
  border-color: #dfdcec;
}

.spatial-viz i {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.spatial-viz i:nth-child(1) { top: 34px; left: 67px; }
.spatial-viz i:nth-child(2) { top: 74px; left: 40px; background: var(--green); }
.spatial-viz i:nth-child(3) { top: 51px; left: 143px; background: var(--rose); }
.spatial-viz i:nth-child(4) { top: 101px; left: 112px; background: var(--amber); }
.spatial-viz i:nth-child(5) { top: 112px; left: 190px; }
.spatial-viz i:nth-child(6) { top: 25px; left: 216px; background: var(--green); }

.retrieval-viz {
  display: grid;
  grid-template-columns: repeat(3, 46px) 1fr;
  gap: 9px;
  padding: 42px 23px;
  align-items: center;
}

.retrieval-viz b {
  display: grid;
  width: 46px;
  height: 46px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.retrieval-viz b:first-child {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: #cfc6f8;
}

.retrieval-viz span {
  color: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

.results-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 75px;
  margin-top: 88px;
  padding: clamp(44px, 6vw, 78px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(126, 99, 238, 0.29), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(47, 178, 144, 0.17), transparent 40%),
    #1b1930;
  border-radius: var(--radius-lg);
}

.results-panel::after {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 320px;
  height: 320px;
  content: "";
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018);
}

.results-copy,
.result-matrix {
  position: relative;
  z-index: 2;
}

.pending-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 9px;
  color: #f4cf79;
  background: rgba(244, 207, 121, 0.1);
  border: 1px solid rgba(244, 207, 121, 0.22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.pending-pill i {
  width: 6px;
  height: 6px;
  background: #edbc4d;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(237,188,77,.1);
}

.results-copy h2 {
  margin: 25px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.55rem, 5vw, 4.3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.results-copy h2 em {
  color: #c1cbdc;
  font-weight: 600;
}

.results-copy p {
  max-width: 550px;
  color: #aaa7bf;
  font-size: 0.86rem;
}

.results-link-disabled {
  display: inline-flex;
  margin-top: 12px;
  color: #c2bed6;
  font-size: 0.76rem;
  font-weight: 600;
}

.result-matrix {
  width: 100%;
  align-self: center;
  overflow: hidden;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 15px;
  backdrop-filter: blur(12px);
}

.result-matrix th,
.result-matrix td {
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.result-matrix tr > *:last-child {
  border-right: 0;
}

.result-matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.result-matrix thead th {
  padding: 10px 14px;
  color: #c5c1d4;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.result-matrix tbody th {
  width: 50%;
  height: 95px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
}

.result-matrix td {
  width: 25%;
  color: #bbb7d0;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}

.result-matrix td small {
  display: block;
  margin-top: 7px;
  color: #b1adc5;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.audit-section {
  background: var(--wash-purple);
  border-top: 1px solid #eeecf8;
  border-bottom: 1px solid #eeecf8;
}

.audit-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 85px;
  align-items: center;
}

.audit-visual {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.audit-copy > p {
  margin: 23px 0;
  color: var(--muted);
}

.audit-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.audit-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 11px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
}

.audit-list span {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
}

.audit-copy .audit-disclaimer {
  margin-top: 15px;
  color: #765208;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resources-section {
  background: #fff;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr auto) 1fr;
  gap: 10px;
  margin-top: 62px;
  padding: 24px;
  align-items: center;
  overflow-x: auto;
  background: #fafafd;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.pipeline > div {
  min-width: 140px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.pipeline > div span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.pipeline > div strong,
.pipeline > div small {
  display: block;
}

.pipeline > div strong {
  font-size: 0.74rem;
}

.pipeline > div small {
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 0.61rem;
}

.pipeline > b {
  color: #b5b2c3;
  font-weight: 400;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.resource-card {
  display: grid;
  min-height: 198px;
  grid-template-columns: 42px 1fr auto;
  gap: 15px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.resource-card:hover {
  border-color: #d2cdee;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.resource-icon {
  display: grid;
  width: 39px;
  height: 39px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 9px;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.resource-card small {
  color: var(--primary-dark);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.resource-card h3 {
  margin: 13px 0 7px;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.2;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.resource-card > b {
  color: var(--muted-light);
  font-weight: 400;
}

.resource-disabled {
  color: #565266;
  background: #fafafd;
}

.resource-disabled .resource-icon {
  color: #765208;
  background: var(--amber-soft);
}

.resource-disabled small {
  color: #765208;
  font-size: 0.68rem;
}

.citation-card {
  display: flex;
  gap: 28px;
  margin-top: 25px;
  padding: 29px 31px;
  align-items: center;
  justify-content: space-between;
  background: var(--wash-purple);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.citation-card h3 {
  margin: 8px 0 3px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.citation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer {
  padding: 78px 0 25px;
  color: var(--night-text);
  background: #17162a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.45fr 0.5fr;
  gap: 80px;
}

.brand-footer {
  color: #fff;
}

.brand-footer .brand-mark > circle:first-child {
  fill: rgba(102,84,217,.15);
}

.footer-project p {
  max-width: 260px;
  margin-top: 18px;
  color: var(--night-muted);
  font-size: 0.75rem;
}

.footer-label {
  display: block;
  margin-bottom: 13px;
  color: var(--night-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.footer-authors p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.75;
}

.footer-authors a,
.footer-links a {
  transition: color 0.2s ease;
}

.footer-authors a:hover,
.footer-links a:hover {
  color: #c1cbdc;
}

.footer-authors small {
  color: var(--night-muted);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  margin-bottom: 7px;
  color: var(--night-muted);
  font-size: 0.72rem;
}

.footer-links span {
  color: var(--night-muted);
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  margin-top: 66px;
  padding-top: 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--night-muted);
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.figure-dialog {
  width: min(94vw, 1500px);
  max-width: none;
  padding: 48px 22px 18px;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 35px 120px rgba(18, 16, 40, 0.35);
}

.figure-dialog::backdrop {
  background: rgba(19, 17, 38, 0.75);
  backdrop-filter: blur(5px);
}

.figure-dialog img {
  width: 100%;
}

.figure-dialog p {
  margin: 12px 5px 0;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
  background: var(--wash);
  border: 0;
  border-radius: 50%;
  place-items: center;
  font-size: 1.2rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 200;
  padding: 9px 14px;
  color: #fff;
  pointer-events: none;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  font-size: 0.72rem;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1120px) {
  :root { --page: 980px; }

  .hero-grid {
    grid-template-columns: minmax(0, 900px);
  }

  .hero-copy h1 {
    font-size: clamp(3.4rem, 6.2vw, 5rem);
  }

  .dataset-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .baseline-layout,
  .audit-layout {
    gap: 55px;
  }

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

  .resource-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root { --header-height: 60px; }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 36px), var(--page));
  }

  .section {
    padding: 88px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 44px 28px;
    background: rgba(244,240,232,.98);
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }

  .site-nav.is-open {
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .site-nav a {
    font-family: var(--font-serif);
    font-size: 1.65rem;
  }

  .site-nav .nav-code {
    margin-top: 8px;
    font-family: var(--font-sans);
    font-size: .86rem;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .hero {
    padding-top: calc(var(--header-height) + 58px);
  }

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

  .hero-copy {
    max-width: 820px;
  }

  .hero-copy h1 {
    font-size: clamp(3.65rem, 11vw, 6rem);
  }

  .hero-visual {
    max-width: 720px;
  }

  .stat-rail {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }

  .stat-item:nth-child(3),
  .stat-item:last-child {
    border: 0;
  }

  .editorial-grid,
  .split-heading,
  .baseline-layout,
  .audit-layout,
  .results-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .editorial-copy {
    padding-top: 0;
  }

  .concept-grid,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .concept-card:last-child,
  .metric-card:last-child {
    grid-column: 1 / -1;
  }

  .baseline-intro {
    position: static;
  }

  .audit-visual {
    order: 2;
  }

  .pipeline {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
  }

  .footer-links {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 650px) {
  .page-shell,
  .nav-shell {
    width: min(calc(100% - 28px), var(--page));
  }

  .section {
    padding: 72px 0;
  }

  .section h2 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .hero {
    min-height: auto;
    padding-bottom: 32px;
    background-size: 38px 38px, 38px 38px, auto;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14.5vw, 4.5rem);
    line-height: 1.01;
  }

  .hero-deck {
    margin-top: 24px;
    font-size: .98rem;
  }

  .paper-meta {
    margin-bottom: 52px;
  }

  .paper-authors {
    gap: 8px 18px;
  }

  .rna-morph-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .rna-morph-step-arrow {
    min-width: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .button-muted {
    padding-inline: 10px;
  }

  .visual-topline {
    align-items: flex-start;
  }

  .visual-topline > .mono-label {
    display: none;
  }

  .protocol-switch {
    margin-left: auto;
  }

  .hero-visual {
    padding: 11px;
    border-radius: 18px;
  }

  .cell-stage svg {
    min-width: 0;
    transform: none;
  }

  .cell-stage {
    height: auto;
  }

  .protocol-caption {
    grid-template-columns: 28px 1fr;
    padding-inline: 2px;
  }

  .gene-legend {
    gap: 10px;
    padding-left: 42px;
  }

  .stat-rail {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
  }

  .stat-item {
    padding: 0 12px;
  }

  .stat-item:first-child {
    padding-left: 12px;
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4),
  .stat-item:last-child {
    border: 0;
  }

  .concept-grid,
  .protocol-cards,
  .dataset-grid,
  .metric-grid,
  .resource-grid,
  .track-explainer {
    grid-template-columns: 1fr;
  }

  .concept-card:last-child,
  .metric-card:last-child,
  .resource-card:last-child {
    grid-column: auto;
  }

  .concept-card {
    min-height: 285px;
  }

  .overview-figure {
    margin-top: 60px;
  }

  .figure-button {
    padding: 7px;
    border-radius: 12px;
  }

  .expand-hint {
    display: none;
  }

  .overview-figure figcaption {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .protocol-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .protocol-card h3 {
    font-size: 2.75rem;
  }

  .mini-pipeline {
    justify-content: flex-start;
  }

  .dataset-card {
    padding: 22px;
  }

  .track-explainer {
    gap: 23px;
    padding: 23px;
  }

  .baseline-group article {
    grid-template-columns: 27px 1fr;
  }

  .baseline-group article > span {
    display: none;
  }

  .results-panel {
    padding: 35px 22px;
    border-radius: 20px;
  }

  .result-matrix th,
  .result-matrix td {
    padding: 10px;
  }

  .result-matrix tbody th {
    height: 75px;
    font-size: .63rem;
  }

  .audit-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .pipeline {
    margin-right: -14px;
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .resource-card {
    min-height: 175px;
  }

  .citation-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-links {
    grid-column: auto;
    flex-direction: column;
    gap: 0;
  }

  .footer-bottom {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .figure-dialog {
    width: 98vw;
    padding: 42px 6px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .protocol-switch,
  .filter-bar,
  .expand-hint,
  .dialog-close,
  .toast {
    display: none !important;
  }
  .hero { min-height: auto; }
  .section { padding: 45px 0; }
  * { box-shadow: none !important; }
}

/* Boreas palette: blue-grey drapery, olive foliage, warm light and faded rose. */
:root {
  --ink: #2e3035;
  --ink-soft: #484b50;
  --muted: #65645f;
  --muted-light: #706c65;
  --primary: #566277;
  --primary-dark: #3e495e;
  --primary-soft: #e5e7ec;
  --cyan: #526d77;
  --cyan-soft: #e5ebed;
  --green: #59654a;
  --green-soft: #e9ecdf;
  --rose: #99675f;
  --amber: #876636;
  --amber-soft: #f0e6d2;
  --paper: #f4f0e8;
  --surface: #fcfaf6;
  --wash: #eae5dc;
  --wash-purple: #e9e7eb;
  --line: #d9d2c6;
  --line-dark: #b7afa1;
  --night: #2c3038;
  --night-text: #ded8cd;
  --night-muted: #b8b6af;
  --gene-a: #65738c;
  --gene-b: #74805b;
  --gene-c: #a86f66;
  --gene-d: #b68a48;
  --shadow-sm: 0 2px 10px rgba(46, 48, 53, 0.04);
  --shadow-md: 0 10px 28px rgba(46, 48, 53, 0.08);
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 5px;
  --page: 1240px;
  --font-serif: var(--font-sans);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.page-shell {
  width: min(calc(100% - 64px), var(--page));
}

.site-header {
  height: 72px;
  background: var(--paper);
}

.site-header.is-scrolled {
  background: rgba(244, 240, 232, 0.94);
  border-color: var(--line);
  box-shadow: none;
}

.nav-shell {
  width: min(calc(100% - 64px), 1440px);
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 29px;
  height: 29px;
}

.site-nav {
  gap: 27px;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-nav a:not(.nav-code)::after {
  bottom: -7px;
  height: 1px;
  background: var(--primary);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary-dark);
}

.site-nav .nav-code {
  padding: 9px 16px;
  background: var(--primary);
  border-radius: 999px;
}

.site-nav .nav-code:hover {
  background: var(--primary-dark);
}

.hero {
  min-height: 0;
  padding: calc(var(--header-height) + 96px) 0 76px;
  background: var(--paper);
}

.hero::after,
.hero-orb {
  display: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 1240px);
}

.hero-copy {
  max-width: 1200px;
}

.eyebrow {
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
}

.eyebrow > span {
  width: 22px;
  background: var(--green);
}

.hero-copy h1 {
  max-width: 1200px;
  color: var(--primary-dark);
  font-family: var(--font-sans);
  font-size: clamp(4rem, 8.2vw, 8.2rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.082em;
}

.hero-copy h1 em {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.56em;
  font-style: normal;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hero-copy h1 em::after {
  display: none;
}

.mono-label {
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.16em;
}

.paper-authors {
  gap: 8px 24px;
  margin-top: 25px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  font-weight: 500;
}

.paper-affiliations,
.paper-contact {
  gap: 8px 22px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.75rem;
}

.paper-contact {
  padding-top: 0;
  border-top: 0;
  font-size: 0.68rem;
}

.hero-deck {
  max-width: 760px;
  margin: 48px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.58;
}

.hero-deck strong {
  color: var(--ink);
}

.hero-actions {
  gap: 10px;
}

.button {
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 999px;
  font-size: 0.76rem;
}

.button-outline {
  color: var(--primary-dark);
  background: transparent;
  border-color: var(--line-dark);
}

.button-outline:hover {
  color: var(--paper);
  background: var(--primary);
  border-color: var(--primary);
}

.hero-actions .button:first-child {
  color: var(--paper);
  background: var(--primary);
  border-color: var(--primary);
}

.hero-actions .button:first-child:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.hero-grid .stat-rail {
  width: 100%;
  max-width: none;
  margin-top: 76px;
  padding-top: 12px;
  border-top: 0;
}

.stat-item {
  min-height: 58px;
  padding: 0 26px;
  border-right-color: var(--line);
}

.stat-value {
  color: var(--primary-dark);
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.stat-label {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.section {
  padding: clamp(100px, 10vw, 150px) 0;
}

.section h2 {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.075em;
}

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

.task-section,
.baselines-section {
  background: var(--wash-purple);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benchmark-section,
.resources-section {
  background: var(--paper);
}

.rna-morph {
  margin: 54px 0 62px;
  padding: clamp(22px, 4vw, 58px);
  background: var(--wash);
  border-color: var(--line);
  border-radius: 3px;
  box-shadow: none;
}

.concept-grid {
  gap: 0;
  margin-top: 92px;
}

.concept-card {
  min-height: 310px;
  padding: 28px;
  background: transparent;
  border-color: var(--line);
  border-radius: 0;
  box-shadow: none;
}

.concept-card + .concept-card {
  border-left: 0;
}

.concept-card:hover {
  border-color: var(--line-dark);
  box-shadow: none;
  transform: none;
  background: var(--surface);
}

.concept-card h3,
.protocol-card h3,
.dataset-card h3,
.metric-card h3,
.resource-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.protocol-cards,
.dataset-grid,
.metric-grid,
.resource-grid {
  gap: 14px;
}

.protocol-card,
.dataset-card,
.metric-card,
.resource-card {
  background: var(--surface);
  border-color: var(--line);
  border-radius: 3px;
  box-shadow: none;
}

.protocol-card:hover,
.dataset-card:hover,
.resource-card:hover {
  border-color: var(--line-dark);
  box-shadow: none;
}

.protocol-chip,
.track-tag {
  border-radius: 999px;
}

.filter-bar {
  gap: 8px;
  margin: 58px 0 25px;
  padding-bottom: 0;
}

.filter-bar button {
  padding: 9px 14px;
  background: transparent;
  border-color: var(--line-dark);
  border-radius: 999px;
}

.filter-bar button.is-active {
  background: var(--primary);
  border-color: var(--primary);
}

.track-explainer,
.pipeline {
  background: var(--wash);
  border-color: var(--line);
  border-radius: 3px;
}

.baseline-group {
  background: var(--surface);
  border-color: var(--line);
  border-radius: 3px;
}

.group-label {
  background: var(--wash);
  border-bottom-color: var(--line);
}

.baseline-group article:hover {
  background: var(--paper);
}

.metric-viz {
  background: var(--wash);
  border-color: var(--line);
  border-radius: 3px;
}

.results-panel {
  margin-top: 94px;
  padding: clamp(36px, 6vw, 76px);
  background: var(--night);
  border-radius: 3px;
  box-shadow: none;
}

.results-panel::after {
  display: none;
}

.results-copy h2 {
  font-family: var(--font-sans);
  letter-spacing: -0.075em;
}

.results-copy h2 em {
  color: var(--night-muted);
}

.result-matrix {
  border-radius: 3px;
}

.resource-card {
  min-height: 185px;
}

.resource-icon {
  color: var(--ink);
  background: var(--wash);
  border-radius: 3px;
}

.resource-card small {
  color: var(--muted);
}

.site-footer {
  padding-top: 90px;
  background: var(--night);
}

.brand-footer {
  color: var(--paper);
}

.brand-footer .brand-mark > circle:first-child {
  fill: rgba(255, 255, 255, 0.12);
  stroke: #fff;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
  .page-shell,
  .nav-shell {
    width: min(calc(100% - 36px), var(--page));
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 66px);
  }

  .hero-grid .stat-rail {
    margin-top: 62px;
  }

  .site-nav {
    background: var(--paper);
  }
}

@media (max-width: 650px) {
  .page-shell,
  .nav-shell {
    width: min(calc(100% - 28px), var(--page));
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-bottom: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(3.15rem, 14vw, 5rem);
    line-height: 0.95;
  }

  .hero-copy h1 em {
    font-size: 0.6em;
  }

  .hero-deck {
    margin-top: 34px;
  }

  .hero-grid .stat-rail {
    margin-top: 52px;
  }

  .concept-grid {
    gap: 0;
  }

  .concept-card + .concept-card {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

.biorxiv-icon,
.huggingface-icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  background: currentColor;
}

.biorxiv-icon {
  -webkit-mask: url("../img/biorxiv.svg") center / contain no-repeat;
  mask: url("../img/biorxiv.svg") center / contain no-repeat;
}

.huggingface-icon {
  -webkit-mask: url("../img/huggingface.svg") center / contain no-repeat;
  mask: url("../img/huggingface.svg") center / contain no-repeat;
}

.github-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: currentColor;
}

.dataset-group-heading {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 20px 0 11px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.dataset-group-heading[data-track-heading="perturbation"] {
  order: 0;
}

.dataset-group-heading[data-track-heading="context"] {
  order: 2;
  margin-top: 30px;
}

.dataset-group-heading[hidden] {
  display: none;
}

.dataset-group-index {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.dataset-group-heading strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dataset-group-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.dataset-card[data-track="perturbation"] {
  order: 1;
}

.dataset-card[data-track="context"] {
  order: 3;
}

.per-dataset-results {
  grid-column: 1 / -1;
  margin-top: 17px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.per-dataset-results-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.per-dataset-results .mono-label {
  color: var(--night-muted);
}

.per-dataset-results h3 {
  margin: 8px 0 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.per-dataset-status {
  padding: 5px 9px;
  color: var(--night-text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.per-dataset-results-note {
  margin: 9px 0 0;
  color: var(--night-muted);
  font-size: 0.72rem;
}

.per-dataset-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 28px;
  margin-top: 25px;
}

.per-dataset-bar {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr) 15px;
  gap: 9px;
  align-items: center;
  color: var(--night-muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.per-dataset-bar > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.per-dataset-bar-track {
  display: block;
  height: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.per-dataset-bar-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--night-text);
}

.per-dataset-bar strong {
  color: var(--night-muted);
  font-weight: 500;
  text-align: right;
}

@media (max-width: 900px) {
  .per-dataset-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .dataset-group-heading {
    grid-template-columns: 52px 1fr;
    gap: 12px;
  }

  .per-dataset-bars {
    grid-template-columns: 1fr;
  }

  .per-dataset-results-heading {
    display: block;
  }

  .per-dataset-status {
    display: inline-flex;
    margin-top: 14px;
  }
}

/* Dataset-selection figure: caption carries the counting policy. */
.selection-figure { margin: 28px 0 42px; }
.selection-figure img { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; background: white; }
.selection-figure figcaption { max-width: 920px; margin: 18px auto 0; font-size: 13px; line-height: 1.65; color: var(--muted); }

/* Current result snapshot and the Boreas opening. */
:root { --header-height: 72px; }
[hidden] { display: none !important; }
.hero { padding-top: calc(var(--header-height) + 62px); }
.hero-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  column-gap: clamp(36px, 5vw, 84px);
  align-items: start;
}
.hero-copy h1 { font-size: clamp(3.8rem, 6.5vw, 6rem); line-height: .98; letter-spacing: -.07em; }
.hero-copy h1 em { display: inline-block; margin-top: 16px; font-size: .51em; line-height: 1.08; letter-spacing: -.055em; }
.hero-copy .paper-authors { margin-top: 18px; gap: 7px 18px; font-size: .94rem; }
.hero-copy .paper-affiliations { font-size: .7rem; }
.hero-deck { margin: 30px 0 22px; font-size: 1rem; }
.hero-actions { flex-wrap: wrap; margin-bottom: 0; }
.hero-actions .button { padding: 10px 15px; min-height: 42px; font-family: var(--font-sans); }
.hero-actions .button :is(span, small) { font: inherit; letter-spacing: inherit; text-transform: none; }
.hero-art { margin: 0; max-width: 400px; justify-self: end; }
.hero-art > a { display: block; overflow: hidden; background: #434a3c; }
.hero-art img { width: 100%; height: auto; }
.hero-art figcaption { display: grid; gap: 7px; margin-top: 16px; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.hero-art .art-theme { color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 1.4rem; font-style: italic; }
.hero-art figcaption > a { width: fit-content; font-size: .63rem; border-bottom: 1px solid var(--line-dark); }
.hero-grid .stat-rail { grid-column: 1 / -1; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.site-nav .nav-code { color: var(--paper); }
.site-nav .nav-code:hover { color: #fff; }
.corpus-note, .snapshot-note { color: var(--muted); font-size: .8rem; line-height: 1.8; }
.corpus-note { max-width: 950px; border-left: 2px solid var(--gene-b); padding-left: 18px; margin-bottom: 30px; }
.corpus-note a, .snapshot-note a, .score-notes a, .paper-figure figcaption a, noscript a { text-decoration: underline; text-underline-offset: 3px; }
.paper-figure { margin: 48px 0 24px; }
.paper-figure > a { display: block; padding: 20px; background: #fff; border: 1px solid var(--line); }
.paper-figure img { width: 100%; height: auto; }
.paper-figure figcaption { max-width: 1000px; padding-top: 17px; color: var(--muted); font-size: .78rem; line-height: 1.8; }
.paper-figure figcaption a { display: inline-block; margin-left: 8px; }
.snapshot-note { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.dataset-results-section { background: var(--surface); }
.result-controls { display: flex; gap: 22px; align-items: end; margin-top: 44px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.result-controls label { display: grid; flex: 1; gap: 9px; color: var(--muted); font-size: .75rem; font-weight: 600; }
.result-controls select { width: 100%; min-height: 50px; padding: 10px 36px 10px 14px; border: 1px solid var(--line-dark); border-radius: 3px; color: var(--ink); background: var(--paper); font: inherit; font-size: .92rem; cursor: pointer; }
:where(select, .score-table-wrap):focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.result-controls .button { min-height: 50px; }
.result-context { margin: 22px 0; color: var(--muted); font-size: .78rem; }
.metric-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.metric-picker button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); font-size: .76rem; cursor: pointer; }
.metric-picker button span { margin-left: 5px; }
.metric-picker button:hover { background: var(--wash); }
.metric-picker button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.score-chart { margin: 0 0 30px; padding: 30px 34px; border: 1px solid var(--line); background: var(--surface); }
.score-chart-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.score-chart-heading h3 { margin-bottom: 12px; font-size: 1.25rem; letter-spacing: -.03em; }
.score-chart-heading > span { flex-shrink: 0; font-size: .68rem; color: var(--green); }
.chart-description { max-width: 900px; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.score-bars { display: grid; gap: 13px; margin: 30px 0; }
.score-bar-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 120px; gap: 20px; align-items: center; min-height: 29px; }
.score-bar-label { font-size: .79rem; font-weight: 500; }
.score-bar-label small { display: block; margin-top: 3px; font-size: .6rem; color: var(--muted); font-weight: 400; }
.score-bar-track { position: relative; height: 20px; background: var(--wash); }
.score-bar-track::before { position: absolute; z-index: 2; left: var(--zero); top: -5px; bottom: -5px; width: 1px; background: var(--muted-light); content: ""; }
.score-bar-fill { position: absolute; top: 0; height: 100%; background: var(--gene-a); min-width: 1px; }
.is-classical .score-bar-fill { background: var(--gene-b); }
.score-bar-whisker { position: absolute; top: 6px; height: 8px; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.score-bar-whisker::after { position: absolute; top: 3px; width: 100%; height: 1px; content: ""; background: var(--ink); }
.score-bar-missing { position: absolute; inset: 0; text-align: center; font-size: .65rem; color: var(--muted); }
.score-bar-value { text-align: right; font-family: var(--font-mono); font-size: .76rem; font-variant-numeric: tabular-nums; }
.score-bar-value small { display: block; font-size: .61rem; color: var(--muted); }
.score-chart figcaption { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: .71rem; line-height: 1.7; }
.score-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
.score-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: right; font-size: .77rem; font-variant-numeric: tabular-nums; }
.score-table caption { text-align: left; padding: 20px; background: var(--paper); font-weight: 600; font-size: .86rem; }
.score-table th, .score-table td { padding: 16px 14px; border-top: 1px solid var(--line); white-space: nowrap; }
.score-table thead th { color: var(--muted); background: var(--surface); font-size: .67rem; font-weight: 500; }
.score-table th small { display: block; font-size: .57rem; }
.score-table th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; background: var(--surface); border-right: 1px solid var(--line); }
.score-table thead th:first-child { background: var(--surface); }
.score-table td.is-selected { background: var(--primary-soft); }
.score-table tr:nth-child(3) > * { border-bottom: 2px solid var(--line-dark); }
.score-sd { display: block; margin-top: 3px; color: var(--muted); font-size: .65rem; }
.score-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 38px; margin-top: 24px; }
.score-notes p { margin-bottom: 0; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.score-notes .score-source { grid-column: 1 / -1; font-size: .69rem; }

@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; }
  .hero-copy h1 { font-size: 4.7rem; }
  .hero-copy h1 em { font-size: .5em; }
  .hero-art { margin-top: 8px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); gap: 28px; }
  .hero-copy h1 { font-size: 3.9rem; }
  .hero-copy h1 em { font-size: .51em; }
  .hero-art { align-self: start; }
  .hero-art .art-theme { font-size: 1.15rem; }
  .hero-grid .stat-rail { margin-top: 16px; }
  .result-controls { flex-wrap: wrap; }
  .result-controls label { min-width: 220px; }
  .score-chart { padding: 25px 22px; }
  .score-bar-row { grid-template-columns: 118px minmax(0, 1fr) 102px; gap: 16px; }
}
@media (max-width: 650px) {
  .hero { padding-top: calc(var(--header-height) + 38px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy h1 { font-size: clamp(3.2rem, 13vw, 4.6rem); }
  .hero-copy h1 em { font-size: .55em; }
  .hero-copy .paper-authors { font-size: .86rem; }
  .hero-art { width: min(100%, 340px); margin: 40px 0 0; justify-self: center; }
  .hero-art figcaption { font-size: .71rem; }
  .hero-grid .stat-rail { margin-top: 38px; }
  .paper-figure > a { padding: 5px; }
  .paper-figure figcaption { font-size: .72rem; }
  .result-controls { gap: 16px; }
  .result-controls label { flex-basis: 100%; }
  .result-controls .button { width: 100%; }
  .metric-picker { gap: 6px; }
  .metric-picker button { flex-grow: 1; padding: 10px 9px; font-size: .68rem; }
  .score-chart { padding: 22px 14px; }
  .score-chart-heading { display: block; }
  .score-chart-heading h3 { margin-bottom: 5px; }
  .chart-description { margin-top: 12px !important; font-size: .74rem; }
  .score-bar-row { grid-template-columns: 100px minmax(0, 1fr) 80px; gap: 9px; }
  .score-bar-label { font-size: .66rem; }
  .score-bar-label small { font-size: .55rem; }
  .score-bar-value { font-size: .68rem; }
  .score-bar-value small { font-size: .55rem; }
  .score-bar-track { height: 16px; }
  .score-bar-whisker { top: 4px; }
  .score-bar-missing { font-size: .53rem; }
  .score-notes { grid-template-columns: 1fr; gap: 24px; }
}

/* Compact, static section flow. */
.section { padding: 76px 0; }
.section h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.split-heading { gap: 38px; }
.eyebrow { margin-bottom: 18px; }
.rna-morph { margin: 32px 0 0; padding: 26px; }
.rna-morph svg { max-width: 760px; }
.protocol-cards { margin-top: 36px; }
.curation-details { margin: 24px 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.curation-details summary { width: fit-content; color: var(--muted); font-size: .8rem; cursor: pointer; }
.curation-details summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.curation-details .selection-figure { margin: 18px 0 0; }
.corpus-note { border: 0; padding: 0; margin-bottom: 20px; font-size: .73rem; }
.filter-bar { margin: 20px 0 12px; }
.dataset-grid { gap: 10px; }
.dataset-group-heading { gap: 14px; padding: 12px 0 8px; align-items: baseline; }
.dataset-group-heading[data-track-heading="context"] { margin-top: 12px; }
.dataset-group-heading > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.dataset-group-heading p { margin: 0; }
.dataset-card { padding: 14px 16px; }
.dataset-top { gap: 10px; align-items: baseline; }
.dataset-card h3 { display: flex; gap: 9px; align-items: baseline; margin: 0; font-size: 1.05rem; line-height: 1.35; }
.dataset-id { font-size: .65rem; font-weight: 400; letter-spacing: 0; }
.dataset-tissue { flex-shrink: 0; color: var(--muted); font-size: .7rem; }
.dataset-card > p { min-height: 0; margin: 7px 0 10px; font-size: .78rem; line-height: 1.45; }
.dataset-card dl { grid-template-columns: 1.5fr 1.15fr .65fr; margin: 0; padding-top: 9px; gap: 8px; border-top: 1px solid var(--line); }
.dataset-card dt { font-size: .63rem; }
.dataset-card dd { margin-top: 3px; overflow: visible; font-size: .78rem; font-variant-numeric: tabular-nums; text-overflow: clip; }
.benchmark-evaluation { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.benchmark-evaluation > h3 { font-size: 1.4rem; letter-spacing: -.035em; margin-bottom: 20px; }
.evaluation-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.evaluation-pair article { padding: 22px 24px; border: 1px solid var(--line); background: var(--surface); }
.evaluation-pair h4 { margin: 8px 0; font-size: 1.3rem; font-weight: 600; }
.evaluation-pair p { margin-bottom: 0; color: var(--muted); font-size: .84rem; line-height: 1.8; }
.benchmark-protocol { margin: 16px 0 0 !important; color: var(--muted); font-size: .73rem; }
.result-controls { margin-top: 30px; }
.result-summary { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.result-summary p { margin-bottom: 10px; }
.result-figure-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .73rem; }
.result-figure-links a { text-decoration: underline; text-underline-offset: 3px; }
.resource-card { min-height: 150px; }
.site-footer { padding-top: 52px; }
@media (max-width: 650px) {
  .section { padding: 52px 0; }
  .split-heading { gap: 18px; }
  .rna-morph { padding: 18px; }
  .evaluation-pair { grid-template-columns: 1fr; gap: 14px; }
  .score-chart { margin-bottom: 22px; }
  .score-notes { gap: 12px; }
}

/* Within-dataset observations: paper figure alongside compact findings. */
.observations-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.observations-summary > div { display: flex; flex-direction: column-reverse; gap: 5px; }
.observations-summary dt { color: var(--muted); font-size: .72rem; }
.observations-summary dd { margin: 0; font-size: 1.8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.observations-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.observations-figure { min-width: 0; margin: 0; }
.observations-figure > a { display: block; padding: 12px; background: #fff; border: 1px solid var(--line); }
.observations-figure img { width: 100%; height: auto; }
.observations-figure figcaption { margin-top: 12px; color: var(--muted); font-size: .7rem; line-height: 1.7; }
.observations-figure figcaption a { display: inline-block; margin-left: 6px; text-decoration: underline; text-underline-offset: 3px; }
.observations-findings { min-width: 0; }
.observations-findings article { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.observations-findings article:first-child { padding-top: 0; border-top: 0; }
.observations-panel { padding-top: 2px; color: var(--green); font-family: var(--font-mono); font-size: .74rem; }
.observations-findings h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: -.02em; line-height: 1.4; }
.observations-findings p { margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.7; }
.observations-findings strong { color: var(--ink); font-weight: 600; }
.decoding-details { margin-top: 26px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line); }
.decoding-details summary { width: fit-content; cursor: pointer; font-size: .9rem; font-weight: 600; }
.decoding-details summary:focus-visible, .decoding-table-wrap:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.decoding-intro { display: flex; align-items: center; gap: 28px; margin: 18px 0 16px; }
.decoding-intro p { flex: 1; margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.decoding-intro a { flex-shrink: 0; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.decoding-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); }
.decoding-table { width: 100%; min-width: 650px; border-collapse: collapse; background: var(--surface); text-align: right; font-size: .75rem; font-variant-numeric: tabular-nums; }
.decoding-table th, .decoding-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.decoding-table thead th { background: var(--wash); color: var(--muted); font-size: .68rem; font-weight: 500; }
.decoding-table th:first-child { position: sticky; left: 0; text-align: left; background: var(--surface); border-right: 1px solid var(--line); }
.decoding-table thead th:first-child { background: var(--wash); }
.decoding-table th small { display: block; margin-top: 3px; font-weight: 400; }
.decoding-table tbody tr:last-child > * { border-bottom: 0; }
.decoding-note { margin: 14px 0 0 !important; color: var(--muted); font-size: .7rem; line-height: 1.7; }
@media (max-width: 900px) {
  .observations-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .observations-figure { max-width: 650px; justify-self: center; }
  .observations-findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .observations-findings article:first-child { padding-top: 16px; border-top: 1px solid var(--line); }
}
@media (max-width: 650px) {
  .observations-summary { gap: 12px; margin: 22px 0; }
  .observations-summary dt { font-size: .63rem; line-height: 1.5; }
  .observations-summary dd { font-size: 1.6rem; }
  .observations-figure > a { padding: 4px; }
  .observations-findings { display: block; }
  .decoding-intro { display: block; }
  .decoding-intro a { display: inline-block; margin-top: 10px; }
}
