:root {
  --bg: #050706;
  --panel: #0b0f0d;
  --panel-2: #111711;
  --text: #f4f6eb;
  --muted: #9ba69a;
  --line: rgba(244, 246, 235, 0.13);
  --green: #7cff00;
  --cyan: #98e9ff;
  --orange: #ff9d42;
  --pink: #ff5a8f;
  --violet: #8b7bff;
  --max: 1180px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(124, 255, 0, 0.12), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(152, 233, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #050706 0%, #070907 54%, #050706 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(244, 246, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 235, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(124, 255, 0, 0.16) 58.2%, transparent 58.8%),
    linear-gradient(90deg, transparent 0 8%, rgba(244, 246, 235, 0.03) 8.1%, transparent 8.2%);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 20;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--orange));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: var(--header);
  padding: 14px clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand strong {
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.brand span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.mini-link:hover {
  border-color: var(--line);
  background: rgba(244, 246, 235, 0.04);
  color: var(--text);
}

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

.page {
  position: relative;
  z-index: 1;
}

.cursor-light {
  display: none;
}

.section {
  padding: clamp(76px, 9vw, 130px) clamp(16px, 4vw, 48px);
}

.section.tight {
  padding-top: clamp(42px, 6vw, 78px);
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.display {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: clamp(48px, 9vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
}

.title {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 800px;
  color: #c8d0c4;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.78;
}

.sublead {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -16vw;
  width: 54vw;
  aspect-ratio: 1;
  border: 1px solid rgba(124, 255, 0, 0.2);
  background:
    conic-gradient(from 30deg, rgba(124, 255, 0, 0.18), rgba(152, 233, 255, 0.1), rgba(255, 157, 66, 0.12), rgba(124, 255, 0, 0.18));
  transform: rotate(8deg);
  opacity: 0.5;
  filter: blur(0.2px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: clamp(90px, 10vw, 150px) clamp(16px, 4vw, 48px) 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1080px;
}

.hero-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(152, 233, 255, 0.08), transparent 56%),
    rgba(11, 15, 13, 0.82);
}

.profile-card {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
}

.profile-section {
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.profile-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(124, 255, 0, 0.08), transparent 42%),
    rgba(11, 15, 13, 0.72);
  overflow: hidden;
}

.profile-showcase::after,
.method-scene::after,
.asset-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(124, 255, 0, 0.16), transparent 34%);
  transition: opacity 200ms ease;
}

.profile-showcase:hover::after,
.method-scene:hover::after,
.asset-card:hover::after {
  opacity: 1;
}

.profile-name-panel,
.profile-detail-panel {
  min-height: 520px;
  padding: clamp(24px, 5vw, 58px);
}

.profile-name-panel {
  position: relative;
  display: grid;
  align-content: end;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.profile-name-panel::before {
  content: "SHEN\A WEN";
  white-space: pre;
  position: absolute;
  top: 24px;
  left: clamp(22px, 4vw, 54px);
  color: rgba(244, 246, 235, 0.035);
  font-size: clamp(78px, 14vw, 180px);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.profile-name-panel h2 {
  position: relative;
  margin: 0 0 12px;
  color: var(--green);
  font-size: clamp(70px, 12vw, 150px);
  line-height: 0.82;
}

.profile-name-panel p:not(.eyebrow) {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.profile-signal {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 26px rgba(124, 255, 0, 0.78);
}

.profile-detail-panel {
  display: grid;
  align-content: center;
  gap: 24px;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.profile-facts article {
  min-height: 126px;
  padding: 20px;
  background: rgba(5, 7, 6, 0.74);
}

.profile-facts span {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.profile-facts strong {
  display: block;
  color: var(--text);
  font-size: clamp(18px, 2.3vw, 28px);
  line-height: 1.25;
}

.profile-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.profile-top strong {
  display: block;
  color: var(--green);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.profile-top span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 22px rgba(124, 255, 0, 0.72);
}

.meta-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  background: var(--panel);
}

.meta-list dt {
  color: var(--muted);
  font-size: 13px;
}

.meta-list dd {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 255, 0, 0.45);
  background: #121a12;
}

.btn.primary {
  border-color: transparent;
  background: var(--green);
  color: #061006;
}

.btn.cyan {
  border-color: transparent;
  background: var(--cyan);
  color: #061006;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tag-cloud span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(244, 246, 235, 0.035);
  color: #dfe6d9;
  font-size: 13px;
}

.hero-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 7vw, 90px);
  border: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.7);
}

.hero-footer a,
.hero-footer span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.hero-footer a:hover {
  color: var(--green);
}

.home-page {
  --home-progress: 0;
  --home-copy-y: 0px;
  --home-copy-opacity: 1;
  --home-copy-scale: 1;
  --home-split: 0;
  --home-cap-y: 0px;
  --home-cap-opacity: 1;
  --home-route-x: 0px;
  --home-route-opacity: 1;
  --home-blur: 0px;
  --home-brightness: 1;
  --home-mx: 0px;
  --home-my: 0px;
}

.home-cinema {
  position: relative;
  height: calc(100dvh + 2100px);
  min-height: 1600px;
  border-bottom: 1px solid var(--line);
  background: #050706;
}

.home-stage {
  position: sticky;
  top: var(--header);
  height: calc(100dvh - var(--header));
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 68% 18%, rgba(124, 255, 0, 0.18), transparent 30%),
    linear-gradient(135deg, #050706 0%, #08100b 48%, #050706 100%);
}

