:root {
  --bg: #07110f;
  --white: rgba(255, 255, 255, 0.92);
  --muted: rgba(214, 231, 227, 0.64);
  --dim: rgba(144, 196, 182, 0.24);
  --blue: #37e6c3;
  --deep-blue: #0a7567;
  --violet: #73f0d2;
  --pink: #c78b52;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(55, 230, 195, 0.08), transparent 36%),
    linear-gradient(180deg, #081311 0%, #060d0c 100%);
  color: var(--white);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  cursor: none;
}

body.scene-future-active {
  background: #000103;
}

body.scene-future-active #universe {
  opacity: 0;
}

body.scene-future-active .scanlines {
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 72% 50%, transparent 0 48%, rgba(0,1,3,0.24) 78%);
  background-size: 100% 4px, 100% 100%;
}

button,
a {
  color: inherit;
  font: inherit;
  cursor: none;
}

button {
  cursor: none;
}

a {
  text-decoration: none;
}

#universe {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
}

#panel-webgl {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms var(--ease);
}

body.show-panel #panel-webgl {
  opacity: 1;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.28;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0,0,0,0.44) 84%);
  background-size: 100% 4px, 100% 100%;
}

.cursor-aura,
.cursor-ring,
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 260ms var(--ease), width 360ms var(--ease), height 360ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}

.cursor-aura {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle, rgba(55, 230, 195, 0.14), rgba(55, 230, 195, 0.045) 35%, transparent 68%);
  filter: blur(10px);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(115, 240, 210, 0.42);
  border-radius: 50%;
  box-shadow:
    inset 0 0 16px rgba(55, 230, 195, 0.08),
    0 0 18px rgba(55, 230, 195, 0.1);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(210, 255, 241, 0.92);
  box-shadow: 0 0 14px rgba(55, 230, 195, 0.72);
}

body.cursor-ready .cursor-aura,
body.cursor-ready .cursor-ring,
body.cursor-ready .cursor-dot {
  opacity: 1;
}

body.cursor-hover .cursor-aura {
  width: 190px;
  height: 190px;
  background:
    radial-gradient(circle, rgba(199, 139, 82, 0.13), rgba(55, 230, 195, 0.08) 36%, transparent 70%);
}

body.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(199, 139, 82, 0.55);
}

body.cursor-down .cursor-ring {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.78);
}

body.cursor-down .cursor-dot {
  background: rgba(199, 139, 82, 0.95);
}

@media (pointer: coarse) {
  body,
  button,
  a {
    cursor: auto;
  }

  .cursor-aura,
  .cursor-ring,
  .cursor-dot {
    display: none;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 6vh 5.8vw 0;
  pointer-events: none;
}

.logo {
  justify-self: center;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: auto;
}

.view-all,
.audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: color 220ms var(--ease);
}

.view-all {
  opacity: 0;
  transform: translateY(-10px);
}

body.started .view-all {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), color 220ms var(--ease);
}

.view-all span,
.audio-toggle span,
.explore-link span {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(144, 196, 182, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(55, 230, 195, 0.1), 0 0 18px rgba(55, 230, 195, 0.08);
}

.view-all span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
  content: "";
}

.audio-toggle {
  justify-self: end;
  padding: 0;
}

.audio-toggle span {
  width: 38px;
  height: 20px;
  border-radius: 999px;
}

.audio-toggle span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  transform: translateX(-7px);
  transition: transform 220ms var(--ease);
}

.audio-toggle[aria-pressed="true"] span::before {
  transform: translateX(7px);
}

.view-all:hover,
.audio-toggle:hover,
.explore-link:hover {
  color: var(--white);
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 1050ms var(--ease), transform 1350ms var(--ease);
}

.scene.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

body.pipeline-detail-active .scene-detail.is-active {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y proximity;
  overscroll-behavior: contain;
}

body.pipeline-detail-active .scene-detail.is-active::-webkit-scrollbar {
  width: 0;
}

.begin-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: min(23vw, 238px);
  min-width: 156px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,0.76);
  letter-spacing: 0.34em;
  font-size: 0.55rem;
  text-transform: uppercase;
  box-shadow: none;
  transition: transform 800ms var(--ease), box-shadow 800ms var(--ease), opacity 640ms var(--ease), filter 640ms var(--ease);
}

