/* SPINiverse */

:root {
  --bg: #f7f7f4;
  --bg-raise: #ffffff;
  --ink: #353535;
  --ink-2: #585858;
  --ink-3: #666865;
  --crimson: #983b4f;
  --indigo: #4e609e;
  --line: rgba(53, 53, 53, 0.2);
  --line-soft: rgba(53, 53, 53, 0.1);

  --display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Charter, "Bitstream Charter", Georgia,
    "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
    Consolas, "Liberation Mono", monospace;

  --shell: 1120px;
  --gut: clamp(1.25rem, 4vw, 3rem);
}

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
}

:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
}

::selection {
  background: rgba(125, 141, 255, 0.32);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gut);
}

/* ---------------------------------------------------------------- canvas */

#viz {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

#viz.is-ready {
  opacity: 1;
}

/* The canvas stays presentation-only. These transparent hit areas provide a
   grab cursor over the visible figure without blocking copy or navigation. */
.viz-drag-zone {
  display: none;
  position: absolute;
  z-index: 3;
  user-select: none;
  touch-action: none;
  cursor: grab;
}

.viz-drag-zone.is-dragging {
  cursor: grabbing;
}

@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .viz-drag-zone.is-ready {
    display: block;
  }

  .hero-viz-drag-zone {
    inset: 4.25rem 0 0 58%;
  }

  .stage-viz-drag-zone {
    inset: 0 0 0 58%;
  }
}

/* Everything scrolls above the canvas. Sections that want a clean reading
   surface paint an opaque background and hide it; the hero and the walkthrough
   stay transparent and let it through. */
.layer {
  position: relative;
  z-index: 1;
}

/* The fixed navigation lives inside the hero header, so the header's stacking
   context also has to sit above later sections. */
body > header.layer {
  z-index: 20;
}

.solid {
  background: var(--bg);
}

/* Light reading surfaces inherit the same component styles through a second
   set of ink and rule tokens. Spectacle stays dark; dense copy gets paper. */
.light {
  --bg: #ffffff;
  --bg-raise: #ffffff;
  --ink: #353535;
  --ink-2: #585858;
  --ink-3: #666865;
  --crimson: #983b4f;
  --indigo: #4e609e;
  --line: rgba(53, 53, 53, 0.2);
  --line-soft: rgba(53, 53, 53, 0.1);
  background: var(--bg);
  color: var(--ink);
}

#phenomenon,
#stage,
#papers {
  scroll-margin-top: 4.25rem;
}

/* Fixed-height fades, not percentages: a percentage fade on a tall section
   lands in the middle of the last element instead of below it. */
.solid-top {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0) 0, var(--bg) 11rem) top / 100% 11rem no-repeat,
    linear-gradient(0deg, rgba(5, 7, 13, 0) 0, var(--bg) 9rem) bottom / 100% 9rem no-repeat,
    var(--bg);
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  padding-block: 0.95rem;
  background: rgba(5, 7, 13, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-mark {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.nav-mark span {
  color: var(--ink-3);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 8.5rem 6rem;
}

/* Keeps the copy legible wherever the block happens to be rotated to. */
.hero::before,
.pin::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    98deg,
    rgba(5, 7, 13, 0.97) 0%,
    rgba(5, 7, 13, 0.93) 34%,
    rgba(5, 7, 13, 0.55) 50%,
    rgba(5, 7, 13, 0) 66%
  );
}