.home-world,
.home-grid-plane,
.home-energy,
.home-split,
.home-name-shadow,
.home-copy,
.home-capabilities,
.home-routes {
  position: absolute;
}

.home-world {
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(var(--home-blur)) brightness(var(--home-brightness));
}

.home-grid-plane {
  inset: -10% -6%;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(244, 246, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 235, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(900px) rotateX(62deg) translate3d(var(--home-mx), calc(18vh + var(--home-my)), 0) scale(1.18);
  transform-origin: 50% 100%;
}

.home-energy {
  border: 1px solid rgba(124, 255, 0, 0.28);
  background:
    linear-gradient(135deg, rgba(124, 255, 0, 0.22), rgba(152, 233, 255, 0.08) 46%, transparent 68%);
  box-shadow: 0 36px 120px rgba(124, 255, 0, 0.12);
}

.home-energy-a {
  right: -18vw;
  bottom: -20vw;
  width: clamp(420px, 58vw, 980px);
  aspect-ratio: 1;
  transform: translate3d(calc(var(--home-mx) * -1.5), calc(var(--home-my) * -1), 0) rotate(calc(8deg + var(--home-progress) * 18deg));
}

.home-energy-b {
  left: -18vw;
  top: 16vh;
  width: clamp(220px, 26vw, 480px);
  aspect-ratio: 1.2;
  opacity: 0.34;
  transform: translate3d(calc(var(--home-mx) * 1.2), calc(var(--home-my) * 1.2), 0) rotate(-18deg);
}

.home-split {
  top: -12vh;
  bottom: -12vh;
  width: 42vw;
  opacity: 0.42;
  background: rgba(124, 255, 0, 0.08);
  transform: skewX(-18deg);
}

.home-split-left {
  left: 6vw;
  transform: translate3d(calc(var(--home-split) * -36vw), -2vh, 0) skewX(-18deg);
}

.home-split-right {
  right: -8vw;
  background: rgba(152, 233, 255, 0.06);
  transform: translate3d(calc(var(--home-split) * 34vw), 4vh, 0) skewX(-18deg);
}

.home-name-shadow {
  right: clamp(14px, 5vw, 80px);
  bottom: clamp(10px, 4vw, 48px);
  color: rgba(244, 246, 235, 0.035);
  font-size: clamp(72px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.78;
  white-space: nowrap;
  transform: translate3d(calc(var(--home-mx) * -0.8), calc(var(--home-my) * -0.6), 0);
}

.home-copy {
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(1320px, calc(100vw - 96px));
  text-align: center;
  transform: translate3d(-50%, calc(-50% + var(--home-copy-y)), 0) scale(var(--home-copy-scale));
  transform-origin: 50% 50%;
  opacity: var(--home-copy-opacity);
  will-change: transform, opacity;
}

.home-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 900;
  line-height: 1.35;
}

.home-copy h1 {
  max-width: 1320px;
  margin: 0 auto 22px;
  color: var(--text);
  font-size: clamp(52px, 5vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-copy h1 span {
  display: block;
  width: fit-content;
  margin: 0 auto;
  white-space: nowrap;
}

.home-copy p:not(.home-kicker) {
  max-width: 72ch;
  margin: 0 auto;
  color: #dce5d8;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.82;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.home-capabilities {
  z-index: 3;
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: min(1340px, calc(100vw - 72px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  opacity: var(--home-cap-opacity);
  transform: translate3d(-50%, calc(-50% + var(--home-cap-y)), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.home-capabilities article {
  min-height: 250px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(244, 246, 235, 0.13);
  background:
    linear-gradient(145deg, rgba(124, 255, 0, 0.08), transparent 42%),
    rgba(5, 7, 6, 0.78);
  backdrop-filter: blur(10px);
}

.home-capabilities span,
.home-routes span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.home-capabilities strong {
  display: block;
  margin: 14px 0 18px;
  color: var(--text);
  font-size: clamp(24px, 2.15vw, 30px);
  line-height: 1.22;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

.home-capabilities p {
  margin: 0;
  color: #cdd7c8;
  font-size: 15px;
  line-height: 1.72;
}

.home-routes {
  z-index: 5;
  left: 50%;
  right: auto;
  top: 50%;
  width: min(1280px, calc(100vw - 160px));
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  opacity: var(--home-route-opacity);
  transform: translate3d(calc(-50% + var(--home-route-x)), -50%, 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.home-routes.is-ready {
  pointer-events: auto;
}

.home-routes a {
  flex: 0 1 clamp(250px, 20.5vw, 300px);
  min-height: 260px;
  display: grid;
  align-content: end;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(244, 246, 235, 0.15);
  background:
    radial-gradient(circle at 84% 16%, rgba(124, 255, 0, 0.14), transparent 30%),
    rgba(11, 15, 13, 0.84);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: center;
  transition: transform 220ms ease, border-color 220ms ease;
}

.home-routes a:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 255, 0, 0.42);
}

.home-routes strong {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.08;
  text-wrap: balance;
}

.profile-readable-copy {
  max-width: 68ch;
  margin: -8px 0 0;
  color: #d9e1d4;
  font-size: 16px;
  line-height: 1.86;
}

.stats-grid,
.cards-grid,
.method-grid,
.resume-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-card,
.info-card,
.method-card,
.proof-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: clamp(18px, 2.6vw, 28px);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.stat-card:hover,
.info-card:hover,
.method-card:hover,
.proof-card:hover {
  background: #111711;
  transform: translateY(-2px);
}

.stat-card span,
.info-card span,
.method-card span,
.proof-card span,
.timeline-item time {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-card strong {
  color: var(--green);
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 0.95;
}

.stat-card p,
.info-card p,
.method-card p,
.proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.result-river {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  overflow-x: auto;
  padding: 18px 0 28px;
  scroll-snap-type: x mandatory;
}

.result-token {
  position: relative;
  flex: 0 0 clamp(260px, 34vw, 430px);
  min-height: 280px;
  display: grid;
  align-content: end;
  padding: clamp(22px, 4vw, 42px);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: center;
  border: 1px solid rgba(244, 246, 235, 0.12);
  background:
    radial-gradient(circle at 24% 18%, rgba(124, 255, 0, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(152, 233, 255, 0.06), transparent 52%),
    rgba(11, 15, 13, 0.74);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.result-token::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(124, 255, 0, 0.72);
}

.result-token:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: rgba(124, 255, 0, 0.44);
}

.result-token span,
.kfs-node span,
.rhythm-wave time {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.result-token strong {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.9;
}

.result-token p,
.kfs-node p,
.rhythm-wave p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.info-card h3,
.method-card h3,
.proof-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 2.4vw, 34px);
  line-height: 1.05;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head .lead {
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(86px, 10vw, 140px) clamp(16px, 4vw, 48px) clamp(54px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
}

.side-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(20px, 3vw, 30px);
}

.side-panel h2,
.side-panel h3 {
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.side-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: transparent;
}

.side-nav a {
  padding: 10px 13px;
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(5, 7, 6, 0.62);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.side-nav a:hover {
  color: var(--green);
  transform: translateY(-3px);
  border-color: rgba(124, 255, 0, 0.42);
}

.case-flow {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-module {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
}

.case-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(90px, 0.18fr) minmax(0, 0.82fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.case-story .case-index {
  position: sticky;
  top: calc(var(--header) + 28px);
  min-height: auto;
  place-items: start;
  background: transparent;
  color: rgba(124, 255, 0, 0.92);
  font-size: clamp(64px, 12vw, 150px);
  line-height: 0.8;
}

.case-story .case-copy {
  padding: clamp(28px, 5vw, 72px) 0;
  background: transparent;
  border-top: 1px solid rgba(244, 246, 235, 0.14);
}

.case-story .case-copy h2 {
  max-width: 920px;
  font-size: clamp(42px, 7vw, 92px);
}

.case-story .case-copy > p:not(.eyebrow) {
  max-width: 850px;
  font-size: 17px;
}

.case-index {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: var(--panel);
  color: var(--green);
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 900;
}

.case-copy {
  padding: clamp(24px, 4vw, 46px);
  background: var(--panel);
}

.case-copy h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.98;
}

.case-copy p {
  color: var(--muted);
  line-height: 1.76;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
}

.insight-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.insight-cloud article {
  position: relative;
  flex: 1 1 260px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(244, 246, 235, 0.12);
  background:
    linear-gradient(135deg, rgba(124, 255, 0, 0.08), transparent 42%),
    rgba(5, 7, 6, 0.66);
  transform: translateY(var(--offset, 0));
  transition: transform 220ms ease, border-color 220ms ease;
}

.insight-cloud article:nth-child(2n) { --offset: 18px; }
.insight-cloud article:nth-child(3n) { --offset: -10px; }

.insight-cloud article:hover {
  transform: translateY(calc(var(--offset, 0) - 8px));
  border-color: rgba(124, 255, 0, 0.46);
}

.insight-cloud h3 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: clamp(22px, 3vw, 34px);
}

.insight-cloud p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.kfs-orbit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.kfs-node {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(244, 246, 235, 0.12);
  background:
    radial-gradient(circle at 80% 18%, rgba(152, 233, 255, 0.1), transparent 30%),
    rgba(11, 15, 13, 0.68);
  transition: transform 220ms ease, border-color 220ms ease;
}

.kfs-node:nth-child(2),
.kfs-node:nth-child(4) {
  margin-top: clamp(38px, 6vw, 86px);
}

.kfs-node:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(124, 255, 0, 0.44);
}

.kfs-node h3 {
  margin: 14px 0 12px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.95;
}

.rhythm-wave {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 20px;
  overflow-x: auto;
  padding: 18px 0 34px;
  scroll-snap-type: x mandatory;
}

.rhythm-wave article {
  position: relative;
  flex: 0 0 clamp(260px, 30vw, 370px);
  min-height: 330px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(244, 246, 235, 0.12);
  background:
    linear-gradient(180deg, rgba(124, 255, 0, 0.08), transparent 56%),
    rgba(11, 15, 13, 0.7);
  scroll-snap-align: center;
  overflow: hidden;
}

.rhythm-wave strong {
  display: block;
  color: var(--text);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.98;
}

.rhythm-wave span {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rhythm-wave b {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  color: #061006;
  background: var(--green);
  font-size: 12px;
}

.rhythm-wave b + b {
  background: var(--cyan);
}

.split-list article,
.mini-card {
  min-height: 150px;
  padding: 18px;
  background: var(--bg);
}

.split-list h3,
.mini-card h3 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 20px;
}

.split-list p,
.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--panel);
}

th,
td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.58;
}

th {
  color: var(--green);
  background: #0f160f;
}

td {
  color: #d8ded2;
}

.asset-slider {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.asset-rail {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-auto-flow: column;
  grid-auto-columns: minmax(620px, 78%);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  cursor: grab;
  padding: 18px 0 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--green) rgba(244, 246, 235, 0.08);
}

.asset-rail.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.asset-card {
  position: relative;
  scroll-snap-align: center;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  transform-origin: center;
  transition: transform 220ms ease, border-color 220ms ease;
}

.asset-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 255, 0, 0.46);
}

.asset-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.asset-card figcaption {
  display: flex;
  gap: 14px;
  min-height: 74px;
  padding: 18px;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.asset-card figcaption span {
  color: var(--green);
  font-weight: 900;
}

.marquee-section {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050706;
}

.marquee-line {
  display: flex;
  width: max-content;
  animation: marqueeMove 22s linear infinite;
  will-change: transform;
}

.marquee-line span {
  padding: 22px clamp(24px, 5vw, 70px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 246, 235, 0.68);
  font-size: clamp(38px, 8vw, 112px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.marquee-section:hover .marquee-line {
  animation-play-state: paused;
}

.method-stage {
  padding-top: clamp(56px, 8vw, 110px);
}

.method-stage-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.method-sticky {
  position: sticky;
  top: calc(var(--header) + 34px);
  min-height: 420px;
  display: grid;
  align-content: center;
}

.method-sticky h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
}

.method-sticky p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.78;
}

.method-sequence {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
}

.method-scene {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(124, 255, 0, 0.1), transparent 36%),
    linear-gradient(315deg, rgba(152, 233, 255, 0.06), transparent 48%),
    rgba(11, 15, 13, 0.76);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.method-scene::before {
  content: attr(data-ghost);
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(244, 246, 235, 0.035);
  font-size: clamp(68px, 13vw, 160px);
  font-weight: 900;
  line-height: 0.8;
}

.method-scene:nth-child(1)::before { content: "01"; }
.method-scene:nth-child(2)::before { content: "02"; }
.method-scene:nth-child(3)::before { content: "03"; }
.method-scene:nth-child(4)::before { content: "04"; }
.method-scene:nth-child(5)::before { content: "05"; }
.method-scene:nth-child(6)::before { content: "06"; }

.method-scene:hover {
  transform: translateX(-10px);
  border-color: rgba(124, 255, 0, 0.5);
  background:
    linear-gradient(135deg, rgba(124, 255, 0, 0.15), transparent 42%),
    rgba(13, 18, 14, 0.92);
}

.method-scene span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.method-scene h3 {
  max-width: 720px;
  margin: 14px 0;
  color: var(--text);
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.95;
}

.method-scene p {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.method-scene a,
.method-proof-strip a {
  width: fit-content;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.method-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(244, 246, 235, 0.035);
  color: #dfe6d9;
  font-size: 13px;
  text-transform: none;
}

.case-proof-strip {
  margin-top: 24px;
}

.case-image-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin-top: 28px;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.case-image-strip figure {
  flex: 0 0 min(560px, 86vw);
  margin: 0;
  border: 1px solid rgba(244, 246, 235, 0.12);
  background: rgba(5, 7, 6, 0.66);
  scroll-snap-align: start;
}

.case-image-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.brand-manual-strip figure {
  flex-basis: min(760px, 88vw);
}

.brand-manual-strip img {
  object-fit: contain;
  background: #eef3ea;
}

.case-image-strip figcaption {
  padding: 14px;
  color: var(--muted);
  border-top: 1px solid rgba(244, 246, 235, 0.12);
  line-height: 1.55;
}

.case-table {
  margin-top: 28px;
}

.method-scene a::after,
.method-proof-strip a::after {
  content: " ->";
}

.method-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  border: 0;
  background: transparent;
}

.method-proof-strip a {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(11, 15, 13, 0.72);
  transition: transform 180ms ease, border-color 180ms ease;
}

.method-proof-strip a:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 255, 0, 0.42);
}

.slides {
  display: grid;
}

.slide {
  display: none;
  grid-column: 1;
  grid-row: 1;
}

.slide.active {
  display: block;
  animation: fadeIn 480ms ease both;
}

.slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slide figcaption {
  min-height: 56px;
  padding: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.slider-controls button,
.copy-btn {
  min-height: 46px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.slider-controls button:hover,
.copy-btn:hover {
  background: #121a12;
  color: var(--green);
}

.constellation {
  border: 0;
  background: transparent;
}

.constellation-head,
.constellation-step {
  padding: clamp(22px, 4vw, 42px);
  background: rgba(11, 15, 13, 0.72);
}

.constellation-head h2 {
  font-size: clamp(32px, 5vw, 70px);
  line-height: 0.94;
}

.constellation-path {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 2vw, 24px);
  background: transparent;
}

.constellation-step {
  flex: 1 1 0;
  border: 1px solid rgba(244, 246, 235, 0.12);
  min-height: 190px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.constellation-step:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 255, 0, 0.42);
}

.constellation-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  background: transparent;
  color: var(--orange);
  font-size: 34px;
}

.branch-field {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 18px;
  overflow-x: auto;
  padding: 24px 0 30px;
  background: transparent;
  scroll-snap-type: x mandatory;
}

.branch-card {
  flex: 0 0 clamp(320px, 42vw, 560px);
  border: 1px solid rgba(244, 246, 235, 0.12);
  background:
    radial-gradient(circle at 78% 12%, rgba(124, 255, 0, 0.12), transparent 28%),
    rgba(11, 15, 13, 0.72);
  scroll-snap-align: center;
  transition: transform 220ms ease, border-color 220ms ease;
}

.branch-card:hover,
.branch-card[open] {
  transform: translateY(-6px);
  border-color: rgba(124, 255, 0, 0.42);
}

.branch-card summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  min-height: 106px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.branch-card summary::-webkit-details-marker {
  display: none;
}

.branch-card summary span {
  grid-row: span 2;
  color: var(--orange);
  font-weight: 900;
}

.branch-card summary strong {
  color: var(--green);
  font-size: 23px;
}

.branch-card summary b {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.branch-card summary::after {
  content: "+";
  color: var(--orange);
  font-size: 24px;
}

.branch-card[open] summary::after {
  content: "-";
}

.branch-body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 14px;
}

.branch-node {
  display: block;
  flex: 1 1 210px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(244, 246, 235, 0.1);
  background: rgba(5, 7, 6, 0.66);
  color: inherit;
  text-decoration: none;
}

.branch-node span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.branch-node strong {
  display: block;
  margin: 9px 0;
  color: var(--text);
  font-size: 18px;
}

.branch-node p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.method-loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.loop-step {
  min-height: 230px;
  padding: 22px;
  background: var(--panel);
}

.loop-step strong {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: 24px;
  line-height: 1.05;
}

.timeline {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 1px;
  background: var(--line);
}

.timeline-item > * {
  padding: 22px;
  background: var(--panel);
}

.timeline-item h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 24px;
}

.timeline-item p,
.timeline-item li {
  color: var(--muted);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-panel {
  padding: clamp(24px, 4vw, 46px);
  background: var(--panel);
}

.contact-panel strong {
  color: var(--green);
}

.timeline-page .page-hero {
  padding-top: clamp(68px, 8vw, 112px);
  padding-bottom: clamp(54px, 7vw, 88px);
}

.timeline-page .title {
  max-width: 980px;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.08;
}

.timeline-page .lead {
  max-width: 74ch;
  color: #d7dfd2;
  line-height: 1.88;
}

.timeline-section .section-head {
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.timeline-section .section-head .title {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.12;
}

.timeline-page .timeline {
  position: relative;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  border: 0;
  background: transparent;
}

.timeline-page .timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: clamp(132px, 15vw, 190px);
  width: 1px;
  background: linear-gradient(180deg, rgba(124, 255, 0, 0.5), rgba(244, 246, 235, 0.08));
}

.timeline-page .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(120px, 15vw, 178px) minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  background: transparent;
}

.timeline-page .timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: calc(clamp(132px, 15vw, 190px) - 5px);
  width: 11px;
  height: 11px;
  background: var(--green);
  box-shadow: 0 0 24px rgba(124, 255, 0, 0.7);
}

