.hero-node-stage,
.hero-node-stage * {
  box-sizing: border-box;
}

.hero-node-stage {
  position: absolute;
  left: 50%;
  top: clamp(12rem, 27svh, 18rem);
  z-index: 15;
  width: min(48rem, calc(100vw - 4rem));
  height: clamp(20rem, 38svh, 27rem);
  transform: translateX(-50%);
  pointer-events: none;
  isolation: isolate;
  perspective: 900px;
  transform-style: preserve-3d;
  user-select: none;
}

.hero-node-stage.is-editing {
  cursor: crosshair;
}

.hero-node-stage::before,
.hero-node-stage::after {
  display: none;
}

.hero-node-stage__mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: none;
}

.hero-node-stage__mesh,
.hero-node-disconnect,
.hero-node {
  isolation: auto;
}

.hero-node-stage__mesh .hero-node-line--halo,
.hero-node-stage__mesh .hero-node-line {
  fill: none;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.hero-node-stage__mesh .hero-node-line--halo {
  stroke: rgba(150, 197, 255, 0.19);
  stroke-width: 5.4;
  stroke-linecap: round;
  opacity: 0.7;
  filter: blur(3.4px) drop-shadow(0 0 0.7rem rgba(71, 148, 255, 0.16));
}

.hero-node-stage__mesh .hero-node-line--halo.is-hovered {
  stroke: rgba(198, 225, 255, 0.28);
  stroke-width: 6.4;
  opacity: 0.92;
}

.hero-node-stage__mesh .hero-node-line {
  stroke: rgba(190, 221, 255, 0.66);
  stroke-width: 1.05;
  stroke-linecap: round;
  transition: stroke 0.28s ease, opacity 0.28s ease, stroke-width 0.28s ease;
  filter:
    drop-shadow(0 0 0.18rem rgba(202, 230, 255, 0.36))
    drop-shadow(0 0 0.45rem rgba(36, 119, 255, 0.16));
}

.hero-node-stage__mesh .hero-node-line.is-hovered {
  stroke: rgba(235, 247, 255, 0.98);
  stroke-width: 1.4;
  filter:
    drop-shadow(0 0 0.28rem rgba(228, 245, 255, 0.64))
    drop-shadow(0 0 0.8rem rgba(53, 139, 255, 0.32));
}

.hero-node-stage__mesh .hero-node-line--glint {
  fill: none;
  stroke: rgba(245, 251, 255, 0.95);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-dasharray: 12 150;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 0.18rem rgba(255, 255, 255, 0.62))
    drop-shadow(0 0 0.42rem rgba(75, 157, 255, 0.28));
  opacity: 0.55;
}

.hero-node-stage__mesh .hero-node-line--glint.is-hovered {
  stroke: #ffffff;
  stroke-width: 1.3;
  opacity: 0.94;
  filter:
    drop-shadow(0 0 0.24rem rgba(255, 255, 255, 0.84))
    drop-shadow(0 0 0.6rem rgba(63, 151, 255, 0.4));
}

.hero-node-stage__mesh .hero-node-line-flare {
  fill: rgba(234, 247, 255, 0.92);
  pointer-events: none;
}

.hero-node-stage__mesh .hero-node-line-flare--halo {
  opacity: 0.38;
  filter:
    blur(2.4px)
    drop-shadow(0 0 0.46rem rgba(255, 255, 255, 0.72))
    drop-shadow(0 0 1rem rgba(75, 157, 255, 0.28));
}

.hero-node-stage__mesh .hero-node-line-flare--core {
  fill: #ffffff;
  opacity: 0.88;
  filter:
    drop-shadow(0 0 0.22rem rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 0.58rem rgba(126, 190, 255, 0.5));
}

.hero-node-stage__mesh .hero-node-line-flare--halo.is-hovered {
  opacity: 0.58;
}

.hero-node-stage__mesh .hero-node-line-flare--core.is-hovered {
  opacity: 1;
}