.begin-orb::before,
.begin-orb::after {
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.begin-orb::before {
  background: radial-gradient(circle, transparent 58%, rgba(55, 230, 195, 0.08) 68%, transparent 80%);
  filter: blur(12px);
  opacity: 0.36;
  animation: atmosphericDrift 7.5s ease-in-out infinite;
}

.begin-orb::after {
  inset: -28px;
  border: 0;
  background:
    radial-gradient(circle, transparent 52%, rgba(55, 230, 195, 0.06) 63%, transparent 78%);
  filter: blur(12px);
  opacity: 0.52;
  animation: blueBreath 5.2s ease-in-out infinite;
}

.begin-orb i {
  position: absolute;
  inset: -4px;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  animation: orbPulse 3.4s ease-in-out infinite;
}

.begin-orb:hover {
  transform: scale(1.035);
  box-shadow: none;
}

body.is-bursting .begin-orb {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.38);
}

.hero-copy {
  position: absolute;
  left: 7vw;
  top: 34vh;
  z-index: 2;
  width: min(46vw, 720px);
}

.hero-video-wrap {
  position: absolute;
  top: 15vh;
  right: 4.4vw;
  z-index: 1;
  width: min(58vw, 1080px);
  height: min(82vh, 860px);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image:
    radial-gradient(ellipse at 50% 50%, #000 0 55%, rgba(0, 0, 0, 0.86) 68%, transparent 100%);
  mask-image:
    radial-gradient(ellipse at 50% 50%, #000 0 55%, rgba(0, 0, 0, 0.86) 68%, transparent 100%);
}

.hero-video-wrap::before,
.hero-video-wrap::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.hero-video-wrap::before {
  background:
    radial-gradient(circle at 52% 48%, transparent 0 46%, rgba(0, 1, 3, 0.16) 66%, rgba(0, 1, 3, 0.62) 100%),
    linear-gradient(90deg, rgba(0, 1, 3, 0.46), transparent 18%, transparent 78%, rgba(0, 1, 3, 0.38));
}

.hero-video-wrap::after {
  mix-blend-mode: screen;
  opacity: 0.42;
  background:
    radial-gradient(circle at 54% 46%, rgba(55, 230, 195, 0.18), transparent 42%),
    radial-gradient(circle at 72% 62%, rgba(199, 139, 82, 0.08), transparent 34%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.04) contrast(1.04) brightness(0.96);
  opacity: 0.98;
}

.hero-copy p,
.detail-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: clamp(0.54rem, 0.9vw, 0.72rem);
  line-height: 1.8;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(3.4rem, 7.3vw, 8.6rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-copy {
  max-width: 420px;
  color: rgba(214, 231, 227, 0.56);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: rgba(255,255,255,0.55);
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.explore-link span::before {
  width: 8px;
  height: 1px;
  background: currentColor;
  content: "";
}

.orbit-map {
  position: relative;
  width: min(86vw, 980px);
  height: min(72vh, 650px);
}

.domain {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 8px;
  place-items: center;
  width: 180px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.9rem, 1.4vw, 1.3rem);
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: color 280ms var(--ease), filter 280ms var(--ease), scale 280ms var(--ease);
}

.domain small {
  color: rgba(255,255,255,0.42);
  font-size: 0.46rem;
  letter-spacing: 0.3em;
}

.domain span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(144, 196, 182, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(55, 230, 195, 0.12);
}

.domain:hover,
.domain.active {
  color: white;
  filter: drop-shadow(0 0 14px rgba(55, 230, 195, 0.65));
  scale: 1.06;
}

.system-map .domain {
  width: 210px;
}

.system-map .map-center {
  right: 8%;
  top: 66%;
  width: 190px;
  color: rgba(255,255,255,0.42);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.system-map .map-center em {
  max-width: 170px;
  margin-top: 12px;
  font-size: 0.42rem;
}

.domain-prayer {
  left: 22%;
  top: 48%;
}

.domain-muqarnas {
  left: 48%;
  top: 10%;
}

.domain-pipeline {
  left: 64%;
  top: 40%;
}

.domain-panel {
  left: 48%;
  top: 78%;
}

.domain-calm {
  left: 48%;
  top: 8%;
}

.domain-release {
  left: 69%;
  top: 18%;
}

.domain-forgiveness {
  left: 84%;
  top: 49%;
}

.domain-humility {
  left: 62%;
  top: 77%;
}

.domain-hope {
  left: 36%;
  top: 78%;
}

.domain-focus {
  left: 18%;
  top: 48%;
}

.domain-awe {
  left: 29%;
  top: 20%;
}

.map-center {
  position: absolute;
  z-index: 1;
  right: 15%;
  top: 47%;
  color: rgba(255,255,255,0.76);
  font-size: 1.05rem;
  line-height: 1.12;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.map-center em {
  display: block;
  max-width: 150px;
  margin: 24px auto 0;
  color: rgba(255,255,255,0.36);
  font-size: 0.48rem;
  font-style: normal;
  line-height: 1.4;
}

.scene-map .map-center {
  right: 6%;
  top: 58%;
  width: 128px;
  color: rgba(255,255,255,0.32);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.scene-map .map-center em {
  max-width: 120px;
  margin-top: 10px;
  font-size: 0.38rem;
}

.detail-copy {
  width: min(1060px, 88vw);
  text-align: center;
}

body.pipeline-detail-active .detail-copy {
  display: grid;
  min-height: 100vh;
  margin-inline: auto;
  padding: 12vh 0 9vh;
  place-content: center;
  scroll-snap-align: start;
}

.detail-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.detail-copy p {
  margin-inline: auto;
  max-width: 440px;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
}

.detail-values {
  width: min(700px, 72vw);
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid rgba(144, 196, 182, 0.16);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 230, 195, 0.07), transparent 56%),
    rgba(3, 12, 10, 0.34);
  box-shadow: inset 0 0 22px rgba(55, 230, 195, 0.035);
  backdrop-filter: blur(10px);
}

.detail-values small {
  display: block;
  margin-bottom: 16px;
  color: rgba(115, 240, 210, 0.54);
  font-size: 0.54rem;
  letter-spacing: 0.22em;
}

.detail-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px 22px;
}

.detail-value-grid article {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
}

.detail-value-grid span {
  color: rgba(214, 231, 227, 0.52);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.detail-value-grid i {
  position: relative;
  height: 16px;
  background: linear-gradient(90deg, rgba(115, 240, 210, 0.18), rgba(115, 240, 210, 0.04));
}

.detail-value-grid i::before {
  position: absolute;
  left: 0;
  top: 7px;
  width: calc(var(--v) * 100%);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(55, 230, 195, 0.16), rgba(115, 240, 210, 0.76));
  box-shadow: 0 0 8px rgba(55, 230, 195, 0.16);
  content: "";
  transform-origin: left center;
  animation: vectorGrow 1200ms var(--ease) both;
}

.detail-value-grid i::after {
  position: absolute;
  left: calc(var(--v) * 100%);
  top: 4px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(115, 240, 210, 0.68);
  border-radius: 50%;
  background: rgba(5, 18, 15, 0.72);
  box-shadow: 0 0 10px rgba(55, 230, 195, 0.2);
  content: "";
  transform: translateX(-50%);
}

.pipeline-graph {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: min(1060px, 88vw);
  margin: 34px auto 0;
}

.pipeline-node {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 148px;
  min-height: 148px;
  padding: 18px 14px;
  border: 1px solid rgba(144, 196, 182, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 230, 195, 0.14), transparent 40%),
    rgba(7, 17, 15, 0.42);
  box-shadow:
    inset 0 0 18px rgba(55, 230, 195, 0.045),
    0 0 28px rgba(55, 230, 195, 0.08);
  backdrop-filter: blur(10px);
}

.pipeline-node:nth-child(even) {
  width: 178px;
  border-radius: 999px;
}

.pipeline-node:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 2;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(55, 230, 195, 0.2), rgba(199, 139, 82, 0.42));
  content: "";
}