.timeline-page .timeline-item > * {
  padding: 0;
  background: transparent;
}

.timeline-page .timeline-item time {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
}

.timeline-main {
  max-width: 760px;
}

.timeline-main h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.16;
}

.timeline-main p,
.timeline-proof p {
  margin: 0;
  color: #d4ddcf;
  font-size: 16px;
  line-height: 1.86;
}

.timeline-proof {
  padding: 18px !important;
  border: 1px solid rgba(244, 246, 235, 0.13);
  background:
    linear-gradient(135deg, rgba(124, 255, 0, 0.08), transparent 42%),
    rgba(11, 15, 13, 0.72) !important;
}

.timeline-proof strong {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.timeline-page .cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
}

.timeline-page .info-card {
  min-height: 260px;
  border: 1px solid rgba(244, 246, 235, 0.13);
  background:
    radial-gradient(circle at 80% 18%, rgba(124, 255, 0, 0.1), transparent 30%),
    rgba(11, 15, 13, 0.74);
}

.timeline-page .info-card h3 {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.12;
}

.timeline-contact {
  padding-bottom: clamp(88px, 10vw, 150px);
}

.contact-merge {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.62fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(244, 246, 235, 0.16);
  background:
    linear-gradient(120deg, rgba(124, 255, 0, 0.1), transparent 44%),
    rgba(11, 15, 13, 0.78);
  overflow: hidden;
}

