:root {
  --ink: #17131f;
  --ink-soft: #5f586b;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #ded9e7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --violet: #9f59dd;
  --violet-deep: #6c3bd1;
  --violet-pale: #f0e5fb;
  --rose: #dc3f78;
  --rose-pale: #fae4ed;
  --green: #3a9f68;
  --green-pale: #dff3e6;
  --amber: #f3aa25;
  --night: #17131f;
  --night-soft: #221a2d;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 60px rgba(34, 19, 51, 0.11);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--violet-deep);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

.page-grid {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(61, 44, 77, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 44, 77, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 40%);
}

.shell {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-nav.scrolled {
  background: rgba(251, 250, 247, .88);
  border-color: rgba(42, 24, 57, .1);
  box-shadow: 0 8px 30px rgba(36, 24, 48, .06);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand img {
  width: 34px;
  height: 30px;
  object-fit: contain;
}

.brand b { color: var(--violet-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  position: relative;
  color: #4e4857;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.nav-links > a:not(.nav-paper)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--violet-deep);
  transition: right .2s ease;
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after { right: 0; }

.nav-paper {
  padding: 9px 14px;
  color: #fff !important;
  background: var(--ink);
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}

.nav-paper:hover { background: var(--violet-deep); transform: translateY(-1px); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  padding: 150px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(211, 175, 241, .38), transparent 27%),
    radial-gradient(circle at 7% 30%, rgba(248, 195, 217, .25), transparent 25%);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(115, 63, 171, .15);
  border-radius: 50%;
}

.hero-orb-one { width: 530px; height: 530px; right: -250px; top: 40px; }
.hero-orb-two { width: 280px; height: 280px; left: -170px; top: 410px; }

.hero-shell { text-align: center; }

.hero-copy { max-width: 1050px; margin: 0 auto; }

.eyebrow,
.section-kicker,
.mini-kicker {
  margin: 0 0 16px;
  color: var(--violet-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border: 1px solid rgba(108, 59, 209, .25);
  background: rgba(255, 255, 255, .64);
  border-radius: 999px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(58, 159, 104, .12);
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  max-width: 1030px;
  margin: 22px auto 23px;
  font-family: var(--font-display);
  font-size: clamp(52px, 7.3vw, 98px);
  line-height: .97;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.prune-text { color: var(--violet); }
.ground-text { color: var(--rose); }
.title-colon { color: var(--ink); }

.hero-lede {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-lede em {
  color: var(--ink);
  font-style: normal;
  font-weight: 750;
  background: linear-gradient(transparent 62%, rgba(159, 89, 221, .23) 62%);
}

.authors {
  max-width: 970px;
  margin: 28px auto 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 19px;
  row-gap: 4px;
  color: #37313d;
  font-size: 14px;
  font-weight: 650;
}

.authors sup {
  color: var(--violet-deep);
  font-family: var(--font-mono);
  font-size: 9px;
}

.author-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.author-note span { color: var(--violet-deep); }

.affiliations {
  width: fit-content;
  margin: 11px auto 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.affiliations summary {
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.affiliations div {
  max-width: 850px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
}

.affiliations b { color: var(--violet-deep); }

.hero-actions,
.citation-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.button {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(108, 59, 209, .32); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--violet-deep); box-shadow: 0 10px 24px rgba(108, 59, 209, .2); }
.button-primary:hover { background: #5d2bc3; }
.button-secondary { color: var(--ink); background: rgba(255, 255, 255, .76); border-color: var(--line); }
.button-secondary:hover { border-color: var(--violet); background: #fff; }
.button-text { color: var(--violet-deep); }
.button svg { width: 17px; height: 17px; fill: currentColor; }

.hero-figure,
.paper-figure {
  position: relative;
  margin: 56px auto 0;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-figure { max-width: 1120px; transform: rotate(-.3deg); }

.hero-figure::before,
.hero-figure::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: inherit;
}

.hero-figure::before { inset: 13px -12px -13px 12px; background: var(--violet-pale); transform: rotate(1deg); }
.hero-figure::after { inset: 22px 20px -23px -15px; background: var(--rose-pale); transform: rotate(-1deg); }

.figure-button {
  position: relative;
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: calc(var(--radius-lg) - 11px);
  cursor: zoom-in;
}

.figure-button img {
  width: 100%;
  height: auto;
  transition: transform .4s ease;
}

.figure-button:hover img { transform: scale(1.008); }

.expand-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(23, 19, 31, .82);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

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

figcaption {
  padding: 12px 8px 2px;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: left;
}

.metric-strip {
  max-width: 1030px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 130px;
  padding: 25px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.metric + .metric { border-left: 1px solid var(--line); }

.metric strong {
  color: var(--violet-deep);
  font-family: var(--font-display);
  font-size: 37px;
  line-height: 1;
  letter-spacing: -.05em;
}

.metric span { color: var(--ink-soft); font-size: 11px; font-weight: 700; line-height: 1.45; }

.section { padding: 120px 0; }

.section-heading {
  max-width: 770px;
  margin-bottom: 58px;
}

.section-heading h2,
.citation-copy h2 {
  margin: 0 0 25px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: .95;
  letter-spacing: -.06em;
}

.section-heading h2 span,
.citation-copy h2 span { color: var(--violet); }

.section-heading > p:last-child,
.citation-copy > p {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 22px;
}

.problem-card {
  min-height: 375px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.problem-after { border-color: rgba(108, 59, 209, .4); background: linear-gradient(135deg, #fff, #fbf7ff); }

.card-label,
.step-tag {
  width: fit-content;
  padding: 5px 9px;
  color: var(--ink-soft);
  background: #f0edf3;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.problem-after .card-label { color: var(--violet-deep); background: var(--violet-pale); }

.problem-card h3,
.analysis-grid h3,
.limitations h3 {
  margin: 25px 0 9px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.problem-card p,
.card-footnote,
.limitations-copy > p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.problem-arrow { color: var(--violet); font-size: 43px; text-align: center; }

.scene-dots,
.scene-focus {
  position: relative;
  height: 165px;
  margin-top: 24px;
  overflow: hidden;
  background: #f4f2f5;
  border-radius: 14px;
}

.scene-dots i {
  position: absolute;
  width: 23px;
  height: 23px;
  border: 2px solid #88808e;
  border-radius: 5px;
  transform: rotate(var(--r, 0deg));
}

.scene-dots i:nth-child(1) { left: 9%; top: 16%; --r: 14deg; }
.scene-dots i:nth-child(2) { left: 25%; top: 52%; --r: -8deg; }
.scene-dots i:nth-child(3) { left: 42%; top: 17%; --r: 22deg; }
.scene-dots i:nth-child(4) { left: 63%; top: 35%; --r: -16deg; }
.scene-dots i:nth-child(5) { left: 80%; top: 18%; --r: 7deg; }
.scene-dots i:nth-child(6) { left: 75%; top: 68%; --r: -20deg; }
.scene-dots i:nth-child(7) { left: 50%; top: 68%; --r: 4deg; }
.scene-dots i:nth-child(8) { left: 13%; top: 75%; --r: -13deg; }
.scene-dots i:nth-child(9) { left: 34%; top: 33%; --r: 8deg; }
.scene-dots i:nth-child(10) { left: 89%; top: 47%; --r: 18deg; }
.scene-dots i:nth-child(11) { left: 56%; top: 45%; --r: -4deg; }
.scene-dots i:nth-child(12) { left: 19%; top: 28%; --r: 12deg; }

.scene-dots span {
  position: absolute;
  left: 54%;
  top: 41%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--rose);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 0 0 10px rgba(220, 63, 120, .12);
}

.scene-focus {
  background:
    radial-gradient(circle at 60% 55%, rgba(159, 89, 221, .15), transparent 35%),
    linear-gradient(135deg, #f6f0fb, #fbf8fc);
}

.focus-ring {
  position: absolute;
  width: 160px;
  height: 105px;
  left: calc(50% - 80px);
  top: 30px;
  border: 3px solid var(--violet);
  border-radius: 10px;
  box-shadow: 0 0 0 200px rgba(23, 19, 31, .06);
}

.focus-object,
.focus-anchor {
  position: absolute;
  border-radius: 5px;
}

.focus-object { width: 34px; height: 39px; left: 45%; top: 64px; background: var(--rose); }
.focus-anchor { width: 47px; height: 28px; left: 57%; top: 73px; background: var(--green); }

.paper-figure { margin-top: 74px; }

.method-section {
  position: relative;
  color: #fff;
  background: var(--night);
  overflow: hidden;
}

.method-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}

.method-section .shell { position: relative; }
.section-heading.light > p:last-child { color: #bfb7c8; }
.section-heading.light h2 span { color: #c37bf0; }

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

.method-card {
  position: relative;
  padding: 27px;
  color: #fff;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-accent);
}

.method-prune { --card-accent: var(--violet); }
.method-reform { --card-accent: #ef6c78; }
.method-ground { --card-accent: #ed70a2; }

.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-index { color: var(--card-accent); font-family: var(--font-mono); font-size: 13px; font-weight: 800; }
.method-card .step-tag { color: #bfb8c6; background: rgba(255,255,255,.08); }

.method-card h3 {
  min-height: 102px;
  margin: 33px 0 15px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.method-card > p { min-height: 145px; margin: 0; color: #bfb8c6; font-size: 14px; }

.formula {
  min-height: 56px;
  margin: 24px 0;
  padding: 15px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

.method-card ul { margin: 0; padding: 0; list-style: none; }
.method-card li { position: relative; padding: 9px 0 9px 21px; color: #d8d2de; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.method-card li::before { content: "↳"; position: absolute; left: 0; color: var(--card-accent); font-weight: 900; }

.dark-figure { background: #211a2a; border-color: var(--line-dark); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.dark-figure figcaption { color: #bfb8c6; }

.explorer-section {
  position: relative;
  background:
    radial-gradient(circle at 90% 15%, rgba(159, 89, 221, .18), transparent 28%),
    linear-gradient(180deg, #f7f3fa 0%, #fbfaf7 100%);
}

.explorer-card {
  padding: 10px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.explorer-tabs {
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: #eee9f1;
  border-radius: 17px;
}

.explorer-tabs button {
  min-height: 52px;
  padding: 10px 16px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.explorer-tabs button span {
  margin-right: 8px;
  color: var(--violet-deep);
  font-family: var(--font-mono);
  font-size: 10px;
}

.explorer-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 7px 18px rgba(23, 19, 31, .18);
}

.explorer-tabs button[aria-selected="true"] span { color: #d7a1f4; }

.explorer-stage {
  min-height: 620px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
  gap: 10px;
}

.viewer-column {
  min-width: 0;
  padding: 10px;
  color: #fff;
  background: var(--night);
  border-radius: 22px;
}

.viewer-toolbar {
  min-height: 49px;
  padding: 0 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mode-switch,
.viewer-actions { display: flex; align-items: center; gap: 5px; }

.viewer-toolbar button {
  min-height: 33px;
  padding: 7px 11px;
  color: #bdb4c6;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.viewer-toolbar button:hover { color: #fff; background: rgba(255,255,255,.1); }
.viewer-toolbar .mode-switch button.active { color: #fff; background: var(--violet-deep); border-color: var(--violet-deep); }

.pg-canvas-wrap {
  position: relative;
  height: 510px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, #39303f 0%, #211b28 46%, #15121a 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  isolation: isolate;
}

.pg-canvas-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to top, #000 0%, transparent 70%);
}

.pg-canvas-wrap canvas { width: 100% !important; height: 100% !important; display: block; touch-action: none; }

.pg-loading,
.pg-webgl-error {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: rgba(21, 18, 26, .92);
  text-align: center;
}

.pg-loading.is-hidden { display: none; }
.pg-webgl-error[hidden] { display: none; }
.pg-loading b { font-size: 13px; }
.pg-loading small { color: #a9a1b0; font-family: var(--font-mono); font-size: 9px; }

.pg-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,.14);
  border-top-color: #c77bef;
  border-radius: 50%;
  animation: pg-spin .8s linear infinite;
}

@keyframes pg-spin { to { transform: rotate(360deg); } }

.viewer-legend {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  display: grid;
  gap: 5px;
  color: #ddd6e2;
  background: rgba(18, 14, 22, .72);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  backdrop-filter: blur(8px);
  font-size: 9px;
}

.viewer-legend span { display: flex; align-items: center; gap: 7px; }
.viewer-legend i { width: 11px; height: 11px; display: inline-block; border-radius: 2px; }
.legend-region { border: 2px solid #c77bef; background: transparent; }
.legend-mesh { background: linear-gradient(135deg, #c7ae8d, #5f766d); }

.viewer-hint {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: #bdb4c6;
  background: rgba(18,14,22,.72);
  border-radius: 8px;
  font-size: 9px;
  backdrop-filter: blur(8px);
}

.mesh-stats {
  padding: 12px 4px 1px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.mesh-stats > div { padding: 3px 12px; }
.mesh-stats > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.mesh-stats span { display: block; color: #908797; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.mesh-stats strong { display: block; margin-top: 2px; color: #fff; font-family: var(--font-mono); font-size: 11px; }

.explorer-info {
  padding: 33px 27px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.info-block blockquote {
  margin: 13px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.info-divider { margin: 31px 0; display: flex; align-items: center; gap: 8px; color: var(--violet-deep); font-family: var(--font-mono); font-size: 8px; font-weight: 800; }
.info-divider i { height: 1px; flex: 1; background: linear-gradient(90deg, var(--violet), var(--rose)); }
.info-divider span:last-child { color: var(--rose); }

.reformulation-block h3 { margin: 10px 0 15px; font-family: var(--font-display); font-size: 23px; letter-spacing: -.035em; }
.reformulation-block ul { margin: 0; padding: 0; list-style: none; }
.reformulation-block li { position: relative; padding: 8px 0 8px 18px; color: var(--ink-soft); border-top: 1px solid #eeeaf0; font-size: 12px; line-height: 1.45; }
.reformulation-block li::before { content: "↳"; position: absolute; left: 0; color: var(--rose); font-weight: 900; }

.explorer-source { margin: auto 0 0; padding-top: 25px; color: #89818e; font-size: 10px; line-height: 1.55; }
.explorer-source a { color: var(--violet-deep); font-weight: 750; text-underline-offset: 3px; }

/* One persistent viewer, two connected story steps. */
.explorer-card [hidden] { display: none !important; }
.explorer-card { padding: 18px; }
.explorer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 1px 8px 17px; }
.explorer-header b { font-size: 15px; }
.explorer-header b span { color: var(--ink-soft); font-weight: 500; }
.explorer-live { color: var(--violet-deep); font-size: 11px; }
.story-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: #eee9f1; }
.story-tabs button { min-height: 54px; padding: 12px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 12px; font-size: 13px; font-weight: 750; cursor: pointer; }
.story-tabs button span { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 7px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
.story-tabs button[aria-selected="true"] { color: #fff; background: var(--ink); box-shadow: 0 4px 12px #17131f18; }
.story-tabs button[aria-selected="true"] span { color: #d7a1f4; }
.story-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 8px 18px; }
.story-heading h3 { margin: 0; font-family: var(--font-display); font-size: 25px; letter-spacing: -.035em; line-height: 1.25; }
.story-heading p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.scene-chip { flex-shrink: 0; margin-top: 3px; padding: 5px 9px; color: #756c80; background: #f1edf5; border-radius: 6px; font: 10px/1.5 var(--font-mono); }
.query-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 15px; }
.query-choices button { display: flex; align-items: center; gap: 12px; min-height: 81px; padding: 14px 18px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; line-height: 1.45; cursor: pointer; transition: background .15s, border-color .15s; }
.query-choices button small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 11px; }
.query-letter { display: grid; place-items: center; width: 31px; height: 31px; flex-shrink: 0; font-weight: 800; color: #b63a39; background: #ffe8e3; border-radius: 9px; }
[data-pg-query="door"] .query-letter { color: #166d4e; background: #dff6e9; }
[data-pg-query="tv"][aria-pressed="true"] { border-color: #e17b74; background: #fff2ef; box-shadow: inset 0 0 0 1px #e17b74; }
[data-pg-query="door"][aria-pressed="true"] { border-color: #409672; background: #edf9f1; box-shadow: inset 0 0 0 1px #409672; }
.pipeline-context { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding: 14px 16px; background: #f5effa; border: 1px solid #e5d8ef; border-radius: 12px; }
.pipeline-context p { max-width: 650px; margin: 0; color: #63516f; font-size: 12px; line-height: 1.6; }
.pipeline-context label { flex-shrink: 0; display: grid; gap: 4px; color: #756782; font-size: 10px; font-weight: 700; }
.pipeline-context select { max-width: 100%; padding: 8px; border: 1px solid #d9cbe3; border-radius: 7px; background: #fff; color: var(--ink); font: 12px var(--font-sans); }
.pipeline-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 15px; }
.pipeline-stages button { position: relative; min-height: 59px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink-soft); font-size: 12px; font-weight: 700; cursor: pointer; line-height: 1.35; }
.pipeline-stages button span { display: block; color: var(--violet-deep); font: 10px/1.8 var(--font-mono); }
.pipeline-stages button + button::before { content: "→"; position: absolute; left: -9px; top: 21px; font-size: 9px; color: #a295ad; }
.pipeline-stages button[aria-pressed="true"] { color: #fff; background: var(--violet-deep); border-color: var(--violet-deep); }
.pipeline-stages button[aria-pressed="true"] span { color: #e1cafa; }
.explorer-stage { min-height: 0; margin-top: 0; grid-template-columns: minmax(0, 1.75fr) minmax(270px, .8fr); align-items: start; }
.viewer-toolbar { min-height: 45px; }
#pg-view-label { color: #c5bacc; font-size: 10px; }
.viewer-toolbar button[aria-pressed="true"] { color: #fff; border-color: #a970df; background: #593287; }
.pg-canvas-wrap { height: 510px; }
.pg-webgl-error { padding: 24px; font-size: 13px; }
.pg-webgl-error button { border: 1px solid #a483c2; background: #55357a; color: #fff; padding: 8px 16px; border-radius: 8px; cursor: pointer; }
.pg-object-labels { position: absolute; z-index: 2; inset: 0; pointer-events: none; overflow: hidden; }
.pg-object-label { position: absolute; transform: translate(-50%, -100%); padding: 3px 7px; border: 1px solid #8c7b99; border-radius: 5px; background: #211b28e8; color: #fff; white-space: nowrap; font-size: 10px; line-height: 1.5; }
.pg-object-label.chair-tv { color: #ffc3bb; border-color: #ff7970; }
.pg-object-label.chair-door { color: #b6f8d8; border-color: #6ce3b5; }
.pg-object-label.selected { font-weight: 800; box-shadow: 0 2px 12px #0005; }
.pg-object-label.anchor { color: #f4ce83; border-color: #b69658; font-size: 9px; }
.viewer-legend { pointer-events: none; }
.legend-chair-a { background: #ff7970; }
.legend-chair-b, .legend-prediction { background: #6ce3b5; }
.mesh-details { margin: 7px 5px 0; }
.mesh-details summary { padding: 8px 0; color: #b4a9c0; font-size: 10px; cursor: pointer; }
.mesh-details > p { color: #aea2bb; font-size: 10px; line-height: 1.7; }
.mesh-details a { color: #dcc2f4; text-underline-offset: 2px; }
.mesh-stats { padding-top: 5px; }
.explorer-info { min-height: 600px; padding: 26px 23px; }
.explorer-info h3 { margin: 15px 0 12px; font: 750 26px/1.2 var(--font-display); letter-spacing: -.035em; }
#pg-choice-explanation, .stage-explanation > p { color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.reference-note { margin: 24px 0; padding: 15px; border: 1px solid #e6dceb; border-radius: 10px; background: #faf7fc; }
.reference-note p { margin: 9px 0 0; color: #72637d; font-size: 11px; line-height: 1.65; }
.data-badge { display: inline-block; padding: 4px 7px; color: #795197; background: #f0e8f7; border-radius: 5px; font: 700 9px/1.5 var(--font-sans); letter-spacing: .025em; }
.story-next { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding: 13px 16px; color: #fff; background: var(--violet-deep); border: 0; border-radius: 9px; text-align: left; font-size: 12px; line-height: 1.5; font-weight: 700; cursor: pointer; }
.story-next:hover { background: #5425b0; }
.story-footnote { margin: 10px 0 0; color: #887b93; font-size: 10px; line-height: 1.65; }
.stage-explanation { margin-top: 23px; padding-top: 22px; border-top: 1px solid var(--line); }
.stage-explanation h3 { font-size: 23px; }
.stage-explanation > p { margin-bottom: 23px; }
.info-block blockquote { font-size: 23px; }
.reformulation-block { margin: 0 0 24px; }
.reformulation-block h4 { margin: 10px 0 15px; font: 750 19px var(--font-display); }
.reformulation-block h5 { margin: 16px 0 4px; color: var(--violet-deep); font-size: 10px; font-weight: 750; }
.reformulation-block li { padding: 6px 0 6px 12px; font-size: 11px; }
.reformulation-block li::before { content: "·"; color: #887297; }
.grounding-note { margin: 0 0 20px; padding: 14px; border: 1px solid #e8d6ba; border-radius: 10px; background: #fff9ed; color: #84643c; font-size: 11px; }
.grounding-note p { margin-bottom: 0; line-height: 1.65; }
.explorer-card button:focus-visible, .explorer-card select:focus-visible, .mesh-details summary:focus-visible { outline: 3px solid #af79dc; outline-offset: 3px; }

.result-summary {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.result-summary > div { padding: 25px; display: flex; align-items: center; gap: 17px; }
.result-summary > div + div { border-left: 1px solid var(--line); }
.rank { color: var(--violet-deep); font-family: var(--font-display); font-size: 42px; font-weight: 900; letter-spacing: -.055em; }
.result-summary p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.result-summary b { color: var(--ink); font-size: 13px; }

.results-browser {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(39, 27, 50, .07);
}

.result-tabs {
  padding: 5px;
  display: flex;
  gap: 5px;
  background: #f1eef3;
  border-radius: 12px;
}

.result-tabs button {
  min-width: 130px;
  padding: 10px 18px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.result-tabs button[aria-selected="true"] { color: #fff; background: var(--ink); box-shadow: 0 5px 12px rgba(23, 19, 31, .18); }

.result-panel { padding: 18px 10px 8px; }
.table-meta { margin: 0 5px 9px; display: flex; justify-content: space-between; color: var(--ink-soft); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
th, td { padding: 13px 11px; text-align: center; border-bottom: 1px solid #ebe7ee; }
th { color: var(--ink-soft); background: #faf8fb; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
th:first-child, td:first-child { text-align: left; font-weight: 750; }
tbody tr:hover { background: #fbf9fc; }
.ours-row { color: #3e2357; background: var(--violet-pale) !important; }
.ours-row td:first-child { color: var(--violet-deep); }
.ours-row td:first-child span { margin-left: 6px; padding: 3px 5px; color: #fff; background: var(--violet-deep); border-radius: 4px; font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; }

.analysis-section { background: #f4f0f6; }

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.analysis-grid > article {
  padding: 29px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.analysis-grid h3 { margin-top: 6px; }
.mini-kicker { margin-bottom: 3px; font-size: 10px; }

.bar-list { margin-top: 28px; }
.bar-row { margin-top: 16px; }
.bar-row > div { margin-bottom: 6px; display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.bar-row b { font-family: var(--font-mono); }
.bar-row em { color: var(--green); font-size: 9px; font-style: normal; }
.bar-row i { position: relative; display: block; height: 9px; background: #eeeaf0; border-radius: 999px; overflow: hidden; }
.bar-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--bar); background: #b8a8c5; border-radius: inherit; }
.bar-row.best i::after { background: linear-gradient(90deg, var(--violet), var(--rose)); }

.candidate-comparison { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.candidate-comparison > div { padding: 22px; background: #f7f4f8; border-radius: 13px; }
.candidate-comparison span, .candidate-comparison small { display: block; color: var(--ink-soft); font-size: 10px; }
.candidate-comparison strong { display: block; margin: 12px 0 4px; font-family: var(--font-display); font-size: 27px; letter-spacing: -.04em; }
.candidate-comparison i { color: var(--rose); font-style: normal; }

.efficiency-metrics { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.efficiency-metrics div, .score-grid div { padding: 18px; background: #f7f4f8; border-radius: 13px; }
.efficiency-metrics strong, .score-grid strong { display: block; color: var(--violet-deep); font-family: var(--font-display); font-size: 31px; line-height: 1; letter-spacing: -.04em; }
.efficiency-metrics span, .score-grid span, .score-grid small { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 10px; }
.card-footnote { margin-top: 16px; font-size: 11px; }

.score-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.score-grid small { margin-top: 2px; opacity: .75; }

.limitations {
  margin-top: 70px;
  padding: 16px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 16px;
  background: var(--night);
  border-radius: var(--radius-lg);
}

.limitations-copy { padding: 35px; align-self: center; color: #fff; }
.limitations-copy h3 { margin-top: 4px; font-size: 36px; }
.limitations-copy > p { color: #bbb3c4; }
.limitations-copy a { display: inline-block; margin-top: 22px; color: #cf91f3; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
.limitations .figure-button { align-self: stretch; min-height: 390px; }
.limitations .figure-button img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.citation-section {
  position: relative;
  color: #fff;
  background: var(--night);
  overflow: hidden;
}

.citation-section::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(201, 129, 237, .2);
  border-radius: 50%;
}

.citation-shell { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.citation-copy h2 span { color: #c37bf0; }
.citation-copy > p { color: #bbb3c4; font-size: 16px; }
.citation-actions { justify-content: flex-start; }
.citation-section .button-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.22); }

.bibtex-card { min-width: 0; background: #211a2a; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 55px rgba(0,0,0,.22); }
.code-head { min-height: 50px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--font-mono); font-size: 11px; }
.code-head button { padding: 6px 11px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; font-size: 10px; cursor: pointer; }
.code-head button:hover { background: var(--violet-deep); }
pre { margin: 0; padding: 24px; overflow-x: auto; color: #dbcce8; font-family: var(--font-mono); font-size: 12px; line-height: 1.65; }
.copy-status { min-height: 18px; margin: -8px 24px 12px; color: #9ce1b8; font-size: 10px; }

footer { padding: 30px 0; color: #bcb4c4; background: #100d16; border-top: 1px solid rgba(255,255,255,.07); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { color: #fff; }
.footer-inner p { margin: 0; font-size: 10px; text-align: center; }
.footer-inner > div { display: flex; gap: 17px; }
.footer-inner > div a { font-size: 11px; font-weight: 750; text-underline-offset: 4px; }

.lightbox {
  width: min(96vw, 1500px);
  max-width: none;
  max-height: 92vh;
  padding: 42px 14px 14px;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  overflow: auto;
}

.lightbox::backdrop { background: rgba(12, 9, 16, .82); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; height: auto; }
.lightbox-close { position: absolute; top: 7px; right: 9px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: #f0edf2; border: 0; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }

.reveal { opacity: 1; transform: none; }
.has-js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.3,1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .method-steps { grid-template-columns: 1fr; }
  .method-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px 30px; }
  .step-top, .method-card h3 { grid-column: 1; }
  .method-card > p { grid-column: 2; grid-row: 1 / span 2; min-height: 0; align-self: end; }
  .formula { grid-column: 1 / -1; margin: 10px 0; }
  .method-card ul { grid-column: 1 / -1; }
  .method-card h3 { min-height: 0; margin: 15px 0; }
  .result-summary { grid-template-columns: 1fr; }
  .result-summary > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .explorer-stage { grid-template-columns: 1fr; }
  .explorer-info { min-height: 0; }
  .explorer-source { margin-top: 18px; padding-top: 0; }
  .story-heading { flex-direction: column; gap: 10px; }
  .pipeline-context { flex-direction: column; align-items: stretch; gap: 12px; }
  .citation-shell { gap: 35px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 620px); }
  .site-nav { background: rgba(251, 250, 247, .9); backdrop-filter: blur(14px); }
  .nav-shell { width: calc(100% - 24px); min-height: 66px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    inset: 66px 0 auto;
    max-height: 0;
    padding: 0 20px;
    display: grid;
    gap: 0;
    background: rgba(251, 250, 247, .98);
    overflow: hidden;
    opacity: 0;
    border-bottom: 1px solid var(--line);
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
  }
  .nav-links.open { max-height: 480px; padding: 15px 20px 22px; opacity: 1; }
  .nav-links a { padding: 12px 4px; font-size: 14px; }
  .nav-links > a::after { display: none; }
  .nav-paper { margin-top: 7px; text-align: center; }
  .hero { padding: 120px 0 72px; }
  h1 { font-size: clamp(46px, 14vw, 70px); }
  .hero-lede { font-size: 16px; }
  .authors { font-size: 12px; }
  .hero-actions { gap: 8px; }
  .button { padding: 10px 14px; }
  .hero-figure, .paper-figure { padding: 7px; border-radius: 20px; }
  .figure-button { border-radius: 14px; }
  .metric { min-height: 105px; padding: 18px 15px; }
  .metric strong { font-size: 30px; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .citation-copy h2 { font-size: clamp(44px, 13vw, 66px); }
  .section-heading > p:last-child { font-size: 16px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-arrow { transform: rotate(90deg); }
  .problem-card { min-height: auto; }
  .method-card { display: block; }
  .method-card h3 { font-size: 31px; }
  .method-card > p { margin-bottom: 20px; }
  .result-tabs button { min-width: 0; flex: 1; padding-inline: 8px; }
  .explorer-tabs { grid-template-columns: 1fr; }
  .explorer-tabs button { min-height: 44px; text-align: left; }
  .explorer-card { padding: 10px; border-radius: 22px; }
  .explorer-header { padding: 5px 4px 13px; }
  .explorer-header b { font-size: 12px; }
  .explorer-live { display: none; }
  .story-tabs button { min-height: 70px; padding: 10px 6px; font-size: 11px; }
  .story-tabs button span { display: grid; margin: 0 auto 6px; width: 20px; height: 20px; }
  .story-heading { padding: 20px 5px 15px; }
  .story-heading h3 { font-size: 23px; }
  .story-heading p { font-size: 12px; }
  .query-choices { gap: 7px; }
  .query-choices button { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px; font-size: 12px; }
  .query-choices button small { font-size: 10px; }
  .query-letter { width: 25px; height: 25px; font-size: 11px; }
  .pipeline-stages { grid-template-columns: 1fr 1fr; }
  .pipeline-stages button + button::before { display: none; }
  .viewer-toolbar { align-items: stretch; flex-direction: column; }
  .viewer-toolbar > div { width: 100%; }
  .mode-switch button { flex: 1; }
  .viewer-actions { justify-content: flex-end; }
  .pg-canvas-wrap { height: 440px; }
  .mesh-stats { grid-template-columns: repeat(2, 1fr); }
  .mesh-stats > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 9px; }
  .mesh-stats > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); padding-top: 9px; }
  .analysis-grid { grid-template-columns: 1fr; }
  .limitations { grid-template-columns: 1fr; }
  .limitations-copy { padding: 26px 18px; }
  .limitations .figure-button { min-height: 0; }
  .citation-shell { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 470px) {
  .metric-strip { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .metric { justify-content: center; text-align: center; }
  .hero-actions .button { flex: 1; min-width: 42%; }
  .candidate-comparison, .efficiency-metrics, .score-grid { grid-template-columns: 1fr; }
  .analysis-grid > article { padding: 22px; }
  .pg-canvas-wrap { height: 360px; }
  .viewer-legend { right: auto; left: 8px; top: 8px; padding: 6px 8px; font-size: 8px; }
  .viewer-hint { display: none; }
  .explorer-info { padding: 25px 20px; }
  .info-block blockquote { font-size: 23px; }
  pre { padding: 18px; font-size: 10px; }
}

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