.pipeline-node span {
  color: rgba(115, 240, 210, 0.58);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
}

.pipeline-node strong {
  margin-top: 12px;
  color: rgba(255,255,255,0.86);
  font-size: clamp(0.86rem, 1.1vw, 1.1rem);
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-node em {
  margin-top: 12px;
  color: rgba(214, 231, 227, 0.54);
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: none;
}

.pipeline-research {
  position: relative;
  z-index: 4;
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 10vh 0 16vh;
  scroll-snap-align: start;
}

.research-kicker {
  margin: 0 auto 5vh;
  color: rgba(115, 240, 210, 0.58);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-align: center;
}

.research-panel {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-content: center;
  gap: 34px;
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 900ms var(--ease), transform 1100ms var(--ease);
}

.research-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.research-heading {
  text-align: center;
}

.research-heading small {
  display: block;
  margin-bottom: 13px;
  color: rgba(214, 231, 227, 0.46);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
}

.research-heading h3 {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.7rem, 3.6vw, 4.4rem);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.research-chain-diagram {
  display: grid;
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  gap: 18px;
  align-items: center;
}

.research-chain-diagram div,
.formula-grid article,
.method-card {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(144, 196, 182, 0.19);
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 230, 195, 0.1), transparent 44%),
    rgba(3, 12, 10, 0.48);
  box-shadow:
    inset 0 0 24px rgba(55, 230, 195, 0.045),
    0 0 42px rgba(55, 230, 195, 0.055);
  backdrop-filter: blur(12px);
}