.contact-merge-copy h2 {
  max-width: 880px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.06;
}

.contact-merge-copy p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0;
  color: #d7dfd2;
  font-size: 16px;
  line-height: 1.86;
}

.contact-merge-info {
  display: grid;
  gap: 1px;
  align-content: stretch;
  background: rgba(244, 246, 235, 0.12);
}

.contact-merge-info a,
.contact-merge-info button {
  display: grid;
  align-content: center;
  min-height: 108px;
  padding: 20px;
  border: 0;
  background: rgba(5, 7, 6, 0.78);
  color: inherit;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.contact-merge-info span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.contact-merge-info strong,
.contact-merge-info button {
  color: var(--green);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.15;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 3vw, 36px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.case-eclipse {
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(124, 255, 0, 0.11) 58.1%, transparent 58.6%),
    radial-gradient(circle at 70% 18%, rgba(124, 255, 0, 0.13), transparent 34%);
}

.case-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050706;
}

.case-marquee div {
  display: flex;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}

.case-marquee span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 clamp(22px, 4vw, 56px);
  color: var(--green);
  font-size: clamp(22px, 4vw, 54px);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-hero-panel {
  min-height: calc(100vh - var(--header) - 68px);
  display: grid;
  align-items: center;
  padding: clamp(64px, 8vw, 120px) clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.case-hero-wrap h1 {
  max-width: 1180px;
  margin: 18px 0 26px;
  color: var(--text);
  font-size: clamp(48px, 8.6vw, 124px);
  line-height: 0.86;
}

.case-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.case-jump a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(244, 246, 235, 0.16);
  color: var(--text);
  background: rgba(5, 7, 6, 0.58);
  text-decoration: none;
  font-size: 13px;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.case-jump a:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 255, 0, 0.55);
  color: var(--green);
}

