body.graph-home {
  --home-bg: #060806;
  --home-bg-soft: #0a0d0a;
  --home-text: #f3f3ee;
  --home-muted: rgba(243, 243, 238, 0.68);
  --home-line: rgba(255, 255, 255, 0.08);
  --home-line-strong: rgba(255, 255, 255, 0.14);
  --home-signal: #9cf169;
  --home-signal-soft: rgba(156, 241, 105, 0.16);
  --home-cool: rgba(119, 218, 208, 0.12);
  background:
    radial-gradient(circle at 16% 12%, rgba(119, 218, 208, 0.08), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(156, 241, 105, 0.12), transparent 28%),
    linear-gradient(180deg, #060806 0%, #070907 48%, #060806 100%);
  color: var(--home-text);
}

body.graph-home::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 92%);
  opacity: 0.12;
}

.graph-home .site-shell {
  isolation: isolate;
}

.graph-home .site-header {
  background: rgba(7, 9, 7, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
}

.graph-home .nav-row {
  min-height: 78px;
}

.graph-home .brand {
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.graph-home .brand-mark {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(156, 241, 105, 0.2), transparent 68%),
    rgba(255, 255, 255, 0.03);
}

.graph-home .brand-mark::before {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
  box-shadow: 0 0 0 4px rgba(156, 241, 105, 0.08);
}

.graph-home .nav-links {
  gap: 4px 10px;
}

.graph-home .nav-links a,
.graph-home .nav-cta,
.graph-home .footer-links a {
  color: rgba(243, 243, 238, 0.62);
}

.graph-home .nav-links a:hover,
.graph-home .nav-links a.is-active,
.graph-home .footer-links a:hover {
  color: var(--home-text);
}

.graph-home .nav-cta {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: var(--home-text);
}

.graph-home .nav-cta:hover {
  background: #f3f3ee;
  color: #111;
  border-color: transparent;
}

.graph-home .footer {
  border-top: 1px solid var(--home-line);
  background: rgba(7, 9, 7, 0.9);
}

.graph-home .small {
  color: rgba(243, 243, 238, 0.48);
}

.splash-main {
  position: relative;
}

.ontology-flow {
  position: relative;
  overflow: clip;
}

.ontology-stage {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  z-index: 0;
}

.ontology-stage__sticky {
  position: relative;
  height: 100%;
  transform: translateX(3%);
  transform-origin: center top;
}

.ontology-stage__sticky::before,
.ontology-stage__sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ontology-stage__sticky::before {
  background:
    radial-gradient(circle at 66% 44%, rgba(156, 241, 105, 0.18), transparent 18%),
    radial-gradient(circle at 74% 58%, rgba(119, 218, 208, 0.08), transparent 22%),
    radial-gradient(circle at 75% 48%, rgba(156, 241, 105, 0.1), transparent 34%);
}

.ontology-stage__sticky::after {
  background: linear-gradient(180deg, rgba(6, 8, 6, 0.14), rgba(6, 8, 6, 0.04) 30%, rgba(6, 8, 6, 0.64) 100%);
}

.ontology-web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ontology-link {
  fill: none;
  stroke: rgba(156, 241, 105, 0.12);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.2;
  transition:
    opacity 260ms ease,
    stroke 260ms ease,
    stroke-width 260ms ease,
    filter 260ms ease;
}

.ontology-link.is-locked {
  stroke: rgba(156, 241, 105, 0.38);
  opacity: 0.72;
}

.ontology-link.is-on {
  stroke: rgba(156, 241, 105, 0.92);
  stroke-width: 3;
  opacity: 1;
  stroke-dasharray: 12 14;
  filter: drop-shadow(0 0 14px rgba(156, 241, 105, 0.18));
  animation: dashFlow 12s linear infinite;
}

.graph-entity {
  opacity: 0.22;
  transition:
    opacity 260ms ease,
    filter 260ms ease,
    transform 260ms ease;
}

.graph-entity__halo,
.graph-entity__ring,
.graph-entity__core,
.graph-entity__meta,
.graph-entity__label,
.graph-entity__sub,
.graph-entity__eyebrow {
  transition:
    fill 260ms ease,
    stroke 260ms ease,
    opacity 260ms ease,
    filter 260ms ease;
}

.graph-entity__halo {
  fill: rgba(156, 241, 105, 0.05);
}

.graph-entity__ring {
  fill: rgba(7, 10, 7, 0.78);
  stroke: rgba(156, 241, 105, 0.18);
  stroke-width: 1.6;
}

.graph-entity__core {
  fill: rgba(6, 8, 6, 0.98);
  stroke: rgba(243, 243, 238, 0.06);
  stroke-width: 1;
}

.graph-entity text {
  fill: rgba(243, 243, 238, 0.32);
  text-anchor: middle;
}

.graph-entity__meta,
.graph-entity__sub,
.graph-entity__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graph-entity__label {
  font-family: "abcDiatype", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.graph-entity__eyebrow {
  font-size: 11px;
  fill: rgba(243, 243, 238, 0.68);
}

.graph-entity__sub {
  font-size: 10px;
  fill: rgba(243, 243, 238, 0.42);
}

.graph-entity__sub--inside {
  fill: rgba(243, 243, 238, 0.5);
}

.graph-entity--major .graph-entity__meta {
  font-size: 12px;
}

.graph-entity--major .graph-entity__sub {
  font-size: 10px;
}

.graph-entity--medium .graph-entity__meta,
.graph-entity--minor .graph-entity__meta {
  font-size: 11px;
}

.graph-entity--production {
  opacity: 1;
}

.graph-entity--production .graph-entity__halo {
  fill: rgba(156, 241, 105, 0.11);
  animation: haloPulse 6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.graph-entity--production .graph-entity__ring {
  fill: rgba(8, 10, 8, 0.85);
  stroke: rgba(156, 241, 105, 0.3);
  stroke-width: 2;
}

.graph-entity--production .graph-entity__core {
  stroke: rgba(243, 243, 238, 0.08);
}

.graph-entity.is-locked,
.graph-entity.is-on {
  opacity: 0.86;
}

.graph-entity.is-locked .graph-entity__halo,
.graph-entity.is-on .graph-entity__halo {
  fill: rgba(156, 241, 105, 0.08);
}

.graph-entity.is-locked .graph-entity__ring,
.graph-entity.is-on .graph-entity__ring {
  stroke: rgba(156, 241, 105, 0.28);
}

.graph-entity.is-locked text,
.graph-entity.is-on text {
  fill: rgba(243, 243, 238, 0.88);
}

.graph-entity.is-on {
  filter: drop-shadow(0 0 18px rgba(156, 241, 105, 0.14));
}

.graph-entity.is-on .graph-entity__halo {
  fill: rgba(156, 241, 105, 0.14);
}

.graph-entity.is-on .graph-entity__ring {
  stroke: rgba(156, 241, 105, 0.5);
  stroke-width: 2.2;
}

.graph-entity.is-on .graph-entity__core {
  stroke: rgba(156, 241, 105, 0.3);
}

.ontology-scenes {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * (100vh - 78px));
  padding-bottom: 12vh;
}

.scene {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
}

.scene--hero {
  min-height: calc(100vh - 78px);
}

.scene::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0.6;
}

.scene__inner {
  width: min(calc(100% - 40px), var(--page-width));
  min-height: 68vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 32rem);
  align-items: center;
  padding: clamp(72px, 9vw, 120px) 0;
  column-gap: clamp(40px, 7vw, 96px);
}

