/* Mind the Band — Unified Editorial Research Aesthetic (Review & Public Editions).
   Plot palette matches the paper figures: RayRoPE crimson, WorldRoPE cobalt, URoPE slate, warm cream plateau. */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f6f8fb;
  --white: #ffffff;
  --surface: #eef2f7;
  --surface-2: #e2e8f0;
  --ink: #0f172a;
  --muted: #475569;
  --faint: #64748b;
  --line: #dde4ee;
  --line-strong: #c6d1e0;
  --accent: #1d4ed8;
  --accent-soft: #eaf1fb;
  --accent-border: #bfd4f4;
  --accent-ink: #1e40af;
  --ray: #c53030;
  --ray-mid: #dc6868;
  --ray-soft: #ebb5b5;
  --ray-tint: #fef2f2;
  --world: #1d4ed8;
  --uro: #64748b;
  --band: #bfd4f4;
  --band-soft: #eaf1fb;
  --band-ink: #254f8f;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gap: 0.5758%; /* matches the 12 px divider inside 2084 px composite videos */
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 2px 10px -4px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.64 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap, .topbar-inner, .cottage-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(22px, env(safe-area-inset-right, 0px));
}

a { color: var(--world); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
sup { line-height: 0; font-size: 0.68em; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.015em; }
[hidden] { display: none !important; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--world); outline-offset: 2px; }

/* ---------- sticky top navigation ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex: none;
}
.brand:hover { text-decoration: none; color: var(--accent); }
.brand-mark { width: 28px; height: 24px; flex: none; display: block; }
.topnav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}
.topnav a:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.05);
  text-decoration: none;
}
.topnav a[data-active="true"] {
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-weight: 620;
}
.scroll-progress {
  height: 1.5px;
  width: 100%;
  background: var(--accent);
  opacity: 0.72;
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- header ---------- */
.head {
  padding: 36px 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.is-public .head {
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.is-public .wrap,
.is-public .topbar-inner,
.is-public .cottage-shell {
  max-width: 1180px;
}
.is-public .head .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) auto;
  grid-template-areas:
    "meta meta"
    "title authors"
    "title bar";
  column-gap: 36px;
  align-items: end;
}
.is-public .paper-meta {
  grid-area: meta;
  margin-bottom: 12px;
}
.is-public .venue-pill {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.is-public h1 { grid-area: title; align-self: end; }
.is-public h1 .t1 {
  font-size: clamp(40px, 4.6vw, 58px);
  letter-spacing: -0.036em;
}
.is-public h1 .sub {
  font-size: clamp(17.5px, 1.75vw, 22px);
  margin-top: 8px;
}
.is-public .lede { display: none; }
.is-public .authors {
  grid-area: authors;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
  align-self: end;
}
.is-public .authors .names {
  justify-content: flex-end;
  gap: 4px 16px;
  font-size: 15px;
}
.is-public .authors .aff {
  margin-top: 4px;
  font-size: 13px;
}
.is-public .authors .note {
  margin-top: 2px;
  font-size: 11px;
}
.is-public .hero-bar {
  grid-area: bar;
  justify-content: flex-end;
  margin-top: 11px;
}
.paper-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 12px;
}
.venue-pill {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  font: 560 12.5px/1.3 var(--sans);
  letter-spacing: 0;
  color: var(--muted);
}
.venue { margin: 0; }
.meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.meta-topic {
  font: 480 12.5px/1.3 var(--sans);
  color: var(--faint);
}
h1 {
  margin: 0;
  color: var(--ink);
}
h1 .t1 {
  display: block;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 740;
}
h1 .sub {
  display: block;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
  text-wrap: balance;
}
.lede {
  margin: 16px 0 0;
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.58;
  color: var(--muted);
}