.case-metrics {
  padding: 28px clamp(16px, 4vw, 48px);
}

.metrics-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metrics-strip a {
  flex: 1 1 230px;
  min-height: 136px;
  display: grid;
  align-content: end;
  padding: 18px;
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(11, 15, 13, 0.72);
  color: inherit;
  text-decoration: none;
}

.metrics-strip span,
.eclipse-mini-row span,
.eclipse-feature-pairs span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.metrics-strip strong {
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.95;
}

.eclipse-block,
.eclipse-section,
.eclipse-media-section {
  padding: clamp(76px, 9vw, 136px) clamp(16px, 4vw, 48px);
}

.eclipse-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(110px, 0.18fr) minmax(0, 0.82fr);
  gap: clamp(22px, 5vw, 76px);
  min-height: 680px;
  padding: clamp(26px, 5vw, 66px);
  border: 1px solid rgba(244, 246, 235, 0.16);
  background:
    linear-gradient(120deg, rgba(244, 246, 235, 0.09), transparent 38%),
    rgba(11, 15, 13, 0.72);
  overflow: hidden;
}

.eclipse-card::after {
  content: "";
  position: absolute;
  inset: -20% 16% -20% auto;
  width: 26%;
  background: rgba(124, 255, 0, 0.08);
  transform: skewX(-22deg);
  pointer-events: none;
}