.research-chain-diagram div {
  display: grid;
  place-items: center;
  padding: 24px 18px;
  border-radius: 999px;
  text-align: center;
}

.research-chain-diagram div:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -24px;
  width: 29px;
  height: 1px;
  background: linear-gradient(90deg, rgba(55, 230, 195, 0.22), rgba(199, 139, 82, 0.44));
  content: "";
}

.research-chain-diagram span,
.formula-grid span,
.method-card span {
  color: rgba(115, 240, 210, 0.58);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

.research-chain-diagram strong {
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.9rem, 1.25vw, 1.25rem);
  letter-spacing: 0.1em;
}

.research-chain-diagram em {
  max-width: 120px;
  color: rgba(214, 231, 227, 0.48);
  font-size: 0.56rem;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

.formula-grid article {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 190px;
  padding: 26px 30px;
  border-radius: 6px;
}

.formula-grid strong {
  color: rgba(255,255,255,0.92);
  font-family: "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.8vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.formula-grid em {
  max-width: 390px;
  color: rgba(214, 231, 227, 0.5);
  font-size: 0.58rem;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0.13em;
}

.method-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 16px;
}

.method-card {
  min-height: 255px;
  overflow: hidden;
  border-radius: 6px;
}

.method-card svg {
  position: absolute;
  inset: 8% 7% 18%;
  width: 86%;
  height: 74%;
  overflow: visible;
}

.method-card span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
}

.field-fill {
  fill: rgba(55, 230, 195, 0.055);
}

.boundary-line,
.relief-curve {
  fill: none;
  stroke: rgba(115, 240, 210, 0.74);
  stroke-width: 2.2;
}

.mvc-rays line,
.field-lines path,
.sdf-rings circle,
.mesh-lines path,
.relief-bars line,
.relief-base {
  fill: none;
  stroke: rgba(115, 240, 210, 0.2);
  stroke-width: 1.2;
}

.nodes circle,
.field-dots circle,
.sample-dots circle {
  fill: rgba(115, 240, 210, 0.72);
  filter: drop-shadow(0 0 6px rgba(55, 230, 195, 0.45));
  animation: diagramPulse 4.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.core-node {
  fill: rgba(199, 139, 82, 0.72) !important;
}

.field-lines path {
  stroke: rgba(115, 240, 210, 0.42);
  stroke-width: 1.6;
  animation: fieldFlow 7s ease-in-out infinite;
}

.sdf-rings circle {
  stroke-width: 1.5;
  animation: sdfBreath 5s ease-in-out infinite;
}

.sdf-rings circle:nth-child(2) { animation-delay: -0.8s; }
.sdf-rings circle:nth-child(3) { animation-delay: -1.6s; }

.relief-curve {
  stroke-width: 2.8;
}

.relief-base {
  stroke: rgba(255,255,255,0.42);
  stroke-width: 1.5;
}

.mesh-lines path {
  stroke: rgba(115, 240, 210, 0.18);
}

.sample-dots circle:nth-child(2),
.sample-dots circle:nth-child(4),
.sample-dots circle:nth-child(7) {
  fill: rgba(115, 240, 210, 0.92);
}

.sample-dots circle {
  animation-name: pointShimmer;
  animation-duration: 5.4s;
}

.sample-dots circle:nth-child(2n) { animation-delay: -0.8s; }
.sample-dots circle:nth-child(3n) { animation-delay: -1.6s; }

.state-vector-grid {
  display: grid;
  grid-template-columns: minmax(112px, 0.8fr) repeat(6, minmax(90px, 1fr));
  gap: 14px 16px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid rgba(144, 196, 182, 0.18);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 230, 195, 0.08), transparent 46%),
    rgba(3, 12, 10, 0.46);
  box-shadow: inset 0 0 26px rgba(55, 230, 195, 0.04);
}