/* Public author & resource strip */
.authors {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.authors .names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  font-size: 16px;
  font-weight: 600;
}
.authors .au { white-space: nowrap; }
.authors .au a { color: var(--ink); }
.authors .au a:hover { color: var(--accent); text-decoration: none; }
.authors .au sup { color: var(--accent); margin-left: 2px; font-weight: 600; }
.authors .sep { display: none; }
.authors .aff {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: var(--muted);
}
.authors .note {
  display: block;
  margin-top: 3px;
  font: 450 12px/1.4 var(--mono);
  color: var(--faint);
}
.hero-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 16px;
}
.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.links a, .links .pill-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 31px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 580;
  line-height: 1;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.links svg {
  width: 13.5px;
  height: 13.5px;
  flex: none;
  opacity: 0.82;
}
.links a {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}
.links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.links a.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.links a.secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.links .pill-soon {
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: default;
}
.links .pill-soon em {
  font: 500 10px/1 var(--mono);
  font-style: normal;
  color: var(--faint);
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--surface);
}
.release-links {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- public Blender interactive cover ---------- */
.cottage-demo {
  margin: 2px 0 0;
}
.cottage-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 13px;
  box-shadow: 0 14px 36px -18px rgba(18, 20, 26, 0.10);
}
.cottage-pipeline {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.52fr) minmax(0, 2.45fr);
  gap: clamp(10px, 1.3vw, 18px);
}
.cottage-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cottage-stage h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ink);
  font: 600 13px/1.35 var(--sans);
  letter-spacing: -0.01em;
}
.cottage-stage .stage-idx {
  font: 600 10.5px/1 var(--mono);
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2.5px 5.5px;
  border-radius: 4px;
}
.cottage-stage h2::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
@media (min-width: 721px) {
  .cottage-stage:not(.cottage-novel) h2::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    transform: translateY(-50%) rotate(45deg);
  }
}
.capture-pair {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.capture, .model-space, .novel-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(21, 23, 28, 0.08);
}
.capture { background: #dce3ec; }
.capture img, .novel-frame img, .novel-frame canvas, .cloud-poster, #cottage-cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  max-width: none;
}
.capture img { object-fit: cover; }
.capture span, #cottage-quality {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 4px;
  font: 600 10.5px/1.35 var(--mono);
  letter-spacing: -0.01em;
}
.model-space {
  flex: 1;
  min-height: 0;
  background-color: #0f172a;
  background-image:
    radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    radial-gradient(ellipse at 48% 44%, #1e293b 0%, #0f172a 88%);
  background-size: 18px 18px, 100% 100%;
  isolation: isolate;
}
.cloud-poster { object-fit: contain; background: transparent; }
#cottage-ripple {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: brightness(1.45);
  mask-image: linear-gradient(90deg, transparent 45%, #000 68%, transparent 91%);
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 68%, transparent 91%);
  mask-repeat: repeat-x;
  -webkit-mask-repeat: repeat-x;
}
#cottage-cloud { cursor: grab; touch-action: pan-y; }
#cottage-cloud:active { cursor: grabbing; }
#cottage-cloud:focus-visible { outline-offset: -3px; outline-color: var(--band); }
.cottage-wave {
  position: absolute;
  bottom: 13%;
  left: 0;
  width: 100%;
  height: 11%;
  pointer-events: none;
}
.cottage-wave path { fill: none; vector-effect: non-scaling-stroke; }
.wave-axis { stroke: rgba(148, 163, 184, 0.35); stroke-width: 0.9; stroke-dasharray: 2 4; }
.wave-trace { stroke: #7dd3fc; stroke-width: 1.8; }
.freq-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 2.5px 7.5px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(241, 245, 249, 0.92);
  font: 500 10px/1.35 var(--mono);
  pointer-events: none;
}
.freq-badge[data-state="sharp"] {
  border-color: rgba(125, 211, 252, 0.45);
  color: #bae6fd;
}
.freq-badge[data-state="streaked"] {
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}
.orbit-hint {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.85);
  font: 500 10px/1.4 var(--mono);
  pointer-events: none;
}
.novel-frame {
  aspect-ratio: 1380 / 1020;
  background: #dce3ec;
}
#cottage-quality {
  left: auto;
  right: 11px;
  bottom: 11px;
  font-size: 11px;
}
#cottage-quality[data-state="streaked"] {
  background: rgba(191, 44, 35, 0.92);
  color: #fff;
  border-color: rgba(191, 44, 35, 1);
}
#cottage-quality[data-state="blurred"] {
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
}
.band-desk {
  margin: 13px -18px -13px;
  padding: 11px 18px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
}
.band-desk > label {
  font-weight: 630;
  font-size: 13.5px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
#cottage-play {
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
#cottage-play:hover { border-color: var(--ink); }
#cottage-play svg { width: 11.5px; fill: currentColor; }
#cottage-play[aria-pressed="false"] .band-pause,
#cottage-play[aria-pressed="true"] .band-start { display: none; }
.band-scale {
  min-width: 0;
  margin-left: clamp(8px, 2.2vw, 32px);
}
#cottage-band {
  display: block;
  width: 100%;
  margin: 0;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
#cottage-band::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd5e1 0%, #cbd5e1 35%, #93c5fd 39%, #93c5fd 61%, #e2b8be 65%, #dca5ad 100%);
  border: 1px solid rgba(15, 23, 42, 0.09);
}
#cottage-band::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd5e1 0%, #cbd5e1 35%, #93c5fd 39%, #93c5fd 61%, #e2b8be 65%, #dca5ad 100%);
  border: 1px solid rgba(15, 23, 42, 0.09);
}
#cottage-band::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: var(--white);
  border: 2.2px solid var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  transition: border-color 0.15s, transform 0.15s;
}
#cottage-band:hover::-webkit-slider-thumb {
  border-color: var(--accent);
  transform: scale(1.06);
}
#cottage-band::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2.2px solid var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}
.band-stops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2px;
}
.band-stops button {
  justify-self: start;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 2px 0;
  color: var(--muted);
  font: 500 11.5px/1.35 var(--mono);
}
.band-stops button:nth-child(2) { justify-self: center; }
.band-stops button:last-child { justify-self: end; }
.band-stops button:hover,
.band-stops button[aria-pressed="true"] {
  color: var(--accent-ink);
  font-weight: 650;
}
.band-stops button:last-child[aria-pressed="true"] {
  color: var(--ray);
}
.cottage-demo figcaption {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 10px 2px 0;
}
.cottage-demo figcaption span { color: var(--muted); }
.cottage-demo figcaption a { font-weight: 560; white-space: nowrap; }