.eclipse-no {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: clamp(86px, 14vw, 180px);
  font-weight: 900;
  line-height: 0.75;
}

.eclipse-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.eclipse-copy h2,
.eclipse-heading h2 {
  max-width: 1040px;
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.88;
}

.eclipse-copy > p:not(.eyebrow),
.eclipse-heading > p:not(.eyebrow) {
  max-width: 850px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}

.eclipse-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.eclipse-mini-row article {
  flex: 1 1 250px;
  min-height: 160px;
  padding: 22px;
  background: rgba(5, 7, 6, 0.78);
  border: 1px solid rgba(244, 246, 235, 0.1);
  transition: transform 180ms ease, border-color 180ms ease;
}

.eclipse-mini-row article:hover,
.eclipse-feature-pairs article:hover,
.eclipse-scroll article:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 255, 0, 0.44);
}

.eclipse-mini-row strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.eclipse-mini-row p,
.eclipse-feature-pairs p,
.eclipse-scroll p,
.eclipse-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.eclipse-heading {
  display: grid;
  grid-template-columns: minmax(100px, 0.18fr) minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 84px);
}

.eclipse-heading .eyebrow {
  grid-column: 2 / -1;
  margin-bottom: -10px;
}

.eclipse-heading h2 {
  grid-column: 2;
}

.eclipse-heading > p:not(.eyebrow) {
  grid-column: 3;
}

.eclipse-section-no {
  grid-row: 1 / span 2;
  color: var(--green);
  font-size: clamp(76px, 12vw, 160px);
  font-weight: 900;
  line-height: 0.75;
}

.eclipse-flow {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 3vw, 42px);
  margin-bottom: clamp(34px, 6vw, 76px);
}

.eclipse-flow article {
  flex: 1 1 0;
  min-height: 260px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(244, 246, 235, 0.16);
  background: rgba(5, 7, 6, 0.72);
}

.eclipse-flow i {
  display: grid;
  place-items: center;
  color: var(--orange);
  font-style: normal;
  font-size: 34px;
}

.eclipse-flow span,
.eclipse-scroll span {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-weight: 900;
}

.eclipse-flow strong {
  display: block;
  color: var(--text);
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.05;
}

.eclipse-scroll,
.eclipse-image-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 22px;
  scroll-snap-type: x mandatory;
}

.eclipse-scroll article {
  flex: 0 0 clamp(300px, 38vw, 540px);
  min-height: 330px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(11, 15, 13, 0.76);
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease;
}

.eclipse-scroll h3 {
  margin: 0 0 16px;
  color: var(--green);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.92;
}

.eclipse-image-rail figure {
  flex: 0 0 clamp(320px, 72vw, 980px);
  margin: 0;
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(11, 15, 13, 0.72);
  scroll-snap-align: center;
}

.eclipse-image-rail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.eclipse-image-rail figcaption {
  padding: 18px;
  color: var(--muted);
  border-top: 1px solid rgba(244, 246, 235, 0.12);
}

