body.graph-home {
  --home-bg: #060806;
  --home-bg-soft: #0a0d0a;
  --home-text: #f3f3ee;
  --home-muted: rgba(243, 243, 238, 0.7);
  --home-line: rgba(255, 255, 255, 0.08);
  --home-line-strong: rgba(255, 255, 255, 0.16);
  --home-signal: #9cf169;
  --home-signal-soft: rgba(156, 241, 105, 0.12);
  --home-warning: #f3b34c;
  --home-error: #ff6b6b;
  --home-locked: #7dc8ff;
  --home-resolved: #d8ffb3;
  background:
    radial-gradient(circle at 20% 10%, rgba(94, 242, 255, 0.06), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(156, 241, 105, 0.1), transparent 30%),
    linear-gradient(180deg, #050705 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.54), transparent 95%);
  opacity: 0.14;
}

/* Hero: symmetric backdrop so centered copy is not pulled right by accents */
body.graph-home:has(.story-graph[data-scene="hero"]) {
  background:
    radial-gradient(circle at 50% 22%, rgba(94, 242, 255, 0.045), transparent 32%),
    radial-gradient(circle at 50% 56%, rgba(156, 241, 105, 0.08), transparent 38%),
    linear-gradient(180deg, #050705 0%, #070907 48%, #060806 100%);
}

body.graph-home:has(.story-graph[data-scene="hero"])::before {
  opacity: 0.055;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 90%);
}

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

.graph-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(7, 9, 7, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.graph-home .story-page {
  padding-top: 80px;
}

.story-page .wrap {
  width: min(calc(100% - 112px), var(--page-width));
}

.graph-home .nav-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  min-height: 80px;
}

.graph-home .brand {
  flex: 0 0 auto;
}

.graph-home .nav-links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.graph-home .nav-links .nav-spacer {
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
}

.graph-home .nav-cluster--primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.graph-home .nav-cluster--account {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.graph-home .nav-toggle {
  flex: 0 0 auto;
}

.graph-home .site-header .wrap {
  position: relative;
}

@media (max-width: 780px) {
  .graph-home .nav-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .graph-home .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .graph-home .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .graph-home .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    flex: unset;
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 12px;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 8, 0.96);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 60;
  }

  .graph-home .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .graph-home .nav-links .nav-spacer {
    display: none;
  }

  .graph-home .nav-cluster--primary,
  .graph-home .nav-cluster--account {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .graph-home .nav-cluster--account {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .graph-home .nav-links a,
  .graph-home .nav-cta {
    width: 100%;
    text-align: center;
  }
}

.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.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--home-text);
}

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

.story-page {
  position: relative;
}

.story-page > section {
  position: relative;
}

.story-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.story-background__veil,
.story-background__mesh {
  position: absolute;
  inset: 0;
}

.story-background__veil {
  background:
    radial-gradient(circle at 70% 18%, rgba(156, 241, 105, 0.18), transparent 20%),
    radial-gradient(circle at 74% 42%, rgba(156, 241, 105, 0.12), transparent 26%),
    radial-gradient(circle at 58% 58%, rgba(94, 242, 255, 0.05), transparent 28%),
    linear-gradient(100deg, rgba(5, 7, 5, 0.94) 0%, rgba(5, 7, 5, 0.86) 28%, rgba(5, 7, 5, 0.62) 54%, rgba(5, 7, 5, 0.34) 76%, rgba(5, 7, 5, 0.2) 100%);
}

.story-background:has(.story-graph[data-scene="hero"]) .story-background__veil {
  background:
    radial-gradient(circle at 50% 34%, rgba(156, 241, 105, 0.1), transparent 42%),
    radial-gradient(circle at 50% 56%, rgba(94, 242, 255, 0.035), transparent 48%),
    linear-gradient(180deg, rgba(5, 7, 5, 0.94) 0%, rgba(5, 7, 5, 0.88) 52%, rgba(5, 7, 5, 0.82) 100%);
}

.story-background__mesh {
  background:
    linear-gradient(180deg, rgba(6, 8, 6, 0.2), rgba(6, 8, 6, 0.56) 68%, rgba(6, 8, 6, 0.88) 100%);
}