.state-vector-grid div {
  color: rgba(214, 231, 227, 0.48);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-align: center;
}

.state-vector-grid strong {
  color: rgba(255,255,255,0.74);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.state-vector-grid i {
  position: relative;
  height: 18px;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(115, 240, 210, 0.2), rgba(115, 240, 210, 0.05));
}

.state-vector-grid i::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: calc(var(--v) * 100%);
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(55, 230, 195, 0.16), rgba(115, 240, 210, 0.78));
  box-shadow: 0 0 8px rgba(55, 230, 195, 0.18);
  content: "";
  transform-origin: left center;
  animation: vectorGrow 1200ms var(--ease) both;
}

.state-vector-grid i::after {
  position: absolute;
  left: calc(var(--v) * 100%);
  top: 5px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(115, 240, 210, 0.72);
  border-radius: 50%;
  background: rgba(5, 18, 15, 0.72);
  box-shadow: 0 0 10px rgba(55, 230, 195, 0.24);
  content: "";
  transform: translateX(-50%);
}

.research-return {
  margin: 6vh auto 3vh;
}

@keyframes diagramPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.48; }
  50% { transform: scale(1.08); opacity: 0.92; }
}

@keyframes sdfBreath {
  0%, 100% { transform: scale(0.94); opacity: 0.28; }
  50% { transform: scale(1.04); opacity: 0.72; }
}

@keyframes diagramDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(2px, -2px, 0); }
}

@keyframes pointShimmer {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.52; }
  50% { transform: translate3d(1.5px, -1px, 0) scale(1.06); opacity: 0.95; }
}

@keyframes fieldFlow {
  0%, 100% { opacity: 0.34; transform: scale(0.98); }
  50% { opacity: 0.86; transform: scale(1.03); }
}

@keyframes vectorGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 980px) {
  body.pipeline-detail-active .detail-copy {
    padding: 10vh 0 7vh;
  }

  .pipeline-research {
    width: min(92vw, 720px);
  }

  .research-heading h3 {
    font-size: clamp(1.55rem, 8vw, 3rem);
    line-height: 1.12;
  }

  .research-chain-diagram {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    margin-inline: auto;
  }

  .research-chain-diagram div {
    min-height: 112px;
    border-radius: 999px;
  }

  .research-chain-diagram div:not(:last-child)::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -13px;
    width: 1px;
    height: 15px;
  }

  .formula-grid,
  .method-visual-grid {
    grid-template-columns: 1fr;
  }

  .formula-grid article {
    min-height: 160px;
  }

  .detail-values {
    width: min(88vw, 520px);
  }

  .detail-value-grid {
    grid-template-columns: 1fr;
  }

  .state-vector-grid {
    grid-template-columns: minmax(96px, 0.8fr) repeat(6, minmax(72px, 1fr));
    gap: 10px;
    padding: 20px;
  }
}

@media (max-width: 680px) {
  .state-vector-grid {
    min-width: 760px;
  }

  .research-vectors {
    overflow-x: auto;
  }
}

.hidden {
  display: none !important;
}

.social-row,
.partner-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  color: rgba(255,255,255,0.48);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.social-row a::after {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 8px;
  border: 1px solid rgba(144, 196, 182, 0.18);
  border-radius: 50%;
  vertical-align: -4px;
  content: "";
}

.back-to-system {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.58);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.back-to-system span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(144, 196, 182, 0.26);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(55, 230, 195, 0.1), 0 0 18px rgba(55, 230, 195, 0.08);
}