.pin::before {
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 46rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: clamp(0.8rem, 1.05vw, 0.92rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1.6rem;
}

.eyebrow b {
  color: var(--crimson);
  font-weight: 600;
}

.collaboration {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  letter-spacing: 0.11em;
}

.collaboration .institution {
  white-space: nowrap;
}

.collaboration .collab-mark {
  color: var(--crimson);
  font-size: 1.1em;
}

h1.title {
  /* Keep the compact wordmark on one line. */
  white-space: nowrap;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.hero-promise {
  max-width: 39rem;
  margin: 0 0 1.7rem;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -0.022em;
  font-weight: 500;
  margin: 0 0 1.5rem;
  color: var(--ink);
  text-wrap: balance;
}

.lede em {
  font-style: normal;
  background: linear-gradient(100deg, var(--crimson), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede-line {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(0.9rem, 4.2vw, 2.15rem);
}

.sub {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: var(--ink-2);
  max-width: 34rem;
  margin: 0 0 2.6rem;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #06070c;
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

/* ------------------------------------------------------------ phenomenon */

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.story-section {
  background:
    radial-gradient(circle at 82% 6%, rgba(88, 104, 216, 0.075), transparent 28rem),
    radial-gradient(circle at 8% 92%, rgba(197, 60, 86, 0.045), transparent 24rem),
    var(--bg);
  border-block: 1px solid var(--line-soft);
  box-shadow: 0 -24px 70px rgba(5, 7, 13, 0.2);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 2.6rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.section-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.beats {
  display: grid;
  gap: clamp(2.8rem, 5.5vw, 4.5rem);
  max-width: 65rem;
}

.beat {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding-top: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line-soft);
}

.beat-n {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--crimson);
  padding-top: 0.7rem;
  letter-spacing: 0.1em;
}

.beat h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: -0.028em;
  font-weight: 650;
  margin: 0 0 0.9rem;
  max-width: 26ch;
  text-wrap: balance;
}

.beat p {
  margin: 0;
  color: var(--ink-2);
  max-width: 58ch;
  font-size: 1.03rem;
}

.beat p + p {
  margin-top: 0.9rem;
}

.beat b {
  color: var(--ink);
  font-weight: 560;
}

/* --------------------------------------------------------------- stage */

#stage {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
}

.pin {
  position: relative;
  min-height: 100svh;
}

.panels {
  position: relative;
  pointer-events: none;
}

.panels-shell {
  display: grid;
  gap: 3rem;
  padding-block: clamp(9rem, 12vw, 11rem) clamp(5rem, 10vw, 8rem);
}

.panel {
  position: relative;
  max-width: 34rem;
  opacity: 1;
}

.home-enhanced #stage {
  height: 560vh;
  min-height: 0;
  background: transparent;
}

.home-enhanced .pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.home-enhanced .panels {
  position: absolute;
  inset: 0;
}

.home-enhanced .panels-shell {
  position: relative;
  display: block;
  height: 100%;
  padding-block: 0;
}

.home-enhanced .panel {
  position: absolute;
  top: 50%;
  left: var(--gut);
  opacity: 0;
  /* JS animates --rise only, so the centring offset survives. */
  transform: translateY(calc(-50% + var(--rise, 14px)));
  will-change: opacity, transform;
}

.panel-k {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 0.7rem;
}

.panel h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 0 0.65rem;
}

.panel p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 46ch;
  text-wrap: pretty;
}

.stage-credit {
  position: relative;
  z-index: 4;
  margin: 0 var(--gut) 2rem auto;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-align: right;
  max-width: 20rem;
  pointer-events: auto;
}

.home-enhanced .stage-credit {
  position: absolute;
  right: var(--gut);
  bottom: clamp(1.1rem, 3vh, 2rem);
  margin: 0;
}

.stage-credit a {
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .stage-credit {
    display: none;
  }
  .panel {
    max-width: none;
  }
}

/* --------------------------------------------------------------- papers */

.papers-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(244, 245, 248, 0) 22rem),
    var(--bg);
  border-top: 1px solid var(--line-soft);
}

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

.papers-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
}

.papers-head p {
  margin: 0;
  color: var(--ink-2);
  max-width: 34ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.6rem, 3.4vw, 2.5rem);
  background: var(--bg-raise);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 24, 36, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease, background 0.22s ease;
  min-height: 100%;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--indigo));
  opacity: 0.72;
}

.card:hover {
  background: var(--bg-raise);
  border-color: var(--line);
  box-shadow: 0 22px 55px rgba(20, 24, 36, 0.1);
  transform: translateY(-3px);
}

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.card-name {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}

.card-venue {
  font-family: var(--mono);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  color: var(--ink-3);
  white-space: nowrap;
}

.card-domain {
  font-size: 0.9rem;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: -0.5rem 0 0;
}

.card-thesis {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  text-wrap: pretty;
}

.card-metrics {
  margin-top: auto;
  margin-bottom: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-metric {
  min-width: 0;
  min-height: 5.9rem;
  padding: 1rem 0.9rem 0.9rem 0;
  border-top: 1px solid var(--line-soft);
}

.card-metric:nth-child(even) {
  padding-inline: 0.9rem 0;
  border-left: 1px solid var(--line-soft);
}

.card-metric dt {
  font-family: var(--display);
  font-size: clamp(1.42rem, 2.8vw, 1.82rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.46rem;
  font-variant-numeric: tabular-nums;
}

.card-metric dd {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.38;
}

.card-go {
  font-size: 0.86rem;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s, color 0.2s;
}

.card:hover .card-go {
  gap: 0.7rem;
  color: var(--ink);
}

/* -------------------------------------------------------------- footer */

.foot {
  border-top: 1px solid var(--line-soft);
  padding-block: 3.5rem 4.5rem;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1.8fr) repeat(3, minmax(8rem, 0.55fr));
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.foot-brand p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-2);
  line-height: 1.65;
}