.story-graph {
  position: absolute;
  inset: 0;
  opacity: 0.94;
  --story-graph-mask: linear-gradient(180deg, #000 0%, #000 100%);
  -webkit-mask-image: var(--story-graph-mask);
  mask-image: var(--story-graph-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.story-graph[data-scene="foundation"],
.story-graph[data-scene="change"] {
  --story-graph-mask: linear-gradient(
    90deg,
    transparent 0%,
    transparent 34%,
    rgba(0, 0, 0, 0.08) 40%,
    rgba(0, 0, 0, 0.82) 48%,
    #000 56%,
    #000 100%
  );
}

.story-graph[data-scene="knowledge"],
.story-graph[data-scene="handoff"],
.story-graph[data-scene="trust"] {
  --story-graph-mask: linear-gradient(
    90deg,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.92) 42%,
    rgba(0, 0, 0, 0.18) 50%,
    transparent 58%,
    transparent 100%
  );
}

.story-graph[data-scene="use"] {
  --story-graph-mask: linear-gradient(
    102deg,
    transparent 0%,
    transparent 28%,
    rgba(0, 0, 0, 0.08) 38%,
    rgba(0, 0, 0, 0.86) 50%,
    #000 62%,
    #000 100%
  );
}

.story-graph[data-scene="cta"] {
  --story-graph-mask: linear-gradient(
    180deg,
    #000 0%,
    #000 62%,
    rgba(0, 0, 0, 0.86) 74%,
    rgba(0, 0, 0, 0.18) 84%,
    transparent 88%,
    transparent 100%
  );
}

.story-network__world {
  position: absolute;
  inset: 0;
}

.story-network__edges,
.story-network__nodes {
  position: absolute;
  inset: 0;
}

.story-edge {
  position: absolute;
  height: 1.8px;
  border-radius: 999px;
  transform-origin: 0 50%;
  background: rgba(156, 241, 105, 0.2);
  opacity: 0.08;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    background 720ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 720ms cubic-bezier(0.22, 1, 0.36, 1),
    height 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.story-edge::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  border-radius: inherit;
  background: inherit;
  opacity: 0.18;
  filter: blur(6px);
}

.story-edge.is-active {
  height: 2.2px;
  background: linear-gradient(90deg, rgba(200, 255, 160, 0.1), rgba(200, 255, 160, 0.64), rgba(200, 255, 160, 0.12));
  opacity: 0.5;
  box-shadow: 0 0 10px rgba(156, 241, 105, 0.12);
}

.story-edge.is-support {
  height: 1.9px;
  background: rgba(156, 241, 105, 0.3);
  opacity: 0.34;
}

.story-edge.is-context {
  height: 1.8px;
  background: rgba(156, 241, 105, 0.16);
  opacity: 0.18;
}

.story-edge.is-warning {
  height: 2px;
  background: linear-gradient(90deg, rgba(243, 179, 76, 0.16), rgba(243, 179, 76, 0.92), rgba(243, 179, 76, 0.16));
  opacity: 0.96;
  box-shadow: 0 0 18px rgba(243, 179, 76, 0.22);
}

.story-edge.is-error {
  height: 2.2px;
  background: linear-gradient(90deg, rgba(255, 107, 107, 0.14), rgba(255, 107, 107, 0.96), rgba(255, 107, 107, 0.14));
  opacity: 1;
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.24);
}

.story-edge.is-locked {
  height: 1.8px;
  background: rgba(125, 200, 255, 0.76);
  opacity: 0.86;
  box-shadow: 0 0 16px rgba(125, 200, 255, 0.16);
}

.story-edge.is-resolved {
  height: 2px;
  background: linear-gradient(90deg, rgba(216, 255, 179, 0.14), rgba(216, 255, 179, 0.96), rgba(216, 255, 179, 0.14));
  opacity: 0.98;
  box-shadow: 0 0 18px rgba(216, 255, 179, 0.18);
}

.story-edge--skos {
  height: 1.6px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(145, 210, 255, 0.58) 0 10px,
      rgba(145, 210, 255, 0.16) 10px 18px
    );
  opacity: 0.2;
}

.story-edge.is-quiet {
  opacity: 0.05;
}

.story-graph.is-debug .story-edge {
  opacity: 0.22;
}

.story-graph.is-debug .story-edge::after {
  opacity: 0.22;
}