.eclipse-feature-pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 30px);
}

.eclipse-feature-pairs article {
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(11, 15, 13, 0.74);
  transition: transform 180ms ease, border-color 180ms ease;
}

.eclipse-feature-pairs h3 {
  margin: 12px 0;
  color: var(--green);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.92;
}

.rhythm-title {
  margin-top: clamp(72px, 10vw, 130px);
}

.simple-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(244, 246, 235, 0.14);
  background: rgba(5, 7, 6, 0.72);
}

.simple-table {
  min-width: 820px;
  width: 100%;
  border-collapse: collapse;
}

.simple-table th,
.simple-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(244, 246, 235, 0.12);
  color: #d8ded2;
  text-align: left;
  font-size: 14px;
  line-height: 1.55;
}

.simple-table th {
  color: var(--green);
  background: rgba(124, 255, 0, 0.05);
}

.simple-table tr:last-child td {
  border-bottom: 0;
}

/* Reading-focused detail pages: case, methodology, contact. */
.detail-page .page-hero {
  padding-top: clamp(68px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.detail-page .page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
  align-items: center;
}

.detail-page .title {
  max-width: 980px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.18;
}

.detail-page .lead {
  max-width: 760px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.82;
}

.detail-page .marquee-line span {
  padding: 18px clamp(22px, 4vw, 52px);
  -webkit-text-stroke-color: rgba(244, 246, 235, 0.46);
  font-size: clamp(30px, 5vw, 78px);
}

.detail-page .side-panel {
  background: rgba(11, 15, 13, 0.68);
}

.detail-page .method-stage-wrap {
  grid-template-columns: minmax(220px, 0.24fr) minmax(0, 0.76fr);
}

.detail-page .method-sticky {
  min-height: 340px;
}

.detail-page .method-sticky h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
}

.detail-page .method-sticky p:not(.eyebrow) {
  max-width: 42ch;
  font-size: 15px;
}

.detail-page .method-sequence {
  gap: clamp(22px, 4vw, 46px);
}

.detail-page .method-scene {
  min-height: auto;
  align-content: start;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(124, 255, 0, 0.08), transparent 34%),
    rgba(11, 15, 13, 0.78);
}

.detail-page .method-scene::before {
  display: none;
}

.detail-page .method-scene:hover {
  transform: translateY(-4px);
}

.detail-page .method-scene > span {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: none;
}

.detail-page .method-scene h3 {
  max-width: 860px;
  margin: 12px 0 16px;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.12;
  text-wrap: balance;
}

.detail-page .method-scene p {
  max-width: 76ch;
  color: #d7dfd2;
  font-size: 16px;
  line-height: 1.86;
}

.detail-page .method-tags {
  gap: 10px;
  margin-top: 24px;
}

.detail-page .method-tags span {
  min-height: 34px;
  color: #e3eadf;
  background: rgba(244, 246, 235, 0.045);
}