/* ---------- editorial section rhythm ---------- */
section {
  padding: 52px 0 8px;
  scroll-margin-top: 66px;
}
section.first { padding-top: 32px; }
section + section {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}
#sweep + .facts { margin-top: 26px; }
.facts + section {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}
.eyebrow {
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 8px;
}
.sec-head {
  max-width: 780px;
  margin-bottom: 22px;
}
.sec-head p { color: var(--muted); }
h2 {
  font-size: clamp(23px, 2.65vw, 31px);
  line-height: 1.18;
  letter-spacing: -0.024em;
  font-weight: 720;
  margin: 0 0 12px;
  color: var(--ink);
  text-wrap: balance;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  font-weight: 660;
  color: var(--ink);
}

.show-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: end;
  gap: 14px 36px;
  margin-bottom: 20px;
}
.show-heading h2 { margin: 0; }
.show-heading > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.54;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 3.6vw, 46px);
  align-items: start;
}
.split .sec-head { margin-bottom: 0; }

/* ---------- live frequency sweep teaser ---------- */
.teaser {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.t-stage { position: relative; padding-top: 12px; }
.t-plateau {
  position: absolute;
  top: 2px;
  bottom: 28px;
  background: var(--band-soft);
  border-left: 1px dashed var(--accent-border);
  border-right: 1px dashed var(--accent-border);
  border-radius: 6px;
  pointer-events: none;
}
.plateau-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #e1edfd;
  color: var(--band-ink);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 1px 8px;
  font: 600 10px/1.4 var(--mono);
  white-space: nowrap;
}
.t-tiles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.t-tile {
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: opacity 0.28s, transform 0.18s, background-color 0.18s;
}
.t-tile:hover { transform: translateY(-1px); }
.t-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  border-radius: 5px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.18s, box-shadow 0.18s;
  background: var(--surface);
}
.t-tile .tl {
  display: block;
  font: 650 14.5px/1.25 var(--sans);
  margin-top: 9px;
  color: var(--ink);
}
.t-tile .tf {
  display: block;
  font: 450 11.5px/1.3 var(--mono);
  color: var(--faint);
  margin-top: 2px;
}
.teaser.touring .t-tile:not([aria-pressed="true"]),
.teaser.picked .t-tile:not([aria-pressed="true"]) { opacity: 0.58; }
.t-tile[aria-pressed="true"] img {
  outline-color: var(--accent);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.16);
}
.t-tile[aria-pressed="true"] .tl { color: var(--accent-ink); }
.t-curve {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 6px;
}
.t-curve text { font: 11.5px var(--mono); fill: var(--faint); }
.t-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 10px -20px 0;
  padding: 12px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.t-read {
  font: 500 14px/1.4 var(--mono);
  flex: 1 1 300px;
  color: var(--ink);
}
.t-read b { font-weight: 700; }
.t-read .dim { color: var(--muted); font-weight: 450; }
.switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 560;
  user-select: none;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px 5px 7px;
  box-shadow: var(--shadow-sm);
}
.switch:hover { border-color: var(--ink); }
.switch i {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #c9c7bd;
  position: relative;
  transition: background 0.2s;
  flex: none;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}
.switch[aria-pressed="true"] {
  border-color: var(--ray);
  background: var(--ray-tint);
}
.switch[aria-pressed="true"] i { background: var(--ray); }
.switch[aria-pressed="true"] i::after { transform: translateX(14px); }

.play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex: none;
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, transform 0.15s;
}
.play:hover { border-color: var(--ink); }
.play svg { width: 11px; height: 11px; fill: var(--ink); }
.play .i-pause { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play[aria-pressed="true"] .i-play { display: none; }

.caption, figcaption {
  font-size: 14px;
  line-height: 1.58;
  color: var(--muted);
}
.caption { margin: 12px 0 0; max-width: 96ch; }
.caption b, .paperfig figcaption b { color: var(--ink); font-weight: 640; }

/* ---------- key quantitative findings ribbon ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fact {
  padding: 18px 22px;
}
.fact + .fact {
  border-left: 1px solid var(--line);
}
.fact-k {
  display: block;
  font: 600 12.5px/1.3 var(--sans);
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 6px;
}
.fact .v {
  color: var(--ink);
  font: 700 clamp(24px, 2.5vw, 31px)/1.12 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.fact .v small {
  font-size: 0.48em;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.fact .arrow {
  color: var(--accent);
  font-weight: 500;
  padding-inline: 0.1em;
}
.fact p {
  font-size: 13.5px;
  line-height: 1.52;
  color: var(--muted);
  margin: 9px 0 0;
}

/* ---------- abstract card ---------- */
.abstract-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px 32px;
  align-items: start;
}
.abstract-head h2 { margin: 0; font-size: 24px; }
.abstract-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 76ch;
}