.story-graph.is-debug .story-edge.is-support,
.story-graph.is-debug .story-edge.is-active {
  opacity: 0.75;
}

.story-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0.14;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity, left, top, width, height;
  backface-visibility: hidden;
}

.story-node__orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(156, 241, 105, 0.04), transparent 62%),
    rgba(6, 8, 6, 0.94);
  border: 1.4px solid rgba(156, 241, 105, 0.26);
  box-shadow: inset 0 0 0 10px rgba(6, 8, 6, 0.9);
}

.story-node__orb::before,
.story-node__orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.story-node__orb::before {
  inset: -16%;
  background: radial-gradient(circle, rgba(156, 241, 105, 0.12), transparent 72%);
  opacity: 0.42;
}

.story-node__orb::after {
  inset: 24%;
  border: 1px solid rgba(200, 255, 160, 0.58);
  opacity: 0.92;
}

.story-node__label {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  display: grid;
  gap: 3px;
  width: max-content;
  max-width: 152px;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.story-node,
.story-node * {
  -webkit-user-select: none;
  user-select: none;
}

.story-node {
  touch-action: none;
}

.story-node__label * {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.story-node__title,
.story-node__subtitle {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
}

.story-node__title {
  font-size: 10px;
  color: rgba(243, 243, 238, 0.78);
}

.story-node__subtitle {
  font-size: 9px;
  color: rgba(243, 243, 238, 0.42);
}

.story-node--core {
  opacity: 0.42;
}

.story-node--skos {
  opacity: 0.28;
}

.story-node--skos .story-node__orb {
  background:
    radial-gradient(circle at 50% 50%, rgba(145, 210, 255, 0.08), transparent 62%),
    rgba(8, 11, 14, 0.92);
  border: 1.3px dashed rgba(145, 210, 255, 0.54);
  box-shadow: inset 0 0 0 8px rgba(8, 11, 14, 0.9);
}

.story-node--skos .story-node__orb::before {
  background: radial-gradient(circle, rgba(145, 210, 255, 0.16), transparent 72%);
  opacity: 0.34;
}

.story-node--skos .story-node__orb::after {
  inset: 28%;
  border-style: dashed;
  border-color: rgba(184, 227, 255, 0.82);
  opacity: 0.84;
}

.story-node--skos .story-node__label {
  max-width: 172px;
}

.story-node--skos .story-node__title {
  color: rgba(214, 239, 255, 0.82);
}

.story-node--skos .story-node__subtitle {
  color: rgba(177, 209, 229, 0.54);
}

.story-node--core .story-node__orb {
  border-width: 1.8px;
  border-color: rgba(156, 241, 105, 0.38);
  box-shadow:
    inset 0 0 0 18px rgba(6, 8, 6, 0.9),
    0 0 56px rgba(156, 241, 105, 0.12);
}

.story-node--core .story-node__orb::before {
  inset: -26%;
  background: radial-gradient(circle, rgba(156, 241, 105, 0.18), transparent 74%);
}

.story-node--core .story-node__title,
.story-node--core .story-node__subtitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
  opacity: 1;
}

.story-node--core .story-node__label {
  inset: 0;
  transform: none;
  max-width: none;
}

.story-node--core .story-node__title {
  top: 45%;
  font-family: var(--font-sans);
  font-size: 1.9rem;
  letter-spacing: -0.05em;
  color: rgba(243, 243, 238, 0.96);
  text-transform: none;
}

.story-node--core .story-node__subtitle {
  top: 62%;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(243, 243, 238, 0.52);
}

.story-node.is-active {
  opacity: 0.9;
  filter: drop-shadow(0 0 26px rgba(156, 241, 105, 0.18));
}

.story-node.is-active .story-node__orb {
  border-color: rgba(200, 255, 160, 0.92);
}

.story-node.is-active .story-node__label {
  opacity: 1;
}

.story-node.is-warning {
  opacity: 1;
  filter: drop-shadow(0 0 26px rgba(243, 179, 76, 0.18));
}

.story-node.is-warning .story-node__orb {
  border-color: rgba(243, 179, 76, 0.9);
  box-shadow:
    inset 0 0 0 10px rgba(6, 8, 6, 0.9),
    0 0 32px rgba(243, 179, 76, 0.16);
}

.story-node.is-warning .story-node__orb::after {
  border-color: rgba(255, 223, 153, 0.9);
}

.story-node.is-error {
  opacity: 1;
  filter: drop-shadow(0 0 26px rgba(255, 107, 107, 0.24));
}

.story-node.is-error .story-node__orb {
  border-color: rgba(255, 107, 107, 0.94);
  box-shadow:
    inset 0 0 0 10px rgba(6, 8, 6, 0.9),
    0 0 34px rgba(255, 107, 107, 0.18);
}

.story-node.is-error .story-node__orb::after {
  border-color: rgba(255, 175, 175, 0.92);
}

.story-node.is-locked {
  opacity: 0.86;
  filter: drop-shadow(0 0 20px rgba(125, 200, 255, 0.14));
}

.story-node.is-locked .story-node__orb {
  border-color: rgba(125, 200, 255, 0.92);
  box-shadow:
    inset 0 0 0 10px rgba(6, 8, 6, 0.9),
    0 0 24px rgba(125, 200, 255, 0.12);
}

.story-node.is-locked .story-node__orb::after {
  border-color: rgba(174, 222, 255, 0.82);
  border-style: dashed;
}

.story-node.is-resolved {
  opacity: 1;
  filter: drop-shadow(0 0 26px rgba(216, 255, 179, 0.16));
}

.story-node.is-resolved .story-node__orb {
  border-color: rgba(216, 255, 179, 0.96);
  box-shadow:
    inset 0 0 0 10px rgba(6, 8, 6, 0.9),
    0 0 32px rgba(216, 255, 179, 0.14);
}

.story-node.is-resolved .story-node__orb::after {
  border-color: rgba(230, 255, 204, 0.94);
}

.story-node.is-support {
  opacity: 0.44;
}

.story-node.is-support .story-node__label {
  opacity: 0.3;
}

.story-node.is-support .story-node__orb {
  border-color: rgba(156, 241, 105, 0.42);
}

.story-node.is-context {
  opacity: 0.28;
}

.story-node.is-context .story-node__orb {
  border-color: rgba(156, 241, 105, 0.3);
  box-shadow: inset 0 0 0 10px rgba(6, 8, 6, 0.9);
}

.story-node.is-quiet {
  opacity: 0.08;
}

/* During scroll: keep opacity/color fades running smoothly, but skip the
   transform/left/top easing so nodes track the camera without lag. */
.story-graph.is-scrolling .story-node {
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 0s linear !important;
}

.story-graph.is-scrolling .story-edge {
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    background 720ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 720ms cubic-bezier(0.22, 1, 0.36, 1),
    height 0s linear !important;
}

.story-graph.is-scrolling .story-edge.is-active,
.story-graph.is-scrolling .story-edge.is-error {
  animation-play-state: paused;
}

.story-node.is-quiet .story-node__label {
  opacity: 0;
}

.story-node.is-warning .story-node__label,
.story-node.is-error .story-node__label,
.story-node.is-locked .story-node__label,
.story-node.is-resolved .story-node__label {
  opacity: 1;
}

.story-graph.is-debug .story-node {
  opacity: 0.88;
}

.story-graph.is-debug .story-node__label {
  opacity: 1 !important;
}

.story-section {
  z-index: 1;
  display: flex;
  align-items: flex-start;
  min-height: 92svh;
  padding: 8.5rem 0 6rem;
}

.story-section--hero {
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 80px);
  padding-top: 1.5rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

.story-section--hero .wrap.story-hero {
  width: 100%;
}

.story-hero {
  display: grid;
  gap: clamp(1.35rem, 2.8vw, 2rem);
  align-items: start;
  justify-items: center;
}

.story-hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(34rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.story-hero__copy::before {
  content: none;
}

.story-hero .eyebrow::before,
.story-cta .eyebrow::before {
  display: none;
}

/* Hero reads as a single centered halo: hide satellite nodes (layout keyframes still run for smooth handoff). */
.story-graph[data-scene="hero"]:not(.is-debug) .story-node:not([data-node-id="creativework"]) {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.story-graph[data-scene="hero"] .story-node__label {
  opacity: 0.55;
}

.story-graph[data-scene="hero"] .story-edge {
  display: none;
}

.story-graph.is-debug[data-scene="hero"] .story-edge {
  display: block;
  opacity: 0.18;
}

.story-graph[data-scene="hero"] .story-node.is-context .story-node__label,
.story-graph[data-scene="hero"] .story-node.is-quiet .story-node__label {
  opacity: 0;
}

.story-graph[data-scene="hero"] .story-node.story-node--core {
  opacity: 0.42;
}

.story-graph[data-scene="hero"] .story-node.story-node--core .story-node__orb {
  background:
    radial-gradient(circle at 50% 50%, rgba(156, 241, 105, 0.035), transparent 72%),
    rgba(4, 6, 4, 0.97);
  border-color: rgba(156, 241, 105, 0.07);
  box-shadow:
    inset 0 0 0 22px rgba(4, 6, 4, 0.97),
    0 0 160px rgba(156, 241, 105, 0.06),
    0 0 280px rgba(156, 241, 105, 0.07);
}

.story-graph[data-scene="hero"] .story-node:not(.story-node--core) .story-node__label {
  opacity: 0.34;
}

.story-graph[data-scene="hero"] .story-node:not(.story-node--core) .story-node__subtitle {
  display: none;
}

.story-graph[data-scene="hero"] .story-node:not(.story-node--core) .story-node__orb {
  background:
    radial-gradient(circle at 50% 50%, rgba(156, 241, 105, 0.015), transparent 62%),
    rgba(4, 6, 4, 0.985);
  border-color: rgba(156, 241, 105, 0.2);
  box-shadow:
    inset 0 0 0 10px rgba(4, 6, 4, 0.968),
    0 0 6px rgba(156, 241, 105, 0.05);
}

.story-graph[data-scene="hero"] .story-node.is-support {
  opacity: 0.28;
}

.story-graph[data-scene="hero"] .story-node.is-support .story-node__label {
  opacity: 0.36;
}

.story-graph[data-scene="hero"] .story-node:not(.story-node--core) .story-node__title {
  font-size: 11px;
  letter-spacing: 0.11em;
  color: rgba(243, 243, 238, 0.74);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.story-graph[data-scene="hero"] .story-node[data-node-id="creativework"] .story-node__label {
  opacity: 0.18;
}

.story-graph[data-scene="hero"] .story-node[data-node-id="creativework"] {
  filter: none;
}

.story-graph[data-scene="hero"] .story-node[data-node-id="creativework"] .story-node__orb::before {
  inset: -72%;
  background: radial-gradient(circle, rgba(156, 241, 105, 0.1), transparent 82%);
  opacity: 0.65;
  filter: blur(28px);
}

.story-graph[data-scene="hero"] .story-node[data-node-id="creativework"] .story-node__orb::after {
  inset: 24%;
  border-color: rgba(200, 255, 160, 0.14);
  opacity: 0.28;
}

.story-graph[data-scene="hero"] .story-node[data-node-id="creativework"] .story-node__label {
  opacity: 0.06;
}

.story-graph[data-scene="hero"] .story-node[data-node-id="creativework"] .story-node__title,
.story-graph[data-scene="hero"] .story-node[data-node-id="creativework"] .story-node__subtitle {
  color: rgba(243, 243, 238, 0.12);
  text-shadow: none;
}

.story-hero h1 {
  margin: 0.35rem auto 0.5rem;
  max-width: 100%;
  font-size: clamp(2.35rem, 3.9vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: -0.032em;
  font-weight: 500;
}

.story-hero__lede {
  margin: 0 auto;
  max-width: 100%;
  font-size: clamp(1.02rem, 1.15vw, 1.1rem);
  line-height: 1.62;
  color: var(--home-muted);
}

.story-hero__kicker {
  margin: 0.85rem auto 0;
  max-width: 32rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(243, 243, 238, 0.55);
}

.story-proof {
  width: min(100%, 78rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 9rem;
}

#foundation {
  padding-top: 3.4rem;
}

.story-hero .hero-actions {
  margin-top: 0.35rem;
}

.graph-home .story-copy .story-inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.story-proof__item {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.story-proof__label,
.story-copy__eyebrow,
.story-step__index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-proof__label,
.story-copy__eyebrow {
  color: var(--home-signal);
}

.story-proof__item p {
  margin: 0.8rem 0 0;
  max-width: 23rem;
  font-size: 1rem;
  line-height: 1.52;
  color: var(--home-muted);
}

.story-section__inner {
  display: flex;
  width: 100%;
  padding-top: 4.2rem;
}

.story-section--hero .story-section__inner,
.story-section--wide .story-section__inner,
.story-section--cta .story-section__inner {
  padding-top: 0;
}

.story-section--left .story-section__inner {
  justify-content: flex-start;
}

.story-section--right .story-section__inner {
  justify-content: flex-end;
}

.story-graph[data-scene="foundation"] .story-edge.is-active {
  opacity: 0.44;
}

.story-graph[data-scene="foundation"] .story-edge.is-support {
  opacity: 0.2;
}

.story-graph[data-scene="foundation"] .story-node.is-support {
  opacity: 0.32;
}

.story-graph[data-scene="foundation"] .story-node.is-support .story-node__label {
  opacity: 0.44;
}

.story-graph[data-scene="foundation"] .story-node--core .story-node__orb::before {
  inset: -18%;
}

.story-graph[data-scene="foundation"] .story-node--core .story-node__title {
  top: 40%;
  left: 56%;
  max-width: 72%;
  padding: 0 6%;
  box-sizing: border-box;
  font-size: 1.68rem;
  line-height: 1.12;
  white-space: normal;
}

.story-graph[data-scene="foundation"] .story-node--core .story-node__subtitle {
  top: 58%;
  left: 56%;
}

.story-graph[data-scene="foundation"] .story-node.is-context .story-node__label,
.story-graph[data-scene="foundation"] .story-node.is-quiet .story-node__label {
  opacity: 0;
}

.story-graph[data-scene="cta"] .story-node__label {
  opacity: 0;
}

.story-graph[data-scene="cta"] .story-node.is-active {
  opacity: 0.96;
  filter: drop-shadow(0 0 24px rgba(216, 255, 179, 0.16));
}

.story-graph[data-scene="cta"] .story-node.is-active .story-node__orb {
  border-color: rgba(216, 255, 179, 0.9);
  box-shadow:
    inset 0 0 0 10px rgba(6, 8, 6, 0.9),
    0 0 28px rgba(216, 255, 179, 0.12);
}

.story-graph[data-scene="cta"] .story-node.is-support {
  opacity: 0.52;
}

.story-graph[data-scene="cta"] .story-node.is-support .story-node__orb {
  border-color: rgba(156, 241, 105, 0.58);
}

.story-graph[data-scene="cta"] .story-edge.is-active {
  opacity: 0.38;
}

.story-graph[data-scene="cta"] .story-edge.is-support {
  opacity: 0.24;
}

.story-copy {
  position: relative;
  width: min(100%, 42rem);
  padding: 1.5rem 0 1.5rem 3.1rem;
}

.story-copy::after {
  content: none;
}

.story-copy::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18) 18%, rgba(255, 255, 255, 0.18) 82%, rgba(255, 255, 255, 0));
}

.story-section--left .story-copy {
  background: transparent;
}

.story-section--left .story-copy::after {
  content: none;
}

.story-section--right .story-copy {
  width: min(100%, 37.5rem);
  padding: 1.5rem 3.1rem 1.5rem 0;
  background: transparent;
}

.story-section--right .story-copy::after {
  content: none;
}

.story-section--right .story-copy::before {
  left: auto;
  right: 0;
}

.story-copy h2,
.story-steps__intro h2,
.story-cta h2 {
  margin: 1.15rem 0 1rem;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.story-copy p,
.story-steps__intro p,
.story-step p,
.story-cta p {
  margin: 0.95rem 0 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--home-muted);
}

.story-section--wide {
  min-height: 94svh;
  padding-block: 7rem 6rem;
}

#trust.story-section--right {
  min-height: 110svh;
}

#handoff.story-section--right {
  min-height: 96svh;
}

.story-steps {
  display: grid;
  gap: 2.75rem;
}

.story-steps__intro {
  max-width: 46rem;
  padding-inline: 0.4rem;
}

.story-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.story-step {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#use .story-steps__intro {
  position: relative;
  max-width: 42rem;
  padding: 0.2rem 0.4rem 1rem 0.4rem;
}

#use .story-steps__intro::after {
  content: none;
}