.hero-node-stage__mesh .hero-node-line--preview {
  fill: none;
  stroke: rgba(218, 239, 255, 0.9);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 0.18rem rgba(255,255,255,0.42))
    drop-shadow(0 0 0.46rem rgba(36,119,255,0.2));
}

.hero-node {
  --node-x: 50%;
  --node-y: 50%;
  --node-drift-x: 0px;
  --node-drift-y: 0px;
  --node-parallax-x: 0px;
  --node-parallax-y: 0px;
  --node-tilt-x: 0deg;
  --node-tilt-y: 0deg;
  --node-scale: 1;
  --node-sheen-x: 50%;
  --node-sheen-y: 50%;
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  z-index: 4;
  display: grid;
  width: clamp(11.6rem, 15.2vw, 14rem);
  min-height: clamp(4.8rem, 6vw, 5.45rem);
  grid-template-columns: 1.7rem 1fr;
  align-items: center;
  gap: 0.18rem 0.72rem;
  padding: 0.9rem 1.1rem 0.88rem 1rem;
  border: 1px solid rgba(179, 194, 216, 0.2);
  border-radius: 0.78rem;
  background: rgba(11, 13, 16, 0.82);
  color: rgba(255,255,255,0.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.028),
    0 0.8rem 2rem rgba(0,0,0,0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  pointer-events: auto;
  transform:
    translate(-50%, -50%)
    translate3d(
      calc(var(--node-drift-x) + var(--node-parallax-x)),
      calc(var(--node-drift-y) + var(--node-parallax-y)),
      0
    )
    rotateX(var(--node-tilt-x))
    rotateY(var(--node-tilt-y))
    scale(var(--node-scale));
  transform-origin: center;
  will-change: transform;
  overflow: visible;
  touch-action: none;
  -webkit-user-drag: none;
  transition:
    border-color 0.28s ease,
    background 0.24s ease,
    box-shadow 0.28s ease,
    color 0.24s ease,
    filter 0.28s ease;
}

.hero-node.is-dragging {
  --node-scale: 1.014;
  cursor: grabbing;
  z-index: 12;
  border-color: rgba(114, 171, 245, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 1rem 2.5rem rgba(0,0,0,0.4),
    0 0 0.8rem rgba(36, 119, 255, 0.08);
}

.hero-node.is-connect-target {
  border-color: rgba(92, 158, 245, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(36, 119, 255, 0.08),
    0 0 0.8rem rgba(36, 119, 255, 0.1),
    0 0.9rem 2.1rem rgba(0,0,0,0.34);
}

.hero-node::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.56rem;
  height: 1px;
  z-index: 0;
  border: 0;
  background: linear-gradient(90deg, rgba(160, 180, 205, 0.12), rgba(160, 180, 205, 0.025) 62%, transparent);
  pointer-events: none;
}

.hero-node::after {
  display: none;
}

.hero-node > * {
  position: relative;
  z-index: 1;
}

.hero-node__port {
  --port-proximity: 0;
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 0.72rem;
  height: 0.72rem;
  border: 1px solid rgba(90, 157, 242, 0.72);
  border-radius: 999px;
  background: rgba(9, 11, 14, 0.98);
  box-shadow:
    0 0 0 2px rgba(8, 10, 13, 0.92),
    0 0 0.38rem rgba(36, 119, 255, 0.14);
  opacity: calc(0.72 + (var(--port-proximity) * 0.24));
  transform: translateY(-50%) scale(calc(0.96 + (var(--port-proximity) * 0.14)));
  cursor: crosshair;
  pointer-events: auto;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-node__port::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.14rem;
  height: 0.14rem;
  border-radius: 50%;
  background: rgba(126, 188, 255, 0.98);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0.26rem rgba(36, 119, 255, 0.5);
}

.hero-node__port::before {
  content: "";
  position: absolute;
  inset: -0.42rem;
  border-radius: 999px;
  background: transparent;
}

.hero-node__port--in {
  left: -0.36rem;
}

.hero-node__port--out {
  right: -0.36rem;
}

.hero-node:hover .hero-node__port,
.hero-node:focus-visible .hero-node__port,
.hero-node.is-dragging .hero-node__port,
.hero-node-stage.is-editing .hero-node__port {
  opacity: 0.9;
  transform: translateY(-50%) scale(1);
}

.hero-node__port:hover,
.hero-node__port.is-active,
.hero-node__port.is-near {
  border-color: rgba(91, 164, 255, 1);
  background: rgba(23, 72, 135, 0.94);
  box-shadow:
    0 0 0 2px rgba(7, 9, 13, 0.9),
    0 0 0.56rem rgba(36, 119, 255, 0.48);
  transform: translateY(-50%) scale(1.12);
}

.hero-node-disconnect {
  --disconnect-x: 50%;
  --disconnect-y: 50%;
  position: absolute;
  left: var(--disconnect-x);
  top: var(--disconnect-y);
  z-index: 80;
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7f7fb;
  font: inherit;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 0.55rem)) scale(0.94);
  transition:
    opacity 0.16s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-node-disconnect.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, calc(-100% - 0.55rem)) scale(1);
}