/* ---------- interactive instrument panels & SVG charts ---------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 0;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.panel canvas { display: block; width: 100%; }
.ctrl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 14px -18px 0;
  padding: 11px 18px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.ctrl .grow { flex: 1 1 150px; min-width: 0; }
.seg {
  display: inline-flex;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.seg button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 520;
  cursor: pointer;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  margin: 0;
  height: 22px;
  cursor: pointer;
}
.readout {
  font: 550 13px/1.3 var(--mono);
  color: var(--ink);
  white-space: nowrap;
}
.eq {
  font: 500 14px/1.55 var(--mono);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 16px 0 0;
  display: inline-block;
}
.eq .r { color: var(--ray); font-weight: 600; }

.chartbox {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
}
.chartbox svg { display: block; width: 100%; }
.chartbox text { font: 11.5px var(--mono); fill: var(--faint); }
.chartbox .lbl { font: 620 13px var(--sans); }
.chartbox .hint { margin: 0 0 14px; }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.seen .draw { animation: draw 1.35s ease-out forwards; }
.seen .draw.d2 { animation-delay: 0.75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pop { opacity: 0; }
.seen .pop { animation: pop 0.45s 1.15s ease-out forwards; }
.seen .pop.d2 { animation-delay: 1.9s; }
@keyframes pop { to { opacity: 1; } }

/* Causal recovery bars */
.bars { display: grid; gap: 11px; margin-top: 6px; }
.bar .bl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--ink);
}
.bar.sub-bar .bl span { color: var(--muted); padding-left: 10px; }
.bar .bl b { font: 650 13.5px var(--mono); color: var(--ink); }
.bar.primary .bl b { color: var(--ray); }
.bar .bt {
  position: relative;
  height: 11px;
  background: var(--surface);
  border-radius: 4px;
  overflow: visible;
}
.bar .bf {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 4px;
  background: var(--ray-soft);
  transition: width 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bar.primary .bf { background: var(--ray); }
.bar.sub-bar .bf { background: var(--ray-mid); }
.bar .dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  opacity: 0;
  transition: opacity 0.4s 0.95s;
  z-index: 2;
}
.bar.primary .dot { border-color: var(--ray); }
.seen .bar .dot { opacity: 1; }

/* ---------- scene selector, render explorer & video cards ---------- */
.subdeck { margin-top: 28px; }
.scenes {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 12px;
  margin: 0 0 10px;
}
.group { flex: none; }
.group .gl {
  font: 600 11px/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 7px;
  white-space: nowrap;
}
.thumbs { display: flex; gap: 6px; }
.thumbs button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
  border-radius: 5px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform 0.15s, outline-color 0.15s;
}
.thumbs button:hover { transform: translateY(-1px); }
.thumbs img {
  width: 54px;
  height: 54px;
  border-radius: 5px;
  display: block;
  object-fit: cover;
}
.thumbs button[aria-pressed="true"] {
  outline-color: var(--accent);
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.2);
}

.explorer {
  display: grid;
  grid-template-columns: 334px minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 8px;
}
figure { margin: 0; }
figure img, .still img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
figcaption { margin-top: 8px; }
figcaption .k, .still .k { color: var(--muted); }