#use.story-section--wide {
  min-height: 92svh;
  padding-block: 6.2rem 5.8rem;
}

#use .story-steps {
  min-height: 58rem;
  gap: 1.8rem;
}

#use .story-steps__intro p {
  max-width: 34rem;
}

#use .story-step {
  position: relative;
  padding: 1.2rem 0 1rem;
  border-top-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

#use .story-step::before {
  content: none;
}

.story-step h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.story-step__index {
  color: rgba(243, 243, 238, 0.42);
}

.story-section--cta {
  min-height: 84svh;
  text-align: center;
  justify-content: center;
  padding-block: 7rem 6rem;
}

.story-cta {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.8rem 2.6rem 1.2rem;
}

.story-cta::before {
  content: none;
}

.story-cta p {
  max-width: 35rem;
  margin-inline: auto;
}

.story-cta .hero-actions {
  margin-top: 1.5rem;
}

.graph-home .footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 9, 7, 0.9);
}

@keyframes edgeFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 180% 50%;
  }
}

@keyframes edgePulse {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(255, 107, 107, 0.18);
  }

  50% {
    box-shadow: 0 0 22px rgba(255, 107, 107, 0.34);
  }
}

@media (max-width: 1100px) {
  .story-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.4rem, 5.6vw, 3.8rem);
  }

  .story-proof,
  .story-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-copy {
    width: min(100%, 36rem);
  }
}