.scene__inner--hero {
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 34rem);
}

.scene__inner--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.scene__inner--center {
  justify-content: center;
  text-align: center;
}

.scene-copy {
  display: grid;
  gap: 20px;
  max-width: 42rem;
  grid-column: 1;
}

.scene-copy--center {
  justify-items: center;
  margin: 0 auto;
}

.hero-audience,
.scene-note__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 243, 238, 0.68);
}

.hero-audience::before,
.scene-note__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(243, 243, 238, 0.18);
}

.scene-copy h1 {
  margin: 0;
  max-width: 10.8ch;
  font-size: clamp(3.15rem, 4.9vw, 5rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-subhead,
.hero-support,
.scene-note p,
.scene-copy p,
.scene-list li {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-subhead,
.scene-copy p,
.scene-note p,
.scene-list li {
  color: var(--home-muted);
}

.hero-subhead {
  max-width: 36rem;
}

.hero-support {
  max-width: 32rem;
  color: rgba(243, 243, 238, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.graph-home .button,
.graph-home .button-secondary {
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

.graph-home .button {
  background: #f3f3ee;
  color: #111;
}

.graph-home .button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--home-text);
}

.graph-home .button:hover,
.graph-home .button-secondary:hover {
  transform: translateY(-1px);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 40rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(243, 243, 238, 0.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scene-note {
  position: relative;
  max-width: 30rem;
  display: grid;
  gap: 14px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 10, 8, 0.86), rgba(8, 10, 8, 0.72));
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
  grid-column: 2;
  justify-self: start;
}

.scene-note::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, rgba(156, 241, 105, 0.32), transparent);
  transform: translate(18px, -50%);
  opacity: 0.72;
}

.scene--left .scene-note {
  grid-column: 1;
  justify-self: end;
}

.scene--left .scene-note::after {
  left: auto;
  right: 100%;
  background: linear-gradient(90deg, transparent, rgba(156, 241, 105, 0.32));
  transform: translate(-18px, -50%);
}

.scene-note h2,
.scene-copy--center h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.scene-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.scene-list li {
  position: relative;
  padding-left: 18px;
}

.scene-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-signal);
  box-shadow: 0 0 0 5px rgba(156, 241, 105, 0.08);
}