.compare-fig .compare-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.compare-fig .compare-frame img { border-radius: 0; }
#ex-render {
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: manipulation;
}
.hold-pill {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(21, 23, 28, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font: 550 10.5px/1.35 var(--mono);
  pointer-events: none;
  transition: background-color 0.15s;
}
.hold-pill.active { background: var(--ray); }
.hold-pill.static {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid rgba(21, 23, 28, 0.12);
}

.side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.chart { width: 100%; height: auto; display: block; }
.chart text { font: 11px var(--mono); fill: var(--faint); }
.chart .pt { cursor: pointer; }
.stops {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.stops button {
  font-size: 13px;
  font-weight: 560;
  padding: 6px 2px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 5px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.stops button:hover { border-color: var(--ink); }
.stops button.wide { grid-column: 1 / -1; margin-top: 2px; }
.stops button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.stops button.wide[aria-pressed="true"] {
  background: var(--ray);
  border-color: var(--ray);
}
table.kv {
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13.5px;
  width: 100%;
}
table.kv td {
  padding: 5px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
table.kv td:last-child {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.under {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 16px;
  padding: 11px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.under img {
  width: 68px;
  height: 68px;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.under .ins {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 560;
  color: var(--ink);
}
.target-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 560;
  color: var(--ink);
}
.under .seg button { padding: 4px 12px; }
.scene-stat { flex: 1 1 280px; line-height: 1.45; }

/* Unified 4-column trajectory video stage */
.video-card {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
#showcase .video-card,
#overview .video-card { margin-top: 0; }
.overview-card .vbox { background: var(--paper); }
.overview-card video { aspect-ratio: 16 / 9; background: var(--paper); }
.cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
  padding: 11px 14px 9px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.cols div {
  font-size: 14px;
  font-weight: 660;
  line-height: 1.28;
  color: var(--ink);
  padding-right: 10px;
}
.cols .s {
  display: block;
  color: var(--muted);
  font: 450 11.5px/1.35 var(--mono);
  margin-top: 2px;
}
.vbox { background: #111318; overflow: hidden; }
video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2084 / 512;
  background: #111318;
}
.vnote { margin: 8px 14px; color: var(--ray); }
.vctrl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 14px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.row5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.still img { border: 1px solid var(--line); }
.still .c {
  font-size: 13px;
  font-weight: 560;
  margin-top: 6px;
  line-height: 1.35;
  color: var(--ink);
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}
table.res {
  border-collapse: collapse;
  font-size: 14px;
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
table.res th, table.res td {
  padding: 8px 14px;
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
}
table.res th {
  font: 650 12.5px var(--sans);
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
}
table.res tr + tr td { border-top: 1px solid var(--line); }
table.res th:first-child, table.res td:first-child {
  text-align: left;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 560;
}
table.res td:first-child span { color: var(--faint); font-weight: 450; }
.hint { color: var(--muted); font-size: 13.5px; }

/* ---------- tabbed supplementary figures & zoom lightbox ---------- */
.fig-header .sec-head { margin-bottom: 16px; }
.fig-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
}
.fig-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fig-tabs button, .fig-all-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--muted);
  font: 560 12.5px/1.2 var(--sans);
  cursor: pointer;
  transition: all 0.15s;
}
.fig-tabs button:hover, .fig-all-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.fig-tabs button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.fig-all-btn[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
}
.fig-deck { display: grid; gap: 22px; }
.paperfig {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(12px, 1.8vw, 22px);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.paperfig a {
  display: block;
  position: relative;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.paperfig a::after {
  content: "Click to zoom 2000px";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(21, 23, 28, 0.76);
  color: #fff;
  font: 550 11px/1.2 var(--mono);
  opacity: 0;
  transition: opacity 0.18s;
  pointer-events: none;
}
.paperfig a:hover::after { opacity: 1; }
.paperfig img {
  background: #fff;
  border-radius: 0;
  padding: 6px;
}
.paperfig figcaption {
  margin: 12px 0 0;
  max-width: 96ch;
}
.fig-tag {
  display: inline-block;
  font: 650 11px/1.2 var(--mono);
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: 1px;
}

/* Lightbox dialog */
dialog.lightbox {
  width: min(96vw, 1520px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}
dialog.lightbox::backdrop {
  background: rgba(15, 17, 22, 0.8);
  backdrop-filter: blur(4px);
}
.lb-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.lb-caption {
  font-size: 13.5px;
  font-weight: 620;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.lb-raw {
  font: 550 12px/1 var(--mono);
  color: var(--muted);
}
.lb-close {
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.lb-close:hover { border-color: var(--ink); }
.lb-stage {
  padding: 18px;
  overflow: auto;
  max-height: calc(92vh - 54px);
  background: #fff;
}
.lb-stage img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---------- practical guidelines & protocol notes ---------- */
.guides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.guide {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  position: relative;
}
.g-idx {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.92em;
  color: var(--faint);
  margin-right: 4px;
}
.guide p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.58;
}

.notes-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.notes-card .sec-head { margin-bottom: 14px; }
.notes-card h2 { font-size: 21px; margin-bottom: 0; }
.fine ul {
  padding-left: 18px;
  margin: 0;
  columns: 2;
  column-gap: 36px;
}
.fine li {
  margin-bottom: 9px;
  break-inside: avoid;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.fine b { color: var(--ink); font-weight: 630; }

/* BibTeX */
.bibbox {
  position: relative;
  max-width: 860px;
}
pre.bib {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 0;
  font: 13px/1.55 var(--mono);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.copy {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.copy:hover { border-color: var(--ink); background: var(--white); }

footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 24px 0 48px;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

/* ---------- responsive breakpoints ---------- */
@media (max-width: 960px) {
  .is-public .head .wrap {
    grid-template-columns: 1fr;
    grid-template-areas: "meta" "title" "authors" "bar";
    row-gap: 10px;
  }
  .is-public .authors { text-align: left; margin-top: 4px; }
  .is-public .authors .names,
  .is-public .hero-bar { justify-content: flex-start; }
  .is-public .hero-bar { margin-top: 4px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .show-heading { grid-template-columns: 1fr; gap: 8px; }
  .abstract-card { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .explorer { grid-template-columns: 1fr 1fr; }
  .explorer .side { grid-column: 1 / -1; }
  .row5 { grid-template-columns: repeat(3, 1fr); }
  .guides { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fine ul { columns: 1; }
}

@media (max-width: 720px) {
  .head { padding: 30px 0 16px; }
  .venue-pill { font-size: 10.5px; border-radius: 6px; padding: 4px 9px; }
  .meta-sep, .meta-topic { display: none; }
  .cottage-pipeline {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 12px 10px;
  }
  .cottage-stage h2 { font-size: 12px; margin-bottom: 6px; }
  .capture img[data-cottage="input-a.webp"] { transform: scale(1.25); transform-origin: 30% 65%; }
  .capture span { bottom: 5px; left: 6px; font-size: 9px; padding: 2px 5px; }
  .model-space { min-height: clamp(145px, 38vw, 200px); }
  .cottage-novel { grid-column: 1 / -1; }
  .band-desk { grid-template-columns: auto 1fr; gap: 6px 10px; }
  .band-scale { grid-column: 1 / -1; margin-left: 0; }
  .band-stops button { font-size: 10.5px; }
  .teaser { padding: 14px 12px 0; }
  .t-foot { margin-inline: -12px; padding-inline: 12px; }
  .t-tile { padding: 2px; }
  .t-tile .tl { font-size: 12px; }
  .t-tile .tf { display: none; }
  .plateau-tag { font-size: 9px; padding: 1px 6px; }
  .cols { padding: 8px 10px; }
  .cols div { font-size: 11.5px; }
  .cols .s { font-size: 9.5px; overflow-wrap: anywhere; }
  section { padding-top: 38px; }
  section + section { margin-top: 32px; }
  .explorer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw { stroke-dashoffset: 0; animation: none !important; }
  .pop { opacity: 1; animation: none !important; }
  .bar .bf, .t-tile, .t-tile img { transition: none; }
}


/* ==========================================================================
   Public Project Page Redesign (Generous Typography, Centered Hero, Airy Rhythm)
   ========================================================================== */
body.is-public {
  background: #f8fafc;
  font-size: 18.5px;
  line-height: 1.7;
  color: #1e293b;
}

.is-public .wrap,
.is-public .topbar-inner,
.is-public .cottage-shell {
  max-width: 1140px;
}

.is-public .topbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}
.is-public .topbar-inner {
  height: 62px;
}
.is-public .brand {
  font-size: 16.5px;
  font-weight: 740;
}
.is-public .topnav {
  gap: 4px;
}
.is-public .topnav a {
  font-size: 14.5px;
  font-weight: 560;
  padding: 7px 14px;
}

/* Bold, centered academic hero */
.is-public .head {
  padding: 64px 0 44px;
  border-bottom: 0;
  background:
    radial-gradient(64% 85% at 50% 0%, rgba(29, 78, 216, 0.065) 0%, rgba(197, 48, 48, 0.025) 48%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
  text-align: center;
}
.is-public .head .wrap {
  display: block;
}
.is-public .paper-meta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  padding: 6px 18px;
  margin: 0 auto 24px;
  background: #f1f5f9;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
}
.is-public .venue-pill {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.is-public .meta-topic {
  font-size: 13.5px;
  font-weight: 520;
  color: #475569;
}
.is-public h1 .t1 {
  font-size: clamp(46px, 6.2vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.042em;
  font-weight: 820;
  color: var(--ink);
}
.is-public h1 .sub {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.32;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: #334155;
  margin: 14px auto 0;
  max-width: 36ch;
}
.is-public .authors {
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  text-align: center;
}
.is-public .authors .names {
  justify-content: center;
  gap: 8px 30px;
  font-size: 20px;
  font-weight: 620;
}
.is-public .authors .au a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(29, 78, 216, 0.28);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.is-public .authors .au a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.is-public .authors .aff {
  margin-top: 10px;
  font-size: 16.5px;
  color: #475569;
}
.is-public .authors .note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--faint);
}
.is-public .hero-bar {
  justify-content: center;
  margin-top: 30px;
}
.is-public .links {
  justify-content: center;
  gap: 11px;
}
.is-public .links a,
.is-public .links .pill-soon {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 620;
  gap: 8px;
}
.is-public .links a {
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.35);
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.is-public .links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(29, 78, 216, 0.4);
}
.is-public .links a.secondary {
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.is-public .links a.secondary:hover {
  box-shadow: 0 6px 14px -6px rgba(15, 23, 42, 0.12);
}
.is-public .links svg {
  width: 17px;
  height: 17px;
}
.is-public .links .pill-soon {
  background: rgba(248, 250, 252, 0.85);
  color: #64748b;
  border: 1px dashed #cbd5e1;
}
.is-public .links .pill-soon em {
  font-size: 11px;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
}

/* Interactive cottage hero card with seamless backdrop bridge */
.is-public .cottage-demo {
  margin: 0;
  padding: 4px 0 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 46%);
}
.is-public .cottage-card {
  border-radius: 16px;
  padding: 22px 24px 18px;
  border-color: #dbe4f0;
  box-shadow: 0 22px 50px -24px rgba(15, 23, 42, 0.16);
}
.is-public .cottage-stage h2 {
  font-size: 14.5px;
  margin-bottom: 10px;
}
.is-public .cottage-stage .stage-idx {
  font-size: 12px;
  padding: 3px 7px;
}
.is-public .capture span {
  font-size: 12px;
  padding: 4px 9px;
}
.is-public #cottage-quality {
  font-size: 13px;
  padding: 4px 11px;
}
.is-public .freq-badge,
.is-public .orbit-hint {
  font-size: 12px;
  padding: 3.5px 9px;
}
.is-public .band-desk {
  margin: 18px -24px -18px;
  padding: 15px 24px;
  border-radius: 0 0 16px 16px;
}
.is-public .band-desk > label {
  font-size: 15.5px;
}
.is-public .band-stops button {
  font-size: 13.5px;
}
.is-public .cottage-demo figcaption {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin-top: 16px;
  color: var(--muted);
}
.is-public .cottage-demo figcaption b {
  color: var(--ink);
}

/* Key quantitative findings ribbon */
.is-public .facts {
  margin-top: 44px;
  border-radius: 16px;
  border-color: #dbe4f0;
  box-shadow: 0 14px 32px -22px rgba(15, 23, 42, 0.12);
}
.is-public .fact {
  padding: 28px 30px;
  border-top: 3px solid transparent;
}
.is-public .fact-blue { border-top-color: var(--world); }
.is-public .fact-mid  { border-top-color: #3b82f6; }
.is-public .fact-red  { border-top-color: var(--ray); }
.is-public .fact-k {
  font: 680 12.5px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  margin-bottom: 10px;
}
.is-public .fact .v {
  font-size: clamp(34px, 3.8vw, 46px);
  letter-spacing: -0.035em;
}
.is-public .fact p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #475569;
  margin-top: 10px;
}

/* Airy section rhythm & larger headings */
.is-public section {
  padding: 78px 0 8px;
  scroll-margin-top: 76px;
}
.is-public section.first {
  padding-top: 64px;
}
.is-public section + section {
  border-top: 1px solid rgba(203, 213, 225, 0.55);
  margin-top: 62px;
}
.is-public .facts + section {
  border-top: 0;
  margin-top: 8px;
}
.is-public .eyebrow {
  display: inline-block;
  font: 700 13px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.is-public .sec-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.is-public .center-head {
  text-align: center;
  margin-inline: auto;
}
.is-public h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.13;
  letter-spacing: -0.03em;
  font-weight: 780;
  margin: 0 0 14px;
}
.is-public .sec-head p {
  font-size: 18.5px;
  line-height: 1.68;
  color: #334155;
}
.is-public .sec-head strong {
  color: var(--ink);
  font-weight: 660;
}
.is-public .split {
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
  gap: clamp(30px, 4.2vw, 56px);
  align-items: center;
}
.is-public .subdeck {
  margin-top: 42px;
}
.is-public .subdeck-title {
  font: 680 14px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 10px;
}

/* Centered editorial Abstract card */
.is-public .abstract-card {
  display: block;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 46px;
  border-radius: 16px;
  border-color: #dbe4f0;
  box-shadow: 0 14px 36px -22px rgba(15, 23, 42, 0.12);
}
.is-public .abstract-card h2 {
  font-size: clamp(24px, 2.5vw, 30px);
  margin-bottom: 18px;
}
.is-public .abstract-body p {
  font-size: 18px;
  line-height: 1.8;
  color: #1e293b;
  max-width: none;
  margin-bottom: 16px;
}
.is-public .abstract-body p:last-child {
  margin-bottom: 0;
}

/* Inline & display mathematical typesetting */
.is-public .math {
  font-family: "STIX Two Math", "STIX Two Text", "Cambria Math", "Latin Modern Math", "Times New Roman", Georgia, serif;
  font-size: 1.06em;
  white-space: nowrap;
}
.is-public .math i {
  font-style: italic;
}

/* Larger, clearer captions, controls, charts, tables, bars */
.is-public .caption,
.is-public figcaption {
  font-size: 15.5px;
  line-height: 1.62;
}
.is-public .hint,
.is-public .vctrl,
.is-public .ctrl,
.is-public .under {
  font-size: 15px;
}
.is-public .seg button {
  font-size: 14.5px;
  padding: 6px 14px;
}
.is-public .readout {
  font-size: 14.5px;
}
.is-public .eq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 360px;
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  box-shadow: 0 10px 26px -20px rgba(15, 23, 42, 0.14);
  font-family: "STIX Two Math", "STIX Two Text", "Cambria Math", "Latin Modern Math", "Times New Roman", Georgia, serif;
  font-size: 20px;
  line-height: 1.15;
  color: var(--ink);
}
.is-public .eq-row {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.is-public .eq-row + .eq-row {
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}
.is-public .eq-tag {
  font: 650 11.5px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
  width: 72px;
  flex: none;
}
.is-public .eq-row.r .eq-tag,
.is-public .eq-row.r .eq-expr {
  color: var(--ray);
}
.is-public .eq-expr {
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  font-weight: 400;
}
.is-public .eq-lhs {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 2.4em;
}
.is-public .eq-rhs {
  display: inline-flex;
  align-items: center;
}
.is-public .eq i {
  font-style: italic;
}
.is-public .eq .mop {
  font-style: normal;
  padding-right: 0.06em;
}
.is-public .eq .meq {
  padding: 0 0.04em;
}
.is-public .eq .mfrac {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  font-size: 0.9em;
  line-height: 1.18;
}
.is-public .eq .mnum {
  padding: 0 0.28em 0.14em;
  border-bottom: 1.2px solid currentColor;
}
.is-public .eq .mden {
  padding: 0.16em 0.28em 0;
}
.is-public .eq .mabs-tall {
  display: inline-flex;
  align-items: stretch;
  gap: 0.14em;
}
.is-public .eq .mabs-tall::before,
.is-public .eq .mabs-tall::after {
  content: "";
  width: 1.2px;
  background: currentColor;
  margin: 0.05em 0;
}
.is-public .eq sup {
  font-size: 0.68em;
  line-height: 0;
  vertical-align: 0.48em;
}
.is-public .teaser,
.is-public .panel,
.is-public .chartbox,
.is-public .video-card,
.is-public .side,
.is-public .paperfig {
  border-radius: 14px;
  border-color: #dbe4f0;
  box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.11);
}
.is-public .plateau-tag {
  font-size: 12px;
  padding: 2px 10px;
  top: -13px;
}
.is-public .t-tile .tl {
  font-size: 16.5px;
}
.is-public .t-tile .tf {
  font-size: 13px;
}
.is-public .t-curve text {
  font-size: 13px;
}
.is-public .t-read {
  font-size: 15.5px;
}
.is-public .switch {
  font-size: 15px;
  padding: 7px 16px 7px 9px;
}
.is-public .cols div {
  font-size: 16px;
}
.is-public .cols .s {
  font-size: 13px;
}
.is-public .bar .bl {
  font-size: 16px;
  margin-bottom: 7px;
}
.is-public .bar .bl b {
  font-size: 15.5px;
}
.is-public .bar .bt {
  height: 14px;
}
.is-public .bars {
  gap: 16px;
}
.is-public .chartbox text {
  font-size: 13px;
}
.is-public .chartbox .lbl {
  font-size: 14.5px;
}
.is-public .group .gl {
  font-size: 12.5px;
}
.is-public .thumbs img {
  width: 60px;
  height: 60px;
}
.is-public .hold-pill {
  font-size: 12px;
  padding: 4px 11px;
}
.is-public .chart text {
  font-size: 11.5px;
}
.is-public .stops button {
  font-size: 14.5px;
  padding: 8px 4px;
}
.is-public table.kv {
  font-size: 15px;
}
.is-public table.kv td:last-child {
  font-size: 14.5px;
}
.is-public .under img {
  width: 72px;
  height: 72px;
}
.is-public table.res {
  font-size: 15.5px;
  max-width: 780px;
}
.is-public table.res th {
  font-size: 14px;
  padding: 11px 18px;
}
.is-public table.res td {
  font-size: 15px;
  padding: 11px 18px;
}
.is-public table.res td:first-child {
  font-size: 15.5px;
}
.is-public .still .c {
  font-size: 14.5px;
}
.is-public .fig-tabs button,
.is-public .fig-all-btn {
  font-size: 14.5px;
  padding: 9px 17px;
}
.is-public .fig-tag {
  font-size: 12.5px;
  padding: 3px 8px;
}
.is-public .paperfig a::after {
  font-size: 12.5px;
  padding: 5px 12px;
}

/* Spacious guideline cards */
.is-public .guides {
  gap: 22px;
}
.is-public .guide {
  padding: 28px 30px;
  border-radius: 14px;
  border-color: #dbe4f0;
  box-shadow: 0 10px 26px -18px rgba(15, 23, 42, 0.09);
}
.is-public .guide h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.is-public .g-idx {
  color: var(--accent);
  margin-right: 6px;
}
.is-public .guide p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #334155;
}

/* Collapsible protocol details (removes bottom wall of fine print) */
.is-public #notes {
  padding-top: 36px;
  margin-top: 44px;
  border-top: 0;
}
.protocol-fold {
  background: var(--white);
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.protocol-fold summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 26px;
  font-size: 16.5px;
  font-weight: 640;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background-color 0.15s;
}
.protocol-fold summary::-webkit-details-marker {
  display: none;
}
.protocol-fold summary:hover {
  background: var(--surface);
}
.protocol-fold summary::after {
  content: "+";
  font: 500 22px/1 var(--mono);
  color: var(--muted);
}
.protocol-fold[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.protocol-fold[open] summary::after {
  content: "−";
}
.is-public .protocol-fold .notes-card {
  background: var(--white);
  border: 0;
  border-radius: 0;
  padding: 24px 28px;
}
.is-public .fine li {
  font-size: 15.5px;
  line-height: 1.62;
  margin-bottom: 12px;
}

/* Centered BibTeX */
.is-public #cite .bibbox {
  margin: 0 auto;
  max-width: 840px;
}
.is-public pre.bib {
  font-size: 14.5px;
  line-height: 1.68;
  padding: 24px 26px;
  border-radius: 14px;
  border-color: #dbe4f0;
}
.is-public .copy {
  top: 16px;
  right: 16px;
  font-size: 14px;
  padding: 6px 16px;
}
.is-public .release-links {
  font-size: 15.5px;
  margin-top: 6px;
}
.is-public footer {
  font-size: 15px;
  margin-top: 78px;
  padding: 30px 0 60px;
}

/* Public responsive polish */
@media (max-width: 960px) {
  .is-public .split {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .is-public .authors {
    text-align: center;
  }
  .is-public .authors .names,
  .is-public .hero-bar {
    justify-content: center;
  }
  .is-public .abstract-card {
    padding: 30px 28px;
  }
  .is-public .fact {
    border-top: 0;
    border-left: 3px solid transparent;
  }
  .is-public .fact-blue { border-left-color: var(--world); }
  .is-public .fact-mid  { border-left-color: #3b82f6; }
  .is-public .fact-red  { border-left-color: var(--ray); }
}

@media (max-width: 720px) {
  body.is-public {
    font-size: 16.5px;
  }
  .is-public .head {
    padding: 40px 0 28px;
  }
  .is-public .authors .names {
    font-size: 17.5px;
    gap: 6px 18px;
  }
  .is-public .links a,
  .is-public .links .pill-soon {
    height: 40px;
    padding: 0 16px;
    font-size: 14.5px;
  }
  .is-public section {
    padding-top: 52px;
  }
  .is-public section + section {
    margin-top: 40px;
  }
  .is-public .sec-head p,
  .is-public .abstract-body p {
    font-size: 16.5px;
  }
  .is-public .eq {
    font-size: 18px;
    padding: 15px 18px;
    max-width: none;
  }
  .is-public .fact {
    padding: 22px 24px;
  }
  .is-public .band-stops button {
    font-size: 11.5px;
  }
  .is-public .capture span {
    font-size: 10px;
  }
}