@media (max-width: 760px) {
  .story-background__veil {
    background:
      radial-gradient(circle at 62% 24%, rgba(156, 241, 105, 0.14), transparent 18%),
      radial-gradient(circle at 72% 44%, rgba(156, 241, 105, 0.09), transparent 26%),
      linear-gradient(180deg, rgba(5, 7, 5, 0.78) 0%, rgba(5, 7, 5, 0.88) 22%, rgba(5, 7, 5, 0.92) 54%, rgba(5, 7, 5, 0.96) 100%);
  }

  .story-graph {
    opacity: 0.5;
  }

  .story-node.is-support .story-node__label,
  .story-node.is-quiet .story-node__label {
    opacity: 0;
  }

  .story-graph.is-mobile .story-node__label {
    opacity: 0 !important;
  }

  .story-graph.is-mobile {
    opacity: 0.28;
  }

  .story-section {
    min-height: auto;
    padding: 6.4rem 0;
  }

  .story-page .wrap {
    width: min(calc(100% - 36px), var(--page-width));
  }

  .story-section--hero {
    min-height: calc(100svh - 80px);
    padding-top: 7.4rem;
  }

  .story-hero {
    gap: 2.4rem;
  }

  .story-section__inner {
    padding-top: 0;
  }

  .story-hero h1 {
    max-width: 16ch;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 1.08;
  }

  .story-hero__lede {
    max-width: 26rem;
    font-size: 1rem;
    line-height: 1.52;
  }

  .story-hero__support {
    max-width: 20rem;
    font-size: 1rem;
  }

  .story-proof,
  .story-steps__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .story-section__inner {
    justify-content: flex-start;
  }

  .story-copy,
  .story-section--right .story-copy {
    width: 100%;
    padding: 1rem 0 1rem 1.35rem;
    background: transparent;
  }

  .story-section--right .story-copy::before {
    right: auto;
    left: 0;
  }

  .story-copy h2,
  .story-steps__intro h2,
  .story-cta h2 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .story-copy p,
  .story-steps__intro p,
  .story-step p,
  .story-cta p {
    font-size: 1rem;
  }
}

.graph-home .footer-legal {
  color: rgba(243, 243, 238, 0.38);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 20px;
  padding-top: 18px;
}

.graph-home .footer-legal a {
  color: rgba(243, 243, 238, 0.52);
}

.graph-home .footer-legal a:hover {
  color: var(--home-text);
}

html.story-reduced-motion .story-graph {
  opacity: 0.22;
  filter: saturate(0.65);
}

html.story-reduced-motion .story-graph .story-network__world {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .story-background__veil,
  .story-background__mesh {
    animation: none !important;
  }

  .story-graph {
    opacity: 0.26;
    filter: saturate(0.7);
  }
}