.back-to-system span::before {
  width: 8px;
  height: 8px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateX(2px) rotate(45deg);
  content: "";
}

.back-to-system:hover {
  color: var(--white);
  transform: translateX(-2px);
}

.scene-question {
  align-content: center;
  gap: 7vh;
  text-align: center;
}

.scene-question h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
}

.line-art {
  position: absolute;
  left: 35vw;
  top: 22vh;
  width: 350px;
  height: 250px;
  filter: drop-shadow(0 0 22px rgba(55, 230, 195, 0.28));
}

.line-art span {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(115, 240, 210, 0.5);
  border-radius: 50%;
  transform: rotate(calc(var(--r, 0) * 1deg)) skewX(28deg);
  animation: driftLine 6s ease-in-out infinite alternate;
}

.line-art span:nth-child(2) {
  --r: 35;
  animation-delay: -1.2s;
}

.line-art span:nth-child(3) {
  --r: -28;
  animation-delay: -2.4s;
}

.partner-row {
  gap: clamp(20px, 4vw, 64px);
  margin-top: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.enter-app {
  position: relative;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: min(520px, 82vw);
  min-height: 42px;
  height: 42px;
  padding: 0 28px;
  margin: -4vh auto 0;
  border: 1px solid rgba(144, 196, 182, 0.24);
  border-radius: 999px;
  background: rgba(12, 22, 20, 0.56);
  color: rgba(255,255,255,0.68);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: border-color 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease), transform 240ms var(--ease);
}

.enter-app:hover {
  border-color: rgba(115, 240, 210, 0.74);
  color: white;
  box-shadow: 0 0 24px rgba(55, 230, 195, 0.24), inset 0 0 18px rgba(55, 230, 195, 0.12);
  transform: translateY(-3px);
}

.section-dots {
  position: fixed;
  left: 50%;
  bottom: 6.2vh;
  z-index: 12;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(144, 196, 182, 0.18);
  border-radius: 50%;
  background: rgba(12, 22, 20, 0.56);
  color: rgba(255,255,255,0.5);
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: border-color 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease), transform 240ms var(--ease);
}

.dot:hover,
.dot.active {
  border-color: rgba(115, 240, 210, 0.74);
  color: white;
  box-shadow: 0 0 24px rgba(55, 230, 195, 0.28), inset 0 0 18px rgba(55, 230, 195, 0.14);
  transform: translateY(-3px);
}

@keyframes orbPulse {
  0%, 100% {
    opacity: 0.28;
    transform: scale(1);
  }
  50% {
    opacity: 0.76;
    transform: scale(1.08);
  }
}

@keyframes atmosphericDrift {
  0%, 100% {
    opacity: 0.48;
    transform: rotate(-4deg) scale(0.98);
  }
  50% {
    opacity: 0.82;
    transform: rotate(5deg) scale(1.03);
  }
}

@keyframes blueBreath {
  0%, 100% {
    opacity: 0.28;
    transform: scale(0.98) rotate(-2deg);
  }
  50% {
    opacity: 0.62;
    transform: scale(1.05) rotate(2deg);
  }
}

@keyframes driftLine {
  to {
    transform: rotate(calc(var(--r, 0) * 1deg + 18deg)) skewX(12deg) translateY(14px);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 28px 22px 0;
  }

  .view-all {
    display: none;
  }

  .begin-orb {
    width: 48vw;
  }

  .hero-copy {
    left: 24px;
    top: 28vh;
    width: calc(100vw - 48px);
  }

  .hero-video-wrap {
    top: 30vh;
    right: -10vw;
    width: 92vw;
    height: 54vh;
    opacity: 0.58;
  }

  .hero-copy h1 {
    font-size: 4rem;
  }

  .body-copy {
    max-width: 320px;
  }

  .orbit-map {
    width: 100vw;
    height: 70vh;
  }

  .domain {
    width: 145px;
    font-size: 0.82rem;
  }

  .map-center {
    right: 7%;
  }

  .line-art {
    left: 14vw;
    width: 260px;
    height: 190px;
  }

  .partner-row,
  .social-row {
    flex-wrap: wrap;
    gap: 18px;
  }
}