.hero-node-disconnect.is-visible,
.hero-node-disconnect.is-visible * {
  pointer-events: auto;
}

.hero-node-disconnect__tooltip {
  padding: 0.28rem 0.42rem;
  border-radius: 0.28rem;
  background: rgba(20, 20, 24, 0.96);
  color: rgba(255,255,255,0.86);
  box-shadow: 0 0.42rem 1.2rem rgba(0,0,0,0.28);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.hero-node-disconnect__pill {
  display: inline-grid;
  grid-template-columns: 2.15rem;
  align-items: center;
  justify-content: center;
  height: 2.05rem;
  overflow: hidden;
  border: 1px solid rgba(56, 139, 255, 0.98);
  border-radius: 0.78rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0)),
    rgba(12, 12, 15, 0.97);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 1px rgba(36, 119, 255, 0.24),
    0 0.5rem 1.6rem rgba(0,0,0,0.36),
    0 0 1rem rgba(36, 119, 255, 0.3);
}

.hero-node-disconnect__pill > svg:first-child {
  display: block;
  width: .78rem;
  height: .78rem;
  justify-self: center;
  fill: currentColor;
  stroke: none;
  pointer-events: none;
  shape-rendering: geometricPrecision;
}

.hero-node-disconnect__pill > svg:first-child path {
  fill: currentColor;
  stroke: none;
}

