:root {
  --bg: #080b10;
  --bg-soft: #0c1118;
  --surface: #111821;
  --surface-raised: #161f2a;
  --line: #26313e;
  --line-bright: #3a4959;
  --text: #eef4f5;
  --muted: #9ba9b5;
  --muted-strong: #c2ccd3;
  --cyan: #57d3e3;
  --cyan-dim: #2b7f8a;
  --amber: #ffb454;
  --coral: #ff765f;
  --green: #9bd5a5;
  --max: 1180px;
  --header: 68px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

p,
h1,
h2,
h3,
ol,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.16;
}

sup {
  font-size: 0.55em;
  vertical-align: super;
}

code,
.formula {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

.container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

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

.section[id] {
  scroll-margin-top: var(--header);
}

.section > .container {
  position: relative;
  z-index: 4;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #061116;
  background: var(--cyan);
  border-radius: 4px;
  transform: translateY(-160%);
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-flip {
  transform: rotate(180deg);
}

.eyebrow {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading.compact {
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 760px;
  margin-top: 16px;
  font-size: 3.65rem;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.page-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.cosmic-signal {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  opacity: 0;
  pointer-events: none;
  filter: saturate(0.95) drop-shadow(0 0 24px rgba(87, 211, 227, 0.4));
  transform:
    translate3d(var(--signal-x, 72vw), var(--signal-y, 38vh), 0)
    translate(-50%, -50%)
    rotate(var(--signal-rotate, 0deg))
    scale(var(--signal-scale-x, 1), var(--signal-scale-y, 1));
  transition: opacity 420ms ease, filter 260ms ease;
  will-change: transform;
}

.cosmic-signal.is-visible {
  opacity: 0.72;
}

.cosmic-signal.is-capturing {
  opacity: 0.92;
  filter: saturate(1.18) drop-shadow(0 0 40px rgba(255, 180, 84, 0.62));
}

.cosmic-signal.is-emerging {
  animation: signal-emerge 1.8s cubic-bezier(0.16, 0.84, 0.3, 1) both;
}

.signal-beam-visual {
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: opacity 360ms ease, transform 420ms ease;
  transform-origin: center;
}

.signal-orbit {
  fill: none;
  stroke: rgba(87, 211, 227, 0.44);
  stroke-width: 1.2;
  stroke-dasharray: 3 11;
  transform-origin: 90px 90px;
  animation: signal-orbit 11s linear infinite;
}

.signal-orbit-b {
  stroke: rgba(255, 180, 84, 0.38);
  animation-direction: reverse;
  animation-duration: 7s;
}

.signal-ribbon {
  fill: none;
  stroke: rgba(87, 211, 227, 0.46);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 7 13;
  transform-origin: 90px 90px;
  animation: signal-ribbon 3.6s ease-in-out infinite;
}

.ribbon-b {
  stroke: rgba(255, 180, 84, 0.34);
  animation-delay: -1.7s;
  animation-direction: reverse;
}

.signal-body {
  fill: rgba(87, 211, 227, 0.045);
  stroke: rgba(177, 245, 250, 0.46);
  stroke-width: 0.8;
  transform-origin: 88px 88px;
  animation: signal-body-pulse 4.2s ease-in-out infinite;
}

.signal-star {
  fill: rgba(87, 211, 227, 0.06);
  stroke: rgba(220, 252, 255, 0.54);
  stroke-width: 0.9;
  transform-origin: 88px 88px;
  animation: signal-breathe 2.4s ease-in-out infinite;
}

.signal-core {
  fill: #eafeff;
  filter: drop-shadow(0 0 11px rgba(87, 211, 227, 0.95));
}

.signal-spark {
  fill: var(--amber);
  filter: drop-shadow(0 0 6px rgba(255, 180, 84, 0.8));
  animation: signal-spark 2.6s ease-in-out infinite;
}

.spark-b {
  animation-delay: -1.1s;
}

.signal-glyph {
  fill: #041015;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.signal-character {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.45);
  transform-origin: center bottom;
  transition: opacity 380ms ease, transform 460ms cubic-bezier(0.18, 0.78, 0.2, 1.18);
}

.cosmic-signal.is-character .signal-beam-visual {
  opacity: 0;
  transform: scale(0.35) rotate(-18deg);
}

.cosmic-signal.is-character {
  z-index: 111;
}

.cosmic-signal.is-character .signal-character {
  opacity: 1;
  transform: translateY(4px) scale(1);
  animation: character-float 2.8s ease-in-out infinite;
}

.character-head {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(87, 211, 227, 0.78);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.98), rgba(205, 249, 252, 0.88) 34%, rgba(87, 211, 227, 0.26) 72%, rgba(7, 11, 16, 0.74) 100%);
  box-shadow:
    0 0 20px rgba(87, 211, 227, 0.52),
    inset 0 0 12px rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
}

.character-eye {
  position: absolute;
  top: 23px;
  width: 4px;
  height: 5px;
  border-radius: 50%;
  background: #071014;
}

.eye-left {
  left: 15px;
}

.eye-right {
  right: 15px;
}

.character-mouth {
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 13px;
  height: 7px;
  border-bottom: 1.5px solid #071014;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
}

.character-body {
  position: absolute;
  top: 79px;
  left: 50%;
  width: 26px;
  height: 38px;
  border: 1px solid rgba(87, 211, 227, 0.68);
  border-radius: 45% 45% 35% 35%;
  background: rgba(87, 211, 227, 0.18);
  box-shadow: 0 0 15px rgba(87, 211, 227, 0.35);
  transform: translateX(-50%);
}

.character-arm,
.character-leg {
  position: absolute;
  display: block;
  width: 2px;
  border-radius: 2px;
  background: rgba(168, 243, 248, 0.78);
}

.character-arm {
  top: 87px;
  height: 24px;
}

.arm-left {
  left: calc(50% - 20px);
  transform: rotate(24deg);
}

.arm-right {
  right: calc(50% - 20px);
  transform: rotate(-24deg);
}

.character-leg {
  top: 113px;
  height: 22px;
}

.leg-left {
  left: calc(50% - 8px);
  transform: rotate(8deg);
}

.leg-right {
  right: calc(50% - 8px);
  transform: rotate(-8deg);
}

.character-tail {
  position: absolute;
  top: 83px;
  left: 50%;
  width: 88px;
  height: 18px;
  background: linear-gradient(90deg, transparent, rgba(87, 211, 227, 0.2));
  filter: blur(4px);
  transform: translateX(12px) rotate(11deg);
}

.character-aura {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(87, 211, 227, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
}

.signal-bubble {
  position: absolute;
  z-index: 3;
  bottom: calc(100% + 24px);
  left: 50%;
  width: 240px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(8, 13, 19, 0.92);
  border: 1px solid rgba(87, 211, 227, 0.34);
  border-radius: 7px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(87, 211, 227, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 420ms ease, transform 420ms ease;
  backdrop-filter: blur(10px);
}

.bubble-close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  color: rgba(238, 244, 245, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  pointer-events: auto;
}

.bubble-close:hover {
  color: var(--text);
  border-color: var(--cyan);
}

.signal-bubble[data-state="einstein"] .bubble-close {
  display: grid;
}

.signal-bubble::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(8, 13, 19, 0.92);
  border-right: 1px solid rgba(87, 211, 227, 0.34);
  border-bottom: 1px solid rgba(87, 211, 227, 0.34);
  content: "";
  transform: translate(-50%, -5px) rotate(45deg);
}

.cosmic-signal.has-bubble .signal-bubble {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cosmic-signal.has-bubble {
  opacity: 0.96;
}

.cosmic-signal.bubble-left .signal-bubble {
  right: 72%;
  left: auto;
  transform: translate(10px, 10px);
}

.cosmic-signal.bubble-left.has-bubble .signal-bubble {
  transform: translate(10px, 0);
}

.cosmic-signal.bubble-left .signal-bubble::after {
  right: 14px;
  left: auto;
}

.cosmic-signal.einstein-mode .signal-bubble {
  bottom: 64px;
  left: min(42vw, 540px);
  width: 320px;
  transform: translateY(10px);
}

.cosmic-signal.einstein-mode.has-bubble .signal-bubble {
  transform: translateY(0);
}

.cosmic-signal.einstein-mode .signal-bubble::after {
  top: 36px;
  bottom: auto;
  left: -6px;
  border: 0;
  border-left: 1px solid rgba(87, 211, 227, 0.34);
  border-bottom: 1px solid rgba(87, 211, 227, 0.34);
  transform: rotate(45deg);
}

.signal-bubble p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.72rem;
  line-height: 1.65;
}

.bubble-here,
.bubble-einstein {
  display: none;
}

.signal-bubble[data-state="here"] .bubble-here {
  display: block;
}

.bubble-here {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.05rem !important;
}

.bubble-einstein {
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: start;
  padding-right: 18px;
}

.signal-bubble[data-state="einstein"] .bubble-einstein {
  display: grid;
}

.einstein-portrait {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: rgba(232, 251, 252, 0.76);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bubble-einstein strong {
  display: block;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 500;
}

.bubble-einstein p {
  margin-top: 5px;
  font-size: 0.78rem;
}

.data-flow {
  position: fixed;
  z-index: 112;
  top: 0;
  left: 0;
  width: 180px;
  height: 250px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
  transform:
    translate3d(var(--data-x, 72vw), var(--data-y, 50vh), 0)
    translate(-50%, -50%)
    rotate(var(--data-rotate, 0deg))
    scale(var(--data-scale, 1));
  mask-image: radial-gradient(ellipse at center, black 10%, rgba(0, 0, 0, 0.7) 48%, transparent 76%);
  will-change: transform;
}

.data-flow.is-visible {
  opacity: 0.86;
}

.data-flow::before {
  position: absolute;
  top: 7%;
  bottom: 7%;
  left: 50%;
  width: 58%;
  border-left: 1px dashed rgba(87, 211, 227, 0.34);
  border-radius: 50%;
  content: "";
  filter: blur(0.2px);
  transform: translateX(-50%) rotate(13deg);
}

.data-flow-head {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px 4px rgba(87, 211, 227, 0.4);
  animation: data-head 2.8s ease-in-out infinite;
}

.data-flow-digits {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 10px;
}

.data-flow-digit {
  color: rgba(121, 236, 246, 0.86);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
  text-shadow: 0 0 10px rgba(87, 211, 227, 0.82), 0 0 24px rgba(87, 211, 227, 0.44);
  transform: translate3d(var(--drift-x, 0), 0, 0) rotate(var(--digit-rotate, 0deg));
  animation: data-digit-drift var(--duration, 3.4s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.data-flow-digit:nth-child(3n) {
  color: rgba(255, 180, 84, 0.54);
}

.scene-caption {
  position: fixed;
  z-index: 20;
  bottom: 34px;
  left: 50%;
  display: flex;
  max-width: min(720px, calc(100vw - 40px));
  min-height: 38px;
  padding: 8px 14px;
  gap: 10px;
  align-items: center;
  color: rgba(238, 244, 245, 0.72);
  background: rgba(7, 11, 16, 0.72);
  border: 1px solid rgba(87, 211, 227, 0.18);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 500ms ease, transform 500ms ease;
  backdrop-filter: blur(8px);
}

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

.scene-caption-mark {
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 1rem;
}

.scene-caption p {
  margin: 0;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.66rem;
  line-height: 1.6;
}

.scene-caption .caption-capture,
.scene-caption .caption-data {
  display: none;
}

.scene-caption[data-state="capture"] .caption-capture,
.scene-caption[data-state="data"] .caption-data {
  display: block;
}

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

.site-header.is-scrolled,
.site-header.nav-visible {
  background: rgba(8, 11, 16, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: min(var(--max), calc(100% - 64px));
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
}

.language-toggle {
  min-width: 42px;
  height: 36px;
  padding: 0 10px;
  color: var(--cyan);
  background: rgba(87, 211, 227, 0.05);
  border: 1px solid rgba(87, 211, 227, 0.28);
  border-radius: 4px;
  cursor: pointer;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.language-toggle:hover {
  background: rgba(87, 211, 227, 0.11);
  border-color: var(--cyan);
}

.brand-icon {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.brand b {
  margin-left: 6px;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 500;
}

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

.site-nav a {
  position: relative;
  color: var(--muted-strong);
  font-size: 0.86rem;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}

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

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 920px;
  height: 100svh;
  max-height: 1080px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("assets/hero/hubble-deep-field.jpg");
  background-position: 64% center;
  background-size: cover;
  filter: brightness(0.74) saturate(0.9) contrast(1.08);
  transform: scale(1.015);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.97) 0%, rgba(5, 8, 12, 0.82) 39%, rgba(5, 8, 12, 0.34) 72%, rgba(5, 8, 12, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.68) 0%, transparent 26%, rgba(5, 8, 12, 0.38) 72%, var(--bg) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, transparent 57%, rgba(87, 211, 227, 0.055) 78%, transparent 94%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent 4%, black 35%, transparent 88%);
}

.hero-inner {
  display: flex;
  height: 100%;
  padding-top: 160px;
  padding-bottom: 138px;
  flex-direction: column;
  justify-content: space-between;
}

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

.hero-copy .eyebrow {
  margin-bottom: 20px;
  color: var(--text);
}

.hero-cn {
  display: block;
  max-width: 940px;
  font-family: var(--font-serif);
  font-size: 8.7rem;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.52);
}

.hero-en {
  display: block;
  margin-top: 21px;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1rem;
  font-weight: 500;
}

.hero-lede {
  max-width: 600px;
  margin-top: 30px;
  color: #dce5e8;
  font-size: 1.22rem;
  line-height: 1.75;
}

html[data-lang="en"] .hero-cn {
  font-size: 7.3rem;
}

.hero-poster {
  position: absolute;
  z-index: 2;
  top: 22%;
  right: max(40px, calc((100vw - var(--max)) / 2));
  display: grid;
  width: 214px;
  grid-template-columns: 1fr auto;
  gap: 18px 22px;
  align-items: start;
  color: rgba(238, 244, 245, 0.68);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.62rem;
}

.poster-index {
  grid-column: 1 / -1;
  padding-bottom: 9px;
  color: var(--cyan);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.poster-orbit {
  position: relative;
  display: block;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(87, 211, 227, 0.42);
  border-radius: 50%;
}

.poster-orbit::before,
.poster-orbit::after {
  position: absolute;
  background: rgba(87, 211, 227, 0.34);
  content: "";
}

.poster-orbit::before {
  top: 50%;
  right: -12px;
  left: -12px;
  height: 1px;
}

.poster-orbit::after {
  top: -12px;
  bottom: -12px;
  left: 50%;
  width: 1px;
}

.poster-orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 180, 84, 0.75);
  transform: translate(-50%, -50%);
}

.poster-coordinate {
  align-self: center;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.poster-source {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
}

.hero-symbol {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 15%;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22rem;
  font-weight: 400;
  line-height: 0.7;
  opacity: 0.18;
  pointer-events: none;
  -webkit-text-stroke: 1px rgba(87, 211, 227, 0.55);
}

html[data-lang="en"] .hero-lede {
  max-width: 670px;
}

html[data-lang="en"] .section-heading h2 {
  font-size: 3.1rem;
}

html[data-lang="en"] .story-copy h2,
html[data-lang="en"] .relativity-copy h2 {
  font-size: 3.25rem;
}

html[data-lang="en"] .case-copy h3 {
  font-size: 2.35rem;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #071015;
  background: var(--cyan);
}

.button-primary:hover {
  background: #82e4ef;
}

.button-secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line-bright);
}

.button-secondary:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.text-link .icon {
  color: var(--cyan);
  transition: transform 160ms ease;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.hero-facts {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-facts > div {
  padding: 18px 24px 20px 0;
}

.hero-facts > div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-value {
  display: block;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1.16rem;
}

.fact-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-scroll {
  position: absolute;
  right: 32px;
  bottom: 48px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.62rem;
}

.hero-scroll .icon {
  width: 16px;
  height: 16px;
  animation: scroll-nudge 1.8s ease-in-out infinite;
}

.hero-lightcurve {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
}

.hero-lightcurve .curve-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.hero-lightcurve .curve-line {
  fill: none;
  stroke: url("#curve-fade");
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: draw-curve 2.6s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.story-section {
  overflow: hidden;
  background: var(--bg);
}

.story-section::before,
.cases-section::before {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(87, 211, 227, 0.26) 0 1px, transparent 1.5px);
  background-position: 24px 30px, 70px 96px;
  background-size: 137px 121px, 219px 187px;
  content: "";
  opacity: 0.22;
  mask-image: linear-gradient(180deg, transparent, black 15%, black 75%, transparent);
  pointer-events: none;
}

.story-section > .container,
.cases-section > .container {
  position: relative;
  z-index: 4;
}

.story-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 80px;
}

.section-index {
  padding-top: 3px;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.74rem;
}

.section-index span {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 3.7rem;
  line-height: 1;
}

.story-copy h2 {
  max-width: 900px;
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.24;
}

.title-gamma {
  position: relative;
  display: inline-block;
  color: inherit;
}

.title-gamma::after {
  position: absolute;
  right: -0.08em;
  bottom: 0.02em;
  left: -0.08em;
  height: 0.08em;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--amber), transparent);
  box-shadow: 0 0 18px rgba(87, 211, 227, 0.68);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
}

.story-section.is-signal-birth .title-gamma {
  color: #f3ffff;
  text-shadow:
    0 0 10px rgba(87, 211, 227, 0.85),
    0 0 30px rgba(87, 211, 227, 0.4),
    0 0 52px rgba(255, 180, 84, 0.22);
  animation: title-ignite 2.2s ease-out;
}

.story-section.is-signal-birth .title-gamma::after {
  animation: title-light-line 2.2s ease-out;
}

.story-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  margin-top: 52px;
  color: var(--muted-strong);
  font-size: 1.04rem;
}

.story-text p:first-child::first-letter {
  float: left;
  margin: 9px 10px 0 0;
  color: var(--amber);
  font-size: 4.3rem;
  line-height: 0.75;
}

.term-explorer {
  max-width: 880px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.term-prompt {
  color: var(--muted);
  font-size: 0.76rem;
}

.term-buttons {
  display: flex;
  margin-top: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.term-button {
  min-height: 36px;
  padding: 0 14px;
  color: var(--muted-strong);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.term-button:hover,
.term-button.is-active {
  color: var(--text);
  background: rgba(87, 211, 227, 0.06);
  border-color: var(--cyan-dim);
}

.term-definition {
  min-height: 52px;
  max-width: 720px;
  margin-top: 16px;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.journey-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mode-toggle {
  display: inline-grid;
  padding: 4px;
  margin-bottom: 24px;
  grid-template-columns: repeat(2, auto);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0a0f15;
}

.mode-button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.mode-button:hover {
  color: var(--text);
}

.mode-button.is-active {
  color: var(--text);
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--line);
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 24px;
}

.burst-scene {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 48%, rgba(87, 211, 227, 0.08), transparent 42%),
    #080d13;
}

.scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(87, 211, 227, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 211, 227, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.burst-scene svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.scene-tag {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.scene-tag span {
  color: var(--cyan);
}

.scene-stage {
  opacity: 0;
  transition: opacity 300ms ease;
}

.burst-scene[data-stage="0"] [data-scene="0"],
.burst-scene[data-stage="1"] [data-scene="1"],
.burst-scene[data-stage="2"] [data-scene="2"],
.burst-scene[data-stage="3"] [data-scene="3"],
.burst-scene[data-stage="4"] [data-scene="4"] {
  opacity: 1;
}

.scene-star {
  fill: url("#star-fill");
  filter: blur(1px);
  transform-origin: 380px 292px;
  animation: star-breathe 3.2s ease-in-out infinite;
}

.scene-star-halo {
  fill: rgba(255, 180, 84, 0.12);
  filter: blur(18px);
  transform-origin: 380px 292px;
  animation: star-breathe 3.2s ease-in-out infinite;
}

.scene-orbit {
  fill: none;
  stroke: rgba(255, 180, 84, 0.32);
  stroke-dasharray: 4 8;
}

.merger-pair {
  opacity: 0;
}

.merger-pair circle {
  fill: #c4edf2;
  filter: drop-shadow(0 0 12px rgba(87, 211, 227, 0.8));
}

.merger-pair path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1;
}

.burst-scene[data-mode="short"] .scene-star,
.burst-scene[data-mode="short"] .scene-star-halo,
.burst-scene[data-mode="short"] .scene-orbit {
  opacity: 0;
}

.burst-scene[data-mode="short"] .merger-pair {
  opacity: 1;
}

.burst-scene[data-mode="short"] .merger-pair {
  animation: merger-drift 3.2s ease-in-out infinite;
  transform-origin: 380px 292px;
}

.collapsed-core {
  fill: #f6fbfc;
  filter: drop-shadow(0 0 12px rgba(87, 211, 227, 0.9));
}

.accretion-ring {
  fill: none;
  stroke: var(--amber);
  stroke-width: 4;
  stroke-dasharray: 7 10;
  transform-origin: 380px 292px;
  animation: spin-ring 8s linear infinite;
}

.jet {
  fill: url("#jet-fill");
  opacity: 0.7;
}

.jet-down {
  opacity: 0.28;
}

.jet-core {
  fill: none;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-width: 2;
  stroke-linecap: round;
}

.gamma-ray {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 3 10;
  animation: ray-travel 1.4s linear infinite;
}

.photon-ring circle {
  fill: none;
  stroke: rgba(255, 180, 84, 0.4);
  stroke-width: 1.5;
  transform-origin: 380px 292px;
  animation: photon-ring 3s ease-out infinite;
}

.photon-ring circle:nth-child(2) {
  animation-delay: 1s;
}

.photon-ring circle:nth-child(3) {
  animation-delay: 2s;
}

.shock {
  fill: none;
  stroke: url("#shock-fill");
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 5 8;
  animation: shock-flow 2s linear infinite;
}

.afterglow-bands ellipse {
  fill: none;
  stroke: rgba(87, 211, 227, 0.34);
  stroke-width: 1.5;
}

.host-galaxy ellipse {
  fill: rgba(87, 211, 227, 0.1);
  stroke: rgba(87, 211, 227, 0.55);
  stroke-width: 1.2;
}

.host-galaxy circle {
  fill: var(--amber);
  filter: drop-shadow(0 0 7px rgba(255, 180, 84, 0.7));
}

.sightline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
}

.observer {
  fill: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(87, 211, 227, 0.8));
}

.source-dot {
  fill: var(--amber);
}

.source-pulse {
  fill: none;
  stroke: var(--amber);
  transform-origin: 609px 145px;
  animation: source-pulse 2s ease-out infinite;
}

.stage-panel {
  display: flex;
  min-height: 570px;
  padding: 40px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stage-kicker {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
}

.stage-panel h3 {
  max-width: 400px;
  margin-top: 20px;
  font-size: 2rem;
}

.stage-panel > p {
  margin-top: 22px;
  color: var(--muted);
}

.stage-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stage-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.stage-facts dd {
  margin-top: 4px;
  font-size: 0.92rem;
}

.stage-controls {
  display: grid;
  margin-top: auto;
  grid-template-columns: 42px 1fr 42px;
  gap: 14px;
  align-items: center;
  padding-top: 32px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--cyan);
}

input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 0;
  accent-color: var(--cyan);
  cursor: pointer;
}

.stage-nav {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stage-nav button {
  display: flex;
  min-height: 74px;
  padding: 14px 16px;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.stage-nav button:last-child {
  border-right: 0;
}

.stage-nav button.is-active {
  color: var(--text);
  background: rgba(87, 211, 227, 0.05);
  box-shadow: inset 0 -2px var(--cyan);
}

.stage-nav span {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.stage-nav b {
  font-weight: 400;
}

.origins-section {
  background: var(--bg);
}

.origin-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.origin-block {
  padding: 42px 48px 48px;
}

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

.origin-visual {
  position: relative;
  height: 230px;
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080d13;
}

.stellar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff5c9 0 10%, #ffb454 26%, #ff765f 48%, transparent 72%);
  box-shadow: 0 0 52px rgba(255, 118, 95, 0.36);
  transform: translate(-50%, -50%);
  animation: star-breathe 3s ease-in-out infinite;
}

.collapse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 180, 84, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ring-expand 4s ease-out infinite;
}

.ring-one {
  width: 150px;
  height: 150px;
}

.ring-two {
  width: 220px;
  height: 220px;
  animation-delay: 1.5s;
}

.compact-star {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d9fbff;
  box-shadow: 0 0 24px rgba(87, 211, 227, 0.8);
}

.star-a {
  left: calc(50% - 62px);
  animation: compact-orbit-a 3.4s ease-in-out infinite;
}

.star-b {
  right: calc(50% - 62px);
  animation: compact-orbit-b 3.4s ease-in-out infinite;
}

.merger-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 38px 14px rgba(255, 180, 84, 0.32);
  transform: translate(-50%, -50%);
  animation: merger-flash 3.4s ease-in-out infinite;
}

.origin-code {
  color: var(--amber);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
}

.origin-block h3 {
  margin-top: 10px;
  font-size: 2rem;
}

.origin-block > p:not(.origin-code) {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
}

.plain-list {
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  color: var(--muted-strong);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.plain-list li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.evidence-toggle {
  display: inline-flex;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 15px;
  gap: 9px;
  align-items: center;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

.evidence-toggle:hover {
  border-color: var(--cyan-dim);
  background: rgba(87, 211, 227, 0.04);
}

.evidence-toggle .icon {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.origin-block.is-evidence-open .evidence-toggle .icon {
  transform: rotate(180deg);
}

.origin-evidence {
  max-width: 650px;
  margin-top: 14px;
  padding-left: 16px;
  color: var(--muted);
  border-left: 1px solid var(--amber);
  font-size: 0.86rem;
}

.caveat {
  max-width: 850px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.caveat span {
  color: var(--amber);
}

.spectrum-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tool-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spectrum-lab {
  padding: 34px 38px 30px;
}

.spectrum-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.spectrum-readout > div {
  padding: 0 22px 24px;
}

.spectrum-readout > div:first-child {
  padding-left: 0;
}

.spectrum-readout > div + div {
  border-left: 1px solid var(--line);
}

.readout-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.spectrum-readout strong {
  display: block;
  margin-top: 6px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1.3rem;
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

.spectrum-scale {
  position: relative;
  padding: 34px 0 10px;
}

.spectrum-segments {
  display: grid;
  height: 58px;
  overflow: hidden;
  grid-template-columns: 25fr 26.04fr 2.46fr 13.17fr 25fr 8.33fr;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.spectrum-segments span {
  display: flex;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.seg-radio {
  background: #54616c;
}

.seg-ir {
  background: #d96f54;
}

.seg-optical {
  background: #86cbb9;
}

.seg-optical {
  padding: 0 !important;
  font-size: 0.56rem !important;
  writing-mode: vertical-rl;
}

.seg-uv {
  background: #78a9ee;
}

.seg-xray {
  background: #62d9e9;
}

.seg-gamma {
  color: #051014 !important;
  background: #ffd27a;
}

.spectrum-marker {
  position: absolute;
  z-index: 3;
  top: 27px;
  left: var(--spectrum-pos, 58%);
  width: 1px;
  height: 74px;
  background: var(--band-color, #fff);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 18px var(--band-color, rgba(255, 255, 255, 0.6));
  transform: translateX(-50%);
  pointer-events: none;
  transition: left 80ms linear, background-color 160ms ease, box-shadow 160ms ease;
}

.spectrum-marker span {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--band-color, #fff);
  transform: translateX(-50%);
}

.spectrum-marker.is-active span {
  animation: spectrum-ping 420ms ease-out;
}

.spectrum-range {
  position: absolute;
  z-index: 4;
  top: 19px;
  left: 0;
  width: 100%;
  height: 76px !important;
  opacity: 0;
}

.spectrum-ticks {
  display: flex;
  margin-top: 6px;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.65rem;
}

.formula-row {
  display: flex;
  margin-top: 20px;
  padding-top: 22px;
  gap: 34px;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.spectrum-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.formula {
  color: var(--text);
}

.relativity-section {
  background:
    linear-gradient(180deg, rgba(87, 211, 227, 0.03), transparent 38%),
    var(--bg);
}

.relativity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.relativity-copy h2 {
  max-width: 740px;
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1.24;
}

.relativity-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
}

.phrase-relativity {
  display: inline;
  transition: color 280ms ease, text-shadow 280ms ease;
}

.relativity-section.is-relativity-focus .phrase-relativity {
  color: #f5ffff;
  text-shadow:
    0 0 10px rgba(87, 211, 227, 0.88),
    0 0 28px rgba(87, 211, 227, 0.46),
    0 0 48px rgba(255, 180, 84, 0.2);
}

.formula-block {
  margin-top: 32px;
  padding: 24px 0 24px 24px;
  border-left: 2px solid var(--amber);
}

.formula-block > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.formula-block strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1.8rem;
  font-weight: 500;
}

.formula-block p {
  max-width: 620px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.relativity-lab {
  overflow: hidden;
  padding: 28px;
}

.lab-heading {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.lab-heading output {
  color: var(--cyan);
}

.jet-demo {
  position: relative;
  height: 250px;
  overflow: hidden;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(87, 211, 227, 0.12) 50%, transparent 50.2%),
    #080d13;
}

.jet-axis {
  position: absolute;
  top: 50%;
  right: 20px;
  left: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.jet-cone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(84px + var(--jet-extra, 70px));
  height: 146px;
  background: linear-gradient(90deg, rgba(87, 211, 227, 0.06), rgba(87, 211, 227, 0.42), rgba(232, 251, 255, 0.06));
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  transform: translateY(-50%);
  transition: width 300ms ease;
}

.jet-source {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 30px 9px rgba(255, 180, 84, 0.3);
  transform: translate(-50%, -50%);
}

.jet-photon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 52%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: photon-jet var(--photon-duration, 1.8s) linear infinite;
}

.photon-b {
  top: calc(50% - 28px);
  animation-delay: 0.6s;
}

.photon-c {
  top: calc(50% + 28px);
  animation-delay: 1.1s;
}

.range-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.range-limits {
  display: flex;
  margin-top: 2px;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.62rem;
}

.lab-results {
  display: grid;
  margin-top: 25px;
  padding-top: 22px;
  grid-template-columns: 1fr 1.1fr 1.4fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.lab-results span {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
}

.lab-results strong {
  display: block;
  margin-top: 5px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 500;
}

.lab-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.detect-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detector-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 28px;
}

.detector-tool {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #080d13;
}

.detector-sky {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 58%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.5px),
    radial-gradient(circle at 48% 74%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.5px);
  background-size: 110px 100px, 170px 130px, 90px 120px;
}

.detector-source {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 36px 12px rgba(255, 180, 84, 0.28);
}

.detector-ray {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 230px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 180, 84, 0.8), rgba(87, 211, 227, 0));
  transform-origin: left center;
}

.ray-one {
  transform: rotate(43deg);
}

.ray-two {
  transform: rotate(57deg);
}

.ray-three {
  transform: rotate(50deg);
}

.detector-body {
  position: absolute;
  right: 8%;
  bottom: 22%;
  left: 8%;
  height: 136px;
  border: 1px solid var(--line-bright);
  border-radius: 5px;
  background: #0f1822;
}

.coded-mask {
  position: absolute;
  top: -14px;
  right: 9%;
  left: 9%;
  height: 28px;
  border: 1px solid var(--line-bright);
  background:
    repeating-linear-gradient(90deg, rgba(87, 211, 227, 0.16) 0 12px, transparent 12px 25px),
    #0a121a;
}

.detector-pixels {
  position: absolute;
  inset: 18px;
  background-image:
    linear-gradient(rgba(87, 211, 227, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 211, 227, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
}

.event-hit {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  opacity: 0;
}

.hit-a {
  top: 38%;
  left: 34%;
}

.hit-b {
  top: 57%;
  left: 62%;
}

.hit-c {
  top: 28%;
  left: 78%;
}

.detector-tool[data-step="0"] .event-hit,
.detector-tool[data-step="1"] .event-hit,
.detector-tool[data-step="2"] .event-hit,
.detector-tool[data-step="3"] .event-hit {
  animation: event-hit 1.8s ease-out infinite;
}

.detector-tool[data-step="0"] .hit-b,
.detector-tool[data-step="0"] .hit-c,
.detector-tool[data-step="1"] .hit-a,
.detector-tool[data-step="1"] .hit-c {
  opacity: 0 !important;
  animation: none;
}

.detector-tool[data-step="2"] .hit-a,
.detector-tool[data-step="2"] .hit-b,
.detector-tool[data-step="2"] .hit-c {
  animation-delay: 0.15s;
}

.detector-readout {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
}

.detector-readout > span {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.65rem;
}

.detector-readout strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
}

.detector-readout p {
  max-width: 540px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.detector-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detector-step {
  display: grid;
  min-height: 104px;
  padding: 18px 20px;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-content: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.detector-step:last-child {
  border-bottom: 0;
}

.detector-step:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.detector-step.is-active {
  color: var(--text);
  background: rgba(87, 211, 227, 0.05);
  box-shadow: inset 2px 0 var(--cyan);
}

.detector-step > span {
  grid-row: 1 / span 2;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.detector-step strong {
  font-size: 1.02rem;
  font-weight: 600;
}

.detector-step small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.mission-block {
  margin-top: 86px;
}

.mission-heading {
  display: flex;
  margin-bottom: 24px;
  align-items: end;
  justify-content: space-between;
}

.mission-heading h3 {
  margin-top: 9px;
  font-size: 2rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mission-grid > div {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission-grid strong {
  display: block;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1rem;
  font-weight: 500;
}

.mission-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.telescope-stage {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  margin: 76px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(87, 211, 227, 0.09) 50%, transparent 50.1%),
    #070c12;
}

.telescope-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(87, 211, 227, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 211, 227, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent, black 30%, black 100%);
}

.telescope-stage svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 340px;
}

.telescope-orbit {
  fill: none;
  stroke: rgba(87, 211, 227, 0.16);
  stroke-width: 1;
  stroke-dasharray: 3 9;
}

.telescope-head {
  transform-box: view-box;
  transform-origin: 500px 170px;
  transition: transform 260ms ease;
}

.orbit-two {
  stroke: rgba(255, 180, 84, 0.13);
}

.telescope-dish {
  fill: url("#telescope-metal");
  stroke: rgba(87, 211, 227, 0.72);
  stroke-width: 1.4;
}

.telescope-rim,
.telescope-feed,
.telescope-frame,
.telescope-base,
.telescope-beam {
  fill: none;
  stroke: rgba(87, 211, 227, 0.58);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.telescope-beam {
  stroke-dasharray: 5 10;
  opacity: 0;
  animation: telescope-beam 1.8s linear infinite;
}

.telescope-base {
  stroke: rgba(255, 180, 84, 0.34);
}

.telescope-receiver,
.telescope-aperture {
  fill: var(--amber);
  filter: drop-shadow(0 0 12px rgba(255, 180, 84, 0.7));
}

.telescope-aperture-ring {
  fill: none;
  stroke: rgba(255, 180, 84, 0.46);
  stroke-width: 1;
  transform-origin: 500px 170px;
  animation: telescope-pulse 2.4s ease-out infinite;
}

.telescope-flash {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 500px 170px;
}

.telescope-stage.is-capturing {
  border-color: rgba(255, 180, 84, 0.34);
  box-shadow: inset 0 0 60px rgba(255, 180, 84, 0.04);
}

.telescope-stage.is-capturing .telescope-beam {
  opacity: 0.75;
}

.telescope-stage.is-transmitting .telescope-receiver {
  fill: var(--cyan);
  filter: drop-shadow(0 0 16px rgba(87, 211, 227, 0.8));
}

.telescope-stage.is-absorbing .telescope-flash {
  animation: telescope-capture-flash 900ms ease-out;
}

.telescope-stage.is-absorbing .telescope-head {
  filter: drop-shadow(0 0 24px rgba(255, 180, 84, 0.48));
}

.telescope-data-port {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 22px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: rgba(87, 211, 227, 0.62);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.6rem;
}

.telescope-caption {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 24px;
  max-width: min(430px, calc(100% - 48px));
  margin: 0;
  padding-left: 13px;
  color: rgba(238, 244, 245, 0.72);
  border-left: 1px solid var(--amber);
  opacity: 0;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.telescope-stage.is-capturing .telescope-caption {
  opacity: 1;
  transform: translateY(0);
}

.telescope-data-port i {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 180, 84, 0.5), rgba(87, 211, 227, 0.5));
}

.data-section {
  background: var(--bg);
}

.data-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 24px;
}

.chart-panel {
  position: relative;
  overflow: hidden;
  padding: 24px 26px 20px;
}

.chart-panel .chart-data-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.chart-panel:not(.is-chart-ready) .prompt-area,
.chart-panel:not(.is-chart-ready) .afterglow-area,
.chart-panel:not(.is-chart-ready) .prompt-line,
.chart-panel:not(.is-chart-ready) .afterglow-line,
.chart-panel:not(.is-chart-ready) .chart-callout {
  opacity: 0;
}

.chart-panel.is-chart-ready:not(.is-afterglow) .prompt-line {
  animation: chart-line-draw 2.5s cubic-bezier(0.32, 0.74, 0.2, 1) forwards;
}

.chart-panel.is-chart-ready:not(.is-afterglow) .prompt-area {
  animation: chart-area-in 1.2s 1.15s ease forwards;
}

.chart-panel.is-chart-ready:not(.is-afterglow) .prompt-callout {
  animation: chart-callout-in 0.8s 1.8s ease forwards;
}

.chart-panel.is-chart-ready.is-afterglow .afterglow-line {
  animation: chart-line-draw 2.2s cubic-bezier(0.32, 0.74, 0.2, 1) forwards;
}

.chart-panel.is-chart-ready.is-afterglow .afterglow-line:nth-of-type(2) {
  animation-delay: 0.16s;
}

.chart-panel.is-chart-ready.is-afterglow .afterglow-line:nth-of-type(3) {
  animation-delay: 0.32s;
}

.chart-panel.is-chart-ready.is-afterglow .afterglow-area {
  animation: chart-area-in 1.1s 1s ease forwards;
}

.chart-panel.is-chart-ready.is-afterglow .afterglow-callout {
  animation: chart-callout-in 0.8s 1.45s ease forwards;
}

.chart-panel.is-data-infused {
  border-color: rgba(87, 211, 227, 0.52);
  box-shadow: 0 0 50px rgba(87, 211, 227, 0.12), var(--shadow);
}

.chart-panel.is-data-infused::after {
  position: absolute;
  z-index: 4;
  top: -15%;
  right: 0;
  left: 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(87, 211, 227, 0.22), transparent);
  content: "";
  pointer-events: none;
  animation: data-scan 1.8s ease-out;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.segmented-control {
  display: inline-grid;
  padding: 3px;
  grid-template-columns: repeat(2, auto);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #080d13;
}

.segmented-control button {
  min-height: 34px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.76rem;
}

.segmented-control button.is-active {
  color: var(--text);
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--line);
}

.chart-unit {
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.64rem;
}

.chart-stage {
  position: relative;
  margin-top: 12px;
}

.lightcurve-chart {
  width: 100%;
  height: auto;
}

.chart-axis path {
  fill: none;
  stroke: var(--line-bright);
  stroke-width: 1;
}

.chart-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}

.chart-labels text {
  fill: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}

.prompt-area {
  fill: url("#area-fill");
  transition: opacity 320ms ease;
}

.prompt-line {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-linejoin: round;
  transition: opacity 320ms ease;
}

.afterglow-area {
  fill: rgba(87, 211, 227, 0.08);
  transition: opacity 320ms ease;
}

.afterglow-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity 320ms ease;
}

.xray-line {
  stroke: var(--cyan);
}

.optical-line {
  stroke: var(--green);
}

.radio-line {
  stroke: var(--amber);
}

.chart-callout path {
  fill: none;
  stroke: var(--line-bright);
  stroke-width: 1;
}

.chart-callout {
  transition: opacity 320ms ease;
}

.chart-callout text {
  fill: var(--muted-strong);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}

.chart-panel:not(.is-afterglow) .afterglow-area,
.chart-panel:not(.is-afterglow) .afterglow-line,
.chart-panel:not(.is-afterglow) .afterglow-callout,
.chart-panel.is-afterglow .prompt-area,
.chart-panel.is-afterglow .prompt-line,
.chart-panel.is-afterglow .prompt-callout {
  opacity: 0;
  pointer-events: none;
}

.chart-caption {
  display: flex;
  padding-top: 14px;
  gap: 24px;
  align-items: start;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.chart-caption span {
  flex: none;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.6rem;
}

.data-notes {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-note {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.note-number {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.data-note h3 {
  margin-top: 4px;
  font-size: 1.25rem;
}

.data-note p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.event-sample {
  margin-top: auto;
  padding-top: 20px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.67rem;
}

.event-sample > div {
  display: flex;
  padding: 8px 0;
  justify-content: space-between;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.event-sample .event-head {
  color: var(--text);
  border-bottom-color: var(--line-bright);
}

.ai-pipeline {
  display: grid;
  margin-top: 88px;
  padding-top: 46px;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 76px;
  border-top: 1px solid var(--line);
}

.nasa-figure {
  position: relative;
  margin: 72px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05080c;
}

.nasa-figure-media {
  overflow: hidden;
  background: #020406;
}

.nasa-figure-media img {
  width: 100%;
  height: auto;
}

.nasa-figure figcaption {
  display: grid;
  padding: 20px 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.nasa-credit {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.66rem;
}

.nasa-figure figcaption p {
  max-width: 850px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nasa-figure figcaption a {
  color: var(--muted-strong);
  border-bottom: 1px solid var(--line-bright);
  font-size: 0.72rem;
  white-space: nowrap;
}

.nasa-figure::after {
  position: absolute;
  z-index: 4;
  top: -12%;
  right: 0;
  left: 0;
  height: 18%;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(87, 211, 227, 0.22), transparent);
  content: "";
  pointer-events: none;
}

.nasa-figure.is-data-infused {
  border-color: rgba(87, 211, 227, 0.58);
  box-shadow: 0 0 44px rgba(87, 211, 227, 0.12);
}

.nasa-figure.is-data-infused::after {
  animation: data-scan 1.8s ease-out;
}

.ai-heading h3 {
  max-width: 440px;
  margin-top: 10px;
  font-size: 2.15rem;
}

.ai-heading > p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pipeline-track {
  display: grid;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.pipeline-track li {
  min-height: 210px;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.pipeline-track span {
  display: block;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.68rem;
}

.pipeline-track .icon {
  width: 28px;
  height: 28px;
  margin-top: 38px;
  color: var(--amber);
}

.pipeline-track strong {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
}

.pipeline-track p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.74rem;
}

.cases-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  border-top: 1px solid var(--line);
}

.case-hero + .case-hero {
  border-bottom: 1px solid var(--line);
}

.case-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #080d13;
}

.case-copy {
  padding: 54px 0 54px 58px;
  border-left: 1px solid var(--line);
}

.case-date {
  color: var(--amber);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
}

.case-copy h3 {
  max-width: 620px;
  margin-top: 12px;
  font-size: 2.7rem;
}

.case-copy > p:not(.case-date) {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
}

.case-metrics {
  display: grid;
  margin-top: 44px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-metrics > div {
  padding: 18px 16px 18px 0;
}

.case-metrics > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.case-metrics strong {
  display: block;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 500;
}

.case-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.boat-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fffbe9;
  box-shadow: 0 0 50px 16px rgba(255, 180, 84, 0.42);
  transform: translate(-50%, -50%);
}

.boat-jet {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 10px;
  background: linear-gradient(90deg, rgba(255, 180, 84, 0), rgba(87, 211, 227, 0.7));
  box-shadow: 0 0 24px rgba(87, 211, 227, 0.25);
}

.jet-left {
  right: 50%;
}

.jet-right {
  left: 50%;
  transform: rotate(180deg);
}

.boat-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(87, 211, 227, 0.26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 4s ease-out infinite;
}

.case-gw .case-visual {
  background:
    linear-gradient(rgba(87, 211, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 211, 227, 0.035) 1px, transparent 1px),
    #080d13;
  background-size: 44px 44px;
}

.case-visual-photo {
  margin: 0;
}

.case-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08);
}

.case-visual-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 7, 10, 0.9) 100%);
  content: "";
  pointer-events: none;
}

.case-visual-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.case-visual-photo figcaption span {
  display: block;
  max-width: 520px;
  color: var(--text);
  font-size: 0.8rem;
}

.case-visual-photo figcaption small {
  display: block;
  margin-top: 7px;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.62rem;
}

.gw-star {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dffcff;
  box-shadow: 0 0 34px rgba(87, 211, 227, 0.58);
}

.gw-a {
  left: calc(50% - 92px);
  animation: compact-orbit-a 4.6s ease-in-out infinite;
}

.gw-b {
  right: calc(50% - 92px);
  animation: compact-orbit-b 4.6s ease-in-out infinite;
}

.gw-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(87, 211, 227, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: gw-wave 4.6s ease-out infinite;
}

.wave-b {
  animation-delay: 1.4s;
}

.wave-c {
  animation-delay: 2.8s;
}

.open-questions {
  display: grid;
  margin-top: 82px;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.open-questions h3 {
  max-width: 440px;
  margin-top: 12px;
  font-size: 2.25rem;
}

.open-questions ol {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.open-questions li {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 44px 1fr;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
}

.open-questions li span {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.quiz-section {
  background: var(--bg);
}

.quiz-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.quiz-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.quiz-intro h2 {
  margin-top: 18px;
  font-size: 3.1rem;
}

.quiz-intro > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
}

.score-display {
  display: flex;
  margin-top: 48px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.score-display strong {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
}

.score-display span {
  margin-left: 8px;
  color: var(--muted);
}

.quiz-list {
  border-top: 1px solid var(--line);
}

.quiz-card {
  position: relative;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.quiz-card:has(.is-correct) {
  box-shadow: inset 2px 0 var(--green);
}

.quiz-number {
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.7rem;
}

.quiz-card h3 {
  margin-top: 6px;
  font-size: 1.35rem;
}

.answer-list {
  display: grid;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.answer-list button {
  display: grid;
  min-height: 50px;
  padding: 10px 14px;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted-strong);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.answer-list button:hover:not(:disabled) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.answer-list button span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.66rem;
}

.answer-list button.is-correct {
  color: var(--text);
  background: rgba(155, 213, 165, 0.08);
}

.answer-list button.is-correct span {
  color: #061116;
  background: var(--green);
  border-color: var(--green);
}

.answer-list button.is-wrong {
  color: var(--text);
  background: rgba(255, 118, 95, 0.08);
}

.answer-list button.is-wrong span {
  color: #130705;
  background: var(--coral);
  border-color: var(--coral);
}

.feedback {
  min-height: 24px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.feedback.is-correct {
  color: var(--green);
}

.feedback.is-wrong {
  color: var(--coral);
}

.quiz-reset {
  margin-top: 28px;
}

.site-footer {
  padding: 100px 0 36px;
  background: #05080c;
  border-top: 1px solid var(--line);
}

.coda-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 180, 84, 0.035), transparent 55%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}

.coda-section::before {
  position: absolute;
  top: -160px;
  right: 7%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(87, 211, 227, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.coda-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: start;
}

.coda-intro {
  position: sticky;
  top: 110px;
}

.coda-intro h2 {
  max-width: 520px;
  margin-top: 18px;
  font-size: 3.7rem;
}

.coda-intro > p:not(.eyebrow) {
  max-width: 470px;
  margin-top: 24px;
  color: var(--muted);
}

.coda-quotes {
  border-top: 1px solid var(--line);
}

.coda-quote {
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
}

.coda-quote blockquote {
  margin: 0;
}

.coda-quote-text {
  max-width: 780px;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 2rem;
  line-height: 1.55;
}

.coda-quote-translation {
  max-width: 700px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.coda-quote cite {
  display: block;
  margin-top: 24px;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.68rem;
  font-style: normal;
}

[hidden] {
  display: none !important;
}

.footer-intro {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-intro h2 {
  max-width: 650px;
  margin-top: 14px;
  font-size: 2.8rem;
}

.footer-intro > p {
  align-self: end;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-meta {
  display: grid;
  padding: 42px 0 56px;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.footer-meta > div {
  padding-right: 36px;
}

.footer-meta > div + div {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.footer-meta span {
  color: var(--cyan);
  font-size: 0.72rem;
}

.footer-meta p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  padding-top: 28px;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.65rem;
}

.footer-bottom a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.footer-bottom .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.noscript-note {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 360px;
  padding: 14px 18px;
  color: var(--bg);
  background: var(--amber);
  border-radius: 5px;
  font-size: 0.8rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes draw-curve {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes signal-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes signal-ribbon {
  0%,
  100% {
    transform: rotate(-4deg) scaleX(0.96);
    opacity: 0.38;
  }
  50% {
    transform: rotate(7deg) scaleX(1.08);
    opacity: 0.8;
  }
}

@keyframes signal-body-pulse {
  0%,
  100% {
    transform: scale(0.94) rotate(-2deg);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.04) rotate(2deg);
    opacity: 1;
  }
}

@keyframes signal-spark {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes signal-emerge {
  0% {
    opacity: 0;
    filter: blur(16px) saturate(0.5) drop-shadow(0 0 0 rgba(87, 211, 227, 0));
  }
  38% {
    opacity: 0.9;
    filter: blur(1px) saturate(1.2) drop-shadow(0 0 36px rgba(87, 211, 227, 0.8));
  }
  100% {
    opacity: 0.62;
    filter: blur(0) saturate(0.95) drop-shadow(0 0 24px rgba(87, 211, 227, 0.4));
  }
}

@keyframes title-ignite {
  0% {
    color: inherit;
    text-shadow: none;
  }
  22% {
    color: #ffffff;
    text-shadow:
      0 0 12px rgba(87, 211, 227, 0.95),
      0 0 36px rgba(87, 211, 227, 0.58),
      0 0 72px rgba(255, 180, 84, 0.34);
  }
  100% {
    color: #f3ffff;
    text-shadow:
      0 0 9px rgba(87, 211, 227, 0.64),
      0 0 26px rgba(87, 211, 227, 0.3),
      0 0 48px rgba(255, 180, 84, 0.16);
  }
}

@keyframes title-light-line {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0.48;
    transform: scaleX(1);
  }
}

@keyframes signal-breathe {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.66;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes character-float {
  0%,
  100% {
    transform: translateY(4px) rotate(-1.5deg) scale(1);
  }
  50% {
    transform: translateY(-2px) rotate(1.5deg) scale(1.02);
  }
}

@keyframes data-head {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  86% {
    opacity: 0.8;
  }
  100% {
    top: calc(100% - 7px);
    opacity: 0;
  }
}

@keyframes telescope-capture-flash {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(3.8);
  }
}

@keyframes data-digit-drift {
  0% {
    opacity: 0;
    transform: translate3d(var(--drift-start, 8px), -25px, 0) rotate(var(--digit-rotate, 0deg));
  }
  20% {
    opacity: 1;
  }
  56% {
    transform: translate3d(var(--drift-end, -10px), 8px, 0) rotate(var(--digit-rotate, 0deg));
  }
  82% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift-start, 8px), 44px, 0) rotate(var(--digit-rotate, 0deg));
  }
}

@keyframes telescope-beam {
  to {
    stroke-dashoffset: -30;
  }
}

@keyframes telescope-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes data-scan {
  0% {
    top: -12%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes chart-line-draw {
  from {
    opacity: 1;
    stroke-dashoffset: 1;
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes chart-area-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes chart-callout-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes star-breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes merger-drift {
  0%,
  100% {
    transform: rotate(0deg) scale(0.98);
  }
  50% {
    transform: rotate(8deg) scale(1.02);
  }
}

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

@keyframes ray-travel {
  to {
    stroke-dashoffset: -26;
  }
}

@keyframes photon-ring {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes shock-flow {
  to {
    stroke-dashoffset: -26;
  }
}

@keyframes source-pulse {
  from {
    transform: scale(0.5);
    opacity: 0.9;
  }
  to {
    transform: scale(2.1);
    opacity: 0;
  }
}

@keyframes ring-expand {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
  }
}

@keyframes compact-orbit-a {
  0%,
  100% {
    transform: translate(0, -50%);
  }
  50% {
    transform: translate(34px, -50%);
  }
}

@keyframes compact-orbit-b {
  0%,
  100% {
    transform: translate(0, -50%);
  }
  50% {
    transform: translate(-34px, -50%);
  }
}

@keyframes merger-flash {
  0%,
  38%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  51% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  56% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(8);
  }
}

@keyframes photon-jet {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(calc(84px + var(--jet-extra, 70px)));
  }
}

@keyframes spectrum-ping {
  0% {
    box-shadow: 0 0 0 0 var(--band-color, #fff);
  }
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}

@keyframes event-hit {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  20%,
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ring-pulse {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

@keyframes gw-wave {
  0% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.3);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.1);
  }
}

@media (max-width: 1120px) {
  .hero-poster {
    display: none;
  }

  .section-heading h2 {
    font-size: 3.2rem;
  }

  .journey-layout,
  .detector-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  }

  .relativity-grid {
    gap: 42px;
  }

  .relativity-copy h2 {
    font-size: 3.2rem;
  }

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

  .data-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  }

  .case-copy {
    padding-left: 40px;
  }
}

@media (max-width: 960px) {
  .container,
  .header-inner {
    width: min(var(--max), calc(100% - 48px));
  }

  .section {
    padding: 96px 0;
  }

  .cosmic-signal {
    width: 100px;
    height: 100px;
  }

  .data-flow {
    width: 120px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p {
    max-width: 680px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-index {
    display: flex;
    gap: 16px;
    align-items: end;
  }

  .section-index span {
    margin: 0;
    font-size: 2.4rem;
  }

  .section-index p {
    line-height: 1.35;
  }

  .story-copy h2 {
    font-size: 3.2rem;
  }

  .journey-layout,
  .relativity-grid,
  .detector-layout,
  .data-layout,
  .quiz-layout,
  .coda-grid {
    grid-template-columns: 1fr;
  }

  .burst-scene {
    min-height: auto;
    aspect-ratio: 760 / 560;
  }

  .stage-panel {
    min-height: 430px;
  }

  .relativity-grid {
    gap: 48px;
  }

  .relativity-lab {
    max-width: 680px;
  }

  .detector-tool {
    min-height: 540px;
  }

  .data-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 0;
  }

  .data-note {
    padding: 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .event-sample {
    grid-column: 1 / -1;
  }

  .ai-pipeline,
  .open-questions {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .pipeline-track {
    max-width: 100%;
  }

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

  .case-visual {
    min-height: 360px;
  }

  .case-copy {
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quiz-intro {
    position: static;
  }

  .coda-intro {
    position: static;
  }

  .score-display {
    max-width: 300px;
  }

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

  .footer-meta {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .footer-meta > div {
    padding: 24px 0;
  }

  .footer-meta > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 62px;
  }

  .container,
  .header-inner {
    width: calc(100% - 32px);
  }

  .section {
    padding: 78px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    display: none;
    padding: 24px 16px 30px;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: #080b10;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .brand b {
    display: none;
  }

  .hero {
    min-height: 820px;
    height: 100svh;
    max-height: 920px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 8, 12, 0.93), rgba(5, 8, 12, 0.35)),
      linear-gradient(180deg, rgba(5, 8, 12, 0.4), rgba(5, 8, 12, 0.1) 45%, var(--bg) 100%);
  }

  .hero-media {
    background-image: url("assets/hero/hubble-deep-field-mobile.jpg");
    background-position: 64% center;
  }

  .hero-inner {
    padding-top: 118px;
    padding-bottom: 94px;
  }

  .hero-cn {
    font-size: 6rem;
  }

  html[data-lang="en"] .hero-cn {
    font-size: 4.6rem;
  }

  .hero-poster,
  .hero-symbol {
    display: none;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

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

  .hero-facts > div {
    display: flex;
    padding: 10px 0;
    align-items: baseline;
    justify-content: space-between;
  }

  .hero-facts > div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .fact-label {
    margin: 0;
  }

  .hero-scroll {
    display: none;
  }

  .hero-lightcurve {
    height: 110px;
  }

  .cosmic-signal {
    width: 76px;
    height: 76px;
  }

  .cosmic-signal.is-visible {
    opacity: 0.4;
  }

  .cosmic-signal.is-character.is-visible {
    opacity: 0.9;
  }

  .cosmic-signal.has-bubble {
    opacity: 0.96;
  }

  .data-flow {
    width: 92px;
    height: 220px;
  }

  .data-flow-digits {
    gap: 6px;
    padding: 10px 4px;
  }

  .data-flow-digit {
    font-size: 0.48rem;
  }

  .signal-bubble {
    width: min(220px, calc(100vw - 24px));
    padding: 10px 11px;
  }

  .cosmic-signal.einstein-mode .signal-bubble {
    top: calc(100% + 8px);
    bottom: auto;
    left: 72px;
    width: min(214px, calc(100vw - 28px));
  }

  .cosmic-signal.einstein-mode .signal-bubble::after {
    top: -6px;
    left: 24px;
    transform: rotate(135deg);
  }

  .bubble-einstein {
    grid-template-columns: 50px 1fr;
  }

  .einstein-portrait {
    width: 50px;
    height: 50px;
  }

  .scene-caption {
    bottom: 20px;
    min-height: 34px;
    padding: 7px 11px;
  }

  .scene-caption p {
    font-size: 0.58rem;
  }

  .section-heading h2,
  .story-copy h2,
  .relativity-copy h2 {
    font-size: 2.45rem;
  }

  html[data-lang="en"] .section-heading h2,
  html[data-lang="en"] .story-copy h2,
  html[data-lang="en"] .relativity-copy h2 {
    font-size: 2.15rem;
  }

  .story-text {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 34px;
  }

  .mode-toggle {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .mode-button {
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .burst-scene {
    aspect-ratio: 1 / 1;
  }

  .stage-panel {
    min-height: 440px;
    padding: 28px 22px;
  }

  .stage-panel h3 {
    font-size: 1.65rem;
  }

  .stage-facts {
    grid-template-columns: 1fr;
  }

  .stage-nav {
    overflow-x: auto;
    grid-template-columns: repeat(5, 140px);
  }

  .stage-nav button {
    min-height: 66px;
  }

  .origin-comparison {
    grid-template-columns: 1fr;
  }

  .origin-block {
    padding: 32px 0;
  }

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

  .origin-visual {
    height: 210px;
  }

  .spectrum-lab {
    padding: 24px 18px;
  }

  .spectrum-readout {
    grid-template-columns: 1fr;
  }

  .spectrum-readout > div,
  .spectrum-readout > div:first-child {
    padding: 14px 0;
  }

  .spectrum-readout > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .spectrum-segments span {
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .spectrum-segments {
    grid-template-columns: 25fr 26.04fr 2.46fr 13.17fr 25fr 8.33fr;
  }

  .spectrum-ticks span:nth-child(2),
  .spectrum-ticks span:nth-child(4) {
    display: none;
  }

  .formula-row {
    flex-direction: column;
    gap: 10px;
  }

  .formula-block strong {
    font-size: 1.45rem;
  }

  .relativity-lab {
    padding: 22px 18px;
  }

  .lab-results {
    grid-template-columns: 1fr;
  }

  .detector-tool {
    min-height: 500px;
  }

  .detector-readout {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .detector-step {
    min-height: 94px;
    padding: 16px 12px;
  }

  .mission-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .mission-grid > div {
    min-height: 98px;
  }

  .telescope-stage {
    min-height: 250px;
    margin-top: 52px;
  }

  .telescope-stage svg {
    height: 250px;
  }

  .telescope-data-port {
    right: 3%;
    bottom: 12px;
  }

  .chart-panel {
    padding: 18px 12px 14px;
  }

  .chart-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .chart-caption {
    flex-direction: column;
    gap: 8px;
  }

  .nasa-figure figcaption {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-visual-photo figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .data-notes {
    grid-template-columns: 1fr;
  }

  .data-note {
    padding: 18px 0;
    border-right: 0;
  }

  .pipeline-track {
    grid-template-columns: 1fr 1fr;
  }

  .pipeline-track li {
    min-height: 190px;
    padding: 20px 18px;
    border-bottom: 1px solid var(--line);
  }

  .case-visual {
    min-height: 300px;
  }

  .case-copy h3,
  .open-questions h3,
  .footer-intro h2 {
    font-size: 2rem;
  }

  .coda-intro h2,
  .coda-quote-text {
    font-size: 2.05rem;
  }

  html[data-lang="en"] .case-copy h3 {
    font-size: 1.8rem;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-metrics > div,
  .case-metrics > div + div {
    padding: 13px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case-metrics > div:first-child {
    border-top: 0;
  }

  .quiz-layout {
    gap: 48px;
  }

  .quiz-intro h2 {
    font-size: 2.4rem;
  }

  .quiz-card h3 {
    font-size: 1.15rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 430px) {
  .hero-cn {
    font-size: 5rem;
  }

  html[data-lang="en"] .hero-cn {
    font-size: 4rem;
  }

  .section-heading h2,
  .story-copy h2,
  .relativity-copy h2 {
    font-size: 2.1rem;
  }

  html[data-lang="en"] .section-heading h2,
  html[data-lang="en"] .story-copy h2,
  html[data-lang="en"] .relativity-copy h2 {
    font-size: 1.95rem;
  }

  .pipeline-track {
    grid-template-columns: 1fr;
  }

  .pipeline-track li {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  .hero-cn {
    font-size: 4.25rem;
  }

  html[data-lang="en"] .hero-cn {
    font-size: 3.45rem;
  }

  .hero-lede {
    font-size: 0.94rem;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