.foot a {
  color: var(--ink-2);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.foot a:hover {
  color: var(--ink);
}

.foot h4 {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.foot-email {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  text-decoration: none;
}

.foot-email svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: minmax(16rem, 1.5fr) repeat(2, minmax(7rem, 0.7fr));
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .foot-brand {
    grid-column: auto;
  }
}

/* ------------------------------------------------------------ sub-pages */

.paper-hero {
  position: relative;
  overflow: hidden;
  padding-block: 9rem 3.5rem;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 82% 12%, rgba(125, 141, 255, 0.15), transparent 25rem),
    radial-gradient(circle at 66% 120%, rgba(224, 69, 95, 0.1), transparent 28rem),
    var(--bg);
}

.paper-hero::after {
  content: "";
  position: absolute;
  width: min(32vw, 28rem);
  aspect-ratio: 1;
  right: 7vw;
  bottom: -66%;
  border: 1px solid rgba(125, 141, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(125, 141, 255, 0.025),
    0 0 0 9rem rgba(224, 69, 95, 0.018);
  pointer-events: none;
}

.paper-hero .shell {
  position: relative;
  z-index: 1;
}

.back {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.back:hover {
  color: var(--ink);
}

.paper-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 1.1rem;
}

.paper-full {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--ink);
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 1.4rem;
  max-width: 40ch;
  text-wrap: balance;
}

.authors {
  color: var(--ink-3);
  font-size: 0.94rem;
  margin: 0 0 2rem;
  max-width: 60ch;
}

.authors b {
  color: var(--ink-2);
  font-weight: 600;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.025em;
  text-decoration: none;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.prose {
  max-width: 47rem;
}

.prose h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 3rem 0 1rem;
}

.prose p {
  color: var(--ink-2);
  margin: 0 0 1.1rem;
  text-wrap: pretty;
  font-size: 1.025rem;
}

.prose b {
  color: var(--ink);
  font-weight: 560;
}

.note {
  border-left: 2px solid var(--line);
  padding-left: 1.2rem;
  color: var(--ink-3);
  font-size: 0.94rem;
}

.stub {
  margin-top: 2.5rem;
  padding: 1.2rem 1.4rem;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.paper-body {
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(6rem, 12vw, 9rem);
}

.paper-body.light {
  min-height: 55vh;
  background:
    linear-gradient(90deg, rgba(88, 104, 216, 0.025), transparent 35%),
    var(--bg);
}

.prose h2:first-child,
.prose > h2:first-of-type {
  margin-top: 0;
}

/* ------------------------------------------------------ where this applies */

.applies {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: clamp(1.8rem, 3.6vw, 2.8rem);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(88, 104, 216, 0.065), rgba(255, 255, 255, 0.46) 55%, rgba(197, 60, 86, 0.035));
  box-shadow: 0 14px 45px rgba(20, 24, 36, 0.045);
  max-width: 62rem;
}

.applies h3 {
  font-family: var(--display);
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.applies-lede {
  margin: 0;
  color: var(--ink-2);
  max-width: 62ch;
  font-size: 1.03rem;
}

.applies-lede b,
.applies-list b {
  color: var(--ink);
  font-weight: 580;
}

.applies-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.4rem;
}

.applies-list li {
  color: var(--ink-2);
  padding-left: 1.4rem;
  position: relative;
  max-width: 62ch;
}

.applies-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
}

/* ------------------------------------------------------------------- team */

.team-group {
  margin-bottom: clamp(3.2rem, 6vw, 4.6rem);
}

.team-group h2 {
  font-size: clamp(0.88rem, 1.5vw, 1.02rem);
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  margin: 0 0 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.people li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.people li span {
  color: var(--ink-3);
  font-size: 0.84rem;
  margin-left: 0.4rem;
}

.people.lead li {
  border-color: rgba(224, 69, 95, 0.35);
  background: rgba(224, 69, 95, 0.07);
}

.paper-authors {
  display: grid;
  gap: 1.4rem;
}

.team-thanks {
  max-width: 48rem;
  margin: -0.15rem 0 1.65rem;
  color: var(--ink-2);
}

.paper-authors div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.4rem 1.4rem;
  align-items: baseline;
}