.hero-node-disconnect:hover .hero-node-disconnect__pill,
.hero-node-disconnect:focus-visible .hero-node-disconnect__pill {
  border-color: rgba(93, 166, 255, 1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(36, 119, 255, 0.4),
    0 0.55rem 1.8rem rgba(0,0,0,0.4),
    0 0 1.25rem rgba(36, 119, 255, 0.48);
}

.hero-node-disconnect:focus-visible {
  outline: none;
}

.hero-node:hover,
.hero-node:focus-visible {
  --node-scale: 1.012;
  border-color: rgba(137, 178, 230, 0.42);
  background: rgba(14, 17, 21, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 1rem 2.25rem rgba(0,0,0,0.36),
    0 0 0.7rem rgba(36, 119, 255, 0.055);
  filter: none;
  outline: none;
}

.hero-node__index {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 0.12rem;
  color: rgba(175, 191, 211, 0.72);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.52rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
}

.hero-node__copy {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
}

.hero-node strong {
  display: block;
  font-size: clamp(0.88rem, 0.96vw, 1.02rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-node small {
  display: block;
  color: rgba(182, 194, 210, 0.56);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.48rem, 0.53vw, 0.56rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.hero-node__status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.34rem;
  color: rgba(133, 186, 255, 0.9);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.43rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-node__status > span {
  width: 0.42rem;
  height: 1px;
  border-radius: 0;
  background: #2477ff;
  box-shadow: none;
}

.hero-node--featured {
  border-color: rgba(84, 153, 243, 0.48);
  background: rgba(10, 14, 20, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(132, 193, 255, 0.07),
    inset 0 2px 0 rgba(36, 119, 255, 0.86),
    0 0.85rem 2.15rem rgba(0, 0, 0, 0.32);
}

.hero-node--featured::before {
  background: linear-gradient(90deg, rgba(78, 153, 255, 0.28), rgba(78, 153, 255, 0.04) 62%, transparent);
}

.hero-node--featured:hover,
.hero-node--featured:focus-visible {
  border-color: rgba(99, 168, 255, 0.72);
  background: rgba(11, 16, 23, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(151, 205, 255, 0.09),
    inset 0 2px 0 rgba(66, 147, 255, 1),
    0 1rem 2.4rem rgba(0, 0, 0, 0.38),
    0 0 0.8rem rgba(36, 119, 255, 0.08);
}

.hero-node--chat {
  --node-x: 21%;
  --node-y: 18%;
}

.hero-node--works {
  --node-x: 18%;
  --node-y: 58%;
}

.hero-node--launcher {
  --node-x: 50%;
  --node-y: 84%;
}

.hero-node--about {
  --node-x: 82%;
  --node-y: 59%;
}

.hero-node--contact {
  --node-x: 79%;
  --node-y: 18%;
}

@media (max-width: 900px) {
  .hero-node-stage {
    top: clamp(12rem, 27svh, 15rem);
    width: min(40rem, calc(100vw - 2rem));
    height: clamp(19rem, 35svh, 24rem);
  }

  .hero-node {
    width: clamp(10.2rem, 24vw, 11.7rem);
    min-height: 4.4rem;
    grid-template-columns: 1.45rem 1fr;
    padding: 0.75rem 0.86rem;
  }
}

@media (max-width: 640px) {
  .hero-node-stage {
    left: 0;
    right: 0;
    top: 10.8rem;
    width: 100%;
    height: min(22.8rem, 45svh);
    transform: none;
    overflow: visible;
  }

  .hero-node-stage::before {
    width: 20rem;
  }

  .hero-node-stage::after {
    width: 14rem;
  }

  .hero-node {
    width: min(9.85rem, 41vw);
    min-height: 4rem;
    grid-template-columns: 1.25rem 1fr;
    gap: 0.1rem 0.45rem;
    padding: 0.68rem 0.72rem;
    border-radius: 0.68rem;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-node__port {
    width: 0.86rem;
    height: 0.86rem;
    opacity: 0.78;
  }

  .hero-node__copy {
    gap: 0.32rem;
  }

  .hero-node strong {
    font-size: 0.76rem;
  }

  .hero-node small {
    max-width: 7.2rem;
    font-size: 0.44rem;
    white-space: normal;
  }

  .hero-node--chat {
    --node-x: 22%;
    --node-y: 14%;
  }

  .hero-node--works {
    --node-x: 23%;
    --node-y: 73%;
  }

  .hero-node--launcher {
    --node-x: 52%;
    --node-y: 48%;
  }

  .hero-node--about {
    --node-x: 72%;
    --node-y: 70%;
  }

  .hero-node--contact {
    --node-x: 76%;
    --node-y: 16%;
  }

  .hero-node__status {
    font-size: 0.42rem;
  }
}

@media (max-width: 380px) {
  .hero-node-stage {
    top: 10.4rem;
    height: 21rem;
  }

  .hero-node {
    width: 9.2rem;
  }

  .hero-node--works {
    --node-x: 22%;
  }

  .hero-node--about {
    --node-x: 72%;
  }

  .hero-node--contact {
    --node-x: 75%;
  }
}

@media (pointer: coarse) {
  .hero-node-disconnect {
    display: none;
  }

  .hero-node:hover,
  .hero-node:focus-visible {
    --node-scale: 1;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.028),
      0 0.7rem 1.5rem rgba(0,0,0,0.3);
  }

  .hero-node__port {
    opacity: 0.82;
  }
}

@media (max-width: 640px) {
  .hero-node-disconnect {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-node-stage::after {
    animation: none;
  }

  .hero-node {
    --node-drift-x: 0px !important;
    --node-drift-y: 0px !important;
    --node-parallax-x: 0px !important;
    --node-parallax-y: 0px !important;
    --node-tilt-x: 0deg !important;
    --node-tilt-y: 0deg !important;
  }

  .hero-node--featured,
  .hero-node--featured:hover,
  .hero-node--featured:focus-visible {
    background: rgba(10, 14, 20, 0.96);
    box-shadow:
      inset 0 2px 0 rgba(36, 119, 255, 0.9),
      0 0.7rem 1.5rem rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 760px) {
  .hero-node-stage {
    perspective: none;
    transform-style: flat;
  }

  .hero-node-stage::before,
  .hero-node-stage::after {
    display: none;
    animation: none;
  }

  .hero-node-stage__mesh,
  .hero-node-stage__mesh .hero-node-line,
  .hero-node-stage__mesh .hero-node-line--preview {
    filter: none;
  }

  .hero-node-stage__mesh .hero-node-line {
    stroke: rgba(102, 166, 245, 0.7);
    stroke-width: 1.05;
  }

  .hero-node-stage__mesh .hero-node-line.is-hovered {
    stroke: rgba(132, 187, 255, 0.88);
    stroke-width: 1.15;
  }

  .hero-node {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(11, 13, 16, 0.94);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.025),
      0 0.55rem 1.15rem rgba(0, 0, 0, 0.26);
    will-change: auto;
    transition: none;
  }

  .hero-node::after {
    display: none;
  }

  .hero-node.is-dragging,
  .hero-node.is-connect-target,
  .hero-node:hover,
  .hero-node:focus-visible {
    filter: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 0.6rem 1.2rem rgba(0, 0, 0, 0.3);
  }

  .hero-node__port,
  .hero-node__port:hover,
  .hero-node__port.is-active,
  .hero-node__port.is-near {
    transition: none;
    box-shadow:
      0 0 0 2px rgba(7, 9, 12, 0.9),
      0 0 0.34rem rgba(36, 119, 255, 0.28);
  }
}


/* Node workspace redesign â€” 2026-09-21 */
:root {
  --node-canvas-bg: #0c0c0d;
  --node-bg: #1f1f20;
  --node-bg-hover: #232324;
  --node-border: rgba(255, 255, 255, 0.06);
  --node-border-hover: rgba(255, 255, 255, 0.14);
  --node-radius: 24px;
  --node-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  --node-shadow-hover: 0 24px 52px -14px rgba(0, 0, 0, 0.72);
  --node-inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --node-title: rgba(255, 255, 255, 0.96);
  --node-copy: rgba(255, 255, 255, 0.66);
  --node-meta: rgba(255, 255, 255, 0.58);
  --node-port: #8c8c90;
  --node-port-active: #f3f3f1;
  --line-color: #5a5a5e;
  --line-color-hover: rgba(255, 255, 255, 0.62);
  --line-flare: rgba(255, 255, 255, 0.64);
  --grid-dot: rgba(255, 255, 255, 0.22);
  --grid-line: rgba(255, 255, 255, 0.045);
  --grid-tile: rgba(255, 255, 255, 0.055);
  --BG_OPACITY: 0.11;
  --BG_BRIGHTNESS: 0.48;
}

.hero--node-canvas {
  background: var(--node-canvas-bg);
}

.hero--node-canvas > .hero__video,
.hero--node-canvas > .hero__veil,
.hero--node-canvas > .ascii-trail,
.hero--node-canvas > .cursor-distortion,
.hero--node-canvas > .hero__grain,
.hero--node-canvas > .hero__vignette,
.hero--node-canvas > .hero-node-grid {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero--node-canvas > .hero__video {
  -webkit-user-drag: none;
}

.hero--node-canvas::before,
.hero--node-canvas::after {
  z-index: 6;
}

.hero--node-canvas .hero__video {
  opacity: var(--BG_OPACITY);
  filter:
    grayscale(1)
    saturate(0)
    brightness(var(--BG_BRIGHTNESS))
    contrast(0.86);
}

.hero--node-canvas .ascii-trail {
  opacity: calc(var(--BG_OPACITY) * 0.55);
  filter: grayscale(1) brightness(0.62) contrast(0.84);
  mix-blend-mode: normal;
}

.hero--node-canvas .cursor-distortion {
  opacity: 0.025 !important;
  filter: grayscale(1);
}

.hero--node-canvas .hero__veil {
  background:
    linear-gradient(180deg, rgba(12, 12, 13, 0.7), rgba(12, 12, 13, 0.78)),
    radial-gradient(circle at 50% 48%, rgba(12, 12, 13, 0.12), rgba(12, 12, 13, 0.52) 78%);
}

.hero--node-canvas .hero__vignette {
  background:
    radial-gradient(circle at 50% 48%, transparent 28%, rgba(12, 12, 13, 0.12) 62%, rgba(12, 12, 13, 0.5) 100%);
}

.hero-node-grid {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hero--node-canvas.is-grid-started .hero-node-grid {
  opacity: 1;
}

.hero--node-canvas .hero-node-stage {
  --line-draw-progress: 1;
}

.hero--node-canvas .hero-node {
  --node-lift: 0px;
  --node-reveal-y: 0px;
  --node-reveal-scale: 1;
  display: block;
  width: clamp(12rem, 15.2vw, 14rem);
  min-height: clamp(5.35rem, 6.25vw, 5.9rem);
  padding: 1.12rem 1.22rem 1.02rem;
  border: 1px solid var(--node-border);
  border-radius: var(--node-radius);
  background: var(--node-bg);
  color: var(--node-title);
  box-shadow:
    var(--node-inner-light),
    var(--node-shadow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: visible;
  transform:
    translate(-50%, -50%)
    translate3d(0, calc(var(--node-lift) + var(--node-reveal-y)), 0)
    scale(var(--node-scale))
    scale(var(--node-reveal-scale));
  transform-origin: center;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.hero--node-canvas .hero-node::before,
.hero--node-canvas .hero-node::after {
  display: none;
  content: none;
}

.hero--node-canvas .hero-node__index {
  position: absolute;
  left: 1.15rem;
  top: 0.92rem;
  color: var(--node-meta);
  font-family: "Inter", sans-serif;
  font-size: 0.56rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
}

.hero--node-canvas .hero-node__copy {
  display: grid;
  gap: 0.32rem;
  padding-top: 0.9rem;
}

.hero--node-canvas .hero-node strong {
  color: var(--node-title);
  font-family: "Inter", sans-serif;
  font-size: clamp(1.125rem, 1.25vw, 1.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero--node-canvas .hero-node small {
  max-width: none;
  color: var(--node-copy);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.75rem, 0.86vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.005em;
  white-space: normal;
}

.hero--node-canvas .hero-node__status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 0.02rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 0.54rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero--node-canvas .hero-node__status > span {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: rgba(235, 235, 232, 0.72);
  box-shadow: none;
  animation: nodeAvailablePulse 3.2s ease-in-out infinite;
}

@keyframes nodeAvailablePulse {
  0%,
  100% {
    opacity: 0.46;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero--node-canvas .hero-node--featured,
.hero--node-canvas .hero-node--featured:hover,
.hero--node-canvas .hero-node--featured:focus-visible {
  border-color: var(--node-border);
  background: var(--node-bg);
  box-shadow:
    var(--node-inner-light),
    var(--node-shadow);
}

.hero--node-canvas .hero-node:hover,
.hero--node-canvas .hero-node.is-connect-target {
  --node-lift: -2px;
  border-color: var(--node-border-hover);
  background: var(--node-bg-hover);
  box-shadow:
    var(--node-inner-light),
    var(--node-shadow-hover);
}

.hero--node-canvas .hero-node:active {
  --node-scale: 0.985;
}

.hero--node-canvas .hero-node.is-dragging {
  --node-scale: 1.01;
  --node-lift: -2px;
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--node-bg-hover);
  box-shadow:
    var(--node-inner-light),
    0 28px 60px -16px rgba(0, 0, 0, 0.78);
}

.hero--node-canvas .hero-node:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
  border-color: var(--node-border-hover);
}

.hero--node-canvas .hero-node__port {
  --port-proximity: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--node-port);
  box-shadow: 0 0 0 2px var(--node-bg);
  opacity: 1;
  transform: translateY(-50%) scale(calc(1 + (var(--port-proximity) * 0.08)));
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero--node-canvas .hero-node__port--in {
  left: -5px;
}

.hero--node-canvas .hero-node__port--out {
  right: -5px;
}

.hero--node-canvas .hero-node__port::after {
  display: none;
  content: none;
}

.hero--node-canvas .hero-node:hover .hero-node__port,
.hero--node-canvas .hero-node.is-connect-target .hero-node__port,
.hero--node-canvas .hero-node__port:hover,
.hero--node-canvas .hero-node__port.is-active,
.hero--node-canvas .hero-node__port.is-near {
  background: var(--node-port-active);
  box-shadow:
    0 0 0 2px var(--node-bg),
    0 0 10px rgba(255, 255, 255, 0.14);
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line--halo {
  display: none;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line {
  fill: none;
  stroke: var(--line-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--line-draw-progress));
  opacity: 0.86;
  filter: none;
  transition:
    stroke 0.25s ease,
    opacity 0.25s ease;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line.is-hovered {
  stroke: var(--line-color-hover);
  stroke-width: 2;
  opacity: 1;
  filter: none;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line--glint {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 18 200;
  opacity: 0;
  filter: none;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line--glint.is-hovered {
  opacity: 0.18;
  filter: none;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line--glint.is-pulse-active {
  opacity: 0.86;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.28));
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line-flare {
  fill: var(--line-flare);
  pointer-events: none;
  filter: none;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line-flare--halo {
  opacity: 0.08;
  filter: blur(2px);
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line-flare--core {
  opacity: 0.34;
  filter: none;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line-flare--halo.is-hovered {
  opacity: 0.28;
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line-flare--core.is-hovered {
  opacity: 0.92;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.22));
}

.hero--node-canvas .hero-node-stage__mesh .hero-node-line--preview {
  fill: none;
  stroke: rgba(255, 255, 255, 0.52);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
  filter: none;
}

.hero--node-canvas .hero-node-stage.is-grid-intro-active:not(.is-grid-nodes-visible) .hero-node {
  --node-reveal-y: 12px;
  --node-reveal-scale: 0.96;
  opacity: 0;
}

.hero--node-canvas .hero-node-stage.is-grid-intro-active.is-grid-nodes-visible .hero-node {
  --node-reveal-y: 0px;
  --node-reveal-scale: 1;
  opacity: 1;
}

.hero--node-canvas .hero-node-stage.is-grid-intro-active.is-grid-nodes-visible .hero-node--works {
  transition-delay: 0ms;
}

.hero--node-canvas .hero-node-stage.is-grid-intro-active.is-grid-nodes-visible .hero-node--about {
  transition-delay: 55ms;
}

.hero--node-canvas .hero-node-stage.is-grid-intro-active.is-grid-nodes-visible .hero-node--launcher {
  transition-delay: 110ms;
}

.hero--node-canvas .hero-node-stage.is-grid-intro-active.is-grid-nodes-visible .hero-node--chat {
  transition-delay: 165ms;
}

.hero--node-canvas .hero-node-stage.is-grid-intro-active.is-grid-nodes-visible .hero-node--contact {
  transition-delay: 220ms;
}

@media (max-width: 1023px) {
  .hero--node-canvas {
    --BG_OPACITY: 0.09;
    --BG_BRIGHTNESS: 0.44;
  }

  .hero--node-canvas .hero-node {
    --node-radius: 20px;
    width: clamp(10.2rem, 24vw, 11.7rem);
    min-height: 4.65rem;
    padding: 0.9rem 0.95rem 0.82rem;
    border-radius: 20px;
  }

  .hero--node-canvas .hero-node__index {
    left: 0.92rem;
    top: 0.75rem;
    font-size: 0.5rem;
  }

  .hero--node-canvas .hero-node__copy {
    gap: 0.25rem;
    padding-top: 0.72rem;
  }

  .hero--node-canvas .hero-node strong {
    font-size: clamp(0.88rem, 2vw, 1rem);
  }

  .hero--node-canvas .hero-node small {
    font-size: clamp(0.62rem, 1.2vw, 0.7rem);
  }

  .hero--node-canvas .hero-node__status {
    font-size: 0.48rem;
  }

  .hero--node-canvas .hero-node-stage__mesh .hero-node-line,
  .hero--node-canvas .hero-node-stage__mesh .hero-node-line.is-hovered {
    stroke-width: 1.7;
  }

  .hero--node-canvas .hero-node-stage__mesh .hero-node-line--glint {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero--node-canvas {
    --BG_OPACITY: 0.075;
    --BG_BRIGHTNESS: 0.42;
  }

  .hero--node-canvas .hero-node {
    width: min(9.85rem, 41vw);
    min-height: 4.2rem;
    padding: 0.78rem 0.78rem 0.72rem;
    border-radius: 18px;
    transition:
      opacity 0.26s ease,
      border-color 0.2s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .hero--node-canvas .hero-node:hover,
  .hero--node-canvas .hero-node:focus-visible {
    --node-lift: 0px;
  }

  .hero--node-canvas .hero-node__index {
    left: 0.76rem;
    top: 0.65rem;
    font-size: 0.45rem;
  }

  .hero--node-canvas .hero-node__copy {
    padding-top: 0.64rem;
  }

  .hero--node-canvas .hero-node strong {
    font-size: 0.84rem;
  }

  .hero--node-canvas .hero-node small {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .hero--node-canvas .hero-node__port {
    width: 9px;
    height: 9px;
  }

  .hero--node-canvas .hero-node__port--in {
    left: -4.5px;
  }

  .hero--node-canvas .hero-node__port--out {
    right: -4.5px;
  }
}

@media (pointer: coarse) {
  .hero--node-canvas .hero-node:hover,
  .hero--node-canvas .hero-node:focus-visible {
    --node-lift: 0px;
    background: var(--node-bg);
    box-shadow:
      var(--node-inner-light),
      var(--node-shadow);
  }

  .hero--node-canvas .hero-node__port,
  .hero--node-canvas .hero-node__port:hover,
  .hero--node-canvas .hero-node__port.is-active,
  .hero--node-canvas .hero-node__port.is-near {
    box-shadow: 0 0 0 2px var(--node-bg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--node-canvas {
    --BG_OPACITY: 0.05;
    --BG_BRIGHTNESS: 0.4;
  }

  .hero-node-grid {
    transition: none;
  }

  .hero--node-canvas .hero-node__status > span {
    animation: none;
    opacity: 0.76;
    transform: none;
  }

  .hero--node-canvas .hero-node {
    --node-reveal-y: 0px !important;
    --node-reveal-scale: 1 !important;
    --node-lift: 0px !important;
    transition:
      opacity 0.18s linear,
      border-color 0.18s linear,
      background-color 0.18s linear;
  }

  .hero--node-canvas .hero-node-stage__mesh .hero-node-line {
    stroke-dashoffset: 0;
  }
}