.position-chain,
.translation-flow,
.xhs-strategy {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.position-chain {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.position-chain article,
.translation-flow article,
.xhs-strategy article,
.keyword-system,
.map-branch,
.map-core {
  position: relative;
  border: 1px solid rgba(244, 246, 235, 0.12);
  background: rgba(5, 7, 6, 0.58);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.position-chain article,
.translation-flow article,
.xhs-strategy article {
  padding: 18px;
}

.position-chain article:hover,
.translation-flow article:hover,
.xhs-strategy article:hover,
.map-branch:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 255, 0, 0.38);
  background: rgba(14, 20, 15, 0.84);
}

.position-chain b,
.translation-flow span,
.map-core small {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.position-chain strong,
.translation-flow strong,
.xhs-strategy h4,
.keyword-system h4,
.map-branch h4,
.map-core strong {
  display: block;
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

.position-chain p,
.translation-flow p,
.xhs-strategy p,
.keyword-system p,
.map-branch p,
.map-core p,
.insight-lines p {
  margin: 0;
  max-width: none;
  color: #d7dfd2;
  font-size: 15px;
  line-height: 1.78;
}

.insight-lines {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid rgba(244, 246, 235, 0.11);
  background: rgba(244, 246, 235, 0.11);
}

.insight-lines p {
  padding: 14px 16px;
  background: rgba(5, 7, 6, 0.74);
}

.insight-lines strong {
  color: #e8efe2;
}

.translation-flow {
  grid-template-columns: 0.9fr 1.05fr 1.2fr;
}

.translation-flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 12px;
  height: 1px;
  background: var(--green);
}

.selling-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.map-core {
  grid-column: 1 / -1;
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: clamp(22px, 3vw, 30px);
  background:
    radial-gradient(circle at 28% 20%, rgba(124, 255, 0, 0.16), transparent 42%),
    rgba(5, 7, 6, 0.72);
}

.map-core strong {
  color: var(--green);
  font-size: clamp(30px, 3.6vw, 44px);
}

.map-branch {
  min-height: auto;
  padding: 20px;
}

.map-branch b {
  color: #e6eee0;
}

.map-branch em {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

.xhs-strategy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.keyword-system {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 16px;
  padding: 20px;
}

.keyword-system h4 {
  max-width: 16em;
}

.keyword-system strong {
  color: #e8efe2;
}

.keyword-system div {
  display: grid;
  gap: 10px;
}

.detail-page .simple-table-wrap {
  margin-top: 24px;
}

.detail-page .simple-table th,
.detail-page .simple-table td {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.62;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .page-hero-grid,
  .section-head,
  .timeline-section .section-head,
  .contact-grid,
  .profile-showcase,
  .home-capabilities,
  .contact-merge,
  .method-stage-wrap,
  .eclipse-card,
  .eclipse-heading {
    grid-template-columns: 1fr;
  }

  .profile-name-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .stats-grid,
  .cards-grid,
  .method-grid,
  .proof-grid,
  .method-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .constellation-path {
    display: grid;
    grid-template-columns: 1fr;
  }

  .constellation-arrow {
    min-height: 50px;
    width: 100%;
    flex-basis: auto;
    transform: rotate(90deg);
  }

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

  .case-story .case-index {
    position: relative;
    top: auto;
  }

  .kfs-orbit {
    grid-template-columns: 1fr;
  }

  .kfs-node:nth-child(2),
  .kfs-node:nth-child(4) {
    margin-top: 0;
  }

  .eclipse-flow {
    flex-direction: column;
  }

  .eclipse-heading .eyebrow,
  .eclipse-heading h2,
  .eclipse-heading > p:not(.eyebrow),
  .eclipse-section-no {
    grid-column: 1;
  }

  .eclipse-section-no {
    grid-row: auto;
  }

  .eclipse-flow i {
    min-height: 38px;
    transform: rotate(90deg);
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .home-cinema {
    height: auto;
    min-height: 0;
  }

  .home-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    display: grid;
    gap: 24px;
    padding: clamp(54px, 9vw, 86px) clamp(16px, 4vw, 48px);
  }

  .home-copy,
  .home-capabilities,
  .home-routes {
    position: relative;
    inset: auto;
    width: auto;
    opacity: 1;
    transform: none;
  }

  .home-copy {
    width: min(760px, 100%);
  }

  .home-capabilities {
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
  }

  .home-routes {
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    padding: 0;
    justify-content: flex-start;
    overflow-x: auto;
    pointer-events: auto;
  }

  .home-world {
    opacity: 0.75;
  }

  .timeline-page .timeline::before,
  .timeline-page .timeline-item::before {
    display: none;
  }

  .timeline-page .timeline-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(244, 246, 235, 0.13);
    background: rgba(11, 15, 13, 0.68);
  }

  .timeline-proof {
    padding: 16px !important;
  }

  .timeline-page .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-page .method-stage-wrap,
  .detail-page .page-hero-grid,
  .position-chain,
  .translation-flow,
  .selling-map,
  .xhs-strategy,
  .keyword-system {
    grid-template-columns: 1fr;
  }

  .map-core {
    grid-row: auto;
    min-height: 240px;
  }

  .translation-flow article:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 22px;
    bottom: -13px;
    width: 1px;
    height: 12px;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 116px;
  }

  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .header-actions .mini-link:first-child {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .display {
    font-size: clamp(42px, 15vw, 72px);
  }

  .title {
    font-size: clamp(34px, 11vw, 54px);
  }

  .hero-footer,
  .method-grid,
  .proof-grid,
  .branch-body,
  .method-loop,
  .resume-grid,
  .profile-facts,
  .timeline-page .cards-grid {
    grid-template-columns: 1fr;
  }

  .home-stage {
    padding: 42px 14px 54px;
  }

  .home-copy h1 {
    font-size: clamp(36px, 10.6vw, 52px);
    line-height: 1.02;
  }

  .home-copy h1 span {
    white-space: normal;
  }

  .home-copy p:not(.home-kicker),
  .profile-readable-copy,
  .timeline-main p,
  .timeline-proof p,
  .contact-merge-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.78;
  }

  .home-capabilities article,
  .home-routes a {
    min-height: auto;
  }

  .home-routes a {
    flex-basis: min(82vw, 330px);
  }

  .timeline-page .page-hero {
    padding-top: 46px;
  }

  .timeline-page .title,
  .timeline-section .section-head .title,
  .contact-merge-copy h2 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.16;
  }

  .contact-merge {
    padding: 18px;
  }

  .contact-merge-info a,
  .contact-merge-info button {
    min-height: 92px;
    padding: 16px;
  }

  .profile-name-panel,
  .profile-detail-panel {
    min-height: auto;
  }

  .asset-rail {
    grid-auto-columns: minmax(286px, 88%);
  }

  .method-scene {
    min-height: 300px;
  }

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

  .case-index {
    min-height: 76px;
  }

  .stat-card,
  .info-card,
  .method-card,
  .proof-card,
  .loop-step {
    min-height: auto;
  }

  .meta-list div {
    display: grid;
  }

  .meta-list dd {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }

  .detail-page .page-hero {
    padding-top: 46px;
  }

  .detail-page .title {
    font-size: clamp(30px, 10vw, 46px);
    line-height: 1.12;
  }

  .detail-page .method-scene h3 {
    font-size: clamp(25px, 8.4vw, 38px);
  }

  .detail-page .method-scene p {
    font-size: 15px;
    line-height: 1.78;
  }

  .position-chain article,
  .translation-flow article,
  .xhs-strategy article,
  .keyword-system,
  .map-branch,
  .map-core {
    padding: 16px;
  }
}

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

  .marquee-line {
    animation: marqueeMove 24s linear infinite !important;
  }
}