@media (max-width: 640px) {
  .paper-authors div {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   Academic editorial theme

   The site keeps its original information architecture and interactive
   figures, but presents them as a research publication: quiet paper surfaces,
   narrow reading measures, restrained rules, and sans/serif type roles.
   ====================================================================== */

.nav {
  padding-block: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 4rem;
}

.nav-mark {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.nav-links {
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-links a {
  color: var(--ink-2);
  text-underline-offset: 0.35rem;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
}

.hero {
  min-height: min(82svh, 52rem);
  padding-block: 9rem 5.5rem;
}

.hero::before,
.pin::before {
  background: linear-gradient(
    90deg,
    rgba(232, 235, 236, 0.99) 0%,
    rgba(232, 235, 236, 0.96) 35%,
    rgba(232, 235, 236, 0.72) 51%,
    rgba(232, 235, 236, 0) 68%
  );
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin-bottom: 1.35rem;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.collaboration {
  gap: 0.4rem 0.6rem;
  letter-spacing: 0.025em;
  text-transform: none;
}

.collaboration .collab-mark {
  color: var(--ink-3);
}

h1.title {
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-size: clamp(3rem, 6.2vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-promise {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.lede {
  max-width: 32rem;
  margin-bottom: 2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.lede em {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.lede-line {
  font-size: inherit;
}

.cta-row {
  gap: 0.8rem 1.5rem;
}

.btn {
  min-height: 2rem;
  padding: 0.15rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.btn:hover,
.btn-primary:hover,
.btn-ghost:hover {
  color: var(--indigo);
  border-color: var(--indigo);
  background: transparent;
  transform: none;
}

.btn-primary,
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.story-section {
  background: #fff;
  border-block-color: var(--line-soft);
  box-shadow: none;
}

.section-label {
  margin-bottom: 2.25rem;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-label::after {
  background: var(--line-soft);
}

.rq-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(18rem, 0.72fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.rq-archive {
  position: relative;
  display: flex;
  min-height: clamp(22rem, 38vw, 30rem);
  margin: 0;
  padding: clamp(2rem, 4.5vw, 4rem);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  color: #f7f1e8;
  background: #863b4a;
}

.rq-archive::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image: radial-gradient(circle, rgba(247, 241, 232, 0.2) 0.55px, transparent 0.8px);
  background-size: 4px 4px;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.rq-archive > :not(.rq-portrait) {
  position: relative;
  z-index: 2;
}

.rq-portrait {
  position: absolute;
  z-index: 0;
  top: -4%;
  right: -5%;
  width: 72%;
  height: 108%;
  object-fit: cover;
  object-position: 50% 44%;
  filter: grayscale(1) contrast(1.65) brightness(0.78);
  mix-blend-mode: multiply;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 24%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 24%, #000 52%);
  pointer-events: none;
  user-select: none;
}

.rq-archive-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.rq-archive blockquote {
  max-width: 18ch;
  margin: clamp(3rem, 6vw, 5rem) 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.7vw, 3rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.rq-archive figcaption {
  max-width: 38rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.5;
}

.rq-archive figcaption a {
  color: inherit;
  text-decoration-color: rgba(247, 241, 232, 0.42);
  text-underline-offset: 0.25rem;
}

.rq-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.68;
}

.rq-copy .rq-lede {
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  white-space: nowrap;
}

.rq-copy .rq-context {
  font-size: 0.9rem;
  line-height: 1.64;
}

.rq-copy .rq-close {
  margin-top: 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.46;
}

.rq-close span {
  display: block;
  white-space: nowrap;
}

.beats {
  gap: 0;
  max-width: 54rem;
}

.beat {
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  padding-block: clamp(1.8rem, 3vw, 2.5rem);
  border-top-color: var(--line-soft);
}

.beat:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.beat-n {
  padding-top: 0.34rem;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.beat h3 {
  max-width: 30ch;
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.beat p {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.68;
}

.applies {
  max-width: 54rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: 2rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.applies h3 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.applies-lede {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 1.04rem;
}

#stage {
  background: #e8ebec;
  border-block: 1px solid var(--line-soft);
}

.stage-label-wrap {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  padding-top: clamp(5.25rem, 8vh, 6.25rem);
  pointer-events: none;
}

.stage-label {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.015em;
}

.home-enhanced #stage {
  height: 470vh;
}

.panel {
  max-width: 31rem;
  padding: 1.4rem 1.5rem 1.5rem;
  border-top: 2px solid var(--ink);
  background: rgba(247, 247, 244, 0.93);
}

.panel-k {
  margin-bottom: 0.55rem;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.panel h3 {
  margin-bottom: 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.panel p {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.58;
}

.stage-credit {
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0;
}

.stage-credit a {
  color: var(--ink-2);
}

.papers-section {
  background: #fff;
  border-top-color: var(--line-soft);
}

.papers-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.papers-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.papers-head p {
  max-width: 38ch;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
}

.grid {
  display: block;
}

.card {
  display: grid;
  grid-template-columns: minmax(11.5rem, 0.62fr) minmax(0, 1.7fr) minmax(5.5rem, 0.28fr);
  grid-template-areas:
    "head copy go"
    "domain copy go";
  gap: 0.15rem clamp(1.5rem, 3.5vw, 3.25rem);
  min-height: 0;
  padding: clamp(1.8rem, 3vw, 2.5rem) 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  transition: background 160ms ease;
}

.card:first-child {
  border-top: 0;
}

.card::before {
  display: none;
}

.card:hover {
  border-color: var(--line-soft);
  color: var(--ink);
  background: #fafaf8;
  box-shadow: none;
  transform: none;
}

.card-top {
  grid-area: head;
  display: block;
}

.card-name {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.card-venue {
  display: block;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.card-domain {
  grid-area: domain;
  align-self: start;
  margin: 0.35rem 0 0;
  color: var(--indigo);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.card-copy {
  grid-area: copy;
}

.card-copy h3 {
  max-width: 38ch;
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.018em;
}

.card-thesis {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.62;
}

.card-go {
  grid-area: go;
  align-self: start;
  justify-self: end;
  margin-top: 0.2rem;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.74rem;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.25rem;
}

.card:hover .card-go {
  gap: 0.4rem;
  color: var(--indigo);
  text-decoration-color: var(--indigo);
}

.foot {
  padding-block: 3.5rem 4rem;
  border-top-color: var(--line-soft);
  color: var(--ink-3);
  background: #f1f1ee;
  font-family: var(--sans);
  font-size: 0.82rem;
}

.foot h4 {
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.foot-brand h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: none;
}

.foot-brand p,
.foot a {
  color: var(--ink-2);
}

.paper-hero {
  padding-block: 7.5rem 3.5rem;
  border-bottom-color: var(--line-soft);
  background: #e8ebec;
}

.paper-hero::after {
  display: none;
}

.back {
  margin-bottom: 2rem;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.3rem;
}

.paper-title {
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.65rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.paper-full {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
}

.authors {
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.85rem;
}

.chip {
  padding: 0.28rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink-2);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.72rem;
}

.chip:hover {
  color: var(--indigo);
  border-color: var(--indigo);
  background: transparent;
}

.paper-body,
.paper-body.light {
  background: #fff;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.prose p {
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.68;
}

.team-group {
  max-width: 62rem;
}

.team-group h2 {
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.avatar,
.avatar-blank,
.light .avatar,
.light .avatar-blank {
  border-radius: 2px;
  background: #ececea;
  box-shadow: 0 0 0 1px var(--line-soft);
}

.light .person a:hover .avatar,
.person a:hover .avatar {
  box-shadow: 0 0 0 1px var(--line);
  transform: none;
}

.person .who-name,
.person .who-role,
.person .who-aff,
.paper-authors,
.people,
.team-thanks {
  font-family: var(--sans);
}

.people li {
  padding: 0.18rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .rq-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  .card {
    grid-template-columns: minmax(10rem, 0.52fr) minmax(0, 1.48fr);
    grid-template-areas:
      "head copy"
      "domain copy"
      "go copy";
  }

  .card-go {
    justify-self: start;
    margin-top: 1rem;
  }
}

@media (min-width: 721px) and (max-width: 820px), (max-width: 360px) {
  .rq-copy .rq-close {
    font-size: 1.08rem;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 42rem;
    padding-block: 7rem 4.5rem;
  }

  .hero::before {
    background: rgba(232, 235, 236, 0.86);
  }

  .papers-head {
    grid-template-columns: 1fr;
  }

  .rq-feature {
    grid-template-columns: 1fr;
  }

  .rq-archive {
    min-height: 22rem;
  }

  .card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "domain"
      "copy"
      "go";
    gap: 0.55rem;
  }

  .card-copy {
    margin-top: 0.35rem;
  }

  .panel {
    max-width: calc(100vw - 2 * var(--gut));
  }
}

@media (max-width: 640px) {
  .collaboration {
    font-size: 0.66rem;
  }

  .paper-hero {
    padding-block: 6.5rem 2.75rem;
  }
}

.paper-authors dt,
.paper-authors .who {
  margin: 0;
}

.paper-authors .what {
  font-weight: 620;
  letter-spacing: -0.01em;
}

.paper-authors .who {
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* ------------------------------------------------------------- the roster */

.roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.9rem 1.1rem; }
}

.person a,
.person > div {
  display: block;
  text-decoration: none;
  color: inherit;
}

.avatar,
.avatar-blank {
  display: block;
  width: 100%;
  max-width: 6.6rem;
  /* height:auto is load-bearing: the width/height attributes on <img> are
     presentation hints, and without this the 480px height wins and the
     circle renders as an ellipse. */
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 0 0.85rem;
  background: #0c1020;
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.light .avatar,
.light .avatar-blank {
  background-color: #e7e9f0;
  box-shadow: 0 0 0 1px var(--line), 0 12px 28px rgba(20, 24, 36, 0.12);
}

.light .avatar-blank {
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(88, 104, 216, 0.13), transparent 62%),
    #e7e9f0;
}

.light .person a:hover .avatar {
  box-shadow: 0 0 0 1px rgba(88, 104, 216, 0.65), 0 16px 36px rgba(20, 24, 36, 0.16);
}

.avatar { object-fit: cover; }

.avatar-blank {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  box-shadow: 0 0 0 1px var(--line-soft);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(125, 141, 255, 0.12), transparent 62%),
    #0c1020;
}

.person a:hover .avatar {
  box-shadow: 0 0 0 1px rgba(125, 141, 255, 0.75), 0 14px 38px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.person .who-name {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 0.28rem;
  color: var(--ink);
}

.person a:hover .who-name { color: var(--indigo); }

.person .who-role,
.person .who-aff {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: normal;
}

.person .who-role { color: var(--ink-2); }
.person .who-aff { color: var(--ink-3); }

.person .who-name .ext {
  font-size: 0.72em;
  color: var(--ink-3);
  margin-left: 0.32rem;
  vertical-align: 0.08em;
}

.roster.lead .avatar,
.roster.lead .avatar-blank { max-width: 7.2rem; }

/* Narrow columns cannot hold a full title on one line, so let it wrap there. */
@media (max-width: 900px) {
  .person .who-role,
  .person .who-aff { white-space: normal; }
}

.paper-authors .eq {
  color: inherit;
  padding-left: 0.05em;
}

/* Institutes belong on their own row, under the three labs. */
.people .rowbreak {
  flex-basis: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.people li a {
  color: inherit;
  text-decoration: none;
}

.people li:hover {
  border-color: rgba(125, 141, 255, 0.55);
}

.team-note {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 1.9rem 0 0;
  max-width: 62ch;
}

@media (max-width: 640px) {
  .hero {
    padding-block: 7.5rem 5rem;
  }

  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(5, 7, 13, 0.96) 0%,
      rgba(5, 7, 13, 0.86) 58%,
      rgba(5, 7, 13, 0.7) 100%
    );
  }

  .collaboration {
    max-width: 22rem;
    gap: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .lede {
    line-height: 1.28;
  }

  .beat {
    grid-template-columns: 2.4rem 1fr;
  }

  .paper-hero {
    padding-block: 6.5rem 3rem;
  }

  .paper-hero::after {
    display: none;
  }

  .card-top {
    display: grid;
    gap: 0.25rem;
  }
}

/* Final narrow-screen corrections live after the legacy responsive rules so
   the editorial theme remains the last word in the cascade. */
@media (max-width: 720px) {
  .hero {
    min-height: 42rem;
    padding-block: 7rem 4.5rem;
  }

  .hero::before {
    background: rgba(232, 235, 236, 0.88);
  }

  .lede-line {
    display: inline;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .collaboration {
    max-width: 22rem;
    gap: 0.3rem 0.5rem;
    font-size: 0.66rem;
  }

  .paper-hero {
    padding-block: 6.5rem 2.75rem;
  }
}