.scene.is-current .scene-note {
  border-color: rgba(156, 241, 105, 0.36);
}

.scene.is-current .scene-note::after {
  opacity: 1;
}

.scene.is-current .scene-note h2,
.scene.is-current .scene-copy--center h2 {
  color: var(--home-text);
}

.scene-copy--center {
  max-width: 42rem;
}

@keyframes dashFlow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -208;
  }
}

@keyframes haloPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.018);
    opacity: 0.9;
  }
}

@media (max-width: 1100px) {
  .scene__inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 28rem);
    column-gap: clamp(28px, 4vw, 56px);
  }

  .scene-copy h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 4.6vw, 4.4rem);
  }

  .scene__inner--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body.graph-home::before {
    background-size: 54px 54px;
    opacity: 0.1;
  }

  .graph-home .nav-links {
    background: rgba(7, 9, 7, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .ontology-stage {
    top: 72px;
    height: 58vh;
  }

  .ontology-stage__sticky {
    transform: translate(20%, 2%) scale(0.8);
    transform-origin: center top;
    opacity: 0.7;
  }

  .ontology-scenes {
    margin-top: -58vh;
  }

  .scene {
    min-height: 62vh;
    align-items: flex-start;
  }

  .scene__inner {
    min-height: 62vh;
    grid-template-columns: 1fr;
    padding: 56px 0 48px;
  }

  .scene--hero,
  .scene__inner--hero {
    min-height: 74vh;
  }

  .scene-copy,
  .scene-note {
    grid-column: 1;
  }

  .scene-copy h1 {
    max-width: 8.1ch;
    font-size: clamp(2.7rem, 9.5vw, 4.3rem);
  }

  .hero-subhead,
  .hero-support,
  .scene-note p,
  .scene-copy p,
  .scene-list li {
    font-size: 0.98rem;
  }

  .graph-entity:not(.graph-entity--production) .graph-entity__meta,
  .graph-entity:not(.graph-entity--production) .graph-entity__sub,
  .graph-entity:not(.graph-entity--production) .graph-entity__label,
  .graph-entity:not(.graph-entity--production) .graph-entity__eyebrow {
    display: none;
  }

  .graph-entity:not(.graph-entity--production) .graph-entity__halo {
    fill: rgba(156, 241, 105, 0.03);
  }

  .graph-entity:not(.graph-entity--production) .graph-entity__ring {
    stroke-width: 1.2;
  }

  .graph-entity--production .graph-entity__label {
    font-size: 24px;
  }

  .graph-entity--production .graph-entity__eyebrow {
    font-size: 10px;
  }

  .scene-note {
    max-width: 31rem;
    justify-self: start;
  }

  .scene-note::after {
    width: 46px;
  }
}

@media (max-width: 560px) {
  .graph-home .nav-row {
    min-height: 72px;
  }

  .scene__inner {
    width: min(calc(100% - 40px), var(--page-width));
  }

  .ontology-stage__sticky {
    transform: translate(34%, 4%) scale(0.64);
    opacity: 0.46;
  }

  .hero-actions {
    width: 100%;
  }

  .graph-home .button,
  .graph-home .button-secondary {
    width: 100%;
    justify-content: center;
  }

  .scene-note,
  .scene--left .scene-note,
  .scene--right .scene-note {
    padding: 24px 22px;
  }

  .scene-note::after,
  .scene--left .scene-note::after,
  .scene--right .scene-note::after {
    left: 0;
    right: auto;
    top: auto;
    bottom: calc(100% + 12px);
    width: 1px;
    height: 24px;
    transform: none;
    background: linear-gradient(180deg, transparent, rgba(156, 241, 105, 0.28));
  }

  .hero-highlights {
    gap: 8px;
  }

  .hero-highlights span {
    width: 100%;
    justify-content: center;
  }

  .scene-note h2,
  .scene-copy--center h2 {
    font-size: clamp(1.92rem, 8vw, 2.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ontology-link,
  .graph-entity,
  .graph-entity__halo,
  .graph-entity__ring,
  .graph-entity__core,
  .graph-entity__meta,
  .graph-entity__label,
  .graph-entity__sub,
  .graph-entity__eyebrow,
  .scene-note,
  .scene-note::after,
  .graph-home .button,
  .graph-home .button-secondary,
  .graph-home .nav-cta {
    transition: none;
  }

  .ontology-link.is-on,
  .graph-entity--production {
    animation: none;
  }
}
